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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a61c2733c9a37c35b7859ec871c2d280ecef250d | 2,384 | py | Python | data.py | didallorto/MyFlaskApp | 1fe6766a39b1082230b75cb9e9c527afda9ec717 | [
"Apache-2.0"
] | 2 | 2019-09-11T13:33:02.000Z | 2019-09-16T06:12:03.000Z | data.py | didallorto/MyFlaskApp | 1fe6766a39b1082230b75cb9e9c527afda9ec717 | [
"Apache-2.0"
] | 2 | 2019-09-17T19:43:40.000Z | 2019-09-20T05:53:26.000Z | data.py | didallorto/MyFlaskApp | 1fe6766a39b1082230b75cb9e9c527afda9ec717 | [
"Apache-2.0"
] | null | null | null | def Articles():
articles = [
{
'id': 1,
'title': 'Article one',
'body': 'O Lorem Ipsum é um texto modelo da indústria tipográfica e de impressão. O Lorem Ipsum tem vindo a ser o texto padrão usado por estas indústrias desde o ano de 1500, quando uma misturou os caracteres... | 91.692308 | 623 | 0.699245 | 347 | 2,384 | 4.795389 | 0.270893 | 0.072115 | 0.039663 | 0.027043 | 0.938101 | 0.927284 | 0.903245 | 0.903245 | 0.903245 | 0.903245 | 0 | 0.026696 | 0.245805 | 2,384 | 26 | 624 | 91.692308 | 0.898776 | 0 | 0 | 0.24 | 0 | 0.12 | 0.824738 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0.12 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
a661e71f55a789b24d502053eef9dbfd2754cd6f | 7,298 | py | Python | tests/core/test_skip_graph_node.py | ethereum/alexandria | adba4114fbd5f707181da602abd977e008e463c9 | [
"MIT"
] | 7 | 2020-04-06T14:45:55.000Z | 2021-11-04T14:16:19.000Z | tests/core/test_skip_graph_node.py | pipermerriam/alexandria | adba4114fbd5f707181da602abd977e008e463c9 | [
"MIT"
] | 6 | 2020-04-09T20:36:14.000Z | 2020-04-12T01:33:59.000Z | tests/core/test_skip_graph_node.py | pipermerriam/alexandria | adba4114fbd5f707181da602abd977e008e463c9 | [
"MIT"
] | 7 | 2020-04-04T17:16:04.000Z | 2022-03-28T18:57:04.000Z | import pytest
from eth_utils import ValidationError
from alexandria.skip_graph import SGNode, LEFT, RIGHT
def test_single_node():
node = SGNode(0)
assert node.max_level == 0
for level in range(256):
assert node.get_neighbor(level, LEFT) is None
assert node.get_neighbor(level, RIGHT) is... | 32.873874 | 90 | 0.666621 | 1,152 | 7,298 | 4.05816 | 0.054688 | 0.188235 | 0.205775 | 0.309947 | 0.896684 | 0.858824 | 0.814332 | 0.789091 | 0.759572 | 0.72877 | 0 | 0.047308 | 0.20348 | 7,298 | 221 | 91 | 33.022624 | 0.756924 | 0.010003 | 0 | 0.628931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.685535 | 1 | 0.037736 | false | 0 | 0.018868 | 0 | 0.056604 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
5b36d2aa9a253053a65dbad97d0c0bcf58fefc62 | 174 | py | Python | BM2/Exerc02/test_ex_01.py | kauaramirez/LP2_2s2017 | 30e017ab249433cbc988a0330bdd34860f9526e7 | [
"Apache-2.0"
] | null | null | null | BM2/Exerc02/test_ex_01.py | kauaramirez/LP2_2s2017 | 30e017ab249433cbc988a0330bdd34860f9526e7 | [
"Apache-2.0"
] | null | null | null | BM2/Exerc02/test_ex_01.py | kauaramirez/LP2_2s2017 | 30e017ab249433cbc988a0330bdd34860f9526e7 | [
"Apache-2.0"
] | null | null | null | from Main import ex01
def test_ex_01():
assert ex01("Kaua",1500,10) == 1650
assert ex01("Natalia", 1000, 10) == 1100
assert ex01("Doente", 3500, 15) == 4025 | 29 | 45 | 0.62069 | 26 | 174 | 4.076923 | 0.769231 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 0.224138 | 174 | 6 | 46 | 29 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f390cdb2d1708e2babaf2ad8e6fa94742a30ed22 | 3,739 | py | Python | iseq/test/test_codon_table.py | EBI-Metagenomics/iseq | 3c28fc92e5af05c91c6669d7f1a28d1ce857f3f1 | [
"MIT"
] | null | null | null | iseq/test/test_codon_table.py | EBI-Metagenomics/iseq | 3c28fc92e5af05c91c6669d7f1a28d1ce857f3f1 | [
"MIT"
] | null | null | null | iseq/test/test_codon_table.py | EBI-Metagenomics/iseq | 3c28fc92e5af05c91c6669d7f1a28d1ce857f3f1 | [
"MIT"
] | null | null | null | from nmm import Codon, DNAAlphabet, IUPACAminoAlphabet, RNAAlphabet
from iseq.codon_table import CodonTable
from iseq.gencode import GeneticCode
def test_codon_table_dna():
base_abc = DNAAlphabet()
amino_abc = IUPACAminoAlphabet()
table = CodonTable(base_abc, amino_abc)
assert len(table.codons(b"P"... | 36.300971 | 67 | 0.69671 | 622 | 3,739 | 4.048232 | 0.107717 | 0.116759 | 0.171565 | 0.235902 | 0.911835 | 0.880858 | 0.833201 | 0.822875 | 0.808578 | 0.79587 | 0 | 0.008626 | 0.162878 | 3,739 | 102 | 68 | 36.656863 | 0.795847 | 0 | 0 | 0.527778 | 0 | 0 | 0.037176 | 0 | 0 | 0 | 0 | 0 | 0.777778 | 1 | 0.041667 | false | 0 | 0.041667 | 0 | 0.083333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3414c6165374c6353718478c6093d358691d7e03 | 187 | py | Python | pconsole/defaults.py | l3alr0g/Pconsole | 657ead3e2060d74830c04aae33ce5498cf7b672f | [
"MIT"
] | 4 | 2020-07-02T14:09:17.000Z | 2021-11-29T20:13:49.000Z | pconsole/defaults.py | l3alr0g/Pconsole | 657ead3e2060d74830c04aae33ce5498cf7b672f | [
"MIT"
] | null | null | null | pconsole/defaults.py | l3alr0g/Pconsole | 657ead3e2060d74830c04aae33ce5498cf7b672f | [
"MIT"
] | null | null | null |
# cmd blacklist
__blacklist__ = {
"help": "crashes the app (requires unsupported external user input)",
"license": "crashes the app (requires unsupported external user input)"
}
| 26.714286 | 75 | 0.716578 | 21 | 187 | 6.190476 | 0.571429 | 0.153846 | 0.2 | 0.323077 | 0.753846 | 0.753846 | 0.753846 | 0.753846 | 0 | 0 | 0 | 0 | 0.181818 | 187 | 6 | 76 | 31.166667 | 0.849673 | 0.069519 | 0 | 0 | 0 | 0 | 0.74269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
3458440e7755a643a13050e863d2f373f9ac62d3 | 1,116 | py | Python | bff.py | jsabak/advanved_python_for_testers | fc55ca4d5d5ad7beebee489193e251a16c3e956b | [
"MIT"
] | 1 | 2020-04-21T20:47:07.000Z | 2020-04-21T20:47:07.000Z | bff.py | mkusz/advanced_python_for_testers | fc55ca4d5d5ad7beebee489193e251a16c3e956b | [
"MIT"
] | null | null | null | bff.py | mkusz/advanced_python_for_testers | fc55ca4d5d5ad7beebee489193e251a16c3e956b | [
"MIT"
] | 1 | 2019-11-27T21:32:51.000Z | 2019-11-27T21:32:51.000Z | (lambda _:[{1:lambda:[0for _['l']in[[i for(i,x)in enumerate(_['P'])if x=='[']]]and[0for _['i']in[_['i']+1]],2:lambda:[0for _['r']in[[i for(i,x)in enumerate(_['P']) if x==']'][::-1]]]and[0for _['i']in[_['i']+1]],3:lambda:_['c'].close(),'>':lambda:[0for _['p']in[_['p']+1]]and[0for _['i']in[_['i']+1]],'<':lambda:[0for _['... | 1,116 | 1,116 | 0.401434 | 179 | 1,116 | 2.201117 | 0.178771 | 0.083756 | 0.177665 | 0.182741 | 0.64467 | 0.639594 | 0.563452 | 0.530457 | 0.474619 | 0.474619 | 0 | 0.046512 | 0.036738 | 1,116 | 1 | 1,116 | 1,116 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0.167413 | 0.099373 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
347c679728181e5ce29dd276984d25292dbef4c5 | 7,987 | py | Python | navAids/migrations/0001_initial.py | trailbehind/NavigationAids | 41112e007e3c67ee319de4453e2274606e810254 | [
"MIT"
] | 1 | 2016-03-26T03:46:04.000Z | 2016-03-26T03:46:04.000Z | navAids/migrations/0001_initial.py | trailbehind/NavigationAids | 41112e007e3c67ee319de4453e2274606e810254 | [
"MIT"
] | 3 | 2016-03-25T20:12:59.000Z | 2016-03-25T20:14:23.000Z | navAids/migrations/0001_initial.py | trailbehind/NavigationAids | 41112e007e3c67ee319de4453e2274606e810254 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.2 on 2016-02-18 11:03
from __future__ import unicode_literals
import django.contrib.gis.db.models.fields
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrat... | 56.64539 | 114 | 0.576312 | 825 | 7,987 | 5.466667 | 0.116364 | 0.125721 | 0.095122 | 0.12439 | 0.920843 | 0.920843 | 0.890909 | 0.873614 | 0.873614 | 0.841907 | 0 | 0.02252 | 0.271692 | 7,987 | 140 | 115 | 57.05 | 0.752794 | 0.008389 | 0 | 0.772727 | 1 | 0 | 0.101806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022727 | 0 | 0.05303 | 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 |
cac145b21d3432c32ec9f7b6daf8239833e7e5cd | 155,572 | py | Python | msgraph/cli/command_modules/groups/azext_groups/generated/_help.py | microsoftgraph/msgraph-cli-archived | 489f70bf4ede1ce67b84bfb31e66da3e4db76062 | [
"MIT"
] | null | null | null | msgraph/cli/command_modules/groups/azext_groups/generated/_help.py | microsoftgraph/msgraph-cli-archived | 489f70bf4ede1ce67b84bfb31e66da3e4db76062 | [
"MIT"
] | 22 | 2022-03-29T22:54:37.000Z | 2022-03-29T22:55:27.000Z | msgraph/cli/command_modules/groups/azext_groups/generated/_help.py | microsoftgraph/msgraph-cli-archived | 489f70bf4ede1ce67b84bfb31e66da3e4db76062 | [
"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 incor... | 39.078623 | 122 | 0.683266 | 19,902 | 155,572 | 5.340971 | 0.022762 | 0.070332 | 0.070746 | 0.081141 | 0.987779 | 0.98538 | 0.978852 | 0.966593 | 0.952867 | 0.942246 | 0 | 0.009966 | 0.204124 | 155,572 | 3,980 | 123 | 39.088442 | 0.848533 | 0.003214 | 0 | 0.813918 | 0 | 0.129675 | 0.93894 | 0.13785 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.000307 | 0 | 0.000307 | 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 |
caff59809216f69e901e1c9b496f97282b97d267 | 10,023 | py | Python | leetcode/tree/437-path-sum-iii.py | phantomnat/python-learning | addc7ba5fc4fb8920cdd2891d4b2e79efd1a524a | [
"MIT"
] | null | null | null | leetcode/tree/437-path-sum-iii.py | phantomnat/python-learning | addc7ba5fc4fb8920cdd2891d4b2e79efd1a524a | [
"MIT"
] | null | null | null | leetcode/tree/437-path-sum-iii.py | phantomnat/python-learning | addc7ba5fc4fb8920cdd2891d4b2e79efd1a524a | [
"MIT"
] | null | null | null | # Definition for a binary tree node.
class TreeNode:
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution:
def pathSum(self, root, sum):
"""
:type root: TreeNode
:type sum: int
:rtype: int
"""
self.result =... | 80.830645 | 6,996 | 0.664472 | 2,422 | 10,023 | 2.743187 | 0.024773 | 0.751054 | 0.901264 | 1.500602 | 0.858519 | 0.840458 | 0.815322 | 0.788682 | 0.774082 | 0.774082 | 0 | 0.116812 | 0.086102 | 10,023 | 123 | 6,997 | 81.487805 | 0.608515 | 0.901926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0 | 0 | 0.318182 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
1ba2eb582ba40524fbd3e7285c6700af9cf18990 | 10,661 | py | Python | python/044_Wildcard_Matching.py | dvlpsh/leetcode-1 | f965328af72113ac8a5a9d6624868c1502be937b | [
"MIT"
] | 4,416 | 2016-03-30T15:02:26.000Z | 2022-03-31T16:31:03.000Z | python/044_Wildcard_Matching.py | YinpuLi/leetcode-6 | 1371de2631d745efba39de41b51c3424e35da434 | [
"MIT"
] | 20 | 2018-11-17T13:46:25.000Z | 2022-03-13T05:37:06.000Z | python/044_Wildcard_Matching.py | YinpuLi/leetcode-6 | 1371de2631d745efba39de41b51c3424e35da434 | [
"MIT"
] | 1,374 | 2017-05-26T15:44:30.000Z | 2022-03-30T19:21:02.000Z | class Solution(object):
# def isMatch(self, s, p):
# """
# :type s: str
# :type p: str
# :rtype: bool
# """
# return self.dfs(s, p, 0, 0) > 1
#
#
# def dfs(self, s, p, s_index, p_index):
# if s_index == len(s) and p_index == len(p):
# r... | 134.949367 | 4,119 | 0.857987 | 357 | 10,661 | 25.453782 | 0.134454 | 0.017167 | 0.006933 | 0.003962 | 0.042698 | 0.032904 | 0.02355 | 0.013426 | 0.009024 | 0.009024 | 0 | 0.004295 | 0.104587 | 10,661 | 79 | 4,120 | 134.949367 | 0.947622 | 0.120345 | 0 | 0.115385 | 0 | 0 | 0.886752 | 0.885563 | 0 | 1 | 0 | 0.012658 | 0 | 0 | null | null | 0 | 0 | null | null | 0.038462 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1bc1e2b77431cb6dfeb79e2acd8ab687c43e6f16 | 39 | py | Python | simulation/vehicles/__init__.py | salinsiim/petssa-simulation | 8f0f128d462831f86664bb8d246f2c7b659a0b8d | [
"MIT"
] | null | null | null | simulation/vehicles/__init__.py | salinsiim/petssa-simulation | 8f0f128d462831f86664bb8d246f2c7b659a0b8d | [
"MIT"
] | null | null | null | simulation/vehicles/__init__.py | salinsiim/petssa-simulation | 8f0f128d462831f86664bb8d246f2c7b659a0b8d | [
"MIT"
] | null | null | null | from vehicles.vehicles import generate
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
59f40779285897b95c023fb98ecc8a4091b5be98 | 163 | py | Python | myapi/admin.py | Wykett/DjangoTuto | 4754af3515ef064714427f42ebf205b69e9c89c9 | [
"MIT"
] | null | null | null | myapi/admin.py | Wykett/DjangoTuto | 4754af3515ef064714427f42ebf205b69e9c89c9 | [
"MIT"
] | null | null | null | myapi/admin.py | Wykett/DjangoTuto | 4754af3515ef064714427f42ebf205b69e9c89c9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from myapi.models import Hero
from myapi.models import VillainModel
admin.site.register(Hero)
admin.site.register(VillainModel)
| 20.375 | 37 | 0.834356 | 23 | 163 | 5.913043 | 0.478261 | 0.132353 | 0.220588 | 0.308824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09816 | 163 | 7 | 38 | 23.285714 | 0.92517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 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 |
94361aef302015a69521f2997a5a9705ef31893a | 43,509 | py | Python | python/entities.py | hunchly/hunchly-maltego | 84200e0f661a854906b4e5d7634907f8f49c9a29 | [
"Apache-2.0"
] | 5 | 2021-09-11T08:21:58.000Z | 2022-03-18T05:44:41.000Z | python/entities.py | hunchly/hunchly-maltego | 84200e0f661a854906b4e5d7634907f8f49c9a29 | [
"Apache-2.0"
] | 3 | 2021-09-14T16:44:47.000Z | 2021-12-20T20:30:23.000Z | python/entities.py | hunchly/hunchly-maltego | 84200e0f661a854906b4e5d7634907f8f49c9a29 | [
"Apache-2.0"
] | 2 | 2022-01-05T12:06:13.000Z | 2022-02-26T02:52:55.000Z | # Maltego Entities - Maltego Chlorine 3.6.0
# Parser written by:
# Justin Seitz - justin@hunch.ly
class Unknown(object):
def __init__(self, entity_value):
self.entity_value = entity_value
self.entity_type = "maltego.Unknown"
self.entity_attributes = {}
self.entity_attribute_names = ... | 35.201456 | 119 | 0.658301 | 4,596 | 43,509 | 5.864665 | 0.053525 | 0.312755 | 0.187727 | 0.224382 | 0.80693 | 0.760555 | 0.752987 | 0.751354 | 0.751354 | 0.690398 | 0 | 0.000356 | 0.225723 | 43,509 | 1,235 | 120 | 35.22996 | 0.799751 | 0.002092 | 0 | 0.64257 | 0 | 0 | 0.148247 | 0.025268 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114458 | false | 0.033133 | 0 | 0 | 0.228916 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
944bbc79af47cc697ae91444915e66129148a4aa | 90 | py | Python | awsrun/aws/__init__.py | veb61/eec-289-ucd | fabd9c01c5e9dfaf869fe22e537fe08aafd4e622 | [
"MIT"
] | null | null | null | awsrun/aws/__init__.py | veb61/eec-289-ucd | fabd9c01c5e9dfaf869fe22e537fe08aafd4e622 | [
"MIT"
] | null | null | null | awsrun/aws/__init__.py | veb61/eec-289-ucd | fabd9c01c5e9dfaf869fe22e537fe08aafd4e622 | [
"MIT"
] | 1 | 2021-10-07T23:10:33.000Z | 2021-10-07T23:10:33.000Z | from .aws_iam import *
from .aws_s3 import *
from .aws_sns import *
from .aws_sqs import * | 22.5 | 22 | 0.744444 | 16 | 90 | 3.9375 | 0.4375 | 0.444444 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.166667 | 90 | 4 | 23 | 22.5 | 0.826667 | 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 |
94692f5536b158f788101a49a0ae005b2e94dc59 | 7,054 | py | Python | tests/unit/test_console_helpers.py | friendly-traceback/friendly-traceback | 4f6785f14c271a4d6412ef19c140f9d380cdbcbf | [
"MIT"
] | 45 | 2021-07-06T03:30:20.000Z | 2022-03-16T17:30:58.000Z | tests/unit/test_console_helpers.py | friendly-traceback/friendly-traceback | 4f6785f14c271a4d6412ef19c140f9d380cdbcbf | [
"MIT"
] | 110 | 2021-06-28T11:48:46.000Z | 2022-03-25T20:41:25.000Z | tests/unit/test_console_helpers.py | friendly-traceback/friendly-traceback | 4f6785f14c271a4d6412ef19c140f9d380cdbcbf | [
"MIT"
] | 4 | 2021-07-05T20:56:39.000Z | 2021-11-11T20:24:34.000Z | import math
import friendly_traceback
from friendly_traceback import console_helpers as helpers
# ====Important: ensure that we have a clean history after each test.
def empty_history():
friendly_traceback.set_stream(redirect="capture")
nothing = "Nothing to show: no exception recorded."
helpers.histor... | 27.447471 | 70 | 0.68812 | 849 | 7,054 | 5.500589 | 0.102474 | 0.167452 | 0.098929 | 0.167024 | 0.832548 | 0.809636 | 0.802998 | 0.778587 | 0.766167 | 0.713276 | 0 | 0 | 0.232776 | 7,054 | 257 | 71 | 27.447471 | 0.862897 | 0.018146 | 0 | 0.754464 | 0 | 0 | 0.075701 | 0 | 0 | 0 | 0 | 0 | 0.28125 | 1 | 0.0625 | false | 0 | 0.013393 | 0 | 0.080357 | 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 |
ca7c27e2e421b35e5220387c03bf5bcf0f60763f | 265 | py | Python | entity/cards/LETL_028H/__init__.py | x014/lushi_script | edab2b88e3f0de8139de2541ab2daa331f777c0e | [
"MIT"
] | 102 | 2021-10-20T09:06:39.000Z | 2022-03-28T13:35:11.000Z | entity/cards/LETL_028H/__init__.py | x014/lushi_script | edab2b88e3f0de8139de2541ab2daa331f777c0e | [
"MIT"
] | 98 | 2021-10-19T16:13:27.000Z | 2022-03-27T13:27:49.000Z | entity/cards/LETL_028H/__init__.py | x014/lushi_script | edab2b88e3f0de8139de2541ab2daa331f777c0e | [
"MIT"
] | 55 | 2021-10-19T03:56:50.000Z | 2022-03-25T08:25:26.000Z | # -*- coding: utf-8 -*-
import entity.cards.LETL_028H.LETL_005P3
import entity.cards.LETL_028H.LETL_028P9
import entity.cards.LETL_028H.LETL_028P11
import entity.cards.LETL_028H.LETL_446
import entity.cards.LETL_028H.LETL_447
import entity.cards.LETL_028H.LETL_448
| 33.125 | 41 | 0.833962 | 45 | 265 | 4.644444 | 0.311111 | 0.344498 | 0.488038 | 0.602871 | 0.832536 | 0.832536 | 0 | 0 | 0 | 0 | 0 | 0.165323 | 0.064151 | 265 | 7 | 42 | 37.857143 | 0.677419 | 0.079245 | 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 | 1 | 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 | 8 |
ca86da827cc8b9743a706e2f8e1d49c1ed0c1138 | 37 | py | Python | miniconda3-lnx/pkgs/idna-2.9-py_1/info/test/run_test.py | Thibaut-Kovaltchouk/MultiPyzo | a15ecf77e31ebeb195e70385f5ac132f6ab4504d | [
"CC0-1.0"
] | null | null | null | miniconda3-lnx/pkgs/idna-2.9-py_1/info/test/run_test.py | Thibaut-Kovaltchouk/MultiPyzo | a15ecf77e31ebeb195e70385f5ac132f6ab4504d | [
"CC0-1.0"
] | 1 | 2019-04-02T23:35:13.000Z | 2019-04-02T23:35:13.000Z | miniconda3-lnx/pkgs/idna-2.9-py_1/info/test/run_test.py | Thibaut-Kovaltchouk/MultiPyzo | a15ecf77e31ebeb195e70385f5ac132f6ab4504d | [
"CC0-1.0"
] | null | null | null | print("import: 'idna'")
import idna
| 9.25 | 23 | 0.675676 | 5 | 37 | 5 | 0.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 3 | 24 | 12.333333 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 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 | 1 | 0 | 8 |
0471572513b259792e3988b4d48d10bef15e3b42 | 128 | py | Python | app/main/views.py | Mugambi645/StreetDine | 036b8cd592945a18ec340b847079db7f5ebf5901 | [
"MIT"
] | null | null | null | app/main/views.py | Mugambi645/StreetDine | 036b8cd592945a18ec340b847079db7f5ebf5901 | [
"MIT"
] | null | null | null | app/main/views.py | Mugambi645/StreetDine | 036b8cd592945a18ec340b847079db7f5ebf5901 | [
"MIT"
] | null | null | null | from . import main
from flask import render_template
@main.route("/")
def index():
return render_template("main/index.html") | 25.6 | 45 | 0.742188 | 18 | 128 | 5.166667 | 0.611111 | 0.301075 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 128 | 5 | 45 | 25.6 | 0.830357 | 0 | 0 | 0 | 0 | 0 | 0.124031 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 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 | 1 | 1 | 0 | 0 | 8 |
049bdeff55bf3a864b7bb4a1456a176cdae0fc6c | 5,192 | py | Python | torchlinop/base.py | jon-dong/torchlinop | 8af9db02e3b96005d75eb77460c2a1977c320bb8 | [
"MIT"
] | null | null | null | torchlinop/base.py | jon-dong/torchlinop | 8af9db02e3b96005d75eb77460c2a1977c320bb8 | [
"MIT"
] | null | null | null | torchlinop/base.py | jon-dong/torchlinop | 8af9db02e3b96005d75eb77460c2a1977c320bb8 | [
"MIT"
] | null | null | null | class BaseLinOp:
def __init__(self):
pass
@property
def T(self):
return Adjoint(self)
def __add__(self, other):
if isinstance(other, BaseLinOp):
return Sum(self, other)
else:
return ScalarSum(self, other)
def __radd__(self, other):
i... | 34.157895 | 127 | 0.632512 | 689 | 5,192 | 4.597968 | 0.097242 | 0.061869 | 0.048611 | 0.066288 | 0.878157 | 0.824495 | 0.820707 | 0.767045 | 0.727904 | 0.727904 | 0 | 0.020295 | 0.26926 | 5,192 | 151 | 128 | 34.384106 | 0.814707 | 0.005586 | 0 | 0.666667 | 0 | 0 | 0.103488 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.008333 | 0 | 0.125 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
04f2fa7801263cc5564e10841ee145d5448b263b | 1,254 | py | Python | Iris>APIClient/JSONStringInterpreter.py | rrbutani/Iris | e3a61530a763387e99fd3107a90fdb3d160f6ead | [
"Unlicense"
] | null | null | null | Iris>APIClient/JSONStringInterpreter.py | rrbutani/Iris | e3a61530a763387e99fd3107a90fdb3d160f6ead | [
"Unlicense"
] | 1 | 2021-02-08T20:15:49.000Z | 2021-02-08T20:15:49.000Z | Iris>APIClient/JSONStringInterpreter.py | rrbutani/Iris | e3a61530a763387e99fd3107a90fdb3d160f6ead | [
"Unlicense"
] | 1 | 2016-05-23T17:09:28.000Z | 2016-05-23T17:09:28.000Z | import json
input='[16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215,... | 125.4 | 1,198 | 0.794258 | 128 | 1,254 | 7.78125 | 0.054688 | 1.895582 | 2.819277 | 3.726908 | 0.955823 | 0.955823 | 0.955823 | 0.955823 | 0.955823 | 0.955823 | 0 | 0.847729 | 0.104466 | 1,254 | 9 | 1,199 | 139.333333 | 0.039181 | 0 | 0 | 0 | 0 | 0.25 | 0.950479 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.25 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 17 |
b6c9bb6a8a7e7e34ce544dbc2f7f3a91d8bbc156 | 79,761 | py | Python | examples/micro-speech/lib/debug-spectrograms.py | mattiantonini/tensorflow-micropython-examples | aab677bce2fcc239dab94b765155b767a8c29d2e | [
"MIT"
] | 55 | 2021-03-16T00:08:15.000Z | 2022-03-24T07:59:11.000Z | examples/micro-speech/lib/debug-spectrograms.py | TGiles1998/tensorflow-micropython-examples | ce543e72605e0549583ac8d6ef076f524f77f0e4 | [
"MIT"
] | 75 | 2021-02-19T03:13:49.000Z | 2022-03-27T02:58:17.000Z | examples/micro-speech/lib/debug-spectrograms.py | TGiles1998/tensorflow-micropython-examples | ce543e72605e0549583ac8d6ef076f524f77f0e4 | [
"MIT"
] | 20 | 2021-06-22T13:05:50.000Z | 2022-03-31T11:18:27.000Z | import numpy as np
import os
import pathlib
import matplotlib.pyplot as plt
def plot_spectrogram(spectrogram, ax):
# Convert to frequencies to log scale and transpose so that the time is
# represented in the x-axis (columns).
log_spec = np.log(spectrogram.T)
height = log_spec.shape[0]
w... | 813.887755 | 11,739 | 0.495418 | 14,094 | 79,761 | 2.798851 | 0.012204 | 1.605597 | 2.343828 | 3.052095 | 0.943722 | 0.940553 | 0.937384 | 0.930869 | 0.927903 | 0.923416 | 0 | 0.584357 | 0.178182 | 79,761 | 98 | 11,740 | 813.887755 | 0.017437 | 0.004175 | 0 | 0.166667 | 0 | 0 | 0.000378 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.074074 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
8e0911163619d9f65912e6c66de83bec148b0f06 | 10,569 | py | Python | leasing/migrations/0009_add_contract_and_decision_models.py | tuomas777/mvj | e9a12e42c399b9fb77fd8fad85fc8f0f6d4ce405 | [
"MIT"
] | null | null | null | leasing/migrations/0009_add_contract_and_decision_models.py | tuomas777/mvj | e9a12e42c399b9fb77fd8fad85fc8f0f6d4ce405 | [
"MIT"
] | null | null | null | leasing/migrations/0009_add_contract_and_decision_models.py | tuomas777/mvj | e9a12e42c399b9fb77fd8fad85fc8f0f6d4ce405 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.3 on 2018-03-22 13:34
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('leasing', '0008_remove_comment_is_archived'),
]
operations = [
migrations.CreateModel(
name='Co... | 55.335079 | 189 | 0.60176 | 1,063 | 10,569 | 5.819379 | 0.110066 | 0.110249 | 0.084869 | 0.089072 | 0.837213 | 0.827999 | 0.793889 | 0.769803 | 0.769803 | 0.722761 | 0 | 0.007131 | 0.256978 | 10,569 | 190 | 190 | 55.626316 | 0.780593 | 0.004258 | 0 | 0.690217 | 1 | 0 | 0.173921 | 0.013305 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.01087 | 0 | 0.027174 | 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 |
f3d339408c67d88e5b719da00755392a1e9df36b | 157,813 | py | Python | FUNCTIONS.py | johngeorgousis/jet-classifier | bd63456cfb32872c5c9f6e1942ace17aa50de6a4 | [
"MIT"
] | null | null | null | FUNCTIONS.py | johngeorgousis/jet-classifier | bd63456cfb32872c5c9f6e1942ace17aa50de6a4 | [
"MIT"
] | null | null | null | FUNCTIONS.py | johngeorgousis/jet-classifier | bd63456cfb32872c5c9f6e1942ace17aa50de6a4 | [
"MIT"
] | null | null | null | import numpy as np
#import scipy as sp
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
import time
from IPython.display import display
import pprint
pp = pprint.PrettyPrinter(indent=4)
import sklearn
from sklearn.neural_network import MLPClassifier
from sklearn.model_selection import train_t... | 79.623108 | 256 | 0.469594 | 11,103 | 157,813 | 6.615419 | 0.060614 | 0.365768 | 0.548366 | 0.730773 | 0.868674 | 0.858014 | 0.848116 | 0.843814 | 0.835155 | 0.832596 | 0 | 0.007076 | 0.147478 | 157,813 | 1,982 | 257 | 79.623108 | 0.53887 | 0.431359 | 0 | 0.540656 | 0 | 0 | 0.042802 | 0.008374 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039943 | false | 0 | 0.035663 | 0 | 0.10699 | 0.052782 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
f3d3ed53dcdf19420dbac4d784ee70499ac7a559 | 23,397 | py | Python | mzutils/nlp_tasks/nlp_metrics.py | Mohan-Zhang-u/mzutils | 4c6a657b6a03d953a97c6e0f2b252c8aead6aa2b | [
"MIT"
] | 132 | 2020-05-25T13:32:12.000Z | 2021-05-27T19:49:03.000Z | mzutils/nlp_tasks/nlp_metrics.py | Mohan-Zhang-u/mzutils | 4c6a657b6a03d953a97c6e0f2b252c8aead6aa2b | [
"MIT"
] | null | null | null | mzutils/nlp_tasks/nlp_metrics.py | Mohan-Zhang-u/mzutils | 4c6a657b6a03d953a97c6e0f2b252c8aead6aa2b | [
"MIT"
] | 8 | 2020-09-04T05:07:10.000Z | 2020-09-22T03:19:14.000Z | import copy
import numpy as np
from nltk.translate.bleu_score import corpus_bleu
from nltk.tokenize import word_tokenize
def rouge_helper_prepare_results(m, p, r, f):
return '\t{}:\t{}: {:5.2f}\t{}: {:5.2f}\t{}: {:5.2f}'.format(m, 'P', 100.0 * p, 'R', 100.0 * r, 'F1', 100.0 * f)
def remove_sub_strings(predicte... | 61.248691 | 925 | 0.662777 | 3,344 | 23,397 | 4.394737 | 0.086423 | 0.036677 | 0.042869 | 0.011023 | 0.902559 | 0.895686 | 0.885887 | 0.878266 | 0.867651 | 0.863228 | 0 | 0.023973 | 0.228021 | 23,397 | 381 | 926 | 61.409449 | 0.789558 | 0.22661 | 0 | 0.867384 | 0 | 0.003584 | 0.133579 | 0.094744 | 0 | 0 | 0 | 0 | 0.057348 | 1 | 0.02509 | false | 0 | 0.028674 | 0.007168 | 0.078853 | 0.107527 | 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 |
f3e5e94520ef290c40c35e9d13ddc3dfc0966abe | 14,979 | py | Python | tests/v3_validation/cattlevalidationtest/core/test_ext_services_links.py | bmdepesa/validation-tests | 23e7ab95ce76744483a0657f790b42a88a93436d | [
"Apache-2.0"
] | 7 | 2015-11-18T17:43:08.000Z | 2021-07-14T09:48:18.000Z | tests/v3_validation/cattlevalidationtest/core/test_ext_services_links.py | bmdepesa/validation-tests | 23e7ab95ce76744483a0657f790b42a88a93436d | [
"Apache-2.0"
] | 175 | 2015-07-09T18:41:24.000Z | 2021-06-10T21:23:27.000Z | tests/v3_validation/cattlevalidationtest/core/test_ext_services_links.py | bmdepesa/validation-tests | 23e7ab95ce76744483a0657f790b42a88a93436d | [
"Apache-2.0"
] | 25 | 2015-08-08T04:54:24.000Z | 2021-05-25T21:10:37.000Z | from common_fixtures import * # NOQA
logger = logging.getLogger(__name__)
def activate_environment_with_external_services(
client, service_scale, port):
env, service, ext_service, con_list = create_env_with_ext_svc(
client, service_scale, port)
service.activate()
ext_service.activate()
... | 29.544379 | 77 | 0.691568 | 1,786 | 14,979 | 5.449048 | 0.076148 | 0.113029 | 0.106556 | 0.087443 | 0.816584 | 0.77651 | 0.751233 | 0.742704 | 0.732635 | 0.723592 | 0 | 0.018038 | 0.222779 | 14,979 | 506 | 78 | 29.602767 | 0.817901 | 0.023633 | 0 | 0.704478 | 0 | 0 | 0.018887 | 0 | 0 | 0 | 0 | 0 | 0.077612 | 1 | 0.053731 | false | 0 | 0.002985 | 0 | 0.059701 | 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 |
6d602485fd1dff7e6014d26ad6e185723f29af78 | 206 | py | Python | publicacion/admin.py | GuilleJR83/ProyectoInformatorio2021 | 2c23e6b42f0ac3bf37c9b46d0431d29793b5c688 | [
"CC0-1.0"
] | null | null | null | publicacion/admin.py | GuilleJR83/ProyectoInformatorio2021 | 2c23e6b42f0ac3bf37c9b46d0431d29793b5c688 | [
"CC0-1.0"
] | null | null | null | publicacion/admin.py | GuilleJR83/ProyectoInformatorio2021 | 2c23e6b42f0ac3bf37c9b46d0431d29793b5c688 | [
"CC0-1.0"
] | 3 | 2021-12-27T21:26:01.000Z | 2022-01-04T14:01:09.000Z | from django.contrib import admin
from comentario.models import Comentario
from .models import Publicacion, Like
admin.site.register(Publicacion)
admin.site.register(Like)
#admin.site.register(Comentario)
| 22.888889 | 40 | 0.830097 | 27 | 206 | 6.333333 | 0.407407 | 0.157895 | 0.298246 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087379 | 206 | 8 | 41 | 25.75 | 0.909574 | 0.150485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 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 |
61211a750d8ad8dc2dd5282bcbf1c5cd861f133e | 114 | py | Python | durand/services/pdo.py | semiversus/python-durand | feb39657b2721c91256c1aefef8d4263b54e3769 | [
"MIT"
] | 5 | 2022-01-24T03:58:52.000Z | 2022-03-07T09:50:36.000Z | durand/services/pdo.py | semiversus/python-durand | feb39657b2721c91256c1aefef8d4263b54e3769 | [
"MIT"
] | null | null | null | durand/services/pdo.py | semiversus/python-durand | feb39657b2721c91256c1aefef8d4263b54e3769 | [
"MIT"
] | null | null | null | class TPDO:
def __init__(self, index):
pass
class RPDO:
def __init__(self, index):
pass
| 12.666667 | 30 | 0.578947 | 14 | 114 | 4.142857 | 0.571429 | 0.241379 | 0.37931 | 0.551724 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 114 | 8 | 31 | 14.25 | 0.763158 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
b69a5b900caa4e43710b453a489f257c481fd81e | 12,608 | py | Python | openPyther/pressure.py | Vicken-Ghoubiguian/openWeatherPy | 510ac8979baf742ca0091f942f7d81242c535cec | [
"MIT"
] | null | null | null | openPyther/pressure.py | Vicken-Ghoubiguian/openWeatherPy | 510ac8979baf742ca0091f942f7d81242c535cec | [
"MIT"
] | null | null | null | openPyther/pressure.py | Vicken-Ghoubiguian/openWeatherPy | 510ac8979baf742ca0091f942f7d81242c535cec | [
"MIT"
] | null | null | null | # Import the module which contains the pressure units enum...
from . import pressureEnum
# Definition of the Pressure class...
class Pressure:
# Definition of the Pressure class constructor...
def __init__(self, value):
self.__value = value
self.__measureUnit = pressureEnum.PressureEnum.HECTOPASCAL
# Definit... | 33.091864 | 114 | 0.738182 | 1,571 | 12,608 | 5.739656 | 0.066836 | 0.119774 | 0.212598 | 0.307087 | 0.877897 | 0.843518 | 0.840967 | 0.799933 | 0.789176 | 0.560053 | 0 | 0.023032 | 0.16664 | 12,608 | 381 | 114 | 33.091864 | 0.835158 | 0.23612 | 0 | 0.445714 | 0 | 0 | 0.230432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068571 | false | 0 | 0.005714 | 0.017143 | 0.165714 | 0.205714 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 0 | 0 | 7 |
b6b1f20c23fdb22728e9cf6976f14ef303fd5f5c | 26,466 | py | Python | General/PJB_ImageRegistration/regTest_ctrlpts/SinControPointsWarpCorrect.py | petebunting/rsgis_scripts | b35b0403cdfad6c63824d4f8c038f190cdb5978d | [
"MIT"
] | 4 | 2020-09-16T10:45:15.000Z | 2021-05-06T04:34:32.000Z | General/PJB_ImageRegistration/regTest_ctrlpts/SinControPointsWarpCorrect.py | petebunting/rsgis_scripts | b35b0403cdfad6c63824d4f8c038f190cdb5978d | [
"MIT"
] | null | null | null | General/PJB_ImageRegistration/regTest_ctrlpts/SinControPointsWarpCorrect.py | petebunting/rsgis_scripts | b35b0403cdfad6c63824d4f8c038f190cdb5978d | [
"MIT"
] | 2 | 2020-07-06T18:03:40.000Z | 2022-02-15T12:45:34.000Z | #! /usr/bin/env python
import math
imageA = [\
[0,0,500,150],\
[0,0,500,150],\
[0,0,500,150],\
[0,0,500,150],\
[0,0,500,150],\
[0,0,500,150],\
[251,526,959,1177],\
[336,891,1016,1500],\
[0,0,587,800],\
[0,0,450,800],\
[0,0,2218,1718],\
[0,0,1288,1832],\
[0,0,500,150],\
[0,0,500,150],\
[0,0,500,150],\
[0,0,500,150],\
... | 33.207026 | 117 | 0.764679 | 3,762 | 26,466 | 5.167464 | 0.068315 | 0.02356 | 0.118519 | 0.207407 | 0.862088 | 0.851749 | 0.841461 | 0.825772 | 0.81713 | 0.813632 | 0 | 0.148297 | 0.051424 | 26,466 | 796 | 118 | 33.248744 | 0.626051 | 0.004799 | 0 | 0.628647 | 0 | 0 | 0.596339 | 0.591707 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.001326 | null | null | 0.002653 | 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 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
fcd433711ea05bb90f1c22a306290e727fbea174 | 12,338 | py | Python | test/python/modules/common/ba_tests.py | dsyme/ADBench | 87af0219a568807f8432754688ceb636efac12c6 | [
"MIT"
] | 58 | 2019-12-30T16:22:01.000Z | 2022-01-23T12:26:51.000Z | test/python/modules/common/ba_tests.py | dsyme/ADBench | 87af0219a568807f8432754688ceb636efac12c6 | [
"MIT"
] | 112 | 2019-05-25T07:26:58.000Z | 2019-12-28T13:55:33.000Z | test/python/modules/common/ba_tests.py | dsyme/ADBench | 87af0219a568807f8432754688ceb636efac12c6 | [
"MIT"
] | 22 | 2020-03-12T16:37:55.000Z | 2022-02-23T10:14:37.000Z | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
import unittest
import numpy as np
import sys
import os
# root directory of the whole project
ROOT = os.path.abspath(os.path.join(
os.path.abspath(os.path.dirname(__file__)),
"..",
"..",
"..",
".."
))
# root directory of the... | 68.544444 | 7,160 | 0.750041 | 1,511 | 12,338 | 6.048974 | 0.123097 | 0.009847 | 0.045952 | 0.050328 | 0.787746 | 0.76302 | 0.731729 | 0.731729 | 0.722757 | 0.681619 | 0 | 0.514743 | 0.123116 | 12,338 | 180 | 7,161 | 68.544444 | 0.330067 | 0.094991 | 0 | 0.25 | 0 | 0 | 0.017593 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 1 | 0.096154 | false | 0.009615 | 0.067308 | 0 | 0.173077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1e6bb3c3489f659285422d449524881761ed11da | 7,442 | py | Python | tests/test_stream_writer.py | ajdavis/aiohttp | d5138978f3e82aa82a2f003b00d38112c58a40c1 | [
"Apache-2.0"
] | 1 | 2021-07-07T06:36:57.000Z | 2021-07-07T06:36:57.000Z | tests/test_stream_writer.py | ajdavis/aiohttp | d5138978f3e82aa82a2f003b00d38112c58a40c1 | [
"Apache-2.0"
] | null | null | null | tests/test_stream_writer.py | ajdavis/aiohttp | d5138978f3e82aa82a2f003b00d38112c58a40c1 | [
"Apache-2.0"
] | 1 | 2021-02-09T10:05:59.000Z | 2021-02-09T10:05:59.000Z | import pytest
import socket
from aiohttp.parsers import StreamWriter, CORK
from unittest import mock
# nodelay
def test_nodelay_default(loop):
transport = mock.Mock()
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
transport.get_extra_info.return_value = s
proto = mock.Mock()
reader = mock.... | 34.137615 | 75 | 0.731389 | 1,051 | 7,442 | 4.953378 | 0.056137 | 0.073761 | 0.041491 | 0.064541 | 0.967153 | 0.963888 | 0.954668 | 0.951402 | 0.951402 | 0.951402 | 0 | 0.000646 | 0.168234 | 7,442 | 217 | 76 | 34.294931 | 0.840388 | 0.005644 | 0 | 0.888268 | 0 | 0 | 0.045295 | 0 | 0 | 0 | 0 | 0 | 0.189944 | 1 | 0.089385 | false | 0 | 0.022346 | 0 | 0.111732 | 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 |
1ecb5b30a7c0fdc4b57eb89ca2bd097b5cc5c8c9 | 919,771 | py | Python | project7/Extra2.py | MaxRobinson/CS449 | cdc65ce4784fb15eeb0a17a50498217f07aa190c | [
"Apache-2.0"
] | null | null | null | project7/Extra2.py | MaxRobinson/CS449 | cdc65ce4784fb15eeb0a17a50498217f07aa190c | [
"Apache-2.0"
] | null | null | null | project7/Extra2.py | MaxRobinson/CS449 | cdc65ce4784fb15eeb0a17a50498217f07aa190c | [
"Apache-2.0"
] | 1 | 2019-09-15T02:22:40.000Z | 2019-09-15T02:22:40.000Z |
from ValueIteration import ValueIteration
from Game import Game
x = {(1, 9, -5, -5): (0, 0),
(1, 9, -5, -4): (0, 1),
(1, 9, -5, -3): (0, 1),
(1, 9, -5, -2): (0, 1),
(1, 9, -5, -1): (0, 1),
(1, 9, -5, 0): (0, 1),
(1, 9, -5, 1): (0, 1),
(1, 9, -5, 2): (0, 1),
(1, 9, -5, 3): (0, 0),
(1, 9, -5, 4): (0, 1),
(1, ... | 25.488306 | 52 | 0.283675 | 215,199 | 919,771 | 1.212362 | 0.000251 | 0.165351 | 0.051871 | 0.011299 | 0.998808 | 0.898731 | 0.851598 | 0.805649 | 0.779953 | 0.675633 | 0 | 0.382645 | 0.273175 | 919,771 | 36,085 | 53 | 25.489012 | 0.007623 | 0.000066 | 0 | 0 | 0 | 0 | 0.00002 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000055 | 0 | 0.000055 | 0.000028 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
94d50d9c3da7642fc7d0379ab63cfdab5f07a3c5 | 472 | py | Python | 1. Beginner/URI1041.py | antuniooh/uri-resolutions | c2844a9a6e2fae350293d6d24b0551691e7c8656 | [
"MIT"
] | null | null | null | 1. Beginner/URI1041.py | antuniooh/uri-resolutions | c2844a9a6e2fae350293d6d24b0551691e7c8656 | [
"MIT"
] | null | null | null | 1. Beginner/URI1041.py | antuniooh/uri-resolutions | c2844a9a6e2fae350293d6d24b0551691e7c8656 | [
"MIT"
] | null | null | null | a,b = input().split(" ")
x = float(a)
y = float(b)
if x > 0.00 and y > 0.00:
print("Q1")
elif x > 0.00 and y < 0.00:
print("Q4")
elif x < 0.00 and y > 0.00:
print("Q2")
elif x < 0.00 and y < 0.00:
print("Q3")
elif x == 0.00 and y ==0.00:
print("Origem")
elif x == 0.00 and y > 0.0:
print("Eixo ... | 18.88 | 28 | 0.502119 | 104 | 472 | 2.278846 | 0.182692 | 0.21519 | 0.151899 | 0.265823 | 0.818565 | 0.818565 | 0.818565 | 0.763713 | 0.696203 | 0.35865 | 0 | 0.168142 | 0.28178 | 472 | 24 | 29 | 19.666667 | 0.530973 | 0 | 0 | 0.190476 | 0 | 0 | 0.082803 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
a20cee3b296a8b6dd8940a6a7c701d9584ddc2a8 | 34 | py | Python | toolkit/src/plugin.py | Mariusz1970/enigma2-plugins-1 | 126d31d075c156f32b09d4321ebe1a17f93a5bd6 | [
"OLDAP-2.3"
] | 41 | 2016-01-21T17:54:44.000Z | 2021-06-26T05:54:41.000Z | toolkit/src/plugin.py | Mariusz1970/enigma2-plugins-1 | 126d31d075c156f32b09d4321ebe1a17f93a5bd6 | [
"OLDAP-2.3"
] | 124 | 2015-04-27T21:30:48.000Z | 2022-03-29T10:21:39.000Z | toolkit/src/plugin.py | Mariusz1970/enigma2-plugins-1 | 126d31d075c156f32b09d4321ebe1a17f93a5bd6 | [
"OLDAP-2.3"
] | 193 | 2015-01-10T09:21:26.000Z | 2022-03-21T08:19:33.000Z | def Plugins(**kwargs):
return []
| 11.333333 | 22 | 0.647059 | 4 | 34 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 2 | 23 | 17 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
bf5445dcf546e9349f616c8fb502c5b373550188 | 28,531 | py | Python | v6.0.5/system/test_fortios_system_admin.py | fortinet-solutions-cse/ansible_fgt_modules | c45fba49258d7c9705e7a8fd9c2a09ea4c8a4719 | [
"Apache-2.0"
] | 14 | 2018-09-25T20:35:25.000Z | 2021-07-14T04:30:54.000Z | v6.0.6/system/test_fortios_system_admin.py | fortinet-solutions-cse/ansible_fgt_modules | c45fba49258d7c9705e7a8fd9c2a09ea4c8a4719 | [
"Apache-2.0"
] | 32 | 2018-10-09T04:13:42.000Z | 2020-05-11T07:20:28.000Z | v6.0.5/system/test_fortios_system_admin.py | fortinet-solutions-cse/ansible_fgt_modules | c45fba49258d7c9705e7a8fd9c2a09ea4c8a4719 | [
"Apache-2.0"
] | 11 | 2018-10-09T00:14:53.000Z | 2021-11-03T10:54:09.000Z | # Copyright 2019 Fortinet, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the... | 41.349275 | 142 | 0.57611 | 3,002 | 28,531 | 5.058628 | 0.082278 | 0.225207 | 0.025023 | 0.021401 | 0.931648 | 0.927697 | 0.921441 | 0.921441 | 0.921441 | 0.921441 | 0 | 0.057601 | 0.286846 | 28,531 | 689 | 143 | 41.409289 | 0.68875 | 0.023273 | 0 | 0.939394 | 0 | 0 | 0.479013 | 0.048077 | 0 | 0 | 0 | 0 | 0.057416 | 1 | 0.011164 | false | 0.047847 | 0.012759 | 0 | 0.025518 | 0.001595 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
bf55ec3569b277ee488fa6212b05bd68c75f05b1 | 4,751 | py | Python | insights/parsers/tests/test_grub_conf_efi.py | lhuett/insights-core | 1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8 | [
"Apache-2.0"
] | 121 | 2017-05-30T20:23:25.000Z | 2022-03-23T12:52:15.000Z | insights/parsers/tests/test_grub_conf_efi.py | lhuett/insights-core | 1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8 | [
"Apache-2.0"
] | 1,977 | 2017-05-26T14:36:03.000Z | 2022-03-31T10:38:53.000Z | insights/parsers/tests/test_grub_conf_efi.py | lhuett/insights-core | 1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8 | [
"Apache-2.0"
] | 244 | 2017-05-30T20:22:57.000Z | 2022-03-26T10:09:39.000Z | from insights.tests import context_wrap
from insights.parsers.grub_conf import Grub2EFIConfig
GRUB2_EFI_CFG = """
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Red Hat Enterprise Linux Server (3.10.0-514.16.1.el7.x86_64) 7.3 (Maipo)' --class red --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_opt... | 57.939024 | 289 | 0.693959 | 734 | 4,751 | 4.40327 | 0.168937 | 0.016708 | 0.022277 | 0.038985 | 0.86974 | 0.828899 | 0.828899 | 0.828899 | 0.806931 | 0.79672 | 0 | 0.191296 | 0.168175 | 4,751 | 81 | 290 | 58.654321 | 0.626518 | 0.000842 | 0 | 0.565789 | 0 | 0.236842 | 0.875659 | 0.406744 | 0 | 0 | 0 | 0 | 0.013158 | 1 | 0.013158 | false | 0 | 0.026316 | 0 | 0.052632 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
bf7391b8dd5654538957312b821e00d43600eb68 | 53 | py | Python | bandwitch/list_common_enzymes/__init__.py | Edinburgh-Genome-Foundry/BandWitch | 23f7faee9a955313ade66c77ab474a12712e14fc | [
"MIT"
] | 12 | 2018-02-12T13:12:00.000Z | 2021-08-15T11:36:28.000Z | bandwitch/list_common_enzymes/__init__.py | Edinburgh-Genome-Foundry/BandWitch | 23f7faee9a955313ade66c77ab474a12712e14fc | [
"MIT"
] | 2 | 2020-09-07T21:53:27.000Z | 2020-09-20T18:49:17.000Z | bandwitch/list_common_enzymes/__init__.py | Edinburgh-Genome-Foundry/BandWitch | 23f7faee9a955313ade66c77ab474a12712e14fc | [
"MIT"
] | null | null | null | from .list_common_enzymes import list_common_enzymes
| 26.5 | 52 | 0.90566 | 8 | 53 | 5.5 | 0.625 | 0.454545 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 53 | 1 | 53 | 53 | 0.897959 | 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 |
bf94a41fcefdb781e83c1af1d2e7b72026656d60 | 24,871 | py | Python | datasets.py | skywolf829/MRSR | 4adc682d5aaa308db0a4dcd47a04d1588789f39e | [
"MIT"
] | null | null | null | datasets.py | skywolf829/MRSR | 4adc682d5aaa308db0a4dcd47a04d1588789f39e | [
"MIT"
] | null | null | null | datasets.py | skywolf829/MRSR | 4adc682d5aaa308db0a4dcd47a04d1588789f39e | [
"MIT"
] | null | null | null | import numpy as np
from concurrent.futures import ThreadPoolExecutor, as_completed
import os
import numpy as np
import zeep
import base64
from concurrent.futures import ThreadPoolExecutor, as_completed
import struct
import torch
import h5py
from utility_functions import AvgPool3D, AvgPool2D
import torch.nn.functional a... | 41.940978 | 131 | 0.519038 | 3,210 | 24,871 | 3.820872 | 0.076947 | 0.058785 | 0.072075 | 0.055035 | 0.806278 | 0.778801 | 0.764615 | 0.738117 | 0.718223 | 0.710477 | 0 | 0.021251 | 0.337783 | 24,871 | 593 | 132 | 41.940978 | 0.723437 | 0.033091 | 0 | 0.731602 | 0 | 0 | 0.088008 | 0.003522 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058442 | false | 0 | 0.028139 | 0.017316 | 0.138528 | 0.015152 | 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 |
44b627ef2f61b389eb70282e248c5e79c2cca312 | 3,547 | py | Python | napari_plot/components/_viewer_utils.py | lukasz-migas/napari-1d | b0f081a8711ae941b3e4b5c58c3aea56bd0e3277 | [
"BSD-3-Clause"
] | 13 | 2021-08-27T23:01:09.000Z | 2022-03-22T13:51:35.000Z | napari_plot/components/_viewer_utils.py | lukasz-migas/napari-1d | b0f081a8711ae941b3e4b5c58c3aea56bd0e3277 | [
"BSD-3-Clause"
] | 71 | 2021-08-28T13:29:17.000Z | 2022-03-28T21:22:12.000Z | napari_plot/components/_viewer_utils.py | lukasz-migas/napari-1d | b0f081a8711ae941b3e4b5c58c3aea56bd0e3277 | [
"BSD-3-Clause"
] | null | null | null | import typing as ty
import numpy as np
from napari.layers import Layer
from .. import layers
from ..utils.utilities import find_nearest_index, get_min_max
def get_x_region_extent(x_min: float, x_max: float, layer: Layer) -> ty.Tuple[ty.Optional[float], ...]:
"""Get extent for specified range"""
if not layer... | 33.780952 | 112 | 0.610657 | 518 | 3,547 | 3.928571 | 0.111969 | 0.058968 | 0.110074 | 0.070762 | 0.825061 | 0.805897 | 0.765111 | 0.740541 | 0.740541 | 0.740541 | 0 | 0.005512 | 0.283902 | 3,547 | 104 | 113 | 34.105769 | 0.795669 | 0.035523 | 0 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057471 | false | 0 | 0.057471 | 0 | 0.37931 | 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 |
44e58e27939c8302e09b2c298ac47a521c03cb06 | 11,680 | py | Python | tests/test_mod_detection.py | Systemcluster/w3modmanager | 5ba91ce1b20bc97d75dd91c477764d13e1f95122 | [
"BSD-2-Clause"
] | 6 | 2019-10-06T03:52:08.000Z | 2021-01-27T20:20:58.000Z | tests/test_mod_detection.py | Systemcluster/w3modmanager | 5ba91ce1b20bc97d75dd91c477764d13e1f95122 | [
"BSD-2-Clause"
] | 1 | 2019-10-07T04:54:27.000Z | 2019-10-14T15:26:14.000Z | tests/test_mod_detection.py | Systemcluster/w3modmanager | 5ba91ce1b20bc97d75dd91c477764d13e1f95122 | [
"BSD-2-Clause"
] | 2 | 2020-09-05T19:51:14.000Z | 2021-06-22T00:21:18.000Z | """
Test cases for mod detection and name formatting
Bin file parsing not part of this test package.
"""
from .framework import *
from w3modmanager.core.model import *
from w3modmanager.domain.mod.mod import *
@pytest.mark.asyncio
async def test_mod_normal(mockdata: Path) -> None:
source = mockdata.joinpath('m... | 34.658754 | 96 | 0.647003 | 1,398 | 11,680 | 5.361946 | 0.091559 | 0.235326 | 0.042689 | 0.058298 | 0.857124 | 0.850187 | 0.839248 | 0.762673 | 0.709312 | 0.64461 | 0 | 0.009147 | 0.204366 | 11,680 | 336 | 97 | 34.761905 | 0.797482 | 0.008305 | 0 | 0.701639 | 0 | 0 | 0.207084 | 0.104968 | 0 | 0 | 0 | 0 | 0.688525 | 1 | 0 | false | 0 | 0.009836 | 0 | 0.009836 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
786a30ba953a4b5d34a47cb50cf9dfa1a912e909 | 205 | py | Python | ctypes_generation/extended_structs/_EVENT_DESCRIPTOR.py | IMULMUL/PythonForWindows | 61e027a678d5b87aa64fcf8a37a6661a86236589 | [
"BSD-3-Clause"
] | 479 | 2016-01-08T00:53:34.000Z | 2022-03-22T10:28:19.000Z | ctypes_generation/extended_structs/_EVENT_DESCRIPTOR.py | IMULMUL/PythonForWindows | 61e027a678d5b87aa64fcf8a37a6661a86236589 | [
"BSD-3-Clause"
] | 38 | 2017-12-29T17:09:04.000Z | 2022-01-31T08:27:47.000Z | ctypes_generation/extended_structs/_EVENT_DESCRIPTOR.py | IMULMUL/PythonForWindows | 61e027a678d5b87aa64fcf8a37a6661a86236589 | [
"BSD-3-Clause"
] | 103 | 2016-01-10T01:32:17.000Z | 2021-12-24T17:21:06.000Z | class _EVENT_DESCRIPTOR(_EVENT_DESCRIPTOR):
def __repr__(self):
return "<{0} Id={self.Id} Opcode={self.Opcode} Version={self.Version} Level={self.Level}>".format(type(self).__name__, self=self) | 68.333333 | 137 | 0.717073 | 28 | 205 | 4.821429 | 0.535714 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005464 | 0.107317 | 205 | 3 | 137 | 68.333333 | 0.73224 | 0 | 0 | 0 | 0 | 0.333333 | 0.393204 | 0.106796 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
78b291b34b72b048027e3b3b7f2da96c27348593 | 120 | py | Python | src/daos/division_item_dao/__init__.py | taonguyen740/flask_based_3tier_framework | f02e492eff0206e661925dddcf0ba978ead38b5e | [
"MIT"
] | null | null | null | src/daos/division_item_dao/__init__.py | taonguyen740/flask_based_3tier_framework | f02e492eff0206e661925dddcf0ba978ead38b5e | [
"MIT"
] | null | null | null | src/daos/division_item_dao/__init__.py | taonguyen740/flask_based_3tier_framework | f02e492eff0206e661925dddcf0ba978ead38b5e | [
"MIT"
] | null | null | null | from .division_item_dao_interface import DivisionItemDaoInterface
from .rds_division_item_dao import RdsDivisionItemDao
| 40 | 65 | 0.916667 | 14 | 120 | 7.428571 | 0.642857 | 0.230769 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 120 | 2 | 66 | 60 | 0.928571 | 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 |
78ce4770625fc734a042c3dcd2627ab824c6fd36 | 18,956 | py | Python | src/backend/marsha/core/tests/test_api_playlist.py | marin-leonard/marsha | b5d6bf98fda27acd3a08577b82dd98bcd39bfd8d | [
"MIT"
] | null | null | null | src/backend/marsha/core/tests/test_api_playlist.py | marin-leonard/marsha | b5d6bf98fda27acd3a08577b82dd98bcd39bfd8d | [
"MIT"
] | null | null | null | src/backend/marsha/core/tests/test_api_playlist.py | marin-leonard/marsha | b5d6bf98fda27acd3a08577b82dd98bcd39bfd8d | [
"MIT"
] | null | null | null | """Tests for the Playlist API of the Marsha project."""
import uuid
from django.test import TestCase
from rest_framework_simplejwt.tokens import AccessToken
from .. import factories, models
class PlaylistAPITest(TestCase):
"""Test the API for playlist objects."""
def test_create_playlist_by_anonymous_user... | 36.594595 | 93 | 0.586991 | 1,895 | 18,956 | 5.658575 | 0.077573 | 0.044764 | 0.026019 | 0.030775 | 0.860021 | 0.828033 | 0.792875 | 0.76667 | 0.729087 | 0.700364 | 0 | 0.007627 | 0.301435 | 18,956 | 517 | 94 | 36.665377 | 0.802145 | 0.081557 | 0 | 0.703518 | 0 | 0 | 0.149793 | 0.038947 | 0 | 0 | 0 | 0 | 0.100503 | 1 | 0.050251 | false | 0 | 0.01005 | 0 | 0.062814 | 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 |
78d5c169e2d566951ed34b7bb00514204d0b76ee | 792 | py | Python | sales-forecaster/predict/models.py | sevmardi/ml-projects | 0eb218c77cda61285cfcf599599ff28a8a8deba7 | [
"MIT"
] | null | null | null | sales-forecaster/predict/models.py | sevmardi/ml-projects | 0eb218c77cda61285cfcf599599ff28a8a8deba7 | [
"MIT"
] | 7 | 2020-06-06T01:26:08.000Z | 2022-02-10T11:26:58.000Z | sales-forecaster/predict/models.py | sevmardi/ml-projects | 0eb218c77cda61285cfcf599599ff28a8a8deba7 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Product(models.Model):
back_camera = models.DecimalField(decimal_places=2, max_digits=10)
front_camera = models.DecimalField(decimal_places=2, max_digits=10)
resolution_1 = models.DecimalField(decimal_places=2, max_digits=10)
resolution_2 ... | 46.588235 | 77 | 0.77904 | 110 | 792 | 5.363636 | 0.290909 | 0.305085 | 0.423729 | 0.525424 | 0.783051 | 0.783051 | 0.783051 | 0.783051 | 0.272881 | 0 | 0 | 0.045977 | 0.121212 | 792 | 16 | 78 | 49.5 | 0.801724 | 0.186869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
15508da1fe0f73b360dc092f9d5466fb3bf73bc5 | 248 | py | Python | application/controller/errorctl.py | haiyoumeiyou/cherrybrigde | f00a0592240b60cc42b895ad194b0273485956d0 | [
"BSD-3-Clause"
] | null | null | null | application/controller/errorctl.py | haiyoumeiyou/cherrybrigde | f00a0592240b60cc42b895ad194b0273485956d0 | [
"BSD-3-Clause"
] | null | null | null | application/controller/errorctl.py | haiyoumeiyou/cherrybrigde | f00a0592240b60cc42b895ad194b0273485956d0 | [
"BSD-3-Clause"
] | null | null | null | import cherrypy
class Error:
@cherrypy.tools.template
def broken(self):
return {'authmenu': cherrypy.session['authmenu']}
@cherrypy.tools.template
def noauth(self):
return {'authmenu': cherrypy.session['authmenu']} | 24.8 | 57 | 0.669355 | 26 | 248 | 6.384615 | 0.5 | 0.289157 | 0.253012 | 0.289157 | 0.493976 | 0.493976 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197581 | 248 | 10 | 58 | 24.8 | 0.834171 | 0 | 0 | 0.5 | 0 | 0 | 0.128514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.75 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
15bc259a9cbcd28dbbb94cfbe70c296026ee5edd | 5,074 | py | Python | fabric/switchdb.py | salran40/POAP | 9ff2ab68b55aeffe104d127c4beb8b1372b2c8de | [
"Apache-2.0"
] | null | null | null | fabric/switchdb.py | salran40/POAP | 9ff2ab68b55aeffe104d127c4beb8b1372b2c8de | [
"Apache-2.0"
] | null | null | null | fabric/switchdb.py | salran40/POAP | 9ff2ab68b55aeffe104d127c4beb8b1372b2c8de | [
"Apache-2.0"
] | null | null | null | #Switch database
SPINE_SWITCH_TYPE = ["NX3164Q","NX9332PQ", "NX3132Q", "NX9504", "NX9508", "NX9516"]
LEAF_SWITCH_TYPE = ["NX9372PX", "NX9372TX", "NX9396PX", "NX9396TX", "NX93120TX", "NX93128TX", "NX3172Q"]
#Leaf Switch Interfaces
SWITCH_HOST_IF_MAP = {"NX9372PX":["e1/1", "e1/2", "e1/3", "e1/4", "e1/5","e1/6", "e1... | 220.608696 | 451 | 0.458021 | 1,110 | 5,074 | 2.085586 | 0.069369 | 0.016847 | 0.028078 | 0.033693 | 0.861771 | 0.861771 | 0.861771 | 0.861771 | 0.861771 | 0.861771 | 0 | 0.344835 | 0.097556 | 5,074 | 22 | 452 | 230.636364 | 0.160734 | 0.009263 | 0 | 0 | 0 | 0 | 0.54958 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ec6f4b32273f6c8ebe8bbd04990fc3ab0b63d2e7 | 2,312 | py | Python | TrekBot2_WS/build/geographic_msgs/cmake/geographic_msgs-genmsg-context.py | Rafcin/RescueRoboticsLHMV | d3dc63e6c16a040b16170f143556ef358018b7da | [
"Unlicense"
] | 1 | 2018-10-04T14:37:00.000Z | 2018-10-04T14:37:00.000Z | TrekBot2_WS/build/geographic_msgs/cmake/geographic_msgs-genmsg-context.py | Rafcin/TrekBot | d3dc63e6c16a040b16170f143556ef358018b7da | [
"Unlicense"
] | null | null | null | TrekBot2_WS/build/geographic_msgs/cmake/geographic_msgs-genmsg-context.py | Rafcin/TrekBot | d3dc63e6c16a040b16170f143556ef358018b7da | [
"Unlicense"
] | null | null | null | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/xavier_ssd/TrekBot/TrekBot2_WS/src/geographic_info/geographic_msgs/msg/BoundingBox.msg;/xavier_ssd/TrekBot/TrekBot2_WS/src/geographic_info/geographic_msgs/msg/GeographicMapChanges.msg;/xavier_ssd/TrekBot/TrekBot2_WS/src/geographic_info/geographic_msg... | 192.666667 | 1,248 | 0.862457 | 340 | 2,312 | 5.552941 | 0.217647 | 0.15572 | 0.169492 | 0.254237 | 0.675318 | 0.652013 | 0.652013 | 0.632415 | 0.632415 | 0.632415 | 0 | 0.009219 | 0.014706 | 2,312 | 11 | 1,249 | 210.181818 | 0.819579 | 0.021194 | 0 | 0 | 1 | 0.333333 | 0.910217 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
01c720d317430dffe130c9086f0b06bd572f9f82 | 167 | py | Python | lizardanalysis/start_new_analysis/__init__.py | JojoReikun/ClimbingLizardDLCAnalysis | 6cc38090217a3ffd4860ef6d06ba7967d3c10b7c | [
"MIT"
] | 1 | 2021-03-09T19:12:44.000Z | 2021-03-09T19:12:44.000Z | lizardanalysis/start_new_analysis/__init__.py | JojoReikun/ClimbingLizardDLCAnalysis | 6cc38090217a3ffd4860ef6d06ba7967d3c10b7c | [
"MIT"
] | null | null | null | lizardanalysis/start_new_analysis/__init__.py | JojoReikun/ClimbingLizardDLCAnalysis | 6cc38090217a3ffd4860ef6d06ba7967d3c10b7c | [
"MIT"
] | null | null | null | from lizardanalysis.start_new_analysis.new import create_new_project
from lizardanalysis.start_new_analysis.gui_define_video_orientation import gui_choose_video_config | 83.5 | 98 | 0.934132 | 24 | 167 | 6 | 0.583333 | 0.25 | 0.319444 | 0.361111 | 0.472222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041916 | 167 | 2 | 98 | 83.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
01dbc0373365123a77ad514bfe7caa6d707478f6 | 3,685 | py | Python | src/unit_tests/test_updater.py | Lituta/sparql-jsonld | 590bfa70d4d1e74ea4a60e43bce8819157a81f7d | [
"MIT"
] | null | null | null | src/unit_tests/test_updater.py | Lituta/sparql-jsonld | 590bfa70d4d1e74ea4a60e43bce8819157a81f7d | [
"MIT"
] | null | null | null | src/unit_tests/test_updater.py | Lituta/sparql-jsonld | 590bfa70d4d1e74ea4a60e43bce8819157a81f7d | [
"MIT"
] | null | null | null | import unittest
from rdflib.plugins.sparql.parser import parseQuery
from src.updater import Updater
class TestUpdater(unittest.TestCase):
def test_updater(self) -> None:
ori = parseQuery("""PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX ns: <http://example.org/ns#>
SELECT ?title (?p*(1-?discoun... | 53.405797 | 115 | 0.591045 | 403 | 3,685 | 5.295285 | 0.173697 | 0.121837 | 0.168697 | 0.052484 | 0.881912 | 0.872071 | 0.85239 | 0.841612 | 0.800375 | 0.800375 | 0 | 0.005793 | 0.156852 | 3,685 | 68 | 116 | 54.191176 | 0.681043 | 0 | 0 | 0.333333 | 0 | 0.35 | 0.771235 | 0.303392 | 0 | 0 | 0 | 0 | 0.033333 | 1 | 0.033333 | false | 0 | 0.05 | 0 | 0.1 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
01f23c726adf68c5ce9d037e3b4d0beefba6b6ce | 216 | py | Python | CleanMyData/manager/standardMethods/getMinMaxValue.py | asa19aau/CleanMyData | 5c7f301382ff33b357b687e5c0296ede274ff011 | [
"MIT"
] | 2 | 2021-12-12T13:26:33.000Z | 2021-12-16T08:27:51.000Z | CleanMyData/manager/standardMethods/getMinMaxValue.py | asa19aau/CleanMyData | 5c7f301382ff33b357b687e5c0296ede274ff011 | [
"MIT"
] | 1 | 2021-11-24T15:35:06.000Z | 2021-11-24T15:35:06.000Z | CleanMyData/manager/standardMethods/getMinMaxValue.py | asa19aau/CleanMyData | 5c7f301382ff33b357b687e5c0296ede274ff011 | [
"MIT"
] | 4 | 2021-11-24T13:11:37.000Z | 2022-01-29T22:59:39.000Z | import pyspark.pandas as pan
#Calculate median from column values
def getMinimumValue(dataFrame: pan.DataFrame):
return dataFrame.min()
def getMaximumValue(dataFrame: pan.DataFrame):
return dataFrame.max()
| 24 | 46 | 0.782407 | 26 | 216 | 6.5 | 0.653846 | 0.142012 | 0.248521 | 0.319527 | 0.426036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134259 | 216 | 8 | 47 | 27 | 0.903743 | 0.162037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
01ff41587fceac5f3e697624dbfb150e817fa466 | 8,729 | py | Python | src/sardana/taurus/qt/qtgui/extra_pool/motor.py | marc2332/sardana | 48dc9191baaa63f6c714d8c025e8f3f96548ad26 | [
"CC-BY-3.0"
] | 43 | 2016-11-25T15:21:23.000Z | 2021-08-20T06:09:40.000Z | src/sardana/taurus/qt/qtgui/extra_pool/motor.py | marc2332/sardana | 48dc9191baaa63f6c714d8c025e8f3f96548ad26 | [
"CC-BY-3.0"
] | 1,263 | 2016-11-25T15:58:37.000Z | 2021-11-02T22:23:47.000Z | src/sardana/taurus/qt/qtgui/extra_pool/motor.py | marc2332/sardana | 48dc9191baaa63f6c714d8c025e8f3f96548ad26 | [
"CC-BY-3.0"
] | 58 | 2016-11-21T11:33:55.000Z | 2021-09-01T06:21:21.000Z | #!/usr/bin/env python
##############################################################################
##
# This file is part of Sardana
##
# http://www.sardana-controls.org/
##
# Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain
##
# Sardana is free software: you can redistribute it and/or modify
# it under th... | 30.735915 | 80 | 0.610952 | 864 | 8,729 | 6.069444 | 0.209491 | 0.034325 | 0.102975 | 0.024409 | 0.806827 | 0.802441 | 0.790999 | 0.778032 | 0.778032 | 0.778032 | 0 | 0.007372 | 0.191889 | 8,729 | 283 | 81 | 30.844523 | 0.736036 | 0.261084 | 0 | 0.836478 | 0 | 0 | 0.032761 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.251572 | false | 0 | 0.025157 | 0.100629 | 0.477987 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 9 |
bf067908f78782e9017ea25ba545e57b19a0244d | 103,215 | py | Python | code/pair_dataset.py | Gorov/zucc | 4d0057f08e879f441d68e1d01e54bf59f1d7f1d1 | [
"MIT"
] | 2 | 2021-07-07T01:33:03.000Z | 2022-03-28T03:57:57.000Z | code/pair_dataset.py | Gorov/zucc | 4d0057f08e879f441d68e1d01e54bf59f1d7f1d1 | [
"MIT"
] | null | null | null | code/pair_dataset.py | Gorov/zucc | 4d0057f08e879f441d68e1d01e54bf59f1d7f1d1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# In[ ]:
from dataset import TextDataset
import numpy as np
import sys, os, json
import gzip
from colored import fg, attr, bg
from env import JerichoEnv
from tqdm import tqdm
from jericho import *
import random
# In[ ]:
def my_lcs(string, sub):
"""
Calculates longe... | 37.261733 | 141 | 0.5356 | 12,197 | 103,215 | 4.236944 | 0.045995 | 0.025253 | 0.013836 | 0.010662 | 0.821491 | 0.797709 | 0.775804 | 0.761485 | 0.751326 | 0.731936 | 0 | 0.012921 | 0.35739 | 103,215 | 2,769 | 142 | 37.27519 | 0.766219 | 0.222652 | 0 | 0.744845 | 0 | 0.000644 | 0.047788 | 0.004114 | 0 | 0 | 0 | 0 | 0.001289 | 1 | 0.053479 | false | 0.010309 | 0.009021 | 0.003866 | 0.11018 | 0.035438 | 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 |
171429b9db5bfd73e12ee4c971222c93da0b8cd1 | 2,849 | py | Python | Lista6/Relembrando_primeira_tentativa.py | hugo-paiva/IntroducaoCienciasDaComputacao | a563f2fd5b773acbffaf4c858b86423b1130ae1f | [
"MIT"
] | null | null | null | Lista6/Relembrando_primeira_tentativa.py | hugo-paiva/IntroducaoCienciasDaComputacao | a563f2fd5b773acbffaf4c858b86423b1130ae1f | [
"MIT"
] | null | null | null | Lista6/Relembrando_primeira_tentativa.py | hugo-paiva/IntroducaoCienciasDaComputacao | a563f2fd5b773acbffaf4c858b86423b1130ae1f | [
"MIT"
] | null | null | null | def hanoi_iterativo(discos, A, B, C, passos):
cont = 0
if len(A) % 2 == 0:
while len(C) != discos:
if len(B) == 0 or len(A) != 0 and A[-1] < B[-1]:
B.append(A.pop())
cont += 1
if cont == passos:
return 0
elif len... | 35.6125 | 102 | 0.379782 | 385 | 2,849 | 2.805195 | 0.088312 | 0.033333 | 0.066667 | 0.111111 | 0.908333 | 0.908333 | 0.908333 | 0.85463 | 0.85463 | 0.85463 | 0 | 0.05302 | 0.477009 | 2,849 | 80 | 103 | 35.6125 | 0.671812 | 0.079677 | 0 | 0.849315 | 0 | 0 | 0.000382 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013699 | false | 0.219178 | 0 | 0 | 0.178082 | 0.013699 | 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 |
171eb0916c8fb502522b15a3d8b1c590e4c0cab3 | 112 | py | Python | tests/schemas/test_schemas.py | st3107/pdfstream | 6e1829d889e5f5400386513efe993ad0596da8a5 | [
"BSD-3-Clause"
] | null | null | null | tests/schemas/test_schemas.py | st3107/pdfstream | 6e1829d889e5f5400386513efe993ad0596da8a5 | [
"BSD-3-Clause"
] | 34 | 2020-07-08T16:24:52.000Z | 2020-11-21T17:55:13.000Z | tests/schemas/test_schemas.py | xpdAcq/PDFstream | dcd9a368ab80cfb61c4198b9f06d8c972b2e2538 | [
"BSD-3-Clause"
] | 5 | 2020-12-02T11:26:06.000Z | 2022-03-30T00:25:30.000Z | import pdfstream.schemas as mod
def test_print_data_keys():
mod.print_data_keys(mod.analysis_out_schemas)
| 18.666667 | 49 | 0.8125 | 18 | 112 | 4.666667 | 0.666667 | 0.214286 | 0.309524 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116071 | 112 | 5 | 50 | 22.4 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 10 |
172bfd3eb531e391c4825f3dd16f7c96e606ca26 | 153 | py | Python | Ekeopara_Praise/Phase 1/Python Basic 1/Day6 Tasks/Task10.py | obasi28/python-challenge-solutions | 2e9564263e0b47e20672cb0bf44e3e287b12ce2b | [
"MIT"
] | null | null | null | Ekeopara_Praise/Phase 1/Python Basic 1/Day6 Tasks/Task10.py | obasi28/python-challenge-solutions | 2e9564263e0b47e20672cb0bf44e3e287b12ce2b | [
"MIT"
] | null | null | null | Ekeopara_Praise/Phase 1/Python Basic 1/Day6 Tasks/Task10.py | obasi28/python-challenge-solutions | 2e9564263e0b47e20672cb0bf44e3e287b12ce2b | [
"MIT"
] | null | null | null | '''10. Write a Python program to print without newline or space.'''
print("This is a sentence", end='')
print("This is a new line that will not show")
| 25.5 | 67 | 0.69281 | 27 | 153 | 3.925926 | 0.777778 | 0.169811 | 0.207547 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.176471 | 153 | 5 | 68 | 30.6 | 0.825397 | 0.398693 | 0 | 0 | 0 | 0 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
17999adad0370d27ac5884d399429705559a11ee | 19,077 | py | Python | harness/determined/_swagger/client/api/tensorboards_api.py | wbwatkinson/determined | f9e099e06746a79a2eaf51a89acc264fc5c301e1 | [
"Apache-2.0"
] | null | null | null | harness/determined/_swagger/client/api/tensorboards_api.py | wbwatkinson/determined | f9e099e06746a79a2eaf51a89acc264fc5c301e1 | [
"Apache-2.0"
] | null | null | null | harness/determined/_swagger/client/api/tensorboards_api.py | wbwatkinson/determined | f9e099e06746a79a2eaf51a89acc264fc5c301e1 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Determined API (Beta)
Determined helps deep learning teams train models more quickly, easily share GPU resources, and effectively collaborate. Determined allows deep learning engineers to focus on building and training models at scale, without needing to worry about DevOps or writing custo... | 43.754587 | 647 | 0.64203 | 2,192 | 19,077 | 5.353558 | 0.118157 | 0.040903 | 0.019088 | 0.024542 | 0.876523 | 0.868513 | 0.854793 | 0.836302 | 0.829058 | 0.829058 | 0 | 0.015018 | 0.273995 | 19,077 | 435 | 648 | 43.855172 | 0.832274 | 0.393091 | 0 | 0.735931 | 0 | 0 | 0.190441 | 0.059653 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038961 | false | 0 | 0.017316 | 0 | 0.112554 | 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 |
bd811b6bafdf3725010f93ab6d37aac6d8de76b2 | 192,270 | py | Python | isaacgym_utils/assets/franka_numerical_utils_raw.py | khush3/isaacgym-utils | cceb1752d32ab47e1aa05ed381b1e83ed280dafa | [
"Apache-2.0"
] | 20 | 2021-09-27T15:17:26.000Z | 2022-03-30T12:25:02.000Z | isaacgym_utils/assets/franka_numerical_utils_raw.py | khush3/isaacgym-utils | cceb1752d32ab47e1aa05ed381b1e83ed280dafa | [
"Apache-2.0"
] | 6 | 2021-10-17T20:42:44.000Z | 2022-03-20T12:41:09.000Z | isaacgym_utils/assets/franka_numerical_utils_raw.py | khush3/isaacgym-utils | cceb1752d32ab47e1aa05ed381b1e83ed280dafa | [
"Apache-2.0"
] | 3 | 2022-03-19T01:31:40.000Z | 2022-03-28T00:45:16.000Z | # From https://github.com/marcocognetti/FrankaEmikaPandaDynModel/
import numpy as np
from numba.pycc import CC
cc = CC('franka_numerical_utils')
cc.verbose = True
@cc.export('get_franka_mass_matrix', 'f4[:, :](f4[:])')
def get_franka_mass_matrix(q):
''' Expect q to be a (7,) ndarray of type float32
'''
... | 2,045.425532 | 40,276 | 0.604067 | 31,359 | 192,270 | 3.701585 | 0.006729 | 0.016644 | 0.051638 | 0.035321 | 0.968754 | 0.9184 | 0.810834 | 0.60418 | 0.354115 | 0.16109 | 0 | 0.619733 | 0.232595 | 192,270 | 94 | 40,277 | 2,045.425532 | 0.166975 | 0.000671 | 0 | 0 | 0 | 0 | 0.000349 | 0.000229 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0125 | false | 0 | 0.025 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bda35b6cb7614ce07e8d5c1fdf5ebde30b890473 | 46 | py | Python | peer_socket/__init__.py | Nnigmat/dlt-lab7 | 47235e6c37aeda62cc515de7b99a6ce7acf2849b | [
"MIT"
] | null | null | null | peer_socket/__init__.py | Nnigmat/dlt-lab7 | 47235e6c37aeda62cc515de7b99a6ce7acf2849b | [
"MIT"
] | null | null | null | peer_socket/__init__.py | Nnigmat/dlt-lab7 | 47235e6c37aeda62cc515de7b99a6ce7acf2849b | [
"MIT"
] | null | null | null | from peer_socket.peer_socket import PeerSocket | 46 | 46 | 0.913043 | 7 | 46 | 5.714286 | 0.714286 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
bdb846187dc68319c0c313cefb361c236f485545 | 241 | py | Python | once/once.py | matthewlucock/problems | a51b87decf9b95f2e22af8915e00e90749b610f0 | [
"Unlicense"
] | null | null | null | once/once.py | matthewlucock/problems | a51b87decf9b95f2e22af8915e00e90749b610f0 | [
"Unlicense"
] | null | null | null | once/once.py | matthewlucock/problems | a51b87decf9b95f2e22af8915e00e90749b610f0 | [
"Unlicense"
] | null | null | null | def once(function):
function_has_been_called = False
def wrapper(*args, **kwargs):
if not function_has_been_called:
function_has_been_called = True
return wrapper(*args, **kwargs)
return wrapper
| 24.1 | 43 | 0.651452 | 29 | 241 | 5.103448 | 0.482759 | 0.222973 | 0.304054 | 0.425676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26971 | 241 | 9 | 44 | 26.777778 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
bddbe5cd2c92bce3b955320bec208493e88e0380 | 1,241 | py | Python | _test/test_none.py | grahamgower/ruyaml | 9623d0a57e745999c0ec816909868e844b6ef030 | [
"MIT"
] | null | null | null | _test/test_none.py | grahamgower/ruyaml | 9623d0a57e745999c0ec816909868e844b6ef030 | [
"MIT"
] | null | null | null | _test/test_none.py | grahamgower/ruyaml | 9623d0a57e745999c0ec816909868e844b6ef030 | [
"MIT"
] | null | null | null | # coding: utf-8
import pytest # NOQA
class TestNone:
def test_dump00(self):
import ruyaml # NOQA
data = None
s = ruyaml.round_trip_dump(data)
assert s == 'null\n...\n'
d = ruyaml.round_trip_load(s)
assert d == data
def test_dump01(self):
import ruy... | 23.865385 | 81 | 0.557615 | 166 | 1,241 | 3.987952 | 0.198795 | 0.166163 | 0.226586 | 0.151057 | 0.879154 | 0.847432 | 0.847432 | 0.847432 | 0.847432 | 0.847432 | 0 | 0.013205 | 0.328767 | 1,241 | 51 | 82 | 24.333333 | 0.781513 | 0.034649 | 0 | 0.675676 | 0 | 0 | 0.044538 | 0 | 0 | 0 | 0 | 0 | 0.27027 | 1 | 0.135135 | false | 0 | 0.162162 | 0 | 0.324324 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bde8ec6ac413ae679322ae5061e85f54b3da49a7 | 10,630 | py | Python | esperclient/api/group_commands_api.py | pallavigopi/esper-client-py | f7e71d3f25a5d91f35628b414e8abe9e6849d316 | [
"Apache-2.0"
] | null | null | null | esperclient/api/group_commands_api.py | pallavigopi/esper-client-py | f7e71d3f25a5d91f35628b414e8abe9e6849d316 | [
"Apache-2.0"
] | null | null | null | esperclient/api/group_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.516729 | 111 | 0.637159 | 1,278 | 10,630 | 5.053991 | 0.152582 | 0.036848 | 0.019508 | 0.022294 | 0.843319 | 0.829076 | 0.812665 | 0.800279 | 0.792847 | 0.785106 | 0 | 0.001818 | 0.275447 | 10,630 | 268 | 112 | 39.664179 | 0.836796 | 0.352399 | 0 | 0.706767 | 0 | 0 | 0.229917 | 0.041023 | 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 |
e51d0ba4f93fe30ccdc98294285bfaf86cacc04f | 300 | py | Python | uniswap/tokens.py | ErikBjare/uniswap-python | 3f770cd68ada634b8b292ec8b46a62c5d74247ea | [
"MIT"
] | 3 | 2020-08-06T23:18:49.000Z | 2022-01-20T21:30:49.000Z | uniswap/tokens.py | ErikBjare/uniswap-python | 3f770cd68ada634b8b292ec8b46a62c5d74247ea | [
"MIT"
] | 1 | 2020-07-21T12:48:46.000Z | 2020-07-21T12:48:46.000Z | uniswap/tokens.py | ErikBjare/uniswap-python | 3f770cd68ada634b8b292ec8b46a62c5d74247ea | [
"MIT"
] | 1 | 2022-02-13T12:24:00.000Z | 2022-02-13T12:24:00.000Z | tokens = {
"WETH": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"DAI": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"BAT": "0x0D8775F648430679A709E98d2b0Cb6250d2887EF",
"WBTC": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
"UNI": "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984",
}
| 37.5 | 57 | 0.776667 | 11 | 300 | 21.181818 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.481203 | 0.113333 | 300 | 7 | 58 | 42.857143 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0.756667 | 0.7 | 0 | 0 | 0.7 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e571617e2da3a12ab881428daec005484ae1482c | 1,156 | py | Python | interface/keyboard.py | Matvei-Fadeev/IKTON | c56c21b571edaad4f0551e3ad49c59af07b27ace | [
"MIT"
] | null | null | null | interface/keyboard.py | Matvei-Fadeev/IKTON | c56c21b571edaad4f0551e3ad49c59af07b27ace | [
"MIT"
] | null | null | null | interface/keyboard.py | Matvei-Fadeev/IKTON | c56c21b571edaad4f0551e3ad49c59af07b27ace | [
"MIT"
] | 1 | 2020-11-24T17:42:46.000Z | 2020-11-24T17:42:46.000Z | import telebot
from telebot import types
# Основное меню, главное, при любом старте
def main_display_keyboard():
markup = types.ReplyKeyboardMarkup(one_time_keyboard=True, resize_keyboard=True)
first_btn = types.KeyboardButton('Присоединиться')
second_btn = types.KeyboardButton('Создать')
markup.add(first_btn, sec... | 33.028571 | 84 | 0.796713 | 146 | 1,156 | 6.061644 | 0.246575 | 0.081356 | 0.223729 | 0.171751 | 0.79209 | 0.79209 | 0.723164 | 0.723164 | 0.723164 | 0.723164 | 0 | 0 | 0.104671 | 1,156 | 34 | 85 | 34 | 0.855072 | 0.034602 | 0 | 0.518519 | 0 | 0 | 0.060144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.148148 | false | 0 | 0.074074 | 0 | 0.37037 | 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 |
e5847e85a5ac206d78d7f6c8562d646fd6437704 | 3,143 | py | Python | biserici_inlemnite/biserici/migrations/0031_auto_20210803_1618.py | ck-tm/biserici-inlemnite | c9d12127b92f25d3ab2fcc7b4c386419fe308a4e | [
"MIT"
] | null | null | null | biserici_inlemnite/biserici/migrations/0031_auto_20210803_1618.py | ck-tm/biserici-inlemnite | c9d12127b92f25d3ab2fcc7b4c386419fe308a4e | [
"MIT"
] | null | null | null | biserici_inlemnite/biserici/migrations/0031_auto_20210803_1618.py | ck-tm/biserici-inlemnite | c9d12127b92f25d3ab2fcc7b4c386419fe308a4e | [
"MIT"
] | null | null | null | # Generated by Django 3.1.13 on 2021-08-03 13:18
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('biserici', '0030_auto_20210803_1617'),
]
operations = [
migrations.AddField(
model_name='conservare',
name='stare_c... | 37.416667 | 111 | 0.560293 | 323 | 3,143 | 5.318885 | 0.167183 | 0.073341 | 0.160652 | 0.188591 | 0.867288 | 0.867288 | 0.867288 | 0.867288 | 0.845751 | 0.845751 | 0 | 0.041573 | 0.295896 | 3,143 | 83 | 112 | 37.86747 | 0.734749 | 0.014636 | 0 | 0.883117 | 1 | 0 | 0.169628 | 0.039742 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012987 | 0 | 0.051948 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
e5a205bd48178eca446478c45bb2f3472dfe99d4 | 30,992 | py | Python | cloudroast/database/pos_regr/instances.py | lmaycotte/cloudroast | c1835aa45e0e86c755d4b24b33e12ba30eee1995 | [
"Apache-2.0"
] | null | null | null | cloudroast/database/pos_regr/instances.py | lmaycotte/cloudroast | c1835aa45e0e86c755d4b24b33e12ba30eee1995 | [
"Apache-2.0"
] | null | null | null | cloudroast/database/pos_regr/instances.py | lmaycotte/cloudroast | c1835aa45e0e86c755d4b24b33e12ba30eee1995 | [
"Apache-2.0"
] | 1 | 2020-11-17T19:04:33.000Z | 2020-11-17T19:04:33.000Z | """
Copyright 2013 Rackspace
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
dist... | 39.280101 | 79 | 0.548561 | 3,089 | 30,992 | 5.349304 | 0.069602 | 0.08412 | 0.042363 | 0.041394 | 0.852457 | 0.842593 | 0.827282 | 0.824619 | 0.818688 | 0.799262 | 0 | 0.008654 | 0.362416 | 30,992 | 788 | 80 | 39.329949 | 0.827581 | 0.082602 | 0 | 0.738137 | 0 | 0 | 0.114614 | 0.000789 | 0 | 0 | 0 | 0 | 0.107206 | 1 | 0.038664 | false | 0.019332 | 0.001757 | 0 | 0.079086 | 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 |
e5dfb4aac11ef0369923fe8f4ad193b0b82219fe | 7,209 | py | Python | src/genie/libs/parser/iosxe/tests/ShowCryptoIkev2Session/cli/equal/golden_output_csr8kv_detailed_expected.py | ykoehler/genieparser | b62cf622c3d8eab77c7b69e932c214ed04a2565a | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowCryptoIkev2Session/cli/equal/golden_output_csr8kv_detailed_expected.py | ykoehler/genieparser | b62cf622c3d8eab77c7b69e932c214ed04a2565a | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowCryptoIkev2Session/cli/equal/golden_output_csr8kv_detailed_expected.py | ykoehler/genieparser | b62cf622c3d8eab77c7b69e932c214ed04a2565a | [
"Apache-2.0"
] | null | null | null | expected_output = {
'ikev2_session': {
'IPv4':{
1:{
'session_id': 3,
'status': 'UP-ACTIVE',
'ike_count': 1,
'child_count': 1,
'tunnel_id': 1,
'local_ip': '1.1.1.1',... | 43.957317 | 126 | 0.311 | 580 | 7,209 | 3.617241 | 0.175862 | 0.019066 | 0.017159 | 0.017159 | 0.934223 | 0.934223 | 0.934223 | 0.934223 | 0.934223 | 0.934223 | 0 | 0.170127 | 0.552365 | 7,209 | 164 | 127 | 43.957317 | 0.480012 | 0 | 0 | 0.768293 | 0 | 0 | 0.32025 | 0 | 0 | 0 | 0.017753 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
00af60fcc85ca4b12e38c5350ed6ca84c08436ae | 3,094 | py | Python | AccountsApp/tests.py | Kolynes/uzu-accounts-app | 21c182ec8497fe4fa1ca651fb6c622b59579aba2 | [
"MIT"
] | null | null | null | AccountsApp/tests.py | Kolynes/uzu-accounts-app | 21c182ec8497fe4fa1ca651fb6c622b59579aba2 | [
"MIT"
] | null | null | null | AccountsApp/tests.py | Kolynes/uzu-accounts-app | 21c182ec8497fe4fa1ca651fb6c622b59579aba2 | [
"MIT"
] | 1 | 2020-10-28T12:32:28.000Z | 2020-10-28T12:32:28.000Z | from django.test import TestCase
from . import models
import json
from django.core import mail
class SendVerificationCodeViewTestCase(TestCase):
def test_send_mode_response(self):
self.user = models.User.objects.create_user(username="Kolynes", password="password")
self.user.save()
response ... | 49.903226 | 125 | 0.69554 | 352 | 3,094 | 5.977273 | 0.150568 | 0.079848 | 0.072719 | 0.08365 | 0.802757 | 0.787072 | 0.752852 | 0.748099 | 0.748099 | 0.748099 | 0 | 0.018161 | 0.163542 | 3,094 | 61 | 126 | 50.721311 | 0.794822 | 0 | 0 | 0.588235 | 0 | 0 | 0.14743 | 0.031038 | 0 | 0 | 0 | 0 | 0.196078 | 1 | 0.117647 | false | 0.176471 | 0.078431 | 0 | 0.27451 | 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 |
00b5ca61e8d39f49c57980fd6fac5119805e813c | 111 | py | Python | numerical_analysis/root_finding/__init__.py | iagerogiannis/numerical-analysis | ae6f10b70cd8f60e746d897d861e48253df1063a | [
"BSD-3-Clause"
] | null | null | null | numerical_analysis/root_finding/__init__.py | iagerogiannis/numerical-analysis | ae6f10b70cd8f60e746d897d861e48253df1063a | [
"BSD-3-Clause"
] | null | null | null | numerical_analysis/root_finding/__init__.py | iagerogiannis/numerical-analysis | ae6f10b70cd8f60e746d897d861e48253df1063a | [
"BSD-3-Clause"
] | null | null | null | from .root_finding import bisection, secant, newton_raphson, newton_raphson_2x2, newton_raphson_multiple_roots
| 55.5 | 110 | 0.882883 | 15 | 111 | 6.066667 | 0.733333 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.072072 | 111 | 1 | 111 | 111 | 0.864078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
00d3810658850f0a200bff5d22b4212f5119b4cf | 284 | py | Python | advpistepper/__init__.py | innot/AdvPiStepper | e98db5b19952b25cbcffdc118c599e546f026a9b | [
"MIT"
] | 1 | 2022-01-22T09:18:56.000Z | 2022-01-22T09:18:56.000Z | advpistepper/__init__.py | innot/AdvPiStepper | e98db5b19952b25cbcffdc118c599e546f026a9b | [
"MIT"
] | 2 | 2021-05-17T23:14:36.000Z | 2022-01-22T09:23:38.000Z | advpistepper/__init__.py | innot/AdvPiStepper | e98db5b19952b25cbcffdc118c599e546f026a9b | [
"MIT"
] | 1 | 2021-10-04T23:15:01.000Z | 2021-10-04T23:15:01.000Z | from advpistepper.stepper import AdvPiStepper
from advpistepper.driver_unipolar_generic import DriverUnipolarGeneric
from advpistepper.driver_unipolar_28byj48 import Driver28BYJ48
from advpistepper.driver_step_dir_generic import DriverStepDirGeneric
from advpistepper.common import *
| 47.333333 | 70 | 0.908451 | 31 | 284 | 8.096774 | 0.451613 | 0.318725 | 0.262948 | 0.239044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.070423 | 284 | 5 | 71 | 56.8 | 0.920455 | 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 |
dad58f87add262ccad314a0a6f25c698d209985e | 6,641 | py | Python | #765/#765_self.py | 1uci3n/leetcode | 1268c8ef6d9739e16035ab88c78751824886a92a | [
"MIT"
] | null | null | null | #765/#765_self.py | 1uci3n/leetcode | 1268c8ef6d9739e16035ab88c78751824886a92a | [
"MIT"
] | null | null | null | #765/#765_self.py | 1uci3n/leetcode | 1268c8ef6d9739e16035ab88c78751824886a92a | [
"MIT"
] | null | null | null | class Solution(object):
def minSwapsCouples(self, row):
"""
:type row: List[int]
:rtype: int
"""
couple_num = (len(row) + 1) / 2
error_index = []
error_num = 0
for i in range(couple_num):
i = i * 2
if row[i] < row[i + 1]:
... | 48.474453 | 235 | 0.341515 | 592 | 6,641 | 3.660473 | 0.069257 | 0.295339 | 0.32395 | 0.249192 | 0.849562 | 0.848639 | 0.828796 | 0.819105 | 0.785879 | 0.751731 | 0 | 0.026241 | 0.575365 | 6,641 | 136 | 236 | 48.830882 | 0.742199 | 0.004819 | 0 | 0.765152 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007576 | false | 0 | 0 | 0 | 0.022727 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
daee4697a7fab3fa0387b95c534853fbf22b0c7f | 14,001 | py | Python | NetSurfP/plotcomp1kgnetsurfP.py | najmacherrad/master_thesis | 4a5c68d6dddb98548ff93105a330e21148a1fa8d | [
"MIT"
] | 1 | 2019-01-18T02:01:59.000Z | 2019-01-18T02:01:59.000Z | NetSurfP/plotcomp1kgnetsurfP.py | najmacherrad/master_thesis | 4a5c68d6dddb98548ff93105a330e21148a1fa8d | [
"MIT"
] | null | null | null | NetSurfP/plotcomp1kgnetsurfP.py | najmacherrad/master_thesis | 4a5c68d6dddb98548ff93105a330e21148a1fa8d | [
"MIT"
] | null | null | null | # NetSurfP
#Compare results between wild type and mutant
# coding=utf-8
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import csv
from scipy import stats
from pylab import plot, show, savefig, xlim, figure, \
hold, ylim, legend, boxplot, setp, axes
def getColumn(filename, colum... | 31.820455 | 243 | 0.608171 | 2,254 | 14,001 | 3.681455 | 0.106477 | 0.014461 | 0.017354 | 0.023861 | 0.801639 | 0.778501 | 0.728007 | 0.723668 | 0.708002 | 0.689684 | 0 | 0.0634 | 0.12692 | 14,001 | 439 | 244 | 31.892939 | 0.615429 | 0.205914 | 0 | 0.756923 | 0 | 0 | 0.169596 | 0.045751 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003077 | false | 0 | 0.018462 | 0 | 0.024615 | 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 |
973c7a7e5460af1e6aa4272d0396c7b1ea246838 | 166 | py | Python | src/text_processor/__init__.py | CasperAntonPoulsen/ConceptExtraction | 41c1ae65dfab7e774a43a8f6f45f403f56cf1a0b | [
"Apache-2.0"
] | 6 | 2020-08-28T17:08:42.000Z | 2022-02-14T22:26:01.000Z | src/text_processor/__init__.py | CasperAntonPoulsen/ConceptExtraction | 41c1ae65dfab7e774a43a8f6f45f403f56cf1a0b | [
"Apache-2.0"
] | 1 | 2021-01-26T02:20:30.000Z | 2021-01-26T02:20:30.000Z | src/text_processor/__init__.py | CasperAntonPoulsen/ConceptExtraction | 41c1ae65dfab7e774a43a8f6f45f403f56cf1a0b | [
"Apache-2.0"
] | 3 | 2020-09-15T16:59:58.000Z | 2022-03-16T10:05:10.000Z | from src.text_processor.token import Token
from src.text_processor.tokenized_text import TokenizedText
from src.text_processor.text_tokenizer import TextTokenizer
| 41.5 | 60 | 0.873494 | 23 | 166 | 6.086957 | 0.434783 | 0.15 | 0.235714 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090361 | 166 | 3 | 61 | 55.333333 | 0.927152 | 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 |
97912baf5bfb0ed0983d961c5dbef81ac5cd468b | 15,322 | py | Python | Agents/Networks/DQN.py | BY571/BY571 | 9ddff988ef2516e4752c0296cc88b06bb0221400 | [
"MIT"
] | 65 | 2020-04-26T13:15:34.000Z | 2022-03-27T05:29:14.000Z | Agents/Networks/DQN.py | BY571/BY571 | 9ddff988ef2516e4752c0296cc88b06bb0221400 | [
"MIT"
] | 6 | 2020-08-14T06:14:38.000Z | 2021-03-31T17:29:38.000Z | Agents/Networks/DQN.py | BY571/BY571 | 9ddff988ef2516e4752c0296cc88b06bb0221400 | [
"MIT"
] | 15 | 2020-07-23T17:32:59.000Z | 2022-01-31T05:47:31.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
import math
def weight_init(layers):
for layer in layers:
torch.nn.init.kaiming_normal_(layer.weight, nonlinearity='relu')
class NoisyLinear(nn.Linear):
# Noisy Linear Layer for independent Gaussian Noise
def __init__(self, in_fea... | 43.160563 | 132 | 0.593983 | 2,191 | 15,322 | 3.895938 | 0.070288 | 0.075914 | 0.045103 | 0.042174 | 0.838097 | 0.826617 | 0.819353 | 0.794986 | 0.794986 | 0.794986 | 0 | 0.027417 | 0.290628 | 15,322 | 354 | 133 | 43.282486 | 0.757935 | 0.082235 | 0 | 0.837545 | 0 | 0 | 0.013702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064982 | false | 0 | 0.01444 | 0 | 0.137184 | 0.01444 | 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 |
c11776facf8e213b8fb007642294fa5bae8d2b9a | 76,257 | py | Python | gs_quant/target/instrument.py | dannyb2018/gs-quant | e963c4af1c7c65b2ee8f7995815542f6fb7b4957 | [
"Apache-2.0"
] | null | null | null | gs_quant/target/instrument.py | dannyb2018/gs-quant | e963c4af1c7c65b2ee8f7995815542f6fb7b4957 | [
"Apache-2.0"
] | null | null | null | gs_quant/target/instrument.py | dannyb2018/gs-quant | e963c4af1c7c65b2ee8f7995815542f6fb7b4957 | [
"Apache-2.0"
] | null | null | null | """
Copyright 2019 Goldman Sachs.
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 di... | 46.441535 | 126 | 0.750554 | 9,225 | 76,257 | 6.010081 | 0.050732 | 0.069946 | 0.058979 | 0.078459 | 0.900691 | 0.881554 | 0.857385 | 0.840647 | 0.827048 | 0.81453 | 0 | 0.00154 | 0.140026 | 76,257 | 1,641 | 127 | 46.469835 | 0.843898 | 0.007239 | 0 | 0.802826 | 0 | 0 | 0.005932 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002019 | false | 0 | 0.004711 | 0 | 0.806864 | 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 | 1 | 0 | 0 | 8 |
c13a226cef432328353f9961e4e4148b196cd040 | 78 | py | Python | tests/_projects/a_references_b_b_references_a/b_module.py | marek-trmac/pycycle | f477e70b7a6875eada05475c27bc20d19587d585 | [
"MIT"
] | 319 | 2017-01-28T19:29:16.000Z | 2022-03-18T08:45:42.000Z | tests/_projects/a_references_b_b_references_a/b_module.py | marek-trmac/pycycle | f477e70b7a6875eada05475c27bc20d19587d585 | [
"MIT"
] | 18 | 2017-01-31T14:12:38.000Z | 2022-03-08T12:15:10.000Z | tests/_projects/a_references_b_b_references_a/b_module.py | marek-trmac/pycycle | f477e70b7a6875eada05475c27bc20d19587d585 | [
"MIT"
] | 31 | 2017-01-29T19:52:15.000Z | 2022-03-09T13:32:33.000Z | from a_module import some_other_func
def some_func():
some_other_func()
| 13 | 36 | 0.769231 | 13 | 78 | 4.153846 | 0.615385 | 0.333333 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 78 | 5 | 37 | 15.6 | 0.830769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
c13b8a8577cf60a7a5d439571ea18d3956929094 | 70,045 | py | Python | signing_today_client/api/backoffice_api.py | signingtoday/signingtoday-sdk-python | ed267279622fb59f2ad8fa289157fc9cdf9d8a5b | [
"MIT"
] | null | null | null | signing_today_client/api/backoffice_api.py | signingtoday/signingtoday-sdk-python | ed267279622fb59f2ad8fa289157fc9cdf9d8a5b | [
"MIT"
] | null | null | null | signing_today_client/api/backoffice_api.py | signingtoday/signingtoday-sdk-python | ed267279622fb59f2ad8fa289157fc9cdf9d8a5b | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Signing Today Web
*Signing Today* is the perfect Digital Signature Gateway. Whenever in Your workflow You need to add one or more Digital Signatures to Your document, *Signing Today* is the right choice. You prepare Your documents, *Signing Today* takes care of all the rest: send invitatio... | 46.947051 | 557 | 0.600914 | 7,977 | 70,045 | 5.027579 | 0.03297 | 0.045082 | 0.066326 | 0.029173 | 0.960204 | 0.957761 | 0.954445 | 0.948834 | 0.929485 | 0.924 | 0 | 0.015305 | 0.32372 | 70,045 | 1,491 | 558 | 46.978538 | 0.831328 | 0.452809 | 0 | 0.786885 | 0 | 0 | 0.168172 | 0.052969 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040238 | false | 0 | 0.007452 | 0 | 0.087928 | 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 |
c1c9212841817d674049a2f2cc4c4cefe4a28da6 | 14,887 | py | Python | tests/common_setup.py | zffgithub/integration | 396d9ef053b28814b0e3323a2ebaa5c0b5fc75d3 | [
"Apache-2.0"
] | null | null | null | tests/common_setup.py | zffgithub/integration | 396d9ef053b28814b0e3323a2ebaa5c0b5fc75d3 | [
"Apache-2.0"
] | null | null | null | tests/common_setup.py | zffgithub/integration | 396d9ef053b28814b0e3323a2ebaa5c0b5fc75d3 | [
"Apache-2.0"
] | null | null | null | # Copyright 2022 Northern.tech AS
#
# 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 ag... | 27.215722 | 94 | 0.744475 | 1,885 | 14,887 | 5.622281 | 0.114058 | 0.033969 | 0.047556 | 0.041706 | 0.811757 | 0.808454 | 0.799207 | 0.781279 | 0.727401 | 0.717966 | 0 | 0.007784 | 0.154296 | 14,887 | 546 | 95 | 27.265568 | 0.833995 | 0.069725 | 0 | 0.727528 | 0 | 0 | 0.059006 | 0.001735 | 0 | 0 | 0 | 0 | 0.025281 | 1 | 0.089888 | false | 0.002809 | 0.025281 | 0.011236 | 0.202247 | 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 |
c1f6a515f27555c406eaf8d6be4b1ede7191d581 | 2,937 | py | Python | mistree/tests/test_levy_flight.py | knaidoo29/MiSTree | 20ef822ca349d2cc8118bbeca277713f03e10cd2 | [
"MIT"
] | 27 | 2019-07-03T08:01:10.000Z | 2022-03-29T09:28:58.000Z | mistree/tests/test_levy_flight.py | knaidoo29/MiSTree | 20ef822ca349d2cc8118bbeca277713f03e10cd2 | [
"MIT"
] | 15 | 2019-09-12T03:56:20.000Z | 2021-12-14T22:27:44.000Z | mistree/tests/test_levy_flight.py | knaidoo29/MiSTree | 20ef822ca349d2cc8118bbeca277713f03e10cd2 | [
"MIT"
] | 15 | 2019-07-03T05:00:20.000Z | 2022-03-03T19:37:32.000Z | import numpy as np
import mistree as mist
def test_get_random_flight():
steps = np.random.random_sample(100)
p = mist.get_random_flight(steps)
assert len(p) == 3
p = mist.get_random_flight(steps, mode='2D')
assert len(p) == 2
box_size = 1.
x, y, z = mist.get_random_flight(steps, box_size=b... | 38.644737 | 82 | 0.518216 | 445 | 2,937 | 3.213483 | 0.08764 | 0.21049 | 0.100699 | 0.044056 | 0.916783 | 0.902797 | 0.860839 | 0.818881 | 0.802797 | 0.797203 | 0 | 0.040806 | 0.307457 | 2,937 | 75 | 83 | 39.16 | 0.662242 | 0 | 0 | 0.637681 | 0 | 0 | 0.002724 | 0 | 0 | 0 | 0 | 0 | 0.275362 | 1 | 0.043478 | false | 0 | 0.028986 | 0 | 0.072464 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
de114ce661062d9d0dc7d09692349c6cac926122 | 677,149 | py | Python | ipythonhistory2508.py | tmannen/fast-depth | 8189b6c7832a6fd65977872d5bb7dd9437cbe098 | [
"MIT"
] | null | null | null | ipythonhistory2508.py | tmannen/fast-depth | 8189b6c7832a6fd65977872d5bb7dd9437cbe098 | [
"MIT"
] | null | null | null | ipythonhistory2508.py | tmannen/fast-depth | 8189b6c7832a6fd65977872d5bb7dd9437cbe098 | [
"MIT"
] | null | null | null | 1/1: sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))
1/2: improt tensorflow as tf
1/3: import tensorflow as tf
2/1: import tensorflow as tf
3/1: import tensorflow as tf
3/2: sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))
4/1:
import tensorflow as tf
hello = tf.constant('H... | 40.927712 | 181 | 0.724448 | 100,268 | 677,149 | 4.641192 | 0.013504 | 0.010572 | 0.013188 | 0.0101 | 0.963742 | 0.956481 | 0.95057 | 0.94641 | 0.941762 | 0.937421 | 0 | 0.031494 | 0.156158 | 677,149 | 16,544 | 182 | 40.930186 | 0.782922 | 0 | 0 | 0.796346 | 0 | 0.013703 | 0.169077 | 0.040579 | 0 | 0 | 0 | 0.000121 | 0.005198 | 0 | null | null | 0 | 0.145141 | null | null | 0.061742 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
de144697cb286b91939ce9f61b0f7cbfd2ec82c1 | 1,881 | py | Python | gerencia/models.py | bcunhasa/nutriodonto | 3ff20377bc85bc4960619f63688b7732e6eebba9 | [
"CC0-1.0"
] | null | null | null | gerencia/models.py | bcunhasa/nutriodonto | 3ff20377bc85bc4960619f63688b7732e6eebba9 | [
"CC0-1.0"
] | null | null | null | gerencia/models.py | bcunhasa/nutriodonto | 3ff20377bc85bc4960619f63688b7732e6eebba9 | [
"CC0-1.0"
] | null | null | null | from django.db import models
from .const import *
class Noticia(models.Model):
"""Modelo que representa uma notícia do portal"""
titulo = models.CharField(max_length=TAMANHO_TITULO, verbose_name='Título')
data = models.CharField(max_length=TAMANHO_TITULO, verbose_name='Data de criação')
texto = model... | 38.387755 | 86 | 0.725146 | 249 | 1,881 | 5.26506 | 0.216867 | 0.109077 | 0.12357 | 0.16476 | 0.866514 | 0.856598 | 0.757437 | 0.757437 | 0.7254 | 0.7254 | 0 | 0 | 0.169591 | 1,881 | 48 | 87 | 39.1875 | 0.839309 | 0.192451 | 0 | 0.555556 | 0 | 0 | 0.095399 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.148148 | false | 0 | 0.074074 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
a9ec132b5e32375409ac9495d7187cf2fb638048 | 194 | py | Python | server/apps/streamer/worker/v2_bin/tests/__init__.py | iotile/iotile_cloud | 9dc65ac86d3a730bba42108ed7d9bbb963d22ba6 | [
"MIT"
] | null | null | null | server/apps/streamer/worker/v2_bin/tests/__init__.py | iotile/iotile_cloud | 9dc65ac86d3a730bba42108ed7d9bbb963d22ba6 | [
"MIT"
] | null | null | null | server/apps/streamer/worker/v2_bin/tests/__init__.py | iotile/iotile_cloud | 9dc65ac86d3a730bba42108ed7d9bbb963d22ba6 | [
"MIT"
] | null | null | null | from .test_encoded_events import *
from .test_handle_chopped import *
from .test_one_reboot import *
from .test_process_report import *
from .test_reboots import *
from .test_reprocess import *
| 27.714286 | 34 | 0.814433 | 28 | 194 | 5.285714 | 0.464286 | 0.324324 | 0.472973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 194 | 6 | 35 | 32.333333 | 0.870588 | 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 |
a9f6d98cb1e9ab659dc1637b0172d31fa56b3e9f | 115 | py | Python | shake-shake_pytorch/models/__init__.py | ychnlgy/Chebyshev-Lagrange | 74292e72b83f992d6c42a2f2db04dfdce5a52aea | [
"MIT"
] | 1 | 2021-08-19T14:28:45.000Z | 2021-08-19T14:28:45.000Z | shake-shake_pytorch/models/__init__.py | ychnlgy/Chebyshev-Lagrange | 74292e72b83f992d6c42a2f2db04dfdce5a52aea | [
"MIT"
] | null | null | null | shake-shake_pytorch/models/__init__.py | ychnlgy/Chebyshev-Lagrange | 74292e72b83f992d6c42a2f2db04dfdce5a52aea | [
"MIT"
] | 1 | 2022-03-11T07:20:06.000Z | 2022-03-11T07:20:06.000Z | from . import polynomial
from models.shake_resnet import ShakeResNet
from models.shake_resnext import ShakeResNeXt
| 28.75 | 45 | 0.869565 | 15 | 115 | 6.533333 | 0.6 | 0.204082 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 115 | 3 | 46 | 38.333333 | 0.951456 | 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 |
e71c481582fc13eb92247dc075b3e2c260b9520d | 91 | py | Python | Wellington_python/exemplo_tipos_de_dados.py | jwellington58/Wellingtonlp220172vacation | c246c6d9604f93a6d846eeb4af34a4065b3f3c4d | [
"MIT"
] | null | null | null | Wellington_python/exemplo_tipos_de_dados.py | jwellington58/Wellingtonlp220172vacation | c246c6d9604f93a6d846eeb4af34a4065b3f3c4d | [
"MIT"
] | null | null | null | Wellington_python/exemplo_tipos_de_dados.py | jwellington58/Wellingtonlp220172vacation | c246c6d9604f93a6d846eeb4af34a4065b3f3c4d | [
"MIT"
] | null | null | null | a = int(input("Digite um numero: \n"))
b = int(input("Digite um numero: \n"))
print(a+b) | 30.333333 | 40 | 0.604396 | 17 | 91 | 3.235294 | 0.529412 | 0.290909 | 0.509091 | 0.581818 | 0.836364 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 3 | 41 | 30.333333 | 0.723684 | 0 | 0 | 0 | 0 | 0 | 0.445652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e72d9e76db4d215db999a4baccd75944781bfe4b | 109 | py | Python | test/tests/__init__.py | surfac3/specter-diy | ed27d93dc1411aebadf38d419337683fa4551a4e | [
"MIT"
] | null | null | null | test/tests/__init__.py | surfac3/specter-diy | ed27d93dc1411aebadf38d419337683fa4551a4e | [
"MIT"
] | null | null | null | test/tests/__init__.py | surfac3/specter-diy | ed27d93dc1411aebadf38d419337683fa4551a4e | [
"MIT"
] | null | null | null | from .test_keystore import *
from .test_wallets import *
from .test_sign import *
from .test_revault import * | 27.25 | 28 | 0.788991 | 16 | 109 | 5.125 | 0.4375 | 0.390244 | 0.512195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 109 | 4 | 29 | 27.25 | 0.87234 | 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 |
e7df6581e8224ab377a89720ce7993f5f7b70483 | 6,821 | py | Python | loldib/getratings/models/NA/na_nautilus/na_nautilus_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_nautilus/na_nautilus_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_nautilus/na_nautilus_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Nautilus_Mid_Aatrox(Ratings):
pass
class NA_Nautilus_Mid_Ahri(Ratings):
pass
class NA_Nautilus_Mid_Akali(Ratings):
pass
class NA_Nautilus_Mid_Alistar(Ratings):
pass
class NA_Nautilus_Mid_Amumu(Ratings):
pass
class NA_Nautilus_Mid_Anivia(... | 16.357314 | 46 | 0.776133 | 972 | 6,821 | 5.020576 | 0.151235 | 0.197951 | 0.42418 | 0.509016 | 0.814139 | 0.814139 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162879 | 6,821 | 416 | 47 | 16.396635 | 0.854641 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
82223a01fa684b92ad9706c066254098b175f866 | 47 | py | Python | easilyb/file_ops/__init__.py | xaled/easilyb | cdb5f738205f700b37e03c50d04061a2d1e730cc | [
"MIT"
] | null | null | null | easilyb/file_ops/__init__.py | xaled/easilyb | cdb5f738205f700b37e03c50d04061a2d1e730cc | [
"MIT"
] | null | null | null | easilyb/file_ops/__init__.py | xaled/easilyb | cdb5f738205f700b37e03c50d04061a2d1e730cc | [
"MIT"
] | null | null | null | from easilyb.file_ops._file_ops import read_all | 47 | 47 | 0.893617 | 9 | 47 | 4.222222 | 0.777778 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 0.863636 | 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 |
823c04a14fe5623df3f1de894ec587adfc8e538d | 162 | py | Python | src/notebook_adventure/controllers/fight_tutorial_controller.py | kjamaal/notebook_adventure | 703d6663212efcfd2ffe8c54e788e7dfd7feb221 | [
"MIT"
] | null | null | null | src/notebook_adventure/controllers/fight_tutorial_controller.py | kjamaal/notebook_adventure | 703d6663212efcfd2ffe8c54e788e7dfd7feb221 | [
"MIT"
] | 1 | 2021-06-01T23:59:47.000Z | 2021-06-01T23:59:47.000Z | src/notebook_adventure/controllers/fight_tutorial_controller.py | kjamaal/notebook_adventure_client | 703d6663212efcfd2ffe8c54e788e7dfd7feb221 | [
"MIT"
] | null | null | null | from ..services import api_caller
def put_context(ctx):
api_caller.put_context(ctx)
def get_dialog():
return api_caller.get_dialog('fight_tutorial')
| 20.25 | 49 | 0.753086 | 24 | 162 | 4.75 | 0.583333 | 0.236842 | 0.22807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 162 | 7 | 50 | 23.142857 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.090323 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
82429f9db98f6c0c8d09dcb581552c7f03aae88d | 9,376 | py | Python | tests/integration/test_sign_out_help.py | ONSdigital/ras-frontstage | e8ff1931b49cb3ab47b421aed6780e9e944dceea | [
"MIT"
] | 8 | 2017-06-30T12:32:02.000Z | 2022-02-25T09:07:28.000Z | tests/integration/test_sign_out_help.py | ONSdigital/ras-frontstage | e8ff1931b49cb3ab47b421aed6780e9e944dceea | [
"MIT"
] | 256 | 2017-05-16T09:38:09.000Z | 2022-03-28T13:38:42.000Z | tests/integration/test_sign_out_help.py | ONSdigital/ras-frontstage | e8ff1931b49cb3ab47b421aed6780e9e944dceea | [
"MIT"
] | 4 | 2017-09-29T08:58:36.000Z | 2021-04-11T07:44:27.000Z | import unittest
import requests_mock
from frontstage import app
from tests.integration.mocked_services import url_banner_api
class TestSignOutHelp(unittest.TestCase):
def setUp(self):
self.app = app.test_client()
self.app.set_cookie("localhost", "authorization", "session_key")
@requests_moc... | 53.577143 | 116 | 0.693579 | 1,218 | 9,376 | 5.155993 | 0.123974 | 0.122611 | 0.157643 | 0.143631 | 0.890446 | 0.882643 | 0.874204 | 0.859076 | 0.853662 | 0.845382 | 0 | 0.01123 | 0.183234 | 9,376 | 174 | 117 | 53.885057 | 0.808827 | 0 | 0 | 0.698718 | 0 | 0.00641 | 0.211711 | 0.021118 | 0 | 0 | 0 | 0 | 0.442308 | 1 | 0.096154 | false | 0.160256 | 0.025641 | 0 | 0.128205 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
413b3d310c3e1b03b45a669aaec09db8b79e260d | 150 | py | Python | src/api/api_v1/endpoints/__init__.py | shthiago/minimo-char-generator | 289b9698e58deabf4b6376b2ac55dd2740b7f30c | [
"MIT"
] | null | null | null | src/api/api_v1/endpoints/__init__.py | shthiago/minimo-char-generator | 289b9698e58deabf4b6376b2ac55dd2740b7f30c | [
"MIT"
] | null | null | null | src/api/api_v1/endpoints/__init__.py | shthiago/minimo-char-generator | 289b9698e58deabf4b6376b2ac55dd2740b7f30c | [
"MIT"
] | null | null | null | '''Make all endpoints importable from package root'''
from .listing import router as listing_router
from .generate import router as generation_router
| 37.5 | 53 | 0.82 | 21 | 150 | 5.761905 | 0.619048 | 0.198347 | 0.231405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126667 | 150 | 3 | 54 | 50 | 0.923664 | 0.313333 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4166e2797d556ec6f9565bc9eb1aa477dcaab7a1 | 121 | py | Python | django_classy_settings/__init__.py | dipasqualew/django-classy-settings | 9db69420e49962cd6c03f74e5d67fac74ee2f2eb | [
"MIT"
] | null | null | null | django_classy_settings/__init__.py | dipasqualew/django-classy-settings | 9db69420e49962cd6c03f74e5d67fac74ee2f2eb | [
"MIT"
] | null | null | null | django_classy_settings/__init__.py | dipasqualew/django-classy-settings | 9db69420e49962cd6c03f74e5d67fac74ee2f2eb | [
"MIT"
] | null | null | null | from django_classy_settings.version import VERSION
from django_classy_settings.class_settings import DjangoClassSettings
| 40.333333 | 69 | 0.917355 | 15 | 121 | 7.066667 | 0.533333 | 0.188679 | 0.301887 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066116 | 121 | 2 | 70 | 60.5 | 0.938053 | 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 |
4185a9118e358164db7d6d42edc037172f068eb0 | 175 | py | Python | qleet/interface/__init__.py | AnimeshSinha1309/qaoa-optimizer | 2a93a46bacc99f22f49e7b5121eb3aa9f12c0163 | [
"Apache-2.0"
] | 9 | 2021-09-26T18:43:43.000Z | 2022-03-30T12:34:01.000Z | qleet/interface/__init__.py | QLemma/qLEET | 2a93a46bacc99f22f49e7b5121eb3aa9f12c0163 | [
"Apache-2.0"
] | 12 | 2021-09-19T13:29:33.000Z | 2022-01-09T15:22:49.000Z | qleet/interface/__init__.py | QLemma/qLEET | 2a93a46bacc99f22f49e7b5121eb3aa9f12c0163 | [
"Apache-2.0"
] | 1 | 2022-03-14T03:02:24.000Z | 2022-03-14T03:02:24.000Z | import qleet.interface.circuit
import qleet.interface.metas
import qleet.interface.metric_spec
# import qleet.interface.dashboard FIXME: Try to get a default import on this
| 29.166667 | 78 | 0.828571 | 26 | 175 | 5.538462 | 0.615385 | 0.305556 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 175 | 5 | 79 | 35 | 0.929032 | 0.434286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
41b36ef905386adcd7b7fac20fa00f3d8cc95ec4 | 6,227 | py | Python | networks-builder/builders/DiscriminatorSNGAN.py | febrianrachmadi/probunet-gan-vie | f50af34120ba106de3a1594fc37e3b31a9d1b922 | [
"MIT"
] | null | null | null | networks-builder/builders/DiscriminatorSNGAN.py | febrianrachmadi/probunet-gan-vie | f50af34120ba106de3a1594fc37e3b31a9d1b922 | [
"MIT"
] | null | null | null | networks-builder/builders/DiscriminatorSNGAN.py | febrianrachmadi/probunet-gan-vie | f50af34120ba106de3a1594fc37e3b31a9d1b922 | [
"MIT"
] | null | null | null | # https://github.com/MrGiovanni/UNetPlusPlus/blob/master/keras/segmentation_models/unet/builder.py
from tensorflow import image
from tensorflow.keras import Model, Input
from tensorflow.keras.layers import Conv2D, Activation, MaxPool2D, Flatten, Dense
from tensorflow.keras.layers import Conv3D, MaxPool3D, Concatenate
... | 37.969512 | 98 | 0.603822 | 713 | 6,227 | 4.997195 | 0.152875 | 0.070727 | 0.037889 | 0.058939 | 0.802694 | 0.760314 | 0.738984 | 0.730283 | 0.721302 | 0.708111 | 0 | 0.031717 | 0.301269 | 6,227 | 164 | 99 | 37.969512 | 0.787175 | 0.082062 | 0 | 0.844961 | 0 | 0 | 0.032083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0.069767 | 0 | 0.116279 | 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 |
41bd0999ae00f27f96fd1da99f5d28e1be996394 | 1,627 | py | Python | importers/tests/snapshots/snap_test_notification_importer.py | City-of-Helsinki/kukkuu | 61f26bc622928fd04f6a397f832aaffff789e806 | [
"MIT"
] | null | null | null | importers/tests/snapshots/snap_test_notification_importer.py | City-of-Helsinki/kukkuu | 61f26bc622928fd04f6a397f832aaffff789e806 | [
"MIT"
] | 157 | 2019-10-08T07:58:59.000Z | 2022-03-20T23:00:17.000Z | importers/tests/snapshots/snap_test_notification_importer.py | City-of-Helsinki/kukkuu | 61f26bc622928fd04f6a397f832aaffff789e806 | [
"MIT"
] | 3 | 2019-10-07T12:06:26.000Z | 2022-01-25T14:03:14.000Z | # -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals
from snapshottest import Snapshot
snapshots = Snapshot()
snapshots[
"test_create_non_existing_and_update_existing_notifications 1"
] = """event_published|event_published fi updated subject|event_published e... | 73.954545 | 272 | 0.85126 | 217 | 1,627 | 6.069124 | 0.165899 | 0.223235 | 0.136674 | 0.127563 | 0.822323 | 0.744115 | 0.744115 | 0.744115 | 0.698557 | 0.698557 | 0 | 0.004057 | 0.090965 | 1,627 | 21 | 273 | 77.47619 | 0.88641 | 0.038107 | 0 | 0.357143 | 0 | 0.357143 | 0.880282 | 0.602433 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
68dcdb7c30e81b0f4cb8986bd7d76a4f4fa28931 | 6,825 | py | Python | vmware-ose-common-test-suites/prj/test_data/test_bucket/test_bucket.py | csgtree/object-storage-extension-samples | 397f3033ddd4aa1bb1e2079a9e77309a78cc0b0d | [
"Apache-2.0"
] | 6 | 2020-09-11T02:52:42.000Z | 2021-04-19T11:20:42.000Z | vmware-ose-common-test-suites/prj/test_data/test_bucket/test_bucket.py | csgtree/object-storage-extension-samples | 397f3033ddd4aa1bb1e2079a9e77309a78cc0b0d | [
"Apache-2.0"
] | 5 | 2020-12-21T20:14:59.000Z | 2022-03-21T14:35:43.000Z | vmware-ose-common-test-suites/prj/test_data/test_bucket/test_bucket.py | csgtree/object-storage-extension-samples | 397f3033ddd4aa1bb1e2079a9e77309a78cc0b0d | [
"Apache-2.0"
] | 4 | 2021-07-20T09:07:52.000Z | 2022-03-21T14:33:44.000Z | from framework.libs.common.utils import load_csv
import os
def test_create_bucket_provider():
f_name = "test_create_bucket_prov.csv"
folder = os.path.dirname(__file__)
return load_csv(os.path.join(folder, f_name))
def test_get_bucket_location_provider():
f_name = "test_get_bucket_location_prov.csv"
... | 29.291845 | 66 | 0.760293 | 1,035 | 6,825 | 4.479227 | 0.044444 | 0.077653 | 0.100949 | 0.13201 | 0.943917 | 0.902718 | 0.765962 | 0.702114 | 0.702114 | 0.702114 | 0 | 0 | 0.136996 | 6,825 | 232 | 67 | 29.418103 | 0.787097 | 0.012601 | 0 | 0.513514 | 0 | 0 | 0.18567 | 0.18448 | 0 | 0 | 0 | 0 | 0 | 1 | 0.243243 | false | 0.006757 | 0.013514 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
68e719455510a2221b46e744b1233f3791492df4 | 2,605 | py | Python | Medium Clone Wbsite Using Flask/app.py | Shravyya/Python_Roboslog_Intern | fd3be88c67d5f018c5d641468ed6063a7a5f891a | [
"Apache-2.0"
] | null | null | null | Medium Clone Wbsite Using Flask/app.py | Shravyya/Python_Roboslog_Intern | fd3be88c67d5f018c5d641468ed6063a7a5f891a | [
"Apache-2.0"
] | null | null | null | Medium Clone Wbsite Using Flask/app.py | Shravyya/Python_Roboslog_Intern | fd3be88c67d5f018c5d641468ed6063a7a5f891a | [
"Apache-2.0"
] | null | null | null | from flask import Flask,render_template
from article import Article
#Router
app = Flask("hello_world")
posts = [
Article('title', 'subtitle' , 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostru... | 86.833333 | 501 | 0.758541 | 365 | 2,605 | 5.375342 | 0.268493 | 0.035678 | 0.040775 | 0.050968 | 0.811417 | 0.811417 | 0.811417 | 0.811417 | 0.811417 | 0.811417 | 0 | 0.003724 | 0.175432 | 2,605 | 30 | 502 | 86.833333 | 0.909683 | 0.002303 | 0 | 0.125 | 0 | 0.166667 | 0.761868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.083333 | 0.083333 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6bc117bc617abacfe768a077964d9938c896c741 | 12,553 | py | Python | test/test_q3.py | alvintangz/cscc43-a2-sql-queries-test | 0531258375a7eee8bd1e9400b72943033290ad66 | [
"PostgreSQL"
] | 3 | 2021-07-12T21:52:32.000Z | 2021-07-16T19:30:37.000Z | test/test_q3.py | alvintangz/cscc43-a2-sql-queries-test | 0531258375a7eee8bd1e9400b72943033290ad66 | [
"PostgreSQL"
] | null | null | null | test/test_q3.py | alvintangz/cscc43-a2-sql-queries-test | 0531258375a7eee8bd1e9400b72943033290ad66 | [
"PostgreSQL"
] | null | null | null | import unittest
from test.utils.mixins import *
from test.utils.generic_data import DEPARTMENTS, STUDENTS, INSTRUCTORS, COURSES
from test.utils.enums import Semester
COURSE_SECTIONS = [
{
"csid": 1,
"cid": 1,
"dcode": "CSC",
"year": 2015,
"semester": Semester.FALL.value,
... | 25.776181 | 79 | 0.352426 | 933 | 12,553 | 4.56806 | 0.105038 | 0.116143 | 0.113562 | 0.102534 | 0.805256 | 0.755514 | 0.741905 | 0.741905 | 0.711638 | 0.642421 | 0 | 0.06589 | 0.528479 | 12,553 | 486 | 80 | 25.829218 | 0.654165 | 0.004142 | 0 | 0.58296 | 0 | 0 | 0.084468 | 0 | 0 | 0 | 0 | 0 | 0.073991 | 1 | 0.029148 | false | 0 | 0.008969 | 0 | 0.044843 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
d42bce25f5e172ba77d7d210a945eabc2752a4ae | 124 | py | Python | releases/context_processors.py | sreekanth1990/djangoproject.com | 69ab8573aadcc79e9da610ddad7b4e0c69a550d3 | [
"BSD-3-Clause"
] | 1,440 | 2015-01-05T13:06:12.000Z | 2022-03-30T23:09:24.000Z | releases/context_processors.py | sreekanth1990/djangoproject.com | 69ab8573aadcc79e9da610ddad7b4e0c69a550d3 | [
"BSD-3-Clause"
] | 711 | 2015-01-01T19:42:33.000Z | 2022-03-29T08:36:29.000Z | releases/context_processors.py | sreekanth1990/djangoproject.com | 69ab8573aadcc79e9da610ddad7b4e0c69a550d3 | [
"BSD-3-Clause"
] | 887 | 2015-01-01T03:17:20.000Z | 2022-03-23T09:15:26.000Z | from .models import Release
def django_version(request):
return {'DJANGO_VERSION': Release.objects.current_version()}
| 20.666667 | 64 | 0.774194 | 15 | 124 | 6.2 | 0.733333 | 0.27957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 124 | 5 | 65 | 24.8 | 0.853211 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
d45558bc67d347ecba76ad0e011e093f8f7063d5 | 101 | py | Python | 6_Builtin_Functions/_round.py | Oscar-Oliveira/Python3 | fa791225a6810b75890d24407b73c5e1b514acbe | [
"MIT"
] | null | null | null | 6_Builtin_Functions/_round.py | Oscar-Oliveira/Python3 | fa791225a6810b75890d24407b73c5e1b514acbe | [
"MIT"
] | null | null | null | 6_Builtin_Functions/_round.py | Oscar-Oliveira/Python3 | fa791225a6810b75890d24407b73c5e1b514acbe | [
"MIT"
] | null | null | null | """
round
"""
print(round(233.33333))
print(round(233.33333, 2))
print(round(233.33333, -2))
| 12.625 | 28 | 0.60396 | 15 | 101 | 4.066667 | 0.333333 | 0.491803 | 0.639344 | 0.885246 | 0.622951 | 0 | 0 | 0 | 0 | 0 | 0 | 0.305882 | 0.158416 | 101 | 7 | 29 | 14.428571 | 0.411765 | 0.049505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 9 |
d4657dc3ba72c5bbbb757c303ab2288e40ebf7c3 | 2,000 | py | Python | events/migrations/0050_auto_20210703_2308.py | horacexd/clist | 9759dfea97b86514bec9825d2430abc36decacf0 | [
"Apache-2.0"
] | 166 | 2019-05-16T23:46:08.000Z | 2022-03-31T05:20:23.000Z | events/migrations/0050_auto_20210703_2308.py | horacexd/clist | 9759dfea97b86514bec9825d2430abc36decacf0 | [
"Apache-2.0"
] | 92 | 2020-01-18T22:51:53.000Z | 2022-03-12T01:23:57.000Z | events/migrations/0050_auto_20210703_2308.py | horacexd/clist | 9759dfea97b86514bec9825d2430abc36decacf0 | [
"Apache-2.0"
] | 23 | 2020-02-09T17:38:43.000Z | 2021-12-09T14:39:07.000Z | # Generated by Django 3.1.12 on 2021-07-03 23:08
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('events', '0049_auto_20210308_1449'),
]
operations = [
migrations.AlterField(
model_name='event',
name='created',
... | 31.25 | 73 | 0.57 | 194 | 2,000 | 5.680412 | 0.216495 | 0.181488 | 0.22686 | 0.263158 | 0.863884 | 0.863884 | 0.828494 | 0.828494 | 0.828494 | 0.828494 | 0 | 0.023426 | 0.317 | 2,000 | 63 | 74 | 31.746032 | 0.783309 | 0.023 | 0 | 0.877193 | 1 | 0 | 0.090164 | 0.011783 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.070175 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
d472aac69ba8f42a825c7a72d8d1ab7ef2809a8b | 262 | py | Python | key_value_db_1/exception.py | varun-2108/KeyValueStore | 4448053afb9b7bd39d926c941931a0421e262d19 | [
"Unlicense"
] | null | null | null | key_value_db_1/exception.py | varun-2108/KeyValueStore | 4448053afb9b7bd39d926c941931a0421e262d19 | [
"Unlicense"
] | null | null | null | key_value_db_1/exception.py | varun-2108/KeyValueStore | 4448053afb9b7bd39d926c941931a0421e262d19 | [
"Unlicense"
] | null | null | null |
class InvalidKeyType(Exception):
def __init__(self, *args, **kwargs):
Exception.__init__(self, *args, **kwargs)
class KeyValueStoreDumpException(Exception):
def __init__(self, *args, **kwargs):
Exception.__init__(self, *args, **kwargs) | 29.111111 | 49 | 0.687023 | 26 | 262 | 6.307692 | 0.346154 | 0.195122 | 0.292683 | 0.439024 | 0.695122 | 0.695122 | 0.695122 | 0.695122 | 0.695122 | 0.695122 | 0 | 0 | 0.167939 | 262 | 9 | 50 | 29.111111 | 0.752294 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.