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
5dce8eb43814f4b1a92f8e04cfdb8ab66b1647ad
7,705
py
Python
astropy/io/fits/hdu/streaming.py
jayvdb/astropy
bc6d8f106dd5b60bf57a8e6e29c4e2ae2178991f
[ "BSD-3-Clause" ]
445
2019-01-26T13:50:26.000Z
2022-03-18T05:17:38.000Z
astropy/io/fits/hdu/streaming.py
jayvdb/astropy
bc6d8f106dd5b60bf57a8e6e29c4e2ae2178991f
[ "BSD-3-Clause" ]
242
2019-01-29T15:48:27.000Z
2022-03-31T22:09:21.000Z
astropy/io/fits/hdu/streaming.py
jayvdb/astropy
bc6d8f106dd5b60bf57a8e6e29c4e2ae2178991f
[ "BSD-3-Clause" ]
31
2019-03-10T09:51:27.000Z
2022-02-14T23:11:12.000Z
# Licensed under a 3-clause BSD style license - see PYFITS.rst import gzip import os from .base import _BaseHDU, BITPIX2DTYPE from .hdulist import HDUList from .image import PrimaryHDU from astropy.io.fits.file import _File from astropy.io.fits.header import _pad_length from astropy.io.fits.util import fileobj_name ...
33.5
79
0.573134
972
7,705
4.469136
0.257202
0.048343
0.014963
0.01174
0.101289
0.057781
0.034761
0.021409
0
0
0
0.004393
0.350032
7,705
229
80
33.646288
0.863019
0.416483
0
0.096774
0
0
0.094165
0
0
0
0
0.004367
0
1
0.064516
false
0
0.086022
0.010753
0.193548
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
0
0
1
0
5dce95b004d795178936b1032e10425b07f77812
3,815
py
Python
geoprisma/tests/test_templatetags.py
groupe-conseil-nutshimit-nippour/django-geoprisma
4732fdb8a0684eb4d7fd50aa43e11b454ee71d08
[ "BSD-3-Clause" ]
null
null
null
geoprisma/tests/test_templatetags.py
groupe-conseil-nutshimit-nippour/django-geoprisma
4732fdb8a0684eb4d7fd50aa43e11b454ee71d08
[ "BSD-3-Clause" ]
5
2020-02-12T00:23:17.000Z
2021-12-13T19:46:33.000Z
geoprisma/tests/test_templatetags.py
groupe-conseil-nutshimit-nippour/django-geoprisma
4732fdb8a0684eb4d7fd50aa43e11b454ee71d08
[ "BSD-3-Clause" ]
null
null
null
import django from django.test import TestCase from django.template import Template, Context class genericObj(object): """ A generic object for testing templatetags """ def __init__(self): self.name = "test" self.status = "ready" def getOption(self, optionName): ...
28.901515
127
0.550459
341
3,815
6.043988
0.249267
0.061135
0.081514
0.112567
0.423096
0.389617
0.389617
0.231926
0.054343
0
0
0
0.32346
3,815
131
128
29.122137
0.798528
0.021232
0
0.45098
0
0.019608
0.408009
0.116214
0
0
0
0
0.078431
1
0.098039
false
0
0.029412
0.009804
0.196078
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
0
0
1
0
5dceeb675241617c8282ee5a28736fe976ad2fa2
4,447
py
Python
src/ggrc_workflows/models/task_group.py
acidburn0zzz/ggrc-core
386781d08172102eb51030b65db8212974651628
[ "ECL-2.0", "Apache-2.0" ]
1
2016-11-06T05:21:24.000Z
2016-11-06T05:21:24.000Z
src/ggrc_workflows/models/task_group.py
acidburn0zzz/ggrc-core
386781d08172102eb51030b65db8212974651628
[ "ECL-2.0", "Apache-2.0" ]
2
2021-02-02T23:09:40.000Z
2021-02-08T21:00:48.000Z
src/ggrc_workflows/models/task_group.py
Acidburn0zzz/ggrc-core
386781d08172102eb51030b65db8212974651628
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Copyright (C) 2016 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> """A module containing the workflow TaskGroup model.""" from sqlalchemy import or_ from ggrc import db from ggrc.login import get_current_user from ggrc.models.associationproxy import association_proxy fr...
29.256579
78
0.659996
505
4,447
5.570297
0.289109
0.067188
0.034127
0.017064
0.127266
0.07252
0.027017
0
0
0
0
0.002595
0.220148
4,447
151
79
29.450331
0.808535
0.064313
0
0.128205
0
0
0.156536
0
0
0
0
0
0
1
0.042735
false
0
0.08547
0
0.273504
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
0
0
1
0
5dcf0b13e0d53d6745a01c7cc15df8b5de13bc88
1,248
py
Python
src/tests/app_functions/menu/test_change_auto_login.py
DanielNoord/DuolingoPomodoro
307b386daf3216fb9ba86f983f0e39f6647ffd64
[ "MIT" ]
null
null
null
src/tests/app_functions/menu/test_change_auto_login.py
DanielNoord/DuolingoPomodoro
307b386daf3216fb9ba86f983f0e39f6647ffd64
[ "MIT" ]
4
2021-04-25T15:39:32.000Z
2022-02-18T20:58:00.000Z
src/tests/app_functions/menu/test_change_auto_login.py
DanielNoord/DuolingoPomodoro
307b386daf3216fb9ba86f983f0e39f6647ffd64
[ "MIT" ]
null
null
null
import pytest import rumps from src.app_functions.menu.change_auto_login import change_auto_login @pytest.fixture(name="basic_app") def create_app(): """Creates a basic app object with some variables to pass to functions Returns: rumps.App: Basic app """ app = rumps.App("TestApp") app.set...
34.666667
88
0.758814
183
1,248
4.863388
0.251366
0.116854
0.134831
0.106742
0.735955
0.640449
0.640449
0.602247
0.51236
0.51236
0
0
0.143429
1,248
35
89
35.657143
0.832554
0.15625
0
0.363636
0
0
0.261719
0.207031
0
0
0
0
0.181818
1
0.136364
false
0
0.136364
0
0.318182
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
0
0
1
0
5dcf455584ab00f2818650ba6fb4636dff7442e6
3,105
py
Python
deepobs/tensorflow/testproblems/cifar100_vgg19.py
H0merJayS1mpson/deepobscustom
e85816ce42466326dac18841c58b79f87a4a1a7c
[ "MIT" ]
null
null
null
deepobs/tensorflow/testproblems/cifar100_vgg19.py
H0merJayS1mpson/deepobscustom
e85816ce42466326dac18841c58b79f87a4a1a7c
[ "MIT" ]
null
null
null
deepobs/tensorflow/testproblems/cifar100_vgg19.py
H0merJayS1mpson/deepobscustom
e85816ce42466326dac18841c58b79f87a4a1a7c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """VGG 19 architecture for CIFAR-100.""" import tensorflow as tf from ._vgg import _vgg from ..datasets.cifar100 import cifar100 from .testproblem import TestProblem class cifar100_vgg19(TestProblem): """DeepOBS test problem class for the VGG 19 network on Cifar-100. The CIFAR-100 ima...
37.865854
85
0.679549
438
3,105
4.650685
0.319635
0.059401
0.034364
0.033382
0.299951
0.242514
0.242514
0.242514
0.242514
0.226313
0
0.035593
0.239936
3,105
81
86
38.333333
0.827542
0.544605
0
0
0
0
0.003867
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.233333
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
0
0
1
0
5dcfe247dd1cc19b83a077ac143e29f6729063b0
192
py
Python
write-a-function.py
TheHumanGoogle/Hackerrank-python-solution
ab2fa515444d7493340d7c7fbb88c3a090a3a8f5
[ "MIT" ]
1
2022-01-12T16:05:01.000Z
2022-01-12T16:05:01.000Z
write-a-function.py
TheHumanGoogle/Hackerrank-python-solution
ab2fa515444d7493340d7c7fbb88c3a090a3a8f5
[ "MIT" ]
null
null
null
write-a-function.py
TheHumanGoogle/Hackerrank-python-solution
ab2fa515444d7493340d7c7fbb88c3a090a3a8f5
[ "MIT" ]
null
null
null
def is_leap(year): leap=False if year%400==0: leap=True elif year%4==0 and year%100!=0: leap=True else: leap=False return leap year = int(input())
16
35
0.546875
30
192
3.466667
0.566667
0.153846
0.173077
0
0
0
0
0
0
0
0
0.077519
0.328125
192
11
36
17.454545
0.728682
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
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
0
0
0
0
0
1
0
5dd0559b06c4b507ddd6a8e8abd9d084e5c41c75
3,483
py
Python
paasta_tools/async_utils.py
sobolevn/paasta
8b87e0b13816c09b3d063b6d3271e6c7627fd264
[ "Apache-2.0" ]
1,711
2015-11-10T18:04:56.000Z
2022-03-23T08:53:16.000Z
paasta_tools/async_utils.py
sobolevn/paasta
8b87e0b13816c09b3d063b6d3271e6c7627fd264
[ "Apache-2.0" ]
1,689
2015-11-10T17:59:04.000Z
2022-03-31T20:46:46.000Z
paasta_tools/async_utils.py
sobolevn/paasta
8b87e0b13816c09b3d063b6d3271e6c7627fd264
[ "Apache-2.0" ]
267
2015-11-10T19:17:16.000Z
2022-02-08T20:59:52.000Z
import asyncio import functools import time import weakref from collections import defaultdict from typing import AsyncIterable from typing import Awaitable from typing import Callable from typing import Dict from typing import List from typing import Optional from typing import TypeVar T = TypeVar("T") # NOTE: thi...
32.858491
106
0.611829
447
3,483
4.677852
0.326622
0.038259
0.053563
0.018651
0.228599
0.21999
0.21999
0.171688
0.14395
0.066954
0
0.002867
0.29888
3,483
105
107
33.171429
0.853399
0.211025
0
0.337838
0
0
0.003663
0
0
0
0
0
0
1
0.081081
false
0
0.162162
0
0.378378
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
0
0
1
0
5dd235954e00e3353720380ad5e4fd1579960a8d
3,788
py
Python
examples/scripts/sc/bpdn.py
manvhah/sporco
9237d7fc37e75089a2a65ebfe02b7491410da7d4
[ "BSD-3-Clause" ]
null
null
null
examples/scripts/sc/bpdn.py
manvhah/sporco
9237d7fc37e75089a2a65ebfe02b7491410da7d4
[ "BSD-3-Clause" ]
null
null
null
examples/scripts/sc/bpdn.py
manvhah/sporco
9237d7fc37e75089a2a65ebfe02b7491410da7d4
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of the SPORCO package. Details of the copyright # and user license can be found in the 'LICENSE.txt' file distributed # with the package. """ Basis Pursuit DeNoising ======================= This example demonstrates the use of class :class:`.admm.bpdn....
30.063492
406
0.694298
570
3,788
4.596491
0.412281
0.00458
0.018321
0.019847
0.041603
0.041603
0.019847
0.019847
0.019847
0.019847
0
0.022166
0.166315
3,788
125
407
30.304
0.807473
0.297254
0
0.081633
0
0
0.154664
0
0
0
0
0
0
1
0.020408
false
0
0.122449
0
0.163265
0.061224
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
0
1
0
5dd337ba7906e3c3c7b8bae81a44d4305edc633f
1,361
py
Python
tests/auto_test_class_creation_spec.py
MountainField/uspec
a4f8908b1a3af519d9d2ce7b85a4b4cca7b85883
[ "MIT" ]
2
2020-03-02T01:58:05.000Z
2022-01-25T08:44:40.000Z
tests/auto_test_class_creation_spec.py
MountainField/uspec
a4f8908b1a3af519d9d2ce7b85a4b4cca7b85883
[ "MIT" ]
null
null
null
tests/auto_test_class_creation_spec.py
MountainField/uspec
a4f8908b1a3af519d9d2ce7b85a4b4cca7b85883
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # ================================================================= # uspec # # Copyright (c) 2020 Takahide Nogayama # # This software is released under the MIT License. # http://opensource.org/licenses/mit-license.php # ================================================================= from __...
20.621212
67
0.556209
141
1,361
5.035461
0.432624
0.126761
0.146479
0.05493
0.184507
0.184507
0.184507
0.184507
0.123944
0.123944
0
0.01267
0.188097
1,361
65
68
20.938462
0.629864
0.214548
0
0.366667
0
0
0.046025
0
0
0
0
0
0.233333
1
0.133333
false
0.033333
0.166667
0
0.333333
0.033333
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
0
1
0
5dd4998614beb1247cc3bb983c52f0476fab9cb0
495
py
Python
main.py
Matthewk01/Snake-AI
d5f211334436676966f17bb6dbfea8aba61ee6b4
[ "MIT" ]
null
null
null
main.py
Matthewk01/Snake-AI
d5f211334436676966f17bb6dbfea8aba61ee6b4
[ "MIT" ]
null
null
null
main.py
Matthewk01/Snake-AI
d5f211334436676966f17bb6dbfea8aba61ee6b4
[ "MIT" ]
null
null
null
import pygame from game.game_logic.game import Game import matplotlib.pyplot as plt def main(): scores_history = [] GAME_COUNT = 2 for i in range(GAME_COUNT): game = Game(400, "Snake AI") score = game.start() scores_history.append(score) print("Game:", i) plt.ylim(0, 3...
20.625
56
0.628283
68
495
4.352941
0.544118
0.175676
0
0
0
0
0
0
0
0
0
0.018667
0.242424
495
23
57
21.521739
0.770667
0
0
0
0
0
0.086869
0
0
0
0
0
0
1
0.055556
false
0
0.166667
0
0.222222
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
0
0
0
0
0
0
0
0
1
0
5dd4d65be6fbb2b5be1a2991fade5b69cc8efed5
792
py
Python
closed/Intel/code/resnet50/openvino-cpu/src/tools/create_image_list.py
ctuning/inference_results_v1.1
d9176eca28fcf6d7a05ccb97994362a76a1eb5ab
[ "Apache-2.0" ]
19
2020-10-26T17:37:22.000Z
2022-01-20T09:32:38.000Z
closed/Intel/code/resnet50/openvino-cpu/src/tools/create_image_list.py
ctuning/inference_results_v1.1
d9176eca28fcf6d7a05ccb97994362a76a1eb5ab
[ "Apache-2.0" ]
24
2021-07-19T01:09:35.000Z
2022-03-17T11:44:02.000Z
closed/Intel/code/resnet50/openvino-cpu/src/tools/create_image_list.py
ctuning/inference_results_v1.1
d9176eca28fcf6d7a05ccb97994362a76a1eb5ab
[ "Apache-2.0" ]
19
2020-10-21T19:15:17.000Z
2022-01-04T08:32:08.000Z
import os import sys from glob import glob def create_list(images_dir, output_file, img_ext=".jpg"): ImgList = os.listdir(images_dir) val_list = [] for img in ImgList: img,ext = img.split(".") val_list.append(img) with open(os.path.join(images_dir, output_file),'w') as fid: ...
22.628571
64
0.582071
114
792
3.807018
0.421053
0.124424
0.103687
0.131336
0.258065
0.258065
0.124424
0
0
0
0
0.014159
0.286616
792
35
65
22.628571
0.753982
0
0
0.076923
0
0
0.069357
0
0
0
0
0
0
1
0.076923
false
0
0.115385
0
0.192308
0.038462
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
0
1
0
5dd5c073bdc1758efc5e43f31738feb8fc1ef917
4,434
py
Python
AI/others/churn/churn_2.py
honchardev/Fun
ca7c0076e9bb3017c5d7e89aa7d5bd54a83c8ecc
[ "MIT" ]
null
null
null
AI/others/churn/churn_2.py
honchardev/Fun
ca7c0076e9bb3017c5d7e89aa7d5bd54a83c8ecc
[ "MIT" ]
3
2020-03-24T16:26:35.000Z
2020-04-15T19:40:41.000Z
AI/others/churn/churn_2.py
honchardev/Fun
ca7c0076e9bb3017c5d7e89aa7d5bd54a83c8ecc
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # In[1]: # src: http://datareview.info/article/prognozirovanie-ottoka-klientov-so-scikit-learn/ # In[ ]: # Показатель оттока клиентов – бизнес-термин, описывающий # насколько интенсивно клиенты покидают компанию или # прекращают оплачивать товары или услуги. # Это ключевой ...
21.735294
104
0.728913
637
4,434
4.908948
0.464678
0.006396
0.028782
0.027183
0.168212
0.133674
0.12472
0.12472
0.12472
0.07739
0
0.040947
0.151782
4,434
203
105
21.842365
0.790215
0.580289
0
0
0
0
0.074719
0
0
0
0
0.004926
0
1
0.027778
false
0
0.25
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5dd63a69cf7b02ed5bd4b36b349a9d84dec480ac
4,518
py
Python
pytrivia/trivia.py
Dnewman9/Python-Trivia-API
0af7f999cc4ab278fb0ac6fd64733ab168984e60
[ "MIT" ]
6
2018-01-15T15:17:56.000Z
2021-06-16T19:48:14.000Z
pytrivia/trivia.py
MaT1g3R/Python-Trivia-API
0af7f999cc4ab278fb0ac6fd64733ab168984e60
[ "MIT" ]
null
null
null
pytrivia/trivia.py
MaT1g3R/Python-Trivia-API
0af7f999cc4ab278fb0ac6fd64733ab168984e60
[ "MIT" ]
7
2017-05-15T23:41:43.000Z
2021-07-10T01:09:09.000Z
""" A simple python api wrapper for https://opentdb.com/ """ from aiohttp import ClientSession from requests import get from pytrivia.__helpers import decode_dict, get_token, make_request from pytrivia.enums import * class Trivia: def __init__(self, with_token: bool): """ Initialize an instance ...
35.857143
79
0.607791
547
4,518
4.90128
0.212066
0.071615
0.029094
0.038046
0.609474
0.597165
0.597165
0.567326
0.567326
0.567326
0
0.009699
0.315405
4,518
125
80
36.144
0.857097
0.18703
0
0.269231
0
0
0.04886
0
0
0
0
0
0
1
0.057692
false
0
0.076923
0
0.269231
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
0
0
1
0
5dd6aca7ea5896f561da5d7ef0e8b1303417fa33
1,249
py
Python
utils.py
py-ranoid/practical-nlp
514fd4da3b72f26597d91cdb89704a849bf6b36d
[ "MIT" ]
null
null
null
utils.py
py-ranoid/practical-nlp
514fd4da3b72f26597d91cdb89704a849bf6b36d
[ "MIT" ]
null
null
null
utils.py
py-ranoid/practical-nlp
514fd4da3b72f26597d91cdb89704a849bf6b36d
[ "MIT" ]
null
null
null
import requests import tarfile import os def download_file(url, directory): local_filename = os.path.join(directory, url.split('/')[-1]) print ("Downloading %s --> %s"%(url, local_filename)) with requests.get(url, stream=True) as r: r.raise_for_status() with open(local_filename, 'wb') as f:...
34.694444
64
0.602082
167
1,249
4.39521
0.401198
0.070845
0.027248
0.059946
0.089918
0.089918
0.089918
0
0
0
0
0.009464
0.238591
1,249
36
65
34.694444
0.762355
0
0
0.121212
0
0
0.0568
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.242424
0.121212
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
0
1
0
5dd72494fca93c6bb84fb81618dd74141e12e413
5,733
py
Python
plotting/make_bar_graph.py
DanielTakeshi/debridement-code
d1a946d1fa3c60b60284c977ecb2d6584e524ae2
[ "MIT" ]
3
2017-09-29T01:41:20.000Z
2021-03-29T01:51:18.000Z
plotting/make_bar_graph.py
DanielTakeshi/debridement-code
d1a946d1fa3c60b60284c977ecb2d6584e524ae2
[ "MIT" ]
null
null
null
plotting/make_bar_graph.py
DanielTakeshi/debridement-code
d1a946d1fa3c60b60284c977ecb2d6584e524ae2
[ "MIT" ]
3
2017-09-29T01:42:35.000Z
2019-10-20T07:10:44.000Z
""" A bar graph. (c) September 2017 by Daniel Seita """ import argparse from collections import defaultdict from keras.models import Sequential from keras.layers import Dense, Activation import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import numpy as np import sys np.set_printoptions(suppress=...
33.138728
80
0.580499
784
5,733
4.08801
0.307398
0.022465
0.018721
0.037442
0.288924
0.197192
0.142902
0.135725
0.117629
0.117629
0
0.02141
0.2749
5,733
172
81
33.331395
0.749579
0.082679
0
0.230216
0
0
0.093188
0.017604
0
0
0
0
0.007194
1
0.014388
false
0
0.057554
0
0.071942
0.071942
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
0
1
0
5dd728898f384c5addbd3fc04712cc8f4bb79103
998
py
Python
setup.py
tzengerink/groceries-api
a22cc3503006b87b731b956f6341d730b143bf10
[ "MIT" ]
null
null
null
setup.py
tzengerink/groceries-api
a22cc3503006b87b731b956f6341d730b143bf10
[ "MIT" ]
null
null
null
setup.py
tzengerink/groceries-api
a22cc3503006b87b731b956f6341d730b143bf10
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import find_packages, setup import os import re ROOT = os.path.dirname(__file__) VERSION_RE = re.compile(r'''__version__ = \'([0-9.]+)\'''') def get_version(): init = open(os.path.join(ROOT, 'application', '__init__.py')).read() return VERSION_RE.search(init).group(1) ...
22.177778
72
0.516032
133
998
3.706767
0.548872
0.01217
0
0
0
0
0
0
0
0
0
0.074792
0.276553
998
44
73
22.681818
0.608033
0.02004
0
0
0
0
0.307062
0.021494
0
0
0
0
0
1
0.027027
false
0
0.081081
0
0.135135
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
0
0
1
0
5dda086e2a6749797c92ff4afeb274d3586e3b33
536
py
Python
cookie-cutter/src/templates/template.py
noname34/CHARM_Project_Hazard_Perception_I
2d03d9e8911afad21818c6f837558503508a59bd
[ "Unlicense", "MIT" ]
null
null
null
cookie-cutter/src/templates/template.py
noname34/CHARM_Project_Hazard_Perception_I
2d03d9e8911afad21818c6f837558503508a59bd
[ "Unlicense", "MIT" ]
null
null
null
cookie-cutter/src/templates/template.py
noname34/CHARM_Project_Hazard_Perception_I
2d03d9e8911afad21818c6f837558503508a59bd
[ "Unlicense", "MIT" ]
null
null
null
#!/user/bin/env python3 # -*- coding: utf-8 -*- #!/user/bin/env python3 # -*- coding: utf-8 -*- # @Author: Kevin Bürgisser # @Email: kevin.buergisser@edu.hefr.ch # @Date: 04.2020 # Context: CHARM PROJECT - Harzard perception """ Module documentation. """ # Imports import sys #import os # Global variables # Class...
14.888889
51
0.630597
67
536
4.925373
0.731343
0.042424
0.060606
0.10303
0.163636
0.163636
0.163636
0
0
0
0
0.028169
0.205224
536
36
52
14.888889
0.746479
0.589552
0
0
0
0
0.21
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
0.125
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
0
1
0
5dde2db2c5518f1b83b708f088e5f614029ac9a9
2,794
py
Python
Module_III/PySparkNetworkSimilarityClass.py
wuchiehhan/KDD2019-HandsOn-Tutorial
0377ae4b2a74e9cc08b15c983e4e0f59ab02debe
[ "MIT" ]
null
null
null
Module_III/PySparkNetworkSimilarityClass.py
wuchiehhan/KDD2019-HandsOn-Tutorial
0377ae4b2a74e9cc08b15c983e4e0f59ab02debe
[ "MIT" ]
null
null
null
Module_III/PySparkNetworkSimilarityClass.py
wuchiehhan/KDD2019-HandsOn-Tutorial
0377ae4b2a74e9cc08b15c983e4e0f59ab02debe
[ "MIT" ]
null
null
null
# Databricks notebook source from pyspark.sql.types import * from pyspark.sql import functions as F import base64 import array # COMMAND ---------- # s is a base64 encoded float[] with first element being the magnitude def Base64ToFloatArray(s): arr = array.array('f', base64.b64decode(s)) return (arr[0], arr[1:])...
33.261905
126
0.678597
364
2,794
5.186813
0.425824
0.012712
0.03178
0.030191
0.034958
0.024364
0
0
0
0
0
0.0323
0.180029
2,794
83
127
33.662651
0.791794
0.269864
0
0.042553
0
0
0.029747
0
0
0
0
0
0
1
0.170213
false
0
0.085106
0.042553
0.425532
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
0
0
1
0
5ddff0c682bfeb9cf9d9bdcf324ee0733eb92a14
2,899
py
Python
Animation/Main.py
olesmith/SmtC
dfae5097f02192b60aae05b9d02404fcfe893be3
[ "CC0-1.0" ]
null
null
null
Animation/Main.py
olesmith/SmtC
dfae5097f02192b60aae05b9d02404fcfe893be3
[ "CC0-1.0" ]
null
null
null
Animation/Main.py
olesmith/SmtC
dfae5097f02192b60aae05b9d02404fcfe893be3
[ "CC0-1.0" ]
null
null
null
import gd,os,time from Html import Animation_Html from Iteration import Animation_Iteration from Write import Animation_Write from Base import * from Canvas2 import * from Canvas2 import Canvas2 from Image import Image from HTML import HTML __Canvas__=None class Animation( Animation_Html, Animation_...
23.762295
73
0.519489
305
2,899
4.704918
0.393443
0.041812
0.019512
0.032056
0.051568
0.019512
0
0
0
0
0
0.012539
0.339772
2,899
121
74
23.958678
0.7372
0.055881
0
0.042553
0
0
0.196107
0
0
0
0
0
0
1
0.053191
false
0.021277
0.095745
0
0.404255
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
0
0
1
0
5de1c133ca3046f5ca60bc9f85bbcefa4f2854dd
1,839
py
Python
pytorch_metric_learning/miners/distance_weighted_miner.py
junjungoal/pytorch_metric_learning
e56bb440d1ec63e13622025209135a788c6f51c1
[ "MIT" ]
1
2019-11-28T19:31:29.000Z
2019-11-28T19:31:29.000Z
pytorch_metric_learning/miners/distance_weighted_miner.py
junjungoal/pytorch_metric_learning
e56bb440d1ec63e13622025209135a788c6f51c1
[ "MIT" ]
null
null
null
pytorch_metric_learning/miners/distance_weighted_miner.py
junjungoal/pytorch_metric_learning
e56bb440d1ec63e13622025209135a788c6f51c1
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 from .base_miner import BasePostGradientMiner import torch from ..utils import loss_and_miner_utils as lmu # adapted from # https://github.com/chaoyuaw/incubator-mxnet/blob/master/example/gluon/ # /embedding_learning/model.py class DistanceWeightedMiner(BasePostGradientMiner): def __init_...
39.978261
85
0.657423
252
1,839
4.630952
0.460317
0.065981
0.058269
0.039417
0
0
0
0
0
0
0
0.014055
0.22621
1,839
45
86
40.866667
0.806044
0.222947
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.115385
0
0.269231
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
0
0
1
0
5de40eed6f013ca3b73d1af645e0c517f3a9ec93
4,728
py
Python
pulsar/apps/data/redis/store.py
goodboy/pulsar
e4b42d94b7e262a165782747d65f8b39fb8d3ba9
[ "BSD-3-Clause" ]
1
2020-11-30T07:36:57.000Z
2020-11-30T07:36:57.000Z
pulsar/apps/data/redis/store.py
goodboy/pulsar
e4b42d94b7e262a165782747d65f8b39fb8d3ba9
[ "BSD-3-Clause" ]
null
null
null
pulsar/apps/data/redis/store.py
goodboy/pulsar
e4b42d94b7e262a165782747d65f8b39fb8d3ba9
[ "BSD-3-Clause" ]
null
null
null
from functools import partial from pulsar import Connection, Pool, get_actor from pulsar.utils.pep import to_string from pulsar.apps.data import RemoteStore from pulsar.apps.ds import redis_parser from .client import RedisClient, Pipeline, Consumer, ResponseError from .pubsub import RedisPubSub, RedisChannels class...
33.295775
78
0.635787
548
4,728
5.322993
0.270073
0.022626
0.020569
0.027425
0.139184
0.122729
0.10216
0.10216
0.10216
0.10216
0
0.00086
0.262267
4,728
141
79
33.531915
0.835436
0.073816
0
0.174757
0
0
0.021389
0
0
0
0
0
0
1
0.15534
false
0.019417
0.067961
0.067961
0.446602
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
0
0
1
0
5de5910c5b5ea17215e0b0e1f87d78465a65ecbe
2,683
py
Python
pcg_libraries/src/pcg_gazebo/parsers/types/vector.py
boschresearch/pcg_gazebo_pkgs
1c112d01847ca4f8da61ce9b273e13d13bc7eb73
[ "Apache-2.0", "BSD-3-Clause" ]
42
2019-06-26T09:46:03.000Z
2022-03-18T17:56:26.000Z
pcg_libraries/src/pcg_gazebo/parsers/types/vector.py
boschresearch/pcg_gazebo_pkgs
1c112d01847ca4f8da61ce9b273e13d13bc7eb73
[ "Apache-2.0", "BSD-3-Clause" ]
9
2019-07-18T10:36:05.000Z
2020-10-02T15:26:32.000Z
pcg_libraries/src/pcg_gazebo/parsers/types/vector.py
boschresearch/pcg_gazebo_pkgs
1c112d01847ca4f8da61ce9b273e13d13bc7eb73
[ "Apache-2.0", "BSD-3-Clause" ]
2
2019-11-01T03:20:11.000Z
2020-10-15T23:23:44.000Z
# Copyright (c) 2019 - The Procedural Generation for Gazebo authors # For information on the respective copyright owner see the NOTICE file # # 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 # #...
40.044776
78
0.633619
355
2,683
4.673239
0.371831
0.038577
0.023508
0.019289
0.086799
0.033755
0.033755
0.033755
0
0
0
0.006094
0.26612
2,683
66
79
40.651515
0.836465
0.244875
0
0.113636
0
0
0.205868
0
0
0
0
0
0.159091
1
0.113636
false
0
0.045455
0
0.318182
0.068182
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
0
1
0
5de5b5ee5bf23c10f66da04af7327075aad14c24
9,531
py
Python
tests/main/helpers/test_buyers_helpers.py
uk-gov-mirror/alphagov.digitalmarketplace-briefs-frontend
2325f01b1bdb13fb5b0afe7fe110c0be0c031da6
[ "MIT" ]
1
2021-05-06T22:37:05.000Z
2021-05-06T22:37:05.000Z
tests/main/helpers/test_buyers_helpers.py
uk-gov-mirror/alphagov.digitalmarketplace-briefs-frontend
2325f01b1bdb13fb5b0afe7fe110c0be0c031da6
[ "MIT" ]
108
2017-06-14T10:48:10.000Z
2021-06-11T08:55:25.000Z
tests/main/helpers/test_buyers_helpers.py
uk-gov-mirror/alphagov.digitalmarketplace-briefs-frontend
2325f01b1bdb13fb5b0afe7fe110c0be0c031da6
[ "MIT" ]
5
2017-06-27T15:13:11.000Z
2021-04-10T18:06:29.000Z
import mock import pytest from werkzeug.exceptions import NotFound import app.main.helpers as helpers from dmcontent.content_loader import ContentLoader from dmtestutils.api_model_stubs import BriefStub, FrameworkStub, LotStub content_loader = ContentLoader('tests/fixtures/content') content_loader.load_manifest('dos...
44.125
118
0.615255
977
9,531
5.746162
0.136131
0.0456
0.04275
0.087816
0.732633
0.669576
0.653367
0.594585
0.530103
0.424296
0
0.01005
0.258735
9,531
215
119
44.330233
0.784572
0
0
0.42246
0
0
0.203127
0.101668
0
0
0
0
0.106952
1
0.074866
false
0
0.032086
0
0.112299
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
0
0
1
0
5de70a07393091d4b0d1b81bb83f4335c31b6482
3,329
py
Python
Plot/src/test/java/io/deephaven/db/plot/example_plots/PlottingPQ.py
devinrsmith/deephaven-core
3a6930046faf1cd556f62a914ce1cfd7860147b9
[ "MIT" ]
null
null
null
Plot/src/test/java/io/deephaven/db/plot/example_plots/PlottingPQ.py
devinrsmith/deephaven-core
3a6930046faf1cd556f62a914ce1cfd7860147b9
[ "MIT" ]
1
2022-03-03T21:24:40.000Z
2022-03-03T21:24:54.000Z
Plot/src/test/java/io/deephaven/db/plot/example_plots/PlottingPQ.py
devinrsmith/deephaven-core
3a6930046faf1cd556f62a914ce1cfd7860147b9
[ "MIT" ]
null
null
null
import deephaven.TableTools as tt import deephaven.Plot as plt t = tt.emptyTable(50)\ .update("X = i + 5", "XLow = X -1", "XHigh = X + 1", "Y = Math.random() * 5", "YLow = Y - 1", "YHigh = Y + 1", "USym = i % 2 == 0 ? `AAPL` : `MSFT`") p = plt.plot("S1", t, "X", "Y").lineColor("black").show() p2 = plt.plot("S1"...
37.829545
153
0.578252
494
3,329
3.896761
0.263158
0.037403
0.04987
0.033766
0.435325
0.402078
0.268571
0.154805
0.130909
0.051948
0
0.046455
0.139982
3,329
87
154
38.264368
0.625917
0
0
0
0
0
0.167017
0
0
0
0
0
0
1
0
false
0
0.035714
0
0.035714
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
0
0
1
0
5deb3af9396589471b73ff049da7ac957d8d19d7
14,680
py
Python
anyway/parsers/united.py
ayalapol/anyway
ebf2436a8f9b152ae8f4d051c129bac754cb8cc1
[ "BSD-3-Clause" ]
null
null
null
anyway/parsers/united.py
ayalapol/anyway
ebf2436a8f9b152ae8f4d051c129bac754cb8cc1
[ "BSD-3-Clause" ]
null
null
null
anyway/parsers/united.py
ayalapol/anyway
ebf2436a8f9b152ae8f4d051c129bac754cb8cc1
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import calendar import csv from datetime import datetime import os from flask_sqlalchemy import SQLAlchemy from sqlalchemy import and_ from ..constants import CONST from ..models import AccidentMarker from ..utilities import init_flask, decode_hebrew, open_utf8 from ..imp...
40.891365
136
0.596322
1,910
14,680
4.44555
0.243979
0.040985
0.020021
0.014133
0.208456
0.158521
0.10517
0.067837
0.057944
0.041456
0
0.053124
0.265259
14,680
358
137
41.005587
0.7341
0.141894
0
0.132
0
0
0.088903
0
0
0
0
0
0.008
1
0.056
false
0.012
0.076
0.004
0.188
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
0
0
1
0
5dec35ee70a7a827dfe8596bcb69fa8833b6491d
15,992
py
Python
hysds/log_utils.py
fgreg/hysds
74a1019665b02f0f475cc4e7fc0a993dd71d7a53
[ "Apache-2.0" ]
null
null
null
hysds/log_utils.py
fgreg/hysds
74a1019665b02f0f475cc4e7fc0a993dd71d7a53
[ "Apache-2.0" ]
null
null
null
hysds/log_utils.py
fgreg/hysds
74a1019665b02f0f475cc4e7fc0a993dd71d7a53
[ "Apache-2.0" ]
null
null
null
from __future__ import unicode_literals from __future__ import print_function from __future__ import division from __future__ import absolute_import from builtins import open from builtins import str from future import standard_library standard_library.install_aliases() import os import re import json import copy imp...
36.763218
128
0.619497
2,035
15,992
4.55086
0.106143
0.036281
0.047511
0.034554
0.552748
0.482885
0.440341
0.386459
0.320808
0.273297
0
0.001266
0.25938
15,992
434
129
36.847926
0.780648
0.100113
0
0.286713
0
0
0.12948
0.00996
0
0
0
0
0
1
0.059441
false
0
0.08042
0
0.167832
0.003497
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
0
1
0
5deeffa5857206493c1d342dae064f6fd87a3184
8,920
py
Python
openstack_dashboard/api/rest/swift.py
CplusShen/aurora-horizon
8df16b3b87097d5a19bae3752d4b341ac64bda75
[ "Apache-2.0" ]
null
null
null
openstack_dashboard/api/rest/swift.py
CplusShen/aurora-horizon
8df16b3b87097d5a19bae3752d4b341ac64bda75
[ "Apache-2.0" ]
12
2022-03-22T07:28:29.000Z
2022-03-22T07:29:55.000Z
openstack_dashboard/api/rest/swift.py
CplusShen/aurora-horizon
8df16b3b87097d5a19bae3752d4b341ac64bda75
[ "Apache-2.0" ]
null
null
null
# Copyright 2015, Rackspace, US, Inc. # # 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 w...
31.971326
79
0.610762
1,053
8,920
5.068376
0.222222
0.065955
0.034102
0.053588
0.368934
0.267004
0.232528
0.170883
0.100056
0.067454
0
0.005322
0.283744
8,920
278
80
32.086331
0.83002
0.218946
0
0.365269
0
0
0.101899
0.05132
0
0
0
0.003597
0
1
0.071856
false
0
0.071856
0.005988
0.317365
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
0
0
1
0
5def303cbd1f1433f2580e86e412f8af092aba1f
5,621
py
Python
datagen.py
kuangliu/pytorch-ssd
02ed1cbe6962e791895ab1c455dc5ddfb87291b9
[ "MIT" ]
124
2017-02-16T01:53:14.000Z
2022-02-22T12:48:13.000Z
datagen.py
droogg/pytorch-ssd
02ed1cbe6962e791895ab1c455dc5ddfb87291b9
[ "MIT" ]
10
2017-07-04T01:38:56.000Z
2021-08-03T09:34:34.000Z
datagen.py
droogg/pytorch-ssd
02ed1cbe6962e791895ab1c455dc5ddfb87291b9
[ "MIT" ]
43
2017-07-31T10:46:23.000Z
2021-02-16T14:12:42.000Z
'''Load image/class/box from a annotation file. The annotation file is organized as: image_name #obj xmin ymin xmax ymax class_index .. ''' from __future__ import print_function import os import sys import os.path import random import numpy as np import torch import torch.utils.data as data import torchvision.t...
31.9375
81
0.534424
706
5,621
4.161473
0.233711
0.035398
0.019061
0.016338
0.117767
0.096664
0.09258
0.081007
0.056501
0.036079
0
0.021633
0.34211
5,621
175
82
32.12
0.77285
0.254047
0
0.031579
0
0
0
0
0
0
0
0
0
1
0.052632
false
0
0.115789
0.010526
0.242105
0.010526
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
0
1
0
5defd443987097ce80f96a0e6f43dc63945abf24
13,258
py
Python
lingvo/core/builder.py
allenwang28/lingvo
26d3d6672d3f46d8f281c2aa9f57166ef6296738
[ "Apache-2.0" ]
2,611
2018-10-16T20:14:10.000Z
2022-03-31T14:48:41.000Z
lingvo/core/builder.py
allenwang28/lingvo
26d3d6672d3f46d8f281c2aa9f57166ef6296738
[ "Apache-2.0" ]
249
2018-10-27T06:02:29.000Z
2022-03-30T18:00:39.000Z
lingvo/core/builder.py
allenwang28/lingvo
26d3d6672d3f46d8f281c2aa9f57166ef6296738
[ "Apache-2.0" ]
436
2018-10-25T05:31:45.000Z
2022-03-31T07:26:03.000Z
# Lint as: python3 # Copyright 2020 The TensorFlow 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 ...
36.827778
81
0.648439
1,787
13,258
4.701175
0.24958
0.021902
0.027854
0.036424
0.206761
0.163314
0.137484
0.110939
0.080229
0.080229
0
0.007764
0.222809
13,258
359
82
36.930362
0.80755
0.411374
0
0.133333
0
0.012121
0.150354
0.010608
0
0
0
0.002786
0
1
0.175758
false
0
0.042424
0.012121
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5defe80f544d4d152b4eab27921e74e04e7e4df0
4,589
py
Python
instmakelib/instmake_toolnames.py
gilramir/instmake
7b083a5061be43e9b92bdcf0f3badda7c4107eef
[ "BSD-3-Clause" ]
null
null
null
instmakelib/instmake_toolnames.py
gilramir/instmake
7b083a5061be43e9b92bdcf0f3badda7c4107eef
[ "BSD-3-Clause" ]
null
null
null
instmakelib/instmake_toolnames.py
gilramir/instmake
7b083a5061be43e9b92bdcf0f3badda7c4107eef
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2010 by Cisco Systems, Inc. """ Manage the tool plugins and use them appropriately. """ import os TOOLNAME_PLUGIN_PREFIX = "toolname" class ToolNameManager: """ToolName plugins have to register with this manager the circumstances under which they wish to be called.""" def __init__(self, pl...
35.573643
78
0.58771
558
4,589
4.670251
0.267025
0.076746
0.055257
0.040292
0.350729
0.244052
0.189179
0.148887
0.079048
0.079048
0
0.004867
0.328394
4,589
128
79
35.851563
0.840688
0.271519
0
0.25641
0
0
0.003368
0
0
0
0
0
0
1
0.102564
false
0
0.012821
0
0.25641
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
0
0
1
0
5df1af1171ca12ddbf5a2ce6aeb42a6d24730f8d
12,991
py
Python
raiden/tests/integration/long_running/test_stress.py
tirkarthi/raiden
dbd03ddda039332b54ec0c02d81cbe1100bc8028
[ "MIT" ]
2,101
2016-06-01T11:31:49.000Z
2022-03-27T20:13:19.000Z
raiden/tests/integration/long_running/test_stress.py
tirkarthi/raiden
dbd03ddda039332b54ec0c02d81cbe1100bc8028
[ "MIT" ]
5,291
2016-06-01T18:14:04.000Z
2022-03-31T11:19:09.000Z
raiden/tests/integration/long_running/test_stress.py
tirkarthi/raiden
dbd03ddda039332b54ec0c02d81cbe1100bc8028
[ "MIT" ]
484
2016-06-01T18:21:06.000Z
2022-03-22T10:29:45.000Z
import time from http import HTTPStatus from itertools import count from typing import Sequence import gevent import grequests import pytest import structlog from eth_utils import to_canonical_address from flask import url_for from raiden.api.python import RaidenAPI from raiden.api.rest import APIServer, RestAPI from...
31.531553
99
0.693557
1,484
12,991
5.762803
0.166442
0.047123
0.043031
0.029467
0.454397
0.420603
0.387746
0.352198
0.344481
0.344481
0
0.003293
0.228697
12,991
411
100
31.608273
0.8502
0.057655
0
0.38125
0
0
0.030924
0.006808
0
0
0
0
0.046875
1
0.046875
false
0
0.084375
0.00625
0.153125
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
0
0
1
0
5df3d1e6a9c7a37c58251913284702c80bde4fc2
15,348
py
Python
dask/dataframe/io/hdf.py
TryTestspace/dask
86d4f7d8c6d48ec6c4b1de1b6cfd2d3f4e5a4c1b
[ "BSD-3-Clause" ]
1
2017-10-06T05:59:15.000Z
2017-10-06T05:59:15.000Z
dask/dataframe/io/hdf.py
TryTestspace/dask
86d4f7d8c6d48ec6c4b1de1b6cfd2d3f4e5a4c1b
[ "BSD-3-Clause" ]
null
null
null
dask/dataframe/io/hdf.py
TryTestspace/dask
86d4f7d8c6d48ec6c4b1de1b6cfd2d3f4e5a4c1b
[ "BSD-3-Clause" ]
1
2021-03-28T04:50:43.000Z
2021-03-28T04:50:43.000Z
from __future__ import absolute_import, division, print_function from fnmatch import fnmatch from glob import glob import os import uuid from warnings import warn import pandas as pd from toolz import merge from .io import _link from ...base import get_scheduler from ..core import DataFrame, new_dd_object from ... i...
36.028169
95
0.601968
2,017
15,348
4.479425
0.188399
0.011068
0.006973
0.005755
0.190592
0.16104
0.110127
0.077809
0.063641
0.04881
0
0.00875
0.300039
15,348
425
96
36.112941
0.832263
0.348645
0
0.148837
0
0
0.121164
0
0
0
0
0
0
1
0.037209
false
0
0.093023
0
0.172093
0.004651
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
0
1
0
5df7763c501c1594868f6878a3ef39da6fe70cae
842
py
Python
tests/test_parsers.py
FlorisHoogenboom/BoxRec
c9cc5d149318f916facdf57d7dbe94e797d81582
[ "MIT" ]
5
2018-04-20T11:47:43.000Z
2021-05-04T18:54:16.000Z
tests/test_parsers.py
FlorisHoogenboom/BoxRec
c9cc5d149318f916facdf57d7dbe94e797d81582
[ "MIT" ]
1
2018-03-21T08:44:25.000Z
2018-03-22T12:08:17.000Z
tests/test_parsers.py
FlorisHoogenboom/BoxRec
c9cc5d149318f916facdf57d7dbe94e797d81582
[ "MIT" ]
6
2018-03-16T14:05:55.000Z
2018-03-16T14:08:41.000Z
import unittest from boxrec.parsers import FightParser class MockResponse(object): def __init__(self, content, encoding, url): self.content= content self.encoding = encoding self.url = url class TestFightParser(unittest.TestCase): def setUp(self): with open('mock_data/fights/...
25.515152
77
0.63658
95
842
5.526316
0.578947
0.041905
0.053333
0
0
0
0
0
0
0
0
0.020734
0.255344
842
32
78
26.3125
0.816587
0.036817
0
0
0
0
0.12795
0.032298
0
0
0
0
0.045455
1
0.136364
false
0.045455
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5df786c7bbc659882d2ccb4bb744e69c8b4ccbd8
4,868
py
Python
hyperdock/common/workqueue.py
ErikGartner/hyperdock
19510b4bf1e123576d7be067555d959cb8a7cf45
[ "Apache-2.0" ]
8
2018-05-07T19:12:35.000Z
2021-12-21T01:30:48.000Z
hyperdock/common/workqueue.py
ErikGartner/hyperdock
19510b4bf1e123576d7be067555d959cb8a7cf45
[ "Apache-2.0" ]
92
2018-05-15T14:57:48.000Z
2019-12-27T10:48:25.000Z
hyperdock/common/workqueue.py
ErikGartner/hyperdock
19510b4bf1e123576d7be067555d959cb8a7cf45
[ "Apache-2.0" ]
2
2019-06-01T22:42:17.000Z
2019-12-25T12:48:36.000Z
from datetime import datetime, timedelta from bson.objectid import ObjectId WORK_TIMEOUT = 600 class WorkQueue: """ A simple MongoDB priority work queue that handles the queue of experiment. """ def __init__(self, mongodb): super().__init__() self._mongodb = mongodb sel...
31.205128
87
0.474528
494
4,868
4.493927
0.267206
0.063063
0.048649
0.037838
0.236937
0.203604
0.154955
0.139189
0.11036
0.086486
0
0.005146
0.401191
4,868
155
88
31.406452
0.756432
0.144823
0
0.326923
0
0
0.126534
0.006135
0
0
0
0
0
1
0.096154
false
0
0.019231
0
0.192308
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
0
0
1
0
5df79191a02e9cdc36eab83fa9b24e2f2d9fe213
7,695
py
Python
Dockerfiles/gedlab-khmer-filter-abund/pymodules/python2.7/lib/python/apache_libcloud-0.15.1-py2.7.egg/libcloud/test/test_connection.py
poojavade/Genomics_Docker
829b5094bba18bbe03ae97daf925fee40a8476e8
[ "Apache-2.0" ]
1
2019-07-29T02:53:51.000Z
2019-07-29T02:53:51.000Z
libcloud/test/test_connection.py
elastacloud/libcloud
f3792b2dca835c548bdbce0da2eb71bfc9463b72
[ "Apache-2.0" ]
1
2021-09-11T14:30:32.000Z
2021-09-11T14:30:32.000Z
libcloud/test/test_connection.py
elastacloud/libcloud
f3792b2dca835c548bdbce0da2eb71bfc9463b72
[ "Apache-2.0" ]
2
2016-12-19T02:27:46.000Z
2019-07-29T02:53:54.000Z
# -*- coding: utf-8 -*- # Licensed to the Apache Software Foundation (ASF) under one or more§ # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "Li...
36.995192
94
0.624172
915
7,695
5.154098
0.224044
0.052375
0.023749
0.033927
0.553011
0.487489
0.472858
0.459288
0.451654
0.451654
0
0.009097
0.25718
7,695
207
95
37.173913
0.81578
0.178298
0
0.477273
0
0
0.103448
0
0
0
0
0
0.189394
1
0.060606
false
0.015152
0.045455
0
0.113636
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
0
0
1
0
5df7daeb42f8803f9c7b7af1f59daf2cde2ea6c7
3,605
py
Python
igibson/utils/data_utils/ext_object/scripts/step_1_visual_mesh.py
mamadbiabon/iGibson
d416a470240eb7ad86e04fee475ae4bd67263a7c
[ "MIT" ]
360
2020-04-02T11:12:09.000Z
2022-03-24T21:46:58.000Z
igibson/utils/data_utils/ext_object/scripts/step_1_visual_mesh.py
mamadbiabon/iGibson
d416a470240eb7ad86e04fee475ae4bd67263a7c
[ "MIT" ]
169
2020-04-07T21:01:05.000Z
2022-03-31T10:07:39.000Z
igibson/utils/data_utils/ext_object/scripts/step_1_visual_mesh.py
mamadbiabon/iGibson
d416a470240eb7ad86e04fee475ae4bd67263a7c
[ "MIT" ]
94
2020-04-09T23:22:17.000Z
2022-03-17T21:49:03.000Z
import os import sys import bpy script_dir = os.path.dirname(os.path.abspath(__file__)) utils_dir = os.path.join(script_dir, "../../blender_utils") sys.path.append(utils_dir) from utils import bake_model, clean_unused, export_ig_object, import_obj_folder ############################################# # Parse command...
33.073394
115
0.603606
480
3,605
4.335417
0.2875
0.048054
0.050457
0.074003
0.296492
0.20519
0.130706
0.102835
0.102835
0.102835
0
0.009881
0.157836
3,605
108
116
33.37963
0.67556
0.072677
0
0.147059
0
0.029412
0.116158
0
0
0
0
0
0
1
0.014706
false
0
0.161765
0
0.205882
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
0
0
1
0
5df83448e7dd852878051c1b5e24915762ddad3f
3,057
py
Python
ceilometerclient/common/base.py
mail2nsrajesh/python-ceilometerclient
3b4e35abada626ce052f20d55c71fe12ab77052a
[ "Apache-2.0" ]
null
null
null
ceilometerclient/common/base.py
mail2nsrajesh/python-ceilometerclient
3b4e35abada626ce052f20d55c71fe12ab77052a
[ "Apache-2.0" ]
null
null
null
ceilometerclient/common/base.py
mail2nsrajesh/python-ceilometerclient
3b4e35abada626ce052f20d55c71fe12ab77052a
[ "Apache-2.0" ]
null
null
null
# Copyright 2012 OpenStack Foundation # 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 requ...
28.570093
79
0.648021
400
3,057
4.8925
0.4375
0.025038
0.02606
0.016352
0.040879
0.040879
0.040879
0.040879
0.040879
0
0
0.003613
0.275761
3,057
106
80
28.839623
0.880307
0.435394
0
0.18
0
0
0
0
0
0
0
0
0
1
0.16
false
0
0.08
0.02
0.46
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
0
0
1
0
5dfa61d9200420a717e96bb426552082800e9861
11,020
py
Python
lib/charms/layer/azure.py
freyes/charm-azure-integrator
9c96eed30388e5e7ae2ff590574890e27e845b5c
[ "Apache-2.0" ]
null
null
null
lib/charms/layer/azure.py
freyes/charm-azure-integrator
9c96eed30388e5e7ae2ff590574890e27e845b5c
[ "Apache-2.0" ]
null
null
null
lib/charms/layer/azure.py
freyes/charm-azure-integrator
9c96eed30388e5e7ae2ff590574890e27e845b5c
[ "Apache-2.0" ]
null
null
null
import json import os import re import subprocess from base64 import b64decode from enum import Enum from math import ceil, floor from pathlib import Path from urllib.error import HTTPError from urllib.request import urlopen import yaml from charmhelpers.core import hookenv from charmhelpers.core.unitdata import kv ...
30.955056
79
0.649909
1,368
11,020
5.09576
0.262427
0.012624
0.019509
0.022092
0.171855
0.12925
0.08937
0.03615
0.014345
0
0
0.016577
0.244555
11,020
355
80
31.042254
0.820781
0.205898
0
0.17619
0
0
0.205394
0.043442
0
0
0
0
0
1
0.104762
false
0.038095
0.066667
0
0.285714
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
0
0
1
0
5dfb825aca8a665a7da3ab055c3e267e40f81b41
3,040
py
Python
research/utils/_check_pipelines.py
joaopfonseca/research
02659512218d077d9ef28d481178e62172ef18cd
[ "MIT" ]
1
2021-01-25T00:09:32.000Z
2021-01-25T00:09:32.000Z
mlresearch/utils/_check_pipelines.py
joaopfonseca/research
ac4ad6fa05b5985050c63dc9e4e18cd00965e09b
[ "MIT" ]
null
null
null
mlresearch/utils/_check_pipelines.py
joaopfonseca/research
ac4ad6fa05b5985050c63dc9e4e18cd00965e09b
[ "MIT" ]
null
null
null
from itertools import product from sklearn.base import clone from sklearn.preprocessing import FunctionTransformer from sklearn.model_selection import ParameterGrid from imblearn.pipeline import Pipeline from rlearn.utils import check_random_states def check_pipelines(objects_list, random_state, n_runs): """Extra...
31.666667
83
0.575329
369
3,040
4.520325
0.222222
0.009592
0.028777
0.038369
0.142686
0.1247
0.097122
0.083933
0.034772
0
0
0.004358
0.320724
3,040
95
84
32
0.80339
0.071382
0
0.027397
0
0
0.088193
0.059388
0
0
0
0
0
1
0.027397
false
0
0.082192
0
0.150685
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
0
0
1
0
5dfc18ba2772ffd25b6600bc97edfc21e288fb90
13,044
py
Python
libs/python-daemon-2.2.0/test/test_metadata.py
helion-security/helion
1e5f22da9808c4d67bb773b93c5295c72fcaf45a
[ "MIT" ]
1
2021-10-10T20:05:07.000Z
2021-10-10T20:05:07.000Z
libs/python-daemon-2.2.0/test/test_metadata.py
helion-security/helion
1e5f22da9808c4d67bb773b93c5295c72fcaf45a
[ "MIT" ]
null
null
null
libs/python-daemon-2.2.0/test/test_metadata.py
helion-security/helion
1e5f22da9808c4d67bb773b93c5295c72fcaf45a
[ "MIT" ]
5
2020-02-02T14:41:30.000Z
2022-03-18T08:34:01.000Z
# -*- coding: utf-8 -*- # # test/test_metadata.py # Part of ‘python-daemon’, an implementation of PEP 3143. # # This is free software, and you are welcome to redistribute it under # certain conditions; see the end of this file for copyright # information, grant of license, and disclaimer of warranty. """ Unit test for...
35.835165
79
0.611546
1,348
13,044
5.689169
0.198813
0.048768
0.013561
0.016691
0.350111
0.256357
0.180988
0.126092
0.092711
0.046421
0
0.015065
0.287565
13,044
363
80
35.933884
0.809642
0.174026
0
0.310757
0
0
0.144665
0.032672
0
0
0
0
0.047809
1
0.079681
false
0
0.063745
0
0.219124
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
0
0
1
0
5dfe1873a422b9d98cb23a45aa91a24e21973cf8
1,725
py
Python
text_preprocessing/normalizer.py
cyberpunk317/inverted_index
f49ae3ca4f0255928986c1610c5ff8ee38c5f1ff
[ "MIT" ]
9
2021-09-03T10:02:16.000Z
2021-12-22T14:19:33.000Z
text_preprocessing/normalizer.py
cyberpunk317/inverted_index
f49ae3ca4f0255928986c1610c5ff8ee38c5f1ff
[ "MIT" ]
3
2021-04-19T17:13:57.000Z
2022-03-18T15:11:53.000Z
text_preprocessing/normalizer.py
cyberpunk317/inverted_index
f49ae3ca4f0255928986c1610c5ff8ee38c5f1ff
[ "MIT" ]
1
2021-12-11T09:47:46.000Z
2021-12-11T09:47:46.000Z
import re from typing import Union, List import nltk from bs4 import BeautifulSoup class Normalizer: def __init__(self): self.lemmatizer = nltk.stem.WordNetLemmatizer() def normalize(self, x: Union[list, str]) -> List[str]: """ Accepts text (possibly tokenized) and makes it ...
27.822581
86
0.506667
213
1,725
3.976526
0.305164
0.025974
0.047226
0.066116
0.336482
0.224321
0.155844
0.0732
0
0
0
0.000901
0.356522
1,725
62
87
27.822581
0.762162
0.078261
0
0.219512
0
0
0.037475
0
0
0
0
0
0
1
0.195122
false
0
0.097561
0.02439
0.487805
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
0
0
1
0
5dfe4e27d16878f382ef6d6119132647294b2b99
1,874
py
Python
env/lib/python3.7/site-packages/prompt_toolkit/filters/cli.py
MarcoMancha/BreastCancerDetector
be0dfdcebd1ae66da6d0cf48e2525c24942ae877
[ "Apache-2.0" ]
2
2020-09-30T00:11:09.000Z
2021-10-04T13:00:38.000Z
env/lib/python3.7/site-packages/prompt_toolkit/filters/cli.py
MarcoMancha/BreastCancerDetector
be0dfdcebd1ae66da6d0cf48e2525c24942ae877
[ "Apache-2.0" ]
9
2020-08-11T15:19:55.000Z
2022-03-12T00:11:12.000Z
env/lib/python3.7/site-packages/prompt_toolkit/filters/cli.py
MarcoMancha/BreastCancerDetector
be0dfdcebd1ae66da6d0cf48e2525c24942ae877
[ "Apache-2.0" ]
2
2020-08-03T13:02:06.000Z
2020-11-04T03:15:44.000Z
""" For backwards-compatibility. keep this file. (Many people are going to have key bindings that rely on this file.) """ from __future__ import unicode_literals from .app import * __all__ = [ # Old names. 'HasArg', 'HasCompletions', 'HasFocus', 'HasSelection', 'HasValidationError', 'IsDon...
27.558824
88
0.766275
191
1,874
7.230366
0.481675
0.046343
0.036206
0
0
0
0
0
0
0
0
0
0.154216
1,874
67
89
27.970149
0.871293
0.132337
0
0
0
0
0.205446
0.029084
0
0
0
0
0
1
0
false
0
0.037037
0
0.037037
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
0
0
1
0
5dfec5e4fee06a96072b5a9530a2216e08d3cbd3
1,988
py
Python
genetic/spaces.py
shilpasayura/bk
2b0a1aa9300da80e201264bcf80226b3c5ff4ad6
[ "MIT" ]
4
2018-09-08T10:30:27.000Z
2021-07-23T07:59:24.000Z
genetic/spaces.py
shilpasayura/bk
2b0a1aa9300da80e201264bcf80226b3c5ff4ad6
[ "MIT" ]
null
null
null
genetic/spaces.py
shilpasayura/bk
2b0a1aa9300da80e201264bcf80226b3c5ff4ad6
[ "MIT" ]
6
2018-09-07T05:54:17.000Z
2021-07-23T07:59:25.000Z
#spaces.py ''' AlgoHack Genetic Algorithm for University Semaster Planning Version 0.03 2018 Niranjan Meegammana Shilpasayura.org ''' import xdb def crt_spaces_table(cursor,drop=False): if (drop): sql="DROP TABLE IF EXISTS spaces;" success, count=xdb.runSQL(cursor, sql) sql='''C...
32.064516
147
0.628773
262
1,988
4.71374
0.374046
0.0583
0.048583
0.068016
0.212146
0.212146
0.139271
0.139271
0.139271
0.139271
0
0.020067
0.247988
1,988
61
148
32.590164
0.80602
0.195674
0
0.121951
0
0
0.312746
0.040736
0
0
0
0
0
1
0.04878
false
0
0.02439
0
0.146341
0.02439
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
0
1
0
5dff31a15c326fed56b2875daa3e36cda971efde
2,062
py
Python
threaded_remote_pi_camera.py
hyansuper/flask-video-streaming
a6ba19519b9ba5470e59e535552b3e8c448d57ae
[ "MIT" ]
7
2020-01-03T17:35:29.000Z
2021-11-24T14:29:50.000Z
threaded_remote_pi_camera.py
hyansuper/flask-video-streaming
a6ba19519b9ba5470e59e535552b3e8c448d57ae
[ "MIT" ]
null
null
null
threaded_remote_pi_camera.py
hyansuper/flask-video-streaming
a6ba19519b9ba5470e59e535552b3e8c448d57ae
[ "MIT" ]
4
2020-04-30T15:41:25.000Z
2021-08-07T17:05:54.000Z
import urllib.request import cv2 import numpy as np import time import threading class ThreadedRemotePiCamera: def __init__(self, pi_address, resolution=(320,240), framerate=10, hflip=False, vflip=False): if hflip and vflip: self.flip = -1 elif hflip: self.flip = 0 e...
31.242424
132
0.541707
256
2,062
4.234375
0.363281
0.058118
0.090406
0.02583
0.04059
0.04059
0
0
0
0
0
0.022075
0.340931
2,062
65
133
31.723077
0.77557
0.051406
0
0.071429
0
0
0.030542
0
0
0
0
0
0
1
0.178571
false
0
0.089286
0.035714
0.357143
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
0
0
1
0
5dff826ca431e889e0cef41a0054e1a64431e876
22,520
py
Python
scheduler/misc/Ec2SpotCustomScheduler_jan19.py
jalawala/custom-kubernetes-scheduler
07ccba57610048185a245257a1501f6273399d80
[ "Apache-2.0" ]
4
2021-02-24T23:42:17.000Z
2021-03-10T06:31:35.000Z
misc-folder-ignore/scheduler/misc/Ec2SpotCustomScheduler_jan19.py
ABottleofWater7/custom-kubernetes-scheduler
f179a45c85291ba8d34d37e11a33396c94fd5bac
[ "Apache-2.0" ]
null
null
null
misc-folder-ignore/scheduler/misc/Ec2SpotCustomScheduler_jan19.py
ABottleofWater7/custom-kubernetes-scheduler
f179a45c85291ba8d34d37e11a33396c94fd5bac
[ "Apache-2.0" ]
2
2021-09-27T09:08:37.000Z
2022-03-21T04:20:07.000Z
#! /usr/bin/python3 import time import random import json import os from pprint import pprint from kubernetes.client.rest import ApiException from pint import UnitRegistry from collections import defaultdict from kubernetes import client, config, watch from timeloop import Timeloop from datetime import timedelt...
42.330827
281
0.607948
1,769
22,520
7.608253
0.17524
0.010699
0.007133
0.009362
0.188127
0.16502
0.128464
0.11613
0.065161
0.065161
0
0.007172
0.28175
22,520
531
282
42.410546
0.824915
0.203774
0
0.225
0
0
0.139737
0.031832
0
0
0
0
0
1
0.035714
false
0
0.039286
0
0.096429
0.132143
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
0
1
0
b900fe014c618b5968bd75cca2f986adc96f1a10
13,806
py
Python
src/models/nn/adaptive_softmax.py
dumpmemory/state-spaces
2a85503cb3e9e86cc05753950d4a249df9a0fffb
[ "Apache-2.0" ]
513
2021-11-03T23:08:23.000Z
2022-03-31T16:29:18.000Z
src/models/nn/adaptive_softmax.py
dumpmemory/state-spaces
2a85503cb3e9e86cc05753950d4a249df9a0fffb
[ "Apache-2.0" ]
18
2021-11-05T12:42:59.000Z
2022-03-27T19:49:55.000Z
src/models/nn/adaptive_softmax.py
MikeOwino/state-spaces
b6672bca994b6a36347f414faa59761e42b1e2b1
[ "Apache-2.0" ]
47
2021-11-04T01:32:54.000Z
2022-03-30T18:24:26.000Z
# Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
39.786744
132
0.563378
1,817
13,806
4.033572
0.156852
0.022923
0.024833
0.027016
0.392823
0.328012
0.266749
0.219129
0.196753
0.165916
0
0.014843
0.33145
13,806
346
133
39.901734
0.779198
0.143633
0
0.27572
0
0
0.011506
0
0
0
0
0.008671
0.004115
1
0.032922
false
0
0.024691
0
0.102881
0.004115
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
0
1
0
b9014ad1cdd3760612e00e54f9b058e7af94d104
11,770
py
Python
the_el/cli.py
CityOfPhiladelphia/the-el
e3a97afc55d41f2e5fd76cef60ad9393dfa23547
[ "MIT" ]
11
2017-04-19T18:44:51.000Z
2022-03-07T22:36:47.000Z
the_el/cli.py
CityOfPhiladelphia/the-el
e3a97afc55d41f2e5fd76cef60ad9393dfa23547
[ "MIT" ]
9
2017-04-19T18:43:13.000Z
2017-12-08T16:42:38.000Z
the_el/cli.py
CityOfPhiladelphia/the-el
e3a97afc55d41f2e5fd76cef60ad9393dfa23547
[ "MIT" ]
3
2017-12-08T15:09:03.000Z
2018-08-14T02:42:01.000Z
import json import csv import sys import os import re import codecs import logging from logging.config import dictConfig import click import yaml from sqlalchemy import create_engine from jsontableschema_sql import Storage from smart_open import smart_open from . import postgres from . import carto csv.field_size_li...
37.603834
134
0.651572
1,401
11,770
5.232691
0.157744
0.068749
0.037648
0.025508
0.601009
0.53567
0.478789
0.433365
0.412495
0.364752
0
0.001888
0.235004
11,770
312
135
37.724359
0.812306
0.027698
0
0.418605
0
0
0.144769
0.003936
0
0
0
0.003205
0
1
0.046512
false
0.003876
0.05814
0
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
0
0
0
0
0
0
0
0
0
0
1
0
b90258212d799fd07af2bd908c88516410b648a2
6,182
py
Python
examples/asr/experimental/speech_to_text_sclite.py
vadam5/NeMo
3c5db09539293c3c19a6bb7437011f91261119af
[ "Apache-2.0" ]
2
2021-06-23T19:16:59.000Z
2022-02-23T18:49:07.000Z
examples/asr/experimental/speech_to_text_sclite.py
vadam5/NeMo
3c5db09539293c3c19a6bb7437011f91261119af
[ "Apache-2.0" ]
null
null
null
examples/asr/experimental/speech_to_text_sclite.py
vadam5/NeMo
3c5db09539293c3c19a6bb7437011f91261119af
[ "Apache-2.0" ]
12
2021-06-20T08:56:10.000Z
2022-03-16T19:07:10.000Z
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
38.880503
117
0.674054
868
6,182
4.619816
0.319124
0.0399
0.029676
0.01596
0.151372
0.115212
0.074314
0.062344
0.028928
0
0
0.005318
0.209156
6,182
158
118
39.126582
0.814891
0.160789
0
0.053097
0
0
0.112488
0.012391
0
0
0
0
0
1
0.035398
false
0.00885
0.106195
0
0.150442
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
0
0
1
0
b9034036dd7c92efb32754807bdeb44d6dc9be42
1,335
py
Python
accalib/utils.py
pj0620/acca-video-series
1b09548014cc899ded5a8fdd1293f7fc121a98bc
[ "MIT" ]
null
null
null
accalib/utils.py
pj0620/acca-video-series
1b09548014cc899ded5a8fdd1293f7fc121a98bc
[ "MIT" ]
3
2020-04-16T09:24:48.000Z
2021-03-27T19:27:48.000Z
accalib/utils.py
pj0620/acca-video-series
1b09548014cc899ded5a8fdd1293f7fc121a98bc
[ "MIT" ]
1
2020-09-01T05:32:04.000Z
2020-09-01T05:32:04.000Z
from manimlib.imports import * from manimlib.utils import bezier import numpy as np class VectorInterpolator: def __init__(self,points): self.points = points self.n = len(self.points) self.dists = [0] for i in range(len(self.points)): self.dists += [np.linalg.norm( ...
31.785714
100
0.526592
172
1,335
4.011628
0.284884
0.15942
0.094203
0.043478
0.205797
0.092754
0.092754
0.092754
0.092754
0
0
0.012486
0.340075
1,335
42
101
31.785714
0.770715
0.009738
0
0.057143
0
0
0
0
0
0
0
0
0
1
0.114286
false
0
0.085714
0
0.342857
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
0
0
1
0
b9044d615f386c353b51176e0cfb09ae8fe5c1b6
5,834
py
Python
dodo.py
enerqi/bridge-bidding-systems
30ea2bf6f8bc0b786df4de8571063509d971236f
[ "MIT" ]
2
2020-05-24T17:30:55.000Z
2020-11-22T15:27:56.000Z
dodo.py
enerqi/bridge-bidding-systems
30ea2bf6f8bc0b786df4de8571063509d971236f
[ "MIT" ]
null
null
null
dodo.py
enerqi/bridge-bidding-systems
30ea2bf6f8bc0b786df4de8571063509d971236f
[ "MIT" ]
null
null
null
#! /usr/bin/doit -f # https://pydoit.org # `pip install [--user] doit` adds `doit.exe` to the PATH # - Note `doit auto`, the file watcher only works on Linux/Mac # - All commands are relative to dodo.py (doit runs in the working dir of dodo.py # even if ran from a different directory `doit -f path/to/dodo.py`) from g...
37.159236
118
0.652383
816
5,834
4.449755
0.275735
0.048196
0.048472
0.033049
0.279262
0.215918
0.134949
0.120077
0.084825
0.084825
0
0.00345
0.254714
5,834
156
119
37.397436
0.831647
0.263456
0
0.294118
0
0
0.072586
0
0
0
0
0
0
1
0.117647
false
0.009804
0.068627
0.009804
0.254902
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
0
0
1
0
b9058a9a6aeb7e495abc710b44e918cfdd30a156
1,288
py
Python
plugins/crumbling_in.py
jimconner/digital_sky
9427cd19dbd9fb1c82ca12fa8f962532d700c67f
[ "MIT" ]
2
2019-03-04T20:38:44.000Z
2019-03-15T22:34:25.000Z
plugins/crumbling_in.py
jimconner/digital_sky
9427cd19dbd9fb1c82ca12fa8f962532d700c67f
[ "MIT" ]
null
null
null
plugins/crumbling_in.py
jimconner/digital_sky
9427cd19dbd9fb1c82ca12fa8f962532d700c67f
[ "MIT" ]
null
null
null
# Crumbling In # Like randomised coloured dots and then they # increase on both sides getting closer and closer into the middle. import sys, traceback, random from numpy import array,full class animation(): def __init__(self,datastore): self.max_led = datastore.LED_COUNT self.pos = 0 self....
28.622222
67
0.470497
167
1,288
3.562874
0.365269
0.053782
0.045378
0.040336
0.114286
0.114286
0.040336
0.040336
0.040336
0.040336
0
0.096354
0.403727
1,288
44
68
29.272727
0.678385
0.094721
0
0.054054
0
0
0
0
0
0
0
0
0
1
0.054054
false
0
0.054054
0
0.162162
0.054054
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
0
1
0
b906c6820493a72163f757fe7ce4006f0287b820
821
py
Python
code/7/collections/namedtupe_example.py
TeamLab/introduction_to_pythoy_TEAMLAB_MOOC
ebf1ff02d6a341bfee8695eac478ff8297cb97e4
[ "MIT" ]
65
2017-11-01T01:57:21.000Z
2022-02-08T13:36:25.000Z
code/7/collections/namedtupe_example.py
TeamLab/introduction_to_pythoy_TEAMLAB_MOOC
ebf1ff02d6a341bfee8695eac478ff8297cb97e4
[ "MIT" ]
9
2017-11-03T15:05:30.000Z
2018-05-17T03:18:36.000Z
code/7/collections/namedtupe_example.py
TeamLab/introduction_to_pythoy_TEAMLAB_MOOC
ebf1ff02d6a341bfee8695eac478ff8297cb97e4
[ "MIT" ]
64
2017-11-01T01:57:23.000Z
2022-01-19T03:52:12.000Z
from collections import namedtuple # Basic example Point = namedtuple('Point', ['x', 'y']) p = Point(11, y=22) print(p[0] + p[1]) x, y = p print(x, y) print(p.x + p.y) print(Point(x=11, y=22)) from collections import namedtuple import csv f = open("users.csv", "r") next(f) reader = csv.reader(f) student_list = [] fo...
24.147059
77
0.685749
122
821
4.442623
0.352459
0.081181
0.147601
0.114391
0.095941
0
0
0
0
0
0
0.017316
0.155907
821
33
78
24.878788
0.764791
0.015834
0
0.071429
0
0
0.152605
0
0
0
0
0
0
1
0
false
0.035714
0.107143
0
0.107143
0.285714
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
0
1
0
b9078d0e4d15cf11492a86d93eb5a61b04a92b6f
1,439
py
Python
test/helper_tools/benchtool.py
dotnes/mitmproxy
5eb17bbf6d47c8d703763bfa41cf1ff3f98a632f
[ "MIT" ]
4
2018-03-14T03:47:22.000Z
2018-06-28T08:00:39.000Z
test/helper_tools/benchtool.py
dotnes/mitmproxy
5eb17bbf6d47c8d703763bfa41cf1ff3f98a632f
[ "MIT" ]
1
2021-05-09T11:18:14.000Z
2021-05-09T11:18:14.000Z
test/helper_tools/benchtool.py
dotnes/mitmproxy
5eb17bbf6d47c8d703763bfa41cf1ff3f98a632f
[ "MIT" ]
1
2018-04-22T15:43:46.000Z
2018-04-22T15:43:46.000Z
# Profile mitmdump with apachebench and # yappi (https://code.google.com/p/yappi/) # # Requirements: # - Apache Bench "ab" binary # - pip install click yappi from mitmproxy.main import mitmdump from os import system from threading import Thread import time import yappi import click class ApacheBenchThread(Thread): ...
25.245614
94
0.649062
174
1,439
5.235632
0.471264
0.049396
0.032931
0.043908
0
0
0
0
0
0
0
0.017109
0.18763
1,439
56
95
25.696429
0.76219
0.100764
0
0.055556
0
0.027778
0.191919
0.019425
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.277778
0.111111
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
0
1
0
b907c416aa083b16df70a844cea0da2fdc9f29d9
8,922
py
Python
pivpy/graphics.py
alexliberzonlab/pivpy
c1c984cd669fce6f5c0b6a602d6a51ed3fec5954
[ "BSD-3-Clause" ]
1
2018-07-15T07:17:30.000Z
2018-07-15T07:17:30.000Z
pivpy/graphics.py
alexliberzonlab/pivpy
c1c984cd669fce6f5c0b6a602d6a51ed3fec5954
[ "BSD-3-Clause" ]
4
2018-06-14T14:02:45.000Z
2018-07-15T00:19:01.000Z
pivpy/graphics.py
alexliberzonlab/pivpy
c1c984cd669fce6f5c0b6a602d6a51ed3fec5954
[ "BSD-3-Clause" ]
1
2019-07-18T15:25:02.000Z
2019-07-18T15:25:02.000Z
# -*- coding: utf-8 -*- """ Various plots """ import numpy as np import matplotlib.pyplot as plt from matplotlib.animation import FuncAnimation, FFMpegWriter import xarray as xr import os def quiver(data, arrScale = 25.0, threshold = None, nthArr = 1, contourLevels = None, colbar = True, logscale = Fa...
32.922509
99
0.553015
1,221
8,922
4.015561
0.216216
0.014685
0.012237
0.011422
0.261473
0.229247
0.170916
0.134815
0.122782
0.107689
0
0.016344
0.300493
8,922
271
100
32.922509
0.769268
0.313046
0
0.2
0
0.006897
0.05019
0
0
0
0
0
0
1
0.055172
false
0
0.034483
0
0.124138
0.006897
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
0
1
0
b9081ad94fb9a0b4f6e0a49043c2a08a7969c6fc
1,212
py
Python
configs/my_config/vit_base_aspp.py
BostonCrayfish/mmsegmentation
e8b87242b877bfe0c32ea2630c2fd08977d7dd4b
[ "Apache-2.0" ]
null
null
null
configs/my_config/vit_base_aspp.py
BostonCrayfish/mmsegmentation
e8b87242b877bfe0c32ea2630c2fd08977d7dd4b
[ "Apache-2.0" ]
null
null
null
configs/my_config/vit_base_aspp.py
BostonCrayfish/mmsegmentation
e8b87242b877bfe0c32ea2630c2fd08977d7dd4b
[ "Apache-2.0" ]
null
null
null
# model settings norm_cfg = dict(type='BN', requires_grad=True) model = dict( type='EncoderDecoder', pretrained='pretrain/vit_base_patch16_224.pth', backbone=dict( type='VisionTransformer', img_size=(224, 224), patch_size=16, in_channels=3, embed_dim=768, dept...
28.857143
74
0.587459
158
1,212
4.265823
0.594937
0.083086
0.048961
0.04451
0
0
0
0
0
0
0
0.062572
0.287954
1,212
42
75
28.857143
0.718424
0.084984
0
0
0
0
0.097826
0.029891
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b9083abf7ea4269348156a83680d8a60f00f6033
69,300
py
Python
tripleo_ansible/ansible_plugins/modules/podman_container.py
smolar/tripleo-ansible
7bd37f019870c032bea71f22b305832932d81424
[ "Apache-2.0" ]
null
null
null
tripleo_ansible/ansible_plugins/modules/podman_container.py
smolar/tripleo-ansible
7bd37f019870c032bea71f22b305832932d81424
[ "Apache-2.0" ]
null
null
null
tripleo_ansible/ansible_plugins/modules/podman_container.py
smolar/tripleo-ansible
7bd37f019870c032bea71f22b305832932d81424
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # Copyright (c) 2019 OpenStack Foundation # 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-...
34.65
99
0.601198
8,359
69,300
4.864936
0.112813
0.039837
0.018394
0.020066
0.299759
0.209733
0.148847
0.115723
0.101903
0.091821
0
0.006567
0.285859
69,300
1,999
100
34.667334
0.815134
0.052006
0
0.256395
0
0.001785
0.469397
0.019309
0
0
0
0.0005
0.001785
1
0.105294
false
0.00238
0.003569
0.041047
0.209994
0.000595
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
0
1
0
b90a7ababb1e0f6301fc1099880a560c64176ef6
4,209
bzl
Python
samples/workload/XNNPACK/toolchain/emscripten_toolchain_config.bzl
utsavm9/wasm-micro-runtime
0960e82db2be30b741f5c83e7a57ea9056b2ab59
[ "Apache-2.0" ]
2
2020-08-27T03:48:31.000Z
2020-09-17T03:02:53.000Z
samples/workload/XNNPACK/toolchain/emscripten_toolchain_config.bzl
utsavm9/wasm-micro-runtime
0960e82db2be30b741f5c83e7a57ea9056b2ab59
[ "Apache-2.0" ]
3
2020-09-11T04:03:00.000Z
2020-09-23T06:16:43.000Z
samples/workload/XNNPACK/toolchain/emscripten_toolchain_config.bzl
utsavm9/wasm-micro-runtime
0960e82db2be30b741f5c83e7a57ea9056b2ab59
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2019 Intel Corporation. All rights reserved. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception load("@bazel_tools//tools/build_defs/cc:action_names.bzl", "ACTION_NAMES") load( "@bazel_tools//tools/cpp:cc_toolchain_config_lib.bzl", "feature", "flag_group", "flag_set", "tool_p...
30.5
82
0.434545
342
4,209
5.067251
0.359649
0.046163
0.092325
0.135026
0.398153
0.363531
0.259088
0.21004
0.21004
0.109636
0
0.013508
0.45474
4,209
137
83
30.722628
0.741612
0.028986
0
0.507813
0
0
0.245958
0.178834
0
0
0
0
0
1
0.007813
false
0
0
0
0.015625
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
0
0
1
0
b90aa19934d5d7330ff2185f5e9e641a32b1df92
8,781
py
Python
cloud_storages/gdrive/gdrive.py
toplenboren/safezone
eafad765ed7cd6f6b7607ac07e75fd843d32ee07
[ "MIT" ]
null
null
null
cloud_storages/gdrive/gdrive.py
toplenboren/safezone
eafad765ed7cd6f6b7607ac07e75fd843d32ee07
[ "MIT" ]
null
null
null
cloud_storages/gdrive/gdrive.py
toplenboren/safezone
eafad765ed7cd6f6b7607ac07e75fd843d32ee07
[ "MIT" ]
null
null
null
from __future__ import print_function import json from typing import List from functools import lru_cache from cloud_storages.http_shortcuts import * from database.database import Database from models.models import StorageMetaInfo, Resource, Size from cloud_storages.storage import Storage from cloud_storages.gdrive.c...
38.853982
135
0.59959
1,060
8,781
4.775472
0.233019
0.041486
0.053339
0.023706
0.29593
0.280522
0.218886
0.218886
0.202884
0.193994
0
0.008605
0.298599
8,781
226
136
38.853982
0.81247
0.109213
0
0.30625
0
0.0125
0.182092
0.04045
0
0
0
0.004425
0
1
0.0625
false
0
0.075
0
0.20625
0.025
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
0
1
0
b90b0ec76c39d933c89c13f5c997460e2300453d
677
py
Python
index/urls.py
darkestmidnight/fedcodeathon2018
2cac972b6eaebd7bfc47c02aade36b0f4a6869ab
[ "MIT" ]
1
2019-02-08T02:15:52.000Z
2019-02-08T02:15:52.000Z
index/urls.py
darkestmidnight/fedcodeathon2018
2cac972b6eaebd7bfc47c02aade36b0f4a6869ab
[ "MIT" ]
null
null
null
index/urls.py
darkestmidnight/fedcodeathon2018
2cac972b6eaebd7bfc47c02aade36b0f4a6869ab
[ "MIT" ]
1
2018-10-23T21:52:39.000Z
2018-10-23T21:52:39.000Z
from django.urls import re_path, include from . import views app_name='logged' # url mappings for the webapp. urlpatterns = [ re_path(r'^$', views.logged_count, name="logged_count"), re_path(r'^loggedusers/', views.logged, name="logged_users"), re_path(r'^settings/', views.user_settings, name="update_info...
42.3125
80
0.698671
98
677
4.591837
0.408163
0.12
0.124444
0.08
0.08
0
0
0
0
0
0
0
0.113737
677
16
81
42.3125
0.75
0.041359
0
0
0
0
0.29784
0.040123
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
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
0
0
1
0
b90cb0cd96548302814d62e2805216240024b671
3,202
py
Python
scout/dao/item.py
uw-it-aca/scout
be787378c216f1fb172d68914a550a91c62bc264
[ "Apache-2.0" ]
7
2017-01-29T09:51:22.000Z
2022-02-24T16:40:55.000Z
scout/dao/item.py
uw-it-aca/scout
be787378c216f1fb172d68914a550a91c62bc264
[ "Apache-2.0" ]
338
2016-03-21T19:55:04.000Z
2022-03-30T21:12:28.000Z
scout/dao/item.py
uw-it-aca/scout
be787378c216f1fb172d68914a550a91c62bc264
[ "Apache-2.0" ]
4
2016-03-02T01:19:01.000Z
2016-12-13T14:48:31.000Z
# Copyright 2021 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 from scout.dao.space import get_spots_by_filter, _get_spot_filters, \ _get_extended_info_by_key import copy def get_item_by_id(item_id): spot = get_spots_by_filter([ ('item:id', item_id), ('extended...
28.846847
76
0.584635
397
3,202
4.312343
0.188917
0.196262
0.130841
0.129089
0.333528
0.257593
0.08528
0
0
0
0
0.007062
0.336665
3,202
110
77
29.109091
0.798964
0.025609
0
0.244681
0
0
0.076997
0.025024
0
0
0
0
0
1
0.053191
false
0
0.021277
0
0.12766
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
0
0
1
0
b90cef65b59792b28b4c92088d99214713e0be27
458
py
Python
juriscraper/opinions/united_states/state/minnctapp.py
umeboshi2/juriscraper
16abceb3747947593841b1c2708de84dcc85c59d
[ "BSD-2-Clause" ]
null
null
null
juriscraper/opinions/united_states/state/minnctapp.py
umeboshi2/juriscraper
16abceb3747947593841b1c2708de84dcc85c59d
[ "BSD-2-Clause" ]
null
null
null
juriscraper/opinions/united_states/state/minnctapp.py
umeboshi2/juriscraper
16abceb3747947593841b1c2708de84dcc85c59d
[ "BSD-2-Clause" ]
1
2021-03-03T00:03:16.000Z
2021-03-03T00:03:16.000Z
#Scraper for Minnesota Court of Appeals Published Opinions #CourtID: minnctapp #Court Short Name: MN #Author: mlr #Date: 2016-06-03 from juriscraper.opinions.united_states.state import minn class Site(minn.Site): # Only subclasses minn for the _download method. def __init__(self, *args, **kwargs): s...
26.941176
58
0.703057
60
458
5.1
0.733333
0.065359
0
0
0
0
0
0
0
0
0
0.021277
0.179039
458
16
59
28.625
0.792553
0.368996
0
0
0
0
0.060071
0
0
0
0
0
0
1
0.166667
false
0
0.166667
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
0
0
0
0
1
0
b90d416b48352a6528abbda811ab137b9f58c6c2
1,223
py
Python
monty/os/__init__.py
JosephMontoya-TRI/monty
facef1776c7d05c941191a32a0b93f986a9761dd
[ "MIT" ]
null
null
null
monty/os/__init__.py
JosephMontoya-TRI/monty
facef1776c7d05c941191a32a0b93f986a9761dd
[ "MIT" ]
null
null
null
monty/os/__init__.py
JosephMontoya-TRI/monty
facef1776c7d05c941191a32a0b93f986a9761dd
[ "MIT" ]
null
null
null
from __future__ import absolute_import import os import errno from contextlib import contextmanager __author__ = 'Shyue Ping Ong' __copyright__ = 'Copyright 2013, The Materials Project' __version__ = '0.1' __maintainer__ = 'Shyue Ping Ong' __email__ = 'ongsp@ucsd.edu' __date__ = '1/24/14' @contextmanager def cd(pa...
23.075472
111
0.6435
161
1,223
4.695652
0.590062
0.039683
0.031746
0
0
0
0
0
0
0
0
0.012318
0.269828
1,223
53
112
23.075472
0.834267
0.409648
0
0.076923
0
0
0.136503
0
0
0
0
0
0
1
0.076923
false
0.038462
0.153846
0
0.230769
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
0
0
1
0
b90fbfa2a7bb6e18e5af7e82345d7b5cf393db62
2,347
py
Python
backend/app.py
alexespejo/project-argus
53a6a8b1790906044bffbd2db156322938b62da9
[ "MIT" ]
1
2022-03-21T02:13:25.000Z
2022-03-21T02:13:25.000Z
backend/app.py
alexespejo/project-argus
53a6a8b1790906044bffbd2db156322938b62da9
[ "MIT" ]
null
null
null
backend/app.py
alexespejo/project-argus
53a6a8b1790906044bffbd2db156322938b62da9
[ "MIT" ]
null
null
null
import face_recognition from flask import Flask, request, redirect, Response import camera import firestore as db # You can change this to any folder on your system ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg'} app = Flask(__name__) def allowed_file(filename): return '.' in filename and \ filename....
26.370787
94
0.672348
302
2,347
5.056291
0.354305
0.036673
0.05501
0.044532
0.041912
0.041912
0.041912
0
0
0
0
0.011979
0.181934
2,347
88
95
26.670455
0.783333
0.058372
0
0.135593
0
0
0.109701
0.011786
0
0
0
0
0
1
0.152542
false
0
0.067797
0.050847
0.40678
0.033898
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
0
1
0
f8d49b043794456e8669c31d21ba4a68846ab71c
5,088
py
Python
SVassembly/plot_bcs_across_bkpts.py
AV321/SVPackage
c9c625af7f5047ddb43ae79f8beb2ce9aadf7697
[ "MIT" ]
null
null
null
SVassembly/plot_bcs_across_bkpts.py
AV321/SVPackage
c9c625af7f5047ddb43ae79f8beb2ce9aadf7697
[ "MIT" ]
null
null
null
SVassembly/plot_bcs_across_bkpts.py
AV321/SVPackage
c9c625af7f5047ddb43ae79f8beb2ce9aadf7697
[ "MIT" ]
1
2019-01-22T19:16:24.000Z
2019-01-22T19:16:24.000Z
import pandas as pd import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import matplotlib.colors import csv from scipy.stats import mode import math as m import os import collections #set working directory #os.chdir("/mnt/ix1/Projects/M002_131217_gastric/P00526/P00526_WG10_15072...
36.085106
228
0.605149
759
5,088
3.715415
0.188406
0.074113
0.025532
0.031915
0.567731
0.434043
0.344681
0.255319
0.217021
0.197872
0
0.073184
0.272209
5,088
140
229
36.342857
0.688361
0.162539
0
0.135922
0
0
0.082567
0
0
0
0
0
0
1
0.009709
false
0
0.097087
0
0.106796
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
0
0
1
0
f8d75cfce0f3dc1a5df25624c4dcbf0a3624f6c0
2,917
py
Python
language-detection-webapp/blueprints/langid.py
derlin/SwigSpot_Schwyzertuutsch-Spotting
f38c8243ff34c6e512cadab5e4f51b08dacc16c6
[ "Apache-2.0" ]
6
2018-06-17T07:14:32.000Z
2020-03-02T15:28:25.000Z
language-detection-webapp/blueprints/langid.py
derlin/SwigSpot_Schwyzertuutsch-Spotting
f38c8243ff34c6e512cadab5e4f51b08dacc16c6
[ "Apache-2.0" ]
1
2021-03-31T18:42:26.000Z
2021-03-31T18:42:26.000Z
language-detection-webapp/blueprints/langid.py
derlin/SwigSpot_Schwyzertuutsch-Spotting
f38c8243ff34c6e512cadab5e4f51b08dacc16c6
[ "Apache-2.0" ]
1
2019-04-16T09:18:08.000Z
2019-04-16T09:18:08.000Z
import logging from flask import Blueprint from flask import Flask, render_template, request, flash from flask_wtf import FlaskForm from wtforms import StringField, validators, SelectField, BooleanField from wtforms.fields.html5 import IntegerRangeField from wtforms.widgets import TextArea import langid from utils.u...
29.765306
106
0.65204
347
2,917
5.394813
0.302594
0.037393
0.05235
0.067308
0.407585
0.403846
0.403846
0.403846
0.392094
0.349359
0
0.003501
0.216661
2,917
97
107
30.072165
0.815755
0
0
0.364865
0
0
0.069249
0
0
0
0
0
0
1
0.027027
false
0
0.121622
0
0.364865
0.054054
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
0
1
0
f8d9062a56a02a0e0c258c3b8d23088b9caa04a9
11,421
py
Python
sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
null
null
null
sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
null
null
null
sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
null
null
null
# Copyright (C) July 2018: TF TECH NV in Belgium see https://www.threefold.tech/ # In case TF TECH NV ceases to exist (e.g. because of bankruptcy) # then Incubaid NV also in Belgium will get the Copyright & Authorship for all changes made since July 2018 # and the license will automatically become Apache v2 for al...
34.609091
175
0.571228
1,409
11,421
4.506033
0.226402
0.028981
0.00945
0.0126
0.210584
0.134194
0.122066
0.094031
0.08647
0.056702
0
0.003583
0.340163
11,421
329
176
34.714286
0.838907
0.268803
0
0.265625
0
0
0.032352
0.003286
0
0
0
0.006079
0.020833
1
0.098958
false
0
0.010417
0.005208
0.223958
0.005208
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
0
1
0
f8e0235b8205933db406d18f8b9437b0dca33a40
1,810
py
Python
TRANSFORM/Resources/python/2006LUT_to_SDF.py
greenwoodms/TRANSFORM-Library
dc152d4f0298d3f18385f2ea33645d87d7812915
[ "Apache-2.0" ]
29
2018-04-24T17:06:19.000Z
2021-11-21T05:17:28.000Z
TRANSFORM/Resources/python/2006LUT_to_SDF.py
greenwoodms/TRANSFORM-Library
dc152d4f0298d3f18385f2ea33645d87d7812915
[ "Apache-2.0" ]
13
2018-04-05T08:34:27.000Z
2021-10-04T14:24:41.000Z
TRANSFORM/Resources/python/2006LUT_to_SDF.py
greenwoodms/TRANSFORM-Library
dc152d4f0298d3f18385f2ea33645d87d7812915
[ "Apache-2.0" ]
17
2018-08-06T22:18:01.000Z
2022-01-29T21:38:17.000Z
# -*- coding: utf-8 -*- """ Created on Tue Apr 03 11:06:37 2018 @author: vmg """ import sdf import numpy as np # Load 2006 LUT for interpolation # 2006 Groeneveld Look-Up Table as presented in # "2006 CHF Look-Up Table", Nuclear Engineering and Design 237, pp. 190-1922. # This file requires the file 2006LUTdata.tx...
36.2
137
0.651381
371
1,810
3.126685
0.412399
0.030172
0.037931
0.046552
0.106897
0.015517
0
0
0
0
0
0.169151
0.147514
1,810
50
138
36.2
0.582631
0.373481
0
0
0
0
0.088949
0.020665
0
0
0
0
0
1
0
false
0
0.1
0
0.1
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
0
0
1
0
f8e07bde7c24919fc5325f0451f8753ee945632d
2,836
py
Python
test/asserting/policy.py
tmsanrinsha/vint
8c34196252b43d7361d0f58cb78cf2d3e4e4fbd0
[ "MIT" ]
2
2021-06-15T15:07:28.000Z
2021-10-05T12:23:23.000Z
test/asserting/policy.py
tmsanrinsha/vint
8c34196252b43d7361d0f58cb78cf2d3e4e4fbd0
[ "MIT" ]
null
null
null
test/asserting/policy.py
tmsanrinsha/vint
8c34196252b43d7361d0f58cb78cf2d3e4e4fbd0
[ "MIT" ]
null
null
null
import unittest from pathlib import Path from pprint import pprint from vint.compat.itertools import zip_longest from vint.linting.linter import Linter from vint.linting.config.config_default_source import ConfigDefaultSource class PolicyAssertion(unittest.TestCase): class StubPolicySet(object): def __ini...
31.865169
97
0.685825
295
2,836
6.298305
0.261017
0.076964
0.027987
0.018299
0
0
0
0
0
0
0
0
0.230606
2,836
88
98
32.227273
0.851512
0.010578
0
0.036364
0
0
0.035663
0
0
0
0
0
0.272727
1
0.181818
false
0.036364
0.109091
0.054545
0.4
0.054545
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
0
1
0
f8e0ad168c40024827eba4f57a5381ccd338e24b
39,902
py
Python
dataprofiler/labelers/character_level_cnn_model.py
gliptak/DataProfiler
37ffbf43652246ef27e070df7ff0d9f1b9529162
[ "Apache-2.0" ]
null
null
null
dataprofiler/labelers/character_level_cnn_model.py
gliptak/DataProfiler
37ffbf43652246ef27e070df7ff0d9f1b9529162
[ "Apache-2.0" ]
1
2021-11-20T01:08:12.000Z
2021-11-20T01:08:12.000Z
dataprofiler/labelers/character_level_cnn_model.py
gliptak/DataProfiler
37ffbf43652246ef27e070df7ff0d9f1b9529162
[ "Apache-2.0" ]
null
null
null
import copy import json import logging import os import sys import time from collections import defaultdict import numpy as np import tensorflow as tf from sklearn import decomposition from .. import dp_logging from . import labeler_utils from .base_model import AutoSubRegistrationMeta, BaseModel, BaseTrainableModel ...
40.38664
136
0.602276
4,744
39,902
4.854132
0.137858
0.026576
0.010422
0.011812
0.364904
0.316962
0.282005
0.254864
0.238492
0.222555
0
0.009365
0.309609
39,902
987
137
40.427558
0.826557
0.271064
0
0.19666
0
0.001855
0.086511
0.008724
0
0
0
0
0
1
0.057514
false
0
0.024119
0.001855
0.131725
0.009276
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
0
1
0
f8e1bca5e78231c74ae6a4100aeb7480c5e84ad6
6,031
py
Python
airflow/contrib/plugins/metastore_browser/main.py
Nipica/airflow
211a71f8a6b9d808bd03af84bd77bf8ff0ef247f
[ "Apache-2.0" ]
null
null
null
airflow/contrib/plugins/metastore_browser/main.py
Nipica/airflow
211a71f8a6b9d808bd03af84bd77bf8ff0ef247f
[ "Apache-2.0" ]
1
2019-01-14T17:12:47.000Z
2019-01-14T17:12:47.000Z
airflow/contrib/plugins/metastore_browser/main.py
shubhamod/airflow
04f4622656656d4c55b69d460bbd2ed1379810c4
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the #...
33.320442
75
0.62842
792
6,031
4.636364
0.282828
0.017974
0.019063
0.021786
0.227397
0.147603
0.133442
0.106754
0.099673
0.099673
0
0.003824
0.262809
6,031
180
76
33.505556
0.822087
0.157354
0
0.258993
0
0
0.334453
0.028662
0
0
0
0
0
1
0.05036
false
0
0.079137
0
0.215827
0.021583
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
0
1
0
f8e296b5bc6bda6288119a1eb8117102f686848c
12,255
py
Python
app/lib/manage.py
AaronDewes/compose-nonfree
82ef3e58019ee03d163dea7aff4d7ed18d884238
[ "MIT" ]
5
2021-09-26T18:02:27.000Z
2022-03-30T10:16:03.000Z
app/lib/manage.py
AaronDewes/compose-nonfree
82ef3e58019ee03d163dea7aff4d7ed18d884238
[ "MIT" ]
5
2021-09-23T18:57:00.000Z
2021-11-02T06:47:05.000Z
app/lib/manage.py
AaronDewes/compose-nonfree
82ef3e58019ee03d163dea7aff4d7ed18d884238
[ "MIT" ]
3
2021-10-01T15:14:09.000Z
2022-03-30T10:16:06.000Z
#!/usr/bin/env python3 # SPDX-FileCopyrightText: 2021 Aaron Dewes <aaron.dewes@protonmail.com> # # SPDX-License-Identifier: MIT import stat import tempfile import threading from typing import List from sys import argv import os import requests import shutil import json import yaml import subprocess from lib.composeg...
37.941176
166
0.651652
1,601
12,255
4.963148
0.229232
0.031714
0.04153
0.025673
0.356154
0.304304
0.268185
0.217468
0.200856
0.181601
0
0.003904
0.226683
12,255
322
167
38.059006
0.834547
0.203101
0
0.27193
0
0
0.136658
0.00473
0
0
0
0
0
1
0.087719
false
0.004386
0.074561
0.004386
0.201754
0.048246
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
0
1
0
f8e31dd1ab5827961bb3c5e7a54cd2196fee2f7f
2,814
py
Python
features/jit-features/query/query.py
YuanruiZJU/SZZ-TSE
093506f9019a0d8b412dad4672525f93150ca181
[ "MIT" ]
13
2019-04-15T12:54:56.000Z
2022-03-09T02:30:14.000Z
features/jit-features/query/query.py
YanYoungZhao/SZZ-TSE
093506f9019a0d8b412dad4672525f93150ca181
[ "MIT" ]
1
2022-01-27T02:33:09.000Z
2022-01-27T02:33:09.000Z
features/jit-features/query/query.py
YanYoungZhao/SZZ-TSE
093506f9019a0d8b412dad4672525f93150ca181
[ "MIT" ]
6
2019-11-04T11:24:13.000Z
2021-12-16T07:53:18.000Z
from query.base import BaseQuery class CommitMetaQuery(BaseQuery): table_name = 'commit_meta' class DiffusionFeaturesQuery(BaseQuery): table_name = 'diffusion_features' class SizeFeaturesQuery(BaseQuery): table_name = 'size_features' class PurposeFeaturesQuery(BaseQuery): table_name = 'purpose_f...
34.317073
76
0.643568
352
2,814
4.835227
0.193182
0.141011
0.045241
0.063455
0.286722
0.082256
0.032902
0
0
0
0
0.000956
0.256574
2,814
81
77
34.740741
0.81262
0
0
0.0625
0
0
0.051546
0
0
0
0
0
0
1
0.046875
false
0
0.015625
0
0.3125
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
0
0
1
0
f8e3234f6fa0a9c3711d4ac7b793885d955f7286
449
py
Python
example/mappers.py
mikeywaites/flask-arrested
6b97ce2ad2765f9acab10f4726e310258aa51de0
[ "MIT" ]
46
2016-06-28T10:25:07.000Z
2019-12-10T20:53:47.000Z
example/mappers.py
mikeywaites/flask-arrested
6b97ce2ad2765f9acab10f4726e310258aa51de0
[ "MIT" ]
4
2018-02-10T10:53:08.000Z
2018-11-07T08:11:06.000Z
example/mappers.py
mikeywaites/flask-arrested
6b97ce2ad2765f9acab10f4726e310258aa51de0
[ "MIT" ]
9
2016-07-20T17:05:46.000Z
2022-02-15T18:40:17.000Z
from kim import Mapper, field from example.models import Planet, Character class PlanetMapper(Mapper): __type__ = Planet id = field.Integer(read_only=True) name = field.String() description = field.String() created_at = field.DateTime(read_only=True) class CharacterMapper(Mapper): __type...
19.521739
47
0.712695
56
449
5.464286
0.428571
0.104575
0.156863
0.117647
0.526144
0.526144
0.526144
0.526144
0.526144
0
0
0
0.191537
449
22
48
20.409091
0.842975
0
0
0.461538
0
0
0
0
0
0
0
0
0
1
0
false
0
0.153846
0
1
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
0
0
1
0
f8e3680aea79628533b40e4e3bc074491f7796fd
3,660
py
Python
collections/ansible_collections/community/general/plugins/connection/saltstack.py
escalate/ansible-gitops-example-repository
f7f7a9fcd09abd982f5fcd3bd196809a6c4c2f08
[ "MIT" ]
1
2021-07-16T19:51:04.000Z
2021-07-16T19:51:04.000Z
collections/ansible_collections/community/general/plugins/connection/saltstack.py
escalate/ansible-gitops-example-repository
f7f7a9fcd09abd982f5fcd3bd196809a6c4c2f08
[ "MIT" ]
null
null
null
collections/ansible_collections/community/general/plugins/connection/saltstack.py
escalate/ansible-gitops-example-repository
f7f7a9fcd09abd982f5fcd3bd196809a6c4c2f08
[ "MIT" ]
null
null
null
# Based on local.py (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # Based on chroot.py (c) 2013, Maykel Moya <mmoya@speedyrails.com> # Based on func.py # (c) 2014, Michael Scherer <misc@zarb.org> # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt...
36.237624
133
0.668033
507
3,660
4.668639
0.390533
0.037178
0.037178
0.032953
0.107731
0.066751
0.024504
0.024504
0.024504
0.024504
0
0.011867
0.217213
3,660
100
134
36.6
0.814311
0.185792
0
0.032258
0
0
0.197279
0.018027
0
0
0
0.01
0
1
0.112903
false
0.032258
0.112903
0
0.322581
0.016129
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
0
1
0
f8e37ad4239180526865365831c9ddf7d0371aa5
5,074
py
Python
create/views.py
normaldotcom/webvirtmgr
8d822cb94105abf82eb0ff6651a36c43b0911d2a
[ "Apache-2.0" ]
1
2019-07-16T20:32:44.000Z
2019-07-16T20:32:44.000Z
create/views.py
normaldotcom/webvirtmgr
8d822cb94105abf82eb0ff6651a36c43b0911d2a
[ "Apache-2.0" ]
null
null
null
create/views.py
normaldotcom/webvirtmgr
8d822cb94105abf82eb0ff6651a36c43b0911d2a
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render_to_response from django.http import HttpResponseRedirect from django.template import RequestContext from django.utils.translation import ugettext_lazy as _ from servers.models import Compute from create.models import Flavor from instance.models import Instance from libvirt import l...
44.121739
112
0.513599
492
5,074
5.146341
0.268293
0.024882
0.047393
0.03357
0.232622
0.159558
0.159558
0.102686
0.102686
0.102686
0
0.000326
0.396334
5,074
114
113
44.508772
0.826314
0.003942
0
0.3
0
0
0.085947
0
0
0
0
0
0
1
0.01
false
0.01
0.11
0
0.17
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
0
0
1
0
f8e487af25b9797dd2a942cb5666ca85e89e2765
886
py
Python
utils/wassersteinGradientPenalty.py
andimarafioti/GACELA
34649fb01bdecbcb266db046a8b9c48c141f16e1
[ "MIT" ]
15
2020-05-12T02:58:12.000Z
2022-03-14T12:10:56.000Z
utils/wassersteinGradientPenalty.py
tifgan/gacela
cd496cfce128ea7b6191a93639f8f4efac7e7142
[ "MIT" ]
1
2021-05-22T14:02:06.000Z
2021-06-01T13:45:11.000Z
utils/wassersteinGradientPenalty.py
tifgan/gacela
cd496cfce128ea7b6191a93639f8f4efac7e7142
[ "MIT" ]
5
2020-06-18T20:15:00.000Z
2021-11-05T15:45:35.000Z
import torch __author__ = 'Andres' def calc_gradient_penalty_bayes(discriminator, real_data, fake_data, gamma): device = torch.device("cuda" if torch.cuda.is_available() else "cpu") batch_size = real_data.size()[0] alpha = torch.rand(batch_size, 1, 1, 1) alpha = alpha.expand(real_data.size()).to(devi...
42.190476
91
0.688488
109
886
5.357798
0.431193
0.054795
0.041096
0
0
0
0
0
0
0
0
0.012587
0.193002
886
21
92
42.190476
0.804196
0
0
0
0
0
0.014656
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
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
0
0
0
0
0
1
0
f8e6a09b44f3ad67acebf3ea296df8c1d2d40eaf
4,075
py
Python
openke/data/UniverseTrainDataLoader.py
luofeisg/OpenKE-PuTransE
0bfefb3917e7479520917febd91a9f4d7353c7fc
[ "CC-BY-4.0", "MIT" ]
null
null
null
openke/data/UniverseTrainDataLoader.py
luofeisg/OpenKE-PuTransE
0bfefb3917e7479520917febd91a9f4d7353c7fc
[ "CC-BY-4.0", "MIT" ]
null
null
null
openke/data/UniverseTrainDataLoader.py
luofeisg/OpenKE-PuTransE
0bfefb3917e7479520917febd91a9f4d7353c7fc
[ "CC-BY-4.0", "MIT" ]
null
null
null
''' MIT License Copyright (c) 2020 Rashid Lafraie Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish...
40.75
120
0.694724
501
4,075
5.41517
0.345309
0.049023
0.053078
0.046443
0.200147
0.122374
0.103207
0.083303
0.048655
0.048655
0
0.013826
0.23681
4,075
99
121
41.161616
0.858521
0.262577
0
0.25
0
0
0.005364
0
0
0
0
0
0
1
0.083333
false
0
0.066667
0
0.183333
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
0
0
1
0
f8e92112b61dc64252a8bdb77bbf3e0e15b55abe
5,074
py
Python
test/jit/test_backend_nnapi.py
Hacky-DH/pytorch
80dc4be615854570aa39a7e36495897d8a040ecc
[ "Intel" ]
60,067
2017-01-18T17:21:31.000Z
2022-03-31T21:37:45.000Z
test/jit/test_backend_nnapi.py
Hacky-DH/pytorch
80dc4be615854570aa39a7e36495897d8a040ecc
[ "Intel" ]
66,955
2017-01-18T17:21:38.000Z
2022-03-31T23:56:11.000Z
test/jit/test_backend_nnapi.py
Hacky-DH/pytorch
80dc4be615854570aa39a7e36495897d8a040ecc
[ "Intel" ]
19,210
2017-01-18T17:45:04.000Z
2022-03-31T23:51:56.000Z
import os import sys import unittest import torch import torch._C from pathlib import Path from test_nnapi import TestNNAPI from torch.testing._internal.common_utils import TEST_WITH_ASAN # Make the helper files in test/ importable pytorch_test_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) sys.pa...
44.508772
132
0.643082
644
5,074
4.89441
0.285714
0.069797
0.037754
0.020939
0.409264
0.388959
0.388959
0.35882
0.329632
0.329632
0
0.011182
0.259756
5,074
113
133
44.902655
0.828009
0.162594
0
0.356164
0
0.027397
0.252449
0.005632
0
0
0
0
0.068493
1
0.068493
false
0
0.109589
0
0.205479
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
0
0
1
0
f8e997acb5df08763f83e5ed402ea27c456b06ca
1,078
py
Python
main/configure.py
syxu828/Graph2Seq-0.1
36e38f755c0ee390735e49121259151da54bcc1c
[ "Apache-2.0" ]
24
2018-11-04T17:16:52.000Z
2022-01-06T12:34:49.000Z
main/configure.py
syxu828/Graph2Seq-0.1
36e38f755c0ee390735e49121259151da54bcc1c
[ "Apache-2.0" ]
3
2018-12-09T00:31:36.000Z
2020-07-29T06:21:51.000Z
main/configure.py
syxu828/Graph2Seq-0.1
36e38f755c0ee390735e49121259151da54bcc1c
[ "Apache-2.0" ]
4
2019-01-09T06:44:41.000Z
2019-08-04T07:55:00.000Z
train_data_path = "../data/no_cycle/train.data" dev_data_path = "../data/no_cycle/dev.data" test_data_path = "../data/no_cycle/test.data" word_idx_file_path = "../data/word.idx" word_embedding_dim = 100 train_batch_size = 32 dev_batch_size = 500 test_batch_size = 500 l2_lambda = 0.000001 learning_rate = 0.001 epoch...
21.137255
63
0.727273
180
1,078
4.033333
0.466667
0.044077
0.049587
0.057851
0.078512
0
0
0
0
0
0
0.054645
0.151206
1,078
50
64
21.56
0.738798
0.197588
0
0
0
0
0.164912
0.091228
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f8ea7055295dd79ddcfe4843e79b06f95f13078d
7,506
py
Python
dataControlWidget.py
andreasbayer/AEGUIFit
6a1e31091b74d648d007c75c9fef6efae4086860
[ "BSD-3-Clause" ]
null
null
null
dataControlWidget.py
andreasbayer/AEGUIFit
6a1e31091b74d648d007c75c9fef6efae4086860
[ "BSD-3-Clause" ]
null
null
null
dataControlWidget.py
andreasbayer/AEGUIFit
6a1e31091b74d648d007c75c9fef6efae4086860
[ "BSD-3-Clause" ]
null
null
null
from PyQt5.QtWidgets import QLabel, QWidget, QGridLayout, QCheckBox, QGroupBox from InftyDoubleSpinBox import InftyDoubleSpinBox from PyQt5.QtCore import pyqtSignal, Qt import helplib as hl import numpy as np class dataControlWidget(QGroupBox): showErrorBars_changed = pyqtSignal(bool) ignoreFirstPoint_changed ...
34.589862
123
0.635092
769
7,506
5.890767
0.197659
0.06181
0.020088
0.023841
0.182561
0.14128
0.132671
0.116998
0.070199
0.060044
0
0.010033
0.269651
7,506
216
124
34.75
0.816308
0.026246
0
0.138158
0
0
0.024654
0
0
0
0
0
0
1
0.144737
false
0
0.032895
0.032895
0.335526
0.006579
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
0
1
0
f8ea7298a7caca93599e616f2e4db31947e61892
6,425
py
Python
src/freemovr_engine/calib/acquire.py
strawlab/flyvr
335892cae740e53e82e07b526e1ba53fbd34b0ce
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
3
2015-01-29T14:09:25.000Z
2016-04-24T04:25:49.000Z
src/freemovr_engine/calib/acquire.py
strawlab/flyvr
335892cae740e53e82e07b526e1ba53fbd34b0ce
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
src/freemovr_engine/calib/acquire.py
strawlab/flyvr
335892cae740e53e82e07b526e1ba53fbd34b0ce
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
import roslib roslib.load_manifest('sensor_msgs') roslib.load_manifest('dynamic_reconfigure') import rospy import sensor_msgs.msg import dynamic_reconfigure.srv import dynamic_reconfigure.encoding import numpy as np import time import os.path import queue class CameraHandler(object): def __init__(self,topic_pref...
36.095506
124
0.588327
829
6,425
4.306393
0.207479
0.064706
0.033894
0.026611
0.380112
0.337815
0.285434
0.229132
0.220168
0.220168
0
0.006348
0.313463
6,425
177
125
36.299435
0.802993
0.036887
0
0.296552
0
0
0.040783
0
0
0
0
0
0
1
0.096552
false
0
0.062069
0.006897
0.213793
0.013793
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
0
1
0
f8eb7ee679859acda30ad6ca74e666a2bc11c767
6,949
py
Python
examples/hfht/pointnet_classification.py
nixli/hfta
76274b5ee0e32732da20b153a3cc6550510d8a78
[ "MIT" ]
24
2021-04-06T20:36:10.000Z
2022-02-26T17:03:33.000Z
examples/hfht/pointnet_classification.py
nixli/hfta
76274b5ee0e32732da20b153a3cc6550510d8a78
[ "MIT" ]
20
2021-04-02T00:51:34.000Z
2022-03-29T15:00:08.000Z
examples/hfht/pointnet_classification.py
nixli/hfta
76274b5ee0e32732da20b153a3cc6550510d8a78
[ "MIT" ]
5
2021-04-11T20:07:32.000Z
2021-06-14T06:41:05.000Z
import argparse import logging import numpy as np import os import pandas as pd import random import subprocess from pathlib import Path from hyperopt import hp from hyperopt.pyll.stochastic import sample from hfta.hfht import (tune_hyperparameters, attach_common_args, rearrange_algorithm_kwarg...
29.570213
80
0.61534
880
6,949
4.693182
0.281818
0.017433
0.028329
0.013801
0.143584
0.104358
0.084262
0.05908
0.030508
0.030508
0
0.012228
0.258598
6,949
234
81
29.696581
0.789402
0.110088
0
0.115578
0
0
0.128431
0.003758
0
0
0
0
0.005025
1
0.025126
false
0
0.065327
0
0.115578
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
0
0
1
0
f8ec1873a929e5565a9c1de6ad8321fa85a4a6d9
1,409
py
Python
tests/utils/dut.py
Ostrokrzew/standalone-linux-io-tracer
5fcbe7f0c7b027d9e5fdfb4c6e9d553c6fa617b6
[ "BSD-3-Clause-Clear" ]
24
2019-05-09T08:36:46.000Z
2022-03-16T16:20:01.000Z
tests/utils/dut.py
Ostrokrzew/standalone-linux-io-tracer
5fcbe7f0c7b027d9e5fdfb4c6e9d553c6fa617b6
[ "BSD-3-Clause-Clear" ]
122
2019-05-27T12:27:15.000Z
2020-07-31T06:45:08.000Z
tests/utils/dut.py
Ostrokrzew/standalone-linux-io-tracer
5fcbe7f0c7b027d9e5fdfb4c6e9d553c6fa617b6
[ "BSD-3-Clause-Clear" ]
18
2019-05-27T09:31:56.000Z
2021-05-27T18:54:52.000Z
# # Copyright(c) 2020 Intel Corporation # SPDX-License-Identifier: BSD-3-Clause-Clear # from core.test_run_utils import TestRun from utils.installer import install_iotrace, check_if_installed from utils.iotrace import IotracePlugin from utils.misc import kill_all_io from test_tools.fio.fio import Fio def dut_prepare...
30.630435
112
0.726757
189
1,409
5.275132
0.481481
0.078235
0.102307
0.054162
0
0
0
0
0
0
0
0.005119
0.168204
1,409
45
113
31.311111
0.845563
0.110007
0
0
0
0.035714
0.236568
0.085806
0
0
0
0
0
1
0.071429
false
0
0.178571
0
0.25
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
0
0
1
0
f8ecc8d3dac32d7fd54bf1a19d511383c8e5ce7f
355
py
Python
game_service.py
Drew8521/MusiQ
e52671c7dcc4f54f6cbb829486a733a9179575b1
[ "MIT" ]
null
null
null
game_service.py
Drew8521/MusiQ
e52671c7dcc4f54f6cbb829486a733a9179575b1
[ "MIT" ]
1
2019-08-09T21:36:33.000Z
2019-08-09T21:37:24.000Z
game_service.py
Drew8521/MusiQ
e52671c7dcc4f54f6cbb829486a733a9179575b1
[ "MIT" ]
null
null
null
from models import Song from random import choice def random_song(genre): results = Song.query().filter(Song.genre==genre).fetch() print(results) songs = choice(results) random_song = { "title": songs.song, "album": songs.album, "artist": songs.artist.lower(), "genre": g...
23.666667
60
0.622535
42
355
5.190476
0.452381
0.137615
0
0
0
0
0
0
0
0
0
0
0.247887
355
14
61
25.357143
0.816479
0
0
0
0
0
0.059155
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.307692
0.076923
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
0
1
0
f8ee134e47a471c9b912238f8dbcd8fb83c49b93
3,405
py
Python
libs/export_pbs/exportPb.py
linye931025/FPN_Tensorflow-master
e972496a798e9d77a74ddc6062d46b152d072ce7
[ "MIT" ]
null
null
null
libs/export_pbs/exportPb.py
linye931025/FPN_Tensorflow-master
e972496a798e9d77a74ddc6062d46b152d072ce7
[ "MIT" ]
null
null
null
libs/export_pbs/exportPb.py
linye931025/FPN_Tensorflow-master
e972496a798e9d77a74ddc6062d46b152d072ce7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, division import os, sys import tensorflow as tf import tf_slim as slim from tensorflow.python.tools import freeze_graph sys.path.append('../../') from data.io.image_preprocess import short_side_resize_for_inference_data from libs.configs...
38.693182
126
0.612335
426
3,405
4.553991
0.368545
0.041237
0.018557
0.018557
0.098969
0.059794
0.027835
0.027835
0
0
0
0.016393
0.283407
3,405
87
127
39.137931
0.778689
0.021733
0
0
0
0
0.090499
0.041792
0
0
0
0
0
1
0.032258
false
0
0.129032
0
0.177419
0.032258
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
0
1
0
f8eef0cd263627a15c156d8fca2fb80f3faea6c2
983
py
Python
ngadnap/command_templates/adapter_removal.py
smilefreak/NaDNAP
18354778dd896bc0ab3456ca7dbb9d194c1ebf4d
[ "MIT" ]
null
null
null
ngadnap/command_templates/adapter_removal.py
smilefreak/NaDNAP
18354778dd896bc0ab3456ca7dbb9d194c1ebf4d
[ "MIT" ]
null
null
null
ngadnap/command_templates/adapter_removal.py
smilefreak/NaDNAP
18354778dd896bc0ab3456ca7dbb9d194c1ebf4d
[ "MIT" ]
null
null
null
""" Adapter Removal templates """ # AdapterRemoval # # {0}: executable # {1}: fastq1 abs # {2}: fastq2 abs # {3}: fastq1 # {4}: fastq2 # {5}: minimum length # {6}: mismatch_rate # {7}: min base uality # {8}: min merge_length __ADAPTER_REMOVAL__=""" {0} --collapse --file1 {1} --file2 {2} --outputstats {3}....
31.709677
225
0.678535
128
983
5
0.539063
0.13125
0.040625
0
0
0
0
0
0
0
0
0.049818
0.162767
983
30
226
32.766667
0.727825
0.201424
0
0
0
0.090909
0.351245
0
0
0
0
0
0
1
0.090909
false
0
0.181818
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f8f15b0752a64958efc156868083500a63e94dc1
1,745
py
Python
undercloud_heat_plugins/immutable_resources.py
AllenJSebastian/tripleo-common
d510a30266e002e90c358e69cb720bfdfa736134
[ "Apache-2.0" ]
52
2015-04-17T12:06:09.000Z
2021-11-23T09:46:30.000Z
undercloud_heat_plugins/immutable_resources.py
AllenJSebastian/tripleo-common
d510a30266e002e90c358e69cb720bfdfa736134
[ "Apache-2.0" ]
null
null
null
undercloud_heat_plugins/immutable_resources.py
AllenJSebastian/tripleo-common
d510a30266e002e90c358e69cb720bfdfa736134
[ "Apache-2.0" ]
47
2015-10-09T15:22:38.000Z
2021-04-22T04:35:57.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 # ...
28.145161
78
0.696848
231
1,745
5.164502
0.411255
0.050293
0.063705
0.057837
0.253982
0.253982
0.253982
0.140821
0.140821
0.140821
0
0.002907
0.211461
1,745
61
79
28.606557
0.864099
0.384527
0
0.2
0
0
0.049666
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0.033333
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
0
0
0
0
1
0
f8f2378998282c62f5eff079407d0b48e7bea81d
2,154
py
Python
slybot/setup.py
DataKnower/dk-portia
24579c0160167af2442117975bf7d6a714b4d7d5
[ "BSD-3-Clause" ]
null
null
null
slybot/setup.py
DataKnower/dk-portia
24579c0160167af2442117975bf7d6a714b4d7d5
[ "BSD-3-Clause" ]
null
null
null
slybot/setup.py
DataKnower/dk-portia
24579c0160167af2442117975bf7d6a714b4d7d5
[ "BSD-3-Clause" ]
null
null
null
from os.path import join, abspath, dirname, exists from slybot import __version__ from setuptools import setup, find_packages from setuptools.command.bdist_egg import bdist_egg from setuptools.command.sdist import sdist def build_js(): root = abspath(dirname(__file__)) base_path = abspath(join(root, '..', 'sp...
29.916667
76
0.615135
245
2,154
5.216327
0.461224
0.043818
0.035211
0.029734
0.106416
0
0
0
0
0
0
0.002414
0.230734
2,154
71
77
30.338028
0.768859
0
0
0.068966
0
0
0.283658
0.037604
0
0
0
0
0
1
0.051724
false
0
0.086207
0
0.172414
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
0
0
1
0
f8f25149f3eefd3629cc486cf987c4d8a9a5bbb9
3,846
py
Python
yolov3.py
huhuhang/yolov3
6c254b3f453c394046381e1c00cb0908b8f97b3a
[ "MIT" ]
35
2018-10-12T06:33:09.000Z
2022-02-25T03:19:37.000Z
yolov3.py
huhuhang/yolov3
6c254b3f453c394046381e1c00cb0908b8f97b3a
[ "MIT" ]
1
2019-08-31T16:05:12.000Z
2020-01-05T15:34:54.000Z
yolov3.py
huhuhang/yolov3
6c254b3f453c394046381e1c00cb0908b8f97b3a
[ "MIT" ]
14
2018-12-10T22:48:51.000Z
2021-11-18T20:56:38.000Z
import torch import torch.nn as nn from .yolo_layer import * from .yolov3_base import * class Yolov3(Yolov3Base): def __init__(self, num_classes=80): super().__init__() self.backbone = Darknet([1,2,8,8,4]) anchors_per_region = 3 self.yolo_0_pre = Yolov3UpsamplePrep([512, 1...
38.079208
119
0.578783
556
3,846
3.748201
0.208633
0.06142
0.025912
0.043186
0.335893
0.296065
0.246161
0.196257
0.145873
0.145873
0
0.06742
0.263391
3,846
100
120
38.46
0.668196
0.026781
0
0.146667
0
0
0.006812
0
0
0
0
0
0
1
0.133333
false
0
0.053333
0.026667
0.306667
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
0
0
1
0
f8f43d95779ee26635e6e7c26bda70278bc13afd
3,915
py
Python
tests/queries/test_query.py
txf626/django
95bda03f2da15172cf342f13ba8a77c007b63fbb
[ "PSF-2.0", "BSD-3-Clause" ]
2
2019-02-28T12:38:32.000Z
2019-09-30T08:08:16.000Z
tests/queries/test_query.py
Scheldon/django
11a9017179812198a12a2fc19610262a549aa46e
[ "PSF-2.0", "BSD-3-Clause" ]
57
2018-10-08T12:37:30.000Z
2018-10-08T17:39:26.000Z
tests/queries/test_query.py
Scheldon/django
11a9017179812198a12a2fc19610262a549aa46e
[ "PSF-2.0", "BSD-3-Clause" ]
1
2021-06-21T07:51:09.000Z
2021-06-21T07:51:09.000Z
from datetime import datetime from django.core.exceptions import FieldError from django.db.models import CharField, F, Q from django.db.models.expressions import SimpleCol from django.db.models.fields.related_lookups import RelatedIsNull from django.db.models.functions import Lower from django.db.models.lookups import...
41.648936
81
0.696552
489
3,915
5.421268
0.186094
0.113165
0.107884
0.048284
0.523576
0.408148
0.397963
0.288948
0.288948
0.265937
0
0.006969
0.193614
3,915
93
82
42.096774
0.832753
0
0
0.325
0
0
0.034227
0
0
0
0
0
0.4
1
0.1
false
0
0.15
0
0.2625
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
0
0
1
0
f8f4457783432480005e18ff932b887d871f9663
16,356
py
Python
src/matrix_game/matrix_game.py
ewanlee/mackrl
6dd505aa09830f16c35a022f67e255db935c807e
[ "Apache-2.0" ]
26
2019-10-28T09:01:45.000Z
2021-09-20T08:56:12.000Z
src/matrix_game/matrix_game.py
ewanlee/mackrl
6dd505aa09830f16c35a022f67e255db935c807e
[ "Apache-2.0" ]
1
2020-07-25T06:50:05.000Z
2020-07-25T06:50:05.000Z
src/matrix_game/matrix_game.py
ewanlee/mackrl
6dd505aa09830f16c35a022f67e255db935c807e
[ "Apache-2.0" ]
6
2019-12-18T12:02:57.000Z
2021-03-03T13:15:47.000Z
# This notebook implements a proof-of-principle for # Multi-Agent Common Knowledge Reinforcement Learning (MACKRL) # The entire notebook can be executed online, no need to download anything # http://pytorch.org/ from itertools import chain import torch import torch.nn.functional as F from torch.multiprocessing import...
38.037209
145
0.547811
2,375
16,356
3.501895
0.151579
0.023807
0.027895
0.014068
0.481664
0.446916
0.406036
0.358783
0.33173
0.314056
0
0.039799
0.331744
16,356
430
146
38.037209
0.721134
0.119589
0
0.263804
0
0
0.024855
0
0
0
0
0
0
1
0.02454
false
0.015337
0.033742
0
0.088957
0.009202
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
0
1
0
f8f623d0cb63c4b268f633b3bf392a5401ce666a
2,962
py
Python
pr_consistency/2.find_pr_branches.py
adrn/astropy-tools
c26a5e4cdf8735976375dd2b77de797a7723bcd9
[ "BSD-3-Clause" ]
10
2018-02-24T15:06:39.000Z
2020-11-24T15:28:35.000Z
pr_consistency/2.find_pr_branches.py
adrn/astropy-tools
c26a5e4cdf8735976375dd2b77de797a7723bcd9
[ "BSD-3-Clause" ]
63
2018-01-22T20:12:47.000Z
2021-07-10T15:42:58.000Z
pr_consistency/2.find_pr_branches.py
adrn/astropy-tools
c26a5e4cdf8735976375dd2b77de797a7723bcd9
[ "BSD-3-Clause" ]
16
2018-02-25T16:32:51.000Z
2021-07-10T13:33:46.000Z
# The purpose of this script is to check all the maintenance branches of the # given repository, and find which pull requests are included in which # branches. The output is a JSON file that contains for each pull request the # list of all branches in which it is included. We look specifically for the # message "Merge ...
33.659091
102
0.686698
437
2,962
4.599542
0.366133
0.031343
0.029851
0.035821
0.025871
0.025871
0
0
0
0
0
0.001719
0.214382
2,962
87
103
34.045977
0.862054
0.310263
0
0.117647
0
0
0.248641
0.051409
0
0
0
0
0
1
0
false
0
0.176471
0
0.176471
0.098039
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
0
1
0
f8f63abc9f6d14490126b79f424fe99cf745e819
603
py
Python
agents/solo_q_agents/q_agent_test/aux.py
pedMatias/matias_hfo
6d88e1043a1455f5c1f6cc11b9380869772f4176
[ "MIT" ]
1
2021-06-03T20:03:50.000Z
2021-06-03T20:03:50.000Z
agents/solo_q_agents/q_agent_test/aux.py
pedMatias/matias_hfo
6d88e1043a1455f5c1f6cc11b9380869772f4176
[ "MIT" ]
null
null
null
agents/solo_q_agents/q_agent_test/aux.py
pedMatias/matias_hfo
6d88e1043a1455f5c1f6cc11b9380869772f4176
[ "MIT" ]
1
2021-03-14T01:22:33.000Z
2021-03-14T01:22:33.000Z
from datetime import datetime as dt import os import numpy as np import settings def mkdir(): now = dt.now().replace(second=0, microsecond=0) name_dir = "q_agent_train_" + now.strftime("%Y-%m-%d_%H:%M:%S") path = os.path.join(settings.MODELS_DIR, name_dir) try: os.mkdir(path) except File...
24.12
67
0.665008
94
603
4.074468
0.43617
0.073107
0.078329
0.109661
0.198433
0.198433
0.198433
0.198433
0.198433
0
0
0.006289
0.208955
603
24
68
25.125
0.796646
0
0
0.222222
0
0
0.054726
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.388889
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
0
0
1
0
f8f694a754b9e6ecfc7a48eb472c8ee96d237a42
278
py
Python
timeserio/utils/functools.py
ig248/timeserio
afc2a953a83e763418d417059493ef13a17d349c
[ "MIT" ]
63
2019-07-12T17:16:27.000Z
2022-02-22T11:06:50.000Z
timeserio/utils/functools.py
ig248/timeserio
afc2a953a83e763418d417059493ef13a17d349c
[ "MIT" ]
34
2019-07-30T11:52:09.000Z
2022-03-28T12:42:02.000Z
timeserio/utils/functools.py
ig248/timeserio
afc2a953a83e763418d417059493ef13a17d349c
[ "MIT" ]
12
2019-08-14T05:51:22.000Z
2021-03-15T09:34:15.000Z
import inspect def get_default_args(func): """Get default arguments of a function. """ signature = inspect.signature(func) return { k: v.default for k, v in signature.parameters.items() if v.default is not inspect.Parameter.empty }
21.384615
51
0.636691
36
278
4.861111
0.666667
0.114286
0
0
0
0
0
0
0
0
0
0
0.269784
278
12
52
23.166667
0.862069
0.129496
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.125
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
0
0
0
0
1
0
f8fa0708043799c2510940867111d04480ef484c
5,030
py
Python
explore/scripts/get_repos_creationhistory.py
john18/uccross.github.io
72cd88c7310ab1503467fba27add2338cf57d8f7
[ "MIT" ]
12
2019-03-02T06:42:37.000Z
2022-03-01T03:59:08.000Z
explore/scripts/get_repos_creationhistory.py
john18/uccross.github.io
72cd88c7310ab1503467fba27add2338cf57d8f7
[ "MIT" ]
6
2020-04-14T21:22:36.000Z
2022-01-19T23:41:35.000Z
explore/scripts/get_repos_creationhistory.py
john18/uccross.github.io
72cd88c7310ab1503467fba27add2338cf57d8f7
[ "MIT" ]
29
2017-11-08T19:39:20.000Z
2022-03-17T18:05:29.000Z
import helpers import json import re datfilepath = "../github-data/labRepos_CreationHistory.json" allData = {} # Check for and read existing data file allData = helpers.read_existing(datfilepath) # Read repo info data file (to use as repo list) dataObj = helpers.read_json("../github-data/labReposInfo.json") # Popul...
31.4375
110
0.695626
633
5,030
5.492891
0.248025
0.096635
0.08283
0.097785
0.432557
0.39258
0.368709
0.325568
0.295082
0.295082
0
0.005535
0.137972
5,030
159
111
31.63522
0.796356
0.132406
0
0.356436
0
0
0.310281
0.049101
0
0
0
0
0
1
0
false
0
0.029703
0
0.029703
0.267327
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
0
1
0
f8fb454d7a74c617f9f1467386eb93a2fe60e4db
341
py
Python
examples/test/runMe.py
tomaszjonak/PBL
738b95da52cd59dcacb0b9dc244ca1713b0264ac
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
examples/test/runMe.py
tomaszjonak/PBL
738b95da52cd59dcacb0b9dc244ca1713b0264ac
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
examples/test/runMe.py
tomaszjonak/PBL
738b95da52cd59dcacb0b9dc244ca1713b0264ac
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#! /usr/bin/env python2.7 from __future__ import print_function import sys sys.path.append("../../include") import PyBool_public_interface as Bool if __name__ == "__main__": expr = Bool.parse_std("input.txt") expr = expr["main_expr"] expr = Bool.simplify(expr) expr = Bool.nne(expr) print(Bo...
16.238095
38
0.683284
48
341
4.479167
0.604167
0.148837
0.111628
0
0
0
0
0
0
0
0
0.007117
0.175953
341
20
39
17.05
0.758007
0.070381
0
0
0
0
0.123418
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
0.2
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
0
1
0
f8fcc7a6b82e6b901e4e3c720b6e0e1f082a90c0
24,425
py
Python
calculator.py
rupen4678/botique_management_system
9b7807cc28bb15e024093d6161a8fef96ce7e291
[ "Apache-2.0" ]
null
null
null
calculator.py
rupen4678/botique_management_system
9b7807cc28bb15e024093d6161a8fef96ce7e291
[ "Apache-2.0" ]
null
null
null
calculator.py
rupen4678/botique_management_system
9b7807cc28bb15e024093d6161a8fef96ce7e291
[ "Apache-2.0" ]
null
null
null
from tkinter import * import random import time from PIL import Image from datetime import datetime from tinydb import * import os import pickle #from database1 import * from random import randint root = Tk() root.geometry("1600x800+0+0") root.title("Suman_dai_ko_DHOKAN") root.configure(bg="goldenrod4") text_Input =...
34.401408
155
0.600368
3,463
24,425
4.182501
0.148715
0.044118
0.031897
0.041425
0.384355
0.319387
0.25939
0.213339
0.184203
0.159279
0
0.036604
0.155537
24,425
709
156
34.449929
0.665616
0.154023
0
0.05303
0
0
0.148139
0
0
0
0
0
0
1
0.049242
false
0.022727
0.034091
0
0.090909
0.011364
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
0
1
0
f8feca35fdbbdb7ba2119b9d7d1e1e21456081ac
18,656
py
Python
mmdet/models/anchor_heads/embedding_nnms_head_v2_limited.py
Lanselott/mmdetection
03ce0a87f4d52f4adf4f78fd39ad30b2da394376
[ "Apache-2.0" ]
null
null
null
mmdet/models/anchor_heads/embedding_nnms_head_v2_limited.py
Lanselott/mmdetection
03ce0a87f4d52f4adf4f78fd39ad30b2da394376
[ "Apache-2.0" ]
null
null
null
mmdet/models/anchor_heads/embedding_nnms_head_v2_limited.py
Lanselott/mmdetection
03ce0a87f4d52f4adf4f78fd39ad30b2da394376
[ "Apache-2.0" ]
null
null
null
import torch import torch.nn as nn from mmcv.cnn import normal_init from mmdet.core import distance2bbox, force_fp32, multi_apply, multiclass_nms, bbox_overlaps from ..builder import build_loss from ..registry import HEADS from ..utils import ConvModule, Scale, bias_init_with_prob from IPython import embed INF = 1e8 ...
40.468547
125
0.572684
2,290
18,656
4.352838
0.134498
0.026184
0.012841
0.007725
0.25632
0.191413
0.147873
0.10945
0.070526
0.063102
0
0.019415
0.340159
18,656
460
126
40.556522
0.790333
0.081904
0
0.132597
0
0
0.005063
0
0
0
0
0.002174
0.013812
1
0.033149
false
0
0.022099
0.002762
0.085635
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
0
0
1
0
f8ffdfd391593d89205af0a89c79433669635ec2
471
py
Python
plotly_basic_plots/line_chart2.py
HarishOsthe/Plotly_Dash_Practice_Codes
ca709509d27803a4d727b3986d4473cdd71a41a6
[ "MIT" ]
null
null
null
plotly_basic_plots/line_chart2.py
HarishOsthe/Plotly_Dash_Practice_Codes
ca709509d27803a4d727b3986d4473cdd71a41a6
[ "MIT" ]
null
null
null
plotly_basic_plots/line_chart2.py
HarishOsthe/Plotly_Dash_Practice_Codes
ca709509d27803a4d727b3986d4473cdd71a41a6
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import plotly.offline as pyo import plotly.graph_objs as go df= pd.read_csv("Data/nst-est2017-alldata.csv") df2=df[df["DIVISION"] == '1'] df2.set_index("NAME",inplace=True) list_of_pop_col=[col for col in df2.columns if col.startswith('POP')] df2=df2[list_of_pop_col] data=[go....
24.789474
69
0.66879
81
471
3.777778
0.530864
0.078431
0.058824
0.078431
0
0
0
0
0
0
0
0.034211
0.193206
471
19
70
24.789474
0.771053
0
0
0
0
0
0.103814
0.059322
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
0
0
1
0
f8fff1c2d03cf1ef4aae436dd124c9505b06ab95
21,993
py
Python
tests/test_markup.py
samdoran/sphinx
4c91c038b220d07bbdfe0c1680af42fe897f342c
[ "BSD-2-Clause" ]
4,973
2015-01-03T15:44:00.000Z
2022-03-31T03:11:51.000Z
tests/test_markup.py
samdoran/sphinx
4c91c038b220d07bbdfe0c1680af42fe897f342c
[ "BSD-2-Clause" ]
7,850
2015-01-02T08:09:25.000Z
2022-03-31T18:57:40.000Z
tests/test_markup.py
samdoran/sphinx
4c91c038b220d07bbdfe0c1680af42fe897f342c
[ "BSD-2-Clause" ]
2,179
2015-01-03T15:26:53.000Z
2022-03-31T12:22:44.000Z
""" test_markup ~~~~~~~~~~~ Test various Sphinx-specific markup extensions. :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. """ import re import pytest from docutils import frontend, nodes, utils from docutils.parsers.rst import Parser as ...
35.702922
111
0.60592
2,520
21,993
5.190476
0.152381
0.042813
0.048089
0.050917
0.544878
0.505657
0.457416
0.408333
0.376529
0.34159
0
0.016342
0.223708
21,993
615
112
35.760976
0.749429
0.060428
0
0.397119
0
0.030864
0.324364
0.12279
0
0
0
0
0.146091
1
0.061728
false
0.00823
0.028807
0.002058
0.119342
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
0
0
1
0