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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b36930ba12e291d3cd3c3433bbd662ce404f316b | 7,582 | py | Python | code/generate_mask_weights.py | bhuvi3/data590_capstone_project | 0a0a33b75bb17c8f95ac5c597cb6b465dc4f375d | [
"MIT"
] | 4 | 2020-04-27T19:00:14.000Z | 2021-08-04T20:56:34.000Z | code/generate_mask_weights.py | bhuvi3/data590_capstone_project | 0a0a33b75bb17c8f95ac5c597cb6b465dc4f375d | [
"MIT"
] | null | null | null | code/generate_mask_weights.py | bhuvi3/data590_capstone_project | 0a0a33b75bb17c8f95ac5c597cb6b465dc4f375d | [
"MIT"
] | 3 | 2020-01-24T19:56:54.000Z | 2022-01-28T22:48:17.000Z | import os
import numpy as np
import tensorflow as tf
def save_weights_resnet152_10channel():
# Initialize configuration
required_input_shape = (7, 7, 10, 64)
output_file_prefix = "resnet152_10channel"
# Initialize a model of choice
model_pretrained_conv = tf.keras.applications.ResNet152(weights=... | 36.628019 | 108 | 0.686626 | 965 | 7,582 | 5.11399 | 0.096373 | 0.085106 | 0.113678 | 0.038906 | 0.926444 | 0.873962 | 0.873962 | 0.837082 | 0.837082 | 0.8 | 0 | 0.037179 | 0.208916 | 7,582 | 206 | 109 | 36.805825 | 0.785595 | 0.194012 | 0 | 0.772277 | 0 | 0 | 0.107315 | 0.012606 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059406 | false | 0 | 0.029703 | 0 | 0.089109 | 0.059406 | 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 |
b36f3c14af89d4b0c0cd6b1792eba3aa6f9949d0 | 10,344 | py | Python | scripts/vis_layout.py | d116626/covid | a9189c94b741379b07f3ac25b7f46add26f2ff67 | [
"MIT"
] | null | null | null | scripts/vis_layout.py | d116626/covid | a9189c94b741379b07f3ac25b7f46add26f2ff67 | [
"MIT"
] | null | null | null | scripts/vis_layout.py | d116626/covid | a9189c94b741379b07f3ac25b7f46add26f2ff67 | [
"MIT"
] | null | null | null | import plotly.graph_objs as go
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot, offline
def get_layout(themes, title="", x_name="", y_name="", tipo=None):
layout = go.Layout(
# automargin=True,
margin=dict(
l=themes["margin"]["l"],
r=themes["m... | 36.680851 | 86 | 0.474091 | 900 | 10,344 | 5.357778 | 0.102222 | 0.101618 | 0.142679 | 0.093322 | 0.918913 | 0.90647 | 0.901493 | 0.867068 | 0.867068 | 0.867068 | 0 | 0.002938 | 0.341937 | 10,344 | 281 | 87 | 36.811388 | 0.70545 | 0.108082 | 0 | 0.846154 | 0 | 0 | 0.211553 | 0.006975 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013575 | false | 0 | 0.00905 | 0 | 0.036199 | 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 |
2fa718be5c1c343024c682130079f1fe019ec004 | 48,375 | py | Python | pyTMD/model.py | tsutterley/pyTMD | 09e7888d969a26c3b230791d97a5d51504b1b4a4 | [
"MIT"
] | 47 | 2019-09-29T07:46:39.000Z | 2022-03-17T08:41:49.000Z | pyTMD/model.py | tsutterley/pyTMD | 09e7888d969a26c3b230791d97a5d51504b1b4a4 | [
"MIT"
] | 54 | 2020-06-11T08:51:34.000Z | 2022-03-29T01:58:24.000Z | pyTMD/model.py | tsutterley/pyTMD | 09e7888d969a26c3b230791d97a5d51504b1b4a4 | [
"MIT"
] | 13 | 2019-11-03T05:38:01.000Z | 2022-03-28T07:35:49.000Z | #!/usr/bin/env python
u"""
model.py
Written by Tyler Sutterley (09/2021)
Retrieves tide model parameters for named tide models and
from model definition files
UPDATE HISTORY:
Written 09/2021
"""
import os
import re
import io
import copy
class model:
"""Retrieves tide model parameters for named models or
... | 47.89604 | 82 | 0.562026 | 5,890 | 48,375 | 4.385908 | 0.06146 | 0.074324 | 0.07293 | 0.029807 | 0.885573 | 0.791352 | 0.773816 | 0.765029 | 0.748345 | 0.73828 | 0 | 0.064073 | 0.310863 | 48,375 | 1,009 | 83 | 47.943508 | 0.710832 | 0.063483 | 0 | 0.752497 | 0 | 0 | 0.312018 | 0.079732 | 0 | 0 | 0 | 0 | 0.008879 | 1 | 0.011099 | false | 0 | 0.00444 | 0 | 0.027747 | 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 |
ff79206027f99b397e19dd759a8f35169c2a6e08 | 46,513 | py | Python | src/swiftlet/azext_swiftlet/vendored_sdks/swiftlet/operations/_virtual_machine_operations.py | Mannan2812/azure-cli-extensions | e2b34efe23795f6db9c59100534a40f0813c3d95 | [
"MIT"
] | 207 | 2017-11-29T06:59:41.000Z | 2022-03-31T10:00:53.000Z | src/swiftlet/azext_swiftlet/vendored_sdks/swiftlet/operations/_virtual_machine_operations.py | Mannan2812/azure-cli-extensions | e2b34efe23795f6db9c59100534a40f0813c3d95 | [
"MIT"
] | 4,061 | 2017-10-27T23:19:56.000Z | 2022-03-31T23:18:30.000Z | src/swiftlet/azext_swiftlet/vendored_sdks/swiftlet/operations/_virtual_machine_operations.py | Mannan2812/azure-cli-extensions | e2b34efe23795f6db9c59100534a40f0813c3d95 | [
"MIT"
] | 802 | 2017-10-11T17:36:26.000Z | 2022-03-31T22:24:32.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | 47.8037 | 264 | 0.650442 | 5,132 | 46,513 | 5.688036 | 0.063523 | 0.027166 | 0.029119 | 0.01247 | 0.894385 | 0.891987 | 0.887568 | 0.881333 | 0.87664 | 0.865575 | 0 | 0.005785 | 0.252962 | 46,513 | 972 | 265 | 47.852881 | 0.834317 | 0.284974 | 0 | 0.816587 | 0 | 0 | 0.126517 | 0.065751 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0.00638 | 0.017544 | 0 | 0.140351 | 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 |
ff95fd3a0b7b4a397fe2aa271b7a4e73e5fb94cf | 30,340 | py | Python | Face Reconstruction/Self-Supervised Monocular 3D Face Reconstruction by Occlusion-Aware Multi-view Geometry Consistency/src_common/geometry/render/api_tf_mesh_render.py | swapnilgarg7/Face-X | fab21bf667fa7387b8e73e5a1d72fcba4fba2818 | [
"MIT"
] | 302 | 2020-07-15T11:42:08.000Z | 2022-03-29T15:22:00.000Z | Face Reconstruction/Self-Supervised Monocular 3D Face Reconstruction by Occlusion-Aware Multi-view Geometry Consistency/src_common/geometry/render/api_tf_mesh_render.py | swapnilgarg7/Face-X | fab21bf667fa7387b8e73e5a1d72fcba4fba2818 | [
"MIT"
] | 704 | 2020-09-30T10:44:13.000Z | 2022-03-30T07:18:28.000Z | Face Reconstruction/Self-Supervised Monocular 3D Face Reconstruction by Occlusion-Aware Multi-view Geometry Consistency/src_common/geometry/render/api_tf_mesh_render.py | swapnilgarg7/Face-X | fab21bf667fa7387b8e73e5a1d72fcba4fba2818 | [
"MIT"
] | 342 | 2020-10-02T14:04:49.000Z | 2022-03-31T10:14:20.000Z |
# system
from __future__ import print_function
# python lib
import math
from copy import deepcopy
import numpy as np
# tf_render
import tensorflow as tf
# self
from thirdParty.tf_mesh_renderer.mesh_renderer.mesh_renderer import phong_shader, tone_mapper
from thirdParty.tf_mesh_renderer.mesh_renderer.rasterize_trian... | 49.17342 | 115 | 0.716777 | 4,378 | 30,340 | 4.788716 | 0.066469 | 0.04808 | 0.053422 | 0.035297 | 0.93389 | 0.932316 | 0.918865 | 0.913236 | 0.903172 | 0.903172 | 0 | 0.021124 | 0.20267 | 30,340 | 617 | 116 | 49.17342 | 0.845521 | 0.505537 | 0 | 0.768061 | 0 | 0 | 0.136113 | 0.015024 | 0 | 0 | 0 | 0.008104 | 0 | 1 | 0.019011 | false | 0 | 0.026616 | 0 | 0.064639 | 0.003802 | 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 |
440b2b00898f77a6e10d2b8d766330f2bdee3457 | 68,682 | py | Python | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/SystemIPC_2/cmp_GemsFDTD/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/SystemIPC_2/cmp_GemsFDTD/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/SystemIPC_2/cmp_GemsFDTD/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.14442 | 124 | 0.682231 | 8,095 | 68,682 | 5.782458 | 0.067326 | 0.123395 | 0.112799 | 0.093315 | 0.939349 | 0.930868 | 0.918499 | 0.886389 | 0.862185 | 0.842594 | 0 | 0.132649 | 0.224091 | 68,682 | 914 | 125 | 75.14442 | 0.745717 | 0 | 0 | 0.642232 | 0 | 0 | 0.656713 | 0.048047 | 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 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
440b2bea0a84785aefcc374b80948e6c65f3ad6e | 7,971 | py | Python | mail.py | robDaglio/dev_mail | d05ca14a58845901bec2c2a76001b8655325ceee | [
"MIT"
] | null | null | null | mail.py | robDaglio/dev_mail | d05ca14a58845901bec2c2a76001b8655325ceee | [
"MIT"
] | null | null | null | mail.py | robDaglio/dev_mail | d05ca14a58845901bec2c2a76001b8655325ceee | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import email, smtplib, ssl
from email import encoders
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email.mime.base import MIMEBase
class Simple():
def __init__(self, sender, recipient, password, subject, text):
... | 41.300518 | 100 | 0.460294 | 674 | 7,971 | 5.305638 | 0.155786 | 0.040268 | 0.027405 | 0.045022 | 0.861298 | 0.861298 | 0.861298 | 0.861298 | 0.860179 | 0.818233 | 0 | 0.003738 | 0.463054 | 7,971 | 193 | 101 | 41.300518 | 0.831776 | 0.123322 | 0 | 0.760684 | 0 | 0 | 0.083764 | 0.010776 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068376 | false | 0.128205 | 0.042735 | 0 | 0.145299 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
44154cbf2d1b03cd18cf2d8b16f7231ec15eafe7 | 9,755 | py | Python | endpoints/client_endpoint.py | iTecAI/XL3 | 17cc30288d6d5f53e5a269c3bff619cb65f6e1d1 | [
"MIT"
] | null | null | null | endpoints/client_endpoint.py | iTecAI/XL3 | 17cc30288d6d5f53e5a269c3bff619cb65f6e1d1 | [
"MIT"
] | null | null | null | endpoints/client_endpoint.py | iTecAI/XL3 | 17cc30288d6d5f53e5a269c3bff619cb65f6e1d1 | [
"MIT"
] | null | null | null | from fastapi import APIRouter, status, Request, Response
from util import *
from classes import *
from _runtime import server
import logging, random, hashlib
from pydantic import BaseModel
from models import *
logger = logging.getLogger("uvicorn.error")
router = APIRouter()
@router.post('/settings/set/{setting}/',res... | 64.602649 | 215 | 0.691953 | 1,137 | 9,755 | 5.846966 | 0.104661 | 0.042118 | 0.101083 | 0.095969 | 0.845517 | 0.826264 | 0.8034 | 0.796029 | 0.77843 | 0.770758 | 0 | 0.014056 | 0.146694 | 9,755 | 151 | 216 | 64.602649 | 0.784599 | 0 | 0 | 0.639706 | 0 | 0 | 0.352604 | 0.00246 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.095588 | 0.051471 | 0 | 0.25 | 0.279412 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
443678752b66887c024d50b64ba6117d722d5682 | 93 | py | Python | simple_playgrounds/agents/sensors/__init__.py | Asjidkalam/simple-playgrounds | 72ec42987a33175103191fa9722e0e002f889954 | [
"MIT"
] | null | null | null | simple_playgrounds/agents/sensors/__init__.py | Asjidkalam/simple-playgrounds | 72ec42987a33175103191fa9722e0e002f889954 | [
"MIT"
] | 1 | 2021-02-19T20:55:05.000Z | 2021-02-19T20:55:05.000Z | simple_playgrounds/agents/sensors/__init__.py | Asjidkalam/simple-playgrounds | 72ec42987a33175103191fa9722e0e002f889954 | [
"MIT"
] | 1 | 2021-02-19T20:46:00.000Z | 2021-02-19T20:46:00.000Z | from .robotic_sensors import *
from .topdown_sensors import *
from .semantic_sensors import * | 31 | 31 | 0.817204 | 12 | 93 | 6.083333 | 0.5 | 0.534247 | 0.465753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 93 | 3 | 31 | 31 | 0.890244 | 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 |
4473663dd67c7e81f92c9f5989e3ffbaa1a88084 | 4,333 | py | Python | ektelo/algorithm/dawa/partition_engines/l1partition.py | dpcomp-org/ektelo | 7629fbf106f9b9568c66a0b97f6005280022c3d8 | [
"Apache-2.0"
] | 32 | 2018-07-26T23:17:05.000Z | 2022-03-26T14:23:39.000Z | ektelo/algorithm/dawa/partition_engines/l1partition.py | ektelo/ektelo | 53129fc417ae9b5a9830beb1229ec3e2611c5534 | [
"Apache-2.0"
] | 3 | 2018-07-26T19:39:09.000Z | 2020-03-20T04:19:27.000Z | ektelo/algorithm/dawa/partition_engines/l1partition.py | dpcomp-org/ektelo | 7629fbf106f9b9568c66a0b97f6005280022c3d8 | [
"Apache-2.0"
] | 11 | 2018-06-21T12:44:42.000Z | 2020-11-27T15:43:57.000Z | from __future__ import division
from builtins import str
import numpy
import os
import sys
import logging
from ektelo.algorithm.dawa.cutils import cutil
from ektelo.algorithm.dawa.partition_engines import partition_engine
from ektelo import util
class l1partition_engine(partition_engine.partition_engine):
"""Use ... | 35.227642 | 137 | 0.622432 | 614 | 4,333 | 4.333876 | 0.216612 | 0.024051 | 0.039083 | 0.024051 | 0.827884 | 0.819241 | 0.819241 | 0.763623 | 0.763623 | 0.763623 | 0 | 0.025032 | 0.271636 | 4,333 | 122 | 138 | 35.516393 | 0.818124 | 0.295869 | 0 | 0.763158 | 0 | 0 | 0.072106 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 1 | 0.078947 | false | 0 | 0.118421 | 0.026316 | 0.302632 | 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 |
927af781b523ab4596d981b0b3ea1f993b7a9765 | 10,948 | py | Python | app/migrations/0001_initial.py | Juggerj/OnlineTailor | a59504f2ed1b74b47aee66b2c004be347fb4b550 | [
"MIT"
] | null | null | null | app/migrations/0001_initial.py | Juggerj/OnlineTailor | a59504f2ed1b74b47aee66b2c004be347fb4b550 | [
"MIT"
] | null | null | null | app/migrations/0001_initial.py | Juggerj/OnlineTailor | a59504f2ed1b74b47aee66b2c004be347fb4b550 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.2 on 2018-05-13 08:57
from __future__ import unicode_literals
import app.models
import datetime
from django.db import migrations, models
import django.db.models.deletion
from django.utils.timezone import utc
class Migration(migrations.Migration):
initial = True
... | 104.266667 | 1,551 | 0.686427 | 1,427 | 10,948 | 5.1822 | 0.146461 | 0.062475 | 0.024341 | 0.027045 | 0.515889 | 0.484922 | 0.450034 | 0.380257 | 0.298986 | 0.245571 | 0 | 0.32303 | 0.140117 | 10,948 | 104 | 1,552 | 105.269231 | 0.462503 | 0.00612 | 0 | 0.322917 | 1 | 0.364583 | 0.527303 | 0.428939 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.010417 | 0.0625 | 0 | 0.104167 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
92af4aaed263d20f2f26df37be2d79c348071122 | 76 | py | Python | comicolorization/extensions/__init__.py | DwangoMediaVillage/Comicolorization | 98f323e78baceae0b1086f01ac51b5e8a7515abb | [
"MIT"
] | 122 | 2017-08-21T10:01:07.000Z | 2022-03-21T13:52:19.000Z | comicolorization/extensions/__init__.py | DwangoMediaVillage/Comicolorization | 98f323e78baceae0b1086f01ac51b5e8a7515abb | [
"MIT"
] | 7 | 2017-10-20T15:12:13.000Z | 2022-01-30T23:04:37.000Z | comicolorization/extensions/__init__.py | DwangoMediaVillage/Comicolorization | 98f323e78baceae0b1086f01ac51b5e8a7515abb | [
"MIT"
] | 26 | 2017-08-22T08:11:20.000Z | 2022-03-09T14:59:18.000Z | from .save_images import SaveGeneratedImageExtension, SaveRawImageExtension
| 38 | 75 | 0.907895 | 6 | 76 | 11.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065789 | 76 | 1 | 76 | 76 | 0.957746 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
92b3b3dea788241674de867fcd74191124632fd2 | 2,677 | py | Python | blitz_api/migrations/0014_model_translation.py | Jerome-Celle/Blitz-API | 7dfb7b837ed47b11afcfaa5f5aee831c1aa4e5e0 | [
"MIT"
] | 3 | 2019-10-22T00:16:49.000Z | 2021-07-15T07:44:43.000Z | blitz_api/migrations/0014_model_translation.py | Jerome-Celle/Blitz-API | 7dfb7b837ed47b11afcfaa5f5aee831c1aa4e5e0 | [
"MIT"
] | 1,183 | 2018-04-19T18:40:30.000Z | 2022-03-31T21:05:05.000Z | blitz_api/migrations/0014_model_translation.py | Jerome-Celle/Blitz-API | 7dfb7b837ed47b11afcfaa5f5aee831c1aa4e5e0 | [
"MIT"
] | 12 | 2018-04-17T19:16:42.000Z | 2022-01-27T00:19:59.000Z | # Generated by Django 2.0.2 on 2018-10-26 01:58
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('blitz_api', '0013_historicalacademicfield_historicalacademiclevel_historicalactiontoken_historicaldomain_historicalorg'),
]
operations = [
m... | 36.175676 | 131 | 0.598058 | 260 | 2,677 | 5.95 | 0.173077 | 0.124111 | 0.17841 | 0.209438 | 0.850679 | 0.850679 | 0.850679 | 0.816419 | 0.816419 | 0.816419 | 0 | 0.028721 | 0.284647 | 2,677 | 73 | 132 | 36.671233 | 0.779112 | 0.01681 | 0 | 0.895522 | 1 | 0 | 0.174144 | 0.091635 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014925 | 0 | 0.059701 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 9 |
2baa31b7ab2a2b3f210080b3e41c6e139bc58d91 | 62,878 | py | Python | Code/Regression.py | Kaamraan19064/Analysis-And-Prediction-of-Delhi-Climate-using-ML | f06280bc9923f10b39875e32252d8ba490a217df | [
"Apache-2.0"
] | null | null | null | Code/Regression.py | Kaamraan19064/Analysis-And-Prediction-of-Delhi-Climate-using-ML | f06280bc9923f10b39875e32252d8ba490a217df | [
"Apache-2.0"
] | null | null | null | Code/Regression.py | Kaamraan19064/Analysis-And-Prediction-of-Delhi-Climate-using-ML | f06280bc9923f10b39875e32252d8ba490a217df | [
"Apache-2.0"
] | null | null | null | import numpy as np
from sklearn.ensemble import ExtraTreesRegressor, RandomForestRegressor
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
from sklearn import preprocessing, svm
from sklearn.model_selection import train_test_split
from sklearn.linear_model import LinearRegression
from sklearn ... | 40.566452 | 152 | 0.669694 | 9,831 | 62,878 | 4.030109 | 0.032957 | 0.046063 | 0.108632 | 0.076805 | 0.94841 | 0.928622 | 0.915775 | 0.898536 | 0.886497 | 0.87577 | 0 | 0.01675 | 0.194854 | 62,878 | 1,549 | 153 | 40.59264 | 0.765852 | 0.049222 | 0 | 0.845917 | 0 | 0 | 0.0982 | 0.007239 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040832 | false | 0 | 0.053159 | 0 | 0.1302 | 0.113251 | 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 |
ecf9e4407b359598628a8e35340f44dfbad38f31 | 2,281 | py | Python | tests/test_parser/test_method_statement.py | vbondarevsky/ones_analyzer | ab8bff875192db238ed17c20d61c9fa5b55c3fa8 | [
"MIT"
] | 12 | 2017-11-23T07:04:13.000Z | 2022-03-01T21:06:56.000Z | tests/test_parser/test_method_statement.py | vbondarevsky/analyzer_test | ab8bff875192db238ed17c20d61c9fa5b55c3fa8 | [
"MIT"
] | 2 | 2017-06-25T21:32:32.000Z | 2017-11-19T19:05:40.000Z | tests/test_parser/test_method_statement.py | vbondarevsky/analyzer_test | ab8bff875192db238ed17c20d61c9fa5b55c3fa8 | [
"MIT"
] | 5 | 2017-11-21T08:24:56.000Z | 2021-08-17T23:21:18.000Z | from analyzer.syntax_kind import SyntaxKind
from tests.utils import TestCaseParser
class TestParserMethodStatement(TestCaseParser):
def test_procedure_with_export(self):
code = \
"""Процедура МояПроцедура() Экспорт
КонецПроцедуры"""
self.parse_source(code)
self.asse... | 50.688889 | 107 | 0.725559 | 240 | 2,281 | 6.741667 | 0.179167 | 0.138443 | 0.177998 | 0.23733 | 0.876391 | 0.792336 | 0.792336 | 0.792336 | 0.792336 | 0.792336 | 0 | 0.006342 | 0.170539 | 2,281 | 44 | 108 | 51.840909 | 0.848837 | 0 | 0 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.516129 | 1 | 0.129032 | false | 0 | 0.064516 | 0 | 0.225806 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ecff3f99beae200a29fac21a69522182ff664420 | 6,398 | py | Python | thespian/system/transport/test/test_resultcallback.py | dendron2000/Thespian | 0acbc5a0803f6d2be3421ea6eb08c6beecbf3802 | [
"MIT"
] | 210 | 2015-08-31T19:39:34.000Z | 2020-01-10T08:07:48.000Z | thespian/system/transport/test/test_resultcallback.py | dendron2000/Thespian | 0acbc5a0803f6d2be3421ea6eb08c6beecbf3802 | [
"MIT"
] | 85 | 2017-04-08T19:28:42.000Z | 2022-03-23T15:25:49.000Z | thespian/system/transport/test/test_resultcallback.py | dendron2000/Thespian | 0acbc5a0803f6d2be3421ea6eb08c6beecbf3802 | [
"MIT"
] | 47 | 2015-09-01T19:24:20.000Z | 2020-01-02T20:03:05.000Z | from thespian.system.transport import ResultCallback
from datetime import datetime, timedelta
from time import sleep
class TestUnitResultCallback(object):
def _good(self, result, value):
if not hasattr(self, 'goods'): self.goods = []
self.goods.append( (result, value) )
def _fail(self, resul... | 36.56 | 78 | 0.575336 | 697 | 6,398 | 5.200861 | 0.091822 | 0.126897 | 0.163862 | 0.193655 | 0.777103 | 0.774897 | 0.77269 | 0.74069 | 0.725793 | 0.721931 | 0 | 0.014951 | 0.278681 | 6,398 | 174 | 79 | 36.770115 | 0.770531 | 0 | 0 | 0.714286 | 0 | 0 | 0.017196 | 0 | 0 | 0 | 0 | 0 | 0.298701 | 1 | 0.11039 | false | 0 | 0.019481 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 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 |
a60c40b6a9d9747306c8c8e2220567852b3802bc | 200 | py | Python | pykeyvi/src/converters/__init__.py | remusao/keyvi | 7ea51e4ae94d355c677cce349a1c17290f24252c | [
"Apache-2.0"
] | 147 | 2015-10-06T19:10:01.000Z | 2021-08-19T07:52:02.000Z | pykeyvi/src/converters/__init__.py | remusao/keyvi | 7ea51e4ae94d355c677cce349a1c17290f24252c | [
"Apache-2.0"
] | 148 | 2015-10-06T09:24:56.000Z | 2018-12-08T08:42:54.000Z | pykeyvi/src/converters/__init__.py | remusao/keyvi | 7ea51e4ae94d355c677cce349a1c17290f24252c | [
"Apache-2.0"
] | 34 | 2015-10-09T06:55:52.000Z | 2021-01-05T18:43:57.000Z | from .pykeyvi_autowrap_conversion_providers import *
from autowrap.ConversionProvider import special_converters
def register_converters():
special_converters.append(MatchIteratorPairConverter())
| 33.333333 | 59 | 0.865 | 19 | 200 | 8.789474 | 0.684211 | 0.203593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 200 | 5 | 60 | 40 | 0.907609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a6118a27fcf47cf3675a05566443faee375ed95b | 137 | py | Python | build/lib/saes/optimizer/__init__.py | Johumel/SAES | 0152c1563e5bc4c87822dbf6dfc66710cae60eb0 | [
"MIT"
] | 9 | 2019-06-04T14:42:54.000Z | 2022-01-29T01:06:23.000Z | build/lib/saes/optimizer/__init__.py | Johumel/SAES | 0152c1563e5bc4c87822dbf6dfc66710cae60eb0 | [
"MIT"
] | null | null | null | build/lib/saes/optimizer/__init__.py | Johumel/SAES | 0152c1563e5bc4c87822dbf6dfc66710cae60eb0 | [
"MIT"
] | 3 | 2021-03-30T02:42:34.000Z | 2022-03-29T08:59:17.000Z | from .srfit import *
from .fit_sin_spec_pll import *
from .fit_sin_spec import *
from .specr_model import *
from .sinspec_model import *
| 22.833333 | 31 | 0.781022 | 22 | 137 | 4.545455 | 0.454545 | 0.4 | 0.26 | 0.32 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145985 | 137 | 5 | 32 | 27.4 | 0.854701 | 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 | 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 |
a6982f9425cc590b6333c3ab264414a4729023bc | 297 | py | Python | basics/solutions/get-data-urllib.py | carlosal1015/ACM-Python-Tutorials-KAUST-2015 | 688acf1017dba7687254a8c880b7f19c6f939c3f | [
"CC-BY-3.0"
] | 5 | 2019-01-16T14:43:43.000Z | 2021-06-29T02:20:47.000Z | basics/solutions/get-data-urllib.py | carlosal1015/ACM-Python-Tutorials-KAUST-2015 | 688acf1017dba7687254a8c880b7f19c6f939c3f | [
"CC-BY-3.0"
] | null | null | null | basics/solutions/get-data-urllib.py | carlosal1015/ACM-Python-Tutorials-KAUST-2015 | 688acf1017dba7687254a8c880b7f19c6f939c3f | [
"CC-BY-3.0"
] | 3 | 2017-02-21T06:19:19.000Z | 2021-06-29T02:20:54.000Z | import urllib
urllib.urlretrieve("http://archive.ics.uci.edu/ml/machine-learning-databases/auto-mpg/auto-mpg.data",
"data")
urllib.urlretrieve("http://archive.ics.uci.edu/ml/machine-learning-databases/auto-mpg/auto-mpg.names",
"description")
!cat description
| 42.428571 | 102 | 0.686869 | 38 | 297 | 5.368421 | 0.473684 | 0.137255 | 0.205882 | 0.27451 | 0.754902 | 0.754902 | 0.754902 | 0.754902 | 0.754902 | 0.754902 | 0 | 0 | 0.154882 | 297 | 6 | 103 | 49.5 | 0.812749 | 0 | 0 | 0 | 0 | 0.333333 | 0.585859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
a6b7774612f7341aa37737efd55df79d275c3e3a | 4,461 | py | Python | testsuite/tests/QB13-061__module_config_file/run_test.py | AdaCore/style_checker | 17108ebfc44375498063ecdad6c6e4430458e60a | [
"CNRI-Python"
] | 2 | 2017-10-22T18:04:26.000Z | 2020-03-06T11:07:41.000Z | testsuite/tests/QB13-061__module_config_file/run_test.py | AdaCore/style_checker | 17108ebfc44375498063ecdad6c6e4430458e60a | [
"CNRI-Python"
] | null | null | null | testsuite/tests/QB13-061__module_config_file/run_test.py | AdaCore/style_checker | 17108ebfc44375498063ecdad6c6e4430458e60a | [
"CNRI-Python"
] | 4 | 2018-05-22T12:08:54.000Z | 2020-12-14T15:25:27.000Z | def test_epl_single_year_mtl(style_checker):
"""Style check test against epl_single_year.mtl
"""
style_checker.set_year(2017)
p = style_checker.run_style_checker('--config=module_config.yaml',
'whatever', 'epl_single_year.mtl')
style_checker.assertEqual(p.stat... | 36.565574 | 74 | 0.680341 | 583 | 4,461 | 5.015437 | 0.154374 | 0.205198 | 0.048906 | 0.05472 | 0.939124 | 0.926471 | 0.888167 | 0.845075 | 0.818399 | 0.818399 | 0 | 0.018362 | 0.206456 | 4,461 | 121 | 75 | 36.867769 | 0.807627 | 0.151984 | 0 | 0.705882 | 0 | 0 | 0.425714 | 0.053614 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.058824 | false | 0 | 0 | 0 | 0.058824 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a6ffdfb151d07c40927ced84e25d5a64a8c701a5 | 18,639 | py | Python | src/exojax/spec/atomll.py | dcmvdbekerom/exojax | 9b9305f8e383c73bdb97c1cfb0e276ddafcd75de | [
"MIT"
] | null | null | null | src/exojax/spec/atomll.py | dcmvdbekerom/exojax | 9b9305f8e383c73bdb97c1cfb0e276ddafcd75de | [
"MIT"
] | null | null | null | src/exojax/spec/atomll.py | dcmvdbekerom/exojax | 9b9305f8e383c73bdb97c1cfb0e276ddafcd75de | [
"MIT"
] | null | null | null | import numpy as np
from exojax.spec import atomllapi
from exojax.utils.constants import ccgs, m_u, kB, hcperk, ecgs, hcgs, Rcgs, a0, eV2wn
import jax.numpy as jnp
def Sij0(A, gupper, nu_lines, elower, QTref_284, QTmask, Irwin=False):
"""Reference Line Strength in Tref=296K, S0.
Note:
Tref=296K
Arg... | 50.239892 | 195 | 0.646387 | 2,936 | 18,639 | 4.046662 | 0.115463 | 0.00909 | 0.027355 | 0.042084 | 0.881828 | 0.874253 | 0.868698 | 0.866089 | 0.862975 | 0.850013 | 0 | 0.08367 | 0.203605 | 18,639 | 370 | 196 | 50.375676 | 0.716384 | 0.640056 | 0 | 0.745763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050847 | false | 0 | 0.033898 | 0 | 0.084746 | 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 |
5b4191235812fe350556a7c709b4d580ffa71c78 | 1,452 | py | Python | e/mail-relay/web/apps/mail/migrations/0099_auto_20170522_1050.py | zhouli121018/nodejsgm | 0ccbc8acf61badc812f684dd39253d55c99f08eb | [
"MIT"
] | null | null | null | e/mail-relay/web/apps/mail/migrations/0099_auto_20170522_1050.py | zhouli121018/nodejsgm | 0ccbc8acf61badc812f684dd39253d55c99f08eb | [
"MIT"
] | 18 | 2020-06-05T18:17:40.000Z | 2022-03-11T23:25:21.000Z | e/mail-relay/web/apps/mail/migrations/0099_auto_20170522_1050.py | zhouli121018/nodejsgm | 0ccbc8acf61badc812f684dd39253d55c99f08eb | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('mail', '0098_auto_20170522_0940'),
]
operations = [
migrations.AddField(
model_name='checksettings',
... | 58.08 | 493 | 0.727961 | 193 | 1,452 | 5.373057 | 0.435233 | 0.057859 | 0.086789 | 0.077146 | 0.707811 | 0.707811 | 0.707811 | 0.707811 | 0.707811 | 0.594021 | 0 | 0.302983 | 0.12259 | 1,452 | 24 | 494 | 60.5 | 0.510989 | 0.014463 | 0 | 0.333333 | 0 | 0.222222 | 0.624913 | 0.575227 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.277778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5b65fe986703c88dc6c6311604c63bde04922d18 | 156 | py | Python | src/utils/__init__.py | SgtMilk/stock-prediction | 2fa9cf851b536ea1cd4fbcf9f767581b36ee38ad | [
"MIT"
] | null | null | null | src/utils/__init__.py | SgtMilk/stock-prediction | 2fa9cf851b536ea1cd4fbcf9f767581b36ee38ad | [
"MIT"
] | null | null | null | src/utils/__init__.py | SgtMilk/stock-prediction | 2fa9cf851b536ea1cd4fbcf9f767581b36ee38ad | [
"MIT"
] | null | null | null | # Copyright (c) 2021 Alix Routhier-Lalonde. Licence included in root of package.
from .print_colors import Colors
from .get_base_path import get_base_path
| 31.2 | 80 | 0.814103 | 25 | 156 | 4.88 | 0.76 | 0.114754 | 0.180328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02963 | 0.134615 | 156 | 4 | 81 | 39 | 0.874074 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
5b69199ebae324de3e7475ef77bae21f2ca8255e | 14,026 | py | Python | optimade-python-tools/tests/validator/test_utils.py | attlevafritt/tfya92-groupa-optimade-python-tools | 43e462ce70cf50a20f21a0aefb15d39db265773b | [
"MIT"
] | null | null | null | optimade-python-tools/tests/validator/test_utils.py | attlevafritt/tfya92-groupa-optimade-python-tools | 43e462ce70cf50a20f21a0aefb15d39db265773b | [
"MIT"
] | null | null | null | optimade-python-tools/tests/validator/test_utils.py | attlevafritt/tfya92-groupa-optimade-python-tools | 43e462ce70cf50a20f21a0aefb15d39db265773b | [
"MIT"
] | null | null | null | import pytest
from optimade.validator.utils import test_case as validator_test_case
from optimade.validator.utils import ResponseError
from optimade.validator.validator import ImplementationValidator
try:
import simplejson as json
except ImportError:
import json
@validator_test_case
def dummy_test_case(_, re... | 37.603217 | 123 | 0.69143 | 1,636 | 14,026 | 5.736553 | 0.085575 | 0.156633 | 0.229728 | 0.127437 | 0.868194 | 0.837507 | 0.80895 | 0.807033 | 0.806819 | 0.788066 | 0 | 0.014687 | 0.203907 | 14,026 | 372 | 124 | 37.704301 | 0.825811 | 0.090689 | 0 | 0.688963 | 0 | 0.006689 | 0.170622 | 0 | 0 | 0 | 0 | 0 | 0.414716 | 1 | 0.033445 | false | 0 | 0.023411 | 0 | 0.060201 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5b8360063197b68bfffda4364be639d818907f54 | 6,851 | py | Python | tests/suite/test_virtual_server_tls_redirect.py | saptagiri1983/kubernetes-ingress | de8d38465db60f76436a8c391096b296670baa7b | [
"Apache-2.0"
] | 1 | 2021-03-14T20:03:36.000Z | 2021-03-14T20:03:36.000Z | tests/suite/test_virtual_server_tls_redirect.py | SpenZerX/kubernetes-ingress | 389302d00f19c68867df0aecab610b3e0ed37da4 | [
"Apache-2.0"
] | null | null | null | tests/suite/test_virtual_server_tls_redirect.py | SpenZerX/kubernetes-ingress | 389302d00f19c68867df0aecab610b3e0ed37da4 | [
"Apache-2.0"
] | 12 | 2020-02-27T07:17:12.000Z | 2022-03-09T00:56:58.000Z | import pytest
import requests
from settings import TEST_DATA
from suite.custom_resources_utils import patch_virtual_server_from_yaml
from suite.resources_utils import wait_before_test
@pytest.mark.vs
@pytest.mark.parametrize('crd_ingress_controller, virtual_server_setup',
[({"type": "complet... | 64.028037 | 119 | 0.613487 | 792 | 6,851 | 4.965909 | 0.109848 | 0.175184 | 0.19222 | 0.096618 | 0.906433 | 0.897025 | 0.886092 | 0.870837 | 0.86804 | 0.864989 | 0 | 0.020582 | 0.297913 | 6,851 | 106 | 120 | 64.632075 | 0.797089 | 0 | 0 | 0.645161 | 0 | 0 | 0.186834 | 0.070063 | 0 | 0 | 0 | 0 | 0.172043 | 1 | 0.032258 | false | 0 | 0.053763 | 0 | 0.096774 | 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 |
5be9cb017a3e7ec061eec9d798e5f658dd9d2d9b | 62,539 | py | Python | kryp/dist2/dist/pytransform/__init__.py | Kemixd3/Updated-streamlit-app | d113321f692737bcd6422b239694866d4c1a1979 | [
"Apache-2.0"
] | null | null | null | kryp/dist2/dist/pytransform/__init__.py | Kemixd3/Updated-streamlit-app | d113321f692737bcd6422b239694866d4c1a1979 | [
"Apache-2.0"
] | null | null | null | kryp/dist2/dist/pytransform/__init__.py | Kemixd3/Updated-streamlit-app | d113321f692737bcd6422b239694866d4c1a1979 | [
"Apache-2.0"
] | null | null | null | __pyarmor__(__name__, __file__, b'\x50\x59\x41\x52\x4d\x4f\x52\x00\x00\x03\x09\x00\x61\x0d\x0d\x0a\x08\x2d\xa0\x01\x00\x00\x00\x00\x01\x00\x00\x00\x40\x00\x00\x00\xc9\x3c\x00\x00\x00\x00\x00\x10\x97\x40\x02\x87\xaa\xb9\x2e\xee\x02\x16\x50\x2b\xda\xfb\xde\x7d\x00\x00\x00\x00\x00\x00\x00\x00\xe4\xf8\x92\xef\xbb\x9d\xc8\x... | 62,539 | 62,539 | 0.749996 | 15,630 | 62,539 | 3.000128 | 0.016699 | 0.002431 | 0.002495 | 0.002047 | 0.000832 | 0.000512 | 0.000512 | 0 | 0 | 0 | 0 | 0.314283 | 0.000048 | 62,539 | 1 | 62,539 | 62,539 | 0.435557 | 0 | 0 | 0 | 0 | 1 | 0.99936 | 0.99936 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
75053804d338ab4b55ec8b4c73bb1a30ea4aefbc | 123 | py | Python | contextual-repr-analysis/contexteval/data/__init__.py | Albert-Ma/bert-fine-tuned-gain | f752c1182f1c800f5f56998e13fd6115929df655 | [
"Apache-2.0"
] | 2 | 2020-10-29T01:26:43.000Z | 2021-12-12T12:05:26.000Z | contextual-repr-analysis/contexteval/data/__init__.py | Albert-Ma/bert-fine-tuned-gain | f752c1182f1c800f5f56998e13fd6115929df655 | [
"Apache-2.0"
] | null | null | null | contextual-repr-analysis/contexteval/data/__init__.py | Albert-Ma/bert-fine-tuned-gain | f752c1182f1c800f5f56998e13fd6115929df655 | [
"Apache-2.0"
] | null | null | null | from contexteval.data.dataset_readers import * # noqa: F401,F403
from contexteval.data.fields import * # noqa: F401,F403
| 41 | 65 | 0.772358 | 17 | 123 | 5.529412 | 0.588235 | 0.319149 | 0.404255 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 0.130081 | 123 | 2 | 66 | 61.5 | 0.766355 | 0.252033 | 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 | 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 |
7537086653734d4b173990c7e354ab7ea494b172 | 29,590 | py | Python | tests/integration/test_release_event.py | majamassarini/packit-service | 12baf67799412c8fa56e2a821cd9d584e2437141 | [
"MIT"
] | 20 | 2019-05-24T12:33:05.000Z | 2020-07-28T06:03:57.000Z | tests/integration/test_release_event.py | majamassarini/packit-service | 12baf67799412c8fa56e2a821cd9d584e2437141 | [
"MIT"
] | 735 | 2019-05-15T11:52:36.000Z | 2020-08-02T23:21:44.000Z | tests/integration/test_release_event.py | majamassarini/packit-service | 12baf67799412c8fa56e2a821cd9d584e2437141 | [
"MIT"
] | 28 | 2019-05-16T13:32:03.000Z | 2020-07-29T10:23:54.000Z | # Copyright Contributors to the Packit project.
# SPDX-License-Identifier: MIT
import json
import shutil
import pytest
from celery.app.task import Context, Task
from celery.canvas import Signature
from flexmock import flexmock
from github import Github
from rebasehelper.exceptions import RebaseHelperError
from packit... | 38.528646 | 94 | 0.686786 | 3,280 | 29,590 | 5.890244 | 0.078659 | 0.080745 | 0.041925 | 0.048913 | 0.856315 | 0.848033 | 0.838302 | 0.831418 | 0.827381 | 0.827122 | 0 | 0.004697 | 0.201318 | 29,590 | 767 | 95 | 38.578879 | 0.812804 | 0.008111 | 0 | 0.77566 | 0 | 0 | 0.143904 | 0.017656 | 0 | 0 | 0 | 0 | 0.019062 | 1 | 0.01173 | false | 0 | 0.039589 | 0.001466 | 0.052786 | 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 |
755ecb6c7d6d051cac38bd6c451e25fba2e55e68 | 2,508 | py | Python | getTopics.py | mitliagkas/pyliakmon | 28a22be63646faf39f0f96a779a4579f69bfb41a | [
"MIT"
] | 3 | 2016-05-27T13:46:53.000Z | 2017-04-16T22:43:42.000Z | getTopics.py | mitliagkas/pyliakmon | 28a22be63646faf39f0f96a779a4579f69bfb41a | [
"MIT"
] | null | null | null | getTopics.py | mitliagkas/pyliakmon | 28a22be63646faf39f0f96a779a4579f69bfb41a | [
"MIT"
] | null | null | null | import numpy as np
import json
with open('db/cpt.json', 'rb') as outfile:
procHier = json.load(outfile)
outfile.close()
with open('db/icd.json', 'rb') as outfile:
icdHier = json.load(outfile)
outfile.close()
icdMap=dict([(icdHier[x]['level2'],{'desc':icdHier[x]['desc'],'code':x}) for x in icdHier.ke... | 22.594595 | 102 | 0.52193 | 340 | 2,508 | 3.85 | 0.188235 | 0.030558 | 0.067227 | 0.07945 | 0.822002 | 0.780749 | 0.780749 | 0.756303 | 0.756303 | 0.756303 | 0 | 0.032683 | 0.304625 | 2,508 | 110 | 103 | 22.8 | 0.71789 | 0.057815 | 0 | 0.873239 | 0 | 0 | 0.121639 | 0.029449 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.028169 | null | null | 0.28169 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f34b83fcb8fdbabb9337bc3f8ad55dd9f9deee20 | 10,251 | py | Python | sdk/test/test_file.py | DarrahK/yapily-sdk-python | 2dcf9a403feafab7dcaf140dabe61794bd4debd3 | [
"MIT"
] | null | null | null | sdk/test/test_file.py | DarrahK/yapily-sdk-python | 2dcf9a403feafab7dcaf140dabe61794bd4debd3 | [
"MIT"
] | null | null | null | sdk/test/test_file.py | DarrahK/yapily-sdk-python | 2dcf9a403feafab7dcaf140dabe61794bd4debd3 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Yapily API
To access endpoints that require authentication, use your application key and secret created in the Dashboard (https://dashboard.yapily.com) # noqa: E501
The version of the OpenAPI document: 1.157.0
Generated by: https://openapi-generator.tech
"""
from __future__ imp... | 39.579151 | 158 | 0.328456 | 709 | 10,251 | 4.578279 | 0.12976 | 0.073937 | 0.083795 | 0.098583 | 0.772335 | 0.753235 | 0.753235 | 0.753235 | 0.753235 | 0.753235 | 0 | 0.046382 | 0.598283 | 10,251 | 258 | 159 | 39.732558 | 0.741865 | 0.049166 | 0 | 0.913043 | 0 | 0 | 0.009101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017391 | false | 0.008696 | 0.026087 | 0 | 0.056522 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
f38af5de636a52b060eb6ae2433331f625499995 | 6,807 | py | Python | usage.py | mjclawar/sd-range-slider | 9c6f28d58c0d136826b8c91644b3759948a67af0 | [
"MIT"
] | 2 | 2018-11-22T08:14:17.000Z | 2020-10-21T22:34:19.000Z | usage.py | mjclawar/sd-range-slider | 9c6f28d58c0d136826b8c91644b3759948a67af0 | [
"MIT"
] | 6 | 2017-12-04T14:47:19.000Z | 2019-07-12T14:56:49.000Z | usage.py | mjclawar/sd-range-slider | 9c6f28d58c0d136826b8c91644b3759948a67af0 | [
"MIT"
] | 1 | 2020-10-21T22:34:30.000Z | 2020-10-21T22:34:30.000Z | import sd_range_slider
import dash
import dash_html_components as html
app = dash.Dash('')
app.scripts.config.serve_locally = True
app.layout = html.Div([
# Test normal use case
html.Div(
sd_range_slider.SDRangeSlider(
id='input',
value=[1, 3],
marks={val: {'label... | 33.367647 | 76 | 0.518878 | 667 | 6,807 | 5.247376 | 0.152924 | 0.026 | 0.026 | 0.024 | 0.860857 | 0.817143 | 0.759143 | 0.747143 | 0.708857 | 0.694571 | 0 | 0.030505 | 0.340238 | 6,807 | 203 | 77 | 33.53202 | 0.748831 | 0.023064 | 0 | 0.745665 | 0 | 0 | 0.235285 | 0.046967 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034682 | false | 0 | 0.017341 | 0.034682 | 0.086705 | 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 |
f397973bbb1b799cc1f2701ba16339d4cc538c41 | 58,228 | py | Python | nova/tests/unit/test_hacking.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/test_hacking.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/test_hacking.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright 2014 Red Hat, Inc.'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'
comment|'# a copy of the License at'
nl|'\n'... | 14.597142 | 1,673 | 0.574724 | 8,675 | 58,228 | 3.744438 | 0.063746 | 0.136133 | 0.064957 | 0.060339 | 0.827725 | 0.798233 | 0.763292 | 0.742327 | 0.732475 | 0.713358 | 0 | 0.007639 | 0.141221 | 58,228 | 3,988 | 1,674 | 14.600802 | 0.641956 | 0 | 0 | 0.923771 | 0 | 0.004263 | 0.458972 | 0.102013 | 0 | 0 | 0 | 0 | 0.05667 | 0 | null | null | 0.001755 | 0.008526 | null | null | 0.000502 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
3464a928823217cd380eb8a28aa3a78a46275f6b | 1,584 | py | Python | workflow/notebooks/dev/test_patterns.py | CambridgeSemiticsLab/BH_time_collocations | 2d1864b6e9cd26624c769ee1e970d69d19da7fbf | [
"CC-BY-4.0"
] | 5 | 2019-06-19T19:42:21.000Z | 2021-04-20T22:43:45.000Z | workflow/notebooks/dev/test_patterns.py | CambridgeSemiticsLab/BHTenseAndAspect | 2d1864b6e9cd26624c769ee1e970d69d19da7fbf | [
"CC-BY-4.0"
] | 2 | 2020-02-25T10:19:40.000Z | 2020-03-13T15:29:01.000Z | workflow/notebooks/dev/test_patterns.py | CambridgeSemiticsLab/BHTenseAndAspect | 2d1864b6e9cd26624c769ee1e970d69d19da7fbf | [
"CC-BY-4.0"
] | null | null | null | patterns = [
# PREP + NOUN
"""
ph:phrase rela=NA
w1:word pdp=prep
<: w2:word pdp=subs ls#card
w1 =: ph
w2 := ph
""",
# PREP + ART + NOUN
"""
ph:phrase rela=NA
w1:word pdp=prep
<: word lex=H
<: w2:word pdp=subs ls#card
w1 =: ph
w2 := ph
"""
# PREP + ADJV
"""
ph:phrase
w1:word pdp=prep
... | 14.017699 | 36 | 0.541035 | 277 | 1,584 | 3.093863 | 0.108303 | 0.204201 | 0.243874 | 0.1972 | 0.86231 | 0.852976 | 0.852976 | 0.800467 | 0.800467 | 0.764294 | 0 | 0.03169 | 0.282828 | 1,584 | 113 | 37 | 14.017699 | 0.722711 | 0.137626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
cad46a3d2c8ea81b186c010da4b4328c7e70c0ac | 87 | py | Python | models/__init__.py | 13952522076/Efficient_ImageNet_Classification | 1480db7f3a5ddaadb8f0e1fc29287fb56f3b8583 | [
"MIT"
] | 16 | 2020-07-16T21:40:22.000Z | 2021-12-26T20:49:23.000Z | models/__init__.py | azuredsky/Efficient_ImageNet_Classification | 4d26f836ce8efa695853f668f925dd56e1608033 | [
"MIT"
] | 1 | 2020-07-19T19:54:59.000Z | 2020-07-19T20:39:26.000Z | models/__init__.py | azuredsky/Efficient_ImageNet_Classification | 4d26f836ce8efa695853f668f925dd56e1608033 | [
"MIT"
] | 7 | 2020-07-17T01:45:19.000Z | 2021-05-20T05:45:56.000Z | from __future__ import absolute_import
from .resnet import *
from .resnet_se import *
| 17.4 | 38 | 0.804598 | 12 | 87 | 5.333333 | 0.5 | 0.3125 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 4 | 39 | 21.75 | 0.864865 | 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 |
cae740707bce38f9b3b3b8e4590b2e3a88bdba20 | 975 | py | Python | Plugins/UnrealEnginePython/Binaries/Win64/Lib/site-packages/tensorflow/_api/v1/keras/activations/__init__.py | JustinACoder/H22-GR3-UnrealAI | 361eb9ef1147f8a2991e5f98c4118cd823184adf | [
"MIT"
] | 6 | 2022-02-04T18:12:24.000Z | 2022-03-21T23:57:12.000Z | Lib/site-packages/tensorflow/_api/v1/keras/activations/__init__.py | shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings | 1fa4cd6a566c8745f455fc3d2273208f21f88ced | [
"bzip2-1.0.6"
] | null | null | null | Lib/site-packages/tensorflow/_api/v1/keras/activations/__init__.py | shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings | 1fa4cd6a566c8745f455fc3d2273208f21f88ced | [
"bzip2-1.0.6"
] | 1 | 2022-02-08T03:53:23.000Z | 2022-02-08T03:53:23.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Built-in activation functions.
"""
from __future__ import print_function
from tensorflow.python.keras.activations import deserialize
from tensorflow.python.keras.activations i... | 40.625 | 83 | 0.833846 | 124 | 975 | 6.483871 | 0.33871 | 0.278607 | 0.323383 | 0.404229 | 0.696517 | 0.696517 | 0.121891 | 0 | 0 | 0 | 0 | 0 | 0.105641 | 975 | 23 | 84 | 42.391304 | 0.922018 | 0.161026 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.933333 | 0 | 0.933333 | 0.133333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1b17af5f056f8db603a369eb6621187d7531e170 | 22,740 | py | Python | ws2122-lspm/Lib/site-packages/pm4py/algo/filtering/log/ltl/ltl_checker.py | Malekhy/ws2122-lspm | e4dc8b801d12f862b8ef536a0f125f346f085a00 | [
"MIT"
] | 1 | 2022-01-19T04:02:46.000Z | 2022-01-19T04:02:46.000Z | ws2122-lspm/Lib/site-packages/pm4py/algo/filtering/log/ltl/ltl_checker.py | Malekhy/ws2122-lspm | e4dc8b801d12f862b8ef536a0f125f346f085a00 | [
"MIT"
] | 1 | 2021-11-19T07:21:48.000Z | 2021-11-19T07:21:48.000Z | ws2122-lspm/Lib/site-packages/pm4py/algo/filtering/log/ltl/ltl_checker.py | Malekhy/ws2122-lspm | e4dc8b801d12f862b8ef536a0f125f346f085a00 | [
"MIT"
] | 1 | 2022-01-14T17:15:38.000Z | 2022-01-14T17:15:38.000Z | '''
This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).
PM4Py is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any late... | 43.231939 | 156 | 0.640633 | 3,158 | 22,740 | 4.431602 | 0.066181 | 0.065166 | 0.032869 | 0.028296 | 0.86781 | 0.846802 | 0.828653 | 0.813719 | 0.790854 | 0.782208 | 0 | 0.003858 | 0.270493 | 22,740 | 525 | 157 | 43.314286 | 0.839773 | 0.214688 | 0 | 0.733333 | 0 | 0 | 0.016794 | 0.011738 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.033333 | 0 | 0.133333 | 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 |
1b5e3fbf695dcfda8de0e0c231bc1fb0db430f27 | 113,004 | py | Python | src/bee/main.py | noahgarrett/BeePython | ae5134459800fd7b6281284da0eb04cba38e26dd | [
"MIT"
] | null | null | null | src/bee/main.py | noahgarrett/BeePython | ae5134459800fd7b6281284da0eb04cba38e26dd | [
"MIT"
] | null | null | null | src/bee/main.py | noahgarrett/BeePython | ae5134459800fd7b6281284da0eb04cba38e26dd | [
"MIT"
] | null | null | null | def receive_bee():
return "According to all known laws of aviation, there is no way that a bee should be able to fly. Its wings are too small to get its fat little body off the ground. The bee, of course, flies anyway. Because bees don’t care what humans think is impossible.” SEQ. 75 - “INTRO TO BARRY” INT. BENSON ... | 56,502 | 112,985 | 0.759274 | 21,355 | 113,004 | 4.017794 | 0.148864 | 0.012214 | 0.015268 | 0.029009 | 0.085035 | 0.060478 | 0.051783 | 0.023205 | 0.013543 | 0.006807 | 0 | 0.012736 | 0.179401 | 113,004 | 2 | 112,985 | 56,502 | 0.912521 | 0 | 0 | 0 | 0 | 0.5 | 0.999708 | 0.000407 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0.5 | 0.5 | 1.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 11 |
940d259cc44236eb0ff4bd0c3bc582d8364a30e0 | 187 | py | Python | arekit/contrib/networks/context/configurations/att_ef_pcnn.py | nicolay-r/AREk | 19c39ec0dc9a17464cade03b9c4da0c6d1d21191 | [
"MIT"
] | 18 | 2019-12-14T18:43:11.000Z | 2022-03-21T05:55:36.000Z | arekit/contrib/networks/context/configurations/att_ef_pcnn.py | nicolay-r/AREk | 19c39ec0dc9a17464cade03b9c4da0c6d1d21191 | [
"MIT"
] | 284 | 2020-08-08T20:52:44.000Z | 2022-03-31T05:26:20.000Z | arekit/contrib/networks/context/configurations/att_ef_pcnn.py | nicolay-r/AREk | 19c39ec0dc9a17464cade03b9c4da0c6d1d21191 | [
"MIT"
] | 1 | 2021-08-07T13:17:43.000Z | 2021-08-07T13:17:43.000Z | from arekit.contrib.networks.context.configurations.att_ef_cnn import AttentionEndsAndFramesCNNConfig
class AttentionEndsAndFramesPCNNConfig(AttentionEndsAndFramesCNNConfig):
pass
| 26.714286 | 101 | 0.882353 | 15 | 187 | 10.866667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074866 | 187 | 6 | 102 | 31.166667 | 0.942197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 1 | 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 |
942429e27bfacd6ef9cc9d946cac489e6a972f50 | 31,825 | py | Python | startup/users/30-user-Katz.py | NSLS-II-SMI/profile_collection | c1e2236a7520f605ac85e7591f05682add06357c | [
"BSD-3-Clause"
] | null | null | null | startup/users/30-user-Katz.py | NSLS-II-SMI/profile_collection | c1e2236a7520f605ac85e7591f05682add06357c | [
"BSD-3-Clause"
] | 13 | 2018-09-25T19:35:08.000Z | 2021-01-15T20:42:26.000Z | startup/users/30-user-Katz.py | NSLS-II-SMI/profile_collection | c1e2236a7520f605ac85e7591f05682add06357c | [
"BSD-3-Clause"
] | 3 | 2019-09-06T01:40:59.000Z | 2020-07-01T20:27:39.000Z | def alignement_katz_2021_1():
global names, x_piezo, y_piezo, z_piezo, incident_angles, y_piezo_aligned
names = ['sample1', 'sample2', 'sample3', 'sample4', 'sample5', 'sample6', 'sample7']
x_piezo = [ 55000, 42000, 19000, 2000, -16000, -31000, -49000]
y_piezo = [ 4800,... | 36.962834 | 206 | 0.557738 | 4,727 | 31,825 | 3.613285 | 0.078697 | 0.105386 | 0.123653 | 0.115574 | 0.919438 | 0.902752 | 0.883607 | 0.867916 | 0.851347 | 0.844906 | 0 | 0.149649 | 0.292192 | 31,825 | 861 | 207 | 36.962834 | 0.608586 | 0.082797 | 0 | 0.761553 | 0 | 0 | 0.129322 | 0.025419 | 0 | 0 | 0 | 0 | 0.027726 | 1 | 0.03512 | false | 0 | 0 | 0 | 0.03512 | 0.033272 | 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 |
944076465e5256e81ee3ea4bbfb3e72225631586 | 9,204 | py | Python | fonts/font10mono.py | robert-hh/SSD1963-TFT-Library-for-PyBoard | db9786cdd95f9dab5334a9de28bed4e26436815c | [
"MIT"
] | 16 | 2016-02-23T12:20:36.000Z | 2021-02-02T06:41:49.000Z | fonts/font10mono.py | robert-hh/SSD1963-TFT-Library-for-PyBoard-and-RP2040 | db9786cdd95f9dab5334a9de28bed4e26436815c | [
"MIT"
] | 2 | 2016-11-26T07:46:58.000Z | 2017-12-10T08:44:38.000Z | fonts/font10mono.py | robert-hh/SSD1963-TFT-Library-for-PyBoard | db9786cdd95f9dab5334a9de28bed4e26436815c | [
"MIT"
] | 9 | 2016-06-04T08:22:55.000Z | 2020-04-19T14:40:36.000Z | # Code generated by cfonts_to_trans_py.py
import TFTfont
_font10mono = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x02\x00\x80\x20\x08\x02\x00\x80\x20\x08\x02\x00\x80\x00\x08\x00\x00\x00\x00'\
b'\x00\x05\x01\x40\x50\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\... | 77.344538 | 98 | 0.718166 | 2,248 | 9,204 | 2.936388 | 0.058274 | 0.443569 | 0.504469 | 0.474474 | 0.700348 | 0.680503 | 0.648841 | 0.624451 | 0.59082 | 0.545372 | 0 | 0.447017 | 0.014668 | 9,204 | 118 | 99 | 78 | 0.280847 | 0.004237 | 0 | 0 | 1 | 0.955752 | 0.924034 | 0.922069 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00885 | 0 | 0.00885 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
046b5f61ce615c6d712272d65185158b01ea249f | 1,626 | py | Python | test/test_delete_group.py | mihushynmaksym/Python_Training | cc9c4d7319bd24f435e750feecd6c32ffc188ae3 | [
"Apache-2.0"
] | null | null | null | test/test_delete_group.py | mihushynmaksym/Python_Training | cc9c4d7319bd24f435e750feecd6c32ffc188ae3 | [
"Apache-2.0"
] | null | null | null | test/test_delete_group.py | mihushynmaksym/Python_Training | cc9c4d7319bd24f435e750feecd6c32ffc188ae3 | [
"Apache-2.0"
] | null | null | null |
from random import randrange
__author__ = 'Max'
def test_delete_some_group(app):
app.group.find_group_button() # find button "group" on the page
app.group.if_not_group_create_group() # if not have any groups = create group
old_groups = app.group.get_group_list() # Check lists - 1 (delete gr... | 50.8125 | 106 | 0.669127 | 237 | 1,626 | 4.367089 | 0.164557 | 0.116908 | 0.10628 | 0.164251 | 0.902415 | 0.902415 | 0.902415 | 0.902415 | 0.902415 | 0.902415 | 0 | 0.010408 | 0.231857 | 1,626 | 31 | 107 | 52.451613 | 0.818255 | 0.662977 | 0 | 0 | 0 | 0 | 0.005825 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.166667 | 0 | 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 |
04dc755a2eafddd8e852f0e6674535190e1ed85c | 5,475 | py | Python | AmbidexteriousBounce.py | l0vemachin3/AmbidexteriousBounce | fbb4499bf46f184e2d0b31900034847a4782257d | [
"MIT"
] | null | null | null | AmbidexteriousBounce.py | l0vemachin3/AmbidexteriousBounce | fbb4499bf46f184e2d0b31900034847a4782257d | [
"MIT"
] | null | null | null | AmbidexteriousBounce.py | l0vemachin3/AmbidexteriousBounce | fbb4499bf46f184e2d0b31900034847a4782257d | [
"MIT"
] | null | null | null | from tkinter import *
import random
import time
class Ball:
def __init__(self, canvas, paddle, paddle2, color):
self.canvas = canvas
self.paddle = paddle
self.paddle2 = paddle2
self.id = canvas.create_oval(10, 10, 25, 25, fill=color)
self.canvas.move(self.id, ... | 32.981928 | 71 | 0.534977 | 747 | 5,475 | 3.803213 | 0.108434 | 0.165435 | 0.042239 | 0.050686 | 0.828933 | 0.820134 | 0.820134 | 0.820134 | 0.794087 | 0.794087 | 0 | 0.052357 | 0.333699 | 5,475 | 165 | 72 | 33.181818 | 0.726425 | 0 | 0 | 0.789116 | 0 | 0 | 0.022787 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108844 | false | 0 | 0.020408 | 0 | 0.210884 | 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 |
04fbd8fb951cdac0969d9103a4ef43bde6b59f91 | 36,951 | py | Python | out/manticoresearch-python/manticoresearch/api/index_api.py | vsmid/openapi | 75c70e36707f7842fcfcf9c5b5765fbe96dc6caf | [
"MIT"
] | null | null | null | out/manticoresearch-python/manticoresearch/api/index_api.py | vsmid/openapi | 75c70e36707f7842fcfcf9c5b5765fbe96dc6caf | [
"MIT"
] | null | null | null | out/manticoresearch-python/manticoresearch/api/index_api.py | vsmid/openapi | 75c70e36707f7842fcfcf9c5b5765fbe96dc6caf | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Manticore Search Client
Contact: info@manticoresearch.com
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from manticoresearch.api_client import ApiClient
from manticoresearch.exceptions import ( # noqa: F401... | 52.043662 | 1,018 | 0.601553 | 4,215 | 36,951 | 5.060735 | 0.070463 | 0.030003 | 0.042661 | 0.025315 | 0.958417 | 0.956917 | 0.951667 | 0.946275 | 0.940931 | 0.939056 | 0 | 0.016596 | 0.303699 | 36,951 | 709 | 1,019 | 52.117066 | 0.812468 | 0.56694 | 0 | 0.712871 | 0 | 0 | 0.180485 | 0.065244 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036304 | false | 0 | 0.016502 | 0 | 0.089109 | 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 |
b6c5251b00aada1b189465c759a7d830157a100b | 75 | py | Python | app/schemas/__init__.py | EZhivaikin/TrialPython | 2424b85faabc8eecea108cc5b16a4ec6b7a12cf1 | [
"BSD-2-Clause"
] | null | null | null | app/schemas/__init__.py | EZhivaikin/TrialPython | 2424b85faabc8eecea108cc5b16a4ec6b7a12cf1 | [
"BSD-2-Clause"
] | null | null | null | app/schemas/__init__.py | EZhivaikin/TrialPython | 2424b85faabc8eecea108cc5b16a4ec6b7a12cf1 | [
"BSD-2-Clause"
] | null | null | null | from app.schemas.brand import Brand
from app.schemas.product import Product | 37.5 | 39 | 0.853333 | 12 | 75 | 5.333333 | 0.5 | 0.21875 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 75 | 2 | 39 | 37.5 | 0.941176 | 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 |
b6edb73ce1ebcc46955224377b7f36e48ef55273 | 11,970 | py | Python | zz.py | JITENDRAMINDA/singh | 0a92e4ca772dab34b9ac0fbe762a91209eb911b7 | [
"MIT"
] | null | null | null | zz.py | JITENDRAMINDA/singh | 0a92e4ca772dab34b9ac0fbe762a91209eb911b7 | [
"MIT"
] | null | null | null | zz.py | JITENDRAMINDA/singh | 0a92e4ca772dab34b9ac0fbe762a91209eb911b7 | [
"MIT"
] | null | null | null | from pyrogram import Client, Filters, Emoji
import random
import time
app = Client("session",bot_token="663574960:AAGWg1VGruCPuckHzjbpDLRIbPWkX6YcDlc",api_id=605563,api_hash="7f2c2d12880400b88764b9b304e14e0b")
@app.on_message(Filters.command('bowl'))
def ran(client, message):
b = client.get_chat_member(mes... | 87.372263 | 280 | 0.47452 | 2,141 | 11,970 | 2.803363 | 0.043438 | 0.056648 | 0.161946 | 0.17994 | 0.892869 | 0.879873 | 0.872709 | 0.872709 | 0.872709 | 0.872709 | 0 | 0.060287 | 0.197661 | 11,970 | 136 | 281 | 88.014706 | 0.511558 | 0 | 0 | 0.825758 | 0 | 0 | 0.413132 | 0.006507 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022727 | false | 0 | 0.022727 | 0 | 0.045455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 8 |
8e4e21f18cfa6dcd42569d86c08e75f11e4d2fb8 | 7,193 | py | Python | doc/source/examples/transform.py | WhiteSheet/pcsg | 23d34a5dd76cf7b2715cb455c2105c90ecb9090c | [
"MIT"
] | null | null | null | doc/source/examples/transform.py | WhiteSheet/pcsg | 23d34a5dd76cf7b2715cb455c2105c90ecb9090c | [
"MIT"
] | null | null | null | doc/source/examples/transform.py | WhiteSheet/pcsg | 23d34a5dd76cf7b2715cb455c2105c90ecb9090c | [
"MIT"
] | null | null | null | import math
import pcsg
from exampleimg import runtime
from exampleimg import conf
def _setAttributes2D (attributes):
return attributes.override ({
'camera.view': (0, 0, 0, 0, 0, 0, 8)
})
def _setAttributes (attributes):
return attributes.override ({
'camera.view': (0, 0, 0, 70, 0, 3... | 26.444853 | 111 | 0.56986 | 812 | 7,193 | 5.014778 | 0.096059 | 0.086198 | 0.100196 | 0.194499 | 0.913556 | 0.905206 | 0.84725 | 0.837426 | 0.802063 | 0.774804 | 0 | 0.029994 | 0.290838 | 7,193 | 271 | 112 | 26.542435 | 0.768281 | 0.234256 | 0 | 0.670213 | 0 | 0 | 0.04955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.159574 | false | 0 | 0.042553 | 0.031915 | 0.393617 | 0 | 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 |
6d27592d87213e4eb990e1c7fd9c016c80efe4e4 | 2,214 | py | Python | sphinx/util/stemmer/__init__.py | danieleades/sphinx | 1c98aea126919b218766371e1fdf308a1167e95f | [
"BSD-2-Clause"
] | null | null | null | sphinx/util/stemmer/__init__.py | danieleades/sphinx | 1c98aea126919b218766371e1fdf308a1167e95f | [
"BSD-2-Clause"
] | null | null | null | sphinx/util/stemmer/__init__.py | danieleades/sphinx | 1c98aea126919b218766371e1fdf308a1167e95f | [
"BSD-2-Clause"
] | null | null | null | """Word stemming utilities for Sphinx."""
import warnings
import snowballstemmer
from sphinx.deprecation import RemovedInSphinx70Warning
class PorterStemmer:
def __init__(self):
warnings.warn(f"{self.__class__.__name__} is deprecated, use "
"snowballstemmer.stemmer('porter') inste... | 35.142857 | 78 | 0.629178 | 208 | 2,214 | 6.379808 | 0.211538 | 0.149209 | 0.189902 | 0.135644 | 0.791258 | 0.786737 | 0.770912 | 0.770912 | 0.733233 | 0.733233 | 0 | 0.012143 | 0.256098 | 2,214 | 62 | 79 | 35.709677 | 0.793564 | 0.020777 | 0 | 0.681818 | 0 | 0 | 0.26932 | 0.174456 | 0 | 0 | 0 | 0 | 0 | 1 | 0.204545 | false | 0 | 0.068182 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 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 |
6d2f7d08eb9e4401b804da1d9d08830491463977 | 1,485 | py | Python | game/util/configurations.py | xelahalo/khet | c4aca94703c24c01d106959849240b890fa6744b | [
"MIT"
] | null | null | null | game/util/configurations.py | xelahalo/khet | c4aca94703c24c01d106959849240b890fa6744b | [
"MIT"
] | null | null | null | game/util/configurations.py | xelahalo/khet | c4aca94703c24c01d106959849240b890fa6744b | [
"MIT"
] | 1 | 2022-03-19T22:25:54.000Z | 2022-03-19T22:25:54.000Z | CLASSIC = [
['▢', '▢', '▢', '▢', 'R▩', 'R▣', 'R▩', 'R◩', '▢', '▢'],
['▢', '▢', 'R⬔', '▢', '▢', '▢', '▢', '▢', '▢', '▢'],
['▢', '▢', '▢', 'B◪', '▢', '▢', '▢', '▢', '▢', '▢'],
['R⬕', '▢', 'B⬔', '▢', 'R\\', 'R/', '▢', 'R◩', '▢', 'B◪'],
['R◩', '▢', 'B◪', '▢', 'B/', 'B\\', '▢', 'R⬕', '▢', 'B⬔'],
['▢'... | 42.428571 | 62 | 0.138721 | 330 | 1,485 | 1.081818 | 0.057576 | 0.470588 | 0.537815 | 0.560224 | 0.829132 | 0.778711 | 0.747899 | 0.689076 | 0.644258 | 0.644258 | 0 | 0.1141 | 0.274074 | 1,485 | 35 | 63 | 42.428571 | 0.076067 | 0.020875 | 0 | 0.3125 | 0 | 0 | 0.144529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ed9064589a3f75bf239ce30746e972c9630bf6bd | 34 | py | Python | tsundoku/blueprints/api/__init__.py | fossabot/Tsundoku | 45ed2492ca003130e1b32a64127ee5cb79404089 | [
"MIT"
] | null | null | null | tsundoku/blueprints/api/__init__.py | fossabot/Tsundoku | 45ed2492ca003130e1b32a64127ee5cb79404089 | [
"MIT"
] | null | null | null | tsundoku/blueprints/api/__init__.py | fossabot/Tsundoku | 45ed2492ca003130e1b32a64127ee5cb79404089 | [
"MIT"
] | null | null | null | from .routes import api_blueprint
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
ed964155ec45969ee7febe333ae7298b1d6334e6 | 94 | py | Python | tests/test_clusterStructures/__init__.py | alekLukanen/pyDist | ffb2c3feb20afba078fec7381c8785eb1e2b0543 | [
"MIT"
] | 5 | 2017-12-24T08:11:16.000Z | 2019-02-07T22:13:26.000Z | tests/test_clusterStructures/__init__.py | alekLukanen/pyDist | ffb2c3feb20afba078fec7381c8785eb1e2b0543 | [
"MIT"
] | 1 | 2021-06-01T23:17:31.000Z | 2021-06-01T23:17:31.000Z | tests/test_clusterStructures/__init__.py | alekLukanen/pyDist | ffb2c3feb20afba078fec7381c8785eb1e2b0543 | [
"MIT"
] | null | null | null |
#import tests.test_clusterStructures.star
from tests.test_clusterStructures.star import *
| 23.5 | 48 | 0.829787 | 11 | 94 | 6.909091 | 0.545455 | 0.236842 | 0.684211 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 94 | 3 | 49 | 31.333333 | 0.904762 | 0.425532 | 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 | 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 | 8 |
eddd8ebe6df10239aca49b965e619b21266050b2 | 2,623 | py | Python | Baxter/ros_ws/build/baxter_simulator/baxter_sim_hardware/catkin_generated/pkg.develspace.context.pc.py | keke02/Fast-reconfiguration-of-robotic-production-systems | 44ffe14b8a4a4798b559eede9b3766acb55f294e | [
"CC0-1.0"
] | null | null | null | Baxter/ros_ws/build/baxter_simulator/baxter_sim_hardware/catkin_generated/pkg.develspace.context.pc.py | keke02/Fast-reconfiguration-of-robotic-production-systems | 44ffe14b8a4a4798b559eede9b3766acb55f294e | [
"CC0-1.0"
] | null | null | null | Baxter/ros_ws/build/baxter_simulator/baxter_sim_hardware/catkin_generated/pkg.develspace.context.pc.py | keke02/Fast-reconfiguration-of-robotic-production-systems | 44ffe14b8a4a4798b559eede9b3766acb55f294e | [
"CC0-1.0"
] | null | null | null | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/etudiant/M1_ISTR/Baxter/ros_ws/src/baxter_simulator/baxter_sim_hardware/include;/usr/include/opencv;/usr/include".split(';') if "/home/etudiant/M1_ISTR/Baxter/ros_ws/src/baxter_simulator/baxter_s... | 291.444444 | 1,988 | 0.774304 | 550 | 2,623 | 3.496364 | 0.141818 | 0.070723 | 0.123765 | 0.176807 | 0.846074 | 0.846074 | 0.846074 | 0.830993 | 0.830993 | 0.830993 | 0 | 0.096362 | 0.014868 | 2,623 | 8 | 1,989 | 327.875 | 0.647833 | 0.020587 | 0 | 0 | 1 | 0.571429 | 0.895208 | 0.883911 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
b65d67b885072922f1cb6f6403d321af9ba7beb4 | 1,551 | py | Python | scripts/colum.py | OkanoShogo0903/character_estimation | a1bab033e61aae1d9fd0ad7eba1700ddc05166ab | [
"MIT"
] | 8 | 2019-05-15T13:32:28.000Z | 2020-07-12T13:32:18.000Z | scripts/colum.py | OkanoShogo0903/character_estimation | a1bab033e61aae1d9fd0ad7eba1700ddc05166ab | [
"MIT"
] | 4 | 2019-04-16T06:09:14.000Z | 2019-07-01T08:59:06.000Z | scripts/colum.py | OkanoShogo0903/character_estimation | a1bab033e61aae1d9fd0ad7eba1700ddc05166ab | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
COLUMNS=[
'angle-R-mid-0', 'angle-R-mid-1', 'angle-R-mid-2',
'angle-L-mid-0', 'angle-L-mid-1', 'angle-L-mid-2',
'angle-R-top-0', 'angle-R-top-1',
'angle-L-top-0', 'angle-L-top-1',
'angle-R-bot-0', 'angle-R-bot-1', 'angle-R-bot-2',
'angle-L-bot-0', '... | 36.928571 | 57 | 0.540297 | 309 | 1,551 | 2.705502 | 0.071197 | 0.129187 | 0.086124 | 0.065789 | 0.942584 | 0.942584 | 0.942584 | 0.942584 | 0.942584 | 0.942584 | 0 | 0.057296 | 0.156028 | 1,551 | 41 | 58 | 37.829268 | 0.58136 | 0.0245 | 0 | 0.888889 | 0 | 0 | 0.668432 | 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 |
b68fde9e2a5cc5b6de7127782e81ac7688b72984 | 5,045 | py | Python | week7/lecture13/test2.py | nobodysshadow/edX_MITx_6.00.1x | d2e5ab0bd9951153ddc5fa09f01425c54854178e | [
"MIT"
] | 622 | 2018-07-17T09:05:41.000Z | 2022-03-29T02:57:02.000Z | MITx-6.00.2x/Lecture 4 - Plotting/test2.py | thientvse/Courses- | 263ff4680ed1dfd253be3652f7f13ad707af1a36 | [
"Apache-2.0"
] | 21 | 2019-11-10T02:06:09.000Z | 2022-01-22T23:54:11.000Z | MITx-6.00.2x/Lecture 4 - Plotting/test2.py | thientvse/Courses- | 263ff4680ed1dfd253be3652f7f13ad707af1a36 | [
"Apache-2.0"
] | 906 | 2018-07-17T09:05:43.000Z | 2022-03-31T12:55:49.000Z | # -*- coding: utf-8 -*-
"""
Created on Sun Jun 12 07:17:17 2016
@author: ericgrimson
"""
#import numpy as np
import pylab as plt
mySamples = []
myLinear = []
myQuadratic = []
myCubic = []
myExponential = []
for i in range(0, 30):
mySamples.append(i)
myLinear.append(i)
myQuadratic.append(i**2)
myCu... | 23.909953 | 79 | 0.688603 | 706 | 5,045 | 4.92068 | 0.126062 | 0.092689 | 0.21186 | 0.052389 | 0.862694 | 0.848302 | 0.815199 | 0.766264 | 0.703224 | 0.638169 | 0 | 0.019353 | 0.098712 | 5,045 | 210 | 80 | 24.02381 | 0.744667 | 0.852131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1e1ec35ff363dbf4fe7c931022d18542003029dc | 639 | py | Python | tests/unit/compress/CompressCssCompiler.py | wangjeaf/CSSCheckStyle | d1b1ed89c61ca80d65f398ec4a07d73789197b04 | [
"BSD-3-Clause"
] | 21 | 2015-04-27T14:54:45.000Z | 2021-11-08T09:12:08.000Z | tests/unit/compress/CompressCssCompiler.py | wangjeaf/CSSCheckStyle | d1b1ed89c61ca80d65f398ec4a07d73789197b04 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/compress/CompressCssCompiler.py | wangjeaf/CSSCheckStyle | d1b1ed89c61ca80d65f398ec4a07d73789197b04 | [
"BSD-3-Clause"
] | 6 | 2015-03-02T08:08:59.000Z | 2016-03-16T14:52:38.000Z | from helper import *
def doTest():
_no_space()
_has_space()
_just_prefix()
def _no_space():
msg = doCssCompress('@-css-compiler{selector-compile:no-combinator;rule-compile:all}html{width:100px;}')
equal(msg, 'html{width:100px}', '@css-compiler compressed')
def _has_space():
msg = doCssCompres... | 35.5 | 111 | 0.701095 | 81 | 639 | 5.382716 | 0.308642 | 0.151376 | 0.192661 | 0.18578 | 0.740826 | 0.740826 | 0.740826 | 0.740826 | 0.740826 | 0.740826 | 0 | 0.032143 | 0.123631 | 639 | 18 | 112 | 35.5 | 0.746429 | 0 | 0 | 0.357143 | 0 | 0.142857 | 0.532813 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 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 | 8 |
1e8093f9b3606f3aa82e6cced36f69d686769629 | 598 | py | Python | make_pizzas.py | yiyidhuang/PythonCrashCrouse2nd | 3512f9ab8fcf32c6145604a37e2a62feddf174d1 | [
"MIT"
] | null | null | null | make_pizzas.py | yiyidhuang/PythonCrashCrouse2nd | 3512f9ab8fcf32c6145604a37e2a62feddf174d1 | [
"MIT"
] | null | null | null | make_pizzas.py | yiyidhuang/PythonCrashCrouse2nd | 3512f9ab8fcf32c6145604a37e2a62feddf174d1 | [
"MIT"
] | null | null | null | # import pizza
# pizza.make_pizza(16, 'pepperoni')
# pizza.make_pizza(12, 'mushrooms', 'green peppers', 'extra cheese')
# from pizza import make_pizza
# make_pizza(16, 'pepperoni')
# make_pizza(12, 'mushrooms', 'green peppers', 'extra cheese')
# from pizza import make_pizza as mp
# mp(16, 'pepperoni')
# mp(12, ... | 19.933333 | 68 | 0.69398 | 83 | 598 | 4.879518 | 0.180723 | 0.222222 | 0.197531 | 0.283951 | 0.824691 | 0.762963 | 0.679012 | 0.679012 | 0.679012 | 0.679012 | 0 | 0.039063 | 0.143813 | 598 | 29 | 69 | 20.62069 | 0.751953 | 0.752508 | 0 | 0 | 0 | 0 | 0.318519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
1e8a88638253dd35e170b254658641fa7457eb56 | 81 | py | Python | bot.py | iryabuhin/proictis_dialogflow_webhook | 833c21fa1fdb422962cd6abedc5690ddcac46f53 | [
"MIT"
] | null | null | null | bot.py | iryabuhin/proictis_dialogflow_webhook | 833c21fa1fdb422962cd6abedc5690ddcac46f53 | [
"MIT"
] | 1 | 2021-04-30T21:17:43.000Z | 2021-04-30T21:17:43.000Z | bot.py | iryabuhin/proictis_diagflow_chatbot | 833c21fa1fdb422962cd6abedc5690ddcac46f53 | [
"MIT"
] | null | null | null | from app import app, db
from app.models import ProjectInfo
from app import route
| 20.25 | 34 | 0.814815 | 14 | 81 | 4.714286 | 0.5 | 0.318182 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 3 | 35 | 27 | 0.970588 | 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 |
94a1407f2d035d220fcc3a121ef79bfba1e0bc04 | 79 | py | Python | mathfuncs.py | Jeanne-Chris/DXCPythonBootcamp | 9d394035a700d4364acfebf80316cb6281a5776b | [
"MIT"
] | 1 | 2022-03-03T09:54:06.000Z | 2022-03-03T09:54:06.000Z | mathfuncs.py | Jeanne-Chris/DXCPythonBootcamp | 9d394035a700d4364acfebf80316cb6281a5776b | [
"MIT"
] | null | null | null | mathfuncs.py | Jeanne-Chris/DXCPythonBootcamp | 9d394035a700d4364acfebf80316cb6281a5776b | [
"MIT"
] | null | null | null | def add(x, y=2):
return x + y
def multiply(x, y=2):
return x * y | 13.166667 | 22 | 0.493671 | 16 | 79 | 2.4375 | 0.4375 | 0.205128 | 0.153846 | 0.461538 | 0.564103 | 0.564103 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.35443 | 79 | 6 | 23 | 13.166667 | 0.72549 | 0 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
94b7e1a59ba68163f020fef68b1470f03622c5ba | 15,152 | py | Python | sdk/python/pulumi_openstack/identity/role_assignment.py | pulumi/pulumi-openstack | 945eed22a82784e9f0b3aa56168b2397c2f503e8 | [
"ECL-2.0",
"Apache-2.0"
] | 34 | 2018-09-12T12:37:51.000Z | 2022-02-04T19:32:13.000Z | sdk/python/pulumi_openstack/identity/role_assignment.py | pulumi/pulumi-openstack | 945eed22a82784e9f0b3aa56168b2397c2f503e8 | [
"ECL-2.0",
"Apache-2.0"
] | 72 | 2018-08-15T13:04:57.000Z | 2022-03-31T15:39:49.000Z | sdk/python/pulumi_openstack/identity/role_assignment.py | pulumi/pulumi-openstack | 945eed22a82784e9f0b3aa56168b2397c2f503e8 | [
"ECL-2.0",
"Apache-2.0"
] | 7 | 2019-03-14T08:28:49.000Z | 2021-12-29T04:23:55.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... | 37.228501 | 134 | 0.614572 | 1,845 | 15,152 | 4.796206 | 0.085637 | 0.09696 | 0.12024 | 0.126794 | 0.806645 | 0.788451 | 0.779975 | 0.75986 | 0.748446 | 0.725506 | 0 | 0.002455 | 0.274155 | 15,152 | 406 | 135 | 37.320197 | 0.802146 | 0.254026 | 0 | 0.767241 | 1 | 0 | 0.078686 | 0.004623 | 0 | 0 | 0 | 0 | 0 | 1 | 0.159483 | false | 0.00431 | 0.021552 | 0.012931 | 0.275862 | 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 |
94bc84eb50dc6420487627902b81a12869152124 | 204 | py | Python | aioarango/__init__.py | mirrorrim/aioarango | eb902b8793e4c2dd4b1d90ed6c7d68f461c73fd3 | [
"MIT"
] | 10 | 2021-07-05T10:28:04.000Z | 2022-03-24T08:53:26.000Z | aioarango/__init__.py | mirrorrim/aioarango | eb902b8793e4c2dd4b1d90ed6c7d68f461c73fd3 | [
"MIT"
] | 1 | 2022-03-12T11:02:25.000Z | 2022-03-12T11:02:25.000Z | aioarango/__init__.py | mirrorrim/aioarango | eb902b8793e4c2dd4b1d90ed6c7d68f461c73fd3 | [
"MIT"
] | 2 | 2021-12-14T07:29:55.000Z | 2022-03-29T07:14:22.000Z | import aioarango.errno as errno # noqa: F401
from aioarango.client import ArangoClient # noqa: F401
from aioarango.exceptions import * # noqa: F401 F403
from aioarango.http import * # noqa: F401 F403
| 40.8 | 55 | 0.764706 | 28 | 204 | 5.571429 | 0.428571 | 0.205128 | 0.153846 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 0.166667 | 204 | 4 | 56 | 51 | 0.811765 | 0.259804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
94e8143d3f76d1b4dc94862e10da6cf6d3fd477c | 458 | py | Python | home/pi/GrovePi/Software/Python/others/temboo/Library/Fitbit/OAuth/__init__.py | lupyuen/RaspberryPiImage | 664e8a74b4628d710feab5582ef59b344b9ffddd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | home/pi/GrovePi/Software/Python/others/temboo/Library/Fitbit/OAuth/__init__.py | lupyuen/RaspberryPiImage | 664e8a74b4628d710feab5582ef59b344b9ffddd | [
"Apache-2.0"
] | null | null | null | home/pi/GrovePi/Software/Python/others/temboo/Library/Fitbit/OAuth/__init__.py | lupyuen/RaspberryPiImage | 664e8a74b4628d710feab5582ef59b344b9ffddd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Fitbit.OAuth.FinalizeOAuth import FinalizeOAuth, FinalizeOAuthInputSet, FinalizeOAuthResultSet, FinalizeOAuthChoreographyExecution
from temboo.Library.Fitbit.OAuth.InitializeOAuth import InitializeOAuth, InitializeOAuthInputSet, InitializeOAuthResultSet, InitializeOAuthChoreographyExecution
from tem... | 114.5 | 160 | 0.908297 | 33 | 458 | 12.606061 | 0.545455 | 0.072115 | 0.122596 | 0.165865 | 0.201923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045852 | 458 | 3 | 161 | 152.666667 | 0.951945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
bf5bb655c9418aac109893ef2ad4945eac8248a0 | 1,272 | py | Python | mod_ngarn/connection.py | hotkit/mod-ngarn | e068c4ec5377e5c70cf0afba598afaee4ba380a3 | [
"MIT"
] | 3 | 2019-10-10T08:02:46.000Z | 2022-01-04T16:21:33.000Z | mod_ngarn/connection.py | hotkit/mod-ngarn | e068c4ec5377e5c70cf0afba598afaee4ba380a3 | [
"MIT"
] | 5 | 2018-10-01T13:05:46.000Z | 2019-03-17T19:09:09.000Z | mod_ngarn/connection.py | Proteus-tech/mod-ngarn | e068c4ec5377e5c70cf0afba598afaee4ba380a3 | [
"MIT"
] | 1 | 2019-02-27T07:18:07.000Z | 2019-02-27T07:18:07.000Z | import json
import os
import asyncpg
async def get_connection():
PGDBNAME = os.getenv("PGDBNAME")
PGHOST = os.getenv("PGHOST")
PGPASSWORD = os.getenv("PGPASSWORD")
PGUSER = os.getenv("PGUSER")
cnx = await asyncpg.connect(
user=PGUSER, password=PGPASSWORD, database=PGDBNAME, host=PGHOST
... | 29.581395 | 80 | 0.637579 | 152 | 1,272 | 5.190789 | 0.263158 | 0.081115 | 0.050697 | 0.076046 | 0.813688 | 0.813688 | 0.803549 | 0.803549 | 0.803549 | 0.803549 | 0 | 0 | 0.243711 | 1,272 | 42 | 81 | 30.285714 | 0.820166 | 0 | 0 | 0.5 | 0 | 0 | 0.092767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0.083333 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
bf81f3f804d66b7a8da99b98d3cebafb2ccf958e | 17,670 | py | Python | fixGanExperment/model.py | okingjerryo/modelExperiment | 6e6a7b6055a2e4efff7d7e599fa8b79a2ca3270e | [
"Apache-2.0"
] | null | null | null | fixGanExperment/model.py | okingjerryo/modelExperiment | 6e6a7b6055a2e4efff7d7e599fa8b79a2ca3270e | [
"Apache-2.0"
] | null | null | null | fixGanExperment/model.py | okingjerryo/modelExperiment | 6e6a7b6055a2e4efff7d7e599fa8b79a2ca3270e | [
"Apache-2.0"
] | 1 | 2018-01-08T03:03:32.000Z | 2018-01-08T03:03:32.000Z | '''
sunkejia
GAN network
'''
import tensorflow as tf
import tensorflow.contrib.slim as slim
def inst_norm(inputs, epsilon=1e-3, suffix=''):
"""
Assuming TxHxWxC dimensions on the tensor, will normalize over
the H,W dimensions. Use this before the activation layer.
This function borrows from:
http:... | 53.708207 | 119 | 0.585399 | 2,145 | 17,670 | 4.617716 | 0.117483 | 0.110045 | 0.09581 | 0.064614 | 0.867441 | 0.860071 | 0.841595 | 0.825946 | 0.825745 | 0.825745 | 0 | 0.052199 | 0.303962 | 17,670 | 328 | 120 | 53.871951 | 0.753151 | 0.093435 | 0 | 0.705 | 0 | 0 | 0.043195 | 0 | 0 | 0 | 0 | 0.003049 | 0 | 1 | 0.045 | false | 0.005 | 0.01 | 0 | 0.095 | 0.015 | 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 |
44bbeba6b3d86f356e1abd8804654a39b467e879 | 311 | py | Python | adclassifier/feature_selection.py | BoudhayanBanerjee/political-ad-classifier | e7b7bd76eadd4bde536862449e71370903d22114 | [
"MIT"
] | 2 | 2017-06-20T19:18:20.000Z | 2017-06-30T19:01:44.000Z | adclassifier/feature_selection.py | BoudhayanBanerjee/political-ad-classifier | e7b7bd76eadd4bde536862449e71370903d22114 | [
"MIT"
] | null | null | null | adclassifier/feature_selection.py | BoudhayanBanerjee/political-ad-classifier | e7b7bd76eadd4bde536862449e71370903d22114 | [
"MIT"
] | null | null | null | from sklearn.feature_selection import VarianceThreshold
from sklearn.feature_selection import SelectKBest
from sklearn.feature_selection import chi2
from sklearn.feature_selection import mutual_info_classif
from sklearn.feature_selection import RFE
from sklearn.feature_selection import SelectFromModel
# TODO
| 34.555556 | 57 | 0.890675 | 39 | 311 | 6.897436 | 0.358974 | 0.245353 | 0.401487 | 0.60223 | 0.736059 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003521 | 0.086817 | 311 | 8 | 58 | 38.875 | 0.943662 | 0.012862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
7851e38128a7f26e888b55035182c8011e58c683 | 4,105 | py | Python | get_mismatch.py | TuanjieNew/SeqDesignTool | 8ee1a7631ac62378b406287fd082da6d47ac4236 | [
"MIT"
] | null | null | null | get_mismatch.py | TuanjieNew/SeqDesignTool | 8ee1a7631ac62378b406287fd082da6d47ac4236 | [
"MIT"
] | null | null | null | get_mismatch.py | TuanjieNew/SeqDesignTool | 8ee1a7631ac62378b406287fd082da6d47ac4236 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#fn; get_mismatch.py
#ACTGCAGCGTCATAGTTTTTGAG
import os
import copy
def getMismatch(start,seq,name,end):
#name = seq
quality = 'IIIIIIIIIIIIIIIIIIIIII'
OUTFILE = open('./mis_test.fastq','a')
ls = list(seq)
ls_1 = copy.deepcopy(ls)
ii = start+1
for i in ls_1[ii:end]:... | 37.66055 | 86 | 0.429963 | 584 | 4,105 | 2.892123 | 0.075342 | 0.131439 | 0.227353 | 0.241563 | 0.843694 | 0.843694 | 0.843694 | 0.843694 | 0.843694 | 0.843694 | 0 | 0.047408 | 0.285749 | 4,105 | 108 | 87 | 38.009259 | 0.528649 | 0.01754 | 0 | 0.818182 | 0 | 0 | 0.084885 | 0.011169 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011364 | false | 0 | 0.022727 | 0 | 0.034091 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
7874bc7bc13244705a4387d681fc1dd47ef68895 | 190 | py | Python | public/views/base.py | cmisid/Wasty-Database | c2e350e3be2cb60df87c9a1481e5da3342c6b73b | [
"Apache-2.0"
] | null | null | null | public/views/base.py | cmisid/Wasty-Database | c2e350e3be2cb60df87c9a1481e5da3342c6b73b | [
"Apache-2.0"
] | null | null | null | public/views/base.py | cmisid/Wasty-Database | c2e350e3be2cb60df87c9a1481e5da3342c6b73b | [
"Apache-2.0"
] | null | null | null | from django.http import HttpResponse
def ping(request):
return HttpResponse(status=200)
def parse_user(request):
users = json.loads(request.body)
return HttpResponse(status=200) | 21.111111 | 36 | 0.763158 | 25 | 190 | 5.76 | 0.68 | 0.25 | 0.333333 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03681 | 0.142105 | 190 | 9 | 37 | 21.111111 | 0.846626 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 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 |
78771f610c378272f48c301cea2e0b478e0a360f | 189 | py | Python | platform/hwconf_data/efr32mg21/modules/PIN/PIN_Snippets.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | null | null | null | platform/hwconf_data/efr32mg21/modules/PIN/PIN_Snippets.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T02:36:22.000Z | 2020-08-25T02:36:22.000Z | platform/hwconf_data/efr32mg21/modules/PIN/PIN_Snippets.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T01:56:04.000Z | 2020-08-25T01:56:04.000Z | """
Generated from a template
"""
import efr32mg21.PythonSnippet.RuntimeModel as RuntimeModel
from efr32mg21.modules.PIN.PIN_Defs import PORT_PINS
def activate_runtime():
pass
| 11.117647 | 59 | 0.767196 | 23 | 189 | 6.173913 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050314 | 0.15873 | 189 | 16 | 60 | 11.8125 | 0.842767 | 0.132275 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
788caa5cd2c442f468e0b52721f2be5056340add | 145 | py | Python | dotfiles/config/offlineimap/custom.py | nathbo/dotfiles | fb0cc8efbd4c9b65e488331c40e7ba5bdb2d060a | [
"MIT"
] | 1 | 2017-10-22T14:55:49.000Z | 2017-10-22T14:55:49.000Z | dotfiles/config/offlineimap/custom.py | nathbo/dotfiles | fb0cc8efbd4c9b65e488331c40e7ba5bdb2d060a | [
"MIT"
] | null | null | null | dotfiles/config/offlineimap/custom.py | nathbo/dotfiles | fb0cc8efbd4c9b65e488331c40e7ba5bdb2d060a | [
"MIT"
] | 1 | 2017-09-30T08:41:44.000Z | 2017-09-30T08:41:44.000Z | from subprocess import check_output
def get_password(account):
return check_output("authinfo.sh machine="+account, shell=True).strip(b'\n')
| 29 | 80 | 0.772414 | 21 | 145 | 5.190476 | 0.857143 | 0.201835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 145 | 4 | 81 | 36.25 | 0.838462 | 0 | 0 | 0 | 0 | 0 | 0.151724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0.333333 | 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 | 1 | 1 | 1 | 1 | 0 | 0 | 8 |
152427c5f788f88c5e06abdde5fbcd23a11845d7 | 2,606 | py | Python | FEM/src/test/StatisticsTest.py | BartSiwek/Neurotransmitter2D | 200c1b7e74de0786b1bb52d456e227f9d64cebc6 | [
"MIT"
] | null | null | null | FEM/src/test/StatisticsTest.py | BartSiwek/Neurotransmitter2D | 200c1b7e74de0786b1bb52d456e227f9d64cebc6 | [
"MIT"
] | null | null | null | FEM/src/test/StatisticsTest.py | BartSiwek/Neurotransmitter2D | 200c1b7e74de0786b1bb52d456e227f9d64cebc6 | [
"MIT"
] | null | null | null | import unittest, math
import Pslg, ElementAwarePslg
import Statistics
class ParametersTest(unittest.TestCase):
def testComputeElementAngleRange(self):
#Angle of zero
a = Pslg.GridPoint(0,0)
b = Pslg.GridPoint(1,0)
c = Pslg.GridPoint(1,0)
angle = Statistics.ComputeAn... | 29.280899 | 61 | 0.550269 | 299 | 2,606 | 4.769231 | 0.123746 | 0.218794 | 0.137447 | 0.105189 | 0.882889 | 0.882889 | 0.882889 | 0.882889 | 0.852034 | 0.852034 | 0 | 0.054545 | 0.345741 | 2,606 | 88 | 62 | 29.613636 | 0.781818 | 0.057176 | 0 | 0.690909 | 0 | 0 | 0.003267 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 1 | 0.018182 | false | 0 | 0.054545 | 0 | 0.090909 | 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 |
152593dd375d6bb572f3b24beca19b14fca5f55a | 21,719 | py | Python | dependencies/src/4Suite-XML-1.0.2/test/Xml/Xslt/Borrowed/dn_20020325.py | aleasims/Peach | bb56841e943d719d5101fee0a503ed34308eda04 | [
"MIT"
] | null | null | null | dependencies/src/4Suite-XML-1.0.2/test/Xml/Xslt/Borrowed/dn_20020325.py | aleasims/Peach | bb56841e943d719d5101fee0a503ed34308eda04 | [
"MIT"
] | null | null | null | dependencies/src/4Suite-XML-1.0.2/test/Xml/Xslt/Borrowed/dn_20020325.py | aleasims/Peach | bb56841e943d719d5101fee0a503ed34308eda04 | [
"MIT"
] | 1 | 2020-07-26T03:57:45.000Z | 2020-07-26T03:57:45.000Z | # Examples from the article "Two-stage recursive algorithms in XSLT"
# By Dimitre Novatchev and Slawomir Tyszko
# http://www.topxml.com/xsl/articles/recurse/
from Xml.Xslt import test_harness
BOOKS = """ <book>
<title>Angela's Ashes</title>
<author>Frank McCourt</author>
<publisher>HarperCollins</... | 35.430669 | 110 | 0.595423 | 2,585 | 21,719 | 4.964797 | 0.089362 | 0.068022 | 0.060776 | 0.081035 | 0.914602 | 0.90533 | 0.883357 | 0.88172 | 0.872604 | 0.864578 | 0 | 0.021078 | 0.22455 | 21,719 | 612 | 111 | 35.488562 | 0.740945 | 0.032782 | 0 | 0.82438 | 0 | 0.045455 | 0.815604 | 0.114908 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002066 | false | 0 | 0.002066 | 0 | 0.006198 | 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 |
1539510aefa3035d2187157e5249c98d9f87bb5d | 2,577 | py | Python | test/test_mod_group.py | dvkruchinin/python_tr | eaa901759e78f6036491556f71f9f19d5830bd98 | [
"MIT"
] | null | null | null | test/test_mod_group.py | dvkruchinin/python_tr | eaa901759e78f6036491556f71f9f19d5830bd98 | [
"MIT"
] | null | null | null | test/test_mod_group.py | dvkruchinin/python_tr | eaa901759e78f6036491556f71f9f19d5830bd98 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding:utf-8
"""
Name : test_mod_group.py
Author : Dmitry Kruchinin
Date : 6/21/2021
Desc:
"""
from model.group import Group
from random import randrange
def test_modification_some_group(app, db, check_ui):
if len(db.get_group_list()) == 0:
app.group.create(Group(name="t... | 35.30137 | 113 | 0.704307 | 404 | 2,577 | 4.195545 | 0.136139 | 0.138053 | 0.106195 | 0.090855 | 0.856047 | 0.839528 | 0.839528 | 0.839528 | 0.839528 | 0.839528 | 0 | 0.009355 | 0.170353 | 2,577 | 72 | 114 | 35.791667 | 0.783442 | 0.045402 | 0 | 0.8 | 0 | 0 | 0.0204 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 1 | 0.072727 | false | 0 | 0.036364 | 0 | 0.109091 | 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 |
157e9c435fb007c2d2c77391f8ba1bfe428ad718 | 2,041 | py | Python | ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/_api/v2/compat/v1/feature_column/__init__.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | 2 | 2020-09-30T00:11:09.000Z | 2021-10-04T13:00:38.000Z | ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/_api/v2/compat/v1/feature_column/__init__.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | null | null | null | ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/_api/v2/compat/v1/feature_column/__init__.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | 1 | 2021-01-28T01:57:41.000Z | 2021-01-28T01:57:41.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Public API for tf.feature_column namespace.
"""
from __future__ import print_function as _print_function
import sys as _sys
from tensorflow.python.feature_column.feature_column import ... | 65.83871 | 117 | 0.907398 | 279 | 2,041 | 6.218638 | 0.200717 | 0.292219 | 0.21902 | 0.295677 | 0.798847 | 0.798847 | 0.795389 | 0.795389 | 0.705476 | 0.621902 | 0 | 0.005702 | 0.054875 | 2,041 | 30 | 118 | 68.033333 | 0.893727 | 0.083293 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.954545 | 0 | 0.954545 | 0.090909 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
1584d2226a3642e36797239be0509b2d837c07a7 | 1,002,679 | py | Python | fhir/resources/DSTU2/tests/test_conformance.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 144 | 2019-05-08T14:24:43.000Z | 2022-03-30T02:37:11.000Z | fhir/resources/DSTU2/tests/test_conformance.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 82 | 2019-05-13T17:43:13.000Z | 2022-03-30T16:45:17.000Z | fhir/resources/DSTU2/tests/test_conformance.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 48 | 2019-04-04T14:14:53.000Z | 2022-03-30T06:07:31.000Z | # -*- coding: utf-8 -*-
from datetime import date, datetime
from pydantic.datetime_parse import parse_date, parse_datetime
from .. import fhirtypes # noqa: F401
from .. import conformance
def test_Conformance_1(base_settings):
filename = base_settings["unittest_data_dir"] / "conformance-base.canonical.json"
... | 47.374392 | 1,001 | 0.666168 | 123,268 | 1,002,679 | 5.416085 | 0.012996 | 0.140871 | 0.190426 | 0.20223 | 0.951391 | 0.947407 | 0.936902 | 0.874311 | 0.747104 | 0.514978 | 0 | 0.045306 | 0.178301 | 1,002,679 | 21,164 | 1,002 | 47.37663 | 0.765021 | 0.001264 | 0 | 0.384915 | 0 | 0.005516 | 0.28781 | 0.01922 | 0 | 0 | 0 | 0 | 0.449211 | 1 | 0.001807 | false | 0 | 0.000333 | 0 | 0.00214 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
bf0ad733045536d8bfac571680bd5adf1392e1ee | 31 | py | Python | test/index2.py | ChenWei-python13/python13_001 | 8a9f9bba12044998a2ccb88e194c7c70827643c0 | [
"MIT"
] | null | null | null | test/index2.py | ChenWei-python13/python13_001 | 8a9f9bba12044998a2ccb88e194c7c70827643c0 | [
"MIT"
] | null | null | null | test/index2.py | ChenWei-python13/python13_001 | 8a9f9bba12044998a2ccb88e194c7c70827643c0 | [
"MIT"
] | null | null | null | def index2():
return "index3"
| 10.333333 | 16 | 0.677419 | 4 | 31 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.16129 | 31 | 2 | 17 | 15.5 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
bf1486068fe6f0a68be7d4d19c07464af9805a72 | 179 | py | Python | scripts/conv_exp_hospital_section.py | wecacuee/modern-occupancy-grid | c1405847dd715aec25ba416667fa4999d99d5b72 | [
"Apache-2.0"
] | 21 | 2015-03-14T16:24:38.000Z | 2021-08-17T05:39:06.000Z | scripts/conv_exp_hospital_section.py | wecacuee/modern-occupancy-grid | c1405847dd715aec25ba416667fa4999d99d5b72 | [
"Apache-2.0"
] | null | null | null | scripts/conv_exp_hospital_section.py | wecacuee/modern-occupancy-grid | c1405847dd715aec25ba416667fa4999d99d5b72 | [
"Apache-2.0"
] | 5 | 2015-08-10T02:02:14.000Z | 2020-03-20T12:20:29.000Z | import convergence_experiment
def executables():
return convergence_experiment.executables("Data/hospital_section_player/",
2000)
| 35.8 | 78 | 0.625698 | 14 | 179 | 7.714286 | 0.785714 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03252 | 0.312849 | 179 | 4 | 79 | 44.75 | 0.845528 | 0 | 0 | 0 | 0 | 0 | 0.162011 | 0.162011 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
175549d716a4a0e717e7b91538930a8533d9aa0c | 131 | py | Python | tests/test_security.py | jaraco/jaraco.windows | e858172b4d5ee91233a8cc5319de99f17848f090 | [
"MIT"
] | 21 | 2016-01-31T00:58:59.000Z | 2021-05-06T22:30:56.000Z | tests/test_security.py | jaraco/jaraco.windows | e858172b4d5ee91233a8cc5319de99f17848f090 | [
"MIT"
] | 14 | 2016-07-21T12:02:08.000Z | 2021-08-06T03:07:54.000Z | tests/test_security.py | jaraco/jaraco.windows | e858172b4d5ee91233a8cc5319de99f17848f090 | [
"MIT"
] | 5 | 2016-06-14T04:57:04.000Z | 2021-05-06T22:30:57.000Z | from jaraco.windows import security
def test_get_security_attributes_for_user():
security.get_security_attributes_for_user()
| 21.833333 | 47 | 0.847328 | 18 | 131 | 5.666667 | 0.611111 | 0.215686 | 0.411765 | 0.470588 | 0.54902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099237 | 131 | 5 | 48 | 26.2 | 0.864407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
178b46a777718cdedb242223e3e034e792443a7a | 284 | py | Python | STEP 2: INPUT ANALYSIS/rd_parser.py | amalshehu/super-slang | 611f785656aecbacf75ee34549b7053069e29cad | [
"MIT"
] | null | null | null | STEP 2: INPUT ANALYSIS/rd_parser.py | amalshehu/super-slang | 611f785656aecbacf75ee34549b7053069e29cad | [
"MIT"
] | null | null | null | STEP 2: INPUT ANALYSIS/rd_parser.py | amalshehu/super-slang | 611f785656aecbacf75ee34549b7053069e29cad | [
"MIT"
] | null | null | null | from abstract_syntax_tree import Operator
from abstract_syntax_tree import Expression
from abstract_syntax_tree import NumericConstant
from abstract_syntax_tree import BinaryExpression
from abstract_syntax_tree import UnaryExpression
from lexer import Lexer
from lexer import Token
| 28.4 | 49 | 0.894366 | 38 | 284 | 6.421053 | 0.315789 | 0.245902 | 0.368852 | 0.45082 | 0.57377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105634 | 284 | 9 | 50 | 31.555556 | 0.96063 | 0 | 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 |
178bbf8b78c8d9136343ca56bfe0aadce8b9db47 | 4,340 | py | Python | private_training/src/models.py | xiyueyiwan/private-ml-for-health | c77181d0628b3a04c411a01f7e402fccb4d34e09 | [
"MIT"
] | 28 | 2020-11-01T09:19:37.000Z | 2022-03-31T07:23:42.000Z | private_training/src/models.py | HongleGuo/private-ml-for-health | 98b66920c659422bc963d70964f780b76fa67a48 | [
"MIT"
] | 2 | 2021-03-19T11:39:04.000Z | 2021-04-21T12:48:52.000Z | private_training/src/models.py | HongleGuo/private-ml-for-health | 98b66920c659422bc963d70964f780b76fa67a48 | [
"MIT"
] | 11 | 2021-03-17T02:28:08.000Z | 2022-03-31T07:23:48.000Z | import torch
from torch import nn
import torch.nn.functional as F
class CNNMnistRelu(nn.Module):
def __init__(self):
super().__init__()
self.conv1 = nn.Conv2d(1, 16, 8, 2, padding=3)
self.conv2 = nn.Conv2d(16, 32, 4, 2)
self.fc1 = nn.Linear(32 * 4 * 4, 32)
self.fc2 = nn.Line... | 33.384615 | 59 | 0.485253 | 708 | 4,340 | 2.889831 | 0.086158 | 0.01955 | 0.02346 | 0.039101 | 0.926686 | 0.926686 | 0.907136 | 0.879765 | 0.879765 | 0.879765 | 0 | 0.134786 | 0.323041 | 4,340 | 130 | 60 | 33.384615 | 0.561607 | 0.121429 | 0 | 0.862385 | 0 | 0 | 0.013753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.146789 | false | 0 | 0.027523 | 0.036697 | 0.321101 | 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 |
179916d1ee778798660a5434898073478e3144df | 123 | py | Python | authz/controller/apiv1/__init__.py | nimatbt/Auth-Microservice | 449fd7c3210822d6c59940f817c978fd1715a876 | [
"Apache-2.0"
] | null | null | null | authz/controller/apiv1/__init__.py | nimatbt/Auth-Microservice | 449fd7c3210822d6c59940f817c978fd1715a876 | [
"Apache-2.0"
] | null | null | null | authz/controller/apiv1/__init__.py | nimatbt/Auth-Microservice | 449fd7c3210822d6c59940f817c978fd1715a876 | [
"Apache-2.0"
] | null | null | null | from authz.controller.apiv1.user import UserController
from authz.controller.apiv1.auth import AuthController # 20-1 : 52'
| 41 | 67 | 0.821138 | 17 | 123 | 5.941176 | 0.705882 | 0.178218 | 0.376238 | 0.475248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063063 | 0.097561 | 123 | 2 | 68 | 61.5 | 0.846847 | 0.081301 | 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 |
179df0b611d070b6af4a5c58a0153d93178e9b24 | 130 | py | Python | integration/tests_failed/assert_invalid_predicate_type.py | jleverenz/hurl | b81ca8ab7e0e409ec0c074fd8e118721ff4d3fb3 | [
"Apache-2.0"
] | null | null | null | integration/tests_failed/assert_invalid_predicate_type.py | jleverenz/hurl | b81ca8ab7e0e409ec0c074fd8e118721ff4d3fb3 | [
"Apache-2.0"
] | null | null | null | integration/tests_failed/assert_invalid_predicate_type.py | jleverenz/hurl | b81ca8ab7e0e409ec0c074fd8e118721ff4d3fb3 | [
"Apache-2.0"
] | null | null | null | from app import app
@app.route("/error-assert-invalid-predicate-type")
def error_assert_invalid_predicate_type():
return ""
| 18.571429 | 50 | 0.761538 | 18 | 130 | 5.277778 | 0.611111 | 0.231579 | 0.378947 | 0.568421 | 0.652632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 130 | 6 | 51 | 21.666667 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.276923 | 0.276923 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 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 | 1 | 1 | 0 | 0 | 10 |
bdd3392c9805ea00b623d3dcd51e99821c9113f2 | 16,366 | py | Python | RobotFramework/inventories/production/connectivity_check_v2.py | dmmar/netascode | 1d15e717b600d38bd33a65fa110e1c129d72e5df | [
"MIT"
] | 36 | 2019-07-17T17:00:32.000Z | 2022-03-26T09:34:40.000Z | RobotFramework/inventories/test/connectivity_check_v2.py | dmmar/netascode | 1d15e717b600d38bd33a65fa110e1c129d72e5df | [
"MIT"
] | 4 | 2021-03-31T19:16:53.000Z | 2021-12-13T20:01:57.000Z | RobotFramework/inventories/development/connectivity_check_v2.py | dmmar/netascode | 1d15e717b600d38bd33a65fa110e1c129d72e5df | [
"MIT"
] | 10 | 2019-07-31T07:58:03.000Z | 2021-10-13T04:45:45.000Z | # Example
# -------
#
# connectivity_check_v2.py
from pyats import aetest
import re
import logging
# get your logger for your script
logger = logging.getLogger(__name__)
class CommonSetup(aetest.CommonSetup):
# CommonSetup-SubSec1
@aetest.subsection
def check_topology(
self,
testb... | 35.811816 | 102 | 0.47782 | 1,872 | 16,366 | 4.015491 | 0.071581 | 0.05747 | 0.070241 | 0.038313 | 0.8675 | 0.835041 | 0.826527 | 0.7942 | 0.74684 | 0.712784 | 0 | 0.041858 | 0.334352 | 16,366 | 457 | 103 | 35.811816 | 0.648155 | 0.010448 | 0 | 0.707692 | 0 | 0 | 0.229225 | 0.01557 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051282 | false | 0 | 0.012821 | 0 | 0.087179 | 0.328205 | 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 |
bdfc585a059ae1427fc0724070b7abaac59657eb | 11,205 | py | Python | build/lib/agent/mapping.py | SAEONData/textfile-harvester | e166d4680d12e5fc9bbf1aeba375eefa9a8d34f4 | [
"MIT"
] | null | null | null | build/lib/agent/mapping.py | SAEONData/textfile-harvester | e166d4680d12e5fc9bbf1aeba375eefa9a8d34f4 | [
"MIT"
] | null | null | null | build/lib/agent/mapping.py | SAEONData/textfile-harvester | e166d4680d12e5fc9bbf1aeba375eefa9a8d34f4 | [
"MIT"
] | null | null | null | mapping = {
"ORIGIN": {"key": "XXXXX", "default": "ZZZZZ"},
"REQUEST_ID": {"key": "XXXXX", "default": "ZZZZZ"},
"LANDSAT_SCENE_ID": {"key": "XXXXX", "default": "ZZZZZ"},
"COLLECTION_NUMBER": {"key": "XXXXX", "default": "ZZZZZ"},
"FILE_DATE": {"key": "publicationYear", "default": "2018", 'slice': (0,... | 65.145349 | 80 | 0.606336 | 1,296 | 11,205 | 4.897377 | 0.081019 | 0.211754 | 0.397038 | 0.529384 | 0.891602 | 0.825272 | 0.729794 | 0.169056 | 0 | 0 | 0 | 0.011781 | 0.136368 | 11,205 | 171 | 81 | 65.526316 | 0.644105 | 0 | 0 | 0 | 0 | 0 | 0.605533 | 0.197233 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
da1d3e26dcbffac081df77e68fb73f56543c180d | 10,374 | py | Python | testing/distributions/gamma_test.py | jnkm/MXFusion | cfe90d22b8359dbbdac23714c06fda150eb8851e | [
"Apache-2.0"
] | null | null | null | testing/distributions/gamma_test.py | jnkm/MXFusion | cfe90d22b8359dbbdac23714c06fda150eb8851e | [
"Apache-2.0"
] | null | null | null | testing/distributions/gamma_test.py | jnkm/MXFusion | cfe90d22b8359dbbdac23714c06fda150eb8851e | [
"Apache-2.0"
] | null | null | null | import pytest
import mxnet as mx
import numpy as np
from mxfusion.components.variables.runtime_variable import add_sample_dimension, is_sampled_array, get_num_samples
from mxfusion.components.distributions import Gamma, GammaMeanVariance
from mxfusion.util.testutils import numpy_array_reshape
from mxfusion.util.testuti... | 55.774194 | 154 | 0.659726 | 1,639 | 10,374 | 3.973154 | 0.059793 | 0.061425 | 0.069103 | 0.04914 | 0.928286 | 0.917844 | 0.913544 | 0.913544 | 0.868704 | 0.855651 | 0 | 0.040792 | 0.201272 | 10,374 | 185 | 155 | 56.075676 | 0.745112 | 0 | 0 | 0.779874 | 0 | 0 | 0.032003 | 0 | 0 | 0 | 0 | 0 | 0.100629 | 1 | 0.025157 | false | 0 | 0.056604 | 0 | 0.08805 | 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 |
da3c052d827df4f221b850a63a37fdfd5d5de8a3 | 124 | py | Python | icevision/models/rcnn/mask_rcnn/fastai/__init__.py | lee00286/icevision | e696481fc01bd1b9411bcb7ea1853d9e47bb4d04 | [
"Apache-2.0"
] | null | null | null | icevision/models/rcnn/mask_rcnn/fastai/__init__.py | lee00286/icevision | e696481fc01bd1b9411bcb7ea1853d9e47bb4d04 | [
"Apache-2.0"
] | null | null | null | icevision/models/rcnn/mask_rcnn/fastai/__init__.py | lee00286/icevision | e696481fc01bd1b9411bcb7ea1853d9e47bb4d04 | [
"Apache-2.0"
] | null | null | null | from icevision.models.rcnn.mask_rcnn.fastai.callbacks import *
from icevision.models.rcnn.mask_rcnn.fastai.learner import *
| 41.333333 | 62 | 0.83871 | 18 | 124 | 5.666667 | 0.5 | 0.254902 | 0.372549 | 0.45098 | 0.72549 | 0.72549 | 0.72549 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 124 | 2 | 63 | 62 | 0.87931 | 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 | 1 | 0 | 1 | 1 | 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 | 10 |
da4477c537ff7b8e857a6f5f890b92eb61efe7f8 | 4,486 | py | Python | AML/HW3/utils/utils.py | ZRZ-Unknow/20fall-CourseNote | e20735fd1ca0949eaa1c50d5cd84f147ec714404 | [
"MIT"
] | null | null | null | AML/HW3/utils/utils.py | ZRZ-Unknow/20fall-CourseNote | e20735fd1ca0949eaa1c50d5cd84f147ec714404 | [
"MIT"
] | null | null | null | AML/HW3/utils/utils.py | ZRZ-Unknow/20fall-CourseNote | e20735fd1ca0949eaa1c50d5cd84f147ec714404 | [
"MIT"
] | null | null | null | import numpy as np
import os
from bidict import bidict
def load_data(shared_nums):
""" Return:
data: list, each of it is a numpy array of shape (k,321)
label: list, each of it is a numpy array of shape (k,)
"""
train_path, test_path = './Dataset/train/', './Dataset/test/'
train_data, train_data... | 40.414414 | 79 | 0.494204 | 613 | 4,486 | 3.412724 | 0.107667 | 0.060229 | 0.022945 | 0.042065 | 0.949331 | 0.949331 | 0.949331 | 0.949331 | 0.949331 | 0.949331 | 0 | 0.013177 | 0.374053 | 4,486 | 111 | 80 | 40.414414 | 0.731838 | 0.026527 | 0 | 0.952381 | 0 | 0 | 0.017019 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 1 | 0.019048 | false | 0 | 0.028571 | 0 | 0.066667 | 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 |
e57a53c6f5696d5a33e7d839ff2a9cb22bdedfb4 | 37,607 | py | Python | signatureanalyzer/plotting/_muts.py | getzlab/getzlab-SignatureAnalyzer | 19a00a73195ba011913eefb818997d98e8d7485e | [
"MIT"
] | 5 | 2021-11-23T16:19:22.000Z | 2022-01-30T01:36:41.000Z | signatureanalyzer/plotting/_muts.py | getzlab/SignatureAnalyzer | 19a00a73195ba011913eefb818997d98e8d7485e | [
"MIT"
] | 10 | 2021-11-06T16:49:58.000Z | 2022-02-08T09:52:43.000Z | signatureanalyzer/plotting/_muts.py | getzlab/SignatureAnalyzer | 19a00a73195ba011913eefb818997d98e8d7485e | [
"MIT"
] | 6 | 2021-11-09T04:34:15.000Z | 2022-03-23T19:43:52.000Z | import itertools
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
import seaborn as sns
import pandas as pd
from typing import Union
import numpy as np
import re
import sys
from ..utils import compl, sbs_annotation_converter
from ..context import context96, context78, context83, context1536, cont... | 45.038323 | 175 | 0.521525 | 4,642 | 37,607 | 4.105773 | 0.079922 | 0.022194 | 0.034629 | 0.055249 | 0.850097 | 0.841125 | 0.833412 | 0.820662 | 0.794165 | 0.776851 | 0 | 0.0456 | 0.325312 | 37,607 | 834 | 176 | 45.092326 | 0.705553 | 0.103757 | 0 | 0.7589 | 0 | 0 | 0.087473 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017799 | false | 0 | 0.017799 | 0 | 0.056634 | 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 |
e58356b46f2ead7e587f1c609f397d4868a64a3d | 1,468 | py | Python | lib/models/__init__.py | simonwey/DecoupleNet | 3e9e09d512230cb0d95e9db98c5838ca9ff799da | [
"Apache-2.0"
] | null | null | null | lib/models/__init__.py | simonwey/DecoupleNet | 3e9e09d512230cb0d95e9db98c5838ca9ff799da | [
"Apache-2.0"
] | null | null | null | lib/models/__init__.py | simonwey/DecoupleNet | 3e9e09d512230cb0d95e9db98c5838ca9ff799da | [
"Apache-2.0"
] | null | null | null | # ------------------------------------------------------------------------------
# Copyright (c) Microsoft
# Licensed under the MIT License.
# Written by Bin Xiao (Bin.Xiao@microsoft.com)
# ------------------------------------------------------------------------------
from __future__ import absolute_import
from __futu... | 33.363636 | 80 | 0.782016 | 212 | 1,468 | 4.962264 | 0.235849 | 0.213878 | 0.356464 | 0.451521 | 0.814639 | 0.606464 | 0.391635 | 0.157795 | 0.157795 | 0.157795 | 0 | 0.001463 | 0.068801 | 1,468 | 44 | 81 | 33.363636 | 0.768105 | 0.175749 | 0 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.064516 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f91a6e0bb839f94d245991ac0a6930fd11de218e | 1,753 | py | Python | tests/unit/test_cname_validator.py | cloud-gov/domain-broker | d1161cecd971202cb10449a29fedb83ef3cd83b0 | [
"CC0-1.0"
] | 5 | 2020-04-28T01:40:43.000Z | 2021-03-27T21:34:14.000Z | tests/unit/test_cname_validator.py | cloud-gov/external-domain-broker | 7136ac0c10f5950315b77eddca60512129d4078d | [
"CC0-1.0"
] | 124 | 2020-04-23T20:24:15.000Z | 2022-02-28T16:59:34.000Z | tests/unit/test_cname_validator.py | cloud-gov/domain-broker | d1161cecd971202cb10449a29fedb83ef3cd83b0 | [
"CC0-1.0"
] | 1 | 2020-06-10T02:43:21.000Z | 2020-06-10T02:43:21.000Z | import openbrokerapi
import pytest
from broker.validators import CNAME
def test_one_layer_of_cnames(dns):
dns.add_cname("_acme-challenge.foo.example.gov")
# we're just making sure we don't raise an exception here
CNAME(["foo.example.gov"]).validate()
def test_two_layers_of_cnames(dns):
dns.add_cnam... | 33.075472 | 158 | 0.689104 | 244 | 1,753 | 4.782787 | 0.217213 | 0.188518 | 0.144816 | 0.177378 | 0.844045 | 0.749786 | 0.749786 | 0.720651 | 0.720651 | 0.720651 | 0 | 0 | 0.174558 | 1,753 | 52 | 159 | 33.711538 | 0.806496 | 0.127211 | 0 | 0.410256 | 0 | 0.025641 | 0.460984 | 0.396721 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102564 | false | 0 | 0.076923 | 0 | 0.179487 | 0 | 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 |
f9249922359bc54dc90ea1e068b745309bf9091a | 17,694 | py | Python | tests/functional/modules/ims_catalog/test_catalog_managed_acbs.py | thedoubl3j/ibm_zos_ims | 89ca4e80e4b6592807b96f8b329a10d149e0c4a3 | [
"Apache-2.0"
] | 7 | 2020-05-13T15:57:44.000Z | 2022-01-15T00:30:10.000Z | tests/functional/modules/ims_catalog/test_catalog_managed_acbs.py | thedoubl3j/ibm_zos_ims | 89ca4e80e4b6592807b96f8b329a10d149e0c4a3 | [
"Apache-2.0"
] | 64 | 2020-04-24T09:40:10.000Z | 2022-03-21T08:51:58.000Z | tests/functional/modules/ims_catalog/test_catalog_managed_acbs.py | thedoubl3j/ibm_zos_ims | 89ca4e80e4b6592807b96f8b329a10d149e0c4a3 | [
"Apache-2.0"
] | 7 | 2020-05-19T02:32:40.000Z | 2021-04-07T07:37:30.000Z | # -*- coding: utf-8 -*-
from __future__ import (absolute_import, division, print_function)
import pytest
import re
from math import ceil
from pprint import pprint
from ibm_zos_ims.tests.functional.module_utils.ims_test_catalog_utils import CatalogInputParameters as cp # pylint: disable=import-error
from ibm_zos_ims.t... | 37.566879 | 138 | 0.575167 | 1,957 | 17,694 | 4.938682 | 0.106796 | 0.019659 | 0.045008 | 0.035178 | 0.843559 | 0.837765 | 0.805691 | 0.791723 | 0.791723 | 0.752509 | 0 | 0.012847 | 0.335707 | 17,694 | 470 | 139 | 37.646809 | 0.809427 | 0.070306 | 0 | 0.783422 | 0 | 0 | 0.063363 | 0.001317 | 0 | 0 | 0 | 0 | 0.05615 | 1 | 0.032086 | false | 0 | 0.018717 | 0.010695 | 0.064171 | 0.008021 | 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 |
006d62c417c8c534371527306d103d08ee138f13 | 48 | py | Python | gevent_ticker/__init__.py | segmentio/gevent-ticker | a7f353f8cc61190432e08efe2524fe1f2f0a277e | [
"MIT"
] | 2 | 2020-10-21T03:24:45.000Z | 2021-02-13T02:56:15.000Z | gevent_ticker/__init__.py | tejasmanohar/gevent-ticker | a7f353f8cc61190432e08efe2524fe1f2f0a277e | [
"MIT"
] | null | null | null | gevent_ticker/__init__.py | tejasmanohar/gevent-ticker | a7f353f8cc61190432e08efe2524fe1f2f0a277e | [
"MIT"
] | 2 | 2017-05-06T01:55:56.000Z | 2018-08-04T19:09:47.000Z | from gevent_ticker.ticker import Ticker, ticker
| 24 | 47 | 0.854167 | 7 | 48 | 5.714286 | 0.571429 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 1 | 48 | 48 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 0 | 7 |
006d93031c44c6db00cbb57c56e99ec94020c96a | 10,078 | py | Python | features/feature_generation_strategy-2.py | jmrozanec/features-generator | 0772394cf1c4a56a88c8a8faba2e5c84b4b2883f | [
"Apache-2.0"
] | 3 | 2018-07-19T14:37:37.000Z | 2021-06-03T12:44:22.000Z | features/feature_generation_strategy-2.py | jmrozanec/features-generator | 0772394cf1c4a56a88c8a8faba2e5c84b4b2883f | [
"Apache-2.0"
] | null | null | null | features/feature_generation_strategy-2.py | jmrozanec/features-generator | 0772394cf1c4a56a88c8a8faba2e5c84b4b2883f | [
"Apache-2.0"
] | 2 | 2020-02-22T20:14:48.000Z | 2020-12-03T19:42:03.000Z | from sklearn.base import BaseEstimator, TransformerMixin
from sklearn.decomposition import PCA, TruncatedSVD, FastICA
from sklearn.random_projection import GaussianRandomProjection, SparseRandomProjection
import abc
class ColumnBasedFeatureGenerationStrategyAbstract(BaseEstimator, TransformerMixin):
"""Provides ab... | 44.791111 | 93 | 0.701528 | 1,060 | 10,078 | 6.568868 | 0.083019 | 0.16085 | 0.092489 | 0.124659 | 0.875054 | 0.866724 | 0.860261 | 0.825793 | 0.80856 | 0.80856 | 0 | 0.027223 | 0.179897 | 10,078 | 224 | 94 | 44.991071 | 0.815245 | 0.030363 | 0 | 0.652695 | 0 | 0 | 0.00987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.257485 | false | 0 | 0.023952 | 0.143713 | 0.592814 | 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 | 1 | 1 | 0 | 0 | 9 |
00d277881da6c7740628d87860298f8d20c20e62 | 2,618 | py | Python | bin/SchemaUpgrade/versions/4c7ab7d3b46c_version_0_68_007.py | Middlecon/DBImport | 8f19776a5f6a6e5d6eebe5c312432b8058a2e579 | [
"Apache-2.0"
] | 10 | 2019-05-22T04:17:02.000Z | 2021-12-05T16:54:08.000Z | bin/SchemaUpgrade/versions/4c7ab7d3b46c_version_0_68_007.py | Middlecon/DBImport | 8f19776a5f6a6e5d6eebe5c312432b8058a2e579 | [
"Apache-2.0"
] | 73 | 2019-05-22T04:19:24.000Z | 2022-01-18T05:09:26.000Z | bin/SchemaUpgrade/versions/4c7ab7d3b46c_version_0_68_007.py | BerryOsterlund/DBImport | aa5f4599834985266fc0bf211f9bb8b348f6ae8e | [
"Apache-2.0"
] | 5 | 2020-05-19T23:46:56.000Z | 2021-11-12T12:02:37.000Z | """Version 0.68.007
Revision ID: 4c7ab7d3b46c
Revises: e317884da580
Create Date: 2021-10-22 06:59:47.134546
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql
from sqlalchemy import Enum
# revision identifiers, used by Alembic.
revision = '4c7ab7d3b46c'
down_revision = 'e317884... | 33.139241 | 200 | 0.776547 | 373 | 2,618 | 5.217158 | 0.217158 | 0.073998 | 0.131552 | 0.180884 | 0.720452 | 0.720452 | 0.720452 | 0.720452 | 0.720452 | 0.720452 | 0 | 0.04211 | 0.101986 | 2,618 | 78 | 201 | 33.564103 | 0.785623 | 0.055386 | 0 | 0.727273 | 0 | 0.018182 | 0.354302 | 0.00974 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036364 | false | 0 | 0.109091 | 0 | 0.145455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 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 |
dab409c26c446c8c916964d21d27ce04b336251f | 67 | py | Python | app/github_client/services/__init__.py | TennaGraph/TennaGraph | 002998d94300ee67168f1a8164c0e6bc86836e1f | [
"Apache-2.0"
] | 7 | 2018-11-13T17:39:15.000Z | 2019-03-27T04:55:24.000Z | app/github_client/services/__init__.py | TennaGraph/TennaGraph | 002998d94300ee67168f1a8164c0e6bc86836e1f | [
"Apache-2.0"
] | 72 | 2018-11-09T14:20:25.000Z | 2020-06-05T19:28:19.000Z | app/github_client/services/__init__.py | TennaGraph/TennaGraph | 002998d94300ee67168f1a8164c0e6bc86836e1f | [
"Apache-2.0"
] | 3 | 2018-11-19T19:10:39.000Z | 2019-08-23T20:52:23.000Z | from .git_hub_eip import GitHubEIP
from .git_hub_db import GitHubDB | 33.5 | 34 | 0.865672 | 12 | 67 | 4.5 | 0.666667 | 0.259259 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 67 | 2 | 35 | 33.5 | 0.9 | 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 |
972d0669a83e8c48e6074096337432084049f87c | 1,701 | py | Python | dataset/prepare_SIG17.py | Susmit-A/FSHDR | 45dfbe7783b2a5859bbe8653761058b9ee207a01 | [
"MIT"
] | 6 | 2021-07-26T17:41:26.000Z | 2021-12-31T09:56:55.000Z | dataset/prepare_SIG17.py | Susmit-A/FSHDR | 45dfbe7783b2a5859bbe8653761058b9ee207a01 | [
"MIT"
] | 4 | 2021-07-27T13:42:45.000Z | 2022-03-20T11:31:29.000Z | dataset/prepare_SIG17.py | Susmit-A/FSHDR | 45dfbe7783b2a5859bbe8653761058b9ee207a01 | [
"MIT"
] | 1 | 2021-12-05T13:35:08.000Z | 2021-12-05T13:35:08.000Z | import shutil, os, glob
src = 'train'
dst = 'SIG17/train'
if not os.path.exists('SIG17'):
os.mkdir('SIG17')
os.mkdir(dst)
elif not os.path.exists(dst):
os.mkdir(dst)
count = 1
for s in glob.glob(src + '/*'):
d = dst + '/{:03d}'.format(count)
if not os.path.exists(d):
os.mkdir(d... | 35.4375 | 71 | 0.579659 | 255 | 1,701 | 3.756863 | 0.172549 | 0.189979 | 0.203549 | 0.169102 | 0.837161 | 0.769311 | 0.769311 | 0.769311 | 0.769311 | 0.769311 | 0 | 0.018925 | 0.223398 | 1,701 | 48 | 72 | 35.4375 | 0.706283 | 0 | 0 | 0.690476 | 0 | 0 | 0.328701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.02381 | 0.047619 | 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 |
97c79420701cc4c261d922d84831429edea5e1a7 | 46,438 | py | Python | ub/modules/giftext.py | parv779/javes-3.0 | d510717b2756a65b39ff18d9f53d4adc46d8e23f | [
"MIT"
] | 15 | 2020-12-13T17:37:05.000Z | 2021-06-23T00:00:49.000Z | ub/modules/giftext.py | parv779/javes-3.0 | d510717b2756a65b39ff18d9f53d4adc46d8e23f | [
"MIT"
] | 2 | 2021-01-11T16:39:31.000Z | 2021-01-25T22:35:28.000Z | ub/modules/giftext.py | parv779/javes-3.0 | d510717b2756a65b39ff18d9f53d4adc46d8e23f | [
"MIT"
] | 78 | 2020-12-13T17:52:51.000Z | 2022-03-24T03:43:09.000Z | from ub import bot
from ub import bot as borg
global hawkmoth
#Donot Kang MADE BY @THE_BL_ACK_HAT MODIFIED BY Sh1vam #Team DC#Donot Kang MADE BY @THE_BL_ACK_HAT MODIFIED BY Sh1vam #Team DC#Donot Kang MADE BY @THE_BL_ACK_HAT MODIFIED BY Sh1vam #Team DC#Donot Kang MADE BY @THE_BL_ACK_HAT MODIFIED BY Sh1vam #Team DC#Dono... | 245.703704 | 2,981 | 0.797343 | 9,133 | 46,438 | 3.949852 | 0.0173 | 0.065366 | 0.108943 | 0.057382 | 0.969147 | 0.969147 | 0.969147 | 0.969147 | 0.969147 | 0.969147 | 0 | 0.007663 | 0.176623 | 46,438 | 189 | 2,982 | 245.703704 | 0.935793 | 0.948254 | 0 | 0 | 0 | 0.022222 | 0.236829 | 0.12293 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044444 | false | 0 | 0.133333 | 0 | 0.2 | 0.022222 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
c119cf185ce9eec5f0d57712d5bad209fd85a1c0 | 1,764 | py | Python | test/test_rgb_to_hsl.py | liamwb/colourise | 536b3a9671ef4c4648ef67e1221e1dc5a24c006d | [
"MIT"
] | null | null | null | test/test_rgb_to_hsl.py | liamwb/colourise | 536b3a9671ef4c4648ef67e1221e1dc5a24c006d | [
"MIT"
] | 7 | 2021-11-23T02:53:43.000Z | 2021-12-01T02:01:33.000Z | test/test_rgb_to_hsl.py | liamwb/colourise | 536b3a9671ef4c4648ef67e1221e1dc5a24c006d | [
"MIT"
] | 4 | 2021-04-20T06:07:44.000Z | 2021-11-25T04:19:53.000Z | import unittest
from colourise import rgb2hsl
class TestRGBtoHSL(unittest.TestCase):
def test_primary_colour_red(self):
r, g, b = 255, 0, 0
h, s, l = rgb2hsl(r, g, b)
self.assertEqual(h, 0.0)
self.assertEqual(s, 1.0)
self.assertEqual(l, 0.5)
def test_primary_colour_gre... | 28.918033 | 52 | 0.545918 | 287 | 1,764 | 3.285714 | 0.142857 | 0.33404 | 0.050901 | 0.059385 | 0.834571 | 0.83245 | 0.756098 | 0.756098 | 0.756098 | 0.756098 | 0 | 0.101151 | 0.310658 | 1,764 | 60 | 53 | 29.4 | 0.674342 | 0 | 0 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.470588 | 1 | 0.156863 | false | 0 | 0.039216 | 0 | 0.215686 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c147353fde49824f5bf4a708c341ec64a2d51f57 | 33,481 | py | Python | face_pose_dataset/third_party/fsa_estimator/SSRNET_model.py | samuelbaltanas/face-pose-dataset | 84c864c155ac7c0b231032d403c0e2b2bc10b871 | [
"MIT"
] | 1 | 2020-06-18T07:58:46.000Z | 2020-06-18T07:58:46.000Z | face_pose_dataset/third_party/fsa_estimator/SSRNET_model.py | samuelbaltanas/face-pose-dataset | 84c864c155ac7c0b231032d403c0e2b2bc10b871 | [
"MIT"
] | null | null | null | face_pose_dataset/third_party/fsa_estimator/SSRNET_model.py | samuelbaltanas/face-pose-dataset | 84c864c155ac7c0b231032d403c0e2b2bc10b871 | [
"MIT"
] | null | null | null | import logging
import sys
import numpy as np
from tensorflow.keras import backend as K
from tensorflow.keras import layers
from tensorflow.keras.layers import (
AveragePooling2D,
BatchNormalization,
Conv2D,
MaxPooling2D,
SeparableConv2D,
)
from tensorflow.keras.models import Model
sys.setrecursion... | 40.681652 | 131 | 0.49655 | 4,064 | 33,481 | 3.830463 | 0.030758 | 0.060256 | 0.04471 | 0.046252 | 0.962999 | 0.955097 | 0.95105 | 0.95105 | 0.941093 | 0.922079 | 0 | 0.053857 | 0.284042 | 33,481 | 822 | 132 | 40.731144 | 0.595553 | 0.104029 | 0 | 0.781109 | 0 | 0 | 0.04587 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017991 | false | 0 | 0.010495 | 0 | 0.046477 | 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 |
c1540d6e73722c863dfcae0e270e49aa99bf2bc5 | 1,730 | py | Python | misc/deep_learning_notes/Ch3 Advanced Tensorflow/GPU and device management tests/1_simple_GPU_test.py | tmjnow/MoocX | 52c8450ff7ecc8450a8adc2457233d5777a3d5bb | [
"MIT"
] | 7 | 2017-06-13T05:24:15.000Z | 2022-01-09T01:10:28.000Z | misc/deep_learning_notes/Ch3 Advanced Tensorflow/GPU and device management tests/1_simple_GPU_test.py | tmjnow/MoocX | 52c8450ff7ecc8450a8adc2457233d5777a3d5bb | [
"MIT"
] | 11 | 2017-05-08T23:30:50.000Z | 2017-06-24T21:57:42.000Z | misc/deep_learning_notes/Ch3 Advanced Tensorflow/GPU and device management tests/1_simple_GPU_test.py | kinshuk4/MoocX | 52c8450ff7ecc8450a8adc2457233d5777a3d5bb | [
"MIT"
] | 4 | 2017-10-05T12:56:53.000Z | 2020-06-14T17:01:32.000Z | import tensorflow as tf
a = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[2, 3], name='a')
b = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[3, 2], name='b')
c = tf.matmul(a, b)
# Creates a session with log_device_placement set to True.
with tf.Session(config=tf.ConfigProto(log_device_placement=True)) as ses... | 59.655172 | 104 | 0.672254 | 334 | 1,730 | 3.446108 | 0.191617 | 0.14596 | 0.231103 | 0.243267 | 0.827976 | 0.827976 | 0.803649 | 0.803649 | 0.803649 | 0.714162 | 0 | 0.131347 | 0.146243 | 1,730 | 29 | 105 | 59.655172 | 0.647935 | 0.03237 | 0 | 0 | 0 | 0 | 0.006826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 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 |
c17c5ca0e7a53ec874abc54caefe80f5813b59fe | 114 | py | Python | website/discovery/views.py | gaybro8777/osf.io | 30408511510a40bc393565817b343ef5fd76ab14 | [
"Apache-2.0"
] | 628 | 2015-01-15T04:33:22.000Z | 2022-03-30T06:40:10.000Z | website/discovery/views.py | gaybro8777/osf.io | 30408511510a40bc393565817b343ef5fd76ab14 | [
"Apache-2.0"
] | 4,712 | 2015-01-02T01:41:53.000Z | 2022-03-30T14:18:40.000Z | website/discovery/views.py | Johnetordoff/osf.io | de10bf249c46cede04c78f7e6f7e352c69e6e6b5 | [
"Apache-2.0"
] | 371 | 2015-01-12T16:14:08.000Z | 2022-03-31T18:58:29.000Z | from framework.flask import redirect
def redirect_activity_to_search(**kwargs):
return redirect('/search/')
| 19 | 42 | 0.77193 | 14 | 114 | 6.071429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 114 | 5 | 43 | 22.8 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
c18ce0c96127691292000d21a5c5c400076d0c48 | 97 | py | Python | lib/models/mixformer/__init__.py | SangbumChoi/MixFormer | 6a1d215abcf9812a4530ba3930fea74ea5d3c51d | [
"MIT"
] | 103 | 2022-03-21T13:40:05.000Z | 2022-03-31T13:31:06.000Z | lib/models/mixformer/__init__.py | SangbumChoi/MixFormer | 6a1d215abcf9812a4530ba3930fea74ea5d3c51d | [
"MIT"
] | 8 | 2022-03-22T12:33:17.000Z | 2022-03-30T16:12:02.000Z | lib/models/mixformer/__init__.py | SangbumChoi/MixFormer | 6a1d215abcf9812a4530ba3930fea74ea5d3c51d | [
"MIT"
] | 18 | 2022-03-21T13:40:06.000Z | 2022-03-31T19:08:10.000Z | from .mixformer import build_mixformer
from .mixformer_online import build_mixformer_online_score | 48.5 | 58 | 0.907216 | 13 | 97 | 6.384615 | 0.461538 | 0.313253 | 0.481928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072165 | 97 | 2 | 58 | 48.5 | 0.922222 | 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 |
c1b431fad52156e083546e41acd6f14de77de6d9 | 109 | py | Python | common/appenginepatch/ragendja/auth/models.py | westurner/nhs-social-web | 18e1bfa217284add514041db27efe9d6c58ac141 | [
"BSD-3-Clause"
] | 2 | 2017-07-25T17:53:01.000Z | 2018-06-27T10:16:10.000Z | common/appenginepatch/ragendja/auth/models.py | westurner/nhs-social-web | 18e1bfa217284add514041db27efe9d6c58ac141 | [
"BSD-3-Clause"
] | 1 | 2022-01-18T11:30:41.000Z | 2022-01-18T11:30:41.000Z | common/appenginepatch/ragendja/auth/models.py | westurner/nhs-social-web | 18e1bfa217284add514041db27efe9d6c58ac141 | [
"BSD-3-Clause"
] | 1 | 2022-01-18T10:47:55.000Z | 2022-01-18T10:47:55.000Z | from django.contrib.auth.models import *
from django.contrib.auth.models import DjangoCompatibleUser as User
| 36.333333 | 67 | 0.844037 | 15 | 109 | 6.133333 | 0.6 | 0.217391 | 0.369565 | 0.456522 | 0.717391 | 0.717391 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091743 | 109 | 2 | 68 | 54.5 | 0.929293 | 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 | 1 | 0 | 1 | 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 | 9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.