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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a6eb4f0be39f2906e937b49e983c7b0bc6e76832 | 82 | py | Python | src/model/HMMComponents/__init__.py | ishine/Neural-HMM | c0bc23ab88f831173d2d4db29a84503b80c5cdc4 | [
"MIT"
] | 66 | 2021-11-06T10:29:15.000Z | 2022-03-18T08:36:08.000Z | src/model/HMMComponents/__init__.py | ishine/Neural-HMM | c0bc23ab88f831173d2d4db29a84503b80c5cdc4 | [
"MIT"
] | 8 | 2021-11-11T08:43:22.000Z | 2021-12-31T14:23:39.000Z | src/model/HMMComponents/__init__.py | ishine/Neural-HMM | c0bc23ab88f831173d2d4db29a84503b80c5cdc4 | [
"MIT"
] | 14 | 2021-11-02T03:38:37.000Z | 2022-02-21T10:47:19.000Z | from .EmissionModel import *
from .TransitionModel import *
from .Decoder import * | 27.333333 | 30 | 0.792683 | 9 | 82 | 7.222222 | 0.555556 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134146 | 82 | 3 | 31 | 27.333333 | 0.915493 | 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 |
a6ee209dc1e62f905394f5dabde8a3f4eeeb6b5b | 8,369 | py | Python | tests/test_ParameterContainer.py | thisisjl/DCASE2017-modified | 4755e712e3b53277120c142cc6c14f279cc396d4 | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | tests/test_ParameterContainer.py | thisisjl/DCASE2017-modified | 4755e712e3b53277120c142cc6c14f279cc396d4 | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | tests/test_ParameterContainer.py | thisisjl/DCASE2017-modified | 4755e712e3b53277120c142cc6c14f279cc396d4 | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | """ Unit tests for ParameterContainer """
import nose.tools
import sys
sys.path.append('..')
import json
import os
from dcase_framework.parameters import ParameterContainer, ParameterFile
import tempfile
def test_hash():
data_hash_target = 'be2ebe4cb85c65e7e679c55595c62446'
data1 = {
'field1': {
... | 30.543796 | 127 | 0.58179 | 1,006 | 8,369 | 4.668986 | 0.134195 | 0.111135 | 0.126464 | 0.090483 | 0.808388 | 0.763679 | 0.758569 | 0.758569 | 0.726634 | 0.708324 | 0 | 0.051631 | 0.245549 | 8,369 | 273 | 128 | 30.655678 | 0.692271 | 0.061298 | 0 | 0.587379 | 0 | 0 | 0.179864 | 0.016247 | 0 | 0 | 0 | 0 | 0.014563 | 1 | 0.024272 | false | 0 | 0.029126 | 0 | 0.053398 | 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 |
47025c000bcc5d8988ff1e08fb4e013923af8404 | 67 | py | Python | elm/utils/__init__.py | jinxu06/gsubsampling | 2e0cace553cf43835709a34a11f9c15b08c15004 | [
"Apache-2.0"
] | 12 | 2021-06-11T12:17:58.000Z | 2021-12-16T07:36:47.000Z | elm/utils/__init__.py | jinxu06/gsubsampling | 2e0cace553cf43835709a34a11f9c15b08c15004 | [
"Apache-2.0"
] | null | null | null | elm/utils/__init__.py | jinxu06/gsubsampling | 2e0cace553cf43835709a34a11f9c15b08c15004 | [
"Apache-2.0"
] | 1 | 2022-01-31T19:39:06.000Z | 2022-01-31T19:39:06.000Z | from .misc import *
from .visualize import *
from .group import * | 22.333333 | 24 | 0.716418 | 9 | 67 | 5.333333 | 0.555556 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 67 | 3 | 25 | 22.333333 | 0.888889 | 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 |
5b33a5b5dcf8fdc7f5613c68484c2665b0267020 | 2,350 | py | Python | Tests/test_action.py | tdvance/TextAdventureGame | 2326086723f667ff7d7dd6e0257c9136f481782e | [
"MIT"
] | null | null | null | Tests/test_action.py | tdvance/TextAdventureGame | 2326086723f667ff7d7dd6e0257c9136f481782e | [
"MIT"
] | null | null | null | Tests/test_action.py | tdvance/TextAdventureGame | 2326086723f667ff7d7dd6e0257c9136f481782e | [
"MIT"
] | null | null | null | from unittest import TestCase
from command import Command
from output import Output
class TestAction(TestCase):
def test_init(self):
name = 'Test Name'
obj = Output.getinstance()
method = obj.print_sentence
help_text = 'The print_sentence method of the Output singleton'
in... | 31.756757 | 71 | 0.642553 | 277 | 2,350 | 5.292419 | 0.126354 | 0.098226 | 0.098226 | 0.130969 | 0.847885 | 0.806958 | 0.806958 | 0.768076 | 0.723056 | 0.69236 | 0 | 0.001179 | 0.278298 | 2,350 | 73 | 72 | 32.191781 | 0.863208 | 0 | 0 | 0.693548 | 0 | 0 | 0.137447 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 1 | 0.080645 | false | 0 | 0.048387 | 0 | 0.209677 | 0.129032 | 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 |
5b4dae67bd334d6b12f0b44226b7acaf8c8fc8ed | 168 | py | Python | keyboards.py | Asadbek07/aiogram-django-template | cd78e98b8667c1df35a552d2a5fccc869753afac | [
"MIT",
"Unlicense"
] | null | null | null | keyboards.py | Asadbek07/aiogram-django-template | cd78e98b8667c1df35a552d2a5fccc869753afac | [
"MIT",
"Unlicense"
] | null | null | null | keyboards.py | Asadbek07/aiogram-django-template | cd78e98b8667c1df35a552d2a5fccc869753afac | [
"MIT",
"Unlicense"
] | null | null | null | from aiogram.types import InlineKeyboardButton, InlineKeyboardMarkup
from aiogram.types.reply_keyboard import ReplyKeyboardMarkup, KeyboardButton
from loader import _
| 33.6 | 76 | 0.880952 | 17 | 168 | 8.588235 | 0.647059 | 0.150685 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 168 | 4 | 77 | 42 | 0.954248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5b6c674dd2d0cab3d9298be428e4317aa0f3915f | 117 | py | Python | src/hommmer/features/geometric_adstock.py | hammer-mt/hommmer | a02cb87841395f30911242a019f28f6ac15f27ec | [
"MIT"
] | 4 | 2021-11-09T21:27:30.000Z | 2021-11-23T00:38:20.000Z | src/hommmer/features/geometric_adstock.py | hammer-mt/hommmer | a02cb87841395f30911242a019f28f6ac15f27ec | [
"MIT"
] | null | null | null | src/hommmer/features/geometric_adstock.py | hammer-mt/hommmer | a02cb87841395f30911242a019f28f6ac15f27ec | [
"MIT"
] | null | null | null | import statsmodels.tsa.api as tsa
def geometric_adstock(x, theta):
return tsa.filters.recursive_filter(x, theta) | 29.25 | 49 | 0.786325 | 18 | 117 | 5 | 0.777778 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119658 | 117 | 4 | 49 | 29.25 | 0.873786 | 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 |
5b9a92019142552a8939fbbe2e05e76f952417a8 | 22,760 | py | Python | ugtm/ugtm_classes.py | sshojiro/ugtm | 3d1086e51a438ad9a791c4d6d8d4bf9d53400927 | [
"MIT"
] | 34 | 2018-05-05T18:06:30.000Z | 2022-02-26T13:38:25.000Z | ugtm/ugtm_classes.py | sshojiro/ugtm | 3d1086e51a438ad9a791c4d6d8d4bf9d53400927 | [
"MIT"
] | 12 | 2018-05-14T11:00:43.000Z | 2021-10-06T12:41:38.000Z | ugtm/ugtm_classes.py | sshojiro/ugtm | 3d1086e51a438ad9a791c4d6d8d4bf9d53400927 | [
"MIT"
] | 7 | 2018-07-27T18:34:03.000Z | 2021-04-11T12:21:53.000Z | """Defines classes for initial and optimized GTM model.
"""
# Authors: Helena A. Gaspar <hagax8@gmail.com>
# License: MIT
from __future__ import print_function
import numpy as np
from .ugtm_plot import plot
from .ugtm_plot import plotMultiPanelGTM
from .ugtm_plot import plot_html_GTM
from .ugtm_plot import plot_html_G... | 43.518164 | 83 | 0.596529 | 2,572 | 22,760 | 5.199844 | 0.115474 | 0.040377 | 0.027815 | 0.030133 | 0.816285 | 0.791611 | 0.785629 | 0.771422 | 0.760431 | 0.754598 | 0 | 0.005581 | 0.315114 | 22,760 | 522 | 84 | 43.601533 | 0.852386 | 0.579306 | 0 | 0.5 | 0 | 0 | 0.203203 | 0.06156 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.04 | 0 | 0.126667 | 0.18 | 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 |
5bbdde3a59589ea86333b362f357dffdf0c334d1 | 28,142 | py | Python | tfmiss/text/unicode_expand_test.py | shkarupa-alex/tfmiss | 4fe1bb3a47327c07711f910ee53319167032b6af | [
"MIT"
] | 1 | 2019-06-25T15:58:20.000Z | 2019-06-25T15:58:20.000Z | tfmiss/text/unicode_expand_test.py | shkarupa-alex/tfmiss | 4fe1bb3a47327c07711f910ee53319167032b6af | [
"MIT"
] | 1 | 2021-11-11T12:56:51.000Z | 2021-11-11T12:56:51.000Z | tfmiss/text/unicode_expand_test.py | shkarupa-alex/tfmiss | 4fe1bb3a47327c07711f910ee53319167032b6af | [
"MIT"
] | 2 | 2020-02-11T15:46:58.000Z | 2021-11-21T02:47:36.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import tensorflow as tf
from tensorflow.python.framework import test_util
from tfmiss.text.unicode_expand import char_ngrams, split_chars, split_words
@test_util.run_all_in_graph_and_e... | 39.469846 | 118 | 0.496624 | 2,857 | 28,142 | 4.79839 | 0.091355 | 0.081698 | 0.07878 | 0.072069 | 0.802028 | 0.781093 | 0.763075 | 0.73718 | 0.721132 | 0.692465 | 0 | 0.039758 | 0.277841 | 28,142 | 712 | 119 | 39.525281 | 0.63342 | 0.06922 | 0 | 0.553471 | 0 | 0 | 0.100716 | 0.001607 | 0 | 0 | 0 | 0 | 0.225141 | 1 | 0.095685 | false | 0 | 0.011257 | 0 | 0.11257 | 0.001876 | 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 |
f37f6cd583bd9f0e2ddbcf0c44dd29eb6f4a58a4 | 237 | py | Python | main_classify.py | vmonaco/pohmm-keystroke | dd48648a994744a730cae9c2eb608a5d89271d97 | [
"BSD-3-Clause"
] | 6 | 2016-08-28T17:21:12.000Z | 2021-07-27T05:05:34.000Z | main_classify.py | vmonaco/pohmm-keystroke | dd48648a994744a730cae9c2eb608a5d89271d97 | [
"BSD-3-Clause"
] | null | null | null | main_classify.py | vmonaco/pohmm-keystroke | dd48648a994744a730cae9c2eb608a5d89271d97 | [
"BSD-3-Clause"
] | null | null | null | from pohmm_keystroke.data import preprocess_raw_data, summary_datasets
from pohmm_keystroke.classify import classification_results
if __name__ == '__main__':
preprocess_raw_data()
summary_datasets()
classification_results()
| 29.625 | 70 | 0.818565 | 27 | 237 | 6.518519 | 0.555556 | 0.102273 | 0.204545 | 0.272727 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122363 | 237 | 7 | 71 | 33.857143 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.033755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f387c5c14fe9efb1f592ae853ed9c0f5d038aa23 | 40 | py | Python | problem_solving/algorithms/warmup/q4_a_very_big_sum.py | mxdzi/hackerrank | 4455f73e4479a4204b2e1167253f6a02351aa5b7 | [
"MIT"
] | null | null | null | problem_solving/algorithms/warmup/q4_a_very_big_sum.py | mxdzi/hackerrank | 4455f73e4479a4204b2e1167253f6a02351aa5b7 | [
"MIT"
] | null | null | null | problem_solving/algorithms/warmup/q4_a_very_big_sum.py | mxdzi/hackerrank | 4455f73e4479a4204b2e1167253f6a02351aa5b7 | [
"MIT"
] | null | null | null | def aVeryBigSum(ar):
return sum(ar)
| 13.333333 | 20 | 0.675 | 6 | 40 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 2 | 21 | 20 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3456fd174a382343ae50e2b369b269e929088c6d | 160 | py | Python | my_pkg/sub_module/__init__.py | Mr-Milk/python-hmr | 1a71f3413ea2374afc27919031db02e09f0f6b75 | [
"MIT"
] | 8 | 2021-01-20T13:28:23.000Z | 2021-08-20T21:35:46.000Z | my_pkg/sub_module/__init__.py | Mr-Milk/python-hmr | 1a71f3413ea2374afc27919031db02e09f0f6b75 | [
"MIT"
] | 5 | 2022-02-07T14:54:50.000Z | 2022-03-01T20:19:19.000Z | my_pkg/sub_module/__init__.py | Mr-Milk/python-hmr | 1a71f3413ea2374afc27919031db02e09f0f6b75 | [
"MIT"
] | null | null | null | from my_pkg.wrap import wrap
def sub_func():
return "Hi from sub_func"
@wrap
@wrap
def decorated_sub_func():
return 100
class SubClass:
v = 1
| 10 | 29 | 0.675 | 26 | 160 | 3.961538 | 0.615385 | 0.203884 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033058 | 0.24375 | 160 | 15 | 30 | 10.666667 | 0.818182 | 0 | 0 | 0.222222 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.222222 | 0.777778 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
cac70bf3000f17175ef31ee5f78e9cb480ec365a | 6,093 | py | Python | bandit_tools/test/test_custom_report.py | ehooo/bandit_rules | 0abbc491c994acb41d24e4d125e63e930ef2e166 | [
"Apache-2.0"
] | 1 | 2019-01-25T14:22:49.000Z | 2019-01-25T14:22:49.000Z | bandit_tools/test/test_custom_report.py | ehooo/bandit_rules | 0abbc491c994acb41d24e4d125e63e930ef2e166 | [
"Apache-2.0"
] | 1 | 2019-07-08T09:44:25.000Z | 2019-07-08T09:44:25.000Z | bandit_tools/test/test_custom_report.py | ehooo/bandit_tools | 0abbc491c994acb41d24e4d125e63e930ef2e166 | [
"Apache-2.0"
] | null | null | null | import bandit
import bandit_tools.custom_report
import pytest
import argparse
import sys
import os
BASE_PATH = os.path.dirname(os.path.abspath(__file__))
class ExitMock(object):
CALL_ARGS = None
CALL_KWARGS = None
def exit(self, *args, **kwargs):
self.CALL_ARGS = args
self.CALL_KWARGS =... | 35.841176 | 97 | 0.639586 | 774 | 6,093 | 4.755814 | 0.136951 | 0.038033 | 0.078511 | 0.106221 | 0.831296 | 0.814453 | 0.806303 | 0.769084 | 0.7373 | 0.7373 | 0 | 0.007199 | 0.224848 | 6,093 | 169 | 98 | 36.053254 | 0.772179 | 0 | 0 | 0.574803 | 0 | 0 | 0.147054 | 0.003611 | 0 | 0 | 0 | 0 | 0.181102 | 1 | 0.133858 | false | 0 | 0.055118 | 0.007874 | 0.220472 | 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 |
cae9ca19a2865fde5af69fc4a6952d42e357a93e | 263 | py | Python | clients/python/SolviceRoutingClient/api/__init__.py | solvice/solvice-routing-client | cdaedaf47d202965549c9e2b7d9102d292c91d5b | [
"MIT"
] | null | null | null | clients/python/SolviceRoutingClient/api/__init__.py | solvice/solvice-routing-client | cdaedaf47d202965549c9e2b7d9102d292c91d5b | [
"MIT"
] | null | null | null | clients/python/SolviceRoutingClient/api/__init__.py | solvice/solvice-routing-client | cdaedaf47d202965549c9e2b7d9102d292c91d5b | [
"MIT"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from SolviceRoutingClient.api.jobs_api import JobsApi
from SolviceRoutingClient.api.routing_api import RoutingApi
from SolviceRoutingClient.api.solution_api import SolutionApi
| 29.222222 | 61 | 0.863118 | 33 | 263 | 6.636364 | 0.515152 | 0.328767 | 0.369863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004237 | 0.102662 | 263 | 8 | 62 | 32.875 | 0.923729 | 0.155894 | 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 | 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 |
1b7ede5b015b73560bb40af89292fe4eda04a12a | 31,578 | py | Python | msi_zarr_analysis/cli/entry.py | maxime915/msi_zarr_analysis | 6be3144318952e3e0a25d2e8be1eb0e2a1595f95 | [
"Apache-2.0"
] | null | null | null | msi_zarr_analysis/cli/entry.py | maxime915/msi_zarr_analysis | 6be3144318952e3e0a25d2e8be1eb0e2a1595f95 | [
"Apache-2.0"
] | null | null | null | msi_zarr_analysis/cli/entry.py | maxime915/msi_zarr_analysis | 6be3144318952e3e0a25d2e8be1eb0e2a1595f95 | [
"Apache-2.0"
] | null | null | null | "entry point module"
import json
import pathlib
from typing import Tuple
import click
from matplotlib import pyplot as plt
import numpy as np
import pandas as pd
import seaborn as sns
from msi_zarr_analysis.ml.dataset.cytomine_ms_overlay import (
CytomineTranslated,
CytomineTranslatedProgressiveBinningFactory... | 28.397482 | 109 | 0.643296 | 4,201 | 31,578 | 4.552726 | 0.094263 | 0.040834 | 0.021071 | 0.027554 | 0.803827 | 0.773502 | 0.754418 | 0.747673 | 0.743595 | 0.739046 | 0 | 0.010831 | 0.239819 | 31,578 | 1,111 | 110 | 28.423042 | 0.78592 | 0.037241 | 0 | 0.693446 | 0 | 0 | 0.165931 | 0.007346 | 0.001057 | 0 | 0 | 0.0009 | 0 | 1 | 0.011628 | false | 0 | 0.031712 | 0 | 0.044397 | 0.020085 | 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 |
1b8159bc65ba90ebcb65d37f9df3d7cd1b5db447 | 29 | py | Python | Aula07/bibliotecas/produtos.py | gutoffline/curso-python-2021 | 4a9a5f11188ad734402d1dafa7ea627179e7079b | [
"MIT"
] | null | null | null | Aula07/bibliotecas/produtos.py | gutoffline/curso-python-2021 | 4a9a5f11188ad734402d1dafa7ea627179e7079b | [
"MIT"
] | null | null | null | Aula07/bibliotecas/produtos.py | gutoffline/curso-python-2021 | 4a9a5f11188ad734402d1dafa7ea627179e7079b | [
"MIT"
] | null | null | null | print("Cadastro de produtos") | 29 | 29 | 0.793103 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 29 | 1 | 29 | 29 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 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 |
1b83c6cb01f7ebea88c4ad2dedadf62a62ed2fc9 | 59,747 | py | Python | pytests/tuqquery/tuq_join.py | couchbaselabs/testrunner-bharath | 96af90070da2140cc11c549db7403f5ea3b76d34 | [
"Apache-2.0"
] | 1 | 2020-08-31T18:51:45.000Z | 2020-08-31T18:51:45.000Z | pytests/tuqquery/tuq_join.py | couchbaselabs/testrunner-bharath | 96af90070da2140cc11c549db7403f5ea3b76d34 | [
"Apache-2.0"
] | null | null | null | pytests/tuqquery/tuq_join.py | couchbaselabs/testrunner-bharath | 96af90070da2140cc11c549db7403f5ea3b76d34 | [
"Apache-2.0"
] | 2 | 2020-07-24T07:12:01.000Z | 2022-03-17T23:43:28.000Z | import copy
from .tuq_sanity import QuerySanityTests
import time
from deepdiff import DeepDiff
JOIN_INNER = "INNER"
JOIN_LEFT = "LEFT"
JOIN_RIGHT = "RIGHT"
class JoinTests(QuerySanityTests):
def setUp(self):
try:
self.dataset = 'join'
super(JoinTests, self).setUp()
sel... | 67.587104 | 256 | 0.569819 | 7,389 | 59,747 | 4.337799 | 0.033563 | 0.088731 | 0.030887 | 0.046331 | 0.930675 | 0.92144 | 0.909428 | 0.896637 | 0.887059 | 0.871896 | 0 | 0.017715 | 0.311246 | 59,747 | 883 | 257 | 67.663647 | 0.761172 | 0.012001 | 0 | 0.675879 | 0 | 0.023869 | 0.251651 | 0.009804 | 0 | 0 | 0 | 0 | 0.057789 | 1 | 0.059045 | false | 0 | 0.005025 | 0 | 0.065327 | 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 |
9421f2270ea837b7b35d01cf3aa75cf399ddc1ad | 10,519 | py | Python | tests/test_basic.py | johanrhodin/aiorabbit | 182f5e905ff09b33caeb32563e66ec64ba636e0f | [
"BSD-3-Clause"
] | 17 | 2019-12-17T19:06:04.000Z | 2021-09-11T12:31:34.000Z | tests/test_basic.py | johanrhodin/aiorabbit | 182f5e905ff09b33caeb32563e66ec64ba636e0f | [
"BSD-3-Clause"
] | 11 | 2020-03-31T20:48:47.000Z | 2022-03-24T22:31:42.000Z | tests/test_basic.py | johanrhodin/aiorabbit | 182f5e905ff09b33caeb32563e66ec64ba636e0f | [
"BSD-3-Clause"
] | 6 | 2020-03-30T13:33:38.000Z | 2021-07-23T10:20:47.000Z | import uuid
from pamqp import body, commands, header
from aiorabbit import exceptions, message
from . import testing
class BasicAckTestCase(testing.ClientTestCase):
@testing.async_test
async def test_validation_errors(self):
await self.connect()
with self.assertRaises(TypeError):
... | 36.651568 | 79 | 0.671071 | 1,268 | 10,519 | 5.413249 | 0.09306 | 0.115385 | 0.144231 | 0.125291 | 0.826777 | 0.81148 | 0.796037 | 0.761364 | 0.728875 | 0.649038 | 0 | 0.006278 | 0.227778 | 10,519 | 286 | 80 | 36.77972 | 0.83873 | 0.001996 | 0 | 0.641921 | 0 | 0 | 0.009909 | 0 | 0 | 0 | 0 | 0 | 0.20524 | 1 | 0.0131 | false | 0 | 0.017467 | 0 | 0.074236 | 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 |
942ded5f042e03375b00b7ac2b5e2b238c44239d | 9,292 | py | Python | tests/test_game.py | dabreese00/clue-solver | 3b99778075882974459e1c75792e7d051b6fe20a | [
"MIT"
] | null | null | null | tests/test_game.py | dabreese00/clue-solver | 3b99778075882974459e1c75792e7d051b6fe20a | [
"MIT"
] | null | null | null | tests/test_game.py | dabreese00/clue-solver | 3b99778075882974459e1c75792e7d051b6fe20a | [
"MIT"
] | null | null | null | from app.cluegame import ClueRelationType, Game
import pytest
@pytest.fixture
def clue_game():
return Game(
[
"Colonel Mustard",
"Miss Scarlet",
"Professor Plum",
"Mrs. White",
"Mr. Green",
"Mrs. Peacock"
... | 29.498413 | 78 | 0.466207 | 899 | 9,292 | 4.627364 | 0.103448 | 0.105769 | 0.121154 | 0.076923 | 0.801923 | 0.778125 | 0.773798 | 0.748798 | 0.701202 | 0.675721 | 0 | 0.004968 | 0.415088 | 9,292 | 314 | 79 | 29.592357 | 0.760442 | 0 | 0 | 0.594982 | 0 | 0 | 0.162828 | 0 | 0 | 0 | 0 | 0 | 0.114695 | 1 | 0.028674 | false | 0.021505 | 0.007168 | 0.003584 | 0.039427 | 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 |
944e9901744a98499dad893d8db73c0c5f0f5206 | 443 | py | Python | solid/3-good-lsp.py | CtrlWebInc/montreal-django-tests | b7e9921d90574b68b4f7c036fb0e086ff8a065f1 | [
"MIT"
] | 1 | 2016-03-30T13:16:17.000Z | 2016-03-30T13:16:17.000Z | solid/3-good-lsp.py | CtrlWebInc/montreal-django-tests | b7e9921d90574b68b4f7c036fb0e086ff8a065f1 | [
"MIT"
] | null | null | null | solid/3-good-lsp.py | CtrlWebInc/montreal-django-tests | b7e9921d90574b68b4f7c036fb0e086ff8a065f1 | [
"MIT"
] | null | null | null | def can_quack(animal):
return animal.can_quack()
class Animal(object):
def can_quack(self):
pass
class Duck(Animal):
def can_quack(self):
return True
class Snake(Animal):
def can_quack(self):
return False
class Platypus(Animal):
def can_quack(self):
return Tru... | 15.275862 | 32 | 0.636569 | 58 | 443 | 4.568966 | 0.310345 | 0.271698 | 0.207547 | 0.226415 | 0.335849 | 0.335849 | 0.233962 | 0 | 0 | 0 | 0 | 0 | 0.243792 | 443 | 28 | 33 | 15.821429 | 0.791045 | 0 | 0 | 0.333333 | 0 | 0 | 0.018059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0.055556 | 0 | 0.222222 | 0.722222 | 0.166667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
946dfbba0ae57dbfac41d5e65cbb54f946487ab1 | 125 | py | Python | Basics/functions.py | caseysalvador/Python | 19bc762a123e98ebbac427c69ce58925e507b045 | [
"MIT"
] | null | null | null | Basics/functions.py | caseysalvador/Python | 19bc762a123e98ebbac427c69ce58925e507b045 | [
"MIT"
] | null | null | null | Basics/functions.py | caseysalvador/Python | 19bc762a123e98ebbac427c69ce58925e507b045 | [
"MIT"
] | null | null | null | # functions
def greet_user():
print('Hi there!')
print('Welcome aboard')
print("Start")
greet_user()
print("Finish") | 15.625 | 27 | 0.664 | 16 | 125 | 5.0625 | 0.6875 | 0.222222 | 0.345679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152 | 125 | 8 | 28 | 15.625 | 0.764151 | 0.072 | 0 | 0 | 0 | 0 | 0.295652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0 | 0 | 0.166667 | 0.666667 | 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 |
947dc2441c03034d4514c156fd4fa982e39202ad | 68 | py | Python | tests/factories/__init__.py | qubitdigital/response | 9ac9d11f60d108739043697aa19478474cb94a09 | [
"MIT"
] | null | null | null | tests/factories/__init__.py | qubitdigital/response | 9ac9d11f60d108739043697aa19478474cb94a09 | [
"MIT"
] | 9 | 2021-03-19T13:56:39.000Z | 2021-06-10T20:48:16.000Z | tests/factories/__init__.py | qubitdigital/response | 9ac9d11f60d108739043697aa19478474cb94a09 | [
"MIT"
] | null | null | null | from .incident import *
from .timeline import *
from .user import *
| 17 | 23 | 0.735294 | 9 | 68 | 5.555556 | 0.555556 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 68 | 3 | 24 | 22.666667 | 0.892857 | 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 |
84be5680a32fd56d38533fc201996b861b3d170f | 5,708 | py | Python | main.py | KTH-RPL-Planiacs/least-limiting-advisers | e2040736123e12e227b95fffe17b68c4a6e80b87 | [
"MIT"
] | null | null | null | main.py | KTH-RPL-Planiacs/least-limiting-advisers | e2040736123e12e227b95fffe17b68c4a6e80b87 | [
"MIT"
] | null | null | null | main.py | KTH-RPL-Planiacs/least-limiting-advisers | e2040736123e12e227b95fffe17b68c4a6e80b87 | [
"MIT"
] | null | null | null | from agent_synth_game import AgentSynthGame
from adviser_framework import AdviserFramework
from models.corridor import corridor_directions_mdp
from models.misc import *
from models.office_generator import *
def running_example():
agents = [AgentSynthGame(mdp=corridor_directions_mdp(r_id='A', init_state='end_l_fr'... | 41.664234 | 152 | 0.627715 | 815 | 5,708 | 4.116564 | 0.111656 | 0.012519 | 0.042921 | 0.032787 | 0.813115 | 0.800894 | 0.789866 | 0.752012 | 0.746647 | 0.691505 | 0 | 0.015607 | 0.236685 | 5,708 | 136 | 153 | 41.970588 | 0.754418 | 0.009285 | 0 | 0.609091 | 0 | 0 | 0.120531 | 0.042832 | 0 | 0 | 0 | 0 | 0.027273 | 1 | 0.072727 | false | 0 | 0.045455 | 0 | 0.190909 | 0.009091 | 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 |
84d2389be3e7aab748a864fdd31afd7ec8e0ef12 | 41 | py | Python | test/testVimpyKid.py | akakream/VimpyKid | e72491e6c60a4c77e8fb4c912d7625a8cb9dda51 | [
"MIT"
] | null | null | null | test/testVimpyKid.py | akakream/VimpyKid | e72491e6c60a4c77e8fb4c912d7625a8cb9dda51 | [
"MIT"
] | 2 | 2020-07-01T20:39:17.000Z | 2020-07-01T21:35:52.000Z | test/testVimpyKid.py | akakream/VimpyKid | e72491e6c60a4c77e8fb4c912d7625a8cb9dda51 | [
"MIT"
] | null | null | null | print('Hello World')
prit('Hello World')
| 13.666667 | 20 | 0.707317 | 6 | 41 | 4.833333 | 0.666667 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 2 | 21 | 20.5 | 0.783784 | 0 | 0 | 0 | 0 | 0 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ca72f8f2f3a311330cf4b048da2f4c626fde59e5 | 220 | py | Python | src/core/settings/rest.py | sfernandezf/dj-core | 1aff7cd674dad11f5cf6228d23f8623f8040950c | [
"Apache-2.0"
] | null | null | null | src/core/settings/rest.py | sfernandezf/dj-core | 1aff7cd674dad11f5cf6228d23f8623f8040950c | [
"Apache-2.0"
] | 6 | 2020-10-24T16:24:05.000Z | 2021-09-22T19:32:43.000Z | src/core/settings/rest.py | sfernandezf/dj-core | 1aff7cd674dad11f5cf6228d23f8623f8040950c | [
"Apache-2.0"
] | null | null | null | REST_FRAMEWORK = {
"DEFAULT_PERMISSION_CLASSES": ("rest_framework.permissions.IsAuthenticated",),
"DEFAULT_AUTHENTICATION_CLASSES": (
"rest_framework_simplejwt.authentication.JWTAuthentication",
),
}
| 31.428571 | 82 | 0.75 | 17 | 220 | 9.235294 | 0.588235 | 0.248408 | 0.254777 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 220 | 6 | 83 | 36.666667 | 0.826316 | 0 | 0 | 0 | 0 | 0 | 0.704545 | 0.704545 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ca774a99a97013eaf2fe0bed4e2d8201c10de9d4 | 28 | py | Python | helper/__init__.py | YACS-RCOS/yacs-BI | 6327976a46487a1fb1c4832f7998728072e01fec | [
"MIT"
] | null | null | null | helper/__init__.py | YACS-RCOS/yacs-BI | 6327976a46487a1fb1c4832f7998728072e01fec | [
"MIT"
] | 12 | 2018-01-28T16:02:55.000Z | 2018-04-07T20:44:51.000Z | helper/__init__.py | YACS-RCOS/yacs-BI | 6327976a46487a1fb1c4832f7998728072e01fec | [
"MIT"
] | 1 | 2018-02-10T05:38:15.000Z | 2018-02-10T05:38:15.000Z | from .error_handle import * | 28 | 28 | 0.785714 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 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 |
ca77f23c7ee7b1e1b86901efe16acd7b194a00b2 | 88 | py | Python | gnn/__init__.py | chaitanyarajasekhar/GNN | 5a4af2f48d3d6e8ed3a5854c3134eba060a55ca8 | [
"MIT"
] | null | null | null | gnn/__init__.py | chaitanyarajasekhar/GNN | 5a4af2f48d3d6e8ed3a5854c3134eba060a55ca8 | [
"MIT"
] | null | null | null | gnn/__init__.py | chaitanyarajasekhar/GNN | 5a4af2f48d3d6e8ed3a5854c3134eba060a55ca8 | [
"MIT"
] | 1 | 2019-04-22T17:29:42.000Z | 2019-04-22T17:29:42.000Z | from . import encoder
from . import decoder
from . import utils
from . import dynamical
| 17.6 | 23 | 0.772727 | 12 | 88 | 5.666667 | 0.5 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 4 | 24 | 22 | 0.944444 | 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 |
ca873e7a360d245eea44fd426dffb4a0482dc6fb | 69 | py | Python | src/odb/test/python/01-import_package_test.py | erictaur/OpenROAD | 438dbb41316fc7fe27e2c405078aa465395125ba | [
"BSD-3-Clause"
] | 525 | 2019-11-20T00:21:42.000Z | 2022-03-31T05:38:44.000Z | src/odb/test/python/01-import_package_test.py | erictaur/OpenROAD | 438dbb41316fc7fe27e2c405078aa465395125ba | [
"BSD-3-Clause"
] | 741 | 2019-11-20T15:19:38.000Z | 2022-03-31T23:09:17.000Z | src/odb/test/python/01-import_package_test.py | erictaur/OpenROAD | 438dbb41316fc7fe27e2c405078aa465395125ba | [
"BSD-3-Clause"
] | 215 | 2019-11-25T13:37:43.000Z | 2022-03-28T00:51:29.000Z | import opendbpy as odb
print('opendbpy package import successful!')
| 17.25 | 44 | 0.797101 | 9 | 69 | 6.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 69 | 3 | 45 | 23 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.507246 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
046e465613df22998a83bd8be8351a0df7dc6773 | 57,541 | py | Python | tests/server/test_routes_populate_queues.py | CuriBio/mantarray-desktop-app | e00ace0e8c04eca3ae79826c59a878b59e15f6ff | [
"MIT"
] | null | null | null | tests/server/test_routes_populate_queues.py | CuriBio/mantarray-desktop-app | e00ace0e8c04eca3ae79826c59a878b59e15f6ff | [
"MIT"
] | 253 | 2020-10-16T18:29:15.000Z | 2022-03-31T21:27:56.000Z | tests/server/test_routes_populate_queues.py | CuriBio/mantarray-desktop-app | e00ace0e8c04eca3ae79826c59a878b59e15f6ff | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
import json
from freezegun import freeze_time
from mantarray_desktop_app import COMPILED_EXE_BUILD_TIMESTAMP
from mantarray_desktop_app import create_magnetometer_config_dict
from mantarray_desktop_app import CURRENT_SOFTWARE_VERSION
from mantarray_desktop_app import MICRO_TO_BA... | 44.605426 | 131 | 0.785162 | 7,376 | 57,541 | 5.56833 | 0.045282 | 0.071241 | 0.031554 | 0.03321 | 0.866332 | 0.826987 | 0.796138 | 0.771864 | 0.747419 | 0.730595 | 0 | 0.010959 | 0.140474 | 57,541 | 1,289 | 132 | 44.640031 | 0.819483 | 0.004727 | 0 | 0.588448 | 0 | 0 | 0.185924 | 0.107125 | 0 | 0 | 0.00131 | 0 | 0.279783 | 1 | 0.035199 | false | 0 | 0.054152 | 0 | 0.08935 | 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 |
047db8025eb905bb3ca233622ea4d32d97fc8579 | 303 | py | Python | sandbox/SORT.py | daviddoret/pyxag | 6884c7e100d28c3ce6273248caa40eaeab920bc5 | [
"MIT"
] | 1 | 2019-10-27T15:56:27.000Z | 2019-10-27T15:56:27.000Z | sandbox/SORT.py | daviddoret/pynag | 6884c7e100d28c3ce6273248caa40eaeab920bc5 | [
"MIT"
] | 11 | 2019-11-04T18:21:16.000Z | 2019-11-07T03:22:41.000Z | sandbox/SORT.py | daviddoret/pynag | 6884c7e100d28c3ce6273248caa40eaeab920bc5 | [
"MIT"
] | null | null | null | from functions.get_nag_vertex_type import get_nag_vertex_type
from functions.get_nag_vertex_number import get_nag_vertex_number
def to_tuple(a,b):
return (a,b)
l = ['c0', 'c1', 'i1', 'n1', 'o1', 'i2', 'n2', 'n3']
print(sorted(l, key=lambda n: (get_nag_vertex_type(n), get_nag_vertex_number(n))))
| 30.3 | 82 | 0.726073 | 55 | 303 | 3.654545 | 0.509091 | 0.179104 | 0.358209 | 0.238806 | 0.248756 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02974 | 0.112211 | 303 | 9 | 83 | 33.666667 | 0.717472 | 0 | 0 | 0 | 0 | 0 | 0.052805 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0.166667 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
049639edfb6ad5b32fc782ef4a2de4b585d6d5a3 | 40 | py | Python | manm_cs/variables/__init__.py | hpi-epic/manm-cs | 042248799e3d07ba6267c5b67133dd121f5a7331 | [
"MIT"
] | null | null | null | manm_cs/variables/__init__.py | hpi-epic/manm-cs | 042248799e3d07ba6267c5b67133dd121f5a7331 | [
"MIT"
] | 11 | 2021-08-08T14:21:57.000Z | 2022-01-13T11:47:26.000Z | manm_cs/variables/__init__.py | hpi-epic/manm-cs | 042248799e3d07ba6267c5b67133dd121f5a7331 | [
"MIT"
] | null | null | null | from .variable_type import VariableType
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
04aa6da70949514d0e1d29b8f8f6e9fb265ca6c0 | 3,008 | py | Python | ran_words/func_class.py | medinadiegoeverardo/rand_words_package | ed3bb07428e7b0a6b5ab70f8820905b7536766fa | [
"MIT"
] | null | null | null | ran_words/func_class.py | medinadiegoeverardo/rand_words_package | ed3bb07428e7b0a6b5ab70f8820905b7536766fa | [
"MIT"
] | 3 | 2020-03-24T18:04:23.000Z | 2021-02-02T22:32:49.000Z | ran_words/func_class.py | medinadiegoeverardo/rand_words_package | ed3bb07428e7b0a6b5ab70f8820905b7536766fa | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
# import os
# file = input('file: ');
# filename, file_extension = os.path.splitext(file)
# if filename != 'webarchive' or 'txt':
with open('/Users/diego/Documents/LambdaUnit3/classes/words.webarchive') as inpt:
dictionary = inpt.read()
words = dictionary.splitlines()
c... | 35.809524 | 112 | 0.532247 | 338 | 3,008 | 4.553254 | 0.269231 | 0.077973 | 0.072775 | 0.046784 | 0.841455 | 0.841455 | 0.841455 | 0.841455 | 0.841455 | 0.841455 | 0 | 0.005263 | 0.368351 | 3,008 | 84 | 113 | 35.809524 | 0.804737 | 0.601396 | 0 | 0 | 0 | 0 | 0.057088 | 0.056137 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0.090909 | 0 | 0.363636 | 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 |
8e10d89697d7332121a4552926fa9efa7c32e48f | 39 | py | Python | test.py | yuzhangbit/xos_scripts | db8785034854013c8a4292b814b1dcd961277491 | [
"Apache-2.0"
] | null | null | null | test.py | yuzhangbit/xos_scripts | db8785034854013c8a4292b814b1dcd961277491 | [
"Apache-2.0"
] | null | null | null | test.py | yuzhangbit/xos_scripts | db8785034854013c8a4292b814b1dcd961277491 | [
"Apache-2.0"
] | null | null | null | print("The python script is working.")
| 19.5 | 38 | 0.74359 | 6 | 39 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0.74359 | 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 |
f3cbdd42050f13ee2c46f72b2bb363f82c3f146d | 88 | py | Python | netbox_dns/views/__init__.py | peteeckel/netbox-dns | 8e2e1b16ffbeb19606bc13e6d668cb27a300eb9c | [
"MIT"
] | null | null | null | netbox_dns/views/__init__.py | peteeckel/netbox-dns | 8e2e1b16ffbeb19606bc13e6d668cb27a300eb9c | [
"MIT"
] | null | null | null | netbox_dns/views/__init__.py | peteeckel/netbox-dns | 8e2e1b16ffbeb19606bc13e6d668cb27a300eb9c | [
"MIT"
] | null | null | null | from .view import *
from .zone import *
from .nameserver import *
from .record import *
| 17.6 | 25 | 0.727273 | 12 | 88 | 5.333333 | 0.5 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 4 | 26 | 22 | 0.888889 | 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 |
f3cfeab6c0ab4311a4e600fd7387ef6e29075c95 | 125 | py | Python | src/Lib/site-packages/pygame/time.py | litie/brython | 05cb92912a2c7fd2b393881c271471f39c01fec2 | [
"BSD-3-Clause"
] | 1 | 2019-12-18T04:58:34.000Z | 2019-12-18T04:58:34.000Z | src/Lib/site-packages/pygame/time.py | litie/brython | 05cb92912a2c7fd2b393881c271471f39c01fec2 | [
"BSD-3-Clause"
] | null | null | null | src/Lib/site-packages/pygame/time.py | litie/brython | 05cb92912a2c7fd2b393881c271471f39c01fec2 | [
"BSD-3-Clause"
] | null | null | null | class _clock():
def __init__(self):
pass
def tick(self, framerate):
pass
def Clock():
return _clock()
| 11.363636 | 28 | 0.592 | 15 | 125 | 4.533333 | 0.6 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288 | 125 | 10 | 29 | 12.5 | 0.764045 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.285714 | 0 | 0.142857 | 0.714286 | 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 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
6d22ec4cda857cac7b418b66ebe0250bf2feb15e | 375 | py | Python | src/masonite/presets/PresetsCapsule.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 35 | 2018-01-08T01:20:16.000Z | 2018-02-06T02:37:14.000Z | src/masonite/presets/PresetsCapsule.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 55 | 2018-01-03T02:42:03.000Z | 2018-02-06T13:35:54.000Z | src/masonite/presets/PresetsCapsule.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 4 | 2018-01-08T13:13:14.000Z | 2018-01-12T19:35:32.000Z | class PresetsCapsule:
def __init__(self):
self.presets = {}
def add(self, preset):
self.presets.update({preset.key: preset})
return self
def get_presets(self):
return self.presets.values()
def get_presets_keys(self):
return self.presets.keys()
def run(self... | 22.058824 | 49 | 0.616 | 46 | 375 | 4.869565 | 0.347826 | 0.245536 | 0.227679 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264 | 375 | 16 | 50 | 23.4375 | 0.811594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0 | 0.25 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
edb439a659c8d8427ff6f4f0194f2d9a70c34629 | 45 | py | Python | supergsl/plugins/builtin/providers/__init__.py | rmcl/supergsl | d0851ab1e2201a30ff0e8862c56fc302a686117d | [
"MIT"
] | 1 | 2021-09-09T00:15:37.000Z | 2021-09-09T00:15:37.000Z | supergsl/plugins/builtin/providers/__init__.py | rmcl/supergsl | d0851ab1e2201a30ff0e8862c56fc302a686117d | [
"MIT"
] | 43 | 2020-11-08T23:40:23.000Z | 2022-03-26T23:44:33.000Z | supergsl/plugins/builtin/providers/__init__.py | rmcl/supergsl | d0851ab1e2201a30ff0e8862c56fc302a686117d | [
"MIT"
] | null | null | null | from .synbiohub import SynBioHubPartProvider
| 22.5 | 44 | 0.888889 | 4 | 45 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.97561 | 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 |
edc5e624374b6dbc303347d95dd14a7b808e24e2 | 54 | py | Python | shellfoundry/decorators/__init__.py | p-sherratt/shellfoundry | d1f35a31123b9e701c801345fb633b6fda5420b7 | [
"Apache-2.0"
] | null | null | null | shellfoundry/decorators/__init__.py | p-sherratt/shellfoundry | d1f35a31123b9e701c801345fb633b6fda5420b7 | [
"Apache-2.0"
] | 1 | 2021-03-25T23:21:02.000Z | 2021-03-25T23:21:02.000Z | shellfoundry/decorators/__init__.py | p-sherratt/shellfoundry | d1f35a31123b9e701c801345fb633b6fda5420b7 | [
"Apache-2.0"
] | null | null | null | from .version_check import shellfoundry_version_check
| 27 | 53 | 0.907407 | 7 | 54 | 6.571429 | 0.714286 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 54 | 1 | 54 | 54 | 0.92 | 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 |
b640c44b82bf70a78cfbe7ff3d3e8cb527af3751 | 12,791 | py | Python | allocation/tests/test_allocation_solver_baskets.py | SuviVappula/tilavarauspalvelu-core | ad7dec36e392a7b2927e2f825c3b0eb29b700793 | [
"MIT"
] | null | null | null | allocation/tests/test_allocation_solver_baskets.py | SuviVappula/tilavarauspalvelu-core | ad7dec36e392a7b2927e2f825c3b0eb29b700793 | [
"MIT"
] | 90 | 2020-11-13T07:42:32.000Z | 2022-03-29T08:54:20.000Z | allocation/tests/test_allocation_solver_baskets.py | SuviVappula/tilavarauspalvelu-core | ad7dec36e392a7b2927e2f825c3b0eb29b700793 | [
"MIT"
] | 8 | 2021-02-10T11:31:22.000Z | 2022-01-28T14:33:47.000Z | import pytest
from assertpy import assert_that
from allocation.allocation_data_builder import AllocationDataBuilder
from allocation.allocation_solver import AllocationSolver
@pytest.mark.django_db
@pytest.mark.parametrize(
"multiple_applications",
(
[
{
"applications": [
... | 29.404598 | 81 | 0.476898 | 1,038 | 12,791 | 5.495183 | 0.100193 | 0.143058 | 0.115708 | 0.087658 | 0.903401 | 0.900771 | 0.900771 | 0.900771 | 0.900771 | 0.900771 | 0 | 0.03351 | 0.426081 | 12,791 | 434 | 82 | 29.47235 | 0.743495 | 0.007583 | 0 | 0.690289 | 0 | 0 | 0.085966 | 0.011583 | 0 | 0 | 0 | 0.002304 | 0.036745 | 1 | 0.018373 | false | 0 | 0.010499 | 0 | 0.028871 | 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 |
b6b50fe627b3b494291fbeb953561fb0d891a504 | 135 | py | Python | helper.py | triplejberger/Queue | 0d0a62dc8d690abe2ddadc6c425bec36108bae38 | [
"MIT"
] | null | null | null | helper.py | triplejberger/Queue | 0d0a62dc8d690abe2ddadc6c425bec36108bae38 | [
"MIT"
] | null | null | null | helper.py | triplejberger/Queue | 0d0a62dc8d690abe2ddadc6c425bec36108bae38 | [
"MIT"
] | null | null | null | import datetime
def get_readable_time_from_ingame_timestamp(ingame_time):
return str(datetime.timedelta(milliseconds=ingame_time)) | 33.75 | 60 | 0.859259 | 18 | 135 | 6.055556 | 0.722222 | 0.183486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 135 | 4 | 60 | 33.75 | 0.872 | 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 |
fcb219b56d8b2f149bc0a23de6e203efd939138e | 79 | py | Python | acq4/devices/MicroManagerCamera/__init__.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 47 | 2015-01-05T16:18:10.000Z | 2022-03-16T13:09:30.000Z | acq4/devices/MicroManagerCamera/__init__.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 48 | 2015-04-19T16:51:41.000Z | 2022-03-31T14:48:16.000Z | acq4/devices/MicroManagerCamera/__init__.py | sensapex/acq4 | 9561ba73caff42c609bd02270527858433862ad8 | [
"MIT"
] | 32 | 2015-01-15T14:11:49.000Z | 2021-07-15T13:44:52.000Z | from __future__ import print_function
from .mmcamera import MicroManagerCamera
| 26.333333 | 40 | 0.886076 | 9 | 79 | 7.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 79 | 2 | 41 | 39.5 | 0.915493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
fce1d3e3b736429b3e1673aa4db4fff66ab4b2e6 | 69 | py | Python | pineboolib/qt3_widgets/qmenu.py | deavid/pineboo | acc96ab6d5b8bb182990af6dea4bf0986af15549 | [
"MIT"
] | 2 | 2015-09-19T16:54:49.000Z | 2016-09-12T08:06:29.000Z | pineboolib/qt3_widgets/qmenu.py | deavid/pineboo | acc96ab6d5b8bb182990af6dea4bf0986af15549 | [
"MIT"
] | 1 | 2017-08-14T17:07:14.000Z | 2017-08-15T00:22:47.000Z | pineboolib/qt3_widgets/qmenu.py | deavid/pineboo | acc96ab6d5b8bb182990af6dea4bf0986af15549 | [
"MIT"
] | 9 | 2015-01-15T18:15:42.000Z | 2019-05-05T18:53:00.000Z | from PyQt5 import QtWidgets
class QMenu(QtWidgets.QMenu):
pass
| 11.5 | 29 | 0.753623 | 9 | 69 | 5.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.188406 | 69 | 5 | 30 | 13.8 | 0.910714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fcede839cccf2d99e02ad9540cf0b5f56791194a | 7,631 | py | Python | Section_6_BlueWhale/ml/rl/test/gridworld/test_gridworld_parametric.py | PacktPublishing/Hands-On-Deep-Learning-with-Caffe2 | 0c9fd6beee481c95fea127c3190f8018d62669e0 | [
"MIT"
] | 7 | 2018-12-29T15:38:59.000Z | 2021-11-08T13:10:36.000Z | Section_6_BlueWhale/ml/rl/test/gridworld/test_gridworld_parametric.py | PacktPublishing/Hands-On-Deep-Learning-with-Caffe2 | 0c9fd6beee481c95fea127c3190f8018d62669e0 | [
"MIT"
] | null | null | null | Section_6_BlueWhale/ml/rl/test/gridworld/test_gridworld_parametric.py | PacktPublishing/Hands-On-Deep-Learning-with-Caffe2 | 0c9fd6beee481c95fea127c3190f8018d62669e0 | [
"MIT"
] | 2 | 2020-01-25T20:58:34.000Z | 2020-08-01T10:44:49.000Z | #!/usr/bin/env python3
import random
import unittest
import numpy as np
from ml.rl.test.gridworld.gridworld_base import DISCOUNT
from ml.rl.test.gridworld.gridworld_continuous import GridworldContinuous
from ml.rl.test.gridworld.gridworld_continuous_enum import GridworldContinuousEnum
from ml.rl.test.gridworld.gridwo... | 36.864734 | 88 | 0.636614 | 735 | 7,631 | 6.439456 | 0.165986 | 0.021973 | 0.038031 | 0.057469 | 0.817241 | 0.817241 | 0.804564 | 0.777731 | 0.773505 | 0.773505 | 0 | 0.022146 | 0.278076 | 7,631 | 206 | 89 | 37.043689 | 0.836994 | 0.016905 | 0 | 0.689655 | 0 | 0 | 0.007468 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 1 | 0.057471 | false | 0 | 0.057471 | 0.011494 | 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 |
fcf30b9cf2632f75436ab1b9722644da0a5d1310 | 270 | py | Python | flask_toolkit/shared/domain_service.py | Creditas/flask-toolkit | 830354b4e2c0f9fdac1d000dcc760226b704628a | [
"MIT"
] | 3 | 2018-07-31T16:11:17.000Z | 2021-08-14T17:03:44.000Z | flask_toolkit/shared/domain_service.py | Creditas/flask-toolkit | 830354b4e2c0f9fdac1d000dcc760226b704628a | [
"MIT"
] | 6 | 2018-07-11T14:34:09.000Z | 2019-11-29T13:53:13.000Z | flask_toolkit/shared/domain_service.py | Creditas/flask-toolkit | 830354b4e2c0f9fdac1d000dcc760226b704628a | [
"MIT"
] | null | null | null | class DomainService:
def process_request(self, *args, **kwargs):
raise NotImplementedError(
"process_request() not implemented by DomainService class")
def execute(self, *args, **kwargs):
return self.process_request(*args, **kwargs)
| 33.75 | 71 | 0.674074 | 28 | 270 | 6.392857 | 0.535714 | 0.234637 | 0.156425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214815 | 270 | 7 | 72 | 38.571429 | 0.84434 | 0 | 0 | 0 | 0 | 0 | 0.207407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1e0ae59cee691c753f85a7ef0e00d9334a076349 | 92 | py | Python | record/function.py | Vipul-Cariappa/Expenses-Reccorder-Web | 77ebe93db7f9ea0d767435ac120642c72504e7ad | [
"MIT"
] | null | null | null | record/function.py | Vipul-Cariappa/Expenses-Reccorder-Web | 77ebe93db7f9ea0d767435ac120642c72504e7ad | [
"MIT"
] | null | null | null | record/function.py | Vipul-Cariappa/Expenses-Reccorder-Web | 77ebe93db7f9ea0d767435ac120642c72504e7ad | [
"MIT"
] | null | null | null | from .models import Group
def get_groups(user):
return Group.objects.filter(users=user) | 23 | 43 | 0.771739 | 14 | 92 | 5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 92 | 4 | 43 | 23 | 0.875 | 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 |
1e6619abe43d15af3cd500053434586ba4935d99 | 94 | py | Python | tsfm/__init__.py | tlawrence3/bplogofuntest | 26b90eb9ec604f73e2f5df3548646906bf9f6a6d | [
"MIT"
] | 9 | 2016-01-17T16:23:04.000Z | 2020-06-09T04:16:22.000Z | tsfm/__init__.py | tlawrence3/bplogofuntest | 26b90eb9ec604f73e2f5df3548646906bf9f6a6d | [
"MIT"
] | 7 | 2019-01-18T03:41:16.000Z | 2019-06-29T01:56:32.000Z | skgof/__init__.py | wrwrwr/scikit-gof | b950572758b9ebe38b9ea954ccc360d55cdf9c39 | [
"MIT"
] | 6 | 2018-02-02T13:31:44.000Z | 2021-02-09T16:49:09.000Z | from .ecdfgof import ad_test, cvm_test, ks_test
__all__ = ('ad_test', 'cvm_test', 'ks_test')
| 23.5 | 47 | 0.723404 | 16 | 94 | 3.625 | 0.5 | 0.206897 | 0.310345 | 0.448276 | 0.655172 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 94 | 3 | 48 | 31.333333 | 0.707317 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bf54e3896cf8769bbad6ada33a4b3ff2dd887abd | 42,000 | py | Python | report/dddddddedd.py | CalvinNeo/PyGeo | 80848b941e86fa40e7e42d8083596601061109da | [
"Apache-2.0"
] | 2 | 2016-02-23T11:25:50.000Z | 2016-03-07T07:33:39.000Z | report/dddddddedd.py | CalvinNeo/PyGeo | 80848b941e86fa40e7e42d8083596601061109da | [
"Apache-2.0"
] | null | null | null | report/dddddddedd.py | CalvinNeo/PyGeo | 80848b941e86fa40e7e42d8083596601061109da | [
"Apache-2.0"
] | 1 | 2019-01-04T17:41:52.000Z | 2019-01-04T17:41:52.000Z | config {'origin_points': 5, 'pointsame_threshold': 2.0, 'same_threshold': 0.08, 'filter_count': 65, 'most_combination_points': 35, 'split_by_count': True, 'slice_count': 4, 'filter_rate': 0.08, 'step_adarate': 1.0, 'max_adarate': 2.0, 'weak_abort': 30, 'ori_adarate': 2.0}
--------------------------------------
before i... | 108.527132 | 272 | 0.805048 | 7,862 | 42,000 | 4.078988 | 0.116255 | 0.095419 | 0.116343 | 0.17004 | 0.794287 | 0.772834 | 0.687112 | 0.686239 | 0.664661 | 0.639028 | 0 | 0.300717 | 0.116476 | 42,000 | 386 | 273 | 108.80829 | 0.56349 | 0 | 0 | 0.103627 | 0 | 0 | 0.003833 | 0.000548 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bf761768e515589e005672d1477b69c88ea62441 | 195 | py | Python | stimuli/Python/one_file_per_item/en/51_# math_if 15.py | ALFA-group/neural_program_comprehension | 0253911f376cf282af5a5627e38e0a591ad38860 | [
"MIT"
] | 6 | 2020-04-24T08:16:51.000Z | 2021-11-01T09:50:46.000Z | stimuli/Python/one_file_per_item/en/51_# math_if 15.py | ALFA-group/neural_program_comprehension | 0253911f376cf282af5a5627e38e0a591ad38860 | [
"MIT"
] | null | null | null | stimuli/Python/one_file_per_item/en/51_# math_if 15.py | ALFA-group/neural_program_comprehension | 0253911f376cf282af5a5627e38e0a591ad38860 | [
"MIT"
] | 4 | 2021-02-17T20:21:31.000Z | 2022-02-14T12:43:23.000Z | apples, oranges = 3, 8
if apples == oranges:
print(apples + oranges)
elif abs(apples - oranges) == 5 or (apples + oranges) == 5:
print(apples*oranges)
else:
print(apples - oranges)
| 19.5 | 59 | 0.641026 | 26 | 195 | 4.807692 | 0.423077 | 0.728 | 0.432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.220513 | 195 | 9 | 60 | 21.666667 | 0.796053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.428571 | 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 |
bf8fd2bee491031227b05c64504900070e467746 | 45 | py | Python | naslib/search_spaces/core/__init__.py | az2104nas/sztnb302alsr2bs21on | 6084c82c59a4a89498a191d96c231f47df10317d | [
"Apache-2.0"
] | null | null | null | naslib/search_spaces/core/__init__.py | az2104nas/sztnb302alsr2bs21on | 6084c82c59a4a89498a191d96c231f47df10317d | [
"Apache-2.0"
] | 4 | 2021-06-08T21:32:32.000Z | 2022-03-12T00:29:33.000Z | naslib/search_spaces/core/__init__.py | az2104nas/sztnb302alsr2bs21on | 6084c82c59a4a89498a191d96c231f47df10317d | [
"Apache-2.0"
] | null | null | null | from .graphs import EdgeOpGraph, NodeOpGraph
| 22.5 | 44 | 0.844444 | 5 | 45 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bfd1d0ff63cca16ec33b14418bb30a11af0ca34d | 58 | py | Python | src/gimelstudio/utils/__init__.py | jmherbst/GimelStudio | c3d6718015a25129d43efdbead1babd9eea9e2ff | [
"Apache-2.0"
] | null | null | null | src/gimelstudio/utils/__init__.py | jmherbst/GimelStudio | c3d6718015a25129d43efdbead1babd9eea9e2ff | [
"Apache-2.0"
] | null | null | null | src/gimelstudio/utils/__init__.py | jmherbst/GimelStudio | c3d6718015a25129d43efdbead1babd9eea9e2ff | [
"Apache-2.0"
] | null | null | null | from .exceptions import NodeExistsError, NodeNotFoundError | 58 | 58 | 0.896552 | 5 | 58 | 10.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 58 | 1 | 58 | 58 | 0.962963 | 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 |
44abeeb8dd81c3e1c519896079ae3fe123a94b0c | 102 | py | Python | apps/routes/__init__.py | FerdinaKusumah/excel2ap | 92f7e5103d2aca40d26b18092b2eaaf09e1eeae4 | [
"MIT"
] | 11 | 2020-03-25T18:18:03.000Z | 2021-05-27T17:58:35.000Z | apps/routes/__init__.py | FerdinaKusumah/excel2ap | 92f7e5103d2aca40d26b18092b2eaaf09e1eeae4 | [
"MIT"
] | null | null | null | apps/routes/__init__.py | FerdinaKusumah/excel2ap | 92f7e5103d2aca40d26b18092b2eaaf09e1eeae4 | [
"MIT"
] | 1 | 2020-03-26T05:26:44.000Z | 2020-03-26T05:26:44.000Z | from apps.routes.csv import router as csv_router
from apps.routes.excel import router as excel_router
| 34 | 52 | 0.843137 | 18 | 102 | 4.666667 | 0.444444 | 0.190476 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 102 | 2 | 53 | 51 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15a797c7c0cfd4881b37b2b98b03106b542351a8 | 186 | py | Python | src/atcoder/arc126/c/sol_0.py | kagemeka/competitive-programming | c70fe481bcd518f507b885fc9234691d8ce63171 | [
"MIT"
] | 1 | 2021-07-11T03:20:10.000Z | 2021-07-11T03:20:10.000Z | src/atcoder/arc126/c/sol_0.py | kagemeka/competitive-programming | c70fe481bcd518f507b885fc9234691d8ce63171 | [
"MIT"
] | 39 | 2021-07-10T05:21:09.000Z | 2021-12-15T06:10:12.000Z | src/atcoder/arc126/c/sol_0.py | kagemeka/competitive-programming | c70fe481bcd518f507b885fc9234691d8ce63171 | [
"MIT"
] | null | null | null | import typing
import sys
import numpy as np
import numba as nb
def solve() -> typing.NoReturn:
...
def main() -> typing.NoReturn:
n, k = map(int, input().split())
main() | 11.625 | 34 | 0.623656 | 27 | 186 | 4.296296 | 0.666667 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231183 | 186 | 16 | 35 | 11.625 | 0.811189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.444444 | 0 | 0.666667 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ecb033d51a4c5ecb8decb92637403a7f4003cbd5 | 122 | py | Python | pertemuan_9/4_Final_App/app/models/__init__.py | Muhammad-Yunus/Flask-Web-Development | c13e3fda30151b1155242abe4532d5f4d7bc120e | [
"Apache-2.0"
] | null | null | null | pertemuan_9/4_Final_App/app/models/__init__.py | Muhammad-Yunus/Flask-Web-Development | c13e3fda30151b1155242abe4532d5f4d7bc120e | [
"Apache-2.0"
] | null | null | null | pertemuan_9/4_Final_App/app/models/__init__.py | Muhammad-Yunus/Flask-Web-Development | c13e3fda30151b1155242abe4532d5f4d7bc120e | [
"Apache-2.0"
] | null | null | null | from .. import db
from datetime import datetime
from flask_security import UserMixin
from flask_security import RoleMixin | 30.5 | 37 | 0.852459 | 17 | 122 | 6 | 0.470588 | 0.176471 | 0.333333 | 0.45098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 122 | 4 | 37 | 30.5 | 0.962264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
01dfccfd12cb1a2cf3ea3847ff79d2e74b6b0da0 | 116 | py | Python | calculadora de juros/tempCodeRunnerFile.py | PedroEduardoSS/projetos-python | fbf2614a048d82902f99f3299e2244f34ea1025f | [
"MIT"
] | null | null | null | calculadora de juros/tempCodeRunnerFile.py | PedroEduardoSS/projetos-python | fbf2614a048d82902f99f3299e2244f34ea1025f | [
"MIT"
] | null | null | null | calculadora de juros/tempCodeRunnerFile.py | PedroEduardoSS/projetos-python | fbf2614a048d82902f99f3299e2244f34ea1025f | [
"MIT"
] | null | null | null | self.montante = self.capital * ((1 + self.taxa)**self.tempo)
self.juros_total = self.montante - self.capital | 58 | 60 | 0.681034 | 16 | 116 | 4.875 | 0.5 | 0.307692 | 0.410256 | 0.589744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.163793 | 116 | 2 | 61 | 58 | 0.793814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
17709b0dec2c5fb6a3a09fba054abb1b672eae3e | 95,187 | py | Python | Battleship Game/main.py | ntdai95/Personal-Projects | 1168a41a4fca19218b5be42ae756e8ef6bac9895 | [
"MIT"
] | 3 | 2021-06-19T04:42:00.000Z | 2021-09-08T06:18:21.000Z | BattleshipGame (Python)/main.py | ntdai95-1565490/Personal-Projects | 4c66e60760293bd3497c0c34cda508fdabf37b89 | [
"MIT"
] | null | null | null | BattleshipGame (Python)/main.py | ntdai95-1565490/Personal-Projects | 4c66e60760293bd3497c0c34cda508fdabf37b89 | [
"MIT"
] | null | null | null | import sys
from os import path
import pygame as pg
import random
import time
import pickle
from settings import *
from sprites import *
class PickleHighScore:
def __init__(self, list_of_highscores):
self.list_of_highscores = list_of_highscores
def saving_highscore_pickle(self):
with open(".h... | 72.002269 | 378 | 0.646286 | 13,428 | 95,187 | 4.232574 | 0.030235 | 0.037371 | 0.056127 | 0.079951 | 0.901698 | 0.880531 | 0.849565 | 0.808674 | 0.77549 | 0.747198 | 0 | 0.021794 | 0.253312 | 95,187 | 1,322 | 379 | 72.002269 | 0.777854 | 0.002942 | 0 | 0.521548 | 0 | 0.010554 | 0.045711 | 0.00273 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044855 | false | 0 | 0.007036 | 0 | 0.065963 | 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 |
17876d21dcbda00dacc616ff43bedbde7824142a | 67 | py | Python | simsiam/__init__.py | isaaccorley/simsiam-pytorch | 2570656caa1101e2839abdcff94ed546c61dd7f3 | [
"MIT"
] | 6 | 2021-05-19T15:09:42.000Z | 2022-02-01T11:24:11.000Z | simsiam/__init__.py | isaaccorley/simsiam-pytorch | 2570656caa1101e2839abdcff94ed546c61dd7f3 | [
"MIT"
] | 1 | 2020-12-08T01:14:53.000Z | 2020-12-08T01:14:53.000Z | simsiam/__init__.py | IsaacCorley/simsiam-pytorch | 2570656caa1101e2839abdcff94ed546c61dd7f3 | [
"MIT"
] | 4 | 2021-08-28T17:06:42.000Z | 2022-03-23T06:00:48.000Z | from . import losses
from . import models
from . import transforms
| 16.75 | 24 | 0.776119 | 9 | 67 | 5.777778 | 0.555556 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 3 | 25 | 22.333333 | 0.945455 | 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 |
bd57d2687bc948e63dd88306e9d435bbbb5a7978 | 19 | py | Python | PaddleCV/video/models/tsn/__init__.py | suytingwan/models | ccdbfe77d071cc19b55fb9f4b738912e35d982ef | [
"Apache-2.0"
] | 8,360 | 2019-01-18T10:46:45.000Z | 2022-03-31T14:50:02.000Z | PaddleCV/video/models/tsn/__init__.py | suytingwan/models | ccdbfe77d071cc19b55fb9f4b738912e35d982ef | [
"Apache-2.0"
] | 1,158 | 2019-04-11T09:22:43.000Z | 2022-03-31T12:12:09.000Z | PaddleCV/video/models/tsn/__init__.py | suytingwan/models | ccdbfe77d071cc19b55fb9f4b738912e35d982ef | [
"Apache-2.0"
] | 1,677 | 2019-04-09T15:07:40.000Z | 2022-03-31T06:41:10.000Z | from .tsn import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 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 |
bd7ee638db77bb005afcb30369075d46893707e9 | 545 | py | Python | kolibri/core/auth/errors.py | chrislun16/kolibri | 58568d5d7917af273b5dcc4914d7e076e258b35c | [
"MIT"
] | 2 | 2021-05-13T10:20:46.000Z | 2021-11-15T12:31:03.000Z | kolibri/core/auth/errors.py | Priyaraj17/kolibri | 6d600213871e8a748209870b508dd97a505907c1 | [
"MIT"
] | null | null | null | kolibri/core/auth/errors.py | Priyaraj17/kolibri | 6d600213871e8a748209870b508dd97a505907c1 | [
"MIT"
] | null | null | null | from kolibri.core.errors import KolibriError
class InvalidRoleKind(KolibriError):
pass
class UserDoesNotHaveRoleError(KolibriError):
pass
class UserHasRoleOnlyIndirectlyThroughHierarchyError(KolibriError):
pass
class UserIsNotFacilityUser(KolibriError):
pass
class UserIsNotMemberError(KolibriE... | 16.029412 | 68 | 0.812844 | 38 | 545 | 11.657895 | 0.421053 | 0.288939 | 0.331828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13945 | 545 | 33 | 69 | 16.515152 | 0.944563 | 0 | 0 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.470588 | 0.058824 | 0 | 0.529412 | 0 | 0 | 0 | 1 | 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 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
bd87721bb6f9c907debe3ffd7775d138c9c6279d | 133 | py | Python | feature/__init__.py | zeroized/DeepRec-torch | 2957f65501243107284f3a43735b77b3e89ce684 | [
"MIT"
] | 29 | 2020-06-09T16:41:21.000Z | 2022-03-23T02:21:25.000Z | feature/__init__.py | zeroized/DeepRec-torch | 2957f65501243107284f3a43735b77b3e89ce684 | [
"MIT"
] | null | null | null | feature/__init__.py | zeroized/DeepRec-torch | 2957f65501243107284f3a43735b77b3e89ce684 | [
"MIT"
] | 5 | 2020-06-09T16:41:24.000Z | 2022-01-27T01:24:14.000Z | from feature.feature import ContinuousFeature, CategoricalFeature, MultiCategoryFeature
from feature.feature_meta import FeatureMeta
| 44.333333 | 87 | 0.894737 | 13 | 133 | 9.076923 | 0.615385 | 0.186441 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075188 | 133 | 2 | 88 | 66.5 | 0.95935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bdb40cc63896eee7f2e0b5647b448d6221cc5fd5 | 2,157 | py | Python | thomann/lookup_hub/migrations/0003_auto_20210729_1146.py | aybry/thomann | f2904bca2932c6d2135a9dc96cab308274344ffa | [
"MIT"
] | null | null | null | thomann/lookup_hub/migrations/0003_auto_20210729_1146.py | aybry/thomann | f2904bca2932c6d2135a9dc96cab308274344ffa | [
"MIT"
] | null | null | null | thomann/lookup_hub/migrations/0003_auto_20210729_1146.py | aybry/thomann | f2904bca2932c6d2135a9dc96cab308274344ffa | [
"MIT"
] | null | null | null | # Generated by Django 3.2.5 on 2021-07-29 11:46
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('lookup_hub', '0002_add_dictionary'),
]
operations = [
migrations.AlterModelOptions(
name='category',
options={'order... | 31.720588 | 82 | 0.546592 | 208 | 2,157 | 5.504808 | 0.274038 | 0.174672 | 0.218341 | 0.253275 | 0.717904 | 0.717904 | 0.717904 | 0.670742 | 0.670742 | 0.670742 | 0 | 0.030675 | 0.319889 | 2,157 | 67 | 83 | 32.19403 | 0.74983 | 0.020862 | 0 | 0.639344 | 1 | 0 | 0.093839 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016393 | 0 | 0.065574 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
da3cfa30641d5ce199f090861d53419ed200fcb8 | 44 | py | Python | hypixelio/models/skyblock/bazaar/__init__.py | FoxNerdSaysMoo/HypixelIO | aca8fd6535c0afb2bb733172db2dcbd68590118d | [
"MIT"
] | 16 | 2020-10-28T01:49:31.000Z | 2022-03-13T23:19:31.000Z | hypixelio/models/skyblock/bazaar/__init__.py | FoxNerdSaysMoo/HypixelIO | aca8fd6535c0afb2bb733172db2dcbd68590118d | [
"MIT"
] | 20 | 2021-03-17T07:32:14.000Z | 2022-03-07T02:48:00.000Z | hypixelio/models/skyblock/bazaar/__init__.py | FoxNerdSaysMoo/HypixelIO | aca8fd6535c0afb2bb733172db2dcbd68590118d | [
"MIT"
] | 5 | 2020-10-21T13:53:27.000Z | 2021-09-02T15:47:45.000Z | from .skyblock_bazaar import SkyblockBazaar
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da5a30b9808e9b018392482479413691a1d5c56e | 5,426 | py | Python | ph5/core/tests/test_experiment.py | iris-edu-int/PH5 | 2056191ec3db1dbcbbd18facba56750d3c5cc5b4 | [
"MIT"
] | 21 | 2016-12-07T20:09:31.000Z | 2022-03-07T22:23:57.000Z | ph5/core/tests/test_experiment.py | iris-edu-int/PH5 | 2056191ec3db1dbcbbd18facba56750d3c5cc5b4 | [
"MIT"
] | 395 | 2016-11-03T03:43:55.000Z | 2022-03-08T20:54:22.000Z | ph5/core/tests/test_experiment.py | iris-edu-int/PH5 | 2056191ec3db1dbcbbd18facba56750d3c5cc5b4 | [
"MIT"
] | 6 | 2016-10-25T22:22:38.000Z | 2021-05-10T18:19:45.000Z | '''
Tests for experiment
'''
import os
import unittest
from ph5.core import ph5api, experiment
from ph5.core.tests.test_base import LogTestCase, TempDirTestCase
class TestExperiment_srm(TempDirTestCase, LogTestCase):
def tearDown(self):
self.ph5_object.ph5close()
super(TestExperiment_srm, self).t... | 42.390625 | 79 | 0.665499 | 735 | 5,426 | 4.642177 | 0.163265 | 0.036928 | 0.064771 | 0.073857 | 0.817409 | 0.817409 | 0.781946 | 0.781946 | 0.781946 | 0.753224 | 0 | 0.033088 | 0.248065 | 5,426 | 127 | 80 | 42.724409 | 0.803186 | 0.206414 | 0 | 0.658537 | 0 | 0 | 0.187003 | 0.093268 | 0 | 0 | 0 | 0 | 0.219512 | 1 | 0.085366 | false | 0 | 0.04878 | 0 | 0.146341 | 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 |
da5b301c8acd31984ed01a5260581ca397405e22 | 42 | py | Python | third_party/universal-ctags/ctags/Units/parser-python.r/python-keyword-tabulation.d/input.py | f110/wing | 31b259f723b57a6481252a4b8b717fcee6b01ff4 | [
"MIT"
] | 4 | 2017-02-07T20:04:31.000Z | 2022-01-30T14:04:45.000Z | third_party/universal-ctags/ctags/Units/parser-python.r/python-keyword-tabulation.d/input.py | f110/wing | 31b259f723b57a6481252a4b8b717fcee6b01ff4 | [
"MIT"
] | 1 | 2018-01-07T19:14:53.000Z | 2018-01-07T19:14:53.000Z | third_party/universal-ctags/ctags/Units/parser-python.r/python-keyword-tabulation.d/input.py | f110/wing | 31b259f723b57a6481252a4b8b717fcee6b01ff4 | [
"MIT"
] | 1 | 2021-04-26T09:00:06.000Z | 2021-04-26T09:00:06.000Z |
def foo():
pass
class Bar:
pass
| 6 | 10 | 0.52381 | 6 | 42 | 3.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.380952 | 42 | 6 | 11 | 7 | 0.846154 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
da6b51f0ef9d72f60dd4a80ab7af77a94ad57593 | 133 | py | Python | py-experiments/imports.py | DinahLin/learning | c0dc6b52e8154bcb687b721e717c117ab3b94dbb | [
"MIT"
] | null | null | null | py-experiments/imports.py | DinahLin/learning | c0dc6b52e8154bcb687b721e717c117ab3b94dbb | [
"MIT"
] | null | null | null | py-experiments/imports.py | DinahLin/learning | c0dc6b52e8154bcb687b721e717c117ab3b94dbb | [
"MIT"
] | null | null | null | #!/usr/bin/python
class Import1:
def __init__(self):
print "Hello .."
def print_Hello(self):
print "Hello!"
| 16.625 | 26 | 0.578947 | 16 | 133 | 4.5 | 0.625 | 0.416667 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.278195 | 133 | 7 | 27 | 19 | 0.739583 | 0.120301 | 0 | 0 | 0 | 0 | 0.12069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.6 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
da75c0c9e11251926f0b648eb004bd5fed79e05a | 40 | py | Python | envmanager/exceptions/__init__.py | arianseyedi/python-envmanager | 6d61e99f55f88e26811eb2fd723a6ec983b8a6aa | [
"MIT"
] | 4 | 2020-04-08T03:53:28.000Z | 2020-04-14T13:23:26.000Z | envmanager/exceptions/__init__.py | arianseyedi/python-envmanager | 6d61e99f55f88e26811eb2fd723a6ec983b8a6aa | [
"MIT"
] | 1 | 2020-06-10T23:59:33.000Z | 2020-06-10T23:59:47.000Z | envmanager/exceptions/__init__.py | arianseyedi/python-envmanager | 6d61e99f55f88e26811eb2fd723a6ec983b8a6aa | [
"MIT"
] | null | null | null | from envmanager.exceptions.main import * | 40 | 40 | 0.85 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.918919 | 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 |
da8c2aa14065503df877983bc99667a591943686 | 89 | py | Python | CNNScan/Reco/__init__.py | Matthew-McRaven/ConvVote | b83310217d2830d6ca3374916efab7fc55a70ab4 | [
"MIT"
] | null | null | null | CNNScan/Reco/__init__.py | Matthew-McRaven/ConvVote | b83310217d2830d6ca3374916efab7fc55a70ab4 | [
"MIT"
] | 2 | 2021-02-08T04:31:20.000Z | 2022-03-12T00:28:15.000Z | CNNScan/Reco/__init__.py | Matthew-McRaven/ConvVote | b83310217d2830d6ca3374916efab7fc55a70ab4 | [
"MIT"
] | null | null | null | from . import ContestRec
from . import Settings
#from . import Driver
from .Load import * | 22.25 | 24 | 0.764045 | 12 | 89 | 5.666667 | 0.5 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 4 | 25 | 22.25 | 0.918919 | 0.224719 | 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 |
e521ee59a2c323c4f828217f3a387e689f2c359c | 24 | py | Python | test/mimes/py.py | zsz00/LiveServer.jl | c79875bfedbbb78bfefd227b211ce1624a63f584 | [
"MIT"
] | 32 | 2019-03-28T22:06:16.000Z | 2020-10-07T13:26:12.000Z | test/mimes/py.py | zsz00/LiveServer.jl | c79875bfedbbb78bfefd227b211ce1624a63f584 | [
"MIT"
] | 109 | 2019-03-29T00:22:23.000Z | 2020-11-13T14:00:39.000Z | test/mimes/py.py | zsz00/LiveServer.jl | c79875bfedbbb78bfefd227b211ce1624a63f584 | [
"MIT"
] | 12 | 2019-05-22T06:40:41.000Z | 2020-10-06T03:22:58.000Z | def foo():
return 0
| 8 | 12 | 0.541667 | 4 | 24 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.333333 | 24 | 2 | 13 | 12 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
e550ed7b88246281c792aca60406805ac39e1c04 | 44 | py | Python | python/testData/inspections/ChainedComparison7_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/ChainedComparison7_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/ChainedComparison7_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def func(x, y, z):
return 1 < x < z < y
| 14.666667 | 24 | 0.454545 | 10 | 44 | 2 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.363636 | 44 | 2 | 25 | 22 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e579680581adba3c0dc8424d9537b06771c91c45 | 22 | py | Python | classifiers/type01/__init__.py | cooperxiong/captcha-solver | 618a128fd3dc93f39de9f4bbd9205087811caa63 | [
"MIT"
] | null | null | null | classifiers/type01/__init__.py | cooperxiong/captcha-solver | 618a128fd3dc93f39de9f4bbd9205087811caa63 | [
"MIT"
] | null | null | null | classifiers/type01/__init__.py | cooperxiong/captcha-solver | 618a128fd3dc93f39de9f4bbd9205087811caa63 | [
"MIT"
] | 1 | 2018-04-18T06:27:55.000Z | 2018-04-18T06:27:55.000Z | from .predict import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e5b6a6d0a8c455db1a5fbed55354f0ac37ac5295 | 227 | py | Python | django_describer/__init__.py | karlosss/django_describer | 2c1e12ad1cf99d1b72dba16cd5d0401787c3ac58 | [
"MIT"
] | 4 | 2019-09-29T08:13:52.000Z | 2019-10-11T19:41:54.000Z | django_describer/__init__.py | karlosss/django_describer | 2c1e12ad1cf99d1b72dba16cd5d0401787c3ac58 | [
"MIT"
] | null | null | null | django_describer/__init__.py | karlosss/django_describer | 2c1e12ad1cf99d1b72dba16cd5d0401787c3ac58 | [
"MIT"
] | null | null | null | import django_describer.actions
import django_describer.datatypes
import django_describer.permissions
import django_describer.describers
import django_describer.utils
import django_describer.adapters
name = "django_describer"
| 25.222222 | 35 | 0.889868 | 27 | 227 | 7.222222 | 0.37037 | 0.538462 | 0.646154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070485 | 227 | 8 | 36 | 28.375 | 0.924171 | 0 | 0 | 0 | 0 | 0 | 0.070485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f9172f34b907817884493e4b6361b66d77ca1cd2 | 153 | py | Python | g/appengine/py/standard/signup/tests/helpers_tests/imports.py | chhschou/sandpit | d4a6760905b45b90455f10a5b50af3c5f743e445 | [
"MIT"
] | null | null | null | g/appengine/py/standard/signup/tests/helpers_tests/imports.py | chhschou/sandpit | d4a6760905b45b90455f10a5b50af3c5f743e445 | [
"MIT"
] | null | null | null | g/appengine/py/standard/signup/tests/helpers_tests/imports.py | chhschou/sandpit | d4a6760905b45b90455f10a5b50af3c5f743e445 | [
"MIT"
] | null | null | null | import sys
import os
# to proj root
sys.path.insert(
0,
os.path.dirname(os.path.dirname(
os.path.dirname(os.path.abspath(__file__))))
)
| 15.3 | 52 | 0.660131 | 24 | 153 | 4.041667 | 0.5 | 0.247423 | 0.402062 | 0.463918 | 0.463918 | 0.463918 | 0.463918 | 0.463918 | 0 | 0 | 0 | 0.00813 | 0.196078 | 153 | 9 | 53 | 17 | 0.780488 | 0.078431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dac768730e6a4fc16555769bbed0d907fa5d4545 | 100 | py | Python | tomography_preprocessing/tilt_series_alignment/imod/__init__.py | alisterburt/tomo_preprocessing | 300f16970278591a006e34da16e80d7713912187 | [
"BSD-3-Clause"
] | 2 | 2022-03-11T10:04:31.000Z | 2022-03-11T13:35:58.000Z | tomography_preprocessing/tilt_series_alignment/imod/__init__.py | alisterburt/tomo_preprocessing | 300f16970278591a006e34da16e80d7713912187 | [
"BSD-3-Clause"
] | null | null | null | tomography_preprocessing/tilt_series_alignment/imod/__init__.py | alisterburt/tomo_preprocessing | 300f16970278591a006e34da16e80d7713912187 | [
"BSD-3-Clause"
] | null | null | null | from .batch_fiducials import batch_fiducials
from .batch_patch_tracking import batch_patch_tracking
| 33.333333 | 54 | 0.9 | 14 | 100 | 6 | 0.428571 | 0.214286 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 100 | 2 | 55 | 50 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9700ad5df9cea7e8850de44e1ac60017e617e082 | 105 | py | Python | terrascript/cloudstack/d.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/cloudstack/d.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/cloudstack/d.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/cloudstack/d.py
import terrascript
class cloudstack_template(terrascript.Data):
pass
| 15 | 44 | 0.8 | 12 | 105 | 6.916667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 105 | 6 | 45 | 17.5 | 0.902174 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
974899208f5922996e2b457d10ed8a4502db6e9a | 222 | py | Python | tests/test_accedian_sshhelper/test_ssh.py | vivienm/acdn-sshelper | 3154fc6199f51a1388cee291fd20d12f74f2d1f2 | [
"MIT"
] | 1 | 2021-12-15T18:14:10.000Z | 2021-12-15T18:14:10.000Z | tests/test_accedian_sshhelper/test_ssh.py | vivienm/acdn-sshelper | 3154fc6199f51a1388cee291fd20d12f74f2d1f2 | [
"MIT"
] | null | null | null | tests/test_accedian_sshhelper/test_ssh.py | vivienm/acdn-sshelper | 3154fc6199f51a1388cee291fd20d12f74f2d1f2 | [
"MIT"
] | null | null | null | from accedian_sshhelper import gcloud
from accedian_sshhelper.ssh import jumphost_user
def test_jumphost_user():
account = gcloud.Account("j.doe@example.com")
assert jumphost_user(account) == "j_doe_example_com"
| 27.75 | 56 | 0.792793 | 31 | 222 | 5.387097 | 0.516129 | 0.215569 | 0.251497 | 0.215569 | 0.251497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 222 | 7 | 57 | 31.714286 | 0.85641 | 0 | 0 | 0 | 0 | 0 | 0.153153 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9758ead3f00d1cf6cca6ce717791dbbc2ecf39d0 | 31 | py | Python | bots/pinnacle/__init__.py | szkkteam/bots | 0b77da0952fa3d6ada177f988c38c3f80f79f260 | [
"MIT"
] | null | null | null | bots/pinnacle/__init__.py | szkkteam/bots | 0b77da0952fa3d6ada177f988c38c3f80f79f260 | [
"MIT"
] | null | null | null | bots/pinnacle/__init__.py | szkkteam/bots | 0b77da0952fa3d6ada177f988c38c3f80f79f260 | [
"MIT"
] | null | null | null | from .betting import BettingBot | 31 | 31 | 0.870968 | 4 | 31 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 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 |
97b49e7ef62fd98a40eca307b01a25e874b98511 | 155 | py | Python | py/celery/task/mytorch/metrics.py | zzzzer91/battery-anlysis-platform | aab57f9dce8462a19269dda269ba38908df9b774 | [
"Apache-2.0"
] | 8 | 2019-09-26T09:23:09.000Z | 2022-03-21T05:49:45.000Z | py/celery/task/mytorch/metrics.py | zzzzer91/battery-anlysis-platform | aab57f9dce8462a19269dda269ba38908df9b774 | [
"Apache-2.0"
] | 7 | 2020-11-25T04:46:17.000Z | 2020-11-25T04:46:19.000Z | py/celery/task/mytorch/metrics.py | zzzzer91/battery-anlysis-platform | aab57f9dce8462a19269dda269ba38908df9b774 | [
"Apache-2.0"
] | 8 | 2019-10-30T00:16:06.000Z | 2021-12-02T09:15:38.000Z | from typing import Callable
import torch
def beiqi_accuracy(alpha: float) -> Callable:
return lambda y_hat, y: (torch.abs(y_hat - y) < alpha).sum()
| 19.375 | 64 | 0.709677 | 24 | 155 | 4.458333 | 0.666667 | 0.074766 | 0.093458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174194 | 155 | 7 | 65 | 22.142857 | 0.835938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 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 |
c1fcc571c66ab52599e86a2a3343a1855c75396d | 64 | py | Python | dynamic_formset/__init__.py | conlini/django_dynamic_formset | 681b15e89046689b79bf3fb1eb0c8e195137883b | [
"Apache-2.0"
] | null | null | null | dynamic_formset/__init__.py | conlini/django_dynamic_formset | 681b15e89046689b79bf3fb1eb0c8e195137883b | [
"Apache-2.0"
] | null | null | null | dynamic_formset/__init__.py | conlini/django_dynamic_formset | 681b15e89046689b79bf3fb1eb0c8e195137883b | [
"Apache-2.0"
] | null | null | null | from widget import *
from fields import *
from formsets import * | 21.333333 | 22 | 0.78125 | 9 | 64 | 5.555556 | 0.555556 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 64 | 3 | 22 | 21.333333 | 0.943396 | 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 |
e73ae4c03f2a59364db90f69b1650d9c0761b8d8 | 197 | py | Python | utils/path.py | Bina-man/speech-to-text-data-collection | 77b9d0837613a41c52e795546ff95b95103dbe49 | [
"MIT",
"Unlicense"
] | 3 | 2021-12-03T09:06:31.000Z | 2022-03-31T06:13:47.000Z | utils/path.py | Bina-man/speech-to-text-data-collection | 77b9d0837613a41c52e795546ff95b95103dbe49 | [
"MIT",
"Unlicense"
] | 16 | 2021-09-06T20:19:25.000Z | 2021-09-09T20:29:42.000Z | utils/path.py | Bina-man/speech-to-text-data-collection | 77b9d0837613a41c52e795546ff95b95103dbe49 | [
"MIT",
"Unlicense"
] | 4 | 2021-09-06T19:46:45.000Z | 2021-09-08T19:05:31.000Z | import os
class Path:
def __init__(self) -> None:
pass
def getDataPath(self):
return str(os.path.abspath(os.path.join('../data')))
# paths = Path()
# print(Path.getDataPath) | 24.625 | 60 | 0.624365 | 26 | 197 | 4.576923 | 0.653846 | 0.10084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213198 | 197 | 8 | 61 | 24.625 | 0.767742 | 0.192893 | 0 | 0 | 0 | 0 | 0.044586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0.166667 | 0.833333 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
e7579446b53d3b47829ec39a2d96bc9de0b91f06 | 69 | py | Python | autoalign/utils/__init__.py | pltrdy/autoalign | 9b17f36282f9be0bbf423840af88dce501b9070f | [
"MIT"
] | 6 | 2020-07-16T01:13:55.000Z | 2020-07-21T01:49:14.000Z | autoalign/utils/__init__.py | pltrdy/autoalign | 9b17f36282f9be0bbf423840af88dce501b9070f | [
"MIT"
] | null | null | null | autoalign/utils/__init__.py | pltrdy/autoalign | 9b17f36282f9be0bbf423840af88dce501b9070f | [
"MIT"
] | 1 | 2020-06-24T11:55:40.000Z | 2020-06-24T11:55:40.000Z | from autoalign.utils.utils import *
import autoalign.utils.parallel
| 17.25 | 35 | 0.826087 | 9 | 69 | 6.333333 | 0.555556 | 0.491228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 69 | 3 | 36 | 23 | 0.919355 | 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 |
e75937a06fd7eac66cda718aba89b7f5327e1f16 | 149 | py | Python | manager/downloads_infrastructure/downloads_infrastructure/repositories/__init__.py | G4brym/download-manager | 8795d09d8f63511c980d3f10e6b2b762d41bff0c | [
"MIT"
] | 3 | 2021-04-28T14:29:06.000Z | 2022-03-27T21:02:32.000Z | manager/downloads_infrastructure/downloads_infrastructure/repositories/__init__.py | G4brym/docker-download-manager | 8795d09d8f63511c980d3f10e6b2b762d41bff0c | [
"MIT"
] | 5 | 2021-08-04T21:37:00.000Z | 2021-08-04T21:37:02.000Z | manager/downloads_infrastructure/downloads_infrastructure/repositories/__init__.py | G4brym/docker-download-manager | 8795d09d8f63511c980d3f10e6b2b762d41bff0c | [
"MIT"
] | 1 | 2021-09-06T15:45:37.000Z | 2021-09-06T15:45:37.000Z | __all__ = ["SqlFilesRepository", "SmartDLDownloadRepository"]
from .download import SmartDLDownloadRepository
from .files import SqlFilesRepository
| 29.8 | 61 | 0.845638 | 11 | 149 | 11.090909 | 0.636364 | 0.47541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087248 | 149 | 4 | 62 | 37.25 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.288591 | 0.167785 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e774c1724bb72e70418ce2ed0d6059e637204428 | 33 | py | Python | src/optimize/__init__.py | haoyio/stock-opt | 4a7dc730693517fd25ddd5c105361f73b51f11ac | [
"Apache-2.0"
] | null | null | null | src/optimize/__init__.py | haoyio/stock-opt | 4a7dc730693517fd25ddd5c105361f73b51f11ac | [
"Apache-2.0"
] | null | null | null | src/optimize/__init__.py | haoyio/stock-opt | 4a7dc730693517fd25ddd5c105361f73b51f11ac | [
"Apache-2.0"
] | null | null | null | from optimize.constants import *
| 16.5 | 32 | 0.818182 | 4 | 33 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 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 |
e79ac06b0967e58eec116a8a9ded15fcd70dc18b | 101 | py | Python | src/lib/__init__.py | karimGeh/MES_PROJECT | 6d05115cededb0d5d43ad673a271ae947d49853c | [
"MIT"
] | null | null | null | src/lib/__init__.py | karimGeh/MES_PROJECT | 6d05115cededb0d5d43ad673a271ae947d49853c | [
"MIT"
] | null | null | null | src/lib/__init__.py | karimGeh/MES_PROJECT | 6d05115cededb0d5d43ad673a271ae947d49853c | [
"MIT"
] | null | null | null | from . import FlowJobProblem
from . import CDS
from . import FlowJobSolution
from . import sequences
| 20.2 | 29 | 0.80198 | 12 | 101 | 6.75 | 0.5 | 0.493827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158416 | 101 | 4 | 30 | 25.25 | 0.952941 | 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 |
e7a4d435dcd314ccdce6d7105c3c3e61d629e639 | 5,598 | py | Python | tests/test_util_search.py | kviktor/dpath-python | 071d7b4fc0b036bea6b11cafc79a8612df990aa4 | [
"MIT"
] | 393 | 2015-01-05T15:29:39.000Z | 2021-04-11T13:09:55.000Z | tests/test_util_search.py | kviktor/dpath-python | 071d7b4fc0b036bea6b11cafc79a8612df990aa4 | [
"MIT"
] | 90 | 2015-01-01T18:01:01.000Z | 2021-05-08T17:31:35.000Z | tests/test_util_search.py | kviktor/dpath-python | 071d7b4fc0b036bea6b11cafc79a8612df990aa4 | [
"MIT"
] | 87 | 2015-01-05T19:38:56.000Z | 2021-04-25T09:04:15.000Z | import dpath.util
def test_search_paths_with_separator():
dict = {
"a": {
"b": {
"c": {
"d": 0,
"e": 1,
"f": 2,
},
},
},
}
paths = [
'a',
'a;b',
'a;b;... | 23.422594 | 88 | 0.383173 | 668 | 5,598 | 3.155689 | 0.077844 | 0.057875 | 0.059298 | 0.096774 | 0.840133 | 0.805028 | 0.774194 | 0.755693 | 0.755693 | 0.743359 | 0 | 0.026901 | 0.389068 | 5,598 | 238 | 89 | 23.521008 | 0.589474 | 0 | 0 | 0.555 | 0 | 0 | 0.06538 | 0 | 0 | 0 | 0 | 0 | 0.21 | 1 | 0.055 | false | 0 | 0.005 | 0 | 0.07 | 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 |
99bdd3b08c053a6a9ddaa0e8c33fd58c2ce1c265 | 37 | py | Python | Back/ecoreleve_server/modules/monitored_sites/__init__.py | NaturalSolutions/ecoReleve-Data | 535a6165984544902563eca7cb10d07f1686c963 | [
"MIT"
] | 15 | 2015-02-15T18:02:54.000Z | 2021-10-31T00:08:41.000Z | Back/ecoreleve_server/modules/monitored_sites/__init__.py | NaturalSolutions/ecoReleve-Data | 535a6165984544902563eca7cb10d07f1686c963 | [
"MIT"
] | 505 | 2015-03-24T15:16:55.000Z | 2022-03-21T22:17:11.000Z | Back/ecoreleve_server/modules/monitored_sites/__init__.py | NaturalSolutions/ecoReleve-Data | 535a6165984544902563eca7cb10d07f1686c963 | [
"MIT"
] | 31 | 2015-04-09T10:48:31.000Z | 2020-12-08T16:32:30.000Z | from .monitored_site_model import *
| 12.333333 | 35 | 0.810811 | 5 | 37 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 2 | 36 | 18.5 | 0.875 | 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 |
822f5c1737bbc4b36e1c1dddf1b75f9bebf10e42 | 84 | py | Python | yolox/yolox/evaluators/__init__.py | LSH9832/webyolox | b37d8347f278614b27b48479fba3f06f068e3d88 | [
"Apache-2.0"
] | 1 | 2022-01-16T08:48:03.000Z | 2022-01-16T08:48:03.000Z | yolox/yolox/evaluators/__init__.py | LSH9832/webyolox | b37d8347f278614b27b48479fba3f06f068e3d88 | [
"Apache-2.0"
] | null | null | null | yolox/yolox/evaluators/__init__.py | LSH9832/webyolox | b37d8347f278614b27b48479fba3f06f068e3d88 | [
"Apache-2.0"
] | null | null | null | from .coco_evaluator import COCOEvaluator
from .voc_evaluator import VOCEvaluator
| 28 | 42 | 0.857143 | 10 | 84 | 7 | 0.7 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 84 | 2 | 43 | 42 | 0.945946 | 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 |
823755ccdaa75cc84a656aa5d8ea89bac01ed303 | 2,923 | py | Python | moonfire_tokenomics/data/__init__.py | moonfire-ventures/tokenomics | 4152bfd0e831262139ce50c6baae2748f19af850 | [
"MIT"
] | 2 | 2022-03-30T17:12:03.000Z | 2022-03-30T17:14:20.000Z | moonfire_tokenomics/data/__init__.py | moonfire-ventures/tokenomics | 4152bfd0e831262139ce50c6baae2748f19af850 | [
"MIT"
] | null | null | null | moonfire_tokenomics/data/__init__.py | moonfire-ventures/tokenomics | 4152bfd0e831262139ce50c6baae2748f19af850 | [
"MIT"
] | null | null | null | from moonfire_tokenomics.data.admc import admc
from moonfire_tokenomics.data.amp import amp
from moonfire_tokenomics.data.ampl import ampl
from moonfire_tokenomics.data.anc import anc
from moonfire_tokenomics.data.aot import aot
from moonfire_tokenomics.data.atlas import atlas
from moonfire_tokenomics.data.axs import a... | 45.671875 | 50 | 0.870681 | 441 | 2,923 | 5.628118 | 0.154195 | 0.304593 | 0.558421 | 0.659952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000749 | 0.086213 | 2,923 | 63 | 51 | 46.396825 | 0.928491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
8247a769509e70f1fb4d9d59ffcc9798d5de8f73 | 28 | py | Python | dymos/examples/min_time_climb/aero/__init__.py | kaushikponnapalli/dymos | 3fba91d0fc2c0e8460717b1bec80774676287739 | [
"Apache-2.0"
] | 104 | 2018-09-08T16:52:27.000Z | 2022-03-10T23:35:30.000Z | dymos/examples/min_time_climb/aero/__init__.py | kaushikponnapalli/dymos | 3fba91d0fc2c0e8460717b1bec80774676287739 | [
"Apache-2.0"
] | 628 | 2018-06-27T20:32:59.000Z | 2022-03-31T19:24:32.000Z | dymos/examples/min_time_climb/aero/__init__.py | kaushikponnapalli/dymos | 3fba91d0fc2c0e8460717b1bec80774676287739 | [
"Apache-2.0"
] | 46 | 2018-06-27T20:54:07.000Z | 2021-12-19T07:23:32.000Z | from .aero import AeroGroup
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
418d0ea34ace5bb7fa82322fe9aa9dedc414e01e | 2,470 | py | Python | ownblock/ownblock/apps/messaging/tests.py | danjac/ownblock | ac662fb7efb2f04567e2f85638c1250286452611 | [
"MIT"
] | 3 | 2015-06-12T04:42:02.000Z | 2018-10-29T17:09:10.000Z | ownblock/ownblock/apps/messaging/tests.py | danjac/ownblock | ac662fb7efb2f04567e2f85638c1250286452611 | [
"MIT"
] | null | null | null | ownblock/ownblock/apps/messaging/tests.py | danjac/ownblock | ac662fb7efb2f04567e2f85638c1250286452611 | [
"MIT"
] | null | null | null | from unittest.mock import Mock
from django.test import TestCase
from rest_framework import serializers
from ..accounts.tests import ResidentFactory
from ..buildings.tests import ApartmentFactory, BuildingFactory
from .serializers import MessageSerializer
class SerializerTests(TestCase):
def test_validate_rec... | 41.166667 | 76 | 0.661538 | 232 | 2,470 | 6.931034 | 0.224138 | 0.084577 | 0.093284 | 0.102612 | 0.816542 | 0.761194 | 0.761194 | 0.761194 | 0.761194 | 0.720149 | 0 | 0.007483 | 0.24251 | 2,470 | 59 | 77 | 41.864407 | 0.851951 | 0 | 0 | 0.653061 | 0 | 0 | 0.069231 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 1 | 0.081633 | false | 0 | 0.122449 | 0 | 0.22449 | 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 |
68e3730d0c08eeb142f8e62aec5706d7bf5ef7e1 | 34 | py | Python | katas/kyu_7/making_copies.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_7/making_copies.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_7/making_copies.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def copy_list(l):
return l[:]
| 11.333333 | 17 | 0.588235 | 6 | 34 | 3.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 34 | 2 | 18 | 17 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ec27c614629cf16ef46764e71ee03235239ab8bf | 34,602 | py | Python | proxy_codegen_server.py | The-neighborhood-app-utils/Backend.Server-creator | 308db9add5d3a450d1792265b15b8446cdbf9122 | [
"MIT"
] | null | null | null | proxy_codegen_server.py | The-neighborhood-app-utils/Backend.Server-creator | 308db9add5d3a450d1792265b15b8446cdbf9122 | [
"MIT"
] | null | null | null | proxy_codegen_server.py | The-neighborhood-app-utils/Backend.Server-creator | 308db9add5d3a450d1792265b15b8446cdbf9122 | [
"MIT"
] | null | null | null | from flask import Flask, jsonify, request, render_template, flash, request, redirect, url_for, send_from_directory
import os
import io
import json
from flask_cors import CORS
import yaml
from sys import getdefaultencoding
import http.server
import socketserver
from urllib.parse import urlparse
import os
from thread... | 49.011331 | 136 | 0.471331 | 3,144 | 34,602 | 5.02131 | 0.05916 | 0.047888 | 0.06461 | 0.113891 | 0.82948 | 0.771584 | 0.751378 | 0.722683 | 0.701717 | 0.700323 | 0 | 0.015303 | 0.4259 | 34,602 | 705 | 137 | 49.080851 | 0.779411 | 0.013265 | 0 | 0.67931 | 0 | 0 | 0.153585 | 0.009643 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036207 | false | 0.003448 | 0.027586 | 0 | 0.217241 | 0.005172 | 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 |
6b7561c95ec09c7d0fdfb175e26b1f0b723bc10e | 5,045 | py | Python | test/test_fixes_newcommand.py | psg-mit/latexpp | 0b7b523c9ce147c2d34cc430b1abd39972e33fa9 | [
"MIT"
] | 4 | 2020-08-28T18:41:48.000Z | 2021-11-11T11:23:58.000Z | test/test_fixes_newcommand.py | psg-mit/latexpp | 0b7b523c9ce147c2d34cc430b1abd39972e33fa9 | [
"MIT"
] | 4 | 2020-07-31T07:34:38.000Z | 2021-11-23T19:05:00.000Z | test/test_fixes_newcommand.py | psg-mit/latexpp | 0b7b523c9ce147c2d34cc430b1abd39972e33fa9 | [
"MIT"
] | 1 | 2020-07-22T02:44:48.000Z | 2020-07-22T02:44:48.000Z |
import unittest
import helpers
from latexpp.fixes import newcommand
class TestExpand(unittest.TestCase):
maxDiff = None
def test_simple(self):
latex = r"""
\documentclass[11pt]{article}
\newcommand{\a}{Albert Einstein}
\newcommand\max[1]{Max #1}
\begin{document}
\a{} and \max{Planck} b... | 20.847107 | 98 | 0.657086 | 585 | 5,045 | 5.608547 | 0.162393 | 0.021945 | 0.069491 | 0.084121 | 0.859799 | 0.84456 | 0.813472 | 0.765315 | 0.765315 | 0.7452 | 0 | 0.010071 | 0.193062 | 5,045 | 241 | 99 | 20.93361 | 0.795873 | 0 | 0 | 0.580645 | 0 | 0.024194 | 0.468476 | 0.211349 | 0 | 0 | 0 | 0 | 0.048387 | 1 | 0.048387 | false | 0 | 0.032258 | 0 | 0.096774 | 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 |
6b9982ffbfc2a8c4744eeeb184578b5fc136580c | 2,466 | py | Python | HG.py | BajinganCyberArmy/Hack-Gmail | adfcf3610c12b2872ba07576d463642b95077ad1 | [
"Apache-2.0"
] | 2 | 2019-04-29T10:04:15.000Z | 2019-05-01T16:30:46.000Z | HG.py | BajinganCyberArmy/Hack-Gmail | adfcf3610c12b2872ba07576d463642b95077ad1 | [
"Apache-2.0"
] | null | null | null | HG.py | BajinganCyberArmy/Hack-Gmail | adfcf3610c12b2872ba07576d463642b95077ad1 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# Made By Mr.F47 #
######################################################
print ("###############################################################################")
print ("# ... | 56.045455 | 190 | 0.227494 | 120 | 2,466 | 4.608333 | 0.575 | 0.108499 | 0.05425 | 0.068716 | 0.104882 | 0.104882 | 0 | 0 | 0 | 0 | 0 | 0.013986 | 0.536091 | 2,466 | 43 | 191 | 57.348837 | 0.469406 | 0.012571 | 0 | 0.323529 | 0 | 0 | 0.666511 | 0.074005 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.264706 | 0.029412 | null | null | 0.411765 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
6bcdfd28b3cbff5b3d6342b18eb9ffe00bab2a29 | 34 | py | Python | radar/util/portal/__init__.py | RADAR-base/pyRADAR-processing | 3995d5f5f52b7be116a3b9dcaa7a1fa36875354a | [
"Apache-2.0"
] | 2 | 2018-07-02T14:31:51.000Z | 2020-11-02T16:01:58.000Z | radar/util/portal/__init__.py | RADAR-base/pyRADAR-processing | 3995d5f5f52b7be116a3b9dcaa7a1fa36875354a | [
"Apache-2.0"
] | 2 | 2020-09-25T05:20:50.000Z | 2021-06-25T15:17:34.000Z | radar/util/portal/__init__.py | RADAR-base/pyRADAR-processing | 3995d5f5f52b7be116a3b9dcaa7a1fa36875354a | [
"Apache-2.0"
] | 1 | 2020-09-18T13:20:15.000Z | 2020-09-18T13:20:15.000Z | from .api import ManagementPortal
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 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 |
6be0534fd5c36c4bdfa731a19774df1ea1015569 | 30 | py | Python | tests/test_pycounts.py | dol23asuka/pycounts | 16077565f84bfd6e0fe16a1960d4e13556b7f0cd | [
"MIT"
] | null | null | null | tests/test_pycounts.py | dol23asuka/pycounts | 16077565f84bfd6e0fe16a1960d4e13556b7f0cd | [
"MIT"
] | null | null | null | tests/test_pycounts.py | dol23asuka/pycounts | 16077565f84bfd6e0fe16a1960d4e13556b7f0cd | [
"MIT"
] | null | null | null | from pycounts import pycounts
| 15 | 29 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d42865fb10f39cd916badf025378663d1b88377e | 4,100 | py | Python | optimization/test/test_cg_cond.py | wangshusen/PyRLA | 066876545c8501dca8ec857676465553a0ebb822 | [
"MIT"
] | 12 | 2018-06-15T09:49:36.000Z | 2020-05-08T12:42:06.000Z | optimization/test/test_cg_cond.py | wangshusen/PyRLA | 066876545c8501dca8ec857676465553a0ebb822 | [
"MIT"
] | 1 | 2020-06-09T11:46:05.000Z | 2020-06-09T12:24:59.000Z | optimization/test/test_cg_cond.py | wangshusen/PyRLA | 066876545c8501dca8ec857676465553a0ebb822 | [
"MIT"
] | 3 | 2018-11-05T19:14:21.000Z | 2019-10-23T02:41:10.000Z | import numpy
import unittest
import sys
PyRLA_dir = '../../'
sys.path.append(PyRLA_dir)
from optimization import cg_cond
class TestCgCondSRFT(unittest.TestCase):
def test_converge1(self):
w_solved_vec, is_converged_bool = cg_cond.cg_cond(x_mat, y_vec, t2_mat, tol=1e-3)
dist_vec = numpy.dot(x_mat... | 47.674419 | 107 | 0.677561 | 691 | 4,100 | 3.668596 | 0.121563 | 0.063905 | 0.094675 | 0.041026 | 0.855227 | 0.855227 | 0.851282 | 0.826824 | 0.826824 | 0.826824 | 0 | 0.033945 | 0.202439 | 4,100 | 86 | 108 | 47.674419 | 0.741284 | 0 | 0 | 0.575342 | 0 | 0 | 0.072665 | 0.00634 | 0 | 0 | 0 | 0 | 0.219178 | 1 | 0.109589 | false | 0 | 0.054795 | 0 | 0.191781 | 0.09589 | 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 |
d42f1831447b4ea349108115f43d6ef66df13503 | 14,690 | py | Python | tests/unitary/test_unitary_MEP.py | RobotMark/FormulaBot | eae65517483696135950e3c7431cc1350c90044d | [
"MIT"
] | null | null | null | tests/unitary/test_unitary_MEP.py | RobotMark/FormulaBot | eae65517483696135950e3c7431cc1350c90044d | [
"MIT"
] | null | null | null | tests/unitary/test_unitary_MEP.py | RobotMark/FormulaBot | eae65517483696135950e3c7431cc1350c90044d | [
"MIT"
] | null | null | null | import pytest
import copy
from formulabot.mep import Population, Solution
def test_Solution_init_params():
# make sure list object passed
with pytest.raises(ValueError):
Solution(None, 10, 10)
# make sure list is not empty
with pytest.raises(ValueError):
Solution([], 10, 10)
... | 29.438878 | 110 | 0.426821 | 1,876 | 14,690 | 3.285714 | 0.077292 | 0.016872 | 0.012654 | 0.018494 | 0.782771 | 0.761356 | 0.745944 | 0.7195 | 0.703602 | 0.676347 | 0 | 0.10244 | 0.394622 | 14,690 | 499 | 111 | 29.438878 | 0.590689 | 0.170116 | 0 | 0.722667 | 0 | 0 | 0.016407 | 0 | 0 | 0 | 0 | 0 | 0.074667 | 1 | 0.024 | false | 0 | 0.008 | 0 | 0.032 | 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 |
2e1852811026a497059bf2baf044253ce19ad972 | 14,923 | py | Python | tests/operator/test_operator.py | AntoniosHadji/pylox | 906338bf44de92e66c4e7805059ad060dfd52ff3 | [
"MIT"
] | null | null | null | tests/operator/test_operator.py | AntoniosHadji/pylox | 906338bf44de92e66c4e7805059ad060dfd52ff3 | [
"MIT"
] | null | null | null | tests/operator/test_operator.py | AntoniosHadji/pylox | 906338bf44de92e66c4e7805059ad060dfd52ff3 | [
"MIT"
] | null | null | null | import subprocess
EXPECT_FAIL_65 = [
'prefix_operator',
'grouping',
'infix_operator',
'to_this',
'inherit_self',
'local_inherit_self',
'return_value',
'parenthesized_superclass',
'missing_argument',
'var_in_body',
'fun_in_body',
'class_in_body',
'trailing_dot',
'... | 43.130058 | 126 | 0.730885 | 1,868 | 14,923 | 5.570128 | 0.074946 | 0.076117 | 0.095147 | 0.133205 | 0.855935 | 0.847669 | 0.847669 | 0.847669 | 0.847669 | 0.847669 | 0 | 0.013014 | 0.1298 | 14,923 | 345 | 127 | 43.255072 | 0.788233 | 0.024258 | 0 | 0.356115 | 0 | 0.118705 | 0.391271 | 0.273628 | 0 | 0 | 0 | 0 | 0.118705 | 1 | 0.118705 | false | 0 | 0.003597 | 0 | 0.122302 | 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 |
cf00f529127475b247ddf85744e40011b4581ad0 | 73 | py | Python | backend/person_app/models.py | berserg2010/family_and_history_backend | 08fd5901e6e0c9cbd75a72e46d69ac53c737786a | [
"Apache-2.0"
] | null | null | null | backend/person_app/models.py | berserg2010/family_and_history_backend | 08fd5901e6e0c9cbd75a72e46d69ac53c737786a | [
"Apache-2.0"
] | null | null | null | backend/person_app/models.py | berserg2010/family_and_history_backend | 08fd5901e6e0c9cbd75a72e46d69ac53c737786a | [
"Apache-2.0"
] | null | null | null | from .person.models import Person
from .events.birth.models import Birth
| 24.333333 | 38 | 0.821918 | 11 | 73 | 5.454545 | 0.545455 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 73 | 2 | 39 | 36.5 | 0.923077 | 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 |
cf1745bfdb9c1637dbf037351738a0aa8d25c39b | 26 | py | Python | plugins/pelican-open_graph/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 13 | 2020-01-27T09:02:25.000Z | 2022-01-20T07:45:26.000Z | plugins/pelican-open_graph/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 29 | 2020-03-22T06:57:57.000Z | 2022-01-24T22:46:42.000Z | plugins/pelican-open_graph/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 6 | 2020-07-10T00:13:30.000Z | 2022-01-26T08:22:33.000Z | from .open_graph import *
| 13 | 25 | 0.769231 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
cf558796c27ac3a49b514f19b190fa6783d377dc | 217 | py | Python | rest_api/auth.py | skies-io/django-rest-api | 98d96e71f5a15a51c078678f069c5cb8a7aa5c51 | [
"MIT"
] | 3 | 2015-03-21T23:00:17.000Z | 2016-04-26T07:37:41.000Z | rest_api/auth.py | skies-io/django-rest-api | 98d96e71f5a15a51c078678f069c5cb8a7aa5c51 | [
"MIT"
] | 5 | 2015-08-17T07:44:16.000Z | 2020-06-05T17:00:44.000Z | rest_api/auth.py | skies-io/django-rest-api | 98d96e71f5a15a51c078678f069c5cb8a7aa5c51 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class BaseAuthREST(object):
def is_connected(self):
raise Exception("Not implemented")
def check_right(self, rights, _all=False):
raise Exception("Not implemented")
| 19.727273 | 46 | 0.64977 | 25 | 217 | 5.52 | 0.76 | 0.202899 | 0.246377 | 0.405797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.21659 | 217 | 10 | 47 | 21.7 | 0.805882 | 0.096774 | 0 | 0.4 | 0 | 0 | 0.15544 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d870e623945688933922e77742ad01024805453b | 5,347 | py | Python | rmgpy/qm/gaussianTest.py | KEHANG/RMG-Py | 91d191908f709e995e843939d4249efb8b202d9e | [
"MIT"
] | 1 | 2019-10-16T15:03:45.000Z | 2019-10-16T15:03:45.000Z | rmgpy/qm/gaussianTest.py | KEHANG/RMG-Py | 91d191908f709e995e843939d4249efb8b202d9e | [
"MIT"
] | null | null | null | rmgpy/qm/gaussianTest.py | KEHANG/RMG-Py | 91d191908f709e995e843939d4249efb8b202d9e | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
import unittest
import os
import numpy as np
from rmgpy import getPath
from rmgpy.qm.main import QMCalculator
from rmgpy.molecule import Molecule
from rmgpy.qm.gaussian import GaussianMolPM3, GaussianMolPM6
gaussEnv = os.getenv('GAUSS_EXEDIR') or os.getenv('g09root') or os... | 34.275641 | 143 | 0.743408 | 688 | 5,347 | 5.747093 | 0.22093 | 0.065756 | 0.048558 | 0.062721 | 0.83131 | 0.820941 | 0.803237 | 0.788063 | 0.788063 | 0.788063 | 0 | 0.053225 | 0.121563 | 5,347 | 156 | 144 | 34.275641 | 0.788588 | 0.137647 | 0 | 0.688889 | 0 | 0 | 0.089535 | 0 | 0 | 0 | 0 | 0 | 0.288889 | 1 | 0.066667 | false | 0.022222 | 0.077778 | 0 | 0.166667 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.