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
b2bc9e0851dd309604ad4fed86bedf18a89de3dc
266
py
Python
displayers.py
metobom/pytorch-lane-detection
9ea9056b572b6776b23346a9e2052ea5cb1e321a
[ "MIT" ]
1
2021-03-04T19:45:53.000Z
2021-03-04T19:45:53.000Z
displayers.py
metobom/pytorch-lane-detection
9ea9056b572b6776b23346a9e2052ea5cb1e321a
[ "MIT" ]
null
null
null
displayers.py
metobom/pytorch-lane-detection
9ea9056b572b6776b23346a9e2052ea5cb1e321a
[ "MIT" ]
null
null
null
import cv2 import numpy as np def show_weighted(image0, alpha0, image1, alpha1): #image0 = np.array(image0, dtype = np.uint8) #image1 = np.array(image1, dtype = np.uint8) out = cv2.addWeighted(image0, alpha0, image1, alpha1, 0.3) return out
29.555556
63
0.669173
38
266
4.657895
0.526316
0.135593
0.20339
0.271186
0
0
0
0
0
0
0
0.086124
0.214286
266
9
64
29.555556
0.760766
0.323308
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
b2c0f702a792a12b6aa85cd23ca049cb59be36d1
300
py
Python
exercicio74Corrigido.py
adrianomdantas/Exercicios-Python
ef5025a186615258aec0cf35ed839fe49577d983
[ "MIT" ]
null
null
null
exercicio74Corrigido.py
adrianomdantas/Exercicios-Python
ef5025a186615258aec0cf35ed839fe49577d983
[ "MIT" ]
null
null
null
exercicio74Corrigido.py
adrianomdantas/Exercicios-Python
ef5025a186615258aec0cf35ed839fe49577d983
[ "MIT" ]
null
null
null
from random import randint numeros = (randint(1, 10), randint(1, 10), randint(1, 10), randint(1, 10), randint(1, 10)) print('os numeros sorteados são: ', end='') for n in numeros: print(f'{n}', end=' ') print(f'\no maior numero foi {max(numeros)}') print(f'O menor numero foi {min(numeros)}')
27.272727
90
0.65
50
300
3.9
0.48
0.205128
0.25641
0.348718
0.25641
0.25641
0.25641
0.25641
0.25641
0.25641
0
0.059055
0.153333
300
10
91
30
0.708661
0
0
0
0
0
0.329966
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.571429
0
0
0
null
1
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
1
0
4
b2d1502df15dc7a3b38866b8f87b440fe6f16d52
104
py
Python
src/compas_ghpython/utilities/misc.py
philianeles/compas
129a5a7e9d8832495d2bbee6ce7c6463ab50f2d1
[ "MIT" ]
null
null
null
src/compas_ghpython/utilities/misc.py
philianeles/compas
129a5a7e9d8832495d2bbee6ce7c6463ab50f2d1
[ "MIT" ]
null
null
null
src/compas_ghpython/utilities/misc.py
philianeles/compas
129a5a7e9d8832495d2bbee6ce7c6463ab50f2d1
[ "MIT" ]
null
null
null
import sys __all__ = [ 'unload_modules', ] from compas_rhino.utilities.misc import unload_modules
13
54
0.759615
13
104
5.538462
0.769231
0.361111
0
0
0
0
0
0
0
0
0
0
0.163462
104
8
54
13
0.827586
0
0
0
0
0
0.133333
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
b2f7fd1e889d2a1e809e048800ae706c8314b17b
489
py
Python
spotifython/__init__.py
Guptacos/spotifython
9d42e903f29667906abd959b45b642a9645c60d1
[ "MIT" ]
null
null
null
spotifython/__init__.py
Guptacos/spotifython
9d42e903f29667906abd959b45b642a9645c60d1
[ "MIT" ]
61
2020-04-25T20:17:05.000Z
2020-09-20T20:41:24.000Z
spotifython/__init__.py
Guptacos/spotifython
9d42e903f29667906abd959b45b642a9645c60d1
[ "MIT" ]
null
null
null
from .constants import * from .session import Session from .utils import AuthenticationError, SpotifyError, NetworkError # TODO: these should probably be removed for production # Clients won't need to directly access the Album constructor, and can still # access an Album's methods without import album. Kept here for e...
34.928571
76
0.805726
71
489
5.549296
0.591549
0.055838
0
0
0
0
0
0
0
0
0
0
0.151329
489
13
77
37.615385
0.949398
0.413088
0
0
0
0
0
0
0
0
0
0.076923
0
1
0
true
0
1
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
1
0
0
0
1
0
1
0
1
0
0
4
650b15230cbd093bc8ba349c4ab737f3c9d43254
85
py
Python
stock_news_beta/stock_news_beta/apps/focus/apps.py
zws910/stock-news
dcf90d25a36a903e44ddfd04bb655f665b692b36
[ "MIT" ]
1
2018-02-13T08:09:02.000Z
2018-02-13T08:09:02.000Z
stock_news_beta/stock_news_beta/apps/focus/apps.py
zws910/stock-news
dcf90d25a36a903e44ddfd04bb655f665b692b36
[ "MIT" ]
null
null
null
stock_news_beta/stock_news_beta/apps/focus/apps.py
zws910/stock-news
dcf90d25a36a903e44ddfd04bb655f665b692b36
[ "MIT" ]
null
null
null
from django.apps import AppConfig class FocusConfig(AppConfig): name = 'focus'
14.166667
33
0.741176
10
85
6.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.176471
85
5
34
17
0.9
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0.333333
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
0
0
1
0
1
0
0
4
650f67f5744778ff9a0c58c6d3a240b3e3d34bc4
6,358
py
Python
analysis_codes_v1/plot_functions.py
zqwei/LIF_Vis_model
16f651ac827ba5f0feb40a0e619e600f1251d009
[ "MIT" ]
null
null
null
analysis_codes_v1/plot_functions.py
zqwei/LIF_Vis_model
16f651ac827ba5f0feb40a0e619e600f1251d009
[ "MIT" ]
null
null
null
analysis_codes_v1/plot_functions.py
zqwei/LIF_Vis_model
16f651ac827ba5f0feb40a0e619e600f1251d009
[ "MIT" ]
null
null
null
import pickle import numpy as np import pandas as pd import matplotlib.pyplot as plt from matplotlib import gridspec import json import h5py import matplotlib matplotlib.rcParams.update({'font.size': 20}) # Check coordinates of the source to find the one close to (0, 0). Use it # for illustration of the dynamics of t...
34.743169
139
0.627399
989
6,358
3.859454
0.203236
0.035368
0.030652
0.023579
0.751375
0.734346
0.70841
0.699502
0.689809
0.680377
0
0.028355
0.212331
6,358
182
140
34.934066
0.733826
0.165775
0
0.701923
0
0
0.086225
0
0
0
0
0
0
1
0.028846
false
0
0.076923
0
0.134615
0
0
0
0
null
0
0
0
0
1
1
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
4
654b931f686633b5728d236d5ddfa6088c3f4d46
937
py
Python
setup.py
simondharding/pygtop
08e14edfb6d482c77e0c5da0d782fe4a21f33e84
[ "MIT" ]
null
null
null
setup.py
simondharding/pygtop
08e14edfb6d482c77e0c5da0d782fe4a21f33e84
[ "MIT" ]
null
null
null
setup.py
simondharding/pygtop
08e14edfb6d482c77e0c5da0d782fe4a21f33e84
[ "MIT" ]
null
null
null
from setuptools import setup setup( name="pygtop", version="2.1.3", description="A Python wrapper for the Guide to PHARMACOLOGY API. It provides \ a Python interface for access to the GtoP database.", url="https://pygtop.readthedocs.org", author="Sam Ireland", author_email="Sam.Ireland@ed.ac.uk", license="MIT"...
32.310345
79
0.689434
112
937
5.75
0.589286
0.206522
0.271739
0.282609
0.083851
0
0
0
0
0
0
0.021411
0.152615
937
28
80
33.464286
0.789673
0
0
0
0
0
0.582711
0.023479
0
0
0
0
0
1
0
true
0
0.037037
0
0.037037
0
0
0
0
null
1
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
4
654d49d9a9887a4b2b3960578755b68951292fc1
61
py
Python
inna/compiler/applications/__init__.py
caoqichun/inspur-inna
0848ec5db3c04aa8e2b65caff8095dd3ac4040ca
[ "Apache-2.0" ]
null
null
null
inna/compiler/applications/__init__.py
caoqichun/inspur-inna
0848ec5db3c04aa8e2b65caff8095dd3ac4040ca
[ "Apache-2.0" ]
null
null
null
inna/compiler/applications/__init__.py
caoqichun/inspur-inna
0848ec5db3c04aa8e2b65caff8095dd3ac4040ca
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import from . import resnet
15.25
38
0.836066
8
61
5.75
0.625
0
0
0
0
0
0
0
0
0
0
0
0.147541
61
3
39
20.333333
0.884615
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
0
0
0
4
33092b72990665ffa19c81fe1713d7d2abc27001
456,372
py
Python
cdicalc/resources/resources_cdicalc.py
carnisj/cdicalc
2f6771bf398228a6b5376718984cfbdcee76b940
[ "CECILL-B" ]
1
2022-03-02T22:45:29.000Z
2022-03-02T22:45:29.000Z
cdicalc/resources/resources_cdicalc.py
carnisj/cdicalc
2f6771bf398228a6b5376718984cfbdcee76b940
[ "CECILL-B" ]
null
null
null
cdicalc/resources/resources_cdicalc.py
carnisj/cdicalc
2f6771bf398228a6b5376718984cfbdcee76b940
[ "CECILL-B" ]
1
2022-03-02T22:45:30.000Z
2022-03-02T22:45:30.000Z
# -*- coding: utf-8 -*- # Resource object code # # Created by: The Resource Compiler for PyQt5 (Qt v5.15.2) # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore qt_resource_data = b"\ \x00\x01\xae\xbe\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\xfa\x...
65.608396
89
0.727223
110,545
456,372
3.001909
0.002777
0.00179
0.001546
0.001193
0.004348
0.004348
0.004147
0.004147
0.003206
0.003206
0
0.303916
0.015485
456,372
6,955
90
65.617829
0.43466
0.000333
0
0.001442
0
0.994666
0.000002
0
0
1
0
0
0
1
0.000288
false
0
0.000144
0
0.000433
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
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
331f5e179a04991cb500efd2ee8b087541c51584
222
py
Python
src/visions/backends/pandas/types/sparse.py
bhumikapahariapuresoftware/visions
8838d89b4f02e401112378b4662a779227ead9f8
[ "BSD-4-Clause" ]
142
2020-01-07T21:17:10.000Z
2022-03-30T13:10:14.000Z
src/visions/backends/pandas/types/sparse.py
bhumikapahariapuresoftware/visions
8838d89b4f02e401112378b4662a779227ead9f8
[ "BSD-4-Clause" ]
121
2020-01-07T02:26:38.000Z
2022-03-29T17:18:19.000Z
src/visions/backends/pandas/types/sparse.py
bhumikapahariapuresoftware/visions
8838d89b4f02e401112378b4662a779227ead9f8
[ "BSD-4-Clause" ]
18
2020-02-17T03:17:37.000Z
2022-02-20T14:01:11.000Z
import pandas as pd from pandas.api import types as pdt from visions.types.sparse import Sparse @Sparse.contains_op.register def sparse_contains(series: pd.Series, state: dict) -> bool: return pdt.is_sparse(series)
22.2
60
0.779279
35
222
4.857143
0.571429
0.164706
0
0
0
0
0
0
0
0
0
0
0.13964
222
9
61
24.666667
0.890052
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0.166667
0.833333
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
1
1
1
0
0
4
3321c4c1d06f51588d6cef0b0bcb5405f573580a
760
py
Python
maniacal-moths/newsly/aggregator/models.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
40
2020-08-02T07:38:22.000Z
2021-07-26T01:46:50.000Z
maniacal-moths/newsly/aggregator/models.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
134
2020-07-31T12:15:45.000Z
2020-12-13T04:42:19.000Z
maniacal-moths/newsly/aggregator/models.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
101
2020-07-31T12:00:47.000Z
2021-11-01T09:06:58.000Z
from django.db import models from django.utils import timezone from django.urls import reverse class Article(models.Model): title = models.CharField(max_length=100) topic = models.CharField(max_length=100) summary = models.TextField() published_date = models.DateTimeField(default=timezone.now) aut...
33.043478
75
0.723684
98
760
5.459184
0.469388
0.196262
0.235514
0.314019
0.248598
0
0
0
0
0
0
0.030063
0.168421
760
22
76
34.545455
0.816456
0
0
0
0
0
0.040789
0.032895
0
0
0
0
0
1
0.111111
false
0
0.166667
0.111111
1
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
0
0
0
1
1
0
0
4
6860f93b208228ce9e76636e20ad4d805c30aa1a
370
py
Python
example/market/get_exchange_information.py
ArtemMartus/Binance_Futures_python
946bfdbdbb417d1b59091541c356f3e6ec32bad8
[ "MIT" ]
null
null
null
example/market/get_exchange_information.py
ArtemMartus/Binance_Futures_python
946bfdbdbb417d1b59091541c356f3e6ec32bad8
[ "MIT" ]
null
null
null
example/market/get_exchange_information.py
ArtemMartus/Binance_Futures_python
946bfdbdbb417d1b59091541c356f3e6ec32bad8
[ "MIT" ]
null
null
null
from binance_f import RequestClient from binance_f.constant.test import * from binance_f.base.printobject import * request_client = RequestClient(api_key=g_api_key, secret_key=g_secret_key) result = request_client.get_exchange_information() PrintMix.print_data(result.rateLimits) PrintMix.print_data(result.excha...
37
75
0.837838
51
370
5.764706
0.490196
0.112245
0.122449
0.234694
0
0
0
0
0
0
0
0
0.086486
370
9
76
41.111111
0.869822
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.5
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
4
6874318c54a01c433cd0f687df0651e544803945
22,829
py
Python
py_dict/images.py
glenlancer/my_dict
8e85ac517556c29aa4de4d031691fa4fa31ec331
[ "MIT" ]
null
null
null
py_dict/images.py
glenlancer/my_dict
8e85ac517556c29aa4de4d031691fa4fa31ec331
[ "MIT" ]
null
null
null
py_dict/images.py
glenlancer/my_dict
8e85ac517556c29aa4de4d031691fa4fa31ec331
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Resource object code # # Created by: The Resource Compiler for PyQt5 (Qt v5.14.2) # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore qt_resource_data = b"\ \x00\x00\x14\x3e\ \x00\ \x01\x08\x3e\x78\x9c\xed\x5d\x09\x78\x55\xc5\xd9\xfe\x02\x24\x24\ \x24\x6c\xca\x...
59.918635
103
0.727233
5,451
22,829
3.038708
0.05632
0.023545
0.024994
0.020285
0.046003
0.046003
0.035619
0.035619
0.035619
0.035619
0
0.276508
0.0205
22,829
380
104
60.076316
0.464246
0.006658
0
0.021978
0
0.912088
0.000044
0
0
1
0
0
0
1
0.005495
false
0
0.002747
0
0.008242
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
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
689b3f65a0661e7ecdf392319cb74d3f54754f2f
2,543
py
Python
plotting/plot_fakedata_illustration.py
juhokokkala/podoco_juhokokkala
57709c539168b6aaddfc187b3a3610bef63bd68a
[ "MIT" ]
null
null
null
plotting/plot_fakedata_illustration.py
juhokokkala/podoco_juhokokkala
57709c539168b6aaddfc187b3a3610bef63bd68a
[ "MIT" ]
null
null
null
plotting/plot_fakedata_illustration.py
juhokokkala/podoco_juhokokkala
57709c539168b6aaddfc187b3a3610bef63bd68a
[ "MIT" ]
null
null
null
############################################################################### # Copyright (C) 2016 Juho Kokkala # This is part of Juho Kokkala's PoDoCo project. # # This file is licensed under the MIT License. ############################################################################### """ Plotting the fake data. ...
23.990566
79
0.613055
347
2,543
4.37464
0.247839
0.041502
0.047431
0.051383
0.800395
0.800395
0.750988
0.750988
0.693017
0.474308
0
0.012999
0.152969
2,543
105
80
24.219048
0.691736
0.075895
0
0.490909
0
0
0.329184
0.077455
0
0
0
0
0
1
0
false
0.036364
0.054545
0
0.054545
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
d7b9a7ccd2aebba8d7542f31ae5e463401730362
286
py
Python
src/models/classifiers/__init__.py
renyi-ai/drfrankenstein
b9064cdea67698f70af07849bc5decaafccac9f3
[ "MIT" ]
4
2021-12-08T14:27:19.000Z
2022-01-05T20:19:03.000Z
src/models/classifiers/__init__.py
renyi-ai/drfrankenstein
b9064cdea67698f70af07849bc5decaafccac9f3
[ "MIT" ]
null
null
null
src/models/classifiers/__init__.py
renyi-ai/drfrankenstein
b9064cdea67698f70af07849bc5decaafccac9f3
[ "MIT" ]
null
null
null
from .dense import Dense from .general import GeneralNet from .inception import InceptionV1 from .lenet import LeNet from .model_constructor import get_model, load_from_path, get_info_from_path from .nbn_tiny10 import NbnTiny10 from .resnet20 import ResNet20 from .tiny10 import Tiny10
31.777778
76
0.846154
42
286
5.571429
0.428571
0.068376
0
0
0
0
0
0
0
0
0
0.051587
0.118881
286
8
77
35.75
0.876984
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
4
d7dbd31525bf20fe75cb78d304152ee9ba7cb754
97
py
Python
examples/cnn/resnet/ex_our_resnet_summary.py
indigits/indigits-vision
317fbf70c558e8f9563c3d0ba3bebbc5f84af622
[ "Apache-2.0" ]
2
2021-11-02T10:09:47.000Z
2021-12-10T04:23:14.000Z
examples/cnn/resnet/ex_our_resnet_summary.py
indigits/indigits-vision
317fbf70c558e8f9563c3d0ba3bebbc5f84af622
[ "Apache-2.0" ]
null
null
null
examples/cnn/resnet/ex_our_resnet_summary.py
indigits/indigits-vision
317fbf70c558e8f9563c3d0ba3bebbc5f84af622
[ "Apache-2.0" ]
null
null
null
from cr.vision.dl.nets.cnn import resnet model = resnet.model_resnet50() print(model.summary())
19.4
40
0.773196
15
97
4.933333
0.8
0.297297
0
0
0
0
0
0
0
0
0
0.022727
0.092784
97
5
41
19.4
0.818182
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
d7dd1961937b8d1009bd0d6c78ff0084adcdc4c1
51
py
Python
fire/api/niv/__init__.py
larsnaesbye/FIRE
1d2c65bf890391ebd0bff4bf41689e88f4d89704
[ "MIT" ]
4
2021-02-01T11:04:48.000Z
2022-03-11T19:14:59.000Z
fire/api/niv/__init__.py
larsnaesbye/FIRE
1d2c65bf890391ebd0bff4bf41689e88f4d89704
[ "MIT" ]
256
2020-05-06T21:30:10.000Z
2022-03-24T10:23:56.000Z
fire/api/niv/__init__.py
larsnaesbye/FIRE
1d2c65bf890391ebd0bff4bf41689e88f4d89704
[ "MIT" ]
11
2020-05-04T07:08:27.000Z
2022-01-05T11:34:31.000Z
""" API-modul til `fire niv`-underkommandoer. """
10.2
41
0.647059
6
51
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.137255
51
4
42
12.75
0.75
0.803922
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
d7e13cf39af623185640b618bb99d1a14978aef2
80
py
Python
scripts/issue_package.py
Jhsmit/awesome-panel
53f7754f7c505a2666f6724df26c851ae942ec40
[ "Apache-2.0" ]
179
2019-12-04T14:54:53.000Z
2022-03-30T09:08:38.000Z
scripts/issue_package.py
Jhsmit/awesome-panel
53f7754f7c505a2666f6724df26c851ae942ec40
[ "Apache-2.0" ]
62
2019-12-14T16:51:28.000Z
2022-03-19T18:47:12.000Z
scripts/issue_package.py
Jhsmit/awesome-panel
53f7754f7c505a2666f6724df26c851ae942ec40
[ "Apache-2.0" ]
35
2019-12-08T13:19:53.000Z
2022-03-25T10:33:02.000Z
from awesome_panel.express import Card Card("header", "# Hello").servable()
20
39
0.7125
10
80
5.6
0.9
0
0
0
0
0
0
0
0
0
0
0
0.1375
80
3
40
26.666667
0.811594
0
0
0
0
0
0.168831
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
0
0
0
4
d7e26d04538e2ba3f66c03ae78a1f6dd48c9015d
130
py
Python
bot.py
JohnRickGD/leveling
e5e018c27752734ed71b8faa54f18bfb0c0a5e1d
[ "MIT" ]
11
2021-08-31T07:24:34.000Z
2022-03-09T04:50:53.000Z
bot.py
JohnRickGD/leveling
e5e018c27752734ed71b8faa54f18bfb0c0a5e1d
[ "MIT" ]
1
2021-11-01T02:03:38.000Z
2021-11-14T21:16:07.000Z
bot.py
JohnRickGD/leveling
e5e018c27752734ed71b8faa54f18bfb0c0a5e1d
[ "MIT" ]
6
2021-09-05T21:14:40.000Z
2022-02-26T11:16:35.000Z
import os from leveling import bot from dotenv import load_dotenv load_dotenv(".env") TOKEN = os.getenv("TOKEN") bot.run(TOKEN)
14.444444
30
0.761538
21
130
4.619048
0.52381
0.206186
0
0
0
0
0
0
0
0
0
0
0.130769
130
8
31
16.25
0.858407
0
0
0
0
0
0.069231
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
d7fbaa82849d6b69af6079e512c5c1e41042df27
296
py
Python
onlinejudge/__init__.py
gitter-badger/online-judge-tools
14ec4a0b19470acbf342a6f3a0680f1d6d5dd3e7
[ "MIT" ]
null
null
null
onlinejudge/__init__.py
gitter-badger/online-judge-tools
14ec4a0b19470acbf342a6f3a0680f1d6d5dd3e7
[ "MIT" ]
null
null
null
onlinejudge/__init__.py
gitter-badger/online-judge-tools
14ec4a0b19470acbf342a6f3a0680f1d6d5dd3e7
[ "MIT" ]
null
null
null
# Python Version: 3.x from onlinejudge.implementation.version import * import onlinejudge.atcoder import onlinejudge.yukicoder import onlinejudge.anarchygolf import onlinejudge.codeforces import onlinejudge.aoj import onlinejudge.csacademy import onlinejudge.topcoder import onlinejudge.dispatch
26.909091
48
0.871622
33
296
7.818182
0.484848
0.527132
0
0
0
0
0
0
0
0
0
0.003676
0.081081
296
10
49
29.6
0.944853
0.064189
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
0bd7a4546196a0960055392b614ab441dcf64e70
1,157
py
Python
api/rest/user/UserRepository.py
lucasmag/RateIt
cb4fb711d59b59c6606a162edcae6b29ad8079c9
[ "MIT" ]
null
null
null
api/rest/user/UserRepository.py
lucasmag/RateIt
cb4fb711d59b59c6606a162edcae6b29ad8079c9
[ "MIT" ]
1
2021-06-02T00:41:02.000Z
2021-06-02T00:41:02.000Z
api/rest/user/UserRepository.py
lucasmag/RateIt
cb4fb711d59b59c6606a162edcae6b29ad8079c9
[ "MIT" ]
null
null
null
def get_users(): return 'select u.username from public.user u;' def get_user_by_id(id): return 'select u.username from public.user u where u.id = %d' % int(id) def get_followers_by_user_id(user_id): return 'select f.follower_id from public.follower f where f.user_id = %d' % int(id) def follow_user(fol...
42.851852
123
0.560069
145
1,157
4.262069
0.262069
0.067961
0.116505
0.12945
0.423948
0.38835
0.116505
0.116505
0
0
0
0
0.294728
1,157
26
124
44.5
0.757353
0
0
0
0
0
0.402766
0
0
0
0
0
0
1
0.375
false
0.125
0
0.375
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
1
0
1
0
1
1
0
0
4
0bdf0cf3a567bc746c5991b06f03b08bdb3c438e
126
py
Python
gym_mupen64plus/__init__.py
hortune/final_py3_gym_mupen64plus
510e0e14fb1a4ddb7323cb66c4e0c1729218eda9
[ "MIT" ]
null
null
null
gym_mupen64plus/__init__.py
hortune/final_py3_gym_mupen64plus
510e0e14fb1a4ddb7323cb66c4e0c1729218eda9
[ "MIT" ]
1
2018-08-21T17:13:10.000Z
2018-08-21T17:13:10.000Z
gym_mupen64plus/__init__.py
hortune/final_py3_gym_mupen64plus
510e0e14fb1a4ddb7323cb66c4e0c1729218eda9
[ "MIT" ]
1
2018-09-30T06:53:28.000Z
2018-09-30T06:53:28.000Z
import logging from gym_mupen64plus.envs.MarioKart64.mario_kart_env import MarioKartEnv logger = logging.getLogger(__name__)
25.2
72
0.865079
16
126
6.375
0.875
0
0
0
0
0
0
0
0
0
0
0.034483
0.079365
126
4
73
31.5
0.844828
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
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
0
0
1
0
1
0
0
4
0be25e47c9d0c4c3eacbc49edbaad91dd5e7c911
350
py
Python
awxkit/awxkit/api/pages/activity_stream.py
DamoR25/awxnew
03ed6e97558ae090ea52703caf6ed1b196557981
[ "Apache-2.0" ]
11,396
2017-09-07T04:56:02.000Z
2022-03-31T13:56:17.000Z
awxkit/awxkit/api/pages/activity_stream.py
DamoR25/awxnew
03ed6e97558ae090ea52703caf6ed1b196557981
[ "Apache-2.0" ]
11,046
2017-09-07T09:30:46.000Z
2022-03-31T20:28:01.000Z
awxkit/awxkit/api/pages/activity_stream.py
DamoR25/awxnew
03ed6e97558ae090ea52703caf6ed1b196557981
[ "Apache-2.0" ]
3,592
2017-09-07T04:14:31.000Z
2022-03-31T23:53:09.000Z
from awxkit.api.resources import resources from . import base from . import page class ActivityStream(base.Base): pass page.register_page(resources.activity, ActivityStream) class ActivityStreams(page.PageList, ActivityStream): pass page.register_page([resources.activity_stream, resources.object_activ...
17.5
98
0.802857
40
350
6.9
0.4
0.072464
0.115942
0.144928
0.268116
0.268116
0
0
0
0
0
0
0.12
350
19
99
18.421053
0.896104
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0
true
0.222222
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
4
0403ee36088046b27bebddceaceb83ce6dd63401
64
py
Python
src/movement/bangla.py
Quanta-Robotics/Robot-Blueberry
7b7e77e09ac5e9ec5afd947e0db1ecc8773e56da
[ "MIT" ]
25
2021-06-08T07:09:30.000Z
2021-12-30T06:28:35.000Z
src/movement/bangla.py
ICT-CoU/Robot-Blueberry
d19fd1be037df9d67de64df57a87006d74cd6c43
[ "MIT" ]
2
2021-05-23T12:54:51.000Z
2021-06-07T17:47:56.000Z
src/movement/bangla.py
ICT-CoU/Robot-Blueberry
d19fd1be037df9d67de64df57a87006d74cd6c43
[ "MIT" ]
14
2021-06-08T13:02:28.000Z
2021-12-30T20:07:18.000Z
from expression import say say("Joy Bangla, Joy Bangabundu")
16
35
0.75
9
64
5.333333
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.171875
64
3
36
21.333333
0.90566
0
0
0
0
0
0.4375
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
0
0
0
4
0408f4a162e4444d83d383829f3e38c6d750647d
91
py
Python
tutos/tutorias/apps.py
UVG-Teams/Tutos-System
230dd9434f745c2e6e69e10f9908e9818c559d03
[ "MIT" ]
null
null
null
tutos/tutorias/apps.py
UVG-Teams/Tutos-System
230dd9434f745c2e6e69e10f9908e9818c559d03
[ "MIT" ]
null
null
null
tutos/tutorias/apps.py
UVG-Teams/Tutos-System
230dd9434f745c2e6e69e10f9908e9818c559d03
[ "MIT" ]
null
null
null
from django.apps import AppConfig class TutoriasConfig(AppConfig): name = 'tutorias'
15.166667
33
0.758242
10
91
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
5
34
18.2
0.907895
0
0
0
0
0
0.087912
0
0
0
0
0
0
1
0
false
0
0.333333
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
0
0
1
0
1
0
0
4
042d59b2cf374570a4a4b28b069f9bdf760069f1
360
py
Python
src/LP/solver/__init__.py
AymanABDELHAMID/2E-CVRP
ce6996bc76e7dd9236c4670e1570006c3979ebc5
[ "MIT" ]
null
null
null
src/LP/solver/__init__.py
AymanABDELHAMID/2E-CVRP
ce6996bc76e7dd9236c4670e1570006c3979ebc5
[ "MIT" ]
null
null
null
src/LP/solver/__init__.py
AymanABDELHAMID/2E-CVRP
ce6996bc76e7dd9236c4670e1570006c3979ebc5
[ "MIT" ]
null
null
null
import numpy as np import gurobipy as gp from gurobipy import GRB import pandas as pd import csv import io ##################################################### # 1. parameters ##################################################### #################################################### # 2. Helper classes #############...
22.5
53
0.311111
25
360
4.48
0.68
0
0
0
0
0
0
0
0
0
0
0.006135
0.094444
360
15
54
24
0.337423
0.086111
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
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
04412f51b017c1e7a40791ebcdf1eb18fd5b4e06
90
py
Python
job_logs/apps.py
marco-zangari/job-log
2ae252f0f1ec55970fdf05d73b60c5009c067031
[ "MIT" ]
null
null
null
job_logs/apps.py
marco-zangari/job-log
2ae252f0f1ec55970fdf05d73b60c5009c067031
[ "MIT" ]
null
null
null
job_logs/apps.py
marco-zangari/job-log
2ae252f0f1ec55970fdf05d73b60c5009c067031
[ "MIT" ]
null
null
null
from django.apps import AppConfig class JobLogsConfig(AppConfig): name = 'job_logs'
15
33
0.755556
11
90
6.090909
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.166667
90
5
34
18
0.893333
0
0
0
0
0
0.088889
0
0
0
0
0
0
1
0
false
0
0.333333
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
0
0
1
0
1
0
0
4
044bd558b291466e4651f6f71b95a172e1066c38
64
py
Python
src/core/python/core/model/__init__.py
railtoolkit/OpenLinTim
27eba8b6038946ce162e9f7bbc0bd23045029d51
[ "MIT" ]
null
null
null
src/core/python/core/model/__init__.py
railtoolkit/OpenLinTim
27eba8b6038946ce162e9f7bbc0bd23045029d51
[ "MIT" ]
null
null
null
src/core/python/core/model/__init__.py
railtoolkit/OpenLinTim
27eba8b6038946ce162e9f7bbc0bd23045029d51
[ "MIT" ]
null
null
null
""" Contains all modelling classes of the java LinTim files. """
21.333333
56
0.734375
9
64
5.222222
1
0
0
0
0
0
0
0
0
0
0
0
0.15625
64
3
57
21.333333
0.87037
0.875
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
04574bb3607bff857034387fc891735c3e959c4e
252
py
Python
backend/lextool/utils/simp2tra.py
Lmineor/Tools
cbf58baa84524e763ba6c2bd0c796de912d3f690
[ "MIT" ]
1
2020-05-18T13:23:35.000Z
2020-05-18T13:23:35.000Z
backend/lextool/utils/simp2tra.py
Lmineor/Tools
cbf58baa84524e763ba6c2bd0c796de912d3f690
[ "MIT" ]
null
null
null
backend/lextool/utils/simp2tra.py
Lmineor/Tools
cbf58baa84524e763ba6c2bd0c796de912d3f690
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @Time : 2020/6/23 10:21 @Author : lex(luohai2233@163.com) @File : simp2tra.py @Software: PyCharm 将简体中文转换成繁体中文 """ import zhconv def simp2tra(simp): return zhconv.convert(simp, 'zh-tw')
14
40
0.638889
35
252
4.6
0.914286
0
0
0
0
0
0
0
0
0
0
0.10628
0.178571
252
17
41
14.823529
0.671498
0.638889
0
0
0
0
0.060976
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
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
1
0
0
1
1
1
0
0
4
f0a19965902a63e37730c7afd90de3336d80970b
205
py
Python
Model/Values.py
drkying/ruanshe3
a357298402571e65d16004bed69da68a09ccabdd
[ "MIT" ]
null
null
null
Model/Values.py
drkying/ruanshe3
a357298402571e65d16004bed69da68a09ccabdd
[ "MIT" ]
null
null
null
Model/Values.py
drkying/ruanshe3
a357298402571e65d16004bed69da68a09ccabdd
[ "MIT" ]
null
null
null
class Values: CurrentUser = "qq" IsUserLogin = False IsRootLogin = False def clear(self): self.CurrentUser = "qq" self.IsUserLogin = False self.IsRootLogin = False
20.5
32
0.609756
20
205
6.25
0.5
0.208
0
0
0
0
0
0
0
0
0
0
0.307317
205
9
33
22.777778
0.880282
0
0
0
0
0
0.019512
0
0
0
0
0
0
1
0.125
false
0
0
0
0.625
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
f0a3afc2e41a6fea6a93426bdbf38e57e05b56e0
101
py
Python
GuildProfiles/apps.py
Milo-Goodfellow-Work/GuildsDevelopmentBuild
96b384a4b2a3f5a6e930d6bfb4a3a98c73ba4da1
[ "MIT" ]
null
null
null
GuildProfiles/apps.py
Milo-Goodfellow-Work/GuildsDevelopmentBuild
96b384a4b2a3f5a6e930d6bfb4a3a98c73ba4da1
[ "MIT" ]
null
null
null
GuildProfiles/apps.py
Milo-Goodfellow-Work/GuildsDevelopmentBuild
96b384a4b2a3f5a6e930d6bfb4a3a98c73ba4da1
[ "MIT" ]
null
null
null
from django.apps import AppConfig class GuildprofilesConfig(AppConfig): name = 'GuildProfiles'
16.833333
37
0.782178
10
101
7.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.148515
101
5
38
20.2
0.918605
0
0
0
0
0
0.128713
0
0
0
0
0
0
1
0
false
0
0.333333
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
0
0
1
0
1
0
0
4
f0b9112c64741e3fcc80e66876b2df2afe21c6a8
263
py
Python
PythonExercicios/ex034.py
VitorFRodrigues/Python-curso
af75ff4a7ca14bc7e67b4f3362af837d355b1746
[ "MIT" ]
null
null
null
PythonExercicios/ex034.py
VitorFRodrigues/Python-curso
af75ff4a7ca14bc7e67b4f3362af837d355b1746
[ "MIT" ]
null
null
null
PythonExercicios/ex034.py
VitorFRodrigues/Python-curso
af75ff4a7ca14bc7e67b4f3362af837d355b1746
[ "MIT" ]
null
null
null
sal = float(input('Digite o salário do funcionário: ')) if sal > 1250: print('O funcionário receberá um aumento de 10% resultando em R${:.2f}'.format(sal*1.1)) else: print('O funcionário receberá um aumento de 15% resultando em R${:.2f}'.format(sal*1.15))
52.6
93
0.692015
44
263
4.136364
0.545455
0.065934
0.186813
0.274725
0.67033
0.67033
0.67033
0
0
0
0
0.067265
0.152091
263
5
93
52.6
0.748879
0
0
0
0
0
0.602273
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f0c3c31ebea9465611ef878bad2add8510bdea40
348
py
Python
pyMD/__init__.py
king-michael/python_MD_engine
4bbcb86722fc8eb071e7db9061d765f935f8990e
[ "MIT" ]
null
null
null
pyMD/__init__.py
king-michael/python_MD_engine
4bbcb86722fc8eb071e7db9061d765f935f8990e
[ "MIT" ]
3
2020-04-08T10:32:10.000Z
2020-04-25T12:52:11.000Z
pyMD/__init__.py
king-michael/python_MD_engine
4bbcb86722fc8eb071e7db9061d765f935f8990e
[ "MIT" ]
null
null
null
from . import builder, misc, integrators, reporters, pair_styles from .simulation import Simulation from .integrators import VelocityVerletIntegrator from .pair_styles import LennardJones from .reporters import InMemoryTrajectoryReporter, \ InMemoryThermodynamicsReporter, \ ...
34.8
64
0.744253
27
348
9.518519
0.518519
0.077821
0
0
0
0
0
0
0
0
0
0
0.218391
348
9
65
38.666667
0.944853
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.714286
0
0.714286
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
0
0
0
4
0b067365c0629947d9bf8aa1c33fd954f53f47d6
155
py
Python
myapp/tool.py
CysionLiu/MyDjango
a38267cbf8573dedad8f30a7e973f6fb84f9a35e
[ "Apache-2.0" ]
19
2019-01-08T08:14:05.000Z
2021-11-22T06:07:40.000Z
myapp/tool.py
CysionLiu/MyDjango
a38267cbf8573dedad8f30a7e973f6fb84f9a35e
[ "Apache-2.0" ]
7
2019-01-21T08:43:05.000Z
2021-03-25T22:21:47.000Z
myapp/tool.py
CysionLiu/MyDjango
a38267cbf8573dedad8f30a7e973f6fb84f9a35e
[ "Apache-2.0" ]
6
2019-01-08T05:37:12.000Z
2022-02-10T02:34:03.000Z
logdebug = False def logt(tag, msg): if logdebug: print("%s,--%s" % (tag, msg)) def log(msg): if logdebug: print("%s" % msg)
11.071429
37
0.496774
21
155
3.666667
0.47619
0.155844
0.337662
0.467532
0.493506
0
0
0
0
0
0
0
0.316129
155
13
38
11.923077
0.726415
0
0
0.285714
0
0
0.058824
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.285714
0.285714
1
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
1
0
0
0
0
0
0
0
4
9bd8bac4fda2faea7fcfa3bf7c697e87f79ede2c
64
py
Python
django_uwsgi/emperor/__init__.py
eriktelepovsky/django-uwsgi
4ed73372a2ff2acf980e574a6154c0c8e95ebbb6
[ "MIT" ]
187
2015-02-10T23:26:28.000Z
2022-02-25T14:51:45.000Z
django_uwsgi/emperor/__init__.py
eriktelepovsky/django-uwsgi
4ed73372a2ff2acf980e574a6154c0c8e95ebbb6
[ "MIT" ]
1,153
2015-04-24T10:47:00.000Z
2022-03-30T15:28:14.000Z
django_uwsgi/emperor/__init__.py
eriktelepovsky/django-uwsgi
4ed73372a2ff2acf980e574a6154c0c8e95ebbb6
[ "MIT" ]
35
2015-04-24T09:35:11.000Z
2022-03-21T18:41:01.000Z
default_app_config = 'django_uwsgi.emperor.apps.EmperorConfig'
21.333333
62
0.84375
8
64
6.375
1
0
0
0
0
0
0
0
0
0
0
0
0.0625
64
2
63
32
0.85
0
0
0
0
0
0.619048
0.619048
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9be52b263844c6c450fd26b4f21a82128126b2fd
319
py
Python
lib/oeqa/runtime/cases/rubygems_rubygems_trailblazer_option.py
tuxable-ltd/meta-rubygems
e80630e79b64e1be8339e1add0ab07644ec99425
[ "BSD-2-Clause" ]
null
null
null
lib/oeqa/runtime/cases/rubygems_rubygems_trailblazer_option.py
tuxable-ltd/meta-rubygems
e80630e79b64e1be8339e1add0ab07644ec99425
[ "BSD-2-Clause" ]
141
2021-02-04T16:22:13.000Z
2022-03-27T08:29:40.000Z
lib/oeqa/runtime/cases/rubygems_rubygems_trailblazer_option.py
tuxable-ltd/meta-rubygems
e80630e79b64e1be8339e1add0ab07644ec99425
[ "BSD-2-Clause" ]
3
2021-02-04T14:02:01.000Z
2022-02-02T16:46:52.000Z
from rubygems_utils import RubyGemsTestUtils class RubyGemsTestrubygems_trailblazer_option(RubyGemsTestUtils): def test_gem_list_rubygems_trailblazer_option(self): self.gem_is_installed("trailblazer-option") def test_load_trailblazer_option(self): self.gem_is_loadable("trailblazer-option")
29
65
0.808777
36
319
6.75
0.5
0.349794
0.17284
0.205761
0.246914
0.246914
0
0
0
0
0
0
0.125392
319
10
66
31.9
0.870968
0
0
0
0
0
0.113208
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.666667
0
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
1
0
0
0
0
1
0
0
4
9bf6453b8777f0889e27a8893df9861ecd701b62
27,104
py
Python
parsimony/algorithms/multiblock.py
nguigs/pylearn-parsimony
f712d2828823d6d55a2470ce060bcaeda2d0589a
[ "BSD-3-Clause" ]
null
null
null
parsimony/algorithms/multiblock.py
nguigs/pylearn-parsimony
f712d2828823d6d55a2470ce060bcaeda2d0589a
[ "BSD-3-Clause" ]
null
null
null
parsimony/algorithms/multiblock.py
nguigs/pylearn-parsimony
f712d2828823d6d55a2470ce060bcaeda2d0589a
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ The :mod:`parsimony.algorithms.multiblock` module includes several multiblock algorithms. Algorithms may not store states. I.e., if they are classes, do not keep references to objects with state in the algorithm objects. It should be possible to copy and share algorithms between e.g. estima...
35.804491
80
0.522026
3,007
27,104
4.548055
0.106418
0.059667
0.083285
0.088915
0.75468
0.726967
0.70196
0.666862
0.651799
0.643609
0
0.006122
0.391308
27,104
756
81
35.851852
0.822827
0.243839
0
0.710588
0
0
0.003736
0.001096
0
0
0
0.001323
0
1
0.028235
false
0.002353
0.030588
0.002353
0.098824
0.002353
0
0
0
null
0
0
0
0
1
1
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
4
5003da3b4842f5e5b8b4475f7de7e2b916c31e5b
216
py
Python
AutoDL_sample_code_submission/Auto_Image/backbone_model.py
zhengying-liu/AutoDL-1
7bb65572a60b0ffe918dfcdacd93d258632591a8
[ "Apache-2.0" ]
1
2021-07-03T08:04:03.000Z
2021-07-03T08:04:03.000Z
AutoDL_sample_code_submission/Auto_Image/backbone_model.py
zichuan-scott-xu/AutoDL-1
7bb65572a60b0ffe918dfcdacd93d258632591a8
[ "Apache-2.0" ]
null
null
null
AutoDL_sample_code_submission/Auto_Image/backbone_model.py
zichuan-scott-xu/AutoDL-1
7bb65572a60b0ffe918dfcdacd93d258632591a8
[ "Apache-2.0" ]
1
2021-07-03T08:02:25.000Z
2021-07-03T08:02:25.000Z
# This class is not used yet. # The initialization is currently done in hp_optimizer.py from automl_workflow.api import BackboneModel from architectures.resnet import ResNet9, ResNet18 MyBackboneModel = ResNet18
24
57
0.819444
29
216
6.034483
0.862069
0
0
0
0
0
0
0
0
0
0
0.027027
0.143519
216
9
58
24
0.918919
0.388889
0
0
0
0
0
0
0
0
0
0
0
1
0
false
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
0
0
1
0
1
0
0
4
5012bbacdd51921c7d2bf22d23d0a03cb66e9e73
89
py
Python
evaluation/nor-tensor_9.py
sdlab-naist/Teddy-plus
367aadbb30b80e1680156b88017f9bb2d78c539a
[ "0BSD" ]
null
null
null
evaluation/nor-tensor_9.py
sdlab-naist/Teddy-plus
367aadbb30b80e1680156b88017f9bb2d78c539a
[ "0BSD" ]
65
2020-01-30T10:58:48.000Z
2020-04-30T03:37:58.000Z
evaluation/nor-tensor_9.py
MUICT-SERU/SP2019-TEDDY
367aadbb30b80e1680156b88017f9bb2d78c539a
[ "ISC" ]
1
2021-01-15T08:18:23.000Z
2021-01-15T08:18:23.000Z
def __getattr__(self, item): module = self._load() return getattr(module, item)
17.8
32
0.674157
11
89
5
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.202247
89
4
33
22.25
0.774648
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
501aeba5e20e53af3027ed5b42f2535f187d9f1d
1,174
py
Python
lemon/protocol/Auth/SaltedPasswordMd5.py
lemon-chat/lemon-server-python
5947b52b3c4535ae54fe2705a830db07fdaf741d
[ "MIT" ]
null
null
null
lemon/protocol/Auth/SaltedPasswordMd5.py
lemon-chat/lemon-server-python
5947b52b3c4535ae54fe2705a830db07fdaf741d
[ "MIT" ]
null
null
null
lemon/protocol/Auth/SaltedPasswordMd5.py
lemon-chat/lemon-server-python
5947b52b3c4535ae54fe2705a830db07fdaf741d
[ "MIT" ]
null
null
null
# automatically generated by the FlatBuffers compiler, do not modify # namespace: Auth import flatbuffers from flatbuffers.compat import import_numpy np = import_numpy() class SaltedPasswordMd5(object): __slots__ = ['_tab'] @classmethod def GetRootAsSaltedPasswordMd5(cls, buf, offset): n = flatb...
31.72973
139
0.689097
130
1,174
6.107692
0.461538
0.035264
0.055416
0.088161
0.103275
0.103275
0
0
0
0
0
0.017448
0.21891
1,174
36
140
32.611111
0.848419
0.100511
0
0
1
0
0.003806
0
0
0
0
0
0
1
0.24
false
0.24
0.16
0.04
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
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
504173c506215df62d84123266798a912a825e1d
79
py
Python
openapi_core/exceptions.py
eyadgaran/openapi-core
ff4a6c81eeda0e2274aa9dc03597779c141e5728
[ "BSD-3-Clause" ]
null
null
null
openapi_core/exceptions.py
eyadgaran/openapi-core
ff4a6c81eeda0e2274aa9dc03597779c141e5728
[ "BSD-3-Clause" ]
null
null
null
openapi_core/exceptions.py
eyadgaran/openapi-core
ff4a6c81eeda0e2274aa9dc03597779c141e5728
[ "BSD-3-Clause" ]
1
2022-01-19T21:23:56.000Z
2022-01-19T21:23:56.000Z
"""OpenAPI core exceptions module""" class OpenAPIError(Exception): pass
13.166667
36
0.721519
8
79
7.125
1
0
0
0
0
0
0
0
0
0
0
0
0.164557
79
5
37
15.8
0.863636
0.379747
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
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
1
0
0
0
0
0
4
5059d58bfded64a0ca07bc7186f00a538b4763e2
180
py
Python
affo_user_service/verification/backends/base.py
fossabot/affo-user-service
e580bdc8d16b4d2ddf6b374b7add4809b9681c4d
[ "BSD-3-Clause" ]
null
null
null
affo_user_service/verification/backends/base.py
fossabot/affo-user-service
e580bdc8d16b4d2ddf6b374b7add4809b9681c4d
[ "BSD-3-Clause" ]
null
null
null
affo_user_service/verification/backends/base.py
fossabot/affo-user-service
e580bdc8d16b4d2ddf6b374b7add4809b9681c4d
[ "BSD-3-Clause" ]
1
2019-11-25T14:21:58.000Z
2019-11-25T14:21:58.000Z
class BaseBackend: def __init__(self, **settings): raise NotImplementedError() def send(self, recipient, token, resend=False): raise NotImplementedError()
25.714286
51
0.683333
17
180
7
0.764706
0.403361
0
0
0
0
0
0
0
0
0
0
0.216667
180
6
52
30
0.843972
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
ac9d115abb855d8b7b33aaeb2b56eb72d5e2c622
280
py
Python
AmbieNet/users/permissions/admins.py
sansuaza/Backend-AmbieNet
97613bc7f3bb52e1ff0a679a15867dd85648a6b7
[ "MIT" ]
null
null
null
AmbieNet/users/permissions/admins.py
sansuaza/Backend-AmbieNet
97613bc7f3bb52e1ff0a679a15867dd85648a6b7
[ "MIT" ]
6
2021-05-23T17:03:45.000Z
2021-06-10T23:08:38.000Z
AmbieNet/users/permissions/admins.py
sansuaza/Backend-AmbieNet
97613bc7f3bb52e1ff0a679a15867dd85648a6b7
[ "MIT" ]
null
null
null
"""admin permissions""" #Django REST Framework from rest_framework.permissions import BasePermission class IsAdminUser(BasePermission): """ Handle of ensure that the request user is admin """ def has_permission(self, request, view): return request.user.is_staff
28
59
0.75
34
280
6.088235
0.735294
0.125604
0.125604
0
0
0
0
0
0
0
0
0
0.164286
280
9
60
31.111111
0.884615
0.314286
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
1
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
1
0
0
0
1
1
0
0
4
acd433130266313e6c50c1a9e965030378d3d5d3
149
py
Python
pymnn/pip_package/MNN/tools/mnn_fb/ModeFormat.py
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
3
2019-12-27T01:10:32.000Z
2021-05-14T08:10:40.000Z
pymnn/pip_package/MNN/tools/mnn_fb/ModeFormat.py
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
10
2019-07-04T01:40:13.000Z
2019-10-30T02:38:42.000Z
pymnn/pip_package/MNN/tools/mnn_fb/ModeFormat.py
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
1
2020-03-10T02:17:47.000Z
2020-03-10T02:17:47.000Z
# automatically generated by the FlatBuffers compiler, do not modify # namespace: MNN class ModeFormat(object): TENSORFLOW = 0 TFLITE = 1
16.555556
68
0.724832
18
149
6
1
0
0
0
0
0
0
0
0
0
0
0.017094
0.214765
149
8
69
18.625
0.905983
0.543624
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
acefe9d202647c626680850304746f1aa61de85e
95
py
Python
examples/test.py
hyeonukbhin/bootstrap-flask
42bd57dbd5ac802a13afd6bbd9e5136a4b1e8f5b
[ "BSD-3-Clause" ]
null
null
null
examples/test.py
hyeonukbhin/bootstrap-flask
42bd57dbd5ac802a13afd6bbd9e5136a4b1e8f5b
[ "BSD-3-Clause" ]
null
null
null
examples/test.py
hyeonukbhin/bootstrap-flask
42bd57dbd5ac802a13afd6bbd9e5136a4b1e8f5b
[ "BSD-3-Clause" ]
null
null
null
ss = '{0:>30}'.format('전혀 그렇지 않음') + "s" sss = '{0:>30}'.format('전혀 그렇지 않음') + "sss" print(sss)
31.666667
43
0.515789
18
95
2.722222
0.555556
0.122449
0.367347
0.44898
0.653061
0.653061
0
0
0
0
0
0.074074
0.147368
95
3
44
31.666667
0.530864
0
0
0
0
0
0.375
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
acf665b371300ac0be8b718f2dd93470fcf1c351
113
py
Python
Assignments/Assignment 4/Assignment4.py
Mad-Driscoll/CMPT-120L-902-21S
ea61a4bd4751416e12acd9669138445270549937
[ "MIT" ]
null
null
null
Assignments/Assignment 4/Assignment4.py
Mad-Driscoll/CMPT-120L-902-21S
ea61a4bd4751416e12acd9669138445270549937
[ "MIT" ]
null
null
null
Assignments/Assignment 4/Assignment4.py
Mad-Driscoll/CMPT-120L-902-21S
ea61a4bd4751416e12acd9669138445270549937
[ "MIT" ]
null
null
null
def userinput(x: int): return x y = input("Enter a random integer:") print(sum(range(userinput(int(y) + 1))))
18.833333
40
0.663717
19
113
3.947368
0.789474
0
0
0
0
0
0
0
0
0
0
0.010417
0.150442
113
6
40
18.833333
0.770833
0
0
0
0
0
0.201754
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
4a0d5d47c8ebddc2f6f065a8a45f876af8a088e7
619
py
Python
exercise_11.py
pavlovcoder/python-programs-set-1
c582955930e88e4e7d59d35f7351037a4bfa2254
[ "MIT" ]
1
2021-01-27T09:01:33.000Z
2021-01-27T09:01:33.000Z
exercise_11.py
pavlovcoder/python-programs-set-1
c582955930e88e4e7d59d35f7351037a4bfa2254
[ "MIT" ]
null
null
null
exercise_11.py
pavlovcoder/python-programs-set-1
c582955930e88e4e7d59d35f7351037a4bfa2254
[ "MIT" ]
1
2021-01-26T13:22:21.000Z
2021-01-26T13:22:21.000Z
print( '-----------------------------------------\n'\ 'Practical python education || Exercise-11:\n'\ '-----------------------------------------\n' ) print( 'Task:\n'\ '-----------------------------------------\n'\ 'Write a Python program to print the documents (syntax, description etc.) of Python built-...
25.791667
110
0.355412
49
619
4.408163
0.653061
0.027778
0
0
0
0
0
0
0
0
0
0.011132
0.129241
619
24
111
25.791667
0.38961
0
0
0.3
0
0.05
0.783871
0.412903
0
0
0
0
0
1
0
true
0
0
0
0
0.3
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
c5934489f746d980203c385439999b5dc2bda1ea
467
py
Python
models/common/model.py
mit-quest/COVID19-campus-modeling
0a45b2c492ea3ec4f301504579c6a23558e6ac65
[ "BSD-3-Clause" ]
null
null
null
models/common/model.py
mit-quest/COVID19-campus-modeling
0a45b2c492ea3ec4f301504579c6a23558e6ac65
[ "BSD-3-Clause" ]
null
null
null
models/common/model.py
mit-quest/COVID19-campus-modeling
0a45b2c492ea3ec4f301504579c6a23558e6ac65
[ "BSD-3-Clause" ]
null
null
null
class Model: config = dict() model_parameters = dict() def __str__(self) -> str: return ' | '.join([self.config['model_type'], self.config['model_name'], self.config['model_id']]) def __init__(self, config: dict) -> None: self.config = config self.model_parameters = self.config...
33.357143
106
0.64454
58
467
4.896552
0.448276
0.211268
0.211268
0
0
0
0
0
0
0
0
0.002725
0.214133
467
13
107
35.923077
0.771117
0
0
0
0
0
0.100642
0
0
0
0
0
0
1
0.3
false
0
0
0.1
0.7
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
1
0
0
0
0
1
0
0
4
c5a0e8383bc533335c94e5d51a06079814952ff5
224
py
Python
setup.py
WebF0x/DialogFlowAccuracyTest
df314f3da82e949b3296abbdfa2d4ac2c589c4a7
[ "Unlicense" ]
null
null
null
setup.py
WebF0x/DialogFlowAccuracyTest
df314f3da82e949b3296abbdfa2d4ac2c589c4a7
[ "Unlicense" ]
null
null
null
setup.py
WebF0x/DialogFlowAccuracyTest
df314f3da82e949b3296abbdfa2d4ac2c589c4a7
[ "Unlicense" ]
null
null
null
from distutils.core import setup setup( name='DialogFlow accuracy test', version='0.1dev', packages=['dialogflow_accuracy_test',], license='The Unlicense', long_description='DialogFlow accuracy test' )
20.363636
47
0.714286
25
224
6.28
0.72
0.343949
0.420382
0
0
0
0
0
0
0
0
0.010753
0.169643
224
10
48
22.4
0.833333
0
0
0
0
0
0.40625
0.107143
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
1
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
1
0
0
0
0
0
0
4
c5a9e6ef7d658abb37f418547bd311b2fb269da2
79
py
Python
microblog/run.py
khannasarthak/flaskKikApp
cc230afc9808a4ab360a3f01fdb72326164684a6
[ "MIT" ]
null
null
null
microblog/run.py
khannasarthak/flaskKikApp
cc230afc9808a4ab360a3f01fdb72326164684a6
[ "MIT" ]
null
null
null
microblog/run.py
khannasarthak/flaskKikApp
cc230afc9808a4ab360a3f01fdb72326164684a6
[ "MIT" ]
null
null
null
# keep this outside of the app folder from app import app app.run(debug=True)
15.8
37
0.759494
15
79
4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.177215
79
4
38
19.75
0.923077
0.443038
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
0
0
0
4
c5b4d9679bb6d381268f80fb6b4843bbe628919e
293
py
Python
ex2.py
alexMcGarity/Learn-Python-3-The-Hard-Way
d56d7691a2466d88c9412f80645906d714483c54
[ "Unlicense" ]
null
null
null
ex2.py
alexMcGarity/Learn-Python-3-The-Hard-Way
d56d7691a2466d88c9412f80645906d714483c54
[ "Unlicense" ]
null
null
null
ex2.py
alexMcGarity/Learn-Python-3-The-Hard-Way
d56d7691a2466d88c9412f80645906d714483c54
[ "Unlicense" ]
null
null
null
#A comment, this is so that you can read your program later #Anything after the # is ignored by python. print("I could have code like this.")#and the comment after is ignored. #You can also use a comment to disable or 'comment out' code #print("this wont run") print("This will run.")
36.625
72
0.720137
52
293
4.057692
0.653846
0.075829
0
0
0
0
0
0
0
0
0
0
0.194539
293
8
73
36.625
0.894068
0.726962
0
0
0
0
0.617647
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
c5c85946f865400e17ae1a6e627df13afa81eef1
89
py
Python
pysurf/system/mode.py
MFSJMenger/pysurf
99c6a94d4cb5046f16a0961b907061d989ffb6dc
[ "Apache-2.0" ]
7
2020-10-28T13:46:08.000Z
2021-05-27T06:41:56.000Z
pysurf/system/mode.py
MFSJMenger/pysurf
99c6a94d4cb5046f16a0961b907061d989ffb6dc
[ "Apache-2.0" ]
2
2020-10-27T19:15:12.000Z
2020-10-27T19:15:25.000Z
pysurf/system/mode.py
MFSJMenger/pysurf
99c6a94d4cb5046f16a0961b907061d989ffb6dc
[ "Apache-2.0" ]
2
2021-04-15T05:54:30.000Z
2022-02-08T00:10:10.000Z
from collections import namedtuple Mode = namedtuple("Mode", ["freq", "displacements"])
22.25
52
0.741573
9
89
7.333333
0.777778
0.424242
0
0
0
0
0
0
0
0
0
0
0.11236
89
3
53
29.666667
0.835443
0
0
0
0
0
0.235955
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
a8631ccc7851facace58d9e8de5254ade1c4d588
320
py
Python
plugin/core/url.py
gobijan/LSP
fe6267f7741b24c760f3ca9ec36697a43dab2684
[ "MIT" ]
115
2015-01-11T19:31:13.000Z
2021-10-06T00:03:38.000Z
plugin/core/url.py
gobijan/LSP
fe6267f7741b24c760f3ca9ec36697a43dab2684
[ "MIT" ]
8
2015-11-20T16:00:03.000Z
2019-01-22T01:57:35.000Z
plugin/core/url.py
isabella232/LSP
7ecade4273e46a9f73523cfcf9584fd32bedc060
[ "MIT" ]
37
2015-03-13T07:55:49.000Z
2020-02-13T08:41:19.000Z
from urllib.parse import urljoin from urllib.parse import urlparse from urllib.request import pathname2url from urllib.request import url2pathname def filename_to_uri(path: str) -> str: return urljoin('file:', pathname2url(path)) def uri_to_filename(uri: str) -> str: return url2pathname(urlparse(uri).path)
24.615385
47
0.775
44
320
5.545455
0.386364
0.163934
0.122951
0.172131
0
0
0
0
0
0
0
0.01444
0.134375
320
12
48
26.666667
0.866426
0
0
0
0
0
0.015625
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
4
a867c06a6c232ea783e536e75c7362cdbfa1f7fd
214
py
Python
core/accounts/admin.py
dotHashemi/qeshm-employment
3f7bd2b50b8cae0df74c1abbb5befe1f46546dc9
[ "MIT" ]
2
2021-01-12T07:22:14.000Z
2021-01-12T15:47:00.000Z
core/accounts/admin.py
dotHashemi/qeshm-employment
3f7bd2b50b8cae0df74c1abbb5befe1f46546dc9
[ "MIT" ]
null
null
null
core/accounts/admin.py
dotHashemi/qeshm-employment
3f7bd2b50b8cae0df74c1abbb5befe1f46546dc9
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Account, Verify @admin.register(Account) class AccountAdmin(admin.ModelAdmin): pass @admin.register(Verify) class VerifyAdmin(admin.ModelAdmin): pass
17.833333
37
0.780374
26
214
6.423077
0.538462
0.155689
0.227545
0
0
0
0
0
0
0
0
0
0.130841
214
12
38
17.833333
0.897849
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0
true
0.25
0.25
0
0.5
0
1
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
1
1
0
0
0
0
0
4
a86b94e199fecc4acbdebf0244e339b233e416a3
197
py
Python
tests/tests_scheduler.py
guilacerda/gcp-pilot
b31a7d4cd2de94a57c928c024e8f5b074f628224
[ "Apache-2.0" ]
null
null
null
tests/tests_scheduler.py
guilacerda/gcp-pilot
b31a7d4cd2de94a57c928c024e8f5b074f628224
[ "Apache-2.0" ]
16
2021-01-11T00:59:42.000Z
2022-03-29T18:34:55.000Z
tests/tests_scheduler.py
guilacerda/gcp-pilot
b31a7d4cd2de94a57c928c024e8f5b074f628224
[ "Apache-2.0" ]
1
2021-09-17T05:38:41.000Z
2021-09-17T05:38:41.000Z
import unittest from gcp_pilot.scheduler import CloudScheduler from tests import ClientTestMixin class TestCloudScheduler(ClientTestMixin, unittest.TestCase): _CLIENT_KLASS = CloudScheduler
21.888889
61
0.847716
20
197
8.2
0.7
0
0
0
0
0
0
0
0
0
0
0
0.116751
197
8
62
24.625
0.942529
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.6
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
0
0
1
0
1
0
0
4
a880488cd323910bad44195f66c0a34f7fa79119
1,004
py
Python
euler/problem_83.py
jcthomassie/euler
97e23a1976d40fec7c9c9136f82bdcb145a35f1f
[ "MIT" ]
null
null
null
euler/problem_83.py
jcthomassie/euler
97e23a1976d40fec7c9c9136f82bdcb145a35f1f
[ "MIT" ]
12
2020-11-18T00:15:52.000Z
2021-07-04T18:21:03.000Z
euler/problem_83.py
jcthomassie/euler
97e23a1976d40fec7c9c9136f82bdcb145a35f1f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Path sum: four ways =================== https://projecteuler.net/problem=83 NOTE: This problem is a significantly more challenging version of Problem 81. In the 5 by 5 matrix below, the minimal path sum from the top left to the bottom right, by moving left, right, up, and down, is indicate...
25.74359
80
0.64741
162
1,004
3.901235
0.611111
0.033228
0.044304
0.053797
0.231013
0.231013
0.231013
0.231013
0.231013
0.231013
0
0.122555
0.236056
1,004
38
81
26.421053
0.701434
0.747012
0
0
0
0
0.093496
0
0
0
0
0
0
1
0.125
true
0
0.375
0.125
0.625
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
1
1
0
0
4
a8996ada4736e5781f140ab0a79c58ad1a2f45da
147
py
Python
finny/exceptions.py
hurrycane/finny
aff6e1c480426976cfee02b3c1d3e6ae9c196f81
[ "MIT" ]
null
null
null
finny/exceptions.py
hurrycane/finny
aff6e1c480426976cfee02b3c1d3e6ae9c196f81
[ "MIT" ]
null
null
null
finny/exceptions.py
hurrycane/finny
aff6e1c480426976cfee02b3c1d3e6ae9c196f81
[ "MIT" ]
null
null
null
from werkzeug.exceptions import HTTPException class BaseHttpException(HTTPException): pass class HttpNotFound(BaseHttpException): code = 404
18.375
45
0.823129
14
147
8.642857
0.785714
0
0
0
0
0
0
0
0
0
0
0.023256
0.122449
147
7
46
21
0.914729
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.2
0.2
0
0.8
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
1
0
0
1
0
0
4
a8a9d78b1f93ef079ac7c26e6814af6f8df59ff7
211
py
Python
ml/nn/modules/__init__.py
necla-ml/ml
7ebd29382326e3958297607da7182c211865e7ff
[ "BSD-3-Clause" ]
1
2022-02-21T21:06:29.000Z
2022-02-21T21:06:29.000Z
ml/nn/modules/__init__.py
necla-ml/ml
7ebd29382326e3958297607da7182c211865e7ff
[ "BSD-3-Clause" ]
null
null
null
ml/nn/modules/__init__.py
necla-ml/ml
7ebd29382326e3958297607da7182c211865e7ff
[ "BSD-3-Clause" ]
null
null
null
from .fc import * from .activation import * from .batchnorm import * from .loss import * # from .module import * from .yolo import * from . import ( activation, batchnorm, fc, loss, yolo, )
15.071429
25
0.635071
25
211
5.36
0.32
0.447761
0
0
0
0
0
0
0
0
0
0
0.265403
211
14
26
15.071429
0.864516
0.099526
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
a8d1fba8cac71dfbc23b92cda08908b661c3e43b
384,551
py
Python
mayaSDK/maya/cmds/System.py
FXTD-ODYSSEY/vscode-mayapy
7a21872f80b5b740fc653e79c3f9b5268e87b3c3
[ "MIT" ]
20
2019-09-20T00:30:22.000Z
2021-12-26T06:56:16.000Z
mayaSDK/maya/cmds/System.py
minjiang999/vscode-mayapy
7a21872f80b5b740fc653e79c3f9b5268e87b3c3
[ "MIT" ]
5
2019-12-29T15:19:03.000Z
2022-03-29T16:54:19.000Z
mayaSDK/maya/cmds/System.py
minjiang999/vscode-mayapy
7a21872f80b5b740fc653e79c3f9b5268e87b3c3
[ "MIT" ]
8
2019-09-23T05:46:44.000Z
2022-01-11T14:42:14.000Z
def attrCompatibility(a=1,clr=1,dmp=1,enable=1,nr="string",pn="string",rm=1,r="string",typ="string",v="string"): """ http://help.autodesk.com/cloudhelp/2019/ENU/Maya-Tech-Docs/CommandsPython/attrCompatibility.html ----------------------------------------- attrCompatibility is undoable, NOT queryable, and NOT ed...
42.365429
3,428
0.63104
50,957
384,551
4.761524
0.072551
0.008222
0.007188
0.008536
0.383307
0.338445
0.304283
0.282179
0.259
0.238785
0
0.004842
0.177196
384,551
9,076
3,429
42.370097
0.761989
0.96939
0
0
0
0
0.234775
0
0
0
0
0
0
1
1
false
0
0.009174
0
1.009174
0.009174
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
76422fed562cc0b14fb341b219bc67232c238401
229
py
Python
bincrafters/build_paths.py
eyllanesc/bincrafters-package-tools
110a6715b2bfa2099b6f1c1ce555941035efecbd
[ "MIT" ]
null
null
null
bincrafters/build_paths.py
eyllanesc/bincrafters-package-tools
110a6715b2bfa2099b6f1c1ce555941035efecbd
[ "MIT" ]
null
null
null
bincrafters/build_paths.py
eyllanesc/bincrafters-package-tools
110a6715b2bfa2099b6f1c1ce555941035efecbd
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- BINCRAFTERS_REPO_URL = "https://api.bintray.com/conan/bincrafters/public-conan" BINCRAFTERS_REPO_NAME = "public-conan" BINCRAFTERS_LOGIN_USERNAME = "bincrafters-user" BINCRAFTERS_USERNAME = "bincrafters"
32.714286
79
0.781659
27
229
6.37037
0.592593
0.27907
0.255814
0
0
0
0
0
0
0
0
0.004739
0.078603
229
6
80
38.166667
0.810427
0.091703
0
0
0
0
0.451456
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
767c045e8f2b66c64a582074db3671534a7c2258
3,629
py
Python
tests/test_ifconfig.py
philippeitis/jc
d96b3a65a98bc135d21d4feafc0a43317b5a11fa
[ "MIT" ]
null
null
null
tests/test_ifconfig.py
philippeitis/jc
d96b3a65a98bc135d21d4feafc0a43317b5a11fa
[ "MIT" ]
null
null
null
tests/test_ifconfig.py
philippeitis/jc
d96b3a65a98bc135d21d4feafc0a43317b5a11fa
[ "MIT" ]
null
null
null
import os import json import unittest import jc.parsers.ifconfig THIS_DIR = os.path.dirname(os.path.abspath(__file__)) class MyTests(unittest.TestCase): def setUp(self): # input with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/ifconfig.out'), 'r') as f: self.cen...
40.775281
124
0.658584
589
3,629
3.794567
0.093379
0.071588
0.050112
0.057271
0.877852
0.856376
0.833557
0.727069
0.668009
0.552573
0
0.074227
0.198126
3,629
88
125
41.238636
0.693814
0.05456
0
0
0
0
0.151322
0.145245
0
0
0
0
0.133333
1
0.155556
false
0
0.088889
0
0.266667
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
769e44d12442fca35821358a222c95b7984b3730
204
py
Python
pytest_response/__init__.py
devanshshukla99/pytest-remote-response
e63a7e49385fe32b857a437576de759a1bbc14b7
[ "BSD-3-Clause" ]
null
null
null
pytest_response/__init__.py
devanshshukla99/pytest-remote-response
e63a7e49385fe32b857a437576de759a1bbc14b7
[ "BSD-3-Clause" ]
17
2021-06-23T17:50:25.000Z
2021-07-02T10:07:59.000Z
pytest_response/__init__.py
devanshshukla99/pytest-response
e63a7e49385fe32b857a437576de759a1bbc14b7
[ "BSD-3-Clause" ]
null
null
null
# flake8: noqa from pytest_response._version import version as __version__ from pytest_response.app import Response response = Response(capture=False, remote=False, response=False) __all__ = [response]
25.5
64
0.813725
26
204
5.961538
0.5
0.129032
0.232258
0
0
0
0
0
0
0
0
0.005525
0.112745
204
7
65
29.142857
0.850829
0.058824
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
76a3756614117585ac622497093c02afb0b04257
99
py
Python
scripts/builder/launcher.py
xingkong0113/bookworm
7214067f48e7a951198806a1f9170e3fd8fc0cce
[ "MIT" ]
36
2020-11-15T03:21:39.000Z
2022-03-05T01:11:26.000Z
scripts/builder/launcher.py
xingkong0113/bookworm
7214067f48e7a951198806a1f9170e3fd8fc0cce
[ "MIT" ]
90
2020-10-06T14:46:07.000Z
2022-03-31T03:03:34.000Z
scripts/builder/launcher.py
xingkong0113/bookworm
7214067f48e7a951198806a1f9170e3fd8fc0cce
[ "MIT" ]
20
2020-09-30T17:40:44.000Z
2022-03-17T19:59:53.000Z
# coding: utf-8 if __name__ == "__main__": from bookworm import bookworm bookworm.main()
14.142857
33
0.666667
12
99
4.833333
0.75
0
0
0
0
0
0
0
0
0
0
0.012987
0.222222
99
6
34
16.5
0.74026
0.131313
0
0
0
0
0.095238
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
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
0
0
0
4
76ac90d980028a17c775056bd2db807830d6abc0
45,726
py
Python
trainer_gradnorm.py
tango4j/loss-balance
e985b6acba975dce9aea054c9e270885f240d7f7
[ "BSD-3-Clause" ]
null
null
null
trainer_gradnorm.py
tango4j/loss-balance
e985b6acba975dce9aea054c9e270885f240d7f7
[ "BSD-3-Clause" ]
null
null
null
trainer_gradnorm.py
tango4j/loss-balance
e985b6acba975dce9aea054c9e270885f240d7f7
[ "BSD-3-Clause" ]
null
null
null
import torch import numpy as np import ipdb from utils import * from losses import ContrastiveLoss_mod as const_loss import copy import operator import matplotlib import matplotlib.pyplot as plt matplotlib.use('Agg') from pylab import logspace import matplotlib as mpl import warnings warnings.filterwarnings("ignore") ...
43.301136
246
0.639308
6,536
45,726
4.12806
0.063341
0.021348
0.011675
0.012787
0.780994
0.754383
0.72362
0.70268
0.685186
0.655128
0
0.016249
0.251673
45,726
1,055
247
43.34218
0.772254
0.202554
0
0.572816
0
0.008091
0.041092
0.002712
0
0
0
0
0.014563
1
0.053398
false
0
0.019417
0.004854
0.121359
0.021036
0
0
0
null
0
0
0
0
1
1
1
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
4
76be2cc727552b88f00a9762e2502d785fabb30b
1,710
py
Python
python_challenges/matrix.py
bruckhaus/challenges
c53d13fa89bd5ac0436310a6cfe82cfc3b2d122f
[ "MIT" ]
1
2015-09-28T18:05:39.000Z
2015-09-28T18:05:39.000Z
python_challenges/matrix.py
bruckhaus/challenges
c53d13fa89bd5ac0436310a6cfe82cfc3b2d122f
[ "MIT" ]
null
null
null
python_challenges/matrix.py
bruckhaus/challenges
c53d13fa89bd5ac0436310a6cfe82cfc3b2d122f
[ "MIT" ]
2
2016-09-21T00:42:51.000Z
2017-11-28T19:56:00.000Z
__author__ = 'tilmann.bruckhaus' class Matrix: def __init__(self, values): self.values = values def traverse(self): self.compute_paths() return self.values[-1][-1] def compute_paths(self): for row in range(len(self.values)): for column in range(len(self.values...
34.897959
110
0.463158
199
1,710
3.889447
0.175879
0.297158
0.302326
0.343669
0.598191
0.572351
0.541344
0.541344
0.453488
0.453488
0
0.038012
0.4
1,710
48
111
35.625
0.716374
0
0
0.404762
0
0
0.042105
0
0
0
0
0
0
0
null
null
0
0
null
null
0.095238
0
0
0
null
1
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
1
0
0
0
0
0
0
0
0
4
76c3313f0ebc615002ff2397e39ac954a19963c1
18
py
Python
gazelle/testdata/dependency_resolution_order/somewhere/bar/__init__.py
axivion/rules_python
7740b22d0bae942af0797967f2617daa19834cb3
[ "Apache-2.0" ]
null
null
null
gazelle/testdata/dependency_resolution_order/somewhere/bar/__init__.py
axivion/rules_python
7740b22d0bae942af0797967f2617daa19834cb3
[ "Apache-2.0" ]
null
null
null
gazelle/testdata/dependency_resolution_order/somewhere/bar/__init__.py
axivion/rules_python
7740b22d0bae942af0797967f2617daa19834cb3
[ "Apache-2.0" ]
null
null
null
import os _ = os
4.5
9
0.611111
3
18
3.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.333333
18
3
10
6
0.833333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
4f165e2c2100248f81a55ce1230c69ce7b4a072b
448
py
Python
jacdac/wind_direction/constants.py
microsoft/jacdac-python
712ad5559e29065f5eccb5dbfe029c039132df5a
[ "MIT" ]
1
2022-02-15T21:30:36.000Z
2022-02-15T21:30:36.000Z
jacdac/wind_direction/constants.py
microsoft/jacdac-python
712ad5559e29065f5eccb5dbfe029c039132df5a
[ "MIT" ]
null
null
null
jacdac/wind_direction/constants.py
microsoft/jacdac-python
712ad5559e29065f5eccb5dbfe029c039132df5a
[ "MIT" ]
1
2022-02-08T19:32:45.000Z
2022-02-08T19:32:45.000Z
# Autogenerated constants for Wind direction service from jacdac.constants import * from jacdac.system.constants import * JD_SERVICE_CLASS_WIND_DIRECTION = const(0x186be92b) JD_WIND_DIRECTION_REG_WIND_DIRECTION = const(JD_REG_READING) JD_WIND_DIRECTION_REG_WIND_DIRECTION_ERROR = const(JD_REG_READING_ERROR) JD_WIND_DIRE...
40.727273
72
0.854911
64
448
5.4375
0.3125
0.41092
0.215517
0.206897
0.385057
0.385057
0.206897
0
0
0
0
0.02451
0.089286
448
10
73
44.8
0.828431
0.111607
0
0
1
0
0.015152
0
0
0
0.025253
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
1
1
1
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
4
4f2776cdf6b06a08d993b4cada41f1a567c61120
9,494
py
Python
template/python/read_template.py
codejsha/confluent-kafka-script-generator
db977d45b6c4c2feb17b96f8b1a6cd5dd34447a8
[ "Apache-2.0" ]
null
null
null
template/python/read_template.py
codejsha/confluent-kafka-script-generator
db977d45b6c4c2feb17b96f8b1a6cd5dd34447a8
[ "Apache-2.0" ]
null
null
null
template/python/read_template.py
codejsha/confluent-kafka-script-generator
db977d45b6c4c2feb17b96f8b1a6cd5dd34447a8
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from template.python.enumeration import * from template.python.fileio import read_file # region properties def read_prop_template_data(current_dir): properties_template_dir = current_dir.joinpath('template/properties') prop_dict = { ServerType.ZOOKEEPER: read_file(f'{propertie...
52.164835
118
0.761323
1,228
9,494
5.57899
0.041531
0.136476
0.097212
0.05605
0.813312
0.791271
0.702817
0.592614
0.507809
0.36783
0
0.002624
0.117021
9,494
181
119
52.453039
0.814625
0.016326
0
0.068702
0
0
0.435249
0.416917
0
0
0
0
0
1
0.083969
false
0
0.015267
0
0.183206
0
0
0
0
null
0
0
0
1
1
1
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
4
4f373b0a36e1bbc5530bb66f28dde89e1995b39f
138
py
Python
jirani/apps.py
rileyarnie/neighbourhood
f5819e331fd4951fe3aed185fa6a47046aebc746
[ "MIT" ]
null
null
null
jirani/apps.py
rileyarnie/neighbourhood
f5819e331fd4951fe3aed185fa6a47046aebc746
[ "MIT" ]
7
2020-06-06T00:20:03.000Z
2021-09-08T01:24:47.000Z
jirani/apps.py
rileyarnie/neighbourhood
f5819e331fd4951fe3aed185fa6a47046aebc746
[ "MIT" ]
null
null
null
from django.apps import AppConfig class JiraniConfig(AppConfig): name = 'jirani' def ready(self): import jirani.signals
17.25
33
0.695652
16
138
6
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.224638
138
8
34
17.25
0.897196
0
0
0
0
0
0.043165
0
0
0
0
0
0
1
0.2
false
0
0.4
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
0
0
1
0
1
0
0
4
4f52abb34a9a58f810a0ee592baf418f1fe071a5
271
py
Python
autocorrelate.py
gress2/pseudo-feedback-mcts
d8957d505feb4a146e1b76cd6484846dac2d399e
[ "MIT" ]
null
null
null
autocorrelate.py
gress2/pseudo-feedback-mcts
d8957d505feb4a146e1b76cd6484846dac2d399e
[ "MIT" ]
null
null
null
autocorrelate.py
gress2/pseudo-feedback-mcts
d8957d505feb4a146e1b76cd6484846dac2d399e
[ "MIT" ]
null
null
null
import pysal import numpy as np w = [[0.1, 1, 1, 1, 1], [1, 0.1, 1, 1, 1], [1, 1, 0.1, 1, 1], [1, 1, 1, 0.1, 1], [1, 1, 1, 1, 0.1]] x = [1, 1, 1999, 0, 1] y = np.array(x) w = pysal.weights.util.full2W(np.array(w)) mi = pysal.Moran(y, w, two_tailed=False) print(mi.I)
20.846154
99
0.527675
66
271
2.151515
0.333333
0.295775
0.338028
0.338028
0.211268
0.211268
0.211268
0.211268
0.211268
0.211268
0
0.181395
0.206642
271
12
100
22.583333
0.47907
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.125
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
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
4
4f530f44bad6aedebdb4a91ed3bb75e925556379
146
py
Python
package-test/hello.py
Pirri123/package-test
68a7def712f952cf896208ceb9fe667f3d3dd46b
[ "MIT" ]
null
null
null
package-test/hello.py
Pirri123/package-test
68a7def712f952cf896208ceb9fe667f3d3dd46b
[ "MIT" ]
null
null
null
package-test/hello.py
Pirri123/package-test
68a7def712f952cf896208ceb9fe667f3d3dd46b
[ "MIT" ]
null
null
null
class User: def __init__(self, name): self.name = name def greet(self): print("Hello " + self.name) p1 = User("Username") p1.greet()
16.222222
31
0.623288
21
146
4.142857
0.52381
0.275862
0
0
0
0
0
0
0
0
0
0.017391
0.212329
146
9
32
16.222222
0.73913
0
0
0
0
0
0.095238
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.428571
0.142857
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
4f76de0dd61eacde78b3133799ccdff2ffe819ce
39
py
Python
Q1-20/Q2.py
pskim219/Q200
5f60438b4e54a108185c2b053a2708c31c27d288
[ "Apache-2.0" ]
null
null
null
Q1-20/Q2.py
pskim219/Q200
5f60438b4e54a108185c2b053a2708c31c27d288
[ "Apache-2.0" ]
null
null
null
Q1-20/Q2.py
pskim219/Q200
5f60438b4e54a108185c2b053a2708c31c27d288
[ "Apache-2.0" ]
null
null
null
print("안녕하셔요") a = 1 b = 1 print(a+b)
6.5
14
0.538462
9
39
2.333333
0.555556
0
0
0
0
0
0
0
0
0
0
0.066667
0.230769
39
5
15
7.8
0.633333
0
0
0
0
0
0.131579
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
0
0
0
0
0
1
0
4
96e7a864a40dd286c2d9f9bfbc6e64fdcba69b47
939
py
Python
DailyProgrammer/DP20120830C.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
2
2020-12-23T18:59:22.000Z
2021-04-14T13:16:09.000Z
DailyProgrammer/DP20120830C.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
null
null
null
DailyProgrammer/DP20120830C.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
null
null
null
""" [8/30/2012] Challenge #93 [difficult] (15-puzzle) https://www.reddit.com/r/dailyprogrammer/comments/z3a9x/8302012_challenge_93_difficult_15puzzle/ Write a program that can solve a standard ['15-puzzle'](http://en.wikipedia.org/wiki/Fifteen_puzzle). The program should read in a hex string describing the puzzle st...
27.617647
114
0.610224
128
939
4.375
0.734375
0.039286
0.071429
0
0
0
0
0
0
0
0
0.086728
0.189563
939
33
115
28.454545
0.649146
0.990415
0
0
0
0
0.125
0
0
0
0
0
0
1
0.25
true
0.25
0
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
1
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
4
96fafb3e7e38a928dafba37a1fdd8532a76c3594
214
py
Python
lintrain/scorers/__init__.py
nathanntg/lin-train
04395749fd25de2723111653bf632b51a54303a3
[ "MIT" ]
4
2015-11-30T02:25:21.000Z
2018-03-23T14:01:07.000Z
lintrain/scorers/__init__.py
nathanntg/lin-train
04395749fd25de2723111653bf632b51a54303a3
[ "MIT" ]
null
null
null
lintrain/scorers/__init__.py
nathanntg/lin-train
04395749fd25de2723111653bf632b51a54303a3
[ "MIT" ]
3
2015-11-30T02:25:23.000Z
2020-01-20T03:40:18.000Z
""" Contains scorers used for evaluating the fit of different regressions (used in feature selection process). """ from meanabsolute import MeanAbsolute from meansquare import MeanSquare __author__ = 'nathanntg'
23.777778
106
0.803738
25
214
6.72
0.8
0
0
0
0
0
0
0
0
0
0
0
0.140187
214
8
107
26.75
0.913043
0.495327
0
0
0
0
0.09
0
0
0
0
0
0
1
0
false
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
0
0
1
0
1
0
0
4
8c432c855c0e837a8dbaef9d31f5eb0b6fe8f243
298
py
Python
accounts/decorators.py
Ltmyth/newrepo
93f97af5f491e0b7d4ed7474b919810ebd721f3f
[ "MIT" ]
1
2018-06-29T08:04:38.000Z
2018-06-29T08:04:38.000Z
accounts/decorators.py
Ltmyth/newrepo
93f97af5f491e0b7d4ed7474b919810ebd721f3f
[ "MIT" ]
3
2020-06-05T18:36:20.000Z
2021-12-13T19:48:36.000Z
accounts/decorators.py
Ltmyth/newrepo
93f97af5f491e0b7d4ed7474b919810ebd721f3f
[ "MIT" ]
null
null
null
from django.shortcuts import redirect def logout_required(view_func): def _wrapped_view_func(request, *args, **kwargs): if request.user.is_authenticated: return redirect('logout') else: return view_func(request, *args, **kwargs) return _wrapped_view_func return _wrapped_view_func
24.833333
51
0.775168
40
298
5.45
0.5
0.183486
0.206422
0.174312
0.229358
0
0
0
0
0
0
0
0.134228
298
12
52
24.833333
0.844961
0
0
0.222222
0
0
0.020134
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.777778
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
1
0
0
0
0
1
0
0
4
8c50b558ed6783a86f23e04f23babc1282d56861
19
py
Python
hrp/researches/management/commands/_private.py
ken-mathenge/health_research_portal
e7e5ac8109c002a2d666c27ad076bbe040e00e5f
[ "MIT" ]
1
2020-01-21T10:27:35.000Z
2020-01-21T10:27:35.000Z
hrp/researches/management/commands/_private.py
ken-mathenge/health_research_portal
e7e5ac8109c002a2d666c27ad076bbe040e00e5f
[ "MIT" ]
13
2020-03-23T09:25:15.000Z
2020-07-14T12:41:14.000Z
hrp/researches/management/commands/_private.py
KennethMathenge/health_research_portal
e7e5ac8109c002a2d666c27ad076bbe040e00e5f
[ "MIT" ]
null
null
null
"""The scraper."""
9.5
18
0.526316
2
19
5
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
19
1
19
19
0.588235
0.631579
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
4fd6d3f2265a2ad476ff8ef0fea7c80b9910abdd
193
py
Python
alex/components/tts/base.py
oplatek/alex
73af644ec35c8a1cd0c37cd478c2afc1db717e0b
[ "Apache-2.0" ]
184
2015-02-11T04:14:41.000Z
2022-03-24T21:43:58.000Z
alex/components/tts/base.py
oplatek/alex
73af644ec35c8a1cd0c37cd478c2afc1db717e0b
[ "Apache-2.0" ]
69
2015-01-11T04:57:22.000Z
2019-04-24T10:25:56.000Z
alex/components/tts/base.py
oplatek/alex
73af644ec35c8a1cd0c37cd478c2afc1db717e0b
[ "Apache-2.0" ]
61
2015-03-04T10:52:13.000Z
2022-03-04T12:14:06.000Z
#!/usr/bin/env python # coding: utf-8 class TTSInterface(object): def __init__(self, cfg): self.cfg = cfg def synthesize(self, text): raise NotImplementedError("TTS")
19.3
40
0.642487
24
193
5
0.791667
0.116667
0
0
0
0
0
0
0
0
0
0.006711
0.227979
193
9
41
21.444444
0.798658
0.176166
0
0
0
0
0.019108
0
0
0
0
0
0
1
0.4
false
0
0
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
4fd8ce958fa266299c64a75bc0faee7e233a069e
1,756
py
Python
yaglm/cvxpy/glm_loss.py
ngierty/yaglm
57e212b576af7c5c0f0d62f9d6ad2484b9e25f10
[ "MIT" ]
15
2021-10-19T15:00:12.000Z
2022-03-24T22:24:54.000Z
yaglm/cvxpy/glm_loss.py
ngierty/yaglm
57e212b576af7c5c0f0d62f9d6ad2484b9e25f10
[ "MIT" ]
13
2021-07-22T21:52:55.000Z
2021-10-07T11:50:10.000Z
yaglm/cvxpy/glm_loss.py
ngierty/yaglm
57e212b576af7c5c0f0d62f9d6ad2484b9e25f10
[ "MIT" ]
2
2021-11-12T18:45:12.000Z
2021-12-14T14:57:42.000Z
import cvxpy as cp import numpy as np def lin_reg_loss(X, y, coef, intercept=None): """ 1/(2 *n_samples) ||X @ ceof + intercept - y||_2^2 """ z = get_z(X, coef, intercept) return (0.5 / X.shape[0]) * cp.sum_squares(z - y) def l2_reg_loss(X, y, coef, intercept=None): z = get_z(X, coef, inte...
24.732394
73
0.593394
320
1,756
3.153125
0.190625
0.219029
0.059465
0.080278
0.565907
0.533201
0.47671
0.340932
0.301288
0.301288
0
0.032329
0.224943
1,756
70
74
25.085714
0.709037
0.178246
0
0.21875
0
0
0
0
0
0
0
0.014286
0
1
0.28125
false
0
0.0625
0
0.625
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
4
4ff28165b0391e6268eb3cd2f5f8eea230e4b77d
704
py
Python
benchmarks/benchmarks/benchmarks.py
kastalpes/yt
b1e197ca84433fbd61eaf44b28ff5cdb37981d4c
[ "BSD-3-Clause-Clear" ]
2
2021-03-02T18:59:49.000Z
2021-03-02T18:59:50.000Z
benchmarks/benchmarks/benchmarks.py
kastalpes/yt
b1e197ca84433fbd61eaf44b28ff5cdb37981d4c
[ "BSD-3-Clause-Clear" ]
4
2018-04-13T23:03:42.000Z
2018-05-08T17:50:43.000Z
benchmarks/benchmarks/benchmarks.py
kastalpes/yt
b1e197ca84433fbd61eaf44b28ff5cdb37981d4c
[ "BSD-3-Clause-Clear" ]
2
2020-05-16T15:29:37.000Z
2020-06-22T10:17:08.000Z
# Write the benchmarking functions here. # See "Writing benchmarks" in the asv docs for more information. import numpy as np from yt import YTArray, YTQuantity def time_quantity_init_scalar1(): 3.0 * YTQuantity(1, "m/s") def time_quantity_init_scalar2(): YTQuantity(3.0, "m/s") def time_quantity_init_array(...
22
64
0.715909
109
704
4.412844
0.422018
0.101871
0.218295
0.158004
0.465696
0.384615
0.24948
0.24948
0.116424
0
0
0.056198
0.140625
704
31
65
22.709677
0.738843
0.143466
0
0
0
0
0.056667
0
0
0
0
0
0
1
0.4375
true
0
0.125
0
0.5625
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
1
1
0
0
0
1
0
0
4
8b18e37a04f59b3b7f14bced76fb5d3a1150b9a1
586
py
Python
lib/bric_builder/template/main.py
bankova-gabriella/layer
87feadbca7bcb935b91e1a4b29fd15ea26103075
[ "MIT" ]
null
null
null
lib/bric_builder/template/main.py
bankova-gabriella/layer
87feadbca7bcb935b91e1a4b29fd15ea26103075
[ "MIT" ]
null
null
null
lib/bric_builder/template/main.py
bankova-gabriella/layer
87feadbca7bcb935b91e1a4b29fd15ea26103075
[ "MIT" ]
null
null
null
# main calculation flow class Main: def __init__(self, layer): self.layer = layer # These use lambdas, so that there's no infinite recursion problem if they call each other self.layer.current.consts = self.layer.current.BricConsts() self.layer.current.get_params = lambda: self.layer...
41.857143
101
0.713311
76
586
5.407895
0.486842
0.284672
0.311436
0.131387
0.136253
0.136253
0
0
0
0
0
0
0.191126
586
13
102
45.076923
0.867089
0.187713
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.444444
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
1
0
0
0
1
0
0
0
4
8b230036b18afa08dc37c322d94ed18d73d8dddd
882
py
Python
tests/utils_tests.py
JBwdn/jinfo
b5933edd3ea3d27f4f7c1e0153e16750de0d1726
[ "MIT" ]
null
null
null
tests/utils_tests.py
JBwdn/jinfo
b5933edd3ea3d27f4f7c1e0153e16750de0d1726
[ "MIT" ]
1
2020-12-07T14:07:14.000Z
2020-12-07T14:07:14.000Z
tests/utils_tests.py
JBwdn/jinfo
b5933edd3ea3d27f4f7c1e0153e16750de0d1726
[ "MIT" ]
null
null
null
import os import sys import unittest # Explicit path modification to import jinfo from the higher level folder, from: docs.python-guide.org/writing/structure sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))) from jinfo.utils.one_hot_dna import one_hot_dna from jinfo.utils.random_DNASe...
44.1
120
0.861678
144
882
4.972222
0.319444
0.138268
0.215084
0.106145
0.166201
0
0
0
0
0
0
0.001232
0.079365
882
19
121
46.421053
0.880542
0.133787
0
0
0
0
0.002628
0
0
0
0
0
0
1
0
true
0
0.933333
0
0.933333
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
1
0
1
0
1
0
0
4
8b3cdfcc5245e43e39fef924f87b269f5df6e2b7
91
py
Python
tutorials/W2D4_AttentionAndTransformers/solutions/W2D4_Tutorial1_Solution_3e8a1dce.py
amita-kapoor/course-content-dl
bba5c8f6fa38a83c4e452be30791f3a6399d5b83
[ "CC-BY-4.0", "BSD-3-Clause" ]
473
2021-04-13T18:27:42.000Z
2022-03-28T14:14:35.000Z
tutorials/W2D4_AttentionAndTransformers/solutions/W2D4_Tutorial1_Solution_3e8a1dce.py
amita-kapoor/course-content-dl
bba5c8f6fa38a83c4e452be30791f3a6399d5b83
[ "CC-BY-4.0", "BSD-3-Clause" ]
399
2021-06-07T20:56:59.000Z
2022-01-26T23:05:06.000Z
tutorials/W2D4_AttentionAndTransformers/solutions/W2D4_Tutorial1_Solution_3e8a1dce.py
amita-kapoor/course-content-dl
bba5c8f6fa38a83c4e452be30791f3a6399d5b83
[ "CC-BY-4.0", "BSD-3-Clause" ]
170
2021-04-16T11:09:32.000Z
2022-03-31T12:13:52.000Z
""" O(p(n^2+m^2+nm)) it is the order of the number of multiplications and additions. """;
15.166667
63
0.659341
18
91
3.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0.026316
0.164835
91
6
64
15.166667
0.763158
0.89011
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
8c6aeed005df57635259063f9a7f41ed21ff82ed
181
py
Python
app/errors.py
ekiuled/web-services-hw
afec58e5c1907121d7968baae4f96339d078abc3
[ "MIT" ]
null
null
null
app/errors.py
ekiuled/web-services-hw
afec58e5c1907121d7968baae4f96339d078abc3
[ "MIT" ]
null
null
null
app/errors.py
ekiuled/web-services-hw
afec58e5c1907121d7968baae4f96339d078abc3
[ "MIT" ]
1
2021-10-20T19:24:24.000Z
2021-10-20T19:24:24.000Z
class FoodNotFoundError(Exception): message = "Food not found" class NegativeAmountError(Exception): message = "Serving size and calories amount must be positive numbers"
25.857143
73
0.767956
20
181
6.95
0.85
0.230216
0
0
0
0
0
0
0
0
0
0
0.165746
181
6
74
30.166667
0.92053
0
0
0
0
0
0.392265
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
8c7e128a1ff51ffd1d4c5f5d850bdc00f7934b6d
190
py
Python
bin/twigs/pentatwigs-trefoil.py
tiwo/puzzler
7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e
[ "Intel" ]
null
null
null
bin/twigs/pentatwigs-trefoil.py
tiwo/puzzler
7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e
[ "Intel" ]
null
null
null
bin/twigs/pentatwigs-trefoil.py
tiwo/puzzler
7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e
[ "Intel" ]
1
2022-01-02T16:54:14.000Z
2022-01-02T16:54:14.000Z
#!/usr/bin/env python # $Id$ """ 4 solutions. Puzzle design by Colin F. Brown. """ import puzzler from puzzler.puzzles.pentatwigs import PentatwigsTrefoil puzzler.run(PentatwigsTrefoil)
13.571429
56
0.752632
24
190
5.958333
0.833333
0
0
0
0
0
0
0
0
0
0
0.006061
0.131579
190
13
57
14.615385
0.860606
0.378947
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
8c9962b2a27da53a70415f9c9bcac0b1da6db34e
333
py
Python
pagina_01/models.py
JeanContreras12/ColungaRepo
af59e07f31b3d56ebdf02431a2967134985c1624
[ "MIT" ]
1
2021-06-02T02:04:14.000Z
2021-06-02T02:04:14.000Z
pagina_01/models.py
JeanContreras12/ColungaRepo
af59e07f31b3d56ebdf02431a2967134985c1624
[ "MIT" ]
1
2021-06-03T03:03:59.000Z
2021-06-03T03:03:59.000Z
pagina_01/models.py
JeanContreras12/ColungaRepo
af59e07f31b3d56ebdf02431a2967134985c1624
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth import get_user_model from django.contrib.auth.models import User # Create your models here. class Profile(models.Model): user = models.OneToOneField(User, null=True, on_delete=models.CASCADE) bio = models.TextField() def __str__(self): return s...
33.3
74
0.753754
48
333
5.083333
0.5625
0.122951
0.139344
0.172131
0
0
0
0
0
0
0
0
0.153153
333
10
75
33.3
0.865248
0.072072
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.375
0.125
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
4
8cc042cfd6534d656dab950b467a1b8bc93cce85
45
py
Python
tests/data/hello.py
finswimmer/nitpick
6cff5552c5f4acfcfd7c0344f554f6a2ce2a3103
[ "MIT" ]
251
2019-08-06T08:50:01.000Z
2022-03-26T13:49:19.000Z
tests/data/hello.py
finswimmer/nitpick
6cff5552c5f4acfcfd7c0344f554f6a2ce2a3103
[ "MIT" ]
429
2019-06-07T09:12:52.000Z
2022-03-31T23:29:26.000Z
tests/data/hello.py
finswimmer/nitpick
6cff5552c5f4acfcfd7c0344f554f6a2ce2a3103
[ "MIT" ]
18
2019-08-12T14:16:28.000Z
2022-03-15T13:54:26.000Z
"""Some empty Python file.""" x = 1 print(x)
11.25
29
0.6
8
45
3.375
0.875
0
0
0
0
0
0
0
0
0
0
0.027027
0.177778
45
3
30
15
0.702703
0.511111
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
0
0
0
0
0
1
0
4
8cc9d2aa2141611db48fc1ad5f3c8cf5186fe7dd
162
py
Python
main.py
alexvnilsson/gcloud-github-webhooks-function
dedfc7e7e20d25755032114e1ee45ba5022b83a6
[ "MIT" ]
null
null
null
main.py
alexvnilsson/gcloud-github-webhooks-function
dedfc7e7e20d25755032114e1ee45ba5022b83a6
[ "MIT" ]
null
null
null
main.py
alexvnilsson/gcloud-github-webhooks-function
dedfc7e7e20d25755032114e1ee45ba5022b83a6
[ "MIT" ]
null
null
null
from flask import Request, abort, jsonify def github_webhook(request: Request): """Github webhook trigger.""" data = request.get_json() print(data)
20.25
41
0.697531
20
162
5.55
0.7
0.234234
0
0
0
0
0
0
0
0
0
0
0.185185
162
8
42
20.25
0.840909
0.141975
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
8cd3dbed3a3f168b34d218681ab577bfcab14dec
423
py
Python
anaconda-mode/0.1.7/service_factory-0.1.5-py3.5.egg/service_factory/exceptions.py
space-scl/emacs.d
6285c38714023b72a023fe24cbcb5e4fcdcdb949
[ "Apache-2.0" ]
1
2016-06-24T20:02:20.000Z
2016-06-24T20:02:20.000Z
anaconda-mode/0.1.7/service_factory-0.1.5-py3.5.egg/service_factory/exceptions.py
space-scl/emacs.d
6285c38714023b72a023fe24cbcb5e4fcdcdb949
[ "Apache-2.0" ]
null
null
null
anaconda-mode/0.1.7/service_factory-0.1.5-py3.5.egg/service_factory/exceptions.py
space-scl/emacs.d
6285c38714023b72a023fe24cbcb5e4fcdcdb949
[ "Apache-2.0" ]
null
null
null
""" service_factory.exceptions ~~~~~~~~~~~~~~~~~~~~~~~~~~ This module contains exceptions raised by service factory. :copyright: (c) 2015-2016 by Artem Malyshev. :license: GPL3, see LICENSE for more details. """ from __future__ import ( absolute_import, unicode_literals, division, print_funct...
21.15
64
0.669031
44
423
6.25
0.818182
0.101818
0
0
0
0
0
0
0
0
0
0.026239
0.189125
423
19
65
22.263158
0.77551
0.576832
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.2
0.4
0
0.6
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
1
1
1
0
1
0
0
4
8cd6fe513f26620095a39cfc72e73da2bb54a636
76
py
Python
geoprotest_server/settings/dev.py
kwanj-k/geoprotest_server
4bc07c5c175f2de761895e299276422e61011146
[ "MIT" ]
null
null
null
geoprotest_server/settings/dev.py
kwanj-k/geoprotest_server
4bc07c5c175f2de761895e299276422e61011146
[ "MIT" ]
5
2021-04-08T21:12:12.000Z
2022-02-10T10:07:34.000Z
geoprotest_server/settings/dev.py
kwanj-k/geoprotest_server
4bc07c5c175f2de761895e299276422e61011146
[ "MIT" ]
null
null
null
""" Configure development environment. """ import os from .base import *
8.444444
34
0.697368
8
76
6.625
0.875
0
0
0
0
0
0
0
0
0
0
0
0.184211
76
8
35
9.5
0.854839
0.447368
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
0
0
0
4
50644b26506662f172337f2a6bd09ccb73c435e0
3,658
py
Python
python/test/test_collections_api.py
openlattice/api-clients
1d5be9861785b295089b732f37464e31bf80c8ca
[ "Apache-2.0" ]
null
null
null
python/test/test_collections_api.py
openlattice/api-clients
1d5be9861785b295089b732f37464e31bf80c8ca
[ "Apache-2.0" ]
1
2021-01-20T00:20:01.000Z
2021-01-20T00:20:01.000Z
python/test/test_collections_api.py
openlattice/api-clients
1d5be9861785b295089b732f37464e31bf80c8ca
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ OpenLattice API OpenLattice API # noqa: E501 The version of the OpenAPI document: 0.0.1 Contact: support@openlattice.com Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import openlattice from openlattice.api.collect...
27.503759
101
0.691088
426
3,658
5.607981
0.187793
0.056928
0.064462
0.087903
0.637505
0.615739
0.581833
0.34324
0.107576
0.083717
0
0.020051
0.250137
3,658
132
102
27.712121
0.850893
0.497813
0
0.375
1
0
0.005355
0
0
0
0
0
0
1
0.4
false
0.375
0.125
0
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
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
5091f09394bb1e33e9d70cbf1ca60edeaccbfd8f
261
py
Python
qsimcirq/__init__.py
xbe/qsim
cae957073623e343d0bc3b3627ab03082c59faef
[ "Apache-2.0" ]
null
null
null
qsimcirq/__init__.py
xbe/qsim
cae957073623e343d0bc3b3627ab03082c59faef
[ "Apache-2.0" ]
null
null
null
qsimcirq/__init__.py
xbe/qsim
cae957073623e343d0bc3b3627ab03082c59faef
[ "Apache-2.0" ]
null
null
null
from .qsim_circuit import add_op_to_opstring, add_op_to_circuit, QSimCircuit from .qsim_simulator import QSimSimulatorState, QSimSimulatorTrialResult, QSimSimulator from .qsimh_simulator import QSimhSimulator from qsimcirq._version import ( __version__, )
32.625
87
0.854406
30
261
6.966667
0.566667
0.076555
0.066986
0
0
0
0
0
0
0
0
0
0.103448
261
7
88
37.285714
0.893162
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
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
1
0
1
0
1
0
0
4
50b5e77b9618d801228e44c7048c896e55550007
261
py
Python
huobiApi/config.py
MJeremy2017/HuobiApi
93ec1e0f27fdeaa1644fc53d308ac38d042053d7
[ "Apache-2.0" ]
4
2020-03-28T10:14:21.000Z
2021-12-17T12:12:38.000Z
huobiApi/config.py
MJeremy2017/HuobiApi
93ec1e0f27fdeaa1644fc53d308ac38d042053d7
[ "Apache-2.0" ]
null
null
null
huobiApi/config.py
MJeremy2017/HuobiApi
93ec1e0f27fdeaa1644fc53d308ac38d042053d7
[ "Apache-2.0" ]
3
2020-01-21T10:51:28.000Z
2020-03-28T10:14:23.000Z
# In general, the domain api-aws.huobi.pro is optimized for AWS client, the latency will be lower. MARKET_URL = "https://api.huobi.pro" TRADE_URL = "https://api.huobi.pro" AWS_MARKET_URL = "https://api-aws.huobi.pro" AWS_TRADE_URL = "https://api-aws.huobi.pro"
43.5
98
0.735632
46
261
4.043478
0.434783
0.215054
0.236559
0.225806
0.44086
0.236559
0
0
0
0
0
0
0.10728
261
5
99
52.2
0.798283
0.367816
0
0
0
0
0.564417
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
50c23c94d7c0e1c98b09f968451b65264e72b6a6
143
py
Python
bagua/torch_api/algorithms/decentralize/__init__.py
fossabot/bagua
2a8434159bfa502e61739b5eabd91dca57c9256c
[ "MIT" ]
1
2021-06-23T08:13:15.000Z
2021-06-23T08:13:15.000Z
bagua/torch_api/algorithms/decentralize/__init__.py
fossabot/bagua
2a8434159bfa502e61739b5eabd91dca57c9256c
[ "MIT" ]
null
null
null
bagua/torch_api/algorithms/decentralize/__init__.py
fossabot/bagua
2a8434159bfa502e61739b5eabd91dca57c9256c
[ "MIT" ]
null
null
null
""" Synchronized Decentralized Parallel SGD: https://arxiv.org/pdf/1705.09056.pdf """ from .decentralized_reducer import DecentralizedReducer
23.833333
77
0.804196
16
143
7.125
0.875
0
0
0
0
0
0
0
0
0
0
0.068702
0.083916
143
5
78
28.6
0.801527
0.538462
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
0
0
0
4
50cfc5ad022dd31f9a432f09668b4394a789397d
2,510
py
Python
lab02/eurocv/models.py
vascoalramos/tpw
e0d1ab14f1e701dd2b2a77522c57cb22fda85e56
[ "MIT" ]
null
null
null
lab02/eurocv/models.py
vascoalramos/tpw
e0d1ab14f1e701dd2b2a77522c57cb22fda85e56
[ "MIT" ]
null
null
null
lab02/eurocv/models.py
vascoalramos/tpw
e0d1ab14f1e701dd2b2a77522c57cb22fda85e56
[ "MIT" ]
null
null
null
from django.db import models class Address(models.Model): street = models.CharField(max_length=30) cp = models.CharField(max_length=10) local = models.CharField(max_length=35) country = models.CharField(max_length=20) def __str__(self): return f"{self.street}, {self.local}, {self.cp} [{se...
30.240964
74
0.714741
320
2,510
5.36875
0.221875
0.174622
0.209546
0.279395
0.642026
0.427241
0.377183
0.336438
0.273574
0.273574
0
0.019617
0.167331
2,510
82
75
30.609756
0.802392
0
0
0.327586
0
0
0.091633
0.016733
0
0
0
0
0
1
0.137931
false
0
0.017241
0.137931
1
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
0
0
0
1
1
0
0
4
50d21240a2e61bd72a14a2cf14bd839ce1a2e1c7
66
py
Python
exercise/newfile88.py
LeeBeral/python
9f0d360d69ee5245e3ef13a9dc9fc666374587a4
[ "MIT" ]
null
null
null
exercise/newfile88.py
LeeBeral/python
9f0d360d69ee5245e3ef13a9dc9fc666374587a4
[ "MIT" ]
null
null
null
exercise/newfile88.py
LeeBeral/python
9f0d360d69ee5245e3ef13a9dc9fc666374587a4
[ "MIT" ]
null
null
null
str = 'hhhUUUHello123哈哈' print(str.upper()) print(str.lower())
16.5
25
0.681818
8
66
5.625
0.625
0.355556
0
0
0
0
0
0
0
0
0
0.051724
0.121212
66
4
26
16.5
0.724138
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
0f9f1b5bcb45b3bda2f2306842dc41243b228f87
227
py
Python
Python - Desafios e Execercios resolvidos/006.py
RamonesQ/Projetos
25f6077102df3580ca5a6d37b860aa2cd0d2487d
[ "MIT" ]
null
null
null
Python - Desafios e Execercios resolvidos/006.py
RamonesQ/Projetos
25f6077102df3580ca5a6d37b860aa2cd0d2487d
[ "MIT" ]
null
null
null
Python - Desafios e Execercios resolvidos/006.py
RamonesQ/Projetos
25f6077102df3580ca5a6d37b860aa2cd0d2487d
[ "MIT" ]
null
null
null
numero = int(input("Digite um número: ")) a = numero*2 b = numero*3 c = numero**(1/2) print(f"O dobro de {numero} é igual a {a}") print(f"O triplo de {numero} é igual a {b}") print(f"A raiz quadrada de {numero} é igual a {c}")
28.375
51
0.638767
47
227
3.085106
0.468085
0.124138
0.186207
0.289655
0.310345
0
0
0
0
0
0
0.02139
0.176211
227
8
51
28.375
0.754011
0
0
0
0
0
0.552632
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
0fa571c76a612f73332678628f16745d3a8f9a00
192
py
Python
game/bar.py
Yooooomi/py-drives
6a9dd1a1684b1b65ab553d91eebc77fe099301e7
[ "MIT" ]
null
null
null
game/bar.py
Yooooomi/py-drives
6a9dd1a1684b1b65ab553d91eebc77fe099301e7
[ "MIT" ]
null
null
null
game/bar.py
Yooooomi/py-drives
6a9dd1a1684b1b65ab553d91eebc77fe099301e7
[ "MIT" ]
null
null
null
import pygame from engine import gameobject class Bar(gameobject.Gameobject): def __init__(self): self.surf = pygame.Surface((5, 5), pygame.SRCALPHA) self.surf.fill((255, 255, 255))
27.428571
55
0.723958
27
192
5
0.592593
0.118519
0
0
0
0
0
0
0
0
0
0.067073
0.145833
192
7
56
27.428571
0.756098
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
0fb85523260de1f2c0c0cafe0f293ae3660a1208
78,969
py
Python
graphs/twoClients.py
jaatadia/tic-toc-sic
ee93e23bbe40c9ad5d981604d01076386a6b9b59
[ "MIT" ]
null
null
null
graphs/twoClients.py
jaatadia/tic-toc-sic
ee93e23bbe40c9ad5d981604d01076386a6b9b59
[ "MIT" ]
null
null
null
graphs/twoClients.py
jaatadia/tic-toc-sic
ee93e23bbe40c9ad5d981604d01076386a6b9b59
[ "MIT" ]
null
null
null
import csv import matplotlib.pyplot as plt import numpy as np # ----------------------------------- # DATA # ----------------------------------- serverTime = [639381220, 649381303, 659381386, 669381469, 679381552, 689381635, 699381718, 709381800, 719381883, 729381966, 739382049, 749382132, 759382215, 769382298, 7...
626.738095
15,185
0.825602
6,631
78,969
9.832152
0.946011
0.001396
0.002607
0.00092
0.020108
0.017808
0.017808
0.016427
0.01563
0.013099
0
0.877302
0.083425
78,969
126
15,186
626.738095
0.023445
0.006522
0
0.485294
0
0
0.007828
0
0
0
0
0
0
1
0
false
0
0.044118
0
0.044118
0.088235
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
0fd135c43f4f96712d48caee7342515dfe42c771
184
py
Python
blaze/mahimahi/server/__init__.py
henry1jin/alohamora
e51e2488ecdf3e9692d5bb6b25ebc88622087c20
[ "MIT" ]
5
2020-12-16T03:13:59.000Z
2022-03-06T07:16:39.000Z
blaze/mahimahi/server/__init__.py
henry1jin/alohamora
e51e2488ecdf3e9692d5bb6b25ebc88622087c20
[ "MIT" ]
9
2020-09-25T23:25:59.000Z
2022-03-11T23:45:14.000Z
blaze/mahimahi/server/__init__.py
henry1jin/alohamora
e51e2488ecdf3e9692d5bb6b25ebc88622087c20
[ "MIT" ]
3
2019-10-16T21:22:07.000Z
2020-07-21T13:38:22.000Z
""" Implements the logic to start an NGINX replay server for Mahimahi-recorded files """ from .server import start_server from .dns import DNSServer from .interfaces import Interfaces
36.8
88
0.804348
26
184
5.653846
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.141304
184
4
89
46
0.93038
0.434783
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
0
0
0
4
0ff5a7ed5ff6343f4000ddf2bbbd92029a976722
46
py
Python
PP4E/Examples/PP4E/System/Exits/temp.py
BeacherHou/Python-_Markdown-
015d79a02d32f49395b80ca10919b3a09b72c4df
[ "MIT" ]
null
null
null
PP4E/Examples/PP4E/System/Exits/temp.py
BeacherHou/Python-_Markdown-
015d79a02d32f49395b80ca10919b3a09b72c4df
[ "MIT" ]
null
null
null
PP4E/Examples/PP4E/System/Exits/temp.py
BeacherHou/Python-_Markdown-
015d79a02d32f49395b80ca10919b3a09b72c4df
[ "MIT" ]
null
null
null
for i in range(3): print('spam' * (i+1))
15.333333
25
0.5
9
46
2.555556
0.888889
0
0
0
0
0
0
0
0
0
0
0.058824
0.26087
46
2
26
23
0.617647
0
0
0
0
0
0.090909
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
0
0
0
0
0
1
0
4