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
2665879f29151dd4bf50f5357e2d4d3726e90112
391
py
Python
Google Drive/Learning/Python/DataScience/Classes/Dog.py
mobiusworkspace/mobiuswebsite
73eef1bd4fc07ea318aad431de09eac10fc4da3a
[ "CC-BY-3.0" ]
null
null
null
Google Drive/Learning/Python/DataScience/Classes/Dog.py
mobiusworkspace/mobiuswebsite
73eef1bd4fc07ea318aad431de09eac10fc4da3a
[ "CC-BY-3.0" ]
null
null
null
Google Drive/Learning/Python/DataScience/Classes/Dog.py
mobiusworkspace/mobiuswebsite
73eef1bd4fc07ea318aad431de09eac10fc4da3a
[ "CC-BY-3.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Feb 17 01:08:13 2020 @author: OAdeoye """ class Dog: def __init__(self, name): self.name = name def respond_to_command(self, command): if (command == self.name): print(self.name + " is Barking!!!") bingo = Dog("Bingo") bingo.respond_to_c...
19.55
47
0.618926
54
391
4.296296
0.537037
0.137931
0.206897
0.181034
0.224138
0
0
0
0
0
0
0.042345
0.214834
391
20
48
19.55
0.713355
0.194373
0
0.2
0
0
0.11039
0
0
0
0
0
0
1
0.2
false
0
0
0
0.3
0.1
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
26665c848e7389ad3807abd7e96f3f0161f6a4ff
704
py
Python
tests/test_query.py
tikazyq/google-analytics-api-wrapper
91ffc1d6b4cb810aea20541153d64730873903b9
[ "MIT" ]
6
2015-03-11T01:38:54.000Z
2021-07-09T21:40:12.000Z
tests/test_query.py
QPC-database/google-analytics-api-wrapper
91ffc1d6b4cb810aea20541153d64730873903b9
[ "MIT" ]
null
null
null
tests/test_query.py
QPC-database/google-analytics-api-wrapper
91ffc1d6b4cb810aea20541153d64730873903b9
[ "MIT" ]
1
2021-07-09T21:40:13.000Z
2021-07-09T21:40:13.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- import unittest from datetime import datetime, timedelta from analytics_query import analytics_query as aq START_DATE = (datetime.now() - timedelta(7)).strftime('%Y-%m-%d') END_DATE = (datetime.now() - timedelta(1)).strftime('%Y-%m-%d') start_date = '2015-03-03' end_date = '...
24.275862
92
0.674716
98
704
4.632653
0.530612
0.079295
0.066079
0.105727
0
0
0
0
0
0
0
0.032368
0.166193
704
28
93
25.142857
0.741056
0.053977
0
0
0
0.055556
0.274096
0.207831
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2669475d57fe48eb8f470f059b2de2b3e28b5b3e
2,864
py
Python
GameManager.py
redxdev/Matching
6d65933a64bf0f22a18a27c675cb8e95f4161e08
[ "MIT" ]
1
2016-05-06T10:23:24.000Z
2016-05-06T10:23:24.000Z
GameManager.py
redxdev/Matching
6d65933a64bf0f22a18a27c675cb8e95f4161e08
[ "MIT" ]
null
null
null
GameManager.py
redxdev/Matching
6d65933a64bf0f22a18a27c675cb8e95f4161e08
[ "MIT" ]
null
null
null
from WordList import WordList, WordCard import pygame class GameManager: def __init__(self): self.wordList = WordList() self.cards = [] self.badCards = (None, None) self.goodCards = (None, None) self.timer = 0 def startGame(self, pairCount): self.cards = self.w...
28.929293
94
0.50419
332
2,864
4.331325
0.213855
0.031293
0.056328
0.03338
0.289291
0.25452
0.226704
0.201669
0.201669
0.201669
0
0.025761
0.403631
2,864
99
95
28.929293
0.816159
0
0
0.375
0
0
0
0
0
0
0
0
0
1
0.0875
false
0
0.025
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
266b073ce320af6c6412a8f34133f369b56ae914
1,687
py
Python
src/main.py
ekim1919/TDAGo
014db546dae3dedb4f7206288333756fc358ed8a
[ "MIT" ]
null
null
null
src/main.py
ekim1919/TDAGo
014db546dae3dedb4f7206288333756fc358ed8a
[ "MIT" ]
null
null
null
src/main.py
ekim1919/TDAGo
014db546dae3dedb4f7206288333756fc358ed8a
[ "MIT" ]
null
null
null
from plot import * from experiments import * import warnings warnings.filterwarnings("ignore") #Ignore warnings for now import sys import os import argparse def main(): parser = argparse.ArgumentParser(description='Analysis of Go Games') parser.add_argument('dir',nargs='*') parser.add_argument('--conn',...
35.145833
212
0.740368
247
1,687
4.939271
0.518219
0.036885
0.069672
0.051639
0.113115
0.113115
0
0
0
0
0
0.004926
0.157676
1,687
47
213
35.893617
0.853624
0.484884
0
0
0
0
0.13769
0
0
0
0
0
0
1
0.04
false
0
0.24
0
0.28
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
266b7396a2ed1939667431e7fe0b116000780021
1,358
py
Python
script/python3/util/env.py
setminami/IrControl
bcdd44b7f6aeca75226cdcfc611dc63032c38949
[ "MIT" ]
null
null
null
script/python3/util/env.py
setminami/IrControl
bcdd44b7f6aeca75226cdcfc611dc63032c38949
[ "MIT" ]
2
2018-09-21T11:53:28.000Z
2018-12-30T03:37:23.000Z
script/python3/util/env.py
setminami/IrControl
bcdd44b7f6aeca75226cdcfc611dc63032c38949
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # this made for python3 from os import environ def expand_env(params, verbose=False): """ dotenv like function, but not dotenv """ for key, val in params.items(): _print('try %s, %s'%(key, val), verbose) if isinstance(val, dict): _print('ORDEREDDICT', verbos...
39.941176
122
0.54271
168
1,358
4.279762
0.404762
0.041725
0.044506
0.061196
0.069541
0
0
0
0
0
0
0.005319
0.307806
1,358
33
123
41.151515
0.759574
0.060383
0
0.074074
0
0
0.184543
0
0
0
0
0
0
1
0.074074
false
0
0.037037
0
0.148148
0.407407
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
266c5f9566178c353cbde59b14658db79e486f2e
236
py
Python
script/pipeline/setup/setup.py
cpuabuse/py-deployment-automation
aea0c48ac4c5a81f2e027c984ab65f911ad29d0d
[ "0BSD" ]
1
2020-02-23T22:35:28.000Z
2020-02-23T22:35:28.000Z
script/pipeline/setup/setup.py
cpuabuse/py-deployment-automation
aea0c48ac4c5a81f2e027c984ab65f911ad29d0d
[ "0BSD" ]
null
null
null
script/pipeline/setup/setup.py
cpuabuse/py-deployment-automation
aea0c48ac4c5a81f2e027c984ab65f911ad29d0d
[ "0BSD" ]
null
null
null
""" A file for setup. """ # Metadata __author__ = "cpuabuse.com" __copyright__ = "cpuabuse.com 2019" __license__ = "ISC" __version__ = "0.0.1" __email__ = "cpuabuse@gmail.com" __status__ = "Development" # Minimum python version is 3.6
18.153846
35
0.711864
30
236
4.8
0.8
0.152778
0
0
0
0
0
0
0
0
0
0.044554
0.144068
236
13
36
18.153846
0.668317
0.241525
0
0
0
0
0.385965
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
266efdf5f618ad871cc4108d4a51b575ba968601
6,392
py
Python
Kinkajou/python/admin/opencode.py
app858216291-github/Kinkajou-shop
ee1e841e26407b1dcbd14601e5fe34b6422eba29
[ "MIT" ]
null
null
null
Kinkajou/python/admin/opencode.py
app858216291-github/Kinkajou-shop
ee1e841e26407b1dcbd14601e5fe34b6422eba29
[ "MIT" ]
null
null
null
Kinkajou/python/admin/opencode.py
app858216291-github/Kinkajou-shop
ee1e841e26407b1dcbd14601e5fe34b6422eba29
[ "MIT" ]
null
null
null
from admin.upload import FileUploadField, ImageUploadField from flask_babelex import Babel from flask_admin._compat import urljoin from flask import redirect from flask_admin._compat import quote from flask_admin.contrib.fileadmin import FileAdmin from flask_admin import Admin, BaseView, expose from flask_admin....
37.380117
184
0.571339
706
6,392
5.007082
0.247875
0.028006
0.031683
0.016973
0.145403
0.066761
0.028854
0.028854
0.028854
0
0
0.001832
0.316959
6,392
170
185
37.6
0.807833
0.125
0
0.096491
0
0
0.090584
0.017854
0
0
0
0
0
1
0.061404
false
0
0.149123
0
0.359649
0.04386
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
267010ecd5efb0c3498de085c2712903abc79773
4,137
py
Python
liminal/runners/airflow/operators/kubernetes_pod_operator_with_input_output.py
aviemzur/incubator-liminal
88174a6fe519f9a6052f6e5d366a37a88a915ee4
[ "Apache-2.0" ]
1
2021-03-24T08:23:03.000Z
2021-03-24T08:23:03.000Z
liminal/runners/airflow/operators/kubernetes_pod_operator_with_input_output.py
liorsav/incubator-liminal
88174a6fe519f9a6052f6e5d366a37a88a915ee4
[ "Apache-2.0" ]
null
null
null
liminal/runners/airflow/operators/kubernetes_pod_operator_with_input_output.py
liorsav/incubator-liminal
88174a6fe519f9a6052f6e5d366a37a88a915ee4
[ "Apache-2.0" ]
null
null
null
import json from airflow.contrib.operators.kubernetes_pod_operator import KubernetesPodOperator def _split_list(seq, num): k, m = divmod(len(seq), num) return list( (seq[i * k + min(i, m):(i + 1) * k + min(i + 1, m)] for i in range(num)) ) _IS_SPLIT_KEY = 'is_split' class PrepareInputOperator...
28.93007
87
0.555958
483
4,137
4.482402
0.192547
0.07067
0.054042
0.038799
0.366744
0.282679
0.240185
0.228176
0.228176
0.162587
0
0.001095
0.337684
4,137
142
88
29.133803
0.789051
0.021997
0
0.401961
0
0
0.104741
0
0
0
0
0.007042
0
1
0.058824
false
0
0.019608
0.009804
0.166667
0.019608
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
2670f782ce4049f02c248c80f13a94aafff1be8d
1,440
py
Python
game/content/ghplots/__init__.py
AmkG/gearhead-caramel
0238378295a09b4b33adb2ec0854fa06b0ad7b1b
[ "Apache-2.0" ]
null
null
null
game/content/ghplots/__init__.py
AmkG/gearhead-caramel
0238378295a09b4b33adb2ec0854fa06b0ad7b1b
[ "Apache-2.0" ]
null
null
null
game/content/ghplots/__init__.py
AmkG/gearhead-caramel
0238378295a09b4b33adb2ec0854fa06b0ad7b1b
[ "Apache-2.0" ]
null
null
null
import inspect from . import actionscenes from . import dd_combatmission from . import dd_customobjectives from . import dd_distanttown from . import dd_homebase from . import dd_intro from . import dd_lancedev from . import dd_main from . import dd_roadedge from . import dd_roadedge_propp from . import dd_roadstops f...
26.181818
110
0.758333
197
1,440
5.319797
0.263959
0.181298
0.137405
0.038168
0.024809
0
0
0
0
0
0
0
0.172222
1,440
54
111
26.666667
0.879195
0.011111
0
0
0
0
0
0
0
0
0
0
0
1
0.020408
false
0
0.44898
0
0.469388
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
2671a284c0ed4b2cd6f0faa0d1f0db0edd38447c
27,696
py
Python
reV/handlers/collection.py
pjstanle/reV
c22c620749747022a65d2a98a99beef804849ee6
[ "BSD-3-Clause" ]
37
2020-03-04T05:24:23.000Z
2022-02-24T14:39:49.000Z
reV/handlers/collection.py
pjstanle/reV
c22c620749747022a65d2a98a99beef804849ee6
[ "BSD-3-Clause" ]
174
2020-03-03T18:18:53.000Z
2022-03-08T22:00:40.000Z
reV/handlers/collection.py
pjstanle/reV
c22c620749747022a65d2a98a99beef804849ee6
[ "BSD-3-Clause" ]
16
2020-08-10T13:43:36.000Z
2021-11-19T22:43:36.000Z
# -*- coding: utf-8 -*- """ Base class to handle collection of profiles and means across multiple .h5 files """ import logging import numpy as np import os import sys import psutil import pandas as pd import time import shutil from warnings import warn from reV.handlers.outputs import Outputs from reV.utilities.except...
35.326531
79
0.55239
3,405
27,696
4.306314
0.105433
0.026734
0.015959
0.010434
0.488031
0.447521
0.400668
0.369229
0.347473
0.328514
0
0.012237
0.362688
27,696
783
80
35.371648
0.818481
0.298563
0
0.293801
0
0
0.09744
0
0
0
0
0.001277
0
1
0.067385
false
0
0.03504
0
0.140162
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
267391fe6f529c4f578f96fdbf6f647ec6e040d3
964
py
Python
utility/templatetags/to_price.py
hosseinmoghimi/waiter
9f5f332b6f252a29aa14f67655b423fd9c40fba3
[ "MIT" ]
1
2021-12-02T11:16:53.000Z
2021-12-02T11:16:53.000Z
utility/templatetags/to_price.py
hosseinmoghimi/waiter
9f5f332b6f252a29aa14f67655b423fd9c40fba3
[ "MIT" ]
null
null
null
utility/templatetags/to_price.py
hosseinmoghimi/waiter
9f5f332b6f252a29aa14f67655b423fd9c40fba3
[ "MIT" ]
null
null
null
from core.errors import LEO_ERRORS from django import template register = template.Library() from utility.currency import to_price as to_price_origin from utility.num import to_horuf as to_horuf_num,to_tartib as to_tartib_ @register.filter def to_price(value): return to_price_origin(value=value) @register.filter...
18.538462
72
0.65249
131
964
4.603053
0.305344
0.069652
0.112769
0.126036
0.167496
0
0
0
0
0
0
0.01532
0.255187
964
51
73
18.901961
0.824513
0.071577
0
0.235294
0
0
0.003375
0
0
0
0
0
0
1
0.147059
false
0
0.117647
0.088235
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
2674b3c10e1e9d8ebf4b7b0491fb0687920f7025
3,119
py
Python
Python/maximal-rectangle.py
RideGreg/LeetCode
b70818b1e6947bf29519a24f78816e022ebab59e
[ "MIT" ]
1
2022-01-30T06:55:28.000Z
2022-01-30T06:55:28.000Z
Python/maximal-rectangle.py
RideGreg/LeetCode
b70818b1e6947bf29519a24f78816e022ebab59e
[ "MIT" ]
null
null
null
Python/maximal-rectangle.py
RideGreg/LeetCode
b70818b1e6947bf29519a24f78816e022ebab59e
[ "MIT" ]
1
2021-12-31T03:56:39.000Z
2021-12-31T03:56:39.000Z
# Time: O(m*n) # Space: O(n) # 85 # Given a 2D binary matrix filled with 0's and 1's, # find the largest rectangle containing all ones and return its area. # Ascending stack solution. class Solution(object): def maximalRectangle(self, matrix): # USE THIS """ :type matrix: List[List[str]] ...
31.505051
91
0.430907
404
3,119
3.306931
0.289604
0.01497
0.017964
0.024701
0.132485
0.124252
0.106287
0
0
0
0
0.054833
0.432831
3,119
98
92
31.826531
0.700396
0.175697
0
0.15942
0
0
0.018058
0
0
0
0
0
0
1
0.057971
false
0
0
0
0.15942
0.014493
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
2676b926254be1cabd4bc81bb9a3da1c42ddb39a
299
py
Python
Maximum_Increase.py
Milon34/Python_Learning
b24efbba4751ed51758bf6b907e71f384415a9d5
[ "MIT" ]
null
null
null
Maximum_Increase.py
Milon34/Python_Learning
b24efbba4751ed51758bf6b907e71f384415a9d5
[ "MIT" ]
null
null
null
Maximum_Increase.py
Milon34/Python_Learning
b24efbba4751ed51758bf6b907e71f384415a9d5
[ "MIT" ]
null
null
null
n=int(input()) a = [int(s) for s in input().split(' ')] increment=1 max_increment=1 for i in range(1,n): if a[i]>a[i-1]: increment=increment+1 else: max_increment=max(max_increment,increment) increment=1 max_increment=max(max_increment,increment) print(max_increment)
24.916667
50
0.672241
49
299
3.979592
0.326531
0.369231
0.133333
0.225641
0.369231
0.369231
0
0
0
0
0
0.02449
0.180602
299
12
51
24.916667
0.771429
0
0
0.333333
0
0
0.003333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
0
0
0
null
1
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
2
2676fe4e4181d8ea15429d8939404231084cca25
8,869
py
Python
makechart.py
preeve9534/signalk-sensor-log
7f6afd188b1ed95dad0b4d798f66d145a1f10978
[ "Apache-2.0" ]
null
null
null
makechart.py
preeve9534/signalk-sensor-log
7f6afd188b1ed95dad0b4d798f66d145a1f10978
[ "Apache-2.0" ]
null
null
null
makechart.py
preeve9534/signalk-sensor-log
7f6afd188b1ed95dad0b4d798f66d145a1f10978
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python from SocketServer import TCPServer, StreamRequestHandler import socket from subprocess import call import datetime import json import re import sys import os CONF = {} RRDTOOL = '/usr/bin/rrdtool' PERIODS = [] CHART_BACKGROUNDCOLOR = '#000000' CHART_CANVASCOLOR = '#000000' CHART_DIRECTORY = '/tmp/'...
49.272222
209
0.560379
945
8,869
5.184127
0.266667
0.040416
0.064299
0.071443
0.240661
0.203919
0.13513
0.013064
0.013064
0.013064
0
0.015808
0.258203
8,869
179
210
49.547486
0.728834
0.099673
0
0.05036
0
0
0.156376
0.00615
0
0
0
0
0
1
0.035971
false
0
0.064748
0
0.136691
0.007194
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
267701db0df3dc5669a6ef8609e548969a09888e
410
py
Python
way/python/exercises/various/turtle_draws/turtle_spiral_name.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
way/python/exercises/various/turtle_draws/turtle_spiral_name.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
way/python/exercises/various/turtle_draws/turtle_spiral_name.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
# цветная спираль из имени пользователя import turtle t = turtle.Pen() turtle.bgcolor("black") colors = ["red", "yellow", "blue", "green"] # gui text input name = turtle.textinput("Введи своё имя", "Как тебя зовут?") for x in range(100): t.pencolor(colors[x%4]) t.penup() t.forward(x*4) ...
22.777778
61
0.592683
61
410
3.983607
0.721311
0.024691
0.024691
0
0
0
0
0
0
0
0
0.028213
0.221951
410
17
62
24.117647
0.733542
0.126829
0
0
0
0
0.180473
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
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
26796efa4885d9b90f7bb3e4e595ebd4603db189
1,537
py
Python
config/base_config.py
xuyouze/DropNet
edbaeb72075b819b96e1ca66e966999a40d3645e
[ "Apache-2.0" ]
1
2021-06-28T06:27:06.000Z
2021-06-28T06:27:06.000Z
config/base_config.py
xuyouze/DropNet
edbaeb72075b819b96e1ca66e966999a40d3645e
[ "Apache-2.0" ]
null
null
null
config/base_config.py
xuyouze/DropNet
edbaeb72075b819b96e1ca66e966999a40d3645e
[ "Apache-2.0" ]
null
null
null
# coding:utf-8 # @Time : 2019/5/15 # @Author : xuyouze # @File Name : base_config.py import importlib import os import sys import torch import logging from .dataset_config import build_dataset_config from .logger_config import config __all__ = ["BaseConfig"] class BaseConfig(object): def __init...
23.646154
91
0.709824
206
1,537
5.092233
0.446602
0.073403
0.071497
0.034318
0
0
0
0
0
0
0
0.013503
0.180872
1,537
64
92
24.015625
0.819698
0.348081
0
0
0
0
0.066259
0
0
0
0
0
0
1
0.034483
false
0
0.241379
0
0.310345
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
267b0451a5289dfdcefad895acd9541e3d77721e
814
py
Python
test/test_utils.py
fact-project/ratescan
69a2eb8b2c66024f10e59d6dbf15c84c9b12ede4
[ "MIT" ]
null
null
null
test/test_utils.py
fact-project/ratescan
69a2eb8b2c66024f10e59d6dbf15c84c9b12ede4
[ "MIT" ]
null
null
null
test/test_utils.py
fact-project/ratescan
69a2eb8b2c66024f10e59d6dbf15c84c9b12ede4
[ "MIT" ]
null
null
null
from fact.io import read_data def test_sumupCountsOfRun(): from ratescan.utils import sumupCountsOfRun df = read_data("test/test.hdf5", key="ratescan") df_summed = sumupCountsOfRun(df) assert df_summed.run_id.unique() == 182 assert len(df_summed.ratescan_trigger_thresholds) == 1000 ...
29.071429
96
0.701474
95
814
5.821053
0.357895
0.057866
0.092224
0.124774
0.189873
0.189873
0.189873
0.189873
0.189873
0
0
0.033133
0.184275
814
27
97
30.148148
0.799699
0.219902
0
0.166667
0
0
0.140575
0.070288
0
0
0
0
0.25
1
0.166667
false
0
0.25
0
0.416667
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
267b7ae665db4a183786b0a16f0d7887f1bbb20e
4,080
py
Python
rbac/cli/cli_test_auth.py
shawnmckinney/py-fortress
ead12bf9b7e37e923c42ccdadd8fd3c5adf027cf
[ "Apache-2.0" ]
16
2018-03-19T02:19:01.000Z
2021-12-30T15:24:40.000Z
rbac/cli/cli_test_auth.py
shawnmckinney/py-fortress
ead12bf9b7e37e923c42ccdadd8fd3c5adf027cf
[ "Apache-2.0" ]
1
2021-12-18T16:46:04.000Z
2021-12-18T16:46:04.000Z
rbac/cli/cli_test_auth.py
shawnmckinney/py-fortress
ead12bf9b7e37e923c42ccdadd8fd3c5adf027cf
[ "Apache-2.0" ]
2
2018-03-14T21:48:43.000Z
2018-03-19T03:25:40.000Z
''' @copyright: 2022 - Symas Corporation ''' import sys import pickle import argparse from rbac.util import global_ids from rbac.model import Perm, User from rbac import access from rbac.util import RbacError from ..cli.utils import print_user, print_entity from rbac.cli.utils import ( load_entity, add_args, ADD,...
34.576271
132
0.554412
492
4,080
4.453252
0.23374
0.013692
0.046554
0.041077
0.262437
0.230032
0.219991
0.19078
0.157006
0.157006
0
0.001461
0.329167
4,080
118
133
34.576271
0.79905
0.014706
0
0.235294
0
0
0.100798
0
0
0
0
0
0
1
0.039216
false
0
0.088235
0
0.156863
0.186275
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
267b9ff6b529eb0367e6acbbd247f37b5d0c7a4d
1,678
py
Python
httprider/presenters/utility_functions_presenter.py
iSWORD/http-rider
5d9e5cc8c5166ab58f81d30d21b3ce2497bf09b9
[ "MIT" ]
27
2019-12-20T00:10:28.000Z
2022-03-09T18:04:23.000Z
httprider/presenters/utility_functions_presenter.py
iSWORD/http-rider
5d9e5cc8c5166ab58f81d30d21b3ce2497bf09b9
[ "MIT" ]
6
2019-10-13T08:50:21.000Z
2020-06-05T12:23:08.000Z
httprider/presenters/utility_functions_presenter.py
iSWORD/http-rider
5d9e5cc8c5166ab58f81d30d21b3ce2497bf09b9
[ "MIT" ]
7
2019-08-10T01:38:31.000Z
2021-08-23T05:28:46.000Z
from httprider.core.generators import utility_func_map class UtilityFunctionsPresenter: def __init__(self, view, parent): self.view = view self.parent = parent # update list of functions for f in utility_func_map.keys(): self.view.function_selector.addItem(f) ...
34.958333
78
0.6764
201
1,678
5.358209
0.333333
0.167131
0.089136
0.089136
0.264624
0.192201
0.192201
0.159703
0.159703
0.159703
0
0
0.234207
1,678
47
79
35.702128
0.838132
0.039928
0
0.111111
0
0
0.04291
0.014303
0
0
0
0
0
1
0.166667
false
0
0.027778
0
0.305556
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
267d4a279fad22068d75718ec410431f6a3cbe63
12,745
py
Python
ensembling_sgd.py
suswei/RLCT
e9e04ca5e64250dfbb94134ec5283286dcdc4358
[ "MIT" ]
null
null
null
ensembling_sgd.py
suswei/RLCT
e9e04ca5e64250dfbb94134ec5283286dcdc4358
[ "MIT" ]
null
null
null
ensembling_sgd.py
suswei/RLCT
e9e04ca5e64250dfbb94134ec5283286dcdc4358
[ "MIT" ]
null
null
null
import argparse import numpy as np import os from numpy.linalg import inv import torch import torch.nn as nn from torch.utils.data import TensorDataset import torch.optim as optim from torch.distributions.multivariate_normal import MultivariateNormal from torch.distributions.uniform import Uniform from torch.distribut...
42.342193
175
0.612475
1,824
12,745
4.134868
0.169408
0.014585
0.029303
0.007955
0.417396
0.376425
0.326704
0.267436
0.248077
0.223681
0
0.021021
0.242291
12,745
301
176
42.342193
0.759967
0.274696
0
0.243902
0
0
0.071265
0
0
0
0
0.003322
0
1
0.042683
false
0
0.073171
0
0.152439
0.036585
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
2681adb86e53921fccea1f698b21e0752d4e5ac6
1,764
py
Python
edge_server/script_server.py
Dspatharakis/alphabot-ppl
1f234548bf3fc7d447663f94cfa49591724563b0
[ "MIT" ]
null
null
null
edge_server/script_server.py
Dspatharakis/alphabot-ppl
1f234548bf3fc7d447663f94cfa49591724563b0
[ "MIT" ]
null
null
null
edge_server/script_server.py
Dspatharakis/alphabot-ppl
1f234548bf3fc7d447663f94cfa49591724563b0
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os import requests import json import time import sys import subprocess import csv import json import numpy as np def main(): start_time = time.time() post_url = "http://0.0.0.0:8000/cpu" mean_cpu = 0 counter = 0 s = 0.75 container_name = subprocess.check_output(["d...
34.588235
196
0.549887
224
1,764
4.15625
0.388393
0.06015
0.038668
0.03652
0
0
0
0
0
0
0
0.029925
0.318027
1,764
50
197
35.28
0.743973
0.098639
0
0.190476
0
0
0.136795
0.018366
0
0
0
0
0
0
null
null
0
0.214286
null
null
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2683c81a292c3d694af782d7d6d9714cc7c5d078
5,264
py
Python
madic/tests/test_io.py
dcroote/madic
fb00f312f5abc9f5a0bfc4a00a5a2e6e1c4ee563
[ "BSD-3-Clause" ]
2
2017-12-08T03:24:22.000Z
2017-12-13T10:22:09.000Z
madic/tests/test_io.py
dcroote/madic
fb00f312f5abc9f5a0bfc4a00a5a2e6e1c4ee563
[ "BSD-3-Clause" ]
null
null
null
madic/tests/test_io.py
dcroote/madic
fb00f312f5abc9f5a0bfc4a00a5a2e6e1c4ee563
[ "BSD-3-Clause" ]
null
null
null
import os import pandas as pd import numpy as np from pandas.testing import assert_series_equal from madic import io class TestChromatogramExpansion(object): def setup_method(self): # two rows of comma separated intensity chromatograms self.df = pd.DataFrame([['1,2,3,4,5,6,5,4,3,2,1'], ...
37.6
79
0.510448
588
5,264
4.360544
0.22449
0.096724
0.084243
0.056162
0.520281
0.450858
0.418097
0.297972
0.263651
0.24961
0
0.044237
0.347264
5,264
139
80
37.870504
0.701979
0.020327
0
0.23
0
0.01
0.148486
0.052407
0
0
0
0
0.11
1
0.08
false
0.08
0.05
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
1
0
0
0
0
0
1
2688264518d4b814e3d6dda29397dc244b099dd8
226
py
Python
plot.py
arthtyagi/makefile
d64c38ddad63c7f90dd23c26e3f398229aa7dfa4
[ "MIT" ]
null
null
null
plot.py
arthtyagi/makefile
d64c38ddad63c7f90dd23c26e3f398229aa7dfa4
[ "MIT" ]
null
null
null
plot.py
arthtyagi/makefile
d64c38ddad63c7f90dd23c26e3f398229aa7dfa4
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt x = [] y = [] with open('points') as f: for point in map(lambda x: x.split(), f.readlines()): x.append(int(point[0])) y.append(int(point[1])) plt.scatter(x, y) plt.show()
17.384615
57
0.588496
38
226
3.5
0.631579
0.030075
0.210526
0
0
0
0
0
0
0
0
0.011299
0.216814
226
12
58
18.833333
0.740113
0
0
0
0
0
0.026549
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2689410c8429db9fcdde4ffcfbc17820cb6d3055
509
py
Python
pos_debranding/__manifest__.py
jromeroarg/itpp-labs_pos-addons
ec688a1b06999dc2fa408623a79e93356bf900b3
[ "MIT" ]
null
null
null
pos_debranding/__manifest__.py
jromeroarg/itpp-labs_pos-addons
ec688a1b06999dc2fa408623a79e93356bf900b3
[ "MIT" ]
null
null
null
pos_debranding/__manifest__.py
jromeroarg/itpp-labs_pos-addons
ec688a1b06999dc2fa408623a79e93356bf900b3
[ "MIT" ]
1
2020-08-20T04:21:42.000Z
2020-08-20T04:21:42.000Z
# Copyright 2015-2018,2020 Ivan Yelizariev # License MIT (https://opensource.org/licenses/MIT). { "name": "POS debranding", "version": "13.0.1.0.0", "author": "IT-Projects LLC, Ivan Yelizariev", "license": "Other OSI approved licence", # MIT "category": "Debranding", "support": "help@itpp.dev",...
31.8125
52
0.624754
61
509
5.163934
0.770492
0.088889
0.133333
0
0
0
0
0
0
0
0
0.042654
0.170923
509
15
53
33.933333
0.703791
0.18664
0
0
0
0
0.639024
0.080488
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
268a1a32773db807fdd5256fd06cf225b0146c23
335
py
Python
drafts/vanish_explode_gradients/freeze_lower_layers.py
quanhua92/deeplearning_tutorials
32fec492ca21c248dd1fb234db0a95a532df3469
[ "MIT" ]
1
2017-07-06T13:00:36.000Z
2017-07-06T13:00:36.000Z
drafts/vanish_explode_gradients/freeze_lower_layers.py
quanhua92/deeplearning_tutorials
32fec492ca21c248dd1fb234db0a95a532df3469
[ "MIT" ]
null
null
null
drafts/vanish_explode_gradients/freeze_lower_layers.py
quanhua92/deeplearning_tutorials
32fec492ca21c248dd1fb234db0a95a532df3469
[ "MIT" ]
null
null
null
import tensorflow as tf # We will train all layers except hidden[12]. Therefore, Layers 1 and 2 are frozen train_vars = tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES, scope="hidden[34]|outputs") loss = None # Your loss is here train_op = tf.train.GradientDescentOptimizer(learning_rate=0.01).minimize(loss, var_l...
47.857143
100
0.79403
53
335
4.886792
0.773585
0.069498
0
0
0
0
0
0
0
0
0
0.030201
0.110448
335
7
100
47.857143
0.838926
0.292537
0
0
0
0
0.076596
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
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
0
0
0
0
0
0
0
1
268c51ed50d4a8d0b92613024c9ad4e9c61f0c83
371
py
Python
Statistics/PopulationMean.py
cadibemma/Statistical-Calculator
4135487577af9e17b51317e72d7b07c09390f3f6
[ "MIT" ]
1
2020-06-27T22:14:11.000Z
2020-06-27T22:14:11.000Z
Statistics/PopulationMean.py
cadibemma/Statistical-Calculator
4135487577af9e17b51317e72d7b07c09390f3f6
[ "MIT" ]
28
2020-06-28T15:03:56.000Z
2020-07-07T16:29:27.000Z
Statistics/PopulationMean.py
cadibemma/Statistical-Calculator
4135487577af9e17b51317e72d7b07c09390f3f6
[ "MIT" ]
1
2020-06-27T14:33:20.000Z
2020-06-27T14:33:20.000Z
# from Calculator.Addition import addition from Calculator.Division import division def populationmean(num): try: num_values = len(num) total = sum(num) return division(total, num_values) except ZeroDivisionError: print("Error: Enter values greater than 0") except ValueErro...
28.538462
51
0.684636
43
371
5.860465
0.627907
0.111111
0
0
0
0
0
0
0
0
0
0.003546
0.239892
371
13
52
28.538462
0.890071
0.107817
0
0
0
0
0.19697
0
0
0
0
0
0
1
0.1
false
0
0.1
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
268d50e291169e0e5fc4a8c8469d8e4d8109bcce
585
py
Python
code/app/configuration/configuration.py
WesleyAdriann/discord_bot_dota
8a2921ee548f2fc6066bf15e7aed6688037dd434
[ "MIT" ]
null
null
null
code/app/configuration/configuration.py
WesleyAdriann/discord_bot_dota
8a2921ee548f2fc6066bf15e7aed6688037dd434
[ "MIT" ]
null
null
null
code/app/configuration/configuration.py
WesleyAdriann/discord_bot_dota
8a2921ee548f2fc6066bf15e7aed6688037dd434
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os class Configuration: def __init__(self): self.DOTA_BUFF_BASE_URL = 'https://pt.dotabuff.com' self.HEROES = f'{self.DOTA_BUFF_BASE_URL}/heroes' self.HERO_COUNTERS = '/counters' self.HERO_COUNTERS_FULL = f'{self.DOTA_BUFF_BASE_URL}/hero-name/{self.H...
34.411765
93
0.676923
82
585
4.47561
0.402439
0.13079
0.217984
0.13079
0.414169
0.231608
0
0
0
0
0
0.002075
0.176068
585
16
94
36.5625
0.759336
0.035897
0
0
0
0
0.322638
0.237077
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.363636
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
268f327d0be7b5ea3314ce2aea07749bbbce81aa
908
py
Python
grpc_examples/sending_image/client.py
iwmq/coding_notes
8e406124bcd2dbf3228e945701e952c3a12025c6
[ "MIT" ]
null
null
null
grpc_examples/sending_image/client.py
iwmq/coding_notes
8e406124bcd2dbf3228e945701e952c3a12025c6
[ "MIT" ]
null
null
null
grpc_examples/sending_image/client.py
iwmq/coding_notes
8e406124bcd2dbf3228e945701e952c3a12025c6
[ "MIT" ]
null
null
null
""" The Python implementation of the GRPC image client. Modified from grpc/examples/python/helloworld/greeting_client.py. """ from __future__ import print_function import logging from io import BytesIO from PIL import Image import grpc import image_pb2 import image_pb2_grpc def run(): # NOTE(gRPC Python Team)...
25.222222
78
0.718062
124
908
5.08871
0.572581
0.050713
0.044374
0
0
0
0
0
0
0
0
0.01355
0.187225
908
35
79
25.942857
0.841463
0.305066
0
0
0
0
0.10306
0
0
0
0
0
0
1
0.05
false
0
0.35
0
0.4
0.1
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
26931376c81cc95ed098daf30d28fcc4518c0ee9
1,842
py
Python
bot/NFQ.py
cyber-meow/Robotic_state_repr_learning
d74fe372bea0b1cf42107450a8c3344a99279e91
[ "MIT" ]
null
null
null
bot/NFQ.py
cyber-meow/Robotic_state_repr_learning
d74fe372bea0b1cf42107450a8c3344a99279e91
[ "MIT" ]
null
null
null
bot/NFQ.py
cyber-meow/Robotic_state_repr_learning
d74fe372bea0b1cf42107450a8c3344a99279e91
[ "MIT" ]
null
null
null
import numpy as np from sklearn.neural_network import MLPRegressor from sklearn.exceptions import NotFittedError from inter.interfaces import QLearning from utility import set_all_args class NFQ(QLearning): gamma = 0.9 beta = 0.8 def __init__(self, **kwargs): self.mlp = MLPRegressor( ...
29.238095
76
0.58089
248
1,842
4.165323
0.370968
0.075508
0.058083
0.046467
0.162633
0.108422
0.108422
0.058083
0
0
0
0.016279
0.299674
1,842
62
77
29.709677
0.784496
0.01683
0
0.05
0
0
0.004484
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
26941f15190450548abb826ab5e7dae30c53951d
1,062
py
Python
database/chemprop/endpoint_acceptable_parameters.py
mshobair/invitro_cheminformatics
17201496c73453accd440646a1ee81726119a59c
[ "MIT" ]
null
null
null
database/chemprop/endpoint_acceptable_parameters.py
mshobair/invitro_cheminformatics
17201496c73453accd440646a1ee81726119a59c
[ "MIT" ]
null
null
null
database/chemprop/endpoint_acceptable_parameters.py
mshobair/invitro_cheminformatics
17201496c73453accd440646a1ee81726119a59c
[ "MIT" ]
null
null
null
import datetime from database.chemprop.endpoints import Endpoints from database.chemprop.parameters import Parameters from database.database_schemas import Schemas from sqlalchemy import Column, Integer, String, DateTime, ForeignKey from sqlalchemy.orm import relationship from database.base import Base class Endpoi...
37.928571
80
0.785311
122
1,062
6.639344
0.352459
0.080247
0.049383
0.081481
0.209877
0.209877
0.135802
0.135802
0.135802
0
0
0.006479
0.12806
1,062
27
81
39.333333
0.868251
0.063089
0
0
0
0
0.055612
0.030334
0
0
0
0
0
1
0
false
0
0.368421
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
1
0
1
0
0
2
13fa947a98ef38378e4092dccc8d0f5bf6aced03
2,009
py
Python
label_mapping.py
YoushaaMurhij/CenterPoint_Segmentation_Head
0610c1da18994f494a8609d983ffa21d62d7d876
[ "MIT" ]
null
null
null
label_mapping.py
YoushaaMurhij/CenterPoint_Segmentation_Head
0610c1da18994f494a8609d983ffa21d62d7d876
[ "MIT" ]
null
null
null
label_mapping.py
YoushaaMurhij/CenterPoint_Segmentation_Head
0610c1da18994f494a8609d983ffa21d62d7d876
[ "MIT" ]
null
null
null
label_name_mapping = { 0: "unlabeled", 1: "outlier", 10: "car", 11: "bicycle", 13: "bus", 15: "motorcycle", 16: "on-rails", 18: "truck", 20: "other-vehicle", 30: "person", 31: "bicyclist", 32: "motorcyclist", 40: "road", 44: "parking", 48: "sidewalk", 49: ...
14.992537
31
0.442509
279
2,009
3.172043
0.336918
0.040678
0.024859
0.00904
0
0
0
0
0
0
0
0.29595
0.360876
2,009
134
32
14.992537
0.393302
0.011448
0
0.030769
0
0
0.244568
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
13fb266bbbe1b42018ffaaf4a8dc92668ab6d95f
137
py
Python
src/__init__.py
gitlabbin/zookeeper-kazoo-barrier-snippet
2ab88fa3735b61dd9a94e0e0294e88a12c458ee3
[ "MIT" ]
null
null
null
src/__init__.py
gitlabbin/zookeeper-kazoo-barrier-snippet
2ab88fa3735b61dd9a94e0e0294e88a12c458ee3
[ "MIT" ]
null
null
null
src/__init__.py
gitlabbin/zookeeper-kazoo-barrier-snippet
2ab88fa3735b61dd9a94e0e0294e88a12c458ee3
[ "MIT" ]
null
null
null
#!/usr/bin/env python from __future__ import absolute_import def main(): import src.barrier if __name__ == '__main__': main()
13.7
38
0.693431
18
137
4.555556
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.189781
137
10
39
13.7
0.738739
0.145985
0
0
0
0
0.068376
0
0
0
0
0
0
1
0.2
true
0
0.4
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
13fca46c746999501de84f40b50ef047a4b2c610
295
py
Python
archives/02/tootle/tests/test_state.py
asmodehn/caerbannog
47bb1138190748041a4c0d02e522c0924a9af962
[ "MIT" ]
1
2019-01-22T20:57:45.000Z
2019-01-22T20:57:45.000Z
archives/03/footle/tests/test_state.py
asmodehn/functional-python
47bb1138190748041a4c0d02e522c0924a9af962
[ "MIT" ]
3
2019-03-14T17:33:39.000Z
2019-03-14T18:09:42.000Z
archives/03/footle/tests/test_state.py
asmodehn/caerbannog
47bb1138190748041a4c0d02e522c0924a9af962
[ "MIT" ]
null
null
null
from state import TurtleState # TODO : improve... but with useful things for illustrating the point... def test_move(distance): s = TurtleState() s.move(distance) def test_turn(angle): s = TurtleState() s.turn(angle) def test_random_path(): s = TurtleState # TODO
15.526316
72
0.671186
39
295
4.974359
0.589744
0.108247
0.134021
0
0
0
0
0
0
0
0
0
0.223729
295
18
73
16.388889
0.847162
0.254237
0
0.222222
0
0
0
0
0
0
0
0.055556
0
1
0.333333
false
0
0.111111
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
2
13fe23236e035adcc7cad3112d9cc94bfc4481fa
66,843
py
Python
TransitionListener/transitionFinder.py
tasicarl/TransitionListerner_public
b231467e731f51521a85dd962cc08da07eca8226
[ "MIT" ]
null
null
null
TransitionListener/transitionFinder.py
tasicarl/TransitionListerner_public
b231467e731f51521a85dd962cc08da07eca8226
[ "MIT" ]
null
null
null
TransitionListener/transitionFinder.py
tasicarl/TransitionListerner_public
b231467e731f51521a85dd962cc08da07eca8226
[ "MIT" ]
1
2021-11-04T08:12:10.000Z
2021-11-04T08:12:10.000Z
""" The transitionFinder module is used to calculate finite temperature cosmological phase transitions: it contains functions to find the phase structure as a function of temperature, and functions to find the transition (bubble nucleation) temperature for each phase. In contrast, :mod:`.pathDefomration` is useful for ...
40.412938
222
0.585536
8,823
66,843
4.345121
0.101326
0.016694
0.012416
0.005765
0.448131
0.399405
0.369878
0.349427
0.331481
0.317865
0
0.01561
0.319525
66,843
1,653
223
40.437387
0.82724
0.363658
0
0.455435
0
0.005435
0.07899
0.001087
0
0
0
0.00121
0.003261
1
0.042391
false
0.004348
0.009783
0.011957
0.105435
0.047826
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
13fecb8c46693f75faf20fe0071fb2ddb03a2ed2
3,720
py
Python
red-scare/instance-generators/make-words.py
Sebastian-ba/DoDoBing
6edcc18de22ad76505d2c13ac6a207a2c274cc95
[ "MIT" ]
3
2017-09-25T11:59:20.000Z
2017-11-20T12:55:21.000Z
red-scare/instance-generators/make-words.py
ITU-2019/DoDoBing
6edcc18de22ad76505d2c13ac6a207a2c274cc95
[ "MIT" ]
6
2017-09-25T12:04:51.000Z
2017-11-13T07:51:40.000Z
red-scare/instance-generators/make-words.py
ITU-2019/DoDoBing
6edcc18de22ad76505d2c13ac6a207a2c274cc95
[ "MIT" ]
null
null
null
import sys import random import networkx as nx from write_nx_graph import write_graph uncommons = set() # Everything except the 3300 common words in SGB f = open ('data/words.txt','r') words = [] for line in f: if len(line)>0 and line[0] == '*': continue word = line.strip()[:5] words.append(wo...
36.116505
109
0.470968
466
3,720
3.701717
0.244635
0.017391
0.02087
0.026087
0.295652
0.295652
0.190145
0.190145
0.144928
0.105507
0
0.052232
0.397849
3,720
102
110
36.470588
0.717857
0.044355
0
0.16092
0
0
0.04169
0
0
0
0
0
0
1
0.08046
false
0
0.045977
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
13ff78cbd83636d6edec29d58b60fdaa0be4d91a
7,490
py
Python
scripts/strelka-2.9.2.centos6_x86_64/share/scoringModelTraining/somatic/bin/vcf_to_feature_csv.py
dongxuemin666/RNA-combine
13e178aae585e16a9a8eda8151d0f34316de0475
[ "Apache-2.0" ]
7
2021-09-03T09:11:00.000Z
2022-02-14T15:02:12.000Z
scripts/strelka-2.9.2.centos6_x86_64/share/scoringModelTraining/somatic/bin/vcf_to_feature_csv.py
dongxuemin666/RNA-combine
13e178aae585e16a9a8eda8151d0f34316de0475
[ "Apache-2.0" ]
null
null
null
scripts/strelka-2.9.2.centos6_x86_64/share/scoringModelTraining/somatic/bin/vcf_to_feature_csv.py
dongxuemin666/RNA-combine
13e178aae585e16a9a8eda8151d0f34316de0475
[ "Apache-2.0" ]
2
2022-01-10T13:07:29.000Z
2022-01-11T22:14:11.000Z
#!/usr/bin/env python2 # # Strelka - Small Variant Caller # Copyright (c) 2009-2018 Illumina, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # at your...
41.153846
192
0.633111
887
7,490
5.290868
0.328072
0.028766
0.028979
0.012146
0.12508
0.066056
0.024292
0.024292
0.024292
0
0
0.004168
0.263284
7,490
181
193
41.381215
0.846321
0.242457
0
0.078431
0
0.019608
0.186
0.008
0
0
0
0
0
1
0.04902
false
0
0.068627
0
0.147059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cd0344b2d15b20e60fd3ab647958bb726ead940c
2,750
py
Python
qiskit_neko/backend_plugin.py
garrison/qiskit-neko
50c6f0f6975425c7ff86417cedc094e984dc5d1c
[ "Apache-2.0" ]
5
2022-01-11T16:07:48.000Z
2022-02-01T22:05:34.000Z
qiskit_neko/backend_plugin.py
garrison/qiskit-neko
50c6f0f6975425c7ff86417cedc094e984dc5d1c
[ "Apache-2.0" ]
1
2022-02-03T14:10:57.000Z
2022-02-03T14:10:57.000Z
qiskit_neko/backend_plugin.py
garrison/qiskit-neko
50c6f0f6975425c7ff86417cedc094e984dc5d1c
[ "Apache-2.0" ]
1
2022-03-07T15:06:21.000Z
2022-03-07T15:06:21.000Z
# This code is part of Qiskit. # # (C) Copyright IBM 2022. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
36.184211
87
0.704
378
2,750
5.039683
0.489418
0.041995
0.010499
0.025197
0.031496
0
0
0
0
0
0
0.003813
0.237091
2,750
75
88
36.666667
0.904194
0.626909
0
0
0
0
0.054176
0.030474
0
0
0
0
0
1
0.16
false
0.04
0.12
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cd037892f04f2a0ec86c850579b001591ee90f88
1,381
py
Python
libkol/request/clan_rumpus.py
danheath/pykol-lib
bdc9aa8dbae64ead07e7dbc36f9d6ba802f65ddc
[ "BSD-3-Clause" ]
6
2019-06-11T19:25:32.000Z
2022-01-21T17:05:01.000Z
libkol/request/clan_rumpus.py
danheath/pykol-lib
bdc9aa8dbae64ead07e7dbc36f9d6ba802f65ddc
[ "BSD-3-Clause" ]
8
2019-06-17T11:41:14.000Z
2019-08-07T17:28:50.000Z
libkol/request/clan_rumpus.py
python-kol/pykollib
bdc9aa8dbae64ead07e7dbc36f9d6ba802f65ddc
[ "BSD-3-Clause" ]
9
2019-06-09T22:23:06.000Z
2021-07-10T00:49:00.000Z
import re from enum import Enum from typing import List import libkol from .request import Request class Furniture(Enum): Nail = (1, 0) GirlsCalendar = (1, 1) BoyCalendar = (1, 2) Painting = (1, 3) MeatOrchid = (1, 4) Bookshelf = (2, 0) ArcaneTomes = (2, 1) SportsMemorabilia = (2, 2)...
23.40678
85
0.569153
175
1,381
4.405714
0.428571
0.005188
0
0
0
0
0
0
0
0
0
0.057201
0.291093
1,381
58
86
23.810345
0.730337
0
0
0
0
0
0.038378
0.017379
0
0
0
0
0
1
0.041667
false
0
0.104167
0.020833
0.75
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
cd03952161db20fd79bc08d5412273256911f00a
2,155
py
Python
utils/utils.py
ZhenqiSong/OCR_Pytorch
df4e8c53353b6c515509241d4c9af3b153224a10
[ "MIT" ]
null
null
null
utils/utils.py
ZhenqiSong/OCR_Pytorch
df4e8c53353b6c515509241d4c9af3b153224a10
[ "MIT" ]
null
null
null
utils/utils.py
ZhenqiSong/OCR_Pytorch
df4e8c53353b6c515509241d4c9af3b153224a10
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # __author__:Song Zhenqi # 2021-01-20 import os import sys import yaml import logging import functools logger_initialized = set() def get_img_list(img_file): img_lists = [] if img_file is None or not os.path.exists(img_file): raise FileNotFoundError("file path: {} is not exis...
27.278481
91
0.645476
283
2,155
4.75265
0.392226
0.057249
0.01487
0.022305
0
0
0
0
0
0
0
0.006687
0.236659
2,155
78
92
27.628205
0.810942
0.116937
0
0.065217
0
0
0.081932
0
0
0
0
0
0.021739
1
0.065217
false
0
0.108696
0
0.282609
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
cd0601891b2dad5746ac7c08ac9655b6e8d13ab9
2,130
py
Python
monitoring/uss_qualifier/webapp/tasks.py
interuss/InterUSS-Platform
099abaa1159c4c143f8f1fde6b88956c86608281
[ "Apache-2.0" ]
null
null
null
monitoring/uss_qualifier/webapp/tasks.py
interuss/InterUSS-Platform
099abaa1159c4c143f8f1fde6b88956c86608281
[ "Apache-2.0" ]
1
2021-11-29T21:53:39.000Z
2021-11-29T21:53:39.000Z
monitoring/uss_qualifier/webapp/tasks.py
interuss/InterUSS-Platform
099abaa1159c4c143f8f1fde6b88956c86608281
[ "Apache-2.0" ]
null
null
null
from monitoring.uss_qualifier.test_data import test_report from monitoring.uss_qualifier.utils import USSQualifierTestConfiguration from monitoring.uss_qualifier.main import uss_test_executor from monitoring.uss_qualifier.rid.simulator import flight_state_from_kml from monitoring.uss_qualifier.rid.utils import FullFlig...
30.869565
88
0.746948
269
2,130
5.628253
0.297398
0.064729
0.067371
0.103038
0.299207
0.280053
0.239102
0.187583
0.113606
0.113606
0
0.000575
0.184038
2,130
68
89
31.323529
0.870541
0.013615
0
0.172414
0
0
0
0
0
0
0
0
0
1
0.068966
false
0
0.224138
0
0.396552
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
cd06e20fb3a5b8f7301bbddc6604a232ac3d8294
11,853
py
Python
grenades_services/modules/basket.py
Parveen3300/Reans
6dfce046b01099284a8c945a04600ed83e5099a4
[ "Apache-2.0" ]
null
null
null
grenades_services/modules/basket.py
Parveen3300/Reans
6dfce046b01099284a8c945a04600ed83e5099a4
[ "Apache-2.0" ]
null
null
null
grenades_services/modules/basket.py
Parveen3300/Reans
6dfce046b01099284a8c945a04600ed83e5099a4
[ "Apache-2.0" ]
null
null
null
""" BasketManagementRelated modules """ # import basket models from basket.models import Basket from basket.models import BasketProductLine # import configuration models from grenades_services.all_configuration_data import get_currency_instance from grenades_services.all_configuration_data import get_customer_instance...
40.731959
114
0.651312
1,318
11,853
5.487102
0.127466
0.041482
0.042035
0.031803
0.390072
0.297566
0.256084
0.192754
0.157218
0.1362
0
0.009172
0.273349
11,853
290
115
40.872414
0.830489
0.2218
0
0.245714
0
0
0.069529
0.010821
0
0
0
0
0
1
0.091429
false
0
0.04
0
0.245714
0.022857
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
cd08e29c15d2756e6bc4a870585c434ad2c07d7a
2,935
py
Python
plots.py
klowrey/speed_arch
edb002b6d57915fa5e2024b36eb66acf30a7130a
[ "MIT" ]
null
null
null
plots.py
klowrey/speed_arch
edb002b6d57915fa5e2024b36eb66acf30a7130a
[ "MIT" ]
null
null
null
plots.py
klowrey/speed_arch
edb002b6d57915fa5e2024b36eb66acf30a7130a
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt acc = np.array([7.95549917, 7.46641684, 8.16141701, 8.80025005, 7.29208231, 7.73391724, 8.16333294, 9.02033329, 7.60566664, 7.88175011, 7.77574968, 8.79116631, 8.24524975, 8.98549938, 7.3717494 , 7.32324982, 8.14583302, 8.53608322, 9.301250...
56.442308
79
0.65247
415
2,935
4.614458
0.544578
0.007311
0
0
0
0
0
0
0
0
0
0.763809
0.173424
2,935
51
80
57.54902
0.025556
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.042553
0
0.042553
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
cd08e9d07146abb0712c59ab83d9a3d247ba38c2
27
py
Python
tool/klint/bpf/__init__.py
kylerky/klint
77be216ec3f4315a835b7bcdaef1b66ed3144603
[ "MIT" ]
2
2022-03-08T16:10:27.000Z
2022-03-11T14:14:04.000Z
tool/klint/bpf/__init__.py
kylerky/klint
77be216ec3f4315a835b7bcdaef1b66ed3144603
[ "MIT" ]
null
null
null
tool/klint/bpf/__init__.py
kylerky/klint
77be216ec3f4315a835b7bcdaef1b66ed3144603
[ "MIT" ]
1
2022-03-24T09:27:41.000Z
2022-03-24T09:27:41.000Z
""" BPF-related stuff. """
6.75
18
0.555556
3
27
5
1
0
0
0
0
0
0
0
0
0
0
0
0.148148
27
3
19
9
0.652174
0.666667
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
0
0
0
0
0
4
cd094ee5dcfd76a9bf766f06eb8cdcb0b8027094
4,485
py
Python
tests/test_geojson.py
geographika/mappyfile-geojson
9525bb840ae243a0f5072730f6432bf98dcacbe9
[ "MIT" ]
8
2018-08-08T06:47:38.000Z
2022-01-30T13:25:35.000Z
tests/test_geojson.py
geographika/mappyfile-geojson
9525bb840ae243a0f5072730f6432bf98dcacbe9
[ "MIT" ]
4
2020-09-24T05:28:19.000Z
2022-03-29T22:18:13.000Z
tests/test_geojson.py
geographika/mappyfile-geojson
9525bb840ae243a0f5072730f6432bf98dcacbe9
[ "MIT" ]
1
2018-08-08T06:47:42.000Z
2018-08-08T06:47:42.000Z
import os import json import geojson import mappyfile_geojson import mappyfile import pytest def get_geojson(fn): tests = os.path.dirname(os.path.realpath(__file__)) fn = os.path.join(tests, fn) with open(fn) as f: gj = geojson.load(f) return gj def test_point(): gj ...
19.933333
68
0.515942
595
4,485
3.818487
0.146218
0.019366
0.011884
0.088028
0.699824
0.679137
0.666373
0.652289
0.652289
0.605634
0
0.118935
0.388852
4,485
224
69
20.022321
0.70996
0.022965
0
0.753846
0
0
0.587913
0.010231
0
0
0
0
0.041026
1
0.051282
false
0
0.030769
0
0.087179
0.05641
0
0
0
null
0
0
0
0
0
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
2
cd0b619e6db23ae007998ba9f088e9c319778c9d
517
py
Python
230.py
BYOUINZAKA/LeetCodeNotes
48e1b4522c1f769eeec4944cfbd57abf1281d09a
[ "MIT" ]
null
null
null
230.py
BYOUINZAKA/LeetCodeNotes
48e1b4522c1f769eeec4944cfbd57abf1281d09a
[ "MIT" ]
null
null
null
230.py
BYOUINZAKA/LeetCodeNotes
48e1b4522c1f769eeec4944cfbd57abf1281d09a
[ "MIT" ]
null
null
null
''' @Author: Hata @Date: 2020-05-24 15:30:19 @LastEditors: Hata @LastEditTime: 2020-05-24 15:32:04 @FilePath: \LeetCode\230.py @Description: https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst/ ''' class Solution: def kthSmallest(self, root, k): def gen(r): if r is not None: ...
22.478261
77
0.558994
74
517
3.891892
0.702703
0.041667
0.055556
0.069444
0
0
0
0
0
0
0
0.086835
0.309478
517
22
78
23.5
0.719888
0.381044
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0
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
cd0c0c186a507173da38fb9c91812fd94be9043a
3,430
py
Python
Scripts/TestParsers/PyUnittestTestParser.py
davidbrownell/v3-Common_Environment
8f42f256e573cbd83cbf9813db9958025ddf12f2
[ "BSL-1.0" ]
null
null
null
Scripts/TestParsers/PyUnittestTestParser.py
davidbrownell/v3-Common_Environment
8f42f256e573cbd83cbf9813db9958025ddf12f2
[ "BSL-1.0" ]
1
2018-06-08T06:45:16.000Z
2018-06-08T06:45:16.000Z
Scripts/TestParsers/PyUnittestTestParser.py
davidbrownell/v3-Common_Environment
8f42f256e573cbd83cbf9813db9958025ddf12f2
[ "BSL-1.0" ]
1
2018-06-08T04:15:17.000Z
2018-06-08T04:15:17.000Z
# ---------------------------------------------------------------------- # | # | PythonUnittestTestParser.py # | # | David Brownell <db@DavidBrownell.com> # | 2018-05-22 07:59:46 # | # ---------------------------------------------------------------------- # | # | Copyright David Brownell 2018-22. # | ...
38.539326
159
0.473178
275
3,430
5.76
0.436364
0.035354
0.041667
0.015152
0
0
0
0
0
0
0
0.011725
0.229155
3,430
88
160
38.977273
0.587368
0.390379
0
0.159091
0
0
0.058465
0
0
0
0
0
0.022727
1
0.090909
false
0
0.204545
0.022727
0.590909
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
cd0c8d9af792a61f23cb21cb4b226023ec5c2f1f
7,116
py
Python
fairseq/models/transformer_xlm_iwslt_decoder.py
jm-glowienke/fairseq
ca45353322f92776e34a7308bf3fab75af9c1d50
[ "MIT" ]
null
null
null
fairseq/models/transformer_xlm_iwslt_decoder.py
jm-glowienke/fairseq
ca45353322f92776e34a7308bf3fab75af9c1d50
[ "MIT" ]
null
null
null
fairseq/models/transformer_xlm_iwslt_decoder.py
jm-glowienke/fairseq
ca45353322f92776e34a7308bf3fab75af9c1d50
[ "MIT" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import os from typing import Any, Dict from fairseq import checkpoint_utils from fairseq.data.legacy.masked_lm_dictionary import MaskedLMDict...
40.662857
82
0.647274
786
7,116
5.587786
0.221374
0.076958
0.104736
0.036885
0.331967
0.246585
0.203552
0.175546
0.153005
0.153005
0
0.003477
0.272485
7,116
174
83
40.896552
0.844891
0.210933
0
0.1
0
0
0.245443
0.067858
0
0
0
0
0.041667
1
0.058333
false
0
0.05
0.016667
0.166667
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
cd0d1977c612b5942005c2d4eceddb8039516a10
7,249
py
Python
test/unit/mysql_db_admin/process_request.py
mjpernot/mysql-mysql-db-admin
4821d6923155a48362869a6f2bf8c69fe3e533d4
[ "MIT" ]
null
null
null
test/unit/mysql_db_admin/process_request.py
mjpernot/mysql-mysql-db-admin
4821d6923155a48362869a6f2bf8c69fe3e533d4
[ "MIT" ]
null
null
null
test/unit/mysql_db_admin/process_request.py
mjpernot/mysql-mysql-db-admin
4821d6923155a48362869a6f2bf8c69fe3e533d4
[ "MIT" ]
null
null
null
#!/usr/bin/python # Classification (U) """Program: process_request.py Description: Unit testing of process_request in mysql_db_admin.py. Usage: test/unit/mysql_db_admin/process_request.py Arguments: """ # Libraries and Global Variables # Standard import sys import os if sys.version_info < ...
26.36
76
0.646986
943
7,249
4.586426
0.120891
0.058266
0.099884
0.099884
0.719306
0.69896
0.69896
0.69896
0.69896
0.69896
0
0.010353
0.253828
7,249
274
77
26.456204
0.78924
0.193682
0
0.638655
0
0
0.201939
0.182733
0
0
0
0
0.05042
1
0.07563
false
0.008403
0.067227
0
0.168067
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
cd0e89b4b693cd65319eaacf6298dcfed09dbd78
594
py
Python
fsttest/__init__.py
eddieantonio/fsttest
8ff71a9aa41a70a30832fa219b72e7478872c16f
[ "MIT" ]
null
null
null
fsttest/__init__.py
eddieantonio/fsttest
8ff71a9aa41a70a30832fa219b72e7478872c16f
[ "MIT" ]
1
2020-01-27T21:43:04.000Z
2020-01-28T15:57:05.000Z
fsttest/__init__.py
eddieantonio/fsttest
8ff71a9aa41a70a30832fa219b72e7478872c16f
[ "MIT" ]
1
2021-04-26T17:46:19.000Z
2021-04-26T17:46:19.000Z
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- """ FST test -- test your Foma finite-state transducers! """ from .__version__ import VERSION as __version__ from ._fst import FST from ._results import FailedTestResult, PassedTestResult, TestResults from ._run import execute_test_case, run_tests from ._test_case import...
22.846154
69
0.725589
62
594
6.580645
0.5
0.058824
0.073529
0.088235
0.112745
0
0
0
0
0
0
0.00404
0.166667
594
25
70
23.76
0.820202
0.161616
0
0
0
0
0.235174
0.047035
0
0
0
0
0
1
0
false
0.117647
0.352941
0
0.352941
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
0
0
0
2
cd0ff0154f3a2ed2059c34dae1964cf271d9a2e1
3,674
py
Python
analysis/sharpness.py
sanketvmehta/lifelong-learning-pretraining-and-sam
2fee18a4b13c918f6005f88c19089b86f4a8aae2
[ "Apache-2.0" ]
null
null
null
analysis/sharpness.py
sanketvmehta/lifelong-learning-pretraining-and-sam
2fee18a4b13c918f6005f88c19089b86f4a8aae2
[ "Apache-2.0" ]
null
null
null
analysis/sharpness.py
sanketvmehta/lifelong-learning-pretraining-and-sam
2fee18a4b13c918f6005f88c19089b86f4a8aae2
[ "Apache-2.0" ]
null
null
null
import copy import numpy as np import torch from scipy import optimize import logging def sharpness(model, criterion_fn, A, epsilon=1e-3, p=0, bounds=None): """Computes sharpness metric according to https://arxiv.org/abs/1609.04836. Args: model: Model on which to compute sharpness criterion_...
32.803571
80
0.631464
491
3,674
4.627291
0.285132
0.033891
0.008803
0.007923
0.194982
0.146127
0.146127
0.118838
0.051937
0.051937
0
0.013253
0.281165
3,674
111
81
33.099099
0.847028
0.311922
0
0.191781
0
0
0.018033
0
0
0
0
0
0
1
0.082192
false
0
0.068493
0
0.219178
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
cd10ef939588bc49c75df0d3a2c4ba2f987aa04b
1,164
py
Python
benchmark_runner.py
mamrehn/simplification
cb43ccadcbe011b89845142910d844b0bf7ca510
[ "MIT" ]
null
null
null
benchmark_runner.py
mamrehn/simplification
cb43ccadcbe011b89845142910d844b0bf7ca510
[ "MIT" ]
null
null
null
benchmark_runner.py
mamrehn/simplification
cb43ccadcbe011b89845142910d844b0bf7ca510
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Standalone benchmark runner """ import cProfile import pstats import profile import numpy as np print("Running Rust + Cython benchmarks") # calibrate pr = profile.Profile() calibration = np.mean([pr.calibrate(100000) for x in xrange(5)]) # add the bias profile.Profil...
35.272727
135
0.803265
160
1,164
5.58125
0.30625
0.167973
0.161254
0.194849
0.615901
0.615901
0.515118
0.483763
0
0
0
0.01012
0.066151
1,164
32
136
36.375
0.811408
0.079897
0
0
0
0
0.50283
0.416038
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0.277778
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
cd13a01142ccf63d717a89caf8e588ed9c337f8d
850
py
Python
D_QuickS.py
rut999/Algo
9180f66452597a758a31073cb2b8fa4a3e6a93fe
[ "MIT" ]
null
null
null
D_QuickS.py
rut999/Algo
9180f66452597a758a31073cb2b8fa4a3e6a93fe
[ "MIT" ]
null
null
null
D_QuickS.py
rut999/Algo
9180f66452597a758a31073cb2b8fa4a3e6a93fe
[ "MIT" ]
null
null
null
import time from random import randint def random_int(x): value = [] for i in range(x): value.append(randint(0, x)) return value def Quick_sort(list1): N = len(list1) if N <=1: return list1 pivot = list1.pop() # mid = len(list1)//2 Left_H = [] Right_H = [] for i...
22.368421
74
0.583529
134
850
3.58209
0.395522
0.09375
0.025
0.045833
0
0
0
0
0
0
0
0.106583
0.249412
850
37
75
22.972973
0.645768
0.272941
0
0
0
0
0
0
0
0
0
0
0
1
0.08
false
0
0.08
0
0.28
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
cd18f52d3cd9d807fe305ade001766cc89245405
1,929
py
Python
cride/circles/views/circles.py
LhernerRemon/Rider
30783cf58513698d23730f5fa477dfeddda8ee6b
[ "MIT" ]
null
null
null
cride/circles/views/circles.py
LhernerRemon/Rider
30783cf58513698d23730f5fa477dfeddda8ee6b
[ "MIT" ]
null
null
null
cride/circles/views/circles.py
LhernerRemon/Rider
30783cf58513698d23730f5fa477dfeddda8ee6b
[ "MIT" ]
null
null
null
#REST from rest_framework import viewsets,mixins from rest_framework.permissions import IsAuthenticated #Filters from rest_framework.filters import SearchFilter,OrderingFilter from django_filters.rest_framework import DjangoFilterBackend #Models, serializers from cride.circles.models import Circle,Membership from cri...
32.694915
83
0.690513
188
1,929
6.930851
0.452128
0.039908
0.03914
0.033768
0
0
0
0
0
0
0
0.00133
0.220321
1,929
59
84
32.694915
0.865027
0.086573
0
0
0
0
0.086455
0
0
0
0
0
0
1
0.075
false
0
0.175
0
0.525
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
cd18f82e759c1f805c2c156a96b2d6d4fe352c3d
780
py
Python
api/service/cidades_atendimento_service.py
FinotelliCarlos/ewipesimple-adminweb-python
3bf779250efeb9f85b4283ffbf210bf227aa8e8c
[ "MIT" ]
1
2021-06-17T06:13:33.000Z
2021-06-17T06:13:33.000Z
api/service/cidades_atendimento_service.py
FinotelliCarlos/ewipesimple-adminweb-python
3bf779250efeb9f85b4283ffbf210bf227aa8e8c
[ "MIT" ]
null
null
null
api/service/cidades_atendimento_service.py
FinotelliCarlos/ewipesimple-adminweb-python
3bf779250efeb9f85b4283ffbf210bf227aa8e8c
[ "MIT" ]
null
null
null
from adminweb.services import cep_service from adminweb.models import Profissional from rest_framework import serializers import json def listar_profissionais_cidade(cep): codigo_ibge = buscar_cidade_cep(cep)['ibge'] try: profissionais = Profissional.objects.filter(codigo_ibge=codigo_ibge).order_by('i...
32.5
91
0.75
96
780
5.895833
0.489583
0.063604
0.079505
0.095406
0.155477
0.155477
0
0
0
0
0
0.004658
0.174359
780
23
92
33.913043
0.874224
0
0
0
0
0
0.097436
0
0
0
0
0
0
1
0.105263
false
0
0.210526
0
0.473684
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
cd190e09b3c36d0f4700cf8693b8dfde027f164e
6,680
py
Python
초보를 위한 셀레니움/#1 Google Screenshots Scrapping/main.py
donddog/Nomad_Academy_Online_Course_Codes
391fde26052a67f7b533219ab0de6096830697b6
[ "MIT" ]
1
2021-02-11T16:45:22.000Z
2021-02-11T16:45:22.000Z
초보를 위한 셀레니움/#1 Google Screenshots Scrapping/main.py
donddog/Nomad_Academy_Online_Course_Codes
391fde26052a67f7b533219ab0de6096830697b6
[ "MIT" ]
null
null
null
초보를 위한 셀레니움/#1 Google Screenshots Scrapping/main.py
donddog/Nomad_Academy_Online_Course_Codes
391fde26052a67f7b533219ab0de6096830697b6
[ "MIT" ]
null
null
null
from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.support.ui import WebDriverWait import shutil import os class GoogleKeywordScreenshooter: def __init__(...
38.171429
107
0.572156
714
6,680
5.093838
0.166667
0.075612
0.082486
0.036294
0.675282
0.668683
0.668683
0.668683
0.668683
0.668683
0
0.006169
0.223503
6,680
175
108
38.171429
0.695007
0.117814
0
0.458333
0
0
0.182071
0.143155
0
0
0
0
0
1
0.041667
false
0.016667
0.058333
0
0.108333
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
cd1a66acf2cfd6c3c481c4c94e53d436215cbbe7
9,414
py
Python
omicron/core/numpy_extensions.py
evimacs/omicron
abe77fd25a93cf3d0d17661ae957373474724535
[ "MIT" ]
4
2020-11-09T02:23:51.000Z
2021-01-24T00:45:21.000Z
omicron/core/numpy_extensions.py
evimacs/omicron
abe77fd25a93cf3d0d17661ae957373474724535
[ "MIT" ]
14
2020-11-09T02:31:34.000Z
2021-12-22T10:15:47.000Z
omicron/core/numpy_extensions.py
evimacs/omicron
abe77fd25a93cf3d0d17661ae957373474724535
[ "MIT" ]
2
2021-01-24T00:45:25.000Z
2021-12-24T06:18:37.000Z
"""Extension function related to numpy """ from __future__ import annotations from typing import List, Tuple import numpy as np import pandas from numpy.typing import ArrayLike def dict_to_numpy_array(d: dict, dtype: List[Tuple]) -> np.array: """convert dictionary to numpy array Examples: >>> d = {"aa...
26.222841
161
0.546633
1,247
9,414
4.054531
0.256616
0.019383
0.010878
0.008307
0.109573
0.074367
0.050633
0.041535
0.018196
0
0
0.060505
0.297748
9,414
358
162
26.296089
0.704281
0.504143
0
0.086207
0
0.008621
0.030966
0
0
0
0
0
0
1
0.086207
false
0
0.043103
0.008621
0.241379
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
cd1bfaec0e66cc493fec447100454ceabadeff14
838
py
Python
pepy/domain/read_model.py
daghan/pepy
11e15e0a7af922cf72647dde95b6cc26760ee8ab
[ "MIT" ]
null
null
null
pepy/domain/read_model.py
daghan/pepy
11e15e0a7af922cf72647dde95b6cc26760ee8ab
[ "MIT" ]
null
null
null
pepy/domain/read_model.py
daghan/pepy
11e15e0a7af922cf72647dde95b6cc26760ee8ab
[ "MIT" ]
null
null
null
from datetime import date from typing import List from attr import attrs, attrib @attrs() class ProjectListProjection: name: str = attrib() total_downloads: int = attrib() @attrs() class DownloadProjection: date: date = attrib() downloads: int = attrib() @attrs() class ProjectProjection: name...
22.052632
85
0.657518
97
838
5.546392
0.319588
0.104089
0.089219
0.066915
0.618959
0.438662
0.297398
0.163569
0.163569
0.163569
0
0.012862
0.257757
838
37
86
22.648649
0.85209
0.031026
0
0.535714
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0.107143
0
0.607143
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
cd1c390db89d68211aa13e58ba3a2a89676c5247
3,039
py
Python
finetuning/pretrain_scripts/create_sentiment_mask.py
tatsu-lab/mlm_inductive_bias
2d99e2477293036949ba356c88513729244dc1f9
[ "MIT" ]
10
2021-04-14T22:06:19.000Z
2022-01-12T19:41:12.000Z
finetuning/pretrain_scripts/create_sentiment_mask.py
tatsu-lab/mlm_inductive_bias
2d99e2477293036949ba356c88513729244dc1f9
[ "MIT" ]
null
null
null
finetuning/pretrain_scripts/create_sentiment_mask.py
tatsu-lab/mlm_inductive_bias
2d99e2477293036949ba356c88513729244dc1f9
[ "MIT" ]
3
2021-06-06T09:43:14.000Z
2022-02-20T00:40:42.000Z
""" This script computes word masks based on sentiment lexicons """ import os import torch import argparse from tqdm import tqdm from transformers import AutoTokenizer from transformers import GlueDataTrainingArguments as DataTrainingArguments from transformers import GlueDataset as Dataset parser = argparse.Argumen...
37.518519
136
0.66535
422
3,039
4.646919
0.329384
0.039266
0.034676
0.028557
0.237634
0.216216
0.18562
0.163182
0.163182
0.163182
0
0.009595
0.211254
3,039
80
137
37.9875
0.808511
0.080948
0
0.105263
0
0.017544
0.202805
0.055016
0
0
0
0
0
1
0
false
0
0.122807
0
0.122807
0.035088
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
cd1f80834765c75ab8a5bfc49335f1d5e1f2a008
456
py
Python
Leetcode/443. String Compression/solution2.py
asanoviskhak/Outtalent
c500e8ad498f76d57eb87a9776a04af7bdda913d
[ "MIT" ]
51
2020-07-12T21:27:47.000Z
2022-02-11T19:25:36.000Z
Leetcode/443. String Compression/solution2.py
CrazySquirrel/Outtalent
8a10b23335d8e9f080e5c39715b38bcc2916ff00
[ "MIT" ]
null
null
null
Leetcode/443. String Compression/solution2.py
CrazySquirrel/Outtalent
8a10b23335d8e9f080e5c39715b38bcc2916ff00
[ "MIT" ]
32
2020-07-27T13:54:24.000Z
2021-12-25T18:12:50.000Z
class Solution: def compress(self, chars: List[str]) -> int: l = 0 while l < len(chars): r = l + 1 while r < len(chars) and chars[l] == chars[r]: r += 1 num = r - l for k in range(r - l, 1, -1): chars.pop(l) if num > 1: for ...
32.571429
75
0.41886
68
456
2.808824
0.411765
0.125654
0.031414
0
0
0
0
0
0
0
0
0.03125
0.438596
456
13
76
35.076923
0.714844
0
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
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
cd26104c6eb130ab45214eda4f1934869ef8a4f2
3,524
py
Python
src/data_reader.py
jazzsewera/mops-projekt
75924546eb73c266ba81e8e22c68ad939dea19d6
[ "MIT" ]
null
null
null
src/data_reader.py
jazzsewera/mops-projekt
75924546eb73c266ba81e8e22c68ad939dea19d6
[ "MIT" ]
null
null
null
src/data_reader.py
jazzsewera/mops-projekt
75924546eb73c266ba81e8e22c68ad939dea19d6
[ "MIT" ]
null
null
null
from logger import Logger from numpy import average log = Logger(None) def show_queue_length_average(number_of_packets): timestamps = [] vals = [] if len(number_of_packets) == 0: log.info(f"Average number of packets: NO DATA") return 0 for k, v in number_of_packets.items(): ...
24.136986
86
0.638763
535
3,524
3.970093
0.106542
0.134652
0.060264
0.112994
0.842279
0.824388
0.767891
0.739642
0.739642
0.706686
0
0.015203
0.253405
3,524
145
87
24.303448
0.792094
0
0
0.65
0
0
0.124574
0
0
0
0
0
0
1
0.07
false
0
0.02
0
0.25
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
cd2798a9ad4d90fcc9bb40c5df39c9d1117edd80
5,946
py
Python
fetch.py
kirillvarn/grocerycomparator-stat
861f90a2d5b4c2b52d89b6cdb574b722eae2327d
[ "MIT" ]
null
null
null
fetch.py
kirillvarn/grocerycomparator-stat
861f90a2d5b4c2b52d89b6cdb574b722eae2327d
[ "MIT" ]
null
null
null
fetch.py
kirillvarn/grocerycomparator-stat
861f90a2d5b4c2b52d89b6cdb574b722eae2327d
[ "MIT" ]
null
null
null
import repo import export.csv as csv # CONSTANTS milk_q = "SELECT * FROM \"%s\" WHERE price != 0 AND discount = false AND (name ILIKE '%%1l%%' OR name ILIKE '%%1 l%%') AND (name ILIKE '%%piim %%' OR name ILIKE '%%piim,%%') AND name NOT ILIKE '%%juust%%' AND name NOT ILIKE '%%kohupiim%%' AND name NOT ILIKE '%%laktoos%%...
58.871287
365
0.601245
835
5,946
4.209581
0.189222
0.101565
0.085349
0.123755
0.433855
0.407112
0.388336
0.388336
0.374964
0.336558
0
0.006888
0.218634
5,946
100
366
59.46
0.749677
0.235452
0
0.133333
0
0.183333
0.581251
0.014592
0
0
0
0
0
1
0.083333
false
0
0.033333
0.016667
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
cd27a3a7d166518d8d7678101792de0e23b578ef
1,755
py
Python
code1.py
roshangol/executed-path-visualize
1759c12b0048fe117205990b151d2f5f57ad9616
[ "MIT" ]
null
null
null
code1.py
roshangol/executed-path-visualize
1759c12b0048fe117205990b151d2f5f57ad9616
[ "MIT" ]
null
null
null
code1.py
roshangol/executed-path-visualize
1759c12b0048fe117205990b151d2f5f57ad9616
[ "MIT" ]
null
null
null
# EX1 # if x < y: # y = 0 # x = x + 1 # else: # x = y def max(a, b, c): if a > b and a > c: print(a,' is maximum among all') elif b > a and b > c: print(b, ' is maximum among all') else: print(c, ' is maximum among all') max(30, 28, 18) # def triangleType(a, b, c): # ...
16.25
66
0.4
275
1,755
2.552727
0.254545
0.02849
0.017094
0.07265
0.153846
0.133903
0.133903
0.133903
0.037037
0
0
0.054795
0.417664
1,755
107
67
16.401869
0.632094
0.773219
0
0
0
0
0.198113
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.375
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
cd28f531641b97aa10ded06e3c6b7fdb2de0d2e7
1,193
py
Python
GameProject/dice.py
CreativeUsernameThatWontInsultAnyone/GameProject
998274e4587d93ff0564af174f4fc1e3a3e60174
[ "CC0-1.0" ]
1
2021-11-13T17:14:03.000Z
2021-11-13T17:14:03.000Z
GameProject/dice.py
CreativeUsernameThatWontInsultAnyone/GameProject
998274e4587d93ff0564af174f4fc1e3a3e60174
[ "CC0-1.0" ]
null
null
null
GameProject/dice.py
CreativeUsernameThatWontInsultAnyone/GameProject
998274e4587d93ff0564af174f4fc1e3a3e60174
[ "CC0-1.0" ]
null
null
null
import random import time while (1): def clear(): ##Placeholder code time.sleep(1) clearConsole = lambda: print('\n' * 150) ## clearConsole() wmsg = "Good morning!" events = { 1 : "calm", 2 : "calm", 3...
28.404762
105
0.506287
144
1,193
4.194444
0.583333
0.044702
0.009934
0.013245
0.019868
0.019868
0
0
0
0
0
0.033467
0.373847
1,193
41
106
29.097561
0.7751
0.198659
0
0.09375
0
0
0.184939
0
0
0
0
0
0
1
0.03125
false
0
0.0625
0
0.09375
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
cd2c1598eaae27b2b8504f6e96bc81711b260dde
774
py
Python
multivision/oa_image_io.py
olaals/tpktools
50416ca554809e3d2f364b25531c78cf4751311c
[ "MIT" ]
null
null
null
multivision/oa_image_io.py
olaals/tpktools
50416ca554809e3d2f364b25531c78cf4751311c
[ "MIT" ]
null
null
null
multivision/oa_image_io.py
olaals/tpktools
50416ca554809e3d2f364b25531c78cf4751311c
[ "MIT" ]
null
null
null
import numpy as np import OpenEXR as exr import cv2 import Imath import matplotlib.pyplot as plt def readEXR(filename): exrfile = exr.InputFile(filename) header = exrfile.header() dw = header['dataWindow'] isize = (dw.max.y - dw.min.y + 1, dw.max.x - dw.min.x + 1) channelData = dict() # conver...
29.769231
90
0.630491
114
774
4.280702
0.5
0.018443
0.02459
0
0
0
0
0
0
0
0
0.009967
0.222222
774
25
91
30.96
0.800664
0.063307
0
0
0
0
0.047157
0
0
0
0
0
0
1
0.052632
false
0
0.263158
0
0.368421
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
cd314573d937025d1a50953b27cb47b89f485e85
2,972
py
Python
yggdrasil/serialize/FunctionalSerialize.py
astro-friedel/yggdrasil
5ecbfd083240965c20c502b4795b6dc93d94b020
[ "BSD-3-Clause" ]
22
2019-02-05T15:20:07.000Z
2022-02-25T09:00:40.000Z
yggdrasil/serialize/FunctionalSerialize.py
astro-friedel/yggdrasil
5ecbfd083240965c20c502b4795b6dc93d94b020
[ "BSD-3-Clause" ]
48
2019-02-15T20:41:24.000Z
2022-03-16T20:52:02.000Z
yggdrasil/serialize/FunctionalSerialize.py
astro-friedel/yggdrasil
5ecbfd083240965c20c502b4795b6dc93d94b020
[ "BSD-3-Clause" ]
16
2019-04-27T03:36:40.000Z
2021-12-02T09:47:06.000Z
from yggdrasil.serialize.SerializeBase import SerializeBase class FunctionalSerialize(SerializeBase): r"""Class for serializing/deserializing a Python object into/from a bytes message using defined functions. Args: encoded_datatype (schema, optional): JSON schema describing the type t...
43.072464
84
0.654778
320
2,972
5.9125
0.365625
0.063425
0.020613
0.027484
0.15222
0.095137
0
0
0
0
0
0
0.265814
2,972
68
85
43.705882
0.867094
0.532974
0
0.071429
0
0
0.236985
0
0
0
0
0.014706
0
1
0.107143
false
0
0.035714
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
cd3156dd0e4a0a15e50945d8d1d506c7eefae69c
2,046
py
Python
wordy_chat.py
thecodingchannel/wordy-discord-bot-tutorial
be70d237abcb302b6516f985ae900c61b598296a
[ "Apache-2.0" ]
null
null
null
wordy_chat.py
thecodingchannel/wordy-discord-bot-tutorial
be70d237abcb302b6516f985ae900c61b598296a
[ "Apache-2.0" ]
null
null
null
wordy_chat.py
thecodingchannel/wordy-discord-bot-tutorial
be70d237abcb302b6516f985ae900c61b598296a
[ "Apache-2.0" ]
1
2022-03-09T04:55:56.000Z
2022-03-09T04:55:56.000Z
''' This file is the glue between the Discord bot and the game logic. ''' from wordle_logic import evaluate_guess, generate_new_word from wordy_types import ActiveGame, EndResult, LetterState def begin_game() -> ActiveGame: """ Begin a game for a user. """ # Select a word answer = ge...
26.230769
86
0.608504
244
2,046
5.098361
0.319672
0.057878
0.064309
0.057878
0.220257
0.220257
0.115756
0.115756
0.115756
0
0
0.00263
0.256598
2,046
77
87
26.571429
0.800789
0.401271
0
0.083333
1
0
0.002956
0
0
0
0
0
0
1
0.125
false
0
0.083333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cd318b68f4231a08be74b1a2c64d0b4969b29c51
2,422
py
Python
NNet/utils/readNNet.py
noyahoch/Marabou
03eb551498287e5372d462e3c2ad4fcc3210a5fa
[ "BSD-3-Clause" ]
7
2020-01-27T21:25:49.000Z
2022-01-07T04:37:37.000Z
NNet/utils/readNNet.py
noyahoch/Marabou
03eb551498287e5372d462e3c2ad4fcc3210a5fa
[ "BSD-3-Clause" ]
1
2022-01-25T17:41:54.000Z
2022-01-26T02:27:51.000Z
NNet/utils/readNNet.py
noyahoch/Marabou
03eb551498287e5372d462e3c2ad4fcc3210a5fa
[ "BSD-3-Clause" ]
3
2020-03-14T17:12:17.000Z
2022-03-16T09:50:46.000Z
import numpy as np def readNNet(nnetFile, withNorm=False): ''' Read a .nnet file and return list of weight matrices and bias vectors Inputs: nnetFile: (string) .nnet file to read withNorm: (bool) If true, return normalization parameters Returns: weights: List of ...
27.83908
103
0.562758
311
2,422
4.382637
0.282958
0.040352
0.104916
0.061629
0.289068
0.242113
0.22157
0.200293
0.153338
0.088041
0
0.015449
0.30512
2,422
87
104
27.83908
0.794415
0.251858
0
0.480769
0
0
0.009665
0
0
0
0
0
0
1
0.019231
false
0
0.019231
0
0.076923
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
cd336f08882633e139c7b8cf8e6bbf9503123d24
13,668
py
Python
models/model.py
hearai/hearai
2f2bc2923fa2bb170d9ed895c3f638e99811442f
[ "MIT" ]
16
2021-12-16T20:19:31.000Z
2022-03-19T15:59:23.000Z
models/model.py
hearai/hearai
2f2bc2923fa2bb170d9ed895c3f638e99811442f
[ "MIT" ]
34
2021-12-21T19:33:31.000Z
2022-03-31T19:04:39.000Z
models/model.py
hearai/hearai
2f2bc2923fa2bb170d9ed895c3f638e99811442f
[ "MIT" ]
5
2021-12-18T22:35:20.000Z
2022-02-20T12:26:39.000Z
from typing import Dict import neptune.new as neptune import numpy as np import pytorch_lightning as pl import torch import torch.nn as nn from config import NEPTUNE_API_TOKEN, NEPTUNE_PROJECT_NAME from sklearn.metrics import classification_report, f1_score from utils.summary_loss import SummaryLoss from math import c...
41.92638
136
0.592479
1,382
13,668
5.591896
0.194645
0.05823
0.054089
0.033644
0.273163
0.178571
0.149068
0.104296
0.059006
0.059006
0
0.003993
0.321993
13,668
325
137
42.055385
0.829934
0.156277
0
0.138655
0
0
0.071023
0.013938
0
0
0
0
0
1
0.054622
false
0
0.063025
0.004202
0.155462
0.012605
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
cd33abe036b992ac7ac194a0541c5439617437c4
2,305
py
Python
solutions/day09/solution.py
dbjohnson/advent-of-code-2021
2ed1d30362afa0a73c890730cea46de3291be21f
[ "MIT" ]
null
null
null
solutions/day09/solution.py
dbjohnson/advent-of-code-2021
2ed1d30362afa0a73c890730cea46de3291be21f
[ "MIT" ]
null
null
null
solutions/day09/solution.py
dbjohnson/advent-of-code-2021
2ed1d30362afa0a73c890730cea46de3291be21f
[ "MIT" ]
null
null
null
from functools import lru_cache from collections import defaultdict import pandas as pd import numpy as np with open('input.txt') as fh: depthmap = pd.DataFrame([{ 'row': row, 'col': col, 'height': int(d) } for row, line in enumerate(fh) for col, d in enumerate(line.str...
21.342593
67
0.516269
296
2,305
3.966216
0.331081
0.061329
0.044293
0.07155
0.205281
0.15247
0.109881
0.083475
0.056218
0
0
0.030619
0.334056
2,305
108
68
21.342593
0.734202
0.106291
0
0.223529
0
0
0.043372
0
0
0
0
0
0
1
0.011765
false
0
0.047059
0
0.082353
0.035294
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
cd3470135bfe7a2b8866c6a268c9e629dad7a8b7
3,467
py
Python
docs/conf.py
ocefpaf/pystac-client
ddf0e0566b2b1783a4d32d3d77f9f51b80270df3
[ "Apache-2.0" ]
52
2021-04-15T23:24:12.000Z
2022-03-09T23:02:27.000Z
docs/conf.py
ocefpaf/pystac-client
ddf0e0566b2b1783a4d32d3d77f9f51b80270df3
[ "Apache-2.0" ]
119
2021-04-13T11:42:01.000Z
2022-02-24T10:02:35.000Z
docs/conf.py
ocefpaf/pystac-client
ddf0e0566b2b1783a4d32d3d77f9f51b80270df3
[ "Apache-2.0" ]
14
2021-04-13T19:00:19.000Z
2022-02-23T09:17:30.000Z
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html import re import subprocess import sys from pathlib import Path # -- Path setup ------...
33.660194
97
0.654168
425
3,467
5.221176
0.48
0.024335
0.020279
0.01352
0.044164
0
0
0
0
0
0
0.003709
0.144505
3,467
102
98
33.990196
0.744437
0.496971
0
0
0
0
0.398949
0.03972
0
0
0
0.009804
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
cd358b914861d3a881968cfd805aae9c0f7bed42
1,345
py
Python
modules/lexer/token.py
DavidMacDonald11/sea-to-c-transpiler-python-based
20c41931346b13d4bf2a12e96037f44b1add8145
[ "MIT" ]
null
null
null
modules/lexer/token.py
DavidMacDonald11/sea-to-c-transpiler-python-based
20c41931346b13d4bf2a12e96037f44b1add8145
[ "MIT" ]
11
2021-04-22T13:09:34.000Z
2022-01-29T22:53:58.000Z
modules/lexer/token.py
DavidMacDonald11/sea-to-c-transpiler-python-based
20c41931346b13d4bf2a12e96037f44b1add8145
[ "MIT" ]
null
null
null
from .token_types import TT from .token_types import BadTT from .position import Position from .keywords import is_keyword from .keywords import keyword_declared_type from ..lexer import errors class Token: def __init__(self, token_type, value = None, position = None): self.type = token_type self.v...
33.625
80
0.665428
187
1,345
4.593583
0.219251
0.094296
0.048894
0.055879
0.17695
0.125728
0
0
0
0
0
0.002008
0.25948
1,345
39
81
34.487179
0.860442
0
0
0
0
0
0.017844
0
0
0
0
0
0
1
0.166667
false
0
0.2
0.066667
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
cd36eb6513428b0c0f981f91eaea0aa21154992a
689
py
Python
cb_scripts/nums_square_cube.py
christopher-burke/python-scripts
bdbea2456130e0958b6a6ab8d138f4f19b39b934
[ "MIT" ]
1
2022-02-05T06:39:05.000Z
2022-02-05T06:39:05.000Z
cb_scripts/nums_square_cube.py
christopher-burke/python-scripts
bdbea2456130e0958b6a6ab8d138f4f19b39b934
[ "MIT" ]
null
null
null
cb_scripts/nums_square_cube.py
christopher-burke/python-scripts
bdbea2456130e0958b6a6ab8d138f4f19b39b934
[ "MIT" ]
1
2021-06-10T22:04:35.000Z
2021-06-10T22:04:35.000Z
#!/usr/bin/env python3 """Squares and Cubes for a range of numbers. Given a start and end, calucate the Square x**2 and the Cube x**3 for all numbers. Example of generator and functools.partial. """ from functools import partial def power(base, exponent): """Raise a base to the exponent.""" return base *...
20.264706
63
0.651669
109
689
4.045872
0.458716
0.031746
0.090703
0
0
0
0
0
0
0
0
0.016514
0.208999
689
33
64
20.878788
0.792661
0.400581
0
0
0
0
0.09596
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0
0.333333
0.166667
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
cd36ecd76329e8d74ce6fdd1bc24ac05a02cc921
101
py
Python
Darlington/phase2/LIST/day 41 solution/qtn2.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
Darlington/phase2/LIST/day 41 solution/qtn2.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
Darlington/phase2/LIST/day 41 solution/qtn2.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
#program to find the index of an item in a specified list. num =[10, 30, 4, -6] print(num.index(30))
25.25
58
0.683168
21
101
3.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0.096386
0.178218
101
3
59
33.666667
0.73494
0.564356
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
0
0
0
0
0
1
0
3
cd36fd075f7cd95707b64e346e7a7db96e365eac
1,748
py
Python
mozdns/txt/tests.py
jlin/inventory
c098c98e570c3bf9fadfd811eb75e1213f6ea428
[ "BSD-3-Clause" ]
22
2015-01-16T01:36:32.000Z
2020-06-08T00:46:18.000Z
mozdns/txt/tests.py
jlin/inventory
c098c98e570c3bf9fadfd811eb75e1213f6ea428
[ "BSD-3-Clause" ]
8
2015-12-28T18:56:19.000Z
2019-04-01T17:33:48.000Z
mozdns/txt/tests.py
jlin/inventory
c098c98e570c3bf9fadfd811eb75e1213f6ea428
[ "BSD-3-Clause" ]
13
2015-01-13T20:56:22.000Z
2022-02-23T06:01:17.000Z
from django.test import TestCase from django.core.exceptions import ValidationError from mozdns.txt.models import TXT from mozdns.domain.models import Domain class TXTTests(TestCase): def setUp(self): self.o = Domain(name="org") self.o.save() self.o_e = Domain(name="oregonstate.org") ...
29.627119
69
0.587529
227
1,748
4.343612
0.242291
0.045639
0.085193
0.097363
0.44929
0.341785
0.341785
0.266734
0.266734
0.230223
0
0.005507
0.272883
1,748
58
70
30.137931
0.77026
0
0
0.229167
0
0
0.089817
0
0
0
0
0
0.145833
1
0.104167
false
0
0.083333
0
0.229167
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
cd39f1397ad328542fed8bb62d6c47dc4c191597
6,698
py
Python
xtesting/tests/unit/core/test_behaveframework.py
collivier/functest-xtesting
17739d718901a10f7ec0aaf9a6d53141294a347d
[ "Apache-2.0" ]
1
2020-05-15T12:58:58.000Z
2020-05-15T12:58:58.000Z
xtesting/tests/unit/core/test_behaveframework.py
collivier/functest-xtesting
17739d718901a10f7ec0aaf9a6d53141294a347d
[ "Apache-2.0" ]
null
null
null
xtesting/tests/unit/core/test_behaveframework.py
collivier/functest-xtesting
17739d718901a10f7ec0aaf9a6d53141294a347d
[ "Apache-2.0" ]
3
2018-02-28T15:55:14.000Z
2022-02-24T15:46:12.000Z
#!/usr/bin/env python # Copyright (c) 2019 Orange and others. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 """Define t...
37.418994
77
0.640042
823
6,698
4.985419
0.200486
0.083841
0.050695
0.048745
0.68389
0.637582
0.565684
0.516208
0.506702
0.418962
0
0.005939
0.220663
6,698
178
78
37.629213
0.780077
0.094357
0
0.453846
0
0
0.158331
0.069228
0
0
0
0
0.192308
1
0.146154
false
0.038462
0.038462
0
0.223077
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
cd3a28ba018f4c08dd5b0ec2fb2ba69c859e803c
963
py
Python
data/test/python/cd3a28ba018f4c08dd5b0ec2fb2ba69c859e803cdjango.py
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/test/python/cd3a28ba018f4c08dd5b0ec2fb2ba69c859e803cdjango.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/test/python/cd3a28ba018f4c08dd5b0ec2fb2ba69c859e803cdjango.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
# coding=utf-8 from fabric.api import env, run COMMAND_COLLECTSTATIC = 'collectstatic' COMMAND_SYNCDB = 'syncdb' COMMAND_MIGRATE = 'migrate' _default_command = '{python} {manage} {command}' _commands_list = { COMMAND_COLLECTSTATIC: 'yes yes | {python} {manage} {command}', COMMAND_MIGRATE: '{python} {manage} ...
24.075
67
0.677051
115
963
5.356522
0.33913
0.113636
0.097403
0.071429
0.107143
0
0
0
0
0
0
0.001302
0.202492
963
39
68
24.692308
0.800781
0.012461
0
0
0
0
0.14557
0
0
0
0
0
0
1
0.074074
false
0
0.037037
0
0.148148
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
cd3da08c421072d75aa5562437930fcd09889489
8,820
py
Python
commercialoperator/components/bookings/utils.py
wilsonc86/ledger
a60a681e547f37e4ac81cb93dffaf90aea8c8151
[ "Apache-2.0" ]
null
null
null
commercialoperator/components/bookings/utils.py
wilsonc86/ledger
a60a681e547f37e4ac81cb93dffaf90aea8c8151
[ "Apache-2.0" ]
null
null
null
commercialoperator/components/bookings/utils.py
wilsonc86/ledger
a60a681e547f37e4ac81cb93dffaf90aea8c8151
[ "Apache-2.0" ]
null
null
null
from django.http import HttpResponseRedirect from django.core.urlresolvers import reverse from django.conf import settings from django.core.exceptions import ValidationError from datetime import datetime, timedelta from commercialoperator.components.main.models import Park from commercialoperator.components.proposals....
40.090909
175
0.675057
1,098
8,820
5.176685
0.1949
0.027094
0.030084
0.039585
0.427692
0.378958
0.333216
0.32266
0.284835
0.262139
0
0.008164
0.222336
8,820
219
176
40.273973
0.820528
0.218367
0
0.228571
0
0
0.114567
0.006454
0
0
0
0
0
1
0.085714
false
0
0.1
0
0.242857
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
cd3eb5a68afae376fb0cdba9c6455dc19c74e74f
3,552
py
Python
src/application/models.py
Chitrank-Dixit/WikiG
74d99a16afc635a991c17de8d237eb4f6eccbe86
[ "CNRI-Python" ]
1
2015-11-05T03:51:44.000Z
2015-11-05T03:51:44.000Z
src/application/models.py
Chitrank-Dixit/WikiG
74d99a16afc635a991c17de8d237eb4f6eccbe86
[ "CNRI-Python" ]
null
null
null
src/application/models.py
Chitrank-Dixit/WikiG
74d99a16afc635a991c17de8d237eb4f6eccbe86
[ "CNRI-Python" ]
null
null
null
""" models.py App Engine datastore models Documentation: https://developers.google.com/appengine/docs/python/ndb/entities """ from google.appengine.ext import ndb from google.appengine.ext import blobstore from google.appengine.api import users import functools import flask from flaskext import login from flaskex...
23.368421
155
0.677928
498
3,552
4.646586
0.232932
0.051858
0.025929
0.031115
0.373379
0.288678
0.195333
0.195333
0.135696
0.135696
0
0.001702
0.17286
3,552
151
156
23.523179
0.785909
0.0808
0
0.236559
0
0
0.032988
0
0
0
0
0
0
1
0.236559
false
0
0.150538
0.16129
0.709677
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
1
0
0
0
2
cd3ebb35376a9ad6bb35907b043a70f74ff3d06d
2,488
py
Python
driver.py
Nobregaigor/Robot-path-tracking-and-obstacle-avoidance-simulation
23ab060316c5978724b3f109d851ea33206d0e10
[ "MIT" ]
6
2020-05-01T23:33:13.000Z
2021-12-18T08:13:50.000Z
driver.py
Nobregaigor/Robot-path-tracking-and-obstacle-avoidance-simulation--Python
23ab060316c5978724b3f109d851ea33206d0e10
[ "MIT" ]
null
null
null
driver.py
Nobregaigor/Robot-path-tracking-and-obstacle-avoidance-simulation--Python
23ab060316c5978724b3f109d851ea33206d0e10
[ "MIT" ]
2
2020-05-06T11:54:10.000Z
2020-07-30T01:58:06.000Z
import pygame import math import path_planning as pp class Driver(): def __init__(self, vehicle, path, settings): """ Driver """ #_______main objects references_______ #reference to driver vehicle object: self.vehicle = vehicle #creating a plan object: self.plan = p...
35.542857
123
0.63545
286
2,488
5.129371
0.293706
0.04499
0.057941
0.051806
0.132243
0.109066
0.06544
0.06544
0
0
0
0
0.268489
2,488
69
124
36.057971
0.806044
0.17283
0
0.069767
0
0
0.066532
0
0
0
0
0
0
1
0.116279
false
0
0.069767
0
0.325581
0.023256
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
cd423af6c5271daa0eac7f6a8ca5e2cf87ffc2fe
2,752
py
Python
test/test_api_v1_module.py
feizhihui/deepnlp
cc6647d65ec39aadd35e4a4748da92df5b79bd48
[ "MIT" ]
null
null
null
test/test_api_v1_module.py
feizhihui/deepnlp
cc6647d65ec39aadd35e4a4748da92df5b79bd48
[ "MIT" ]
null
null
null
test/test_api_v1_module.py
feizhihui/deepnlp
cc6647d65ec39aadd35e4a4748da92df5b79bd48
[ "MIT" ]
1
2019-05-13T14:24:15.000Z
2019-05-13T14:24:15.000Z
#coding:utf-8 ''' Demo for calling API of deepnlp.org web service Anonymous user of this package have limited access on the number of API calling 100/day Please Register and Login Your Account to deepnlp.org to get unlimited access to fully support api_service API module, now supports both windows and linux platforms. ...
38.222222
133
0.682776
418
2,752
4.370813
0.284689
0.021894
0.043788
0.035577
0.314176
0.296661
0.181719
0.059113
0.059113
0
0
0.014169
0.153706
2,752
71
134
38.760563
0.770288
0.306323
0
0.255319
0
0
0.211896
0
0.085106
0
0
0
0
1
0.021277
false
0
0.106383
0
0.148936
0.255319
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
cd448e3854b74fee56a6672cdae1ce1e148e593d
1,195
py
Python
spring_cloud/commons/client/loadbalancer/round_robin.py
haribo0915/Spring-Cloud-in-Python
0bcd7093869c797df14428bf2d1b0a779f96e573
[ "Apache-2.0" ]
5
2020-10-06T09:48:23.000Z
2020-10-07T13:19:46.000Z
spring_cloud/commons/client/loadbalancer/round_robin.py
haribo0915/Spring-Cloud-in-Python
0bcd7093869c797df14428bf2d1b0a779f96e573
[ "Apache-2.0" ]
5
2020-10-05T09:57:01.000Z
2020-10-12T19:52:48.000Z
spring_cloud/commons/client/loadbalancer/round_robin.py
haribo0915/Spring-Cloud-in-Python
0bcd7093869c797df14428bf2d1b0a779f96e573
[ "Apache-2.0" ]
8
2020-10-05T06:34:49.000Z
2020-10-07T13:19:46.000Z
# -*- coding: utf-8 -*- """ The built-in Round-Robin algorithm. """ # standard library from typing import Union # scip plugin from spring_cloud.commons.client.service_instance import ServiceInstance from spring_cloud.utils.atomic import AtomicInteger from .loadbalancer import LoadBalancer from .supplier import Servi...
30.641026
88
0.738075
134
1,195
6.276119
0.529851
0.074911
0.074911
0.042806
0
0
0
0
0
0
0
0.010081
0.169874
1,195
38
89
31.447368
0.837702
0.136402
0
0
0
0
0.069513
0.023833
0
0
0
0
0.05
1
0.15
false
0
0.25
0.05
0.55
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
cd46541bba89d45678808a7b911ed3c9f61dd510
4,245
py
Python
utils/dataset_utils.py
dpaiton/DeepSparseCoding
5ea01fa8770794df5e13743aa3f2d85297c27eb1
[ "MIT" ]
12
2017-04-27T17:19:31.000Z
2021-11-07T03:37:59.000Z
utils/dataset_utils.py
dpaiton/DeepSparseCoding
5ea01fa8770794df5e13743aa3f2d85297c27eb1
[ "MIT" ]
12
2018-03-21T01:16:25.000Z
2022-02-10T00:21:58.000Z
utils/dataset_utils.py
dpaiton/DeepSparseCoding
5ea01fa8770794df5e13743aa3f2d85297c27eb1
[ "MIT" ]
12
2017-02-01T19:49:57.000Z
2021-12-08T03:16:58.000Z
import os import sys import numpy as np import torch from torchvision import datasets, transforms ROOT_DIR = os.path.dirname(os.getcwd()) if ROOT_DIR not in sys.path: sys.path.append(ROOT_DIR) import DeepSparseCoding.utils.data_processing as dp import DeepSparseCoding.datasets.synthetic as synthetic class CustomTe...
42.878788
107
0.660306
518
4,245
5.169884
0.239382
0.033607
0.026139
0.034354
0.446229
0.43652
0.373413
0.348021
0.309186
0.309186
0
0.009786
0.229682
4,245
98
108
43.316327
0.809174
0.00636
0
0.280899
0
0
0.092527
0.020166
0
0
0
0
0.011236
1
0.044944
false
0
0.089888
0.022472
0.179775
0.022472
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
cd4856841cf209c6c31d8cf4b1d4a02e1669fe87
1,051
py
Python
adi_study_watch/nrf5_sdk_15.2.0/adi_study_watch/cli/m2m2/inc/master_definitions/led_interface.py
ArrowElectronics/Vital-Signs-Monitoring
ba43fe9a116d94170561433910fd7bffba5726e7
[ "Unlicense" ]
5
2021-06-13T17:11:19.000Z
2021-12-01T18:20:38.000Z
adi_study_watch/nrf5_sdk_15.2.0/adi_study_watch/cli/m2m2/inc/master_definitions/led_interface.py
ArrowElectronics/Vital-Signs-Monitoring
ba43fe9a116d94170561433910fd7bffba5726e7
[ "Unlicense" ]
null
null
null
adi_study_watch/nrf5_sdk_15.2.0/adi_study_watch/cli/m2m2/inc/master_definitions/led_interface.py
ArrowElectronics/Vital-Signs-Monitoring
ba43fe9a116d94170561433910fd7bffba5726e7
[ "Unlicense" ]
1
2022-01-08T15:01:44.000Z
2022-01-08T15:01:44.000Z
#!/usr/bin/env python3 from ctypes import * import m2m2_core class M2M2_LED_COMMAND_ENUM_t(c_uint8): M2M2_LED_COMMAND_GET = 0x0 M2M2_LED_COMMAND_SET = 0x1 class M2M2_LED_PATTERN_ENUM_t(c_uint8): M2M2_LED_PATTERN_OFF = 0x0 M2M2_LED_PATTERN_SLOW_BLINK_DC_12 = 0x1 M2M2_LED_PATTERN_SLOW_BLINK_DC_12_...
30.028571
53
0.726927
164
1,051
4.02439
0.29878
0.243939
0.254545
0.109091
0.525758
0.401515
0.163636
0
0
0
0
0.107358
0.211227
1,051
34
54
30.911765
0.688782
0.019981
0
0
0
0
0.040816
0
0
0
0.046647
0
0
1
0
false
0
0.074074
0
0.777778
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
cd485ea8847607e1b8262b17b33a7d95c7b05c48
2,327
py
Python
src/empirical_study.py
arshajithwolverine/Recommentation-System_KGNN-LS
82ad10633a56794bbc38dc7e6c40a3636c7d570a
[ "MIT" ]
133
2019-06-20T08:38:04.000Z
2022-03-30T07:57:14.000Z
src/empirical_study.py
piaofu110/KGNN-LS
3afd76361b623e9e38b822861c79bcd61dae41aa
[ "MIT" ]
10
2019-07-06T12:53:01.000Z
2021-11-10T12:58:50.000Z
src/empirical_study.py
piaofu110/KGNN-LS
3afd76361b623e9e38b822861c79bcd61dae41aa
[ "MIT" ]
40
2019-08-07T06:02:31.000Z
2022-01-05T15:19:29.000Z
import networkx as nx import numpy as np import argparse if __name__ == '__main__': np.random.seed(555) NUM = 10000 parser = argparse.ArgumentParser() parser.add_argument('-d', type=str, default='music') args = parser.parse_args() DATASET = args.d kg_np = np.load('../data/' + DATASET + '...
36.359375
104
0.621401
333
2,327
3.966967
0.231231
0.183195
0.099924
0.059046
0.558668
0.460257
0.440575
0.3838
0.3838
0.348221
0
0.023367
0.282768
2,327
63
105
36.936508
0.768125
0.010743
0
0.181818
0
0
0.033913
0
0
0
0
0
0
1
0
false
0
0.054545
0
0.054545
0.072727
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
cd48bacc37dd1b8304c3c30daa2f346ee7aa4309
6,317
py
Python
Survival_Pygame/data.py
Lily-Li828/effective-octo-fiesta
4dbfeaec6158141bb03005aa25240dd337694ee3
[ "Apache-2.0" ]
null
null
null
Survival_Pygame/data.py
Lily-Li828/effective-octo-fiesta
4dbfeaec6158141bb03005aa25240dd337694ee3
[ "Apache-2.0" ]
null
null
null
Survival_Pygame/data.py
Lily-Li828/effective-octo-fiesta
4dbfeaec6158141bb03005aa25240dd337694ee3
[ "Apache-2.0" ]
null
null
null
import pygame from pygame.locals import* from pygame import mixer pygame.init() # loading in background image backgroundClassic_image=pygame.image.load('image/WallPaper.png') backgroundAncient_image=pygame.image.load('image/WallPaper2.png') # loading in player image player_imageClassic=pygame.image....
54.930435
114
0.625139
1,949
6,317
2.012314
0.04823
0.630801
0.889597
1.139215
0.625956
0.556094
0.542325
0.539776
0.539776
0.539776
0
0.251042
0.05034
6,317
114
115
55.412281
0.402734
0.080735
0
0.236842
0
0
0.157737
0.011456
0
0
0
0
0
1
0
false
0
0.039474
0
0.039474
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
cd4c852bd50c3ecb65653b4479673255f18bc5fa
8,170
py
Python
test/filters_iso_test.py
todofixthis/filters-iso
da6052b49a2f71a3b3d6b66e2633debbb64f5b16
[ "MIT" ]
null
null
null
test/filters_iso_test.py
todofixthis/filters-iso
da6052b49a2f71a3b3d6b66e2633debbb64f5b16
[ "MIT" ]
null
null
null
test/filters_iso_test.py
todofixthis/filters-iso
da6052b49a2f71a3b3d6b66e2633debbb64f5b16
[ "MIT" ]
null
null
null
import filters as f from filters.test import BaseFilterTestCase # noinspection PyProtectedMember from iso3166 import Country, countries_by_alpha3 from language_tags import tags from language_tags.Tag import Tag from moneyed import Currency, get_currency class CountryTestCase(BaseFilterTestCase): filter_type = f.e...
31.914063
75
0.623745
968
8,170
5.144628
0.260331
0.028112
0.045181
0.060241
0.557028
0.482932
0.445984
0.445984
0.393775
0.393775
0
0.012643
0.273929
8,170
255
76
32.039216
0.826871
0.3153
0
0.373737
0
0.010101
0.071085
0.012215
0
0
0
0
0.434343
1
0.20202
false
0.252525
0.060606
0
0.323232
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
1
0
0
0
0
0
3
cd4d5dd7883050a254679a4b1f93de18a8465561
1,179
py
Python
datacamp-master/22-introduction-to-time-series-analysis-in-python/04-moving-average-ma-and-arma-models/08-equivalance-of-ar(1)-and-ma(infinity).py
vitthal10/datacamp
522d2b192656f7f6563bf6fc33471b048f1cf029
[ "MIT" ]
1
2020-06-11T01:32:36.000Z
2020-06-11T01:32:36.000Z
22-introduction-to-time-series-analysis-in-python/04-moving-average-ma-and-arma-models/08-equivalance-of-ar(1)-and-ma(infinity).py
AndreasFerox/DataCamp
41525d7252f574111f4929158da1498ee1e73a84
[ "MIT" ]
null
null
null
22-introduction-to-time-series-analysis-in-python/04-moving-average-ma-and-arma-models/08-equivalance-of-ar(1)-and-ma(infinity).py
AndreasFerox/DataCamp
41525d7252f574111f4929158da1498ee1e73a84
[ "MIT" ]
1
2021-08-08T05:09:52.000Z
2021-08-08T05:09:52.000Z
''' Equivalence of AR(1) and MA(infinity) To better understand the relationship between MA models and AR models, you will demonstrate that an AR(1) model is equivalent to an MA(∞ ∞ ) model with the appropriate parameters. You will simulate an MA model with parameters 0.8,0.82,0.83,… 0.8 , 0.8 2 , 0.8 3 , … for a lar...
19.983051
136
0.74894
220
1,179
4.040909
0.386364
0.024747
0.013498
0.022497
0.195726
0.195726
0.195726
0.170979
0.170979
0.146232
0
0.066124
0.166243
1,179
59
137
19.983051
0.824008
0.735369
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
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
cd4e4c3a86cc4a31b024c46ddddde1fa3e66e93b
3,752
py
Python
imutils.py
shimoda-uec/ssdd
564c3e08fae7a158516cdbd9f3599a74dc748aff
[ "MIT" ]
33
2019-11-05T07:15:36.000Z
2021-04-27T06:33:47.000Z
imutils.py
shimoda-uec/ssdd
564c3e08fae7a158516cdbd9f3599a74dc748aff
[ "MIT" ]
1
2019-11-18T13:02:40.000Z
2019-11-18T13:02:54.000Z
imutils.py
shimoda-uec/ssdd
564c3e08fae7a158516cdbd9f3599a74dc748aff
[ "MIT" ]
3
2019-11-25T11:00:39.000Z
2021-03-27T06:53:21.000Z
import PIL.Image import random import numpy as np import cv2 class RandomHorizontalFlip(): def __init__(self): return def __call__(self, inputs): if bool(random.getrandbits(1)): outputs=[] for inp in inputs: out = np.fliplr(inp).copy() ou...
32.068376
91
0.567697
502
3,752
4.035857
0.231076
0.047384
0.027147
0.033564
0.201382
0.158934
0.096742
0.096742
0.096742
0.061204
0
0.033487
0.307569
3,752
117
92
32.068376
0.746343
0.003998
0
0.265306
0
0
0
0
0
0
0
0
0
1
0.122449
false
0
0.061224
0.020408
0.326531
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
cd503144da89b34c7f7e0c6f7d30f63249106454
398
py
Python
dfmt/svg/run.py
wangrl2016/coding
fd6cd342cade42379c4a0447d83e17c6596fd3a3
[ "MIT" ]
4
2021-02-20T03:47:48.000Z
2021-11-09T17:25:43.000Z
dfmt/svg/run.py
wangrl2016/coding
fd6cd342cade42379c4a0447d83e17c6596fd3a3
[ "MIT" ]
null
null
null
dfmt/svg/run.py
wangrl2016/coding
fd6cd342cade42379c4a0447d83e17c6596fd3a3
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import os import subprocess if __name__ == '__main__': out_dir = 'out' if not os.path.exists(out_dir): os.mkdir(out_dir) subprocess.run(['cargo', 'build', '--release']) exe = 'target/release/svg' subprocess.run([exe, '-i', 'test/simple-text.svg', '-o', 'out/simple-t...
26.533333
93
0.585427
54
398
4.111111
0.574074
0.081081
0.117117
0
0
0
0
0
0
0
0
0.003165
0.20603
398
14
94
28.428571
0.699367
0.052764
0
0
0
0
0.335106
0
0
0
0
0
0
1
0
false
0
0.2
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
cd517441104b9bb84c95422e46c5a618c55415fc
79
py
Python
project/enums/string_types_enum.py
vinibiavatti1/PythonFlaskCms
e43a4db84d1f77a5f66b1f8fcb9dc96e05e6c023
[ "MIT" ]
null
null
null
project/enums/string_types_enum.py
vinibiavatti1/PythonFlaskCms
e43a4db84d1f77a5f66b1f8fcb9dc96e05e6c023
[ "MIT" ]
null
null
null
project/enums/string_types_enum.py
vinibiavatti1/PythonFlaskCms
e43a4db84d1f77a5f66b1f8fcb9dc96e05e6c023
[ "MIT" ]
null
null
null
""" String format type value enumeration. """ TRUE = '1' FALSE = '0' NONE = ''
11.285714
37
0.594937
10
79
4.7
1
0
0
0
0
0
0
0
0
0
0
0.031746
0.202532
79
6
38
13.166667
0.714286
0.468354
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
cd52a473787d5199c37a49a98543ea8b45caa074
90
py
Python
LTA/museums/admin.py
valeriimartsyshyn/lviv_tourist_adviser
e8ce0c7ba97262b2d181e3373eb806f4dcc9bbf1
[ "MIT" ]
null
null
null
LTA/museums/admin.py
valeriimartsyshyn/lviv_tourist_adviser
e8ce0c7ba97262b2d181e3373eb806f4dcc9bbf1
[ "MIT" ]
1
2021-09-27T06:33:26.000Z
2021-09-27T06:33:26.000Z
LTA/museums/admin.py
valeriimartsyshyn/lviv_tourist_adviser
e8ce0c7ba97262b2d181e3373eb806f4dcc9bbf1
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Museums admin.site.register(Museums)
22.5
32
0.833333
13
90
5.769231
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.1
90
4
33
22.5
0.925926
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
cd537e30b909d9612963bfa8b8f1c4d920b60f98
1,584
py
Python
grailapp-osc-6a60f9376f69/setup.py
yuan7407/TD_OpenCV_PythonOSC
f4424b1f7155f7942397212b97183cb749612f50
[ "MIT" ]
20
2018-12-06T21:35:10.000Z
2022-02-08T23:22:35.000Z
grailapp-osc-6a60f9376f69/setup.py
phoebezhung/TD_OpenCV_PythonOSC
f4424b1f7155f7942397212b97183cb749612f50
[ "MIT" ]
null
null
null
grailapp-osc-6a60f9376f69/setup.py
phoebezhung/TD_OpenCV_PythonOSC
f4424b1f7155f7942397212b97183cb749612f50
[ "MIT" ]
4
2019-02-27T08:13:45.000Z
2021-11-02T15:14:41.000Z
#!/usr/bin/env python # -*- coding: UTF-8 -*- """ setup ~~~~~ Setup Script Run the build process by running the command 'python setup.py build' :copyright: (c) 2018 by Oleksii Lytvyn. :license: MIT, see LICENSE for more details. """ import osc.osc as osc try: from setuptools import setup...
31.058824
92
0.621212
173
1,584
5.635838
0.595376
0.155897
0.205128
0.186667
0.118974
0.06359
0
0
0
0
0
0.01634
0.227273
1,584
50
93
31.68
0.780229
0.140783
0
0
0
0
0.544428
0.019578
0
0
0
0
0
1
0
true
0
0.114286
0
0.114286
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
cd5534b9b393b4ca6ad72c44a3438fcc6e74b3d0
2,501
py
Python
socketshark/utils.py
Play2Live/socketshark
9b1e40654bf629c593079fb44c548911d4c864af
[ "MIT" ]
null
null
null
socketshark/utils.py
Play2Live/socketshark
9b1e40654bf629c593079fb44c548911d4c864af
[ "MIT" ]
null
null
null
socketshark/utils.py
Play2Live/socketshark
9b1e40654bf629c593079fb44c548911d4c864af
[ "MIT" ]
null
null
null
import asyncio import ssl import aiohttp from . import constants as c def _get_rate_limit_wait(log, resp, opts): """ Returns the number of seconds we should wait given a 429 HTTP response and HTTP options. """ max_wait = 3600 wait = opts['wait'] header_name = opts['rate_limit_reset_he...
35.225352
78
0.551779
290
2,501
4.596552
0.351724
0.060015
0.027007
0.042761
0.150038
0.150038
0.127532
0.087022
0.087022
0.087022
0
0.007524
0.362255
2,501
70
79
35.728571
0.828213
0.067173
0
0.232143
0
0
0.104671
0.012111
0
0
0
0
0
1
0.017857
false
0
0.071429
0
0.142857
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
cd592812165ebec71f40378868573e5f9eda72b9
252
py
Python
download_and_create_reference_datasets/v02/create_ht__clinvar.py
NLSVTN/hail-elasticsearch-pipelines
8b895a2e46a33d347dd2a1024101a6d515027a03
[ "MIT" ]
15
2017-11-22T14:48:04.000Z
2020-10-05T18:22:24.000Z
download_and_create_reference_datasets/v02/create_ht__clinvar.py
NLSVTN/hail-elasticsearch-pipelines
8b895a2e46a33d347dd2a1024101a6d515027a03
[ "MIT" ]
94
2020-10-21T17:37:57.000Z
2022-03-29T14:59:46.000Z
download_and_create_reference_datasets/v02/create_ht__clinvar.py
NLSVTN/hail-elasticsearch-pipelines
8b895a2e46a33d347dd2a1024101a6d515027a03
[ "MIT" ]
7
2019-01-29T09:08:10.000Z
2020-02-25T16:22:57.000Z
#!/usr/bin/env python3 from kubernetes.shell_utils import simple_run as run run(( "python3 gcloud_dataproc/v02/run_script.py " "--cluster create-ht-clinvar " "download_and_create_reference_datasets/v02/hail_scripts/write_clinvar_ht.py"))
28
83
0.77381
37
252
4.972973
0.756757
0
0
0
0
0
0
0
0
0
0
0.027027
0.119048
252
8
84
31.5
0.801802
0.083333
0
0
0
0
0.630435
0.469565
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
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
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
cd597b04327e251c7079f983fdc1e98e38cf4a8a
4,324
py
Python
cogs/member_.py
himo1101/NFlegel
7621f5d71b41b71faaf44d142f3b903b0471873a
[ "MIT" ]
null
null
null
cogs/member_.py
himo1101/NFlegel
7621f5d71b41b71faaf44d142f3b903b0471873a
[ "MIT" ]
null
null
null
cogs/member_.py
himo1101/NFlegel
7621f5d71b41b71faaf44d142f3b903b0471873a
[ "MIT" ]
null
null
null
from discord.ext import commands from flegelapi.pg import default, server from distutils.util import strtobool import discord member_table= """ member_( id serial PRIMARY KEY, server_id interger NOT NULL, role_ld interger, channel_id interger, custom_mes character varying DEFAULT が入出しました。, on_o...
32.757576
102
0.56568
503
4,324
4.713718
0.250497
0.033741
0.053142
0.042176
0.332349
0.250527
0.22016
0.22016
0.204133
0.140025
0
0
0.315911
4,324
132
103
32.757576
0.801555
0
0
0.131313
0
0
0.178955
0
0
0
0
0
0
1
0.020202
false
0
0.040404
0
0.121212
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
cd59d9b93bd906d8d50478926274bfcb5696cb98
4,388
py
Python
old/policy_grads2.py
DarkElement75/cartpole-policy-gradients
ca6b7fb826fa023e2d845408d3d16d8032b07508
[ "MIT" ]
null
null
null
old/policy_grads2.py
DarkElement75/cartpole-policy-gradients
ca6b7fb826fa023e2d845408d3d16d8032b07508
[ "MIT" ]
null
null
null
old/policy_grads2.py
DarkElement75/cartpole-policy-gradients
ca6b7fb826fa023e2d845408d3d16d8032b07508
[ "MIT" ]
null
null
null
import gym import numpy as np import sys import theano import theano.tensor as T import layers from layers import FullyConnectedLayer, SoftmaxLayer env = gym.make('CartPole-v0') #Number of actions action_n = env.action_space.n #Number of features observed feature_n = env.observation_space.shape[0] epochs = 100 min...
26.756098
120
0.635369
626
4,388
4.268371
0.255591
0.053892
0.022455
0.016841
0.191617
0.116766
0.087201
0.066243
0.066243
0.066243
0
0.015417
0.246126
4,388
163
121
26.920245
0.792322
0.262762
0
0.086022
0
0
0.017324
0
0
0
0
0
0
0
null
null
0
0.075269
null
null
0.010753
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
cd5a19f0cbafdf639c273ea9eebb620d7cbc509e
7,720
py
Python
client.py
andreidorin13/cs544-messaging-protocol
40d26cb20234a4ad58095150795946aceaf9e4d4
[ "MIT" ]
null
null
null
client.py
andreidorin13/cs544-messaging-protocol
40d26cb20234a4ad58095150795946aceaf9e4d4
[ "MIT" ]
null
null
null
client.py
andreidorin13/cs544-messaging-protocol
40d26cb20234a4ad58095150795946aceaf9e4d4
[ "MIT" ]
null
null
null
#!/usr/bin/python ''' Andrei Dorin 06/10/2018 User interface for WISP chat implementation ''' import argparse import logging import signal import sys import time import queue import select import getpass from wisp_client import WispClient from wisp_common import State, WispRequest, WispResponse, WispMessage, WISP_DEF...
32.166667
116
0.584197
904
7,720
4.850664
0.280973
0.032611
0.022349
0.041049
0.191106
0.119498
0.086203
0.073432
0.036488
0.036488
0
0.022127
0.303368
7,720
239
117
32.301255
0.793232
0.137953
0
0.236025
0
0.006211
0.135728
0.017724
0
0
0
0
0
1
0.10559
false
0.043478
0.062112
0
0.217391
0.093168
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
cd5a2073c9ceff87b49af728a52895c0f1961f0b
61
py
Python
newpy/loggers/__init__.py
janithPet/newpy
feb264f4e3da371c3f2ddc7633f3fdd5a25db661
[ "MIT" ]
null
null
null
newpy/loggers/__init__.py
janithPet/newpy
feb264f4e3da371c3f2ddc7633f3fdd5a25db661
[ "MIT" ]
4
2021-09-03T06:18:29.000Z
2021-09-03T08:36:25.000Z
newpy/loggers/__init__.py
janithPet/newpy
feb264f4e3da371c3f2ddc7633f3fdd5a25db661
[ "MIT" ]
null
null
null
from newpy.loggers.colored_formatter import ColoredFormatter
30.5
60
0.901639
7
61
7.714286
1
0
0
0
0
0
0
0
0
0
0
0
0.065574
61
1
61
61
0.947368
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
cd5d8710df3d01c40879c8b39d50c6ffb79da254
181
py
Python
putao/source/__init__.py
ongyx/putao
e901402308b9b4c3c9acf8dae15eb4781ddfcede
[ "MIT" ]
7
2021-06-29T00:50:46.000Z
2021-10-14T23:31:12.000Z
putao/source/__init__.py
ongyx/putao
e901402308b9b4c3c9acf8dae15eb4781ddfcede
[ "MIT" ]
2
2021-08-28T05:34:01.000Z
2021-08-29T05:03:34.000Z
putao/source/__init__.py
ongyx/putao
e901402308b9b4c3c9acf8dae15eb4781ddfcede
[ "MIT" ]
null
null
null
# coding: utf8 """Sources provide an abstraction between a source of music notes and putao projects.""" from . import mml # noqa from .reg import formats, loads, register # noqa
30.166667
88
0.734807
26
181
5.115385
0.884615
0
0
0
0
0
0
0
0
0
0
0.006757
0.18232
181
5
89
36.2
0.891892
0.585635
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
cd5dd7dda160122dc7f0149e4f5abf4d8e95ebe4
206
py
Python
parser/src/test/test-data/math_csc.py
luciansmith/sedml-script
d891645d0b3f89ff190fc7e719659c8e229c07da
[ "MIT" ]
null
null
null
parser/src/test/test-data/math_csc.py
luciansmith/sedml-script
d891645d0b3f89ff190fc7e719659c8e229c07da
[ "MIT" ]
null
null
null
parser/src/test/test-data/math_csc.py
luciansmith/sedml-script
d891645d0b3f89ff190fc7e719659c8e229c07da
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created by libsedmlscript v0.0.1 """ from sed_roadrunner import model, task, plot from mpmath import csc #---------------------------------------------- csc(0.5)
15.846154
48
0.475728
23
206
4.217391
0.826087
0
0
0
0
0
0
0
0
0
0
0.035928
0.18932
206
12
49
17.166667
0.54491
0.490291
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4