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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12aa7974eda86efbe06ee210f79ae371f0ae6d2b | 1,900 | py | Python | ecommerce/fornecedor/models.py | lfbtessarolli/tcc_puc | 3cbdebc5064599866a09e4518614908266dd2287 | [
"MIT"
] | null | null | null | ecommerce/fornecedor/models.py | lfbtessarolli/tcc_puc | 3cbdebc5064599866a09e4518614908266dd2287 | [
"MIT"
] | 3 | 2020-02-11T23:45:17.000Z | 2021-06-10T21:10:18.000Z | ecommerce/fornecedor/models.py | lfbtessarolli/tcc_puc | 3cbdebc5064599866a09e4518614908266dd2287 | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
class Fornecedor(models.Model):
nome = models.CharField(max_length=200)
categoria = models.TextField(default="Categoria")
fornecedor = models.ForeignKey(User, on_delete=models.CASCADE, default=1)
preco = models.DecimalField(max_digits=10, dec... | 43.181818 | 74 | 0.756316 | 225 | 1,900 | 6.28 | 0.248889 | 0.063694 | 0.093418 | 0.097665 | 0.887473 | 0.887473 | 0.887473 | 0.887473 | 0.887473 | 0.887473 | 0 | 0.012651 | 0.126316 | 1,900 | 43 | 75 | 44.186047 | 0.838554 | 0.170526 | 0 | 0.75 | 0 | 0 | 0.117458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.90625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
12b13986eec509017c071293c5c4f1fbd4507fd4 | 137 | py | Python | notescribe/views/about.py | SatvikR/notescribe | 8ac46297407065a920595768410be18da14d6256 | [
"Apache-2.0"
] | null | null | null | notescribe/views/about.py | SatvikR/notescribe | 8ac46297407065a920595768410be18da14d6256 | [
"Apache-2.0"
] | null | null | null | notescribe/views/about.py | SatvikR/notescribe | 8ac46297407065a920595768410be18da14d6256 | [
"Apache-2.0"
] | null | null | null | from notescribe import app
from flask import render_template
@app.route('/about')
def about():
return render_template('about.html')
| 19.571429 | 40 | 0.759124 | 19 | 137 | 5.368421 | 0.631579 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131387 | 137 | 6 | 41 | 22.833333 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.116788 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
12c203293c47eb9de83fcab654b9330cdfdfe1b9 | 1,953 | py | Python | firstApp/migrations/0007_alter_registration_address_alter_registration_city_and_more.py | sayan706/SchoolWebsite | 8a3faea4582e3c15f0d33347e6c0793a78481c52 | [
"MIT"
] | null | null | null | firstApp/migrations/0007_alter_registration_address_alter_registration_city_and_more.py | sayan706/SchoolWebsite | 8a3faea4582e3c15f0d33347e6c0793a78481c52 | [
"MIT"
] | null | null | null | firstApp/migrations/0007_alter_registration_address_alter_registration_city_and_more.py | sayan706/SchoolWebsite | 8a3faea4582e3c15f0d33347e6c0793a78481c52 | [
"MIT"
] | null | null | null | # Generated by Django 4.0.1 on 2022-01-10 09:31
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('firstApp', '0006_alter_registration_degree'),
]
operations = [
migrations.AlterField(
model_name='registration',
nam... | 30.515625 | 62 | 0.559652 | 179 | 1,953 | 5.977654 | 0.26257 | 0.186916 | 0.233645 | 0.271028 | 0.78972 | 0.78972 | 0.747664 | 0.747664 | 0.711215 | 0.711215 | 0 | 0.033359 | 0.324629 | 1,953 | 63 | 63 | 31 | 0.777862 | 0.023041 | 0 | 0.701754 | 1 | 0 | 0.118048 | 0.01574 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.017544 | 0.017544 | 0 | 0.070175 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
12e918a3568636e0e38899f10ca31b893ac17de9 | 131 | py | Python | squash/admin.py | craigotis/Squash | f2b487bf729808c33594772414732d9679e49066 | [
"MIT"
] | 1 | 2017-11-20T02:38:25.000Z | 2017-11-20T02:38:25.000Z | squash/admin.py | craigotis/Squash | f2b487bf729808c33594772414732d9679e49066 | [
"MIT"
] | null | null | null | squash/admin.py | craigotis/Squash | f2b487bf729808c33594772414732d9679e49066 | [
"MIT"
] | null | null | null | from squash.models import Project, Version, Issue
from django.contrib import admin
admin.site.register({Project, Version, Issue})
| 26.2 | 49 | 0.801527 | 18 | 131 | 5.833333 | 0.666667 | 0.266667 | 0.361905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10687 | 131 | 4 | 50 | 32.75 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
12f93072bcda5f3c50fd5472639fc392e36126ac | 4,611 | py | Python | simpleml/linear_regression.py | lautarodc/INVAP_disw_sphinx | 8b2f9266ac79b88d0cad2a4c6f2c0f07f82e6be6 | [
"MIT"
] | null | null | null | simpleml/linear_regression.py | lautarodc/INVAP_disw_sphinx | 8b2f9266ac79b88d0cad2a4c6f2c0f07f82e6be6 | [
"MIT"
] | null | null | null | simpleml/linear_regression.py | lautarodc/INVAP_disw_sphinx | 8b2f9266ac79b88d0cad2a4c6f2c0f07f82e6be6 | [
"MIT"
] | null | null | null | import numpy as np
from abc import ABC
class BaseModel(ABC):
"""
Abstract Model Class used as interface of all regression models.
:param model: Stored model data (NumPy array in most cases)
:type model: np.ndarray
:param data: input data for training or testing
:type data: np.ndarray
:par... | 28.81875 | 116 | 0.602472 | 606 | 4,611 | 4.567657 | 0.148515 | 0.120303 | 0.084538 | 0.086705 | 0.813945 | 0.805997 | 0.793714 | 0.790462 | 0.790462 | 0.776734 | 0 | 0.000311 | 0.30167 | 4,611 | 159 | 117 | 29 | 0.859317 | 0.556712 | 0 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28125 | false | 0.0625 | 0.0625 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 9 |
4201f8b63ff7900b5c466a4178e82885df7a3702 | 14,686 | py | Python | app/src/main/assets/code/matatabot/motion.py | tongjinlv/py_and | a069336c47dd233648fbbadee7275ef188696a44 | [
"Apache-2.0"
] | null | null | null | app/src/main/assets/code/matatabot/motion.py | tongjinlv/py_and | a069336c47dd233648fbbadee7275ef188696a44 | [
"Apache-2.0"
] | null | null | null | app/src/main/assets/code/matatabot/motion.py | tongjinlv/py_and | a069336c47dd233648fbbadee7275ef188696a44 | [
"Apache-2.0"
] | null | null | null | import sys
import math
import random
class motion:
def __init__(self,call):
self.call=call
def forward_step(self,step):
data = [0x10,0x01,0x00,0x00]
mm=100
data[2]=mm//256
data[3]=mm%256
for i in range(0, step):
self.call.blewrite(data)
se... | 31.447537 | 60 | 0.463571 | 1,717 | 14,686 | 3.776937 | 0.060571 | 0.046261 | 0.068157 | 0.051812 | 0.903161 | 0.896839 | 0.846723 | 0.837317 | 0.769776 | 0.717194 | 0 | 0.112288 | 0.414817 | 14,686 | 466 | 61 | 31.515021 | 0.642309 | 0.001362 | 0 | 0.839479 | 0 | 0 | 0.063971 | 0 | 0 | 0 | 0.025097 | 0 | 0 | 1 | 0.0282 | false | 0.002169 | 0.006508 | 0 | 0.067245 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4230fcf2d15631a570b4bb73eb294a146b99456a | 15,630 | py | Python | ub/modules/script.py | parv779/javes-3.0 | d510717b2756a65b39ff18d9f53d4adc46d8e23f | [
"MIT"
] | 15 | 2020-12-13T17:37:05.000Z | 2021-06-23T00:00:49.000Z | ub/modules/script.py | parv779/javes-3.0 | d510717b2756a65b39ff18d9f53d4adc46d8e23f | [
"MIT"
] | 2 | 2021-01-11T16:39:31.000Z | 2021-01-25T22:35:28.000Z | ub/modules/script.py | parv779/javes-3.0 | d510717b2756a65b39ff18d9f53d4adc46d8e23f | [
"MIT"
] | 78 | 2020-12-13T17:52:51.000Z | 2022-03-24T03:43:09.000Z | import os
import asyncio
from getpass import getuser
from os import remove
from subprocess import PIPE
from subprocess import run as runapp
import pybase64
from sys import executable
from ub import CMD_HELP, BOTLOG, BOTLOG_CHATID
from ub.events import javes05, bot, rekcah05
javes = client = bot
from ub import CMD_HELP,... | 36.863208 | 154 | 0.537812 | 1,842 | 15,630 | 4.486428 | 0.119435 | 0.022991 | 0.022628 | 0.026137 | 0.875605 | 0.848742 | 0.840876 | 0.833616 | 0.832527 | 0.824782 | 0 | 0.021699 | 0.304159 | 15,630 | 424 | 155 | 36.863208 | 0.738139 | 0 | 0 | 0.825613 | 0 | 0.010899 | 0.210863 | 0.003327 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.002725 | 0.032698 | 0 | 0.092643 | 0.019074 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
42a260729e8da177ce5721a120eea86c8b2c4149 | 44 | py | Python | 3-Patron/python/IMapa.py | TanZng/patrones-combinados | 93796d9d5296649bd76b7b2ee7c723156b9a120f | [
"MIT"
] | 1 | 2021-09-13T15:45:48.000Z | 2021-09-13T15:45:48.000Z | 3-Patron/python/IMapa.py | TanZng/patrones-combinados | 93796d9d5296649bd76b7b2ee7c723156b9a120f | [
"MIT"
] | null | null | null | 3-Patron/python/IMapa.py | TanZng/patrones-combinados | 93796d9d5296649bd76b7b2ee7c723156b9a120f | [
"MIT"
] | 1 | 2021-09-24T03:00:47.000Z | 2021-09-24T03:00:47.000Z | import abc
class IMapa(abc.ABC):
pass
| 7.333333 | 21 | 0.659091 | 7 | 44 | 4.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 44 | 5 | 22 | 8.8 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
c4176361a2daeb440a9fefb7082658372fb13f9c | 156 | py | Python | locale/pot/api/plotting/_autosummary/pyvista-themes-DefaultTheme-antialiasing-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 4 | 2020-08-07T08:19:19.000Z | 2020-12-04T09:51:11.000Z | locale/pot/api/plotting/_autosummary/pyvista-themes-DefaultTheme-antialiasing-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 19 | 2020-08-06T00:24:30.000Z | 2022-03-30T19:22:24.000Z | locale/pot/api/plotting/_autosummary/pyvista-themes-DarkTheme-antialiasing-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 1 | 2021-03-09T07:50:40.000Z | 2021-03-09T07:50:40.000Z | # Enable anti-aliasing in the global theme.
#
import pyvista
pyvista.global_theme.antialiasing = True
pyvista.global_theme.antialiasing
# Expected:
## True
| 19.5 | 43 | 0.801282 | 20 | 156 | 6.15 | 0.6 | 0.268293 | 0.292683 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 156 | 7 | 44 | 22.285714 | 0.891304 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
670771e5c5148bbf2de506cd92e9483dacd7f3d1 | 9,630 | py | Python | evaluater/evaluater.py | LanXiangExcavator/Beat-aligned_Transformer | c17b014f01761d1b38addd3a846db3c0b5ba5e80 | [
"MIT"
] | 3 | 2022-03-03T07:37:01.000Z | 2022-03-09T07:47:11.000Z | evaluater/evaluater.py | LanXiangExcavator/Beat-aligned_Transformer | c17b014f01761d1b38addd3a846db3c0b5ba5e80 | [
"MIT"
] | null | null | null | evaluater/evaluater.py | LanXiangExcavator/Beat-aligned_Transformer | c17b014f01761d1b38addd3a846db3c0b5ba5e80 | [
"MIT"
] | 1 | 2022-02-28T14:55:23.000Z | 2022-02-28T14:55:23.000Z | from base import BaseEvaluater
from utils import *
import torch.nn as nn
from data_loader.util import *
class Evaluater_beat_aligned_data(BaseEvaluater):
"""
Evaluater class
"""
def __init__(self, model, criterion, metric_ftns, config, checkpoint_dir=None, result_dir=None):
super().__init__(mo... | 40.125 | 184 | 0.590862 | 1,169 | 9,630 | 4.646707 | 0.160821 | 0.028351 | 0.035346 | 0.044183 | 0.834683 | 0.830449 | 0.830449 | 0.815169 | 0.815169 | 0.815169 | 0 | 0.035172 | 0.282555 | 9,630 | 240 | 185 | 40.125 | 0.751049 | 0.111423 | 0 | 0.815789 | 0 | 0 | 0.096759 | 0.008753 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032895 | false | 0 | 0.026316 | 0 | 0.078947 | 0.052632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
670fefe8c2bcb2f40a0ec657f409764f1c778a8a | 182 | py | Python | Statistics/Variance.py | rar9898/StatisticalCalculator | 34ffd7e9e60facd5cce7af3e43ceb244f741138b | [
"MIT"
] | null | null | null | Statistics/Variance.py | rar9898/StatisticalCalculator | 34ffd7e9e60facd5cce7af3e43ceb244f741138b | [
"MIT"
] | null | null | null | Statistics/Variance.py | rar9898/StatisticalCalculator | 34ffd7e9e60facd5cce7af3e43ceb244f741138b | [
"MIT"
] | null | null | null | from Calculator.Square import square
from Statistics.StandardDeviation import standard_deviation
def variance(numbers): # complete
return square(standard_deviation(numbers))
| 22.75 | 59 | 0.824176 | 20 | 182 | 7.4 | 0.65 | 0.22973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120879 | 182 | 7 | 60 | 26 | 0.925 | 0.043956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
671ef438bc3f69acea840e4dca9042761b0d3573 | 168 | py | Python | ibsng/handler/admin/expire_all_admin_o_t_ps.py | ParspooyeshFanavar/pyibsng | d48bcf4f25e3f23461528bf0ff8870cc3d537444 | [
"MIT"
] | 6 | 2018-03-06T10:16:36.000Z | 2021-12-05T12:43:10.000Z | ibsng/handler/admin/expire_all_admin_o_t_ps.py | ParspooyeshFanavar/pyibsng | d48bcf4f25e3f23461528bf0ff8870cc3d537444 | [
"MIT"
] | 3 | 2018-03-06T10:27:08.000Z | 2022-01-02T15:21:27.000Z | ibsng/handler/admin/expire_all_admin_o_t_ps.py | ParspooyeshFanavar/pyibsng | d48bcf4f25e3f23461528bf0ff8870cc3d537444 | [
"MIT"
] | 3 | 2018-01-06T16:28:31.000Z | 2018-09-17T19:47:19.000Z | """Expire all admin OTPs API method."""
from ibsng.handler.handler import Handler
class expireAllAdminOTPs(Handler):
"""Expire all admin OTPs class."""
pass
| 18.666667 | 41 | 0.714286 | 21 | 168 | 5.714286 | 0.619048 | 0.15 | 0.233333 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172619 | 168 | 8 | 42 | 21 | 0.863309 | 0.369048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 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 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
677d727768c843d9e8600b74938868481ae77822 | 12,487 | py | Python | tests/inventory/pipelines/test_data/fake_instances.py | pombredanne/forseti-security | 68a9a88243460065e00b6c131b3d9abd0331fb37 | [
"Apache-2.0"
] | 1 | 2018-03-26T08:15:21.000Z | 2018-03-26T08:15:21.000Z | tests/inventory/pipelines/test_data/fake_instances.py | pombredanne/forseti-security | 68a9a88243460065e00b6c131b3d9abd0331fb37 | [
"Apache-2.0"
] | null | null | null | tests/inventory/pipelines/test_data/fake_instances.py | pombredanne/forseti-security | 68a9a88243460065e00b6c131b3d9abd0331fb37 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Copyright 2017 The Forseti Security Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the 'License');
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#... | 57.810185 | 2,253 | 0.563386 | 1,203 | 12,487 | 5.815461 | 0.179551 | 0.058319 | 0.131218 | 0.153087 | 0.866638 | 0.866638 | 0.856061 | 0.836049 | 0.836049 | 0.830475 | 0 | 0.055969 | 0.267398 | 12,487 | 215 | 2,254 | 58.07907 | 0.708789 | 0.050292 | 0 | 0.671795 | 0 | 0.107692 | 0.664358 | 0.090287 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.035897 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
58afd36de9093d093d64c04829a07959540bc689 | 4,219 | py | Python | Model/model/FCN.py | LovingThresh/CJTeam | ce03e107e0b33ac8132d4d6369fd7f98013e7563 | [
"Apache-2.0"
] | 1 | 2022-03-28T05:57:45.000Z | 2022-03-28T05:57:45.000Z | Model/model/FCN.py | LovingThresh/CJTeam | ce03e107e0b33ac8132d4d6369fd7f98013e7563 | [
"Apache-2.0"
] | null | null | null | Model/model/FCN.py | LovingThresh/CJTeam | ce03e107e0b33ac8132d4d6369fd7f98013e7563 | [
"Apache-2.0"
] | null | null | null | from base import *
# model是网络对象
model = object
# FCN系列网络-FCN-8s,FCN-16s,FCN-32s
# 在经典的VGGNet的基础上,把VGG网络最后的全连接层全部去掉,换为卷积层
def FCN_32sDecoder(Encoder, feature_list=None, out_num=None):
global model
f1, f2, f3, f4 = feature_list
Encoder_out_layer = Encoder.output
# D_block1
x = keras.layers.Conv2D(4... | 38.706422 | 92 | 0.579047 | 573 | 4,219 | 4.066318 | 0.137871 | 0.132189 | 0.128755 | 0.069528 | 0.914592 | 0.914592 | 0.906009 | 0.906009 | 0.893562 | 0.893562 | 0 | 0.06873 | 0.272339 | 4,219 | 108 | 93 | 39.064815 | 0.690228 | 0.046694 | 0 | 0.835821 | 0 | 0 | 0.100874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044776 | false | 0 | 0.014925 | 0 | 0.104478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4525670312c778b35d334d57947620a66304417f | 8,837 | py | Python | new_code/model.py | Cozyzheng/RS_DL_Junyi | c2c894ee9a2c6d4d5ffba6504c3c5f55ffda03d3 | [
"MIT"
] | null | null | null | new_code/model.py | Cozyzheng/RS_DL_Junyi | c2c894ee9a2c6d4d5ffba6504c3c5f55ffda03d3 | [
"MIT"
] | null | null | null | new_code/model.py | Cozyzheng/RS_DL_Junyi | c2c894ee9a2c6d4d5ffba6504c3c5f55ffda03d3 | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Conv2D,MaxPooling2D,UpSampling2D,BatchNormalization,Reshape,Permute,Activation
from tensorflow.keras.optimizers import Adam
from cfg import *
img_w = 256
img_h = 256
lr_init = 0.01
lr_decay = 0.00001
def Se... | 36.820833 | 142 | 0.608012 | 1,183 | 8,837 | 4.469146 | 0.077768 | 0.024589 | 0.071496 | 0.049177 | 0.88084 | 0.876111 | 0.848875 | 0.821638 | 0.821638 | 0.779459 | 0 | 0.073856 | 0.19407 | 8,837 | 239 | 143 | 36.974895 | 0.668492 | 0.022632 | 0 | 0.748603 | 0 | 0 | 0.082192 | 0.005572 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011173 | false | 0 | 0.027933 | 0 | 0.050279 | 0.005587 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
18cd4de6cc9c583a3059f9bb7f5e1bf0ee801d7a | 5,269 | py | Python | asv_bench/benchmarks/parser_vb.py | springcoil/pandas | 945075ad78cef652039feb50d60092b0580604e6 | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 2 | 2017-05-07T02:08:12.000Z | 2017-12-14T01:47:47.000Z | asv_bench/benchmarks/parser_vb.py | springcoil/pandas | 945075ad78cef652039feb50d60092b0580604e6 | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | asv_bench/benchmarks/parser_vb.py | springcoil/pandas | 945075ad78cef652039feb50d60092b0580604e6 | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 1 | 2020-12-09T12:02:39.000Z | 2020-12-09T12:02:39.000Z | from .pandas_vb_common import *
import os
from pandas import read_csv, read_table
try:
from cStringIO import StringIO
except ImportError:
from io import StringIO
class read_csv_comment2(object):
goal_time = 0.2
def setup(self):
self.data = ['A,B,C']
self.data = (self.data + (['1,2,3 #... | 47.044643 | 532 | 0.687607 | 712 | 5,269 | 4.973315 | 0.160112 | 0.05874 | 0.031629 | 0.033889 | 0.883084 | 0.866422 | 0.858797 | 0.845806 | 0.845806 | 0.823779 | 0 | 0.431118 | 0.1803 | 5,269 | 112 | 533 | 47.044643 | 0.388747 | 0 | 0 | 0.512821 | 0 | 0.064103 | 0.470588 | 0.267552 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.512821 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
e1399c753cc8ce10f4e8ea269805de7fb6721c85 | 16,139 | py | Python | sdk/python/pulumi_azure/apimanagement/group_user.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/apimanagement/group_user.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/apimanagement/group_user.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 47.328446 | 226 | 0.671913 | 2,046 | 16,139 | 5.065982 | 0.083089 | 0.105355 | 0.072938 | 0.051327 | 0.852291 | 0.828847 | 0.816594 | 0.801737 | 0.789194 | 0.763049 | 0 | 0.006136 | 0.242704 | 16,139 | 340 | 227 | 47.467647 | 0.841924 | 0.412355 | 0 | 0.564972 | 1 | 0 | 0.120451 | 0.009418 | 0 | 0 | 0 | 0 | 0 | 1 | 0.152542 | false | 0.00565 | 0.028249 | 0 | 0.271186 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e1935e55123ceba264733a98587a6e94fbf3ae11 | 3,907 | py | Python | fetch/__init__.py | janwithb/custom-fetch-gym-environment | 0f5ca00d5b1f81df2c9d0b540ac1960edfd79caf | [
"Apache-2.0"
] | null | null | null | fetch/__init__.py | janwithb/custom-fetch-gym-environment | 0f5ca00d5b1f81df2c9d0b540ac1960edfd79caf | [
"Apache-2.0"
] | null | null | null | fetch/__init__.py | janwithb/custom-fetch-gym-environment | 0f5ca00d5b1f81df2c9d0b540ac1960edfd79caf | [
"Apache-2.0"
] | null | null | null | from gym.envs.registration import register
register(
id='FetchReach-v2',
entry_point='fetch.reach:FetchReachEnv',
kwargs={
'reward_type': 'dense',
'randomize_light': False,
'randomize_camera': False,
'randomize_target_color': False,
'randomize_target_size': False,
... | 28.107914 | 44 | 0.641925 | 382 | 3,907 | 6.188482 | 0.10733 | 0.248731 | 0.192893 | 0.05753 | 0.91286 | 0.91286 | 0.905245 | 0.901861 | 0.875212 | 0.875212 | 0 | 0.010818 | 0.242897 | 3,907 | 138 | 45 | 28.311594 | 0.788371 | 0 | 0 | 0.806202 | 0 | 0 | 0.464551 | 0.360123 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.007752 | 0 | 0.007752 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
e1b03d92f4f5da7c8c531370a0809db0fe9732c3 | 38,979 | py | Python | tests/dashboard/test_permissions.py | probablysalty/bonsai | 06e74acd890ac53e9332aef13a8b47b88e13723c | [
"BSD-3-Clause"
] | 9 | 2021-08-08T22:42:18.000Z | 2021-11-23T06:50:14.000Z | tests/dashboard/test_permissions.py | probablysalty/bonsai | 06e74acd890ac53e9332aef13a8b47b88e13723c | [
"BSD-3-Clause"
] | 5 | 2020-03-24T16:37:25.000Z | 2021-06-10T21:24:54.000Z | tests/dashboard/test_permissions.py | probablysalty/bonsai | 06e74acd890ac53e9332aef13a8b47b88e13723c | [
"BSD-3-Clause"
] | 1 | 2018-12-17T03:49:20.000Z | 2018-12-17T03:49:20.000Z | from django.urls import reverse
from saleor.account.models import User
def test_staff_can_access_product_details(
staff_client, staff_user, permission_manage_products, product):
assert not staff_user.has_perm('product.manage_products')
url = reverse('dashboard:product-details', kwargs={'pk': product.... | 41.335101 | 82 | 0.74848 | 5,155 | 38,979 | 5.334821 | 0.020757 | 0.108323 | 0.098796 | 0.123923 | 0.969201 | 0.956583 | 0.95102 | 0.939602 | 0.932839 | 0.924912 | 0 | 0.012869 | 0.150773 | 38,979 | 942 | 83 | 41.378981 | 0.817926 | 0 | 0 | 0.854712 | 0 | 0 | 0.144103 | 0.115395 | 0 | 0 | 0 | 0 | 0.329843 | 1 | 0.07199 | false | 0 | 0.002618 | 0 | 0.074607 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
beee17042d01b3c3387a19f8763f1e3748321bed | 29,324 | py | Python | Contents/Libraries/Shared/rebulk/test/test_pattern.py | jippo015/Sub-Zero.bundle | 734e0f7128c05c0f639e11e7dfc77daa1014064b | [
"MIT"
] | 1,553 | 2015-11-09T02:17:06.000Z | 2022-03-31T20:24:52.000Z | Contents/Libraries/Shared/rebulk/test/test_pattern.py | saiterlz/Sub-Zero.bundle | 1a0bb9c3e4be84be35d46672907783363fe5a87b | [
"MIT"
] | 691 | 2015-11-05T21:32:26.000Z | 2022-03-17T10:52:45.000Z | Contents/Libraries/Shared/rebulk/test/test_pattern.py | saiterlz/Sub-Zero.bundle | 1a0bb9c3e4be84be35d46672907783363fe5a87b | [
"MIT"
] | 162 | 2015-11-06T19:38:55.000Z | 2022-03-16T02:42:41.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# pylint: disable=no-self-use, pointless-statement, missing-docstring, unbalanced-tuple-unpacking, len-as-condition
import re
import pytest
from ..pattern import StringPattern, RePattern, FunctionalPattern, REGEX_AVAILABLE
from ..match import Match
class TestStringPatter... | 34.137369 | 116 | 0.591052 | 3,381 | 29,324 | 5.054422 | 0.060633 | 0.048686 | 0.05407 | 0.086313 | 0.898005 | 0.867868 | 0.847797 | 0.826965 | 0.818304 | 0.805664 | 0 | 0.032707 | 0.279532 | 29,324 | 858 | 117 | 34.177156 | 0.776163 | 0.011322 | 0 | 0.771065 | 0 | 0 | 0.086231 | 0.017405 | 0 | 0 | 0 | 0 | 0.527822 | 1 | 0.098569 | false | 0 | 0.006359 | 0.00318 | 0.149444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
833e3291c52029d28ec008ce980b4fb1233bb6a6 | 4,400 | py | Python | flaskr/test/unit/webapp/test_feeding_schedule.py | UnibucProjects/SmartAquarium | 6f3c16fb7a45218e763b46223568f6c3e5b66bfd | [
"MIT"
] | 6 | 2022-02-02T19:37:57.000Z | 2022-02-03T15:12:32.000Z | flaskr/test/unit/webapp/test_feeding_schedule.py | UnibucProjects/SmartAquarium | 6f3c16fb7a45218e763b46223568f6c3e5b66bfd | [
"MIT"
] | 18 | 2022-01-29T22:47:46.000Z | 2022-02-03T15:30:28.000Z | flaskr/test/unit/webapp/test_feeding_schedule.py | UnibucProjects/SmartAquarium | 6f3c16fb7a45218e763b46223568f6c3e5b66bfd | [
"MIT"
] | null | null | null | import pytest
import json
import random
from app import create_app
from db import get_db
@pytest.fixture
def client():
local_app = create_app()
client = local_app.test_client()
yield client
def test_get_feeding_schedule(client):
request = client.get("/feeding_schedule")
assert request.status_co... | 33.846154 | 108 | 0.622045 | 544 | 4,400 | 4.786765 | 0.145221 | 0.144009 | 0.050691 | 0.076037 | 0.849078 | 0.808372 | 0.808372 | 0.808372 | 0.802611 | 0.802611 | 0 | 0.018313 | 0.242955 | 4,400 | 130 | 109 | 33.846154 | 0.763434 | 0 | 0 | 0.707547 | 0 | 0 | 0.202227 | 0.020904 | 0 | 0 | 0 | 0 | 0.103774 | 1 | 0.066038 | false | 0 | 0.04717 | 0 | 0.113208 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
834fd01615676b0d9af6bbf57ca1c875646ee39c | 129,137 | py | Python | huaweicloud-sdk-elb/huaweicloudsdkelb/v3/elb_async_client.py | wuchen-huawei/huaweicloud-sdk-python-v3 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | [
"Apache-2.0"
] | 64 | 2020-06-12T07:05:07.000Z | 2022-03-30T03:32:50.000Z | huaweicloud-sdk-elb/huaweicloudsdkelb/v3/elb_async_client.py | wuchen-huawei/huaweicloud-sdk-python-v3 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | [
"Apache-2.0"
] | 11 | 2020-07-06T07:56:54.000Z | 2022-01-11T11:14:40.000Z | huaweicloud-sdk-elb/huaweicloudsdkelb/v3/elb_async_client.py | wuchen-huawei/huaweicloud-sdk-python-v3 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | [
"Apache-2.0"
] | 24 | 2020-06-08T11:42:13.000Z | 2022-03-04T06:44:08.000Z | # coding: utf-8
from __future__ import absolute_import
import datetime
import re
import importlib
import six
from huaweicloudsdkcore.client import Client, ClientBuilder
from huaweicloudsdkcore.exceptions import exceptions
from huaweicloudsdkcore.utils import http_utils
from huaweicloudsdkcore.sdk_stream_request imp... | 33.239897 | 533 | 0.629564 | 13,325 | 129,137 | 5.681201 | 0.035497 | 0.059179 | 0.103564 | 0.047978 | 0.891641 | 0.870955 | 0.841629 | 0.811418 | 0.800507 | 0.694011 | 0 | 0.003212 | 0.276737 | 129,137 | 3,884 | 534 | 33.248455 | 0.807302 | 0.087597 | 0 | 0.809483 | 0 | 0 | 0.151475 | 0.050791 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046147 | false | 0 | 0.004234 | 0 | 0.097798 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8363cb7c27d973bf42b237c56b3e909d8259b4b4 | 18,556 | py | Python | sdk/python/pulumi_ucloud/ulb/lb_rule.py | AaronFriel/pulumi-ucloud | 199278786dddf46bdd370f3f805e30b279c63ff2 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2021-08-18T04:55:38.000Z | 2021-09-08T07:59:24.000Z | sdk/python/pulumi_ucloud/ulb/lb_rule.py | AaronFriel/pulumi-ucloud | 199278786dddf46bdd370f3f805e30b279c63ff2 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2022-01-28T17:59:37.000Z | 2022-01-29T03:44:09.000Z | sdk/python/pulumi_ucloud/ulb/lb_rule.py | AaronFriel/pulumi-ucloud | 199278786dddf46bdd370f3f805e30b279c63ff2 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-06-23T07:10:40.000Z | 2021-06-23T09:25:12.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 43.867612 | 211 | 0.637422 | 2,306 | 18,556 | 4.916305 | 0.092801 | 0.079562 | 0.082738 | 0.058216 | 0.864514 | 0.849872 | 0.829232 | 0.809385 | 0.804887 | 0.797477 | 0 | 0.003119 | 0.257006 | 18,556 | 422 | 212 | 43.971564 | 0.819177 | 0.419541 | 0 | 0.663415 | 1 | 0 | 0.090279 | 0.002522 | 0 | 0 | 0 | 0 | 0 | 1 | 0.156098 | false | 0.004878 | 0.02439 | 0 | 0.273171 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
36057c92aaf6386ad44bf492305bd8341ccb3c09 | 59 | py | Python | src/lexer/__init__.py | La-Tribu/cool-compiler-2021 | abfbea9be2b278f3fb8182c7bc5072da15bb72dc | [
"MIT"
] | null | null | null | src/lexer/__init__.py | La-Tribu/cool-compiler-2021 | abfbea9be2b278f3fb8182c7bc5072da15bb72dc | [
"MIT"
] | null | null | null | src/lexer/__init__.py | La-Tribu/cool-compiler-2021 | abfbea9be2b278f3fb8182c7bc5072da15bb72dc | [
"MIT"
] | null | null | null |
from .lexer import lexer
from .lexer import errors_lexing
| 14.75 | 32 | 0.813559 | 9 | 59 | 5.222222 | 0.555556 | 0.382979 | 0.638298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 59 | 3 | 33 | 19.666667 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3612cb7fe2e85af336cab3256b5d937f9f2782a1 | 108,345 | py | Python | windc_data/windc_2_1/parse/sgf_table_sums.py | uw-windc/windc_datastream | 8b6277acf943358a064f109a873852a82991ba3d | [
"MIT"
] | 3 | 2019-11-07T05:15:18.000Z | 2020-06-30T15:30:10.000Z | windc_data/windc_2_1/parse/sgf_table_sums.py | uw-windc/windc_datastream | 8b6277acf943358a064f109a873852a82991ba3d | [
"MIT"
] | null | null | null | windc_data/windc_2_1/parse/sgf_table_sums.py | uw-windc/windc_datastream | 8b6277acf943358a064f109a873852a82991ba3d | [
"MIT"
] | 4 | 2019-11-07T05:15:29.000Z | 2021-09-01T17:01:03.000Z | sums_new_methodology = {
"Total revenue": {
"A01",
"A03",
"A09",
"A10",
"A12",
"A16",
"A18",
"A21",
"A36",
"A44",
"A45",
"A50",
"A54",
"A56",
"A59",
"A60",
"A61",
"A80",
... | 17.200349 | 88 | 0.203544 | 6,771 | 108,345 | 3.255797 | 0.113573 | 0.006532 | 0.009798 | 0.010342 | 0.943978 | 0.938353 | 0.916716 | 0.908596 | 0.905693 | 0.898707 | 0 | 0.269389 | 0.565148 | 108,345 | 6,298 | 89 | 17.20308 | 0.198518 | 0.724445 | 0 | 0.931034 | 0 | 0 | 0.18592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
3635c5f0a97391f7eab4b031324762b8006124cf | 6,505 | py | Python | telegram_bot/test/test_main.py | diego-hermida/ClimateChangeApp | 576d49ec5b76f709cc86874ffb03f4a38dbbbbfd | [
"MIT"
] | 2 | 2018-07-01T20:36:46.000Z | 2019-11-01T22:47:06.000Z | telegram_bot/test/test_main.py | diego-hermida/ClimateChangeApp | 576d49ec5b76f709cc86874ffb03f4a38dbbbbfd | [
"MIT"
] | 1 | 2021-06-10T20:28:53.000Z | 2021-06-10T20:28:53.000Z | telegram_bot/test/test_main.py | diego-hermida/ClimateChangeApp | 576d49ec5b76f709cc86874ffb03f4a38dbbbbfd | [
"MIT"
] | null | null | null | import datetime
import telegram
from telegram_bot import main as main
from unittest import TestCase, mock
from unittest.mock import Mock
@mock.patch('builtins.print', Mock())
class TestMain(TestCase):
@mock.patch('builtins.input', Mock())
@mock.patch('telegram.Bot')
def test_no_valid_messages(self, mock_... | 45.173611 | 107 | 0.684243 | 809 | 6,505 | 5.273177 | 0.088999 | 0.124707 | 0.073136 | 0.101266 | 0.937178 | 0.937178 | 0.930849 | 0.924754 | 0.924754 | 0.924754 | 0 | 0.023466 | 0.200769 | 6,505 | 144 | 108 | 45.173611 | 0.797076 | 0 | 0 | 0.858209 | 0 | 0 | 0.062558 | 0 | 0 | 0 | 0 | 0 | 0.156716 | 1 | 0.059701 | false | 0 | 0.037313 | 0 | 0.104478 | 0.007463 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
36362d4a5bc3cd6b5df65d80381ff4daa0fb2403 | 292,091 | py | Python | Squeezed/src/krotov/Integrals.py | mcditoos/krotov | 6a70cc791fa21186997ad2ca5a72f6d30574e7a0 | [
"BSD-3-Clause"
] | null | null | null | Squeezed/src/krotov/Integrals.py | mcditoos/krotov | 6a70cc791fa21186997ad2ca5a72f6d30574e7a0 | [
"BSD-3-Clause"
] | null | null | null | Squeezed/src/krotov/Integrals.py | mcditoos/krotov | 6a70cc791fa21186997ad2ca5a72f6d30574e7a0 | [
"BSD-3-Clause"
] | 1 | 2021-11-26T17:01:29.000Z | 2021-11-26T17:01:29.000Z | import numpy as np
from IPython.display import display, Markdown
__all__ =['gaussiano_norm','overlap2','coherent_overlap','coherent_update']
def separate(V,row):
return V[row][0],V[row][1],V[row][2],V[row][3]
def coeffscuadraticos11(V,B):
v11,v12,v13,v14=separate(V,0)
v21,v22,v23,v24=separate(V,1)
... | 86.648176 | 231 | 0.443981 | 50,011 | 292,091 | 2.59247 | 0.012917 | 0.015025 | 0.006895 | 0.009811 | 0.805441 | 0.782788 | 0.765665 | 0.750255 | 0.733317 | 0.717536 | 0 | 0.303287 | 0.080636 | 292,091 | 3,370 | 232 | 86.673887 | 0.17952 | 0.000428 | 0 | 0.375494 | 0 | 0.001216 | 0.001499 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010033 | false | 0 | 0.000608 | 0.000912 | 0.020675 | 0.000608 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
366055dbcf6408a58e9b261e54052482072fa576 | 6,185 | py | Python | notes/migrations/0012_auto_20220126_1914.py | ianshulx/egiportal | 3a147a4a61e58f2a6229e08a5a4c256d7b674b81 | [
"MIT"
] | 1 | 2022-02-17T10:34:21.000Z | 2022-02-17T10:34:21.000Z | notes/migrations/0012_auto_20220126_1914.py | ianshulx/egiportal | 3a147a4a61e58f2a6229e08a5a4c256d7b674b81 | [
"MIT"
] | null | null | null | notes/migrations/0012_auto_20220126_1914.py | ianshulx/egiportal | 3a147a4a61e58f2a6229e08a5a4c256d7b674b81 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.14 on 2022-01-26 13:44
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('notes', '0011_mba_sem1_notes_mba_sem2_notes_mba_sem3_notes_mba_sem4_notes'),
]
operations = [
migrations.RenameField(
model_name='bca_s... | 31.881443 | 86 | 0.56249 | 637 | 6,185 | 4.952904 | 0.070644 | 0.205388 | 0.296672 | 0.342314 | 0.944532 | 0.934073 | 0.934073 | 0.934073 | 0.934073 | 0.934073 | 0 | 0.014706 | 0.34034 | 6,185 | 193 | 87 | 32.046632 | 0.758578 | 0.007437 | 0 | 0.770053 | 1 | 0 | 0.271957 | 0.010429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005348 | 0 | 0.02139 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
3d3a3533c99f3d474b8c1864f1bc1ebdcc92a60f | 64,974 | py | Python | sdk/python/pulumi_google_native/appengine/v1beta/version.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 44 | 2021-04-18T23:00:48.000Z | 2022-02-14T17:43:15.000Z | sdk/python/pulumi_google_native/appengine/v1beta/version.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 354 | 2021-04-16T16:48:39.000Z | 2022-03-31T17:16:39.000Z | sdk/python/pulumi_google_native/appengine/v1beta/version.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 8 | 2021-04-24T17:46:51.000Z | 2022-01-05T10:40:21.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | 56.157303 | 389 | 0.688983 | 7,714 | 64,974 | 5.602411 | 0.057817 | 0.076359 | 0.076498 | 0.032533 | 0.857464 | 0.799778 | 0.747923 | 0.717773 | 0.703543 | 0.640628 | 0 | 0.001526 | 0.213347 | 64,974 | 1,156 | 390 | 56.205882 | 0.844009 | 0.369409 | 0 | 0.447368 | 1 | 0 | 0.152198 | 0.030735 | 0 | 0 | 0 | 0 | 0 | 1 | 0.160665 | false | 0.001385 | 0.01108 | 0.00277 | 0.278393 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3d507789fdd3b1ff9e650418cfd9951cb504bf94 | 9,439 | py | Python | scripts/python/turtleRelated/hexpath.py | jeremiahmarks/dangerzone | fe2946b8463ed018d2136ca0eb178161ad370565 | [
"MIT"
] | 1 | 2015-08-15T05:25:35.000Z | 2015-08-15T05:25:35.000Z | scripts/python/turtleRelated/hexpath.py | jeremiahmarks/dangerzone | fe2946b8463ed018d2136ca0eb178161ad370565 | [
"MIT"
] | null | null | null | scripts/python/turtleRelated/hexpath.py | jeremiahmarks/dangerzone | fe2946b8463ed018d2136ca0eb178161ad370565 | [
"MIT"
] | null | null | null | def hex_spirala(data):
setranges=lambda x,y: (x+1, x+1+(y*6)-1)
circleranges={}
circleranges[0]=[1,1]
a, b = max(data), min(data)
circlea=None
circleb=None
while(a>circleranges[len(circleranges)-1][1]):
for x in range(len(circleranges), len(circleranges)+10):
circleranges... | 34.830258 | 85 | 0.616061 | 981 | 9,439 | 5.925586 | 0.153925 | 0.205746 | 0.103217 | 0.117667 | 0.834681 | 0.828832 | 0.828832 | 0.828832 | 0.828832 | 0.828832 | 0 | 0.020688 | 0.288166 | 9,439 | 270 | 86 | 34.959259 | 0.844471 | 0.059222 | 0 | 0.990196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.009804 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
3d523517f113a432e644cae6ff79b964b4a203a1 | 6,345 | py | Python | primaseru/base_layouts.py | Lukmanhakim112/ppdb | c6179478b4c1f0b6cec77a8a059a6e418f6263f1 | [
"MIT"
] | null | null | null | primaseru/base_layouts.py | Lukmanhakim112/ppdb | c6179478b4c1f0b6cec77a8a059a6e418f6263f1 | [
"MIT"
] | null | null | null | primaseru/base_layouts.py | Lukmanhakim112/ppdb | c6179478b4c1f0b6cec77a8a059a6e418f6263f1 | [
"MIT"
] | null | null | null | from crispy_forms.layout import Layout, Fieldset, Row, Div, HTML, Field
from crispy_forms.bootstrap import TabHolder, Tab, Accordion, AccordionGroup
STUDENT_BASE_LAYOUT = Layout(
Fieldset(None,
Accordion(
AccordionGroup("Data Diri",
Row(
... | 48.435115 | 119 | 0.431836 | 665 | 6,345 | 3.930827 | 0.13985 | 0.250956 | 0.180949 | 0.213849 | 0.804514 | 0.761285 | 0.752487 | 0.710406 | 0.710406 | 0.636955 | 0 | 0.015787 | 0.420961 | 6,345 | 130 | 120 | 48.807692 | 0.6957 | 0 | 0 | 0.5 | 0 | 0 | 0.23089 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016129 | 0 | 0.016129 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
18096f111414539b782e225eb0603ef87d153401 | 22,829 | py | Python | unit_tests/test_ceph_radosgw_context.py | dardelean/charm-ceph-radosgw | cdc59e2a39db985aef53f8f9d7a14f761aaa96f6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | unit_tests/test_ceph_radosgw_context.py | dardelean/charm-ceph-radosgw | cdc59e2a39db985aef53f8f9d7a14f761aaa96f6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | unit_tests/test_ceph_radosgw_context.py | dardelean/charm-ceph-radosgw | cdc59e2a39db985aef53f8f9d7a14f761aaa96f6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # Copyright 2016 Canonical Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | 42.042357 | 77 | 0.600727 | 2,517 | 22,829 | 5.178387 | 0.097735 | 0.059076 | 0.079484 | 0.099356 | 0.867347 | 0.834356 | 0.819395 | 0.811263 | 0.808271 | 0.807964 | 0 | 0.052283 | 0.271935 | 22,829 | 542 | 78 | 42.119926 | 0.731905 | 0.023961 | 0 | 0.806517 | 0 | 0.01222 | 0.253099 | 0.063769 | 0 | 0 | 0 | 0 | 0.034623 | 1 | 0.04277 | false | 0.016293 | 0.010183 | 0 | 0.093686 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
185157c4ded9f6f6d11fda053daf49f2f7984f64 | 126 | py | Python | J_Mathematical_Modeling/Section 2/solutionQuestion1.py | sylvain2002/CBM101 | 4d9dc4264ce81cc2af58ceaff96fd0ed7a570af5 | [
"MIT"
] | 7 | 2019-07-03T07:41:55.000Z | 2022-02-06T20:25:37.000Z | J_Mathematical_Modeling/Section 2/solutionQuestion1.py | sylvain2002/CBM101 | 4d9dc4264ce81cc2af58ceaff96fd0ed7a570af5 | [
"MIT"
] | 9 | 2019-03-14T15:15:09.000Z | 2019-08-01T14:18:21.000Z | J_Mathematical_Modeling/Section 2/solutionQuestion1.py | sylvain2002/CBM101 | 4d9dc4264ce81cc2af58ceaff96fd0ed7a570af5 | [
"MIT"
] | 11 | 2019-03-12T10:43:11.000Z | 2021-10-05T12:15:00.000Z | print("No. Because protein a does not affect the total concentration of protein b, it only converts inactive b in active b. ") | 126 | 126 | 0.777778 | 22 | 126 | 4.454545 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 126 | 1 | 126 | 126 | 0.933333 | 0 | 0 | 0 | 0 | 1 | 0.92126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
187bfbe011f7e111114412c5f585f9f34fa6ab2f | 550 | py | Python | Ryven/custom_src/WidgetBaseClasses.py | lidong1266/Ryven-Switch | 68d1f71e81d6564196f44ca49d5903f06db6a4d9 | [
"MIT"
] | 18 | 2021-01-18T09:52:41.000Z | 2022-03-22T10:48:44.000Z | Ryven/custom_src/WidgetBaseClasses.py | xamofb-xsk/Ryven | 8c3dcc613098863ae9fb747e62c0bb9d9eb4cef1 | [
"MIT"
] | null | null | null | Ryven/custom_src/WidgetBaseClasses.py | xamofb-xsk/Ryven | 8c3dcc613098863ae9fb747e62c0bb9d9eb4cef1 | [
"MIT"
] | 3 | 2021-01-18T09:49:42.000Z | 2022-03-22T10:48:47.000Z | class MWB:
"""MainWidgetBase"""
def __init__(self, params):
self.parent_node_instance = params
def get_data(self):
data = {}
return data
def set_data(self, data):
pass
def remove_event(self):
pass
class IWB:
"""InputWidgetBase"""
def __init__(self... | 17.741935 | 69 | 0.583636 | 64 | 550 | 4.703125 | 0.3125 | 0.106312 | 0.159468 | 0.112957 | 0.810631 | 0.810631 | 0.664452 | 0.664452 | 0.664452 | 0.664452 | 0 | 0 | 0.318182 | 550 | 30 | 70 | 18.333333 | 0.802667 | 0.054545 | 0 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
a10c6dd7f7d65e2eedccc0dabdcc5d0d9513cc0b | 76,325 | py | Python | python/ngsi_v2/ngsi_v2/api/entities_api.py | orchestracities/sdk | 9dd1e618d6c013ab916f3880df84c7882f6beec6 | [
"Apache-2.0"
] | 2 | 2019-12-22T01:01:34.000Z | 2021-07-03T20:30:03.000Z | python/ngsi_v2/ngsi_v2/api/entities_api.py | orchestracities/sdk | 9dd1e618d6c013ab916f3880df84c7882f6beec6 | [
"Apache-2.0"
] | 2 | 2019-06-06T05:45:45.000Z | 2019-06-06T09:03:10.000Z | python/ngsi_v2/ngsi_v2/api/entities_api.py | orchestracities/sdk | 9dd1e618d6c013ab916f3880df84c7882f6beec6 | [
"Apache-2.0"
] | 2 | 2021-07-03T20:30:06.000Z | 2021-11-30T21:55:02.000Z | # coding: utf-8
"""
ngsi_v2
NGSI V2 API RC-2018.07 # noqa: E501
The version of the OpenAPI document: 0.2.2
Contact: info@orchestracities.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility l... | 67.965272 | 1,131 | 0.670226 | 9,748 | 76,325 | 5.081966 | 0.0397 | 0.034559 | 0.055956 | 0.02164 | 0.975777 | 0.971517 | 0.97067 | 0.961263 | 0.958356 | 0.9566 | 0 | 0.011822 | 0.254111 | 76,325 | 1,122 | 1,132 | 68.025847 | 0.858352 | 0.605175 | 0 | 0.797642 | 1 | 0 | 0.209694 | 0.037194 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033399 | false | 0 | 0.009823 | 0 | 0.076621 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a176a94ce5fdd6d4d2bf2a0940411b9533b9d75e | 74 | py | Python | test/type_hint_tests/torch_cuda_random.py | wenhaopeter/read_pytorch_code | 491f989cd918cf08874dd4f671fb7f0142a0bc4f | [
"Intel",
"X11"
] | 206 | 2020-11-28T22:56:38.000Z | 2022-03-27T02:33:04.000Z | test/type_hint_tests/torch_cuda_random.py | wenhaopeter/read_pytorch_code | 491f989cd918cf08874dd4f671fb7f0142a0bc4f | [
"Intel",
"X11"
] | 19 | 2020-12-09T23:13:14.000Z | 2022-01-24T23:24:08.000Z | test/type_hint_tests/torch_cuda_random.py | wenhaopeter/read_pytorch_code | 491f989cd918cf08874dd4f671fb7f0142a0bc4f | [
"Intel",
"X11"
] | 28 | 2020-11-29T15:25:12.000Z | 2022-01-20T02:16:27.000Z | import torch
torch.cuda.manual_seed_all(0)
torch.cuda.manual_seed(1007)
| 12.333333 | 29 | 0.810811 | 13 | 74 | 4.384615 | 0.615385 | 0.315789 | 0.526316 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 0.081081 | 74 | 5 | 30 | 14.8 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
a1837f59d83519101d3380cc30925b10bba15b2e | 3,407 | py | Python | work2/lib/src/te941.py | thinety/te941 | 7e3eb22e107672fa14863c9fb60c6d8d7e3790d2 | [
"MIT"
] | 1 | 2022-03-03T02:28:54.000Z | 2022-03-03T02:28:54.000Z | work2/lib/src/te941.py | thinety/te941 | 7e3eb22e107672fa14863c9fb60c6d8d7e3790d2 | [
"MIT"
] | null | null | null | work2/lib/src/te941.py | thinety/te941 | 7e3eb22e107672fa14863c9fb60c6d8d7e3790d2 | [
"MIT"
] | null | null | null | import torch as _torch
from torch import nn as _nn
class NN1(_nn.Module):
def __init__(self):
super().__init__()
self.body = _nn.Sequential(
_nn.Conv2d(1, 32, kernel_size=3, stride=1, padding='same'),
_nn.ReLU(),
_nn.Conv2d(32, 32, kernel_size=2, stride=2),
... | 26.826772 | 72 | 0.493102 | 448 | 3,407 | 3.462054 | 0.102679 | 0.073501 | 0.072211 | 0.090264 | 0.920696 | 0.897485 | 0.897485 | 0.897485 | 0.897485 | 0.880722 | 0 | 0.081167 | 0.356325 | 3,407 | 126 | 73 | 27.039683 | 0.626083 | 0 | 0 | 0.771429 | 0 | 0 | 0.008218 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.019048 | 0 | 0.209524 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a18c36b45d85df2e95a97a0e08b7e612369d95da | 101 | py | Python | src/runner/predictors/__init__.py | Tung-I/nips2019_template | a1fcf35b7633d192d2706a533731cb8c457ac230 | [
"MIT"
] | null | null | null | src/runner/predictors/__init__.py | Tung-I/nips2019_template | a1fcf35b7633d192d2706a533731cb8c457ac230 | [
"MIT"
] | null | null | null | src/runner/predictors/__init__.py | Tung-I/nips2019_template | a1fcf35b7633d192d2706a533731cb8c457ac230 | [
"MIT"
] | null | null | null | from .vipcup_seg_predictor import VIPCUPSegPredictor
from .kits_seg_predictor import KitsSegPredictor | 50.5 | 52 | 0.910891 | 12 | 101 | 7.333333 | 0.666667 | 0.272727 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069307 | 101 | 2 | 53 | 50.5 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a1ad6a260b77ccfbddcb9d8e3e4cea19a630205a | 3,878 | py | Python | tests/test_core/test_widget_set.py | Vamporelol/py_cui | 96c1c1832373821c77d51a98212721fd9a339a59 | [
"BSD-3-Clause"
] | null | null | null | tests/test_core/test_widget_set.py | Vamporelol/py_cui | 96c1c1832373821c77d51a98212721fd9a339a59 | [
"BSD-3-Clause"
] | null | null | null | tests/test_core/test_widget_set.py | Vamporelol/py_cui | 96c1c1832373821c77d51a98212721fd9a339a59 | [
"BSD-3-Clause"
] | 1 | 2021-06-16T08:56:36.000Z | 2021-06-16T08:56:36.000Z | import pytest # noqa
import py_cui
def test_create(WIDGETSET):
test_widget_set = WIDGETSET(4, 5, 30, 100)
assert test_widget_set._simulated_terminal == [30, 100]
assert test_widget_set._height == 26
assert test_widget_set._width == 100
def test_add_scroll_menu(WIDGETSET):
test_widget_set = WIDG... | 33.431034 | 61 | 0.675606 | 566 | 3,878 | 4.339223 | 0.091873 | 0.158795 | 0.206433 | 0.136808 | 0.90513 | 0.90513 | 0.887622 | 0.887622 | 0.887622 | 0.87215 | 0 | 0.039304 | 0.199587 | 3,878 | 115 | 62 | 33.721739 | 0.751933 | 0.001031 | 0 | 0.72449 | 0 | 0 | 0.045196 | 0 | 0 | 0 | 0 | 0 | 0.459184 | 1 | 0.081633 | false | 0 | 0.020408 | 0 | 0.102041 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a1f5a8834bd2dc5177bbe32aae76a2226769db7e | 49,859 | py | Python | ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/trafficendpoint_2a9ee9d883512c1a5bdd5b6b068836f5.py | Vibaswan/ixnetwork_restpy | 239fedc7050890746cbabd71ea1e91c68d9e5cad | [
"MIT"
] | null | null | null | ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/trafficendpoint_2a9ee9d883512c1a5bdd5b6b068836f5.py | Vibaswan/ixnetwork_restpy | 239fedc7050890746cbabd71ea1e91c68d9e5cad | [
"MIT"
] | null | null | null | ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/trafficendpoint_2a9ee9d883512c1a5bdd5b6b068836f5.py | Vibaswan/ixnetwork_restpy | 239fedc7050890746cbabd71ea1e91c68d9e5cad | [
"MIT"
] | null | null | null | # MIT LICENSE
#
# Copyright 1997 - 2020 by IXIA Keysight
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify,... | 54.431223 | 1,015 | 0.694057 | 5,819 | 49,859 | 5.85427 | 0.06221 | 0.060941 | 0.049316 | 0.039306 | 0.809282 | 0.798744 | 0.751424 | 0.73296 | 0.706364 | 0.638173 | 0 | 0.008594 | 0.218155 | 49,859 | 915 | 1,016 | 54.49071 | 0.865297 | 0.555707 | 0 | 0.135501 | 0 | 0 | 0.139047 | 0.023398 | 0 | 0 | 0 | 0 | 0 | 1 | 0.287263 | false | 0 | 0.00542 | 0 | 0.449865 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b80da989fda9e12d79dc5b17815d347d6cfc28a3 | 4,567 | py | Python | pyprobecurrent/log/su8230/AnalyzeSU3500LogFiles.py | drix00/pyprobecurrent | fe9b557fe802084a3f769b42ad2738522856fd73 | [
"Apache-2.0"
] | null | null | null | pyprobecurrent/log/su8230/AnalyzeSU3500LogFiles.py | drix00/pyprobecurrent | fe9b557fe802084a3f769b42ad2738522856fd73 | [
"Apache-2.0"
] | null | null | null | pyprobecurrent/log/su8230/AnalyzeSU3500LogFiles.py | drix00/pyprobecurrent | fe9b557fe802084a3f769b42ad2738522856fd73 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""
.. py:currentmodule:: experimental.su8000.log.AnalyzeSU3500LogFiles
.. moduleauthor:: Hendrix Demers <hendrix.demers@mail.mcgill.ca>
Analize Su-3500 log files.
"""
# Script information for the file.
__author__ = "Hendrix Demers (hendrix.demers@mail.mcgill.ca)"
__version__ = ""
__date__ = ""
... | 35.130769 | 98 | 0.614408 | 500 | 4,567 | 5.548 | 0.22 | 0.126893 | 0.098053 | 0.109589 | 0.837058 | 0.837058 | 0.837058 | 0.788753 | 0.788753 | 0.751262 | 0 | 0.026284 | 0.266915 | 4,567 | 129 | 99 | 35.403101 | 0.80227 | 0.078826 | 0 | 0.775 | 0 | 0 | 0.290384 | 0.035552 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0375 | false | 0 | 0.0375 | 0 | 0.075 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b818633c65cc36ce1c5c51dda452c2d44c462230 | 25,570 | py | Python | track_model/track_model_train.py | QUVA-Lab/lang-tracker | 6cb3630471765565b6f2d34a160f0cd51d95a082 | [
"BSD-2-Clause-FreeBSD"
] | 31 | 2017-09-13T13:40:59.000Z | 2022-01-25T16:55:19.000Z | track_model/track_model_train.py | zhenyangli/lang-tracker | dddd808a22582573ab0a5e4c3dbf0ba054e42d61 | [
"BSD-3-Clause"
] | 4 | 2017-09-14T01:56:58.000Z | 2021-01-28T00:58:58.000Z | track_model/track_model_train.py | QUVA-Lab/lang-tracker | 6cb3630471765565b6f2d34a160f0cd51d95a082 | [
"BSD-2-Clause-FreeBSD"
] | 9 | 2017-09-28T03:22:08.000Z | 2021-01-19T10:56:44.000Z | from __future__ import absolute_import, division, print_function
import numpy as np
import caffe
from caffe import layers as L
from caffe import params as P
channel_mean = np.array([123.68, 116.779, 103.939], dtype=np.float32)
###############################################################################
# Helper ... | 57.203579 | 143 | 0.441103 | 2,967 | 25,570 | 3.472531 | 0.056286 | 0.064059 | 0.045424 | 0.052412 | 0.948656 | 0.944385 | 0.944385 | 0.944385 | 0.944385 | 0.944385 | 0 | 0.081116 | 0.447478 | 25,570 | 446 | 144 | 57.331839 | 0.648146 | 0.283731 | 0 | 0.931818 | 0 | 0 | 0.042623 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018939 | false | 0 | 0.018939 | 0.003788 | 0.056818 | 0.003788 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
62e6cc4a74b04bdd7b76c9a8eb419dfe32532b2b | 879 | py | Python | test_autolens/integration/tests/imaging/full_pipeline/test_mock_nlo.py | PyJedi/PyAutoLens | bcfb2e7b447aa24508fc648d60b6fd9b4fd852e7 | [
"MIT"
] | 1 | 2020-04-06T20:07:56.000Z | 2020-04-06T20:07:56.000Z | test_autolens/integration/tests/imaging/full_pipeline/test_mock_nlo.py | PyJedi/PyAutoLens | bcfb2e7b447aa24508fc648d60b6fd9b4fd852e7 | [
"MIT"
] | null | null | null | test_autolens/integration/tests/imaging/full_pipeline/test_mock_nlo.py | PyJedi/PyAutoLens | bcfb2e7b447aa24508fc648d60b6fd9b4fd852e7 | [
"MIT"
] | null | null | null | from test_autolens.integration.tests.imaging.full_pipeline import hyper_no_lens_light_bg
from test_autolens.integration.tests.imaging.full_pipeline import (
hyper_no_lens_light_bg_extension_false,
)
from test_autolens.integration.tests.imaging.full_pipeline import (
hyper_with_lens_light_bg,
)
from test_autolen... | 33.807692 | 88 | 0.819113 | 142 | 879 | 4.450704 | 0.190141 | 0.185127 | 0.208861 | 0.199367 | 0.938291 | 0.931962 | 0.931962 | 0.803797 | 0.786392 | 0.522152 | 0 | 0 | 0.12628 | 879 | 25 | 89 | 35.16 | 0.822917 | 0 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.210526 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 8 |
a7fbbf47ffc55354edd0a83597dc7b4c4615beea | 23,249 | py | Python | python/test/function/test_interpolate.py | daniel-falk/nnabla | 3fe132ea52dc10521cc029a5d6ba8f565cf65ccf | [
"Apache-2.0"
] | 2,792 | 2017-06-26T13:05:44.000Z | 2022-03-28T07:55:26.000Z | python/test/function/test_interpolate.py | daniel-falk/nnabla | 3fe132ea52dc10521cc029a5d6ba8f565cf65ccf | [
"Apache-2.0"
] | 138 | 2017-06-27T07:04:44.000Z | 2022-02-28T01:37:15.000Z | python/test/function/test_interpolate.py | daniel-falk/nnabla | 3fe132ea52dc10521cc029a5d6ba8f565cf65ccf | [
"Apache-2.0"
] | 380 | 2017-06-26T13:23:52.000Z | 2022-03-25T16:51:30.000Z | # Copyright 2018,2019,2020,2021 Sony Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 42.194192 | 102 | 0.579724 | 3,555 | 23,249 | 3.619128 | 0.068073 | 0.048966 | 0.008394 | 0.050598 | 0.887688 | 0.877662 | 0.862584 | 0.854811 | 0.834681 | 0.825587 | 0 | 0.064239 | 0.254764 | 23,249 | 550 | 103 | 42.270909 | 0.678345 | 0.085982 | 0 | 0.714286 | 0 | 0 | 0.052878 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 1 | 0.035714 | false | 0 | 0.038095 | 0.002381 | 0.107143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9a9212982223f7932361f7af95046253d186591c | 120,649 | py | Python | Ethernet/python/E_TC.py | wjasper/Linix_Drivers | 9c5443f3c9d249f341b6b8580929f8cdbdba4079 | [
"JasPer-2.0"
] | 100 | 2016-11-08T15:41:43.000Z | 2022-02-20T19:37:32.000Z | Ethernet/python/E_TC.py | wjasper/Linix_Drivers | 9c5443f3c9d249f341b6b8580929f8cdbdba4079 | [
"JasPer-2.0"
] | 37 | 2017-01-05T17:48:14.000Z | 2022-01-06T17:43:27.000Z | Ethernet/python/E_TC.py | wjasper/Linix_Drivers | 9c5443f3c9d249f341b6b8580929f8cdbdba4079 | [
"JasPer-2.0"
] | 65 | 2016-12-20T07:03:44.000Z | 2022-03-14T21:48:35.000Z | #! /usr/bin/python3
#
# Copyright (c) 2018 Warren J. Jasper <wjasper@ncsu.edu>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) a... | 48.885332 | 135 | 0.629446 | 15,430 | 120,649 | 4.645172 | 0.043616 | 0.117531 | 0.165637 | 0.094594 | 0.871545 | 0.85984 | 0.845218 | 0.838075 | 0.829913 | 0.82316 | 0 | 0.020301 | 0.271623 | 120,649 | 2,467 | 136 | 48.905148 | 0.795319 | 0.164983 | 0 | 0.818994 | 0 | 0 | 0.030542 | 0.000903 | 0 | 0 | 0.015544 | 0 | 0 | 1 | 0.026257 | false | 0 | 0.001676 | 0 | 0.101676 | 0.024581 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9ade7e44fc2d0b258a78d136b35721e2f2d9919d | 54,121 | py | Python | napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/isis/interfaces/interface/levels/level/afi_safi/af/segment_routing/adjacency_sids/adjacency_sid/config/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 64 | 2016-10-20T15:47:18.000Z | 2021-11-11T11:57:32.000Z | napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/isis/interfaces/interface/levels/level/afi_safi/af/segment_routing/adjacency_sids/adjacency_sid/config/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 126 | 2016-10-05T10:36:14.000Z | 2019-05-15T08:43:23.000Z | napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/isis/interfaces/interface/levels/level/afi_safi/af/segment_routing/adjacency_sids/adjacency_sid/config/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 63 | 2016-11-07T15:23:08.000Z | 2021-09-22T14:41:16.000Z | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | 47.020851 | 1,397 | 0.539938 | 6,200 | 54,121 | 4.533548 | 0.044516 | 0.012523 | 0.010246 | 0.015369 | 0.986659 | 0.978938 | 0.978938 | 0.978938 | 0.978938 | 0.978938 | 0 | 0.037704 | 0.320781 | 54,121 | 1,150 | 1,398 | 47.061739 | 0.726931 | 0.201456 | 0 | 0.88913 | 0 | 0.028261 | 0.322037 | 0.180122 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030435 | false | 0 | 0.016304 | 0 | 0.079348 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9af5a874906ab1d9657091bb70064fdc1c865f30 | 339 | py | Python | main/CompuCellPythonTutorial/steppableBasedMitosisPeriodicBC/Simulation/steppableBasedMitosis.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | null | null | null | main/CompuCellPythonTutorial/steppableBasedMitosisPeriodicBC/Simulation/steppableBasedMitosis.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | null | null | null | main/CompuCellPythonTutorial/steppableBasedMitosisPeriodicBC/Simulation/steppableBasedMitosis.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | 1 | 2021-02-26T21:50:29.000Z | 2021-02-26T21:50:29.000Z | from cc3d import CompuCellSetup
from .steppableBasedMitosisSteppables import VolumeParamSteppable
from .steppableBasedMitosisSteppables import MitosisSteppable
CompuCellSetup.register_steppable(steppable=VolumeParamSteppable(frequency=10))
CompuCellSetup.register_steppable(steppable=MitosisSteppable(frequency=10))
Co... | 37.666667 | 79 | 0.893805 | 28 | 339 | 10.75 | 0.428571 | 0.232558 | 0.272425 | 0.265781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015528 | 0.050147 | 339 | 8 | 80 | 42.375 | 0.919255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
b14f6227092021ac0e03fc627a68b3514652e85c | 90 | py | Python | tests/PaxHeaders.2308045/test-ovsdb.py | cuijianming/ovs-2.13.6 | e7fdf06d6c26d280b25bdf235146ae007cd2208c | [
"Apache-2.0"
] | null | null | null | tests/PaxHeaders.2308045/test-ovsdb.py | cuijianming/ovs-2.13.6 | e7fdf06d6c26d280b25bdf235146ae007cd2208c | [
"Apache-2.0"
] | null | null | null | tests/PaxHeaders.2308045/test-ovsdb.py | cuijianming/ovs-2.13.6 | e7fdf06d6c26d280b25bdf235146ae007cd2208c | [
"Apache-2.0"
] | null | null | null | 30 mtime=1639777086.636355983
30 atime=1639777086.636355983
30 ctime=1639777126.675355983
| 22.5 | 29 | 0.866667 | 12 | 90 | 6.5 | 0.666667 | 0.487179 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.75 | 0.066667 | 90 | 3 | 30 | 30 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b1560af9d764841f8719224d4c6205b6bb60058b | 11,897 | py | Python | test_autolens/unit/simulator/test_simulator.py | harshitjindal/PyAutoLens | f1d3f08f12a61f6634e1b7a0ccf8f5cfe0252035 | [
"MIT"
] | 1 | 2020-04-06T20:07:56.000Z | 2020-04-06T20:07:56.000Z | test_autolens/unit/simulator/test_simulator.py | harshitjindal/PyAutoLens | f1d3f08f12a61f6634e1b7a0ccf8f5cfe0252035 | [
"MIT"
] | null | null | null | test_autolens/unit/simulator/test_simulator.py | harshitjindal/PyAutoLens | f1d3f08f12a61f6634e1b7a0ccf8f5cfe0252035 | [
"MIT"
] | null | null | null | import autolens as al
import numpy as np
import os
import pytest
test_data_dir = "{}/../test_files/arrays/".format(
os.path.dirname(os.path.realpath(__file__))
)
class TestSimulatorImaging:
def test__from_tracer__same_as_manual_tracer_input(self):
psf = al.kernel.manual_2d(
array=np.arra... | 32.774105 | 97 | 0.594267 | 1,384 | 11,897 | 4.802746 | 0.084538 | 0.006319 | 0.030691 | 0.029487 | 0.886264 | 0.848954 | 0.836016 | 0.816308 | 0.808786 | 0.808786 | 0 | 0.051879 | 0.306548 | 11,897 | 362 | 98 | 32.864641 | 0.753818 | 0 | 0 | 0.758278 | 0 | 0 | 0.002017 | 0.002017 | 0 | 0 | 0 | 0 | 0.089404 | 1 | 0.019868 | false | 0 | 0.013245 | 0 | 0.039735 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b1597f08b61cfa12827a5347227351ceef176d37 | 9,804 | py | Python | source/RandomProblem.py | fedetoff/SMMR | 7ad642bdd1b68c49df5d64de00e1e6df27c67291 | [
"MIT"
] | null | null | null | source/RandomProblem.py | fedetoff/SMMR | 7ad642bdd1b68c49df5d64de00e1e6df27c67291 | [
"MIT"
] | null | null | null | source/RandomProblem.py | fedetoff/SMMR | 7ad642bdd1b68c49df5d64de00e1e6df27c67291 | [
"MIT"
] | null | null | null |
import random
from source import Utils, SolutionsUtils, Polytope
from random import randint
def get_random_constrants_T(d, T):
"""
Random generation of T user preferences with d criteria.
:param n: integer: number of criteria.
:param T: integer: number of user preferences.
"""
formatted_cons... | 34.765957 | 122 | 0.56069 | 1,346 | 9,804 | 3.960624 | 0.081724 | 0.018008 | 0.06828 | 0.042018 | 0.834928 | 0.833052 | 0.816545 | 0.809792 | 0.809792 | 0.809792 | 0 | 0.015024 | 0.334659 | 9,804 | 281 | 123 | 34.88968 | 0.802238 | 0.281416 | 0 | 0.717514 | 0 | 0 | 0.004835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028249 | false | 0 | 0.016949 | 0 | 0.073446 | 0.022599 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b193eba787252cca8aa9ceebb0446faa8db3eeb7 | 3,460 | py | Python | tests/test_get_data.py | duncanmazza/ml_stock_prediction_api | 4cf6325ff1252511049b87bc46fa4d5b48acf4f3 | [
"MIT"
] | 1 | 2020-04-05T20:19:10.000Z | 2020-04-05T20:19:10.000Z | tests/test_get_data.py | duncanmazza/ml_stock_prediction_api | 4cf6325ff1252511049b87bc46fa4d5b48acf4f3 | [
"MIT"
] | null | null | null | tests/test_get_data.py | duncanmazza/ml_stock_prediction_api | 4cf6325ff1252511049b87bc46fa4d5b48acf4f3 | [
"MIT"
] | null | null | null | """
Tests the :py:mod:`src.get_data` module
@author: Duncan Mazza
"""
from src.get_data import Company
from tests.BColors import BColors
import pytest
import os
from warnings import warn
from datetime import datetime
import numpy as np
@pytest.fixture()
def company():
r"""
TODO: documentation
"""
re... | 34.257426 | 116 | 0.696821 | 472 | 3,460 | 4.834746 | 0.256356 | 0.04908 | 0.042068 | 0.02454 | 0.803243 | 0.803243 | 0.803243 | 0.753725 | 0.734005 | 0.707274 | 0 | 0.028666 | 0.213584 | 3,460 | 100 | 117 | 34.6 | 0.809996 | 0.225434 | 0 | 0.45283 | 0 | 0 | 0.109843 | 0.008268 | 0 | 0 | 0 | 0.03 | 0.226415 | 1 | 0.09434 | false | 0 | 0.132075 | 0 | 0.245283 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b1a430df18bff0a8c6a80a70fae541688afdf7c0 | 95 | py | Python | foo/lc/leetcode/editor/en/aa.py | JaeCoding/keepPying | 5bf07b34a6c63e9a6bd2b39c17149adb2dc59570 | [
"MIT"
] | 1 | 2020-02-24T15:15:55.000Z | 2020-02-24T15:15:55.000Z | foo/lc/leetcode/editor/en/aa.py | JaeCoding/keepPying | 5bf07b34a6c63e9a6bd2b39c17149adb2dc59570 | [
"MIT"
] | null | null | null | foo/lc/leetcode/editor/en/aa.py | JaeCoding/keepPying | 5bf07b34a6c63e9a6bd2b39c17149adb2dc59570 | [
"MIT"
] | null | null | null | # a = ''.join('a','b')
# b = ''.join([1,2,3])
c = ''.join(['a','b'])
c = ''.join(['1','2','3']) | 23.75 | 26 | 0.315789 | 18 | 95 | 1.666667 | 0.388889 | 0.333333 | 0.4 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.136842 | 95 | 4 | 26 | 23.75 | 0.292683 | 0.431579 | 0 | 0 | 0 | 0 | 0.096154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
498502d6dd54251b2dbcb405a126a81cf8fbc832 | 73 | py | Python | pySUMMA/decomposition/__init__.py | ahsen1402/pySUMMA | 3412e1282bc2cc9b9076f38bf64ef1674d69d770 | [
"Apache-2.0"
] | 1 | 2020-01-11T19:56:05.000Z | 2020-01-11T19:56:05.000Z | pySUMMA/decomposition/__init__.py | learn-ensemble/PY-SUMMA | 1b82237be5dc33af57b5c2e2c16aee4d568ddb77 | [
"Apache-2.0"
] | null | null | null | pySUMMA/decomposition/__init__.py | learn-ensemble/PY-SUMMA | 1b82237be5dc33af57b5c2e2c16aee4d568ddb77 | [
"Apache-2.0"
] | null | null | null |
from .rank_one_tensor import Tensor
from .rank_one_matrix import Matrix
| 18.25 | 35 | 0.849315 | 12 | 73 | 4.833333 | 0.5 | 0.275862 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 73 | 3 | 36 | 24.333333 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b8f7a36a1da847c928a9931029314610def383cb | 638 | py | Python | build/catkin_generated/order_packages.py | ahamden2222/QTRobotTester | 90e91d96e0d35a82c904934898d9456812d9728e | [
"MIT"
] | null | null | null | build/catkin_generated/order_packages.py | ahamden2222/QTRobotTester | 90e91d96e0d35a82c904934898d9456812d9728e | [
"MIT"
] | null | null | null | build/catkin_generated/order_packages.py | ahamden2222/QTRobotTester | 90e91d96e0d35a82c904934898d9456812d9728e | [
"MIT"
] | null | null | null | # generated from catkin/cmake/template/order_packages.context.py.in
source_root_dir = "/home/robotpt/QTRobotTester/src"
whitelisted_packages = "".split(';') if "" != "" else []
blacklisted_packages = "".split(';') if "" != "" else []
underlay_workspaces = "/home/robotpt/QTRobotTester/devel;/home/robotpt/HumanProjectorI... | 106.333333 | 403 | 0.766458 | 78 | 638 | 6.141026 | 0.423077 | 0.206681 | 0.200418 | 0.079332 | 0.613779 | 0.613779 | 0.613779 | 0.613779 | 0.613779 | 0.613779 | 0 | 0 | 0.053292 | 638 | 5 | 404 | 127.6 | 0.793046 | 0.101881 | 0 | 0 | 1 | 0.5 | 0.669002 | 0.663748 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
62100c393bd3c4820183782b5336d26ac2a53512 | 52,044 | py | Python | sdk/python/pulumi_okta/user_schema_property.py | pulumi/pulumi-okta | 83f7617a85b3d05213901773fa4e6a151ab6076b | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2019-10-29T21:59:22.000Z | 2021-11-08T12:00:24.000Z | sdk/python/pulumi_okta/user_schema_property.py | pulumi/pulumi-okta | 83f7617a85b3d05213901773fa4e6a151ab6076b | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2020-01-06T10:28:09.000Z | 2022-03-25T19:52:40.000Z | sdk/python/pulumi_okta/user_schema_property.py | pulumi/pulumi-okta | 83f7617a85b3d05213901773fa4e6a151ab6076b | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-09-11T16:31:04.000Z | 2020-11-24T12:23:17.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 44.98185 | 223 | 0.642552 | 6,095 | 52,044 | 5.310747 | 0.03708 | 0.116222 | 0.085205 | 0.073404 | 0.939912 | 0.929253 | 0.914517 | 0.905187 | 0.901449 | 0.887578 | 0 | 0.000025 | 0.241853 | 52,044 | 1,156 | 224 | 45.020761 | 0.820336 | 0.310603 | 0 | 0.870343 | 1 | 0 | 0.106871 | 0.042712 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166915 | false | 0.00149 | 0.010432 | 0 | 0.277198 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
62147de95581eca38deaf6136f0bd1d593d7997b | 130 | py | Python | ninjalooter/tests/test_window.py | ewjax/ninjalooter | 9faf94eed56de3c375cca4d1be24eab20dc7b226 | [
"MIT"
] | 4 | 2020-08-30T12:57:03.000Z | 2022-03-18T15:11:13.000Z | ninjalooter/tests/test_window.py | ewjax/ninjalooter | 9faf94eed56de3c375cca4d1be24eab20dc7b226 | [
"MIT"
] | 5 | 2022-01-07T03:17:32.000Z | 2022-03-27T21:20:12.000Z | ninjalooter/tests/test_window.py | ewjax/ninjalooter | 9faf94eed56de3c375cca4d1be24eab20dc7b226 | [
"MIT"
] | 1 | 2021-12-28T02:18:04.000Z | 2021-12-28T02:18:04.000Z | from ninjalooter.tests import base
# TODO: placeholder class, can window be tested?
class TestWindow(base.NLTestBase):
pass
| 18.571429 | 48 | 0.769231 | 17 | 130 | 5.882353 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161538 | 130 | 6 | 49 | 21.666667 | 0.917431 | 0.353846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | true | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
62268064cf1b1e6f9767f4512b5ca6d09b5b3d47 | 301,418 | py | Python | Xerus/GSASII/testinp/sgtbxtestinp.py | pedrobcst/Xerus | 09df088e0207176df0d20715e1c9778d09d28250 | [
"MIT"
] | 18 | 2021-12-10T03:05:49.000Z | 2022-03-25T15:48:35.000Z | Xerus/GSASII/testinp/sgtbxtestinp.py | pedrobcst/Xerus | 09df088e0207176df0d20715e1c9778d09d28250 | [
"MIT"
] | 14 | 2022-02-24T11:09:26.000Z | 2022-03-30T07:42:17.000Z | Xerus/GSASII/testinp/sgtbxtestinp.py | pedrobcst/Xerus | 09df088e0207176df0d20715e1c9778d09d28250 | [
"MIT"
] | 1 | 2022-02-25T16:26:54.000Z | 2022-02-25T16:26:54.000Z | # output from sgtbx computed on platform win32 on 2010-04-28
sgtbx = {
'p 2 3': [
(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0) ,
(0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0) ,
(0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0) ,
(0.0, -1.0, 0.0, 0.0, 0.0, -1.0, 1.0, 0.0, 0.0, 0... | 57.898194 | 113 | 0.38501 | 108,473 | 301,418 | 1.069842 | 0.000424 | 1.172195 | 1.375229 | 1.400719 | 0.999087 | 0.999 | 0.998931 | 0.998854 | 0.998802 | 0.998759 | 0 | 0.477896 | 0.198578 | 301,418 | 5,205 | 114 | 57.909318 | 0.002513 | 0.000192 | 0 | 0.867043 | 0 | 0 | 0.005578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
6595cb055058b2e4b73b255bf554fdf72cb13b67 | 175 | py | Python | enformer_pytorch/__init__.py | simonlevine/enformer-pytorch | 342915c3f9385f5f24ee4d1d9965d126d49ca279 | [
"MIT"
] | null | null | null | enformer_pytorch/__init__.py | simonlevine/enformer-pytorch | 342915c3f9385f5f24ee4d1d9965d126d49ca279 | [
"MIT"
] | null | null | null | enformer_pytorch/__init__.py | simonlevine/enformer-pytorch | 342915c3f9385f5f24ee4d1d9965d126d49ca279 | [
"MIT"
] | null | null | null | from enformer_pytorch.enformer_pytorch import Enformer, SEQUENCE_LENGTH, AttentionPool, seq_indices_to_one_hot
from enformer_pytorch.model_loader import load_pretrained_model
| 58.333333 | 110 | 0.908571 | 24 | 175 | 6.166667 | 0.666667 | 0.304054 | 0.256757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062857 | 175 | 2 | 111 | 87.5 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
65e8075642f053ea2750baf226488468847ab1e6 | 142 | py | Python | src/petronia/defimpl/logging/console/__init__.py | groboclown/petronia | 486338023d19cee989e92f0c5692680f1a37811f | [
"MIT"
] | 19 | 2017-06-21T10:28:24.000Z | 2021-12-31T11:49:28.000Z | src/petronia/defimpl/logging/console/__init__.py | groboclown/petronia | 486338023d19cee989e92f0c5692680f1a37811f | [
"MIT"
] | 10 | 2016-11-11T18:57:57.000Z | 2021-02-01T15:33:43.000Z | src/petronia/defimpl/logging/console/__init__.py | groboclown/petronia | 486338023d19cee989e92f0c5692680f1a37811f | [
"MIT"
] | 3 | 2017-09-17T03:29:35.000Z | 2019-06-03T10:43:08.000Z |
"""
Console-based logging.
"""
from .bootstrap import bootstrap_console_logger as start_extension
from .bootstrap import EXTENSION_METADATA
| 17.75 | 66 | 0.816901 | 17 | 142 | 6.588235 | 0.647059 | 0.232143 | 0.339286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 142 | 7 | 67 | 20.285714 | 0.888889 | 0.15493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b84dc414bf1edde155b248980f10a2eda37a869c | 291 | py | Python | tripod/util/__init__.py | amaarora/tripod | bf749da8f223aa208befc398f461549001833ff4 | [
"Apache-2.0"
] | null | null | null | tripod/util/__init__.py | amaarora/tripod | bf749da8f223aa208befc398f461549001833ff4 | [
"Apache-2.0"
] | null | null | null | tripod/util/__init__.py | amaarora/tripod | bf749da8f223aa208befc398f461549001833ff4 | [
"Apache-2.0"
] | null | null | null | # ------------------------------------------------------------------------
# Modified from DETR (https://github.com/facebookresearch/detr)
# and UP-DETR (https://github.com/dddzg/up-detr)
# Copyright 2021 Aman Arora
# ------------------------------------------------------------------------
| 48.5 | 74 | 0.364261 | 21 | 291 | 5.047619 | 0.666667 | 0.169811 | 0.283019 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014652 | 0.061856 | 291 | 5 | 75 | 58.2 | 0.373626 | 0.962199 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b861f52e61e7c5f547ed5628da88f14c366cf1b9 | 5,091 | py | Python | EEG_Lightning/tools/process_predict_task_2.py | mcd4874/NeurIPS_competition | 4df1f222929e9824a55c9c4ae6634743391b0fe9 | [
"MIT"
] | 23 | 2021-10-14T02:31:06.000Z | 2022-01-25T16:26:44.000Z | EEG_Lightning/tools/process_predict_task_2.py | mcd4874/NeurIPS_competition | 4df1f222929e9824a55c9c4ae6634743391b0fe9 | [
"MIT"
] | null | null | null | EEG_Lightning/tools/process_predict_task_2.py | mcd4874/NeurIPS_competition | 4df1f222929e9824a55c9c4ae6634743391b0fe9 | [
"MIT"
] | 1 | 2022-03-05T06:54:11.000Z | 2022-03-05T06:54:11.000Z | import numpy as np
import pandas as pd
import os
# exp="\\task_2_final_2\\LA_EA\\tune_filter\\2"
# # exp=""
# model_path = "C:\\wduong_folder\Dassl.pytorch-master\\NeurIPS_competition\\EEG_Lightning\\NeurIPS_2{}\\no_aug\\no_norm\\mcdV1".format(exp)
#
# #task 2 final 2
# dataset_A_0_result_path = model_path+"\\dataset_... | 36.891304 | 140 | 0.758986 | 844 | 5,091 | 4.122038 | 0.099526 | 0.09198 | 0.129348 | 0.16384 | 0.836447 | 0.822363 | 0.797643 | 0.741018 | 0.741018 | 0.741018 | 0 | 0.029161 | 0.077195 | 5,091 | 137 | 141 | 37.160584 | 0.711367 | 0.622864 | 0 | 0 | 0 | 0.03125 | 0.234289 | 0.157663 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.09375 | 0 | 0.125 | 0.03125 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b88580536c76ee65dd86fbba0d3f65c1b2e3372a | 39,715 | py | Python | python/sbp/linux.py | Patrick-Luo-THR/libsbp | d42e4a1e3cedf6a82b1d993b82e0da148401f80d | [
"MIT"
] | 65 | 2015-03-25T10:28:10.000Z | 2022-02-24T12:36:49.000Z | python/sbp/linux.py | Patrick-Luo-THR/libsbp | d42e4a1e3cedf6a82b1d993b82e0da148401f80d | [
"MIT"
] | 654 | 2015-03-24T17:43:55.000Z | 2022-03-31T21:42:49.000Z | python/sbp/linux.py | Patrick-Luo-THR/libsbp | d42e4a1e3cedf6a82b1d993b82e0da148401f80d | [
"MIT"
] | 110 | 2015-03-24T17:38:35.000Z | 2022-03-21T02:05:19.000Z | #!/usr/bin/env python
# Copyright (C) 2015-2021 Swift Navigation Inc.
# Contact: https://support.swiftnav.com
#
# This source is subject to the license found in the file 'LICENSE' which must
# be be distributed together with this source. All other rights reserved.
#
# THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHO... | 30.620663 | 83 | 0.653229 | 5,086 | 39,715 | 4.897759 | 0.069996 | 0.026375 | 0.015897 | 0.017222 | 0.811481 | 0.804295 | 0.791208 | 0.777158 | 0.766198 | 0.748454 | 0 | 0.01357 | 0.250384 | 39,715 | 1,297 | 84 | 30.620663 | 0.82315 | 0.334231 | 0 | 0.729651 | 0 | 0 | 0.05868 | 0 | 0 | 0 | 0.005185 | 0 | 0 | 1 | 0.127907 | false | 0 | 0.005814 | 0.015988 | 0.277616 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b89529cbe5faa624ee8598783e6fd793786469b4 | 819 | py | Python | tests/parser/bug.18.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/bug.18.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/bug.18.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
bad :- r1, r2.
bad :- g1, g2.
bad :- b1, b2.
bad :- r2, r3.
bad :- g2, g3.
bad :- b2, b3.
bad :- r3, r1.
bad :- g3, g1.
bad :- b3, b1.
r1 :- not g1, not b1.
g1 :- not b1, not r1.
b1 :- not r1, not g1.
r2 :- not g2, not b2.
g2 :- not b2, not r2.
b2 :- not r2, not g2.
r3 :- not g3, not b3.
g3 ... | 16.058824 | 22 | 0.474969 | 160 | 819 | 2.43125 | 0.09375 | 0.051414 | 0.071979 | 0.051414 | 0.971722 | 0.971722 | 0.971722 | 0.971722 | 0.971722 | 0.971722 | 0 | 0.16341 | 0.312576 | 819 | 50 | 23 | 16.38 | 0.527531 | 0 | 0 | 0.956522 | 0 | 0 | 0.959897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b2486aa105c4a83cab57bb59c9abccf8057036be | 23,370 | py | Python | pyspedas/cluster/__init__.py | ergsc-devel/pyspedas | 43d985cbcd23c54205453b06e08f8e51d29ab435 | [
"MIT"
] | 75 | 2019-02-22T12:59:33.000Z | 2022-02-26T15:33:20.000Z | pyspedas/cluster/__init__.py | ergsc-devel/pyspedas | 43d985cbcd23c54205453b06e08f8e51d29ab435 | [
"MIT"
] | 40 | 2019-07-02T07:46:34.000Z | 2022-02-23T21:48:50.000Z | pyspedas/cluster/__init__.py | ergsc-devel/pyspedas | 43d985cbcd23c54205453b06e08f8e51d29ab435 | [
"MIT"
] | 43 | 2019-02-22T13:03:41.000Z | 2022-01-24T19:26:59.000Z |
from .load import load
def fgm(trange=['2018-11-5', '2018-11-6'],
probe='1',
datatype='up',
suffix='',
get_support_data=False,
varformat=None,
varnames=[],
downloadonly=False,
notplot=False,
no_update=False,
time_clip=False):
"""... | 35.843558 | 258 | 0.62071 | 3,054 | 23,370 | 4.681401 | 0.053373 | 0.042317 | 0.043086 | 0.030776 | 0.967546 | 0.967546 | 0.967546 | 0.967546 | 0.967546 | 0.967546 | 0 | 0.010233 | 0.310013 | 23,370 | 651 | 259 | 35.898618 | 0.876403 | 0.67086 | 0 | 0.81203 | 0 | 0 | 0.045529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082707 | false | 0 | 0.007519 | 0 | 0.172932 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b248918677f1089ae52e067a81f848e09d6e3bd2 | 11 | py | Python | pj16.py | Ziggareto/project_euler_solns | e52066b9ffec97005bad0f26a3f0e08760d5c5cb | [
"MIT"
] | null | null | null | pj16.py | Ziggareto/project_euler_solns | e52066b9ffec97005bad0f26a3f0e08760d5c5cb | [
"MIT"
] | null | null | null | pj16.py | Ziggareto/project_euler_solns | e52066b9ffec97005bad0f26a3f0e08760d5c5cb | [
"MIT"
] | null | null | null | #pj17
| 2.75 | 6 | 0.363636 | 1 | 11 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.545455 | 11 | 3 | 7 | 3.666667 | 0.4 | 0.363636 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b273c52080a94e558551231cc66f856d9d6acf11 | 143 | py | Python | src/data/__init__.py | simonsanvil/twitch-web-analytics | c44fab75ecb8173edc05fc7b5c436d1c2c8eaa51 | [
"MIT"
] | 2 | 2021-12-14T04:14:36.000Z | 2021-12-23T21:36:02.000Z | src/data/__init__.py | simonsanvil/twitch-web-analytics | c44fab75ecb8173edc05fc7b5c436d1c2c8eaa51 | [
"MIT"
] | null | null | null | src/data/__init__.py | simonsanvil/twitch-web-analytics | c44fab75ecb8173edc05fc7b5c436d1c2c8eaa51 | [
"MIT"
] | 2 | 2022-03-04T09:36:33.000Z | 2022-03-04T12:42:05.000Z | from .make_dataset import make_data_from_root_user
from .make_dataset import extract_follows_from_users_df, extract_num_followers_from_users_df | 71.5 | 92 | 0.923077 | 24 | 143 | 4.875 | 0.541667 | 0.136752 | 0.25641 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055944 | 143 | 2 | 92 | 71.5 | 0.866667 | 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 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b278559faa858983fb7c9b185053d8f80c83eb88 | 56,257 | py | Python | scripts/gan/cycle_gan/model_base.py | hiroyasuakada/ros_start | 10221ad2bcaefa4aaadc6c90424a3751126ac256 | [
"MIT"
] | null | null | null | scripts/gan/cycle_gan/model_base.py | hiroyasuakada/ros_start | 10221ad2bcaefa4aaadc6c90424a3751126ac256 | [
"MIT"
] | null | null | null | scripts/gan/cycle_gan/model_base.py | hiroyasuakada/ros_start | 10221ad2bcaefa4aaadc6c90424a3751126ac256 | [
"MIT"
] | null | null | null | import os
import random
import itertools
import numpy as np
import torch
import torch.nn as nn
import torch.utils.data
import torchvision.transforms as transforms
from torchvision.utils import make_grid
from torch.autograd import Variable
from PIL import Image
import matplotlib.pyplot as plt
from tensorboardX import Su... | 36.601822 | 121 | 0.5525 | 7,001 | 56,257 | 4.205542 | 0.045422 | 0.050946 | 0.027001 | 0.036138 | 0.878341 | 0.864348 | 0.849845 | 0.83266 | 0.823388 | 0.819006 | 0 | 0.053983 | 0.303571 | 56,257 | 1,537 | 122 | 36.601822 | 0.697517 | 0.671063 | 0 | 0.715736 | 0 | 0 | 0.013039 | 0.008157 | 0 | 0 | 0 | 0.000651 | 0 | 1 | 0.076142 | false | 0 | 0.043147 | 0.002538 | 0.175127 | 0.027919 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b2ab5a015da177007e385ab94b1f672f98e3d2bb | 1,557 | py | Python | ll.py | shehan-9909/t-banner | 8301b8668198d47d26a892e860a77b135fca6560 | [
"Apache-2.0"
] | null | null | null | ll.py | shehan-9909/t-banner | 8301b8668198d47d26a892e860a77b135fca6560 | [
"Apache-2.0"
] | null | null | null | ll.py | shehan-9909/t-banner | 8301b8668198d47d26a892e860a77b135fca6560 | [
"Apache-2.0"
] | null | null | null | # Obfuscated by Py Compile
# Created by HTR-TECH (https://github.com/htr-tech)
# Instagram : @tahmid.rayat
import marshal,zlib,base64
exec(marshal.loads(zlib.decompress(base64.b64decode("eJxFVMmuo1YQ5b1+Gb8ji5ZYMA+Wkig20zVgJjPY7MxwGYyZ4YG3+fAES91JqerUUd2jupvSiZFv8bHVX1sN2gbJlm9IhSDhf/wNCd++83ckfEdSBCm/IOkbUn4g6TtS/oAk... | 259.5 | 1,422 | 0.942197 | 68 | 1,557 | 21.573529 | 0.911765 | 0.009543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 0.010918 | 1,557 | 6 | 1,422 | 259.5 | 0.807143 | 0.064226 | 0 | 0 | 0 | 0.5 | 0.938102 | 0.938102 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
a23b9ef0b81c61e18bdb48bea86d54470152de44 | 2,120 | py | Python | tests/fixtures.py | jsbeckwith/entwiner | 47e31d332a81ad3108a27cbe768663dc50ce2825 | [
"Apache-2.0"
] | 1 | 2021-02-11T19:21:24.000Z | 2021-02-11T19:21:24.000Z | tests/fixtures.py | jsbeckwith/entwiner | 47e31d332a81ad3108a27cbe768663dc50ce2825 | [
"Apache-2.0"
] | null | null | null | tests/fixtures.py | jsbeckwith/entwiner | 47e31d332a81ad3108a27cbe768663dc50ce2825 | [
"Apache-2.0"
] | 1 | 2020-08-23T22:19:39.000Z | 2020-08-23T22:19:39.000Z | import os
import pytest
from entwiner import DiGraphDB, DiGraphDBView
from .constants import FEATURES
# TODO: Use a dynamic path and embed this into core graph functionality, like a
# classmethod
GRAPH_PATH = "/tmp/test_graph.gpkg"
@pytest.fixture()
def G_test():
if os.path.exists(GRAPH_PATH):
... | 27.179487 | 79 | 0.610377 | 286 | 2,120 | 4.377622 | 0.237762 | 0.14377 | 0.207668 | 0.198083 | 0.809904 | 0.776358 | 0.776358 | 0.776358 | 0.776358 | 0.776358 | 0 | 0.014563 | 0.222642 | 2,120 | 77 | 80 | 27.532468 | 0.745146 | 0.092925 | 0 | 0.808511 | 0 | 0 | 0.198123 | 0 | 0 | 0 | 0 | 0.012987 | 0 | 1 | 0.042553 | false | 0 | 0.085106 | 0 | 0.170213 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
a23ce0b8acb68f9f186675870267b5c794381022 | 134,180 | py | Python | Smart_Process_Analytics.py | 1212Prajwol-Pdl/SmartProcessAnalytics | b25b6e922e19cc61cfb9eb96395ad177af1daf71 | [
"MIT"
] | 2 | 2020-11-18T02:50:06.000Z | 2021-02-02T16:18:32.000Z | Smart_Process_Analytics.py | 1212Prajwol-Pdl/SmartProcessAnalytics | b25b6e922e19cc61cfb9eb96395ad177af1daf71 | [
"MIT"
] | 1 | 2021-09-09T15:52:53.000Z | 2022-02-03T05:43:15.000Z | Smart_Process_Analytics.py | 1212Prajwol-Pdl/SmartProcessAnalytics | b25b6e922e19cc61cfb9eb96395ad177af1daf71 | [
"MIT"
] | 3 | 2021-02-02T16:18:34.000Z | 2021-09-08T06:27:37.000Z | # -*- coding: utf-8 -*-
"""
Created on Wed Feb 19 00:56:16 2020
@author: Weike (Vicky) Sun vickysun@mit.edu/weike.sun93@gmail.com
(c) 2020 Weike Sun, all rights reserved
"""
import pandas as pd
import numpy as np
from dataset_property_new import nonlinearity_assess, collinearity_assess, residual_analysis, ... | 67.631048 | 417 | 0.559316 | 16,439 | 134,180 | 4.24156 | 0.029564 | 0.031666 | 0.023506 | 0.023865 | 0.940396 | 0.931978 | 0.929955 | 0.923803 | 0.918195 | 0.914165 | 0 | 0.00539 | 0.337666 | 134,180 | 1,984 | 418 | 67.631048 | 0.779188 | 0.006245 | 0 | 0.886297 | 0 | 0.026239 | 0.208362 | 0.016754 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.039359 | 0 | 0.039359 | 0.164723 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a2976ecc052c86bcdc8f689edcfb4a807d27e843 | 56,133 | py | Python | spio/api/metric_providers_api.py | bsneade/statuspageio-python | 30526a2984251885381e781b12b5070d46063537 | [
"Apache-2.0"
] | 2 | 2020-03-02T20:32:32.000Z | 2020-05-20T16:54:58.000Z | spio/api/metric_providers_api.py | bsneade/statuspageio-python | 30526a2984251885381e781b12b5070d46063537 | [
"Apache-2.0"
] | null | null | null | spio/api/metric_providers_api.py | bsneade/statuspageio-python | 30526a2984251885381e781b12b5070d46063537 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Statuspage API
# Code of Conduct Please don't abuse the API, and please report all feature requests and issues to https://help.statuspage.io/help/contact-us-30 # Rate Limiting Each API token is limited to 1 request / second as measured on a 60 second rolling window. To get this limit incr... | 56.245491 | 2,064 | 0.650954 | 6,701 | 56,133 | 5.110431 | 0.044919 | 0.043802 | 0.063017 | 0.068331 | 0.946941 | 0.945656 | 0.945189 | 0.945189 | 0.940458 | 0.937538 | 0 | 0.014517 | 0.280869 | 56,133 | 997 | 2,065 | 56.301906 | 0.833825 | 0.442859 | 0 | 0.778022 | 0 | 0 | 0.250397 | 0.126345 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037363 | false | 0 | 0.010989 | 0 | 0.085714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a2c08970b30027bc6531880cf45ab9eb83efcf66 | 168 | py | Python | sem_02/lab_04/src/queueing_system/__init__.py | bmstu-ics7/modeling | 30f089cab44e8c56886acf6433abe8cc252ae722 | [
"MIT"
] | 2 | 2020-06-08T18:50:29.000Z | 2021-02-27T11:20:44.000Z | lab_2/code/queueing_system/__init__.py | Winterpuma/bmstu_experiment-planning | 8d0ef45432c4d058a210d896ec3342b6b8b4182d | [
"MIT"
] | null | null | null | lab_2/code/queueing_system/__init__.py | Winterpuma/bmstu_experiment-planning | 8d0ef45432c4d058a210d896ec3342b6b8b4182d | [
"MIT"
] | 1 | 2020-10-22T10:49:42.000Z | 2020-10-22T10:49:42.000Z | import queueing_system.exceptions
import queueing_system.distribution
import queueing_system.generator
import queueing_system.processor
import queueing_system.modeller
| 28 | 35 | 0.910714 | 20 | 168 | 7.4 | 0.4 | 0.472973 | 0.675676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059524 | 168 | 5 | 36 | 33.6 | 0.936709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a2c0bb0f1169524d813b1becbc92f670f6d1bf0d | 4,406 | py | Python | scripts/tests/test_misfit.py | mshodge/sparta | d64197d4f141269ef011525a78da5acde9d04aca | [
"MIT"
] | null | null | null | scripts/tests/test_misfit.py | mshodge/sparta | d64197d4f141269ef011525a78da5acde9d04aca | [
"MIT"
] | 1 | 2022-03-02T12:16:15.000Z | 2022-03-02T12:16:15.000Z | scripts/tests/test_misfit.py | mshodge/sparta | d64197d4f141269ef011525a78da5acde9d04aca | [
"MIT"
] | null | null | null | import pytest
from scripts.tests.utils.create_data import create_profile_for_calculating_misfit, create_manual_profile_for_calculating_misfit
from scripts.misfit import misfit_calculation
def test_misfit_calculation_average():
profile = create_profile_for_calculating_misfit()
profile_manual = create_manual_pr... | 56.487179 | 127 | 0.679528 | 627 | 4,406 | 4.397129 | 0.092504 | 0.145085 | 0.228509 | 0.116068 | 0.904969 | 0.893 | 0.873776 | 0.873776 | 0.873776 | 0.873776 | 0 | 0.032819 | 0.190876 | 4,406 | 78 | 128 | 56.487179 | 0.740533 | 0 | 0 | 0.689655 | 0 | 0 | 0.122532 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 1 | 0.086207 | false | 0 | 0.051724 | 0 | 0.137931 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a73de6c9f5c71a05c1c906d1845f2be489761184 | 11,425 | py | Python | mxnet_benchmarks/nn_operations/loss_operations.py | sandeep-krishnamurthy/dl-operator-benchmark | 965797d2b847c840a4b8ef29c70c631f6642890a | [
"Apache-2.0"
] | 6 | 2019-05-01T22:05:05.000Z | 2020-02-13T19:07:27.000Z | mxnet_benchmarks/nn_operations/loss_operations.py | sandeep-krishnamurthy/dl-operator-benchmark | 965797d2b847c840a4b8ef29c70c631f6642890a | [
"Apache-2.0"
] | 2 | 2019-11-09T06:38:09.000Z | 2019-11-09T06:41:44.000Z | mxnet_benchmarks/nn_operations/loss_operations.py | sandeep-krishnamurthy/dl-operator-benchmark | 965797d2b847c840a4b8ef29c70c631f6642890a | [
"Apache-2.0"
] | null | null | null | import mxnet as mx
import mxnet.ndarray as nd
from mxnet.gluon import loss
from utils.common_utils import get_class_members_in_module
from mxnet_benchmarks.MXNetOperatorBenchmark import MXNetOperatorBenchmarkBase
from mxnet_benchmarks.utils.gluon_utils import block_forward_and_time
from mxnet_benchmarks.utils.ndarray_... | 47.016461 | 116 | 0.602451 | 1,307 | 11,425 | 5.081867 | 0.111706 | 0.057212 | 0.01897 | 0.025745 | 0.780638 | 0.745408 | 0.741494 | 0.722975 | 0.718458 | 0.69196 | 0 | 0.033049 | 0.303457 | 11,425 | 242 | 117 | 47.210744 | 0.801583 | 0.229934 | 0 | 0.704918 | 0 | 0 | 0.101066 | 0.02347 | 0 | 0 | 0 | 0.028926 | 0 | 1 | 0.07377 | false | 0 | 0.057377 | 0 | 0.172131 | 0.008197 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a774c9cab86b1183c4d849c10340af62dbb3978d | 19,190 | py | Python | extensions/arcade/tests/test_xo_txn_family.py | jrineck/sawtooth-core | e3eb79f32c97a25993c87eda7f77a02fd2086c7c | [
"Apache-2.0"
] | null | null | null | extensions/arcade/tests/test_xo_txn_family.py | jrineck/sawtooth-core | e3eb79f32c97a25993c87eda7f77a02fd2086c7c | [
"Apache-2.0"
] | null | null | null | extensions/arcade/tests/test_xo_txn_family.py | jrineck/sawtooth-core | e3eb79f32c97a25993c87eda7f77a02fd2086c7c | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 35.602968 | 80 | 0.584106 | 1,891 | 19,190 | 5.803279 | 0.087784 | 0.104975 | 0.074358 | 0.122471 | 0.906233 | 0.898487 | 0.89712 | 0.881356 | 0.877438 | 0.869419 | 0 | 0.041972 | 0.267483 | 19,190 | 538 | 81 | 35.669145 | 0.738707 | 0.063366 | 0 | 0.903002 | 0 | 0 | 0.144905 | 0 | 0 | 0 | 0 | 0 | 0.360277 | 1 | 0.027714 | false | 0 | 0.011547 | 0 | 0.04157 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a7b8208580aaaeade5ddea41f34b194d503ce555 | 73 | py | Python | taobao-tianmao/dingtalk/api/__init__.py | ScottLeeF/python-example | 0b230ba80fe5020d70329a9d73e058013f0ca111 | [
"Apache-2.0"
] | null | null | null | taobao-tianmao/dingtalk/api/__init__.py | ScottLeeF/python-example | 0b230ba80fe5020d70329a9d73e058013f0ca111 | [
"Apache-2.0"
] | 7 | 2021-03-19T02:12:42.000Z | 2022-03-12T00:25:28.000Z | taobao-tianmao/dingtalk/api/__init__.py | ScottLeeF/python-example | 0b230ba80fe5020d70329a9d73e058013f0ca111 | [
"Apache-2.0"
] | null | null | null | from dingtalk.api.base import FileItem
from dingtalk.api.rest import *
| 24.333333 | 39 | 0.794521 | 11 | 73 | 5.272727 | 0.636364 | 0.413793 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 73 | 2 | 40 | 36.5 | 0.920635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
38f3e902d95a584b7c067058683b4aaae2652e6e | 3,362 | py | Python | graphtheory/hamiltonian/tspmst.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 36 | 2015-09-20T20:55:39.000Z | 2021-09-20T05:49:03.000Z | graphtheory/hamiltonian/tspmst.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 6 | 2016-03-25T21:41:46.000Z | 2020-02-12T03:18:59.000Z | graphtheory/hamiltonian/tspmst.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 9 | 2016-09-12T07:57:27.000Z | 2022-03-21T16:15:39.000Z | #!/usr/bin/python
try:
integer_types = (int, long)
except NameError: # Python 3
integer_types = (int,)
xrange = range
from graphtheory.spanningtrees.prim import PrimMatrixMSTWithEdges
from graphtheory.traversing.dfs import SimpleDFS
class PrimTSPWithEdges:
"""The minimum spanning tree algorithm fo... | 33.959596 | 78 | 0.6047 | 391 | 3,362 | 5.12532 | 0.237852 | 0.067365 | 0.038922 | 0.013972 | 0.816367 | 0.816367 | 0.816367 | 0.816367 | 0.816367 | 0.816367 | 0 | 0.003788 | 0.293278 | 3,362 | 98 | 79 | 34.306122 | 0.839646 | 0.255503 | 0 | 0.745763 | 0 | 0 | 0.0175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067797 | false | 0 | 0.033898 | 0 | 0.135593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3bbbfcf1e5b7529c7dbe3aff0a1cf01e76d0faf8 | 5,778 | py | Python | data/scripts/attributes/StaticNPCAttributeTemplate.py | obi-two/GameServer | 7d37024e2291a97d49522610cd8f1dbe5666afc2 | [
"MIT"
] | 20 | 2015-02-23T15:11:56.000Z | 2022-03-18T20:56:48.000Z | data/scripts/attributes/StaticNPCAttributeTemplate.py | apathyboy/swganh | 665128efe9154611dec4cb5efc61d246dd095984 | [
"MIT"
] | null | null | null | data/scripts/attributes/StaticNPCAttributeTemplate.py | apathyboy/swganh | 665128efe9154611dec4cb5efc61d246dd095984 | [
"MIT"
] | 20 | 2015-04-04T16:35:59.000Z | 2022-03-24T14:54:37.000Z | import swgpy
from swgpy.object import *
from swgpy.attributes import *
from attributes.AttributeHelpers import SetOptionalAttribute
class StaticNPCAttributeTemplate(BaseAttributeTemplate):
def buildAttributeTemplate(self, object):
attribute_list_message = AttributeListMessage()
attribute_list_message.object_id = o... | 120.375 | 189 | 0.84441 | 711 | 5,778 | 6.344585 | 0.087201 | 0.106407 | 0.060297 | 0.089337 | 0.84305 | 0.796719 | 0.754822 | 0.739747 | 0.696076 | 0.623808 | 0 | 0.000184 | 0.061094 | 5,778 | 48 | 190 | 120.375 | 0.831336 | 0 | 0 | 0 | 0 | 0 | 0.557363 | 0.551653 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0 | 0.083333 | 0 | 0.145833 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3be7630c47b46a8431b379b65b99ea61bfb090a0 | 266 | py | Python | spkcspider/apps/spider/views/__init__.py | devkral/spkbspider | 97e448b4da412acebd66c4469c7fcdd07bf90ed2 | [
"MIT"
] | 5 | 2019-06-24T14:15:54.000Z | 2021-05-14T23:16:31.000Z | spkcspider/apps/spider/views/__init__.py | devkral/spkbspider | 97e448b4da412acebd66c4469c7fcdd07bf90ed2 | [
"MIT"
] | 2 | 2018-06-19T09:56:18.000Z | 2018-11-20T12:02:44.000Z | spkcspider/apps/spider/views/__init__.py | devkral/spkbspider | 97e448b4da412acebd66c4469c7fcdd07bf90ed2 | [
"MIT"
] | null | null | null | from ._components import * # noqa: F403, F401
from ._contents import * # noqa: F403, F401
from ._core import * # noqa: F403, F401
from ._deletion import * # noqa: F403, F401
from ._referrer import * # noqa: F403, F401
from ._tokens import * # noqa: F403, F401
| 38 | 46 | 0.684211 | 36 | 266 | 4.888889 | 0.305556 | 0.340909 | 0.477273 | 0.613636 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 0.203008 | 266 | 6 | 47 | 44.333333 | 0.660377 | 0.379699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ce1a75b1b4e54e25d789423da3fddcbe6fc52b83 | 44,486 | py | Python | test/hummingbot/strategy/test_hanging_orders_tracker.py | phbrgnomo/hummingbot | 72382954a06a277248f44b321344186aef1c367c | [
"Apache-2.0"
] | 1 | 2021-08-23T03:18:26.000Z | 2021-08-23T03:18:26.000Z | test/hummingbot/strategy/test_hanging_orders_tracker.py | phbrgnomo/hummingbot | 72382954a06a277248f44b321344186aef1c367c | [
"Apache-2.0"
] | null | null | null | test/hummingbot/strategy/test_hanging_orders_tracker.py | phbrgnomo/hummingbot | 72382954a06a277248f44b321344186aef1c367c | [
"Apache-2.0"
] | 1 | 2021-12-09T20:58:26.000Z | 2021-12-09T20:58:26.000Z | from datetime import datetime
import logging
import unittest
from decimal import Decimal
from mock import MagicMock, patch, PropertyMock
from hummingbot.core.event.events import MarketEvent, OrderCancelledEvent, BuyOrderCompletedEvent
from hummingbot.strategy.hanging_orders_tracker import HangingOrdersTracker, Hanging... | 56.027708 | 122 | 0.564784 | 4,330 | 44,486 | 5.487298 | 0.064665 | 0.075 | 0.05303 | 0.039184 | 0.859217 | 0.837332 | 0.809007 | 0.793182 | 0.764268 | 0.732113 | 0 | 0.06461 | 0.356696 | 44,486 | 793 | 123 | 56.098361 | 0.765637 | 0.047341 | 0 | 0.75387 | 0 | 0 | 0.081657 | 0.044016 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.032508 | false | 0 | 0.013932 | 0.003096 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
024bdc581fadab9dff49aa4236b1eb41cdd84366 | 192 | py | Python | numerous/engine/system/__init__.py | amipy/numerous | 46eb3806ad904c3c0b3dccad7f8f3ddb5582cbd9 | [
"BSD-3-Clause"
] | 20 | 2019-12-11T18:19:39.000Z | 2022-01-30T15:37:58.000Z | numerous/engine/system/__init__.py | amipy/numerous | 46eb3806ad904c3c0b3dccad7f8f3ddb5582cbd9 | [
"BSD-3-Clause"
] | 38 | 2020-04-11T22:25:58.000Z | 2022-03-29T12:24:15.000Z | numerous/engine/system/__init__.py | amipy/numerous | 46eb3806ad904c3c0b3dccad7f8f3ddb5582cbd9 | [
"BSD-3-Clause"
] | 7 | 2019-12-21T12:12:09.000Z | 2021-12-02T14:12:09.000Z | from .subsystem import *
from .item import *
from .binding import *
from .connector import *
from .connector_item import *
from .item_path import *
from .namespace import *
from .node import * | 24 | 29 | 0.755208 | 26 | 192 | 5.5 | 0.346154 | 0.48951 | 0.195804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161458 | 192 | 8 | 30 | 24 | 0.888199 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
65f3aee756b0d178a5a2412bae89c1a75e8fdfa2 | 126 | py | Python | Calculator/squareRoot.py | zc256/PythonCalculator | 3267a0809dbc28e437337c68f93a9205c0532563 | [
"MIT"
] | null | null | null | Calculator/squareRoot.py | zc256/PythonCalculator | 3267a0809dbc28e437337c68f93a9205c0532563 | [
"MIT"
] | null | null | null | Calculator/squareRoot.py | zc256/PythonCalculator | 3267a0809dbc28e437337c68f93a9205c0532563 | [
"MIT"
] | null | null | null | # import math
# def squareRoot(a):
# return round(math.sqrt(float(a)),9)
def squareRoot(a):
return round(float(a)**(1/2),8) | 21 | 38 | 0.666667 | 22 | 126 | 3.818182 | 0.590909 | 0.309524 | 0.333333 | 0.47619 | 0.595238 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.119048 | 126 | 6 | 39 | 21 | 0.720721 | 0.531746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
5a00d4aa3e4ec97366305afaa66265f0acdd8e0a | 5,304 | py | Python | opennem/db/migrations/versions/659f03439631_trading_interval_indexes.py | tourdownunder/opennem | deec3e2079db9d9d84171010fd0c239170d1e7ce | [
"MIT"
] | null | null | null | opennem/db/migrations/versions/659f03439631_trading_interval_indexes.py | tourdownunder/opennem | deec3e2079db9d9d84171010fd0c239170d1e7ce | [
"MIT"
] | 1 | 2020-09-06T04:17:59.000Z | 2020-09-06T04:17:59.000Z | opennem/db/migrations/versions/659f03439631_trading_interval_indexes.py | tourdownunder/opennem | deec3e2079db9d9d84171010fd0c239170d1e7ce | [
"MIT"
] | null | null | null | """Trading interval indexes
Revision ID: 659f03439631
Revises: 9ee998713b18
Create Date: 2020-10-09 03:01:56.054462
"""
import sqlalchemy as sa
from alembic import op
# revision identifiers, used by Alembic.
revision = "659f03439631"
down_revision = "9ee998713b18"
branch_labels = None
depends_on = None
def upgrade... | 36.328767 | 79 | 0.712481 | 635 | 5,304 | 5.492913 | 0.102362 | 0.210722 | 0.059633 | 0.073395 | 0.90797 | 0.905963 | 0.905963 | 0.905963 | 0.891628 | 0.635895 | 0 | 0.013905 | 0.186463 | 5,304 | 145 | 80 | 36.57931 | 0.794438 | 0.043929 | 0 | 0.528926 | 0 | 0 | 0.535877 | 0.303815 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016529 | false | 0 | 0.016529 | 0 | 0.033058 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5a0b453b0ca0b40e5b85897cd96b1272b656b9a4 | 31,239 | py | Python | src/ggrc/migrations/versions/20130529211629_459696baf6e4_initial_objects_migr.py | Smotko/ggrc-core | b3abb58b24e7559960d71a94ba79c75539e7fe29 | [
"Apache-2.0"
] | null | null | null | src/ggrc/migrations/versions/20130529211629_459696baf6e4_initial_objects_migr.py | Smotko/ggrc-core | b3abb58b24e7559960d71a94ba79c75539e7fe29 | [
"Apache-2.0"
] | 12 | 2015-01-08T14:50:19.000Z | 2017-11-29T19:37:53.000Z | src/ggrc/migrations/versions/20130529211629_459696baf6e4_initial_objects_migr.py | mikecb/ggrc-core | 1cda560cb0920021416e07740c6cca1acba56268 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2015-01-08T13:25:09.000Z | 2015-01-08T13:25:09.000Z |
# Copyright (C) 2013 Google Inc., authors, and contributors <see AUTHORS file>
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
# Created By: dan@reciprocitylabs.com
# Maintained By: dan@reciprocitylabs.com
"""Initial objects migration
Revision ID: 459696baf6e4
Revises: None
Create Date... | 49.822967 | 85 | 0.674573 | 4,092 | 31,239 | 5.033724 | 0.053763 | 0.156132 | 0.224294 | 0.288378 | 0.894504 | 0.881833 | 0.85217 | 0.805903 | 0.738081 | 0.685649 | 0 | 0.010895 | 0.127405 | 31,239 | 626 | 86 | 49.902556 | 0.744745 | 0.016774 | 0 | 0.599668 | 0 | 0 | 0.179744 | 0.013137 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003322 | false | 0 | 0.003322 | 0 | 0.006645 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5a3d555d3fcd443e3da5cb8fb0b5dac02d2af0e3 | 74 | py | Python | src/orders/admin/__init__.py | iNerV/education-backend | 787c0d090eb6e4a9338812941b0246a6e1b8e7ad | [
"MIT"
] | 151 | 2020-04-21T09:58:57.000Z | 2021-09-12T09:01:21.000Z | src/orders/admin/__init__.py | iNerV/education-backend | 787c0d090eb6e4a9338812941b0246a6e1b8e7ad | [
"MIT"
] | 163 | 2020-05-29T20:52:00.000Z | 2021-09-11T12:44:56.000Z | src/orders/admin/__init__.py | iNerV/education-backend | 787c0d090eb6e4a9338812941b0246a6e1b8e7ad | [
"MIT"
] | 39 | 2020-04-21T12:28:16.000Z | 2021-09-12T15:33:47.000Z | import orders.admin.orders # noqa
import orders.admin.promocodes # noqa
| 24.666667 | 38 | 0.783784 | 10 | 74 | 5.8 | 0.5 | 0.413793 | 0.586207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 74 | 2 | 39 | 37 | 0.90625 | 0.121622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5a49c981d8946a3270527aca43539de68213c017 | 6,507 | py | Python | tagger-ds-temp/tagger/testing/test_retriever.py | filchyboy/TaggerMail | 4166a49842817ad999a8fbb6262de7cb7e765a5a | [
"MIT"
] | null | null | null | tagger-ds-temp/tagger/testing/test_retriever.py | filchyboy/TaggerMail | 4166a49842817ad999a8fbb6262de7cb7e765a5a | [
"MIT"
] | 6 | 2021-01-28T21:23:23.000Z | 2022-01-22T13:06:54.000Z | tagger-ds-temp/tagger/testing/test_retriever.py | filchyboy/TaggerMail | 4166a49842817ad999a8fbb6262de7cb7e765a5a | [
"MIT"
] | null | null | null | from __future__ import print_function
import pickle
import os.path
import base64
from bs4 import BeautifulSoup
import bleach
import re
from googleapiclient.discovery import build
from google_auth_oauthlib.flow import InstalledAppFlow
from google.auth.transport.requests import Request
import pytest
# If... | 35.36413 | 121 | 0.671584 | 853 | 6,507 | 5.018757 | 0.19109 | 0.046251 | 0.023125 | 0.025228 | 0.856108 | 0.856108 | 0.856108 | 0.856108 | 0.856108 | 0.856108 | 0 | 0.006745 | 0.225296 | 6,507 | 183 | 122 | 35.557377 | 0.842492 | 0.317658 | 0 | 0.721649 | 0 | 0 | 0.117214 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 1 | 0.041237 | false | 0 | 0.113402 | 0 | 0.175258 | 0.010309 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5a85b151921a3c27e60282d6d12f8f337bf9e5fa | 1,208 | py | Python | django_src/analysis/models.py | jup014/Walk-Data-Processing | 5951df6e467702ab0bc3c2721cb5457b0a074aa4 | [
"MIT"
] | null | null | null | django_src/analysis/models.py | jup014/Walk-Data-Processing | 5951df6e467702ab0bc3c2721cb5457b0a074aa4 | [
"MIT"
] | null | null | null | django_src/analysis/models.py | jup014/Walk-Data-Processing | 5951df6e467702ab0bc3c2721cb5457b0a074aa4 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Aggregated1(models.Model):
index_day = models.IntegerField()
index_method = models.IntegerField()
key_n_days = models.IntegerField()
key_window_size = models.IntegerField()
key_threshold1 = models.FloatField()
key_threshold2 = models... | 34.514286 | 132 | 0.655629 | 127 | 1,208 | 6 | 0.244094 | 0.354331 | 0.165354 | 0.076115 | 0.833333 | 0.833333 | 0.833333 | 0.833333 | 0.833333 | 0.833333 | 0 | 0.010571 | 0.216887 | 1,208 | 35 | 133 | 34.514286 | 0.794926 | 0.457781 | 0 | 0 | 0 | 0 | 0.115625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.8125 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
ce747120ebd453ebad548b8be69986a6111203d2 | 902 | py | Python | spoonerism.py | primelos/python-funcs | ef62b66017014fef199edcca4df818ae59561115 | [
"MIT"
] | null | null | null | spoonerism.py | primelos/python-funcs | ef62b66017014fef199edcca4df818ae59561115 | [
"MIT"
] | null | null | null | spoonerism.py | primelos/python-funcs | ef62b66017014fef199edcca4df818ae59561115 | [
"MIT"
] | null | null | null | # Write your make_spoonerism function here:
def make_spoonerism(word1, word2):
a = word1[0]
b = word2[0]
c = word1[0].replace(a,b) + word1[1:]
d = word2[0].replace(b,a) + word2[1:]
e = c + ' ' + d
return e
# Uncomment these function calls to test your function:
print(make_spoonerism("Codecademy", "Learn"... | 25.771429 | 61 | 0.684035 | 131 | 902 | 4.633588 | 0.267176 | 0.230643 | 0.187809 | 0.075783 | 0.827018 | 0.827018 | 0.827018 | 0.705107 | 0.705107 | 0.705107 | 0 | 0.031662 | 0.159645 | 902 | 34 | 62 | 26.529412 | 0.769129 | 0.619734 | 0 | 0 | 0 | 0 | 0.090625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.2 | 0.3 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0c9823b3c3b81d7cfe345f4378dc34733315a87a | 2,693 | py | Python | tests/test_frequency.py | apeyrard/lxd-backup | 4577bf739de6b2a6cd660a940e0be423922b9d31 | [
"MIT"
] | null | null | null | tests/test_frequency.py | apeyrard/lxd-backup | 4577bf739de6b2a6cd660a940e0be423922b9d31 | [
"MIT"
] | 1 | 2021-06-01T22:46:55.000Z | 2021-06-01T22:46:55.000Z | tests/test_frequency.py | apeyrard/lxd-backup | 4577bf739de6b2a6cd660a940e0be423922b9d31 | [
"MIT"
] | null | null | null | from lxd_backup.frequencies import should_backup
from lxd_backup.frequencies import Frequency
def test_when_daily_and_monday_then_should_backup(mocker):
mocker.patch('lxd_backup.frequencies.weekday', return_value=0)
assert should_backup(Frequency.DAILY)
def test_when_weekly_and_tuesday_then_should_not_backu... | 37.929577 | 90 | 0.821017 | 388 | 2,693 | 5.278351 | 0.128866 | 0.134766 | 0.175781 | 0.15625 | 0.884766 | 0.77002 | 0.77002 | 0.743164 | 0.721191 | 0.657715 | 0 | 0.016333 | 0.090605 | 2,693 | 70 | 91 | 38.471429 | 0.819927 | 0 | 0 | 0.25 | 0 | 0 | 0.167843 | 0.164872 | 0 | 0 | 0 | 0 | 0.295455 | 1 | 0.295455 | false | 0 | 0.045455 | 0 | 0.340909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
490262227b1b04b0803be5b654afb8f3b88aa5df | 6,217 | py | Python | src/comportamento.py | jssfernandes/monopoly-simulations-python | c73d6ecf0f1be5075ecdb66bcdf54d5617761da6 | [
"MIT"
] | null | null | null | src/comportamento.py | jssfernandes/monopoly-simulations-python | c73d6ecf0f1be5075ecdb66bcdf54d5617761da6 | [
"MIT"
] | null | null | null | src/comportamento.py | jssfernandes/monopoly-simulations-python | c73d6ecf0f1be5075ecdb66bcdf54d5617761da6 | [
"MIT"
] | null | null | null | from random import randint
def impulsivo(tabuleiro, jogadores, jogador_atual):
if tabuleiro[jogadores[jogador_atual]['posicao_atual']]['proprietario'] != jogadores[jogador_atual]['nome'] \
and jogadores[jogador_atual]['caixa'] > tabuleiro[jogadores[jogador_atual]['posicao_atual']]['custo_venda']:
... | 54.535088 | 126 | 0.627312 | 605 | 6,217 | 6.242975 | 0.077686 | 0.334657 | 0.439237 | 0.238284 | 0.976966 | 0.976966 | 0.965846 | 0.965846 | 0.965846 | 0.965846 | 0 | 0.007898 | 0.205726 | 6,217 | 113 | 127 | 55.017699 | 0.756987 | 0 | 0 | 0.913462 | 0 | 0 | 0.267492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.009615 | 0 | 0.048077 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 11 |
0b268bc5bbe09790da00c10cf204d267c085009a | 208 | py | Python | core/models/utils.py | gabrielloliveira/flaskweet | 0fc21bfb62c1335ee009ceb9cda9071ca13a8c76 | [
"MIT"
] | null | null | null | core/models/utils.py | gabrielloliveira/flaskweet | 0fc21bfb62c1335ee009ceb9cda9071ca13a8c76 | [
"MIT"
] | 5 | 2020-04-03T14:40:27.000Z | 2020-04-05T15:24:49.000Z | core/models/utils.py | gabrielloliveira/flaskweet | 0fc21bfb62c1335ee009ceb9cda9071ca13a8c76 | [
"MIT"
] | null | null | null | from passlib.hash import pbkdf2_sha256
def encrypt(password):
return pbkdf2_sha256.hash(password)
def verify(password, password_storaged):
return pbkdf2_sha256.verify(password, password_storaged)
| 20.8 | 60 | 0.802885 | 26 | 208 | 6.230769 | 0.461538 | 0.222222 | 0.222222 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065934 | 0.125 | 208 | 9 | 61 | 23.111111 | 0.824176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 1 | 0.2 | 0.4 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 9 |
0b52e72434672d32d39db08deb42542aaa16a864 | 112 | py | Python | app/forms.py | ghoshd1/docker-django-webapp-linux | 5ea81a3b9d9e2ec91fcf1663c94ee2c63ca03888 | [
"MIT"
] | 48 | 2017-09-21T02:27:31.000Z | 2022-03-21T13:40:59.000Z | app/forms.py | ghoshd1/docker-django-webapp-linux | 5ea81a3b9d9e2ec91fcf1663c94ee2c63ca03888 | [
"MIT"
] | 7 | 2017-08-21T11:16:17.000Z | 2020-07-20T14:45:11.000Z | app/forms.py | ghoshd1/docker-django-webapp-linux | 5ea81a3b9d9e2ec91fcf1663c94ee2c63ca03888 | [
"MIT"
] | 161 | 2017-08-21T06:22:33.000Z | 2022-03-31T15:36:08.000Z | """
Definition of forms.
"""
from django import forms
from django.contrib.auth.forms import AuthenticationForm
| 16 | 56 | 0.785714 | 14 | 112 | 6.285714 | 0.642857 | 0.204545 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 112 | 6 | 57 | 18.666667 | 0.897959 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e8de833ef4df53a07a1cea8aae0dc39b85f4a4b2 | 99 | py | Python | tmp/test_d.py | wiki918/python_pytest_demo | 32180f726cabbd7685dda04e72aa111b00677930 | [
"BSD-3-Clause"
] | null | null | null | tmp/test_d.py | wiki918/python_pytest_demo | 32180f726cabbd7685dda04e72aa111b00677930 | [
"BSD-3-Clause"
] | null | null | null | tmp/test_d.py | wiki918/python_pytest_demo | 32180f726cabbd7685dda04e72aa111b00677930 | [
"BSD-3-Clause"
] | null | null | null | def test_d_1():
assert True
def test_d_2():
assert True
def test_d_3():
assert True
| 9.9 | 15 | 0.636364 | 18 | 99 | 3.166667 | 0.444444 | 0.368421 | 0.421053 | 0.596491 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.272727 | 99 | 9 | 16 | 11 | 0.75 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e8e8869aa6d2f8035a5c9cb25f059494072c9011 | 125 | py | Python | recognizer/__init__.py | RukNdf/MA-Landmark | 4038ebe7edc9e353e1987479f5f9edc528a4bd2a | [
"Unlicense"
] | null | null | null | recognizer/__init__.py | RukNdf/MA-Landmark | 4038ebe7edc9e353e1987479f5f9edc528a4bd2a | [
"Unlicense"
] | null | null | null | recognizer/__init__.py | RukNdf/MA-Landmark | 4038ebe7edc9e353e1987479f5f9edc528a4bd2a | [
"Unlicense"
] | null | null | null | from recognizer.ma_plan_recognizer import SATTeamPlanRecognizer
from recognizer.sat_plan_recognizer import SATPlanRecognizer
| 41.666667 | 63 | 0.92 | 14 | 125 | 7.928571 | 0.571429 | 0.252252 | 0.36036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064 | 125 | 2 | 64 | 62.5 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e8fc30ee308ece3ccfaac8fc5d5c6838afe37fa5 | 22,765 | py | Python | sdk/python/pulumi_yandex/provider.py | pulumi/pulumi-yandex | 559a0c82fd2b834bb5f1dc3abbf0dab689b13a3e | [
"ECL-2.0",
"Apache-2.0"
] | 9 | 2021-04-20T15:39:41.000Z | 2022-02-20T09:14:39.000Z | sdk/python/pulumi_yandex/provider.py | pulumi/pulumi-yandex | 559a0c82fd2b834bb5f1dc3abbf0dab689b13a3e | [
"ECL-2.0",
"Apache-2.0"
] | 56 | 2021-04-20T11:31:03.000Z | 2022-03-31T15:53:06.000Z | sdk/python/pulumi_yandex/provider.py | pulumi/pulumi-yandex | 559a0c82fd2b834bb5f1dc3abbf0dab689b13a3e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 46.176471 | 168 | 0.65302 | 2,801 | 22,765 | 5.103534 | 0.076401 | 0.081567 | 0.082267 | 0.09234 | 0.868555 | 0.83057 | 0.776285 | 0.735362 | 0.711088 | 0.659881 | 0 | 0.000525 | 0.246431 | 22,765 | 492 | 169 | 46.270325 | 0.83276 | 0.323787 | 0 | 0.462069 | 1 | 0 | 0.090635 | 0.011373 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162069 | false | 0.003448 | 0.017241 | 0 | 0.27931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
33052aaad10d8d7e42950e3406dcb710b5793260 | 3,885 | py | Python | run_accuracy_tests.py | j3ygithub/hijson | ac4471f27edc23545ec06393cdb6b037aa0399d3 | [
"MIT"
] | null | null | null | run_accuracy_tests.py | j3ygithub/hijson | ac4471f27edc23545ec06393cdb6b037aa0399d3 | [
"MIT"
] | null | null | null | run_accuracy_tests.py | j3ygithub/hijson | ac4471f27edc23545ec06393cdb6b037aa0399d3 | [
"MIT"
] | null | null | null | import json
import unittest
from json_parsers import stringify, parse
class JsonStringifyTestCase(unittest.TestCase):
def test_null(self):
value = None
self.assertEqual(stringify(value), json.dumps(value))
def test_true(self):
value = True
self.assertEqual(stringify(value), j... | 26.979167 | 67 | 0.531532 | 414 | 3,885 | 4.874396 | 0.094203 | 0.083251 | 0.130823 | 0.21556 | 0.926165 | 0.926165 | 0.926165 | 0.890486 | 0.890486 | 0.563429 | 0 | 0.00602 | 0.31583 | 3,885 | 143 | 68 | 27.167832 | 0.753198 | 0 | 0 | 0.570175 | 0 | 0.035088 | 0.035521 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.210526 | false | 0 | 0.026316 | 0 | 0.254386 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
33328bfab76c8846d7da10e54cab6f816bf1cbe1 | 48,131 | gyp | Python | library/openssl/1.0.1j.gyp | KjellSchubert/bru | dd70b721d07fbd27c57c845cc3a29cd8f2dfc587 | [
"MIT"
] | 3 | 2015-01-06T15:22:16.000Z | 2015-11-27T18:13:04.000Z | library/openssl/1.0.1j.gyp | KjellSchubert/bru | dd70b721d07fbd27c57c845cc3a29cd8f2dfc587 | [
"MIT"
] | 7 | 2015-02-10T15:13:38.000Z | 2021-05-30T07:51:13.000Z | library/openssl/1.0.1j.gyp | KjellSchubert/bru | dd70b721d07fbd27c57c845cc3a29cd8f2dfc587 | [
"MIT"
] | 3 | 2015-01-29T17:19:53.000Z | 2016-01-06T12:50:06.000Z | {
"targets": [
{
# OpenSSL has a lot of config options, with some default options
# enabling known insecure algorithms. What's a good combinations
# of openssl config options?
# ./config no-asm no-shared no-ssl2 no-ssl3 no-hw no-zlib no-threads
#... | 57.504182 | 104 | 0.506368 | 8,375 | 48,131 | 2.823522 | 0.07797 | 0.111811 | 0.223622 | 0.307946 | 0.861082 | 0.859855 | 0.85588 | 0.854612 | 0.851609 | 0.840825 | 0 | 0.140884 | 0.303484 | 48,131 | 836 | 105 | 57.572967 | 0.564491 | 0.048534 | 0 | 0.101673 | 0 | 0.785071 | 0.637511 | 0.61525 | 0 | 0 | 0 | 0.001196 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.007722 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
3336f6b72554e5a50eef69d3f80865d290c3202d | 23,637 | py | Python | test/test_schema_validation.py | rob-earwaker/jsch | adb0efb531a1fd75a156e19a78f2be83f9326a17 | [
"MIT"
] | null | null | null | test/test_schema_validation.py | rob-earwaker/jsch | adb0efb531a1fd75a156e19a78f2be83f9326a17 | [
"MIT"
] | null | null | null | test/test_schema_validation.py | rob-earwaker/jsch | adb0efb531a1fd75a156e19a78f2be83f9326a17 | [
"MIT"
] | null | null | null | import unittest
import jsch
class SchemaValidationTestCase(unittest.TestCase):
def assertRaisesSchemaValidationError(self, message):
regex = '^{0}$'.format(message)
return self.assertRaisesRegex(jsch.SchemaValidationError, regex)
class TestAdditionalItemsValidation(SchemaValidationTestCase):
... | 37.638535 | 79 | 0.697847 | 2,776 | 23,637 | 5.689842 | 0.055115 | 0.096233 | 0.062298 | 0.083064 | 0.879709 | 0.859006 | 0.824122 | 0.790503 | 0.732447 | 0.607154 | 0 | 0.004562 | 0.202521 | 23,637 | 627 | 80 | 37.698565 | 0.833369 | 0 | 0 | 0.429501 | 0 | 0 | 0.137242 | 0.000973 | 0 | 0 | 0 | 0 | 0.182213 | 1 | 0.279826 | false | 0.099783 | 0.004338 | 0 | 0.360087 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
681e11237047f4322573e8b2999928b99fca4f59 | 59,732 | py | Python | Processing/plotter.py | dr1315/AHINN | 2ad6a466ce5c796a38ebc516ad108755f42f90e0 | [
"MIT"
] | null | null | null | Processing/plotter.py | dr1315/AHINN | 2ad6a466ce5c796a38ebc516ad108755f42f90e0 | [
"MIT"
] | null | null | null | Processing/plotter.py | dr1315/AHINN | 2ad6a466ce5c796a38ebc516ad108755f42f90e0 | [
"MIT"
] | null | null | null | """
Contains the code to plot the outputs of the neural networks and
RGB images of a scene.
"""
import sys
import os
import click
import matplotlib.pyplot as plt
from mpl_toolkits.axes_grid1 import make_axes_locatable
import cartopy.crs as ccrs
import cartopy.feature as feature
import numpy as np
from datetime import ... | 42.035186 | 158 | 0.549052 | 8,063 | 59,732 | 3.857745 | 0.053454 | 0.074265 | 0.078122 | 0.082302 | 0.857901 | 0.829738 | 0.813374 | 0.789905 | 0.783379 | 0.770037 | 0 | 0.130201 | 0.314404 | 59,732 | 1,420 | 159 | 42.064789 | 0.629347 | 0.123217 | 0 | 0.717637 | 0 | 0 | 0.066668 | 0.008021 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008688 | false | 0 | 0.010426 | 0 | 0.026933 | 0.001738 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6822f00deebbc76ed2fd96e0c78de432c88f4020 | 19,086 | py | Python | [Execute01]fund_extractXLSXfromFAS.py | tooget/Fund-NAV-Calculator | 91b02512c5a080621d5bfb75eceae0ecee487de6 | [
"Apache-2.0"
] | 1 | 2018-11-16T09:50:48.000Z | 2018-11-16T09:50:48.000Z | [Execute01]fund_extractXLSXfromFAS.py | tooget/Fund-NAV-Calculator | 91b02512c5a080621d5bfb75eceae0ecee487de6 | [
"Apache-2.0"
] | 1 | 2020-11-13T18:04:36.000Z | 2020-11-13T18:04:36.000Z | [Execute01]fund_extractXLSXfromFAS.py | tooget/Fund-NAV-Calculator | 91b02512c5a080621d5bfb75eceae0ecee487de6 | [
"Apache-2.0"
] | null | null | null | #-*- coding:utf-8 -*-
from Modules import Fund_settings
from Modules import Fund_modules
import time
fas_gui = Fund_modules.fund.fund_extractXLSXfromFAS()
fasLoginID = Fund_settings.fasLoginId
fasLoginPW = Fund_settings.fasLoginPw
fas_ExePath = Fund_settings.fasExePath
fasGuiImage_path = Fund_modules.ge... | 48.19697 | 140 | 0.609347 | 2,043 | 19,086 | 5.481155 | 0.095448 | 0.08948 | 0.181282 | 0.250045 | 0.86444 | 0.836757 | 0.827291 | 0.758707 | 0.757993 | 0.735935 | 0 | 0.038538 | 0.286231 | 19,086 | 396 | 141 | 48.19697 | 0.783454 | 0.090276 | 0 | 0.726962 | 0 | 0 | 0.073634 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006826 | false | 0.010239 | 0.017065 | 0 | 0.027304 | 0.102389 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.