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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c5f07912eec3eb14654ef8e1def61503ae139d74 | 148 | py | Python | build_pipeline/config/__init__.py | jakob-bagterp/timer_for_python | 351d0fa1336cfb001f7813225d46383f82f34a1e | [
"MIT"
] | 1 | 2021-12-06T18:04:26.000Z | 2021-12-06T18:04:26.000Z | build_pipeline/config/__init__.py | jakob-bagterp/timer_for_python | 351d0fa1336cfb001f7813225d46383f82f34a1e | [
"MIT"
] | null | null | null | build_pipeline/config/__init__.py | jakob-bagterp/timer_for_python | 351d0fa1336cfb001f7813225d46383f82f34a1e | [
"MIT"
] | null | null | null | __all__ = ["directory"]
def package_name() -> str:
return "timer-for-python"
def package_install_name() -> str:
return "timer-for-python"
| 18.5 | 34 | 0.675676 | 19 | 148 | 4.894737 | 0.578947 | 0.215054 | 0.27957 | 0.387097 | 0.580645 | 0.580645 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168919 | 148 | 7 | 35 | 21.142857 | 0.756098 | 0 | 0 | 0.4 | 0 | 0 | 0.277027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
68048392d8148f554f794499da503e4ebd9694e8 | 15,521 | gyp | Python | binding.gyp | jnovack/StormLib | d4ef4037cdf3b5016854553def1f6f5ceee9dbec | [
"MIT"
] | 1 | 2021-01-13T16:40:02.000Z | 2021-01-13T16:40:02.000Z | binding.gyp | nydus/storm-replay | 3ca553d5606bc78cb2e6a7250bdbe64563c9ec82 | [
"MIT"
] | 6 | 2016-02-10T22:17:37.000Z | 2020-06-10T22:45:17.000Z | binding.gyp | jnovack/StormLib | d4ef4037cdf3b5016854553def1f6f5ceee9dbec | [
"MIT"
] | 1 | 2016-02-10T21:01:11.000Z | 2016-02-10T21:01:11.000Z | {
"targets": [
{
"target_name": "storm-replay",
"sources": [
"src/storm-replay.cpp",
"src/StormLib/src/adpcm/adpcm.cpp",
"src/StormLib/src/huffman/huff.cpp",
"src/StormLib/src/sparse/sparse.cpp",
"src/StormLib/src/FileStream.cpp",
"src/StormLib/src/SBas... | 52.792517 | 82 | 0.660653 | 2,212 | 15,521 | 4.389241 | 0.108951 | 0.269647 | 0.343187 | 0.329076 | 0.859306 | 0.826656 | 0.817283 | 0.741271 | 0.548563 | 0.380781 | 0 | 0.007657 | 0.192191 | 15,521 | 293 | 83 | 52.972696 | 0.766709 | 0 | 0 | 0.099656 | 0 | 0 | 0.752271 | 0.730816 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.003436 | 0 | 0.003436 | 0.010309 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
a83b173d781bf39fe042aa187d427135362f7eb0 | 120 | py | Python | pycon-tutorial/pycon-project/collection/views.py | kajayi/hellowebapp-2 | 7bd6b98ebb73e38c3f5df0ff2cb7debeb88d97bf | [
"MIT"
] | null | null | null | pycon-tutorial/pycon-project/collection/views.py | kajayi/hellowebapp-2 | 7bd6b98ebb73e38c3f5df0ff2cb7debeb88d97bf | [
"MIT"
] | null | null | null | pycon-tutorial/pycon-project/collection/views.py | kajayi/hellowebapp-2 | 7bd6b98ebb73e38c3f5df0ff2cb7debeb88d97bf | [
"MIT"
] | null | null | null | from django.shortcuts import render, render_to_response
def home(request):
return render_to_response('index.html')
| 24 | 55 | 0.8 | 17 | 120 | 5.411765 | 0.764706 | 0.173913 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 120 | 4 | 56 | 30 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
a8858a8c421b3f819ef4c2aa94f130b767aaff51 | 3,306 | py | Python | isecret/loss/gan_loss.py | QtacierP/ISECRET | 89dae29b3935bbd9ccbcaaa8c061a0aa469a8e21 | [
"MIT"
] | 9 | 2021-06-30T13:21:27.000Z | 2021-12-30T11:49:12.000Z | isecret/loss/gan_loss.py | QtacierP/ISECRET | 89dae29b3935bbd9ccbcaaa8c061a0aa469a8e21 | [
"MIT"
] | null | null | null | isecret/loss/gan_loss.py | QtacierP/ISECRET | 89dae29b3935bbd9ccbcaaa8c061a0aa469a8e21 | [
"MIT"
] | null | null | null | import torch.nn as nn
import torch.nn.functional as F
import torch
from abc import ABC, abstractmethod
class GANLoss(ABC):
def __init__(self, args):
self.args = args
@ abstractmethod
def update_g(self, good_dis, fake_good, bad_dis=None, fake_bad=None):
pass
@abstractmethod
def upd... | 37.146067 | 99 | 0.681488 | 514 | 3,306 | 3.939689 | 0.089494 | 0.086914 | 0.059259 | 0.06716 | 0.901235 | 0.897284 | 0.897284 | 0.897284 | 0.89037 | 0.89037 | 0 | 0.001585 | 0.23654 | 3,306 | 88 | 100 | 37.568182 | 0.800713 | 0.017241 | 0 | 0.797101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130435 | false | 0.028986 | 0.057971 | 0 | 0.347826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a897f6f163824861f033752239e86edbfd4e9f68 | 12,988 | py | Python | backend/api/views/railroad_route_view.py | ferdn4ndo/infotrem | 4728c5fe8385dcc0a1c75068429fa20e2afbf6f2 | [
"MIT"
] | null | null | null | backend/api/views/railroad_route_view.py | ferdn4ndo/infotrem | 4728c5fe8385dcc0a1c75068429fa20e2afbf6f2 | [
"MIT"
] | 1 | 2020-06-21T18:38:14.000Z | 2020-06-21T21:57:09.000Z | backend/api/views/railroad_route_view.py | ferdn4ndo/infotrem | 4728c5fe8385dcc0a1c75068429fa20e2afbf6f2 | [
"MIT"
] | null | null | null | from rest_framework import viewsets
from rest_framework.generics import get_object_or_404
from rest_framework.response import Response
from infotrem.models.railroad_route_model import RailroadRoute, RailroadRouteInformation, RailroadRouteSection, \
RailroadRouteSectionInformation, RailroadRouteSectionLocation, Rai... | 52.582996 | 121 | 0.749538 | 1,402 | 12,988 | 6.711127 | 0.052068 | 0.053566 | 0.065469 | 0.083324 | 0.87225 | 0.861409 | 0.855883 | 0.846105 | 0.81794 | 0.81794 | 0 | 0.015472 | 0.163998 | 12,988 | 246 | 122 | 52.796748 | 0.851078 | 0 | 0 | 0.814634 | 0 | 0 | 0.008161 | 0.005775 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136585 | false | 0 | 0.029268 | 0 | 0.360976 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7640176e6a6b79a177585987d0992db4f85051f9 | 9,736 | py | Python | src/webhook/tests/test_handlers.py | rca/issuebranch | 525dbb30617fe452aba32613b50eca2420f22040 | [
"Apache-2.0"
] | null | null | null | src/webhook/tests/test_handlers.py | rca/issuebranch | 525dbb30617fe452aba32613b50eca2420f22040 | [
"Apache-2.0"
] | 2 | 2017-07-29T13:34:32.000Z | 2021-09-15T21:25:35.000Z | src/webhook/tests/test_handlers.py | rca/issuebranch | 525dbb30617fe452aba32613b50eca2420f22040 | [
"Apache-2.0"
] | 3 | 2017-07-27T16:48:58.000Z | 2018-08-01T18:57:44.000Z | from unittest import mock
from django.test import TestCase
from webhook import handlers
from webhook.tests.utils import get_project_webhook_data
from_on_deck_project_data = {
"action": "moved",
"changes": {"column_id": {"from": 2001377}},
"project_card": {
"url": "https://api.github.com/projects... | 43.464286 | 94 | 0.619864 | 1,198 | 9,736 | 4.831386 | 0.108514 | 0.109191 | 0.131133 | 0.202661 | 0.915515 | 0.911368 | 0.892191 | 0.884243 | 0.873359 | 0.85038 | 0 | 0.049102 | 0.205115 | 9,736 | 223 | 95 | 43.659193 | 0.698798 | 0.006574 | 0 | 0.757732 | 0 | 0 | 0.53201 | 0 | 0 | 0 | 0 | 0 | 0.025773 | 1 | 0.030928 | false | 0 | 0.020619 | 0 | 0.061856 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
764e80c14aa7776ed15e0dc43f55078c72632dc2 | 562 | py | Python | python/mprpc/config/__init__.py | MusicScience37/mpRPC | f0256eeae4a0789038c4d12fb96efa5006968724 | [
"Apache-2.0"
] | null | null | null | python/mprpc/config/__init__.py | MusicScience37/mpRPC | f0256eeae4a0789038c4d12fb96efa5006968724 | [
"Apache-2.0"
] | null | null | null | python/mprpc/config/__init__.py | MusicScience37/mpRPC | f0256eeae4a0789038c4d12fb96efa5006968724 | [
"Apache-2.0"
] | null | null | null | """module of configuration
"""
from .._mprpc_cpp import (
CompressionType,
CompressionConfig,
TCPAcceptorConfig,
TCPConnectorConfig,
UDPAcceptorConfig,
UDPConnectorConfig,
ServerConfig,
TransportType,
ClientConfig,
MPRPCConfig,
load,
)
for obj in (
CompressionType,
... | 17.030303 | 35 | 0.688612 | 38 | 562 | 10.026316 | 0.605263 | 0.167979 | 0.257218 | 0.351706 | 0.808399 | 0.808399 | 0.808399 | 0.808399 | 0.808399 | 0.808399 | 0 | 0 | 0.240214 | 562 | 32 | 36 | 17.5625 | 0.892272 | 0.040925 | 0 | 0.785714 | 0 | 0 | 0.022556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035714 | 0 | 0.035714 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
768c42b1434b164ec69afc189cc7592e25239ded | 135 | py | Python | first-hw.py | ThuraDwe/astr-119 | 4564598064c805a54f83543e78b9104c3665fd52 | [
"MIT"
] | null | null | null | first-hw.py | ThuraDwe/astr-119 | 4564598064c805a54f83543e78b9104c3665fd52 | [
"MIT"
] | 8 | 2020-10-01T23:52:53.000Z | 2020-12-15T08:38:34.000Z | first-hw.py | ThuraDwe/astr-119 | 4564598064c805a54f83543e78b9104c3665fd52 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
#this program will write
#Thura Dwe He/Him/His
print("Thura Dwe He/Him/His") # print out Thura Dwe He/Him/His
| 19.285714 | 62 | 0.718519 | 26 | 135 | 3.730769 | 0.576923 | 0.247423 | 0.309278 | 0.402062 | 0.597938 | 0.43299 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.148148 | 135 | 6 | 63 | 22.5 | 0.834783 | 0.703704 | 0 | 0 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
7691fb3595228c5804c12c46f90037c773d37507 | 11,500 | py | Python | venv/Lib/site-packages/scipy/spatial/tests/data/cdist-X2.txt.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | venv/Lib/site-packages/scipy/spatial/tests/data/cdist-X2.txt.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | venv/Lib/site-packages/scipy/spatial/tests/data/cdist-X2.txt.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX... | 547.619048 | 574 | 0.96 | 460 | 11,500 | 24 | 0.002174 | 1.995652 | 2.986957 | 3.973913 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.04 | 11,500 | 20 | 575 | 575 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
76af285ef065bfe2a95791e0f351506796e3999b | 8,384 | py | Python | helper_fns/reporting_rules_postprocess.py | Avidereta/risk-averse-hetero-bo | 36312f4f0eb2e7cb49f9e271c398de023994330a | [
"MIT"
] | 6 | 2021-11-08T09:40:38.000Z | 2022-01-17T12:26:33.000Z | helper_fns/reporting_rules_postprocess.py | Avidereta/risk-averse-hetero-bo | 36312f4f0eb2e7cb49f9e271c398de023994330a | [
"MIT"
] | null | null | null | helper_fns/reporting_rules_postprocess.py | Avidereta/risk-averse-hetero-bo | 36312f4f0eb2e7cb49f9e271c398de023994330a | [
"MIT"
] | 1 | 2022-03-03T11:03:20.000Z | 2022-03-03T11:03:20.000Z | from botorch.models import FixedNoiseGP, SingleTaskGP
from rabo.acquisition.acquisition import RiskAverseUpperConfidenceBound, UpperConfidenceBound, LowerConfidenceBound
import torch
from torch import Tensor
from rabo.optimization.bo_loop import bo_loop_learn_rho, evaluate_rho_mean
def transform_x_to_tensor(df_values... | 41.098039 | 118 | 0.628459 | 1,228 | 8,384 | 4.051303 | 0.095277 | 0.061508 | 0.028945 | 0.051457 | 0.892261 | 0.889447 | 0.881005 | 0.881005 | 0.881005 | 0.881005 | 0 | 0.014093 | 0.229843 | 8,384 | 204 | 119 | 41.098039 | 0.756388 | 0.097448 | 0 | 0.877698 | 0 | 0 | 0.071736 | 0.011822 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043165 | false | 0 | 0.035971 | 0 | 0.122302 | 0.021583 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4f19ccccdbea2fa5ce58e81e776284291960d35e | 102 | py | Python | app/routes.py | mzaglia/flask-snippets | e54c9ad15cc287b68eef89502fde861bf164f167 | [
"Unlicense"
] | null | null | null | app/routes.py | mzaglia/flask-snippets | e54c9ad15cc287b68eef89502fde861bf164f167 | [
"Unlicense"
] | null | null | null | app/routes.py | mzaglia/flask-snippets | e54c9ad15cc287b68eef89502fde861bf164f167 | [
"Unlicense"
] | null | null | null | from flask import current_app
@current_app.route('/')
def index():
return {'msg': 'Hello World'}
| 17 | 33 | 0.676471 | 14 | 102 | 4.785714 | 0.857143 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 102 | 5 | 34 | 20.4 | 0.77907 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
4f219c9566a3457c7cab5888bd2ba366a0bd2f37 | 11,516 | py | Python | huxley/core/migrations/0038_auto_20200202_0032.py | srisainachuri/huxley | 7166a1423e49b506d6d5f142c748eac4e5d2314c | [
"BSD-3-Clause"
] | null | null | null | huxley/core/migrations/0038_auto_20200202_0032.py | srisainachuri/huxley | 7166a1423e49b506d6d5f142c748eac4e5d2314c | [
"BSD-3-Clause"
] | null | null | null | huxley/core/migrations/0038_auto_20200202_0032.py | srisainachuri/huxley | 7166a1423e49b506d6d5f142c748eac4e5d2314c | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 2.2.6 on 2020-02-02 00:32
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('core', '0037_positionpaper_graded_file'),
]
operations = [
migrations.CreateModel(
name='Room',... | 38.386667 | 146 | 0.564345 | 1,044 | 11,516 | 6.041188 | 0.126437 | 0.072776 | 0.194229 | 0.225305 | 0.804661 | 0.7785 | 0.720152 | 0.69082 | 0.676233 | 0.676233 | 0 | 0.019101 | 0.304446 | 11,516 | 299 | 147 | 38.51505 | 0.76829 | 0.003908 | 0 | 0.679181 | 1 | 0 | 0.151103 | 0.008981 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006826 | 0 | 0.017065 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4fa62813b0f96ccecac37935edfe3ddbd051e3af | 52,380 | py | Python | cable.py | mdbartos/RIPS | ab654138ccdcd8cb7c4ab53092132e0156812e95 | [
"MIT"
] | 1 | 2021-04-02T03:05:55.000Z | 2021-04-02T03:05:55.000Z | cable.py | mdbartos/RIPS | ab654138ccdcd8cb7c4ab53092132e0156812e95 | [
"MIT"
] | 2 | 2015-05-13T23:35:43.000Z | 2015-05-22T00:51:23.000Z | cable.py | mdbartos/RIPS | ab654138ccdcd8cb7c4ab53092132e0156812e95 | [
"MIT"
] | 2 | 2015-05-13T23:29:03.000Z | 2015-05-21T22:50:15.000Z | import math
import numpy as np
import pandas as pd
class cable():
"""
%% TO BE ASSIGNED
T_line % line temperature (C)
T_surf % line surface temperature (C)
T_film % line film temperature (C)
L % line length (m)
%% INDEPENDENT VARIAB... | 272.8125 | 20,451 | 0.691123 | 10,206 | 52,380 | 3.258083 | 0.153047 | 0.058192 | 0.04932 | 0.038253 | 0.447522 | 0.416546 | 0.388789 | 0.339679 | 0.284554 | 0.244045 | 0 | 0.385503 | 0.053169 | 52,380 | 191 | 20,452 | 274.240838 | 0.284968 | 0.001527 | 0 | 0.233871 | 0 | 0.024194 | 0.899102 | 0.895955 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.024194 | null | null | 0.016129 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
96c6adbbebadc9888e867e3b32768d9db27697a0 | 30,730 | py | Python | pybind/slxos/v16r_1_00b/brocade_mpls_rpc/show_mpls_rsvp_neighbor_detail/output/mpls_rsvp_neighbor_detail/show_mpls_neighbor_brief/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/brocade_mpls_rpc/show_mpls_rsvp_neighbor_detail/output/mpls_rsvp_neighbor_detail/show_mpls_neighbor_brief/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/brocade_mpls_rpc/show_mpls_rsvp_neighbor_detail/output/mpls_rsvp_neighbor_detail/show_mpls_neighbor_brief/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 76.825 | 574 | 0.77478 | 4,443 | 30,730 | 4.993023 | 0.045915 | 0.148215 | 0.19185 | 0.057699 | 0.930581 | 0.902452 | 0.880499 | 0.840561 | 0.832312 | 0.826497 | 0 | 0.01149 | 0.110674 | 30,730 | 399 | 575 | 77.017544 | 0.800249 | 0.232672 | 0 | 0.469298 | 0 | 0.048246 | 0.36265 | 0.263977 | 0 | 0 | 0 | 0 | 0 | 1 | 0.118421 | false | 0 | 0.035088 | 0 | 0.27193 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8c27fc9500326f0e58f92c0f317904d02cf62470 | 135 | py | Python | pywolf/views/pywolf/create_user/__init__.py | tevawolf/pywolf | 94e3c26d8c3b279990624f23658e22ab00eead46 | [
"BSD-3-Clause"
] | null | null | null | pywolf/views/pywolf/create_user/__init__.py | tevawolf/pywolf | 94e3c26d8c3b279990624f23658e22ab00eead46 | [
"BSD-3-Clause"
] | null | null | null | pywolf/views/pywolf/create_user/__init__.py | tevawolf/pywolf | 94e3c26d8c3b279990624f23658e22ab00eead46 | [
"BSD-3-Clause"
] | null | null | null | from .create_user import create_user
from .confirm_create_user import confirm_create_user
from .exe_create_user import exe_create_user
| 33.75 | 52 | 0.888889 | 22 | 135 | 5 | 0.272727 | 0.545455 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 135 | 3 | 53 | 45 | 0.894309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8c5e00e84b9d412ae2a7a3cd0bfca02a8eb550c3 | 135 | py | Python | ma-poca/mapoca/mapoca/trainers/trainer/__init__.py | Unity-Technologies/paper-ml-agents | 885144ee25e86b929c5acee90b9b8dc059bcb9af | [
"Apache-2.0"
] | 1 | 2022-03-25T13:54:29.000Z | 2022-03-25T13:54:29.000Z | ma-poca/mapoca/mapoca/trainers/trainer/__init__.py | Unity-Technologies/paper-ml-agents | 885144ee25e86b929c5acee90b9b8dc059bcb9af | [
"Apache-2.0"
] | null | null | null | ma-poca/mapoca/mapoca/trainers/trainer/__init__.py | Unity-Technologies/paper-ml-agents | 885144ee25e86b929c5acee90b9b8dc059bcb9af | [
"Apache-2.0"
] | 1 | 2022-03-25T14:42:32.000Z | 2022-03-25T14:42:32.000Z | from mapoca.trainers.trainer.trainer import Trainer # noqa
from mapoca.trainers.trainer.trainer_factory import TrainerFactory # noqa
| 45 | 74 | 0.837037 | 17 | 135 | 6.588235 | 0.470588 | 0.178571 | 0.321429 | 0.446429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103704 | 135 | 2 | 75 | 67.5 | 0.92562 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4fc7e8e511b45f7efdc5f89c4c683919eeca3836 | 24,652 | py | Python | server/data/email_classes/email_config.py | MikeSmvl/travelingstrategy | 3d38c64f00bafdf2ca1079d14f9b618bce8307b0 | [
"MIT"
] | null | null | null | server/data/email_classes/email_config.py | MikeSmvl/travelingstrategy | 3d38c64f00bafdf2ca1079d14f9b618bce8307b0 | [
"MIT"
] | 2 | 2021-05-08T23:09:17.000Z | 2021-09-02T11:27:08.000Z | server/data/email_classes/email_config.py | MikeSmvl/travelingstrategy | 3d38c64f00bafdf2ca1079d14f9b618bce8307b0 | [
"MIT"
] | 2 | 2020-10-14T01:18:32.000Z | 2020-11-09T16:54:16.000Z | style = """<style>
.container {
position: relative;
width: 50%;
}
.image {
opacity: 1;
display: block;
width: 100%;
height: auto;
transition: .5s ease;
backface-visibility: hidden;
}
.middle {
... | 68.860335 | 516 | 0.481786 | 2,400 | 24,652 | 4.939167 | 0.109167 | 0.083854 | 0.129914 | 0.091108 | 0.801755 | 0.775181 | 0.740847 | 0.735532 | 0.719335 | 0.713008 | 0 | 0.047712 | 0.375953 | 24,652 | 358 | 517 | 68.860335 | 0.722699 | 0 | 0 | 0.764179 | 0 | 0.220896 | 0.992171 | 0.296029 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
8b12f2aaa32c4d2f04a2ff4a73814c6073f45264 | 43,455 | py | Python | handlers/kbeServer/Editor/Interface/interface_res.py | iamjing66/tornaodo_sdk | 242a852d3231e5798aa357a17e5638c7dc0567b9 | [
"MIT"
] | null | null | null | handlers/kbeServer/Editor/Interface/interface_res.py | iamjing66/tornaodo_sdk | 242a852d3231e5798aa357a17e5638c7dc0567b9 | [
"MIT"
] | null | null | null | handlers/kbeServer/Editor/Interface/interface_res.py | iamjing66/tornaodo_sdk | 242a852d3231e5798aa357a17e5638c7dc0567b9 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding=utf-8
import json
import logging
import Global
def GetUpdateVersion(DB,UID,pam):
json_data = {
"code": 0,
"msg": ""
}
operateType = ""
SqlID = ""
if pam == "":
#0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
json_data["code"] = "0"
... | 47.285092 | 225 | 0.425475 | 4,445 | 43,455 | 3.994151 | 0.058268 | 0.209981 | 0.046637 | 0.033795 | 0.833502 | 0.814521 | 0.782866 | 0.763039 | 0.728794 | 0.719838 | 0 | 0.05189 | 0.393764 | 43,455 | 918 | 226 | 47.336601 | 0.622039 | 0.020366 | 0 | 0.754982 | 0 | 0 | 0.102174 | 0.007263 | 0.001172 | 0 | 0 | 0 | 0 | 1 | 0.01524 | false | 0 | 0.007034 | 0 | 0.043376 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8b2839b9affbb8ee468617ebd2c7fe7fc4bdce21 | 6,125 | py | Python | tests/test_regional_stager.py | cariad/startifact | ef0b855ca2061f9e6982ed28c63b3da4c5d1464d | [
"MIT"
] | null | null | null | tests/test_regional_stager.py | cariad/startifact | ef0b855ca2061f9e6982ed28c63b3da4c5d1464d | [
"MIT"
] | 15 | 2021-11-09T13:22:57.000Z | 2021-12-17T12:24:27.000Z | tests/test_regional_stager.py | cariad/startifact | ef0b855ca2061f9e6982ed28c63b3da4c5d1464d | [
"MIT"
] | null | null | null | from multiprocessing import Queue
from pathlib import Path
from mock import ANY, Mock, patch
from pytest import raises
from semver import VersionInfo # pyright: reportMissingTypeStubs=false
from startifact.parameters.latest_version import LatestVersionParameter
from startifact.regional_process_result import Regional... | 25.95339 | 80 | 0.668082 | 710 | 6,125 | 5.491549 | 0.105634 | 0.062324 | 0.107207 | 0.036676 | 0.809438 | 0.778918 | 0.760451 | 0.754296 | 0.754296 | 0.745832 | 0 | 0.01711 | 0.227102 | 6,125 | 235 | 81 | 26.06383 | 0.806506 | 0.006041 | 0 | 0.774194 | 0 | 0 | 0.12652 | 0.042557 | 0 | 0 | 0 | 0 | 0.11828 | 1 | 0.043011 | false | 0 | 0.043011 | 0 | 0.086022 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8b32ded3aec10b6089c88bb42fcf6a2b687d97c8 | 17,327 | py | Python | sdk/python/pulumi_aws/budgets/budget.py | johnktims/pulumi-aws | c838bc79043f5376c66fc66275a1e012edd3ab7d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/budgets/budget.py | johnktims/pulumi-aws | c838bc79043f5376c66fc66275a1e012edd3ab7d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/budgets/budget.py | johnktims/pulumi-aws | c838bc79043f5376c66fc66275a1e012edd3ab7d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class Budget... | 73.109705 | 317 | 0.699082 | 2,309 | 17,327 | 5.089216 | 0.121265 | 0.054293 | 0.027572 | 0.039061 | 0.850396 | 0.829376 | 0.825632 | 0.810569 | 0.781295 | 0.781295 | 0 | 0.005549 | 0.2095 | 17,327 | 236 | 318 | 73.419492 | 0.852376 | 0.510821 | 0 | 0.02381 | 1 | 0 | 0.167717 | 0.005628 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0.011905 | 0.071429 | 0.02381 | 0.309524 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8c68674548afd4979c31e97e341bedff1ce77fc4 | 2,262 | py | Python | ssc32py/launch/sample_client.py | kalmes/mk-ros-pkg | 26c4d011506a7a8adbf866741184b79f5103ae3f | [
"BSD-3-Clause"
] | 1 | 2019-02-22T14:52:00.000Z | 2019-02-22T14:52:00.000Z | ssc32py/launch/sample_client.py | kalmes/mk-ros-pkg | 26c4d011506a7a8adbf866741184b79f5103ae3f | [
"BSD-3-Clause"
] | null | null | null | ssc32py/launch/sample_client.py | kalmes/mk-ros-pkg | 26c4d011506a7a8adbf866741184b79f5103ae3f | [
"BSD-3-Clause"
] | 1 | 2019-06-04T09:18:33.000Z | 2019-06-04T09:18:33.000Z | #!/usr/bin/python
#
# Copyright 2011, Mark Kalmes
#
# This is just a very simple sample client that shows how to
# make requests against the ROS SSC32 server
import roslib
roslib.load_manifest('ssc32py')
import rospy
import time, math
from ssc32py.ros_ssc32 import ROS_SSC32_Client
if __name__ == '__main__':
pri... | 31.859155 | 60 | 0.698497 | 318 | 2,262 | 4.820755 | 0.22327 | 0.117417 | 0.169602 | 0.260926 | 0.756686 | 0.72407 | 0.718852 | 0.718852 | 0.718852 | 0.718852 | 0 | 0.039446 | 0.170645 | 2,262 | 70 | 61 | 32.314286 | 0.777719 | 0.064545 | 0 | 0.530612 | 0 | 0 | 0.132701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.081633 | null | null | 0.244898 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8ced0465561d3ce6956db218390ff81d8e946976 | 4,207 | py | Python | src/genie/libs/parser/iosxe/tests/ShowLispInstanceIdEthernetServer/cli/equal/golden_output_4_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowLispInstanceIdEthernetServer/cli/equal/golden_output_4_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowLispInstanceIdEthernetServer/cli/equal/golden_output_4_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"instance_id": {
4100: {"lisp": 0},
8188: {
"lisp": 0,
"site_name": {
"site_uci": {
"any-mac": {
"last_register": "never",
"up": "no",
"who_last_reg... | 39.317757 | 66 | 0.292132 | 311 | 4,207 | 3.73955 | 0.151125 | 0.154772 | 0.219261 | 0.216681 | 0.844368 | 0.828891 | 0.828891 | 0.828891 | 0.828891 | 0.828891 | 0 | 0.221977 | 0.569527 | 4,207 | 106 | 67 | 39.688679 | 0.42021 | 0 | 0 | 0.537736 | 0 | 0 | 0.299263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
506c580e0074b138400fdf69b32335d7d7b1b641 | 4,364 | py | Python | DailyProgrammer/20120613B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/20120613B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/20120613B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
Find the longest palindrome in the following 1169-character string:
Fourscoreandsevenyearsagoourfaathersbroughtforthonthisconta
inentanewnationconceivedinzLibertyanddedicatedtotheproposit
ionthatallmenarecreatedequalNowweareengagedinagreahtcivilwa
rtestingwhetherthatnaptionoranynartionsoconceivedandsodedic
atedcan... | 40.785047 | 118 | 0.740834 | 283 | 4,364 | 11.374558 | 0.44523 | 0.004349 | 0.005592 | 0.013669 | 0.740292 | 0.735632 | 0.73004 | 0.73004 | 0.73004 | 0.73004 | 0 | 0.014917 | 0.201192 | 4,364 | 106 | 119 | 41.169811 | 0.908491 | 0.390238 | 0 | 0.051724 | 0 | 0 | 0.451823 | 0.448752 | 0 | 1 | 0 | 0 | 0 | 1 | 0.051724 | false | 0 | 0.017241 | 0 | 0.12069 | 0.017241 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5086df8a1e0e7359b4ca134709e1922b4e5113aa | 12,870 | py | Python | tests/test_parsing.py | andrewguy/CCARL | 0afda67bcc58be2b6b6bf426cccaab04453c0590 | [
"MIT"
] | 2 | 2020-05-13T12:50:44.000Z | 2020-07-27T08:32:42.000Z | tests/test_parsing.py | andrewguy/CCARL | 0afda67bcc58be2b6b6bf426cccaab04453c0590 | [
"MIT"
] | 1 | 2020-04-30T15:33:45.000Z | 2021-11-30T01:53:18.000Z | tests/test_parsing.py | andrewguy/CCARL | 0afda67bcc58be2b6b6bf426cccaab04453c0590 | [
"MIT"
] | 2 | 2020-12-05T00:25:43.000Z | 2022-02-10T13:58:35.000Z | from ccarl import ccarl
from ccarl.glycan_parsers import cfg_parser, gsl_parser
from collections import Counter
from ccarl.glycan_graph_methods import generate_digraph_from_glycan_string
class TestCFGParsing:
@classmethod
def setup_class(cls):
cls.short_cfg_str_with_linker = 'Galb1-2Mana1-4Galb-Sp1'
... | 57.455357 | 130 | 0.56519 | 1,496 | 12,870 | 4.581551 | 0.080214 | 0.094835 | 0.074701 | 0.044354 | 0.888824 | 0.859352 | 0.841844 | 0.83557 | 0.801284 | 0.772104 | 0 | 0.026766 | 0.277156 | 12,870 | 223 | 131 | 57.713004 | 0.709986 | 0.065812 | 0 | 0.40625 | 1 | 0.015625 | 0.198116 | 0.038423 | 0 | 0 | 0 | 0 | 0.401042 | 1 | 0.104167 | false | 0 | 0.020833 | 0 | 0.135417 | 0.005208 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
50a37190b4fee3f1790cdefffdda36b7355f6183 | 208,681 | py | Python | pyboto3/route53.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/route53.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/route53.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 62.817881 | 787 | 0.694812 | 28,214 | 208,681 | 5.125292 | 0.041752 | 0.039113 | 0.034612 | 0.007469 | 0.86988 | 0.84809 | 0.833955 | 0.817012 | 0.809585 | 0.799232 | 0 | 0.013584 | 0.248231 | 208,681 | 3,321 | 788 | 62.836796 | 0.908172 | 0.917798 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
50b81a75df91cbbb77f2c2b72d79748984400ccc | 5,728 | py | Python | chapter01_basic/plotkernel.py | aaazzz640/cookbook-2nd-code | c0edeb78fe5a16e64d1210437470b00572211a82 | [
"MIT"
] | null | null | null | chapter01_basic/plotkernel.py | aaazzz640/cookbook-2nd-code | c0edeb78fe5a16e64d1210437470b00572211a82 | [
"MIT"
] | null | null | null | chapter01_basic/plotkernel.py | aaazzz640/cookbook-2nd-code | c0edeb78fe5a16e64d1210437470b00572211a82 | [
"MIT"
] | null | null | null |
from ipykernel.kernelbase import Kernel
import numpy as np
import matplotlib.pyplot as plt
from io import BytesIO
import urllib, base64
def _to_png(fig):
"""Return a base64-encoded PNG from a
matplotlib figure."""
imgdata = BytesIO()
fig.savefig(imgdata, format='png')
imgdata.seek(0)
return ur... | 30.795699 | 54 | 0.463513 | 545 | 5,728 | 4.743119 | 0.288073 | 0.023211 | 0.013927 | 0.030948 | 0.841006 | 0.841006 | 0.841006 | 0.841006 | 0.841006 | 0.841006 | 0 | 0.017985 | 0.436976 | 5,728 | 185 | 55 | 30.962162 | 0.783566 | 0.163059 | 0 | 0.793651 | 0 | 0 | 0.100991 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031746 | false | 0 | 0.055556 | 0 | 0.230159 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0fb288905a262d927bbb06d649fe5b7a7a69a6c7 | 9,700 | py | Python | tests/test_pruning.py | justinbois/eqtk | 7363b8c09e35088d2cb2cb5a62d315b52cce0d9b | [
"MIT"
] | 2 | 2020-05-17T05:34:40.000Z | 2020-05-17T12:40:14.000Z | tests/test_pruning.py | justinbois/eqtk | 7363b8c09e35088d2cb2cb5a62d315b52cce0d9b | [
"MIT"
] | 1 | 2021-12-07T01:20:48.000Z | 2021-12-07T01:20:48.000Z | tests/test_pruning.py | justinbois/eqtk | 7363b8c09e35088d2cb2cb5a62d315b52cce0d9b | [
"MIT"
] | null | null | null | import numpy as np
import eqtk
def test_prune_NK():
N = np.array(
[
[-1, 1, 0, 0, 0, 0],
[-1, 0, -1, 1, 0, 0],
[0, -2, 0, 0, 1, 0],
[0, -1, -1, 0, 0, 1],
],
dtype=float,
)
minus_log_K = np.array([1, 2, 3, 4], dtype=float)
# All p... | 38.8 | 87 | 0.610928 | 1,771 | 9,700 | 3.087521 | 0.036702 | 0.168983 | 0.164045 | 0.22714 | 0.938917 | 0.927762 | 0.908376 | 0.873811 | 0.836138 | 0.819495 | 0 | 0.070582 | 0.234639 | 9,700 | 249 | 88 | 38.955823 | 0.665948 | 0.046082 | 0 | 0.570707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.348485 | 1 | 0.010101 | false | 0 | 0.010101 | 0 | 0.020202 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0fb88485e5bb447c146ec188f9ba8c3c858bc89b | 7,121 | py | Python | tutorial-contents/test.py | LishudaNoBug/learning_PyTorch | 1026035a9cb3d70e2fe97363b532e63db3ca136d | [
"MIT"
] | 1 | 2021-05-20T09:30:16.000Z | 2021-05-20T09:30:16.000Z | tutorial-contents/test.py | LishudaNoBug/learning_PyTorch | 1026035a9cb3d70e2fe97363b532e63db3ca136d | [
"MIT"
] | null | null | null | tutorial-contents/test.py | LishudaNoBug/learning_PyTorch | 1026035a9cb3d70e2fe97363b532e63db3ca136d | [
"MIT"
] | null | null | null | import jaydebeapi
dirver = 'org.h2.Driver'
url = 'jdbc:h2:tcp://192.168.0.242:9101/~/ship5'
username = 'sa'
password = ''
jar = 'D:\development\h2gis-standalone\h2gis-dist-1.5.0.jar'
conn = jaydebeapi.connect(dirver, url, [username, password], jar)
curs = conn.cursor()
LINESTRING="LINESTRING(123.85507399897297 36.356... | 339.095238 | 6,583 | 0.876562 | 789 | 7,121 | 7.90621 | 0.518378 | 0.003527 | 0.007695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.854236 | 0.033703 | 7,121 | 20 | 6,584 | 356.05 | 0.052318 | 0.007302 | 0 | 0 | 0 | 0.076923 | 0.960079 | 0.919734 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.153846 | 0.076923 | 0 | 0.076923 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
ba250c7e97a3516db9e3de8a21d082b1d97fcf02 | 80 | py | Python | trainer/__init__.py | DaseiNaN/TSE_VF | f31f8ba89383956ef72904d1a9bb68cee4b79b1a | [
"MIT"
] | null | null | null | trainer/__init__.py | DaseiNaN/TSE_VF | f31f8ba89383956ef72904d1a9bb68cee4b79b1a | [
"MIT"
] | null | null | null | trainer/__init__.py | DaseiNaN/TSE_VF | f31f8ba89383956ef72904d1a9bb68cee4b79b1a | [
"MIT"
] | null | null | null | from .dpcl_trainer import *
from .vf_trainer import *
from .pit_trainer import * | 26.666667 | 27 | 0.7875 | 12 | 80 | 5 | 0.5 | 0.65 | 0.566667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 80 | 3 | 28 | 26.666667 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e84459d3409b63f56e24147daf4964e402c394a3 | 107 | py | Python | src/couche_network/protocol_sercos.py | adrienKoumgangT/offline-internet-packet-analyzer | 84125521b746a3ced37c999c30156033eee1aba9 | [
"MIT"
] | 1 | 2021-12-13T20:36:58.000Z | 2021-12-13T20:36:58.000Z | src/couche_network/protocol_sercos.py | adrienKoumgangT/offline-internet-packet-analyzer | 84125521b746a3ced37c999c30156033eee1aba9 | [
"MIT"
] | null | null | null | src/couche_network/protocol_sercos.py | adrienKoumgangT/offline-internet-packet-analyzer | 84125521b746a3ced37c999c30156033eee1aba9 | [
"MIT"
] | 1 | 2021-12-13T20:37:01.000Z | 2021-12-13T20:37:01.000Z | from utils.utils import *
def analyse_packet_sercos_iii(packet: list):
return {"SERCOS III": "TODO"}
| 17.833333 | 44 | 0.719626 | 15 | 107 | 4.933333 | 0.733333 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158879 | 107 | 5 | 45 | 21.4 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 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 | 1 | 0 | 0 | 7 |
e84c034437c0b24424257da2946c1876a2328306 | 111,479 | py | Python | Mscale_GKN(tf2)/MS_LaplaceEqs.py | Blue-Giant/Mscale_GKN | 004664937e8adebc2dcf4bb8172cf4c0498b315a | [
"MIT"
] | null | null | null | Mscale_GKN(tf2)/MS_LaplaceEqs.py | Blue-Giant/Mscale_GKN | 004664937e8adebc2dcf4bb8172cf4c0498b315a | [
"MIT"
] | null | null | null | Mscale_GKN(tf2)/MS_LaplaceEqs.py | Blue-Giant/Mscale_GKN | 004664937e8adebc2dcf4bb8172cf4c0498b315a | [
"MIT"
] | null | null | null | import tensorflow as tf
import numpy as np
import matData2pLaplace
# 这里注意一下: 对于 np.ones_like(x), x要是一个有实际意义的树或数组或矩阵才可以。不可以是 tensorflow 占位符
# 如果x是占位符,要使用 tf.ones_like
# 偏微分方程的一些信息:边界条件,初始条件,真解,右端项函数
def get_infos2pLaplace_1D(in_dim=None, out_dim=None, intervalL=0, intervalR=1, index2p=2, eps=0.01, equa_nam... | 76.355479 | 158 | 0.508347 | 25,538 | 111,479 | 2.174133 | 0.008301 | 0.257263 | 0.150532 | 0.193541 | 0.974443 | 0.968536 | 0.964141 | 0.960413 | 0.953119 | 0.940745 | 0 | 0.075979 | 0.239085 | 111,479 | 1,460 | 159 | 76.355479 | 0.578573 | 0.018865 | 0 | 0.626496 | 0 | 0 | 0.00788 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035897 | false | 0 | 0.002564 | 0 | 0.098291 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e864ea0796f0d1552b8c81c0428c23680ccb90d5 | 9,278 | py | Python | saleor/graphql/product/tests/test_variant_query.py | ecompw/saleor | d94093e64a9012f02332968f65d6465c597ecd79 | [
"CC-BY-4.0"
] | 1 | 2020-09-02T00:14:04.000Z | 2020-09-02T00:14:04.000Z | saleor/graphql/product/tests/test_variant_query.py | tracymelody/etang-api | 79b78792204d81a43c7ceedc604ca221c747dd2d | [
"CC-BY-4.0"
] | null | null | null | saleor/graphql/product/tests/test_variant_query.py | tracymelody/etang-api | 79b78792204d81a43c7ceedc604ca221c747dd2d | [
"CC-BY-4.0"
] | null | null | null | import graphene
import pytest
from ...tests.utils import assert_graphql_error_with_message, get_graphql_content
VARIANT_QUERY = """
query variant($id: ID, $sku: String){
productVariant(id:$id, sku:$sku){
sku
}
}
"""
def test_get_variant_without_id_and_sku(staff_api_client, permission_manage_products... | 26.892754 | 88 | 0.705324 | 1,080 | 9,278 | 5.667593 | 0.063889 | 0.052933 | 0.078419 | 0.058814 | 0.962588 | 0.954583 | 0.954583 | 0.954583 | 0.948211 | 0.935958 | 0 | 0.001077 | 0.199289 | 9,278 | 344 | 89 | 26.97093 | 0.822856 | 0.030933 | 0 | 0.763889 | 0 | 0 | 0.077216 | 0.002462 | 0 | 0 | 0 | 0 | 0.087963 | 1 | 0.083333 | false | 0 | 0.013889 | 0 | 0.097222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e894bd0a0f19b58bb34347861bd8ee7b5009a5fa | 162 | py | Python | nn_meter/utils/path.py | Andyyoung0507/nn-Meter | d5d4cd92a2c81a9f6f5806965a80b9217ffc73cc | [
"MIT"
] | null | null | null | nn_meter/utils/path.py | Andyyoung0507/nn-Meter | d5d4cd92a2c81a9f6f5806965a80b9217ffc73cc | [
"MIT"
] | null | null | null | nn_meter/utils/path.py | Andyyoung0507/nn-Meter | d5d4cd92a2c81a9f6f5806965a80b9217ffc73cc | [
"MIT"
] | null | null | null | import os
def get_filename(path):
return os.path.basename(path)
def get_filename_without_ext(path):
return os.path.splitext(os.path.basename(path))[0]
| 18 | 54 | 0.746914 | 26 | 162 | 4.5 | 0.461538 | 0.153846 | 0.239316 | 0.273504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.12963 | 162 | 8 | 55 | 20.25 | 0.822695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
e89529597681dc725cfe573f4ef47d3584109724 | 157 | py | Python | erede/service/__init__.py | collabo-br/erede-python | 695ac91cd886d899440fe222f0bb72cd062874e9 | [
"MIT"
] | null | null | null | erede/service/__init__.py | collabo-br/erede-python | 695ac91cd886d899440fe222f0bb72cd062874e9 | [
"MIT"
] | null | null | null | erede/service/__init__.py | collabo-br/erede-python | 695ac91cd886d899440fe222f0bb72cd062874e9 | [
"MIT"
] | 1 | 2020-05-26T14:30:03.000Z | 2020-05-26T14:30:03.000Z | from .CancelTransactionService import *
from .CaptureTransactionService import *
from .CreateTransactionService import *
from .GetTransactionService import * | 39.25 | 40 | 0.853503 | 12 | 157 | 11.166667 | 0.5 | 0.223881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095541 | 157 | 4 | 41 | 39.25 | 0.943662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e8cb80376188e2d83043d145f595e78f28f4ef15 | 88,519 | py | Python | code/python/FactSetESG/v1/fds/sdk/FactSetESG/model/sasb_spotlights_categories.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/FactSetESG/v1/fds/sdk/FactSetESG/model/sasb_spotlights_categories.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/FactSetESG/v1/fds/sdk/FactSetESG/model/sasb_spotlights_categories.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | """
FactSet ESG API
FactSet ESG (powered by FactSet Truvalue Labs) applies machine learning to uncover risks and opportunities from companies' Environmental, Social and Governance (ESG) behavior, which are aggregated and categorized into continuously updated, material ESG scores. The service focuses on company... | 325.4375 | 19,242 | 0.787661 | 11,895 | 88,519 | 5.837999 | 0.082388 | 0.028513 | 0.031105 | 0.012442 | 0.970436 | 0.969932 | 0.969572 | 0.968766 | 0.968766 | 0.968766 | 0 | 0.001178 | 0.165818 | 88,519 | 271 | 19,243 | 326.638376 | 0.939045 | 0.940984 | 0 | 0.592 | 0 | 0 | 0.144358 | 0.030838 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032 | false | 0.032 | 0.032 | 0.008 | 0.16 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
2cfb765c776af52e45f1680f2d3a099e58b06987 | 144 | py | Python | images/tests/__init__.py | DevangS/CoralNet | 7c56d4ec95a771718175bd94c3ef51c4095082e3 | [
"BSD-2-Clause"
] | 4 | 2015-12-23T05:14:35.000Z | 2019-07-09T03:27:10.000Z | images/tests/__init__.py | DevangS/CoralNet | 7c56d4ec95a771718175bd94c3ef51c4095082e3 | [
"BSD-2-Clause"
] | 3 | 2015-04-07T02:45:15.000Z | 2015-07-01T19:25:10.000Z | images/tests/__init__.py | DevangS/CoralNet | 7c56d4ec95a771718175bd94c3ef51c4095082e3 | [
"BSD-2-Clause"
] | 2 | 2016-01-21T17:25:48.000Z | 2019-08-29T18:42:14.000Z | # Import tests from each test file.
# e.g. if we have tests/sources.py, then "from sources import *"
from sources import *
from tasks import *
| 24 | 64 | 0.722222 | 24 | 144 | 4.333333 | 0.625 | 0.211538 | 0.326923 | 0.403846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 144 | 5 | 65 | 28.8 | 0.888889 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
ad874b470a5024c44f3bc75186f62d05dfa6d4fe | 11,092 | py | Python | sdk/python/pulumi_akamai/config/outputs.py | pulumi/pulumi-akamai | 85f933ccf2f61738b3074a13fa718132280f8364 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2021-01-21T15:22:12.000Z | 2021-08-25T14:15:29.000Z | sdk/python/pulumi_akamai/config/outputs.py | pulumi/pulumi-akamai | 85f933ccf2f61738b3074a13fa718132280f8364 | [
"ECL-2.0",
"Apache-2.0"
] | 59 | 2020-08-13T14:39:36.000Z | 2022-03-31T15:19:48.000Z | sdk/python/pulumi_akamai/config/outputs.py | pulumi/pulumi-akamai | 85f933ccf2f61738b3074a13fa718132280f8364 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 32.816568 | 87 | 0.611251 | 1,322 | 11,092 | 4.83888 | 0.058245 | 0.103173 | 0.050649 | 0.084415 | 0.94685 | 0.94685 | 0.94685 | 0.94685 | 0.94685 | 0.94685 | 0 | 0.000124 | 0.271006 | 11,092 | 337 | 88 | 32.913947 | 0.790997 | 0.015957 | 0 | 0.932862 | 1 | 0 | 0.097259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.14841 | false | 0 | 0.017668 | 0.127208 | 0.314488 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 9 |
ad8f4b4dea2337cb7ee666c66320dde953c1797f | 148 | py | Python | mysite/dipapp/admin.py | Shamsuzzaman321/django_rest | 80e8d046595bc9ed3d0c5ca44696730c8827f931 | [
"MIT"
] | null | null | null | mysite/dipapp/admin.py | Shamsuzzaman321/django_rest | 80e8d046595bc9ed3d0c5ca44696730c8827f931 | [
"MIT"
] | 5 | 2021-03-19T04:50:40.000Z | 2021-09-22T19:19:22.000Z | mysite/dipapp/admin.py | Shamsuzzaman321/django_rest | 80e8d046595bc9ed3d0c5ca44696730c8827f931 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
# from django.contrib import admin
from .models import Hero
admin.site.register(Hero) | 24.666667 | 34 | 0.804054 | 22 | 148 | 5.409091 | 0.5 | 0.168067 | 0.285714 | 0.386555 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128378 | 148 | 6 | 35 | 24.666667 | 0.922481 | 0.398649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a8dcbacdcaf1349939843379f56867c9a67b2c93 | 3,027 | py | Python | farmer/farmer.py | Nabeel965/AgriTechies | 75826fbc88c4c41bd4a8a1ec64e19ae593559e78 | [
"Apache-2.0"
] | null | null | null | farmer/farmer.py | Nabeel965/AgriTechies | 75826fbc88c4c41bd4a8a1ec64e19ae593559e78 | [
"Apache-2.0"
] | null | null | null | farmer/farmer.py | Nabeel965/AgriTechies | 75826fbc88c4c41bd4a8a1ec64e19ae593559e78 | [
"Apache-2.0"
] | null | null | null | from django import forms
from django.contrib.auth.forms import UserCreationForm
from django.contrib.auth.models import User
from .models import Crop
# class CropRegisterForm(UserCreationForm):
# #email = forms.EmailField()
# #model = Crop
# first_name = forms.CharField(max_length=30, required=False, help_t... | 72.071429 | 270 | 0.755864 | 388 | 3,027 | 5.613402 | 0.139175 | 0.095041 | 0.171717 | 0.232323 | 0.835629 | 0.835629 | 0.835629 | 0.835629 | 0.835629 | 0.835629 | 0 | 0.017505 | 0.112983 | 3,027 | 41 | 271 | 73.829268 | 0.793669 | 0.528246 | 0 | 0 | 0 | 0 | 0.180912 | 0.018519 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
d14d11753aa3c76d68bfaa6fbf2c4c40690891e9 | 19,916 | py | Python | sdk/python/pulumi_alicloud/cen/route_service.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/cen/route_service.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/cen/route_service.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 39.991968 | 249 | 0.632507 | 2,472 | 19,916 | 4.855987 | 0.085356 | 0.08064 | 0.1003 | 0.078807 | 0.85988 | 0.838221 | 0.815561 | 0.792902 | 0.778241 | 0.765911 | 0 | 0.005526 | 0.264009 | 19,916 | 497 | 250 | 40.072435 | 0.813412 | 0.348715 | 0 | 0.616601 | 1 | 0 | 0.098141 | 0.003271 | 0 | 0 | 0 | 0 | 0 | 1 | 0.158103 | false | 0.003953 | 0.019763 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
66f25bf31f61f762d820874dc9fa729638ca4f41 | 35,840 | py | Python | tests/test_data.py | jscuds/rf-bert | 6871809e986e418b9b34068260dc11a4531f79f7 | [
"MIT"
] | null | null | null | tests/test_data.py | jscuds/rf-bert | 6871809e986e418b9b34068260dc11a4531f79f7 | [
"MIT"
] | 14 | 2022-02-08T19:46:29.000Z | 2022-03-13T23:00:50.000Z | tests/test_data.py | jscuds/rf-bert | 6871809e986e418b9b34068260dc11a4531f79f7 | [
"MIT"
] | null | null | null | import sys
from pathlib import Path
import numpy as np
import torch
from dataloaders import ParaphraseDatasetBert, ParaphraseDatasetElmo
from mosestokenizer import MosesTokenizer
from dataloaders.helpers import load_rotten_tomatoes, load_qqp, load_sst2, train_test_split
# Instantiate ParaphraseDataset class variants... | 136.793893 | 8,083 | 0.545815 | 7,622 | 35,840 | 2.513776 | 0.042377 | 0.323382 | 0.484447 | 0.645303 | 0.896921 | 0.876722 | 0.856733 | 0.851827 | 0.836169 | 0.83356 | 0 | 0.470322 | 0.246931 | 35,840 | 262 | 8,084 | 136.793893 | 0.23957 | 0.043806 | 0 | 0.464646 | 0 | 0 | 0.006513 | 0.002395 | 0 | 0 | 0 | 0.003817 | 0.393939 | 1 | 0.171717 | false | 0 | 0.035354 | 0 | 0.247475 | 0.015152 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
66fb839dc2ded8bc147d263448f2d1881bbe48a5 | 7,987 | py | Python | model.py | Lucianod28/Temporal-MIL | 93cab2cf66154a2cc7e3e0261c22f6ec0baea471 | [
"MIT"
] | null | null | null | model.py | Lucianod28/Temporal-MIL | 93cab2cf66154a2cc7e3e0261c22f6ec0baea471 | [
"MIT"
] | null | null | null | model.py | Lucianod28/Temporal-MIL | 93cab2cf66154a2cc7e3e0261c22f6ec0baea471 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
class Attention(nn.Module):
def __init__(self):
super(Attention, self).__init__()
self.L = 500
self.D = 128
self.K = 1
self.feature_extractor_part1 = nn.Sequential(
nn.Conv2d(1, 20, kernel_size=... | 31.199219 | 124 | 0.546263 | 1,115 | 7,987 | 3.725561 | 0.104933 | 0.050554 | 0.053924 | 0.024073 | 0.922244 | 0.922244 | 0.904911 | 0.904911 | 0.902263 | 0.880838 | 0 | 0.039277 | 0.321022 | 7,987 | 255 | 125 | 31.321569 | 0.72672 | 0.077626 | 0 | 0.807292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072917 | false | 0 | 0.015625 | 0 | 0.161458 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0f03c88c09fafd1b27ae64a327d043c65eb119d7 | 2,336 | py | Python | ConvertMM_support.py | JonRob812/GimmeInches | 51652d1e49a99455619ad3d82e24a7085cc55dfd | [
"Apache-2.0"
] | null | null | null | ConvertMM_support.py | JonRob812/GimmeInches | 51652d1e49a99455619ad3d82e24a7085cc55dfd | [
"Apache-2.0"
] | null | null | null | ConvertMM_support.py | JonRob812/GimmeInches | 51652d1e49a99455619ad3d82e24a7085cc55dfd | [
"Apache-2.0"
] | null | null | null | <<<<<<< HEAD
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# Support module generated by PAGE version 4.26
# in conjunction with Tcl version 8.6
# Dec 30, 2019 03:31:08 PM PST platform: Windows NT
import sys
try:
import Tkinter as tk
except ImportError:
import tkinter as tk
try:
import ttk
p... | 18.688 | 55 | 0.651113 | 322 | 2,336 | 4.534161 | 0.298137 | 0.054795 | 0.041096 | 0.046575 | 0.908219 | 0.908219 | 0.908219 | 0.908219 | 0.908219 | 0.908219 | 0 | 0.042017 | 0.235873 | 2,336 | 124 | 56 | 18.83871 | 0.77591 | 0.184075 | 0 | 0.9 | 1 | 0 | 0.016913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
0f41de5064da6dfaa18e7a20270fb7a513427168 | 18,970 | py | Python | model/mydeeplab.py | statsu1990/kaggle_understanding_clouds | 756c8271855d232167a76bd25f8bb81e7505a422 | [
"MIT"
] | null | null | null | model/mydeeplab.py | statsu1990/kaggle_understanding_clouds | 756c8271855d232167a76bd25f8bb81e7505a422 | [
"MIT"
] | 6 | 2020-01-28T23:08:31.000Z | 2022-02-10T00:24:01.000Z | model/mydeeplab.py | statsu1990/kaggle_understanding_clouds | 756c8271855d232167a76bd25f8bb81e7505a422 | [
"MIT"
] | null | null | null | from keras.models import Model
from keras.layers import Input, Conv2D, BatchNormalization, Activation, LeakyReLU, Lambda
from keras.layers import MaxPooling2D, AveragePooling2D, UpSampling2D, Dropout
from keras.layers import Concatenate, Add, Multiply
from keras.regularizers import l2
from keras import backend as ... | 35 | 187 | 0.655034 | 2,630 | 18,970 | 4.509125 | 0.05019 | 0.080951 | 0.041656 | 0.040138 | 0.92765 | 0.92394 | 0.918543 | 0.91264 | 0.904798 | 0.904798 | 0 | 0.023035 | 0.21049 | 18,970 | 542 | 188 | 35 | 0.768779 | 0.139167 | 0 | 0.846743 | 0 | 0 | 0.061315 | 0.022296 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065134 | false | 0 | 0.038314 | 0 | 0.168582 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0f5d6fc114b7ed0258df90d332f3419a11890b7d | 152 | py | Python | pydlx/dlx_recursive_solver.py | tdons/dlx | f8222519a06e635bf6ada5ae95ce7867d26c9546 | [
"MIT"
] | 1 | 2019-01-25T22:39:43.000Z | 2019-01-25T22:39:43.000Z | pydlx/dlx_recursive_solver.py | tdons/dlx | f8222519a06e635bf6ada5ae95ce7867d26c9546 | [
"MIT"
] | null | null | null | pydlx/dlx_recursive_solver.py | tdons/dlx | f8222519a06e635bf6ada5ae95ce7867d26c9546 | [
"MIT"
] | null | null | null | from ctypes import *
from pydlx import _libdlx
def count_solutions(matrix):
return _libdlx.dlx_recursive_solver_count_solutions(matrix._get_matrix()) | 25.333333 | 74 | 0.842105 | 21 | 152 | 5.666667 | 0.666667 | 0.235294 | 0.336134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 152 | 6 | 74 | 25.333333 | 0.862319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 8 |
0f883926f773a4a3720e8b0ee7404319d713dd32 | 158 | py | Python | skeleton/__init__.py | therden/skeletal_flask | ad8af37376af888c999ab5de5b69ba0039b557c0 | [
"Unlicense"
] | 3 | 2020-01-02T07:58:52.000Z | 2020-11-25T20:31:37.000Z | skeleton/__init__.py | therden/skeletal_flask | ad8af37376af888c999ab5de5b69ba0039b557c0 | [
"Unlicense"
] | null | null | null | skeleton/__init__.py | therden/skeletal_flask | ad8af37376af888c999ab5de5b69ba0039b557c0 | [
"Unlicense"
] | 1 | 2020-06-19T03:00:28.000Z | 2020-06-19T03:00:28.000Z | from skeleton import config_app
from skeleton import config_db
from skeleton import models
from skeleton import views
from skeleton import config_flask_admin
| 26.333333 | 39 | 0.873418 | 24 | 158 | 5.583333 | 0.416667 | 0.447761 | 0.671642 | 0.537313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 158 | 5 | 40 | 31.6 | 0.971014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
0f8f52033b010b12749c725e76ebd817f74fcd2c | 4,583 | py | Python | tests/terraform/checks/resource/azure/test_NetworkWatcherFlowLogPeriod.py | jamesholland-uk/checkov | d73fd4bd7096d48ab3434a92a177bcc55605460a | [
"Apache-2.0"
] | 4,013 | 2019-12-09T13:16:54.000Z | 2022-03-31T14:31:01.000Z | tests/terraform/checks/resource/azure/test_NetworkWatcherFlowLogPeriod.py | jamesholland-uk/checkov | d73fd4bd7096d48ab3434a92a177bcc55605460a | [
"Apache-2.0"
] | 1,258 | 2019-12-17T09:55:51.000Z | 2022-03-31T19:17:17.000Z | tests/terraform/checks/resource/azure/test_NetworkWatcherFlowLogPeriod.py | jamesholland-uk/checkov | d73fd4bd7096d48ab3434a92a177bcc55605460a | [
"Apache-2.0"
] | 638 | 2019-12-19T08:57:38.000Z | 2022-03-30T21:38:37.000Z | import unittest
import hcl2
from checkov.terraform.checks.resource.azure.NetworkWatcherFlowLogPeriod import check
from checkov.common.models.enums import CheckResult
class TestNetworkWatcherFlowLogPeriod(unittest.TestCase):
def test_failure(self):
hcl_res = hcl2.loads("""
resource "azurerm_... | 40.201754 | 90 | 0.600698 | 463 | 4,583 | 5.514039 | 0.131749 | 0.109675 | 0.123384 | 0.097924 | 0.884841 | 0.882099 | 0.882099 | 0.882099 | 0.882099 | 0.882099 | 0 | 0.006165 | 0.327515 | 4,583 | 113 | 91 | 40.557522 | 0.822193 | 0 | 0 | 0.706522 | 0 | 0 | 0.669867 | 0.251146 | 0 | 0 | 0 | 0 | 0.054348 | 1 | 0.054348 | false | 0.032609 | 0.043478 | 0 | 0.108696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7e2a8b7bc60b8485d0f633eb55f0139b15328022 | 15,467 | py | Python | openweave/tlv/schema/tests/test_INTEGER.py | robszewczyk/openweave-tlv-schema | c0acbccce4fcaf213a09261f79d6a141ae94f7e8 | [
"Apache-2.0"
] | 1 | 2020-05-19T22:52:27.000Z | 2020-05-19T22:52:27.000Z | openweave/tlv/schema/tests/test_INTEGER.py | robszewczyk/openweave-tlv-schema | c0acbccce4fcaf213a09261f79d6a141ae94f7e8 | [
"Apache-2.0"
] | null | null | null | openweave/tlv/schema/tests/test_INTEGER.py | robszewczyk/openweave-tlv-schema | c0acbccce4fcaf213a09261f79d6a141ae94f7e8 | [
"Apache-2.0"
] | 1 | 2021-02-15T16:14:17.000Z | 2021-02-15T16:14:17.000Z | #!/usr/bin/env python3
#
# Copyright (c) 2020 Google LLC.
# All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.... | 48.034161 | 94 | 0.52667 | 1,371 | 15,467 | 5.91612 | 0.112327 | 0.11096 | 0.14055 | 0.214523 | 0.843916 | 0.800025 | 0.800025 | 0.743435 | 0.723955 | 0.717667 | 0 | 0.215162 | 0.388505 | 15,467 | 321 | 95 | 48.183801 | 0.642419 | 0.042865 | 0 | 0.620072 | 0 | 0 | 0.699655 | 0.050125 | 0 | 0 | 0.002435 | 0 | 0.265233 | 1 | 0.02509 | false | 0 | 0.007168 | 0 | 0.035842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
0e9d9dfedab32c71009009d345a92476cd8b12f8 | 80,132 | py | Python | test/test_variable_info.py | mayankjuneja/censusdata | e3fdb0ff77a8228b69aebfd17e6019cc54d91915 | [
"MIT"
] | null | null | null | test/test_variable_info.py | mayankjuneja/censusdata | e3fdb0ff77a8228b69aebfd17e6019cc54d91915 | [
"MIT"
] | null | null | null | test/test_variable_info.py | mayankjuneja/censusdata | e3fdb0ff77a8228b69aebfd17e6019cc54d91915 | [
"MIT"
] | null | null | null | """" Test showing information on variables from Census API.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
import os, sys
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
import censusdata
import unittest
from collections import OrderedDict
import io... | 117.668135 | 223 | 0.695615 | 9,960 | 80,132 | 5.503313 | 0.043072 | 0.045099 | 0.087279 | 0.085819 | 0.943043 | 0.933063 | 0.90661 | 0.889971 | 0.877912 | 0.86173 | 0 | 0.088767 | 0.116133 | 80,132 | 680 | 224 | 117.841176 | 0.685144 | 0.000699 | 0 | 0.301887 | 0 | 0.001572 | 0.680985 | 0.057539 | 0 | 0 | 0 | 0 | 0.064465 | 1 | 0.037736 | false | 0 | 0.012579 | 0 | 0.051887 | 0.018868 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0eaf16b3df8e4140308856573d4d82ac467779b7 | 149 | py | Python | core/world/__init__.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | 3 | 2017-10-28T11:28:38.000Z | 2018-09-12T09:47:00.000Z | core/world/__init__.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | null | null | null | core/world/__init__.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | null | null | null | from core.world.area import Area
from core.world.level import Level, LevelStub
from core.world.region import Region
from core.world.room import Room
| 29.8 | 45 | 0.825503 | 25 | 149 | 4.92 | 0.36 | 0.260163 | 0.422764 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114094 | 149 | 4 | 46 | 37.25 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
adee351153acc41bfe9edb69a5bdbb2ab4e4d608 | 25,389 | py | Python | myfunctions.py | irenekarijadi/RF-LSTM-CEEMDAN | 3e9e510056985563520061c292a79bd4a7141a0b | [
"MIT"
] | 4 | 2022-03-16T20:23:04.000Z | 2022-03-28T03:30:45.000Z | myfunctions.py | irenekarijadi/RF-LSTM-CEEMDAN | 3e9e510056985563520061c292a79bd4a7141a0b | [
"MIT"
] | null | null | null | myfunctions.py | irenekarijadi/RF-LSTM-CEEMDAN | 3e9e510056985563520061c292a79bd4a7141a0b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# In[24]:
import numpy
import pandas as pd
import tensorflow as tf
from PyEMD import CEEMDAN
import warnings
warnings.filterwarnings("ignore")
### import the libraries
from tensorflow import keras
from tensorflow.keras import layers
from keras.models import Sequential
from ke... | 26.446875 | 123 | 0.668597 | 3,760 | 25,389 | 4.242819 | 0.054255 | 0.041058 | 0.024823 | 0.045258 | 0.910424 | 0.886855 | 0.876951 | 0.85194 | 0.845045 | 0.840657 | 0 | 0.021357 | 0.22175 | 25,389 | 959 | 124 | 26.474453 | 0.786022 | 0.025759 | 0 | 0.851171 | 0 | 0 | 0.001626 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018395 | false | 0 | 0.09699 | 0.001672 | 0.133779 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
adf31e43e431eaa27ed2701582ebadf14e8447c7 | 19,210 | py | Python | smm_wrapper/views.py | gesiscss/smm_wrapper | e075d75ccd6a6c944cfcdd236e6527157e31279a | [
"MIT"
] | null | null | null | smm_wrapper/views.py | gesiscss/smm_wrapper | e075d75ccd6a6c944cfcdd236e6527157e31279a | [
"MIT"
] | null | null | null | smm_wrapper/views.py | gesiscss/smm_wrapper | e075d75ccd6a6c944cfcdd236e6527157e31279a | [
"MIT"
] | null | null | null | """Summary
"""
import pandas as pd
import itertools
from typing import Union
from .api import SMMAPI
from . import __version__
class DataView:
"""Qurey methods for correspondence of the SMMAPI methods
Attributes:
api (TYPE): Description
"""
def __init__(self, api, id_column... | 47.083333 | 160 | 0.609526 | 2,370 | 19,210 | 4.789451 | 0.065823 | 0.038058 | 0.022994 | 0.043432 | 0.898599 | 0.890847 | 0.888468 | 0.871994 | 0.866443 | 0.864505 | 0 | 0 | 0.312598 | 19,210 | 407 | 161 | 47.199017 | 0.859599 | 0.521187 | 0 | 0.713376 | 0 | 0 | 0.126604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082803 | false | 0 | 0.031847 | 0 | 0.197452 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bc15b04291691f0ed8c2a3dcf740be889133c311 | 8,759 | py | Python | tests/data/diff1.py | lengau/sshedit | f6a7d34643ee2bb2e6894b314a73f2c57e015186 | [
"BSD-2-Clause"
] | 5 | 2015-05-27T02:02:38.000Z | 2020-11-17T04:54:47.000Z | tests/data/diff1.py | lengau/sshed | f6a7d34643ee2bb2e6894b314a73f2c57e015186 | [
"BSD-2-Clause"
] | 24 | 2015-05-21T23:12:01.000Z | 2015-11-12T18:35:46.000Z | tests/data/diff1.py | lengau/sshed | f6a7d34643ee2bb2e6894b314a73f2c57e015186 | [
"BSD-2-Clause"
] | null | null | null | # pylint: disable=missing-docstring, line-too-long
FINAL = b"""\
First line
Line two.
Line 3
Four?
Five!
7
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam viverra nec consectetur ante hendrerit. Donec et mollis dolor. Praesent et d... | 168.442308 | 980 | 0.791415 | 1,331 | 8,759 | 5.208114 | 0.150263 | 0.00779 | 0.01558 | 0.004616 | 0.893826 | 0.890941 | 0.889498 | 0.889498 | 0.889498 | 0.889498 | 0 | 0.008989 | 0.161776 | 8,759 | 51 | 981 | 171.745098 | 0.935168 | 0.00548 | 0 | 0.214286 | 0 | 0.261905 | 0.967735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
70c1c8ebd06eb81e57c08f7ab1fe11b746816076 | 414 | py | Python | ci/ci/__init__.py | krcurtis/hail | ca297546eee33e237634d5f69e06f8fe14fdd1eb | [
"MIT"
] | 1 | 2020-03-25T01:53:50.000Z | 2020-03-25T01:53:50.000Z | ci/ci/__init__.py | krcurtis/hail | ca297546eee33e237634d5f69e06f8fe14fdd1eb | [
"MIT"
] | 1 | 2022-03-28T19:35:55.000Z | 2022-03-28T19:35:55.000Z | ci/ci/__init__.py | krcurtis/hail | ca297546eee33e237634d5f69e06f8fe14fdd1eb | [
"MIT"
] | null | null | null | from . import batch_helper, build_state, ci, ci_logging, constants, environment, git_state, github, google_storage, \
http_helper, pr, prs, sentinel, shell_helper
__all__ = [
'batch_helper',
'build_state',
'ci',
'ci_logging',
'constants',
'environment',
'git_state',
'github',
'g... | 20.7 | 117 | 0.620773 | 45 | 414 | 5.311111 | 0.444444 | 0.09205 | 0.133891 | 0.175732 | 0.945607 | 0.945607 | 0.945607 | 0.945607 | 0.945607 | 0.945607 | 0 | 0 | 0.2343 | 414 | 19 | 118 | 21.789474 | 0.753943 | 0 | 0 | 0 | 0 | 0 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
70c3dc1e889f4eaaf0cb3047dcd9619407b097b0 | 94 | py | Python | notecron/center/pages/main/__init__.py | notechats/notejob | bf12c80a08761b97cb9405afa0706ccbb413eee0 | [
"MulanPSL-1.0"
] | null | null | null | notecron/center/pages/main/__init__.py | notechats/notejob | bf12c80a08761b97cb9405afa0706ccbb413eee0 | [
"MulanPSL-1.0"
] | null | null | null | notecron/center/pages/main/__init__.py | notechats/notejob | bf12c80a08761b97cb9405afa0706ccbb413eee0 | [
"MulanPSL-1.0"
] | null | null | null | from . import errors, views
from .core import blue_print
from .core import blue_print as main
| 23.5 | 36 | 0.797872 | 16 | 94 | 4.5625 | 0.5625 | 0.219178 | 0.383562 | 0.493151 | 0.630137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 3 | 37 | 31.333333 | 0.924051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 9 |
70ce7d7a7afcb785257d7b2fdc1fba1bfac84cd8 | 5,625 | py | Python | Sax/Final_code_test/dtw_visualization.py | rakesh-lagare/Thesis_Work | 733285eae31a3fd8b613ec30d9e2ab9befd57614 | [
"Apache-2.0"
] | 2 | 2018-08-30T18:29:53.000Z | 2019-02-21T15:07:15.000Z | Sax/Final_code_test/dtw_visualization.py | rakesh-lagare/Thesis_Work | 733285eae31a3fd8b613ec30d9e2ab9befd57614 | [
"Apache-2.0"
] | null | null | null | Sax/Final_code_test/dtw_visualization.py | rakesh-lagare/Thesis_Work | 733285eae31a3fd8b613ec30d9e2ab9befd57614 | [
"Apache-2.0"
] | null | null | null |
import matplotlib.pyplot as plt
import os
def dtw_visualization1(dtw_df,seg_df):
if(len(dtw_df)> 0):
idx1 = dtw_df['index1'].tolist()
idx2 = dtw_df['index2'].tolist()
idx= idx1 + idx2
unique_list = list(set(idx))
lent= len(unique_list)
row=int(lent/4)
key =... | 28.553299 | 70 | 0.4784 | 719 | 5,625 | 3.570236 | 0.109875 | 0.148033 | 0.077912 | 0.13245 | 0.861706 | 0.851578 | 0.851578 | 0.851578 | 0.851578 | 0.845345 | 0 | 0.037821 | 0.370133 | 5,625 | 197 | 71 | 28.553299 | 0.686706 | 0.091911 | 0 | 0.831858 | 0 | 0 | 0.07022 | 0.009048 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061947 | false | 0 | 0.017699 | 0 | 0.079646 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
70fc18a58d2bc2de7d9f6a6d1846a96edda0daae | 93,122 | py | Python | pyroot/_pyroot_old.py | SimpleArt/pyroot | 1f1ac6a644999e86e4c3c83a5107cf2d34069c64 | [
"MIT"
] | null | null | null | pyroot/_pyroot_old.py | SimpleArt/pyroot | 1f1ac6a644999e86e4c3c83a5107cf2d34069c64 | [
"MIT"
] | null | null | null | pyroot/_pyroot_old.py | SimpleArt/pyroot | 1f1ac6a644999e86e4c3c83a5107cf2d34069c64 | [
"MIT"
] | null | null | null | import math
import sys
from enum import Enum
from functools import partial
from math import exp, inf, isinf, isnan, log, nan, sqrt
from typing import Any, Callable, Iterator, Literal, Optional, SupportsFloat, Union, Tuple as tuple, overload
__all__ = ["root_in", "root_iter"]
FLOAT_EPSILON: float = 2 * sys.float_info.... | 36.647776 | 161 | 0.54493 | 13,402 | 93,122 | 3.706163 | 0.03492 | 0.024079 | 0.012321 | 0.016106 | 0.939219 | 0.930501 | 0.923777 | 0.911858 | 0.908959 | 0.905114 | 0 | 0.048538 | 0.349327 | 93,122 | 2,540 | 162 | 36.662205 | 0.771207 | 0.34007 | 0 | 0.898618 | 0 | 0 | 0.027293 | 0 | 0 | 0 | 0 | 0 | 0.001152 | 1 | 0.021313 | false | 0.000576 | 0.003456 | 0 | 0.06682 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
70fec7da1cd7f19941b79b4e41b643113716a444 | 39,438 | py | Python | tests/io/test_exclusions.py | sbiradarctr/pyTenable | 2a6930cd7b29036780c291581d89ab33c0fd6679 | [
"MIT"
] | null | null | null | tests/io/test_exclusions.py | sbiradarctr/pyTenable | 2a6930cd7b29036780c291581d89ab33c0fd6679 | [
"MIT"
] | null | null | null | tests/io/test_exclusions.py | sbiradarctr/pyTenable | 2a6930cd7b29036780c291581d89ab33c0fd6679 | [
"MIT"
] | null | null | null | from datetime import datetime, timedelta
from tenable.errors import *
from ..checker import check, single
from tests.io.test_networks import network
import uuid, pytest
@pytest.fixture
@pytest.mark.vcr()
def exclusion(request, api):
excl = api.exclusions.create(str(uuid.uuid4()), ['127.0.0.1'],
start_time=... | 42.360902 | 99 | 0.633146 | 4,594 | 39,438 | 5.321071 | 0.030257 | 0.126652 | 0.14326 | 0.072448 | 0.94641 | 0.940642 | 0.933115 | 0.920515 | 0.893721 | 0.873267 | 0 | 0.015217 | 0.193494 | 39,438 | 931 | 100 | 42.360902 | 0.753325 | 0 | 0 | 0.803488 | 0 | 0 | 0.175562 | 0.018357 | 0 | 0 | 0 | 0 | 0.077907 | 1 | 0.082558 | false | 0.001163 | 0.005814 | 0 | 0.089535 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cb15c01a83ea971849ed448025b2bd28df337f06 | 12,708 | py | Python | 21-fs-ias-lec/14-BAC News/app/gui/style.py | Laellekoenig/BACnet | fbc8e23a626a60655c9f6e8fb6025eb7aac3cc07 | [
"MIT"
] | 8 | 2020-03-17T21:12:18.000Z | 2021-12-12T15:55:54.000Z | 21-fs-ias-lec/14-BAC News/app/gui/style.py | Laellekoenig/BACnet | fbc8e23a626a60655c9f6e8fb6025eb7aac3cc07 | [
"MIT"
] | 2 | 2021-07-19T06:18:43.000Z | 2022-02-10T12:17:58.000Z | 21-fs-ias-lec/14-BAC News/app/gui/style.py | Laellekoenig/BACnet | fbc8e23a626a60655c9f6e8fb6025eb7aac3cc07 | [
"MIT"
] | 25 | 2020-03-20T09:32:45.000Z | 2021-07-18T18:12:59.000Z | from PyQt5 import QtWidgets as qtw
from PyQt5 import QtGui as qtg
from PyQt5 import QtCore as qtc
def setArticleStyle(article):
# style sheet for displayed article
article.document().setDefaultStyleSheet(
"body {font-family: Merriweather;} "
"p {font-size: 18px; line-height: 1.5; font-weight: 3... | 22.856115 | 129 | 0.522269 | 1,192 | 12,708 | 5.567953 | 0.116611 | 0.082869 | 0.056501 | 0.055447 | 0.875396 | 0.816483 | 0.764954 | 0.72141 | 0.687961 | 0.651198 | 0 | 0.072386 | 0.366226 | 12,708 | 555 | 130 | 22.897297 | 0.751676 | 0.006138 | 0 | 0.778793 | 0 | 0.003656 | 0.966102 | 0.023919 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005484 | false | 0 | 0.005484 | 0 | 0.016453 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cb490eb12bf4b3c5f7f763cfca8eb3caf56bd15b | 3,981 | py | Python | QIIDderivative/term1.py | avanteijlingen/lipid-md | 825c7bc982bc920a24e64e272354a7317eac9cbd | [
"MIT"
] | 2 | 2020-11-02T14:55:31.000Z | 2021-05-04T05:12:14.000Z | QIIDderivative/term1.py | avanteijlingen/lipid-md | 825c7bc982bc920a24e64e272354a7317eac9cbd | [
"MIT"
] | null | null | null | QIIDderivative/term1.py | avanteijlingen/lipid-md | 825c7bc982bc920a24e64e272354a7317eac9cbd | [
"MIT"
] | 1 | 2020-11-02T16:35:21.000Z | 2020-11-02T16:35:21.000Z | # -*- coding: utf-8 -*-
"""
author: Chris Brasnett, University of Bristol, christopher.brasnett@bristol.ac.uk
"""
import numpy as np
import math
pi=math.pi
def term1(x,y,z,m):
#t1_x
cg = (-3 * pi * m * math.sin(pi * m * x) * math.cos(pi * m * y) * math.cos(pi * m * z) -
3 * pi * m * math.sin(pi * ... | 60.318182 | 104 | 0.404421 | 764 | 3,981 | 2.09555 | 0.060209 | 0.224859 | 0.30356 | 0.337289 | 0.869457 | 0.869457 | 0.869457 | 0.869457 | 0.869457 | 0.868207 | 0 | 0.043735 | 0.362472 | 3,981 | 66 | 105 | 60.318182 | 0.587076 | 0.036674 | 0 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02439 | false | 0 | 0.04878 | 0 | 0.097561 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
cb84815978770b557b158e856e0bea84fde18836 | 1,453 | py | Python | apimaster/migrations/0004_auto_20211129_1749.py | romsha28/hospital_python | 1bb86266223df5084321917169156aaec1c5e318 | [
"Apache-2.0"
] | null | null | null | apimaster/migrations/0004_auto_20211129_1749.py | romsha28/hospital_python | 1bb86266223df5084321917169156aaec1c5e318 | [
"Apache-2.0"
] | 1 | 2021-10-18T08:56:11.000Z | 2021-10-18T08:56:11.000Z | apimaster/migrations/0004_auto_20211129_1749.py | romsha28/hospital_python | 1bb86266223df5084321917169156aaec1c5e318 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.2.8 on 2021-11-29 12:19
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('apimaster', '0003_auto_20211129_1747'),
]
operations = [
migrations.AlterField(
model_name='userprofiles',
name='cre... | 29.653061 | 62 | 0.569167 | 134 | 1,453 | 6.044776 | 0.320896 | 0.17284 | 0.216049 | 0.250617 | 0.788889 | 0.788889 | 0.733333 | 0.733333 | 0.679012 | 0.679012 | 0 | 0.031219 | 0.316586 | 1,453 | 48 | 63 | 30.270833 | 0.784491 | 0.03097 | 0 | 0.666667 | 1 | 0 | 0.130868 | 0.016358 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cb9a0e3b4c3e3c19aa939ea3512ea45eb18d3dce | 4,538 | py | Python | tests/test_legacy.py | rot26/pipenv | 8378a1b104f2d817790a05da370bef0a1b00f452 | [
"MIT"
] | null | null | null | tests/test_legacy.py | rot26/pipenv | 8378a1b104f2d817790a05da370bef0a1b00f452 | [
"MIT"
] | null | null | null | tests/test_legacy.py | rot26/pipenv | 8378a1b104f2d817790a05da370bef0a1b00f452 | [
"MIT"
] | null | null | null | import os
from mock import patch, Mock, PropertyMock
from pipenv.core import (
pip_install, pip_download
)
# Tell pipenv to ignore activated virtualenvs.
os.environ['PIPENV_IGNORE_VIRTUALENVS'] = 'True'
class TestPipenv():
@patch('pipenv.project.Project.sources', new_callable=PropertyMock)
@patch('del... | 39.807018 | 112 | 0.666152 | 554 | 4,538 | 5.088448 | 0.111913 | 0.127705 | 0.099326 | 0.08088 | 0.938631 | 0.938631 | 0.938631 | 0.938631 | 0.938631 | 0.938631 | 0 | 0.005134 | 0.227413 | 4,538 | 113 | 113 | 40.159292 | 0.798916 | 0.009696 | 0 | 0.811881 | 0 | 0 | 0.164069 | 0.045637 | 0 | 0 | 0 | 0 | 0.09901 | 1 | 0.059406 | false | 0 | 0.029703 | 0 | 0.09901 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cbc2bdfb9b6602c561cba454bb9da8b2c7944a2e | 4,892 | py | Python | tests/test_range.py | flzara/shaystack | 6bf815f25f3a5d64494ec1c4a34a7b23ea0ad4ce | [
"BSD-2-Clause"
] | 9 | 2021-04-30T13:04:31.000Z | 2022-01-11T14:11:53.000Z | tests/test_range.py | flzara/shaystack | 6bf815f25f3a5d64494ec1c4a34a7b23ea0ad4ce | [
"BSD-2-Clause"
] | 7 | 2021-03-19T07:31:22.000Z | 2021-03-26T12:31:45.000Z | tests/test_range.py | flzara/shaystack | 6bf815f25f3a5d64494ec1c4a34a7b23ea0ad4ce | [
"BSD-2-Clause"
] | 5 | 2021-04-29T11:51:04.000Z | 2022-02-22T21:10:19.000Z | from datetime import datetime, date, timedelta
import pytz
from shaystack.providers.haystack_interface import parse_date_range, _DATETIME_MAX_TZ, _DATETIME_MIN_TZ
_TZ_PARIS = pytz.timezone("Europe/Paris")
def test_date_range_empty():
date_min, date_max = parse_date_range("", _TZ_PARIS)
assert date_min == d... | 41.109244 | 108 | 0.720564 | 744 | 4,892 | 4.376344 | 0.061828 | 0.077396 | 0.107801 | 0.140971 | 0.925676 | 0.909091 | 0.90602 | 0.848587 | 0.746315 | 0.693489 | 0 | 0.07136 | 0.149223 | 4,892 | 118 | 109 | 41.457627 | 0.710956 | 0 | 0 | 0.382716 | 0 | 0.012346 | 0.064391 | 0.034751 | 0 | 0 | 0 | 0 | 0.419753 | 1 | 0.209877 | false | 0 | 0.037037 | 0 | 0.246914 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1dc452ee251b20c2e3801fccfaf2067a4b2e400d | 117 | py | Python | src/analytics/lambdas/test/test_quicksight_users_importer.py | shehir12/covid19-app-system-public | 63184012d85335f7c499fe41ab534a0ef935a4b8 | [
"MIT"
] | null | null | null | src/analytics/lambdas/test/test_quicksight_users_importer.py | shehir12/covid19-app-system-public | 63184012d85335f7c499fe41ab534a0ef935a4b8 | [
"MIT"
] | null | null | null | src/analytics/lambdas/test/test_quicksight_users_importer.py | shehir12/covid19-app-system-public | 63184012d85335f7c499fe41ab534a0ef935a4b8 | [
"MIT"
] | null | null | null | from . import check_code
def test_code_is_valid():
assert check_code('importers/quicksight_users_importer.py')
| 19.5 | 63 | 0.794872 | 17 | 117 | 5.058824 | 0.823529 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119658 | 117 | 5 | 64 | 23.4 | 0.834951 | 0 | 0 | 0 | 0 | 0 | 0.324786 | 0.324786 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.666667 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3821d7c032f8f0ad0a170aed4f91d9f7d4d7e160 | 238 | py | Python | pyrate/algorithms/__init__.py | fscutti/pyrate | 0e974cdaa43e25cfa1a93de4449e5a39f67b1097 | [
"BSD-3-Clause"
] | null | null | null | pyrate/algorithms/__init__.py | fscutti/pyrate | 0e974cdaa43e25cfa1a93de4449e5a39f67b1097 | [
"BSD-3-Clause"
] | null | null | null | pyrate/algorithms/__init__.py | fscutti/pyrate | 0e974cdaa43e25cfa1a93de4449e5a39f67b1097 | [
"BSD-3-Clause"
] | null | null | null | """Import algorithm modules here."""
import pyrate.algorithms.variables
import pyrate.algorithms.trees
import pyrate.algorithms.plots
import pyrate.algorithms.histograms
import pyrate.algorithms.regions
import pyrate.algorithms.muondet
| 23.8 | 36 | 0.844538 | 28 | 238 | 7.178571 | 0.428571 | 0.358209 | 0.656716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07563 | 238 | 9 | 37 | 26.444444 | 0.913636 | 0.12605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3821fd2251adb0a71f7cbd567d9a4b9102d5b2d5 | 134 | py | Python | algorithms/classification_albert/src/classification_albert_test.py | algorithmia-algorithms/qa-algorithm-scripts | ac2ae204e473bb788fad989d41f56adf7a326a32 | [
"MIT"
] | null | null | null | algorithms/classification_albert/src/classification_albert_test.py | algorithmia-algorithms/qa-algorithm-scripts | ac2ae204e473bb788fad989d41f56adf7a326a32 | [
"MIT"
] | null | null | null | algorithms/classification_albert/src/classification_albert_test.py | algorithmia-algorithms/qa-algorithm-scripts | ac2ae204e473bb788fad989d41f56adf7a326a32 | [
"MIT"
] | null | null | null | from . import classification_albert
def test_classification_albert():
assert classification_albert.apply("Jane") == "hello Jane"
| 26.8 | 62 | 0.783582 | 15 | 134 | 6.733333 | 0.666667 | 0.594059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 134 | 4 | 63 | 33.5 | 0.855932 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
698171c45a291379b7a962f005b1076cc1d280ff | 159 | py | Python | Lib/Scripts/glyphs/transform/outline.py | gferreira/hTools2 | a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c | [
"BSD-3-Clause"
] | 11 | 2015-01-06T15:43:56.000Z | 2019-07-27T00:35:20.000Z | hTools2.roboFontExt/lib/Scripts/selected glyphs/transform/outline.py | gferreira/hTools2_extension | 9e5150082a0a39847c1078aac3dc38d914a44f83 | [
"BSD-3-Clause"
] | 2 | 2017-08-08T21:02:17.000Z | 2019-12-18T15:55:48.000Z | Lib/Scripts/glyphs/transform/outline.py | gferreira/hTools2 | a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c | [
"BSD-3-Clause"
] | 4 | 2015-01-10T13:58:50.000Z | 2019-12-18T15:40:14.000Z | # [h] outline glyphs dialog
import hTools2.dialogs.glyphs.outline
reload(hTools2.dialogs.glyphs.outline)
hTools2.dialogs.glyphs.outline.outlineGlyphsDialog() | 26.5 | 52 | 0.830189 | 19 | 159 | 6.947368 | 0.473684 | 0.318182 | 0.454545 | 0.613636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020134 | 0.062893 | 159 | 6 | 52 | 26.5 | 0.865772 | 0.157233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
0e13d8a91c459adaeebb4482810ca9d6fb8c2f84 | 2,355 | py | Python | sign_in.py | Manoah-3401/Gazda | b8c1271fa38b2e771f19bd1253407fba4c978a68 | [
"MIT"
] | 1 | 2021-05-23T15:27:32.000Z | 2021-05-23T15:27:32.000Z | sign_in.py | kd100100/gadza | b260cb7ece2f945c0d5e9a207ea8c23ebe3bc630 | [
"MIT"
] | null | null | null | sign_in.py | kd100100/gadza | b260cb7ece2f945c0d5e9a207ea8c23ebe3bc630 | [
"MIT"
] | null | null | null | def sign_in_database_create_farmer(request,cursor,con):
cursor.execute(""" SELECT `PhoneNumber` FROM `farmers` """)
phone_numbers = cursor.fetchall()
IsUnique = 1
#print(phone_numbers) [('8610342197',), ('9176580040',)]
#check if phone number matches
for i in phone... | 50.106383 | 121 | 0.569851 | 249 | 2,355 | 5.325301 | 0.240964 | 0.084465 | 0.078431 | 0.102564 | 0.959276 | 0.924585 | 0.924585 | 0.924585 | 0.84917 | 0.84917 | 0 | 0.054874 | 0.272611 | 2,355 | 47 | 122 | 50.106383 | 0.719206 | 0.096391 | 0 | 0.705882 | 0 | 0.058824 | 0.474217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0.058824 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
38ace47fb6244475a3ec4dc56d35fce18719a2a3 | 110 | py | Python | src/celery_longterm_scheduler/__init__.py | ZeitOnline/celery_longterm_scheduler | 5dca063cefdf66b3065472f9f4672041640f132a | [
"BSD-3-Clause"
] | 22 | 2018-05-21T21:00:25.000Z | 2022-01-19T01:30:29.000Z | src/celery_longterm_scheduler/__init__.py | ZeitOnline/celery_longterm_scheduler | 5dca063cefdf66b3065472f9f4672041640f132a | [
"BSD-3-Clause"
] | 5 | 2020-03-19T04:41:03.000Z | 2022-01-07T07:26:50.000Z | src/celery_longterm_scheduler/__init__.py | ZeitOnline/celery_longterm_scheduler | 5dca063cefdf66b3065472f9f4672041640f132a | [
"BSD-3-Clause"
] | 7 | 2018-05-03T06:30:40.000Z | 2022-03-29T14:20:51.000Z | from celery_longterm_scheduler.task import Task
from celery_longterm_scheduler.scheduler import get_scheduler
| 36.666667 | 61 | 0.909091 | 15 | 110 | 6.333333 | 0.466667 | 0.210526 | 0.378947 | 0.568421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 110 | 2 | 62 | 55 | 0.931373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
38b51810039ac91b10a0b92786e4d45c67e07913 | 40 | py | Python | BOJ/17000~17999/17300~17399/17362.py | shinkeonkim/today-ps | f3e5e38c5215f19579bb0422f303a9c18c626afa | [
"Apache-2.0"
] | 2 | 2020-01-29T06:54:41.000Z | 2021-11-07T13:23:27.000Z | BOJ/17000~17999/17300~17399/17362.py | shinkeonkim/Today_PS | bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44 | [
"Apache-2.0"
] | null | null | null | BOJ/17000~17999/17300~17399/17362.py | shinkeonkim/Today_PS | bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44 | [
"Apache-2.0"
] | null | null | null | print([2,1,2,3,4,5,4,3][int(input())%8]) | 40 | 40 | 0.55 | 12 | 40 | 1.833333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225 | 0 | 40 | 1 | 40 | 40 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 1 | 0 | 8 |
38c30571b1aaf2574cd142298d6845d7d1ca68c1 | 343 | py | Python | guipyg/__init__.py | neccarus/Gui-Pyg | e69eb9e7f75b67b0cb70f211e5b3e602a920502b | [
"BSD-3-Clause"
] | null | null | null | guipyg/__init__.py | neccarus/Gui-Pyg | e69eb9e7f75b67b0cb70f211e5b3e602a920502b | [
"BSD-3-Clause"
] | null | null | null | guipyg/__init__.py | neccarus/Gui-Pyg | e69eb9e7f75b67b0cb70f211e5b3e602a920502b | [
"BSD-3-Clause"
] | null | null | null | from .gui_element.element import Element
from .gui_element.element import encode_element
from .gui_element.toggleable_element import ToggleableElement
from .gui_element.element_group import ElementGroup
from .gui_element.button import Button
from .gui_element.popup import Popup
from .gui_element.menu import Menu
... | 38.111111 | 62 | 0.83965 | 49 | 343 | 5.673469 | 0.244898 | 0.201439 | 0.352518 | 0.226619 | 0.194245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116618 | 343 | 8 | 63 | 42.875 | 0.917492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
38c83e43ade0cad17026c94bfe7621f025fbf8af | 4,543 | py | Python | credit_china/config.py | pythonyhd/reverse_spider | 5922e39bee47bf4114ab06670f49e32eb1bc4b1d | [
"Apache-2.0"
] | 8 | 2020-03-30T06:54:09.000Z | 2022-03-23T09:56:24.000Z | credit_china/config.py | pythonyhd/reverse_spider | 5922e39bee47bf4114ab06670f49e32eb1bc4b1d | [
"Apache-2.0"
] | 1 | 2022-03-02T15:02:21.000Z | 2022-03-02T15:02:21.000Z | credit_china/config.py | pythonyhd/reverse_spider | 5922e39bee47bf4114ab06670f49e32eb1bc4b1d | [
"Apache-2.0"
] | 3 | 2020-05-03T05:07:00.000Z | 2022-03-23T09:56:24.000Z | # -*- coding: utf-8 -*-
# 信用陕西-行政处罚
xinyong_shanxi_settings = {
"RETRY_ENABLED": True,
"RETRY_TIMES": '9',
"DOWNLOAD_TIMEOUT": '20',
"ITEM_PIPELINES": {
"credit_china.pipelines.CreditChinaPipeline": 300,
"credit_china.pipelines.MongodbIndexPipeline": 340,
# "credit_china.pipel... | 29.309677 | 70 | 0.675985 | 375 | 4,543 | 7.922667 | 0.162667 | 0.155503 | 0.141367 | 0.049478 | 0.948502 | 0.948502 | 0.948502 | 0.948502 | 0.948502 | 0.948502 | 0 | 0.041678 | 0.197227 | 4,543 | 155 | 71 | 29.309677 | 0.772964 | 0.274928 | 0 | 0.707865 | 0 | 0 | 0.593856 | 0.453456 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c7fbe4103823518fb97e673b5d6d0ab64b00bb31 | 102 | py | Python | tools/string_table_parser/__init__.py | fingerco/sims-4-mac-modding-tools | 47d4fb8b6065b455f27cc1487cb217f2fc201641 | [
"Apache-2.0"
] | 3 | 2020-06-13T16:16:43.000Z | 2021-06-19T22:23:13.000Z | tools/string_table_parser/__init__.py | fingerco/sims-4-mac-modding-tools | 47d4fb8b6065b455f27cc1487cb217f2fc201641 | [
"Apache-2.0"
] | 2 | 2021-03-31T19:27:34.000Z | 2021-12-13T20:21:58.000Z | tools/string_table_parser/__init__.py | fingerco/sims-4-mac-modding-tools | 47d4fb8b6065b455f27cc1487cb217f2fc201641 | [
"Apache-2.0"
] | 1 | 2020-05-13T19:59:40.000Z | 2020-05-13T19:59:40.000Z | from .string_table_reader import StringTableReader
from .string_table_writer import StringTableWriter
| 34 | 50 | 0.901961 | 12 | 102 | 7.333333 | 0.666667 | 0.227273 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 102 | 2 | 51 | 51 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2a33e8399eec92644cba1c35fb5dde23700c8416 | 175 | py | Python | Leetcode/357. Count Numbers with Unique Digits/solution2.py | asanoviskhak/Outtalent | c500e8ad498f76d57eb87a9776a04af7bdda913d | [
"MIT"
] | 51 | 2020-07-12T21:27:47.000Z | 2022-02-11T19:25:36.000Z | Leetcode/357. Count Numbers with Unique Digits/solution2.py | CrazySquirrel/Outtalent | 8a10b23335d8e9f080e5c39715b38bcc2916ff00 | [
"MIT"
] | null | null | null | Leetcode/357. Count Numbers with Unique Digits/solution2.py | CrazySquirrel/Outtalent | 8a10b23335d8e9f080e5c39715b38bcc2916ff00 | [
"MIT"
] | 32 | 2020-07-27T13:54:24.000Z | 2021-12-25T18:12:50.000Z | class Solution:
def countNumbersWithUniqueDigits(self, n: int) -> int:
return sum([1, 9, 81, 648, 4536, 27216, 136080, 544320, 1632960, 3265920, 3265920][:n + 1])
| 43.75 | 99 | 0.657143 | 23 | 175 | 5 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.35461 | 0.194286 | 175 | 3 | 100 | 58.333333 | 0.460993 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
aa7fe8fdf3a6836cb49b136f5bbaf5426b33a73c | 8,840 | py | Python | timelight_ai_python_api_client/api/day_api.py | timelight-ai/python-api-client | 7e14341a89e8b7e1b4b0730416f6ddd3ef66ef39 | [
"MIT"
] | null | null | null | timelight_ai_python_api_client/api/day_api.py | timelight-ai/python-api-client | 7e14341a89e8b7e1b4b0730416f6ddd3ef66ef39 | [
"MIT"
] | null | null | null | timelight_ai_python_api_client/api/day_api.py | timelight-ai/python-api-client | 7e14341a89e8b7e1b4b0730416f6ddd3ef66ef39 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
timelight
This is the timelight api. # noqa: E501
OpenAPI spec version: 1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from ... | 37.299578 | 134 | 0.617873 | 1,075 | 8,840 | 4.780465 | 0.146977 | 0.046702 | 0.035026 | 0.024518 | 0.858338 | 0.835182 | 0.818447 | 0.795875 | 0.753454 | 0.753454 | 0 | 0.018687 | 0.291742 | 8,840 | 236 | 135 | 37.457627 | 0.802108 | 0.313009 | 0 | 0.672131 | 1 | 0 | 0.189132 | 0.045463 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040984 | false | 0 | 0.032787 | 0 | 0.131148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
aa869d5043f37c45fc97940a6128e8ec3061a797 | 23,834 | py | Python | pyfilter/__init__.py | JuantonioMS/pyngs | 5c929e68c975aae94669d0a0ff29ceb462de9b5e | [
"MIT"
] | null | null | null | pyfilter/__init__.py | JuantonioMS/pyngs | 5c929e68c975aae94669d0a0ff29ceb462de9b5e | [
"MIT"
] | null | null | null | pyfilter/__init__.py | JuantonioMS/pyngs | 5c929e68c975aae94669d0a0ff29ceb462de9b5e | [
"MIT"
] | null | null | null | import argparse
import sys
import time
from Bio.Seq import Seq
from Bio.Alphabet import IUPAC
import tempfile
import collections
"""CLASE FASTQ"""
class FastQ(object):
def __init__(self, name, sequence, extra, quality, phred_value=None):
self.name = name
self.sequence = sequence
self.extr... | 30.055485 | 202 | 0.578459 | 2,634 | 23,834 | 5.088838 | 0.071374 | 0.110116 | 0.057296 | 0.070352 | 0.887645 | 0.882945 | 0.869517 | 0.861758 | 0.858699 | 0.855566 | 0 | 0.008789 | 0.326928 | 23,834 | 792 | 203 | 30.093434 | 0.826767 | 0 | 0 | 0.841837 | 0 | 0 | 0.011856 | 0.004625 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.011905 | null | null | 0.010204 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2a9ea182c2d89c599b9b9954f7dcf862be383add | 4,124 | py | Python | tests/test_conformers.py | hengwei-chan/fragmentation_and_assemble | 35b56dd1c97cfa6731bcbfd68c3eb01bfcd7668f | [
"Apache-2.0"
] | 130 | 2021-04-08T11:15:27.000Z | 2022-03-25T01:51:47.000Z | tests/test_conformers.py | hengwei-chan/fragmentation_and_assemble | 35b56dd1c97cfa6731bcbfd68c3eb01bfcd7668f | [
"Apache-2.0"
] | 72 | 2021-04-08T11:46:51.000Z | 2022-03-29T01:27:41.000Z | tests/test_conformers.py | hengwei-chan/fragmentation_and_assemble | 35b56dd1c97cfa6731bcbfd68c3eb01bfcd7668f | [
"Apache-2.0"
] | 11 | 2021-04-20T10:27:38.000Z | 2022-03-07T07:29:30.000Z | # type: ignore
import pytest
import numpy as np
import datamol as dm
def test_generate():
with pytest.raises(ValueError):
smiles = "CCCC"
mol = dm.to_mol(smiles)
mol = dm.conformers.generate(mol, method="custom_method")
smiles = "CCCC"
mol = dm.to_mol(smiles)
mol = dm.confor... | 30.323529 | 77 | 0.678468 | 579 | 4,124 | 4.689119 | 0.145078 | 0.066298 | 0.110497 | 0.058932 | 0.833886 | 0.813996 | 0.760958 | 0.707919 | 0.707919 | 0.669613 | 0 | 0.020317 | 0.188409 | 4,124 | 135 | 78 | 30.548148 | 0.790857 | 0.026188 | 0 | 0.642105 | 1 | 0 | 0.052894 | 0.031437 | 0 | 0 | 0 | 0 | 0.231579 | 1 | 0.073684 | false | 0 | 0.031579 | 0 | 0.105263 | 0.021053 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2aa859b1598e9c1144997641bd4fa44973fdb560 | 167 | py | Python | froide/foirequest/tests/__init__.py | OpendataCH/froide | 8136bac0d8caa56f9cfc7ba15480be987280e55d | [
"MIT"
] | null | null | null | froide/foirequest/tests/__init__.py | OpendataCH/froide | 8136bac0d8caa56f9cfc7ba15480be987280e55d | [
"MIT"
] | null | null | null | froide/foirequest/tests/__init__.py | OpendataCH/froide | 8136bac0d8caa56f9cfc7ba15480be987280e55d | [
"MIT"
] | null | null | null | from .test_admin import * # noqa
from .test_api import * # noqa
from .test_mail import * # noqa
from .test_request import * # noqa
from .test_web import * # noqa
| 27.833333 | 35 | 0.700599 | 25 | 167 | 4.48 | 0.36 | 0.357143 | 0.5 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209581 | 167 | 5 | 36 | 33.4 | 0.848485 | 0.143713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
2ac7aed153982a79d7a697c7db9f0c9f55485700 | 8,845 | py | Python | crowdgezwitscher/contact/tests/test_mail.py | Strassengezwitscher/Crowdgezwitscher | afdd433acb35c1a554ba79464b744975de065151 | [
"MIT"
] | 4 | 2016-07-22T07:20:31.000Z | 2016-11-13T18:13:34.000Z | crowdgezwitscher/contact/tests/test_mail.py | Strassengezwitscher/Strassengezwitscher | afdd433acb35c1a554ba79464b744975de065151 | [
"MIT"
] | 402 | 2016-04-26T08:38:17.000Z | 2022-03-11T23:26:49.000Z | crowdgezwitscher/contact/tests/test_mail.py | Strassengezwitscher/Crowdgezwitscher | afdd433acb35c1a554ba79464b744975de065151 | [
"MIT"
] | 1 | 2018-01-14T16:58:57.000Z | 2018-01-14T16:58:57.000Z | from django.test import TestCase
from contact.mail import GPGEmailMessage
from contact.utils import GPGException
class MailTests(TestCase):
fixtures = ['gpg_key.json']
def test_basic_encrypt(self):
"""Test if PGP/MIME format requirements look fulfilled and if headers are correct."""
subject ... | 53.606061 | 120 | 0.682985 | 1,067 | 8,845 | 5.571696 | 0.146204 | 0.110681 | 0.081413 | 0.137763 | 0.84693 | 0.82069 | 0.799159 | 0.75963 | 0.732212 | 0.732212 | 0 | 0.005559 | 0.206783 | 8,845 | 164 | 121 | 53.932927 | 0.84179 | 0.082872 | 0 | 0.69697 | 0 | 0 | 0.284606 | 0.090989 | 0 | 0 | 0 | 0 | 0.583333 | 1 | 0.037879 | false | 0 | 0.022727 | 0 | 0.075758 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
631c0f98398f0ff201cbca38361db6d5f3022347 | 52,742 | py | Python | intranet/org/migrations/0001_initial.py | kiberpipa/Intranet | 2bc2ffd4e9e9f36c78d0444b60575fa1de562f73 | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2015-01-20T17:25:37.000Z | 2021-09-16T17:28:02.000Z | intranet/org/migrations/0001_initial.py | avian2/kiberpipa-intranet | e36f09e3fe74c95d73ea61e4efed8f42b97d08ea | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | intranet/org/migrations/0001_initial.py | avian2/kiberpipa-intranet | e36f09e3fe74c95d73ea61e4efed8f42b97d08ea | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2017-09-11T22:13:51.000Z | 2022-01-14T18:19:35.000Z | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Tag'
db.create_table('org_tag', (
('name', self.gf('django.db.models.fields.Ch... | 66.509458 | 208 | 0.587634 | 6,019 | 52,742 | 5.020601 | 0.036385 | 0.092657 | 0.161686 | 0.230981 | 0.858334 | 0.84298 | 0.825209 | 0.778881 | 0.72332 | 0.671862 | 0 | 0.008279 | 0.193868 | 52,742 | 792 | 209 | 66.593434 | 0.702472 | 0.046775 | 0 | 0.396226 | 0 | 0 | 0.473874 | 0.267954 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003145 | false | 0.001572 | 0.006289 | 0 | 0.014151 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2d877d942adb98a74d656ab0fbee2908e9a2ab22 | 5,765 | py | Python | app_api/migrations/0012_album_info_setup.py | pkucsie/SIEPServer | 00b0637eb8302135dfc772fccd18cd749a93e5c6 | [
"Apache-2.0"
] | 2 | 2021-02-12T10:02:42.000Z | 2021-03-15T13:08:04.000Z | app_api/migrations/0012_album_info_setup.py | pkucsie/SIEPServer | 00b0637eb8302135dfc772fccd18cd749a93e5c6 | [
"Apache-2.0"
] | null | null | null | app_api/migrations/0012_album_info_setup.py | pkucsie/SIEPServer | 00b0637eb8302135dfc772fccd18cd749a93e5c6 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.1.2 on 2021-11-08 16:39
from django.db import migrations, models
import tyadmin_api_cli.fields
class Migration(migrations.Migration):
dependencies = [
('app_api', '0011_score'),
]
operations = [
migrations.CreateModel(
name='Album',
... | 64.055556 | 175 | 0.576409 | 616 | 5,765 | 5.209416 | 0.204545 | 0.185104 | 0.100966 | 0.097227 | 0.866625 | 0.862886 | 0.820193 | 0.820193 | 0.820193 | 0.820193 | 0 | 0.027959 | 0.255507 | 5,765 | 89 | 176 | 64.775281 | 0.719711 | 0.007806 | 0 | 0.578313 | 1 | 0 | 0.123645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.024096 | 0 | 0.060241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
93377d9708ed937bcd4d00f5a6a5eaa5b5a45588 | 8,090 | py | Python | python/github_com/TheThingsNetwork/api/networkserver/networkserver_pb2_grpc.py | LukasHabring/api | 9e3da3462f14dab4c45fa38b03335e85e1970833 | [
"MIT"
] | 14 | 2017-07-14T16:11:54.000Z | 2021-11-16T12:35:37.000Z | python/github_com/TheThingsNetwork/api/networkserver/networkserver_pb2_grpc.py | LukasHabring/api | 9e3da3462f14dab4c45fa38b03335e85e1970833 | [
"MIT"
] | 34 | 2017-07-14T15:15:13.000Z | 2021-08-18T10:08:10.000Z | python/github_com/TheThingsNetwork/api/networkserver/networkserver_pb2_grpc.py | LukasHabring/api | 9e3da3462f14dab4c45fa38b03335e85e1970833 | [
"MIT"
] | 12 | 2017-07-25T16:13:16.000Z | 2021-05-08T07:21:50.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from github_com.TheThingsNetwork.api.broker import broker_pb2 as github_dot_com_dot_TheThingsNetwork_dot_api_dot_broker_dot_broker__pb2
from github_com.TheThingsNetwork.api.handler import handler_pb2 as github_dot_com_dot_TheThingsNetwor... | 50.248447 | 163 | 0.810012 | 876 | 8,090 | 6.98516 | 0.126712 | 0.039712 | 0.05295 | 0.066187 | 0.843438 | 0.792613 | 0.782154 | 0.732146 | 0.707632 | 0.68557 | 0 | 0.004257 | 0.128925 | 8,090 | 160 | 164 | 50.5625 | 0.864056 | 0.107911 | 0 | 0.321101 | 1 | 0 | 0.088895 | 0.042064 | 0 | 0 | 0 | 0 | 0 | 1 | 0.091743 | false | 0.027523 | 0.036697 | 0 | 0.165138 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
933f4b3a83c8da0b76ed27a98639fa7941a3babf | 68,645 | py | Python | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_locality/cmp_gobmk/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_locality/cmp_gobmk/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_locality/cmp_gobmk/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.103939 | 124 | 0.682016 | 8,098 | 68,645 | 5.775377 | 0.061497 | 0.123501 | 0.112895 | 0.093395 | 0.952169 | 0.944878 | 0.935085 | 0.915713 | 0.896427 | 0.8796 | 0 | 0.131934 | 0.224212 | 68,645 | 914 | 125 | 75.103939 | 0.746291 | 0 | 0 | 0.749453 | 0 | 0 | 0.657067 | 0.048073 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fab94f5bf4a7c41a7d325ce95c3d5f0bf987bef9 | 39 | py | Python | app/main/views/__init__.py | Jaydonjin/seer | adeb14601b07de93603176694115c9673f010989 | [
"MIT"
] | null | null | null | app/main/views/__init__.py | Jaydonjin/seer | adeb14601b07de93603176694115c9673f010989 | [
"MIT"
] | null | null | null | app/main/views/__init__.py | Jaydonjin/seer | adeb14601b07de93603176694115c9673f010989 | [
"MIT"
] | null | null | null | from . import index
from . import misc
| 13 | 19 | 0.74359 | 6 | 39 | 4.833333 | 0.666667 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 39 | 2 | 20 | 19.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
facdf6e9df546e020e1e81e0b4e65db6b7acef40 | 130,928 | py | Python | src/CLI/actioner/bgp_openconfig_to_restconf_map.py | project-arlo/sonic-mgmt-framework | 562cd84ff3fec9ca705c7df621742f2daa61ce71 | [
"Apache-2.0"
] | 7 | 2019-10-17T06:12:02.000Z | 2021-09-08T11:16:19.000Z | src/CLI/actioner/bgp_openconfig_to_restconf_map.py | noolex/sonic-mgmt-framework | 5493889adc47fc584b04dca1a0cc0a2007211df4 | [
"Apache-2.0"
] | 207 | 2019-06-24T04:48:11.000Z | 2020-05-06T05:51:37.000Z | src/CLI/actioner/bgp_openconfig_to_restconf_map.py | noolex/sonic-mgmt-framework | 5493889adc47fc584b04dca1a0cc0a2007211df4 | [
"Apache-2.0"
] | 20 | 2019-06-27T19:24:45.000Z | 2021-07-15T21:12:30.000Z | restconf_map = {
'openconfig_network_instance_network_instances_network_instance_protocols_protocol_bgp' :
'/restconf/data/openconfig-network-instance:network-instances/network-instance={name}/protocols/protocol={identifier},{name1}/bgp',
'openconfig_network_instance_network_instances_network_instance_p... | 173.41457 | 282 | 0.831327 | 16,650 | 130,928 | 6.218138 | 0.017297 | 0.168933 | 0.15062 | 0.20301 | 0.980151 | 0.978248 | 0.976819 | 0.975524 | 0.975061 | 0.974375 | 0 | 0.009914 | 0.043138 | 130,928 | 754 | 283 | 173.644562 | 0.816491 | 0 | 0 | 0 | 0 | 0.498674 | 0.939516 | 0.939516 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.01061 | 0.018568 | 0 | 0.018568 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
fad8dbc853539467946e8b3cc4ea46bf2a0e2b79 | 48 | py | Python | gpvolve/markov/_generate_tmatrix/__init__.py | harmsm/gpvolve | 94dd71e5fbee29cc50b82d282ef33c850fb33575 | [
"MIT"
] | 1 | 2021-12-05T23:00:59.000Z | 2021-12-05T23:00:59.000Z | gpvolve/markov/utils/_generate_tmatrix/__init__.py | clararehmann/gpvolve | 4e45b53b72184425c24d57b2e8779d3d51de39d7 | [
"MIT"
] | null | null | null | gpvolve/markov/utils/_generate_tmatrix/__init__.py | clararehmann/gpvolve | 4e45b53b72184425c24d57b2e8779d3d51de39d7 | [
"MIT"
] | 2 | 2021-09-27T17:51:31.000Z | 2021-11-04T15:35:51.000Z |
from .generate_tmatrix import generate_tmatrix
| 16 | 46 | 0.875 | 6 | 48 | 6.666667 | 0.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 2 | 47 | 24 | 0.930233 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
faee7ccdb5a22fd6b3af663e6ed0b3556fabfa10 | 21,047 | py | Python | lib/txt_logs.py | diegoscastanho/LiconIA | d6d8c4f250c5ade3010bd72d6e662e3393d3226e | [
"MIT"
] | 4 | 2021-06-19T17:21:13.000Z | 2021-06-20T19:50:29.000Z | lib/txt_logs.py | Donanfer1/LiconIA | d6d8c4f250c5ade3010bd72d6e662e3393d3226e | [
"MIT"
] | null | null | null | lib/txt_logs.py | Donanfer1/LiconIA | d6d8c4f250c5ade3010bd72d6e662e3393d3226e | [
"MIT"
] | 1 | 2021-06-19T19:24:47.000Z | 2021-06-19T19:24:47.000Z | """
@author: Diego Solak Castanho
https://github.com/diegoscastanho
"""
import os
import pickle
import logging
from copy import deepcopy
# General procedures to show the log
logging.basicConfig(
format=(
'%(asctime)s - %(levelname)s: ' +
'(%(filename)s:%(funcName)s at %(lineno)d): %(message)s'),
... | 46.979911 | 94 | 0.573811 | 2,671 | 21,047 | 4.411082 | 0.080494 | 0.141317 | 0.121372 | 0.034374 | 0.869886 | 0.849346 | 0.798506 | 0.789509 | 0.7789 | 0.771431 | 0 | 0.000633 | 0.249917 | 21,047 | 447 | 95 | 47.085011 | 0.745677 | 0.044187 | 0 | 0.710059 | 0 | 0 | 0.253096 | 0.037048 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044379 | false | 0 | 0.011834 | 0 | 0.065089 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
faf65e9d47ffc4ac2b4724c512856622f11a26d5 | 7,268 | py | Python | curve_plotting.py | cgao/tax_reform | 66ec065d630c7778bb86a548ef9fd69a5fd5647a | [
"MIT"
] | null | null | null | curve_plotting.py | cgao/tax_reform | 66ec065d630c7778bb86a548ef9fd69a5fd5647a | [
"MIT"
] | null | null | null | curve_plotting.py | cgao/tax_reform | 66ec065d630c7778bb86a548ef9fd69a5fd5647a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Nov 5 12:05:30 2017
@author: cgao
"""
import matplotlib
import matplotlib.pyplot as plt
import tax_reform
#tax_reform.tax_comparison(240000, 3, 1, 700000, 0.03, 0.06, 18000, joint = True, detail = True)
def comparison_curve(
income_low = 10... | 48.778523 | 222 | 0.629196 | 953 | 7,268 | 4.655824 | 0.151102 | 0.045076 | 0.032454 | 0.024341 | 0.836376 | 0.834122 | 0.773946 | 0.773946 | 0.766509 | 0.730449 | 0 | 0.051812 | 0.213952 | 7,268 | 148 | 223 | 49.108108 | 0.724838 | 0.063704 | 0 | 0.813953 | 0 | 0 | 0.119458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015504 | false | 0 | 0.023256 | 0 | 0.03876 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8786655e56e474784f4631dc10d2ef02e62f6880 | 3,166 | py | Python | naqttool/ankimodels.py | gaufqwi/naqttool | b6e32e3085de0350af8deac2627aa78a99fbe732 | [
"MIT"
] | null | null | null | naqttool/ankimodels.py | gaufqwi/naqttool | b6e32e3085de0350af8deac2627aa78a99fbe732 | [
"MIT"
] | null | null | null | naqttool/ankimodels.py | gaufqwi/naqttool | b6e32e3085de0350af8deac2627aa78a99fbe732 | [
"MIT"
] | null | null | null | naqt_basic_front = """
<h1>NAQT You Gotta Know</h1>
<div class='qcard'>
{{#Category}}<h2>{{Category}}</h2><br/>{{/Category}}
{{Prompt}}
<br/><br/>
<span class="answer-hidden">{{Answer}}</span>
</div>
<div class="source">
<span class="label">Source:</span> <span class="content">{{Source}}</span>
</div>
"""
naqt_bas... | 14.725581 | 74 | 0.603917 | 402 | 3,166 | 4.681592 | 0.179104 | 0.063762 | 0.041445 | 0.05101 | 0.812965 | 0.785335 | 0.752391 | 0.752391 | 0.752391 | 0.752391 | 0 | 0.027576 | 0.1753 | 3,166 | 215 | 75 | 14.725581 | 0.693221 | 0 | 0 | 0.643678 | 0 | 0 | 0.804547 | 0.165141 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
87b6cf26eaf5dc4c5512bb0748913bdd7c92cd67 | 174 | py | Python | Programs/twinkle.py | Ortieez/LearningPy | d0b6ee47e5c86b68deb6bc056a18a8f4e6f08157 | [
"CNRI-Python"
] | null | null | null | Programs/twinkle.py | Ortieez/LearningPy | d0b6ee47e5c86b68deb6bc056a18a8f4e6f08157 | [
"CNRI-Python"
] | null | null | null | Programs/twinkle.py | Ortieez/LearningPy | d0b6ee47e5c86b68deb6bc056a18a8f4e6f08157 | [
"CNRI-Python"
] | null | null | null | print("Twinkle, twinkle, little star,How I wonder what you are!Up above the world so high,Like a diamond in the sky.Twinkle, twinkle, little star,How I wonder what you are")
| 87 | 173 | 0.770115 | 33 | 174 | 4.060606 | 0.636364 | 0.208955 | 0.298507 | 0.358209 | 0.656716 | 0.656716 | 0.656716 | 0.656716 | 0.656716 | 0.656716 | 0 | 0 | 0.155172 | 174 | 1 | 174 | 174 | 0.911565 | 0 | 0 | 0 | 0 | 1 | 0.942529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 10 |
87e3c6a876739e642f0765359ec47b6b7f004834 | 47 | py | Python | comment.py | EleonoraBorzis/group-composition-action | 307ca083a90d250250bfdf2201d5c8730b3b820b | [
"MIT"
] | null | null | null | comment.py | EleonoraBorzis/group-composition-action | 307ca083a90d250250bfdf2201d5c8730b3b820b | [
"MIT"
] | 9 | 2021-03-30T14:03:24.000Z | 2021-04-30T08:50:53.000Z | comment.py | EleonoraBorzis/group-composition-action | 307ca083a90d250250bfdf2201d5c8730b3b820b | [
"MIT"
] | 2 | 2021-03-30T14:13:12.000Z | 2021-04-04T07:47:51.000Z | print("::set-output name=test::hello_output")
| 23.5 | 46 | 0.723404 | 7 | 47 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.765957 | 0.489362 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
35660a74d6a62aba3b4a7446ee453caeec5a2086 | 1,302 | py | Python | pylattice/matrix.py | steveKapturowski/pylattice | 123cff0bb9de2bbe986a607ae8a3d236b2dcabda | [
"MIT"
] | 1 | 2021-01-31T21:08:52.000Z | 2021-01-31T21:08:52.000Z | pylattice/matrix.py | steveKapturowski/pylattice | 123cff0bb9de2bbe986a607ae8a3d236b2dcabda | [
"MIT"
] | null | null | null | pylattice/matrix.py | steveKapturowski/pylattice | 123cff0bb9de2bbe986a607ae8a3d236b2dcabda | [
"MIT"
] | 2 | 2018-07-04T09:17:29.000Z | 2019-08-15T19:21:52.000Z | import numpy as np
DIRAC_MATRICES = np.array([
np.matrix([ #gamma_0
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0,-1, 0],
[0, 0, 0,-1],
], dtype=np.complex),
np.matrix([ #gamma_1
[0, 0, 0, 1],
[0, 0, 1, 0],
[0,-1, 0, 0],
[-1,0, 0, 0],
], dtype=np.complex),
np.matrix([ #gamma_2
[0, 0, 0,-1j],
[0, 0, 1j,0... | 16.275 | 34 | 0.441628 | 266 | 1,302 | 2.109023 | 0.075188 | 0.313725 | 0.229947 | 0.128342 | 0.925134 | 0.900178 | 0.868093 | 0.868093 | 0.750446 | 0.748663 | 0 | 0.191795 | 0.251152 | 1,302 | 79 | 35 | 16.481013 | 0.38359 | 0.043011 | 0 | 0.859155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014085 | 0 | 0.014085 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
35891386af90279660ee687d6245651bb6ed1c30 | 41,973 | py | Python | categories/richtext2/tests/selection.py | image72/browserscope | 44a63558ee376704d996851099bc7703128201cc | [
"Apache-2.0"
] | 22 | 2015-10-26T15:20:37.000Z | 2022-03-11T06:38:17.000Z | categories/richtext2/tests/selection.py | image72/browserscope | 44a63558ee376704d996851099bc7703128201cc | [
"Apache-2.0"
] | 10 | 2016-01-22T18:46:19.000Z | 2019-07-19T12:49:51.000Z | categories/richtext2/tests/selection.py | mcauer/browserscope | a9c0e1a250774f14689e06f93ad274d0b9d725e4 | [
"Apache-2.0"
] | 12 | 2015-10-17T09:40:44.000Z | 2019-06-08T19:54:36.000Z |
SELECTION_TESTS = {
'id': 'S',
'caption': 'Selection Tests',
'checkAttrs': True,
'checkStyle': True,
'styleWithCSS': False,
'Proposed': [
{ 'desc': '',
'command': '',
'tests': [
]
},
{ 'desc': 'selectall',
'command': 'sele... | 54.298836 | 159 | 0.482429 | 5,049 | 41,973 | 3.965142 | 0.041592 | 0.055295 | 0.093407 | 0.07028 | 0.963836 | 0.953447 | 0.940509 | 0.925125 | 0.886613 | 0.835714 | 0 | 0.097282 | 0.293451 | 41,973 | 772 | 160 | 54.369171 | 0.577792 | 0 | 0 | 0.467692 | 0 | 0.109231 | 0.648567 | 0.201044 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
35a36da8907a666af8cd4a653fe71e43ff4b58d9 | 1,088 | py | Python | src/nntm/datasets/__init__.py | suud/nntm | 48ba15f3ec07d8787f86d8cf043481fa9f9cc328 | [
"BSD-3-Clause"
] | 1 | 2021-12-19T17:09:51.000Z | 2021-12-19T17:09:51.000Z | src/nntm/datasets/__init__.py | suud/nntm | 48ba15f3ec07d8787f86d8cf043481fa9f9cc328 | [
"BSD-3-Clause"
] | null | null | null | src/nntm/datasets/__init__.py | suud/nntm | 48ba15f3ec07d8787f86d8cf043481fa9f9cc328 | [
"BSD-3-Clause"
] | null | null | null | from ._numerai_main import (
fetch_numerai_training,
fetch_numerai_test,
fetch_numerai_validation,
fetch_numerai_live,
fetch_numerai_tournament,
fetch_numerai_example_predictions,
fetch_numerai_example_validation_predictions,
fetch_numerai_feature_metadata,
submit_numerai_tournament,... | 25.904762 | 51 | 0.759191 | 118 | 1,088 | 6.29661 | 0.20339 | 0.258412 | 0.102288 | 0.067295 | 0.934051 | 0.934051 | 0.934051 | 0.934051 | 0.934051 | 0.934051 | 0 | 0 | 0.170037 | 1,088 | 41 | 52 | 26.536585 | 0.822813 | 0 | 0 | 0 | 0 | 0 | 0.352941 | 0.185662 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ea26300591cec8c85770c441e72f271f4c651422 | 185 | py | Python | simpa/log/__init__.py | IMSY-DKFZ/simpa | b8bddcf43a4bff2564f0ec208dc511b82e49bfb4 | [
"MIT"
] | 3 | 2022-03-14T15:40:09.000Z | 2022-03-20T02:34:25.000Z | simpa/log/__init__.py | jgroehl/simpa | e56f0802e5a8555ee8bb139dd4f776025e7e9267 | [
"MIT"
] | 3 | 2022-03-18T07:19:12.000Z | 2022-03-30T12:15:19.000Z | simpa/log/__init__.py | IMSY-DKFZ/simpa | b8bddcf43a4bff2564f0ec208dc511b82e49bfb4 | [
"MIT"
] | null | null | null | # SPDX-FileCopyrightText: 2021 Division of Intelligent Medical Systems, DKFZ
# SPDX-FileCopyrightText: 2021 Janek Groehl
# SPDX-License-Identifier: MIT
from .file_logger import Logger
| 30.833333 | 76 | 0.816216 | 23 | 185 | 6.521739 | 0.782609 | 0.28 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04908 | 0.118919 | 185 | 5 | 77 | 37 | 0.871166 | 0.783784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ea4092d92e4a080841f600ee3b31f015ac091630 | 8,508 | py | Python | guardian/managers.py | vitan/django-guardian | 8bcf490873b39600accb043350116d7efafde8d2 | [
"BSD-2-Clause"
] | 1 | 2015-11-06T00:47:01.000Z | 2015-11-06T00:47:01.000Z | guardian/managers.py | vitan/django-guardian | 8bcf490873b39600accb043350116d7efafde8d2 | [
"BSD-2-Clause"
] | null | null | null | guardian/managers.py | vitan/django-guardian | 8bcf490873b39600accb043350116d7efafde8d2 | [
"BSD-2-Clause"
] | null | null | null | from __future__ import unicode_literals
from django.db import models
from django.contrib.contenttypes.models import ContentType
from guardian.exceptions import ObjectNotPersisted
from guardian.models import Permission
import warnings
# TODO: consolidate UserObjectPermissionManager and GroupObjectPermissionManager
c... | 37.315789 | 201 | 0.572285 | 916 | 8,508 | 5.165939 | 0.136463 | 0.019019 | 0.016906 | 0.025359 | 0.870668 | 0.858411 | 0.830516 | 0.787405 | 0.764159 | 0.747887 | 0 | 0.001402 | 0.329455 | 8,508 | 227 | 202 | 37.480176 | 0.828046 | 0.141279 | 0 | 0.76129 | 0 | 0.012903 | 0.167449 | 0.027742 | 0 | 0 | 0 | 0.004405 | 0 | 1 | 0.070968 | false | 0 | 0.03871 | 0 | 0.180645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ea47c9a45b7dd9657a139fcbacf18a9a59ed2d3b | 573 | py | Python | Day 3/second_largest_in_list.py | tushartrip1010/100_days_code_py | ee74b429e98cdd8bdf8661cf987da67c9fee5a3e | [
"Apache-2.0"
] | null | null | null | Day 3/second_largest_in_list.py | tushartrip1010/100_days_code_py | ee74b429e98cdd8bdf8661cf987da67c9fee5a3e | [
"Apache-2.0"
] | null | null | null | Day 3/second_largest_in_list.py | tushartrip1010/100_days_code_py | ee74b429e98cdd8bdf8661cf987da67c9fee5a3e | [
"Apache-2.0"
] | null | null | null | # Approach 1:
def Second_Largest(Arr):
Arr.remove(max(Arr))
return max(Arr)
a = []
n = int(input("How Many Elements: "))
print("Enter The Elements: ")
for i in range(0, n):
element = int(input())
a.append(element)
print(f"Second Largest: {Second_Largest(a)}")
# Approach 2:
def Se... | 18.483871 | 46 | 0.602094 | 83 | 573 | 4.108434 | 0.349398 | 0.228739 | 0.093842 | 0.111437 | 0.709677 | 0.709677 | 0.709677 | 0.709677 | 0.709677 | 0.709677 | 0 | 0.011338 | 0.230366 | 573 | 30 | 47 | 19.1 | 0.761905 | 0.04014 | 0 | 0.842105 | 0 | 0 | 0.286267 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0 | 0.052632 | 0.210526 | 0.210526 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ea53ff63df2abc2ab3a24b4c22a1c3c4516f10bc | 7,414 | py | Python | constants.py | akk988/Coding_Challenge_Private | 23c0067414e02f55d622e63003698d4ffbf31629 | [
"Apache-2.0"
] | 1 | 2022-03-09T19:21:47.000Z | 2022-03-09T19:21:47.000Z | constants.py | akk988/Coding_Challenge_Private | 23c0067414e02f55d622e63003698d4ffbf31629 | [
"Apache-2.0"
] | null | null | null | constants.py | akk988/Coding_Challenge_Private | 23c0067414e02f55d622e63003698d4ffbf31629 | [
"Apache-2.0"
] | null | null | null | # Variables to be used for developing and testing the program
INTERVALS = [[1, 2], [1, 7], [8, 11], [11, 14],
[8, 10], [32, 36], [33, 35], [105, 108]]
"""
INTERVALS = [[1, 2], [1, 7], [8, 11], [11, 14],
[8, 10], [32, 326], [33, 345], [105, 1038], [
1, 2], [1, 7], [8, 11], [1... | 55.744361 | 94 | 0.306043 | 1,081 | 7,414 | 2.098982 | 0.041628 | 0.055531 | 0.083297 | 0.111062 | 0.972675 | 0.972675 | 0.972675 | 0.972675 | 0.972675 | 0.972675 | 0 | 0.495479 | 0.403291 | 7,414 | 132 | 95 | 56.166667 | 0.017405 | 0.007958 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ea74b92df6802370268e213282212f9d121f8df6 | 5,604 | py | Python | gocardless_pro/resources/payer_authorisation.py | gdvalderrama/gocardless-pro-python | 0ff8001f5bba11673c4fa0f30d26eca61a1219ba | [
"MIT"
] | 30 | 2015-07-08T21:10:10.000Z | 2022-02-17T10:08:55.000Z | gocardless_pro/resources/payer_authorisation.py | gdvalderrama/gocardless-pro-python | 0ff8001f5bba11673c4fa0f30d26eca61a1219ba | [
"MIT"
] | 21 | 2015-12-14T02:24:52.000Z | 2022-02-05T15:56:00.000Z | gocardless_pro/resources/payer_authorisation.py | gdvalderrama/gocardless-pro-python | 0ff8001f5bba11673c4fa0f30d26eca61a1219ba | [
"MIT"
] | 19 | 2016-02-10T15:57:42.000Z | 2022-02-05T10:21:05.000Z | # WARNING: Do not edit by hand, this file was generated by Crank:
#
# https://github.com/gocardless/crank
#
class PayerAuthorisation(object):
"""A thin wrapper around a payer_authorisation, providing easy access to its
attributes.
Example:
payer_authorisation = client.payer_authorisations.get()
... | 23.745763 | 80 | 0.58137 | 561 | 5,604 | 5.654189 | 0.15508 | 0.225095 | 0.180958 | 0.27995 | 0.60971 | 0.494956 | 0.287516 | 0.181274 | 0.181274 | 0.16425 | 0 | 0.001581 | 0.322627 | 5,604 | 235 | 81 | 23.846809 | 0.834036 | 0.085118 | 0 | 0.47482 | 1 | 0 | 0.086879 | 0.017139 | 0 | 0 | 0 | 0 | 0 | 1 | 0.330935 | false | 0 | 0 | 0.294964 | 0.661871 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
ea77abae12829de0b3b5eef257e35591123dc5a4 | 7,441 | py | Python | tests/charts-out/test_graphics_charts_barcharts_sampleV2b.py | debragail/reportlab-mirror | 1e5814e1313ed50d5abb65487b207711cb4f7595 | [
"BSD-3-Clause"
] | 1 | 2020-05-21T23:34:55.000Z | 2020-05-21T23:34:55.000Z | tests/charts-out/test_graphics_charts_barcharts_sampleV2b.py | debragail/reportlab-mirror | 1e5814e1313ed50d5abb65487b207711cb4f7595 | [
"BSD-3-Clause"
] | null | null | null | tests/charts-out/test_graphics_charts_barcharts_sampleV2b.py | debragail/reportlab-mirror | 1e5814e1313ed50d5abb65487b207711cb4f7595 | [
"BSD-3-Clause"
] | null | null | null | #Autogenerated by ReportLab guiedit do not edit
from reportlab.graphics.shapes import _DrawingEditorMixin, Drawing, Group, Rect, Line, String
from reportlab.lib.colors import Color, CMYKColor, PCMYKColor
class ExplodedDrawing_Drawing(_DrawingEditorMixin,Drawing):
def __init__(self,width=400,height=200,*args,**kw):
... | 99.213333 | 236 | 0.768579 | 1,231 | 7,441 | 4.619821 | 0.109667 | 0.03341 | 0.029541 | 0.053455 | 0.855108 | 0.842272 | 0.842272 | 0.84192 | 0.84192 | 0.84192 | 0 | 0.128933 | 0.034807 | 7,441 | 74 | 237 | 100.554054 | 0.662907 | 0.007526 | 0 | 0.171429 | 1 | 0 | 0.037112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014286 | false | 0 | 0.028571 | 0 | 0.057143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.