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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
028d198e685860d8446dca0cdc57694a48f69ce9 | 2,865 | py | Python | cirq-rigetti/cirq_rigetti/sampler_parametric_circuit_test.py | dabacon/Cirq | 54286063f679d67501ff1b905cd16b879feaae27 | [
"Apache-2.0"
] | 1 | 2021-04-29T15:30:32.000Z | 2021-04-29T15:30:32.000Z | cirq-rigetti/cirq_rigetti/sampler_parametric_circuit_test.py | bradyb/Cirq | 610b0d4ea3a7862169610797266734c844ddcc1f | [
"Apache-2.0"
] | 1 | 2020-04-03T20:23:20.000Z | 2020-04-03T20:23:20.000Z | cirq-rigetti/cirq_rigetti/sampler_parametric_circuit_test.py | bradyb/Cirq | 610b0d4ea3a7862169610797266734c844ddcc1f | [
"Apache-2.0"
] | 2 | 2021-09-22T11:16:46.000Z | 2021-09-23T12:55:22.000Z | # pylint: disable=wrong-or-nonexistent-copyright-notice
from typing import cast, Tuple
import pytest
import cirq
from pyquil import get_qc
from pyquil.api import QVM
from cirq_rigetti import RigettiQCSSampler, circuit_sweep_executors
@pytest.mark.rigetti_integration
def test_parametric_circuit_through_sampler(
pa... | 32.191011 | 97 | 0.682024 | 362 | 2,865 | 5.259669 | 0.254144 | 0.071429 | 0.044118 | 0.056723 | 0.830882 | 0.830882 | 0.830882 | 0.830882 | 0.830882 | 0.830882 | 0 | 0.020053 | 0.216754 | 2,865 | 88 | 98 | 32.556818 | 0.828431 | 0.155323 | 0 | 0.730159 | 0 | 0 | 0.010046 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.031746 | false | 0 | 0.095238 | 0 | 0.126984 | 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 |
02db199cfcaf0b12cb849ba98237b2a0cee9729a | 45 | py | Python | m4/models/XLMR/tokenizer.py | autoliuweijie/m3py | a4c6209d7266cf226699f73bb6ebb52146856ac1 | [
"MIT"
] | 1 | 2021-07-22T04:58:53.000Z | 2021-07-22T04:58:53.000Z | m4/models/XLMR/tokenizer.py | autoliuweijie/m3py | a4c6209d7266cf226699f73bb6ebb52146856ac1 | [
"MIT"
] | 2 | 2022-01-30T07:26:48.000Z | 2022-03-16T10:04:06.000Z | m4/models/XLMR/tokenizer.py | autoliuweijie/m4 | a4c6209d7266cf226699f73bb6ebb52146856ac1 | [
"MIT"
] | null | null | null | from transformers import XLMRobertaTokenizer
| 22.5 | 44 | 0.911111 | 4 | 45 | 10.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b82851237b0480eb0909545914125f83fac13739 | 141 | py | Python | garbledcircuit/__init__.py | babak1369/TemplateSecurity | 3b4aa70d51e02f3fa0d99e2e068cadd7a865baf0 | [
"MIT"
] | 1 | 2020-03-20T05:21:39.000Z | 2020-03-20T05:21:39.000Z | garbledcircuit/__init__.py | babak1369/TemplateSecurity | 3b4aa70d51e02f3fa0d99e2e068cadd7a865baf0 | [
"MIT"
] | null | null | null | garbledcircuit/__init__.py | babak1369/TemplateSecurity | 3b4aa70d51e02f3fa0d99e2e068cadd7a865baf0 | [
"MIT"
] | null | null | null | from .garbled_circuit import *
from .template_security import *
from .decimal_circuit import *
from .degarbling import *
from .utils import * | 28.2 | 32 | 0.794326 | 18 | 141 | 6.055556 | 0.5 | 0.366972 | 0.311927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134752 | 141 | 5 | 33 | 28.2 | 0.893443 | 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 |
b8b4167d3cee324c9f2183f4a59ff975f13afcd1 | 29,601 | py | Python | 01-Kayak /bookingscrap/bookingscrap/spiders/hotel.py | anatolereffet/Jedha_portfolio | c352d4b8c0d3a30b500ecdc50cdd95f7c96bbcb8 | [
"MIT"
] | null | null | null | 01-Kayak /bookingscrap/bookingscrap/spiders/hotel.py | anatolereffet/Jedha_portfolio | c352d4b8c0d3a30b500ecdc50cdd95f7c96bbcb8 | [
"MIT"
] | null | null | null | 01-Kayak /bookingscrap/bookingscrap/spiders/hotel.py | anatolereffet/Jedha_portfolio | c352d4b8c0d3a30b500ecdc50cdd95f7c96bbcb8 | [
"MIT"
] | null | null | null | import scrapy
import json
import os
class HotelSpider(scrapy.Spider):
name = 'hotel'
allowed_domains = ['booking.com']
USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36'
custom_settings = {"AUTOTHROTTLE_ENABLED":'True', '... | 321.75 | 848 | 0.855039 | 3,218 | 29,601 | 7.627408 | 0.081728 | 0.027297 | 0.020167 | 0.0242 | 0.927276 | 0.925158 | 0.925158 | 0.92365 | 0.92365 | 0.921002 | 0 | 0.146562 | 0.046417 | 29,601 | 91 | 849 | 325.285714 | 0.722996 | 0.006081 | 0 | 0 | 0 | 0.48 | 0.928333 | 0.012443 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.04 | 0 | 0.146667 | 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 |
b214e1f54e6f30b9c44fa7d015d320d0a79538ec | 3,148 | py | Python | models/methods/SwinTrack/positional_encoding/untied/absolute.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 143 | 2021-12-03T02:33:36.000Z | 2022-03-29T00:01:48.000Z | models/methods/SwinTrack/positional_encoding/untied/absolute.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 33 | 2021-12-03T10:32:05.000Z | 2022-03-31T02:13:55.000Z | models/methods/SwinTrack/positional_encoding/untied/absolute.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 24 | 2021-12-04T06:46:42.000Z | 2022-03-30T07:57:47.000Z | import torch
import torch.nn as nn
from timm.models.layers import trunc_normal_
from ..learned import Learned2DPositionalEncoder
class Untied2DPositionalEncoder(nn.Module):
def __init__(self, dim, num_heads, w, h, scale=None, with_q=True, with_k=True):
super(Untied2DPositionalEncoder, self).__init__()
... | 42.540541 | 105 | 0.631194 | 494 | 3,148 | 3.759109 | 0.135628 | 0.116855 | 0.051696 | 0.090469 | 0.814216 | 0.79483 | 0.79483 | 0.79483 | 0.76252 | 0.728056 | 0 | 0.016796 | 0.262389 | 3,148 | 73 | 106 | 43.123288 | 0.782946 | 0 | 0 | 0.738462 | 0 | 0 | 0.033672 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 1 | 0.061538 | false | 0 | 0.061538 | 0 | 0.246154 | 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 |
b295aa3f901e0ab28d823c1ad6cd52862836f62a | 192 | py | Python | binding/python/test/test.py | brndnmtthws/ccapi | a00770f3b15d913ecd10741c67c9ad26c3b51418 | [
"MIT"
] | 177 | 2021-02-19T02:01:04.000Z | 2022-03-30T07:31:21.000Z | binding/python/test/test.py | 97joseph/ccapi | a9653bce2656f3910958c965d9e59dbb81b10f02 | [
"MIT"
] | 188 | 2021-02-19T04:15:55.000Z | 2022-03-26T09:42:15.000Z | binding/python/test/test.py | 97joseph/ccapi | a9653bce2656f3910958c965d9e59dbb81b10f02 | [
"MIT"
] | 78 | 2021-03-05T03:01:13.000Z | 2022-03-29T07:10:01.000Z | from ccapi import Session
assert hasattr(Session, 'subscribe') and callable(getattr(Session, 'subscribe'))
assert hasattr(Session, 'sendRequest') and callable(getattr(Session, 'sendRequest'))
| 48 | 84 | 0.791667 | 22 | 192 | 6.909091 | 0.5 | 0.171053 | 0.263158 | 0.328947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 192 | 3 | 85 | 64 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
a22b93a0f5abbd05693dafa995b63c6aedbcb3d2 | 13,603 | py | Python | tests/test_blast/test_pseudocircularize.py | jvrana/pyblast | 0f7ee7575e97470bfd05a2373d9c68247ec4ead0 | [
"MIT"
] | 1 | 2021-07-16T16:29:02.000Z | 2021-07-16T16:29:02.000Z | tests/test_blast/test_pseudocircularize.py | jvrana/pyblast | 0f7ee7575e97470bfd05a2373d9c68247ec4ead0 | [
"MIT"
] | 8 | 2017-10-19T22:02:05.000Z | 2020-04-09T20:45:23.000Z | tests/test_blast/test_pseudocircularize.py | jvrana/pyblast2 | 573e3c52d8fff42c8a131b7d384e28065cd4e096 | [
"MIT"
] | null | null | null | import json
import pytest
from pyblast.blast import JSONBlast
from pyblast.utils import reverse_complement
class TestPseudocircularize:
@pytest.fixture
def seq_example(self):
return "aaacttcccaccccataccctattaccactgccaattacctagtggtttcatttactctaaacctgtgattcctctgaattattttcatttta"
@pytest.fixture
... | 33.097324 | 110 | 0.618393 | 1,508 | 13,603 | 5.343501 | 0.083554 | 0.070737 | 0.09928 | 0.077439 | 0.892529 | 0.875031 | 0.851824 | 0.851824 | 0.829983 | 0.818814 | 0 | 0.012369 | 0.274939 | 13,603 | 410 | 111 | 33.178049 | 0.804623 | 0.046901 | 0 | 0.784615 | 0 | 0 | 0.094825 | 0.026263 | 0 | 0 | 0 | 0 | 0.147692 | 1 | 0.138462 | false | 0.018462 | 0.012308 | 0.036923 | 0.227692 | 0.009231 | 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 |
a25f70b357070ee64b2332b2a5dc2ec5c0247f12 | 17,643 | py | Python | db/mvtec.py | CR320/DeeCamp-10Group-Unsupervised-Defect-Segmentation | f5f75093f21cee03b0b3c4c085fd9e22d75fc47e | [
"MIT"
] | 9 | 2020-02-23T19:18:36.000Z | 2021-06-26T03:19:39.000Z | db/mvtec.py | hukefei/DeeCamp-10Group-Unsupervised-Defect-Segmentation | f5f75093f21cee03b0b3c4c085fd9e22d75fc47e | [
"MIT"
] | 1 | 2020-01-09T02:38:54.000Z | 2020-01-09T02:40:47.000Z | db/mvtec.py | hukefei/DeeCamp-10Group-Unsupervised-Defect-Segmentation | f5f75093f21cee03b0b3c4c085fd9e22d75fc47e | [
"MIT"
] | 6 | 2020-05-04T03:26:39.000Z | 2021-06-12T04:03:51.000Z | """Data set tool of MVTEC
author: Haixin wang
e-mail: haixinwa@gmail.com
"""
import os
import re
import torch
import numpy as np
import torch.utils.data as data
from collections import OrderedDict
from .augment import *
from .eval_func import *
class Preproc(object):
"""Pre-procession of input image includes res... | 42.719128 | 171 | 0.506093 | 2,194 | 17,643 | 3.861896 | 0.105287 | 0.03045 | 0.044848 | 0.023014 | 0.853535 | 0.837956 | 0.819308 | 0.800543 | 0.781423 | 0.758763 | 0 | 0.026227 | 0.364621 | 17,643 | 413 | 172 | 42.719128 | 0.729616 | 0.068469 | 0 | 0.822823 | 0 | 0.006006 | 0.074931 | 0.014325 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03003 | false | 0.015015 | 0.024024 | 0 | 0.084084 | 0.003003 | 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 |
a2628f52d4fdbfad4736b10e542b592a827caa6b | 275 | py | Python | deephyper/search/nas/baselines/common/__init__.py | jtchilders/deephyper | 06f9653599757a69fa5720820f4de3a1f154b081 | [
"BSD-3-Clause"
] | 2 | 2020-08-26T09:15:27.000Z | 2020-08-26T09:19:13.000Z | deephyper/search/nas/baselines/common/__init__.py | jtchilders/deephyper | 06f9653599757a69fa5720820f4de3a1f154b081 | [
"BSD-3-Clause"
] | null | null | null | deephyper/search/nas/baselines/common/__init__.py | jtchilders/deephyper | 06f9653599757a69fa5720820f4de3a1f154b081 | [
"BSD-3-Clause"
] | null | null | null | # flake8: noqa F403
from deephyper.search.nas.baselines.common.console_util import *
from deephyper.search.nas.baselines.common.dataset import Dataset
from deephyper.search.nas.baselines.common.math_util import *
from deephyper.search.nas.baselines.common.misc_util import *
| 45.833333 | 65 | 0.836364 | 39 | 275 | 5.820513 | 0.384615 | 0.229075 | 0.334802 | 0.387665 | 0.740088 | 0.740088 | 0.414097 | 0.414097 | 0 | 0 | 0 | 0.015686 | 0.072727 | 275 | 5 | 66 | 55 | 0.87451 | 0.061818 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
a2d2dfb15c2dc8d1f553bb222a65a070c81c31df | 114 | py | Python | {{cookiecutter.project_name}}/tests/{{cookiecutter.project_name}}/conftest.py | slettner/pymetrius | 5c39a2b59c37256eca18061b74aaf411bc8d5154 | [
"MIT"
] | 5 | 2021-12-06T12:02:14.000Z | 2022-01-12T08:05:36.000Z | {{cookiecutter.project_name}}/tests/{{cookiecutter.project_name}}/conftest.py | slettner/pymetrius | 5c39a2b59c37256eca18061b74aaf411bc8d5154 | [
"MIT"
] | 4 | 2021-12-05T18:18:15.000Z | 2022-01-13T11:03:57.000Z | {{cookiecutter.project_name}}/tests/{{cookiecutter.project_name}}/conftest.py | slettner/pymetrius | 5c39a2b59c37256eca18061b74aaf411bc8d5154 | [
"MIT"
] | 1 | 2021-12-06T10:30:51.000Z | 2021-12-06T10:30:51.000Z | import pytest
@pytest.fixture()
def fixture_1():
return 1
@pytest.fixture()
def fixture_2():
return 2
| 9.5 | 17 | 0.666667 | 16 | 114 | 4.625 | 0.4375 | 0.351351 | 0.432432 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.210526 | 114 | 11 | 18 | 10.363636 | 0.777778 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.142857 | 0.285714 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
a2fff215da8e4c62b0539d9663bd09add264a9df | 68 | py | Python | mydata/base.py | fernaper/Ogame-API | c4640cdc906fcf20aaddd2bf1cc556178af41e77 | [
"Apache-2.0"
] | 4 | 2018-06-18T11:13:05.000Z | 2018-06-18T12:19:17.000Z | mydata/base.py | fernaper/Ogame-API | c4640cdc906fcf20aaddd2bf1cc556178af41e77 | [
"Apache-2.0"
] | 4 | 2018-06-16T10:09:08.000Z | 2018-06-19T14:28:15.000Z | mydata/base.py | fernaper/Ogame-API | c4640cdc906fcf20aaddd2bf1cc556178af41e77 | [
"Apache-2.0"
] | null | null | null | def update_base():
return True
def show_base():
return True | 13.6 | 18 | 0.676471 | 10 | 68 | 4.4 | 0.6 | 0.454545 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 68 | 5 | 19 | 13.6 | 0.846154 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
ac267d3922ef63c0e93d70afbb66eac686746d1b | 7,086 | py | Python | backend/endpoints/tests/unit/test_JWT_common.py | EficodeEntDemo/pluto | 3eb04821ef8053ea9437319b45f37bb5725bc413 | [
"Apache-2.0"
] | null | null | null | backend/endpoints/tests/unit/test_JWT_common.py | EficodeEntDemo/pluto | 3eb04821ef8053ea9437319b45f37bb5725bc413 | [
"Apache-2.0"
] | 86 | 2021-09-13T10:29:04.000Z | 2022-03-08T07:07:31.000Z | backend/endpoints/tests/unit/test_JWT_common.py | EficodeEntDemo/pluto | 3eb04821ef8053ea9437319b45f37bb5725bc413 | [
"Apache-2.0"
] | 2 | 2021-09-13T10:16:25.000Z | 2021-11-15T10:16:05.000Z | from unittest.mock import MagicMock
import json
import requests
import unittest
import os
import logging as log
from utils.common import LogManager
from utils.jwt_common import JWTParser, JWTVerificationException
log_manager = LogManager()
log_manager.init_logging(log_level=log.DEBUG)
class MockCognitoResponse:
... | 83.364706 | 1,109 | 0.853937 | 364 | 7,086 | 16.387363 | 0.351648 | 0.018106 | 0.007041 | 0.01207 | 0.858005 | 0.840067 | 0.830344 | 0.830344 | 0.830344 | 0.830344 | 0 | 0.110483 | 0.100762 | 7,086 | 84 | 1,110 | 84.357143 | 0.825643 | 0.008185 | 0 | 0.397059 | 0 | 0.014706 | 0.704241 | 0.636208 | 0 | 0 | 0 | 0 | 0.029412 | 1 | 0.102941 | false | 0.014706 | 0.117647 | 0 | 0.264706 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
3bd35f8c918c6a1f5b050543fc7e1c5f198502d7 | 63,538 | py | Python | tests/exchange/test_IbetSecurityTokenEscrow.py | BoostryJP/ibet-SmartContract | dc3f73a708ef145e7200ce58fce4e8171e21d3c2 | [
"Apache-2.0"
] | 10 | 2021-06-12T08:43:50.000Z | 2022-02-17T14:24:48.000Z | tests/exchange/test_IbetSecurityTokenEscrow.py | BoostryJP/ibet-SmartContract | dc3f73a708ef145e7200ce58fce4e8171e21d3c2 | [
"Apache-2.0"
] | 44 | 2021-04-11T06:43:10.000Z | 2022-03-30T12:42:32.000Z | tests/exchange/test_IbetSecurityTokenEscrow.py | BoostryJP/ibet-SmartContract | dc3f73a708ef145e7200ce58fce4e8171e21d3c2 | [
"Apache-2.0"
] | 1 | 2022-03-09T07:27:57.000Z | 2022-03-09T07:27:57.000Z | """
Copyright BOOSTRY Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distr... | 28.894043 | 108 | 0.549655 | 5,797 | 63,538 | 5.653269 | 0.034501 | 0.075918 | 0.06948 | 0.052972 | 0.922678 | 0.915202 | 0.894605 | 0.876877 | 0.866807 | 0.858507 | 0 | 0.010705 | 0.345746 | 63,538 | 2,198 | 109 | 28.907188 | 0.777652 | 0.084768 | 0 | 0.827895 | 0 | 0 | 0.078739 | 0.015698 | 0 | 0 | 0 | 0 | 0.110685 | 1 | 0.027511 | false | 0 | 0.00128 | 0 | 0.038388 | 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 |
02247aac43819f74b445487e3d6f057513600ffe | 713 | py | Python | neural_network/data.py | awesome-archive/Machine-Learning-with-Python | 898ebbf2d7c780cb5a89bad51d0b7e043e25879f | [
"MIT"
] | 942 | 2019-01-19T18:56:49.000Z | 2022-03-31T19:09:56.000Z | neural_network/data.py | skylaronomics/Machine-Learning-with-Python | 186a6f38f6719e5610e0143aecdf170c842ff107 | [
"MIT"
] | 4 | 2019-01-22T15:17:47.000Z | 2019-08-25T14:02:44.000Z | neural_network/data.py | skylaronomics/Machine-Learning-with-Python | 186a6f38f6719e5610e0143aecdf170c842ff107 | [
"MIT"
] | 176 | 2019-01-21T10:19:52.000Z | 2022-03-02T20:10:27.000Z | raw_digits = [
"""11111
1...1
1...1
1...1
11111""",
"""..1..
..1..
..1..
..1..
..1..""",
"""11111
....1
11111
1....
11111""",
"""11111
....1
11111
....1
11111""",
"""1...1
1...1... | 11.883333 | 16 | 0.220196 | 61 | 713 | 2.557377 | 0.065574 | 0.25641 | 0.538462 | 0.179487 | 0.942308 | 0.942308 | 0.833333 | 0.75 | 0.628205 | 0.628205 | 0 | 0.442771 | 0.534362 | 713 | 60 | 17 | 11.883333 | 0.027108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 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 |
027f01a54479b9f46b3c2f95bf1daa168ebec090 | 70 | py | Python | tos/tests/__init__.py | iiscsahoo/Enegy | 490c1edc674da4d1b7fb7203b034fa9b186cf848 | [
"BSD-3-Clause"
] | 2 | 2015-08-03T15:14:24.000Z | 2017-12-19T09:46:40.000Z | tos/tests/__init__.py | iiscsahoo/Enegy | 490c1edc674da4d1b7fb7203b034fa9b186cf848 | [
"BSD-3-Clause"
] | 1 | 2015-08-05T20:52:14.000Z | 2015-08-05T20:52:14.000Z | tos/tests/__init__.py | iiscsahoo/Enegy | 490c1edc674da4d1b7fb7203b034fa9b186cf848 | [
"BSD-3-Clause"
] | 1 | 2019-03-20T21:04:13.000Z | 2019-03-20T21:04:13.000Z | from tos.tests.test_models import *
from tos.tests.test_views import * | 35 | 35 | 0.814286 | 12 | 70 | 4.583333 | 0.583333 | 0.254545 | 0.436364 | 0.581818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 70 | 2 | 36 | 35 | 0.873016 | 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 |
5a2a1644867860e4dbd8c44000911be0f499b1c6 | 164 | py | Python | back/models/layers/common.py | nizhib/portrait-demo | b4dc80187824a07c3562c1580a1a7c4f2f4ecc93 | [
"MIT"
] | 47 | 2019-04-10T07:27:58.000Z | 2022-02-03T10:13:23.000Z | back/models/layers/common.py | nizhib/portrait-demo | b4dc80187824a07c3562c1580a1a7c4f2f4ecc93 | [
"MIT"
] | 3 | 2021-09-08T01:46:13.000Z | 2022-03-12T00:19:09.000Z | back/models/layers/common.py | nizhib/portrait-demo | b4dc80187824a07c3562c1580a1a7c4f2f4ecc93 | [
"MIT"
] | 17 | 2019-04-01T23:01:57.000Z | 2021-06-29T13:23:05.000Z | import torch.nn as nn
def conv3x3(in_channels, out_channels, dilation=1):
return nn.Conv2d(in_channels, out_channels, 3, padding=dilation, dilation=dilation)
| 27.333333 | 87 | 0.780488 | 25 | 164 | 4.96 | 0.6 | 0.16129 | 0.209677 | 0.33871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034722 | 0.121951 | 164 | 5 | 88 | 32.8 | 0.826389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 1 | 1 | 0 | 0 | 8 |
5a4a7e195f53e0b1d198da4f09df897f80fd1e12 | 2,325 | py | Python | djstripe/migrations/0018_auto_20180110_0559.py | ComFreight/cmft-stripe-integration | 85a2e14dcd6fffd24e999b1f383dd7eb006606e0 | [
"MIT"
] | null | null | null | djstripe/migrations/0018_auto_20180110_0559.py | ComFreight/cmft-stripe-integration | 85a2e14dcd6fffd24e999b1f383dd7eb006606e0 | [
"MIT"
] | null | null | null | djstripe/migrations/0018_auto_20180110_0559.py | ComFreight/cmft-stripe-integration | 85a2e14dcd6fffd24e999b1f383dd7eb006606e0 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.1 on 2018-01-10 03:59
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('djstripe', '0017_auto_20180110_0553'),
]
operations = [
migrations.RenameField(
model_name='account',
old_name='stripe_times... | 27.678571 | 48 | 0.526882 | 196 | 2,325 | 5.94898 | 0.239796 | 0.252144 | 0.312178 | 0.360206 | 0.766724 | 0.766724 | 0.766724 | 0.735849 | 0.735849 | 0.735849 | 0 | 0.021031 | 0.366022 | 2,325 | 83 | 49 | 28.012048 | 0.770014 | 0.019355 | 0 | 0.727273 | 1 | 0 | 0.197542 | 0.010097 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012987 | 0 | 0.051948 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
ce58b7e891f39940ed901346f4200d0ab6f8da39 | 229 | py | Python | venv/Lib/site-packages/hachoir/parser/video/__init__.py | surendra841/my-sample-test | adafe6d8964d8edcabf9c5e18bde9bdac90904b6 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/hachoir/parser/video/__init__.py | surendra841/my-sample-test | adafe6d8964d8edcabf9c5e18bde9bdac90904b6 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/hachoir/parser/video/__init__.py | surendra841/my-sample-test | adafe6d8964d8edcabf9c5e18bde9bdac90904b6 | [
"MIT"
] | null | null | null | from hachoir.parser.video.asf import AsfFile # noqa
from hachoir.parser.video.flv import FlvFile # noqa
from hachoir.parser.video.mpeg_video import MPEGVideoFile # noqa
from hachoir.parser.video.mpeg_ts import MPEG_TS # noqa
| 45.8 | 65 | 0.80786 | 35 | 229 | 5.2 | 0.371429 | 0.241758 | 0.373626 | 0.483516 | 0.472527 | 0.32967 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122271 | 229 | 4 | 66 | 57.25 | 0.905473 | 0.082969 | 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 |
ce9c8314df3fb830d5fa7ef46ded0ce6a6c7c2bb | 27 | py | Python | Python/Problems/The power/task.py | victoroliveros/Hyperskill | bd0f81d7479fc210e4b3e36e993bf93f1815b239 | [
"MIT"
] | 4 | 2020-08-07T06:24:00.000Z | 2021-01-23T14:40:35.000Z | Python/Problems/The power/task.py | victoroliveros/Hyperskill | bd0f81d7479fc210e4b3e36e993bf93f1815b239 | [
"MIT"
] | null | null | null | Python/Problems/The power/task.py | victoroliveros/Hyperskill | bd0f81d7479fc210e4b3e36e993bf93f1815b239 | [
"MIT"
] | 1 | 2020-09-20T11:48:16.000Z | 2020-09-20T11:48:16.000Z | print(int(31 ** 331) % 20)
| 13.5 | 26 | 0.555556 | 5 | 27 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 0.185185 | 27 | 1 | 27 | 27 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 7 |
cea2a934121ac8adf075cc769c79cbc71e741877 | 39,980 | py | Python | src/main/hostagerescue.py | yathartha1/Hostage-Rescue | 8a5dff50fd63eabfbe3b84e6fc2f18469d6d20ff | [
"MIT"
] | null | null | null | src/main/hostagerescue.py | yathartha1/Hostage-Rescue | 8a5dff50fd63eabfbe3b84e6fc2f18469d6d20ff | [
"MIT"
] | null | null | null | src/main/hostagerescue.py | yathartha1/Hostage-Rescue | 8a5dff50fd63eabfbe3b84e6fc2f18469d6d20ff | [
"MIT"
] | null | null | null | from random import choice
class rooms:
def __init__(self ,contents=None, left=None, right=None, front=None):
self.contents=contents
self.right=right
self.left=left
self.front=front
def getContents(self):
return self.contents
def getLeft(self):
return self.left... | 47.42586 | 121 | 0.541896 | 4,659 | 39,980 | 4.642413 | 0.056879 | 0.02885 | 0.03204 | 0.05918 | 0.844653 | 0.83499 | 0.833603 | 0.825373 | 0.814924 | 0.814138 | 0 | 0.030822 | 0.352401 | 39,980 | 843 | 122 | 47.42586 | 0.804565 | 0.00938 | 0 | 0.795602 | 0 | 0.011643 | 0.36476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037516 | false | 0 | 0.001294 | 0.005175 | 0.113842 | 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 |
ceda5588400d1f245a459cc98627ce03b6e7b9ad | 14,291 | py | Python | dbwriter.py | bcanvural/thesis | 4560d026231f56d56486c97af1dd2f494ca78c29 | [
"MIT"
] | 2 | 2017-09-12T08:34:12.000Z | 2020-11-27T14:13:13.000Z | dbwriter.py | bcanvural/thesis | 4560d026231f56d56486c97af1dd2f494ca78c29 | [
"MIT"
] | null | null | null | dbwriter.py | bcanvural/thesis | 4560d026231f56d56486c97af1dd2f494ca78c29 | [
"MIT"
] | 1 | 2020-11-27T14:13:17.000Z | 2020-11-27T14:13:17.000Z | #Script that writes things to a running mongodb
from pymongo import MongoClient
import os
from pathlib import Path
import json
import re
def tfidf_cv_category(db):
collection = db['tfidf-cv-category']
path = 'Calculated/tfidf/cv-category'
for filename in os.listdir(path):
if filename[-3:] == "csv":... | 40.948424 | 120 | 0.533972 | 1,548 | 14,291 | 4.830749 | 0.069121 | 0.056165 | 0.041187 | 0.032362 | 0.838994 | 0.764376 | 0.745253 | 0.733886 | 0.715298 | 0.699652 | 0 | 0.008567 | 0.322091 | 14,291 | 348 | 121 | 41.066092 | 0.763315 | 0.086138 | 0 | 0.707581 | 0 | 0 | 0.144053 | 0.069032 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083032 | false | 0 | 0.018051 | 0 | 0.101083 | 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 |
0cdfb43ba076cc441a4ed23cef3afa350bba265f | 356 | py | Python | merge/config.py | revolutionarysystems/merge | 919fe8d5d8e7d30057469c69eac808d50b80f9d7 | [
"BSD-3-Clause"
] | null | null | null | merge/config.py | revolutionarysystems/merge | 919fe8d5d8e7d30057469c69eac808d50b80f9d7 | [
"BSD-3-Clause"
] | 2 | 2021-02-08T20:13:14.000Z | 2021-06-01T21:20:16.000Z | merge/config.py | revolutionarysystems/merge | 919fe8d5d8e7d30057469c69eac808d50b80f9d7 | [
"BSD-3-Clause"
] | null | null | null | try:
from docmerge.config_custom import install_name, install_display_name, gdrive_root, local_root, email_credentials, email_default_recipient, remote_library, extend_path
except:
from .config_default import install_name, install_display_name, gdrive_root, local_root, email_credentials, email_default_recipi... | 59.333333 | 172 | 0.842697 | 47 | 356 | 5.914894 | 0.446809 | 0.093525 | 0.122302 | 0.172662 | 0.820144 | 0.820144 | 0.820144 | 0.820144 | 0.820144 | 0.820144 | 0 | 0 | 0.106742 | 356 | 5 | 173 | 71.2 | 0.874214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 10 |
0b663d90ebc0800fdf6370a539fc2d0f5098ca78 | 10,560 | py | Python | esperclient/api/commands_api.py | pallavigopi/esper-client-py | f7e71d3f25a5d91f35628b414e8abe9e6849d316 | [
"Apache-2.0"
] | null | null | null | esperclient/api/commands_api.py | pallavigopi/esper-client-py | f7e71d3f25a5d91f35628b414e8abe9e6849d316 | [
"Apache-2.0"
] | null | null | null | esperclient/api/commands_api.py | pallavigopi/esper-client-py | f7e71d3f25a5d91f35628b414e8abe9e6849d316 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
ESPER API REFERENCE
OpenAPI spec version: 1.0.0
Contact: developer@esper.io
---------------------------------------------------------
Copyright 2019 Shoonya Enterprises Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Li... | 39.256506 | 105 | 0.634754 | 1,256 | 10,560 | 5.102707 | 0.156051 | 0.04244 | 0.021844 | 0.022468 | 0.843813 | 0.82665 | 0.802777 | 0.802777 | 0.802777 | 0.77516 | 0 | 0.001834 | 0.277083 | 10,560 | 268 | 106 | 39.402985 | 0.8377 | 0.353314 | 0 | 0.706767 | 0 | 0 | 0.228446 | 0.04012 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037594 | false | 0 | 0.030075 | 0 | 0.120301 | 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 |
0ba86a892f16459893f1de9769f96229d30ac272 | 154 | py | Python | project/cms_put/admin.py | cborao/Django-cms-put | b97a906c5183e5136d17969e8bb71345616ac451 | [
"MIT"
] | null | null | null | project/cms_put/admin.py | cborao/Django-cms-put | b97a906c5183e5136d17969e8bb71345616ac451 | [
"MIT"
] | null | null | null | project/cms_put/admin.py | cborao/Django-cms-put | b97a906c5183e5136d17969e8bb71345616ac451 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from django.contrib import admin
from .models import Content
admin.site.register(Content)
| 19.25 | 32 | 0.811688 | 22 | 154 | 5.681818 | 0.5 | 0.16 | 0.272 | 0.368 | 0.448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 154 | 7 | 33 | 22 | 0.932836 | 0.168831 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
e7e3a9d985c83c4323cb598aa3f3188822a49bcd | 14,043 | py | Python | tests/sep/test_stellar_web_authentication.py | hentr/py-stellar-base | 126f1a7c8baeca09ba7a7c62239cd6b1a1bc83d7 | [
"Apache-2.0"
] | null | null | null | tests/sep/test_stellar_web_authentication.py | hentr/py-stellar-base | 126f1a7c8baeca09ba7a7c62239cd6b1a1bc83d7 | [
"Apache-2.0"
] | null | null | null | tests/sep/test_stellar_web_authentication.py | hentr/py-stellar-base | 126f1a7c8baeca09ba7a7c62239cd6b1a1bc83d7 | [
"Apache-2.0"
] | null | null | null | import os
import time
import pytest
from stellar_sdk.sep.exceptions import InvalidSep10ChallengeError
from stellar_sdk.operation import ManageData
from stellar_sdk import Keypair, Network, Account
from stellar_sdk.sep.stellar_web_authentication import (
build_challenge_transaction,
verify_challenge_transaction... | 37.150794 | 87 | 0.64452 | 1,454 | 14,043 | 5.848693 | 0.082531 | 0.115945 | 0.037512 | 0.04198 | 0.825494 | 0.812676 | 0.796214 | 0.789628 | 0.784925 | 0.76658 | 0 | 0.014304 | 0.28313 | 14,043 | 377 | 88 | 37.249337 | 0.830436 | 0 | 0 | 0.691617 | 0 | 0 | 0.049989 | 0.007976 | 0 | 0 | 0 | 0 | 0.026946 | 1 | 0.038922 | false | 0.125749 | 0.026946 | 0 | 0.068862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
f0263780c0bdb8da536bd995e5305960cecd9220 | 34,253 | py | Python | tests/changes/buildsteps/test_default.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 443 | 2015-01-03T16:28:39.000Z | 2021-04-26T16:39:46.000Z | tests/changes/buildsteps/test_default.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 12 | 2015-07-30T19:07:16.000Z | 2016-11-07T23:11:21.000Z | tests/changes/buildsteps/test_default.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 47 | 2015-01-09T10:04:00.000Z | 2020-11-18T17:58:19.000Z | from __future__ import absolute_import
import mock
from datetime import datetime, timedelta
from flask import current_app
from changes.buildsteps.default import (
DEFAULT_ARTIFACTS, DEFAULT_ENV, DEFAULT_PATH, DEFAULT_RELEASE,
DefaultBuildStep
)
from changes.config import db
from changes.constants import Resu... | 40.392689 | 121 | 0.611129 | 3,956 | 34,253 | 5.135238 | 0.072295 | 0.063894 | 0.086192 | 0.024809 | 0.85267 | 0.813389 | 0.8 | 0.793847 | 0.772877 | 0.760669 | 0 | 0.008239 | 0.266546 | 34,253 | 847 | 122 | 40.440378 | 0.800382 | 0.043412 | 0 | 0.755556 | 0 | 0 | 0.142953 | 0.013137 | 0 | 0 | 0 | 0 | 0.32 | 1 | 0.037037 | false | 0 | 0.020741 | 0.001481 | 0.060741 | 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 |
b2c0d73848a07bb443861594f3accbf7d3b21b65 | 8,708 | py | Python | tests/integration/serverless/v1/service/environment/test_variable.py | fefi95/twilio-python | b9bfea293b6133fe84d4d8d3ac4e2a75381c3881 | [
"MIT"
] | 1 | 2019-12-30T21:46:55.000Z | 2019-12-30T21:46:55.000Z | tests/integration/serverless/v1/service/environment/test_variable.py | fefi95/twilio-python | b9bfea293b6133fe84d4d8d3ac4e2a75381c3881 | [
"MIT"
] | null | null | null | tests/integration/serverless/v1/service/environment/test_variable.py | fefi95/twilio-python | b9bfea293b6133fe84d4d8d3ac4e2a75381c3881 | [
"MIT"
] | null | null | null | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class VariableTestCase(Integrat... | 45.119171 | 194 | 0.600482 | 591 | 8,708 | 8.742809 | 0.155668 | 0.038707 | 0.030966 | 0.038707 | 0.905554 | 0.880008 | 0.860074 | 0.852526 | 0.852526 | 0.852526 | 0 | 0.138622 | 0.295016 | 8,708 | 192 | 195 | 45.354167 | 0.703046 | 0.012517 | 0 | 0.767677 | 1 | 0.030303 | 0.295561 | 0.152703 | 0 | 0 | 0 | 0 | 0.151515 | 1 | 0.10101 | false | 0 | 0.040404 | 0 | 0.151515 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b2d9c97663a08516f0a8da92772cb27adf7536e1 | 96,178 | py | Python | sfft/sfftcore/SFFTConfigure.py | thomasvrussell/sfft | 7b165ac301254ca61dc966e5915c1a407fad6f88 | [
"MIT"
] | 8 | 2021-09-20T04:21:26.000Z | 2021-09-22T14:28:10.000Z | sfft/sfftcore/SFFTConfigure.py | thomasvrussell/sfft | 7b165ac301254ca61dc966e5915c1a407fad6f88 | [
"MIT"
] | null | null | null | sfft/sfftcore/SFFTConfigure.py | thomasvrussell/sfft | 7b165ac301254ca61dc966e5915c1a407fad6f88 | [
"MIT"
] | 2 | 2021-09-22T06:52:56.000Z | 2021-09-22T22:54:47.000Z | import os
import sys
import numpy as np
__author__ = "Lei Hu <hulei@pmo.ac.cn>"
__version__ = "v1.1"
class SingleSFFTConfigure_Pycuda:
@staticmethod
def SSCP(NX, NY, KerHW, KerPolyOrder=2, BGPolyOrder=2, ConstPhotRatio=True, CUDA_DEVICE_4SUBTRACT='0'):
import pycuda.autoinit
from pycuda.compi... | 43.071205 | 137 | 0.471542 | 11,191 | 96,178 | 3.87204 | 0.032973 | 0.011447 | 0.009231 | 0.011077 | 0.894951 | 0.880366 | 0.867165 | 0.862088 | 0.854311 | 0.85168 | 0 | 0.035875 | 0.363264 | 96,178 | 2,232 | 138 | 43.090502 | 0.671702 | 0.140094 | 0 | 0.787562 | 0 | 0.064655 | 0.620103 | 0.165458 | 0 | 0 | 0 | 0.000448 | 0 | 1 | 0.013547 | false | 0 | 0.00431 | 0 | 0.034483 | 0.005542 | 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 |
e8f82f5eaca6b1018660e03cbce5722b7568a8c7 | 2,030 | py | Python | test/trans_track.py | time-track-tool/time-track-tool | a1c280f32a7766e460c862633b748fa206256f24 | [
"MIT"
] | null | null | null | test/trans_track.py | time-track-tool/time-track-tool | a1c280f32a7766e460c862633b748fa206256f24 | [
"MIT"
] | 1 | 2019-07-03T13:32:38.000Z | 2019-07-03T13:32:38.000Z | test/trans_track.py | time-track-tool/time-track-tool | a1c280f32a7766e460c862633b748fa206256f24 | [
"MIT"
] | 1 | 2019-05-15T16:01:31.000Z | 2019-05-15T16:01:31.000Z | transprop_perms = \
[ ( 'contact.customer.firstname'
, []
)
, ( 'contact.customer.function'
, []
)
, ( 'contact.customer.lastname'
, []
)
, ( 'contact.customer.lookalike_firstname'
, []
)
, ( 'contact.customer.lookalike_function'
, []
)
... | 56.388889 | 296 | 0.599015 | 233 | 2,030 | 5.145923 | 0.171674 | 0.116764 | 0.183486 | 0.058382 | 0.808173 | 0.808173 | 0.808173 | 0.808173 | 0.808173 | 0.77231 | 0 | 0 | 0.166502 | 2,030 | 35 | 297 | 58 | 0.708629 | 0 | 0 | 0.285714 | 0 | 0 | 0.646305 | 0.215271 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
333417016a44239687d0a438d7bf9682f5cfa657 | 6,310 | py | Python | pdbpy/extract.py | gchevrot/pdbpy | cbf17c6ea191679590f2f57849e05a14ce1822bf | [
"BSD-3-Clause-Clear"
] | null | null | null | pdbpy/extract.py | gchevrot/pdbpy | cbf17c6ea191679590f2f57849e05a14ce1822bf | [
"BSD-3-Clause-Clear"
] | null | null | null | pdbpy/extract.py | gchevrot/pdbpy | cbf17c6ea191679590f2f57849e05a14ce1822bf | [
"BSD-3-Clause-Clear"
] | null | null | null | import numpy as np
from pdbpy.download import download_pdb
def extract_coordinates(pdb_name, download_from_pdb=True):
"""
Extracting the lines containing the coordinates of the 1st chain
Parameters
----------
pdb_name:
Name of the pdb file. (ex: 1dpx or 1dpx.pdb)
download_from_pdb:
... | 36.473988 | 104 | 0.581141 | 812 | 6,310 | 4.403941 | 0.137931 | 0.05481 | 0.050336 | 0.03132 | 0.972595 | 0.972595 | 0.972595 | 0.972595 | 0.972595 | 0.972595 | 0 | 0.026415 | 0.328051 | 6,310 | 172 | 105 | 36.686047 | 0.816981 | 0.478288 | 0 | 0.882353 | 0 | 0 | 0.034574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.029412 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
334e9d6b37c30ab9ea2b79380b5e7b173a0e7ffa | 551 | py | Python | filecompare/__init__.py | thomasms/filecompare | 393af84939689481da27460cccb52040e6171e01 | [
"MIT"
] | null | null | null | filecompare/__init__.py | thomasms/filecompare | 393af84939689481da27460cccb52040e6171e01 | [
"MIT"
] | null | null | null | filecompare/__init__.py | thomasms/filecompare | 393af84939689481da27460cccb52040e6171e01 | [
"MIT"
] | null | null | null | from filecompare.compare.filesimplecompare import FileSimpleCompare
from filecompare.compare.filelinecompare import FileLineCompare
from filecompare.compare.filediffcompare import FileLineDiffCompare
from filecompare.compare.filelinecomparewithfloattolerance import FileLineCompareWithFloatTolerance
from filecompare.com... | 61.222222 | 107 | 0.909256 | 46 | 551 | 10.891304 | 0.304348 | 0.239521 | 0.263473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058076 | 551 | 8 | 108 | 68.875 | 0.965318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 1 | 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 |
6845b818fb3dc9758dfdea2b0c8bd8f22c07b9e6 | 450 | py | Python | SimpleCV/MachineLearning/__init__.py | M93Pragya/SimpleCV | 6c4d61b6d1d9d856b471910107cad0838954d2b2 | [
"BSD-3-Clause"
] | 1,686 | 2015-01-02T08:47:08.000Z | 2022-03-26T11:55:35.000Z | SimpleCV/MachineLearning/__init__.py | Tester2009/SimpleCV | 7372a0c58eead9c3228315d65ae1903e4b8eb3f1 | [
"BSD-3-Clause"
] | 64 | 2015-01-05T11:23:11.000Z | 2021-12-17T18:29:10.000Z | SimpleCV/MachineLearning/__init__.py | Tester2009/SimpleCV | 7372a0c58eead9c3228315d65ae1903e4b8eb3f1 | [
"BSD-3-Clause"
] | 599 | 2015-01-10T17:37:08.000Z | 2022-03-28T05:31:51.000Z | from SimpleCV.MachineLearning.SVMClassifier import *
from SimpleCV.MachineLearning.TreeClassifier import *
from SimpleCV.MachineLearning.KNNClassifier import *
from SimpleCV.MachineLearning.NaiveBayesClassifier import *
from SimpleCV.MachineLearning.ShapeContextClassifier import *
from SimpleCV.MachineLearning.Confusio... | 50 | 61 | 0.875556 | 40 | 450 | 9.85 | 0.3 | 0.243655 | 0.548223 | 0.586294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071111 | 450 | 8 | 62 | 56.25 | 0.942584 | 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 |
6866dace91928e25e2fa1a89371000fecc89a3ef | 47 | py | Python | src/py_v8n/rules/__init__.py | nschejtman/py-v8n | 00210fe4a3dcb586b4551b5be8be0e82771063fb | [
"MIT"
] | null | null | null | src/py_v8n/rules/__init__.py | nschejtman/py-v8n | 00210fe4a3dcb586b4551b5be8be0e82771063fb | [
"MIT"
] | null | null | null | src/py_v8n/rules/__init__.py | nschejtman/py-v8n | 00210fe4a3dcb586b4551b5be8be0e82771063fb | [
"MIT"
] | null | null | null | from .rules import *
from .type_rules import *
| 15.666667 | 25 | 0.744681 | 7 | 47 | 4.857143 | 0.571429 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 26 | 23.5 | 0.871795 | 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 |
68943b44390053c17b515ef69042d34f45ecbe1a | 32,339 | py | Python | coop_cms/apps/test_app/tests.py | BenjCherpas/coop_cms | 3e50990fdff6ce186509fca7f8b8f3b3134005f1 | [
"BSD-3-Clause"
] | null | null | null | coop_cms/apps/test_app/tests.py | BenjCherpas/coop_cms | 3e50990fdff6ce186509fca7f8b8f3b3134005f1 | [
"BSD-3-Clause"
] | null | null | null | coop_cms/apps/test_app/tests.py | BenjCherpas/coop_cms | 3e50990fdff6ce186509fca7f8b8f3b3134005f1 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.conf import settings
from datetime import datetime
import logging
from django.contrib.auth.models import User, Permission
from django.contrib.contenttypes.models import ContentType
try:
from django.urls import reverse
except:
from d... | 38.225768 | 113 | 0.613037 | 3,792 | 32,339 | 5.003956 | 0.063819 | 0.082213 | 0.045534 | 0.020553 | 0.84917 | 0.825929 | 0.809275 | 0.784559 | 0.770277 | 0.751673 | 0 | 0.019094 | 0.264758 | 32,339 | 845 | 114 | 38.271006 | 0.778946 | 0.023872 | 0 | 0.706337 | 0 | 0.001546 | 0.141543 | 0.031429 | 0 | 0 | 0 | 0 | 0.219475 | 1 | 0.074189 | false | 0.006182 | 0.026275 | 0.001546 | 0.117465 | 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 |
d7d2ca17b10ee9439f1a26073183bc7b704ec7b0 | 9,948 | py | Python | src/batch/test/decorators_test.py | mittrekkie/batch | f169bdfd769d75ed620d156fb8171ba313f3e0e3 | [
"MIT"
] | 1 | 2016-07-19T21:58:44.000Z | 2016-07-19T21:58:44.000Z | src/batch/test/decorators_test.py | btrekkie/batch | f169bdfd769d75ed620d156fb8171ba313f3e0e3 | [
"MIT"
] | null | null | null | src/batch/test/decorators_test.py | btrekkie/batch | f169bdfd769d75ed620d156fb8171ba313f3e0e3 | [
"MIT"
] | null | null | null | import unittest
from batch import BatchExecutor
from decorators_test_object import GenDecoratorsTestObject
from error import BatchTestError
class GenDecoratorsTest(unittest.TestCase):
def test_cached_fibonacci(self):
"""Test various cached implementations of computing Fibonacci numbers.
Test var... | 44.810811 | 79 | 0.641938 | 1,117 | 9,948 | 5.476276 | 0.104745 | 0.164296 | 0.154161 | 0.174268 | 0.837175 | 0.817885 | 0.786497 | 0.75658 | 0.749223 | 0.726336 | 0 | 0.04366 | 0.254021 | 9,948 | 221 | 80 | 45.013575 | 0.780623 | 0.066144 | 0 | 0.706806 | 0 | 0 | 0.001961 | 0 | 0 | 0 | 0 | 0 | 0.387435 | 1 | 0.020942 | false | 0 | 0.020942 | 0 | 0.04712 | 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 |
cc073e4b9451146424536d98f0c55dded0506cfc | 9,286 | py | Python | Bert_finetune.py | stevezhangz/BERT-pytorch | 86e1d9f20c48306eeb8b6790977a575fc97bed77 | [
"Apache-2.0"
] | null | null | null | Bert_finetune.py | stevezhangz/BERT-pytorch | 86e1d9f20c48306eeb8b6790977a575fc97bed77 | [
"Apache-2.0"
] | null | null | null | Bert_finetune.py | stevezhangz/BERT-pytorch | 86e1d9f20c48306eeb8b6790977a575fc97bed77 | [
"Apache-2.0"
] | null | null | null | from bert import *
from Config_load import *
class Bert_word_pre(nn.Module):
def __init__(self,
n_layers,
vocab_size,
emb_size,
max_len,
seg_size,
dff,
dk,
dv,
... | 39.181435 | 110 | 0.5028 | 1,060 | 9,286 | 4.166981 | 0.126415 | 0.028526 | 0.019923 | 0.020376 | 0.916006 | 0.916006 | 0.916006 | 0.916006 | 0.900158 | 0.900158 | 0 | 0.007136 | 0.396403 | 9,286 | 236 | 111 | 39.347458 | 0.78091 | 0 | 0 | 0.857143 | 0 | 0 | 0.048045 | 0.004524 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046083 | false | 0 | 0.023041 | 0 | 0.096774 | 0.032258 | 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 |
f0dedd66cd678ad81fc07ef3b5bdc457e03c3e64 | 1,062 | py | Python | tests/small/memory_test.py | colorfulscoop/msgflow | b275748afcdf3aa5aec1f80436cb7e0bd03fc69f | [
"MIT"
] | 5 | 2021-01-01T12:34:23.000Z | 2022-03-08T13:02:11.000Z | tests/small/memory_test.py | colorfulscoop/msgflow | b275748afcdf3aa5aec1f80436cb7e0bd03fc69f | [
"MIT"
] | null | null | null | tests/small/memory_test.py | colorfulscoop/msgflow | b275748afcdf3aa5aec1f80436cb7e0bd03fc69f | [
"MIT"
] | 1 | 2021-01-01T12:34:27.000Z | 2021-01-01T12:34:27.000Z | from msgflow.memory import DialogMemory
def test_context_memory():
memory = DialogMemory()
memory.add("user1", "message1")
memory.add("user1", "message2")
memory.add("user2", "message3")
assert memory.get("user1") == ["message1", "message2"]
assert memory.get("user2") == ["message3"]
ass... | 25.902439 | 67 | 0.634652 | 121 | 1,062 | 5.487603 | 0.247934 | 0.121988 | 0.203313 | 0.188253 | 0.713855 | 0.713855 | 0.713855 | 0.713855 | 0.713855 | 0.641566 | 0 | 0.041332 | 0.179849 | 1,062 | 40 | 68 | 26.55 | 0.72101 | 0.035782 | 0 | 0.62963 | 0 | 0 | 0.215264 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.111111 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f0e093e40fd5ac9aea2bca1f5bff4010a1c8b490 | 12,613 | py | Python | breast_tumor_detector/algosViews.py | NikoB9/breast_tumor_detector | beed4f7dc7337f7d5619f5447e940cd50a79cdd9 | [
"CC0-1.0"
] | null | null | null | breast_tumor_detector/algosViews.py | NikoB9/breast_tumor_detector | beed4f7dc7337f7d5619f5447e940cd50a79cdd9 | [
"CC0-1.0"
] | null | null | null | breast_tumor_detector/algosViews.py | NikoB9/breast_tumor_detector | beed4f7dc7337f7d5619f5447e940cd50a79cdd9 | [
"CC0-1.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.http import HttpResponse
from django.template.loader import render_to_string
from sklearn import datasets
from sklearn.model_selection import train_test_split
from sklearn import metrics
from sklearn.svm import SVC
from sklearn import neig... | 44.72695 | 190 | 0.71022 | 1,758 | 12,613 | 4.876564 | 0.089306 | 0.153972 | 0.195964 | 0.069987 | 0.87379 | 0.87029 | 0.865741 | 0.855127 | 0.855127 | 0.855127 | 0 | 0.011494 | 0.158487 | 12,613 | 282 | 191 | 44.72695 | 0.796213 | 0.027749 | 0 | 0.821101 | 0 | 0 | 0.134264 | 0.003265 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022936 | false | 0 | 0.059633 | 0 | 0.105505 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f0e95b2ee7fa02e49d493b68a89d4b66659a6a7c | 177 | py | Python | class_17/grid.py | taoranalex/course_codes | 75f76e61f560fb51e7db7bb3edbefaeaf01ead7e | [
"MIT"
] | 121 | 2020-12-12T02:21:21.000Z | 2022-03-29T06:43:42.000Z | class_17/grid.py | taoranalex/course_codes | 75f76e61f560fb51e7db7bb3edbefaeaf01ead7e | [
"MIT"
] | null | null | null | class_17/grid.py | taoranalex/course_codes | 75f76e61f560fb51e7db7bb3edbefaeaf01ead7e | [
"MIT"
] | 80 | 2020-12-20T09:41:46.000Z | 2022-03-22T10:00:16.000Z |
import numpy as np
if __name__ == '__main__':
pass
# 732
#
# 730
#
# 728
#
# 726
# prices = [730, 728, 726, 724, 722] # 5个ETH 727 729 | 10.411765 | 58 | 0.457627 | 21 | 177 | 3.47619 | 0.857143 | 0.164384 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.423729 | 177 | 17 | 58 | 10.411765 | 0.382353 | 0.378531 | 0 | 0 | 0 | 0 | 0.080808 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
f0f841706421f6f3fbc24eba790be929f8390b46 | 194,290 | py | Python | msgraph-cli-extensions/v1_0/sites_v1_0/azext_sites_v1_0/generated/_help.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | msgraph-cli-extensions/v1_0/sites_v1_0/azext_sites_v1_0/generated/_help.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | msgraph-cli-extensions/v1_0/sites_v1_0/azext_sites_v1_0/generated/_help.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause... | 48.645468 | 121 | 0.667724 | 26,692 | 194,290 | 4.854975 | 0.021542 | 0.047411 | 0.028521 | 0.036207 | 0.970731 | 0.966116 | 0.961216 | 0.953646 | 0.947681 | 0.937587 | 0 | 0.001618 | 0.246261 | 194,290 | 3,993 | 122 | 48.657651 | 0.883286 | 0.002419 | 0 | 0.856224 | 0 | 0.155465 | 0.970777 | 0.094639 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.000292 | 0 | 0.000292 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
0b123a5fa9de249953349e5ab12cb1feb2e068fc | 17,466 | py | Python | interpolated_torchdiffeq/_impl/odeint_interpolated.py | Daulbaev/IRDM | 4bb60191ac0072e4349ca47092675d06b39a979a | [
"MIT"
] | 10 | 2020-12-06T13:04:33.000Z | 2021-02-04T23:10:43.000Z | interpolated_torchdiffeq/_impl/odeint_interpolated.py | Daulbaev/IRDM | 4bb60191ac0072e4349ca47092675d06b39a979a | [
"MIT"
] | null | null | null | interpolated_torchdiffeq/_impl/odeint_interpolated.py | Daulbaev/IRDM | 4bb60191ac0072e4349ca47092675d06b39a979a | [
"MIT"
] | null | null | null | import torch
from torch import nn
from .cheb import cheb1_interp_torch, compute_barycentric_weights, r8vec_cheby1space
from .odeint import odeint
from .misc import _flatten, _flatten_convert_none_to_zeros
import time
class OdeintChebyshevMethod(torch.autograd.Function):
@staticmethod
def forward(ctx, n_nodes... | 42.808824 | 111 | 0.543857 | 2,286 | 17,466 | 3.917323 | 0.091864 | 0.016974 | 0.024121 | 0.01876 | 0.905304 | 0.900391 | 0.898157 | 0.894584 | 0.894584 | 0.894584 | 0 | 0.015341 | 0.358067 | 17,466 | 407 | 112 | 42.914005 | 0.783357 | 0.081301 | 0 | 0.874608 | 0 | 0 | 0.033021 | 0.002996 | 0 | 0 | 0 | 0.002457 | 0.00627 | 1 | 0.043887 | false | 0 | 0.018809 | 0.009404 | 0.119122 | 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 |
9bc98644b37d66e59cfb3d12c7a9ed42071759bc | 4,881 | py | Python | model/Visualisation.py | EJ-TM/EnergyEconomics | 4656d542abb671d035c85699fda65e7dabcb150a | [
"CC-BY-4.0"
] | 2 | 2020-10-21T10:33:40.000Z | 2021-11-29T07:37:56.000Z | model/Visualisation.py | EJ-TM/EnergyEconomics | 4656d542abb671d035c85699fda65e7dabcb150a | [
"CC-BY-4.0"
] | 6 | 2020-10-20T15:30:53.000Z | 2020-11-25T15:57:22.000Z | model/Visualisation.py | KTH-dESA/MJ2383 | 9826c5a0ccf6ce5597fb5f09d75af2c82f14d5e5 | [
"CC-BY-4.0"
] | null | null | null | """
Results visualisation for the SimpleEnergyModel - MJ2383
"""
#%%
import pandas as pd
import numpy as np
from matplotlib import pyplot as plt
import os
#%%
# import sys
# def main(filepath1, filepath2):
#%%
path = os.path.join('SimpleEnergyModel', 'SimpleEnergyModel_Gas', 'data', 'SpecifiedAnnualDemand.csv')
Demand... | 29.227545 | 121 | 0.651301 | 624 | 4,881 | 5.054487 | 0.133013 | 0.015219 | 0.06468 | 0.068484 | 0.880786 | 0.872543 | 0.839886 | 0.812302 | 0.812302 | 0.812302 | 0 | 0.009491 | 0.179676 | 4,881 | 167 | 122 | 29.227545 | 0.778222 | 0.072936 | 0 | 0.875 | 0 | 0 | 0.145018 | 0.047598 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033333 | 0 | 0.033333 | 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 |
9bfc9569a4b8f9b30086b3b254a299315a6078d7 | 1,397 | py | Python | NSEDataMining/PEHistory.py | m4ni5h/PythonScripts | 7adffd478cf5ab3863eb69af1c2a04b3655a872f | [
"MIT"
] | null | null | null | NSEDataMining/PEHistory.py | m4ni5h/PythonScripts | 7adffd478cf5ab3863eb69af1c2a04b3655a872f | [
"MIT"
] | null | null | null | NSEDataMining/PEHistory.py | m4ni5h/PythonScripts | 7adffd478cf5ab3863eb69af1c2a04b3655a872f | [
"MIT"
] | null | null | null | from nsepy import get_index_pe_history
from datetime import date
nifty_pe = get_index_pe_history(symbol="NIFTY 50", start=date(2009,3,31), end=date(2009,3,31))
print(nifty_pe)
nifty_pe = get_index_pe_history(symbol="NIFTY 50", start=date(2010,3,31), end=date(2010,3,31))
print(nifty_pe)
nifty_pe = get_index_pe_history(... | 51.740741 | 94 | 0.762348 | 275 | 1,397 | 3.643636 | 0.116364 | 0.167665 | 0.129741 | 0.220559 | 0.724551 | 0.709581 | 0.709581 | 0.709581 | 0.709581 | 0.709581 | 0 | 0.147126 | 0.065855 | 1,397 | 27 | 95 | 51.740741 | 0.62069 | 0 | 0 | 0.461538 | 0 | 0 | 0.06867 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.461538 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
50002b0365054b63f0f998b6ba1f82e373ad104f | 95 | py | Python | gghf/repository/games/__init__.py | gghf-service/gghf-api | 9740700d1dd160e90fc949f9c3e652c3483a49aa | [
"MIT"
] | 1 | 2018-12-10T14:37:11.000Z | 2018-12-10T14:37:11.000Z | gghf/repository/games/__init__.py | tapkain/gghf.api | 9740700d1dd160e90fc949f9c3e652c3483a49aa | [
"MIT"
] | null | null | null | gghf/repository/games/__init__.py | tapkain/gghf.api | 9740700d1dd160e90fc949f9c3e652c3483a49aa | [
"MIT"
] | null | null | null | from gghf.repository.games.query import get_games
from gghf.repository.games.update import make | 47.5 | 49 | 0.863158 | 15 | 95 | 5.4 | 0.6 | 0.197531 | 0.444444 | 0.567901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073684 | 95 | 2 | 50 | 47.5 | 0.920455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
50416003198b4ed6bd3d76762015379a668aaa94 | 231 | py | Python | GeneratorAPI/main/utils/enums/enum.py | PiCodingClub/BlueprintsEdu | f65ad2c3bf6f01acb26660505f6ceded0bee888f | [
"Apache-2.0"
] | null | null | null | GeneratorAPI/main/utils/enums/enum.py | PiCodingClub/BlueprintsEdu | f65ad2c3bf6f01acb26660505f6ceded0bee888f | [
"Apache-2.0"
] | null | null | null | GeneratorAPI/main/utils/enums/enum.py | PiCodingClub/BlueprintsEdu | f65ad2c3bf6f01acb26660505f6ceded0bee888f | [
"Apache-2.0"
] | null | null | null | class Enum(object):
def __new__(cls, *args, **kwargs):
raise AttributeError("Cannot create/instantiate enum data type")
def __init__(self):
raise AttributeError("Cannot create/instantiate enum data type")
| 28.875 | 72 | 0.69697 | 27 | 231 | 5.666667 | 0.62963 | 0.248366 | 0.326797 | 0.405229 | 0.705882 | 0.705882 | 0.705882 | 0.705882 | 0 | 0 | 0 | 0 | 0.199134 | 231 | 7 | 73 | 33 | 0.827027 | 0 | 0 | 0.4 | 0 | 0 | 0.34632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 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 | 0 | 1 | 0 | 0 | 10 |
ac9c1f52a7acb1980f03feba4211fb592a6f04ce | 2,659 | py | Python | tests/potential/ExponentialDensityFunction/test_ExponentialEmbeddingFunction.py | eragasa/pypospack | 21cdecaf3b05c87acc532d992be2c04d85bfbc22 | [
"MIT"
] | 4 | 2018-01-18T19:59:56.000Z | 2020-08-25T11:56:52.000Z | tests/potential/ExponentialDensityFunction/test_ExponentialEmbeddingFunction.py | eragasa/pypospack | 21cdecaf3b05c87acc532d992be2c04d85bfbc22 | [
"MIT"
] | 1 | 2018-04-22T23:02:13.000Z | 2018-04-22T23:02:13.000Z | tests/potential/ExponentialDensityFunction/test_ExponentialEmbeddingFunction.py | eragasa/pypospack | 21cdecaf3b05c87acc532d992be2c04d85bfbc22 | [
"MIT"
] | 1 | 2019-09-14T07:04:42.000Z | 2019-09-14T07:04:42.000Z | import pytest
from collections import OrderedDict
from pypospack.potential import EamDensityFunction
def test__import__from_pypospack_potential():
from pypospack.potential import ExponentialDensityFunction
def test_1sym____init__():
#<--- variables
symbols = ['Ni']
#<--- setup
from pypospack.pote... | 28.902174 | 62 | 0.694246 | 302 | 2,659 | 5.943709 | 0.155629 | 0.124791 | 0.100279 | 0.147075 | 0.874095 | 0.813928 | 0.813928 | 0.813928 | 0.813928 | 0.813928 | 0 | 0.003788 | 0.205716 | 2,659 | 91 | 63 | 29.21978 | 0.846117 | 0.072208 | 0 | 0.827586 | 0 | 0 | 0.034595 | 0 | 0 | 0 | 0 | 0 | 0.37931 | 1 | 0.051724 | false | 0 | 0.137931 | 0 | 0.189655 | 0.068966 | 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 |
acb7f80cd54d29a0b5f0b620b0a38a407469a033 | 83 | py | Python | elpis/engines/common/utilities/__init__.py | guillaume-wisniewski/elpis | 550c350fd0098751b9a502a253bc4066f15c47db | [
"Apache-2.0"
] | 118 | 2018-11-25T22:00:11.000Z | 2022-03-18T10:18:33.000Z | elpis/engines/common/utilities/__init__.py | guillaume-wisniewski/elpis | 550c350fd0098751b9a502a253bc4066f15c47db | [
"Apache-2.0"
] | 189 | 2019-01-25T01:37:59.000Z | 2022-02-16T02:31:23.000Z | elpis/engines/common/utilities/__init__.py | guillaume-wisniewski/elpis | 550c350fd0098751b9a502a253bc4066f15c47db | [
"Apache-2.0"
] | 34 | 2018-11-28T20:31:38.000Z | 2022-01-27T12:20:59.000Z | from .file_utilities import *
from .json_utilities import *
from .globals import *
| 20.75 | 29 | 0.783133 | 11 | 83 | 5.727273 | 0.545455 | 0.47619 | 0.603175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 3 | 30 | 27.666667 | 0.887324 | 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 |
4a0f6cb2052e137dd0a02ff3805ea5b2414adfda | 24,059 | py | Python | Cogs/Welcome.py | holgern/CommunityUpvoteBot | b9af069749707ae03936f8015a42a4af57aef57f | [
"MIT"
] | 5 | 2018-06-27T07:59:42.000Z | 2018-07-05T20:35:24.000Z | Cogs/Welcome.py | holgern/BeemBot.py | b9af069749707ae03936f8015a42a4af57aef57f | [
"MIT"
] | null | null | null | Cogs/Welcome.py | holgern/BeemBot.py | b9af069749707ae03936f8015a42a4af57aef57f | [
"MIT"
] | null | null | null | import asyncio
import discord
from datetime import datetime
from discord.ext import commands
from shutil import copyfile
import time
import json
import os
import re
from Cogs import DisplayName
from Cogs import Nullify
def setup(bot):
# Add the bot and deps
settings = bot.get_co... | 43.823315 | 147 | 0.585145 | 2,642 | 24,059 | 5.295988 | 0.080621 | 0.052887 | 0.043954 | 0.036664 | 0.887793 | 0.881504 | 0.862707 | 0.842982 | 0.841695 | 0.808962 | 0 | 0.001866 | 0.309655 | 24,059 | 548 | 148 | 43.903285 | 0.840568 | 0.082589 | 0 | 0.805825 | 0 | 0.002427 | 0.125506 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009709 | false | 0.021845 | 0.026699 | 0 | 0.097087 | 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 |
c5d6db7027b66368410694cfd13f538a3d3bc594 | 2,577 | py | Python | formulae.py | Noppawat-Tantisiriwat/Convolution-Calculator | f37bdec1f608de519e09b4a922fadd79a48b9bb4 | [
"MIT"
] | 1 | 2022-02-08T09:23:52.000Z | 2022-02-08T09:23:52.000Z | formulae.py | Noppawat-Tantisiriwat/Convolution-Calculator | f37bdec1f608de519e09b4a922fadd79a48b9bb4 | [
"MIT"
] | null | null | null | formulae.py | Noppawat-Tantisiriwat/Convolution-Calculator | f37bdec1f608de519e09b4a922fadd79a48b9bb4 | [
"MIT"
] | null | null | null | import numpy as np
from typing import List
def conv1d_out(input_shape:int, kernel_size:int, padding:int, stride:int, dialation:int):
output_length = np.floor(((input_shape + 2*padding - dialation * (kernel_size - 1) -1) / stride) + 1)
return output_length
def conv2d_out(input_shape: List[int], kerne... | 50.529412 | 152 | 0.657354 | 394 | 2,577 | 4.109137 | 0.083756 | 0.09512 | 0.039531 | 0.063002 | 0.905497 | 0.849907 | 0.81223 | 0.791847 | 0.706609 | 0.607783 | 0 | 0.051126 | 0.172681 | 2,577 | 51 | 153 | 50.529412 | 0.708255 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
68167d5856c6b9fc33a06dd82f5ca1af19210b4d | 1,407 | py | Python | myapp/migrations/0004_auto_20190314_1753.py | percevalm/aumyproject | b24b38005188ce9dd41ed663cf54dad5464afef3 | [
"bzip2-1.0.6"
] | null | null | null | myapp/migrations/0004_auto_20190314_1753.py | percevalm/aumyproject | b24b38005188ce9dd41ed663cf54dad5464afef3 | [
"bzip2-1.0.6"
] | 16 | 2020-03-24T17:30:37.000Z | 2022-03-11T23:57:41.000Z | myapp/migrations/0004_auto_20190314_1753.py | percevalm/aumyproject | b24b38005188ce9dd41ed663cf54dad5464afef3 | [
"bzip2-1.0.6"
] | null | null | null | # Generated by Django 2.1.4 on 2019-03-14 17:53
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('myapp', '0003_auto_20190121_1253'),
]
operations = [
migrations.AlterField(
model_name='intbursary',
name='article',... | 31.977273 | 86 | 0.589197 | 134 | 1,407 | 6.052239 | 0.350746 | 0.147965 | 0.184957 | 0.21455 | 0.754624 | 0.754624 | 0.701603 | 0.701603 | 0.701603 | 0.701603 | 0 | 0.031031 | 0.289979 | 1,407 | 43 | 87 | 32.72093 | 0.780781 | 0.031983 | 0 | 0.648649 | 1 | 0 | 0.166176 | 0.016912 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a859b5ae7e4ad34f0feebda5424530dabd30ab43 | 18,269 | py | Python | nevergrad/optimization/oneshot.py | se4u/nevergrad | 38924bc7b0bff834316ccf974922db2c22be1606 | [
"MIT"
] | 1 | 2021-04-21T09:19:44.000Z | 2021-04-21T09:19:44.000Z | nevergrad/optimization/oneshot.py | se4u/nevergrad | 38924bc7b0bff834316ccf974922db2c22be1606 | [
"MIT"
] | null | null | null | nevergrad/optimization/oneshot.py | se4u/nevergrad | 38924bc7b0bff834316ccf974922db2c22be1606 | [
"MIT"
] | 1 | 2019-12-12T10:36:54.000Z | 2019-12-12T10:36:54.000Z | # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
from typing import Optional, Tuple
from scipy import stats
import numpy as np
from ..common.typetools import ArrayLike
fr... | 37.283673 | 121 | 0.713285 | 2,180 | 18,269 | 5.810092 | 0.122477 | 0.076978 | 0.058029 | 0.045476 | 0.77483 | 0.76133 | 0.754145 | 0.740723 | 0.735749 | 0.723196 | 0 | 0.006783 | 0.184903 | 18,269 | 489 | 122 | 37.359918 | 0.843798 | 0.222344 | 0 | 0.788845 | 0 | 0 | 0.005427 | 0 | 0 | 0 | 0 | 0 | 0.011952 | 1 | 0.227092 | false | 0 | 0.027888 | 0.067729 | 0.589641 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
a88422b1374edb3ca0d662fa7c386498143cc121 | 17,512 | py | Python | registry/testcases/functional_testcases/test_organization_consumer.py | DhivakharVenkatachalam/snet-marketplace-service | 6aee606bc9b00d418caeae26c64deae03792e0ce | [
"MIT"
] | null | null | null | registry/testcases/functional_testcases/test_organization_consumer.py | DhivakharVenkatachalam/snet-marketplace-service | 6aee606bc9b00d418caeae26c64deae03792e0ce | [
"MIT"
] | null | null | null | registry/testcases/functional_testcases/test_organization_consumer.py | DhivakharVenkatachalam/snet-marketplace-service | 6aee606bc9b00d418caeae26c64deae03792e0ce | [
"MIT"
] | null | null | null | import unittest
from datetime import datetime
from unittest.mock import Mock, patch
from uuid import uuid4
from registry.constants import OrganizationStatus, Role, OrganizationMemberStatus
from registry.consumer.organization_event_consumer import OrganizationCreatedAndModifiedEventConsumer
from registry.infrastructure... | 55.948882 | 278 | 0.605185 | 1,818 | 17,512 | 5.493949 | 0.120462 | 0.032439 | 0.046856 | 0.060072 | 0.900981 | 0.885963 | 0.867441 | 0.867441 | 0.863536 | 0.863536 | 0 | 0.070474 | 0.278038 | 17,512 | 312 | 279 | 56.128205 | 0.719529 | 0 | 0 | 0.77931 | 0 | 0.013793 | 0.292999 | 0.153152 | 0 | 0 | 0.007252 | 0 | 0.110345 | 1 | 0.017241 | false | 0 | 0.027586 | 0 | 0.048276 | 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 |
a8af8f6109eaf0f4d60418f9881f62b9ec3ef44e | 1,437 | py | Python | ifStatement.py | shyed2001/Python_Programming | 93ef958e3d8aa77f9191b550972235ce4fe4a6cb | [
"bzip2-1.0.6"
] | 2 | 2019-05-01T04:32:14.000Z | 2019-05-04T11:28:18.000Z | ifStatement.py | shyed2001/python-learning-basics | 93ef958e3d8aa77f9191b550972235ce4fe4a6cb | [
"bzip2-1.0.6"
] | null | null | null | ifStatement.py | shyed2001/python-learning-basics | 93ef958e3d8aa77f9191b550972235ce4fe4a6cb | [
"bzip2-1.0.6"
] | null | null | null | print('''
is_male = True
if is_male:
print("Male")
''')
is_male = True
if is_male:
print("Male")
print('''
is_male = False
if is_male:
print("Male")
''')
print('''
is_male = False
if is_male:
print("Male")
else:
print(" Not Male")
''')
print('''
is_male = True
is_... | 16.329545 | 32 | 0.565066 | 230 | 1,437 | 3.373913 | 0.104348 | 0.170103 | 0.113402 | 0.115979 | 0.931701 | 0.931701 | 0.931701 | 0.931701 | 0.884021 | 0.884021 | 0 | 0.034582 | 0.275574 | 1,437 | 88 | 33 | 16.329545 | 0.710855 | 0 | 0 | 0.958333 | 0 | 0 | 0.57661 | 0.017024 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013889 | false | 0 | 0 | 0 | 0.069444 | 0.375 | 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 |
a8b50b9ad7e7fc0748a6f9fb5fe3b241ce7e3da1 | 2,270 | py | Python | robot_dict.py | INTELYMEC/Double_QPID | 3a84d58d2ce22eed2e695eea1b0497c37a010266 | [
"MIT"
] | 13 | 2018-11-02T13:34:11.000Z | 2022-03-07T00:07:42.000Z | robot_dict.py | INTELYMEC/Double_QPID | 3a84d58d2ce22eed2e695eea1b0497c37a010266 | [
"MIT"
] | null | null | null | robot_dict.py | INTELYMEC/Double_QPID | 3a84d58d2ce22eed2e695eea1b0497c37a010266 | [
"MIT"
] | 4 | 2018-11-02T13:33:51.000Z | 2020-10-25T11:09:02.000Z | import numpy as np
# custom files
from robots import pioneer_pi
from gym_robot import gym_pendulum
from husky import husky_pi
from drone import drone_pi
robot_dict = {
'pioneer_pi' : {'class': pioneer_pi, 'set_point': np.array([0.21,0.21]), 'action_centroid': np.array([0.5, 0.51, 0.5, 0.51]), 'initial_s... | 75.666667 | 378 | 0.653744 | 389 | 2,270 | 3.650386 | 0.136247 | 0.103521 | 0.101408 | 0.028169 | 0.857746 | 0.857746 | 0.857746 | 0.857746 | 0.839437 | 0.839437 | 0 | 0.075195 | 0.097797 | 2,270 | 29 | 379 | 78.275862 | 0.618164 | 0.005286 | 0 | 0 | 0 | 0 | 0.333185 | 0.055013 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.357143 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
a8b80ae3db0a6eae1c0508880105c1e7dc47e168 | 24,495 | py | Python | mergify_engine/tests/functional/actions/test_queue.py | HarshCasper/mergify-engine | 02d0a682c14db1c3fefeef4895645161cbb40f4f | [
"Apache-2.0"
] | null | null | null | mergify_engine/tests/functional/actions/test_queue.py | HarshCasper/mergify-engine | 02d0a682c14db1c3fefeef4895645161cbb40f4f | [
"Apache-2.0"
] | null | null | null | mergify_engine/tests/functional/actions/test_queue.py | HarshCasper/mergify-engine | 02d0a682c14db1c3fefeef4895645161cbb40f4f | [
"Apache-2.0"
] | null | null | null | # -*- encoding: utf-8 -*-
#
# Copyright © 2021 Mergify SAS
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | 35.5 | 89 | 0.557379 | 2,970 | 24,495 | 4.374411 | 0.087205 | 0.07343 | 0.042719 | 0.044335 | 0.849523 | 0.823045 | 0.814963 | 0.792873 | 0.784252 | 0.771013 | 0 | 0.015656 | 0.332435 | 24,495 | 689 | 90 | 35.551524 | 0.778804 | 0.085895 | 0 | 0.75619 | 0 | 0 | 0.103041 | 0.033317 | 0 | 0 | 0 | 0.001451 | 0.165714 | 1 | 0 | false | 0 | 0.019048 | 0 | 0.026667 | 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 |
a8d619bcacac75818add4974da727f5b378e549e | 2,909 | py | Python | cloud/sensing_bus/post_tester.py | pedrocruz/sensing_bus | f56087f548be284b27bef6ba6de2e1bbf38d9f06 | [
"Apache-2.0"
] | 5 | 2017-01-04T01:47:52.000Z | 2018-11-03T15:33:19.000Z | cloud/sensing_bus/post_tester.py | pedrocruz/sensing_bus | f56087f548be284b27bef6ba6de2e1bbf38d9f06 | [
"Apache-2.0"
] | null | null | null | cloud/sensing_bus/post_tester.py | pedrocruz/sensing_bus | f56087f548be284b27bef6ba6de2e1bbf38d9f06 | [
"Apache-2.0"
] | 4 | 2017-01-04T13:24:55.000Z | 2018-11-22T13:50:24.000Z |
def test_client(ip, port):
import requests
import json
from signal import signal, SIGPIPE, SIG_DFL
signal(SIGPIPE, SIG_DFL)
payload = {
"fog_element": 1,
"measurements": [{
"node_id": 1,
"type": "data",
"received": "25081617154300",
"h... | 48.483333 | 80 | 0.565143 | 383 | 2,909 | 4.253264 | 0.240209 | 0.063843 | 0.094537 | 0.108042 | 0.802947 | 0.802947 | 0.802947 | 0.802947 | 0.802947 | 0.802947 | 0 | 0.54533 | 0.249227 | 2,909 | 59 | 81 | 49.305085 | 0.200549 | 0 | 0 | 0.581818 | 0 | 0.472727 | 0.600826 | 0.534067 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018182 | false | 0 | 0.054545 | 0 | 0.072727 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
4f541fa0f0adafbafbaa28b7d67f4e983f6e974b | 163 | py | Python | src/code_generation/mips_generator.py | lffloyd/pyva | a8975046c248347633465c83944eec4c1e37f4d8 | [
"MIT"
] | null | null | null | src/code_generation/mips_generator.py | lffloyd/pyva | a8975046c248347633465c83944eec4c1e37f4d8 | [
"MIT"
] | 4 | 2019-12-18T00:53:02.000Z | 2019-12-18T00:53:03.000Z | src/code_generation/mips_generator.py | lffloyd/pyva | a8975046c248347633465c83944eec4c1e37f4d8 | [
"MIT"
] | null | null | null | class MIPSGenerator:
def generate_code(self, abstract_syntax_tree):
return abstract_syntax_tree['production'].cgen(abstract_syntax_tree['production']) | 40.75 | 90 | 0.785276 | 19 | 163 | 6.368421 | 0.631579 | 0.347107 | 0.446281 | 0.46281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116564 | 163 | 4 | 90 | 40.75 | 0.840278 | 0 | 0 | 0 | 1 | 0 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
4f733a71ff59f15ceecf70626accd0e011134044 | 15,355 | py | Python | excelApi/views.py | damiso15/excel_microservice | 4c1b57ad6b5d1afb455d55ea97981b8ecc7c28f6 | [
"MIT"
] | null | null | null | excelApi/views.py | damiso15/excel_microservice | 4c1b57ad6b5d1afb455d55ea97981b8ecc7c28f6 | [
"MIT"
] | 5 | 2021-03-30T14:07:01.000Z | 2021-09-22T19:30:11.000Z | excelApi/views.py | damiso15/excel_microservice | 4c1b57ad6b5d1afb455d55ea97981b8ecc7c28f6 | [
"MIT"
] | null | null | null | import os
import json
import pandas as pd
from dotenv import load_dotenv
from django.conf import settings
from rest_framework.pagination import PageNumberPagination
from rest_framework.views import APIView
from rest_framework.response import Response
from rest_framework import status
from .pagination import PostLimitOf... | 57.943396 | 198 | 0.502442 | 1,590 | 15,355 | 4.691195 | 0.137107 | 0.04022 | 0.045046 | 0.064352 | 0.814855 | 0.811101 | 0.803325 | 0.782008 | 0.773428 | 0.773428 | 0 | 0.03893 | 0.391078 | 15,355 | 265 | 199 | 57.943396 | 0.758824 | 0.122436 | 0 | 0.777778 | 0 | 0 | 0.037516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.074074 | 0 | 0.263889 | 0.00463 | 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 |
4f9f4595cbd2c18932ae13bc98e07de8a1e0b5b3 | 1,909 | py | Python | tests/test_cache.py | jferencik/aiocogeo | fc3594682357b5625d91c096fc48f63d7e548846 | [
"MIT"
] | 48 | 2020-06-13T05:20:35.000Z | 2022-03-10T19:26:30.000Z | tests/test_cache.py | jferencik/aiocogeo | fc3594682357b5625d91c096fc48f63d7e548846 | [
"MIT"
] | 81 | 2020-05-27T13:44:24.000Z | 2022-03-31T11:36:46.000Z | tests/test_cache.py | jferencik/aiocogeo | fc3594682357b5625d91c096fc48f63d7e548846 | [
"MIT"
] | 6 | 2020-10-29T01:10:27.000Z | 2021-08-11T12:51:20.000Z | import pytest
from aiocogeo import config
@pytest.mark.asyncio
async def test_block_cache_enabled(create_cog_reader, monkeypatch):
# Cache is disabled for tests
monkeypatch.setattr(config, "ENABLE_BLOCK_CACHE", True)
infile = "https://async-cog-reader-test-data.s3.amazonaws.com/lzw_cog.tif"
async wit... | 34.089286 | 79 | 0.701414 | 283 | 1,909 | 4.551237 | 0.176678 | 0.111801 | 0.139752 | 0.163043 | 0.915373 | 0.897516 | 0.897516 | 0.884317 | 0.831522 | 0.831522 | 0 | 0.017375 | 0.185961 | 1,909 | 55 | 80 | 34.709091 | 0.811454 | 0.045574 | 0 | 0.684211 | 0 | 0.105263 | 0.184818 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 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 |
8c31abad44a7ddebaf63456f6800ba8e627490a5 | 16,390 | py | Python | tests/test_show.py | questionlp/libwwdtm | 02b667cefd6c3bf971dc626110cd80fd32e61096 | [
"Apache-2.0"
] | 2 | 2019-07-24T20:06:48.000Z | 2019-11-13T04:12:34.000Z | tests/test_show.py | questionlp/libwwdtm | 02b667cefd6c3bf971dc626110cd80fd32e61096 | [
"Apache-2.0"
] | 1 | 2021-04-20T18:45:49.000Z | 2021-04-20T18:45:49.000Z | tests/test_show.py | questionlp/libwwdtm | 02b667cefd6c3bf971dc626110cd80fd32e61096 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2018-2019 Linh Pham
# wwdtm is relased under the terms of the Apache License 2.0
"""Testing module for wwdtm.show"""
import json
import mysql.connector
from wwdtm.show import details, info, utility
def test_id_exists(show_id: int,
database_connection: mysql.c... | 45.276243 | 94 | 0.613911 | 1,837 | 16,390 | 5.164943 | 0.04736 | 0.121417 | 0.077572 | 0.107926 | 0.956261 | 0.947723 | 0.913997 | 0.905881 | 0.889018 | 0.865409 | 0 | 0.003858 | 0.319951 | 16,390 | 361 | 95 | 45.401662 | 0.847389 | 0.111043 | 0 | 0.795139 | 0 | 0 | 0.013138 | 0 | 0 | 0 | 0 | 0 | 0.204861 | 1 | 0.111111 | false | 0 | 0.010417 | 0 | 0.121528 | 0.333333 | 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 |
4fe0ba591cf1ca8580195721a9c803dea20c0962 | 5,514 | py | Python | tests/test_scripts.py | center-for-threat-informed-defense/attack_to_veris | e5305debf7b5eb35704628dd02d3ce0d45ee0e32 | [
"Apache-2.0"
] | 35 | 2021-08-28T05:11:11.000Z | 2022-02-24T05:50:59.000Z | tests/test_scripts.py | center-for-threat-informed-defense/attack_to_veris | e5305debf7b5eb35704628dd02d3ce0d45ee0e32 | [
"Apache-2.0"
] | 1 | 2021-09-16T00:32:19.000Z | 2021-09-16T00:35:59.000Z | tests/test_scripts.py | center-for-threat-informed-defense/attack_to_veris | e5305debf7b5eb35704628dd02d3ce0d45ee0e32 | [
"Apache-2.0"
] | 1 | 2021-12-07T13:10:12.000Z | 2021-12-07T13:10:12.000Z | import os
import pathlib
import subprocess
import sys
import pytest
@pytest.fixture()
def dir_location():
cwd = os.getcwd()
if "tests" in cwd:
return os.path.dirname(cwd)
else:
return cwd
def test_append_mappings(dir_location):
veris_objects = pathlib.Path(dir_location, "frameworks"... | 41.772727 | 114 | 0.698585 | 622 | 5,514 | 5.980707 | 0.120579 | 0.112366 | 0.129839 | 0.160753 | 0.823387 | 0.810484 | 0.780108 | 0.748656 | 0.729839 | 0.682527 | 0 | 0.013055 | 0.166485 | 5,514 | 131 | 115 | 42.091603 | 0.796345 | 0.002902 | 0 | 0.60177 | 0 | 0 | 0.268377 | 0.111718 | 0 | 0 | 0 | 0 | 0.061947 | 1 | 0.070796 | false | 0 | 0.044248 | 0 | 0.132743 | 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 |
8ca869b1b41bf721946e8efd0888428c7f1fa8f6 | 213 | py | Python | dalle_pytorch/__init__.py | Tiamat-Tech/DALLE-pytorch | d7bd745b23424e5a47c0db7e7ab093542427b22d | [
"MIT"
] | null | null | null | dalle_pytorch/__init__.py | Tiamat-Tech/DALLE-pytorch | d7bd745b23424e5a47c0db7e7ab093542427b22d | [
"MIT"
] | null | null | null | dalle_pytorch/__init__.py | Tiamat-Tech/DALLE-pytorch | d7bd745b23424e5a47c0db7e7ab093542427b22d | [
"MIT"
] | null | null | null | from dalle_pytorch.dalle_pytorch import DALLE, CLIP, DiscreteVAE
from dalle_pytorch.vae import OpenAIDiscreteVAE, VQGanVAE
from pkg_resources import get_distribution
from dalle_pytorch.version import __version__
| 35.5 | 64 | 0.877934 | 28 | 213 | 6.321429 | 0.5 | 0.271186 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093897 | 213 | 5 | 65 | 42.6 | 0.917098 | 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 |
8cdd1c1158c678523ab09f42ad85195ce3d58b05 | 53,095 | py | Python | sdk/python/pulumi_openstack/networking/subnet_pool.py | pulumi/pulumi-openstack | 945eed22a82784e9f0b3aa56168b2397c2f503e8 | [
"ECL-2.0",
"Apache-2.0"
] | 34 | 2018-09-12T12:37:51.000Z | 2022-02-04T19:32:13.000Z | sdk/python/pulumi_openstack/networking/subnet_pool.py | pulumi/pulumi-openstack | 945eed22a82784e9f0b3aa56168b2397c2f503e8 | [
"ECL-2.0",
"Apache-2.0"
] | 72 | 2018-08-15T13:04:57.000Z | 2022-03-31T15:39:49.000Z | sdk/python/pulumi_openstack/networking/subnet_pool.py | pulumi/pulumi-openstack | 945eed22a82784e9f0b3aa56168b2397c2f503e8 | [
"ECL-2.0",
"Apache-2.0"
] | 7 | 2019-03-14T08:28:49.000Z | 2021-12-29T04:23:55.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 45.11045 | 134 | 0.64458 | 6,362 | 53,095 | 5.225558 | 0.041968 | 0.084374 | 0.084584 | 0.046323 | 0.940653 | 0.928591 | 0.914995 | 0.907385 | 0.905851 | 0.880824 | 0 | 0.005907 | 0.266598 | 53,095 | 1,176 | 135 | 45.14881 | 0.847843 | 0.4223 | 0 | 0.823529 | 1 | 0 | 0.085203 | 0.001568 | 0 | 0 | 0 | 0 | 0 | 1 | 0.167558 | false | 0.001783 | 0.008913 | 0 | 0.278075 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
50cec5914b32f29a0fb3158af7a49a10d4dbc750 | 66,288 | py | Python | splunk_sdk/catalog/v2beta1/gen_metadata_catalog_api.py | ianlee4/splunk-cloud-sdk-python | d2870cd1e506d3844869d17becdcdf9d8d60a9a1 | [
"ECL-2.0",
"Apache-2.0"
] | 12 | 2019-08-01T06:16:17.000Z | 2021-04-16T20:00:02.000Z | splunk_sdk/catalog/v2beta1/gen_metadata_catalog_api.py | ianlee4/splunk-cloud-sdk-python | d2870cd1e506d3844869d17becdcdf9d8d60a9a1 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2020-09-27T12:03:24.000Z | 2021-08-06T18:01:32.000Z | splunk_sdk/catalog/v2beta1/gen_metadata_catalog_api.py | ianlee4/splunk-cloud-sdk-python | d2870cd1e506d3844869d17becdcdf9d8d60a9a1 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2019-08-20T17:49:27.000Z | 2022-03-27T16:39:10.000Z | # coding: utf-8
# Copyright © 2020 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# [http://www.apache.org/licenses/LICENSE-2.0]
#
# Unless required by applicable law or agre... | 41.300935 | 232 | 0.6487 | 7,515 | 66,288 | 5.536793 | 0.032335 | 0.106275 | 0.062727 | 0.036338 | 0.930135 | 0.922661 | 0.912447 | 0.885097 | 0.851474 | 0.845322 | 0 | 0.005031 | 0.253289 | 66,288 | 1,604 | 233 | 41.326683 | 0.835569 | 0.110307 | 0 | 0.780189 | 0 | 0 | 0.10108 | 0.075024 | 0 | 0 | 0 | 0 | 0 | 1 | 0.080189 | false | 0 | 0.049057 | 0 | 0.209434 | 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 |
50f6fe0d313ca0e6cb548939992585d371026e7e | 46 | py | Python | tests/test_package_creation.py | carlinakim/package_creation | 751ee1a37462d8e83ff64e774d40b3d5dfd28b5b | [
"MIT"
] | null | null | null | tests/test_package_creation.py | carlinakim/package_creation | 751ee1a37462d8e83ff64e774d40b3d5dfd28b5b | [
"MIT"
] | null | null | null | tests/test_package_creation.py | carlinakim/package_creation | 751ee1a37462d8e83ff64e774d40b3d5dfd28b5b | [
"MIT"
] | null | null | null | from package_creation import package_creation
| 23 | 45 | 0.913043 | 6 | 46 | 6.666667 | 0.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 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 |
0fd8b173488de8c61e43c5c4c07387a0ffb9f937 | 12,142 | py | Python | transfer_to_result.py | jasminwash/hostgal | b87f100b783e50741654daca1fb48acb18a6efbf | [
"MIT"
] | null | null | null | transfer_to_result.py | jasminwash/hostgal | b87f100b783e50741654daca1fb48acb18a6efbf | [
"MIT"
] | null | null | null | transfer_to_result.py | jasminwash/hostgal | b87f100b783e50741654daca1fb48acb18a6efbf | [
"MIT"
] | null | null | null | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Thu Apr 12 15:59:47 2018
@author: dartoon
Transfer the fit to a result dict
"""
import numpy as np
def transfer_to_result(data, source_result, ps_result, image_ps, image_host,
error_map, zp, fixcenter,ID, cut=0, plot_compare=True,
... | 46.7 | 131 | 0.501977 | 1,448 | 12,142 | 3.967541 | 0.110497 | 0.043864 | 0.022628 | 0.013925 | 0.900609 | 0.893647 | 0.885814 | 0.856397 | 0.856397 | 0.848738 | 0 | 0.016918 | 0.196755 | 12,142 | 259 | 132 | 46.880309 | 0.572132 | 0.307692 | 0 | 0.815029 | 0 | 0 | 0.086909 | 0.010819 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023121 | false | 0 | 0.098266 | 0 | 0.144509 | 0.023121 | 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 |
ba21f352a221d681b7529b7243cc3149eeb4a4e4 | 212 | py | Python | userdata/views.py | pardhasaradhitummala/UrContacts | daa82ff7efe830034f7cb922f373a3f97d8f0b1d | [
"MIT"
] | null | null | null | userdata/views.py | pardhasaradhitummala/UrContacts | daa82ff7efe830034f7cb922f373a3f97d8f0b1d | [
"MIT"
] | null | null | null | userdata/views.py | pardhasaradhitummala/UrContacts | daa82ff7efe830034f7cb922f373a3f97d8f0b1d | [
"MIT"
] | null | null | null | from django.shortcuts import render
def home_screen(request):
return render(request,'registration/home_screen.html')
def login_screen(request):
return render(request,'registration/login_screen.html')
| 21.2 | 59 | 0.787736 | 27 | 212 | 6.037037 | 0.481481 | 0.122699 | 0.233129 | 0.306748 | 0.539877 | 0.539877 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 212 | 9 | 60 | 23.555556 | 0.867021 | 0 | 0 | 0 | 0 | 0 | 0.278302 | 0.278302 | 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 |
e841f3766d4bd9ccb858f88e63a81da33e802b62 | 7,689 | py | Python | Client.py | FlamesLLC/UberduckM1-Translatorv0.1x | aa21909291fc7e0973e1d32f7e90492fcec5cfb2 | [
"MIT"
] | null | null | null | Client.py | FlamesLLC/UberduckM1-Translatorv0.1x | aa21909291fc7e0973e1d32f7e90492fcec5cfb2 | [
"MIT"
] | null | null | null | Client.py | FlamesLLC/UberduckM1-Translatorv0.1x | aa21909291fc7e0973e1d32f7e90492fcec5cfb2 | [
"MIT"
] | null | null | null | ## write a app that makes generated trained voices on singers on any mp3 file and upload it to uberduck.ai server
print("Writing request v0.1")
import requests
import json
import os
import sys
import time
import wave
import pyaudio
import numpy as np
import wave
import io
import subprocess
import google as g
... | 47.171779 | 1,414 | 0.76668 | 1,119 | 7,689 | 4.981233 | 0.146559 | 0.067097 | 0.096878 | 0.129171 | 0.833154 | 0.811625 | 0.794761 | 0.78328 | 0.771618 | 0.771618 | 0 | 0.004351 | 0.16296 | 7,689 | 163 | 1,415 | 47.171779 | 0.861715 | 0 | 0 | 0.80292 | 1 | 0 | 0.097862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.029197 | 0.474453 | null | null | 0.138686 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
e84ad31b657e8472e7042e607b85c7cca4c8d150 | 5,338 | py | Python | pyaem2/packagemanagerservicejsp.py | wildone/pyaem | 3860a51dc75bdb46b92ac2ccb234d2697b5335e1 | [
"Apache-2.0"
] | 13 | 2016-08-04T15:38:26.000Z | 2018-04-20T20:15:29.000Z | pyaem2/packagemanagerservicejsp.py | wildone/pyaem | 3860a51dc75bdb46b92ac2ccb234d2697b5335e1 | [
"Apache-2.0"
] | null | null | null | pyaem2/packagemanagerservicejsp.py | wildone/pyaem | 3860a51dc75bdb46b92ac2ccb234d2697b5335e1 | [
"Apache-2.0"
] | 4 | 2015-05-28T08:46:37.000Z | 2017-07-13T11:16:31.000Z | import xmltodict
from . import bagofrequests as bag
from . import handlers
from . import result as res
class PackageManagerServiceJsp():
def __init__(self, url, **kwargs):
self.url = url
self.kwargs = kwargs
self.handlers = {
401: handlers.auth_fail
}
def is_packag... | 38.128571 | 118 | 0.520794 | 526 | 5,338 | 5.138783 | 0.173004 | 0.056974 | 0.044395 | 0.044395 | 0.872364 | 0.872364 | 0.836108 | 0.836108 | 0.836108 | 0.823529 | 0 | 0.010334 | 0.365493 | 5,338 | 139 | 119 | 38.402878 | 0.787718 | 0.035407 | 0 | 0.735849 | 0 | 0 | 0.122425 | 0.010494 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066038 | false | 0 | 0.037736 | 0 | 0.169811 | 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 |
e8ce4066f900718c0ba89565d31fd75739229d01 | 4,356 | py | Python | tests/templatetags/tests.py | Starou/django-stachoutils | b6f7b67edfcbb626014abae78a71348043537bff | [
"BSD-3-Clause"
] | 3 | 2017-04-26T10:32:05.000Z | 2017-12-22T11:11:15.000Z | tests/templatetags/tests.py | Starou/django-stachoutils | b6f7b67edfcbb626014abae78a71348043537bff | [
"BSD-3-Clause"
] | 22 | 2017-12-21T09:19:56.000Z | 2020-11-30T15:48:33.000Z | tests/templatetags/tests.py | Starou/django-stachoutils | b6f7b67edfcbb626014abae78a71348043537bff | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from django.test import TestCase
class TemplateTagsTest(TestCase):
def test_current_filters_html(self):
from django_stachoutils.templatetags.stachoutils_extras import current_filters
filters = [
(u'statut', [
('valide__exact=1&assistant__exact=6... | 59.671233 | 103 | 0.59068 | 529 | 4,356 | 4.470699 | 0.155009 | 0.106554 | 0.192812 | 0.319662 | 0.915856 | 0.915856 | 0.915856 | 0.914165 | 0.914165 | 0.914165 | 0 | 0.0327 | 0.262856 | 4,356 | 72 | 104 | 60.5 | 0.703831 | 0.014233 | 0 | 0.890625 | 0 | 0 | 0.538802 | 0.395246 | 0 | 0 | 0 | 0 | 0.03125 | 1 | 0.015625 | false | 0 | 0.03125 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
2cec57717da16181059efa67df906ff48ac726fc | 18,587 | py | Python | temboardui/temboardclient.py | bersace/temboard | 3feb7bbe24f5eabcb66c0bd35f32d548d8613b15 | [
"PostgreSQL"
] | null | null | null | temboardui/temboardclient.py | bersace/temboard | 3feb7bbe24f5eabcb66c0bd35f32d548d8613b15 | [
"PostgreSQL"
] | null | null | null | temboardui/temboardclient.py | bersace/temboard | 3feb7bbe24f5eabcb66c0bd35f32d548d8613b15 | [
"PostgreSQL"
] | null | null | null | import httplib
import urllib2
from urllib import quote
import ssl
import socket
import json
class VerifiedHTTPSConnection(httplib.HTTPSConnection):
def connect(self):
sock = socket.create_connection((self.host, self.port), self.timeout)
if self._tunnel_host:
self.sock = sock
... | 34.293358 | 79 | 0.563835 | 2,069 | 18,587 | 4.891252 | 0.067182 | 0.044269 | 0.054348 | 0.06166 | 0.815514 | 0.813142 | 0.804348 | 0.782708 | 0.774308 | 0.770059 | 0 | 0.009796 | 0.318986 | 18,587 | 541 | 80 | 34.356747 | 0.789698 | 0 | 0 | 0.722338 | 0 | 0 | 0.115672 | 0.004358 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066806 | false | 0.004175 | 0.012526 | 0.004175 | 0.146138 | 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 |
2cef8834fbc3cd064b011f49e891162a3fe4ed2a | 19,229 | py | Python | dxm/lib/masking_api/api/role_api.py | experiortec/dxm-toolkit | b2ab6189e163c62fa8d7251cd533d2a36430d44a | [
"Apache-2.0"
] | 5 | 2018-08-23T15:47:05.000Z | 2022-01-19T23:38:18.000Z | dxm/lib/masking_api/api/role_api.py | experiortec/dxm-toolkit | b2ab6189e163c62fa8d7251cd533d2a36430d44a | [
"Apache-2.0"
] | 59 | 2018-10-15T10:37:00.000Z | 2022-03-22T20:49:25.000Z | dxm/lib/masking_api/api/role_api.py | experiortec/dxm-toolkit | b2ab6189e163c62fa8d7251cd533d2a36430d44a | [
"Apache-2.0"
] | 12 | 2019-03-08T19:59:13.000Z | 2021-12-16T03:28:04.000Z | # coding: utf-8
"""
Masking API
Schema for the Masking Engine API # noqa: E501
OpenAPI spec version: 5.1.8
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... | 37.852362 | 142 | 0.594363 | 2,298 | 19,229 | 4.717145 | 0.072672 | 0.048708 | 0.02583 | 0.03321 | 0.94262 | 0.938745 | 0.922601 | 0.900277 | 0.89917 | 0.896956 | 0 | 0.015744 | 0.316241 | 19,229 | 507 | 143 | 37.927022 | 0.808716 | 0.317697 | 0 | 0.787546 | 1 | 0 | 0.162758 | 0.02725 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040293 | false | 0 | 0.014652 | 0 | 0.113553 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fa0a64b6a9cb6e8c91c846303f6477e22dfaabf6 | 58,817 | py | Python | SysPy_ver/funcs/_signal_declaration_check.py | evlog/SysPy | d1ee6e2ca60492d20339c0016a9c24d027170553 | [
"CNRI-Python"
] | 4 | 2017-12-28T14:00:16.000Z | 2021-01-21T08:53:14.000Z | SysPy_ver/funcs/_signal_declaration_check.py | evlog/SysPy | d1ee6e2ca60492d20339c0016a9c24d027170553 | [
"CNRI-Python"
] | 1 | 2018-07-31T16:27:00.000Z | 2018-07-31T16:27:37.000Z | SysPy_ver/funcs/_signal_declaration_check.py | evlog/SysPy | d1ee6e2ca60492d20339c0016a9c24d027170553 | [
"CNRI-Python"
] | 2 | 2015-10-12T09:13:13.000Z | 2020-01-06T12:22:55.000Z | """
*****************************************************************************
*
H E A D E R I N F O R M A T I O N *
*
... | 86.622975 | 319 | 0.326385 | 4,858 | 58,817 | 3.822767 | 0.051667 | 0.060848 | 0.046201 | 0.14038 | 0.892628 | 0.869259 | 0.841096 | 0.811803 | 0.790318 | 0.775564 | 0 | 0.015703 | 0.493276 | 58,817 | 678 | 320 | 86.750737 | 0.607402 | 0.142884 | 0 | 0.722543 | 0 | 0.009634 | 0.207693 | 0.001048 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001927 | false | 0.011561 | 0.00578 | 0 | 0.007707 | 0.003854 | 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 |
3af8871a92f1bea67e826ce7bc744c3f42db4979 | 23,074 | py | Python | flappy.py | K-Venkata-Kiran/FlappyBird-game | 3fd84b7f54e34b84554a98b14583abb24d1d3132 | [
"MIT"
] | 1 | 2021-08-03T16:01:37.000Z | 2021-08-03T16:01:37.000Z | flappy.py | AbirHasan2005/FlappyBird | dd7d66968bd6cfba6cee4bd037f276a98f5b84e7 | [
"MIT"
] | null | null | null | flappy.py | AbirHasan2005/FlappyBird | dd7d66968bd6cfba6cee4bd037f276a98f5b84e7 | [
"MIT"
] | null | null | null | # By @AbirHasan2005
# Telegram Group: http://t.me/linux_repo
import base64, codecs
magic = 'ZnJvbSBpdGVydG9vbHMgaW1wb3J0IGN5Y2xlDQppbXBvcnQgcmFuZG9tDQppbXBvcnQgc3lzDQoNCmltcG9ydCBweWdhbWUNCmZyb20gcHlnYW1lLmxvY2FscyBpbXBvcnQgKg0KDQoNCkZQUyA9IDMwDQpTQ1JFRU5XSURUSCAgPSAyODgNClNDUkVFTkhFSUdIVCA9IDUxMg0KUElQRUdBUFNJ... | 1,922.833333 | 5,648 | 0.992069 | 104 | 23,074 | 220.096154 | 0.509615 | 0.001835 | 0.001573 | 0.002097 | 0.005941 | 0.005941 | 0.005941 | 0.004019 | 0.004019 | 0.004019 | 0 | 0.095588 | 0.00208 | 23,074 | 12 | 5,649 | 1,922.833333 | 0.898506 | 0.002427 | 0 | 0 | 0 | 0.25 | 0.992306 | 0.988655 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d720ec6fd25d380412f5055b4b8f98efc345ae1e | 4,137 | py | Python | tests/test_batch/test_batch_tags_job_queue.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | tests/test_batch/test_batch_tags_job_queue.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | 1 | 2022-03-07T07:39:03.000Z | 2022-03-07T07:39:03.000Z | tests/test_batch/test_batch_tags_job_queue.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | from . import _get_clients, _setup
import sure # noqa # pylint: disable=unused-import
from moto import mock_batch, mock_iam, mock_ec2, mock_ecs
from uuid import uuid4
@mock_ec2
@mock_ecs
@mock_iam
@mock_batch
def test_create_job_queue_with_tags():
ec2_client, iam_client, _, _, batch_client = _get_clients()
... | 29.978261 | 86 | 0.664975 | 495 | 4,137 | 5.20202 | 0.143434 | 0.081165 | 0.037282 | 0.055922 | 0.898641 | 0.898641 | 0.895534 | 0.895534 | 0.895534 | 0.895534 | 0 | 0.027011 | 0.194585 | 4,137 | 137 | 87 | 30.19708 | 0.745798 | 0.00846 | 0 | 0.815789 | 0 | 0 | 0.110515 | 0.020493 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035088 | false | 0 | 0.035088 | 0 | 0.070175 | 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 |
d7637a9894736bd34b52432db138dc9a18d1a82a | 172 | py | Python | file_picker/uploads/admin.py | caktus/django-file-picker | 6b5503714ce6acb3f8adebd1d4867eb7d9d8690b | [
"BSD-3-Clause"
] | 12 | 2015-12-24T10:12:33.000Z | 2021-09-20T01:58:44.000Z | file_picker/uploads/admin.py | caktus/django-file-picker | 6b5503714ce6acb3f8adebd1d4867eb7d9d8690b | [
"BSD-3-Clause"
] | 11 | 2016-08-31T18:28:02.000Z | 2017-12-14T15:56:20.000Z | file_picker/uploads/admin.py | caktus/django-file-picker | 6b5503714ce6acb3f8adebd1d4867eb7d9d8690b | [
"BSD-3-Clause"
] | 7 | 2015-12-24T10:12:52.000Z | 2020-12-21T04:25:26.000Z | from django.contrib import admin
from file_picker.uploads import models as upload_models
admin.site.register(upload_models.Image)
admin.site.register(upload_models.File)
| 24.571429 | 55 | 0.848837 | 26 | 172 | 5.461538 | 0.538462 | 0.253521 | 0.239437 | 0.323944 | 0.408451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081395 | 172 | 6 | 56 | 28.666667 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
ad815196f8af44f606b715ad52a17c47677a1812 | 19,023 | py | Python | tests/test_compute_scores.py | tods-doc/tamu_d3m | a6a05f022ea60ab9787cbd89659ea8e0062ca22b | [
"Apache-2.0"
] | null | null | null | tests/test_compute_scores.py | tods-doc/tamu_d3m | a6a05f022ea60ab9787cbd89659ea8e0062ca22b | [
"Apache-2.0"
] | null | null | null | tests/test_compute_scores.py | tods-doc/tamu_d3m | a6a05f022ea60ab9787cbd89659ea8e0062ca22b | [
"Apache-2.0"
] | null | null | null | import os
import unittest
import numpy
from d3m import container, exceptions, utils
from d3m.metadata import base as metadata_base
from d3m.contrib.primitives import compute_scores
class ComputeScoresPrimitiveTestCase(unittest.TestCase):
def test_regression(self):
dataset_doc_path = os.path.abspath(os.p... | 52.988858 | 183 | 0.647374 | 1,923 | 19,023 | 6.202288 | 0.134165 | 0.057852 | 0.042257 | 0.056343 | 0.858808 | 0.852855 | 0.844638 | 0.839943 | 0.839943 | 0.814538 | 0 | 0.057356 | 0.21821 | 19,023 | 358 | 184 | 53.136872 | 0.744621 | 0.024392 | 0 | 0.743056 | 0 | 0 | 0.214363 | 0.027658 | 0 | 0 | 0 | 0.002793 | 0.076389 | 1 | 0.020833 | false | 0 | 0.020833 | 0 | 0.045139 | 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 |
ad913774e6ea6b02c5f0dce6d7e87e6118f6ab09 | 217 | py | Python | evcouplings/couplings/__init__.py | mrunalimanj/EVcouplings | 41e88ce057bc361eb27a938f069476a25aef94c6 | [
"MIT"
] | 117 | 2017-09-03T12:53:26.000Z | 2022-03-27T15:19:28.000Z | evcouplings/couplings/__init__.py | mrunalimanj/EVcouplings | 41e88ce057bc361eb27a938f069476a25aef94c6 | [
"MIT"
] | 187 | 2017-09-06T14:21:51.000Z | 2022-03-30T21:42:59.000Z | evcouplings/couplings/__init__.py | mrunalimanj/EVcouplings | 41e88ce057bc361eb27a938f069476a25aef94c6 | [
"MIT"
] | 53 | 2017-09-11T05:03:34.000Z | 2022-03-14T05:08:04.000Z | from evcouplings.couplings.mapping import *
from evcouplings.couplings.model import *
from evcouplings.couplings.pairs import *
from evcouplings.couplings.tools import *
from evcouplings.couplings.mean_field import *
| 36.166667 | 46 | 0.83871 | 26 | 217 | 6.961538 | 0.384615 | 0.414365 | 0.662983 | 0.662983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092166 | 217 | 5 | 47 | 43.4 | 0.918782 | 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 |
d11128b095527d2899d575a51a1673976b9c0d93 | 7,927 | py | Python | Code/Python/Tutoring/Challenge/TurtleChallengeGabe/main.py | dks1018/CoffeeShopCoding | 13ac1700673c86c601eb2758570920620a956e4c | [
"ADSL"
] | null | null | null | Code/Python/Tutoring/Challenge/TurtleChallengeGabe/main.py | dks1018/CoffeeShopCoding | 13ac1700673c86c601eb2758570920620a956e4c | [
"ADSL"
] | null | null | null | Code/Python/Tutoring/Challenge/TurtleChallengeGabe/main.py | dks1018/CoffeeShopCoding | 13ac1700673c86c601eb2758570920620a956e4c | [
"ADSL"
] | null | null | null | import time
# You can edit this code and run it right here in the browser!
# First we'll import some turtles and shapes:
from turtle import *
from shapes import *
# Creating a window
window = turtle.Screen()
window.setup(400, 400)
# Create a turtle named Tommy:
tommy = Turtle()
tommy.shape("turtle")
tommy.speed(0)
# s... | 33.876068 | 70 | 0.740633 | 1,146 | 7,927 | 5.054974 | 0.111693 | 0.391507 | 0.500259 | 0.129121 | 0.861902 | 0.847229 | 0.730537 | 0.730019 | 0.730019 | 0.730019 | 0 | 0.115748 | 0.093226 | 7,927 | 234 | 71 | 33.876068 | 0.690178 | 0.046424 | 0 | 0.623853 | 0 | 0 | 0.054222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013761 | 0 | 0.013761 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d1643094e55979c9000337444c7d902a0670e75d | 791 | py | Python | confusion.py | rishabhguptagithub/graph_convnet_retina | 2458d15e02465c9a9167b0dbd08966074eb4aecf | [
"MIT"
] | 2 | 2019-03-12T12:58:35.000Z | 2019-11-14T02:23:56.000Z | confusion.py | rishotics/graph_convnet_retina | 2458d15e02465c9a9167b0dbd08966074eb4aecf | [
"MIT"
] | null | null | null | confusion.py | rishotics/graph_convnet_retina | 2458d15e02465c9a9167b0dbd08966074eb4aecf | [
"MIT"
] | 1 | 2019-03-07T13:13:35.000Z | 2019-03-07T13:13:35.000Z | from sklearn.metrics import confusion_matrix
class_predicted=[1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1,
1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0,
1, 1, 1, 1, 1, 1, ... | 56.5 | 88 | 0.388116 | 219 | 791 | 1.374429 | 0.063927 | 0.471761 | 0.488372 | 0.504983 | 0.664452 | 0.664452 | 0.66113 | 0.66113 | 0.631229 | 0.631229 | 0 | 0.3861 | 0.345133 | 791 | 13 | 89 | 60.846154 | 0.194981 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.076923 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 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 | 7 |
0f350eea54262da10bfa94032e147bd12f5ba3fd | 29,545 | py | Python | tests/test_dataflow/test_dataset/test_parser.py | alexandreMayerowitz/playground-plums | a6be79e4c30c7abcbade5581f052a4e8035a2057 | [
"MIT"
] | null | null | null | tests/test_dataflow/test_dataset/test_parser.py | alexandreMayerowitz/playground-plums | a6be79e4c30c7abcbade5581f052a4e8035a2057 | [
"MIT"
] | null | null | null | tests/test_dataflow/test_dataset/test_parser.py | alexandreMayerowitz/playground-plums | a6be79e4c30c7abcbade5581f052a4e8035a2057 | [
"MIT"
] | 2 | 2021-02-03T12:37:53.000Z | 2022-03-09T03:48:12.000Z | import pytest
from plums.dataflow.utils.parser import Parser, ComponentResolver, GroupResolver, ExtensionResolver, \
PatternSyntaxError, InvalidGroupConstructSyntaxError, MissingGroupRegexSyntaxError, MissingGroupNameSyntaxError, \
MissingGroupOpeningSyntaxError, MissingGroupClosingSyntaxError, FileMissingSynt... | 39.498663 | 118 | 0.687054 | 3,220 | 29,545 | 6.275776 | 0.026398 | 0.169982 | 0.106394 | 0.058195 | 0.939232 | 0.939034 | 0.934679 | 0.92978 | 0.914836 | 0.901277 | 0 | 0.015586 | 0.170452 | 29,545 | 747 | 119 | 39.551539 | 0.808927 | 0.019225 | 0 | 0.846774 | 0 | 0 | 0.152416 | 0.108385 | 0 | 0 | 0 | 0 | 0.677419 | 1 | 0.014516 | false | 0 | 0.003226 | 0 | 0.017742 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7e30ac9e11a07ba89cd85279e61ffa0f6ad39175 | 3,424 | py | Python | test/test_source.py | jsbronder/delbert | c6c809c4c521914a3d9b172f490b1bbb08d1ca78 | [
"BSD-3-Clause"
] | null | null | null | test/test_source.py | jsbronder/delbert | c6c809c4c521914a3d9b172f490b1bbb08d1ca78 | [
"BSD-3-Clause"
] | 13 | 2015-01-05T18:31:11.000Z | 2019-11-30T21:47:52.000Z | test/test_source.py | jsbronder/delbert | c6c809c4c521914a3d9b172f490b1bbb08d1ca78 | [
"BSD-3-Clause"
] | 2 | 2016-03-17T22:00:56.000Z | 2018-06-19T18:44:13.000Z | import os
import unittest
import base
class SourceTester(unittest.TestCase):
def setUp(self):
self.config = {
'responses': ['response'],
'url' : 'http://url.com',
'pre_verbs': ['make', 'modify'],
'post_verbs': ['should'],
}
self._plugin = ba... | 39.813953 | 101 | 0.627336 | 449 | 3,424 | 4.572383 | 0.129176 | 0.140283 | 0.131515 | 0.126644 | 0.823186 | 0.823186 | 0.823186 | 0.823186 | 0.803215 | 0.706283 | 0 | 0.011974 | 0.195093 | 3,424 | 85 | 102 | 40.282353 | 0.732946 | 0 | 0 | 0.4 | 0 | 0 | 0.113026 | 0 | 0 | 0 | 0 | 0 | 0.276923 | 1 | 0.230769 | false | 0.184615 | 0.046154 | 0 | 0.292308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
7e42bb963a84a65fab6d1a0c36d6a2b54fe5a29a | 264 | py | Python | tests/2019/test_16_flawed_frequency_transmission.py | wimglenn/advent-of-code-wim | 6308c3fa5d29b318680419f877fd5b8ac1359b5d | [
"WTFPL"
] | 20 | 2019-10-15T07:33:13.000Z | 2022-01-19T13:40:36.000Z | tests/2019/test_16_flawed_frequency_transmission.py | wimglenn/advent-of-code-wim | 6308c3fa5d29b318680419f877fd5b8ac1359b5d | [
"WTFPL"
] | 5 | 2019-02-01T23:31:27.000Z | 2021-12-03T06:55:58.000Z | tests/2019/test_16_flawed_frequency_transmission.py | wimglenn/advent-of-code-wim | 6308c3fa5d29b318680419f877fd5b8ac1359b5d | [
"WTFPL"
] | 8 | 2019-12-03T15:41:23.000Z | 2021-12-06T17:13:57.000Z | from aoc_wim.aoc2019 import q16
def test_small_example():
assert q16.part_a("12345678", 1) == "48226158"
assert q16.part_a("12345678", 2) == "34040438"
assert q16.part_a("12345678", 3) == "03415518"
assert q16.part_a("12345678", 4) == "01029498"
| 29.333333 | 50 | 0.666667 | 38 | 264 | 4.447368 | 0.578947 | 0.213018 | 0.307692 | 0.331361 | 0.52071 | 0 | 0 | 0 | 0 | 0 | 0 | 0.372727 | 0.166667 | 264 | 8 | 51 | 33 | 0.395455 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7e56567654e0f7fd888fcbd9184dc88967931ee0 | 32,623 | py | Python | TowardsReal-TimeFacialLandmarkDetectionInDepthDataUsingAuxiliaryInformation.py | connahKendrickMMU/Towards-Real-Time-Facial-Landmark-Detection-in-Depth-Data-using-Auxiliary-Information | 16c52ae58d6af7650f9f342b511062d11d739ea7 | [
"MIT"
] | 5 | 2018-11-01T22:48:45.000Z | 2021-12-13T14:04:01.000Z | TowardsReal-TimeFacialLandmarkDetectionInDepthDataUsingAuxiliaryInformation.py | connahKendrickMMU/Towards-Real-Time-Facial-Landmark-Detection-in-Depth-Data-using-Auxiliary-Information | 16c52ae58d6af7650f9f342b511062d11d739ea7 | [
"MIT"
] | null | null | null | TowardsReal-TimeFacialLandmarkDetectionInDepthDataUsingAuxiliaryInformation.py | connahKendrickMMU/Towards-Real-Time-Facial-Landmark-Detection-in-Depth-Data-using-Auxiliary-Information | 16c52ae58d6af7650f9f342b511062d11d739ea7 | [
"MIT"
] | 1 | 2020-05-24T22:05:38.000Z | 2020-05-24T22:05:38.000Z | # In[ ]:
"""
"""
# The number next to imports show version number, if applicable
import cv2 # 3.30
import os
import numpy # 1.13.3
import struct
from mpl_toolkits.mplot3d import Axes3D
#from sys import byteorder
import matplotlib.pyplot as plt
import pandas # 0.19.2
#from keras.wrappers.scikit_lea... | 45.883263 | 268 | 0.647396 | 4,443 | 32,623 | 4.607472 | 0.074499 | 0.071125 | 0.07982 | 0.034879 | 0.871135 | 0.864833 | 0.843046 | 0.828391 | 0.800938 | 0.794685 | 0 | 0.06261 | 0.182387 | 32,623 | 711 | 269 | 45.883263 | 0.70487 | 0.054685 | 0 | 0.759928 | 0 | 0 | 0.093114 | 0.001206 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028881 | false | 0 | 0.027076 | 0 | 0.088448 | 0.101083 | 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 |
7e5f3ced1e7c3a04ca520ff0fe9f4a33c0a04db6 | 64,340 | py | Python | SVM_classification.py | d-kozak/sdu-data-science | 9197f615fcf9cd8f3305c3b5ea498afe32f0523a | [
"MIT"
] | null | null | null | SVM_classification.py | d-kozak/sdu-data-science | 9197f615fcf9cd8f3305c3b5ea498afe32f0523a | [
"MIT"
] | null | null | null | SVM_classification.py | d-kozak/sdu-data-science | 9197f615fcf9cd8f3305c3b5ea498afe32f0523a | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
from skimage import io
import imageio
from sklearn.cluster import KMeans
from sklearn.svm import SVC
import os
# #1----------------------------------------------------------------------------------------------------------
# classes = {'wall': 0, 'polyp': 1, 'dirt': ... | 34.759589 | 111 | 0.60286 | 9,033 | 64,340 | 4.244991 | 0.023912 | 0.051115 | 0.069005 | 0.061338 | 0.820837 | 0.798592 | 0.797131 | 0.79541 | 0.793506 | 0.793506 | 0 | 0.095584 | 0.116568 | 64,340 | 1,850 | 112 | 34.778378 | 0.579029 | 0.922754 | 0 | 0.057143 | 0 | 0 | 0.025564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.028571 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7eaec9d0967a345b7c638c87df49367f4468bd6f | 21,765 | py | Python | nihms.py | albinmathew/nihms | e3963bc2dae4988a60837a6e424298753d20f692 | [
"MIT"
] | null | null | null | nihms.py | albinmathew/nihms | e3963bc2dae4988a60837a6e424298753d20f692 | [
"MIT"
] | null | null | null | nihms.py | albinmathew/nihms | e3963bc2dae4988a60837a6e424298753d20f692 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'nihms.ui'
#
# Created: Tue Mar 11 11:06:20 2014
# by: PyQt4 UI code generator 4.9.6
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
exc... | 54.962121 | 127 | 0.673007 | 2,551 | 21,765 | 5.699726 | 0.081537 | 0.14663 | 0.085832 | 0.112655 | 0.811761 | 0.789752 | 0.782187 | 0.766781 | 0.740784 | 0.726823 | 0 | 0.049364 | 0.202343 | 21,765 | 395 | 128 | 55.101266 | 0.788146 | 0.009603 | 0 | 0.697368 | 1 | 0 | 0.025056 | 0.006004 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013158 | false | 0 | 0.007895 | 0.007895 | 0.031579 | 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 |
7eb42eb036582b5c63a7773d4fc73a52f3d02734 | 190 | py | Python | src/core/controller/controller.py | SirDavidLudwig/AsteroidsPlus | 9de02bf917ee6dc22e995bd20c46b7808d8f54ee | [
"MIT"
] | null | null | null | src/core/controller/controller.py | SirDavidLudwig/AsteroidsPlus | 9de02bf917ee6dc22e995bd20c46b7808d8f54ee | [
"MIT"
] | null | null | null | src/core/controller/controller.py | SirDavidLudwig/AsteroidsPlus | 9de02bf917ee6dc22e995bd20c46b7808d8f54ee | [
"MIT"
] | null | null | null |
class Controller:
def __init__(self):
pass
def key_press(self, event):
pass
def key_release(self, event):
pass
def update(self):
pass
def receive_joy(self, event):
pass
| 10.555556 | 30 | 0.684211 | 28 | 190 | 4.392857 | 0.464286 | 0.227642 | 0.317073 | 0.260163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215789 | 190 | 17 | 31 | 11.176471 | 0.825503 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0.454545 | 0 | 0 | 0.545455 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
0e1776c9937680efb575ecb94a7707f39fc200da | 89 | py | Python | psikit/__init__.py | iwatobipen/psikit | 2c7c46983a155a7888e0404ddda3467971d79524 | [
"BSD-3-Clause"
] | null | null | null | psikit/__init__.py | iwatobipen/psikit | 2c7c46983a155a7888e0404ddda3467971d79524 | [
"BSD-3-Clause"
] | null | null | null | psikit/__init__.py | iwatobipen/psikit | 2c7c46983a155a7888e0404ddda3467971d79524 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from psikit.psikit import Psikit
from psikit.psikit import Sapt
| 17.8 | 32 | 0.719101 | 13 | 89 | 4.923077 | 0.538462 | 0.3125 | 0.5 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.157303 | 89 | 4 | 33 | 22.25 | 0.84 | 0.235955 | 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 |
0e48052d1b339c0b0ceb3bf96c5b9da43df69d8c | 17,449 | py | Python | user/tests.py | 810Teams/clubs-and-events-backend | cf429f43251ad7e77c0d9bc9fe91bb030ca8bae8 | [
"MIT"
] | 1 | 2021-06-25T17:16:13.000Z | 2021-06-25T17:16:13.000Z | user/tests.py | 810Teams/clubs-and-events-backend | cf429f43251ad7e77c0d9bc9fe91bb030ca8bae8 | [
"MIT"
] | null | null | null | user/tests.py | 810Teams/clubs-and-events-backend | cf429f43251ad7e77c0d9bc9fe91bb030ca8bae8 | [
"MIT"
] | null | null | null | '''
User Application Tests
user/tests.py
@author Teerapat Kraisrisirikul (810Teams)
'''
from datetime import datetime
from django.contrib.auth import get_user_model
from rest_framework import status
from rest_framework.test import APITestCase
from user.models import EmailPreference, StudentCommitteeAutho... | 39.29955 | 117 | 0.666342 | 2,048 | 17,449 | 5.471191 | 0.072754 | 0.068719 | 0.059438 | 0.077644 | 0.877198 | 0.860419 | 0.848996 | 0.81419 | 0.792503 | 0.781526 | 0 | 0.044045 | 0.199782 | 17,449 | 443 | 118 | 39.388262 | 0.758433 | 0.072612 | 0 | 0.734082 | 0 | 0 | 0.125425 | 0.045884 | 0 | 0 | 0 | 0 | 0.213483 | 1 | 0.149813 | false | 0.138577 | 0.018727 | 0 | 0.198502 | 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 |
0e5180e01731aa0ed164e5f9d5c5c10e7f5a27de | 32,313 | py | Python | awp5/api/server.py | ThomasWaldinger/py_awp5 | 10077ab81eab506bea58a67242c2d550988ec18c | [
"Apache-2.0"
] | 2 | 2019-04-10T16:46:19.000Z | 2020-08-18T21:57:59.000Z | awp5/api/server.py | ThomasWaldinger/py_awp5 | 10077ab81eab506bea58a67242c2d550988ec18c | [
"Apache-2.0"
] | null | null | null | awp5/api/server.py | ThomasWaldinger/py_awp5 | 10077ab81eab506bea58a67242c2d550988ec18c | [
"Apache-2.0"
] | null | null | null | # -------------------------------------------------------------------------
# Copyright (c) Thomas Waldinger. All rights reserved.
# Licensed under the Apache License, Version 2.0. See
# License.txt in the project root for license
# information.
# ---------------
"""
Server
Queries P5 Backup2Go server resources config... | 38.791116 | 79 | 0.642064 | 3,876 | 32,313 | 5.259288 | 0.077399 | 0.051018 | 0.03846 | 0.053569 | 0.94079 | 0.933873 | 0.928232 | 0.927447 | 0.913564 | 0.910719 | 0 | 0.009161 | 0.283849 | 32,313 | 832 | 80 | 38.83774 | 0.871743 | 0.522978 | 0 | 0.764912 | 0 | 0 | 0.035474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.189474 | false | 0.02807 | 0.014035 | 0.003509 | 0.414035 | 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 |
0e974d8806cccd898a4b35d2ecc43b7d60801c5c | 11 | py | Python | tests/syntax/unicode_fraction3.py | hoefling/friendly-traceback | 26acac903521c5f0e5cf837d32bda750918d4afb | [
"MIT"
] | 45 | 2021-07-06T03:30:20.000Z | 2022-03-16T17:30:58.000Z | tests/syntax/unicode_fraction3.py | hoefling/friendly-traceback | 26acac903521c5f0e5cf837d32bda750918d4afb | [
"MIT"
] | 110 | 2021-06-28T11:48:46.000Z | 2022-03-25T20:41:25.000Z | tests/syntax/unicode_fraction3.py | hoefling/friendly-traceback | 26acac903521c5f0e5cf837d32bda750918d4afb | [
"MIT"
] | 4 | 2021-07-05T20:56:39.000Z | 2021-11-11T20:24:34.000Z | a = 22 ⁄ 7
| 5.5 | 10 | 0.363636 | 4 | 11 | 1.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.454545 | 11 | 1 | 11 | 11 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7ebe355dee4d6b2d9efbfde979004550c521d3e7 | 168 | py | Python | settings.py | typewriter1/FlyingGame | 3931be9bc4f38797a062af23469cdce558118f5f | [
"MIT"
] | 13 | 2018-07-06T15:55:33.000Z | 2022-01-02T18:02:20.000Z | settings.py | typewriter1/FlyingGame | 3931be9bc4f38797a062af23469cdce558118f5f | [
"MIT"
] | 1 | 2020-05-29T08:17:06.000Z | 2020-05-29T08:17:06.000Z | settings.py | typewriter1/FlyingGame | 3931be9bc4f38797a062af23469cdce558118f5f | [
"MIT"
] | 3 | 2018-11-01T01:49:48.000Z | 2020-06-04T09:45:56.000Z | from gamebase import MenuBase
class Settings(object):
def __init__(self):
pass
def hide(self):
pass
def show(self):
pass
| 16.8 | 31 | 0.559524 | 19 | 168 | 4.736842 | 0.684211 | 0.266667 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.369048 | 168 | 9 | 32 | 18.666667 | 0.849057 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.375 | 0.125 | 0 | 0.625 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
7ed316ed88f066b06de40273e26df5bfd1b75954 | 1,659 | py | Python | montlake/None.py | sjkoelle/montlake | b908a43e0c00763bd1cf86120eaa6bdf7d8d1196 | [
"Apache-2.0"
] | 8 | 2021-11-24T19:39:24.000Z | 2021-12-03T01:30:14.000Z | montlake/None.py | sjkoelle/montlake | b908a43e0c00763bd1cf86120eaa6bdf7d8d1196 | [
"Apache-2.0"
] | null | null | null | montlake/None.py | sjkoelle/montlake | b908a43e0c00763bd1cf86120eaa6bdf7d8d1196 | [
"Apache-2.0"
] | null | null | null |
# Cell
if __name__ == "__main__" and not IN_NOTEBOOK:
args = parse_args(sys.argv[1:])
config = {}
if args.config:
with open(args.config) as f:
config.update(json.load(f))
hparams = HParams(**config)
if hparams.data_sub == None:
positions, randomindices = subset_data(hp... | 31.903846 | 69 | 0.64557 | 207 | 1,659 | 4.971014 | 0.169082 | 0.046647 | 0.081633 | 0.110787 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0.002331 | 0.224231 | 1,659 | 52 | 70 | 31.903846 | 0.797203 | 0.008439 | 0 | 1 | 0 | 0 | 0.047561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
adbf8443b820fadbb194f9b6e95edce8d587b084 | 8 | py | Python | CloudflareAPI/__version__.py | nikhiljohn10/cloudflare-api | 841ecd0c6545dafe72c975536e040ef054c05d22 | [
"MIT"
] | null | null | null | CloudflareAPI/__version__.py | nikhiljohn10/cloudflare-api | 841ecd0c6545dafe72c975536e040ef054c05d22 | [
"MIT"
] | null | null | null | CloudflareAPI/__version__.py | nikhiljohn10/cloudflare-api | 841ecd0c6545dafe72c975536e040ef054c05d22 | [
"MIT"
] | null | null | null | #v2.1.0
| 4 | 7 | 0.5 | 3 | 8 | 1.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 0.125 | 8 | 1 | 8 | 8 | 0.142857 | 0.75 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 0 | 0 | 7 |
adcd78ef167c75987a0feac3f13f7b05bf0ff614 | 11,142 | py | Python | tests/app/v2_company_companyinfo_test.py | BoostryJP/ibet-Wallet-API | da7323a298bdb746e93da8a9b57a5da1dd6f14ac | [
"Apache-2.0"
] | 6 | 2021-06-16T02:06:21.000Z | 2021-09-20T09:50:56.000Z | tests/app/v2_company_companyinfo_test.py | BoostryJP/ibet-Wallet-API | da7323a298bdb746e93da8a9b57a5da1dd6f14ac | [
"Apache-2.0"
] | 68 | 2021-04-06T03:44:54.000Z | 2022-03-29T02:00:02.000Z | tests/app/v2_company_companyinfo_test.py | BoostryJP/ibet-Wallet-API | da7323a298bdb746e93da8a9b57a5da1dd6f14ac | [
"Apache-2.0"
] | null | null | null | """
Copyright BOOSTRY Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distr... | 105.113208 | 1,905 | 0.848591 | 720 | 11,142 | 13.015278 | 0.301389 | 0.011738 | 0.010885 | 0.012272 | 0.884964 | 0.880269 | 0.871519 | 0.871519 | 0.871519 | 0.866716 | 0 | 0.111035 | 0.080147 | 11,142 | 105 | 1,906 | 106.114286 | 0.803298 | 0.065697 | 0 | 0.575758 | 0 | 0.060606 | 0.780995 | 0.716841 | 0 | 1 | 0.007983 | 0 | 0.151515 | 1 | 0.060606 | false | 0 | 0.045455 | 0 | 0.136364 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
1dae7acfe894c48ffacef9d3589d05aa18d0fe1e | 8,870 | py | Python | stubs.min/System/__init___parts/IConvertible.py | denfromufa/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2017-07-07T11:15:45.000Z | 2017-07-07T11:15:45.000Z | stubs.min/System/__init___parts/IConvertible.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/System/__init___parts/IConvertible.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class IConvertible:
""" Defines methods that convert the value of the implementing reference or value type to a common language runtime type that has an equivalent value. """
def GetTypeCode(self):
"""
GetTypeCode(self: IConvertible) -> TypeCode
Returns the System.TypeCode for this instance.
Re... | 36.056911 | 156 | 0.719504 | 996 | 8,870 | 6.379518 | 0.108434 | 0.042808 | 0.05351 | 0.07271 | 0.725842 | 0.718602 | 0.710576 | 0.710576 | 0.685552 | 0.638495 | 0 | 0.009014 | 0.224577 | 8,870 | 245 | 157 | 36.204082 | 0.914801 | 0.831116 | 0 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004082 | 0 | 1 | 0.486486 | false | 0.486486 | 0 | 0 | 0.513514 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 | 1 | 0 | 0 | 8 |
1db3c76616eaf9ac23639eff94326f9b511b2fcd | 2,983 | py | Python | scripts/markdown_builders.py | tompsh/tompsh.github.io | 3283ee2de46730adf14ef4f6bd2963b345500562 | [
"BSD-2-Clause"
] | null | null | null | scripts/markdown_builders.py | tompsh/tompsh.github.io | 3283ee2de46730adf14ef4f6bd2963b345500562 | [
"BSD-2-Clause"
] | null | null | null | scripts/markdown_builders.py | tompsh/tompsh.github.io | 3283ee2de46730adf14ef4f6bd2963b345500562 | [
"BSD-2-Clause"
] | null | null | null | import pandas as pd
class CongressMarkdownBuilder:
def __init__(self):
self.html = ""
self.links = []
self.mailtos = {}
self.df_congress = pd.read_csv("congress.csv").sort_values("party")
def build_html(self):
self.html = """
---
title: "Solta o verbo! Edicao: congress... | 25.495726 | 75 | 0.4824 | 328 | 2,983 | 4.304878 | 0.25 | 0.067989 | 0.033994 | 0.021246 | 0.818697 | 0.773371 | 0.773371 | 0.773371 | 0.773371 | 0.773371 | 0 | 0.025397 | 0.36641 | 2,983 | 116 | 76 | 25.715517 | 0.721693 | 0 | 0 | 0.8 | 0 | 0 | 0.204827 | 0.054308 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.01 | 0 | 0.11 | 0.03 | 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 |
1dc5f9161aa8da03ebdd35eeb95d22a651ef7ac5 | 19,765 | py | Python | tests/test_observable_imperative.py | rlugojr/RxPy | 9f9b1de0ab833e53b0d1626a3b43a6c9424f01ec | [
"ECL-2.0",
"Apache-2.0"
] | 78 | 2015-01-22T23:57:01.000Z | 2021-06-04T15:16:22.000Z | tests/test_observable_imperative.py | rlugojr/RxPy | 9f9b1de0ab833e53b0d1626a3b43a6c9424f01ec | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2015-10-19T12:59:57.000Z | 2015-10-19T12:59:57.000Z | tests/test_observable_imperative.py | rlugojr/RxPy | 9f9b1de0ab833e53b0d1626a3b43a6c9424f01ec | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2015-02-16T20:43:45.000Z | 2018-05-30T11:46:50.000Z | from rx import Observable
from rx.testing import TestScheduler, ReactiveTest, is_prime
on_next = ReactiveTest.on_next
on_completed = ReactiveTest.on_completed
on_error = ReactiveTest.on_error
subscribe = ReactiveTest.subscribe
subscribed = ReactiveTest.subscribed
disposed = ReactiveTest.disposed
created = ReactiveTest... | 39.138614 | 258 | 0.628485 | 2,565 | 19,765 | 4.663548 | 0.05809 | 0.11687 | 0.026919 | 0.090955 | 0.910968 | 0.908962 | 0.894499 | 0.866828 | 0.856295 | 0.839743 | 0 | 0.093502 | 0.22297 | 19,765 | 505 | 259 | 39.138614 | 0.685376 | 0.928206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1dc6cd859a99e7a194ea2a5b575643e3440971b2 | 1,090 | py | Python | oop_patterns_python/week_3/patern_decorator/test_hero.py | assassinen/coursera_mfti_python | eee7b3c55256f391c1be32924fa1ad3364b307f2 | [
"Apache-2.0"
] | null | null | null | oop_patterns_python/week_3/patern_decorator/test_hero.py | assassinen/coursera_mfti_python | eee7b3c55256f391c1be32924fa1ad3364b307f2 | [
"Apache-2.0"
] | null | null | null | oop_patterns_python/week_3/patern_decorator/test_hero.py | assassinen/coursera_mfti_python | eee7b3c55256f391c1be32924fa1ad3364b307f2 | [
"Apache-2.0"
] | null | null | null | from oop_patterns_python.week_3.patern_decorator.hero_effects import *
from oop_patterns_python.week_3.patern_decorator.hero import Hero
test_hero = Hero()
# print(test_hero.get_stats())
print()
print(1, test_hero.get_positive_effects())
print(6, test_hero.get_negative_effects())
print(test_hero.get_stats())
test_he... | 25.952381 | 70 | 0.793578 | 174 | 1,090 | 4.574713 | 0.149425 | 0.311558 | 0.248744 | 0.140704 | 0.865578 | 0.781407 | 0.757538 | 0.757538 | 0.712312 | 0.599246 | 0 | 0.012846 | 0.07156 | 1,090 | 41 | 71 | 26.585366 | 0.773715 | 0.157798 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.074074 | 0 | 0.074074 | 0.740741 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
69c1d7eac769266fa9414283513ba881adf0a0d9 | 40,208 | py | Python | SAI/test/saithrift/tests/saitunnel.py | bocon13/stratum-sonic | 9be75505869ee81d30ef9b65276f7d55f495658f | [
"Apache-2.0"
] | null | null | null | SAI/test/saithrift/tests/saitunnel.py | bocon13/stratum-sonic | 9be75505869ee81d30ef9b65276f7d55f495658f | [
"Apache-2.0"
] | null | null | null | SAI/test/saithrift/tests/saitunnel.py | bocon13/stratum-sonic | 9be75505869ee81d30ef9b65276f7d55f495658f | [
"Apache-2.0"
] | null | null | null | # (C) Copyright @ 2016 Broadcom. All Rights Reserved. The term Broadcom refers to Broadcom Limited and/or its subsidiaries.
#
# 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... | 50.385965 | 222 | 0.575134 | 5,362 | 40,208 | 3.959717 | 0.0511 | 0.036454 | 0.045215 | 0.048229 | 0.890637 | 0.863649 | 0.833271 | 0.81867 | 0.805011 | 0.787067 | 0 | 0.087118 | 0.296284 | 40,208 | 797 | 223 | 50.449184 | 0.663262 | 0.121195 | 0 | 0.77634 | 0 | 0 | 0.095158 | 0.047036 | 0 | 0 | 0.003377 | 0 | 0 | 1 | 0.020333 | false | 0 | 0.007394 | 0 | 0.079482 | 0.005545 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.