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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5ae27a4af140633e2cb9d306f9edc80851f36856 | 4,252 | py | Python | tests/features/steps/delivery.py | ahmadsyafrudin/estimation-test | 25b0b80065c8a0c0ba1a1a3b019b522d81501afa | [
"MIT"
] | null | null | null | tests/features/steps/delivery.py | ahmadsyafrudin/estimation-test | 25b0b80065c8a0c0ba1a1a3b019b522d81501afa | [
"MIT"
] | 8 | 2020-02-12T00:12:47.000Z | 2021-09-22T18:01:47.000Z | tests/features/steps/delivery.py | ahmadsyafrudin/estimation-test | 25b0b80065c8a0c0ba1a1a3b019b522d81501afa | [
"MIT"
] | null | null | null | from http import HTTPStatus
from dateutil.parser import parse
from behave import given, when, then
from django.test import Client
@given("client want to order on {date} at {hour}")
def step_impl(context, date, hour):
"""
:param hour: str
:param date: str
:type context: behave.runner.Context
"""
... | 31.264706 | 103 | 0.618532 | 484 | 4,252 | 5.355372 | 0.144628 | 0.059414 | 0.050926 | 0.083333 | 0.856481 | 0.846836 | 0.822917 | 0.822917 | 0.822917 | 0.822917 | 0 | 0 | 0.248119 | 4,252 | 135 | 104 | 31.496296 | 0.81076 | 0.161806 | 0 | 0.633333 | 0 | 0 | 0.264503 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.2 | false | 0 | 0.066667 | 0 | 0.266667 | 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 |
8507589d7822f7af41526eee6297bb4300799fd8 | 47 | py | Python | Light/1068/AES_FINAL/secret.py | Mindjolt2406/Competitive-Programming | d000d98bf7005ee4fb809bcea2f110e4c4793b80 | [
"MIT"
] | 2 | 2018-12-11T14:37:24.000Z | 2022-01-23T18:11:54.000Z | Light/1068/AES_FINAL/secret.py | Mindjolt2406/Competitive-Programming | d000d98bf7005ee4fb809bcea2f110e4c4793b80 | [
"MIT"
] | null | null | null | Light/1068/AES_FINAL/secret.py | Mindjolt2406/Competitive-Programming | d000d98bf7005ee4fb809bcea2f110e4c4793b80 | [
"MIT"
] | null | null | null | FLAG = "zenseCTF{AeS}"
KEY = "0000000000000000" | 23.5 | 24 | 0.723404 | 5 | 47 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.380952 | 0.106383 | 47 | 2 | 24 | 23.5 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0.604167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
852530f5aa6133cdd3f4db4571a28f1acde4cf65 | 17,033 | py | Python | lib/net/network.py | jrcai/ACE | 1e2b04d1cf4bb517f107664ac489a1a96e95a4c1 | [
"MIT"
] | 18 | 2021-08-06T01:15:32.000Z | 2022-03-14T07:09:39.000Z | lib/net/network.py | jrcai/ACE | 1e2b04d1cf4bb517f107664ac489a1a96e95a4c1 | [
"MIT"
] | 2 | 2021-09-24T03:29:17.000Z | 2021-11-22T19:18:58.000Z | lib/net/network.py | jrcai/ACE | 1e2b04d1cf4bb517f107664ac489a1a96e95a4c1 | [
"MIT"
] | 2 | 2021-10-17T18:09:20.000Z | 2021-11-08T04:19:19.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from backbone import (res32_cifar,res32_cifar_group, res50,res50_group, res10, res10_group, res152,res152_group)
from modules import GAP, FCNorm, FCGroupNorm, Identity, SEN, GMP, LWS, LWS_bias
import copy
import numpy as np
import cv2
class ... | 39.246544 | 156 | 0.585804 | 2,107 | 17,033 | 4.495491 | 0.090176 | 0.051943 | 0.028505 | 0.050253 | 0.841216 | 0.822424 | 0.779455 | 0.744405 | 0.709776 | 0.699958 | 0 | 0.013409 | 0.303822 | 17,033 | 434 | 157 | 39.246544 | 0.785377 | 0.028944 | 0 | 0.684783 | 0 | 0 | 0.073434 | 0.027709 | 0 | 0 | 0 | 0 | 0.002717 | 1 | 0.086957 | false | 0 | 0.032609 | 0 | 0.203804 | 0.024457 | 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 |
5189bcfb2556bbd140fdfe9eee1a92dc7b700fc4 | 227 | py | Python | source/views/__init__.py | JoshMayberry/ME342Final | 8c253b82f7f94f180bf714b451c95c5158ab3779 | [
"MIT"
] | null | null | null | source/views/__init__.py | JoshMayberry/ME342Final | 8c253b82f7f94f180bf714b451c95c5158ab3779 | [
"MIT"
] | null | null | null | source/views/__init__.py | JoshMayberry/ME342Final | 8c253b82f7f94f180bf714b451c95c5158ab3779 | [
"MIT"
] | null | null | null | from .frmSubject import Frm_Subject
from .frmThermoInput import Frm_ThermoInput
from .frmThermoSetup import Frm_ThermoSetup
from .frmUnitConverter import Frm_UnitConverter
from .frmThermoTableLookup import Frm_ThermoTableLookup | 45.4 | 55 | 0.894273 | 25 | 227 | 7.92 | 0.52 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0837 | 227 | 5 | 55 | 45.4 | 0.951923 | 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 |
519366e838fe22f5ee496c0ee4f1f5ce1adebc12 | 49 | py | Python | constants/test_mode.py | daniyalahmad358/Wordy | e957e742327010ce3ca133c9e1d1557b673e6d8f | [
"Unlicense"
] | null | null | null | constants/test_mode.py | daniyalahmad358/Wordy | e957e742327010ce3ca133c9e1d1557b673e6d8f | [
"Unlicense"
] | null | null | null | constants/test_mode.py | daniyalahmad358/Wordy | e957e742327010ce3ca133c9e1d1557b673e6d8f | [
"Unlicense"
] | null | null | null | # IS_IN_TEST_MODE = True
IS_IN_TEST_MODE = False
| 16.333333 | 24 | 0.795918 | 10 | 49 | 3.3 | 0.6 | 0.242424 | 0.484848 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 2 | 25 | 24.5 | 0.785714 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5196d89cdf1a65728d3882d22f98f9664477af00 | 192 | py | Python | RecoJets/JetProducers/python/CaloTowerSchemeBWithHO_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoJets/JetProducers/python/CaloTowerSchemeBWithHO_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoJets/JetProducers/python/CaloTowerSchemeBWithHO_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
import RecoJets.JetProducers.CaloTowerSchemeB_cfi
towerMakerWithHO = RecoJets.JetProducers.CaloTowerSchemeB_cfi.towerMaker.clone(
UseHO = True
)
| 24 | 79 | 0.838542 | 20 | 192 | 7.95 | 0.75 | 0.251572 | 0.45283 | 0.490566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098958 | 192 | 7 | 80 | 27.428571 | 0.919075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
51b7e678eef778d4c42c4984b908573eda3a7ab2 | 24 | py | Python | yadda/vendor/pyinotify/__init__.py | njvack/yadda | cc080e4d1242d3183ba4b5363387835b711b5af8 | [
"MIT"
] | 2 | 2019-04-15T19:42:59.000Z | 2020-05-07T12:18:42.000Z | yadda/vendor/pyinotify/__init__.py | njvack/yadda | cc080e4d1242d3183ba4b5363387835b711b5af8 | [
"MIT"
] | null | null | null | yadda/vendor/pyinotify/__init__.py | njvack/yadda | cc080e4d1242d3183ba4b5363387835b711b5af8 | [
"MIT"
] | null | null | null | from pyinotify import *
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 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 |
51d0e458b93f09b33e28c57acaea21c3e45fc8ca | 5,355 | py | Python | doctors/tests.py | shebetov/docchain | 109f72200a72547ed85ea8f01e8c8b96f70522ec | [
"MIT"
] | null | null | null | doctors/tests.py | shebetov/docchain | 109f72200a72547ed85ea8f01e8c8b96f70522ec | [
"MIT"
] | null | null | null | doctors/tests.py | shebetov/docchain | 109f72200a72547ed85ea8f01e8c8b96f70522ec | [
"MIT"
] | null | null | null | from django.test import TestCase, Client
from .models import Doctor, Review
from datetime import datetime
from json import loads
class LivesearchAPI(TestCase):
def setUp(self):
Doctor.objects.create(name="Иван", second_name='Хартман', third_name='Алексеев', birth_date=datetime.now(), phone='+37529123456... | 42.165354 | 145 | 0.656209 | 731 | 5,355 | 4.640219 | 0.139535 | 0.032429 | 0.022995 | 0.065153 | 0.864092 | 0.864092 | 0.828125 | 0.828125 | 0.805719 | 0.785672 | 0 | 0.031207 | 0.180205 | 5,355 | 126 | 146 | 42.5 | 0.741458 | 0 | 0 | 0.533333 | 0 | 0 | 0.228427 | 0.080127 | 0 | 0 | 0 | 0 | 0.311111 | 1 | 0.166667 | false | 0 | 0.044444 | 0 | 0.233333 | 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 |
51dd350f617e39852ae64a8611a9af733e17bba2 | 21 | py | Python | proxy_apps/framework/rdu/__init__.py | pnnl/ProxyTSPRD | 6e60c65768d9ff124802a66526be0923665f0e17 | [
"BSD-3-Clause"
] | null | null | null | proxy_apps/framework/rdu/__init__.py | pnnl/ProxyTSPRD | 6e60c65768d9ff124802a66526be0923665f0e17 | [
"BSD-3-Clause"
] | 2 | 2021-11-19T22:08:16.000Z | 2021-11-20T18:15:23.000Z | proxy_apps/framework/rdu/__init__.py | pnnl/ProxyTSPRD | 6e60c65768d9ff124802a66526be0923665f0e17 | [
"BSD-3-Clause"
] | null | null | null | from .main import RDU | 21 | 21 | 0.809524 | 4 | 21 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.944444 | 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 |
cfbf36015cd820b61df04ce2c51ced7ccf7edf91 | 34 | py | Python | Tests/Tree/__init__.py | Jh123x/Wordle-Solver | 411ea3bc944e4c9caaddccec1b4b26e113ff2134 | [
"MIT"
] | null | null | null | Tests/Tree/__init__.py | Jh123x/Wordle-Solver | 411ea3bc944e4c9caaddccec1b4b26e113ff2134 | [
"MIT"
] | null | null | null | Tests/Tree/__init__.py | Jh123x/Wordle-Solver | 411ea3bc944e4c9caaddccec1b4b26e113ff2134 | [
"MIT"
] | null | null | null | from .WordTree import WordTreeTest | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 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 |
cfcc14b0dce31758889e12c930b5506005ce313c | 315 | py | Python | hubspot/crm/deals/api/__init__.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 117 | 2020-04-06T08:22:53.000Z | 2022-03-18T03:41:29.000Z | hubspot/crm/deals/api/__init__.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 62 | 2020-04-06T16:21:06.000Z | 2022-03-17T16:50:44.000Z | hubspot/crm/deals/api/__init__.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 45 | 2020-04-06T16:13:52.000Z | 2022-03-30T21:33:17.000Z | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from hubspot.crm.deals.api.associations_api import AssociationsApi
from hubspot.crm.deals.api.basic_api import BasicApi
from hubspot.crm.deals.api.batch_api import BatchApi
from hubspot.crm.deals.api.search_api import SearchApi
| 31.5 | 66 | 0.84127 | 48 | 315 | 5.333333 | 0.4375 | 0.171875 | 0.21875 | 0.296875 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003521 | 0.098413 | 315 | 9 | 67 | 35 | 0.897887 | 0.130159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cff31a826b156d3abf43afe0c2f6f52c02988573 | 77 | py | Python | calculus/__init__.py | georgercarder/calculus | 13b729aefe383a5156defc4b55f3748afa8ba427 | [
"MIT"
] | null | null | null | calculus/__init__.py | georgercarder/calculus | 13b729aefe383a5156defc4b55f3748afa8ba427 | [
"MIT"
] | null | null | null | calculus/__init__.py | georgercarder/calculus | 13b729aefe383a5156defc4b55f3748afa8ba427 | [
"MIT"
] | null | null | null | from .polynomial_1 import finitesum
from .polynomial_2 import finiteproduct
| 25.666667 | 39 | 0.857143 | 10 | 77 | 6.4 | 0.7 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.116883 | 77 | 2 | 40 | 38.5 | 0.911765 | 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 |
5c8e65360b70b81bef53968a6f9d2242923e4a06 | 86 | py | Python | japonicus/__init__.py | mczero80/japonicus | d183f24a7e1d0e52052f4c6e5e82604d9e7700d3 | [
"MIT"
] | 229 | 2018-01-05T13:32:52.000Z | 2021-12-18T00:57:49.000Z | japonicus/__init__.py | mczero80/japonicus | d183f24a7e1d0e52052f4c6e5e82604d9e7700d3 | [
"MIT"
] | 142 | 2018-01-04T23:39:28.000Z | 2019-12-14T16:38:24.000Z | japonicus/__init__.py | mczero80/japonicus | d183f24a7e1d0e52052f4c6e5e82604d9e7700d3 | [
"MIT"
] | 95 | 2018-01-06T05:35:23.000Z | 2021-12-13T16:42:22.000Z | #!/bin/python
from .japonicus import *
from . import options
from . import interface
| 14.333333 | 24 | 0.744186 | 11 | 86 | 5.818182 | 0.636364 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 86 | 5 | 25 | 17.2 | 0.888889 | 0.139535 | 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 |
5c96ab1b607e722366c96c0dc29110392d52cacf | 129 | py | Python | jskparser/ast/comments/__init__.py | natebragg/java-sketch | f5ac26f2cc46ae4556f9a61c55afd37f55c961ff | [
"MIT"
] | 15 | 2015-12-15T18:33:50.000Z | 2021-09-29T11:48:54.000Z | jskparser/ast/comments/__init__.py | natebragg/java-sketch | f5ac26f2cc46ae4556f9a61c55afd37f55c961ff | [
"MIT"
] | 11 | 2015-11-16T22:14:58.000Z | 2021-09-23T05:28:40.000Z | jskparser/ast/comments/__init__.py | natebragg/java-sketch | f5ac26f2cc46ae4556f9a61c55afd37f55c961ff | [
"MIT"
] | 8 | 2015-11-16T21:50:08.000Z | 2021-03-23T15:15:34.000Z | def _import():
from .javadoccomment import JavadocComment
from ..expr.nameexpr import NameExpr
return locals()
| 18.428571 | 46 | 0.697674 | 13 | 129 | 6.846154 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 129 | 6 | 47 | 21.5 | 0.89899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.75 | 0 | 1.25 | 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 |
5caee7a78c99e1fc4632a1a61522c7f4811b8ff7 | 950 | py | Python | combine/scores.py | siddancha/FlowVerify | a1b80e7c47a23479b91e87fd12b09b59a346c464 | [
"MIT"
] | 1 | 2020-07-09T14:33:41.000Z | 2020-07-09T14:33:41.000Z | combine/scores.py | siddancha/FlowVerify | a1b80e7c47a23479b91e87fd12b09b59a346c464 | [
"MIT"
] | null | null | null | combine/scores.py | siddancha/FlowVerify | a1b80e7c47a23479b91e87fd12b09b59a346c464 | [
"MIT"
] | null | null | null | import numpy as np
class Scorer:
def __init__(self, list_score_names):
self.score_name = 'score'
self.list_score_names = list_score_names
self.params = None
def num_scores(self):
return len(self.list_score_names)
def get_full_score_name(self):
return '_'.join([sel... | 25.675676 | 66 | 0.667368 | 128 | 950 | 4.546875 | 0.242188 | 0.216495 | 0.201031 | 0.185567 | 0.515464 | 0.412371 | 0.297251 | 0.243986 | 0 | 0 | 0 | 0 | 0.229474 | 950 | 36 | 67 | 26.388889 | 0.795082 | 0 | 0 | 0.2 | 0 | 0 | 0.021053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.32 | false | 0.04 | 0.04 | 0.12 | 0.64 | 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 |
5cb34964d06f16df053931cb2398ee85c8441eab | 37 | py | Python | gym-snape/gym_snape/game/__init__.py | jasonjewik/snape | 678361468c07bee78ad7e77522dedb10c02e6f18 | [
"MIT"
] | 8 | 2022-01-03T19:01:09.000Z | 2022-03-13T17:17:49.000Z | gym-snape/gym_snape/game/__init__.py | jasonjewik/snape | 678361468c07bee78ad7e77522dedb10c02e6f18 | [
"MIT"
] | 3 | 2022-01-17T06:41:56.000Z | 2022-01-19T19:52:11.000Z | gym-snape/gym_snape/game/__init__.py | jasonjewik/snape | 678361468c07bee78ad7e77522dedb10c02e6f18 | [
"MIT"
] | 1 | 2022-02-25T08:40:00.000Z | 2022-02-25T08:40:00.000Z | from gym_snape.game.game import Game
| 18.5 | 36 | 0.837838 | 7 | 37 | 4.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 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 |
5cd234edd5c46495c11ab7cb0003521bcdfcc26c | 121 | py | Python | miscellaneous/a_00_package_init_py_example/test_packages/module_with_init/__init__.py | BigMountainTiger/python-excercise-repository | 52a240faa66742ac160c9858ec4bf6a0b51aa248 | [
"MIT"
] | null | null | null | miscellaneous/a_00_package_init_py_example/test_packages/module_with_init/__init__.py | BigMountainTiger/python-excercise-repository | 52a240faa66742ac160c9858ec4bf6a0b51aa248 | [
"MIT"
] | 1 | 2022-03-12T01:02:10.000Z | 2022-03-12T01:02:10.000Z | miscellaneous/a_00_package_init_py_example/test_packages/module_with_init/__init__.py | BigMountainTiger/python-excercise-repository | 52a240faa66742ac160c9858ec4bf6a0b51aa248 | [
"MIT"
] | null | null | null | from module_with_init.sub_1 import module
def PrintFromTop():
print('The function is defined in the __init__.py file') | 30.25 | 58 | 0.793388 | 20 | 121 | 4.45 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.132231 | 121 | 4 | 58 | 30.25 | 0.838095 | 0 | 0 | 0 | 0 | 0 | 0.385246 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 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 |
5cd31589029ee657755d73b7771ad8855cfbcbdd | 779 | py | Python | test_str_add.py | PrimeNumbers/primes_search | 11ebc8591a0643913af3aee699ceeb3668bd49df | [
"MIT"
] | 1 | 2020-07-17T03:35:05.000Z | 2020-07-17T03:35:05.000Z | test_str_add.py | PrimeNumbers/primes_search | 11ebc8591a0643913af3aee699ceeb3668bd49df | [
"MIT"
] | 1 | 2020-07-16T19:50:05.000Z | 2020-07-16T19:52:40.000Z | test_str_add.py | PrimeNumbers/primes_research | 11ebc8591a0643913af3aee699ceeb3668bd49df | [
"MIT"
] | null | null | null | import unittest
from str_add import add
class TestAddingStrings(unittest.TestCase):
def test_obvious_small(self):
self.assertEqual(add('12345','54321'), '66666')
self.assertEqual(add('123456','654321'), '777777')
self.assertEqual(add('0','7'), '7')
self.assertEqual(add('0','0'), '0... | 33.869565 | 138 | 0.641849 | 83 | 779 | 5.879518 | 0.493976 | 0.276639 | 0.331967 | 0.077869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278302 | 0.183569 | 779 | 22 | 139 | 35.409091 | 0.488994 | 0.020539 | 0 | 0 | 0 | 0 | 0.242782 | 0.128609 | 0 | 0 | 0 | 0 | 0.529412 | 1 | 0.117647 | false | 0.058824 | 0.117647 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5cd8875e9b82a7f415e3875d0abe9db653b8f4d1 | 25,336 | py | Python | test_aladding_1024.py | VinACE/trans-vsumm | d3b03fbe09f6d38b9a59ad9b8ceaa732c4f7340a | [
"MIT"
] | 2 | 2020-08-21T06:29:18.000Z | 2020-09-27T00:40:31.000Z | test_aladding_1024.py | VinACE/trans-vsumm | d3b03fbe09f6d38b9a59ad9b8ceaa732c4f7340a | [
"MIT"
] | null | null | null | test_aladding_1024.py | VinACE/trans-vsumm | d3b03fbe09f6d38b9a59ad9b8ceaa732c4f7340a | [
"MIT"
] | 1 | 2021-04-10T11:50:12.000Z | 2021-04-10T11:50:12.000Z | """
# TODO Multihead implementation https://github.com/dreamgonfly/Transformer-pytorch/blob/master/models.py
https://www.youtube.com/watch?v=U0s0f995w14 Pytorch Transformers from Scratch (Attention is all you need)
"""
import torch
import torch.nn as nn
class SelfAttention(nn.Module):
def __init__(self, embed_si... | 96.70229 | 4,136 | 0.53047 | 9,332 | 25,336 | 1.412345 | 0.020039 | 0.098483 | 0.095599 | 0.019727 | 0.79173 | 0.771624 | 0.751669 | 0.672914 | 0.64044 | 0.556829 | 0 | 0.366338 | 0.107476 | 25,336 | 262 | 4,137 | 96.70229 | 0.216513 | 0.690283 | 0 | 0.370558 | 0 | 0 | 0.012665 | 0 | 0 | 0 | 0 | 0.003817 | 0.005076 | 1 | 0.071066 | false | 0 | 0.010152 | 0 | 0.152284 | 0.005076 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ce6c6bdccc03a7aedf99d573cc1f2d34db9453c | 19 | py | Python | __init__.py | ENG-Rabbit/Ges | c4a8070e8ce598be6771d8f3d99296c2a5687462 | [
"MIT"
] | null | null | null | __init__.py | ENG-Rabbit/Ges | c4a8070e8ce598be6771d8f3d99296c2a5687462 | [
"MIT"
] | 2 | 2020-05-12T21:07:39.000Z | 2020-05-13T20:58:04.000Z | __init__.py | ENG-Rabbit/Ges | c4a8070e8ce598be6771d8f3d99296c2a5687462 | [
"MIT"
] | null | null | null | from . import Class | 19 | 19 | 0.789474 | 3 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.9375 | 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 |
7a31f0b3f515b2a5c0373fc68062072b583866ee | 214 | py | Python | dl4s/SeqVAE/__init__.py | liu2231665/Project-dl4s | 615d504caf6f05b676be1c25621d2dd94e41ec54 | [
"MIT"
] | null | null | null | dl4s/SeqVAE/__init__.py | liu2231665/Project-dl4s | 615d504caf6f05b676be1c25621d2dd94e41ec54 | [
"MIT"
] | null | null | null | dl4s/SeqVAE/__init__.py | liu2231665/Project-dl4s | 615d504caf6f05b676be1c25621d2dd94e41ec54 | [
"MIT"
] | null | null | null | from dl4s.SeqVAE.utility import configSTORN, configVRNN, configSRNN
from dl4s.SeqVAE.STORN import binSTORN, gaussSTORN
from dl4s.SeqVAE.VRNN import binVRNN, gaussVRNN
from dl4s.SeqVAE.SRNN import binSRNN, gaussSRNN | 53.5 | 67 | 0.845794 | 29 | 214 | 6.241379 | 0.586207 | 0.176796 | 0.309392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.093458 | 214 | 4 | 68 | 53.5 | 0.912371 | 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 |
7a72a996343e1d07838a1a4d10adc00f9bb8bbb2 | 2,314 | py | Python | epytope/Data/pssms/smm/mat/B_27_05_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/B_27_05_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/B_27_05_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_27_05_9 = {0: {'A': -0.069, 'C': -0.027, 'E': 0.606, 'D': 0.545, 'G': -0.158, 'F': -0.262, 'I': 0.019, 'H': -0.189, 'K': -0.292, 'M': 0.015, 'L': 0.019, 'N': 0.301, 'Q': 0.005, 'P': 0.481, 'S': -0.019, 'R': -0.766, 'T': 0.165, 'W': -0.277, 'V': 0.243, 'Y': -0.34}, 1: {'A': 0.099, 'C': 0.202, 'E': 0.486, 'D': 0.359, '... | 2,314 | 2,314 | 0.395851 | 557 | 2,314 | 1.639138 | 0.310592 | 0.019715 | 0.010953 | 0.013143 | 0.015334 | 0 | 0 | 0 | 0 | 0 | 0 | 0.37558 | 0.161193 | 2,314 | 1 | 2,314 | 2,314 | 0.094797 | 0 | 0 | 0 | 0 | 0 | 0.07905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7a902470bde6514c7bb2bc9775e04b31f3fca5d6 | 7,237 | py | Python | ebu_tt_live/documents/test/test_converters.py | bbc/ebu-tt-live-toolkit | 2d0d6e655f83c29453220abf59c213b4c2a9fc02 | [
"BSD-3-Clause"
] | 1 | 2016-05-26T13:42:37.000Z | 2016-05-26T13:42:37.000Z | ebu_tt_live/documents/test/test_converters.py | bbc/ebu-tt-live-toolkit | 2d0d6e655f83c29453220abf59c213b4c2a9fc02 | [
"BSD-3-Clause"
] | 43 | 2016-04-20T14:36:06.000Z | 2021-11-29T11:22:40.000Z | ebu_tt_live/documents/test/test_converters.py | bbc/ebu-tt-live-toolkit | 2d0d6e655f83c29453220abf59c213b4c2a9fc02 | [
"BSD-3-Clause"
] | 5 | 2016-04-28T10:21:29.000Z | 2020-10-12T18:20:58.000Z | from unittest import TestCase
from datetime import timedelta
import os
from ebu_tt_live.documents.converters import ebutt3_to_ebuttd, ebutt1_to_ebutt3
from ebu_tt_live.documents.ebutt3 import EBUTT3Document
from ebu_tt_live.documents.ebutt1 import EBUTT1Document
from ebu_tt_live.clocks.media import MediaClock
from ebu_... | 30.795745 | 94 | 0.567362 | 780 | 7,237 | 4.862821 | 0.176923 | 0.029528 | 0.03691 | 0.052201 | 0.814395 | 0.773003 | 0.745057 | 0.708674 | 0.697601 | 0.677564 | 0 | 0.030335 | 0.353185 | 7,237 | 234 | 95 | 30.92735 | 0.779962 | 0.002625 | 0 | 0.715789 | 0 | 0 | 0.081081 | 0.049757 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078947 | false | 0 | 0.047368 | 0 | 0.147368 | 0.010526 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
891a117363fe21c0a99e10c184ef4c01e1c8c98b | 66 | py | Python | python/aggregators/price_fetcher.py | MikaelBertze/house-core | 7b5b86290c1a13f00f4aa97d9506d158f822788c | [
"MIT"
] | null | null | null | python/aggregators/price_fetcher.py | MikaelBertze/house-core | 7b5b86290c1a13f00f4aa97d9506d158f822788c | [
"MIT"
] | null | null | null | python/aggregators/price_fetcher.py | MikaelBertze/house-core | 7b5b86290c1a13f00f4aa97d9506d158f822788c | [
"MIT"
] | null | null | null | from utils import power_price_fetcher
power_price_fetcher.fetch() | 22 | 37 | 0.878788 | 10 | 66 | 5.4 | 0.7 | 0.37037 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 66 | 3 | 38 | 22 | 0.885246 | 0 | 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 |
64e1780bfa33fb993441081e9c4df5841cdbc6aa | 26,533 | py | Python | objects/CSCG/_2d/__tests__/unittests/mesh.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | 1 | 2020-10-14T12:48:35.000Z | 2020-10-14T12:48:35.000Z | objects/CSCG/_2d/__tests__/unittests/mesh.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | null | null | null | objects/CSCG/_2d/__tests__/unittests/mesh.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | null | null | null |
import sys
if './' not in sys.path: sys.path.append('./')
from root.config.main import *
from objects.CSCG._2d.master import MeshGenerator
from objects.CSCG._2d.mesh.domain.inputs.allocator import DomainInputFinder
import random
from screws.quadrature import Quadrature
def test_Mesh_NO1_mesh_topology():
"""
... | 49.135185 | 112 | 0.639204 | 3,824 | 26,533 | 4.142782 | 0.069822 | 0.159071 | 0.093738 | 0.124984 | 0.826916 | 0.799647 | 0.764234 | 0.731978 | 0.711274 | 0.685078 | 0 | 0.043551 | 0.230656 | 26,533 | 540 | 113 | 49.135185 | 0.732523 | 0.022199 | 0 | 0.49115 | 0 | 0 | 0.031261 | 0.013254 | 0 | 0 | 0 | 0 | 0.358407 | 1 | 0.00885 | false | 0.002212 | 0.013274 | 0 | 0.030973 | 0.00885 | 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 |
8f0594eac4af907825293f776ba0a98fcd683d28 | 172 | py | Python | src/sensors/__init__.py | erewhon/sensors | be17297f454a7fcede8a86b614df77576d82baef | [
"BSD-2-Clause"
] | null | null | null | src/sensors/__init__.py | erewhon/sensors | be17297f454a7fcede8a86b614df77576d82baef | [
"BSD-2-Clause"
] | null | null | null | src/sensors/__init__.py | erewhon/sensors | be17297f454a7fcede8a86b614df77576d82baef | [
"BSD-2-Clause"
] | null | null | null | from .bmp280 import BMP280
from .ccs811 import CCS811
from .ltr390 import LTR390
from .pm25 import PM25
from .pm25_usb import PM25USB
from .scd30 import SCD30
| 24.571429 | 29 | 0.75 | 25 | 172 | 5.12 | 0.36 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.215116 | 172 | 6 | 30 | 28.666667 | 0.725926 | 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 | 1 | 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 |
8f1edb6f27582c33a364997fef6c0365dc7b156c | 58,295 | py | Python | tests/test_api.py | hamstap85/green-eggs | dfeb676ce8814927d7998c42cb377c83cec916a5 | [
"0BSD"
] | 3 | 2021-11-12T22:47:12.000Z | 2022-02-21T22:47:30.000Z | tests/test_api.py | hamstap85/green-eggs | dfeb676ce8814927d7998c42cb377c83cec916a5 | [
"0BSD"
] | 14 | 2021-09-10T03:39:14.000Z | 2022-03-07T01:34:50.000Z | tests/test_api.py | hamstap85/green-eggs | dfeb676ce8814927d7998c42cb377c83cec916a5 | [
"0BSD"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
from pytest_mock import MockerFixture
from green_eggs.api import TwitchApi
from tests.fixtures import * # noqa
@pytest.mark.asyncio
async def test_basic(api: TwitchApi):
result = await api._request('method', 'path')
api._session.request.assert_called_once_with('method',... | 37.878493 | 120 | 0.696972 | 8,040 | 58,295 | 4.80398 | 0.033582 | 0.014913 | 0.066021 | 0.085439 | 0.96075 | 0.949487 | 0.929034 | 0.90102 | 0.863272 | 0.824746 | 0 | 0.013888 | 0.161335 | 58,295 | 1,538 | 121 | 37.903121 | 0.77613 | 0.06992 | 0 | 0.423948 | 0 | 0.017799 | 0.168535 | 0.115285 | 0 | 0 | 0 | 0 | 0.244337 | 1 | 0 | false | 0 | 0.003236 | 0 | 0.003236 | 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 |
8f300e5db4e4d3dbcec9b54ab83bcacdf7cec077 | 11,738 | py | Python | verto/tests/ExternalLinkTest.py | uccser/verto | d36aa88b208f1700fafc033679bd1e9775496d25 | [
"MIT"
] | 4 | 2017-04-10T06:09:54.000Z | 2019-05-04T02:07:40.000Z | verto/tests/ExternalLinkTest.py | uccser/verto | d36aa88b208f1700fafc033679bd1e9775496d25 | [
"MIT"
] | 268 | 2017-04-03T20:40:46.000Z | 2022-02-04T20:10:08.000Z | verto/tests/ExternalLinkTest.py | uccser/kordac | d36aa88b208f1700fafc033679bd1e9775496d25 | [
"MIT"
] | 1 | 2019-01-07T15:46:31.000Z | 2019-01-07T15:46:31.000Z | import markdown
import re
from unittest.mock import Mock
from verto.processors.ExternalLinkPattern import ExternalLinkPattern
from verto.tests.ProcessorTest import ProcessorTest
class ExternalLinkTest(ProcessorTest):
'''Tests to check the 'external-link' pattern works as intended.
This class is unique to othe... | 53.598174 | 129 | 0.744164 | 1,459 | 11,738 | 5.697738 | 0.072653 | 0.108264 | 0.079755 | 0.07795 | 0.884278 | 0.878985 | 0.878985 | 0.878985 | 0.847227 | 0.846746 | 0 | 0.000202 | 0.156415 | 11,738 | 218 | 130 | 53.844037 | 0.839325 | 0.095502 | 0 | 0.521739 | 0 | 0 | 0.071694 | 0.0497 | 0 | 0 | 0 | 0 | 0.26087 | 1 | 0.137681 | false | 0 | 0.036232 | 0 | 0.181159 | 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 |
8f36591fd4f6439fb49f1b0e6bbd3324c7669cf3 | 68,764 | py | Python | uranium.py | Aryansir/Uraniumbro | 97fe5aec928fe9c8d4e2e77b637cc54c649d0a20 | [
"Apache-2.0"
] | null | null | null | uranium.py | Aryansir/Uraniumbro | 97fe5aec928fe9c8d4e2e77b637cc54c649d0a20 | [
"Apache-2.0"
] | null | null | null | uranium.py | Aryansir/Uraniumbro | 97fe5aec928fe9c8d4e2e77b637cc54c649d0a20 | [
"Apache-2.0"
] | 1 | 2022-03-13T08:03:30.000Z | 2022-03-13T08:03:30.000Z | import os
import sys
import random
from datetime import datetime
from os import execl
from telethon import TelegramClient, events
from telethon.sessions import StringSession
from telethon.tl.functions.account import UpdateProfileRequest
from Config import STRING, SUDO_USERS, BIO_MESSAGE, API_ID, API_HASH, STRIN... | 40.425632 | 314 | 0.612079 | 8,307 | 68,764 | 4.992898 | 0.046948 | 0.062687 | 0.141045 | 0.203732 | 0.879159 | 0.867755 | 0.829998 | 0.774544 | 0.420725 | 0.389671 | 0 | 0.006726 | 0.256239 | 68,764 | 1,701 | 315 | 40.425632 | 0.80332 | 0 | 0 | 0.52625 | 0 | 0.005625 | 0.119809 | 0.00753 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.079375 | 0.010625 | 0 | 0.016875 | 0.065 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8f7143f4ad85ef800de084ea6bf2c03097fcf3cb | 162 | py | Python | lists/admin.py | IceArrow256/game-list | 5f06e0ff80023acdc0290a9a8f814f7c93b45e0e | [
"Unlicense"
] | 3 | 2020-10-19T12:33:37.000Z | 2020-10-21T05:28:35.000Z | lists/admin.py | IceArrow256/gamelist | 5f06e0ff80023acdc0290a9a8f814f7c93b45e0e | [
"Unlicense"
] | null | null | null | lists/admin.py | IceArrow256/gamelist | 5f06e0ff80023acdc0290a9a8f814f7c93b45e0e | [
"Unlicense"
] | null | null | null | from django.contrib import admin
import lists.models as LM
# Register your models here.
admin.site.register(LM.GameListType)
admin.site.register(LM.GameInList) | 20.25 | 36 | 0.808642 | 24 | 162 | 5.458333 | 0.625 | 0.137405 | 0.259542 | 0.290076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104938 | 162 | 8 | 37 | 20.25 | 0.903448 | 0.160494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 |
8f75495952e0ccc650843efd5c2de985af1aa8e7 | 24 | py | Python | plugins/readtime/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 13 | 2020-01-27T09:02:25.000Z | 2022-01-20T07:45:26.000Z | plugins/readtime/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 29 | 2020-03-22T06:57:57.000Z | 2022-01-24T22:46:42.000Z | plugins/readtime/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 6 | 2020-07-10T00:13:30.000Z | 2022-01-26T08:22:33.000Z | from .readtime import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 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 |
56ca50b9265910824849d68287da229499bb00e3 | 2,815 | py | Python | hexa/plugins/connector_airflow/tests/responses/__init__.py | qgerome/openhexa-app | 8c9377b2ad972121d8e9575f5d52420212b52ed4 | [
"MIT"
] | 4 | 2021-07-19T12:53:21.000Z | 2022-01-26T17:45:02.000Z | hexa/plugins/connector_airflow/tests/responses/__init__.py | qgerome/openhexa-app | 8c9377b2ad972121d8e9575f5d52420212b52ed4 | [
"MIT"
] | 20 | 2021-05-17T12:27:06.000Z | 2022-03-30T11:35:26.000Z | hexa/plugins/connector_airflow/tests/responses/__init__.py | qgerome/openhexa-app | 8c9377b2ad972121d8e9575f5d52420212b52ed4 | [
"MIT"
] | 2 | 2021-09-07T04:19:59.000Z | 2022-02-08T15:33:29.000Z | dags = {
"dags": [
{
"dag_id": "hello_world",
"description": "Hello world example",
"file_token": "Ii9vcHQvYWlyZmxvdy9kYWdzL3JlcG8vZGFncy9oZWxsb3dvcmxkLnB5Ig.x6F3mxeBdDLzg9-dB34gk-iOU2o",
"fileloc": "/opt/airflow/dags/repo/dags/helloworld.py",
"is_... | 29.322917 | 115 | 0.550977 | 333 | 2,815 | 4.33033 | 0.201201 | 0.044383 | 0.083218 | 0.09362 | 0.880028 | 0.757975 | 0.723994 | 0.704577 | 0.704577 | 0.681692 | 0 | 0.14878 | 0.271758 | 2,815 | 95 | 116 | 29.631579 | 0.554634 | 0 | 0 | 0.56044 | 0 | 0 | 0.504085 | 0.215631 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
56dba097778e26c93aa1a3342be0c41a1c6426ac | 36,247 | py | Python | src/ralph_scrooge/tests/rest_api/private/test_allocationadmin.py | ar4s/ralph_pricing | 40127e9450edc91ba0be725d63bf691dde16a137 | [
"Apache-2.0"
] | 4 | 2016-05-06T19:28:53.000Z | 2018-01-26T21:13:40.000Z | src/ralph_scrooge/tests/rest_api/private/test_allocationadmin.py | ar4s/ralph_pricing | 40127e9450edc91ba0be725d63bf691dde16a137 | [
"Apache-2.0"
] | 283 | 2015-01-07T15:06:34.000Z | 2019-08-08T10:43:47.000Z | src/ralph_scrooge/tests/rest_api/private/test_allocationadmin.py | ar4s/ralph_pricing | 40127e9450edc91ba0be725d63bf691dde16a137 | [
"Apache-2.0"
] | 16 | 2015-01-27T10:33:20.000Z | 2020-06-25T07:04:21.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import json
import datetime
from django.contrib.auth import get_user_model
from rest_framework.test import APIClient
from ralph_scrooge import ... | 34.259924 | 95 | 0.456121 | 3,020 | 36,247 | 5.20298 | 0.05298 | 0.079043 | 0.073633 | 0.043785 | 0.893528 | 0.865334 | 0.833386 | 0.822949 | 0.795011 | 0.775727 | 0 | 0.014714 | 0.44125 | 36,247 | 1,057 | 96 | 34.292337 | 0.761122 | 0.001959 | 0 | 0.694831 | 0 | 0 | 0.116091 | 0.047636 | 0 | 0 | 0 | 0 | 0.050696 | 1 | 0.029821 | false | 0.000994 | 0.012922 | 0 | 0.043738 | 0.000994 | 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 |
56e4e637901e90329d18c34dff9202813761d9da | 46 | py | Python | platform_api/handlers/__init__.py | neuro-inc/platform-api | da3df2262eb38b76323f9c76596772820d523ee4 | [
"Apache-2.0"
] | null | null | null | platform_api/handlers/__init__.py | neuro-inc/platform-api | da3df2262eb38b76323f9c76596772820d523ee4 | [
"Apache-2.0"
] | 69 | 2021-11-12T13:11:58.000Z | 2022-03-31T03:20:02.000Z | platform_api/handlers/__init__.py | neuro-inc/platform-api | da3df2262eb38b76323f9c76596772820d523ee4 | [
"Apache-2.0"
] | 1 | 2022-03-10T04:25:58.000Z | 2022-03-10T04:25:58.000Z | from .jobs_handler import JobsHandler # noqa
| 23 | 45 | 0.804348 | 6 | 46 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 1 | 46 | 46 | 0.923077 | 0.086957 | 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 |
56f6ef0205994c93dff92fcf1add73f98284bc00 | 32 | py | Python | __init__.py | sungcheolkim78/py_paperdb | 0f08fd8c2455b2e7cefa02e8d0fff464eb5c5aee | [
"Apache-2.0"
] | null | null | null | __init__.py | sungcheolkim78/py_paperdb | 0f08fd8c2455b2e7cefa02e8d0fff464eb5c5aee | [
"Apache-2.0"
] | null | null | null | __init__.py | sungcheolkim78/py_paperdb | 0f08fd8c2455b2e7cefa02e8d0fff464eb5c5aee | [
"Apache-2.0"
] | null | null | null | from pdf_read import convertPDF
| 16 | 31 | 0.875 | 5 | 32 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 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 |
710b4f6ec75fec8182421043c8c1b9034b469c55 | 43 | py | Python | djpayex/tests/__init__.py | asbjornu/django-payex | ab2cfbc9711b26b2c91be0df572e2686e38f7417 | [
"BSD-2-Clause"
] | null | null | null | djpayex/tests/__init__.py | asbjornu/django-payex | ab2cfbc9711b26b2c91be0df572e2686e38f7417 | [
"BSD-2-Clause"
] | 1 | 2021-06-25T15:44:16.000Z | 2021-06-25T15:44:16.000Z | djpayex/tests/__init__.py | PayEx/django-payex | ab2cfbc9711b26b2c91be0df572e2686e38f7417 | [
"BSD-2-Clause"
] | null | null | null | from managers import *
from views import *
| 14.333333 | 22 | 0.767442 | 6 | 43 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 23 | 21.5 | 0.942857 | 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 |
71386c02547ba72c5b2549f241f5992fa7129e6c | 117 | py | Python | dev/Gems/CloudGemMetric/v1/AWS/python/windows/Lib/pandas/tseries/api.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 18 | 2018-02-23T11:28:54.000Z | 2021-09-23T08:19:54.000Z | dev/Gems/CloudGemMetric/v1/AWS/python/windows/Lib/pandas/tseries/api.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 2 | 2021-02-08T20:19:17.000Z | 2021-04-30T20:32:52.000Z | dev/Gems/CloudGemMetric/v1/AWS/python/windows/Lib/pandas/tseries/api.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 12 | 2017-05-23T06:01:12.000Z | 2021-08-16T05:09:46.000Z | """
"""
# flake8: noqa
from pandas.tseries.frequencies import infer_freq
import pandas.tseries.offsets as offsets
| 13 | 49 | 0.760684 | 15 | 117 | 5.866667 | 0.733333 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.136752 | 117 | 8 | 50 | 14.625 | 0.861386 | 0.102564 | 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 |
713a4ce743104d5f0f230a4bf97255bb4a420a7d | 198 | py | Python | tests/__init__.py | yehzhang/dscraper | 6fd1a4238795e9eb01b9dd8329a84495a70979d1 | [
"Apache-2.0"
] | 1 | 2017-08-13T09:50:06.000Z | 2017-08-13T09:50:06.000Z | tests/__init__.py | yehzhang/dscraper | 6fd1a4238795e9eb01b9dd8329a84495a70979d1 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | yehzhang/dscraper | 6fd1a4238795e9eb01b9dd8329a84495a70979d1 | [
"Apache-2.0"
] | null | null | null | import logging
import sys
logging.getLogger("requests").setLevel(logging.WARNING)
logging.getLogger("asyncio").setLevel(logging.WARNING)
logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
| 28.285714 | 59 | 0.823232 | 24 | 198 | 6.791667 | 0.541667 | 0.196319 | 0.269939 | 0.355828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 198 | 6 | 60 | 33 | 0.862434 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
7143d3fafd6b0831faf2521b6730bbc73ecba599 | 17,880 | py | Python | dynamicgem/graph_generation/dynamic_SBM_graph.py | Sujit-O/dyngem | a879bf362d1e9409faa4e1186c345337ad6d0189 | [
"MIT"
] | null | null | null | dynamicgem/graph_generation/dynamic_SBM_graph.py | Sujit-O/dyngem | a879bf362d1e9409faa4e1186c345337ad6d0189 | [
"MIT"
] | null | null | null | dynamicgem/graph_generation/dynamic_SBM_graph.py | Sujit-O/dyngem | a879bf362d1e9409faa4e1186c345337ad6d0189 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
import random
import networkx as nx
import operator
import sys
from dynamicgem.graph_generation import SBM_graph
from dynamicgem.utils import graph_util
function_mapping = {'degree': nx.degree_centrality,
'eigenvector': nx.eigenvector_centrality,
... | 41.293303 | 147 | 0.594519 | 2,214 | 17,880 | 4.460705 | 0.086721 | 0.095585 | 0.057108 | 0.068044 | 0.820069 | 0.784427 | 0.761442 | 0.752025 | 0.731571 | 0.694411 | 0 | 0.009278 | 0.318792 | 17,880 | 432 | 148 | 41.388889 | 0.80156 | 0.255928 | 0 | 0.591603 | 0 | 0 | 0.026127 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041985 | false | 0.003817 | 0.030534 | 0 | 0.09542 | 0.057252 | 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 |
85634d4c6c20b3cb13333c8fe8de1252437d95d5 | 13,248 | py | Python | sesame/observables.py | haney411/sesame | 866aefb048143c5df131310253ce67b4a24283fc | [
"BSD-3-Clause"
] | 2 | 2018-04-06T14:50:20.000Z | 2021-01-19T16:16:15.000Z | sesame/observables.py | haney411/sesame | 866aefb048143c5df131310253ce67b4a24283fc | [
"BSD-3-Clause"
] | null | null | null | sesame/observables.py | haney411/sesame | 866aefb048143c5df131310253ce67b4a24283fc | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2017 University of Maryland.
#
# This file is part of Sesame. It is subject to the license terms in the file
# LICENSE.rst found in the top-level directory of this distribution.
from numpy import exp
import numpy as np
def get_n(sys, efn, v, sites):
"""
Compute the electron density on the given s... | 43.578947 | 163 | 0.500075 | 2,090 | 13,248 | 3.097129 | 0.07512 | 0.049436 | 0.049436 | 0.074154 | 0.839487 | 0.794995 | 0.790051 | 0.772439 | 0.754828 | 0.740306 | 0 | 0.081061 | 0.291365 | 13,248 | 303 | 164 | 43.722772 | 0.608436 | 0.216184 | 0 | 0.426667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06 | false | 0 | 0.013333 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8569a4c09c42c71cc05ee19330a8e67a7ea25d30 | 132 | py | Python | torchvtk/datasets/__init__.py | xeTaiz/torch_vtk | 0d6f9cc0f9a3cce71c79118f66d56c2a8041635e | [
"MIT"
] | 2 | 2020-08-11T11:31:05.000Z | 2020-08-17T14:14:26.000Z | torchvtk/datasets/__init__.py | xeTaiz/torch_vtk | 0d6f9cc0f9a3cce71c79118f66d56c2a8041635e | [
"MIT"
] | 6 | 2020-07-01T15:37:15.000Z | 2020-08-12T14:17:34.000Z | torchvtk/datasets/__init__.py | xeTaiz/torch_vtk | 0d6f9cc0f9a3cce71c79118f66d56c2a8041635e | [
"MIT"
] | null | null | null | from .torch_dataset import TorchDataset
from .npy_dataset import NumpyDataset
from .queue import TorchQueueDataset, dict_collate_fn
| 33 | 53 | 0.871212 | 17 | 132 | 6.529412 | 0.705882 | 0.234234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098485 | 132 | 3 | 54 | 44 | 0.932773 | 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 |
85777b1215749d2bda5bce6ba056ff181f230476 | 1,882 | py | Python | cjaasPythonClient/admin-apis/swagger_client/__init__.py | kat-mulberries/cjaas-sdk | 11dc39c9e2058d1a6c900ad0ef4236a984f8aac5 | [
"Apache-2.0"
] | 4 | 2021-04-28T16:33:09.000Z | 2022-01-12T00:19:06.000Z | cjaasPythonClient/admin-apis/swagger_client/__init__.py | kat-mulberries/cjaas-sdk | 11dc39c9e2058d1a6c900ad0ef4236a984f8aac5 | [
"Apache-2.0"
] | 2 | 2021-07-06T15:35:59.000Z | 2021-12-16T16:52:34.000Z | cjaasPythonClient/admin-apis/swagger_client/__init__.py | kat-mulberries/cjaas-sdk | 11dc39c9e2058d1a6c900ad0ef4236a984f8aac5 | [
"Apache-2.0"
] | 7 | 2021-05-13T20:15:21.000Z | 2021-12-16T10:28:02.000Z | # coding: utf-8
# flake8: noqa
"""
Azure Functions OpenAPI Extension
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 1.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __futur... | 48.25641 | 138 | 0.878852 | 234 | 1,882 | 6.773504 | 0.320513 | 0.131861 | 0.203785 | 0.217666 | 0.363407 | 0.213249 | 0.174132 | 0.126183 | 0.065615 | 0 | 0 | 0.004627 | 0.081296 | 1,882 | 38 | 139 | 49.526316 | 0.912088 | 0.185972 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8594956ed4fae4c28e8c60e5f058c3a0489cd821 | 140 | py | Python | opensir/models/__init__.py | 1091478765p/open-sirv | 7833d6fa131f743b319bce0b329479e1af18d4c0 | [
"MIT"
] | 6 | 2020-03-28T20:59:41.000Z | 2021-04-24T08:09:15.000Z | opensir/models/__init__.py | 1091478765p/open-sirv | 7833d6fa131f743b319bce0b329479e1af18d4c0 | [
"MIT"
] | 71 | 2020-03-29T15:10:27.000Z | 2022-03-12T00:47:54.000Z | opensir/models/__init__.py | 1091478765p/open-sirv | 7833d6fa131f743b319bce0b329479e1af18d4c0 | [
"MIT"
] | 8 | 2020-04-04T21:15:58.000Z | 2021-04-29T15:34:37.000Z | """ models module init.py"""
from opensir.models.model import Model
from opensir.models.sir import SIR
from opensir.models.sirx import SIRX
| 28 | 38 | 0.792857 | 22 | 140 | 5.045455 | 0.454545 | 0.297297 | 0.459459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 140 | 4 | 39 | 35 | 0.895161 | 0.15 | 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 |
a45a75fd14495a18b9cd612553a66673c8cec913 | 34 | py | Python | sourcelyzer/utils/__init__.py | sourcelyzer/sourcelyzer | bbb5d9cce9d79986d905f7484989d97a78b1f5aa | [
"MIT"
] | 1 | 2017-07-25T21:06:09.000Z | 2017-07-25T21:06:09.000Z | sourcelyzer/utils/__init__.py | sourcelyzer/sourcelyzer | bbb5d9cce9d79986d905f7484989d97a78b1f5aa | [
"MIT"
] | null | null | null | sourcelyzer/utils/__init__.py | sourcelyzer/sourcelyzer | bbb5d9cce9d79986d905f7484989d97a78b1f5aa | [
"MIT"
] | null | null | null | import sourcelyzer.utils.hashing
| 11.333333 | 32 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 2 | 33 | 17 | 0.935484 | 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 |
a46592e7feeed37bc3c18342aacea53250c62a50 | 2,674 | py | Python | tests/examples/test_stgp_symbolic_regression_ephemeral.py | jorgetavares/pygenome | 2b529ea55feff8c4a0214b37354d4d7c273202a3 | [
"MIT"
] | 1 | 2019-11-18T14:41:20.000Z | 2019-11-18T14:41:20.000Z | tests/examples/test_stgp_symbolic_regression_ephemeral.py | jorgetavares/pygenome | 2b529ea55feff8c4a0214b37354d4d7c273202a3 | [
"MIT"
] | null | null | null | tests/examples/test_stgp_symbolic_regression_ephemeral.py | jorgetavares/pygenome | 2b529ea55feff8c4a0214b37354d4d7c273202a3 | [
"MIT"
] | null | null | null | from examples.stgp_symbolic_regression_ephemeral import *
stdout = """0 34.779765758467704 1929.949896427344 20588.415768389215
1 32.5 230.59360680094431 1319.7207385503998
2 32.215831727764765 203.2726575895383 1805.4810145677488
3 32.215831727764765 176.20389638105144 1136.075983101311
4 32.215831727764765 153.70757... | 54.571429 | 106 | 0.537023 | 426 | 2,674 | 3.347418 | 0.298122 | 0.319776 | 0.47756 | 0.633941 | 0.160589 | 0.160589 | 0.160589 | 0.160589 | 0.160589 | 0.160589 | 0 | 0.827858 | 0.430815 | 2,674 | 48 | 107 | 55.708333 | 0.109067 | 0 | 0 | 0.355556 | 0 | 0.022222 | 0.919596 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 1 | 0.022222 | false | 0 | 0.022222 | 0 | 0.044444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f1186dd621845de8080e02ceadfab4a9e6b6403a | 7,083 | py | Python | test/test_math_result.py | nikett/math_challenge_eval | bafe9f6d30fc5ffd97492ce5e42716f839c29c4f | [
"Apache-2.0"
] | null | null | null | test/test_math_result.py | nikett/math_challenge_eval | bafe9f6d30fc5ffd97492ce5e42716f839c29c4f | [
"Apache-2.0"
] | null | null | null | test/test_math_result.py | nikett/math_challenge_eval | bafe9f6d30fc5ffd97492ce5e42716f839c29c4f | [
"Apache-2.0"
] | null | null | null | import unittest
from typing import Dict, List
from src import math_challenge_leaderboard
from src.math_challenge import Challenge
from src.math_challenge_result import MathChallengeResult
from src.student_info import StudentInfo
class TestChallenge(unittest.TestCase):
def test_preprocess(self):
self.asse... | 60.025424 | 189 | 0.684597 | 975 | 7,083 | 4.690256 | 0.128205 | 0.037175 | 0.081784 | 0.045266 | 0.785699 | 0.768423 | 0.752023 | 0.702165 | 0.702165 | 0.701509 | 0 | 0.038442 | 0.177326 | 7,083 | 117 | 190 | 60.538462 | 0.74498 | 0.073556 | 0 | 0.402174 | 0 | 0.01087 | 0.133262 | 0.024882 | 0 | 0 | 0 | 0 | 0.163043 | 1 | 0.097826 | false | 0.141304 | 0.065217 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f1275f58863c78d59e7cf9801fff57ff179a9434 | 49 | py | Python | azurlane/pipelines/__init__.py | stocky37/azurlane-data | da367d54125aa4307039f48e2706db7dde38db75 | [
"MIT"
] | null | null | null | azurlane/pipelines/__init__.py | stocky37/azurlane-data | da367d54125aa4307039f48e2706db7dde38db75 | [
"MIT"
] | null | null | null | azurlane/pipelines/__init__.py | stocky37/azurlane-data | da367d54125aa4307039f48e2706db7dde38db75 | [
"MIT"
] | null | null | null | from azurlane.pipelines.json import JsonPipeline
| 24.5 | 48 | 0.877551 | 6 | 49 | 7.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.955556 | 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 |
f169b4a90147fd60a0a325a8088b968704481e52 | 82 | py | Python | src/transform/transform.py | JMLizano/Kelvins-collision-avoidance-challenge | c4fc035ad56abbee5811cf31689d4edea273e541 | [
"Apache-2.0"
] | null | null | null | src/transform/transform.py | JMLizano/Kelvins-collision-avoidance-challenge | c4fc035ad56abbee5811cf31689d4edea273e541 | [
"Apache-2.0"
] | null | null | null | src/transform/transform.py | JMLizano/Kelvins-collision-avoidance-challenge | c4fc035ad56abbee5811cf31689d4edea273e541 | [
"Apache-2.0"
] | 1 | 2020-06-14T07:16:49.000Z | 2020-06-14T07:16:49.000Z | import pandas as pd
def t0_test(df: pd.DataFrame) -> pd.DataFrame:
return df | 16.4 | 46 | 0.707317 | 14 | 82 | 4.071429 | 0.714286 | 0.385965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.195122 | 82 | 5 | 47 | 16.4 | 0.848485 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
f188f3a42376b564b5b5475ec4268fa85dc9426f | 49 | py | Python | testing/testdata/test_error.py | internetimagery/pyhike | a07edf07750f9253a455c5a36f031c99681b89df | [
"MIT"
] | null | null | null | testing/testdata/test_error.py | internetimagery/pyhike | a07edf07750f9253a455c5a36f031c99681b89df | [
"MIT"
] | null | null | null | testing/testdata/test_error.py | internetimagery/pyhike | a07edf07750f9253a455c5a36f031c99681b89df | [
"MIT"
] | null | null | null | raise RuntimeError("Just importing this fails!")
| 24.5 | 48 | 0.795918 | 6 | 49 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.530612 | 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 |
74b3bd005c0dde55cbcecd31bfca6189a6df6793 | 108 | py | Python | yaml_pipeline/__init__.py | isaacanthony/yaml-pipeline | d2fa061ce55569d813a21e00a539531c564e3375 | [
"MIT"
] | null | null | null | yaml_pipeline/__init__.py | isaacanthony/yaml-pipeline | d2fa061ce55569d813a21e00a539531c564e3375 | [
"MIT"
] | null | null | null | yaml_pipeline/__init__.py | isaacanthony/yaml-pipeline | d2fa061ce55569d813a21e00a539531c564e3375 | [
"MIT"
] | null | null | null | """__init__.py"""
from yaml_pipeline.pipeline import Pipeline
from yaml_pipeline.pipelines import Pipelines
| 27 | 45 | 0.833333 | 14 | 108 | 6 | 0.5 | 0.190476 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 108 | 3 | 46 | 36 | 0.848485 | 0.101852 | 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 |
74d6fd601d13d368ab358ff01fbaa1a2cbc95bf0 | 576 | py | Python | handlers/__init__.py | bbt-t/bot-pet-project | 6b0d7862b14fe739be52d87ff8c8610a3f4548e1 | [
"Apache-2.0"
] | null | null | null | handlers/__init__.py | bbt-t/bot-pet-project | 6b0d7862b14fe739be52d87ff8c8610a3f4548e1 | [
"Apache-2.0"
] | null | null | null | handlers/__init__.py | bbt-t/bot-pet-project | 6b0d7862b14fe739be52d87ff8c8610a3f4548e1 | [
"Apache-2.0"
] | null | null | null | from .errors import dp
from .filters import dp
from .inline import dp
from .support_contact_handl import dp
from .start_handl import dp
from .todo_handl import dp
from .user_settings import dp
from .storing_passwords_handl import dp
from .horoscope_handl import dp
from .calendar_haircut_handl import dp
from .stt_handl... | 26.181818 | 42 | 0.829861 | 92 | 576 | 4.913043 | 0.336957 | 0.300885 | 0.424779 | 0.413717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130208 | 576 | 21 | 43 | 27.428571 | 0.902196 | 0.065972 | 0 | 0 | 0 | 0 | 0.003731 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.058824 | 0.941176 | 0 | 0.941176 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
74daf7227fee0ed15c62c7b81274c9cf6a6e1c54 | 7,256 | py | Python | Fig1_sankey_diagram.py | cetlab-ucsb/residential_solar_storage | 9b66f7350ff4b2091b6227eb3bcd8e94d38cb419 | [
"Apache-2.0"
] | null | null | null | Fig1_sankey_diagram.py | cetlab-ucsb/residential_solar_storage | 9b66f7350ff4b2091b6227eb3bcd8e94d38cb419 | [
"Apache-2.0"
] | null | null | null | Fig1_sankey_diagram.py | cetlab-ucsb/residential_solar_storage | 9b66f7350ff4b2091b6227eb3bcd8e94d38cb419 | [
"Apache-2.0"
] | null | null | null | import plotly.graph_objects as go
import pandas as pd
# Please uncomment some lines to switch between ExportOnly and ImportOnly modes (line #42, 51, 57)
def draw_sankey(mode, tmy_code, utility, year, c_cost):
df = pd.read_csv('/Users/jiajiazheng/Box/Suh\'s lab/GSRs/Jiajia/3-Residential Solar-plus-storage/Results... | 52.201439 | 120 | 0.530733 | 1,034 | 7,256 | 3.515474 | 0.161509 | 0.057772 | 0.066025 | 0.046217 | 0.86575 | 0.840165 | 0.796424 | 0.77414 | 0.754608 | 0.748831 | 0 | 0.058632 | 0.280733 | 7,256 | 138 | 121 | 52.57971 | 0.637862 | 0.130926 | 0 | 0.568627 | 0 | 0.04902 | 0.296943 | 0.075396 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019608 | false | 0 | 0.029412 | 0 | 0.04902 | 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 |
2d0c56b5682b828d32ea063d3d75f9584310863d | 72 | py | Python | latex/slides/resources/01_getting_started/present_format.py | AntonObersteiner/python-lessons | 1d5536f0777853fba437566672cfb1d613984945 | [
"CC-BY-4.0"
] | null | null | null | latex/slides/resources/01_getting_started/present_format.py | AntonObersteiner/python-lessons | 1d5536f0777853fba437566672cfb1d613984945 | [
"CC-BY-4.0"
] | null | null | null | latex/slides/resources/01_getting_started/present_format.py | AntonObersteiner/python-lessons | 1d5536f0777853fba437566672cfb1d613984945 | [
"CC-BY-4.0"
] | null | null | null | def present(name, alter, ort):
return f"{name}, {alter} aus {ort})"
| 24 | 40 | 0.611111 | 11 | 72 | 4 | 0.727273 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 72 | 2 | 41 | 36 | 0.745763 | 0 | 0 | 0 | 0 | 0 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2d147b556aabaf9eda22b2b37c3bdb4c170d1eb0 | 126 | py | Python | tests/webapp/controllers/index.py | Alvaruto1/project-caos | 16a51fbe2dc573f0706ead8fe8b99c8ba7c362c5 | [
"Apache-2.0"
] | null | null | null | tests/webapp/controllers/index.py | Alvaruto1/project-caos | 16a51fbe2dc573f0706ead8fe8b99c8ba7c362c5 | [
"Apache-2.0"
] | null | null | null | tests/webapp/controllers/index.py | Alvaruto1/project-caos | 16a51fbe2dc573f0706ead8fe8b99c8ba7c362c5 | [
"Apache-2.0"
] | null | null | null | from flask import redirect
from tests.core.web import app
@app.route('/')
def index():
return redirect('sign_in') | 21 | 30 | 0.674603 | 18 | 126 | 4.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198413 | 126 | 6 | 31 | 21 | 0.831683 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
2d2e1f76863aa86e0bc5be840468804ba52e2e38 | 10,175 | py | Python | apps/pw_multiScriptEditor/managers/nuke/nodes.py | JeremyZhao1989/leanTest | 8078d47aea44b999a325261530a18a7f578d2420 | [
"MIT"
] | 64 | 2016-09-06T11:30:28.000Z | 2021-03-11T07:28:08.000Z | python/pw_multiScriptEditor/managers/nuke/nodes.py | ensii75/NukeToolSet | 0c47efc3bc7ca513f902e00a3e2b71404636aae9 | [
"MIT"
] | 2 | 2016-09-11T12:38:03.000Z | 2016-09-13T12:32:37.000Z | python/pw_multiScriptEditor/managers/nuke/nodes.py | ensii75/NukeToolSet | 0c47efc3bc7ca513f902e00a3e2b71404636aae9 | [
"MIT"
] | 31 | 2016-09-06T11:32:25.000Z | 2020-04-20T11:19:02.000Z | from main import Node
def DeepHoldout():
return Node()
def ClipTest():
return Node()
def BlackOutside():
return Node()
def Denoise():
return Node()
def Laplacian():
return Node()
def SphericalTransform():
return Node()
def Sharpen():
return Node()
def OCIOCDLTransform():
return Node()
d... | 17.664931 | 31 | 0.632924 | 1,158 | 10,175 | 5.556131 | 0.253886 | 0.312247 | 0.577868 | 0.013056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00254 | 0.226044 | 10,175 | 576 | 32 | 17.664931 | 0.814476 | 0 | 0 | 0.49913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001739 | 1 | 0.49913 | true | 0 | 0.001739 | 0.49913 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
742677028167265fb0e3b92da7b0e614e8e4ce11 | 1,067 | py | Python | pyenv/lib/python3.6/heapq.py | ronald-rgr/ai-chatbot-smartguide | c9c830feb6b66c2e362f8fb5d147ef0c4f4a08cf | [
"Apache-2.0"
] | null | null | null | pyenv/lib/python3.6/heapq.py | ronald-rgr/ai-chatbot-smartguide | c9c830feb6b66c2e362f8fb5d147ef0c4f4a08cf | [
"Apache-2.0"
] | 3 | 2020-03-23T18:01:51.000Z | 2021-03-19T23:15:15.000Z | pyenv/lib/python3.6/heapq.py | ronald-rgr/ai-chatbot-smartguide | c9c830feb6b66c2e362f8fb5d147ef0c4f4a08cf | [
"Apache-2.0"
] | null | null | null | XSym
0072
be6acaabc641489e371a3a1629ba9c94
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/heapq.py
... | 213.4 | 951 | 0.093721 | 15 | 1,067 | 6.666667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232143 | 0.895033 | 1,067 | 5 | 951 | 213.4 | 0.660714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7482e832051a4013b5089dc7dd63085f926af187 | 202 | py | Python | stribor/util/__init__.py | mbilos/stribor | 76082c255653d6bd8d506519223183e5d8395578 | [
"MIT"
] | 10 | 2021-06-23T17:14:25.000Z | 2022-03-08T11:34:18.000Z | stribor/util/__init__.py | mbilos/stribor | 76082c255653d6bd8d506519223183e5d8395578 | [
"MIT"
] | null | null | null | stribor/util/__init__.py | mbilos/stribor | 76082c255653d6bd8d506519223183e5d8395578 | [
"MIT"
] | 1 | 2021-03-11T13:34:44.000Z | 2021-03-11T13:34:44.000Z | from .mask import *
from .search_sorted import *
from .rational_quadratic_spline import *
from .cubic_spline import *
from .divergence import *
from .flatten_params import *
from .safe_softmax import *
| 25.25 | 40 | 0.792079 | 27 | 202 | 5.703704 | 0.518519 | 0.38961 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138614 | 202 | 7 | 41 | 28.857143 | 0.885057 | 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 |
74a25eeb8dfeb73ac4d0814c48d6d78613c3a5c6 | 7,680 | py | Python | tests/apps/compute/gacha_test.py | item4/yui | 8628d0d54b94ada3cbe7d1b0f624063258bad10a | [
"MIT"
] | 36 | 2017-06-12T01:09:46.000Z | 2021-01-31T17:57:41.000Z | tests/apps/compute/gacha_test.py | item4/yui | 8628d0d54b94ada3cbe7d1b0f624063258bad10a | [
"MIT"
] | 145 | 2017-06-21T13:31:29.000Z | 2021-06-20T01:01:30.000Z | tests/apps/compute/gacha_test.py | item4/yui | 8628d0d54b94ada3cbe7d1b0f624063258bad10a | [
"MIT"
] | 21 | 2017-07-24T15:53:19.000Z | 2021-12-23T04:18:31.000Z | from decimal import Decimal
import pytest
from yui.apps.compute.gacha import Gacha
from yui.apps.compute.gacha import to_percent
def test_class():
g = Gacha()
assert g.name == '가챠'
assert g.route_list
def test_get_short_help():
g = Gacha()
assert g.get_short_help('.')
def test_get_full_help(... | 31.093117 | 70 | 0.598438 | 1,218 | 7,680 | 3.731527 | 0.161741 | 0.138614 | 0.129373 | 0.058086 | 0.862926 | 0.847085 | 0.794499 | 0.746315 | 0.722552 | 0.716392 | 0 | 0.070768 | 0.240104 | 7,680 | 246 | 71 | 31.219512 | 0.708019 | 0 | 0 | 0.562162 | 0 | 0 | 0.352083 | 0.003125 | 0 | 0 | 0 | 0 | 0.378378 | 1 | 0.021622 | false | 0 | 0.021622 | 0 | 0.043243 | 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 |
778a5da4c507781ea9274e5802f369926e5b74e2 | 45,071 | py | Python | bioagents/tests/tra_test.py | kkaris/bioagents | 353570ca88dc70c2851222cbd5604be782147f82 | [
"BSD-2-Clause"
] | 6 | 2016-10-29T13:53:11.000Z | 2021-07-07T12:28:40.000Z | bioagents/tests/tra_test.py | kkaris/bioagents | 353570ca88dc70c2851222cbd5604be782147f82 | [
"BSD-2-Clause"
] | 66 | 2016-06-23T16:29:02.000Z | 2021-11-03T18:09:34.000Z | bioagents/tests/tra_test.py | kkaris/bioagents | 353570ca88dc70c2851222cbd5604be782147f82 | [
"BSD-2-Clause"
] | 15 | 2016-03-18T20:46:22.000Z | 2020-08-27T09:39:43.000Z | import json
from nose.tools import raises
import sympy.physics.units as units
from bioagents.tra import tra_module
from bioagents.tra import tra
from pysb import Model, Rule, Monomer, Parameter, Initial, SelfExporter
from indra.statements import *
from kqml import KQMLPerformative, KQMLList, KQMLToken
from bioagents im... | 35.827504 | 78 | 0.639524 | 5,172 | 45,071 | 5.347448 | 0.069026 | 0.028311 | 0.023466 | 0.022562 | 0.820624 | 0.783238 | 0.763749 | 0.744079 | 0.720432 | 0.706042 | 0 | 0.014367 | 0.227818 | 45,071 | 1,257 | 79 | 35.856006 | 0.780306 | 0.022631 | 0 | 0.680444 | 0 | 0 | 0.165927 | 0.008758 | 0 | 0 | 0 | 0 | 0.115927 | 1 | 0.120968 | false | 0 | 0.012097 | 0 | 0.183468 | 0.002016 | 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 |
779520e97c5ba064fd2b6caab32e9526e7faa6b3 | 36 | py | Python | 006.function/module2.py | cjp1016/python-samples | ca5a7284cf4cb9fe42fa1487d4944815a00487ec | [
"Apache-2.0"
] | null | null | null | 006.function/module2.py | cjp1016/python-samples | ca5a7284cf4cb9fe42fa1487d4944815a00487ec | [
"Apache-2.0"
] | null | null | null | 006.function/module2.py | cjp1016/python-samples | ca5a7284cf4cb9fe42fa1487d4944815a00487ec | [
"Apache-2.0"
] | null | null | null | def foo():
print("goodby world") | 18 | 25 | 0.611111 | 5 | 36 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 36 | 2 | 25 | 18 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
77c589a7d6dd61272877e626e1ebb299b9698d73 | 56,437 | py | Python | tests/test_chargecontroller.py | stephanme/pv-control | f6aab9800c154492f3b9e5b2cd21c7a87cf92e16 | [
"Apache-2.0"
] | null | null | null | tests/test_chargecontroller.py | stephanme/pv-control | f6aab9800c154492f3b9e5b2cd21c7a87cf92e16 | [
"Apache-2.0"
] | null | null | null | tests/test_chargecontroller.py | stephanme/pv-control | f6aab9800c154492f3b9e5b2cd21c7a87cf92e16 | [
"Apache-2.0"
] | null | null | null | import unittest
import json
from pvcontrol.wallbox import CarStatus, SimulatedWallbox, WallboxConfig, WallboxData, WbError
from pvcontrol.meter import TestMeter, MeterData
from pvcontrol.chargecontroller import ChargeController, ChargeControllerConfig, ChargeMode, PhaseMode
def reset_controller_metrics():
ChargeC... | 46.37387 | 136 | 0.580842 | 6,537 | 56,437 | 4.747591 | 0.035796 | 0.088932 | 0.047559 | 0.06077 | 0.897309 | 0.878041 | 0.860319 | 0.846206 | 0.830321 | 0.804189 | 0 | 0.067867 | 0.30395 | 56,437 | 1,216 | 137 | 46.412007 | 0.72217 | 0.013147 | 0 | 0.664292 | 0 | 0 | 0.075067 | 0.001581 | 0 | 0 | 0 | 0 | 0.165628 | 1 | 0.034728 | false | 0 | 0.004452 | 0 | 0.042743 | 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 |
77e826e2bc5a96cbdd249d48c9288063020052f5 | 121 | py | Python | project_1/AJCNN/models/__init__.py | kkaryl/AI6121-Computer_Vision | 94e333554f7d4b47e4f82bc0273e1f3de7f658b2 | [
"MIT"
] | null | null | null | project_1/AJCNN/models/__init__.py | kkaryl/AI6121-Computer_Vision | 94e333554f7d4b47e4f82bc0273e1f3de7f658b2 | [
"MIT"
] | null | null | null | project_1/AJCNN/models/__init__.py | kkaryl/AI6121-Computer_Vision | 94e333554f7d4b47e4f82bc0273e1f3de7f658b2 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .LeNet5 import *
from .VGG import *
from .AJCNN import *
from .RNN import *
| 17.285714 | 38 | 0.760331 | 17 | 121 | 5.117647 | 0.470588 | 0.45977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.173554 | 121 | 6 | 39 | 20.166667 | 0.86 | 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 |
77fc0d4b59c7123c697dc8b555a9e6397f832a87 | 29 | py | Python | asystem-anode/src/main/python/anode/plugin/homeassistant/__init__.py | ggear/asystem_archive | b97f67218e8aa60991fba386c9e73d27d20d6c47 | [
"Apache-2.0"
] | null | null | null | asystem-anode/src/main/python/anode/plugin/homeassistant/__init__.py | ggear/asystem_archive | b97f67218e8aa60991fba386c9e73d27d20d6c47 | [
"Apache-2.0"
] | 2 | 2021-03-25T21:27:09.000Z | 2022-02-11T03:38:48.000Z | asystem-anode/src/main/python/anode/plugin/homeassistant/__init__.py | ggear/asystem_archive | b97f67218e8aa60991fba386c9e73d27d20d6c47 | [
"Apache-2.0"
] | null | null | null | from homeassistant import *
| 9.666667 | 27 | 0.793103 | 3 | 29 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 2 | 28 | 14.5 | 0.958333 | 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 |
7aeb14db5ef650f30e6d0880efd49b52f3c4f972 | 215 | py | Python | src/epidemic_simulation/GUI/features/utils/__init.py | GalBenZvi/EpidemicSimulation | 7aa551e18ad27e977a73452e708026ea85804a21 | [
"MIT"
] | 1 | 2020-07-15T07:11:55.000Z | 2020-07-15T07:11:55.000Z | src/epidemic_simulation/GUI/features/utils/__init.py | Hershkovitz-hub/EpidemicSimulation | 7aa551e18ad27e977a73452e708026ea85804a21 | [
"MIT"
] | 2 | 2021-06-08T22:07:26.000Z | 2021-09-08T02:22:40.000Z | src/epidemic_simulation/GUI/features/utils/__init.py | GalBenZvi/EpidemicSimulation | 7aa551e18ad27e977a73452e708026ea85804a21 | [
"MIT"
] | null | null | null | from epidemic_simulation.GUI.features.utils.sliders import Sliders
from epidemic_simulation.GUI.features.utils.sir_to_color import SIR
from epidemic_simulation.GUI.features.utils.screen_divider import ScreenDivider
| 53.75 | 79 | 0.888372 | 30 | 215 | 6.166667 | 0.466667 | 0.194595 | 0.356757 | 0.405405 | 0.616216 | 0.616216 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055814 | 215 | 3 | 80 | 71.666667 | 0.91133 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bb3669aad3949714b04852150b70eea37ae7aa4b | 259 | py | Python | weather_rpi/converters/__init__.py | JohannesSMHI/weather-rpi | 5fc0a1a11ded60d450baf438f83c7a390ae92bd8 | [
"MIT"
] | null | null | null | weather_rpi/converters/__init__.py | JohannesSMHI/weather-rpi | 5fc0a1a11ded60d450baf438f83c7a390ae92bd8 | [
"MIT"
] | null | null | null | weather_rpi/converters/__init__.py | JohannesSMHI/weather-rpi | 5fc0a1a11ded60d450baf438f83c7a390ae92bd8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""
Created on 2021-11-21 15:32
@author: johannes
"""
from weather_rpi.converters.rounder import RounderFormatter
from weather_rpi.converters.timestamps import DateFormatter
from weather_rpi.converters.temperature import TempFormatter
| 25.9 | 60 | 0.826255 | 34 | 259 | 6.205882 | 0.705882 | 0.156398 | 0.199052 | 0.341232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055085 | 0.088803 | 259 | 9 | 61 | 28.777778 | 0.838983 | 0.262548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
24ec116ea4b311724320eb6cd310b32648d8f465 | 267 | py | Python | backend/project/serializers.py | Abhiram-Joshi/Projectsv2 | 73416697290161dd45eb3192ed7e6275201f81c9 | [
"MIT"
] | null | null | null | backend/project/serializers.py | Abhiram-Joshi/Projectsv2 | 73416697290161dd45eb3192ed7e6275201f81c9 | [
"MIT"
] | null | null | null | backend/project/serializers.py | Abhiram-Joshi/Projectsv2 | 73416697290161dd45eb3192ed7e6275201f81c9 | [
"MIT"
] | null | null | null | from rest_framework import serializers
class GetRepoSerializer(serializers.Serializer):
repo_name = serializers.CharField()
class UploadImageSerializer(serializers.Serializer):
repo_name = serializers.CharField()
repo_thumbnail = serializers.CharField() | 33.375 | 52 | 0.812734 | 25 | 267 | 8.52 | 0.52 | 0.28169 | 0.234742 | 0.2723 | 0.460094 | 0.460094 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 267 | 8 | 53 | 33.375 | 0.898734 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
70575d3a6cb0a7492e63d2575b5db5d3392c5c3c | 78 | py | Python | vsbuy_backend/products/serializers/__init__.py | Edward-TL/vsbuy_backend | e6b3e71d6c0e6b253707489d70d951400acac451 | [
"MIT"
] | null | null | null | vsbuy_backend/products/serializers/__init__.py | Edward-TL/vsbuy_backend | e6b3e71d6c0e6b253707489d70d951400acac451 | [
"MIT"
] | 1 | 2020-10-05T01:27:02.000Z | 2020-10-05T01:27:02.000Z | vsbuy_backend/products/serializers/__init__.py | Edward-TL/vsbuy_backend | e6b3e71d6c0e6b253707489d70d951400acac451 | [
"MIT"
] | 1 | 2020-10-05T01:21:59.000Z | 2020-10-05T01:21:59.000Z | from .products import *
from .stores import *
from .scraping_products import * | 26 | 32 | 0.782051 | 10 | 78 | 6 | 0.5 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 78 | 3 | 32 | 26 | 0.895522 | 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 |
564d3c85c4d4eb0695dfb3a9691693d3ed33e5b7 | 27 | py | Python | deepmatch_torch/layers/__init__.py | bbruceyuan/DeepMatch_Torch | 498a6fd8e9af23a4c712b5b6f3aa33e8fd6fa222 | [
"MIT"
] | 15 | 2022-02-01T07:37:43.000Z | 2022-03-30T07:56:15.000Z | deepmatch_torch/layers/__init__.py | bbruceyuan/DeepMatch_Torch | 498a6fd8e9af23a4c712b5b6f3aa33e8fd6fa222 | [
"MIT"
] | 1 | 2022-03-09T09:48:57.000Z | 2022-03-10T02:13:10.000Z | deepmatch_torch/layers/__init__.py | bbruceyuan/DeepMatch_Torch | 498a6fd8e9af23a4c712b5b6f3aa33e8fd6fa222 | [
"MIT"
] | 4 | 2022-02-23T16:54:36.000Z | 2022-03-21T13:25:18.000Z | from .interaction import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 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 |
56535950e8b100f7c88421be7d602417861d3c0f | 70 | py | Python | scrapy_cdr/__init__.py | TeamHG-Memex/scrapy-cdr | b99c4ff2df02f722cb2d39b1e321d11a5a420cad | [
"MIT"
] | 6 | 2017-09-26T14:31:20.000Z | 2020-10-13T07:08:50.000Z | scrapy_cdr/__init__.py | TeamHG-Memex/scrapy-cdr | b99c4ff2df02f722cb2d39b1e321d11a5a420cad | [
"MIT"
] | 14 | 2017-04-05T10:08:48.000Z | 2018-10-27T09:45:11.000Z | scrapy_cdr/__init__.py | TeamHG-Memex/scrapy-cdr | b99c4ff2df02f722cb2d39b1e321d11a5a420cad | [
"MIT"
] | 6 | 2017-09-01T19:29:46.000Z | 2020-08-25T15:25:17.000Z | from .items import CDRItem
from .utils import text_cdr_item, cdr_item
| 23.333333 | 42 | 0.828571 | 12 | 70 | 4.583333 | 0.666667 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 70 | 2 | 43 | 35 | 0.901639 | 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 |
5698857b706baac876571b63c7f5532a38a21d11 | 177 | py | Python | keras/test.py | Xueping/ml_experiments | 7a5f59fd377ac045eb51c946b27bf9279976634d | [
"Apache-2.0"
] | null | null | null | keras/test.py | Xueping/ml_experiments | 7a5f59fd377ac045eb51c946b27bf9279976634d | [
"Apache-2.0"
] | null | null | null | keras/test.py | Xueping/ml_experiments | 7a5f59fd377ac045eb51c946b27bf9279976634d | [
"Apache-2.0"
] | null | null | null | import tensorflow
import matplotlib
matplotlib.use('TKAgg')
import matplotlib.pyplot as plt
import numpy as np
print ("Tensorflow Imported")
plt.plot(np.arange(100))
plt.show() | 19.666667 | 31 | 0.79096 | 26 | 177 | 5.384615 | 0.615385 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.101695 | 177 | 9 | 32 | 19.666667 | 0.861635 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.625 | 0 | 0.625 | 0.125 | 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 |
3b0f3a775017fad951b36ada9399663f5190e855 | 5,236 | py | Python | tests/AdagucTests/TestWMSTiling.py | lukas-phaf/adaguc-server | aa5e267d6c5c15463035ff87d353707207374d1b | [
"Apache-2.0"
] | 1 | 2019-08-21T11:03:09.000Z | 2019-08-21T11:03:09.000Z | tests/AdagucTests/TestWMSTiling.py | ernstdevreede/adaguc-server | 3516bf1a2ea6abb4f2e85e72944589dfcc990f7c | [
"Apache-2.0"
] | null | null | null | tests/AdagucTests/TestWMSTiling.py | ernstdevreede/adaguc-server | 3516bf1a2ea6abb4f2e85e72944589dfcc990f7c | [
"Apache-2.0"
] | null | null | null | # pylint: disable=line-too-long
# pylint: disable=unused-variable
# pylint: disable=invalid-name
"""
Run test for tiling system of adaguc-server
"""
import os
import unittest
from .AdagucTestTools import AdagucTestTools
ADAGUC_PATH = os.environ['ADAGUC_PATH']
class TestWMSTiling(unittest.TestCase):
"""
... | 48.934579 | 283 | 0.700344 | 550 | 5,236 | 6.609091 | 0.187273 | 0.049519 | 0.034663 | 0.049519 | 0.809078 | 0.809078 | 0.809078 | 0.800275 | 0.782944 | 0.750481 | 0 | 0.024788 | 0.167876 | 5,236 | 106 | 284 | 49.396226 | 0.809502 | 0.058442 | 0 | 0.692308 | 0 | 0.061538 | 0.330782 | 0.306578 | 0 | 0 | 0 | 0 | 0.184615 | 1 | 0.046154 | false | 0 | 0.046154 | 0 | 0.153846 | 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 |
3b0fdcbd3658e6902bd6c516da1d5b33290253be | 187 | py | Python | Blog/admin.py | JokerOneK/MyBlog | ee88485ce563c11c227112d3a24b5155b7b38ee4 | [
"MIT"
] | null | null | null | Blog/admin.py | JokerOneK/MyBlog | ee88485ce563c11c227112d3a24b5155b7b38ee4 | [
"MIT"
] | 9 | 2020-02-12T01:23:32.000Z | 2021-09-22T17:58:01.000Z | Blog/admin.py | JokerOneK/MyBlog | ee88485ce563c11c227112d3a24b5155b7b38ee4 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Post
from django.contrib.auth.admin import UserAdmin
from .models import User
admin.site.register(Post)
# Register your models here.
| 23.375 | 47 | 0.812834 | 28 | 187 | 5.428571 | 0.5 | 0.131579 | 0.223684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122995 | 187 | 7 | 48 | 26.714286 | 0.926829 | 0.139037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 |
3b2cb36105a0c5c43ae3b0222f30acabff5a71c8 | 159 | py | Python | src/emotes.py | NotNotQuinn/CAST-discord-bot | 8f6d40a690aa34cac1bf8130299cb0a2c55c71ce | [
"MIT"
] | null | null | null | src/emotes.py | NotNotQuinn/CAST-discord-bot | 8f6d40a690aa34cac1bf8130299cb0a2c55c71ce | [
"MIT"
] | null | null | null | src/emotes.py | NotNotQuinn/CAST-discord-bot | 8f6d40a690aa34cac1bf8130299cb0a2c55c71ce | [
"MIT"
] | null | null | null | class Emotes:
OkayChamp = '<:OkayChamp:762179359993757707>'
DonkChat = '<a:DonkChat:763268865761083415>'
Sadge = '<:Sadge:762183957776695320>' | 39.75 | 49 | 0.691824 | 12 | 159 | 9.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.409091 | 0.169811 | 159 | 4 | 50 | 39.75 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0.55625 | 0.55625 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
3b4eb6cba8fe8c23efdf29d5b9ad2fa742cc1374 | 301 | py | Python | src/bromine/page/current_url_test.py | Etiqa/bromine | cabf0931f5a06796c26fdc7fb9f7ecf147554fd5 | [
"BSD-2-Clause"
] | 2 | 2018-09-20T12:37:01.000Z | 2021-08-30T14:44:25.000Z | src/bromine/page/current_url_test.py | Etiqa/bromine | cabf0931f5a06796c26fdc7fb9f7ecf147554fd5 | [
"BSD-2-Clause"
] | null | null | null | src/bromine/page/current_url_test.py | Etiqa/bromine | cabf0931f5a06796c26fdc7fb9f7ecf147554fd5 | [
"BSD-2-Clause"
] | null | null | null | import six
class CurrentUrlTest(object):
def __init__(self, current_url, expected_url):
self.current_url = current_url
self.expected_url = expected_url
def __bool__(self):
return self.current_url == self.expected_url
if six.PY2:
__nonzero__ = __bool__
| 20.066667 | 52 | 0.681063 | 37 | 301 | 4.891892 | 0.432432 | 0.220994 | 0.232044 | 0.243094 | 0.276243 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004405 | 0.245847 | 301 | 14 | 53 | 21.5 | 0.792952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 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 |
3b5321446e931f0ce248359327598511c536ac51 | 54 | py | Python | ACM-Solution/kamil2.py | wasi0013/Python-CodeBase | 4a7a36395162f68f84ded9085fa34cc7c9b19233 | [
"MIT"
] | 2 | 2016-04-26T15:40:40.000Z | 2018-07-18T10:16:42.000Z | ACM-Solution/kamil2.py | wasi0013/Python-CodeBase | 4a7a36395162f68f84ded9085fa34cc7c9b19233 | [
"MIT"
] | 1 | 2016-04-26T15:44:15.000Z | 2016-04-29T14:44:40.000Z | ACM-Solution/kamil2.py | wasi0013/Python-CodeBase | 4a7a36395162f68f84ded9085fa34cc7c9b19233 | [
"MIT"
] | 1 | 2018-10-02T16:12:19.000Z | 2018-10-02T16:12:19.000Z | exec('print(2**sum(map(input().count,"TDLF")));'*10)
| 27 | 53 | 0.592593 | 9 | 54 | 3.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0.037037 | 54 | 1 | 54 | 54 | 0.557692 | 0 | 0 | 0 | 0 | 0 | 0.773585 | 0.773585 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3b6b7d1bc5073942549bcad2f07466d7417ba4cc | 260,326 | py | Python | instances/passenger_demand/pas-20210422-1717-int18e/91.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int18e/91.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int18e/91.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 34632
passenger_arriving = (
(8, 5, 8, 12, 6, 1, 3, 3, 7, 4, 3, 1, 0, 5, 5, 4, 12, 9, 3, 4, 2, 5, 4, 0, 0, 0), # 0
(11, 10, 10, 9, 4, 2, 7, 4, 4, 1, 2, 2, 0, 10, 7, 2, 5, 7, 4, 3, 0, 6, 3, 2, 1, 0), # 1
(15, 18, 8, 10, 11, 8, 5, 10, 2, 2, 0, 0, 0, 8, 11, 6, 7, 10, 8, 5, 3, 3, ... | 278.423529 | 490 | 0.771348 | 32,987 | 260,326 | 6.086974 | 0.234547 | 0.354996 | 0.340653 | 0.645447 | 0.366874 | 0.361002 | 0.360624 | 0.360484 | 0.360484 | 0.360484 | 0 | 0.851099 | 0.095012 | 260,326 | 934 | 491 | 278.721627 | 0.001184 | 0.015408 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3b819fc49a36e5481eb4534b963cddc6779393b1 | 30 | py | Python | scvelo/pl.py | gokceneraslan/scvelo | 95d90de3d0935ce58a01218c9f179c9494ff593e | [
"BSD-3-Clause"
] | 1 | 2020-10-22T11:08:33.000Z | 2020-10-22T11:08:33.000Z | scvelo/pl.py | gokceneraslan/scvelo | 95d90de3d0935ce58a01218c9f179c9494ff593e | [
"BSD-3-Clause"
] | 1 | 2021-01-03T12:32:53.000Z | 2021-01-03T12:32:53.000Z | scvelo/pl.py | gokceneraslan/scvelo | 95d90de3d0935ce58a01218c9f179c9494ff593e | [
"BSD-3-Clause"
] | null | null | null | from scvelo.plotting import *
| 15 | 29 | 0.8 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 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 |
3b84695ed1333dd42b14d717ffce88b26855a96e | 12,610 | py | Python | 2_3_lineare_regression/utils_lineare_regression.py | layerwise/training | 21ad2a5684a3712192fb13f8214bc3bb4c975f3e | [
"MIT"
] | null | null | null | 2_3_lineare_regression/utils_lineare_regression.py | layerwise/training | 21ad2a5684a3712192fb13f8214bc3bb4c975f3e | [
"MIT"
] | null | null | null | 2_3_lineare_regression/utils_lineare_regression.py | layerwise/training | 21ad2a5684a3712192fb13f8214bc3bb4c975f3e | [
"MIT"
] | 1 | 2021-07-20T11:38:47.000Z | 2021-07-20T11:38:47.000Z | import matplotlib.pyplot as plt
import numpy as np
from ipywidgets import interactive, interactive_output, fixed, HBox, VBox
import ipywidgets as widgets
def true_function_old(x):
x_copy = -1 * x
f = 2 * x_copy * np.sin(0.8*x_copy) + 0.5 * x_copy**2 - 5
return f
def sigmoid(x, L=10, k=2, x_0=20):
re... | 27.714286 | 93 | 0.576844 | 1,792 | 12,610 | 3.847098 | 0.098772 | 0.02727 | 0.044967 | 0.019147 | 0.835654 | 0.81085 | 0.801276 | 0.791558 | 0.778358 | 0.767044 | 0 | 0.063336 | 0.288818 | 12,610 | 454 | 94 | 27.77533 | 0.705397 | 0.051229 | 0 | 0.6997 | 0 | 0 | 0.046254 | 0.010558 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039039 | false | 0 | 0.012012 | 0.003003 | 0.078078 | 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 |
3ba136e10196b1495b73f770914313b9378a94d5 | 192 | py | Python | codility/lessons/3-time_complexity/test_tape_equilibrium.py | phacic/dsa-py | 77e07361d502aeec004c7e44b714a53fe7f9cae0 | [
"MIT"
] | null | null | null | codility/lessons/3-time_complexity/test_tape_equilibrium.py | phacic/dsa-py | 77e07361d502aeec004c7e44b714a53fe7f9cae0 | [
"MIT"
] | null | null | null | codility/lessons/3-time_complexity/test_tape_equilibrium.py | phacic/dsa-py | 77e07361d502aeec004c7e44b714a53fe7f9cae0 | [
"MIT"
] | null | null | null | import pytest
from .tape_equilibrium import solution
@pytest.mark.parametrize("points, least", [((3, 1, 2, 4, 3), 1)])
def test_solution(points, least):
assert solution(points) == least
| 24 | 65 | 0.708333 | 27 | 192 | 4.962963 | 0.62963 | 0.246269 | 0.283582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.140625 | 192 | 7 | 66 | 27.428571 | 0.775758 | 0 | 0 | 0 | 0 | 0 | 0.067708 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8e5b1aacb54fa89f6ac4089639a07f75ed0fe1b6 | 120 | py | Python | survae/transforms/bijections/coupling/__init__.py | alisiahkoohi/survae_flows | e1747b05524c7ab540a211ed360ab3e67bc3e96d | [
"MIT"
] | 262 | 2020-07-05T20:57:44.000Z | 2022-03-28T02:24:43.000Z | survae/transforms/bijections/coupling/__init__.py | alisiahkoohi/survae_flows | e1747b05524c7ab540a211ed360ab3e67bc3e96d | [
"MIT"
] | 17 | 2020-08-15T05:43:34.000Z | 2022-01-31T12:24:21.000Z | survae/transforms/bijections/coupling/__init__.py | alisiahkoohi/survae_flows | e1747b05524c7ab540a211ed360ab3e67bc3e96d | [
"MIT"
] | 35 | 2020-08-24T06:55:37.000Z | 2022-02-11T05:17:58.000Z | from .coupling import *
from .coupling_linear import *
from .coupling_splines import *
from .coupling_mixtures import *
| 24 | 32 | 0.8 | 15 | 120 | 6.2 | 0.4 | 0.516129 | 0.580645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 120 | 4 | 33 | 30 | 0.894231 | 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 |
8e5e69a0cb105a75f1fc69344669a861cd951240 | 64 | py | Python | src/shared/__init__.py | jestra52/supor-numerical-analysis-api | 3cebc86cf2bba95789de1cb45232aaad182f332f | [
"MIT"
] | 1 | 2020-06-09T17:18:01.000Z | 2020-06-09T17:18:01.000Z | src/shared/__init__.py | jestra52/supor-numerical-analysis-api | 3cebc86cf2bba95789de1cb45232aaad182f332f | [
"MIT"
] | null | null | null | src/shared/__init__.py | jestra52/supor-numerical-analysis-api | 3cebc86cf2bba95789de1cb45232aaad182f332f | [
"MIT"
] | null | null | null | from shared.function_manager import *
from shared.util import *
| 21.333333 | 37 | 0.8125 | 9 | 64 | 5.666667 | 0.666667 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 2 | 38 | 32 | 0.910714 | 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 |
8ea6f1c59ae878c09e6e83911019aad29ddbda9b | 35 | py | Python | yolov2_tensorflow/test1.py | HK017/cv | 84e797718509e97336995b021e1dc555159196bf | [
"MIT"
] | null | null | null | yolov2_tensorflow/test1.py | HK017/cv | 84e797718509e97336995b021e1dc555159196bf | [
"MIT"
] | null | null | null | yolov2_tensorflow/test1.py | HK017/cv | 84e797718509e97336995b021e1dc555159196bf | [
"MIT"
] | null | null | null | from tensorflow.contrib import slim | 35 | 35 | 0.885714 | 5 | 35 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 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 |
8ee1302c398e532d241dfc672ac7dc2d9c2d9535 | 175 | py | Python | pis/admin.py | janga1997/video_village | 58cba131c97dd3a033935e0675ba62daff7ca64a | [
"MIT"
] | 1 | 2017-03-10T22:44:35.000Z | 2017-03-10T22:44:35.000Z | pis/admin.py | janga1997/video_village | 58cba131c97dd3a033935e0675ba62daff7ca64a | [
"MIT"
] | 14 | 2016-07-08T13:52:46.000Z | 2017-02-13T20:57:18.000Z | pis/admin.py | janga1997/video_village | 58cba131c97dd3a033935e0675ba62daff7ca64a | [
"MIT"
] | 8 | 2016-07-11T16:23:20.000Z | 2018-10-13T06:07:58.000Z | from django.contrib import admin
# Register your models here.
from schedules.models import Window
from .models import Pi
admin.site.register(Pi)
admin.site.register(Window)
| 19.444444 | 35 | 0.805714 | 26 | 175 | 5.423077 | 0.5 | 0.170213 | 0.156028 | 0.269504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 175 | 8 | 36 | 21.875 | 0.915584 | 0.148571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d942e79a6c500cf56ab8971a7bea391cd511012d | 22 | py | Python | icepp/compiler/optimizer/__init__.py | pearcandy/aqcel | 86e2d97d427f6a31ef223c69defbe3f853a69aa2 | [
"Apache-2.0"
] | 3 | 2020-08-30T16:11:49.000Z | 2021-03-05T12:09:30.000Z | icepp/compiler/optimizer/__init__.py | pearcandy/aqcel | 86e2d97d427f6a31ef223c69defbe3f853a69aa2 | [
"Apache-2.0"
] | null | null | null | icepp/compiler/optimizer/__init__.py | pearcandy/aqcel | 86e2d97d427f6a31ef223c69defbe3f853a69aa2 | [
"Apache-2.0"
] | 2 | 2019-07-24T15:12:31.000Z | 2019-09-20T02:17:28.000Z | from .circuit import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 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 |
d956aef1c3829354cf765ca1f9965e18af5ac3f7 | 35 | py | Python | s4/synthesis/__init__.py | gabraganca/S4 | 24b4c33fb7caccc52833e31e781fde0f4e25f9bc | [
"BSD-3-Clause"
] | 3 | 2018-05-05T09:00:09.000Z | 2022-01-26T10:09:28.000Z | s4/synthesis/__init__.py | gabraganca/S4 | 24b4c33fb7caccc52833e31e781fde0f4e25f9bc | [
"BSD-3-Clause"
] | 6 | 2017-03-21T18:19:31.000Z | 2018-04-30T20:01:18.000Z | s4/synthesis/__init__.py | gabraganca/S4 | 24b4c33fb7caccc52833e31e781fde0f4e25f9bc | [
"BSD-3-Clause"
] | 1 | 2019-10-22T17:42:08.000Z | 2019-10-22T17:42:08.000Z | from synplotwrapper import Synplot
| 17.5 | 34 | 0.885714 | 4 | 35 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 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 |
d979547a9d4794e5395ce82fb5272e552c0be6f3 | 35 | py | Python | components/tiops/tiops/modules/__init__.py | liubo0127/tiup | bf1bc8aea09e192c6dfe2c84d605d3830c6e0df9 | [
"Apache-2.0"
] | null | null | null | components/tiops/tiops/modules/__init__.py | liubo0127/tiup | bf1bc8aea09e192c6dfe2c84d605d3830c6e0df9 | [
"Apache-2.0"
] | null | null | null | components/tiops/tiops/modules/__init__.py | liubo0127/tiup | bf1bc8aea09e192c6dfe2c84d605d3830c6e0df9 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
from api import *
| 8.75 | 17 | 0.657143 | 6 | 35 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.228571 | 35 | 3 | 18 | 11.666667 | 0.814815 | 0.371429 | 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 |
798f5466f2338adb318bf4d559ae219fd9a3a6ae | 356 | py | Python | core/security/__init__.py | ArnolFokam/dna-gate-backend | 1501a3a1d1a18645a309c012c8210045c61274c9 | [
"Apache-2.0"
] | null | null | null | core/security/__init__.py | ArnolFokam/dna-gate-backend | 1501a3a1d1a18645a309c012c8210045c61274c9 | [
"Apache-2.0"
] | null | null | null | core/security/__init__.py | ArnolFokam/dna-gate-backend | 1501a3a1d1a18645a309c012c8210045c61274c9 | [
"Apache-2.0"
] | null | null | null | from passlib.context import CryptContext
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
def verify_password_or_key(plain_password_or_key, hashed_password_or_key):
return pwd_context.verify(plain_password_or_key, hashed_password_or_key)
def get_password_or_key_hash(password_or_key):
retur... | 29.666667 | 76 | 0.837079 | 53 | 356 | 5.132075 | 0.377358 | 0.294118 | 0.382353 | 0.132353 | 0.4375 | 0.4375 | 0.272059 | 0.272059 | 0 | 0 | 0 | 0 | 0.087079 | 356 | 11 | 77 | 32.363636 | 0.836923 | 0 | 0 | 0 | 0 | 0 | 0.02809 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.833333 | 0.166667 | 0.333333 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
799478702d73928daa3583b660f5108c12099c49 | 14,347 | py | Python | generate_figures_from_csv.py | Dradoue/Boids | d7b79e49243c4a6fd437285b58ef6c0899e910d2 | [
"MIT"
] | 2 | 2021-04-06T14:41:27.000Z | 2021-08-09T06:11:49.000Z | generate_figures_from_csv.py | Dradoue/Boids | d7b79e49243c4a6fd437285b58ef6c0899e910d2 | [
"MIT"
] | null | null | null | generate_figures_from_csv.py | Dradoue/Boids | d7b79e49243c4a6fd437285b58ef6c0899e910d2 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns
import pandas as pd
if __name__ == "__main__":
# collect the data you want to plot
# choose a method for the plot
method = 3
if method == 1:
name = "DBSCAN_position_Euclidean_metric"
eps = [70, 75, 80, 85]
... | 44.144615 | 115 | 0.471248 | 1,659 | 14,347 | 3.883665 | 0.119952 | 0.032283 | 0.049666 | 0.064566 | 0.854881 | 0.853329 | 0.844017 | 0.8316 | 0.82803 | 0.824771 | 0 | 0.064113 | 0.37053 | 14,347 | 324 | 116 | 44.280864 | 0.649319 | 0.063428 | 0 | 0.6875 | 0 | 0 | 0.17637 | 0.027507 | 0.020833 | 0 | 0 | 0.003086 | 0 | 1 | 0 | false | 0 | 0.016667 | 0 | 0.016667 | 0.05 | 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 |
79d40654882474997b6c9c5691ce38f44fb89c37 | 239 | py | Python | src/users/views.py | IamkkQi/mysite | 373fde8650c343b40a94ff00cca02a35bf2dd0c1 | [
"Apache-2.0"
] | null | null | null | src/users/views.py | IamkkQi/mysite | 373fde8650c343b40a94ff00cca02a35bf2dd0c1 | [
"Apache-2.0"
] | null | null | null | src/users/views.py | IamkkQi/mysite | 373fde8650c343b40a94ff00cca02a35bf2dd0c1 | [
"Apache-2.0"
] | null | null | null | # Create your views here.
from django.http import HttpResponse
from django.shortcuts import render_to_response
def hello(request):
# return render_to_response('mysite/index.html', {})
return HttpResponse('<h1>Hello world!</h1>')
| 26.555556 | 56 | 0.753138 | 32 | 239 | 5.5 | 0.6875 | 0.113636 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009662 | 0.133891 | 239 | 8 | 57 | 29.875 | 0.84058 | 0.309623 | 0 | 0 | 0 | 0 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
8dbf83dd7cb985943f726ea5add478475bfe96c7 | 208 | py | Python | yappy/__init__.py | silversum/yappy | 90ff52c8af011f81747bbe498024875a4796a909 | [
"MIT"
] | null | null | null | yappy/__init__.py | silversum/yappy | 90ff52c8af011f81747bbe498024875a4796a909 | [
"MIT"
] | null | null | null | yappy/__init__.py | silversum/yappy | 90ff52c8af011f81747bbe498024875a4796a909 | [
"MIT"
] | null | null | null | from .__version__ import __version__ # noqa: F401 - imported but unused
from .main import option_from_model_field, options_from_model
__all__ = (
"option_from_model_field",
"options_from_model",
)
| 23.111111 | 72 | 0.769231 | 27 | 208 | 5.111111 | 0.518519 | 0.26087 | 0.217391 | 0.289855 | 0.521739 | 0.521739 | 0.521739 | 0 | 0 | 0 | 0 | 0.017143 | 0.158654 | 208 | 8 | 73 | 26 | 0.771429 | 0.153846 | 0 | 0 | 0 | 0 | 0.235632 | 0.132184 | 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 |
5c3e239e25a57e18553f6462eb39aa7aa7d968bc | 40 | py | Python | second_package/__init__.py | userMS/test-project | 07008359cfc773c061594654063596c9b9abeb52 | [
"MIT"
] | null | null | null | second_package/__init__.py | userMS/test-project | 07008359cfc773c061594654063596c9b9abeb52 | [
"MIT"
] | null | null | null | second_package/__init__.py | userMS/test-project | 07008359cfc773c061594654063596c9b9abeb52 | [
"MIT"
] | null | null | null | from .package_funcs import sum_multiply
| 20 | 39 | 0.875 | 6 | 40 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.916667 | 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 |
30a607edc712456b9321e1a535637e204dfda8ea | 5,894 | py | Python | CHRLINE/services/SearchService.py | zbx911/CHRLINE | 8e3b0f396193f59705321090778baa576f321c4c | [
"BSD-3-Clause"
] | 1 | 2021-11-30T19:17:04.000Z | 2021-11-30T19:17:04.000Z | CHRLINE/services/SearchService.py | vickysaputraa/CHRLINE | 887ac123d25c55751fff94a26eba976fa3368533 | [
"BSD-3-Clause"
] | null | null | null | CHRLINE/services/SearchService.py | vickysaputraa/CHRLINE | 887ac123d25c55751fff94a26eba976fa3368533 | [
"BSD-3-Clause"
] | null | null | null | # -- coding utf-8 --
class SearchService(object):
def __init__(self):
pass
def searchAll(self):
params = []
sqrd = self.generateDummyProtocol('searchAll', params, 4)
return self.postPackDataAndGetUnpackRespData("/search/v3", sqrd, 4)
def searchCollection(self):
pa... | 38.776316 | 106 | 0.674245 | 513 | 5,894 | 7.524366 | 0.087719 | 0.049223 | 0.068912 | 0.17228 | 0.870725 | 0.861399 | 0.710363 | 0.578238 | 0.578238 | 0.578238 | 0 | 0.006204 | 0.234306 | 5,894 | 151 | 107 | 39.033113 | 0.849103 | 0.074483 | 0 | 0.666667 | 1 | 0 | 0.136294 | 0.013208 | 0 | 0 | 0 | 0 | 0 | 1 | 0.20202 | false | 0.010101 | 0 | 0 | 0.40404 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
30e49813941bec359d06bbc9f78251a17c120a59 | 106 | py | Python | desc/sysmon/__init__.py | LSSTDESC/desc-wfmon | fa73ee1a00e9503e6bd82d1f81d9806fd9623783 | [
"BSD-3-Clause"
] | null | null | null | desc/sysmon/__init__.py | LSSTDESC/desc-wfmon | fa73ee1a00e9503e6bd82d1f81d9806fd9623783 | [
"BSD-3-Clause"
] | null | null | null | desc/sysmon/__init__.py | LSSTDESC/desc-wfmon | fa73ee1a00e9503e6bd82d1f81d9806fd9623783 | [
"BSD-3-Clause"
] | null | null | null | import importlib.metadata
__version__ = importlib.metadata.version('desc-wfmon')
from .reporter import *
| 21.2 | 54 | 0.801887 | 12 | 106 | 6.75 | 0.666667 | 0.419753 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 106 | 4 | 55 | 26.5 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a517e9b0b1f670b4e5ef5823735fe1e381d38517 | 6,465 | py | Python | megumin/modulos/admin/bans.py | fnixdev/Megumin | 3e2816fdf85abbc0adef2ec071cda04909a177d8 | [
"MIT"
] | null | null | null | megumin/modulos/admin/bans.py | fnixdev/Megumin | 3e2816fdf85abbc0adef2ec071cda04909a177d8 | [
"MIT"
] | null | null | null | megumin/modulos/admin/bans.py | fnixdev/Megumin | 3e2816fdf85abbc0adef2ec071cda04909a177d8 | [
"MIT"
] | 3 | 2022-01-29T20:04:03.000Z | 2022-02-01T18:17:40.000Z | ##
#
import time
from pyrogram import filters
from pyrogram.errors import PeerIdInvalid, UserIdInvalid, UsernameInvalid
from pyrogram.types import Message
from megumin import megux
from megumin.utils import (
admin_check,
check_bot_rights,
check_rights,
is_admin,
is_dev,
is_self,
sed_stic... | 35.718232 | 100 | 0.635731 | 863 | 6,465 | 4.601391 | 0.171495 | 0.045329 | 0.102745 | 0.024175 | 0.812893 | 0.775623 | 0.77109 | 0.755729 | 0.73659 | 0.715437 | 0 | 0.002909 | 0.255684 | 6,465 | 180 | 101 | 35.916667 | 0.820241 | 0 | 0 | 0.646707 | 0 | 0 | 0.238471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035928 | 0 | 0.167665 | 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 |
eba39b2769bc6d340f9fd6498ddb6d70a6570767 | 31 | py | Python | isensus/commands/__init__.py | MPI-IS/isensus | 23171afc7f5b1d2b322a4ab2ef274d5bd3457fdc | [
"BSD-3-Clause"
] | null | null | null | isensus/commands/__init__.py | MPI-IS/isensus | 23171afc7f5b1d2b322a4ab2ef274d5bd3457fdc | [
"BSD-3-Clause"
] | null | null | null | isensus/commands/__init__.py | MPI-IS/isensus | 23171afc7f5b1d2b322a4ab2ef274d5bd3457fdc | [
"BSD-3-Clause"
] | null | null | null | from .commands import commands
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 |
ccf334a18734c12c0a6f7b5413a8d8a675bd5744 | 218 | py | Python | src/backend/aspen/conftest.py | chanzuckerberg/czgenepi | 87bd2b1739acdfe2c7c25663fafb01dc24c5e2fd | [
"MIT"
] | null | null | null | src/backend/aspen/conftest.py | chanzuckerberg/czgenepi | 87bd2b1739acdfe2c7c25663fafb01dc24c5e2fd | [
"MIT"
] | 30 | 2022-02-01T23:19:14.000Z | 2022-03-29T19:34:20.000Z | src/backend/aspen/conftest.py | chanzuckerberg/czgenepi | 87bd2b1739acdfe2c7c25663fafb01dc24c5e2fd | [
"MIT"
] | null | null | null | from aspen.test_infra.aws import mock_s3_resource # noqa: F401
from aspen.test_infra.postgres import postgres_database # noqa: F401
from aspen.test_infra.sqlalchemy import session, sqlalchemy_interface # noqa: F401
| 54.5 | 83 | 0.825688 | 32 | 218 | 5.40625 | 0.5 | 0.156069 | 0.225434 | 0.312139 | 0.300578 | 0.300578 | 0 | 0 | 0 | 0 | 0 | 0.051813 | 0.114679 | 218 | 3 | 84 | 72.666667 | 0.84456 | 0.146789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
69542d4e6c027c29aab9f00f6a310d44b7a426bb | 220 | py | Python | Psience/Wavefun/__init__.py | McCoyGroup/Coordinerds | 058a4f5b29f157e499cec3c8f2da8b216f0210ef | [
"MIT"
] | null | null | null | Psience/Wavefun/__init__.py | McCoyGroup/Coordinerds | 058a4f5b29f157e499cec3c8f2da8b216f0210ef | [
"MIT"
] | null | null | null | Psience/Wavefun/__init__.py | McCoyGroup/Coordinerds | 058a4f5b29f157e499cec3c8f2da8b216f0210ef | [
"MIT"
] | null | null | null | """
Wavefun provides a basic framework for working with Wavefunctions that can be subclassed and built upon
"""
from .Wavefunctions import *
__all__ = []
from .Wavefunctions import __all__ as exposed
__all__ += exposed | 24.444444 | 103 | 0.777273 | 28 | 220 | 5.678571 | 0.75 | 0.213836 | 0.289308 | 0.327044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 220 | 9 | 104 | 24.444444 | 0.859459 | 0.468182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
15ff78ed649e7db9718761def85a3dd98f3faa0a | 3,500 | py | Python | boiler/strat_tf/preprocessor.py | dev-ejc/automated_financial_analysis | d68f842a5cbd54509e6f0df3ae7cc52d520f76eb | [
"MIT"
] | 2 | 2021-08-12T03:56:34.000Z | 2021-08-14T18:18:28.000Z | boiler/strat_tf/preprocessor.py | dev-ejc/automated_financial_analysis | d68f842a5cbd54509e6f0df3ae7cc52d520f76eb | [
"MIT"
] | null | null | null | boiler/strat_tf/preprocessor.py | dev-ejc/automated_financial_analysis | d68f842a5cbd54509e6f0df3ae7cc52d520f76eb | [
"MIT"
] | null | null | null | from sklearn.preprocessing import Normalizer
from sklearn.pipeline import Pipeline
import numpy as np
import pandas as pd
from datetime import datetime
import math
class Preprocessor(object):
def __init__(self,ticker):
self.ticker = ticker
def fundamental_preprocess(self,data):
drop_columns... | 52.238806 | 144 | 0.623143 | 489 | 3,500 | 4.302658 | 0.155419 | 0.053232 | 0.045627 | 0.065589 | 0.803232 | 0.764259 | 0.75903 | 0.75903 | 0.714354 | 0.694867 | 0 | 0.016117 | 0.202286 | 3,500 | 67 | 145 | 52.238806 | 0.737464 | 0.139714 | 0 | 0.559322 | 0 | 0 | 0.074825 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084746 | false | 0 | 0.101695 | 0 | 0.271186 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d68db42db7e530ff87df8c46028b81154597b1d0 | 21 | py | Python | scripts/portal/blackHeaven_boss_back.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/portal/blackHeaven_boss_back.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/portal/blackHeaven_boss_back.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | sm.warp(310070490, 4) | 21 | 21 | 0.761905 | 4 | 21 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.047619 | 21 | 1 | 21 | 21 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d6a550e59181a74138f167253f275f704380d13e | 153 | py | Python | test/__init__.py | Thrimbda/Thrive-Compiler | dcbdacd129909f385d030312cd83b1dfb66e74b1 | [
"MIT"
] | null | null | null | test/__init__.py | Thrimbda/Thrive-Compiler | dcbdacd129909f385d030312cd83b1dfb66e74b1 | [
"MIT"
] | null | null | null | test/__init__.py | Thrimbda/Thrive-Compiler | dcbdacd129909f385d030312cd83b1dfb66e74b1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Author: Macsnow
# @Date: 2017-04-15 12:29:03
# @Last Modified by: Macsnow
# @Last Modified time: 2017-04-15 12:29:09
| 25.5 | 43 | 0.601307 | 25 | 153 | 3.68 | 0.68 | 0.130435 | 0.173913 | 0.217391 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239669 | 0.20915 | 153 | 5 | 44 | 30.6 | 0.520661 | 0.895425 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.