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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3ca8a031e834da99072825ced0345d9b09b41442 | 62,535 | py | Python | ActionFunctions.py | medmatix/DataSciCalc | 0a887ab53824994c7bf7c76a20bd20c7507545f9 | [
"MIT"
] | null | null | null | ActionFunctions.py | medmatix/DataSciCalc | 0a887ab53824994c7bf7c76a20bd20c7507545f9 | [
"MIT"
] | 3 | 2018-09-17T16:41:49.000Z | 2018-11-12T20:52:56.000Z | ActionFunctions.py | medmatix/DataSciCalc | 0a887ab53824994c7bf7c76a20bd20c7507545f9 | [
"MIT"
] | null | null | null | '''
Module: Function Key action methods for DataSciCalc Calculator
Created on Sep 8, 2018
updated Sep 21, 2018 13:46PM
@version: DSC0.019
@license: MIT
@author: David York
@copyright: 2018 David A York
'''
import tkinter as tk
from tkinter import ttk
from tkinter import filedialog, simpledialog
from tkinter import mes... | 34.246988 | 192 | 0.549916 | 7,907 | 62,535 | 4.33034 | 0.071709 | 0.039282 | 0.017523 | 0.042056 | 0.808207 | 0.781513 | 0.765975 | 0.749095 | 0.738551 | 0.723014 | 0 | 0.008707 | 0.329639 | 62,535 | 1,825 | 193 | 34.265753 | 0.808068 | 0.165667 | 0 | 0.639717 | 0 | 0.00314 | 0.083691 | 0 | 0.00157 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.00471 | 0.016484 | 0 | 0.145212 | 0.139717 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3caf4212a67abef07e822000856cb8387ace32d9 | 22 | py | Python | scarlet_extensions/initialization/__init__.py | gcmshadow/scarlet_extensions | 49b37166fd648c628fec7aa3adcbb77bc0a45ad4 | [
"MIT"
] | 5 | 2018-07-10T12:30:12.000Z | 2022-03-30T18:04:17.000Z | scarlet_extensions/initialization/__init__.py | gcmshadow/scarlet_extensions | 49b37166fd648c628fec7aa3adcbb77bc0a45ad4 | [
"MIT"
] | 3 | 2018-07-03T23:34:42.000Z | 2018-07-04T00:52:20.000Z | knoxdata/__init__.py | knoxdata/knoxville-opendata-notebooks | 5035b6dcbf02186ddac7bd53c89f592f877384d7 | [
"MIT"
] | 2 | 2018-06-29T19:46:30.000Z | 2018-07-26T14:04:47.000Z | from .source import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a72b83610582a6be29d959fffae10843d6a7f86c | 191 | py | Python | rule_surrogate/server/__init__.py | myaooo/rule-surrogate | 3f909062eef86419d86a9d8056521e9be519d537 | [
"MIT"
] | null | null | null | rule_surrogate/server/__init__.py | myaooo/rule-surrogate | 3f909062eef86419d86a9d8056521e9be519d537 | [
"MIT"
] | null | null | null | rule_surrogate/server/__init__.py | myaooo/rule-surrogate | 3f909062eef86419d86a9d8056521e9be519d537 | [
"MIT"
] | null | null | null | from rule_surrogate.server.model_cache import get_model, available_models, get_model_data
from rule_surrogate.server.app import app, HashableList
from rule_surrogate.server.routes import *
| 31.833333 | 89 | 0.858639 | 28 | 191 | 5.571429 | 0.5 | 0.153846 | 0.326923 | 0.442308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089005 | 191 | 5 | 90 | 38.2 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5976ee8eded046b809420908fee9db01f74e6cba | 195 | py | Python | api/v1/session/message.py | anthill-gaming/exec | d3360d71f51ae7d8d5795926df6c904da3f31bc6 | [
"MIT"
] | null | null | null | api/v1/session/message.py | anthill-gaming/exec | d3360d71f51ae7d8d5795926df6c904da3f31bc6 | [
"MIT"
] | null | null | null | api/v1/session/message.py | anthill-gaming/exec | d3360d71f51ae7d8d5795926df6c904da3f31bc6 | [
"MIT"
] | null | null | null | from anthill.platform.api.internal import connector
from functools import partial
from .base import session_api
def message_request():
return partial(connector.internal_request, 'message')
| 24.375 | 57 | 0.815385 | 25 | 195 | 6.24 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117949 | 195 | 7 | 58 | 27.857143 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0.035897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.6 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
5994a6fb55a685997355dfe56d9e71977650a679 | 137 | py | Python | pobarajpomosh/auth/__init__.py | MatejMecka/SpeakOut-Backend | 5b2cbd35b60ab3aaa15921077173aa8de7aa60b8 | [
"Apache-2.0"
] | 2 | 2019-06-12T03:16:11.000Z | 2020-05-11T22:45:22.000Z | pobarajpomosh/auth/__init__.py | MatejMecka/SpeakOut-Backend | 5b2cbd35b60ab3aaa15921077173aa8de7aa60b8 | [
"Apache-2.0"
] | null | null | null | pobarajpomosh/auth/__init__.py | MatejMecka/SpeakOut-Backend | 5b2cbd35b60ab3aaa15921077173aa8de7aa60b8 | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint
auth_bp = Blueprint('auth', __name__)
from pobarajpomosh.auth import views
import pobarajpomosh.auth.models
| 22.833333 | 37 | 0.824818 | 18 | 137 | 6 | 0.555556 | 0.240741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109489 | 137 | 5 | 38 | 27.4 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
59e6b5ce93faf7af1380b63367a7fc7af018c066 | 24,048 | py | Python | models.py | xiaosha007/Saliency-retargeting | 3b81d745e71caac470cb00e0b0dc0b45c605bffa | [
"MIT"
] | null | null | null | models.py | xiaosha007/Saliency-retargeting | 3b81d745e71caac470cb00e0b0dc0b45c605bffa | [
"MIT"
] | null | null | null | models.py | xiaosha007/Saliency-retargeting | 3b81d745e71caac470cb00e0b0dc0b45c605bffa | [
"MIT"
] | null | null | null | import tensorflow as tf
import tensorflow_addons as tfa
from custom_layers import ReflectionPadding2D, ResizeLayer, SqueezeExciteBlock
class DSR_Base(tf.keras.Model):
def __init__(self, **kwargs):
super(DSR_Base, self).__init__(**kwargs)
# Encoder)
self.conv1_1 = tf.keras.layers.Conv2D... | 47.904382 | 149 | 0.642673 | 3,235 | 24,048 | 4.609583 | 0.038331 | 0.076985 | 0.139485 | 0.0739 | 0.925899 | 0.918924 | 0.896929 | 0.869367 | 0.832484 | 0.780378 | 0 | 0.071972 | 0.218272 | 24,048 | 501 | 150 | 48 | 0.721262 | 0.004491 | 0 | 0.607229 | 0 | 0 | 0.037656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019277 | false | 0 | 0.007229 | 0 | 0.045783 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
abb1c00839feac6bfac896eb4e4751dfdc6a37c8 | 25,839 | py | Python | sdss_catl_utils/models/tests/test_download_manager.py | vcalderon2009/sdss_catl_utils | 9bfa3ae062112535aca18967fb5896c29173e3b0 | [
"BSD-3-Clause"
] | null | null | null | sdss_catl_utils/models/tests/test_download_manager.py | vcalderon2009/sdss_catl_utils | 9bfa3ae062112535aca18967fb5896c29173e3b0 | [
"BSD-3-Clause"
] | null | null | null | sdss_catl_utils/models/tests/test_download_manager.py | vcalderon2009/sdss_catl_utils | 9bfa3ae062112535aca18967fb5896c29173e3b0 | [
"BSD-3-Clause"
] | null | null | null | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# Victor Calderon
# Created : 2018-12-24
# Last Modified: 2018-12-24
# Vanderbilt University
from __future__ import (absolute_import, division, print_function )
__author__ = ['Victor Calderon']
__copyright__ = ["Copyright 2018 Victor Calderon, 2018"]
__email__ ... | 45.81383 | 191 | 0.59356 | 3,480 | 25,839 | 4.249425 | 0.077299 | 0.006762 | 0.019881 | 0.039086 | 0.877739 | 0.864552 | 0.861509 | 0.859278 | 0.848323 | 0.834055 | 0 | 0.039019 | 0.255118 | 25,839 | 563 | 192 | 45.895204 | 0.729308 | 0.556755 | 0 | 0.354037 | 0 | 0.062112 | 0.288179 | 0.119787 | 0 | 0 | 0 | 0 | 0.006211 | 1 | 0.024845 | false | 0 | 0.031056 | 0 | 0.055901 | 0.006211 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
abba9b8544636bcc8ba6cfbf7fa5de98fce57410 | 60,893 | py | Python | burpui/api/admin.py | PaliPalo/burp-ui | affbed705f5b35a630ca1a96c01e6dea1bfbeddb | [
"BSD-3-Clause"
] | 93 | 2015-02-10T16:01:46.000Z | 2021-12-02T21:21:42.000Z | burpui/api/admin.py | PaliPalo/burp-ui | affbed705f5b35a630ca1a96c01e6dea1bfbeddb | [
"BSD-3-Clause"
] | 5 | 2015-12-18T19:34:46.000Z | 2021-09-17T14:18:10.000Z | burpui/api/admin.py | PaliPalo/burp-ui | affbed705f5b35a630ca1a96c01e6dea1bfbeddb | [
"BSD-3-Clause"
] | 17 | 2015-09-21T22:24:05.000Z | 2021-10-01T14:28:47.000Z | # -*- coding: utf8 -*-
"""
.. module:: burpui.api.admin
:platform: Unix
:synopsis: Burp-UI admin api module.
.. moduleauthor:: Ziirish <hi+burpui@ziirish.me>
"""
from . import api
from ..engines.server import BUIServer # noqa
from ..sessions import session_manager
from ..misc.acl.meta import meta_grants
from... | 31.981618 | 88 | 0.574549 | 6,699 | 60,893 | 5.138976 | 0.042544 | 0.036165 | 0.016034 | 0.01708 | 0.819032 | 0.801458 | 0.759629 | 0.733022 | 0.702492 | 0.675652 | 0 | 0.01705 | 0.309412 | 60,893 | 1,903 | 89 | 31.998424 | 0.801603 | 0.098583 | 0 | 0.604555 | 0 | 0 | 0.200279 | 0.010536 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024155 | false | 0.008282 | 0.006901 | 0 | 0.083506 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f9fdd562e1f3744ccd1957ac05a22721315aee90 | 51 | py | Python | src/deep_dialog/usersims/__init__.py | Ambitioner-c/UserSimulator | 9e32bd04e93464c02d86e8e3afb6998cd70ac57f | [
"MIT"
] | 1 | 2020-10-13T01:15:58.000Z | 2020-10-13T01:15:58.000Z | src/deep_dialog/usersims/__init__.py | Ambitioner-c/UserSimulator | 9e32bd04e93464c02d86e8e3afb6998cd70ac57f | [
"MIT"
] | null | null | null | src/deep_dialog/usersims/__init__.py | Ambitioner-c/UserSimulator | 9e32bd04e93464c02d86e8e3afb6998cd70ac57f | [
"MIT"
] | null | null | null | from .usersim_rule import *
from .usersim import *
| 17 | 27 | 0.764706 | 7 | 51 | 5.428571 | 0.571429 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 2 | 28 | 25.5 | 0.883721 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e64dcc220d653ea686e027e8ea5ddd155b5a8293 | 247 | py | Python | Functions/SimpleFunctions.py | fawq/NeuralNetworks | 67342cc2ae2311c490d83e51053b303a0075cc62 | [
"MIT"
] | 1 | 2019-03-05T12:36:59.000Z | 2019-03-05T12:36:59.000Z | Functions/SimpleFunctions.py | fawq/NeuralNetworks | 67342cc2ae2311c490d83e51053b303a0075cc62 | [
"MIT"
] | null | null | null | Functions/SimpleFunctions.py | fawq/NeuralNetworks | 67342cc2ae2311c490d83e51053b303a0075cc62 | [
"MIT"
] | null | null | null | import numpy as np
def sigmoid(x, derivative=False):
return (1 / (1 + np.exp(-x))) if derivative is False else sigmoid(x) * (1 - sigmoid(x))
def relu(x, derivative=False):
return max(0, x) if derivative is False else 1 if x > 0 else 0
| 24.7 | 91 | 0.65587 | 45 | 247 | 3.6 | 0.4 | 0.148148 | 0.197531 | 0.271605 | 0.296296 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0.036082 | 0.214575 | 247 | 9 | 92 | 27.444444 | 0.798969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e660a7424a8a89a3339f26c9648447f6ff6b22dd | 23 | py | Python | prestic/__init__.py | ducalex/prestic | ff6436f5eaccb74863337ae75829ff75b89dc360 | [
"MIT"
] | 6 | 2020-10-27T07:23:47.000Z | 2022-01-15T10:13:22.000Z | prestic/__init__.py | ducalex/prestic | ff6436f5eaccb74863337ae75829ff75b89dc360 | [
"MIT"
] | 1 | 2021-01-04T20:53:24.000Z | 2021-01-04T20:53:24.000Z | prestic/__init__.py | ducalex/prestic | ff6436f5eaccb74863337ae75829ff75b89dc360 | [
"MIT"
] | 2 | 2021-01-04T15:23:08.000Z | 2022-01-15T11:34:44.000Z | from .prestic import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0511536eb1de1528acb3c5dacd15d83ce85721a3 | 267 | py | Python | hivemind/client/__init__.py | ploshkin/hivemind | 7bb656567417895e9f1d8684a0c0e9ef4e4de25d | [
"MIT"
] | null | null | null | hivemind/client/__init__.py | ploshkin/hivemind | 7bb656567417895e9f1d8684a0c0e9ef4e4de25d | [
"MIT"
] | null | null | null | hivemind/client/__init__.py | ploshkin/hivemind | 7bb656567417895e9f1d8684a0c0e9ef4e4de25d | [
"MIT"
] | null | null | null | from hivemind.client.expert import RemoteExpert
from hivemind.client.moe import RemoteMixtureOfExperts
from hivemind.client.averaging import DecentralizedAverager
from hivemind.client.optim import ParameterAveragingOptimizer, DecentralizedSGD, CollaborativeOptimizer
| 53.4 | 103 | 0.895131 | 26 | 267 | 9.192308 | 0.538462 | 0.200837 | 0.301255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067416 | 267 | 4 | 104 | 66.75 | 0.959839 | 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 | 0 | 0 | 0 | 6 |
05843a3006b0e6b96d5b6c8e393225ae739a55da | 132 | py | Python | src/python/basics/basics1.py | ptyagicodecamp/allgorythms | 8d92d20110d273ee69651a3da3f442c96e165158 | [
"MIT"
] | 3 | 2020-10-01T16:55:21.000Z | 2021-07-07T10:42:56.000Z | src/python/basics/basics1.py | ptyagicodecamp/allgorythms | 8d92d20110d273ee69651a3da3f442c96e165158 | [
"MIT"
] | null | null | null | src/python/basics/basics1.py | ptyagicodecamp/allgorythms | 8d92d20110d273ee69651a3da3f442c96e165158 | [
"MIT"
] | 3 | 2020-12-09T23:44:05.000Z | 2022-02-12T07:04:39.000Z | '''
print("Hello Programming !")
help("keywords")
'''
print("Hello Programming !"); print("Hello World !");print("Hello Python !") | 18.857143 | 76 | 0.643939 | 14 | 132 | 6.071429 | 0.5 | 0.470588 | 0.494118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 132 | 7 | 76 | 18.857143 | 0.726496 | 0.348485 | 0 | 0 | 0 | 0 | 0.582278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
5593fa9cbcfd6742e1f494f16c3da8d489f5240b | 199 | py | Python | Lesson5/main5.py | NeuPasha/PythonBasics | f4642b6fb7fbac9121c58bd8f65bc520c39ecafb | [
"MIT"
] | null | null | null | Lesson5/main5.py | NeuPasha/PythonBasics | f4642b6fb7fbac9121c58bd8f65bc520c39ecafb | [
"MIT"
] | null | null | null | Lesson5/main5.py | NeuPasha/PythonBasics | f4642b6fb7fbac9121c58bd8f65bc520c39ecafb | [
"MIT"
] | null | null | null | import divisor_master
print(divisor_master.if_simple(7))
print(divisor_master.divisors(1000))
print(divisor_master.biggest(70))
print(divisor_master.simple_m(91))
print(divisor_master.biggest_d(93)) | 28.428571 | 36 | 0.839196 | 31 | 199 | 5.096774 | 0.483871 | 0.493671 | 0.56962 | 0.316456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057292 | 0.035176 | 199 | 7 | 37 | 28.428571 | 0.765625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.833333 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
55a7d2c2ca0f1ef60f335e732286ff1fca52fad4 | 1,643 | py | Python | src/utils/responseUtils.py | Ordergoras/backend | e2f7681628e71e86643e6080df39e1a72d6fc355 | [
"MIT"
] | null | null | null | src/utils/responseUtils.py | Ordergoras/backend | e2f7681628e71e86643e6080df39e1a72d6fc355 | [
"MIT"
] | null | null | null | src/utils/responseUtils.py | Ordergoras/backend | e2f7681628e71e86643e6080df39e1a72d6fc355 | [
"MIT"
] | null | null | null | import json
from typing import Dict, List
from flask import Response, jsonify
from src.utils.globals import ACCESS_TOKEN_LIFETIME
def create200Response(message: str, newAccessToken: str = None) -> Response:
response = Response(json.dumps({'message': message}), status=200)
if newAccessToken is not None:
... | 41.075 | 104 | 0.749848 | 191 | 1,643 | 6.335079 | 0.225131 | 0.099174 | 0.094215 | 0.119835 | 0.805785 | 0.775207 | 0.775207 | 0.775207 | 0.775207 | 0.775207 | 0 | 0.019397 | 0.152769 | 1,643 | 39 | 105 | 42.128205 | 0.849856 | 0 | 0 | 0.517241 | 0 | 0 | 0.050517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.172414 | false | 0 | 0.137931 | 0 | 0.482759 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e976ec6f47cf9b983a8ac13461c4deff248fbe4c | 2,398 | py | Python | tests/scripts/test_clickgen_script.py | KaizIqbal/clickgen | cab0d0c005c7714cb0271809745a2dae321aa7eb | [
"MIT"
] | 2 | 2020-06-06T03:34:29.000Z | 2020-07-29T06:47:23.000Z | tests/scripts/test_clickgen_script.py | KaizIqbal/clickgen | cab0d0c005c7714cb0271809745a2dae321aa7eb | [
"MIT"
] | null | null | null | tests/scripts/test_clickgen_script.py | KaizIqbal/clickgen | cab0d0c005c7714cb0271809745a2dae321aa7eb | [
"MIT"
] | null | null | null | import argparse
from unittest import mock
from clickgen.parser.png import DELAY, SIZES
from clickgen.scripts.clickgen import main
def test_clickgen_all_cursor_build(samples_dir, x11_tmp_dir, hotspot):
fp = samples_dir / "pngs/pointer.png"
with open(fp, "rb") as f:
with mock.patch(
"argpar... | 29.975 | 80 | 0.524187 | 252 | 2,398 | 4.781746 | 0.230159 | 0.06639 | 0.059751 | 0.106224 | 0.742739 | 0.742739 | 0.742739 | 0.742739 | 0.742739 | 0.711203 | 0 | 0.018792 | 0.378649 | 2,398 | 79 | 81 | 30.35443 | 0.789933 | 0 | 0 | 0.814286 | 0 | 0 | 0.109258 | 0.056714 | 0 | 0 | 0 | 0 | 0.014286 | 1 | 0.057143 | false | 0 | 0.057143 | 0 | 0.114286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e994349285b23ce6c5e068c27b0e098c4f4c1cfd | 1,352 | py | Python | niimpy/EDA/setup_dataframe.py | niima-project/niimpy | 975470507b1f8836d9e29d43601e345612b06a62 | [
"MIT"
] | 5 | 2021-11-23T12:05:23.000Z | 2022-02-11T12:57:50.000Z | niimpy/EDA/setup_dataframe.py | niima-project/niimpy | 975470507b1f8836d9e29d43601e345612b06a62 | [
"MIT"
] | 62 | 2021-07-16T09:17:18.000Z | 2022-03-16T11:27:50.000Z | niimpy/EDA/setup_dataframe.py | niima-project/niimpy | 975470507b1f8836d9e29d43601e345612b06a62 | [
"MIT"
] | 6 | 2021-09-07T13:06:57.000Z | 2022-03-14T11:26:30.000Z | import pandas as pd
def create_dataframe():
"""Create a sample Pandas dataframe used by the test functions.
Returns
-------
df : pandas.DataFrame
Pandas dataframe containing sample data.
"""
dti = pd.date_range("2018-01-01", periods=9, freq="H")
d = {'user': ... | 30.727273 | 110 | 0.559172 | 209 | 1,352 | 3.411483 | 0.253589 | 0.126227 | 0.092567 | 0.067321 | 0.906031 | 0.906031 | 0.906031 | 0.906031 | 0.906031 | 0.880785 | 0 | 0.107212 | 0.241124 | 1,352 | 43 | 111 | 31.44186 | 0.587719 | 0.217456 | 0 | 0.588235 | 0 | 0 | 0.302846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.058824 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7578d78059e784c2dfa85058ce711ca16c433e89 | 10,845 | py | Python | sedinet_models.py | ericslevenson/SediNet | 666ffaa5edc9b83d860aecaab309b12fc55600e9 | [
"MIT"
] | null | null | null | sedinet_models.py | ericslevenson/SediNet | 666ffaa5edc9b83d860aecaab309b12fc55600e9 | [
"MIT"
] | null | null | null | sedinet_models.py | ericslevenson/SediNet | 666ffaa5edc9b83d860aecaab309b12fc55600e9 | [
"MIT"
] | null | null | null |
## Written by Daniel Buscombe,
## MARDA Science
## daniel@mardascience.com
##> Release v1.3 (July 2020)
###===================================================
# import libraries
from sedinet_utils import *
###===================================================
def conv_block2(inp, filters=32, bn=True, pool=True, dr... | 33.266871 | 182 | 0.59207 | 1,319 | 10,845 | 4.721001 | 0.134951 | 0.044965 | 0.017344 | 0.022483 | 0.805043 | 0.788341 | 0.751405 | 0.730047 | 0.730047 | 0.72555 | 0 | 0.0237 | 0.194652 | 10,845 | 325 | 183 | 33.369231 | 0.68926 | 0.644444 | 0 | 0.485714 | 0 | 0 | 0.052676 | 0.011831 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042857 | false | 0 | 0.014286 | 0 | 0.1 | 0.028571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
757eef646153897c5eb1e3d36382831f9528d6fc | 201 | py | Python | util.py | baumartig/paperboy | 01659cda235508eac66a50a9c16c4a6c531015bd | [
"Apache-2.0"
] | 3 | 2015-02-26T06:39:40.000Z | 2017-07-04T14:56:18.000Z | util.py | baumartig/paperboy | 01659cda235508eac66a50a9c16c4a6c531015bd | [
"Apache-2.0"
] | null | null | null | util.py | baumartig/paperboy | 01659cda235508eac66a50a9c16c4a6c531015bd | [
"Apache-2.0"
] | 1 | 2018-02-21T00:12:06.000Z | 2018-02-21T00:12:06.000Z | from datetime import datetime
TIME_FORMAT = "%H:%M"
def parseTime(time_str):
return datetime.strptime(time_str, TIME_FORMAT)
def formatTime(time):
return datetime.strftime(time, TIME_FORMAT) | 22.333333 | 51 | 0.766169 | 28 | 201 | 5.321429 | 0.5 | 0.201342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 201 | 9 | 52 | 22.333333 | 0.856322 | 0 | 0 | 0 | 0 | 0 | 0.024752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
75a14cfe275cfd7b52e98aee717ef95c74694825 | 305 | py | Python | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_14_25Mug.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 33 | 2021-12-15T07:11:47.000Z | 2022-03-29T08:58:32.000Z | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_14_25Mug.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 3 | 2021-12-15T11:39:54.000Z | 2022-03-29T07:24:23.000Z | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_14_25Mug.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | null | null | null | _base_ = "./FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_01_02MasterChefCan.py"
OUTPUT_DIR = "output/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/14_25Mug"
DATASETS = dict(TRAIN=("ycbv_025_mug_train_pbr",))
| 76.25 | 136 | 0.891803 | 42 | 305 | 5.785714 | 0.690476 | 0.090535 | 0.213992 | 0.304527 | 0.559671 | 0.559671 | 0.559671 | 0.559671 | 0.559671 | 0.559671 | 0 | 0.10473 | 0.029508 | 305 | 3 | 137 | 101.666667 | 0.716216 | 0 | 0 | 0 | 0 | 0 | 0.813115 | 0.813115 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
75ab975cf247b8f45dd1a2564d8b207512ff9472 | 96 | py | Python | venv/lib/python3.8/site-packages/rope/base/utils/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/rope/base/utils/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/rope/base/utils/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/69/aa/eb/d77b3fbb320d936e4d512a773780cc6e095a21ea982eba91b630762c30 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
75d372d222449289161b9bc5a3c26c7765d62ab4 | 306 | py | Python | bert/example/exceptions.py | jbcurtin/bert | 956e1647b590ac13b679579231b085895778d807 | [
"MIT"
] | 2 | 2019-08-28T21:39:50.000Z | 2019-12-17T10:53:28.000Z | bert/example/exceptions.py | jbcurtin/bert | 956e1647b590ac13b679579231b085895778d807 | [
"MIT"
] | 19 | 2019-09-04T21:19:12.000Z | 2021-03-28T22:10:32.000Z | bert/example/exceptions.py | jbcurtin/bert | 956e1647b590ac13b679579231b085895778d807 | [
"MIT"
] | 1 | 2019-08-28T21:39:53.000Z | 2019-08-28T21:39:53.000Z | from bert import exceptions as bert_exceptions
class ExampleException(bert_exceptions.BertException):
pass
class ProjectNameRequiredException(ExampleException):
pass
class DirectoryExistsException(ExampleException):
pass
class ProjectRepoInvalidFormatException(ExampleException):
pass
| 20.4 | 58 | 0.830065 | 25 | 306 | 10.08 | 0.48 | 0.107143 | 0.198413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 306 | 14 | 59 | 21.857143 | 0.94382 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.444444 | 0.111111 | 0 | 0.555556 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
75d5c58285aa5d40ee07f4c0248e61beeeebcaf8 | 170 | py | Python | consumer_credit_card.py | muhammeedsari/filter_project | 2de182711851e44d91a91d69dd453020b4a4ca65 | [
"MIT"
] | null | null | null | consumer_credit_card.py | muhammeedsari/filter_project | 2de182711851e44d91a91d69dd453020b4a4ca65 | [
"MIT"
] | null | null | null | consumer_credit_card.py | muhammeedsari/filter_project | 2de182711851e44d91a91d69dd453020b4a4ca65 | [
"MIT"
] | null | null | null | from controller.credit_card_controller import CreditCardController
credit_card_controller = CreditCardController()
credit_card_controller.create_credit_card_customer()
| 28.333333 | 66 | 0.9 | 18 | 170 | 8 | 0.444444 | 0.277778 | 0.416667 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 170 | 5 | 67 | 34 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
75fc0082314197d65e6f500ebdf50f159f5ab530 | 165,816 | py | Python | QChemTool/Development/polarization.py | slamavl/QChemTool | b6b17adf6cfa8ac1db47acba93aab1ee49c1be47 | [
"MIT"
] | null | null | null | QChemTool/Development/polarization.py | slamavl/QChemTool | b6b17adf6cfa8ac1db47acba93aab1ee49c1be47 | [
"MIT"
] | 1 | 2018-01-03T12:08:41.000Z | 2018-01-03T12:08:41.000Z | QChemTool/Development/polarization.py | slamavl/QChemTool | b6b17adf6cfa8ac1db47acba93aab1ee49c1be47 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue Jan 31 14:33:56 2017
@author: Vladislav Sláma
"""
import numpy as np
from copy import deepcopy
from scipy.spatial.distance import pdist,squareform
import os
from ..QuantumChem.Classes.structure import Structure
from ..QuantumChem.calc import identify_molecule
fr... | 51.801312 | 326 | 0.613741 | 22,357 | 165,816 | 4.394552 | 0.039585 | 0.007898 | 0.007023 | 0.00684 | 0.833708 | 0.806624 | 0.777148 | 0.758328 | 0.737738 | 0.725361 | 0 | 0.034527 | 0.263768 | 165,816 | 3,201 | 327 | 51.801312 | 0.770272 | 0.409333 | 0 | 0.592022 | 0 | 0.004199 | 0.129302 | 0.03317 | 0 | 0 | 0 | 0.002812 | 0 | 1 | 0.016795 | false | 0 | 0.013996 | 0 | 0.048985 | 0.069979 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f98d81ae747cfbf08b763b71e666b4f950867a0e | 6,640 | py | Python | test/test_types.py | Josef-Friedrich/lively-lights | 6b601bd7523fc5cd8bb8cacbe9dfd691229333f2 | [
"MIT"
] | null | null | null | test/test_types.py | Josef-Friedrich/lively-lights | 6b601bd7523fc5cd8bb8cacbe9dfd691229333f2 | [
"MIT"
] | null | null | null | test/test_types.py | Josef-Friedrich/lively-lights | 6b601bd7523fc5cd8bb8cacbe9dfd691229333f2 | [
"MIT"
] | null | null | null | import unittest
from lively_lights.types import _range, \
_list, \
_comma, \
brightness, \
hue, \
light_id, \
time, \
... | 25.736434 | 58 | 0.619127 | 810 | 6,640 | 4.855556 | 0.085185 | 0.117468 | 0.21256 | 0.134249 | 0.877447 | 0.852784 | 0.792525 | 0.745741 | 0.680651 | 0.370455 | 0 | 0.044208 | 0.264157 | 6,640 | 257 | 59 | 25.836576 | 0.760745 | 0 | 0 | 0.473988 | 0 | 0 | 0.00753 | 0 | 0 | 0 | 0 | 0 | 0.381503 | 1 | 0.381503 | false | 0 | 0.011561 | 0 | 0.445087 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f9ad3c933237af5c80fd426b9d9d5f887748fe43 | 34 | py | Python | language-model-train/lm/trainer/__init__.py | azagsam/cross-lingual-summarization | 402871dcf7a385cda90914574de24aad7133acf9 | [
"Unlicense"
] | null | null | null | language-model-train/lm/trainer/__init__.py | azagsam/cross-lingual-summarization | 402871dcf7a385cda90914574de24aad7133acf9 | [
"Unlicense"
] | null | null | null | language-model-train/lm/trainer/__init__.py | azagsam/cross-lingual-summarization | 402871dcf7a385cda90914574de24aad7133acf9 | [
"Unlicense"
] | null | null | null | from . import language_model_char
| 17 | 33 | 0.852941 | 5 | 34 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f9ae0be0b5f703b4fe3a5fc3c5ec87262bf60e1c | 37 | py | Python | steamreedem/__init__.py | Sinf0r0s0/Steam-Reedem | 672238081b2c43407d61f5b3fc9c149b1ceeb640 | [
"MIT"
] | null | null | null | steamreedem/__init__.py | Sinf0r0s0/Steam-Reedem | 672238081b2c43407d61f5b3fc9c149b1ceeb640 | [
"MIT"
] | null | null | null | steamreedem/__init__.py | Sinf0r0s0/Steam-Reedem | 672238081b2c43407d61f5b3fc9c149b1ceeb640 | [
"MIT"
] | null | null | null | from .steamreedem import Steamreedem
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f9d338d0de128f1ea414f1a2e8a396bdee59ab29 | 103 | py | Python | clusterval/datasets/__init__.py | Nuno09/clusterval | 4844fd75a658b7ced6c78e4f79f0b308870f9adf | [
"BSD-2-Clause"
] | 3 | 2020-11-27T10:49:40.000Z | 2021-12-13T02:52:29.000Z | clusterval/datasets/__init__.py | Nuno09/clusterval | 4844fd75a658b7ced6c78e4f79f0b308870f9adf | [
"BSD-2-Clause"
] | null | null | null | clusterval/datasets/__init__.py | Nuno09/clusterval | 4844fd75a658b7ced6c78e4f79f0b308870f9adf | [
"BSD-2-Clause"
] | null | null | null | from clusterval.datasets.datasets import load_vote_repub, load_animals, load_khan_train, load_khan_test | 103 | 103 | 0.893204 | 16 | 103 | 5.3125 | 0.6875 | 0.188235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 103 | 1 | 103 | 103 | 0.876289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f9e6c3fef4569f8da9733e02b16213d45d681af1 | 102 | py | Python | src/jbdl/rbdl/utils/__init__.py | yz-mao/jbdl | a5380233b3795c8aaa9acd9e5c07fa44f8a5dadb | [
"MIT"
] | 21 | 2021-08-29T06:59:18.000Z | 2022-01-13T22:53:02.000Z | src/jbdl/rbdl/utils/__init__.py | yz-mao/jbdl | a5380233b3795c8aaa9acd9e5c07fa44f8a5dadb | [
"MIT"
] | 2 | 2021-08-31T08:34:09.000Z | 2021-09-06T07:40:51.000Z | src/jbdl/rbdl/utils/__init__.py | yz-mao/jbdl | a5380233b3795c8aaa9acd9e5c07fa44f8a5dadb | [
"MIT"
] | 4 | 2021-08-29T06:59:22.000Z | 2021-10-04T05:59:41.000Z | from .wrapper import ModelWrapper
from .xyz2int import xyz2int
from .calc_rank_jc import calc_rank_jc
| 25.5 | 38 | 0.852941 | 16 | 102 | 5.1875 | 0.5 | 0.192771 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.117647 | 102 | 3 | 39 | 34 | 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 | 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 | 0 | 0 | 6 |
fb1147b2e427c6a5a79a4494ed1510b05386b40b | 131 | py | Python | SecQureSdk/__init__.py | engineering-secuuth/secuuth-jwt-python-sdk | 77b985d4aa9d51f1b37ebd558916d09d2d611e0d | [
"MIT"
] | null | null | null | SecQureSdk/__init__.py | engineering-secuuth/secuuth-jwt-python-sdk | 77b985d4aa9d51f1b37ebd558916d09d2d611e0d | [
"MIT"
] | null | null | null | SecQureSdk/__init__.py | engineering-secuuth/secuuth-jwt-python-sdk | 77b985d4aa9d51f1b37ebd558916d09d2d611e0d | [
"MIT"
] | null | null | null | from SecQureSdk.accessToken import accessToken
from SecQureSdk.idToken import idToken
from SecQureSdk.renewToken import renewToken
| 32.75 | 46 | 0.885496 | 15 | 131 | 7.733333 | 0.4 | 0.362069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 131 | 3 | 47 | 43.666667 | 0.97479 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
348a9a5f2d0f489f9a46f0b1186bb2ce70e239e9 | 249 | py | Python | octue/utils/gen_uuid.py | octue/octue-sdk-python | 31c6e9358d3401ca708f5b3da702bfe3be3e52ce | [
"MIT"
] | 5 | 2020-10-01T12:43:10.000Z | 2022-03-14T17:26:25.000Z | octue/utils/gen_uuid.py | octue/octue-sdk-python | 31c6e9358d3401ca708f5b3da702bfe3be3e52ce | [
"MIT"
] | 322 | 2020-06-24T15:55:22.000Z | 2022-03-30T11:49:28.000Z | octue/utils/gen_uuid.py | octue/octue-sdk-python | 31c6e9358d3401ca708f5b3da702bfe3be3e52ce | [
"MIT"
] | null | null | null | import uuid
def gen_uuid():
"""Generates a unique identifier for an object
TODO - generate using an Octue api call, so we can register and find objects later using their UUID
:return: uuid string
"""
return str(uuid.uuid4())
| 20.75 | 103 | 0.686747 | 37 | 249 | 4.594595 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005291 | 0.240964 | 249 | 11 | 104 | 22.636364 | 0.89418 | 0.662651 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
349695eb270473410280f27d57ab6267c34e42c2 | 17,354 | py | Python | src/data_analysis/decoy_analysis.py | sidhikabalachandar/lig_clash_score | 449bac16a7c2b9779e7cd51ff17eb5e41be6ff99 | [
"FTL"
] | null | null | null | src/data_analysis/decoy_analysis.py | sidhikabalachandar/lig_clash_score | 449bac16a7c2b9779e7cd51ff17eb5e41be6ff99 | [
"FTL"
] | null | null | null | src/data_analysis/decoy_analysis.py | sidhikabalachandar/lig_clash_score | 449bac16a7c2b9779e7cd51ff17eb5e41be6ff99 | [
"FTL"
] | null | null | null | """
The purpose of this code is to create the split files
It can be run on sherlock using
$ /home/groups/rondror/software/sidhikab/miniconda/envs/test_env/bin/python decoy_analysis.py gnn_dict_all /oak/stanford/groups/rondror/projects/combind/flexibility/atom3d/refined_random.txt /home/users/sidhikab/lig_clash_score/sr... | 56.898361 | 629 | 0.705601 | 2,484 | 17,354 | 4.714171 | 0.109098 | 0.042357 | 0.031939 | 0.04953 | 0.802989 | 0.772502 | 0.758497 | 0.739112 | 0.734244 | 0.721093 | 0 | 0.006095 | 0.177538 | 17,354 | 305 | 630 | 56.898361 | 0.814335 | 0.415005 | 0 | 0.328205 | 0 | 0.010256 | 0.137651 | 0.020783 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041026 | false | 0 | 0.051282 | 0 | 0.117949 | 0.041026 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
34d8fd69682f92c8bc856e2fa6dae8be41380aa0 | 53,515 | py | Python | board.py | bidetaggle/skaak | b51ab7303409fe2b6a288568dc3e904ac610a6a3 | [
"MIT"
] | null | null | null | board.py | bidetaggle/skaak | b51ab7303409fe2b6a288568dc3e904ac610a6a3 | [
"MIT"
] | null | null | null | board.py | bidetaggle/skaak | b51ab7303409fe2b6a288568dc3e904ac610a6a3 | [
"MIT"
] | null | null | null | import typing as t
import re
import math
class Chessboard(object):
STARTING_FEN = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR"
#def __init__(self, fen: str = Chessboard.STARTING_FEN) -> None:
def __init__(self, fen: str = STARTING_FEN) -> None:
self.board_index: t.Dict[str, t.Dict[str, t... | 39.090577 | 161 | 0.474446 | 5,773 | 53,515 | 4.14741 | 0.028062 | 0.063902 | 0.099403 | 0.063902 | 0.979409 | 0.972727 | 0.962494 | 0.960197 | 0.956856 | 0.941737 | 0 | 0.018499 | 0.429263 | 53,515 | 1,369 | 162 | 39.090577 | 0.765413 | 0.017733 | 0 | 0.670711 | 0 | 0 | 0.024761 | 0.001633 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036395 | false | 0.005199 | 0.005199 | 0 | 0.090121 | 0.010399 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
34f1ff526cf8aeb1b83c83fa64a5aaabd0e28a09 | 19,314 | py | Python | Jwalk/build/lib/Jwalk/SASDTools.py | Topf-Lab/Jwalk | 72fac517b57b3724bb24101679afa8407c98666f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | Jwalk/build/lib/Jwalk/SASDTools.py | Topf-Lab/Jwalk | 72fac517b57b3724bb24101679afa8407c98666f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2021-10-04T20:21:39.000Z | 2021-10-04T20:21:39.000Z | Jwalk/src/Jwalk/SASDTools.py | Topf-Lab/Jwalk | 72fac517b57b3724bb24101679afa8407c98666f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2021-01-04T11:19:07.000Z | 2021-01-04T11:19:07.000Z | #===============================================================================
# This file is part of Jwalk.
#
# Jwalk - A tool to calculate the solvent accessible surface distance (SASD)
# between crosslinked residues.
#
# Copyright 2016 Jwalk Inventor and Birkbeck College University of Lo... | 41.181237 | 139 | 0.511287 | 2,490 | 19,314 | 3.793173 | 0.12249 | 0.015881 | 0.016517 | 0.020328 | 0.719428 | 0.716887 | 0.707041 | 0.707041 | 0.707041 | 0.697935 | 0 | 0.039519 | 0.380294 | 19,314 | 468 | 140 | 41.269231 | 0.749603 | 0.324739 | 0 | 0.746094 | 0 | 0 | 0.000557 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027344 | false | 0 | 0.019531 | 0 | 0.074219 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
34f6c5c8606dd11e9074f0909b6ec076917a6003 | 121 | py | Python | genie/metrics/__init__.py | epfl-dlab/GenIE | 62ae6af936c9375c36d3d5ad60401bf579875bd9 | [
"MIT"
] | 8 | 2022-02-08T11:12:37.000Z | 2022-03-16T08:27:50.000Z | genie/metrics/__init__.py | epfl-dlab/GenIE | 62ae6af936c9375c36d3d5ad60401bf579875bd9 | [
"MIT"
] | 1 | 2022-03-07T07:36:24.000Z | 2022-03-07T20:58:12.000Z | genie/metrics/__init__.py | epfl-dlab/GenIE | 62ae6af936c9375c36d3d5ad60401bf579875bd9 | [
"MIT"
] | 7 | 2022-02-22T22:48:35.000Z | 2022-03-18T05:18:30.000Z | from .triplet_set_f1 import TSF1
from .triplet_set_precision import TSPrecision
from .triplet_set_recall import TSRecall
| 30.25 | 46 | 0.876033 | 18 | 121 | 5.555556 | 0.555556 | 0.33 | 0.42 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018349 | 0.099174 | 121 | 3 | 47 | 40.333333 | 0.899083 | 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 | 0 | 0 | 0 | 6 |
5501ccb1210e7f2924aac469361e07c19b288cae | 72 | py | Python | graphgallery/functional/edge_level/__init__.py | kisekizzz/GraphGallery | fd4a1f474c244f774397460ae95935638ef48f5b | [
"MIT"
] | null | null | null | graphgallery/functional/edge_level/__init__.py | kisekizzz/GraphGallery | fd4a1f474c244f774397460ae95935638ef48f5b | [
"MIT"
] | null | null | null | graphgallery/functional/edge_level/__init__.py | kisekizzz/GraphGallery | fd4a1f474c244f774397460ae95935638ef48f5b | [
"MIT"
] | null | null | null | from .edge_transform import *
from .shape import *
from .to_adj import * | 24 | 29 | 0.763889 | 11 | 72 | 4.818182 | 0.636364 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 72 | 3 | 30 | 24 | 0.868852 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
550ebef428227256067d5240798aa8ea759e5f68 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/urllib3/contrib/appengine.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/urllib3/contrib/appengine.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/urllib3/contrib/appengine.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/96/6f/3a/5e368e23b6a36e89ec37424b0347249204855a183158a2d6fd89ade2c2 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.46875 | 0 | 96 | 1 | 96 | 96 | 0.427083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9b337ab25bcd76bbceacde554050848f7d24a4db | 23,445 | py | Python | Website/apps/Components/header.py | ForensX/genomevisualizer | fac4cd70d991c8d5ad0712890cb67718afbf7a9c | [
"MIT"
] | null | null | null | Website/apps/Components/header.py | ForensX/genomevisualizer | fac4cd70d991c8d5ad0712890cb67718afbf7a9c | [
"MIT"
] | null | null | null | Website/apps/Components/header.py | ForensX/genomevisualizer | fac4cd70d991c8d5ad0712890cb67718afbf7a9c | [
"MIT"
] | null | null | null | import dash_html_components as html
import dash_core_components as dcc
import dash_html_components as html
import dash_core_components as dcc
from apps.Components import colorscale
##LOGO FOR THE APP
HALogoLink = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADgCAMAAADCMfHtAAAAbFBMVEX///8AgsgAfMYAgMcAesYAf8cAd... | 478.469388 | 19,599 | 0.946726 | 860 | 23,445 | 25.795349 | 0.904651 | 0.001803 | 0.001262 | 0.002164 | 0.005319 | 0.005319 | 0.005319 | 0.005319 | 0.005319 | 0.005319 | 0 | 0.153447 | 0.013777 | 23,445 | 48 | 19,600 | 488.4375 | 0.805986 | 0.007592 | 0 | 0.166667 | 0 | 0.055556 | 0.962426 | 0.955591 | 0 | 1 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.138889 | 0.027778 | 0.305556 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9b5a1d80092971ab8ce6ecfd9fedd811417dfb3f | 229 | py | Python | tests/context.py | DerekRies/arkpy | b8305c8bbbe7c1772b262d7fdaa9d05e0a1728d0 | [
"MIT"
] | 19 | 2016-07-14T00:47:21.000Z | 2022-03-30T15:22:59.000Z | tests/context.py | DerekRies/arkpy | b8305c8bbbe7c1772b262d7fdaa9d05e0a1728d0 | [
"MIT"
] | 23 | 2016-07-19T06:53:16.000Z | 2021-03-25T21:44:57.000Z | tests/context.py | DerekRies/arkpy | b8305c8bbbe7c1772b262d7fdaa9d05e0a1728d0 | [
"MIT"
] | 5 | 2017-02-06T13:11:43.000Z | 2022-03-28T21:04:25.000Z | import os
import sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
from arkpy import arktypes
from arkpy import ark
from arkpy import binary
from arkpy import utils
from arkpy import entities | 25.444444 | 82 | 0.786026 | 38 | 229 | 4.631579 | 0.447368 | 0.255682 | 0.426136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004951 | 0.117904 | 229 | 9 | 83 | 25.444444 | 0.866337 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 0 | 0 | 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 | 6 |
9b673e5a745751b869760660bc0533091fcfd720 | 2,131 | py | Python | Baseline/model/model.py | ndkhanh360/CAER | 93d25828ce2ea050fb379d85258ba3fdbf59d2a6 | [
"MIT"
] | 18 | 2020-06-01T18:09:47.000Z | 2022-02-01T13:35:20.000Z | Baseline/model/model.py | ndkhanh360/CAER | 93d25828ce2ea050fb379d85258ba3fdbf59d2a6 | [
"MIT"
] | 12 | 2020-06-25T09:01:06.000Z | 2022-03-12T00:48:22.000Z | Baseline/model/model.py | ndkhanh360/CAER | 93d25828ce2ea050fb379d85258ba3fdbf59d2a6 | [
"MIT"
] | 6 | 2020-10-30T07:35:30.000Z | 2022-03-28T09:33:33.000Z | import torch.nn as nn
import torch.nn.functional as F
from base import BaseModel
from torchvision import models
class ResNet(BaseModel):
def __init__(self, drop_out=False, num_classes=7, fine_tune=True):
super().__init__()
self.model = models.resnet152(pretrained=True)
if not fine_tune:
... | 32.287879 | 70 | 0.623182 | 282 | 2,131 | 4.468085 | 0.205674 | 0.1 | 0.052381 | 0.090476 | 0.815873 | 0.815873 | 0.796032 | 0.796032 | 0.796032 | 0.796032 | 0 | 0.021879 | 0.270765 | 2,131 | 66 | 71 | 32.287879 | 0.788932 | 0 | 0 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.076923 | 0.076923 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9b6ff43d5fa41122620e34299e6a1073924a4683 | 173 | py | Python | unit/admin.py | alexhong121/ai_cupboard | 50baa791c969b951de5b47d980e19c0df3c04e7f | [
"MIT"
] | null | null | null | unit/admin.py | alexhong121/ai_cupboard | 50baa791c969b951de5b47d980e19c0df3c04e7f | [
"MIT"
] | null | null | null | unit/admin.py | alexhong121/ai_cupboard | 50baa791c969b951de5b47d980e19c0df3c04e7f | [
"MIT"
] | null | null | null | from django.contrib import admin
from unit.models import Unit,Product_category
# Register your models here.
admin.site.register(Unit)
admin.site.register(Product_category)
| 24.714286 | 45 | 0.83237 | 25 | 173 | 5.68 | 0.52 | 0.211268 | 0.239437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092486 | 173 | 6 | 46 | 28.833333 | 0.904459 | 0.150289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 6 |
9b773a6ba4817bb21699bc385cfbb3f527d23cf9 | 181 | py | Python | popular/exceptions.py | ryannjohnson/popular-python | 6acba4c9e93dbbe8e1f14ff2dc391aebb46705ab | [
"MIT"
] | null | null | null | popular/exceptions.py | ryannjohnson/popular-python | 6acba4c9e93dbbe8e1f14ff2dc391aebb46705ab | [
"MIT"
] | null | null | null | popular/exceptions.py | ryannjohnson/popular-python | 6acba4c9e93dbbe8e1f14ff2dc391aebb46705ab | [
"MIT"
] | null | null | null | class SocialError(Exception):
"""Raised when this package errs."""
pass
class SocialProviderError(Exception):
"""Raised when a vendor is sending an error."""
pass
| 20.111111 | 51 | 0.685083 | 21 | 181 | 5.904762 | 0.761905 | 0.241935 | 0.306452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20442 | 181 | 8 | 52 | 22.625 | 0.861111 | 0.39779 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9b988fa26638c6abd9d9b68669042c398c42ab01 | 28 | py | Python | sorolla/__init__.py | bq/sorolla | f9fc2f35a673f2f11d370975be4e06c520341d88 | [
"Apache-2.0"
] | 16 | 2015-04-22T09:17:17.000Z | 2015-12-05T17:17:22.000Z | sorolla/__init__.py | bq/sorolla | f9fc2f35a673f2f11d370975be4e06c520341d88 | [
"Apache-2.0"
] | null | null | null | sorolla/__init__.py | bq/sorolla | f9fc2f35a673f2f11d370975be4e06c520341d88 | [
"Apache-2.0"
] | null | null | null | from sorolla import Sorolla
| 14 | 27 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9bbb86eaa780e8d455df77ee9e076b31f348099c | 25 | py | Python | olpy/pipelines/__init__.py | openlattice/olpy | 4e89b6f3561bd8de09f98cabeac31f7f4ee10977 | [
"Apache-2.0"
] | null | null | null | olpy/pipelines/__init__.py | openlattice/olpy | 4e89b6f3561bd8de09f98cabeac31f7f4ee10977 | [
"Apache-2.0"
] | null | null | null | olpy/pipelines/__init__.py | openlattice/olpy | 4e89b6f3561bd8de09f98cabeac31f7f4ee10977 | [
"Apache-2.0"
] | null | null | null | from . import integration | 25 | 25 | 0.84 | 3 | 25 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fd1153aa603a9421ad759389110b8cf71e710414 | 195 | py | Python | torchsat_imc/models/classification/__init__.py | Exdenta/torchsat | 70ea3db758757104fb3ba618ddf7997f0f3a75b4 | [
"MIT"
] | 316 | 2019-08-14T11:56:13.000Z | 2022-03-31T06:15:50.000Z | torchsat_imc/models/classification/__init__.py | Exdenta/torchsat | 70ea3db758757104fb3ba618ddf7997f0f3a75b4 | [
"MIT"
] | 8 | 2019-10-07T20:16:08.000Z | 2021-09-03T18:09:20.000Z | torchsat_imc/models/classification/__init__.py | Exdenta/torchsat | 70ea3db758757104fb3ba618ddf7997f0f3a75b4 | [
"MIT"
] | 49 | 2019-08-14T11:55:22.000Z | 2022-01-31T16:43:41.000Z | from .densenet import *
from .inception import *
from .mobilenet import *
from .resnet import *
from .vgg import *
from .efficientnet import *
from .senet import *
from .resnest.resnest import *
| 21.666667 | 30 | 0.748718 | 25 | 195 | 5.84 | 0.4 | 0.479452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164103 | 195 | 8 | 31 | 24.375 | 0.895706 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fd2f99d953adb97d7b4aad0e4e03be478060e57e | 100 | py | Python | wordgen/__init__.py | snsinfu/web-wordgen | 118b7e8ae59b9a314e52c88a0807dbb67cd69894 | [
"MIT"
] | 1 | 2020-09-08T21:50:14.000Z | 2020-09-08T21:50:14.000Z | wordgen/__init__.py | snsinfu/web-wordgen | 118b7e8ae59b9a314e52c88a0807dbb67cd69894 | [
"MIT"
] | null | null | null | wordgen/__init__.py | snsinfu/web-wordgen | 118b7e8ae59b9a314e52c88a0807dbb67cd69894 | [
"MIT"
] | 1 | 2020-09-08T21:50:15.000Z | 2020-09-08T21:50:15.000Z | from .model import LoadedModel, StoredModel
from .train import train
from .generate import generate
| 25 | 43 | 0.83 | 13 | 100 | 6.384615 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 100 | 3 | 44 | 33.333333 | 0.954023 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bd382c712f5db73bec61c5669a9dd418f96264f2 | 122 | py | Python | clients/python/inspr/__init__.py | inspr/inspr | 870bb13b4eb60653c8567dd8a70ccdfa69e1391b | [
"CC-BY-4.0",
"MIT"
] | 50 | 2021-04-13T11:34:18.000Z | 2021-12-28T10:34:22.000Z | clients/python/inspr/__init__.py | inspr/inspr | 870bb13b4eb60653c8567dd8a70ccdfa69e1391b | [
"CC-BY-4.0",
"MIT"
] | 147 | 2021-04-13T21:11:02.000Z | 2022-02-04T15:45:38.000Z | clients/python/inspr/__init__.py | inspr/inspr | 870bb13b4eb60653c8567dd8a70ccdfa69e1391b | [
"CC-BY-4.0",
"MIT"
] | 5 | 2021-04-14T03:45:23.000Z | 2021-11-19T23:16:43.000Z | from .client import *
from .rest import *
from .models import *
from .controller.controller_client import ControllerClient | 30.5 | 58 | 0.811475 | 15 | 122 | 6.533333 | 0.466667 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122951 | 122 | 4 | 58 | 30.5 | 0.915888 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
95259d3aa0d475ff5b0e59479b6908248726b9e9 | 20 | py | Python | fython/fml/__init__.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 41 | 2016-01-21T05:14:45.000Z | 2021-11-24T20:37:21.000Z | fython/fml/__init__.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 5 | 2016-01-21T05:36:37.000Z | 2016-08-22T19:26:51.000Z | fython/fml/__init__.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 3 | 2016-01-23T04:03:44.000Z | 2016-08-21T15:58:38.000Z | from .fml import fml | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
95290db920c0098a54654b60ab8bd7ac109e94bb | 34 | py | Python | 2019/others/test2.py | rishidevc/stkovrflw | c33dffbce887f32f609a10dd717d594390ceac8b | [
"MIT"
] | null | null | null | 2019/others/test2.py | rishidevc/stkovrflw | c33dffbce887f32f609a10dd717d594390ceac8b | [
"MIT"
] | 5 | 2020-05-04T03:11:14.000Z | 2021-06-10T20:20:38.000Z | 2019/others/test2.py | rishidevc/stkovrflw | c33dffbce887f32f609a10dd717d594390ceac8b | [
"MIT"
] | 1 | 2019-07-31T18:28:34.000Z | 2019-07-31T18:28:34.000Z | from . import test
print(test.a) | 8.5 | 18 | 0.705882 | 6 | 34 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 34 | 4 | 19 | 8.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
1f0c0c89840710be63d33fbdaefade7fd454b0b4 | 27 | py | Python | src/dashboard/pages/home/__init__.py | ddlatumalea/disease_and_life | aa8c84fdd4a0b41bc0ee275538ac70a362eb26ba | [
"Apache-2.0"
] | null | null | null | src/dashboard/pages/home/__init__.py | ddlatumalea/disease_and_life | aa8c84fdd4a0b41bc0ee275538ac70a362eb26ba | [
"Apache-2.0"
] | null | null | null | src/dashboard/pages/home/__init__.py | ddlatumalea/disease_and_life | aa8c84fdd4a0b41bc0ee275538ac70a362eb26ba | [
"Apache-2.0"
] | null | null | null | from .home import HomePage
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1f5ec7815a44018c5f069ad2302fab73fdbe7be4 | 292 | py | Python | pytracer/sampler/__init__.py | zjiayao/pyTracer | c2b4ef299ecbdca1c519059488f7cd2438943ee4 | [
"MIT"
] | 9 | 2017-11-20T18:17:27.000Z | 2022-01-27T23:00:31.000Z | pytracer/sampler/__init__.py | zjiayao/pyTracer | c2b4ef299ecbdca1c519059488f7cd2438943ee4 | [
"MIT"
] | 4 | 2021-06-08T19:03:51.000Z | 2022-03-11T23:18:44.000Z | pytracer/sampler/__init__.py | zjiayao/pyTracer | c2b4ef299ecbdca1c519059488f7cd2438943ee4 | [
"MIT"
] | 1 | 2017-11-20T22:48:01.000Z | 2017-11-20T22:48:01.000Z | """
__init__.py
pytracer.sampler package
Modelling samplers and samples.
Created by Jiayao on Aug 9, 2017
Modified on Aug 13, 2017
"""
from __future__ import absolute_import
from pytracer.sampler.utility import *
from pytracer.sampler.sample import *
from pytracer.sampler.sampler import * | 20.857143 | 38 | 0.797945 | 41 | 292 | 5.463415 | 0.585366 | 0.267857 | 0.241071 | 0.334821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.133562 | 292 | 14 | 39 | 20.857143 | 0.841897 | 0.441781 | 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 | 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 | 6 |
1f69b490fd147303e90b0df859b7b6072be0d699 | 432 | py | Python | great_expectations/datasource/generator/__init__.py | cicdw/great_expectations | 0aecddf7da591df19389c8abadbb1700a51b8739 | [
"Apache-2.0"
] | 1 | 2020-04-07T22:15:13.000Z | 2020-04-07T22:15:13.000Z | great_expectations/datasource/generator/__init__.py | cicdw/great_expectations | 0aecddf7da591df19389c8abadbb1700a51b8739 | [
"Apache-2.0"
] | 1 | 2020-03-26T12:34:24.000Z | 2020-03-26T12:34:24.000Z | great_expectations/datasource/generator/__init__.py | cicdw/great_expectations | 0aecddf7da591df19389c8abadbb1700a51b8739 | [
"Apache-2.0"
] | null | null | null | from .databricks_generator import DatabricksTableBatchKwargsGenerator
from .glob_reader_generator import GlobReaderBatchKwargsGenerator
from .subdir_reader_generator import SubdirReaderBatchKwargsGenerator
from .query_generator import QueryBatchKwargsGenerator
from .table_generator import TableBatchKwargsGenerator
from... | 54 | 69 | 0.918981 | 37 | 432 | 10.486486 | 0.486486 | 0.270619 | 0.108247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004951 | 0.064815 | 432 | 7 | 70 | 61.714286 | 0.955446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 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 | 6 |
2f473914bb410c1820ff62a6a57934f643c3e6e9 | 5,615 | py | Python | metaci/build/tests/test_views.py | sfdc-qbranch/MetaCI | 78ac0d2bccd2db381998321ebd71029dd5d9ab39 | [
"BSD-3-Clause"
] | 48 | 2018-10-24T14:52:06.000Z | 2022-03-25T21:14:50.000Z | metaci/build/tests/test_views.py | sfdc-qbranch/MetaCI | 78ac0d2bccd2db381998321ebd71029dd5d9ab39 | [
"BSD-3-Clause"
] | 2,034 | 2018-10-31T20:59:16.000Z | 2022-03-22T21:38:03.000Z | metaci/build/tests/test_views.py | sfdc-qbranch/MetaCI | 78ac0d2bccd2db381998321ebd71029dd5d9ab39 | [
"BSD-3-Clause"
] | 27 | 2018-12-24T18:16:23.000Z | 2021-12-15T17:57:27.000Z | import pytest
from django.urls import reverse
from guardian.shortcuts import assign_perm
from metaci.fixtures.factories import RebuildFactory
@pytest.mark.django_db
class TestBuildViews:
def test_build_list(self, client, superuser, data):
client.force_login(superuser)
url = reverse("home")
... | 37.433333 | 85 | 0.658771 | 695 | 5,615 | 5.100719 | 0.120863 | 0.093089 | 0.057546 | 0.115092 | 0.858392 | 0.839774 | 0.839774 | 0.839774 | 0.804795 | 0.792102 | 0 | 0.012048 | 0.216563 | 5,615 | 149 | 86 | 37.684564 | 0.793817 | 0.026536 | 0 | 0.638889 | 0 | 0 | 0.123764 | 0.003845 | 0 | 0 | 0 | 0 | 0.194444 | 1 | 0.157407 | false | 0 | 0.037037 | 0 | 0.203704 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2f5ba6e928db0a01ebc9f40bcc0fff48eabb41ea | 14,094 | py | Python | permafrost/tests.py | jared-hardy/django-permafrost | 588c0783791ec10f683da0235162a90f6936110a | [
"MIT"
] | null | null | null | permafrost/tests.py | jared-hardy/django-permafrost | 588c0783791ec10f683da0235162a90f6936110a | [
"MIT"
] | null | null | null | permafrost/tests.py | jared-hardy/django-permafrost | 588c0783791ec10f683da0235162a90f6936110a | [
"MIT"
] | null | null | null | import json
from unittest import skipIf
from django.test import TestCase
from django.contrib.sites.models import Site
from django.contrib.auth import get_user_model
from django.db.utils import IntegrityError
from django.db import transaction
from django.contrib.auth.models import Group, Permission
try:
from rest... | 48.6 | 217 | 0.689655 | 1,721 | 14,094 | 5.484602 | 0.099942 | 0.029558 | 0.032207 | 0.040682 | 0.833139 | 0.805912 | 0.79055 | 0.766713 | 0.747431 | 0.716813 | 0 | 0.003482 | 0.205336 | 14,094 | 289 | 218 | 48.768166 | 0.839286 | 0.137647 | 0 | 0.617801 | 0 | 0 | 0.182399 | 0.088676 | 0 | 0 | 0 | 0 | 0.230366 | 1 | 0.099476 | false | 0.031414 | 0.057592 | 0 | 0.17801 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2f7179eb68e9801f50aaa52ff3584eb177556d0c | 15,831 | py | Python | tests/draining/mesos_test.py | akshaysharma096/clusterman | 27f4bd217fe201a4c0b9bf460c5a9e155ee88041 | [
"Apache-2.0"
] | 281 | 2019-11-15T03:12:43.000Z | 2022-01-07T06:36:58.000Z | tests/draining/mesos_test.py | akshaysharma096/clusterman | 27f4bd217fe201a4c0b9bf460c5a9e155ee88041 | [
"Apache-2.0"
] | 38 | 2019-11-18T20:15:47.000Z | 2022-03-28T11:28:45.000Z | tests/draining/mesos_test.py | akshaysharma096/clusterman | 27f4bd217fe201a4c0b9bf460c5a9e155ee88041 | [
"Apache-2.0"
] | 21 | 2019-11-16T07:49:40.000Z | 2022-02-09T18:13:48.000Z | # Copyright 2019 Yelp Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | 39.088889 | 106 | 0.621692 | 1,623 | 15,831 | 5.789279 | 0.109673 | 0.097063 | 0.06854 | 0.051724 | 0.839187 | 0.791933 | 0.759579 | 0.715517 | 0.702107 | 0.702107 | 0 | 0.05529 | 0.25968 | 15,831 | 404 | 107 | 39.185644 | 0.746416 | 0.034489 | 0 | 0.596491 | 0 | 0 | 0.205095 | 0.075699 | 0 | 0 | 0 | 0 | 0.119883 | 1 | 0.055556 | false | 0.002924 | 0.038012 | 0 | 0.099415 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2f818680599014adfab1550717056ab2186b5d3a | 15,601 | py | Python | api_tests/wikis/views/test_wiki_detail.py | chennan47/osf.io | 270608592b39a94941a3e329c0dc16d295a82472 | [
"Apache-2.0"
] | null | null | null | api_tests/wikis/views/test_wiki_detail.py | chennan47/osf.io | 270608592b39a94941a3e329c0dc16d295a82472 | [
"Apache-2.0"
] | 18 | 2020-03-24T16:16:14.000Z | 2022-03-03T22:37:48.000Z | api_tests/wikis/views/test_wiki_detail.py | kounoAkihiro/SV-RDM-OSF | 76fb0c739f4cdabf03b5bfd2bc63d83b1c2d4796 | [
"Apache-2.0"
] | 1 | 2021-10-04T21:16:56.000Z | 2021-10-04T21:16:56.000Z | import mock
import pytest
import furl
from urlparse import urlparse
from nose.tools import * # flake8: noqa
from api.base.settings.defaults import API_BASE
from osf.models import Guid
from addons.wiki.models import NodeWikiPage
from tests.base import ApiWikiTestCase
from osf_tests.factories import (ProjectFactory,... | 46.84985 | 92 | 0.684123 | 1,969 | 15,601 | 5.013205 | 0.080752 | 0.048627 | 0.059568 | 0.03951 | 0.836896 | 0.826157 | 0.809847 | 0.766285 | 0.71705 | 0.667106 | 0 | 0.007173 | 0.204666 | 15,601 | 332 | 93 | 46.990964 | 0.788362 | 0.007948 | 0 | 0.621993 | 0 | 0 | 0.092354 | 0.014606 | 0 | 0 | 0 | 0.003012 | 0.195876 | 1 | 0.109966 | false | 0 | 0.037801 | 0 | 0.151203 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2f831a78f4ccf4a5fc8f721bbbda4df246e6fa02 | 122 | py | Python | author/admin.py | CMPUT404-stev-sand-pant-ashw-mehr/CMPUT404-stev-sand-pant-ashw-mehr-repo | 0f96d938e9e3ec51103f2b20cb9673bd0b145343 | [
"MIT"
] | null | null | null | author/admin.py | CMPUT404-stev-sand-pant-ashw-mehr/CMPUT404-stev-sand-pant-ashw-mehr-repo | 0f96d938e9e3ec51103f2b20cb9673bd0b145343 | [
"MIT"
] | 50 | 2021-10-08T00:01:43.000Z | 2021-12-06T06:34:29.000Z | author/admin.py | CMPUT404-stev-sand-pant-ashw-mehr/CMPUT404-stev-sand-pant-ashw-mehr-repo | 0f96d938e9e3ec51103f2b20cb9673bd0b145343 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Author
from author.models import Author
admin.site.register(Author) | 20.333333 | 32 | 0.827869 | 18 | 122 | 5.611111 | 0.5 | 0.237624 | 0.356436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 122 | 6 | 33 | 20.333333 | 0.935185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 | 0 | 0 | 0 | 6 |
2f8f42c8fc1deae2ea109bf97894ed404fbc5d2f | 36 | py | Python | pySrc/keywords.py | marchers/amadeus-learning | 3d593fec3f3aebba3e069297f74f9dba1410b7d7 | [
"MIT"
] | null | null | null | pySrc/keywords.py | marchers/amadeus-learning | 3d593fec3f3aebba3e069297f74f9dba1410b7d7 | [
"MIT"
] | null | null | null | pySrc/keywords.py | marchers/amadeus-learning | 3d593fec3f3aebba3e069297f74f9dba1410b7d7 | [
"MIT"
] | null | null | null | import keyword
print(keyword.kwlist) | 18 | 21 | 0.861111 | 5 | 36 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 36 | 2 | 21 | 18 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
85cfec14d2ac9d14343e0c196b80850281b6bc9f | 112 | py | Python | ml/metrics/__init__.py | rmaestre/ml-code-lectures | 9cdc5e8552da10c30dca531ba6eaff41f0689713 | [
"MIT"
] | 2 | 2022-03-28T13:42:07.000Z | 2022-03-28T13:42:12.000Z | ml/metrics/__init__.py | rmaestre/ml-code-lectures | 9cdc5e8552da10c30dca531ba6eaff41f0689713 | [
"MIT"
] | null | null | null | ml/metrics/__init__.py | rmaestre/ml-code-lectures | 9cdc5e8552da10c30dca531ba6eaff41f0689713 | [
"MIT"
] | 1 | 2022-03-03T08:36:52.000Z | 2022-03-03T08:36:52.000Z | from ml.metrics.classification import ClassificationMetrics
from ml.metrics.regression import RegressionMetrics
| 37.333333 | 59 | 0.892857 | 12 | 112 | 8.333333 | 0.666667 | 0.12 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 112 | 2 | 60 | 56 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c8030532ba7e66034e00fe184465d1e468c196c8 | 10,740 | py | Python | code/residuals.py | dlaredo/stochastic_dynamics | a851d8fe1e88f5bafa187c4d43c21c7904716670 | [
"MIT"
] | null | null | null | code/residuals.py | dlaredo/stochastic_dynamics | a851d8fe1e88f5bafa187c4d43c21c7904716670 | [
"MIT"
] | null | null | null | code/residuals.py | dlaredo/stochastic_dynamics | a851d8fe1e88f5bafa187c4d43c21c7904716670 | [
"MIT"
] | null | null | null | import tensorflow as tf
# Derivatives
def first_order_central_finite_difference(tf_fx_delta_plus, tf_fx_delta_minus, delta):
derivative = tf.subtract(tf_fx_delta_plus, tf_fx_delta_minus) / (2 * delta)
return derivative
def second_order_central_finite_difference(tf_fx, tf_fx_delta_plus, tf_fx_delta_minus, delta):... | 35.562914 | 334 | 0.741341 | 1,950 | 10,740 | 3.705128 | 0.055385 | 0.091349 | 0.076401 | 0.028789 | 0.856747 | 0.838478 | 0.821176 | 0.81301 | 0.80083 | 0.786851 | 0 | 0.038695 | 0.126536 | 10,740 | 301 | 335 | 35.681063 | 0.731479 | 0.045438 | 0 | 0.633136 | 0 | 0 | 0.039894 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08284 | false | 0 | 0.005917 | 0 | 0.171598 | 0.047337 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c8422983d6e06c5e9a8bbaa72956ee4f0dd993e8 | 73 | py | Python | gym-kinova-gripper/gym_kinova_gripper/envs/__init__.py | OSUrobotics/KinovaGrasping | f22af60d3683fdc4ffecf49ccff179fbc6750748 | [
"Linux-OpenIB"
] | 16 | 2020-05-16T00:40:31.000Z | 2022-02-22T11:59:03.000Z | gym-kinova-gripper/gym_kinova_gripper/envs/__init__.py | OSUrobotics/KinovaGrasping | f22af60d3683fdc4ffecf49ccff179fbc6750748 | [
"Linux-OpenIB"
] | 9 | 2020-08-10T08:33:55.000Z | 2021-08-17T02:10:50.000Z | gym-kinova-gripper/gym_kinova_gripper/envs/__init__.py | OSUrobotics/KinovaGrasping | f22af60d3683fdc4ffecf49ccff179fbc6750748 | [
"Linux-OpenIB"
] | 7 | 2020-07-27T09:45:05.000Z | 2021-06-21T21:42:50.000Z | from gym_kinova_gripper.envs.kinova_gripper_env import KinovaGripper_Env
| 36.5 | 72 | 0.917808 | 11 | 73 | 5.636364 | 0.727273 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 73 | 1 | 73 | 73 | 0.898551 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c09ecd5ddf88636414aea8b1081f6c6813322a1e | 50 | py | Python | code/answer_1-2-4.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | 1 | 2022-03-29T13:50:12.000Z | 2022-03-29T13:50:12.000Z | code/answer_1-2-4.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | code/answer_1-2-4.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | s1, s2, s3 = input().split(",")
print(s1, s2, s3)
| 16.666667 | 31 | 0.54 | 9 | 50 | 3 | 0.666667 | 0.296296 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.16 | 50 | 2 | 32 | 25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
c0a54b783fee2b764ec1b4dc9a7f6888a632f0bd | 31 | py | Python | __init__.py | 1740415303/tturtle- | 8e87b23fd46b33f75784edd93954699e27686ef3 | [
"Apache-2.0"
] | null | null | null | __init__.py | 1740415303/tturtle- | 8e87b23fd46b33f75784edd93954699e27686ef3 | [
"Apache-2.0"
] | null | null | null | __init__.py | 1740415303/tturtle- | 8e87b23fd46b33f75784edd93954699e27686ef3 | [
"Apache-2.0"
] | null | null | null |
from .ali_sms import send_sms | 15.5 | 29 | 0.806452 | 6 | 31 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 29 | 15.5 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c0cc9acfdd5fc35e47d735c3cb7bd9d7a1e61fa5 | 5,717 | py | Python | tests/test_split.py | Nivratti/split-folders | 3fbb73fa33778f64bbda0ec96db659a4f3bb1109 | [
"OLDAP-2.8"
] | 292 | 2018-10-05T11:01:36.000Z | 2022-03-24T14:21:01.000Z | tests/test_split.py | Nivratti/split-folders | 3fbb73fa33778f64bbda0ec96db659a4f3bb1109 | [
"OLDAP-2.8"
] | 33 | 2018-11-09T10:49:05.000Z | 2022-03-25T03:59:23.000Z | tests/test_split.py | Nivratti/split-folders | 3fbb73fa33778f64bbda0ec96db659a4f3bb1109 | [
"OLDAP-2.8"
] | 59 | 2018-10-05T19:30:59.000Z | 2022-03-25T04:05:40.000Z | import os
import pathlib
import shutil
import pytest
from splitfolders import ratio, fixed
def test_second_package():
from split_folders import ratio, fixed
def test_split_ratio():
input_dir = os.path.join(os.path.dirname(__file__), "imgs")
output_dir = os.path.join(os.path.dirname(__file__), "output"... | 31.761111 | 80 | 0.683051 | 875 | 5,717 | 4.161143 | 0.067429 | 0.085691 | 0.064268 | 0.092832 | 0.954683 | 0.93738 | 0.919253 | 0.919253 | 0.919253 | 0.919253 | 0 | 0.006828 | 0.154627 | 5,717 | 179 | 81 | 31.938547 | 0.746534 | 0.066294 | 0 | 0.695238 | 0 | 0 | 0.063075 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.133333 | false | 0 | 0.057143 | 0 | 0.190476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c0e1595e180129d736b486ae0d8079f3901f0534 | 6,030 | py | Python | sizakat/mustahik/migrations/0001_initial.py | artmxra7/sizkt-backend | 49263b7d937ac62307b8ced47fa1497226f1d4cc | [
"MIT"
] | null | null | null | sizakat/mustahik/migrations/0001_initial.py | artmxra7/sizkt-backend | 49263b7d937ac62307b8ced47fa1497226f1d4cc | [
"MIT"
] | 5 | 2021-03-30T14:16:46.000Z | 2021-09-22T19:38:45.000Z | sizakat/mustahik/migrations/0001_initial.py | artmxra7/sizkt-backend | 49263b7d937ac62307b8ced47fa1497226f1d4cc | [
"MIT"
] | 1 | 2020-11-14T02:58:29.000Z | 2020-11-14T02:58:29.000Z | # Generated by Django 3.0.7 on 2020-07-29 08:26
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='DataSour... | 62.164948 | 232 | 0.594527 | 604 | 6,030 | 5.801325 | 0.182119 | 0.149829 | 0.159247 | 0.212329 | 0.767694 | 0.752854 | 0.726884 | 0.726884 | 0.683219 | 0.683219 | 0 | 0.023984 | 0.232504 | 6,030 | 96 | 233 | 62.8125 | 0.733146 | 0.007463 | 0 | 0.662921 | 1 | 0 | 0.18586 | 0.004011 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033708 | 0 | 0.078652 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
239f20367d13490d6b0986f21ea6590da99fe967 | 76,386 | py | Python | pair_fast_forecast_multiGPU_val/pairwise_fusion_kd/utils/model.py | Chezacar/CollaborationWithLatency | da06abea16f1ffcafc35d27cb69ae3116a345965 | [
"MIT"
] | null | null | null | pair_fast_forecast_multiGPU_val/pairwise_fusion_kd/utils/model.py | Chezacar/CollaborationWithLatency | da06abea16f1ffcafc35d27cb69ae3116a345965 | [
"MIT"
] | null | null | null | pair_fast_forecast_multiGPU_val/pairwise_fusion_kd/utils/model.py | Chezacar/CollaborationWithLatency | da06abea16f1ffcafc35d27cb69ae3116a345965 | [
"MIT"
] | null | null | null | # Copyright (c) 2020 Mitsubishi Electric Research Laboratories (MERL). All rights reserved. The software, documentation and/or data in this file is provided on an "as is" basis, and MERL has no obligations to provide maintenance, support, updates, enhancements or modifications. MERL specifically disclaims any warrantie... | 42.319114 | 970 | 0.599298 | 12,894 | 76,386 | 3.324259 | 0.03521 | 0.029046 | 0.059119 | 0.063855 | 0.828663 | 0.797168 | 0.776544 | 0.75935 | 0.724751 | 0.70884 | 0 | 0.092668 | 0.235436 | 76,386 | 1,804 | 971 | 42.342572 | 0.641262 | 0.181617 | 0 | 0.572093 | 0 | 0 | 0.001127 | 0.000467 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060465 | false | 0 | 0.015814 | 0 | 0.136744 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
23fc27d233ce1e433513960d060fc322c56c97cb | 95 | py | Python | manager/generators/int.py | Exanis/dataset-manager | af2f2d4242417eb14240129ac6312a0ebdfd24ee | [
"MIT"
] | null | null | null | manager/generators/int.py | Exanis/dataset-manager | af2f2d4242417eb14240129ac6312a0ebdfd24ee | [
"MIT"
] | 5 | 2018-11-22T13:32:17.000Z | 2018-11-22T13:34:39.000Z | manager/generators/int.py | Exanis/dataset-manager | af2f2d4242417eb14240129ac6312a0ebdfd24ee | [
"MIT"
] | null | null | null | from random import randint
def int_generator(t, rank):
return str(randint(t.min, t.max))
| 15.833333 | 37 | 0.715789 | 16 | 95 | 4.1875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168421 | 95 | 5 | 38 | 19 | 0.848101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f1cabbc119a3561fc8e800101777edfaf8274f1f | 138 | py | Python | kafka-utils/tests/bai_k8s_utils/test_kubernetes_test_client.py | gavinmbell/benchmark-ai-1 | a697e67d68b843fe9350e55871dad867bab5d51d | [
"Apache-2.0"
] | 6 | 2020-09-29T09:03:04.000Z | 2022-03-14T06:52:25.000Z | kafka-utils/tests/bai_k8s_utils/test_kubernetes_test_client.py | gavinmbell/benchmark-ai-1 | a697e67d68b843fe9350e55871dad867bab5d51d | [
"Apache-2.0"
] | null | null | null | kafka-utils/tests/bai_k8s_utils/test_kubernetes_test_client.py | gavinmbell/benchmark-ai-1 | a697e67d68b843fe9350e55871dad867bab5d51d | [
"Apache-2.0"
] | 4 | 2020-10-01T07:49:22.000Z | 2021-06-16T19:44:12.000Z | def test_imports():
from bai_k8s_utils.kubernetes_tests_client import KubernetesTestUtilsClient
assert KubernetesTestUtilsClient
| 27.6 | 79 | 0.847826 | 14 | 138 | 8 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.123188 | 138 | 4 | 80 | 34.5 | 0.917355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f1ef648331ecec2f366da19ded96a1372a08758d | 29 | py | Python | train/__init__.py | li012589/NeuralWavelet | 6e593ded5cb4ae80579cbf56eb9c346d808669cb | [
"Apache-2.0"
] | 28 | 2021-01-27T00:41:40.000Z | 2022-02-14T10:11:51.000Z | train/__init__.py | li012589/NeuralWavelet | 6e593ded5cb4ae80579cbf56eb9c346d808669cb | [
"Apache-2.0"
] | null | null | null | train/__init__.py | li012589/NeuralWavelet | 6e593ded5cb4ae80579cbf56eb9c346d808669cb | [
"Apache-2.0"
] | 6 | 2021-02-03T01:42:08.000Z | 2021-12-03T17:47:19.000Z | from .train import forwardKLD | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7b67afba08e4bec7b6bb1bb1928ea13a0ab1e96d | 10,494 | py | Python | herramientas/FiscalStimulusCOVID_to_GDP/barplotFiscalStimulus_to_GDP_LatAm_post2.py | DiazSalinas/COVID-19 | c79bc5487363a76baa2b9eb282991077eaeddf14 | [
"MIT"
] | 24 | 2020-04-02T04:35:32.000Z | 2020-08-11T00:48:06.000Z | herramientas/FiscalStimulusCOVID_to_GDP/barplotFiscalStimulus_to_GDP_LatAm_post2.py | DiazSalinas/COVID-19 | c79bc5487363a76baa2b9eb282991077eaeddf14 | [
"MIT"
] | 26 | 2020-04-03T15:07:15.000Z | 2020-09-01T08:12:08.000Z | herramientas/FiscalStimulusCOVID_to_GDP/barplotFiscalStimulus_to_GDP_LatAm_post2.py | DiazSalinas/COVID-19 | c79bc5487363a76baa2b9eb282991077eaeddf14 | [
"MIT"
] | 21 | 2020-04-02T21:29:08.000Z | 2020-09-01T19:25:22.000Z | import numpy as np
import matplotlib.pyplot as plt
import pandas
import os
from matplotlib import font_manager as fm, rcParams
fig = plt.figure(figsize=(7,7))
### Post colaboración Olivia Bordeu y Nacho Oliva.
df = pandas.read_csv("asgdpPunto.csv",sep=";",encoding= 'unicode_escape')
fpath = os.path.join(rcParam... | 29.231198 | 207 | 0.67248 | 1,472 | 10,494 | 4.753397 | 0.148098 | 0.105474 | 0.100329 | 0.100043 | 0.835644 | 0.81978 | 0.795627 | 0.775904 | 0.751322 | 0.737459 | 0 | 0.04203 | 0.136173 | 10,494 | 359 | 208 | 29.231198 | 0.72984 | 0.07833 | 0 | 0.585859 | 0 | 0 | 0.223084 | 0.03596 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.070707 | 0 | 0.070707 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7bb6483268785e730a8df06bd2480ef269079207 | 64 | py | Python | nxml/jax/__init__.py | yuneg11/NXML | fb79f10f35d18e86ba31dc86413a0f9a2afe4c0a | [
"MIT"
] | null | null | null | nxml/jax/__init__.py | yuneg11/NXML | fb79f10f35d18e86ba31dc86413a0f9a2afe4c0a | [
"MIT"
] | null | null | null | nxml/jax/__init__.py | yuneg11/NXML | fb79f10f35d18e86ba31dc86413a0f9a2afe4c0a | [
"MIT"
] | null | null | null | from . import nn
from . import utils
from . import experimental
| 16 | 26 | 0.765625 | 9 | 64 | 5.444444 | 0.555556 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 27 | 21.333333 | 0.942308 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c885ee813f1a9eb1d1dc2c3446760ae654367721 | 155 | py | Python | gdalhelpers/classes/__init__.py | JanCaha/gdalhelpers | 925ecb2552b697b5970617484f1fc259f844ba04 | [
"MIT"
] | null | null | null | gdalhelpers/classes/__init__.py | JanCaha/gdalhelpers | 925ecb2552b697b5970617484f1fc259f844ba04 | [
"MIT"
] | null | null | null | gdalhelpers/classes/__init__.py | JanCaha/gdalhelpers | 925ecb2552b697b5970617484f1fc259f844ba04 | [
"MIT"
] | null | null | null | """
Module that declares classes which extends functionality of **GDAL/OGR**.
Classes:
- `DEM` - extends functionality of raster dataset in **GDAL**.
""" | 22.142857 | 73 | 0.709677 | 19 | 155 | 5.789474 | 0.736842 | 0.363636 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148387 | 155 | 7 | 74 | 22.142857 | 0.833333 | 0.948387 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c8861baed66e5e00dc05b8f9d836f46976b65e0f | 44 | py | Python | nfp/models/__init__.py | MolecularMaterials/MPNN-Mo2C | c0ea4cb793901b7ae86fdfc91e108f3912d7a750 | [
"MIT"
] | 18 | 2019-07-19T16:48:38.000Z | 2021-08-05T11:45:06.000Z | easy_nlp/models/__init__.py | Moumeneb1/IRIT_INTERNSHIP | 6a443508e9a6e26e46354c2d8282e360afdc02e7 | [
"MIT"
] | 3 | 2021-09-03T22:47:55.000Z | 2022-02-16T07:54:19.000Z | easy_nlp/models/__init__.py | Moumeneb1/IRIT_INTERNSHIP | 6a443508e9a6e26e46354c2d8282e360afdc02e7 | [
"MIT"
] | 3 | 2021-10-15T02:00:30.000Z | 2022-01-19T06:29:05.000Z | from .models import *
from .losses import *
| 14.666667 | 21 | 0.727273 | 6 | 44 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c8b9a2b06aebc8df25799491d881b9267bed4a89 | 66 | py | Python | tests/test_Customer.py | fraser-langton/Quandoo | 3a5e1241b645129d805213d01221ede8f2b79aa2 | [
"MIT"
] | 1 | 2019-08-08T11:05:28.000Z | 2019-08-08T11:05:28.000Z | tests/test_Customer.py | fraser-langton/Quandoo | 3a5e1241b645129d805213d01221ede8f2b79aa2 | [
"MIT"
] | 1 | 2021-01-31T23:16:09.000Z | 2021-03-05T01:33:49.000Z | tests/test_Customer.py | fraser-langton/Quandoo | 3a5e1241b645129d805213d01221ede8f2b79aa2 | [
"MIT"
] | 1 | 2020-08-19T09:06:42.000Z | 2020-08-19T09:06:42.000Z | import unittest
class TestCustomer(unittest.TestCase):
pass
| 11 | 38 | 0.772727 | 7 | 66 | 7.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 66 | 5 | 39 | 13.2 | 0.927273 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
cdfdec9e2550903cdc59926ed28bac61c4d8d0ef | 4,868 | py | Python | test/integration_tests/test_containers.py | poldracklab/bids-core | b87a1ef2d3e1c5a79a98c0f0ba82b1b2634bce0e | [
"MIT"
] | 1 | 2016-03-09T01:24:02.000Z | 2016-03-09T01:24:02.000Z | test/integration_tests/test_containers.py | poldracklab/bids-core | b87a1ef2d3e1c5a79a98c0f0ba82b1b2634bce0e | [
"MIT"
] | 15 | 2016-02-17T19:11:32.000Z | 2018-04-12T23:33:06.000Z | test/integration_tests/test_containers.py | poldracklab/bids-core | b87a1ef2d3e1c5a79a98c0f0ba82b1b2634bce0e | [
"MIT"
] | 4 | 2017-04-05T17:34:59.000Z | 2018-01-22T01:40:51.000Z | import requests
import json
import time
from nose.tools import with_setup
import logging
log = logging.getLogger(__name__)
sh = logging.StreamHandler()
log.addHandler(sh)
base_url = 'http://localhost:8080/api'
adm_user = 'test@user.com'
test_data = type('',(object,),{})()
def setup_db():
global session
sessi... | 27.817143 | 69 | 0.603533 | 635 | 4,868 | 4.440945 | 0.124409 | 0.071986 | 0.082979 | 0.106028 | 0.833333 | 0.807447 | 0.796809 | 0.775177 | 0.765603 | 0.660284 | 0 | 0.006561 | 0.248562 | 4,868 | 174 | 70 | 27.977011 | 0.764352 | 0.011709 | 0 | 0.603774 | 0 | 0 | 0.133735 | 0 | 0 | 0 | 0 | 0 | 0.176101 | 1 | 0.031447 | false | 0 | 0.031447 | 0 | 0.062893 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a81218fbf87506be751616884825808a896f6524 | 39 | py | Python | alphatools/fundamentals/__init__.py | marketneutral/alphatools | 72b668381f21d77c0b52f920358df3d8008e909f | [
"Apache-2.0"
] | 302 | 2018-08-29T01:59:03.000Z | 2022-03-26T03:40:09.000Z | alphatools/fundamentals/__init__.py | webclinic017/alphatools | 72b668381f21d77c0b52f920358df3d8008e909f | [
"Apache-2.0"
] | 7 | 2018-08-29T15:07:13.000Z | 2020-11-27T16:58:26.000Z | alphatools/fundamentals/__init__.py | webclinic017/alphatools | 72b668381f21d77c0b52f920358df3d8008e909f | [
"Apache-2.0"
] | 64 | 2019-04-24T13:09:03.000Z | 2022-02-08T00:28:53.000Z | from .fundamentals import Fundamentals
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b5395bf708c3dac5ee02df02f567165ff9ec0f78 | 173 | py | Python | SimplestSimulatedAnnleaning/__init__.py | PasaOpasen/SimplestSimulatedAnnealing | b07bad69c7b85f104df1928656abe91de218862a | [
"MIT"
] | 1 | 2020-12-21T14:53:50.000Z | 2020-12-21T14:53:50.000Z | SimplestSimulatedAnnleaning/__init__.py | PasaOpasen/SimplestSimulatedAnnealing | b07bad69c7b85f104df1928656abe91de218862a | [
"MIT"
] | null | null | null | SimplestSimulatedAnnleaning/__init__.py | PasaOpasen/SimplestSimulatedAnnealing | b07bad69c7b85f104df1928656abe91de218862a | [
"MIT"
] | null | null | null |
from .cooling import Cooling
from .mut_examples import simple_continual_mutation, continual_mutation_with_temperature
from .simulated_annealing import SimulatedAnnealing
| 24.714286 | 88 | 0.884393 | 20 | 173 | 7.3 | 0.65 | 0.232877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092486 | 173 | 6 | 89 | 28.833333 | 0.929936 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a935c7c3bd36a32f977ced10e84b798ab9c12916 | 38 | py | Python | dbSetup.py | rithik/CampusMarketplace | ee1c93849e5d58ab9d07eca339b569ba875fb30a | [
"MIT"
] | 1 | 2020-03-10T07:23:55.000Z | 2020-03-10T07:23:55.000Z | dbSetup.py | rithik/CampusMarketplace | ee1c93849e5d58ab9d07eca339b569ba875fb30a | [
"MIT"
] | 3 | 2020-06-05T17:41:19.000Z | 2021-09-07T23:46:24.000Z | dbSetup.py | rithik/CampusMarketplace | ee1c93849e5d58ab9d07eca339b569ba875fb30a | [
"MIT"
] | 3 | 2017-11-17T15:59:45.000Z | 2021-08-09T18:25:25.000Z | from database import init_db
init_db() | 19 | 28 | 0.842105 | 7 | 38 | 4.285714 | 0.714286 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 2 | 29 | 19 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 6 |
a93c93f87010a998a50722cdf480d66300b22361 | 61 | py | Python | python/ql/src/Imports/from_import_fixed.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 4,036 | 2020-04-29T00:09:57.000Z | 2022-03-31T14:16:38.000Z | python/ql/src/Imports/from_import_fixed.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | python/ql/src/Imports/from_import_fixed.py | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z | import sys
def main():
sys.stdout.write("Hello World!")
| 12.2 | 36 | 0.655738 | 9 | 61 | 4.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 61 | 4 | 37 | 15.25 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a9587477159c6768fb043941ae7f81189f843f07 | 14,313 | py | Python | paktrade.py | tanveerntu/paktextiles | 0e43fcc08f53cac87d784c0325b4be7899bea4db | [
"MIT"
] | null | null | null | paktrade.py | tanveerntu/paktextiles | 0e43fcc08f53cac87d784c0325b4be7899bea4db | [
"MIT"
] | null | null | null | paktrade.py | tanveerntu/paktextiles | 0e43fcc08f53cac87d784c0325b4be7899bea4db | [
"MIT"
] | null | null | null |
from plotly import graph_objs as go
import pandas as pd
import streamlit as st
########################
#######################
#Setting page configuration and title for SEO
st.set_page_config(
page_title = 'Pakistan Trade Statistics',
page_icon = '✅',
layout = 'wide'
)
#####################... | 38.475806 | 126 | 0.550828 | 1,827 | 14,313 | 4.22277 | 0.134647 | 0.034997 | 0.014517 | 0.036941 | 0.861309 | 0.820091 | 0.8035 | 0.789501 | 0.789501 | 0.776021 | 0 | 0.048926 | 0.251729 | 14,313 | 371 | 127 | 38.579515 | 0.671335 | 0.130161 | 0 | 0.655039 | 0 | 0 | 0.22012 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.085271 | 0 | 0.085271 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a96e5af6dc57b78ffc15f7336dc345de33aa2d22 | 173 | py | Python | server/gateway/__init__.py | wazatoki/IotLogger | 9baec9bff7762fbc0d279207fabf8902d9650a2d | [
"MIT"
] | null | null | null | server/gateway/__init__.py | wazatoki/IotLogger | 9baec9bff7762fbc0d279207fabf8902d9650a2d | [
"MIT"
] | 7 | 2021-03-11T00:57:20.000Z | 2022-02-27T07:53:56.000Z | server/gateway/__init__.py | wazatoki/IotLogger | 9baec9bff7762fbc0d279207fabf8902d9650a2d | [
"MIT"
] | null | null | null | from gateway import device_item, device, parsed, asynchronous, cyclic, index
__all__ = [
device_item,
device,
parsed,
asynchronous,
cyclic,
index,
] | 17.3 | 76 | 0.67052 | 18 | 173 | 6.111111 | 0.555556 | 0.181818 | 0.290909 | 0.4 | 0.818182 | 0.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.248555 | 173 | 10 | 77 | 17.3 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8d71bb3516fa105c148383390912c7a9ae755f5b | 36 | py | Python | app/dist_service/__init__.py | en-medina/RPI_REACTOR_CSTR_TOG | 1771123c6cdac6e8be1c21508d921c35fd68db25 | [
"MIT"
] | null | null | null | app/dist_service/__init__.py | en-medina/RPI_REACTOR_CSTR_TOG | 1771123c6cdac6e8be1c21508d921c35fd68db25 | [
"MIT"
] | null | null | null | app/dist_service/__init__.py | en-medina/RPI_REACTOR_CSTR_TOG | 1771123c6cdac6e8be1c21508d921c35fd68db25 | [
"MIT"
] | null | null | null | from .dist_service import init_dist
| 18 | 35 | 0.861111 | 6 | 36 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8d7c3d6caf69454c342ee698631166218b7b9489 | 27 | py | Python | include-file/myscript.py | michael-kotliar/cwl-patterns | 3ec5194f5b63d5dcb1fc3aa5bd89080fb1a6da2d | [
"Apache-2.0"
] | 14 | 2020-05-13T07:47:28.000Z | 2021-08-20T04:01:11.000Z | include-file/myscript.py | michael-kotliar/cwl-patterns | 3ec5194f5b63d5dcb1fc3aa5bd89080fb1a6da2d | [
"Apache-2.0"
] | 4 | 2020-08-04T15:45:07.000Z | 2022-03-30T07:35:25.000Z | include-file/myscript.py | michael-kotliar/cwl-patterns | 3ec5194f5b63d5dcb1fc3aa5bd89080fb1a6da2d | [
"Apache-2.0"
] | 6 | 2020-08-20T02:47:35.000Z | 2022-03-04T20:01:31.000Z | print("$(inputs.message)")
| 13.5 | 26 | 0.666667 | 3 | 27 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 27 | 1 | 27 | 27 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
573836479151e7abb3f811b87e616f2e15985926 | 76 | py | Python | tests/data/__init__.py | nstott/simpleflow | 483602deb745a09b59ad6e24052dd5096c54fad2 | [
"MIT"
] | 69 | 2015-02-24T00:49:40.000Z | 2022-02-05T02:35:04.000Z | tests/data/__init__.py | nstott/simpleflow | 483602deb745a09b59ad6e24052dd5096c54fad2 | [
"MIT"
] | 295 | 2015-02-06T11:02:00.000Z | 2022-03-21T11:01:34.000Z | tests/data/__init__.py | nstott/simpleflow | 483602deb745a09b59ad6e24052dd5096c54fad2 | [
"MIT"
] | 27 | 2015-08-31T22:14:42.000Z | 2022-02-08T07:25:01.000Z | from .activities import *
from .constants import *
from .workflows import *
| 19 | 25 | 0.763158 | 9 | 76 | 6.444444 | 0.555556 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 76 | 3 | 26 | 25.333333 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
574ae44cc60be2fce5ac3d982b4d25b1a8c7fe27 | 128 | py | Python | models/base_model.py | vlivashkin/modnet | 2d43084804851cbc879d12deba0e3eab023044ee | [
"Apache-2.0"
] | 28 | 2019-05-27T01:46:14.000Z | 2022-02-14T13:51:06.000Z | models/base_model.py | vlivashkin/modnet | 2d43084804851cbc879d12deba0e3eab023044ee | [
"Apache-2.0"
] | 1 | 2019-08-06T08:49:17.000Z | 2019-08-06T08:49:17.000Z | models/base_model.py | vlivashkin/modnet | 2d43084804851cbc879d12deba0e3eab023044ee | [
"Apache-2.0"
] | 8 | 2019-04-25T17:03:27.000Z | 2021-05-07T16:52:25.000Z | import abc
from abc import ABC
class BaseModel(ABC):
@abc.abstractmethod
def fit_transform(self, graph):
pass
| 14.222222 | 35 | 0.6875 | 17 | 128 | 5.117647 | 0.705882 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242188 | 128 | 8 | 36 | 16 | 0.896907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9386cde69106b743a868c9336e9e28d0e77ea69e | 20,478 | py | Python | test_cephfs-cli.py | Hacky-DH/cephfs-cli | 9e7673a65ffa3e7833dc4637f61aef6adb752625 | [
"MIT"
] | null | null | null | test_cephfs-cli.py | Hacky-DH/cephfs-cli | 9e7673a65ffa3e7833dc4637f61aef6adb752625 | [
"MIT"
] | null | null | null | test_cephfs-cli.py | Hacky-DH/cephfs-cli | 9e7673a65ffa3e7833dc4637f61aef6adb752625 | [
"MIT"
] | null | null | null | import pytest
import os
import sys
from errno import *
import re
import json
cephfs_cli = pytest.importorskip("cephfs-cli")
addr = '172.28.218.70,172.28.160.165,172.28.217.100'
key = 'AQBNzwhc8ru/IBAAef0NABDSntpt5Q8TQp4AWw=='
user = 'test_cephfs_user'
root = '/pytestdir/test_cephfs_user'
@pytest.yield_fixture(scope='... | 38.492481 | 89 | 0.659977 | 2,925 | 20,478 | 4.451624 | 0.059145 | 0.057369 | 0.05591 | 0.044236 | 0.878043 | 0.84356 | 0.811919 | 0.77183 | 0.731127 | 0.678519 | 0 | 0.02212 | 0.178777 | 20,478 | 531 | 90 | 38.564972 | 0.752156 | 0.008302 | 0 | 0.622318 | 0 | 0.012876 | 0.292104 | 0.065366 | 0 | 0 | 0 | 0 | 0.287554 | 1 | 0.10515 | false | 0.002146 | 0.021459 | 0 | 0.126609 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
938c25d2e878788ef60edba4b13077f48b76427f | 34 | py | Python | mg_hello.py | calleengman/github-playground | f2095c78ffec6eab4332663583965b8f8bce89aa | [
"MIT"
] | 50 | 2017-01-12T03:15:02.000Z | 2021-08-31T20:26:03.000Z | mg_hello.py | calleengman/github-playground | f2095c78ffec6eab4332663583965b8f8bce89aa | [
"MIT"
] | 20 | 2017-01-30T11:50:30.000Z | 2021-07-23T07:49:33.000Z | mg_hello.py | calleengman/github-playground | f2095c78ffec6eab4332663583965b8f8bce89aa | [
"MIT"
] | 124 | 2017-01-13T00:17:37.000Z | 2022-03-26T19:16:11.000Z | print (hello)
print (hello again)
| 11.333333 | 19 | 0.735294 | 5 | 34 | 5 | 0.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 2 | 20 | 17 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
93a6ef0feeda9e2040845c4b8ee8a8fe9583504f | 169 | py | Python | clisops/__init__.py | cehbrecht/clisops | 7d80bcbc21ee8a6248f88bb590a1fed33a060bfd | [
"BSD-3-Clause"
] | null | null | null | clisops/__init__.py | cehbrecht/clisops | 7d80bcbc21ee8a6248f88bb590a1fed33a060bfd | [
"BSD-3-Clause"
] | null | null | null | clisops/__init__.py | cehbrecht/clisops | 7d80bcbc21ee8a6248f88bb590a1fed33a060bfd | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""Top-level package for clisops."""
from .__version__ import __author__
from .__version__ import __email__
from .__version__ import __version__
| 28.166667 | 36 | 0.757396 | 20 | 169 | 5.2 | 0.65 | 0.317308 | 0.490385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.12426 | 169 | 5 | 37 | 33.8 | 0.695946 | 0.313609 | 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 | 0 | 0 | 0 | 6 |
93b40c42782e2f1eba83c3a3042a052b26a31b39 | 26 | py | Python | docker/farmapi/ansible_playbook/templates/config.py | biothings/biothings-farm | 76bb0077ce3b2618bbab7ce41d2bdeceadb88a78 | [
"Apache-2.0"
] | null | null | null | docker/farmapi/ansible_playbook/templates/config.py | biothings/biothings-farm | 76bb0077ce3b2618bbab7ce41d2bdeceadb88a78 | [
"Apache-2.0"
] | 3 | 2019-10-23T18:26:32.000Z | 2019-10-25T15:07:36.000Z | docker/farmapi/ansible_playbook/templates/config.py | biothings/biothings-farm | 76bb0077ce3b2618bbab7ce41d2bdeceadb88a78 | [
"Apache-2.0"
] | null | null | null | from config_web import *
| 8.666667 | 24 | 0.769231 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 2 | 25 | 13 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
93d0741798b665cd637c509b97668992eef33ece | 35 | py | Python | batch_jobs/bucket_replicate/__init__.py | uc-cdis/aws-batch-jobs | ce765a67a22f1646d849bd674dc0bce5e9cfcb8b | [
"Apache-2.0"
] | null | null | null | batch_jobs/bucket_replicate/__init__.py | uc-cdis/aws-batch-jobs | ce765a67a22f1646d849bd674dc0bce5e9cfcb8b | [
"Apache-2.0"
] | 1 | 2020-05-12T16:56:43.000Z | 2020-05-12T16:56:43.000Z | batch_jobs/bucket_replicate/__init__.py | uc-cdis/aws-batch-jobs | ce765a67a22f1646d849bd674dc0bce5e9cfcb8b | [
"Apache-2.0"
] | 1 | 2021-02-19T17:05:49.000Z | 2021-02-19T17:05:49.000Z | from . import bucket_replicate_job
| 17.5 | 34 | 0.857143 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f511e5a9c2f23d4142a6ced3ff2b9d75e602b2b5 | 296 | py | Python | src/symbol_table/__init__.py | AAU-PSix/canary | 93b07d23cd9380adc03a6aa1291a13eaa3b3008c | [
"MIT"
] | null | null | null | src/symbol_table/__init__.py | AAU-PSix/canary | 93b07d23cd9380adc03a6aa1291a13eaa3b3008c | [
"MIT"
] | null | null | null | src/symbol_table/__init__.py | AAU-PSix/canary | 93b07d23cd9380adc03a6aa1291a13eaa3b3008c | [
"MIT"
] | null | null | null | from .types import *
from .c_types import *
from .declaration import *
from .lexical_declaration import *
from .lexical_symbol_table import *
from .lexical_declaration import *
from .node import *
from .symbol_table_filler import *
from .lexical_symbol_table_builder import *
from .tree import *
| 26.909091 | 43 | 0.797297 | 40 | 296 | 5.65 | 0.3 | 0.39823 | 0.300885 | 0.247788 | 0.539823 | 0.336283 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 296 | 10 | 44 | 29.6 | 0.882813 | 0 | 0 | 0.2 | 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 | 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 | 6 |
f53d4e4d6998f34db73ad6c94211157a827b0da4 | 82 | py | Python | simuvex/simuvex/storage/file.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | 86 | 2015-08-06T23:25:07.000Z | 2022-02-17T14:58:22.000Z | simuvex/simuvex/storage/file.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | 132 | 2015-09-10T19:06:59.000Z | 2018-10-04T20:36:45.000Z | simuvex/simuvex/storage/file.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | 80 | 2015-08-07T10:30:20.000Z | 2020-03-21T14:45:28.000Z | print '... Importing simuvex/storage/file.py ...'
from angr.storage.file import *
| 27.333333 | 49 | 0.719512 | 11 | 82 | 5.363636 | 0.818182 | 0.372881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 82 | 2 | 50 | 41 | 0.808219 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.280488 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
f584452f98c757df73146db181504992709e6cbe | 113 | py | Python | platypush/message/response/camera/__init__.py | RichardChiang/platypush | 1777ebb0516118cdef20046a92caab496fa7c6cb | [
"MIT"
] | 228 | 2018-01-30T11:17:09.000Z | 2022-03-24T11:22:26.000Z | platypush/message/response/camera/__init__.py | RichardChiang/platypush | 1777ebb0516118cdef20046a92caab496fa7c6cb | [
"MIT"
] | 167 | 2017-12-11T19:35:38.000Z | 2022-03-27T14:45:30.000Z | platypush/message/response/camera/__init__.py | BlackLight/runbullet | 8d26c8634d2677b4402f0a21b9ab8244b44640db | [
"MIT"
] | 16 | 2018-05-03T07:31:56.000Z | 2021-12-05T19:27:37.000Z | from platypush.message.response import Response
class CameraResponse(Response):
pass
# vim:sw=4:ts=4:et:
| 12.555556 | 47 | 0.743363 | 16 | 113 | 5.25 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.150442 | 113 | 8 | 48 | 14.125 | 0.854167 | 0.150442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 | 6 |
f58fcc363adb67fee9df5554f7dee3401b7bf1ee | 322 | py | Python | utils/__init__.py | Walter-Feng/myModule | f8cf065d52153ef3d386d10be1771e80cf5af4e5 | [
"MIT"
] | null | null | null | utils/__init__.py | Walter-Feng/myModule | f8cf065d52153ef3d386d10be1771e80cf5af4e5 | [
"MIT"
] | null | null | null | utils/__init__.py | Walter-Feng/myModule | f8cf065d52153ef3d386d10be1771e80cf5af4e5 | [
"MIT"
] | null | null | null | import numpy as np
flatten = lambda l: [item for sublist in l for item in sublist]
transpose = lambda l: list(map(list, zip(*l)))
def pick_indexed_element(target_list,index):
return[i[index] for i in target_list]
def np_sort_by_column(target_list, index):
return target_list[target_list[:, index].argsort()]... | 23 | 63 | 0.736025 | 54 | 322 | 4.203704 | 0.5 | 0.220264 | 0.198238 | 0.185022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15528 | 322 | 13 | 64 | 24.769231 | 0.834559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
193ded94fd61e3778499ff0ad96b8b1a158e81b5 | 102 | py | Python | dobby-pi/screens/manager.py | brebory/dobby-pi | ae97bab652cc571c7a6071ef6eb01f88bb6bc9df | [
"MIT"
] | null | null | null | dobby-pi/screens/manager.py | brebory/dobby-pi | ae97bab652cc571c7a6071ef6eb01f88bb6bc9df | [
"MIT"
] | null | null | null | dobby-pi/screens/manager.py | brebory/dobby-pi | ae97bab652cc571c7a6071ef6eb01f88bb6bc9df | [
"MIT"
] | null | null | null | from kivy.uix.screenmanager import ScreenManager
class DobbyScreenManager(ScreenManager):
pass | 25.5 | 49 | 0.813725 | 10 | 102 | 8.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 102 | 4 | 50 | 25.5 | 0.943182 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1974508e5fa754fbeeb043c8d4543f165221c439 | 96 | py | Python | venv/lib/python3.8/site-packages/distlib/resources.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/distlib/resources.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/distlib/resources.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/2f/06/cf/92c73403524c6e2e979ee3dd301527f375fb04fb85356a8f184288ebdf | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5fed41a9355d2cac88a5ee271224e627658f8140 | 40 | py | Python | GmailWrapper_JE/je_gmail/core/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | 2 | 2020-12-30T06:37:10.000Z | 2020-12-30T07:27:45.000Z | GmailWrapper_JE/je_gmail/core/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | GmailWrapper_JE/je_gmail/core/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | from je_gmail.core.gmail_core import *
| 20 | 39 | 0.8 | 7 | 40 | 4.285714 | 0.714286 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.857143 | 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 | 0 | 0 | 0 | 6 |
270a1974827c141bf19510c84d423333224f9baa | 132 | py | Python | samples/led-trigger.py | sen-den/stem-python-ev3dev2 | 2e93f943ab7b86250823057385a6ea759e47a743 | [
"MIT"
] | 1 | 2021-05-16T14:43:43.000Z | 2021-05-16T14:43:43.000Z | samples/led-trigger.py | sen-den/stem-python-ev3dev2 | 2e93f943ab7b86250823057385a6ea759e47a743 | [
"MIT"
] | null | null | null | samples/led-trigger.py | sen-den/stem-python-ev3dev2 | 2e93f943ab7b86250823057385a6ea759e47a743 | [
"MIT"
] | 1 | 2019-11-30T10:32:51.000Z | 2019-11-30T10:32:51.000Z | from ev3dev.ev3 import *
Leds.set(Leds.LEFT, brightness_pct=0.5, trigger='timer')
Leds.set(Leds.LEFT, delay_on=3000, delay_off=500)
| 33 | 56 | 0.765152 | 24 | 132 | 4.083333 | 0.75 | 0.142857 | 0.22449 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090164 | 0.075758 | 132 | 3 | 57 | 44 | 0.713115 | 0 | 0 | 0 | 0 | 0 | 0.037879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 6 |
272c562e37fb3326681ae9890fb273154231fd09 | 62 | py | Python | app/bz150_script.py | estellespanneut/example-open-source-repo-2021 | 413735c3aac710999229970736553c393b23a49f | [
"MIT"
] | null | null | null | app/bz150_script.py | estellespanneut/example-open-source-repo-2021 | 413735c3aac710999229970736553c393b23a49f | [
"MIT"
] | 1 | 2021-06-15T23:05:23.000Z | 2021-06-15T23:05:23.000Z | app/bz150_script.py | estellespanneut/example-open-source-repo-2021 | 413735c3aac710999229970736553c393b23a49f | [
"MIT"
] | 78 | 2021-03-15T21:54:31.000Z | 2021-07-28T05:41:32.000Z | print("hello")
print("hello again")
print("hello again again") | 20.666667 | 26 | 0.725806 | 9 | 62 | 5 | 0.333333 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 62 | 3 | 26 | 20.666667 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
2736601d66cacf0bb464687e8faa3d901e0c415d | 75 | py | Python | CodeWars/7 Kyu/Area of an annulus.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Area of an annulus.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Area of an annulus.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | from math import pi
def annulus_area(r):
return round(r*r / 4 * pi, 2) | 18.75 | 33 | 0.653333 | 15 | 75 | 3.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.226667 | 75 | 4 | 33 | 18.75 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.