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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6ac900a18936a4d43faa04d79ab0a9e165cd94c1 | 100 | py | Python | aa.py | chngxu/chengxu | e64b8ea27f0a79053709ed30033d9c2c2aedbd78 | [
"Apache-2.0"
] | null | null | null | aa.py | chngxu/chengxu | e64b8ea27f0a79053709ed30033d9c2c2aedbd78 | [
"Apache-2.0"
] | null | null | null | aa.py | chngxu/chengxu | e64b8ea27f0a79053709ed30033d9c2c2aedbd78 | [
"Apache-2.0"
] | null | null | null | print('aa')
print("123")
print('cc' )
print('ss')
print('cc')
print("456")
print("789")
print('bb')
| 11.111111 | 12 | 0.59 | 16 | 100 | 3.6875 | 0.5 | 0.237288 | 0.40678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 0.09 | 100 | 8 | 13 | 12.5 | 0.549451 | 0 | 0 | 0.25 | 0 | 0 | 0.19 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6ae86481457ee7cc345dfe24a0b0789e46b6c823 | 399 | py | Python | examples/easy1.py | andrewhalle/sudoku_solver | 56b88c49a3637449507a9afa66ec3d617d2118a5 | [
"MIT"
] | null | null | null | examples/easy1.py | andrewhalle/sudoku_solver | 56b88c49a3637449507a9afa66ec3d617d2118a5 | [
"MIT"
] | null | null | null | examples/easy1.py | andrewhalle/sudoku_solver | 56b88c49a3637449507a9afa66ec3d617d2118a5 | [
"MIT"
] | null | null | null | from sudoku_solver import Sudoku
data = [
[5, 0, 6, 0, 0, 0, 1, 0, 9],
[0, 0, 4, 1, 0, 2, 5, 0, 0],
[0, 3, 0, 9, 0, 0, 7, 0, 0],
[0, 2, 7, 6, 8, 0, 9, 5, 0],
[0, 0, 0, 0, 3, 0, 0, 7, 0],
[0, 6, 1, 0, 5, 0, 0, 0, 0],
[0, 0, 0, 5, 1, 0, 0, 3, 0],
[0, 0, 0, 0, 0, 4, 0, 0, 0],
[0, 0, 8,... | 19.95 | 32 | 0.37594 | 97 | 399 | 1.536082 | 0.195876 | 0.42953 | 0.38255 | 0.295302 | 0.295302 | 0.134228 | 0 | 0 | 0 | 0 | 0 | 0.30566 | 0.33584 | 399 | 19 | 33 | 21 | 0.256604 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0.058824 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0aab868ad1bf453e7d021fac858a880044a7ed3f | 29 | py | Python | step3.py | SirLonsevrot/HW_1_step3 | 8e6084803686b4c9ad197e5b7e263c30dbb066b6 | [
"Apache-2.0"
] | null | null | null | step3.py | SirLonsevrot/HW_1_step3 | 8e6084803686b4c9ad197e5b7e263c30dbb066b6 | [
"Apache-2.0"
] | null | null | null | step3.py | SirLonsevrot/HW_1_step3 | 8e6084803686b4c9ad197e5b7e263c30dbb066b6 | [
"Apache-2.0"
] | null | null | null | print('Im fine, how are u?')
| 14.5 | 28 | 0.62069 | 6 | 29 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 1 | 29 | 29 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0abcd17c110a9db9e7a1a9b01f29282d2ec4c72e | 12,113 | py | Python | tests/queries/test_aggregation.py | bzdvdn/mongodantic | df2d5b1e2e53fa7ee72017fc1b4e76be4351a91b | [
"MIT"
] | null | null | null | tests/queries/test_aggregation.py | bzdvdn/mongodantic | df2d5b1e2e53fa7ee72017fc1b4e76be4351a91b | [
"MIT"
] | null | null | null | tests/queries/test_aggregation.py | bzdvdn/mongodantic | df2d5b1e2e53fa7ee72017fc1b4e76be4351a91b | [
"MIT"
] | null | null | null | import pytest
from random import randint
from mongodantic.models import MongoModel
from mongodantic.types import ObjectIdStr
from mongodantic.logical import Query
from mongodantic import init_db_connection_params
from mongodantic.aggregation import Sum, Max, Min, Avg, Count
from mongodantic.exceptions import MongoVali... | 35.314869 | 90 | 0.55651 | 1,415 | 12,113 | 4.462191 | 0.072085 | 0.074913 | 0.115299 | 0.064618 | 0.91891 | 0.907349 | 0.891194 | 0.86332 | 0.816281 | 0.767501 | 0 | 0.024473 | 0.294972 | 12,113 | 342 | 91 | 35.418129 | 0.714871 | 0.318418 | 0 | 0.347594 | 0 | 0 | 0.105515 | 0.006127 | 0 | 0 | 0 | 0 | 0.15508 | 1 | 0.02139 | false | 0 | 0.042781 | 0 | 0.128342 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ad6a38fc8188bb2c2d08fccc79c2ba1b83a4e39 | 25,423 | py | Python | pypower/t/t_loadcase.py | Bengt/PYPOWER | 78a0f8d4765d147f8237e9a905ef871508ecfee7 | [
"BSD-3-Clause"
] | 221 | 2015-01-03T23:18:11.000Z | 2022-03-27T10:21:40.000Z | pypower/t/t_loadcase.py | Bengt/PYPOWER | 78a0f8d4765d147f8237e9a905ef871508ecfee7 | [
"BSD-3-Clause"
] | 33 | 2015-05-12T08:48:02.000Z | 2021-11-23T10:35:21.000Z | pypower/t/t_loadcase.py | Bengt/PYPOWER | 78a0f8d4765d147f8237e9a905ef871508ecfee7 | [
"BSD-3-Clause"
] | 114 | 2015-02-02T15:07:38.000Z | 2022-03-22T17:01:55.000Z | # Copyright (c) 1996-2015 PSERC. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
"""Tests for C{loadcase}
"""
import os
from os.path import dirname, join
from numpy import zeros
from scipy.io import savemat
from pypower.loadcase import loa... | 41.13754 | 87 | 0.530425 | 3,438 | 25,423 | 3.792321 | 0.054974 | 0.054993 | 0.042951 | 0.039653 | 0.84852 | 0.821752 | 0.800813 | 0.79368 | 0.745897 | 0.738534 | 0 | 0.060913 | 0.281281 | 25,423 | 617 | 88 | 41.204214 | 0.652638 | 0.046847 | 0 | 0.696 | 0 | 0 | 0.196283 | 0.04578 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002 | false | 0 | 0.034 | 0 | 0.036 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ad90087cfea660515a77a0c141ef0c2bb57657b | 92 | py | Python | Chapter04/ext_collections_bag_compare2.py | PacktPublishing/Secret-Recipes-of-the-Python-Ninja | 805d00c7a54927ba94c9077e9a580508ee3c5e56 | [
"MIT"
] | 13 | 2018-06-21T01:44:49.000Z | 2021-12-01T10:49:53.000Z | Chapter04/ext_collections_bag_compare2.py | PacktPublishing/Secret-Recipes-of-the-Python-Ninja | 805d00c7a54927ba94c9077e9a580508ee3c5e56 | [
"MIT"
] | null | null | null | Chapter04/ext_collections_bag_compare2.py | PacktPublishing/Secret-Recipes-of-the-Python-Ninja | 805d00c7a54927ba94c9077e9a580508ee3c5e56 | [
"MIT"
] | 6 | 2018-10-05T08:29:24.000Z | 2022-01-11T14:49:50.000Z | >>> for item in Counter('aaa'): print(item)
a
>>> for item in bag('aaa'): print(item)
a
a
a
| 13.142857 | 43 | 0.608696 | 18 | 92 | 3.111111 | 0.444444 | 0.25 | 0.321429 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 92 | 6 | 44 | 15.333333 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0afeefec9323708b621b02f1173b82f8b96b392e | 11,269 | py | Python | custom/custom_models/neural_networks.py | AISyLab/AISY_Framework | 51af3a639d6dee4c970859f5cd95f35f1db26dcc | [
"MIT"
] | 12 | 2021-03-26T08:17:07.000Z | 2022-01-05T22:31:19.000Z | custom/custom_models/neural_networks.py | AISyLab/AISY_Framework | 51af3a639d6dee4c970859f5cd95f35f1db26dcc | [
"MIT"
] | 1 | 2021-03-26T09:11:34.000Z | 2021-03-27T01:32:35.000Z | custom/custom_models/neural_networks.py | AISyLab/AISY_Framework | 51af3a639d6dee4c970859f5cd95f35f1db26dcc | [
"MIT"
] | 2 | 2021-03-14T01:35:49.000Z | 2021-03-31T06:43:01.000Z | from tensorflow.keras.optimizers import *
from tensorflow.keras.layers import *
from tensorflow.keras.models import *
from tensorflow.keras import backend
def cnn(classes, number_of_samples):
model = Sequential(name="basic_cnn")
model.add(Conv1D(filters=8, kernel_size=10, strides=1, activation='relu', padding... | 45.257028 | 131 | 0.709468 | 1,444 | 11,269 | 5.378809 | 0.09349 | 0.06901 | 0.045191 | 0.087035 | 0.887601 | 0.841638 | 0.809836 | 0.777263 | 0.723317 | 0.707995 | 0 | 0.040016 | 0.137368 | 11,269 | 248 | 132 | 45.439516 | 0.758975 | 0.045434 | 0 | 0.638889 | 0 | 0 | 0.158356 | 0.03663 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.022222 | 0 | 0.155556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c0f011333c9f5eb2ff00bb7fe2e278049c045de | 27,337 | py | Python | lib/rucio/tests/test_did_meta_plugins.py | fno2010/rucio | 47e93cfbe5887071c70de4ba815c1bbdddfac2ce | [
"Apache-2.0"
] | null | null | null | lib/rucio/tests/test_did_meta_plugins.py | fno2010/rucio | 47e93cfbe5887071c70de4ba815c1bbdddfac2ce | [
"Apache-2.0"
] | null | null | null | lib/rucio/tests/test_did_meta_plugins.py | fno2010/rucio | 47e93cfbe5887071c70de4ba815c1bbdddfac2ce | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright CERN since 2020
#
# 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 ... | 41.482549 | 146 | 0.637634 | 3,621 | 27,337 | 4.566418 | 0.074289 | 0.05322 | 0.060962 | 0.057575 | 0.805141 | 0.785727 | 0.768189 | 0.757726 | 0.746719 | 0.728818 | 0 | 0.019593 | 0.240114 | 27,337 | 658 | 147 | 41.545593 | 0.776392 | 0.097524 | 0 | 0.682203 | 0 | 0 | 0.078403 | 0 | 0 | 0 | 0 | 0 | 0.129237 | 1 | 0.055085 | false | 0.002119 | 0.03178 | 0 | 0.095339 | 0.021186 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c4d4d27c359381313b201e5549e0ab8aff4f524 | 100 | py | Python | instance/config.py | Alex20-c/News-highlight | eda05786ffd89de7073ff038af4fd375e88aaed4 | [
"MIT"
] | null | null | null | instance/config.py | Alex20-c/News-highlight | eda05786ffd89de7073ff038af4fd375e88aaed4 | [
"MIT"
] | null | null | null | instance/config.py | Alex20-c/News-highlight | eda05786ffd89de7073ff038af4fd375e88aaed4 | [
"MIT"
] | null | null | null | SOURCE_API_KEY = '50f742a5c2da46bcb521878f1d55287e'
SECRET_KEY = 'd308e29d8c734f1ca1f4b6deee44ae4f'
| 33.333333 | 51 | 0.88 | 7 | 100 | 12.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.393617 | 0.06 | 100 | 2 | 52 | 50 | 0.510638 | 0 | 0 | 0 | 0 | 0 | 0.64 | 0.64 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c506ce12084177179652ea90fc313ad1b1fba36 | 32,888 | py | Python | pybind/slxos/v17r_2_00/cfm_state/cfm_connectivity/domain/ma/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/cfm_state/cfm_connectivity/domain/ma/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/cfm_state/cfm_connectivity/domain/ma/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 73.410714 | 737 | 0.709833 | 4,503 | 32,888 | 4.94648 | 0.050855 | 0.045793 | 0.052797 | 0.035557 | 0.855841 | 0.835458 | 0.826928 | 0.809329 | 0.803403 | 0.794783 | 0 | 0.013074 | 0.148808 | 32,888 | 447 | 738 | 73.574944 | 0.782596 | 0.148747 | 0 | 0.448819 | 0 | 0.035433 | 0.376469 | 0.186124 | 0 | 0 | 0 | 0 | 0 | 1 | 0.11811 | false | 0 | 0.03937 | 0 | 0.271654 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c5b4a5de106f6ed6c67c79c83b8de144e1c1866 | 3,934 | py | Python | stockscore/tests/test_scores.py | jackmoody11/stockscore | 629d1685418d72b6ad9e7a3c0399d53774ab7aed | [
"MIT"
] | 54 | 2018-10-10T01:47:32.000Z | 2022-03-18T16:41:26.000Z | stockscore/tests/test_scores.py | jackmoody11/stockscore | 629d1685418d72b6ad9e7a3c0399d53774ab7aed | [
"MIT"
] | 53 | 2018-08-14T23:29:48.000Z | 2021-03-31T19:55:46.000Z | stockscore/tests/test_scores.py | jackmoody11/stockScores | 629d1685418d72b6ad9e7a3c0399d53774ab7aed | [
"MIT"
] | 16 | 2018-10-12T21:05:23.000Z | 2022-01-21T09:08:44.000Z | from stockscore.scores import Scores
import pandas as pd
import pytest
symbols = ["FB", "AAPL", "AMZN", "NFLX", "GOOGL"]
stock_scores = Scores(symbols)
def test_moving_avg_screen_is_df():
stock_scores.init_scores()
stock_scores.moving_avg_screen()
if not isinstance(stock_scores.scores, pd.DataFrame):
... | 35.763636 | 93 | 0.740976 | 552 | 3,934 | 5.025362 | 0.172101 | 0.158616 | 0.140952 | 0.098414 | 0.820476 | 0.785148 | 0.785148 | 0.785148 | 0.710166 | 0.677001 | 0 | 0.000614 | 0.171581 | 3,934 | 109 | 94 | 36.091743 | 0.850568 | 0.050585 | 0 | 0.623377 | 0 | 0 | 0.225815 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 1 | 0.168831 | false | 0 | 0.038961 | 0 | 0.207792 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c6e7ba8266083770d59a10fb1720ef5e0dd39f4 | 187 | py | Python | maestro/backends/django/contrib/__init__.py | estudio89/maestro-python | 331079cb3f0c10de2e19210cbade793544510f33 | [
"BSD-3-Clause"
] | null | null | null | maestro/backends/django/contrib/__init__.py | estudio89/maestro-python | 331079cb3f0c10de2e19210cbade793544510f33 | [
"BSD-3-Clause"
] | null | null | null | maestro/backends/django/contrib/__init__.py | estudio89/maestro-python | 331079cb3f0c10de2e19210cbade793544510f33 | [
"BSD-3-Clause"
] | null | null | null | from .factory import create_django_provider
from .middleware import SyncQueueMiddleware
from .migrate import commit_model_changes
from .model_dependencies import print_model_dependencies
| 37.4 | 56 | 0.893048 | 23 | 187 | 6.956522 | 0.608696 | 0.2125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085562 | 187 | 4 | 57 | 46.75 | 0.935673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7c8245cc94932bc88a645992e130261b0f6d5d19 | 552 | py | Python | LagouSpider/LagouSpider/test_encode.py | ruxtain/spiders | 24a5e5853ca29c18ae8f71195d998a6f19e9bd86 | [
"MIT"
] | 3 | 2018-09-18T09:36:49.000Z | 2020-04-19T02:07:16.000Z | LagouSpider/LagouSpider/test_encode.py | ruxtain/spiders | 24a5e5853ca29c18ae8f71195d998a6f19e9bd86 | [
"MIT"
] | null | null | null | LagouSpider/LagouSpider/test_encode.py | ruxtain/spiders | 24a5e5853ca29c18ae8f71195d998a6f19e9bd86 | [
"MIT"
] | 1 | 2018-11-23T04:01:17.000Z | 2018-11-23T04:01:17.000Z | # -*- coding: utf-8 -*-
text = '主要职责\n岗位职责:\n1.设计和开发高性能,高可用,大并发的音视频服务和信令系统\n2.通过持续架构和质量优化,实现服务的高质量运营和高扩展性\n任职要求:\n1.本科及以上学历,2年及以上后台开发经验\n2.熟悉Linux操作系统原理, 良好的数据结构和算法能力\n3.精通C/C++/Golang至少一种开发语言,有良好的编程习惯;\n4.熟悉Unix/Linux开发环境,精通TCP/IP和网络开发\n5.良好的沟通能力和责任感,能够承担工作压力,独立分析和解决问题\n6.有大型运营系统设计和开发经验优先\n7.有大型互联网应用后台开发经验优先\n8.有大型互联... | 110.4 | 514 | 0.811594 | 75 | 552 | 5.973333 | 0.746667 | 0.053571 | 0.058036 | 0.080357 | 0.285714 | 0.285714 | 0.285714 | 0.285714 | 0.285714 | 0.285714 | 0 | 0.033272 | 0.019928 | 552 | 5 | 515 | 110.4 | 0.794824 | 0.038043 | 0 | 0 | 0 | 0.5 | 0.95283 | 0.950943 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7c959f20e9408337b080899dcf7aed49537b4b99 | 710 | py | Python | asciis/noo.py | Russian-Dev/TargetFinder2000 | 976dd9dab7cc5319137cfeaac1929438e5ab2636 | [
"Unlicense"
] | null | null | null | asciis/noo.py | Russian-Dev/TargetFinder2000 | 976dd9dab7cc5319137cfeaac1929438e5ab2636 | [
"Unlicense"
] | null | null | null | asciis/noo.py | Russian-Dev/TargetFinder2000 | 976dd9dab7cc5319137cfeaac1929438e5ab2636 | [
"Unlicense"
] | null | null | null | print("⠟⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠛⢻⣿")
print("⡆⠊⠈⣿⢿⡟⠛⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣎⠈⠻")
print("⣷⣠⠁⢀⠰⠀⣰⣿⣿⣿⣿⣿⣿⠟⠋⠛⠛⠿⠿⢿⣿⣿⣿⣧⠀⢹⣿⡑⠐⢰")
print("⣿⣿⠀⠁⠀⠀⣿⣿⣿⣿⠟⡩⠐⠀⠀⠀⠀⢐⠠⠈⠊⣿⣿⣿⡇⠘⠁⢀⠆⢀")
print("⣿⣿⣆⠀⠀⢤⣿⣿⡿⠃⠈⠀⣠⣶⣿⣿⣷⣦⡀⠀⠀⠈⢿⣿⣇⡆⠀⠀⣠⣾")
print("⣿⣿⣿⣧⣦⣿⣿⣿⡏⠀⠀⣰⣿⣿⣿⣿⣿⣿⣿⡆⠀⠀⠐⣿⣿⣷⣦⣷⣿⣿")
print("⣿⣿⣿⣿⣿⣿⣿⣿⡆⠀⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⡄⠀⠀⣿⣿⣿⣿⣿⣿⣿")
print("⣿⣿⣿⣿⣿⣿⣿⣿⡆⠀⣾⣿⣿⠋⠁⠀⠉⠻⣿⣿⣧⠀⠠⣿⣿⣿⣿⣿⣿⣿")
... | 37.368421 | 39 | 0.235211 | 73 | 710 | 6.808219 | 0.410959 | 0.096579 | 0.138833 | 0.177062 | 0.050302 | 0.050302 | 0.050302 | 0.050302 | 0.050302 | 0.050302 | 0 | 0.004525 | 0.066197 | 710 | 19 | 40 | 37.368421 | 0.209653 | 0 | 0 | 0 | 0 | 0 | 0.732771 | 0.616034 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7c9bd73216a421913252c67ce16551fce99032de | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/pyparsing.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/pyparsing.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/pyparsing.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/27/56/f8/cf74bf2b0c895bb84a1a7a0dfa15d6f6980c23320fe904e1c98e7226ae | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7cd9dce7c68f40e43629532fad67a4c725ec2d5b | 31,664 | py | Python | analysis/common_variables.py | opensafely/post-admission-admissions-research | a8d12abcf75bfbb31c98b4d5f95fcf8eed063693 | [
"MIT"
] | null | null | null | analysis/common_variables.py | opensafely/post-admission-admissions-research | a8d12abcf75bfbb31c98b4d5f95fcf8eed063693 | [
"MIT"
] | null | null | null | analysis/common_variables.py | opensafely/post-admission-admissions-research | a8d12abcf75bfbb31c98b4d5f95fcf8eed063693 | [
"MIT"
] | null | null | null |
from cohortextractor import (
patients,
combine_codelists,
filter_codes_by_category,
)
from codelists import *
## NOTE
## ANY CHANGES HERE
## REPLICATE IN common_variables_pool
demographic_variables = dict(
age=patients.age_as_of(
"patient_index_date",
return_expectations={
... | 32.576132 | 151 | 0.59285 | 3,418 | 31,664 | 5.105325 | 0.090989 | 0.085616 | 0.039198 | 0.050659 | 0.823324 | 0.786304 | 0.744413 | 0.716046 | 0.706819 | 0.687507 | 0 | 0.053109 | 0.282245 | 31,664 | 972 | 152 | 32.576132 | 0.714701 | 0.005306 | 0 | 0.652745 | 0 | 0 | 0.215656 | 0.017569 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002387 | 0 | 0.002387 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b29a20cc7ea66ca114e71324193cffbfd32b375 | 38 | py | Python | api/src/wt/auth/__init__.py | sedlar/work-tracking | 78917ff8200829eb674142ce43b503d8e892d7eb | [
"BSD-2-Clause"
] | null | null | null | api/src/wt/auth/__init__.py | sedlar/work-tracking | 78917ff8200829eb674142ce43b503d8e892d7eb | [
"BSD-2-Clause"
] | null | null | null | api/src/wt/auth/__init__.py | sedlar/work-tracking | 78917ff8200829eb674142ce43b503d8e892d7eb | [
"BSD-2-Clause"
] | null | null | null | from wt.auth._basic import basic_auth
| 19 | 37 | 0.842105 | 7 | 38 | 4.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b2c4fba6dd6b38c176380d205d8c9cdf64bbbd0 | 83 | py | Python | snippetfilter/__init__.py | jeadorf/pygments-snippet-filter | 526c7156819d4c88a9df5cfe6dc3c4cd8cce9704 | [
"BSD-2-Clause"
] | null | null | null | snippetfilter/__init__.py | jeadorf/pygments-snippet-filter | 526c7156819d4c88a9df5cfe6dc3c4cd8cce9704 | [
"BSD-2-Clause"
] | null | null | null | snippetfilter/__init__.py | jeadorf/pygments-snippet-filter | 526c7156819d4c88a9df5cfe6dc3c4cd8cce9704 | [
"BSD-2-Clause"
] | null | null | null | from snippetfilter import SnippetFilter
from test_snippetfilter import test_suite
| 27.666667 | 42 | 0.891566 | 10 | 83 | 7.2 | 0.5 | 0.527778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 83 | 2 | 43 | 41.5 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86672b43d6810b57a448963403ebce6668a5aad9 | 8,380 | py | Python | tests/mutate/test_reposition_slurs.py | gilbertohasnofb/auxjad | 553b7fe97221b6f378a93ade6262f024e3cbc678 | [
"MIT"
] | 6 | 2020-05-18T09:28:29.000Z | 2021-12-22T00:40:54.000Z | tests/mutate/test_reposition_slurs.py | gilbertohasnofb/auxjad | 553b7fe97221b6f378a93ade6262f024e3cbc678 | [
"MIT"
] | 1 | 2021-04-21T20:29:38.000Z | 2021-04-22T19:44:54.000Z | tests/mutate/test_reposition_slurs.py | gilbertohasnofb/auxjad | 553b7fe97221b6f378a93ade6262f024e3cbc678 | [
"MIT"
] | 1 | 2021-04-21T18:54:46.000Z | 2021-04-21T18:54:46.000Z | import abjad
import auxjad
def test_reposition_slurs_01():
staff = abjad.Staff(r"c'1( d'2 r2) r1 e'1")
auxjad.mutate.reposition_slurs(staff[:])
assert abjad.lilypond(staff) == abjad.String.normalize(
r"""
\new Staff
{
c'1
(
d'2
)
... | 19.579439 | 74 | 0.387351 | 925 | 8,380 | 3.423784 | 0.052973 | 0.138933 | 0.035996 | 0.032839 | 0.959899 | 0.946006 | 0.932112 | 0.92706 | 0.909062 | 0.909062 | 0 | 0.060819 | 0.489857 | 8,380 | 427 | 75 | 19.625293 | 0.68 | 0 | 0 | 0.371212 | 0 | 0.022727 | 0.102785 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.113636 | false | 0 | 0.015152 | 0 | 0.128788 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8690fb46776b8d269fc016d0e60461dfd83f488c | 35 | py | Python | ktrain/text/kw/__init__.py | Niekvdplas/ktrain | 808a212a9b8ebddd4e2d75eaca2e54a7ea990b4e | [
"Apache-2.0"
] | null | null | null | ktrain/text/kw/__init__.py | Niekvdplas/ktrain | 808a212a9b8ebddd4e2d75eaca2e54a7ea990b4e | [
"Apache-2.0"
] | null | null | null | ktrain/text/kw/__init__.py | Niekvdplas/ktrain | 808a212a9b8ebddd4e2d75eaca2e54a7ea990b4e | [
"Apache-2.0"
] | null | null | null | from .core import KeywordExtractor
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8698930015efc95e4ef0a803a837282ac6075611 | 770 | py | Python | reworked exercices/ex108.2/ex108.2.py | Claayton/ExerciciosPython | 696cdb16983638418bd0d0d4fe44dc72662b9c97 | [
"MIT"
] | 1 | 2021-01-23T15:43:34.000Z | 2021-01-23T15:43:34.000Z | reworked exercices/ex108.2/ex108.2.py | Claayton/pythonExerciciosLinux | 696cdb16983638418bd0d0d4fe44dc72662b9c97 | [
"MIT"
] | null | null | null | reworked exercices/ex108.2/ex108.2.py | Claayton/pythonExerciciosLinux | 696cdb16983638418bd0d0d4fe44dc72662b9c97 | [
"MIT"
] | null | null | null | # Ex108.2
"""Adapt the code from challenge 107 by creating an additional function called currency() that can display the values as a formatted currency value."""
import currency
print("\033[34m==\033[m" * 20)
price = float(input('Enter a price: '))
print(f'\033[31mThe half of \033[32m{currency.currency(price)}\033[31... | 55 | 151 | 0.733766 | 127 | 770 | 4.448819 | 0.401575 | 0.283186 | 0.148673 | 0.233628 | 0.539823 | 0.484956 | 0.247788 | 0.134513 | 0 | 0 | 0 | 0.151989 | 0.085714 | 770 | 13 | 152 | 59.230769 | 0.650568 | 0.2 | 0 | 0.222222 | 0 | 0.444444 | 0.788525 | 0.488525 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.777778 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 6 |
86e05c8f52f2ce2bd60dc96cf4f4a0d064b66bb6 | 24 | py | Python | anvil/pdf/__init__.py | benlawraus/pyDALAnvilWorks | 8edc67b0fbe65bdcc0ef6fd2424f55046cacba7c | [
"MIT"
] | 6 | 2021-11-14T22:49:40.000Z | 2022-03-26T17:40:40.000Z | anvil/pdf/__init__.py | benlawraus/pyDALAnvilWorks | 8edc67b0fbe65bdcc0ef6fd2424f55046cacba7c | [
"MIT"
] | null | null | null | anvil/pdf/__init__.py | benlawraus/pyDALAnvilWorks | 8edc67b0fbe65bdcc0ef6fd2424f55046cacba7c | [
"MIT"
] | 1 | 2022-01-31T01:18:32.000Z | 2022-01-31T01:18:32.000Z | from .anvilPdf import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86eaca7e830848d91ea6181a761521e2d0fa6be0 | 39 | py | Python | srl/base/env/__init__.py | pocokhc/simple_rl | 765f12f392f87e6897027905d74f1bced6a2b7bf | [
"MIT"
] | 1 | 2022-03-01T09:16:57.000Z | 2022-03-01T09:16:57.000Z | srl/base/env/__init__.py | pocokhc/simple_rl | 765f12f392f87e6897027905d74f1bced6a2b7bf | [
"MIT"
] | null | null | null | srl/base/env/__init__.py | pocokhc/simple_rl | 765f12f392f87e6897027905d74f1bced6a2b7bf | [
"MIT"
] | null | null | null | from .base import EnvBase # noqa F401
| 19.5 | 38 | 0.74359 | 6 | 39 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.205128 | 39 | 1 | 39 | 39 | 0.83871 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8130819a96a9592f8a16ea08a87a4ef080ac5544 | 95 | py | Python | utils.py | medric49/acrobot | 8bc172850e7bc8e61758cba033e547de02f602f9 | [
"MIT"
] | null | null | null | utils.py | medric49/acrobot | 8bc172850e7bc8e61758cba033e547de02f602f9 | [
"MIT"
] | null | null | null | utils.py | medric49/acrobot | 8bc172850e7bc8e61758cba033e547de02f602f9 | [
"MIT"
] | null | null | null | import torch
def tensorize_state(state):
return torch.tensor([state], dtype=torch.float)
| 15.833333 | 51 | 0.747368 | 13 | 95 | 5.384615 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 95 | 5 | 52 | 19 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
813dc1873e74eae16fd389c2e2d9b9f1339ae06c | 3,712 | py | Python | bin/pbs_aggregator.py | linsalrob/BAM_Scripts | 0c9713d74e6ec415616fb687b96b72bd2134ccb7 | [
"MIT"
] | null | null | null | bin/pbs_aggregator.py | linsalrob/BAM_Scripts | 0c9713d74e6ec415616fb687b96b72bd2134ccb7 | [
"MIT"
] | null | null | null | bin/pbs_aggregator.py | linsalrob/BAM_Scripts | 0c9713d74e6ec415616fb687b96b72bd2134ccb7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import sys
import os
import argparse
"""
Position Consensus Percent A C G T N Gap
0 A 0.0 0 0 0 0 0 0
1 A 0.0 0 0 0 0 0 0
2 A 0.0 0 ... | 38.666667 | 117 | 0.427532 | 473 | 3,712 | 3.323467 | 0.196617 | 0.077608 | 0.09542 | 0.104326 | 0.765267 | 0.765267 | 0.765267 | 0.765267 | 0.711832 | 0.671756 | 0 | 0.070735 | 0.417295 | 3,712 | 95 | 118 | 39.073684 | 0.656033 | 0.113955 | 0 | 0.765625 | 0 | 0 | 0.030834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015625 | false | 0 | 0.046875 | 0 | 0.0625 | 0.015625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d49f3e659d7a06157358e98005e0963569e0da33 | 128 | py | Python | cls/clsexceptions.py | HesswareGmbH/clscenter-python | 66106935811166283abe6eb0c824f5ea9067c418 | [
"MIT"
] | null | null | null | cls/clsexceptions.py | HesswareGmbH/clscenter-python | 66106935811166283abe6eb0c824f5ea9067c418 | [
"MIT"
] | null | null | null | cls/clsexceptions.py | HesswareGmbH/clscenter-python | 66106935811166283abe6eb0c824f5ea9067c418 | [
"MIT"
] | null | null | null | class CLSInternalError(Exception):
pass
class CLSActionIsRunning(Exception):
pass
class CLSUnknownAnswer(Exception):
pass
| 12.8 | 36 | 0.8125 | 12 | 128 | 8.666667 | 0.5 | 0.375 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117188 | 128 | 9 | 37 | 14.222222 | 0.920354 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d4aa9c7e7536d6a99d1a7369736a287e69d66dc0 | 29 | py | Python | deeplog/__init__.py | Thijsvanede/DeepLog | d9c88d75346607d9ff4e0a082e344a2b8c4303b1 | [
"MIT"
] | 28 | 2021-08-03T06:25:24.000Z | 2022-03-31T05:13:57.000Z | deeplog/__init__.py | Thijsvanede/DeepLog | d9c88d75346607d9ff4e0a082e344a2b8c4303b1 | [
"MIT"
] | 2 | 2022-01-20T15:58:40.000Z | 2022-03-30T15:03:54.000Z | deeplog/__init__.py | Thijsvanede/DeepLog | d9c88d75346607d9ff4e0a082e344a2b8c4303b1 | [
"MIT"
] | 10 | 2021-09-10T11:08:12.000Z | 2022-03-30T18:19:46.000Z | from .deeplog import DeepLog
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4b1eb04150810d8c1229d4911940980af898ce2 | 88,336 | py | Python | lib/EnsoCollectionsLib.py | acordonez/ENSO_metrics | 6b5a3c33ec89a5c6de147bf6dc03872a89b9da90 | [
"BSD-3-Clause"
] | 11 | 2020-07-09T01:03:59.000Z | 2022-03-18T11:39:06.000Z | lib/EnsoCollectionsLib.py | acordonez/ENSO_metrics | 6b5a3c33ec89a5c6de147bf6dc03872a89b9da90 | [
"BSD-3-Clause"
] | 17 | 2020-07-09T00:42:14.000Z | 2022-03-21T23:14:33.000Z | lib/EnsoCollectionsLib.py | acordonez/ENSO_metrics | 6b5a3c33ec89a5c6de147bf6dc03872a89b9da90 | [
"BSD-3-Clause"
] | 4 | 2020-09-24T05:42:15.000Z | 2022-03-15T16:17:53.000Z | # -*- coding:UTF-8 -*-
#
# Define ENSO metrics collections as a function of science question/realm
#
# Draft version
#
# Define metrics collections
def defCollection(mc=True):
# Name, list of metrics
metrics_collection = {
'ENSO_perf': {
'long_name': 'Metrics Collection for ENSO performanc... | 61.387074 | 120 | 0.451741 | 7,069 | 88,336 | 5.464564 | 0.08417 | 0.033653 | 0.062518 | 0.07339 | 0.840353 | 0.819566 | 0.81356 | 0.80191 | 0.786119 | 0.771338 | 0 | 0.027529 | 0.365072 | 88,336 | 1,438 | 121 | 61.429764 | 0.661205 | 0.13983 | 0 | 0.681588 | 0 | 0.009291 | 0.416315 | 0.031583 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003378 | false | 0 | 0 | 0 | 0.009291 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be08412b5bd6b5281ce5cc0dc76daae9623f85e2 | 134 | py | Python | getting_started/format.py | AoEiuV020/LearningPython | aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70 | [
"MIT"
] | null | null | null | getting_started/format.py | AoEiuV020/LearningPython | aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70 | [
"MIT"
] | null | null | null | getting_started/format.py | AoEiuV020/LearningPython | aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
assert format('asdf', '8') == 'asdf '
assert not format('asdf', '8') is 'asdf '
| 22.333333 | 44 | 0.544776 | 19 | 134 | 3.842105 | 0.631579 | 0.273973 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037383 | 0.201493 | 134 | 5 | 45 | 26.8 | 0.64486 | 0.320896 | 0 | 0 | 0 | 0 | 0.292135 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
079662600e47d976019e941aac0c19d2bcc442df | 208 | py | Python | Codewars/8kyu/the-feast-of-many-beasts/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/the-feast-of-many-beasts/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/the-feast-of-many-beasts/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
Test.assert_equals(feast('great blue heron', 'garlic naan'), True)
Test.assert_equals(feast('chickadee', 'chocolate cake'), True)
Test.assert_equals(feast('brown bear', 'bear claw'), False)
| 34.666667 | 66 | 0.725962 | 31 | 208 | 4.774194 | 0.677419 | 0.202703 | 0.324324 | 0.425676 | 0.337838 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015957 | 0.096154 | 208 | 5 | 67 | 41.6 | 0.771277 | 0.067308 | 0 | 0 | 0 | 0 | 0.359375 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07a1823ae7b60a299f54f2329f652b25d7b960ec | 147 | py | Python | vb2py/PythonCard/tests/UnitTestSample.py | ceprio/xl_vb2py | 899fec0301140fd8bd313e8c80b3fa839b3f5ee4 | [
"BSD-3-Clause"
] | null | null | null | vb2py/PythonCard/tests/UnitTestSample.py | ceprio/xl_vb2py | 899fec0301140fd8bd313e8c80b3fa839b3f5ee4 | [
"BSD-3-Clause"
] | null | null | null | vb2py/PythonCard/tests/UnitTestSample.py | ceprio/xl_vb2py | 899fec0301140fd8bd313e8c80b3fa839b3f5ee4 | [
"BSD-3-Clause"
] | null | null | null | import pyunit
class ClassTests(pyunit.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def testSomething(self):
pass
| 12.25 | 34 | 0.680272 | 18 | 147 | 5.555556 | 0.611111 | 0.24 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231293 | 147 | 11 | 35 | 13.363636 | 0.884956 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.375 | 0.125 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
07c563ea39c1b77563d978bcc67031197deba986 | 28,290 | py | Python | api/activities/tests_activity.py | edmon1024/activities-api | e41ab6d5dbb7eba38effe353e88d75699a713f76 | [
"MIT"
] | null | null | null | api/activities/tests_activity.py | edmon1024/activities-api | e41ab6d5dbb7eba38effe353e88d75699a713f76 | [
"MIT"
] | null | null | null | api/activities/tests_activity.py | edmon1024/activities-api | e41ab6d5dbb7eba38effe353e88d75699a713f76 | [
"MIT"
] | null | null | null | from django.test import TestCase
from django.contrib.auth.models import User
from django.utils import timezone
import datetime
import json
from rest_framework.test import APIClient
from rest_framework import status
from activities.models import (
Property,
Activity,
Survey,
)
class ActivityTestCase(Tes... | 30.289079 | 140 | 0.550654 | 2,976 | 28,290 | 5.091734 | 0.066868 | 0.089487 | 0.055963 | 0.052267 | 0.855144 | 0.832508 | 0.793176 | 0.776546 | 0.75292 | 0.726061 | 0 | 0.020716 | 0.322587 | 28,290 | 933 | 141 | 30.321543 | 0.769985 | 0 | 0 | 0.610147 | 0 | 0 | 0.147559 | 0.027398 | 0 | 0 | 0 | 0 | 0.22964 | 1 | 0.040053 | false | 0.00267 | 0.010681 | 0 | 0.05474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed16863aff57dead1920cc1e78a06613bdfa4e13 | 33 | py | Python | scivision/__init__.py | RaoOfPhysics/scivision | 880914f0606c51743794fa69a667b181929b5c21 | [
"BSD-3-Clause"
] | 28 | 2021-05-25T10:33:07.000Z | 2022-03-25T10:05:58.000Z | scivision/__init__.py | RaoOfPhysics/scivision | 880914f0606c51743794fa69a667b181929b5c21 | [
"BSD-3-Clause"
] | 137 | 2021-05-25T10:06:48.000Z | 2022-03-31T14:55:30.000Z | scivision/__init__.py | RaoOfPhysics/scivision | 880914f0606c51743794fa69a667b181929b5c21 | [
"BSD-3-Clause"
] | 10 | 2021-05-26T12:56:47.000Z | 2022-03-25T10:08:16.000Z | from .koala import get_koala_log
| 16.5 | 32 | 0.848485 | 6 | 33 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed5ac1e7c606a6a11390c0731dba3cc1fae49205 | 35 | py | Python | newsletter_tools/__init__.py | astropah/newsletter_tools | 7981c913667c44922f4ec9f6bb5d4f2087de543a | [
"MIT"
] | null | null | null | newsletter_tools/__init__.py | astropah/newsletter_tools | 7981c913667c44922f4ec9f6bb5d4f2087de543a | [
"MIT"
] | null | null | null | newsletter_tools/__init__.py | astropah/newsletter_tools | 7981c913667c44922f4ec9f6bb5d4f2087de543a | [
"MIT"
] | null | null | null |
from . import parsers, build_tools | 17.5 | 34 | 0.8 | 5 | 35 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 2 | 34 | 17.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed7925b028cbd40437479b444b742abc422b0e94 | 42 | py | Python | etest/test.py | namaggarwal/namantestpackage | 915b5afce75f7a08c62faf2f17d0b5b4498e2f3a | [
"MIT"
] | null | null | null | etest/test.py | namaggarwal/namantestpackage | 915b5afce75f7a08c62faf2f17d0b5b4498e2f3a | [
"MIT"
] | 1 | 2020-06-30T13:28:10.000Z | 2020-06-30T13:45:10.000Z | etest/test.py | namaggarwal/namantestpackage | 915b5afce75f7a08c62faf2f17d0b5b4498e2f3a | [
"MIT"
] | null | null | null | from namantest import sum
print(sum(2,3)) | 14 | 25 | 0.761905 | 8 | 42 | 4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.119048 | 42 | 3 | 26 | 14 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
ed81ed4d455e6b9147c72a698afcbc2ba00677a7 | 2,516 | py | Python | ci/unit_tests/workspace_addjson/main_test.py | IBM/conversation-data-framework | fa055d7324645af9a3601c9cf625ce81cebc8aed | [
"Apache-2.0"
] | 13 | 2018-06-28T09:57:21.000Z | 2019-08-20T16:43:50.000Z | ci/unit_tests/workspace_addjson/main_test.py | IBM/conversation-data-framework | fa055d7324645af9a3601c9cf625ce81cebc8aed | [
"Apache-2.0"
] | 264 | 2018-05-07T14:40:24.000Z | 2021-05-27T17:26:35.000Z | ci/unit_tests/workspace_addjson/main_test.py | IBM/conversation-data-framework | fa055d7324645af9a3601c9cf625ce81cebc8aed | [
"Apache-2.0"
] | 24 | 2018-04-14T20:03:25.000Z | 2022-02-01T20:48:07.000Z |
import codecs
import json
import os
import unittest
import workspace_addjson
class TestMain(unittest.TestCase):
directory = './ci/unit_tests/workspace_addjson/main_data/'
workspaceFile = 'workspace_forAddJsonTest.json'
copycmd = 'cp ' + directory + 'workspace.json ' + directory + 'workspace_forAddJsonT... | 39.3125 | 123 | 0.691971 | 266 | 2,516 | 6.477444 | 0.289474 | 0.06036 | 0.032501 | 0.037145 | 0.798607 | 0.798607 | 0.703424 | 0.703424 | 0.703424 | 0.703424 | 0 | 0.001995 | 0.2031 | 2,516 | 63 | 124 | 39.936508 | 0.857357 | 0.13752 | 0 | 0.571429 | 0 | 0 | 0.118085 | 0.069735 | 0 | 0 | 0 | 0.015873 | 0.057143 | 1 | 0.057143 | false | 0 | 0.142857 | 0 | 0.314286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c1bf27df8c455671f99c6bd814e54270c39dbfc | 20,070 | py | Python | tests/test_api/test_tower.py | tuananhnguyenf/rhub-api | 8af69207a75a7af7ed0380e2d413577d5bc1871b | [
"MIT"
] | 2 | 2021-02-25T14:27:19.000Z | 2021-07-29T10:43:27.000Z | tests/test_api/test_tower.py | tuananhnguyenf/rhub-api | 8af69207a75a7af7ed0380e2d413577d5bc1871b | [
"MIT"
] | 21 | 2021-01-28T13:43:30.000Z | 2022-02-23T17:19:50.000Z | tests/test_api/test_tower.py | tuananhnguyenf/rhub-api | 8af69207a75a7af7ed0380e2d413577d5bc1871b | [
"MIT"
] | 12 | 2021-01-25T08:41:07.000Z | 2022-03-02T13:30:22.000Z | import base64
import pytest
from rhub.tower import model
from rhub.tower.client import TowerError
API_BASE = '/v0'
def _db_add_row_side_effect(data_added):
def side_effect(row):
for k, v in data_added.items():
setattr(row, k, v)
return side_effect
def test_list_servers(client):
m... | 28.06993 | 94 | 0.581216 | 2,285 | 20,070 | 4.860394 | 0.076149 | 0.017558 | 0.030704 | 0.037457 | 0.904646 | 0.8698 | 0.856474 | 0.823519 | 0.801639 | 0.785341 | 0 | 0.04789 | 0.282113 | 20,070 | 714 | 95 | 28.109244 | 0.722932 | 0.007175 | 0 | 0.698925 | 0 | 0 | 0.182976 | 0.061694 | 0 | 0 | 0 | 0 | 0.107527 | 1 | 0.035842 | false | 0.003584 | 0.007168 | 0 | 0.044803 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c46fb379c12ac4df422675fa2894687476b703f | 49,014 | py | Python | pytests/subdoc/subdoc_nested_dataset.py | couchbaselabs/testrunner-dbaas | 8f90f324c5e804fb1c8f46f5618b672611d856b6 | [
"Apache-2.0"
] | 1 | 2020-08-31T18:51:45.000Z | 2020-08-31T18:51:45.000Z | pytests/subdoc/subdoc_nested_dataset.py | couchbaselabs/testrunner-dbaas | 8f90f324c5e804fb1c8f46f5618b672611d856b6 | [
"Apache-2.0"
] | null | null | null | pytests/subdoc/subdoc_nested_dataset.py | couchbaselabs/testrunner-dbaas | 8f90f324c5e804fb1c8f46f5618b672611d856b6 | [
"Apache-2.0"
] | 2 | 2020-07-24T07:12:01.000Z | 2022-03-17T23:43:28.000Z | from .subdoc_base import SubdocBaseTest
import copy, json
import yaml
import random
import traceback
import couchbase.subdocument as SD
try:
from sdk_client import SDKClient
except:
from sdk_client3 import SDKClient
from threading import Thread
class SubdocNestedDataset(SubdocBaseTest):
def setUp(self):
... | 48.052941 | 176 | 0.596258 | 6,568 | 49,014 | 4.193971 | 0.035932 | 0.044435 | 0.048283 | 0.046903 | 0.852755 | 0.828396 | 0.814928 | 0.793945 | 0.77416 | 0.752015 | 0 | 0.015271 | 0.2799 | 49,014 | 1,019 | 177 | 48.100098 | 0.765179 | 0.011364 | 0 | 0.559735 | 0 | 0 | 0.081167 | 0.020359 | 0 | 0 | 0 | 0 | 0.027655 | 1 | 0.087389 | false | 0 | 0.009956 | 0 | 0.111726 | 0.005531 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c51721cd50014ec61a7c60231c909722f4dd6d1 | 206 | py | Python | old/spikeforest_batch_run/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | old/spikeforest_batch_run/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | old/spikeforest_batch_run/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | from .impl import clearBatch, prepareBatch, runBatch, assembleBatchResults
from .register_job_commands import register_job_commands
#from .internal import _run_in_singularity, _run_command_and_print_output
| 51.5 | 74 | 0.883495 | 26 | 206 | 6.538462 | 0.692308 | 0.129412 | 0.223529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07767 | 206 | 3 | 75 | 68.666667 | 0.894737 | 0.349515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c58a0c7c03f52caf7571593fe3d492e6fd2fd51 | 4,731 | py | Python | stashy/permissions.py | realshadow/stashy | 6204cdb8310a33092a9264373f789343cebd16ac | [
"Apache-2.0"
] | null | null | null | stashy/permissions.py | realshadow/stashy | 6204cdb8310a33092a9264373f789343cebd16ac | [
"Apache-2.0"
] | null | null | null | stashy/permissions.py | realshadow/stashy | 6204cdb8310a33092a9264373f789343cebd16ac | [
"Apache-2.0"
] | 2 | 2016-08-04T07:47:58.000Z | 2021-02-10T11:06:58.000Z | from .helpers import ResourceBase, Nested, FilteredIterableResource
from .errors import ok_or_error
from .compat import update_doc
class Groups(ResourceBase, FilteredIterableResource):
def none(self, filter=None):
"""
Retrieve groups that have no granted permissions.
filter: return only gr... | 27.034286 | 92 | 0.60093 | 520 | 4,731 | 5.336538 | 0.178846 | 0.043243 | 0.029189 | 0.034595 | 0.803964 | 0.757838 | 0.717117 | 0.717117 | 0.637477 | 0.578378 | 0 | 0 | 0.313676 | 4,731 | 174 | 93 | 27.189655 | 0.854635 | 0.348552 | 0 | 0.421053 | 0 | 0 | 0.13197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.052632 | 0.035088 | 0.596491 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
92c8c78f47114c5e0c09870c4aa0a7c81167b1c6 | 1,695 | py | Python | data-specific-discretization/ImageNet/input_data.py | jfc43/pixel-discretization | 1543649e5172cb4f8226962a5ab5087091910418 | [
"Apache-2.0"
] | 6 | 2019-03-08T23:09:20.000Z | 2021-07-29T19:23:58.000Z | data-specific-discretization/ImageNet/input_data.py | jfc43/pixel-discretization | 1543649e5172cb4f8226962a5ab5087091910418 | [
"Apache-2.0"
] | null | null | null | data-specific-discretization/ImageNet/input_data.py | jfc43/pixel-discretization | 1543649e5172cb4f8226962a5ab5087091910418 | [
"Apache-2.0"
] | 1 | 2020-02-05T20:07:19.000Z | 2020-02-05T20:07:19.000Z | import os
import csv
from scipy.misc import imread
import numpy as np
def load_train_data(data_path):
images = []
for filename in open(os.path.join(data_path,'train_sub.txt')):
filename = filename[:-1]
image = imread(os.path.join(data_path,filename), mode='RGB').astype(np.float)
images.... | 39.418605 | 101 | 0.703245 | 254 | 1,695 | 4.61811 | 0.259843 | 0.061381 | 0.051151 | 0.071611 | 0.838875 | 0.838875 | 0.820119 | 0.795396 | 0.763853 | 0.763853 | 0 | 0.009226 | 0.168732 | 1,695 | 42 | 102 | 40.357143 | 0.823279 | 0.261357 | 0 | 0.571429 | 0 | 0 | 0.066504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085714 | false | 0 | 0.114286 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
13307831458f6892bb71d19c096c696060409234 | 131 | py | Python | cliva_fl/validation/__init__.py | DataManagementLab/thesis-fl_client-side_validation | 0f6a35d08966133e6a8c13a110b9307d91f2d9cb | [
"MIT"
] | null | null | null | cliva_fl/validation/__init__.py | DataManagementLab/thesis-fl_client-side_validation | 0f6a35d08966133e6a8c13a110b9307d91f2d9cb | [
"MIT"
] | null | null | null | cliva_fl/validation/__init__.py | DataManagementLab/thesis-fl_client-side_validation | 0f6a35d08966133e6a8c13a110b9307d91f2d9cb | [
"MIT"
] | null | null | null | from .core import validate_buffer
from .retrain import validate_retrain
from .extract import validate_extract
from .method import * | 32.75 | 37 | 0.847328 | 18 | 131 | 6 | 0.444444 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114504 | 131 | 4 | 38 | 32.75 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
133fa0efd2f6155f926e31bb2bb58a9c62a36105 | 50 | py | Python | lars/Testing/VarianceEstimation/__init__.py | ydecastro/lar_testing | 26c20a57fe85c889bf0670f8b25b350e21656872 | [
"MIT"
] | null | null | null | lars/Testing/VarianceEstimation/__init__.py | ydecastro/lar_testing | 26c20a57fe85c889bf0670f8b25b350e21656872 | [
"MIT"
] | null | null | null | lars/Testing/VarianceEstimation/__init__.py | ydecastro/lar_testing | 26c20a57fe85c889bf0670f8b25b350e21656872 | [
"MIT"
] | null | null | null | from .VarianceEstimation import VarianceEstimation | 50 | 50 | 0.92 | 4 | 50 | 11.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 50 | 1 | 50 | 50 | 0.978723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
134bf25a21149c1e9623ee239afe83c16972d129 | 174,023 | py | Python | azure-storage-blob/azure/storage/blob/baseblobservice.py | xiafu-msft/azure-storage-python | 22b6ea7b28ad8d65892fb174de85a4a58fa4cbd5 | [
"MIT"
] | null | null | null | azure-storage-blob/azure/storage/blob/baseblobservice.py | xiafu-msft/azure-storage-python | 22b6ea7b28ad8d65892fb174de85a4a58fa4cbd5 | [
"MIT"
] | null | null | null | azure-storage-blob/azure/storage/blob/baseblobservice.py | xiafu-msft/azure-storage-python | 22b6ea7b28ad8d65892fb174de85a4a58fa4cbd5 | [
"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.
# --------------------------------------------------------------------------
import sys... | 52.118299 | 131 | 0.63256 | 22,166 | 174,023 | 4.82225 | 0.042678 | 0.01452 | 0.007597 | 0.017513 | 0.825933 | 0.798073 | 0.773272 | 0.7627 | 0.752867 | 0.743259 | 0 | 0.003551 | 0.318671 | 174,023 | 3,338 | 132 | 52.133913 | 0.897965 | 0.590663 | 0 | 0.624785 | 0 | 0 | 0.058001 | 0.005221 | 0 | 0 | 0 | 0.0003 | 0 | 1 | 0.043029 | false | 0 | 0.018933 | 0 | 0.104991 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1369328b6533f0b07e68276d37a3bc36f146bc94 | 5,701 | py | Python | tests/methods_tests/test_authentication.py | lycantropos/asynctmdb | 623dcfe0f4f599104d16d920d9a1f35dd82eac90 | [
"MIT"
] | null | null | null | tests/methods_tests/test_authentication.py | lycantropos/asynctmdb | 623dcfe0f4f599104d16d920d9a1f35dd82eac90 | [
"MIT"
] | null | null | null | tests/methods_tests/test_authentication.py | lycantropos/asynctmdb | 623dcfe0f4f599104d16d920d9a1f35dd82eac90 | [
"MIT"
] | 2 | 2020-11-04T02:56:38.000Z | 2020-11-05T08:12:04.000Z | from datetime import datetime
import pytest
from aiohttp import ClientSession
from asynctmdb.common import StatusCode
from asynctmdb.methods.authentication import (create_request_token,
create_session,
create_guest_session,
... | 41.014388 | 77 | 0.635853 | 627 | 5,701 | 5.304625 | 0.098884 | 0.086591 | 0.109441 | 0.078172 | 0.824414 | 0.797054 | 0.785628 | 0.732712 | 0.716476 | 0.684005 | 0 | 0 | 0.309946 | 5,701 | 138 | 78 | 41.311594 | 0.84545 | 0 | 0 | 0.675 | 0 | 0 | 0.029469 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0 | false | 0.041667 | 0.05 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
137467ce4bbe3b4f024c96315247bf0b9e1cab25 | 250 | py | Python | networks/__init__.py | ebucheli/FreeSound_GPAT | 6737732276cb664e682fdc631d429ffcd5875990 | [
"MIT"
] | null | null | null | networks/__init__.py | ebucheli/FreeSound_GPAT | 6737732276cb664e682fdc631d429ffcd5875990 | [
"MIT"
] | null | null | null | networks/__init__.py | ebucheli/FreeSound_GPAT | 6737732276cb664e682fdc631d429ffcd5875990 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from networks.CNNetworks1D import *
from networks.CNNetworks2D import *
from networks.RNNetworks import *
from networks.FFNetworks import *
| 27.777778 | 38 | 0.852 | 30 | 250 | 6.633333 | 0.4 | 0.201005 | 0.241206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00905 | 0.116 | 250 | 8 | 39 | 31.25 | 0.891403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.142857 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1382cf1734c3a64301d2eb4ee8962c426aefa23a | 385 | py | Python | passbook/factors/email/apps.py | fossabot/passbook | cba17f6659404445ac3025f11657d89368cc8b4f | [
"MIT"
] | null | null | null | passbook/factors/email/apps.py | fossabot/passbook | cba17f6659404445ac3025f11657d89368cc8b4f | [
"MIT"
] | null | null | null | passbook/factors/email/apps.py | fossabot/passbook | cba17f6659404445ac3025f11657d89368cc8b4f | [
"MIT"
] | null | null | null | """passbook email factor config"""
from importlib import import_module
from django.apps import AppConfig
class PassbookFactorEmailConfig(AppConfig):
"""passbook email factor config"""
name = "passbook.factors.email"
label = "passbook_factors_email"
verbose_name = "passbook Factors.Email"
def re... | 24.0625 | 53 | 0.735065 | 43 | 385 | 6.465116 | 0.488372 | 0.215827 | 0.28777 | 0.179856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166234 | 385 | 15 | 54 | 25.666667 | 0.866044 | 0.148052 | 0 | 0 | 0 | 0 | 0.29653 | 0.227129 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.625 | 0.375 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1399b63d5ee98a009211fe81bad1a8190be3b26c | 2,387 | py | Python | tests/test_gauss_newton.py | Daiver/pygauss_newton | 63dd741c6edaeb2891842dc4d0b714412b30a04c | [
"MIT"
] | null | null | null | tests/test_gauss_newton.py | Daiver/pygauss_newton | 63dd741c6edaeb2891842dc4d0b714412b30a04c | [
"MIT"
] | null | null | null | tests/test_gauss_newton.py | Daiver/pygauss_newton | 63dd741c6edaeb2891842dc4d0b714412b30a04c | [
"MIT"
] | null | null | null | import unittest
import numpy as np
import pygauss_newton
def oned_problem01_residuals(x):
return x
def oned_problem01_jacobian(x):
return np.array([[1]], dtype=np.float32)
class TestGaussNewton(unittest.TestCase):
def test_1d_opt01(self):
x = np.array([0.0])
settings = pygauss_newton... | 32.69863 | 94 | 0.658986 | 273 | 2,387 | 5.457875 | 0.197802 | 0.113423 | 0.091275 | 0.063758 | 0.819463 | 0.819463 | 0.819463 | 0.819463 | 0.819463 | 0.819463 | 0 | 0.029197 | 0.253875 | 2,387 | 72 | 95 | 33.152778 | 0.807412 | 0 | 0 | 0.661017 | 0 | 0 | 0.003351 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 1 | 0.067797 | false | 0 | 0.050847 | 0.033898 | 0.169492 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9257c8caf3d685e40ff794f78b82ffcd0e740a6 | 6,155 | py | Python | imcsdk/mometa/memory/MemoryPersistentMemoryLogicalNamespace.py | TetrationAnalytics/imcsdk | d86e47831f294dc9fa5e99b9a92abceac2502d76 | [
"Apache-2.0"
] | null | null | null | imcsdk/mometa/memory/MemoryPersistentMemoryLogicalNamespace.py | TetrationAnalytics/imcsdk | d86e47831f294dc9fa5e99b9a92abceac2502d76 | [
"Apache-2.0"
] | null | null | null | imcsdk/mometa/memory/MemoryPersistentMemoryLogicalNamespace.py | TetrationAnalytics/imcsdk | d86e47831f294dc9fa5e99b9a92abceac2502d76 | [
"Apache-2.0"
] | 2 | 2016-05-26T02:05:46.000Z | 2017-09-13T05:13:25.000Z | """This module contains the general information for MemoryPersistentMemoryLogicalNamespace ManagedObject."""
from ...imcmo import ManagedObject
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta
class MemoryPersistentMemoryLogicalNamespaceConsts:
CAPACITY_REMAINING_CAPACITY = "r... | 58.066038 | 267 | 0.628595 | 616 | 6,155 | 6.079545 | 0.163961 | 0.059813 | 0.134579 | 0.201869 | 0.735915 | 0.735915 | 0.723632 | 0.723632 | 0.723632 | 0.723632 | 0 | 0.04477 | 0.190739 | 6,155 | 105 | 268 | 58.619048 | 0.707087 | 0.025345 | 0 | 0.47619 | 0 | 0.02381 | 0.273092 | 0.118256 | 0 | 0 | 0.011692 | 0 | 0 | 1 | 0.011905 | false | 0 | 0.035714 | 0 | 0.309524 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b94cf46bda0daa12a0f1edbe0d454b23aee8a58c | 96 | py | Python | venv/lib/python3.8/site-packages/jeepney/io/tornado.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/jeepney/io/tornado.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/jeepney/io/tornado.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/87/e3/2e/8a74e11d65689b585f2f9c6bce1a39721076f32338a8b8ba8e1b26ff1c | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9718ba66b5947359e04f823e59cbe8fef26f8e8 | 4,847 | py | Python | tests/test_solutions.py | julia-shenshina/LMS | 110364bb5c59055d584c314fd5c04158c637d0e6 | [
"MIT"
] | null | null | null | tests/test_solutions.py | julia-shenshina/LMS | 110364bb5c59055d584c314fd5c04158c637d0e6 | [
"MIT"
] | 4 | 2018-12-18T19:03:36.000Z | 2018-12-20T21:07:02.000Z | tests/test_solutions.py | julia-shenshina/LMS | 110364bb5c59055d584c314fd5c04158c637d0e6 | [
"MIT"
] | null | null | null | from django.urls import reverse
from django.utils import timezone
from rest_framework.test import APITestCase
from lms.models.models import Course, Faculty, Group, Professor, Student, Solution, Task
class TestSolution(APITestCase):
def test_create_solution_student(self):
faculty = Faculty.objects.create(... | 35.903704 | 110 | 0.624716 | 561 | 4,847 | 5.217469 | 0.142603 | 0.09327 | 0.081312 | 0.037581 | 0.902289 | 0.900922 | 0.900922 | 0.900922 | 0.900922 | 0.900922 | 0 | 0.02162 | 0.246132 | 4,847 | 134 | 111 | 36.171642 | 0.77942 | 0 | 0 | 0.666667 | 0 | 0 | 0.100268 | 0 | 0 | 0 | 0 | 0 | 0.07619 | 1 | 0.038095 | false | 0 | 0.038095 | 0 | 0.085714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9a87f8c06bb4a44b72b55d6f905228ab798fddd | 11,881 | py | Python | networking/connection/tcp.py | bcgrendel/python_networking | b4c847d9eeeea078868b8dcb3d385e02eb0b8e96 | [
"MIT"
] | null | null | null | networking/connection/tcp.py | bcgrendel/python_networking | b4c847d9eeeea078868b8dcb3d385e02eb0b8e96 | [
"MIT"
] | null | null | null | networking/connection/tcp.py | bcgrendel/python_networking | b4c847d9eeeea078868b8dcb3d385e02eb0b8e96 | [
"MIT"
] | null | null | null | import socket
import sys
import traceback
import struct
import threading
from threading import Thread
import time
import datetime
import json
import buffered_message
from connection_state import ConnectionState
# *************
# EXAMPLE USAGE
# *************
"""
import socket
import tcp
import sys
import traceback
d... | 28.423445 | 133 | 0.719889 | 1,608 | 11,881 | 5.08209 | 0.116915 | 0.044542 | 0.039525 | 0.026432 | 0.798948 | 0.766275 | 0.738497 | 0.732134 | 0.71953 | 0.708027 | 0 | 0.010596 | 0.173891 | 11,881 | 417 | 134 | 28.491607 | 0.822007 | 0.100076 | 0 | 0.757785 | 0 | 0 | 0.003843 | 0 | 0 | 0 | 0 | 0.002398 | 0 | 1 | 0.096886 | false | 0.010381 | 0.038062 | 0.013841 | 0.176471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9de0fa842cefaa09845bd082c7e24556cc59ac0 | 29,926 | py | Python | dynamic_dynamodb/core/gsi.py | tellybug/dynamic-dynamodb | a681194d933cb31507ddde6a225f1a4ddac0509f | [
"Apache-2.0"
] | 1 | 2016-01-10T07:05:07.000Z | 2016-01-10T07:05:07.000Z | dynamic_dynamodb/core/gsi.py | tellybug/dynamic-dynamodb | a681194d933cb31507ddde6a225f1a4ddac0509f | [
"Apache-2.0"
] | null | null | null | dynamic_dynamodb/core/gsi.py | tellybug/dynamic-dynamodb | a681194d933cb31507ddde6a225f1a4ddac0509f | [
"Apache-2.0"
] | 2 | 2016-01-12T20:30:21.000Z | 2019-09-16T04:41:28.000Z | # -*- coding: utf-8 -*-
""" Core components """
from boto.exception import JSONResponseError, BotoServerError
from dynamic_dynamodb import calculators
from dynamic_dynamodb.aws import dynamodb, sns
from dynamic_dynamodb.core import circuit_breaker
from dynamic_dynamodb.statistics import gsi as gsi_stats
from dynamic_d... | 40.994521 | 80 | 0.618659 | 3,493 | 29,926 | 4.917836 | 0.060693 | 0.043486 | 0.038421 | 0.055885 | 0.838049 | 0.808301 | 0.776633 | 0.746653 | 0.711724 | 0.643672 | 0 | 0.00681 | 0.313039 | 29,926 | 729 | 81 | 41.050754 | 0.828777 | 0.139678 | 0 | 0.563327 | 0 | 0 | 0.170203 | 0.042196 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011342 | false | 0 | 0.013233 | 0 | 0.043478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9ee857ea60eadd5087794ca51e16d8119b97158 | 1,351 | bzl | Python | debian/mingw_compiler.bzl | Ewpratten/frc_971_mirror | 3a8a0c4359f284d29547962c2b4c43d290d8065c | [
"BSD-2-Clause"
] | 39 | 2021-06-18T03:22:30.000Z | 2022-03-21T15:23:43.000Z | debian/mingw_compiler.bzl | Ewpratten/frc_971_mirror | 3a8a0c4359f284d29547962c2b4c43d290d8065c | [
"BSD-2-Clause"
] | 10 | 2021-06-18T03:22:19.000Z | 2022-03-18T22:14:15.000Z | debian/mingw_compiler.bzl | Ewpratten/frc_971_mirror | 3a8a0c4359f284d29547962c2b4c43d290d8065c | [
"BSD-2-Clause"
] | 4 | 2021-08-19T19:20:04.000Z | 2022-03-08T07:33:18.000Z | files = {
"binutils-mingw-w64-x86-64_2.25-5+5.2+deb8u1_amd64.deb": "628e9274a1555baa8f9063648f0ce5e5de0c8055d44a3737c8deb1d4c65f6982",
"binutils_2.25-5+deb8u1_amd64.deb": "d9e6ac61d1d5bf63b632923c9f678d8fb64d3f9f82a0e31a8229e6e5b0bbb89d",
"g++-mingw-w64-x86-64_4.9.1-19+14.3_amd64.deb": "fc2682049ca0b8dade0d... | 90.066667 | 128 | 0.827535 | 129 | 1,351 | 8.48062 | 0.372093 | 0.073126 | 0.040219 | 0.047532 | 0.085923 | 0.085923 | 0.067642 | 0.067642 | 0.053016 | 0.053016 | 0 | 0.465882 | 0.056255 | 1,351 | 14 | 129 | 96.5 | 0.392157 | 0 | 0 | 0 | 0 | 0.214286 | 0.88453 | 0.88453 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9fcae43e6792241834bf4dc3786197e1ee3370e | 84 | py | Python | core/leras/archis/__init__.py | chuanli11/GFPGAN | 4adbf820cef782c7d33113be35e5f1a49f2a3793 | [
"BSD-3-Clause"
] | null | null | null | core/leras/archis/__init__.py | chuanli11/GFPGAN | 4adbf820cef782c7d33113be35e5f1a49f2a3793 | [
"BSD-3-Clause"
] | null | null | null | core/leras/archis/__init__.py | chuanli11/GFPGAN | 4adbf820cef782c7d33113be35e5f1a49f2a3793 | [
"BSD-3-Clause"
] | null | null | null | from .ArchiBase import *
from .DeepFakeArchi import *
from .DeepVooDooArchi import * | 28 | 30 | 0.797619 | 9 | 84 | 7.444444 | 0.555556 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 84 | 3 | 30 | 28 | 0.917808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a38b98ebdc65e4876f9fac08cdb220d8f375532 | 230 | py | Python | backend/courses/tasks.py | pennlabs/penn-courses | 6fd16c151e34a9660e883a41458a72cef6c1f8cd | [
"MIT"
] | 32 | 2019-04-02T19:02:48.000Z | 2022-03-05T17:32:52.000Z | backend/courses/tasks.py | pennlabs/penn-courses | 6fd16c151e34a9660e883a41458a72cef6c1f8cd | [
"MIT"
] | 281 | 2019-05-20T01:19:38.000Z | 2022-03-31T08:17:13.000Z | backend/courses/tasks.py | pennlabs/penn-courses | 6fd16c151e34a9660e883a41458a72cef6c1f8cd | [
"MIT"
] | 2 | 2020-04-27T20:53:02.000Z | 2021-09-26T16:40:28.000Z | from celery import shared_task
from courses.management.commands.registrarimport import registrar_import
@shared_task(name="pcx.tasks.registrar_import_after_semester_update")
def registrar_import_async():
registrar_import()
| 25.555556 | 72 | 0.847826 | 29 | 230 | 6.37931 | 0.62069 | 0.324324 | 0.172973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082609 | 230 | 8 | 73 | 28.75 | 0.876777 | 0 | 0 | 0 | 0 | 0 | 0.208696 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 1 | 0 | 1.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0552a83dc2c9c08fdf723bb004ece4d2ee40545 | 33 | py | Python | __init__.py | mengguo2/accy | d99d9bbcaa80265f90101ce6bd20ad5788556def | [
"MIT"
] | null | null | null | __init__.py | mengguo2/accy | d99d9bbcaa80265f90101ce6bd20ad5788556def | [
"MIT"
] | null | null | null | __init__.py | mengguo2/accy | d99d9bbcaa80265f90101ce6bd20ad5788556def | [
"MIT"
] | 1 | 2018-06-17T23:43:29.000Z | 2018-06-17T23:43:29.000Z | from accy import accy_functions
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 1 | 33 | 33 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0ebd433a89a15b1d7d697948990b95fab2a3d8fd | 78,490 | py | Python | clients/kratos/python/ory_kratos_client/api/admin_api.py | simoneromano96/sdk | a6113d0daefbbb803790297e4b242d4c7cbbcb22 | [
"Apache-2.0"
] | null | null | null | clients/kratos/python/ory_kratos_client/api/admin_api.py | simoneromano96/sdk | a6113d0daefbbb803790297e4b242d4c7cbbcb22 | [
"Apache-2.0"
] | null | null | null | clients/kratos/python/ory_kratos_client/api/admin_api.py | simoneromano96/sdk | a6113d0daefbbb803790297e4b242d4c7cbbcb22 | [
"Apache-2.0"
] | null | null | null | """
Ory Kratos API
Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the admini... | 39.069189 | 503 | 0.48382 | 7,187 | 78,490 | 5.062196 | 0.057047 | 0.031664 | 0.024298 | 0.025232 | 0.85218 | 0.818509 | 0.804519 | 0.79652 | 0.789951 | 0.779204 | 0 | 0.004815 | 0.4364 | 78,490 | 2,008 | 504 | 39.088645 | 0.817619 | 0.390062 | 0 | 0.640791 | 0 | 0 | 0.208753 | 0.034562 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013699 | false | 0 | 0.015221 | 0 | 0.042618 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1600194066051652f68bdefa67117dd5cef6e188 | 181 | py | Python | bca4abm/processors/abm/__init__.py | steventrev/in_midstates_bca | f762637a0b8976fa835320cb3b31a5eb5c423dfa | [
"BSD-3-Clause"
] | null | null | null | bca4abm/processors/abm/__init__.py | steventrev/in_midstates_bca | f762637a0b8976fa835320cb3b31a5eb5c423dfa | [
"BSD-3-Clause"
] | null | null | null | bca4abm/processors/abm/__init__.py | steventrev/in_midstates_bca | f762637a0b8976fa835320cb3b31a5eb5c423dfa | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
from . import person_trips
from . import demographics
from . import auto_ownership
from . import physical_activity
from . import abm_results
| 22.625 | 38 | 0.834254 | 24 | 181 | 5.916667 | 0.541667 | 0.352113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138122 | 181 | 7 | 39 | 25.857143 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
161a68797d7ad151476d69a1bd54abc57d86333d | 76,461 | py | Python | src/commercetools/platform/models/_schemas/order.py | labd/commercetools-python-sdk | d8ec285f08d56ede2e4cad45c74833f5b609ab5c | [
"MIT"
] | 15 | 2018-11-02T14:35:52.000Z | 2022-03-16T07:51:44.000Z | src/commercetools/platform/models/_schemas/order.py | labd/commercetools-python-sdk | d8ec285f08d56ede2e4cad45c74833f5b609ab5c | [
"MIT"
] | 84 | 2018-11-02T12:50:32.000Z | 2022-03-22T01:25:54.000Z | src/commercetools/platform/models/_schemas/order.py | labd/commercetools-python-sdk | d8ec285f08d56ede2e4cad45c74833f5b609ab5c | [
"MIT"
] | 13 | 2019-01-03T09:16:50.000Z | 2022-02-15T18:37:19.000Z | # This file is automatically generated by the rmf-codegen project.
#
# The Python code generator is maintained by Lab Digital. If you want to
# contribute to this project then please do not edit this file directly
# but send a pull request to the Lab Digital fork of rmf-codegen at
# https://github.com/labd/rmf-codegen
... | 30.993514 | 88 | 0.650384 | 6,711 | 76,461 | 7.172851 | 0.074952 | 0.049359 | 0.071297 | 0.064566 | 0.744666 | 0.743773 | 0.740034 | 0.729397 | 0.70719 | 0.701103 | 0 | 0 | 0.249395 | 76,461 | 2,466 | 89 | 31.006083 | 0.838741 | 0.004368 | 0 | 0.698024 | 1 | 0 | 0.1252 | 0.067619 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036218 | false | 0 | 0.014111 | 0.009878 | 0.278457 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
166b5e00ce258047b7557bbd5e2d7c719b4079a1 | 323 | py | Python | examples/sandbox/sandbox_run.py | pabloabur/netpyne | 7763d835eb89b9c3c1d0b49489e215ceaceafd82 | [
"MIT"
] | 1 | 2018-01-23T00:05:57.000Z | 2018-01-23T00:05:57.000Z | examples/sandbox/sandbox_run.py | pabloabur/netpyne | 7763d835eb89b9c3c1d0b49489e215ceaceafd82 | [
"MIT"
] | 2 | 2019-11-05T00:05:56.000Z | 2019-11-18T00:16:24.000Z | examples/sandbox/sandbox_run.py | pabloabur/netpyne | 7763d835eb89b9c3c1d0b49489e215ceaceafd82 | [
"MIT"
] | null | null | null | import sandbox # import parameters file
from netpyne import sim # import netpyne sim module
# netParams = sandbox.netParams
# simConfig = sandbox.simConfig
# sim.create() # create and simulate network
sim.createSimulateAnalyze(netParams = sandbox.netParams, simConfig = sandbox.simConfig) # create and simulate netw... | 40.375 | 118 | 0.79257 | 37 | 323 | 6.918919 | 0.405405 | 0.125 | 0.195313 | 0.265625 | 0.390625 | 0.390625 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139319 | 323 | 8 | 118 | 40.375 | 0.920863 | 0.55418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
16ad38d1db2474341034b14e3345268279875ba6 | 262 | py | Python | abacat/deprecated/genome_fetcher/config.py | vinisalazar/bactools | 60911d7af6f6914816737a01141db868175e979f | [
"MIT"
] | 7 | 2019-09-27T04:19:48.000Z | 2021-02-18T10:14:05.000Z | abacat/deprecated/genome_fetcher/config.py | vinisalazar/bactools | 60911d7af6f6914816737a01141db868175e979f | [
"MIT"
] | 3 | 2019-09-27T02:50:26.000Z | 2019-09-27T05:04:36.000Z | abacat/deprecated/genome_fetcher/config.py | vinisalazar/bactools | 60911d7af6f6914816737a01141db868175e979f | [
"MIT"
] | null | null | null | CONFIG = {
"db": "/home/ubuntu/storage/neorefs/neoref16s/rev6/neoRef16S_rev6_190325.acc",
"out_dir": "/home/ubuntu/storage/neorefs/genomes/bacteria",
"email": "vinicius.salazar@biome-hub.com",
"api_key": "afb857c557897af55345e77a84def712cd08",
}
| 37.428571 | 82 | 0.721374 | 29 | 262 | 6.37931 | 0.793103 | 0.108108 | 0.183784 | 0.259459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149573 | 0.10687 | 262 | 6 | 83 | 43.666667 | 0.641026 | 0 | 0 | 0 | 0 | 0 | 0.767176 | 0.687023 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16b5e02371e270f29d17349690f1d5964bb76234 | 12,737 | py | Python | Choice_SDK1.py | Samuellyworld/CHOICE_TinyMan_Wrapper | 366c493598005027ec45cbdb8dfec77f1747f0bf | [
"MIT"
] | 20 | 2021-11-05T21:03:42.000Z | 2022-01-30T11:11:08.000Z | Choice_SDK1.py | Samuellyworld/CHOICE_TinyMan_Wrapper | 366c493598005027ec45cbdb8dfec77f1747f0bf | [
"MIT"
] | 2 | 2021-11-16T06:37:10.000Z | 2021-11-17T11:38:00.000Z | Choice_SDK1.py | Samuellyworld/CHOICE_TinyMan_Wrapper | 366c493598005027ec45cbdb8dfec77f1747f0bf | [
"MIT"
] | 9 | 2021-11-05T21:39:55.000Z | 2022-02-22T02:04:50.000Z | #Copyright Fortior Blockchain, LLLP 2021
#Type python Choice_SDK.py in a directory with all the runsteps to run this file
#Be sure to enter your mnemonic and address in lines 9-10 beforehand.
from tinyman.v1.client import TinymanMainnetClient
from algosdk.v2client import algod
from algosdk import account, encoding, mn... | 49.368217 | 342 | 0.663814 | 1,695 | 12,737 | 4.782301 | 0.091445 | 0.088823 | 0.03701 | 0.044412 | 0.844189 | 0.774488 | 0.770664 | 0.7434 | 0.707747 | 0.707747 | 0 | 0.0397 | 0.246526 | 12,737 | 257 | 343 | 49.560311 | 0.804939 | 0.090445 | 0 | 0.576923 | 0 | 0.038462 | 0.223875 | 0.035208 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033654 | false | 0 | 0.014423 | 0 | 0.048077 | 0.221154 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16b64e91af5ac37c7122cf7b6dd1f1acdb0c14a4 | 4,796 | py | Python | tests/fixtures.py | sebastian-lapuschkin/Quantus | c3b8a9fb2018f34bd89ba38efa2b2b8c38128b3f | [
"MIT"
] | null | null | null | tests/fixtures.py | sebastian-lapuschkin/Quantus | c3b8a9fb2018f34bd89ba38efa2b2b8c38128b3f | [
"MIT"
] | null | null | null | tests/fixtures.py | sebastian-lapuschkin/Quantus | c3b8a9fb2018f34bd89ba38efa2b2b8c38128b3f | [
"MIT"
] | null | null | null | from typing import Tuple
import os
import pytest
import pickle
import torch
import torchvision
from torchvision import transforms
import numpy as np
from ..quantus.helpers.models import LeNet, LeNetTF, ConvNet1D, ConvNet1DTF
from tensorflow.keras.models import load_model
import tensorflow as tf
from ..quantus.helpers.p... | 31.142857 | 108 | 0.678274 | 668 | 4,796 | 4.706587 | 0.167665 | 0.057888 | 0.084606 | 0.102417 | 0.82729 | 0.82729 | 0.785623 | 0.785623 | 0.763359 | 0.753817 | 0 | 0.038931 | 0.180567 | 4,796 | 153 | 109 | 31.346405 | 0.761069 | 0.206422 | 0 | 0.495327 | 0 | 0 | 0.110904 | 0.040426 | 0 | 0 | 0 | 0.006536 | 0 | 1 | 0.130841 | false | 0 | 0.121495 | 0.065421 | 0.383178 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc677d88e3b3fc9c2a343d7ddc8a668f0883fe5c | 130 | py | Python | wouso/core/qpool/utils.py | AlexandruGhergut/wouso | f26244ff58ae626808ae8c58ccc93d21f9f2666f | [
"Apache-2.0"
] | null | null | null | wouso/core/qpool/utils.py | AlexandruGhergut/wouso | f26244ff58ae626808ae8c58ccc93d21f9f2666f | [
"Apache-2.0"
] | null | null | null | wouso/core/qpool/utils.py | AlexandruGhergut/wouso | f26244ff58ae626808ae8c58ccc93d21f9f2666f | [
"Apache-2.0"
] | null | null | null | def validate_dynq_code():
# TODO: code should be validate here so we don't break the site
# by executing bad code
pass | 32.5 | 67 | 0.7 | 22 | 130 | 4.045455 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246154 | 130 | 4 | 68 | 32.5 | 0.908163 | 0.638462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
bcb16de1865678cd57cee7aecee5010b9564b5ce | 103 | py | Python | calc.py | sharmaronak79/python | 7d000a613087e522005083453630272bb48bb2ed | [
"MIT"
] | null | null | null | calc.py | sharmaronak79/python | 7d000a613087e522005083453630272bb48bb2ed | [
"MIT"
] | null | null | null | calc.py | sharmaronak79/python | 7d000a613087e522005083453630272bb48bb2ed | [
"MIT"
] | null | null | null | print(4/2) #float divison
print(4//2)
print(2//4)
print(2**3)
print(2**0.5)
print(round(2**0.5,4)) | 17.166667 | 26 | 0.601942 | 24 | 103 | 2.583333 | 0.375 | 0.290323 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 0.116505 | 103 | 6 | 27 | 17.166667 | 0.516484 | 0.126214 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
bcf719dac4edc27b175347a93aaa71fefab241ef | 27 | py | Python | detro/testing/__init__.py | Peiiii/detro | 26d74468d7554dc20b2a2daf7ec5009302c820f2 | [
"MIT"
] | null | null | null | detro/testing/__init__.py | Peiiii/detro | 26d74468d7554dc20b2a2daf7ec5009302c820f2 | [
"MIT"
] | null | null | null | detro/testing/__init__.py | Peiiii/detro | 26d74468d7554dc20b2a2daf7ec5009302c820f2 | [
"MIT"
] | null | null | null | from .test_demo import test | 27 | 27 | 0.851852 | 5 | 27 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bcfbeaeee834d76243b77d77b0e598fdfb67fa05 | 44 | py | Python | mlbench_core/dataset/imagerecognition/pytorch/__init__.py | c4dt/mlbench-core | 8a5cf6e00ff4535b2aea23b213241858a5ee5f00 | [
"Apache-2.0"
] | 14 | 2018-11-12T17:23:32.000Z | 2022-03-11T22:45:49.000Z | mlbench_core/dataset/imagerecognition/pytorch/__init__.py | c4dt/mlbench-core | 8a5cf6e00ff4535b2aea23b213241858a5ee5f00 | [
"Apache-2.0"
] | 330 | 2018-10-09T12:15:56.000Z | 2022-03-01T18:07:40.000Z | mlbench_core/dataset/imagerecognition/pytorch/__init__.py | c4dt/mlbench-core | 8a5cf6e00ff4535b2aea23b213241858a5ee5f00 | [
"Apache-2.0"
] | 9 | 2019-02-28T19:11:58.000Z | 2020-08-17T17:52:37.000Z | from .dataloader import CIFAR10V1, Imagenet
| 22 | 43 | 0.840909 | 5 | 44 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.113636 | 44 | 1 | 44 | 44 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c29a6467627ab27c11c3906985e9518147d2683 | 13,375 | py | Python | mayan/apps/document_indexing/tests/test_views.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | null | null | null | mayan/apps/document_indexing/tests/test_views.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 10 | 2021-03-20T00:01:17.000Z | 2022-03-12T00:48:43.000Z | mayan/apps/document_indexing/tests/test_views.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 1 | 2020-12-17T02:35:09.000Z | 2020-12-17T02:35:09.000Z | from mayan.apps.documents.permissions import permission_document_view
from mayan.apps.documents.tests.base import (
GenericDocumentViewTestCase, GenericViewTestCase
)
from ..models import Index, IndexInstanceNode
from ..permissions import (
permission_document_indexing_create, permission_document_indexing_dele... | 34.471649 | 80 | 0.714542 | 1,530 | 13,375 | 5.784314 | 0.069935 | 0.125085 | 0.063164 | 0.068701 | 0.841017 | 0.811864 | 0.79322 | 0.761808 | 0.73096 | 0.692429 | 0 | 0.011326 | 0.21443 | 13,375 | 387 | 81 | 34.560724 | 0.83097 | 0.020336 | 0 | 0.617241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186207 | 1 | 0.1 | false | 0 | 0.02069 | 0 | 0.137931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c2e7869aa70dce0fa33a85645992452d4c9672d | 2,700 | py | Python | tests/test_services/test_add_user_to_cloudspace/actions.py | openvcloud/ays_templates | 7ce0bd5844ccfaefae554dd0dedeab2730a365cc | [
"Apache-2.0"
] | null | null | null | tests/test_services/test_add_user_to_cloudspace/actions.py | openvcloud/ays_templates | 7ce0bd5844ccfaefae554dd0dedeab2730a365cc | [
"Apache-2.0"
] | 10 | 2017-10-25T13:23:23.000Z | 2018-03-28T16:00:06.000Z | tests/test_services/test_add_user_to_cloudspace/actions.py | openvcloud/ays_templates | 7ce0bd5844ccfaefae554dd0dedeab2730a365cc | [
"Apache-2.0"
] | null | null | null | def test_user_access(job):
import requests, sys, time
service = job.service
RESULT_OK = 'OK : %s ' % service.name
RESULT_FAILED = 'FAILED : %s'
RESULT_ERROR = 'ERROR : %s'
failures = []
try:
service.model.data.result = RESULT_OK
g8client = service.producers.get('g8client')[0]... | 47.368421 | 149 | 0.625556 | 337 | 2,700 | 4.875371 | 0.290801 | 0.0493 | 0.05843 | 0.080341 | 0.76689 | 0.76689 | 0.725502 | 0.725502 | 0.725502 | 0.725502 | 0 | 0.007843 | 0.244444 | 2,700 | 56 | 150 | 48.214286 | 0.797549 | 0.037407 | 0 | 0.792453 | 0 | 0 | 0.137851 | 0.018483 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037736 | false | 0 | 0.037736 | 0 | 0.075472 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c3860a087a6be84c15d3743c8d7453ba4865c79 | 23,191 | py | Python | otcclient/plugins/elb/elb.py | tholor/python-otcclient | ad9168475242fd4270cf945a0ab00f73dfc0c62a | [
"MIT"
] | 16 | 2016-06-22T06:39:17.000Z | 2018-10-04T14:11:18.000Z | otcclient/plugins/elb/elb.py | tholor/python-otcclient | ad9168475242fd4270cf945a0ab00f73dfc0c62a | [
"MIT"
] | 37 | 2016-07-01T03:57:58.000Z | 2019-01-07T11:09:55.000Z | otcclient/plugins/elb/elb.py | tholor/python-otcclient | ad9168475242fd4270cf945a0ab00f73dfc0c62a | [
"MIT"
] | 24 | 2016-06-30T10:16:29.000Z | 2019-09-13T11:54:32.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of OTC Tool released under MIT license.
# Copyright (C) 2016 T-systems Kurt Garloff, Zsolt Nagy
from otcclient.core.OtcConfig import OtcConfig
from otcclient.utils import utils_http
from otcclient.utils import utils_templates
from otcclient.core.otcpl... | 50.415217 | 414 | 0.609504 | 2,518 | 23,191 | 5.452343 | 0.098888 | 0.028844 | 0.025493 | 0.038459 | 0.824532 | 0.805375 | 0.782723 | 0.756647 | 0.748561 | 0.724452 | 0 | 0.006878 | 0.266526 | 23,191 | 459 | 415 | 50.525054 | 0.800235 | 0.069208 | 0 | 0.675824 | 0 | 0.024725 | 0.318861 | 0.029641 | 0.008242 | 0 | 0 | 0 | 0 | 1 | 0.063187 | false | 0.002747 | 0.021978 | 0.005495 | 0.148352 | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c54f79ce2f3724fe0c4cde217656401cd794314 | 242 | py | Python | pk/data/parse/config_parser_extender.py | gwdgithubnom/ox-patient | cddf4fe381cb4506db8e0d62803dd2044cf7ad92 | [
"MIT"
] | null | null | null | pk/data/parse/config_parser_extender.py | gwdgithubnom/ox-patient | cddf4fe381cb4506db8e0d62803dd2044cf7ad92 | [
"MIT"
] | null | null | null | pk/data/parse/config_parser_extender.py | gwdgithubnom/ox-patient | cddf4fe381cb4506db8e0d62803dd2044cf7ad92 | [
"MIT"
] | 1 | 2021-04-14T00:45:38.000Z | 2021-04-14T00:45:38.000Z | import configparser
class CapitalCaseConfigParser(configparser.ConfigParser):
def __init__(self,defaults=None):
configparser.ConfigParser.__init__(self,defaults=None)
def optionxform(self, optionstr):
return optionstr
| 34.571429 | 62 | 0.772727 | 23 | 242 | 7.782609 | 0.521739 | 0.268156 | 0.178771 | 0.223464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14876 | 242 | 6 | 63 | 40.333333 | 0.868932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
9114e574e96d6640dde52367337404dafdb9c7de | 22 | py | Python | sbndprmdaq/digitizer/atsapi/__init__.py | marcodeltutto/SBNDPurityMonitorDAQ | 30258b70e7337ee753f5e1c4fff1f57397a4ae42 | [
"MIT"
] | null | null | null | sbndprmdaq/digitizer/atsapi/__init__.py | marcodeltutto/SBNDPurityMonitorDAQ | 30258b70e7337ee753f5e1c4fff1f57397a4ae42 | [
"MIT"
] | null | null | null | sbndprmdaq/digitizer/atsapi/__init__.py | marcodeltutto/SBNDPurityMonitorDAQ | 30258b70e7337ee753f5e1c4fff1f57397a4ae42 | [
"MIT"
] | null | null | null | from .atsapi import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9119dd5600b4dd964c155dfc3afc24fea21db175 | 49 | py | Python | src/taliesin/middleware/__init__.py | betodealmeida/taliesin | a0a60705690104feea79319d3a9013c0ceaf5f78 | [
"MIT"
] | 2 | 2022-01-04T19:44:00.000Z | 2022-01-05T04:26:35.000Z | src/taliesin/middleware/__init__.py | betodealmeida/taliesin | a0a60705690104feea79319d3a9013c0ceaf5f78 | [
"MIT"
] | null | null | null | src/taliesin/middleware/__init__.py | betodealmeida/taliesin | a0a60705690104feea79319d3a9013c0ceaf5f78 | [
"MIT"
] | null | null | null | from taliesin.middleware.auth.jwt import JWTAuth
| 24.5 | 48 | 0.857143 | 7 | 49 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9122344c736931d5862aa6bb0c98750c5627c31b | 10,171 | py | Python | tests/test_show.py | jorgefandinno/eclingo | 93554201963ad20dc242c841af32759236c93713 | [
"MIT"
] | 1 | 2022-01-24T18:34:59.000Z | 2022-01-24T18:34:59.000Z | tests/test_show.py | jorgefandinno/eclingo | 93554201963ad20dc242c841af32759236c93713 | [
"MIT"
] | null | null | null | tests/test_show.py | jorgefandinno/eclingo | 93554201963ad20dc242c841af32759236c93713 | [
"MIT"
] | null | null | null | import clingo
from clingo import ast as _ast
from clingo.ast import parse_string, Location, Position
from eclingo.util.groundprogram import *
from eclingo.internal_states import ShowStatement
from helper_test import helper as _helpler
from helper_test.helper_clingo import ClingoTestHelper
from helper_test.helper_pars... | 42.379167 | 160 | 0.46082 | 1,570 | 10,171 | 2.833758 | 0.070701 | 0.026972 | 0.171949 | 0.184311 | 0.77051 | 0.759497 | 0.743763 | 0.733423 | 0.724432 | 0.701956 | 0 | 0.034937 | 0.290827 | 10,171 | 240 | 161 | 42.379167 | 0.581866 | 0 | 0 | 0.553488 | 0 | 0.097674 | 0.504621 | 0.004817 | 0 | 0 | 0 | 0 | 0.246512 | 1 | 0.097674 | false | 0 | 0.04186 | 0 | 0.144186 | 0.009302 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
912b005759153fd0c72861690224e14201bddcce | 31,068 | py | Python | 2-svm/code/mapper.py | lukaselmer/ethz-data-mining | cb4215c202efc37f3626a25c8301a4ac36813493 | [
"MIT"
] | 2 | 2015-01-24T18:22:33.000Z | 2019-08-14T06:30:58.000Z | 2-svm/code/mapper.py | lukaselmer/ethz-data-mining | cb4215c202efc37f3626a25c8301a4ac36813493 | [
"MIT"
] | null | null | null | 2-svm/code/mapper.py | lukaselmer/ethz-data-mining | cb4215c202efc37f3626a25c8301a4ac36813493 | [
"MIT"
] | 2 | 2016-01-15T21:12:32.000Z | 2019-08-14T06:30:59.000Z | #!/usr/bin/env python2.7
import sys
import math
import numpy as np
import scipy
from sklearn import linear_model
from sklearn.svm import LinearSVC
from sklearn.kernel_approximation import SkewedChi2Sampler, RBFSampler, AdditiveChi2Sampler, Nystroem
#from sklearn.multiclass import OneVsRestClassifier
#from sklearn.svm... | 103.906355 | 9,181 | 0.742597 | 3,991 | 31,068 | 5.716863 | 0.349536 | 0.029979 | 0.020117 | 0.021651 | 0.117418 | 0.097695 | 0.092523 | 0.085247 | 0.068417 | 0.06548 | 0 | 0.685606 | 0.156495 | 31,068 | 298 | 9,182 | 104.255034 | 0.185034 | 0.212244 | 0 | 0.122951 | 0 | 0.016393 | 0.741161 | 0.669993 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081967 | false | 0.008197 | 0.065574 | 0.04918 | 0.221311 | 0.040984 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
91479fe1f0a471b61faab2f50a26a599e0f777db | 281 | py | Python | satef/alignment/impl/VecalignAlignmentFactory.py | kostrzmar/SATEF | b483b073f1ff3dd797413f212e26114ef93cfe08 | [
"MIT"
] | null | null | null | satef/alignment/impl/VecalignAlignmentFactory.py | kostrzmar/SATEF | b483b073f1ff3dd797413f212e26114ef93cfe08 | [
"MIT"
] | null | null | null | satef/alignment/impl/VecalignAlignmentFactory.py | kostrzmar/SATEF | b483b073f1ff3dd797413f212e26114ef93cfe08 | [
"MIT"
] | null | null | null | from alignment import AbstractAlignmentFactory
from alignment import AbstractAlignment
from alignment.impl import VecalignAlignment
class VecalignAlignmentFactory(AbstractAlignmentFactory):
def getAlignment(self) -> AbstractAlignment:
return VecalignAlignment()
| 31.222222 | 57 | 0.822064 | 22 | 281 | 10.5 | 0.590909 | 0.168831 | 0.164502 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13879 | 281 | 9 | 58 | 31.222222 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e68bdea0202a77f667d3f25dfafef8a5a6dbbbd7 | 163 | py | Python | main.py | sugaaloop/autotrader | 7d25debe40e047000cc73e61e5072c942205f1ee | [
"MIT"
] | null | null | null | main.py | sugaaloop/autotrader | 7d25debe40e047000cc73e61e5072c942205f1ee | [
"MIT"
] | null | null | null | main.py | sugaaloop/autotrader | 7d25debe40e047000cc73e61e5072c942205f1ee | [
"MIT"
] | null | null | null | # Autotrader
import os
import hug
from dotenv import load_dotenv
from autotrader import app
load_dotenv()
@hug.extend_api()
def init_app():
return [app]
| 10.1875 | 30 | 0.742331 | 24 | 163 | 4.875 | 0.541667 | 0.273504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184049 | 163 | 15 | 31 | 10.866667 | 0.879699 | 0.06135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.5 | 0.125 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e6cad2f2ac99e541cdefa8879741f041a0eb8b34 | 38 | py | Python | Python/alien_number.py | OluSure/Hacktoberfest2021-1 | ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea | [
"MIT"
] | 215 | 2021-10-01T08:18:16.000Z | 2022-03-29T04:12:03.000Z | Python/alien_number.py | OluSure/Hacktoberfest2021-1 | ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea | [
"MIT"
] | 51 | 2021-10-01T08:16:42.000Z | 2021-10-31T13:51:51.000Z | Python/alien_number.py | OluSure/Hacktoberfest2021-1 | ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea | [
"MIT"
] | 807 | 2021-10-01T08:11:45.000Z | 2021-11-21T18:57:09.000Z | import random
print(random.random())
| 9.5 | 22 | 0.763158 | 5 | 38 | 5.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 3 | 23 | 12.666667 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
e6d0bc0a3df362ee34badd7e993733cd30e7daea | 201 | py | Python | castling_rights.py | michaelmontelli/chess | a08daabeb6a096b2b3cc833467a233ace3730154 | [
"Unlicense"
] | null | null | null | castling_rights.py | michaelmontelli/chess | a08daabeb6a096b2b3cc833467a233ace3730154 | [
"Unlicense"
] | 1 | 2021-11-26T16:37:31.000Z | 2021-11-26T17:27:15.000Z | castling_rights.py | michaelmontelli/chess | a08daabeb6a096b2b3cc833467a233ace3730154 | [
"Unlicense"
] | null | null | null | class CastlingRights:
def __init__(self, can_castle_kingside, can_castle_queenside):
self.can_castle_kingside = can_castle_kingside
self.can_castle_queenside = can_castle_queenside
| 40.2 | 66 | 0.791045 | 25 | 201 | 5.72 | 0.36 | 0.377622 | 0.272727 | 0.293706 | 0.41958 | 0.41958 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159204 | 201 | 4 | 67 | 50.25 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6d43da801af9cdc03a959ccfe3a29b16281bf23 | 42 | py | Python | mango_blog/blogs/models/__init__.py | mangoru/mango_blog | c4c12e0bc9ac3fd7cc7b6887d5c03a6302fafd65 | [
"MIT"
] | null | null | null | mango_blog/blogs/models/__init__.py | mangoru/mango_blog | c4c12e0bc9ac3fd7cc7b6887d5c03a6302fafd65 | [
"MIT"
] | null | null | null | mango_blog/blogs/models/__init__.py | mangoru/mango_blog | c4c12e0bc9ac3fd7cc7b6887d5c03a6302fafd65 | [
"MIT"
] | null | null | null | from .posts import *
from .reads import *
| 14 | 20 | 0.714286 | 6 | 42 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc5320c3fe4c1e672dd54f4324df865a479392d0 | 290 | py | Python | fsetools/tests/test_fse_thermal_radiation.py | fsepy/fsetools | 6b6c647912551680109a84d8640b9cfbe7970970 | [
"Apache-2.0"
] | 1 | 2020-02-25T21:47:56.000Z | 2020-02-25T21:47:56.000Z | fsetools/tests/test_fse_thermal_radiation.py | fsepy/fsetools | 6b6c647912551680109a84d8640b9cfbe7970970 | [
"Apache-2.0"
] | 12 | 2020-02-24T10:10:57.000Z | 2020-09-18T11:18:08.000Z | fsetools/tests/test_fse_thermal_radiation.py | fsepy/fsetools | 6b6c647912551680109a84d8640b9cfbe7970970 | [
"Apache-2.0"
] | null | null | null | from fsetools.lib.fse_thermal_radiation import _test_phi_parallel_any_br187 as test_phi_parallel_any_br187
from fsetools.lib.fse_thermal_radiation import _test_phi_perpendicular_any_br187 as test_phi_perpendicular_any_br187
test_phi_parallel_any_br187()
test_phi_perpendicular_any_br187()
| 48.333333 | 116 | 0.92069 | 46 | 290 | 5.152174 | 0.304348 | 0.177215 | 0.189873 | 0.227848 | 1 | 0.396624 | 0.396624 | 0.396624 | 0.396624 | 0 | 0 | 0.065455 | 0.051724 | 290 | 5 | 117 | 58 | 0.796364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fc7565e77871e4e84d51f448e73612464e0f62c9 | 41 | py | Python | lang/py/cookbook/v2/source/cb2_18_9_sol_5.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_18_9_sol_5.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_18_9_sol_5.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | The loop ran 1 time
The loop ran 2 times
| 13.666667 | 20 | 0.756098 | 10 | 41 | 3.1 | 0.7 | 0.451613 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.243902 | 41 | 2 | 21 | 20.5 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc8fe416d6bb8df2507e3950fb92abe5d3911ee2 | 5,228 | py | Python | tests/test_dates.py | rbturnbull/aucpi | c07b968e279e36be5139fec9c979c426f5e8cb94 | [
"Apache-2.0"
] | null | null | null | tests/test_dates.py | rbturnbull/aucpi | c07b968e279e36be5139fec9c979c426f5e8cb94 | [
"Apache-2.0"
] | null | null | null | tests/test_dates.py | rbturnbull/aucpi | c07b968e279e36be5139fec9c979c426f5e8cb94 | [
"Apache-2.0"
] | null | null | null | import unittest
from unittest.mock import patch
from pathlib import Path
from datetime import datetime
import numpy as np
import pandas as pd
import modin.pandas as mpd
import modin.config as cfg
cfg.IsDebug.put(True)
from ausdex.dates import convert_date, date_time_to_decimal_year
class TestDates(unittest.TestCase... | 36.816901 | 88 | 0.608837 | 719 | 5,228 | 4.300417 | 0.122392 | 0.04075 | 0.035576 | 0.060479 | 0.831824 | 0.800453 | 0.794955 | 0.774903 | 0.727038 | 0.688228 | 0 | 0.134223 | 0.240436 | 5,228 | 141 | 89 | 37.078014 | 0.644422 | 0.067521 | 0 | 0.424779 | 0 | 0 | 0.091413 | 0 | 0 | 0 | 0 | 0 | 0.309735 | 1 | 0.159292 | false | 0 | 0.079646 | 0 | 0.256637 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc9552820cc4ba3d9d481dc49baa0fc0b6b1f550 | 127 | py | Python | core/hashbased/__init__.py | theogobinet/GS15 | 2d9c2566e184187bdb5fa5cf11a49cccedb2f913 | [
"MIT"
] | 14 | 2021-01-11T13:36:34.000Z | 2022-03-04T13:20:42.000Z | core/hashbased/__init__.py | theogobinet/GS15 | 2d9c2566e184187bdb5fa5cf11a49cccedb2f913 | [
"MIT"
] | null | null | null | core/hashbased/__init__.py | theogobinet/GS15 | 2d9c2566e184187bdb5fa5cf11a49cccedb2f913 | [
"MIT"
] | 3 | 2021-01-11T13:36:42.000Z | 2022-02-19T10:48:21.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# __init__.py
from . import blockchain as bk
from . import hashFunctions as hf
| 18.142857 | 33 | 0.685039 | 19 | 127 | 4.368421 | 0.842105 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0.173228 | 127 | 6 | 34 | 21.166667 | 0.771429 | 0.433071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d768d48b1b4eded53475256fe8324386fef39c8 | 212 | py | Python | Courses/ucb61a/lab/lab00/lab00.py | Master-Alcy/MyLearningSpot | 1160aed8e9acb0f7b99bd911adf5c3f08b87976b | [
"MIT"
] | 1 | 2019-04-21T19:19:12.000Z | 2019-04-21T19:19:12.000Z | Courses/ucb61a/lab/lab00/lab00.py | Master-Alcy/MyLearningSpot | 1160aed8e9acb0f7b99bd911adf5c3f08b87976b | [
"MIT"
] | null | null | null | Courses/ucb61a/lab/lab00/lab00.py | Master-Alcy/MyLearningSpot | 1160aed8e9acb0f7b99bd911adf5c3f08b87976b | [
"MIT"
] | null | null | null | def twenty_eighteen():
"""Come up with the most creative expression that evaluates to 2018,
using only numbers and the +, *, and - operators.
>>> twenty_eighteen()
2018
"""
return 2017+1
| 23.555556 | 72 | 0.641509 | 27 | 212 | 4.962963 | 0.814815 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082278 | 0.254717 | 212 | 8 | 73 | 26.5 | 0.765823 | 0.674528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5d89d4b3fc801e2a00eebdbd495bc6f1407d69ce | 827 | py | Python | tests/test_provider_cappyzawa_concourse.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | tests/test_provider_cappyzawa_concourse.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | tests/test_provider_cappyzawa_concourse.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # tests/test_provider_cappyzawa_concourse.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:14:28 UTC)
def test_provider_import():
import terrascript.provider.cappyzawa.concourse
def test_resource_import():
from terrascript.resource.cappyzawa.concourse import concourse_team
def test_dataso... | 28.517241 | 80 | 0.762999 | 107 | 827 | 5.766355 | 0.551402 | 0.175041 | 0.168558 | 0.179903 | 0.259319 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021246 | 0.146312 | 827 | 28 | 81 | 29.535714 | 0.852691 | 0.620314 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5dd3111444a93a069dfd5ac29ccc33dca04f4e98 | 117 | py | Python | skiski/__init__.py | esehara/skiski | 9c76ebb9a0cda97382b85180157b0bd5e2f62f71 | [
"MIT"
] | null | null | null | skiski/__init__.py | esehara/skiski | 9c76ebb9a0cda97382b85180157b0bd5e2f62f71 | [
"MIT"
] | 1 | 2016-05-20T04:30:25.000Z | 2016-05-20T20:41:28.000Z | skiski/__init__.py | esehara/skiski | 9c76ebb9a0cda97382b85180157b0bd5e2f62f71 | [
"MIT"
] | null | null | null | from skiski.base import V
from skiski.ski import S, K, I
from skiski.lib import B
from skiski.helper import Typename
| 23.4 | 34 | 0.794872 | 22 | 117 | 4.227273 | 0.590909 | 0.430108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 117 | 4 | 35 | 29.25 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f8e06e2133fb008944d711bce3230a93184c2528 | 1,071 | py | Python | opennmt/data/__init__.py | abumafrim/OpenNMT-tf | f14c05a7cb8b1b8f3a692d6fea3c12067bc3eb2c | [
"MIT"
] | 1 | 2020-10-15T11:13:45.000Z | 2020-10-15T11:13:45.000Z | opennmt/data/__init__.py | abumafrim/OpenNMT-tf | f14c05a7cb8b1b8f3a692d6fea3c12067bc3eb2c | [
"MIT"
] | null | null | null | opennmt/data/__init__.py | abumafrim/OpenNMT-tf | f14c05a7cb8b1b8f3a692d6fea3c12067bc3eb2c | [
"MIT"
] | 1 | 2021-04-14T14:12:24.000Z | 2021-04-14T14:12:24.000Z | """This module exposes classes and functions that help creating and processing data."""
from opennmt.data.dataset import batch_dataset
from opennmt.data.dataset import batch_sequence_dataset
from opennmt.data.dataset import filter_examples_by_length
from opennmt.data.dataset import filter_irregular_batches
from opennm... | 41.192308 | 87 | 0.86648 | 156 | 1,071 | 5.794872 | 0.320513 | 0.243363 | 0.331858 | 0.243363 | 0.630531 | 0.275442 | 0.073009 | 0 | 0 | 0 | 0 | 0 | 0.089636 | 1,071 | 25 | 88 | 42.84 | 0.927179 | 0.07563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f8e8b1ded8fb6eeb9ac4be88e55bd851ee889bf5 | 78 | py | Python | photovoltaic_efficiency/model.py | Minys233/SA-SPR | 9f312fdbfcd8401398719394c6f98dd83eefc6cf | [
"MIT"
] | 2 | 2020-04-01T15:07:05.000Z | 2021-08-01T20:55:46.000Z | photovoltaic_efficiency/model.py | VirginiaSabando/SA-SPR | 989a04f7c4c05ef16dda84e24dee9eab3ab4d5eb | [
"MIT"
] | 2 | 2020-04-01T22:09:15.000Z | 2021-05-09T07:33:20.000Z | photovoltaic_efficiency/model.py | VirginiaSabando/SA-SPR | 989a04f7c4c05ef16dda84e24dee9eab3ab4d5eb | [
"MIT"
] | 1 | 2019-12-19T15:57:02.000Z | 2019-12-19T15:57:02.000Z | from solubility.model import build_sa_bilstm_model, build_simple_bilstm_model
| 39 | 77 | 0.910256 | 12 | 78 | 5.416667 | 0.666667 | 0.338462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 78 | 1 | 78 | 78 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d1a44745e8bfe2ca9f8bb4f0e611d5d439fed20 | 6,241 | py | Python | src/cluster/calculate_tse/debug_tse.py | maximumSHOT-HSE/CurriculumLearning | bf5291812a9ec3feb083d3d84b579329781c8a6a | [
"MIT"
] | null | null | null | src/cluster/calculate_tse/debug_tse.py | maximumSHOT-HSE/CurriculumLearning | bf5291812a9ec3feb083d3d84b579329781c8a6a | [
"MIT"
] | null | null | null | src/cluster/calculate_tse/debug_tse.py | maximumSHOT-HSE/CurriculumLearning | bf5291812a9ec3feb083d3d84b579329781c8a6a | [
"MIT"
] | null | null | null | from transformers import BertForSequenceClassification
from tokenizers import normalizers, pre_tokenizers, Tokenizer, models, trainers
import datasets
from transformers import BertTokenizer, BertTokenizerFast, AutoTokenizer, AutoModelForSequenceClassification
from transformers import BertForSequenceClassification, Trai... | 53.801724 | 1,753 | 0.560167 | 1,193 | 6,241 | 2.839061 | 0.145013 | 0.259226 | 0.387954 | 0.516091 | 0.474461 | 0.422203 | 0.404488 | 0.397402 | 0.377916 | 0.367287 | 0 | 0.230949 | 0.247236 | 6,241 | 115 | 1,754 | 54.269565 | 0.489996 | 0.345137 | 0 | 0.025 | 0 | 0.05 | 0.219333 | 0.036555 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0375 | false | 0 | 0.1875 | 0 | 0.2875 | 0.175 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d2a6a4559954c20068f5f28cfc29459246205cc | 73 | py | Python | response/urls.py | qubitdigital/response | 9ac9d11f60d108739043697aa19478474cb94a09 | [
"MIT"
] | null | null | null | response/urls.py | qubitdigital/response | 9ac9d11f60d108739043697aa19478474cb94a09 | [
"MIT"
] | 9 | 2021-03-19T13:56:39.000Z | 2021-06-10T20:48:16.000Z | response/urls.py | qubitdigital/response | 9ac9d11f60d108739043697aa19478474cb94a09 | [
"MIT"
] | null | null | null |
from .core.urls import *
from .slack.urls import *
from .ui.urls import
| 14.6 | 25 | 0.726027 | 12 | 73 | 4.416667 | 0.5 | 0.566038 | 0.528302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 4 | 26 | 18.25 | 0.868852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5d4b3aee54fc53ec3f3e88ace125ecdf93bedcc3 | 39 | py | Python | neutpy/tools/__init__.py | gt-frc/neutpy | 4ae03fba5bdf34bd83ac0d88c5d6e53f3c708785 | [
"MIT"
] | null | null | null | neutpy/tools/__init__.py | gt-frc/neutpy | 4ae03fba5bdf34bd83ac0d88c5d6e53f3c708785 | [
"MIT"
] | 10 | 2020-08-05T21:29:02.000Z | 2020-10-17T02:08:11.000Z | neutpy/tools/__init__.py | gt-frc/neutpy | 4ae03fba5bdf34bd83ac0d88c5d6e53f3c708785 | [
"MIT"
] | 1 | 2021-12-03T11:46:15.000Z | 2021-12-03T11:46:15.000Z | #!/usr/bin/python
from .tools import * | 13 | 20 | 0.692308 | 6 | 39 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 3 | 20 | 13 | 0.794118 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5390319cfebeafc4a726009393b12a11dff2e867 | 934 | py | Python | python/testData/editing/pairedParenthesesMultipleCalls.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/editing/pairedParenthesesMultipleCalls.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/editing/pairedParenthesesMultipleCalls.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import unittest
class X(unittest.TestCase):
def test1(self):
self.assertEqual()
def test2(self):
self.assertEqual()
def test3(self):
self.assertEqual()
def test4(self):
self.assertEqual()
def test5(self):
self.assertEqual()
def test6(self):
s... | 16.678571 | 27 | 0.568522 | 96 | 934 | 5.53125 | 0.270833 | 0.271186 | 0.644068 | 0.704331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041991 | 0.311563 | 934 | 56 | 28 | 16.678571 | 0.783826 | 0 | 0 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.473684 | 1 | 0.473684 | false | 0 | 0.026316 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
53acc037768b6e44771db559db9cc95beb02ef04 | 21 | py | Python | pdbattach/pty/__init__.py | jschwinger233/pdbattach | 74d93b0d2e27722572097fb499d66c59b9b6751e | [
"MIT"
] | 15 | 2022-02-16T07:25:40.000Z | 2022-03-11T12:05:24.000Z | pdbattach/pty/__init__.py | jschwinger233/pdb | 74d93b0d2e27722572097fb499d66c59b9b6751e | [
"MIT"
] | 3 | 2022-03-07T15:01:06.000Z | 2022-03-07T15:19:26.000Z | pdbattach/pty/__init__.py | jschwinger233/pdb | 74d93b0d2e27722572097fb499d66c59b9b6751e | [
"MIT"
] | 1 | 2022-03-07T02:48:07.000Z | 2022-03-07T02:48:07.000Z | from .pty import Pty
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
53ce24a4c916e245890c22eada42004ac77076fd | 33,214 | py | Python | babel/messages/tests/frontend.py | vsajip/babel3 | c5fda2ddb6cb94cd77df3090781e243b01dfe6c0 | [
"BSD-3-Clause"
] | 1 | 2017-09-02T00:37:38.000Z | 2017-09-02T00:37:38.000Z | babel/messages/tests/frontend.py | vsajip/babel3 | c5fda2ddb6cb94cd77df3090781e243b01dfe6c0 | [
"BSD-3-Clause"
] | null | null | null | babel/messages/tests/frontend.py | vsajip/babel3 | c5fda2ddb6cb94cd77df3090781e243b01dfe6c0 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright (C) 2007-2011 Edgewall Software
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://babel.edgewall.org/wiki/License.
#
# This software consists... | 31.632381 | 97 | 0.645993 | 4,585 | 33,214 | 4.554417 | 0.087241 | 0.029164 | 0.011014 | 0.017288 | 0.819941 | 0.809357 | 0.798008 | 0.785509 | 0.775309 | 0.763337 | 0 | 0.021092 | 0.203499 | 33,214 | 1,049 | 98 | 31.662536 | 0.768248 | 0.026856 | 0 | 0.67316 | 0 | 0.002165 | 0.146884 | 0.023367 | 0.004329 | 0 | 0 | 0 | 0.121212 | 1 | 0.108225 | false | 0.002165 | 0.036797 | 0.015152 | 0.170996 | 0.006494 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53f82f57715e39fbb33fb97fb2a45ee27efb980d | 41 | py | Python | project_1/AJCNN/losses/__init__.py | kkaryl/AI6121-Computer_Vision | 94e333554f7d4b47e4f82bc0273e1f3de7f658b2 | [
"MIT"
] | 5 | 2018-04-03T10:24:04.000Z | 2020-01-16T08:04:12.000Z | project_1/AJCNN/losses/__init__.py | kkaryl/AI6121-Computer_Vision | 94e333554f7d4b47e4f82bc0273e1f3de7f658b2 | [
"MIT"
] | 1 | 2021-03-19T10:32:17.000Z | 2021-03-19T10:32:17.000Z | project_1/AJCNN/losses/__init__.py | kkaryl/AI6121-Computer_Vision | 94e333554f7d4b47e4f82bc0273e1f3de7f658b2 | [
"MIT"
] | 1 | 2020-07-20T02:09:12.000Z | 2020-07-20T02:09:12.000Z | from __future__ import absolute_import
| 10.25 | 38 | 0.853659 | 5 | 41 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 3 | 39 | 13.666667 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54d338a2d9225520c4c997127463a439a2f62fba | 125 | py | Python | torchplasma/blending/__init__.py | hdkai/Plasma | 1942d7fe5f6b41c9a16c8e2d1b6c7cf263307c39 | [
"Apache-2.0"
] | null | null | null | torchplasma/blending/__init__.py | hdkai/Plasma | 1942d7fe5f6b41c9a16c8e2d1b6c7cf263307c39 | [
"Apache-2.0"
] | null | null | null | torchplasma/blending/__init__.py | hdkai/Plasma | 1942d7fe5f6b41c9a16c8e2d1b6c7cf263307c39 | [
"Apache-2.0"
] | null | null | null | #
# Plasma
# Copyright (c) 2021 Yusuf Olokoba.
#
from .light import blend_soft_light
from .overlay import blend_overlay | 17.857143 | 37 | 0.744 | 17 | 125 | 5.294118 | 0.705882 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.184 | 125 | 7 | 38 | 17.857143 | 0.843137 | 0.336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54dd75a280e27b42901c40c01c8b64e21585d88f | 4,472 | py | Python | care/facility/models/mixins/permissions/patient.py | agzuniverse/care | 952babf5b394921fcdb4fd4b1405cb571261f322 | [
"MIT"
] | null | null | null | care/facility/models/mixins/permissions/patient.py | agzuniverse/care | 952babf5b394921fcdb4fd4b1405cb571261f322 | [
"MIT"
] | null | null | null | care/facility/models/mixins/permissions/patient.py | agzuniverse/care | 952babf5b394921fcdb4fd4b1405cb571261f322 | [
"MIT"
] | null | null | null | from care.facility.models import Facility, User
from care.facility.models.mixins.permissions.base import BasePermissionMixin
class PatientPermissionMixin(BasePermissionMixin):
@staticmethod
def has_write_permission(request):
return (
request.user.is_superuser
or request.user.ve... | 41.027523 | 120 | 0.578265 | 460 | 4,472 | 5.465217 | 0.121739 | 0.179395 | 0.128083 | 0.096261 | 0.836118 | 0.826571 | 0.826571 | 0.826571 | 0.826571 | 0.826571 | 0 | 0 | 0.328936 | 4,472 | 108 | 121 | 41.407407 | 0.837721 | 0 | 0 | 0.653061 | 0 | 0 | 0.034436 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081633 | false | 0 | 0.020408 | 0.071429 | 0.204082 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
073312339199ea84566250641169159b4a1464ec | 5,216 | py | Python | tests/ctl/service_account_test.py | TimYagan/merou | 3d3cd5e17eab5ffe259f7b41a925af6f47ec8988 | [
"Apache-2.0"
] | null | null | null | tests/ctl/service_account_test.py | TimYagan/merou | 3d3cd5e17eab5ffe259f7b41a925af6f47ec8988 | [
"Apache-2.0"
] | null | null | null | tests/ctl/service_account_test.py | TimYagan/merou | 3d3cd5e17eab5ffe259f7b41a925af6f47ec8988 | [
"Apache-2.0"
] | null | null | null | from typing import TYPE_CHECKING
import pytest
from grouper.constants import USER_ADMIN
from grouper.group_service_account import get_service_accounts
from grouper.models.group import Group
from grouper.models.service_account import ServiceAccount
from tests.ctl_util import run_ctl
if TYPE_CHECKING:
from tests.s... | 33.435897 | 92 | 0.62615 | 632 | 5,216 | 5.026899 | 0.128165 | 0.154234 | 0.061379 | 0.077746 | 0.796978 | 0.789424 | 0.779981 | 0.779981 | 0.739377 | 0.7356 | 0 | 0 | 0.249041 | 5,216 | 155 | 93 | 33.651613 | 0.81108 | 0.048313 | 0 | 0.771654 | 0 | 0 | 0.245458 | 0.057731 | 0 | 0 | 0 | 0 | 0.165354 | 1 | 0.03937 | false | 0 | 0.062992 | 0 | 0.102362 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.