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
29f348ce2221e92c79d25e0d2151332aec4f637c
1,100
py
Python
memoro/wsgi.py
bbengfort/memorandi
4591d26c097513d67e11916583ed043e78e87816
[ "MIT" ]
null
null
null
memoro/wsgi.py
bbengfort/memorandi
4591d26c097513d67e11916583ed043e78e87816
[ "MIT" ]
18
2020-12-02T16:37:21.000Z
2021-09-22T19:40:37.000Z
memoro/wsgi.py
bbengfort/memorandi
4591d26c097513d67e11916583ed043e78e87816
[ "MIT" ]
null
null
null
# memoro.wsgi # WSGI config for memoro project. # # Author: Benjamin Bengfort <benjamin@bengfort.com> # Created: Sat Nov 28 13:44:01 2020 -0500 # # Copyright (C) 2020 Bengfort.com # For license information, see LICENSE # # ID: wsgi.py [] benjamin@bengfort.com $ """ WSGI config for memoro project. It exposes the W...
28.205128
78
0.555455
113
1,100
5.318584
0.575221
0.079867
0.043261
0.063228
0.086522
0
0
0
0
0
0
0.022222
0.1
1,100
38
79
28.947368
0.584848
0.464545
0
0
0
0
0.180812
0.180812
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
29f40d1447bb8284816ad9a4024cc926058b38fe
29,679
py
Python
serialized_data_converter.py
facelessuser/SerializedDataConverter
6cd0d59ae6cda98208e60e9c729d0eb047fe93db
[ "MIT" ]
19
2015-02-13T08:16:32.000Z
2021-07-31T02:55:39.000Z
serialized_data_converter.py
facelessuser/SerializedDataConverter
6cd0d59ae6cda98208e60e9c729d0eb047fe93db
[ "MIT" ]
9
2015-03-10T15:34:08.000Z
2019-11-18T01:57:20.000Z
serialized_data_converter.py
facelessuser/SerializedDataConverter
6cd0d59ae6cda98208e60e9c729d0eb047fe93db
[ "MIT" ]
4
2015-10-01T16:04:52.000Z
2019-10-27T00:53:36.000Z
""" Serialized Data Converter. Licensed under MIT Copyright (c) 2012 - 2015 Isaac Muse <isaacmuse@gmail.com> """ import sublime import sublime_plugin import codecs import re import traceback import os from SerializedDataConverter.lib.log import error_msg from SerializedDataConverter.lib import plist_includes as plist ...
36.371324
117
0.553253
3,364
29,679
4.749405
0.0761
0.023409
0.030982
0.019153
0.750955
0.722852
0.675033
0.642987
0.62615
0.601364
0
0.004264
0.344183
29,679
815
118
36.415951
0.816584
0.125375
0
0.724258
0
0
0.152553
0.035821
0
0
0
0
0
1
0.064572
false
0
0.017452
0
0.17452
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
29f5d029a675792751ff0f3ac8e9946cca353e7b
1,592
py
Python
test.py
SirNate0/PYrho3D
b0daa3badccd12adfcb9e7cf50d554c805cc6279
[ "MIT" ]
6
2020-02-20T07:42:07.000Z
2021-03-27T13:26:47.000Z
test.py
SirNate0/PYrho3D
b0daa3badccd12adfcb9e7cf50d554c805cc6279
[ "MIT" ]
null
null
null
test.py
SirNate0/PYrho3D
b0daa3badccd12adfcb9e7cf50d554c805cc6279
[ "MIT" ]
null
null
null
#!/usr/bin/env python2.7 import urho v = urho.Vector3() c = urho.Context() fs = urho.FileSystem(c) from urho import StringHash as sh import os print (os.getcwd()) class App(urho.Application): #def __init__(self, name): # Dog.__init__(self) # Without this, undefind behavior may occur if the C++ portions a...
24.875
107
0.66206
188
1,592
5.521277
0.5
0.081888
0.021195
0.05973
0.075145
0.075145
0
0
0
0
0
0.006304
0.202889
1,592
63
108
25.269841
0.811663
0.278266
0
0.060606
0
0
0.185349
0.046778
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
29f6bfc61051a4c8d3929a3bb610dca313e55859
7,696
py
Python
ajustes_UM/tesis/tesis/settings.py
abelgonzalez/ajustes
f6f99aea18cfb82750805321abfc822d8a6ec5ed
[ "MIT" ]
1
2015-03-04T13:04:33.000Z
2015-03-04T13:04:33.000Z
ajustes_UM/tesis/tesis/settings.py
abelgonzalez/ajustes
f6f99aea18cfb82750805321abfc822d8a6ec5ed
[ "MIT" ]
null
null
null
ajustes_UM/tesis/tesis/settings.py
abelgonzalez/ajustes
f6f99aea18cfb82750805321abfc822d8a6ec5ed
[ "MIT" ]
null
null
null
""" Django settings for tesis project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # -*- coding: utf-8 -*- # A tuple that lists people who get code error notifi...
34.204444
120
0.721674
1,045
7,696
5.226794
0.394258
0.015379
0.016477
0.024167
0.145002
0.100513
0.067192
0.039912
0.025998
0.011351
0
0.007677
0.170608
7,696
225
121
34.204444
0.848034
0.594335
0
0.020408
0
0.010204
0.401448
0.246134
0
0
0
0
0
1
0
false
0
0.030612
0
0.030612
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
29f700b90ab2377c8ba15763c3022ce5834a7f4f
4,445
py
Python
python/fe3lmaker/s3-driver.py
flarebyte/wonderful-bazar
810514cd7d73505b11d738f8b84d91842d18d074
[ "MIT" ]
null
null
null
python/fe3lmaker/s3-driver.py
flarebyte/wonderful-bazar
810514cd7d73505b11d738f8b84d91842d18d074
[ "MIT" ]
null
null
null
python/fe3lmaker/s3-driver.py
flarebyte/wonderful-bazar
810514cd7d73505b11d738f8b84d91842d18d074
[ "MIT" ]
null
null
null
#!/usr/bin/env python # This software code is made available "AS IS" without warranties of any # kind. You may copy, display, modify and redistribute the software # code either by itself or as incorporated into your code; provided that # you do not remove any proprietary notices. Your use of this software # cod...
37.352941
142
0.730259
673
4,445
4.710253
0.322437
0.063091
0.036909
0.048265
0.399054
0.376341
0.344164
0.215457
0.195268
0.195268
0
0.007922
0.148032
4,445
118
143
37.669492
0.829152
0.277165
0
0.30137
0
0.013699
0.396427
0.007521
0
0
0
0
0
0
null
null
0
0.041096
null
null
0.589041
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
2
29f709dd701c60c4489620b7e5b46e5aca1a0daf
7,468
py
Python
code/lib/models/FCRN_depth.py
santomon/taskonomy
4b22087a2686172b21b61589831061e7a386fe36
[ "MIT" ]
789
2018-03-21T05:28:38.000Z
2022-03-29T19:32:47.000Z
code/lib/models/FCRN_depth.py
santomon/taskonomy
4b22087a2686172b21b61589831061e7a386fe36
[ "MIT" ]
46
2018-05-03T07:11:10.000Z
2022-03-11T23:26:03.000Z
code/lib/models/FCRN_depth.py
santomon/taskonomy
4b22087a2686172b21b61589831061e7a386fe36
[ "MIT" ]
152
2018-03-24T10:20:44.000Z
2022-02-09T02:38:10.000Z
from __future__ import absolute_import, division, print_function from models.base_net import BaseNet import losses.all as losses_lib import tensorflow as tf import tensorflow.contrib.slim as slim import numpy as np import pdb import optimizers.train_steps as train_steps import optimizers.ops as optimize from functo...
38.494845
152
0.622657
920
7,468
4.827174
0.245652
0.024769
0.014636
0.012159
0.094348
0.061923
0.047512
0.047512
0.047512
0.047512
0
0.009542
0.29834
7,468
193
153
38.694301
0.837977
0.301285
0
0.121212
0
0
0.071488
0
0
0
0
0
0
1
0.080808
false
0
0.121212
0
0.272727
0.030303
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
29f82c973044d39870f0f41f75666b3782377f54
13,459
py
Python
tests/test_handler.py
Tas-Kit/platform
34e1abb3f85b9649cbf18496333bf35f74aa6e3d
[ "Apache-2.0" ]
null
null
null
tests/test_handler.py
Tas-Kit/platform
34e1abb3f85b9649cbf18496333bf35f74aa6e3d
[ "Apache-2.0" ]
null
null
null
tests/test_handler.py
Tas-Kit/platform
34e1abb3f85b9649cbf18496333bf35f74aa6e3d
[ "Apache-2.0" ]
null
null
null
# trigger build import json import uuid import pytest from mock import MagicMock, patch from src import handler, db from src.models import User, MiniApp, TObject from src.constants import ROLE from werkzeug.exceptions import BadRequest @patch('src.db.push', side_effect=Exception) def test_execute_obj_post_exception(m...
31.155093
141
0.666691
1,762
13,459
4.729285
0.093644
0.037442
0.051482
0.043202
0.602184
0.529941
0.478219
0.436217
0.388576
0.343094
0
0.017786
0.197934
13,459
431
142
31.227378
0.754145
0.000966
0
0.434667
0
0.002667
0.136641
0.04039
0
0
0
0
0.125333
1
0.085333
false
0
0.021333
0.008
0.117333
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
29f8d1a4f8b0cea46b5286a6c9367ca7d6ae25dc
579
py
Python
ersilia/utils/identifiers/long.py
ersilia-os/ersilia
eded117d6c7029ce4a497effdb514c21edfe3673
[ "MIT" ]
32
2020-07-30T20:31:05.000Z
2022-03-31T17:27:14.000Z
ersilia/utils/identifiers/long.py
ersilia-os/ersilia
eded117d6c7029ce4a497effdb514c21edfe3673
[ "MIT" ]
59
2022-03-21T10:00:04.000Z
2022-03-31T23:03:14.000Z
ersilia/utils/identifiers/long.py
ersilia-os/ersilia
eded117d6c7029ce4a497effdb514c21edfe3673
[ "MIT" ]
44
2022-03-17T13:11:07.000Z
2022-03-31T19:44:16.000Z
try: import uuid except ModuleNotFoundError as err: uuid = None ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890" PATTERN = [8, 4, 4, 4, 12] SEP = "-" class LongIdentifier(object): def __init__(self): super().__init__() @staticmethod def encode(): """Get UUID code (long identifie...
23.16
75
0.56304
62
579
5.112903
0.693548
0.07571
0
0
0
0
0
0
0
0
0
0.0425
0.309154
579
24
76
24.125
0.75
0.053541
0
0
0
0
0.070111
0.066421
0
0
0
0
0
1
0.105263
false
0
0.052632
0
0.315789
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
29f8e7164c007819cd3fd8ace5f9b2b1776fa29b
19,622
py
Python
client/buck_project_builder/tests/builder_test.py
aspin/pyre-check
fe78b41789ba3ef091b0b021d9a1c6267905a7f8
[ "MIT" ]
null
null
null
client/buck_project_builder/tests/builder_test.py
aspin/pyre-check
fe78b41789ba3ef091b0b021d9a1c6267905a7f8
[ "MIT" ]
null
null
null
client/buck_project_builder/tests/builder_test.py
aspin/pyre-check
fe78b41789ba3ef091b0b021d9a1c6267905a7f8
[ "MIT" ]
null
null
null
# Copyright (c) 2019-present, Facebook, Inc. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import glob import unittest from typing import List, Optional from unittest.mock import MagicMock, patch from .. import BuilderException, FastBuckB...
37.590038
88
0.505045
1,770
19,622
5.358192
0.075706
0.050295
0.048714
0.066428
0.767609
0.737453
0.702657
0.6686
0.620413
0.569907
0
0.014753
0.350576
19,622
521
89
37.662188
0.729499
0.030017
0
0.509479
0
0
0.183618
0.052064
0
0
0
0
0.116114
1
0.030806
false
0
0.018957
0
0.052133
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
29f94d2b334b89e0c508fee4d9e22209246bc128
5,970
py
Python
api/user.py
gfoo/fastapi-demo
44ceb9e94fa833841756136c3b446f192a311dde
[ "Unlicense" ]
null
null
null
api/user.py
gfoo/fastapi-demo
44ceb9e94fa833841756136c3b446f192a311dde
[ "Unlicense" ]
null
null
null
api/user.py
gfoo/fastapi-demo
44ceb9e94fa833841756136c3b446f192a311dde
[ "Unlicense" ]
null
null
null
from time import time from typing import List from core.security import verify_password from db import users as DBUsers from fastapi import APIRouter, Depends, HTTPException, status from fastapi.responses import JSONResponse from models.user import DBUser from schemas.user import (UserCreate, UserUpdateActivate, UserU...
36.402439
109
0.701675
786
5,970
5.043257
0.132316
0.05449
0.030272
0.036327
0.658426
0.640767
0.614026
0.591322
0.566095
0.566095
0
0.007781
0.203518
5,970
163
110
36.625767
0.825868
0.064322
0
0.486486
0
0
0.070092
0.004587
0
0
0
0
0
1
0.081081
false
0.153153
0.09009
0
0.261261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
29f9eab4a69842a784121a1073e07bcadc752ced
3,265
py
Python
Realsense2CV.py
felix2072/pytorch-CycleGAN-and-pix2pix
4980106ceab5e1eb7bb20c2b492d007b6310d9e1
[ "BSD-3-Clause" ]
null
null
null
Realsense2CV.py
felix2072/pytorch-CycleGAN-and-pix2pix
4980106ceab5e1eb7bb20c2b492d007b6310d9e1
[ "BSD-3-Clause" ]
null
null
null
Realsense2CV.py
felix2072/pytorch-CycleGAN-and-pix2pix
4980106ceab5e1eb7bb20c2b492d007b6310d9e1
[ "BSD-3-Clause" ]
null
null
null
## License: Apache 2.0. See LICENSE file in root directory. ## Copyright(c) 2015-2017 Intel Corporation. All Rights Reserved. ############################################### ## Open CV and Numpy integration ## ############################################### import pyrealsense2 as rs import numpy a...
34.368421
109
0.644717
440
3,265
4.625
0.397727
0.044226
0.025061
0.029484
0.043243
0.030467
0
0
0
0
0
0.049921
0.226953
3,265
94
110
34.734043
0.756339
0.280551
0
0
0
0
0.020609
0
0
0
0
0
0
1
0.018868
false
0
0.056604
0
0.09434
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
29faa4ea69ec98280ad24b2003914856eee015a8
12,800
py
Python
governor/postgresql.py
billcap/governor
0056ec15d973d24f36688783b415fe894ca94db7
[ "MIT" ]
null
null
null
governor/postgresql.py
billcap/governor
0056ec15d973d24f36688783b415fe894ca94db7
[ "MIT" ]
null
null
null
governor/postgresql.py
billcap/governor
0056ec15d973d24f36688783b415fe894ca94db7
[ "MIT" ]
null
null
null
import logging import os import psycopg2 import time import shlex import subprocess import shutil import threading from urllib.parse import urlparse logger = logging.getLogger(__name__) class Postgresql: CONN_OPTIONS = { 'connect_timeout': 3, 'options': '-c statement_timeout=2000', } ...
33.952255
114
0.563984
1,485
12,800
4.701684
0.186532
0.03151
0.01733
0.006875
0.171584
0.097393
0.070753
0.041249
0.041249
0.03065
0
0.007933
0.320469
12,800
376
115
34.042553
0.79478
0.008828
0
0.168285
0
0
0.126962
0.020503
0
0
0
0
0
1
0.126214
false
0.061489
0.029126
0.016181
0.288026
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
29fbb43e9c43f01cd5a84414b7fa4416473edd33
566
py
Python
main.py
Benrflanders/Genetic-Algorithm-Function-Solver
7234aed5478d0701f0f8ce342116ac154aa40ba1
[ "MIT" ]
null
null
null
main.py
Benrflanders/Genetic-Algorithm-Function-Solver
7234aed5478d0701f0f8ce342116ac154aa40ba1
[ "MIT" ]
null
null
null
main.py
Benrflanders/Genetic-Algorithm-Function-Solver
7234aed5478d0701f0f8ce342116ac154aa40ba1
[ "MIT" ]
null
null
null
import genetic_algorithm #where the population will be processed and the main loop is contained #initialise population with random candidate solutions print("Enter a function to be solved: \n") fitness_function = [1780, 17, -2] #n = ax + by #function: [n, a, b] ga = genetic_algorithm.genetic_algorithm(fitness_func...
21.769231
70
0.780919
79
566
5.531646
0.734177
0.10984
0
0
0
0
0
0
0
0
0
0.014553
0.150177
566
25
71
22.64
0.893971
0.65371
0
0
0
0
0.180328
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
29fda9d9b2256b8b4efc118aa8ea61e7cbc1a09c
264
py
Python
thirdparty/flask/template/macro_demo.py
gwaysoft/python
a74a0b553dfca9606083a41ab6d03801e67d2467
[ "Apache-2.0" ]
null
null
null
thirdparty/flask/template/macro_demo.py
gwaysoft/python
a74a0b553dfca9606083a41ab6d03801e67d2467
[ "Apache-2.0" ]
null
null
null
thirdparty/flask/template/macro_demo.py
gwaysoft/python
a74a0b553dfca9606083a41ab6d03801e67d2467
[ "Apache-2.0" ]
null
null
null
from flask import Flask, render_template app = Flask(__name__) @app.route("/") def index(): return render_template("macro.html", type="text", value="from endpoint") if __name__ == '__main__': print(app.url_map) app.run(debug=True, host="0.0.0.0")
18.857143
76
0.674242
39
264
4.179487
0.692308
0.03681
0.03681
0
0
0
0
0
0
0
0
0.017857
0.151515
264
13
77
20.307692
0.709821
0
0
0
0
0
0.162879
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
0.375
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
1
0
0
0
1
29fdda258cbe5d54b3217108b57775e883bf274f
549
py
Python
fishpass/migrations/0004_auto_20180925_1825.py
Ecotrust/FishPass
a69a4f9de46f28653ae92ef33c1e5cf7036cfb37
[ "MIT" ]
3
2019-03-01T04:00:21.000Z
2022-02-10T22:17:20.000Z
fishpass/migrations/0004_auto_20180925_1825.py
Ecotrust/FishPass
a69a4f9de46f28653ae92ef33c1e5cf7036cfb37
[ "MIT" ]
165
2018-04-13T18:24:39.000Z
2022-03-02T03:27:33.000Z
fishpass/migrations/0004_auto_20180925_1825.py
Ecotrust/FishPass
a69a4f9de46f28653ae92ef33c1e5cf7036cfb37
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-09-26 01:25 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('fishpass', '0003_auto_20180925_1825'), ] operatio...
24.954545
106
0.657559
63
549
5.555556
0.714286
0.068571
0.08
0.125714
0
0
0
0
0
0
0
0.079812
0.224044
549
21
107
26.142857
0.741784
0.125683
0
0
1
0
0.142558
0.048218
0
0
0
0
0
1
0
false
0.142857
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
29fded4c87d470f4257846244ccbee2b48588393
8,956
py
Python
backend/account/migrations/0001_initial.py
CS178A-B/final-project-bjls
aebb8042f2d958caac00e31b27b445b9079901d0
[ "MIT" ]
null
null
null
backend/account/migrations/0001_initial.py
CS178A-B/final-project-bjls
aebb8042f2d958caac00e31b27b445b9079901d0
[ "MIT" ]
20
2020-10-21T19:16:15.000Z
2021-09-03T05:48:20.000Z
backend/account/migrations/0001_initial.py
CS178A-B/R-Finder
aebb8042f2d958caac00e31b27b445b9079901d0
[ "MIT" ]
1
2020-10-22T04:49:45.000Z
2020-10-22T04:49:45.000Z
# Generated by Django 2.2.13 on 2021-03-10 21:33 import account.models import datetime from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migr...
50.03352
329
0.61054
924
8,956
5.786797
0.214286
0.049373
0.035908
0.061717
0.602581
0.580886
0.500655
0.441743
0.421545
0.404526
0
0.013874
0.251563
8,956
178
330
50.314607
0.783828
0.005136
0
0.490566
1
0
0.186932
0.007971
0
0
0
0
0
1
0
false
0.006289
0.050314
0
0.075472
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
29ffd5d34e2555908d5acb7cecdc5aad3a6e87bc
1,983
py
Python
src/predictionAlgorithms/machineLearning/training/convolutionalLstm.py
aivaras-ciurlionis/meteo
434759d16f7cca505d280475611d1fef5176827b
[ "MIT" ]
null
null
null
src/predictionAlgorithms/machineLearning/training/convolutionalLstm.py
aivaras-ciurlionis/meteo
434759d16f7cca505d280475611d1fef5176827b
[ "MIT" ]
6
2020-05-23T11:30:48.000Z
2022-03-11T23:45:06.000Z
src/predictionAlgorithms/machineLearning/training/convolutionalLstm.py
aivaras-ciurlionis/meteo
434759d16f7cca505d280475611d1fef5176827b
[ "MIT" ]
null
null
null
import tensorflow from PIL import Image from keras.models import Sequential from keras.layers import Conv2D, Conv2DTranspose, ConvLSTM2D from keras.optimizers import SGD import numpy as np import os from keras import backend as K from src.predictionAlgorithms.machineLearning.algorithms.ConvLSTM import ConvLstm from sr...
34.189655
104
0.611699
192
1,983
6.197917
0.479167
0.030252
0.068067
0.105882
0.087395
0
0
0
0
0
0
0.027536
0.304085
1,983
58
105
34.189655
0.834783
0.020171
0
0.156863
0
0
0.030381
0
0
0
0
0
0
1
0.019608
false
0
0.235294
0
0.27451
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
4b00cec2aa25b2e4c87f0a86c86662d5e0d2edb1
1,927
py
Python
batchtest.py
nachewigkeit/CropDefender
e78fc48f720367ca94033f6263eb1e4a9c6b7858
[ "MIT" ]
2
2021-10-14T08:14:15.000Z
2021-12-01T05:57:49.000Z
batchtest.py
nachewigkeit/CropDefender
e78fc48f720367ca94033f6263eb1e4a9c6b7858
[ "MIT" ]
null
null
null
batchtest.py
nachewigkeit/CropDefender
e78fc48f720367ca94033f6263eb1e4a9c6b7858
[ "MIT" ]
1
2021-12-01T05:57:53.000Z
2021-12-01T05:57:53.000Z
import bchlib from PIL import Image, ImageOps import numpy as np import glob from tqdm import tqdm import torch import matplotlib.pyplot as plt from model import StegaStampDecoder BCH_POLYNOMIAL = 137 BCH_BITS = 5 def get_bits(secret="MITPBL"): # 输入字符串,输出BCH码 bch = bchlib.BCH(BCH_POLYNOMIAL, BCH_BITS) da...
24.705128
79
0.63259
261
1,927
4.544061
0.448276
0.040472
0.026981
0.035413
0.040472
0
0
0
0
0
0
0.028513
0.235599
1,927
77
80
25.025974
0.776646
0.043072
0
0.036364
0
0
0.044589
0.027189
0
0
0
0
0
1
0.072727
false
0
0.145455
0
0.290909
0.018182
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
4b065798f8f3175be2995f3dc86fae9e7dc987b7
1,249
py
Python
tests/ozpcenter_model_access/test_contact_type.py
emosher/ozp-backend
d31d00bb8a28a8d0c999813f616b398f41516244
[ "Apache-2.0" ]
1
2018-10-05T17:03:01.000Z
2018-10-05T17:03:01.000Z
tests/ozpcenter_model_access/test_contact_type.py
emosher/ozp-backend
d31d00bb8a28a8d0c999813f616b398f41516244
[ "Apache-2.0" ]
1
2017-01-06T19:20:32.000Z
2017-01-06T19:20:32.000Z
tests/ozpcenter_model_access/test_contact_type.py
emosher/ozp-backend
d31d00bb8a28a8d0c999813f616b398f41516244
[ "Apache-2.0" ]
7
2016-12-16T15:42:05.000Z
2020-09-05T01:11:27.000Z
import pytest from django.test import TestCase from django.test import override_settings import ozpcenter.api.contact_type.model_access as model_access from ozpcenter.models import ContactType from tests.cases.factories import ContactTypeFactory @pytest.mark.model_access @override_settings(ES_ENABLED=False) class Co...
30.463415
83
0.767814
164
1,249
5.457317
0.365854
0.110615
0.093855
0.107263
0.236872
0.236872
0.236872
0.172067
0.172067
0
0
0.001905
0.159327
1,249
40
84
31.225
0.850476
0
0
0
0
0
0.020817
0
0
0
0
0
0.148148
1
0.222222
false
0.037037
0.222222
0
0.481481
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4b070ef3534dcec1b94204596a275dcc71c8d799
428
py
Python
examples/echobot.py
samedamci/telegrask
8cd0d7663e3a7386784396462f66c176bc6543c5
[ "0BSD" ]
4
2021-08-19T19:17:17.000Z
2021-10-12T19:25:59.000Z
examples/echobot.py
samedamci/telegrask
8cd0d7663e3a7386784396462f66c176bc6543c5
[ "0BSD" ]
null
null
null
examples/echobot.py
samedamci/telegrask
8cd0d7663e3a7386784396462f66c176bc6543c5
[ "0BSD" ]
1
2021-08-31T10:49:34.000Z
2021-08-31T10:49:34.000Z
#!/usr/bin/python3 """Simple bot to reply exactly the same what user sent to chat.""" # This program is dedicated to the public domain under the CC0 license. from telegrask import Telegrask bot = Telegrask("BOT_TOKEN") @bot.command("echo", help="repeat user words", allow_without_prefix=True) def echo(update, contex...
25.176471
73
0.740654
64
428
4.765625
0.71875
0.078689
0
0
0
0
0
0
0
0
0
0.00545
0.142523
428
16
74
26.75
0.825613
0.345794
0
0
0
0
0.139194
0
0
0
0
0
0
1
0.142857
false
0
0.142857
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
4b07a5e3542e7f446d97c19101d6130c567a06f9
2,238
py
Python
lib/emailsmtp/models.py
hdknr/emailqueue
05e108562f4fb612440f769973b9a3d02c11afcd
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
lib/emailsmtp/models.py
hdknr/emailqueue
05e108562f4fb612440f769973b9a3d02c11afcd
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
lib/emailsmtp/models.py
hdknr/emailqueue
05e108562f4fb612440f769973b9a3d02c11afcd
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
from django.db import models from django.utils.translation import ugettext_lazy as _ from emailqueue.models import BaseModel class Domain(BaseModel): '''Domain: - used for :ref:`postfix.relay_domains`, :ref:`postfix.transport_maps` ''' domain = models.CharField( _('Domain'), max_length=50, u...
29.84
76
0.636282
266
2,238
5.101504
0.300752
0.040531
0.017686
0.025055
0.149595
0.117907
0.117907
0.072218
0.072218
0.072218
0
0.009971
0.238159
2,238
74
77
30.243243
0.785924
0.058088
0
0.12766
0
0
0.069657
0
0
0
0
0
0
1
0.085106
false
0
0.06383
0.042553
0.468085
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
4b096109d1a756991d2981702ec6615bda617d75
3,314
py
Python
emoji-list.unicode.crawler.py
SHITianhao/emoji-dataset
41812649f518f69472722c56d4aa77faeb9bbe8a
[ "MIT" ]
2
2017-12-19T06:44:59.000Z
2020-01-17T20:06:53.000Z
emoji-list.unicode.crawler.py
SHITianhao/emoji-dataset
41812649f518f69472722c56d4aa77faeb9bbe8a
[ "MIT" ]
null
null
null
emoji-list.unicode.crawler.py
SHITianhao/emoji-dataset
41812649f518f69472722c56d4aa77faeb9bbe8a
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """This module is used to crawler emoji unicode from http://www.unicode.org/ """ import urllib import json import base64 import os from bs4 import BeautifulSoup __EMOJI_V4_URL = "http://www.unicode.org/emoji/charts/emoji-list.html" __EMOJI_V5_URL = "http://www.unicode.org/...
28.568966
84
0.60169
436
3,314
4.284404
0.302752
0.010707
0.022484
0.027302
0.033191
0.033191
0.033191
0
0
0
0
0.017348
0.269463
3,314
115
85
28.817391
0.754234
0.032589
0
0.022989
0
0
0.122189
0
0
0
0
0
0
0
null
null
0
0.057471
null
null
0.068966
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4b0bae7ae91cfcfff2eabb361271fc8c258445e7
1,628
py
Python
venv/Lib/site-packages/traits/tests/test_constant.py
richung99/digitizePlots
6b408c820660a415a289726e3223e8f558d3e18b
[ "MIT" ]
1
2022-01-18T17:56:51.000Z
2022-01-18T17:56:51.000Z
venv/Lib/site-packages/traits/tests/test_constant.py
richung99/digitizePlots
6b408c820660a415a289726e3223e8f558d3e18b
[ "MIT" ]
null
null
null
venv/Lib/site-packages/traits/tests/test_constant.py
richung99/digitizePlots
6b408c820660a415a289726e3223e8f558d3e18b
[ "MIT" ]
null
null
null
# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in LICENSE.txt and may be redistributed only under # the conditions described in the aforementioned license. The license # is also available online at...
29.6
71
0.625307
232
1,628
4.241379
0.362069
0.060976
0.042683
0.109756
0.429878
0.367886
0.367886
0.367886
0.262195
0.262195
0
0.044371
0.252457
1,628
54
72
30.148148
0.764174
0.238329
0
0.466667
0
0
0.00813
0
0
0
0
0
0.233333
1
0.133333
false
0
0.066667
0
0.366667
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
4b0c74252519e1d0763eeba5100d8c404e0ec79d
5,072
py
Python
midap_simulator/packet_manager.py
cap-lab/MidapSim
4f92a9f9413c29d7e1f37e863cce90ebdde8b420
[ "MIT" ]
2
2021-03-28T16:19:06.000Z
2022-02-26T08:58:33.000Z
midap_simulator/packet_manager.py
cap-lab/MidapSim
4f92a9f9413c29d7e1f37e863cce90ebdde8b420
[ "MIT" ]
null
null
null
midap_simulator/packet_manager.py
cap-lab/MidapSim
4f92a9f9413c29d7e1f37e863cce90ebdde8b420
[ "MIT" ]
1
2021-02-22T08:44:20.000Z
2021-02-22T08:44:20.000Z
import mmap import numpy as np from time import sleep import os class PacketManager(object): buf_size = 0x1000 packet_size = 2072 #typedef struct _Packet{ # PacketType type; # uint32_t size; # uint64_t cycle; # uint32_t address; # uint8_t data[8]; # uint32_t flags; ...
33.813333
134
0.589708
634
5,072
4.580442
0.20347
0.034091
0.049242
0.052686
0.386364
0.32989
0.290634
0.278926
0.211777
0.198003
0
0.028841
0.268533
5,072
149
135
34.040268
0.753908
0.144322
0
0.225806
0
0
0.038666
0
0
0
0.002084
0
0
1
0.11828
false
0
0.043011
0
0.27957
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
4b0d7a34a5dad916ea34157afa0ac2b56a26899d
119
py
Python
optimizers/__init__.py
Leo-xxx/NeuronBlocks
4ddbdc625ccec15337df3cbf85e73ed25a117989
[ "MIT" ]
1,257
2019-05-06T21:25:16.000Z
2022-03-19T11:06:49.000Z
optimizers/__init__.py
heavenAsk/NeuronBlocks
9b08bb8ac7ceca874c8f2541d610bc8d3278fb22
[ "MIT" ]
37
2019-05-07T00:16:13.000Z
2021-12-31T11:55:44.000Z
optimizers/__init__.py
heavenAsk/NeuronBlocks
9b08bb8ac7ceca874c8f2541d610bc8d3278fb22
[ "MIT" ]
186
2019-05-07T00:36:40.000Z
2022-02-28T20:47:19.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT license. from torch.optim import *
39.666667
59
0.781513
16
119
5.8125
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
119
3
60
39.666667
0.911765
0.747899
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
4b0eec937bcf7b4132e9bab483c930a0a86d89bc
3,824
py
Python
amurlevel_model/model/train_test_split.py
RaevskyDN/aij2020-amur-noflood-public
d11349b1f8cc79c18bb078392731eac32b3c56ff
[ "Apache-2.0" ]
7
2021-02-17T18:55:13.000Z
2021-07-30T13:56:19.000Z
amurlevel_model/model/train_test_split.py
RaevskyDN/aij2020-amur-noflood-public
d11349b1f8cc79c18bb078392731eac32b3c56ff
[ "Apache-2.0" ]
null
null
null
amurlevel_model/model/train_test_split.py
RaevskyDN/aij2020-amur-noflood-public
d11349b1f8cc79c18bb078392731eac32b3c56ff
[ "Apache-2.0" ]
1
2022-01-23T15:11:43.000Z
2022-01-23T15:11:43.000Z
# -*- coding: utf-8 -*- import pandas as pd import numpy as np from datetime import date from typing import Union,Tuple,Optional,List from ..config_features import CATEGORICAL_FEATURES,NUMERICAL_FEATURES from ..config import DAYS_FORECAST,ALL_STATIONS from ..utils.normalizer import get_normalizer_stats def train_tes...
41.565217
117
0.636245
494
3,824
4.702429
0.244939
0.077486
0.068876
0.041326
0.355144
0.260439
0.191563
0.176496
0.104176
0.104176
0
0.008872
0.263075
3,824
92
118
41.565217
0.815472
0.250523
0
0.216667
0
0
0.014332
0
0
0
0
0
0
1
0.016667
false
0
0.116667
0
0.15
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
4b11b0281ea28ca55d21c7ab676dce9fefb150be
35
py
Python
bin/preprocessor/__init__.py
ian0549/AI-Audio-Task
6918fc4e7fd337c5649c47925ad5b8d999fda0e1
[ "MIT" ]
null
null
null
bin/preprocessor/__init__.py
ian0549/AI-Audio-Task
6918fc4e7fd337c5649c47925ad5b8d999fda0e1
[ "MIT" ]
null
null
null
bin/preprocessor/__init__.py
ian0549/AI-Audio-Task
6918fc4e7fd337c5649c47925ad5b8d999fda0e1
[ "MIT" ]
null
null
null
from .Preprocessor import Pipeline
17.5
34
0.857143
4
35
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.114286
35
1
35
35
0.967742
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4b136b651e1325beb870ea9f5a79512ec242273e
80,229
py
Python
common/ui.py
Regnareb/StreamManager
8b95e785d41c78f03725077f5dce2a5c15e0354f
[ "MIT" ]
null
null
null
common/ui.py
Regnareb/StreamManager
8b95e785d41c78f03725077f5dce2a5c15e0354f
[ "MIT" ]
null
null
null
common/ui.py
Regnareb/StreamManager
8b95e785d41c78f03725077f5dce2a5c15e0354f
[ "MIT" ]
null
null
null
import os import sys import copy import ctypes import socket import logging import threading import functools import webbrowser logger = logging.getLogger(__name__) import keyboard from PySide2 import QtCore, QtWidgets, QtGui, QtWebEngineWidgets # TODO # Be able to import a text file in the description/title as variab...
50.874445
398
0.672114
8,503
80,229
6.232389
0.122192
0.037023
0.042344
0.011492
0.401857
0.271087
0.194192
0.1366
0.09569
0.075971
0
0.005079
0.19751
80,229
1,576
399
50.906726
0.81798
0.022785
0
0.192082
0
0.007331
0.132297
0.008256
0
0
0
0.000635
0
1
0.08871
false
0.001466
0.014663
0.002199
0.13783
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
4b13fbf54481cade8e8734d48b08412beb1ed9cd
4,009
py
Python
tests/io/export/voc/test_create_annotation.py
wbknez/breakdb
f783820425c8cb70d8caedc6f5839a72de7c945e
[ "Apache-2.0" ]
1
2020-02-03T18:31:20.000Z
2020-02-03T18:31:20.000Z
tests/io/export/voc/test_create_annotation.py
wbknez/breakdb
f783820425c8cb70d8caedc6f5839a72de7c945e
[ "Apache-2.0" ]
null
null
null
tests/io/export/voc/test_create_annotation.py
wbknez/breakdb
f783820425c8cb70d8caedc6f5839a72de7c945e
[ "Apache-2.0" ]
null
null
null
""" Contains unit tests to ensure single database items are created correctly in a Pascal VOC compatible format. """ import os from xml.etree.ElementTree import Element, SubElement import numpy as np from breakdb.io.export.voc import create_annotation from tests.helpers.dataset import create_random_string from tests....
32.860656
78
0.626091
489
4,009
5.00818
0.214724
0.095549
0.049
0.0294
0.651695
0.619028
0.619028
0.619028
0.619028
0.619028
0
0.018629
0.250187
4,009
121
79
33.132231
0.796075
0.038663
0
0.642857
0
0
0.074393
0.013573
0
0
0
0
0
1
0.02381
false
0
0.071429
0
0.107143
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4b1766db2c0ad0a27e5899ec9658c4cad1b1b54e
8,242
py
Python
map.py
BenoitCorsini/world-flights
5e5ce6575a912cb6a71bf1caf6ef7c2d388044ce
[ "MIT" ]
null
null
null
map.py
BenoitCorsini/world-flights
5e5ce6575a912cb6a71bf1caf6ef7c2d388044ce
[ "MIT" ]
null
null
null
map.py
BenoitCorsini/world-flights
5e5ce6575a912cb6a71bf1caf6ef7c2d388044ce
[ "MIT" ]
null
null
null
import os import os.path as osp import numpy as np import matplotlib.pyplot as plt from matplotlib.patches import Circle, Polygon, Rectangle from config import PARAMS class WorldMap(object): def __init__(self, shapes=[], params=PARAMS): ''' The 'WorldMap' class is useful in constructing a 3D fig...
36.631111
111
0.473065
888
8,242
4.302928
0.228604
0.091599
0.043182
0.021984
0.326354
0.291808
0.217482
0.209369
0.1743
0.112013
0
0.019242
0.382067
8,242
225
112
36.631111
0.731003
0.219122
0
0.25
0
0
0.0815
0
0
0
0
0
0.013514
1
0.054054
false
0
0.040541
0
0.114865
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
4b17b051f3187df2daa4e97e42b6ba22e41b2320
322
py
Python
base/models/provider.py
musicmash/notify
0f1c72207979e812c6485238da32ca7f5b463859
[ "MIT" ]
null
null
null
base/models/provider.py
musicmash/notify
0f1c72207979e812c6485238da32ca7f5b463859
[ "MIT" ]
86
2020-07-13T11:14:24.000Z
2022-03-25T01:10:30.000Z
base/models/provider.py
musicmash/notify
0f1c72207979e812c6485238da32ca7f5b463859
[ "MIT" ]
null
null
null
from django.db import models from .base import BaseModel class Provider(BaseModel): name = models.CharField(max_length=50, primary_key=True) class Meta: db_table = "providers" verbose_name = "Provider" verbose_name_plural = "Providers" def __str__(self): return self.nam...
18.941176
60
0.673913
39
322
5.307692
0.666667
0.10628
0
0
0
0
0
0
0
0
0
0.00823
0.245342
322
16
61
20.125
0.843621
0
0
0
0
0
0.080745
0
0
0
0
0
0
1
0.1
false
0
0.2
0.1
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4b188ae0e512d9c128c010ae409e8f80e9a5b8ee
6,753
py
Python
preprocess/weixin_prepare.py
xuyuandong/sequence_behavior_ctr_model
e1bb71b4579456b1c6fbf3b432a84a3cb52611b7
[ "MIT" ]
4
2020-01-08T13:39:59.000Z
2021-09-21T08:13:44.000Z
preprocess/weixin_prepare.py
xuyuandong/sequence_behavior_ctr_model
e1bb71b4579456b1c6fbf3b432a84a3cb52611b7
[ "MIT" ]
null
null
null
preprocess/weixin_prepare.py
xuyuandong/sequence_behavior_ctr_model
e1bb71b4579456b1c6fbf3b432a84a3cb52611b7
[ "MIT" ]
3
2020-01-09T02:45:14.000Z
2021-09-21T08:13:59.000Z
import random import numpy as np import cPickle as pkl Train_handle = open("./data/weixin_data/weixin_train.txt",'w') Test_handle = open("./data/weixin_data/weixin_test.txt",'w') Feature_handle = open("./data/weixin_data/weixin_feature.pkl",'w') max_len = 50 def produce_neg_item_hist_with_cate(train_file, test_file):...
37.726257
147
0.568192
931
6,753
3.77014
0.084855
0.159544
0.074074
0.031909
0.886325
0.886325
0.814245
0.796581
0.778348
0.778348
0
0.018411
0.28417
6,753
178
148
37.938202
0.707695
0.003998
0
0.807692
0
0
0.043
0.02574
0
0
0
0
0
1
0.012821
false
0
0.019231
0
0.038462
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
4b1897d255b0413c9d4325f9c12538b29485ce83
2,197
py
Python
chapter15/cache_aside/populate_db.py
JoeanAmiee/Mastering-Python-Design-Patterns-Second-Edition
89c55dcf5e1e0e730dde593b487050f360371932
[ "MIT" ]
278
2018-08-16T12:59:24.000Z
2022-03-21T08:21:11.000Z
chapter15/cache_aside/populate_db.py
50611/Mastering-Python-Design-Patterns-Second-Edition
6efc4a935f15d2aa6c840131f72fb8c53a493a93
[ "MIT" ]
4
2019-05-16T11:44:45.000Z
2022-02-04T07:24:47.000Z
chapter15/cache_aside/populate_db.py
50611/Mastering-Python-Design-Patterns-Second-Edition
6efc4a935f15d2aa6c840131f72fb8c53a493a93
[ "MIT" ]
166
2018-08-13T21:47:16.000Z
2022-03-18T12:20:31.000Z
import sys import sqlite3 import csv from random import randint from faker import Faker fake = Faker() def setup_db(): try: db = sqlite3.connect('data/quotes.sqlite3') # Get a cursor object cursor = db.cursor() cursor.execute(''' CREATE TABLE quotes(id INTEGER PRIMAR...
25.252874
86
0.522531
266
2,197
4.18797
0.319549
0.05386
0.045781
0.048474
0.437163
0.385996
0.369838
0.305206
0.305206
0.305206
0
0.014851
0.356395
2,197
86
87
25.546512
0.772984
0.025489
0
0.460317
0
0
0.192236
0.009822
0
0
0
0
0
1
0.047619
false
0
0.079365
0
0.142857
0.126984
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
4b1a17df754eb85c581497a16047422be041c22f
523
py
Python
amulet/world_interface/chunk/interfaces/leveldb/leveldb_13/leveldb_13_interface.py
Podshot/Amulet-Core
678a722daa5e4487d193a7e947ccceacac325fd2
[ "MIT" ]
null
null
null
amulet/world_interface/chunk/interfaces/leveldb/leveldb_13/leveldb_13_interface.py
Podshot/Amulet-Core
678a722daa5e4487d193a7e947ccceacac325fd2
[ "MIT" ]
null
null
null
amulet/world_interface/chunk/interfaces/leveldb/leveldb_13/leveldb_13_interface.py
Podshot/Amulet-Core
678a722daa5e4487d193a7e947ccceacac325fd2
[ "MIT" ]
null
null
null
from __future__ import annotations from amulet.world_interface.chunk.interfaces.leveldb.leveldb_12.leveldb_12_interface import ( LevelDB12Interface, ) class LevelDB13Interface(LevelDB12Interface): def __init__(self): LevelDB12Interface.__init__(self) self.features["chunk_version"] = 13 ...
21.791667
93
0.6826
54
523
6.259259
0.555556
0.053254
0
0
0
0
0
0
0
0
0
0.050251
0.239006
523
23
94
22.73913
0.798995
0
0
0.125
0
0
0.038241
0
0
0
0
0
0
1
0.125
false
0
0.125
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
4b1b507d5e7bd884f752c61b8ba7c52263c2268a
921
py
Python
oarepo_model_builder/builders/jsonschema_builder.py
mesemus/oarepo-model-builder
3dd9cc3db887c67f7b58281faae65c8162b0651e
[ "MIT" ]
null
null
null
oarepo_model_builder/builders/jsonschema_builder.py
mesemus/oarepo-model-builder
3dd9cc3db887c67f7b58281faae65c8162b0651e
[ "MIT" ]
null
null
null
oarepo_model_builder/builders/jsonschema_builder.py
mesemus/oarepo-model-builder
3dd9cc3db887c67f7b58281faae65c8162b0651e
[ "MIT" ]
null
null
null
from oarepo_model_builder.builders.json import JSONBuilder from oarepo_model_builder.output import JsonSchemaOutput class JSONSchemaBuilder(JSONBuilder): """Handles building of jsonschema from a data model specification.""" def __init__(self): super().__init__() self.output = None def pre...
32.892857
73
0.587405
100
921
5.26
0.48
0.060837
0.057034
0.08365
0.087452
0
0
0
0
0
0
0.003115
0.302932
921
27
74
34.111111
0.816199
0.068404
0
0.090909
0
0
0.024648
0
0
0
0
0
0
1
0.136364
false
0
0.090909
0
0.272727
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
4b1d49f6efb27ace41851af3af43454783b205c7
399
py
Python
solutions/level0_tasks.py
sksuzuki/How-to-Learn-to-Code
347943dbd2a3d176f3459c2e9f18cba1bdf78597
[ "MIT" ]
null
null
null
solutions/level0_tasks.py
sksuzuki/How-to-Learn-to-Code
347943dbd2a3d176f3459c2e9f18cba1bdf78597
[ "MIT" ]
3
2019-06-06T21:11:41.000Z
2019-06-06T21:12:37.000Z
solutions/level0_tasks.py
sksuzuki/How-to-Learn-to-Code
347943dbd2a3d176f3459c2e9f18cba1bdf78597
[ "MIT" ]
null
null
null
import numpy as np def square(x): """Square a number""" return x ** 2 def volume_converter(volume, unit): """Convert certain SI volumes to mLs""" conversions = {'mL': 1E-3, 'uL': 1E-6, 'nL': 1E-9, 'kL': 1E3} return round(volume * conversions[unit], 10) def squared_sum(in_list): """Finds the s...
26.6
65
0.629073
65
399
3.8
0.646154
0.048583
0
0
0
0
0
0
0
0
0
0.037855
0.205514
399
14
66
28.5
0.741325
0.240602
0
0
0
0
0.027875
0
0
0
0
0
0
1
0.375
false
0
0.125
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4b1e6350105907d7f3eb0e342a99233ff398a655
10,305
py
Python
benchmark/automated_agents_selenium/exatag_labels_agent.py
MedTAG/medtag-core
f2dae7b38230179d71babede7e4910631d91053f
[ "MIT" ]
6
2021-12-20T12:15:17.000Z
2022-02-02T15:28:42.000Z
benchmark/automated_agents_selenium/exatag_labels_agent.py
MedTAG/medtag-core
f2dae7b38230179d71babede7e4910631d91053f
[ "MIT" ]
1
2022-03-07T14:57:44.000Z
2022-03-11T18:11:55.000Z
benchmark/automated_agents_selenium/exatag_labels_agent.py
MedTAG/medtag-core
f2dae7b38230179d71babede7e4910631d91053f
[ "MIT" ]
2
2021-05-29T09:44:38.000Z
2021-12-28T03:53:40.000Z
from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC import psycopg2 import time import statistics from selenium.webdriver.support.select import Select import json def wait_unt...
35.78125
147
0.450849
1,004
10,305
4.473108
0.209163
0.026497
0.034068
0.038076
0.483411
0.433311
0.397016
0.348252
0.332665
0.313516
0
0.020876
0.432897
10,305
287
148
35.905923
0.747604
0.267055
0
0.294479
0
0
0.092093
0.05437
0
0
0
0
0
1
0.018405
false
0.01227
0.055215
0
0.110429
0.067485
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
4b1ec72cd59cc0bdeabf8053a9474d679e3c099c
963
py
Python
src/main/tools/dbpy/FotechUtils/dbUtils.py
inqwell/inq
31ce4cd6b9b123b1ec4462905ccbcf7c00d6efc3
[ "BSD-3-Clause" ]
1
2016-09-25T16:41:57.000Z
2016-09-25T16:41:57.000Z
src/main/tools/dbpy/FotechUtils/dbUtils.py
inqwell/inq
31ce4cd6b9b123b1ec4462905ccbcf7c00d6efc3
[ "BSD-3-Clause" ]
null
null
null
src/main/tools/dbpy/FotechUtils/dbUtils.py
inqwell/inq
31ce4cd6b9b123b1ec4462905ccbcf7c00d6efc3
[ "BSD-3-Clause" ]
2
2016-09-25T16:48:49.000Z
2020-05-26T20:00:33.000Z
# # $Header: /home/inqwell/cvsroot/dev/scripts/python/FotechUtils/dbUtils.py,v 1.1 2009/05/22 22:16:32 sanderst Exp $ # import KBC.fotech from Util import db from dbConfig import configurationProvider def getConnection( confile, system, level, access = "read", site = None, user = None, pwdfile = None ): """ ...
45.857143
129
0.726895
133
963
5.255639
0.646617
0.04721
0.048641
0
0
0
0
0
0
0
0
0.022901
0.183801
963
20
130
48.15
0.866412
0.480789
0
0
0
0
0.008658
0
0
0
0
0
0
1
0.142857
false
0.285714
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
4b1ec74bf2a93ae529c6f9b679c345029b8413cf
1,517
py
Python
randgenuntil.py
i-can-not-program/randgenuntil
cec853bc0c0a6589d60e1c6e3064e273e6278e0f
[ "Unlicense" ]
1
2021-09-09T12:03:57.000Z
2021-09-09T12:03:57.000Z
randgenuntil.py
i-can-not-program/randgenuntil
cec853bc0c0a6589d60e1c6e3064e273e6278e0f
[ "Unlicense" ]
null
null
null
randgenuntil.py
i-can-not-program/randgenuntil
cec853bc0c0a6589d60e1c6e3064e273e6278e0f
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 import random import argparse import sys def error(message): print(message) sys.exit(1) parser = argparse.ArgumentParser() parser.add_argument("number", help="Generate a random numbers until they are equal to this.", type=int) parser.add_argument("-s", "--start", t...
35.27907
111
0.652604
225
1,517
4.333333
0.36
0.050256
0.087179
0.028718
0.082051
0.082051
0.082051
0.082051
0.082051
0.082051
0
0.014143
0.207647
1,517
42
112
36.119048
0.797005
0.013843
0
0
0
0
0.344043
0
0
0
0
0
0
1
0.028571
false
0
0.085714
0
0.114286
0.114286
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
4b1fa47c925f46978fe64a19c7b80b111b447a75
2,798
py
Python
gopredict/modelo.py
ajalba/gopredict
bfcb1c4c10b6787da10c7515ae2adf65252bb8c6
[ "MIT" ]
null
null
null
gopredict/modelo.py
ajalba/gopredict
bfcb1c4c10b6787da10c7515ae2adf65252bb8c6
[ "MIT" ]
39
2021-10-31T16:51:39.000Z
2021-11-22T09:56:04.000Z
gopredict/modelo.py
ajalba/gopredict
bfcb1c4c10b6787da10c7515ae2adf65252bb8c6
[ "MIT" ]
null
null
null
""" Clase para representar a los diferentes modelos y su comportamiento atributos(de momento) df=dataframe de entrenamiento proviniente del conjunto de datos de entrenamiento del usuario x_train,x_test,y_train,y_test, particiones de df para entrenar el modelo El resto de métodos son autoexplicativos """ from numpy ...
36.337662
92
0.686919
387
2,798
4.764858
0.29199
0.05423
0.043926
0.035249
0.132321
0.103037
0.093275
0.043384
0.043384
0.043384
0
0.002824
0.240529
2,798
76
93
36.815789
0.864941
0.225161
0
0.240741
0
0
0.012535
0
0
0
0
0.013158
0
1
0.148148
false
0
0.111111
0.018519
0.462963
0.018519
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
4b21181e3a74fe5a1a2c9a5d58470698abe2c63a
10,698
py
Python
python/cvi_toolkit/numpy_helper/tensor_compare.py
sophgo/tpu_compiler
6299ea0a3adae1e5c206bcb9bedf225d16e636db
[ "Apache-2.0" ]
3
2022-03-14T11:47:20.000Z
2022-03-16T01:45:37.000Z
python/cvi_toolkit/numpy_helper/tensor_compare.py
sophgo/tpu_compiler
6299ea0a3adae1e5c206bcb9bedf225d16e636db
[ "Apache-2.0" ]
null
null
null
python/cvi_toolkit/numpy_helper/tensor_compare.py
sophgo/tpu_compiler
6299ea0a3adae1e5c206bcb9bedf225d16e636db
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import numpy as np import sys import struct # from math import fabs from enum import IntEnum from scipy import spatial from math import * from collections import OrderedDict def second(elem): return elem[1] def get_topk(a, k): k = min(a.size, k) idx = np.argpartition(-a.ravel(), k - 1)[:...
37.405594
102
0.623294
1,451
10,698
4.43694
0.146795
0.021746
0.037589
0.015843
0.17785
0.093507
0.068034
0.031998
0.023299
0.015843
0
0.027869
0.235278
10,698
285
103
37.536842
0.759076
0.051598
0
0.055319
0
0
0.084625
0.002172
0
0
0
0
0.012766
1
0.068085
false
0.029787
0.029787
0.012766
0.204255
0.119149
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
4b239e38be546f3cf138ae920d55ac95f83dd8aa
4,508
py
Python
src/cleaners.py
RellikDog/dota2-win-predictor-v2
2751093d988830296ab0408a820e52bd7fd963b0
[ "MIT" ]
1
2020-06-12T00:27:45.000Z
2020-06-12T00:27:45.000Z
src/cleaners.py
RellikDog/dota2-win-predictor-v2
2751093d988830296ab0408a820e52bd7fd963b0
[ "MIT" ]
null
null
null
src/cleaners.py
RellikDog/dota2-win-predictor-v2
2751093d988830296ab0408a820e52bd7fd963b0
[ "MIT" ]
null
null
null
from src.eda import make_counter import pandas as pd import numpy as np from src.heroes import heroes, name_id, id_name def id_list_from_history(data): ''' Takes raw data returnd by api_calls.get_match_history() and returns a list of just the match ID's Input: data(list): ...
32.905109
119
0.590949
634
4,508
4.064669
0.283912
0.02988
0.021731
0.012418
0.103997
0.089251
0.089251
0.089251
0.089251
0.062088
0
0.004211
0.315217
4,508
137
120
32.905109
0.83058
0.471162
0
0
0
0
0.159848
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.196429
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
4b26f2f9d05f6e347a28ccd82f8bc4ee81785946
808
py
Python
essEcommerce/views.py
AymanTareq/cit_ecommerce
7a000f9f9ed76af99ec3c5a5faa1dbde8b988370
[ "CC0-1.0" ]
null
null
null
essEcommerce/views.py
AymanTareq/cit_ecommerce
7a000f9f9ed76af99ec3c5a5faa1dbde8b988370
[ "CC0-1.0" ]
null
null
null
essEcommerce/views.py
AymanTareq/cit_ecommerce
7a000f9f9ed76af99ec3c5a5faa1dbde8b988370
[ "CC0-1.0" ]
null
null
null
from django.shortcuts import render from .models import * def all_product(request): products = Product.objects.all() context = { 'products':products, } return render(request, 'essEcommerce/all_product.html', context) def cart(request): if request.user.is_authenticated: customer = ...
26.064516
85
0.634901
89
808
5.629213
0.426966
0.071856
0.113772
0.185629
0
0
0
0
0
0
0
0.003306
0.251238
808
30
86
26.933333
0.824793
0
0
0.076923
0
0
0.159653
0.095297
0
0
0
0
0
1
0.115385
false
0
0.076923
0.038462
0.307692
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4b27ad25bbde1311e3d80132c3a579efdb94319b
431
py
Python
HowloserUare/api/serializers.py
HowloserUare/HowloserUare-api
c5f8a111f1c4bacba8d0932d8da7ad72dd3ce5c0
[ "MIT" ]
null
null
null
HowloserUare/api/serializers.py
HowloserUare/HowloserUare-api
c5f8a111f1c4bacba8d0932d8da7ad72dd3ce5c0
[ "MIT" ]
null
null
null
HowloserUare/api/serializers.py
HowloserUare/HowloserUare-api
c5f8a111f1c4bacba8d0932d8da7ad72dd3ce5c0
[ "MIT" ]
null
null
null
from rest_framework import serializers from rest_framework.validators import UniqueValidator from core.models import User class UserSerializer(serializers.Serializer): username = serializers.CharField( max_length=16, min_length=5, validators=[UniqueValidator(User.objects.all()), ]) pas...
26.9375
59
0.712297
47
431
6.404255
0.595745
0.053156
0.112957
0.192691
0
0
0
0
0
0
0
0.017391
0.199536
431
15
60
28.733333
0.855072
0
0
0
0
0
0.00464
0
0
0
0
0
0
1
0
false
0.083333
0.25
0
0.583333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
4b2885e057467c9b44c65e10af712efbc6a9cb24
74
py
Python
mogpe/__init__.py
aidanscannell/mogpe
25a9af473d73d6fa35bd060bee0eb2c372b995e5
[ "Apache-2.0" ]
11
2021-04-01T02:40:21.000Z
2022-01-31T16:14:44.000Z
mogpe/__init__.py
aidanscannell/mogpe
25a9af473d73d6fa35bd060bee0eb2c372b995e5
[ "Apache-2.0" ]
null
null
null
mogpe/__init__.py
aidanscannell/mogpe
25a9af473d73d6fa35bd060bee0eb2c372b995e5
[ "Apache-2.0" ]
3
2021-04-04T02:45:34.000Z
2021-11-22T23:48:28.000Z
from . import experts, gating_networks, gps, mixture_of_experts, training
37
73
0.824324
10
74
5.8
0.9
0
0
0
0
0
0
0
0
0
0
0
0.108108
74
1
74
74
0.878788
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
4b29c7bf6ebe9ba8c28605961385ea51d3e8eaf4
49
py
Python
pynfldata/coaches_data/__init__.py
trevorbalint/pynfldata
d27c550a5249c30cd2f32a8ad455c9c4ff623f5b
[ "MIT" ]
3
2020-09-24T17:17:28.000Z
2021-09-23T18:39:09.000Z
pynfldata/coaches_data/__init__.py
trevorbalint/pynfldata
d27c550a5249c30cd2f32a8ad455c9c4ff623f5b
[ "MIT" ]
5
2019-10-29T00:31:22.000Z
2020-01-12T12:35:52.000Z
pynfldata/coaches_data/__init__.py
tabalint/pynfldata
d27c550a5249c30cd2f32a8ad455c9c4ff623f5b
[ "MIT" ]
null
null
null
from pynfldata.coaches_data import coaches_parser
49
49
0.918367
7
49
6.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.061224
49
1
49
49
0.934783
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4b2a94692c84f7c38268202ef3957322166618de
991
py
Python
tensorflow_v2/dragen1860/ch10/bn_main.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
13
2020-01-04T07:37:38.000Z
2021-08-31T05:19:58.000Z
tensorflow_v2/dragen1860/ch10/bn_main.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
3
2020-06-05T22:42:53.000Z
2020-08-24T07:18:54.000Z
tensorflow_v2/dragen1860/ch10/bn_main.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
9
2020-10-19T04:53:06.000Z
2021-08-31T05:20:01.000Z
import tensorflow as tf from tensorflow import keras from tensorflow.keras import layers, optimizers # BatchNorm 归一化网络激活函数 # 2 images with 4x4 size, 3 channels # we explicitly enforce the mean and stddev to N(1, 0.5) x = tf.random.normal([2, 4, 4, 3], mean=1.0, stddev=0.5) net = layers.BatchNormalization(axis=-1, ce...
30.030303
81
0.71443
156
991
4.512821
0.461538
0.034091
0.039773
0.06392
0.146307
0.119318
0.119318
0.119318
0.119318
0.119318
0
0.036993
0.15439
991
32
82
30.96875
0.803103
0.136226
0
0.15
0
0
0.121034
0
0
0
0
0
0
1
0
false
0
0.15
0
0.15
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
4b2b18a133cf43bd4b7425912dff7947dc039608
1,001
py
Python
pytocl/main.py
moltob/pytocl
905c09e649feca8feeaef6fdecd6767d82cdb28e
[ "MIT" ]
12
2016-11-02T08:43:04.000Z
2020-05-17T11:23:32.000Z
pytocl/main.py
moltob/pytocl
905c09e649feca8feeaef6fdecd6767d82cdb28e
[ "MIT" ]
1
2020-06-08T09:48:20.000Z
2020-06-08T09:48:20.000Z
pytocl/main.py
moltob/pytocl
905c09e649feca8feeaef6fdecd6767d82cdb28e
[ "MIT" ]
3
2017-08-01T18:30:32.000Z
2018-08-04T13:10:15.000Z
"""Application entry point.""" import argparse import logging from pytocl.protocol import Client def main(): """Main entry point of application.""" parser = argparse.ArgumentParser(description='Client for TORCS racing car simulation with SCRC ' 'network server...
30.333333
100
0.622378
119
1,001
5.092437
0.571429
0.044554
0.084158
0
0
0
0
0
0
0
0
0.021248
0.247752
1,001
32
101
31.28125
0.783533
0.094905
0
0
0
0
0.272931
0
0
0
0
0
0
1
0.047619
false
0
0.142857
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
4b2b25ace759328c89bdd5c3d6fc4d697b6531e4
2,381
py
Python
JSMultiline.py
axilleasiv/JSMultiline
59779d4b6c444461597b105e31aa0efb0e86805c
[ "MIT" ]
6
2015-05-04T00:05:00.000Z
2016-12-09T14:40:47.000Z
JSMultiline.py
axilleasiv/JSMultiline
59779d4b6c444461597b105e31aa0efb0e86805c
[ "MIT" ]
1
2018-06-25T17:13:37.000Z
2018-06-25T17:13:37.000Z
JSMultiline.py
axilleasiv/JSMultiline
59779d4b6c444461597b105e31aa0efb0e86805c
[ "MIT" ]
null
null
null
import sublime import sublime_plugin import re import os rexLastTabs = re.compile(r'(\t+|\s+)$', re.MULTILINE) rexEmptyLines = re.compile('^[ \t]*$\r?\n', re.MULTILINE) rexCont = re.compile(r'[^\t\s].*[^\t\s]') rexFormatted = re.compile(r"((?<=\s)'|(?<=\t)')|('*\s[\+|\\|])") class RunMultilineAction(sublime_plugin.T...
28.345238
116
0.639227
313
2,381
4.833866
0.319489
0.072703
0.019828
0.039656
0.104428
0.070059
0.070059
0.070059
0.070059
0.070059
0
0.008638
0.173457
2,381
84
117
28.345238
0.760163
0.046619
0
0.035088
0
0
0.086458
0.014998
0.017544
0
0
0
0
1
0.070175
false
0
0.070175
0
0.245614
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