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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
33162412afcb1a45af8ff03715ec9e96750eac9d | 44 | py | Python | addons/stock_zebra/__init__.py | jjiege/odoo | fd5b8ad387c1881f349d125cbd56433f4d49398f | [
"MIT"
] | null | null | null | addons/stock_zebra/__init__.py | jjiege/odoo | fd5b8ad387c1881f349d125cbd56433f4d49398f | [
"MIT"
] | null | null | null | addons/stock_zebra/__init__.py | jjiege/odoo | fd5b8ad387c1881f349d125cbd56433f4d49398f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from tests import *
| 14.666667 | 23 | 0.568182 | 6 | 44 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.204545 | 44 | 2 | 24 | 22 | 0.685714 | 0.477273 | 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 |
6879e124a862a5d8525f80dd30e51e357d660f1f | 66 | py | Python | rulesets/routes/blueprints/__init__.py | jdr-tools/rulesets | 2bbfb280c84da6ef359d47fa6c24d34b84814eeb | [
"MIT"
] | null | null | null | rulesets/routes/blueprints/__init__.py | jdr-tools/rulesets | 2bbfb280c84da6ef359d47fa6c24d34b84814eeb | [
"MIT"
] | 3 | 2018-12-19T08:16:15.000Z | 2018-12-19T08:16:47.000Z | rulesets/routes/blueprints/__init__.py | jdr-tools/rulesets | 2bbfb280c84da6ef359d47fa6c24d34b84814eeb | [
"MIT"
] | null | null | null | from rulesets.routes.blueprints.rulesets import rulesets_blueprint | 66 | 66 | 0.909091 | 8 | 66 | 7.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 66 | 1 | 66 | 66 | 0.936508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 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 |
687c56da3c8383d518959ddff88a8be0bbaa2a63 | 2,712 | py | Python | b1.py | bigdraw715/IML_Assignment | 8f3f07bf260f891e62dcc57bfbc4a740ab996f24 | [
"Apache-2.0"
] | 1 | 2021-12-03T13:38:15.000Z | 2021-12-03T13:38:15.000Z | b1.py | bigdraw715/IML_Assignment | 8f3f07bf260f891e62dcc57bfbc4a740ab996f24 | [
"Apache-2.0"
] | null | null | null | b1.py | bigdraw715/IML_Assignment | 8f3f07bf260f891e62dcc57bfbc4a740ab996f24 | [
"Apache-2.0"
] | null | null | null | import numpy as np
from sklearn.model_selection import train_test_split
import pandas as pd
from preprocess import data_preprocess
from sklearn.multiclass import OneVsRestClassifier
from sklearn.multiclass import OneVsOneClassifier
from sklearn.linear_model import LogisticRegression
import time
X_onehot,y_onehot = dat... | 38.742857 | 66 | 0.668879 | 389 | 2,712 | 4.429306 | 0.138817 | 0.055717 | 0.048752 | 0.083575 | 0.792803 | 0.792803 | 0.792803 | 0.792803 | 0.792803 | 0.792803 | 0 | 0.025812 | 0.17146 | 2,712 | 69 | 67 | 39.304348 | 0.740988 | 0.095501 | 0 | 0.730769 | 0 | 0 | 0.139217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 0.153846 | 0.288462 | 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 |
d7b5d36586e40fedc4321edbe1784b5edbec40a1 | 13,849 | py | Python | bugs/gcc-function-detection/gzip/x86/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 8 | 2017-12-14T14:25:17.000Z | 2019-03-09T03:29:12.000Z | bugs/gcc-function-detection/gzip/x86/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 10 | 2019-06-14T09:12:55.000Z | 2021-10-01T12:15:43.000Z | bugs/gcc-function-detection/gzip/x86/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 8 | 2019-05-10T14:59:48.000Z | 2022-03-07T16:34:23.000Z | from regression_tests import *
class Test(Test):
settings = TestSettings(
input='gzip-strip',
args='-k' # TODO: matula, not sure if some functions are not called, or we just do not detect it.
)
def test_check_for_all_currently_detected_strings(self):
assert self.out_c.has_string_l... | 70.658163 | 125 | 0.662431 | 2,035 | 13,849 | 4.230958 | 0.173464 | 0.211382 | 0.274797 | 0.295935 | 0.712544 | 0.712544 | 0.701278 | 0.345993 | 0.254239 | 0.210453 | 0 | 0.039537 | 0.22016 | 13,849 | 195 | 126 | 71.020513 | 0.757685 | 0.016463 | 0 | 0.010526 | 0 | 0.010526 | 0.339905 | 0.002363 | 0 | 0 | 0 | 0.005128 | 0.957895 | 1 | 0.010526 | false | 0 | 0.005263 | 0 | 0.026316 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d7bf7f7930e175c69a5da5f16a33a1472ac6496d | 115 | py | Python | run_test.py | Reuben481/tigre | f342aaa73da8204140fb48929c28cf2f75566a21 | [
"BSD-3-Clause"
] | null | null | null | run_test.py | Reuben481/tigre | f342aaa73da8204140fb48929c28cf2f75566a21 | [
"BSD-3-Clause"
] | null | null | null | run_test.py | Reuben481/tigre | f342aaa73da8204140fb48929c28cf2f75566a21 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import print_function
from _Ax import Ax
from tigre.Algorithms import SART
print('hello world')
| 23 | 37 | 0.808696 | 17 | 115 | 5.117647 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147826 | 115 | 4 | 38 | 28.75 | 0.887755 | 0 | 0 | 0 | 0 | 0 | 0.095652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
cc1c8f766b384e5ddcb7b4ff0ad39f829b62b3c8 | 73 | py | Python | tests/context_processors/models.py | jpmallarino/django | 659d2421c7adbbcd205604002d521d82d6b0b465 | [
"BSD-3-Clause",
"0BSD"
] | 61,676 | 2015-01-01T00:05:13.000Z | 2022-03-31T20:37:54.000Z | tests/context_processors/models.py | jpmallarino/django | 659d2421c7adbbcd205604002d521d82d6b0b465 | [
"BSD-3-Clause",
"0BSD"
] | 8,884 | 2015-01-01T00:12:05.000Z | 2022-03-31T19:53:11.000Z | tests/context_processors/models.py | jpmallarino/django | 659d2421c7adbbcd205604002d521d82d6b0b465 | [
"BSD-3-Clause",
"0BSD"
] | 33,143 | 2015-01-01T02:04:52.000Z | 2022-03-31T19:42:46.000Z | from django.db import models
class DebugObject(models.Model):
pass
| 12.166667 | 32 | 0.753425 | 10 | 73 | 5.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178082 | 73 | 5 | 33 | 14.6 | 0.916667 | 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 |
0bc5d96966f648cadbfe6b3cbf5fb9b714a41b19 | 44 | py | Python | src/sacred_scripts/__init__.py | jhrmnn/schnetpack | 2f96dee7d184b8db8ee610d6743570daeb3763b9 | [
"MIT"
] | null | null | null | src/sacred_scripts/__init__.py | jhrmnn/schnetpack | 2f96dee7d184b8db8ee610d6743570daeb3763b9 | [
"MIT"
] | null | null | null | src/sacred_scripts/__init__.py | jhrmnn/schnetpack | 2f96dee7d184b8db8ee610d6743570daeb3763b9 | [
"MIT"
] | null | null | null | from sacred_scripts.run_schnetpack import *
| 22 | 43 | 0.863636 | 6 | 44 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0befd131c790b6c5002f2d1c19cce8957b053cd7 | 99 | py | Python | memories/__init__.py | jacobver/mem_seq2seq | 1d87d2fb0884b825131d991e97aecc6d2bd31ce0 | [
"MIT"
] | null | null | null | memories/__init__.py | jacobver/mem_seq2seq | 1d87d2fb0884b825131d991e97aecc6d2bd31ce0 | [
"MIT"
] | null | null | null | memories/__init__.py | jacobver/mem_seq2seq | 1d87d2fb0884b825131d991e97aecc6d2bd31ce0 | [
"MIT"
] | null | null | null | import memories.memory_model
import memories.util as util
from memories.Converser import Converser
| 24.75 | 40 | 0.868687 | 14 | 99 | 6.071429 | 0.571429 | 0.329412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 99 | 3 | 41 | 33 | 0.955056 | 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 |
040f971d7c3a25aa2f6b3bc174e49f099822305b | 1,303 | py | Python | genrl/classical/bandit/__init__.py | ajaysub110/JigglypuffRL | 083fd26d05b7eac018e6db7d32c4be4587461766 | [
"MIT"
] | null | null | null | genrl/classical/bandit/__init__.py | ajaysub110/JigglypuffRL | 083fd26d05b7eac018e6db7d32c4be4587461766 | [
"MIT"
] | null | null | null | genrl/classical/bandit/__init__.py | ajaysub110/JigglypuffRL | 083fd26d05b7eac018e6db7d32c4be4587461766 | [
"MIT"
] | null | null | null | from genrl.classical.bandit.bandits import Bandit # noqa
from genrl.classical.bandit.bandits import BernoulliBandit # noqa
from genrl.classical.bandit.bandits import GaussianBandit # noqa
from genrl.classical.bandit.contextual_bandits import BernoulliCB # noqa
from genrl.classical.bandit.contextual_bandits import C... | 68.578947 | 87 | 0.848043 | 153 | 1,303 | 7.163399 | 0.169935 | 0.14781 | 0.29562 | 0.394161 | 0.762774 | 0.762774 | 0.729015 | 0.42427 | 0 | 0 | 0 | 0 | 0.0967 | 1,303 | 18 | 88 | 72.388889 | 0.931181 | 0.068304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 6 |
0457dcd17de9810388f967ac4a353a3433d957e5 | 8,232 | py | Python | boto/redshift/exceptions.py | bopopescu/debpkg_python-boto | 06f9b6f3693ba1933be8214da69cebcd5212cd97 | [
"MIT"
] | 15 | 2015-03-25T05:24:11.000Z | 2021-12-18T04:24:06.000Z | boto/redshift/exceptions.py | bopopescu/debpkg_python-boto | 06f9b6f3693ba1933be8214da69cebcd5212cd97 | [
"MIT"
] | 1 | 2021-09-11T14:30:32.000Z | 2021-09-11T14:30:32.000Z | boto/redshift/exceptions.py | bopopescu/debpkg_python-boto | 06f9b6f3693ba1933be8214da69cebcd5212cd97 | [
"MIT"
] | 10 | 2015-04-26T17:56:37.000Z | 2020-09-24T14:01:53.000Z | # Copyright (c) 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights ... | 17.895652 | 77 | 0.809038 | 616 | 8,232 | 10.811688 | 0.349026 | 0.343694 | 0.421622 | 0.013814 | 0.015315 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000993 | 0.143465 | 8,232 | 459 | 78 | 17.934641 | 0.943554 | 0.131195 | 0 | 0.506849 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.497717 | 0.004566 | 0 | 0.502283 | 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 |
f09d91ddaea70f71b76289b850f48c08a528b370 | 29 | py | Python | RestFlask-Hotels/MemoryMode/models/__init__.py | LucasBiason/FlaskStudies | a594846f6eaa1655267f84da73764716e22f719b | [
"MIT"
] | null | null | null | RestFlask-Hotels/MemoryMode/models/__init__.py | LucasBiason/FlaskStudies | a594846f6eaa1655267f84da73764716e22f719b | [
"MIT"
] | null | null | null | RestFlask-Hotels/MemoryMode/models/__init__.py | LucasBiason/FlaskStudies | a594846f6eaa1655267f84da73764716e22f719b | [
"MIT"
] | null | null | null | from .hotel import HotelModel | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 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 |
f0c79622e39856b52ad56e96ebd9fff337670348 | 782 | py | Python | python_helper/api/test/api/src/ModuleImportsTest.py | SamuelJansen/python_helper | 1cd43f9ef64cdb84d3c22e56346dc3a1096ac809 | [
"MIT"
] | null | null | null | python_helper/api/test/api/src/ModuleImportsTest.py | SamuelJansen/python_helper | 1cd43f9ef64cdb84d3c22e56346dc3a1096ac809 | [
"MIT"
] | null | null | null | python_helper/api/test/api/src/ModuleImportsTest.py | SamuelJansen/python_helper | 1cd43f9ef64cdb84d3c22e56346dc3a1096ac809 | [
"MIT"
] | null | null | null | from python_helper import log
from python_helper import ObjectHelper
from python_helper import SettingHelper
from python_helper import StringHelper
from python_helper import EnvironmentHelper
from python_helper import ReflectionHelper
from python_helper import RandomHelper
from python_helper import Constant
from python... | 34 | 45 | 0.882353 | 95 | 782 | 7.073684 | 0.263158 | 0.267857 | 0.428571 | 0.589286 | 0.154762 | 0.154762 | 0.154762 | 0.154762 | 0.154762 | 0 | 0 | 0 | 0.104859 | 782 | 22 | 46 | 35.545455 | 0.96 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | true | 0 | 0.904762 | 0 | 0.952381 | 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 |
f0ccb1d4136a01f5a1a46145d3c3722cb4ea2e83 | 142 | py | Python | tests/example/core/tests.py | jacklinke/django-directed | 8ef8cd8a71e9a03a8628dce6465351f676f542ff | [
"Apache-2.0"
] | 2 | 2022-02-09T10:15:40.000Z | 2022-02-22T14:11:03.000Z | tests/example/core/tests.py | jacklinke/django-directed | 8ef8cd8a71e9a03a8628dce6465351f676f542ff | [
"Apache-2.0"
] | 1 | 2022-02-20T14:49:37.000Z | 2022-02-20T14:49:37.000Z | tests/example/core/tests.py | jacklinke/django-directed | 8ef8cd8a71e9a03a8628dce6465351f676f542ff | [
"Apache-2.0"
] | null | null | null | import pytest
from django.conf import settings
def test_account_is_configured():
assert "tests.example.core" in settings.INSTALLED_APPS
| 20.285714 | 58 | 0.809859 | 20 | 142 | 5.55 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 142 | 6 | 59 | 23.666667 | 0.895161 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0b12d5fac4c9dd60c1948ade841572faba00efe9 | 150 | py | Python | BlockSim/settings.py | aminrd/BlockSim | cda6f119ab57b4db6e177a1095705c28d024c25e | [
"MIT"
] | null | null | null | BlockSim/settings.py | aminrd/BlockSim | cda6f119ab57b4db6e177a1095705c28d024c25e | [
"MIT"
] | null | null | null | BlockSim/settings.py | aminrd/BlockSim | cda6f119ab57b4db6e177a1095705c28d024c25e | [
"MIT"
] | null | null | null | import os
root_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
database_url = f'sqlite:///{os.path.join(root_dir, "database.db")}'
| 30 | 70 | 0.733333 | 25 | 150 | 4.12 | 0.56 | 0.23301 | 0.252427 | 0.291262 | 0.31068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 150 | 4 | 71 | 37.5 | 0.735714 | 0 | 0 | 0 | 0 | 0 | 0.326667 | 0.22 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9bfaa1fe4ff1db73cf283a644fc9b01945728a13 | 36 | py | Python | indra/assemblers/cag/__init__.py | zebulon2/indra | 7727ddcab52ad8012eb6592635bfa114e904bd48 | [
"BSD-2-Clause"
] | 1 | 2020-12-27T14:37:10.000Z | 2020-12-27T14:37:10.000Z | indra/assemblers/cag/__init__.py | zebulon2/indra | 7727ddcab52ad8012eb6592635bfa114e904bd48 | [
"BSD-2-Clause"
] | null | null | null | indra/assemblers/cag/__init__.py | zebulon2/indra | 7727ddcab52ad8012eb6592635bfa114e904bd48 | [
"BSD-2-Clause"
] | null | null | null | from .assembler import CAGAssembler
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 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 |
5041bbcb0f65bc2c0fad6c129c93427862929a0a | 67 | py | Python | hackathonbaobab2020/__init__.py | JaimeSotomayor/hackathonbaobab2020 | 0fd527a37adc110d4118c8d87f5448c677a31bba | [
"MIT"
] | null | null | null | hackathonbaobab2020/__init__.py | JaimeSotomayor/hackathonbaobab2020 | 0fd527a37adc110d4118c8d87f5448c677a31bba | [
"MIT"
] | null | null | null | hackathonbaobab2020/__init__.py | JaimeSotomayor/hackathonbaobab2020 | 0fd527a37adc110d4118c8d87f5448c677a31bba | [
"MIT"
] | null | null | null | from .core import *
from .execution import *
from .solver import *
| 16.75 | 24 | 0.731343 | 9 | 67 | 5.444444 | 0.555556 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 3 | 25 | 22.333333 | 0.890909 | 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 |
ac9d2f9fcab843a1a40d34f769236fb2c0df0800 | 4,800 | py | Python | tests/api/one/test_accounts.py | stjordanis/python-client | 2a04351ea4da9db491fd85c8f898bb8fbab542df | [
"MIT"
] | 1 | 2018-12-07T22:42:06.000Z | 2018-12-07T22:42:06.000Z | tests/api/one/test_accounts.py | stjordanis/python-client | 2a04351ea4da9db491fd85c8f898bb8fbab542df | [
"MIT"
] | null | null | null | tests/api/one/test_accounts.py | stjordanis/python-client | 2a04351ea4da9db491fd85c8f898bb8fbab542df | [
"MIT"
] | null | null | null | import responses
from client import ArkClient
def test_balance_calls_correct_url_with_params():
responses.add(
responses.GET,
'http://127.0.0.1:4002/accounts/getBalance',
json={'success': True},
status=200
)
client = ArkClient('http://127.0.0.1:4002', api_version='v1')
... | 30.188679 | 95 | 0.645417 | 657 | 4,800 | 4.601218 | 0.08067 | 0.069467 | 0.079391 | 0.089315 | 0.94608 | 0.924909 | 0.924909 | 0.913993 | 0.884883 | 0.882898 | 0 | 0.100464 | 0.19125 | 4,800 | 158 | 96 | 30.379747 | 0.678259 | 0 | 0 | 0.571429 | 0 | 0 | 0.260417 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.079365 | false | 0.015873 | 0.015873 | 0 | 0.095238 | 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 |
acec77c98e9dde22241e1b4e2ec03f97e2bdf055 | 349 | py | Python | nlproar/explain/importance_measures/__init__.py | AndreasMadsen/nlp-roar-interpretability | ad30f756cd744dfb05d1b57de744c5ff60d9f20c | [
"MIT"
] | 17 | 2021-11-04T02:15:30.000Z | 2021-12-26T16:31:27.000Z | nlproar/explain/importance_measures/__init__.py | AndreasMadsen/nlp-roar-interpretability | ad30f756cd744dfb05d1b57de744c5ff60d9f20c | [
"MIT"
] | null | null | null | nlproar/explain/importance_measures/__init__.py | AndreasMadsen/nlp-roar-interpretability | ad30f756cd744dfb05d1b57de744c5ff60d9f20c | [
"MIT"
] | 1 | 2021-11-04T10:45:25.000Z | 2021-11-04T10:45:25.000Z |
from .attention import AttentionImportanceMeasure
from .gradient import GradientImportanceMeasure
from .integrated_gradient import IntegratedGradientImportanceMeasure
from .mutual_information import MutualInformationImportanceMeasure
from .random import RandomImportanceMeasure
from .input_times_gradient import InputTi... | 43.625 | 69 | 0.911175 | 28 | 349 | 11.214286 | 0.571429 | 0.133758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071633 | 349 | 7 | 70 | 49.857143 | 0.969136 | 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 |
4a16c50ac67ab1d7846d6e1d5c5e6c9ff2749df8 | 8,546 | py | Python | UnityEngine/UI/GraphicRaycaster/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/UI/GraphicRaycaster/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/UI/GraphicRaycaster/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | from typing import overload
from UdonPie import System
from UdonPie import UnityEngine
from UdonPie.Undefined import *
class GraphicRaycaster:
def __new__(cls, arg1=None):
'''
:returns: GraphicRaycaster
:rtype: UnityEngine.UI.GraphicRaycaster
'''
pass
@staticmethod
... | 20.742718 | 77 | 0.540838 | 696 | 8,546 | 6.612069 | 0.094828 | 0.156454 | 0.123859 | 0.088005 | 0.763146 | 0.762495 | 0.727075 | 0.722077 | 0.607562 | 0.51369 | 0 | 0.023307 | 0.367423 | 8,546 | 411 | 78 | 20.793187 | 0.827969 | 0.378423 | 0 | 0.738854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.292994 | false | 0.292994 | 0.025478 | 0 | 0.324841 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c580055bbc089ebf59edd6420a0ce51bf8ec2bef | 101 | py | Python | integration/common/openlineage/common/provider/great_expectations/__init__.py | tomassatka/OpenLineage | 96b34d8ed2eb642dcc3a2ee53eca53f4455ac7c0 | [
"Apache-2.0"
] | 746 | 2020-10-26T16:45:54.000Z | 2022-03-31T22:49:29.000Z | integration/common/openlineage/common/provider/great_expectations/__init__.py | tomassatka/OpenLineage | 96b34d8ed2eb642dcc3a2ee53eca53f4455ac7c0 | [
"Apache-2.0"
] | 442 | 2020-10-26T12:34:58.000Z | 2022-03-31T16:28:41.000Z | integration/common/openlineage/common/provider/great_expectations/__init__.py | tomassatka/OpenLineage | 96b34d8ed2eb642dcc3a2ee53eca53f4455ac7c0 | [
"Apache-2.0"
] | 70 | 2020-12-28T18:52:35.000Z | 2022-03-30T06:58:09.000Z | from openlineage.common.provider.great_expectations.action import OpenLineageValidationAction # noqa
| 50.5 | 100 | 0.891089 | 10 | 101 | 8.9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059406 | 101 | 1 | 101 | 101 | 0.936842 | 0.039604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c5ab4ea59dfac027c47bbe9f226bf71744ff3ad9 | 10,436 | py | Python | example/layers/attention.py | OpenBMB/BMCook | de31035e4d58d67433647e7c676f56ede7ac8477 | [
"Apache-2.0"
] | 1 | 2022-03-29T09:06:17.000Z | 2022-03-29T09:06:17.000Z | example/layers/attention.py | OpenBMB/BMCook | de31035e4d58d67433647e7c676f56ede7ac8477 | [
"Apache-2.0"
] | null | null | null | example/layers/attention.py | OpenBMB/BMCook | de31035e4d58d67433647e7c676f56ede7ac8477 | [
"Apache-2.0"
] | 1 | 2022-03-30T02:25:42.000Z | 2022-03-30T02:25:42.000Z | from typing import Optional
import torch
import bmtrain as bmt
import cpm_kernels.torch as ct
import math
class Attention(bmt.DistributedModule):
def __init__(self,
dim_model : int,
num_heads : int,
dim_head : int,
init_method : bmt.ParameterInitializer,
... | 41.744 | 151 | 0.597355 | 1,508 | 10,436 | 3.831565 | 0.090849 | 0.088612 | 0.062998 | 0.067497 | 0.834545 | 0.809969 | 0.809969 | 0.809969 | 0.809969 | 0.809969 | 0 | 0.015638 | 0.283059 | 10,436 | 249 | 152 | 41.911647 | 0.756616 | 0.258432 | 0 | 0.636943 | 0 | 0 | 0.002652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044586 | false | 0.025478 | 0.031847 | 0 | 0.121019 | 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 |
c5e4c89e80185f3850abfabe2724a9cd076c82b2 | 15,976 | py | Python | lib/pytracking/ltr/data/processing.py | ngunnar/tracking_reg | 71a1d22e53e277f36f961040f03e56efb163ded5 | [
"MIT"
] | 11 | 2020-11-25T16:19:23.000Z | 2022-01-12T08:08:47.000Z | ltr/data/processing.py | tsingqguo/AttackTracker | 054268d5afa0044675c7acf1ac13e621f1c9549e | [
"Apache-2.0"
] | null | null | null | ltr/data/processing.py | tsingqguo/AttackTracker | 054268d5afa0044675c7acf1ac13e621f1c9549e | [
"Apache-2.0"
] | null | null | null | import torch
import torchvision.transforms as transforms
from pytracking import TensorDict
import ltr.data.processing_utils as prutils
class BaseProcessing:
""" Base class for Processing. Processing class is used to process the data returned by a dataset, before passing it
through the network. For example, i... | 49.4613 | 126 | 0.611417 | 1,987 | 15,976 | 4.717665 | 0.130347 | 0.025603 | 0.025603 | 0.014935 | 0.765628 | 0.759228 | 0.740986 | 0.726051 | 0.721464 | 0.711863 | 0 | 0.005547 | 0.311718 | 15,976 | 322 | 127 | 49.614907 | 0.846944 | 0.437782 | 0 | 0.712 | 0 | 0 | 0.080903 | 0 | 0 | 0 | 0 | 0 | 0.016 | 1 | 0.088 | false | 0 | 0.032 | 0 | 0.2 | 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 |
c5fd3ba9c1239d1be32b09988fbbc83d00c6584c | 139 | py | Python | autoflow/feature_engineer/impute/__init__.py | auto-flow/autoflow | f5903424ad8694d57741a0bd6dfeaba320ea6517 | [
"BSD-3-Clause"
] | 49 | 2020-04-16T11:17:28.000Z | 2020-05-06T01:32:44.000Z | autoflow/feature_engineer/impute/__init__.py | auto-flow/autoflow | f5903424ad8694d57741a0bd6dfeaba320ea6517 | [
"BSD-3-Clause"
] | null | null | null | autoflow/feature_engineer/impute/__init__.py | auto-flow/autoflow | f5903424ad8694d57741a0bd6dfeaba320ea6517 | [
"BSD-3-Clause"
] | 3 | 2020-04-17T00:53:24.000Z | 2020-04-23T03:04:26.000Z | from .knn_impute import KNNImputer
from .miss_forest import MissForest
from .simple import SimpleImputer
from .gbt_impute import GBTImputer | 34.75 | 35 | 0.863309 | 19 | 139 | 6.157895 | 0.631579 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107914 | 139 | 4 | 36 | 34.75 | 0.943548 | 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 |
681a3c3478bca9f1176e4b1fd3da716ab0eda4ad | 35 | py | Python | tdirstat/__init__.py | apockill/tdirstat | 2d2196432e3f2a861a24db86064cf36f093585c3 | [
"MIT"
] | 2 | 2020-02-03T18:11:55.000Z | 2020-12-19T21:31:12.000Z | tdirstat/__init__.py | apockill/tdirstat | 2d2196432e3f2a861a24db86064cf36f093585c3 | [
"MIT"
] | 1 | 2021-08-25T01:50:37.000Z | 2021-08-30T04:44:35.000Z | tdirstat/__init__.py | apockill/tdirstat | 2d2196432e3f2a861a24db86064cf36f093585c3 | [
"MIT"
] | null | null | null | from .main import main as tdirstat
| 17.5 | 34 | 0.8 | 6 | 35 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 1 | 35 | 35 | 0.965517 | 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 |
a89c10ebebee62503ebcc5f14e8d005100b55d3e | 146 | py | Python | m16_mlutils/pipeline/__init__.py | messier16/m16_mlutils | 868775f48106f2e3a2090e98b8508349ca278158 | [
"MIT"
] | null | null | null | m16_mlutils/pipeline/__init__.py | messier16/m16_mlutils | 868775f48106f2e3a2090e98b8508349ca278158 | [
"MIT"
] | 9 | 2018-10-13T06:50:05.000Z | 2021-06-01T23:07:42.000Z | m16_mlutils/pipeline/__init__.py | messier16/m16_mlutils | 868775f48106f2e3a2090e98b8508349ca278158 | [
"MIT"
] | null | null | null | from .DataFrameSelector import DataFrameSelector
from .MostFrequentImputer import MostFrequentImputer
from .CategoryEncoder import CategoryEncoder | 48.666667 | 52 | 0.90411 | 12 | 146 | 11 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075342 | 146 | 3 | 53 | 48.666667 | 0.977778 | 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 |
a89fb7b3f701258a61b86789bfb6848889a90154 | 1,762 | py | Python | shamanai/common/wrapper2.py | adaptationio/Shaman-RL | 548fa847e6ba2105cc0a876b02db3f3d7c179c54 | [
"MIT"
] | 2 | 2020-06-13T04:38:08.000Z | 2022-03-22T08:38:10.000Z | shamanai/common/wrapper2.py | adaptationio/Shaman-RL | 548fa847e6ba2105cc0a876b02db3f3d7c179c54 | [
"MIT"
] | 1 | 2020-11-13T17:46:38.000Z | 2020-11-13T17:46:38.000Z | shamanai/common/wrapper2.py | adaptationio/Shaman-AI | 548fa847e6ba2105cc0a876b02db3f3d7c179c54 | [
"MIT"
] | null | null | null | import numpy as np
from collections import deque
import gym
from gym import spaces
import cv2
import tensorflow as tf
import json
class WarpFrame(gym.ObservationWrapper):
def __init__(self, env):
"""Warp frames to 84x84 as done in the Nature paper and later work."""
gym.ObservationWrapper.__init__(... | 37.489362 | 102 | 0.665721 | 235 | 1,762 | 4.859574 | 0.297872 | 0.110333 | 0.057793 | 0.073555 | 0.783713 | 0.783713 | 0.752189 | 0.752189 | 0.715412 | 0.64711 | 0 | 0.043255 | 0.22588 | 1,762 | 46 | 103 | 38.304348 | 0.793988 | 0.140182 | 0 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.194444 | 0 | 0.527778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
765e536ba56c55528d56c015566fe130f4999b8d | 122 | py | Python | zmyy/zmyy.py | ZehnMilliarden/PublicPyTools | 4671cac07de00ecbdf50b0ef577d847c4ee6f892 | [
"Apache-2.0"
] | 4 | 2021-11-14T07:50:42.000Z | 2021-11-29T01:38:00.000Z | zmyy/zmyy.py | ZehnMilliarden/PublicPyTools | 4671cac07de00ecbdf50b0ef577d847c4ee6f892 | [
"Apache-2.0"
] | null | null | null | zmyy/zmyy.py | ZehnMilliarden/PublicPyTools | 4671cac07de00ecbdf50b0ef577d847c4ee6f892 | [
"Apache-2.0"
] | null | null | null |
import zmyy_a
import zmyy_b
import zmyy_s
if __name__ == '__main__':
# zmyy_a.excute_main()
zmyy_b.excute_main() | 15.25 | 26 | 0.721311 | 20 | 122 | 3.65 | 0.45 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 122 | 8 | 27 | 15.25 | 0.73 | 0.163934 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
767ab757b6c644bb0b13ae27db0c4c707931f56d | 10,742 | py | Python | ddq_1/lang/fol_inference.py | jadnohra/connect | 8eb21e6f122898094447bc3d5edb3053d5a2adf2 | [
"Unlicense"
] | null | null | null | ddq_1/lang/fol_inference.py | jadnohra/connect | 8eb21e6f122898094447bc3d5edb3053d5a2adf2 | [
"Unlicense"
] | 6 | 2021-03-19T12:06:56.000Z | 2022-03-12T00:23:09.000Z | ddq_1/lang/fol_inference.py | jadnohra/connect | 8eb21e6f122898094447bc3d5edb3053d5a2adf2 | [
"Unlicense"
] | null | null | null | '''
References:
- Symbolic Logic, Copi, p.33, 396
'''
from typing import List
from .fol_lang import Wff, PropVarWff, BinaryWff, PropositionalVariable, NegWff
class Inference:
def short_name(self):
pass
def possible_inferences(self, permisses: List[Wff]):
pass
class PropInference(Inference)... | 27.685567 | 79 | 0.592255 | 1,107 | 10,742 | 5.474255 | 0.088528 | 0.124752 | 0.055446 | 0.073927 | 0.828383 | 0.802805 | 0.761221 | 0.756601 | 0.733993 | 0.696205 | 0 | 0.013466 | 0.287935 | 10,742 | 387 | 80 | 27.757106 | 0.778795 | 0.004282 | 0 | 0.677852 | 0 | 0 | 0.013847 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.191275 | false | 0.016779 | 0.006711 | 0.083893 | 0.375839 | 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 |
767c80a0b89e81a36d63833781ae88999338bf2b | 19 | py | Python | python/testData/resolve/multiFile/resolveInPkg/pkg/submodule.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/multiFile/resolveInPkg/pkg/submodule.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/resolve/multiFile/resolveInPkg/pkg/submodule.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def token():
pass | 9.5 | 12 | 0.631579 | 3 | 19 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 2 | 13 | 9.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | 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 |
767c957bb26309d3466ca37f3047270b07f8f60f | 35 | py | Python | reqlog/api/requests/view/__init__.py | JFF-Bohdan/reqlog | a7ba7b6e12609d736b3cd8cd8bc2913d511848ee | [
"MIT"
] | null | null | null | reqlog/api/requests/view/__init__.py | JFF-Bohdan/reqlog | a7ba7b6e12609d736b3cd8cd8bc2913d511848ee | [
"MIT"
] | null | null | null | reqlog/api/requests/view/__init__.py | JFF-Bohdan/reqlog | a7ba7b6e12609d736b3cd8cd8bc2913d511848ee | [
"MIT"
] | null | null | null | from .api_view_all import * # noqa | 35 | 35 | 0.742857 | 6 | 35 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 1 | 35 | 35 | 0.827586 | 0.114286 | 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 |
76bcfa0ec30e0c395ca989eb1be41b2aa4dff255 | 3,312 | py | Python | RNNs.py | ishine/RPN_KWS | b54d4010a701a6ec0a9ddf3ab6177a4be6dd6af5 | [
"MIT"
] | 53 | 2019-08-13T08:05:26.000Z | 2022-02-27T15:44:59.000Z | RNNs.py | ishine/RPN_KWS | b54d4010a701a6ec0a9ddf3ab6177a4be6dd6af5 | [
"MIT"
] | 3 | 2019-10-31T09:25:38.000Z | 2021-04-16T06:26:39.000Z | RNNs.py | ishine/RPN_KWS | b54d4010a701a6ec0a9ddf3ab6177a4be6dd6af5 | [
"MIT"
] | 19 | 2019-08-14T03:47:58.000Z | 2022-02-14T08:49:38.000Z | #!/usr/bin/env python
# Copyrigh 2018 houjingyong@gmail.com
# MIT Licence
import numpy as np
import sys
import torch
import torch.nn as nn
from torch.nn.utils.rnn import pack_padded_sequence, pad_packed_sequence
from basic_nodes import *
class GRU(nn.Module):
def __init__(self, input_size, output_size, hidden... | 38.964706 | 178 | 0.632246 | 437 | 3,312 | 4.533181 | 0.210526 | 0.065623 | 0.056537 | 0.034326 | 0.750126 | 0.732963 | 0.732963 | 0.732963 | 0.732963 | 0.695608 | 0 | 0.010744 | 0.269324 | 3,312 | 84 | 179 | 39.428571 | 0.807851 | 0.033213 | 0 | 0.537313 | 0 | 0 | 0.012825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.089552 | null | null | 0.014925 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4f12370126b2ab7c00276ce1e1cc4e5de67cd411 | 26 | py | Python | undict/__init__.py | firstprayer/undict | 94edc66c8243ee35746d830b80e8bd4a9f046f20 | [
"MIT"
] | null | null | null | undict/__init__.py | firstprayer/undict | 94edc66c8243ee35746d830b80e8bd4a9f046f20 | [
"MIT"
] | null | null | null | undict/__init__.py | firstprayer/undict | 94edc66c8243ee35746d830b80e8bd4a9f046f20 | [
"MIT"
] | null | null | null | from undict import undict
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 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 |
4f2646ef476417fa46e6a5536e7103e237123ff4 | 25,643 | py | Python | projects/08/code_writer.py | Youngermaster/Nand2Tetris-Solutions | 9fb4ac31a0558bcc2324696bfb451aac11232088 | [
"MIT"
] | null | null | null | projects/08/code_writer.py | Youngermaster/Nand2Tetris-Solutions | 9fb4ac31a0558bcc2324696bfb451aac11232088 | [
"MIT"
] | null | null | null | projects/08/code_writer.py | Youngermaster/Nand2Tetris-Solutions | 9fb4ac31a0558bcc2324696bfb451aac11232088 | [
"MIT"
] | null | null | null | import os
from parser import Parser
class CodeWriter:
def __init__(self, filepath, isfile=True):
self.parser = Parser(filepath)
self.isfile = isfile
# * Performs the logic of the recommended setFileName constructor here
if self.isfile:
ind1 = path.find('/')
... | 38.618976 | 106 | 0.491167 | 3,591 | 25,643 | 3.451128 | 0.064884 | 0.252401 | 0.407004 | 0.289196 | 0.745017 | 0.717986 | 0.687081 | 0.669168 | 0.647946 | 0.626644 | 0 | 0.013359 | 0.337363 | 25,643 | 663 | 107 | 38.677225 | 0.715984 | 0.105721 | 0 | 0.706093 | 0 | 0 | 0.137646 | 0.00889 | 0 | 0 | 0 | 0.001508 | 0.003584 | 1 | 0.021505 | false | 0.008961 | 0.003584 | 0 | 0.026882 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 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 |
4f5d1809808d697e40d6c3b20491f75cf98a311a | 214 | py | Python | services/__init__.py | dev-11/mars-rover-challenge | 67569fcc4b93e5ec4cbe466d7a2fd5b3e9a316b0 | [
"MIT"
] | null | null | null | services/__init__.py | dev-11/mars-rover-challenge | 67569fcc4b93e5ec4cbe466d7a2fd5b3e9a316b0 | [
"MIT"
] | null | null | null | services/__init__.py | dev-11/mars-rover-challenge | 67569fcc4b93e5ec4cbe466d7a2fd5b3e9a316b0 | [
"MIT"
] | null | null | null | from .rover_runner_service import RoverRunnerService
from .move_commands import get_move_commands, MoveCommandSelector
from .turn_commands import get_turn_commands, TurnCommandSelector
from .command import Command
| 42.8 | 65 | 0.88785 | 26 | 214 | 7 | 0.5 | 0.131868 | 0.186813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084112 | 214 | 4 | 66 | 53.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
96e11fbf2414390c277f0a9f47b09043ce2bb218 | 35 | py | Python | linux_plex_updater/api/__init__.py | amickael/Linux-Plex-Updater | a74dc480d374daf52ee4cc09b40ea34b9e6ffcd4 | [
"MIT"
] | null | null | null | linux_plex_updater/api/__init__.py | amickael/Linux-Plex-Updater | a74dc480d374daf52ee4cc09b40ea34b9e6ffcd4 | [
"MIT"
] | null | null | null | linux_plex_updater/api/__init__.py | amickael/Linux-Plex-Updater | a74dc480d374daf52ee4cc09b40ea34b9e6ffcd4 | [
"MIT"
] | null | null | null | from .PlexClient import PlexClient
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c04cad192ddc2276a9700252dfd9cb17cf0b09e | 135 | py | Python | tests/__init__.py | g-simmons2/py2cytoscape | e2cd1c5d598e1da02f50273e958ddf574c523eb8 | [
"MIT"
] | 97 | 2018-01-23T00:20:51.000Z | 2022-03-11T05:01:01.000Z | tests/__init__.py | g-simmons2/py2cytoscape | e2cd1c5d598e1da02f50273e958ddf574c523eb8 | [
"MIT"
] | 64 | 2018-01-24T14:51:20.000Z | 2022-02-21T01:05:02.000Z | tests/__init__.py | g-simmons2/py2cytoscape | e2cd1c5d598e1da02f50273e958ddf574c523eb8 | [
"MIT"
] | 25 | 2018-01-20T20:29:39.000Z | 2021-04-09T17:28:58.000Z | # -*- coding: utf-8 -*-
"""
Tests for py2cytoscape
-------------------
"""
import json
print('============ Test Init =============')
| 13.5 | 45 | 0.392593 | 11 | 135 | 4.818182 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.140741 | 135 | 9 | 46 | 15 | 0.439655 | 0.481481 | 0 | 0 | 0 | 0 | 0.590164 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
8c2179e387711c77d6977a6fa547da1822d10e82 | 198 | py | Python | function/python/brightics/common/json/__init__.py | nohkwangsun/studio | b2dd7da1d73d83bef6c046d73fb85639d3006fc2 | [
"Apache-2.0"
] | null | null | null | function/python/brightics/common/json/__init__.py | nohkwangsun/studio | b2dd7da1d73d83bef6c046d73fb85639d3006fc2 | [
"Apache-2.0"
] | null | null | null | function/python/brightics/common/json/__init__.py | nohkwangsun/studio | b2dd7da1d73d83bef6c046d73fb85639d3006fc2 | [
"Apache-2.0"
] | 1 | 2020-11-19T06:44:15.000Z | 2020-11-19T06:44:15.000Z | def to_json(data, for_redis=False):
from .encoder import encode
return encode(data, for_redis)
def from_json(json_str):
from .decoder import decode
return decode(json_str)
| 22 | 36 | 0.70202 | 29 | 198 | 4.586207 | 0.517241 | 0.105263 | 0.180451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 198 | 8 | 37 | 24.75 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c3f7564cb15fff935229ac0ac2f5e217d40d599 | 126 | py | Python | mlpipe/data_reader/mongodb/__init__.py | j-o-d-o/MLPipe-Trainer | b686dc4d28e3d4cd2c6581487f8a2491a6d7cb60 | [
"MIT"
] | null | null | null | mlpipe/data_reader/mongodb/__init__.py | j-o-d-o/MLPipe-Trainer | b686dc4d28e3d4cd2c6581487f8a2491a6d7cb60 | [
"MIT"
] | null | null | null | mlpipe/data_reader/mongodb/__init__.py | j-o-d-o/MLPipe-Trainer | b686dc4d28e3d4cd2c6581487f8a2491a6d7cb60 | [
"MIT"
] | null | null | null | from .mongodb_connect import MongoDBConnect
from .mongodb_generator import MongoDBGenerator
from .data_loader import load_ids
| 31.5 | 47 | 0.880952 | 16 | 126 | 6.6875 | 0.6875 | 0.205607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 126 | 3 | 48 | 42 | 0.938596 | 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 |
8c5cb547cfc5e18d429cee44a2b29b3240bf6d91 | 195 | py | Python | NewPee/tests.py | CMPUT404W19T3/NewPee | ba34341e0407746c12aec72689e50fbc2054ae77 | [
"MIT"
] | 2 | 2019-02-19T17:11:58.000Z | 2019-02-19T17:19:28.000Z | NewPee/tests.py | CMPUT404W19T3/NewPee | ba34341e0407746c12aec72689e50fbc2054ae77 | [
"MIT"
] | 74 | 2019-02-01T17:15:02.000Z | 2022-03-08T21:09:44.000Z | NewPee/tests.py | CMPUT404W19T3/NewPee | ba34341e0407746c12aec72689e50fbc2054ae77 | [
"MIT"
] | 1 | 2019-03-15T16:09:51.000Z | 2019-03-15T16:09:51.000Z | from django.test import TestCase
from Tests.test_author import AuthorModelTests
from Tests.test_frontend import FrontEndTests
from Tests.test_post import PostModelTests
# Create your tests here. | 32.5 | 46 | 0.861538 | 27 | 195 | 6.111111 | 0.555556 | 0.163636 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 195 | 6 | 47 | 32.5 | 0.948276 | 0.117949 | 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 |
4fcc9b858948fe4ebbe885fd09e1441ed28c834c | 3,776 | py | Python | vnet_manager/settings/test.py | ppartarr/vnet-manager | e7e8dfc9014c98f34bce639f48e0baa603d83b67 | [
"MIT"
] | null | null | null | vnet_manager/settings/test.py | ppartarr/vnet-manager | e7e8dfc9014c98f34bce639f48e0baa603d83b67 | [
"MIT"
] | null | null | null | vnet_manager/settings/test.py | ppartarr/vnet-manager | e7e8dfc9014c98f34bce639f48e0baa603d83b67 | [
"MIT"
] | null | null | null | from .base import *
# /dev/log doesn't exist everywhere
del LOGGING["handlers"]["syslog"]["address"]
# Fixture config
CONFIG = {
"providers": {
"lxc": {
"supported_operating_systems": ["bionic", "focal"],
"dns-nameserver": "1.1.1.1",
"required_host_packages": ["lxd", "l... | 44.423529 | 140 | 0.480932 | 444 | 3,776 | 4.04955 | 0.274775 | 0.053393 | 0.053393 | 0.040044 | 0.801446 | 0.786986 | 0.755284 | 0.755284 | 0.755284 | 0.755284 | 0 | 0.122167 | 0.252119 | 3,776 | 84 | 141 | 44.952381 | 0.514518 | 0.017214 | 0 | 0.493506 | 0 | 0 | 0.498516 | 0.056919 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012987 | 0 | 0.012987 | 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 |
8b0602dde28463d89f06e3aeec4ac0d327387ee9 | 16,775 | py | Python | huaweicloud-sdk-elb/huaweicloudsdkelb/v2/__init__.py | wuchen-huawei/huaweicloud-sdk-python-v3 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | [
"Apache-2.0"
] | 64 | 2020-06-12T07:05:07.000Z | 2022-03-30T03:32:50.000Z | huaweicloud-sdk-elb/huaweicloudsdkelb/v2/__init__.py | wuchen-huawei/huaweicloud-sdk-python-v3 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | [
"Apache-2.0"
] | 11 | 2020-07-06T07:56:54.000Z | 2022-01-11T11:14:40.000Z | huaweicloud-sdk-elb/huaweicloudsdkelb/v2/__init__.py | wuchen-huawei/huaweicloud-sdk-python-v3 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | [
"Apache-2.0"
] | 24 | 2020-06-08T11:42:13.000Z | 2022-03-04T06:44:08.000Z | # coding: utf-8
from __future__ import absolute_import
# import ElbClient
from huaweicloudsdkelb.v2.elb_client import ElbClient
from huaweicloudsdkelb.v2.elb_async_client import ElbAsyncClient
# import models into sdk package
from huaweicloudsdkelb.v2.model.action_match import ActionMatch
from huaweicloudsdkelb.v2.mo... | 84.722222 | 121 | 0.919404 | 1,796 | 16,775 | 8.332405 | 0.139198 | 0.266622 | 0.292015 | 0.351754 | 0.541129 | 0.507718 | 0.258336 | 0.082459 | 0.047043 | 0 | 0 | 0.016067 | 0.046438 | 16,775 | 197 | 122 | 85.152284 | 0.91948 | 0.003636 | 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 |
8cf0e53859e40d148324cd066673c6a4a76c4bdf | 22,829 | py | Python | from_config/dev/model_dev.py | astrockragh/IceCube | eba09e9f9a3c351dbf05496821bcd7d29ac0261c | [
"MIT"
] | null | null | null | from_config/dev/model_dev.py | astrockragh/IceCube | eba09e9f9a3c351dbf05496821bcd7d29ac0261c | [
"MIT"
] | null | null | null | from_config/dev/model_dev.py | astrockragh/IceCube | eba09e9f9a3c351dbf05496821bcd7d29ac0261c | [
"MIT"
] | 2 | 2021-03-03T20:39:38.000Z | 2021-06-09T11:58:00.000Z | import os
import numpy as np
from spektral.layers.convolutional.gcn_conv import GCNConv
os.environ["TF_CPP_MIN_LOG_LEVEL"] = '2'
import tensorflow as tf
from spektral.layers import ECCConv, GraphSageConv, MessagePassing
from spektral.layers.pooling.global_pool import GlobalMaxPool, GlobalAvgPool, GlobalSumPool
from... | 40.766071 | 244 | 0.60686 | 3,329 | 22,829 | 3.994293 | 0.077801 | 0.048733 | 0.01083 | 0.013236 | 0.787095 | 0.764007 | 0.736632 | 0.725201 | 0.705949 | 0.687448 | 0 | 0.021962 | 0.26002 | 22,829 | 560 | 245 | 40.766071 | 0.765169 | 0.047045 | 0 | 0.728111 | 0 | 0 | 0.003598 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046083 | false | 0.004608 | 0.023041 | 0.004608 | 0.119816 | 0.002304 | 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 |
8cf957b985cbf2f565da3a545f37b6007d69179b | 10,247 | py | Python | ore/tests/tests_permissions.py | lukegb/Ore-python | 1d1c73795406fa52ae969726feb89f7aedbc4afc | [
"MIT"
] | 1 | 2016-05-24T14:49:42.000Z | 2016-05-24T14:49:42.000Z | ore/tests/tests_permissions.py | gratimax/ore-old | 1d1c73795406fa52ae969726feb89f7aedbc4afc | [
"MIT"
] | null | null | null | ore/tests/tests_permissions.py | gratimax/ore-old | 1d1c73795406fa52ae969726feb89f7aedbc4afc | [
"MIT"
] | null | null | null | from django.contrib.contenttypes.models import ContentType
from ore.accounts.models import OreUser
from ore.core.models import Permission, Organization
from django.test import TestCase
from ore.projects.models import Project
from ore.teams.models import OrganizationTeam
class PermissionsTestCase(TestCase):
def m... | 46.157658 | 115 | 0.679809 | 1,233 | 10,247 | 5.360097 | 0.068127 | 0.064155 | 0.05901 | 0.104403 | 0.919958 | 0.913149 | 0.876381 | 0.864881 | 0.857013 | 0.828113 | 0 | 0 | 0.215185 | 10,247 | 221 | 116 | 46.366516 | 0.82181 | 0 | 0 | 0.691489 | 0 | 0 | 0.105885 | 0.002537 | 0 | 0 | 0 | 0 | 0.159574 | 1 | 0.06383 | false | 0.005319 | 0.031915 | 0 | 0.106383 | 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 |
5069f67c5c7bc019b3bb913925c7782b29dba34f | 56 | py | Python | test.py | anhlt59/firebase-tutorial | 0044873cbbdb4c75769941af6df2b0f2de473cbc | [
"MIT"
] | null | null | null | test.py | anhlt59/firebase-tutorial | 0044873cbbdb4c75769941af6df2b0f2de473cbc | [
"MIT"
] | null | null | null | test.py | anhlt59/firebase-tutorial | 0044873cbbdb4c75769941af6df2b0f2de473cbc | [
"MIT"
] | null | null | null | import firebase_admin
# from firebase_admin import db
| 11.2 | 31 | 0.821429 | 8 | 56 | 5.5 | 0.625 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 56 | 4 | 32 | 14 | 0.93617 | 0.517857 | 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 |
506fcb5f72f8f72d20284d842495b20339901545 | 353 | py | Python | scripts/whitelist.py | marcofavorito/google-hashcode-2021 | d12ea986343d27bf531247e7e70e6bea030116fd | [
"MIT"
] | null | null | null | scripts/whitelist.py | marcofavorito/google-hashcode-2021 | d12ea986343d27bf531247e7e70e6bea030116fd | [
"MIT"
] | null | null | null | scripts/whitelist.py | marcofavorito/google-hashcode-2021 | d12ea986343d27bf531247e7e70e6bea030116fd | [
"MIT"
] | null | null | null | # type: ignore
o # unused variable (hashcode/common/base.py:38)
write_input # unused function (hashcode/common/base.py:59)
obj # unused variable (hashcode/common/base.py:59)
read_output # unused function (hashcode/common/base.py:70)
obj # unused variable (hashcode/common/base.py:80)
_._module_name # unused attrib... | 44.125 | 63 | 0.76204 | 53 | 353 | 4.981132 | 0.45283 | 0.318182 | 0.340909 | 0.378788 | 0.681818 | 0.666667 | 0.280303 | 0 | 0 | 0 | 0 | 0.038217 | 0.110482 | 353 | 7 | 64 | 50.428571 | 0.802548 | 0.8017 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
507aa04f87a5c2f1fcc7be8f05e51279ca73612f | 30,476 | py | Python | scripts/DR_comparison_stats_SG41_52.py | hhuang2018/HLAWholeGeneAnalysis | 9cdd2e062a6cc2eed2ebfa84e1888687b2b98cf3 | [
"MIT"
] | 2 | 2018-03-28T19:06:40.000Z | 2020-08-06T08:32:09.000Z | scripts/DR_comparison_stats_SG41_52.py | hhuang2018/HLAWholeGeneAnalysis | 9cdd2e062a6cc2eed2ebfa84e1888687b2b98cf3 | [
"MIT"
] | null | null | null | scripts/DR_comparison_stats_SG41_52.py | hhuang2018/HLAWholeGeneAnalysis | 9cdd2e062a6cc2eed2ebfa84e1888687b2b98cf3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Oct 3 14:42:06 2017
@author: hhuang2
"""
import glob
import sqlite3 as sql
# from utils import phase_block_check as ps
from utils import IMGTdbIO, CompareSeq
import os
import re
fname = '../Output/SG41_52/2018/IMGTv3310/SG41_52_DRpair_Stats/SG41_52_... | 59.992126 | 204 | 0.493077 | 2,845 | 30,476 | 5.059051 | 0.073814 | 0.123393 | 0.065865 | 0.056555 | 0.831098 | 0.791079 | 0.767178 | 0.743834 | 0.695546 | 0.668936 | 0 | 0.028235 | 0.380595 | 30,476 | 508 | 205 | 59.992126 | 0.734227 | 0.074846 | 0 | 0.674419 | 0 | 0 | 0.118291 | 0.024129 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.01292 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5080d273a610511207399cb356f74e6810f43f4f | 2,313 | py | Python | models.py | water-vapor/how-can-we-be-so-dense-pytorch | 76132ee80dfc29c9c60e7ca614f8f9415d133b5e | [
"MIT"
] | null | null | null | models.py | water-vapor/how-can-we-be-so-dense-pytorch | 76132ee80dfc29c9c60e7ca614f8f9415d133b5e | [
"MIT"
] | null | null | null | models.py | water-vapor/how-can-we-be-so-dense-pytorch | 76132ee80dfc29c9c60e7ca614f8f9415d133b5e | [
"MIT"
] | null | null | null | import torch
from layers import SparseLinear, KWinner, SparseConv2D
class DenseMLP(torch.nn.Module):
def __init__(self):
super().__init__()
self.layers_stack = torch.nn.Sequential(
torch.nn.Flatten(),
torch.nn.Linear(784, 128),
torch.nn.ReLU(),
torc... | 26.586207 | 54 | 0.543018 | 267 | 2,313 | 4.516854 | 0.168539 | 0.191542 | 0.124378 | 0.066335 | 0.839138 | 0.830017 | 0.767828 | 0.767828 | 0.767828 | 0.767828 | 0 | 0.067688 | 0.322957 | 2,313 | 86 | 55 | 26.895349 | 0.702427 | 0 | 0 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.028571 | 0.071429 | 0.314286 | 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 |
50a2011cfd3821bb6f5b4c71ac548be24eaacfec | 100 | py | Python | django/mysite/tourit/context_processors.py | rishiraj-rpg/MPR--Tour-It | 923dc55f49848583898b6402824c7bcf6d8ebe7b | [
"MIT"
] | null | null | null | django/mysite/tourit/context_processors.py | rishiraj-rpg/MPR--Tour-It | 923dc55f49848583898b6402824c7bcf6d8ebe7b | [
"MIT"
] | null | null | null | django/mysite/tourit/context_processors.py | rishiraj-rpg/MPR--Tour-It | 923dc55f49848583898b6402824c7bcf6d8ebe7b | [
"MIT"
] | 1 | 2022-03-22T17:43:33.000Z | 2022-03-22T17:43:33.000Z | from tourit.models import PlaceType
def sidenav(request):
return{'sn':PlaceType.objects.all()}
| 20 | 40 | 0.75 | 13 | 100 | 5.769231 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 100 | 4 | 41 | 25 | 0.852273 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
0f9778ac1d5327b60845e52065892fab09f1e3a8 | 25 | py | Python | sniffpy/__init__.py | asifmallik/sniffpy | 0214a2b899e9bd169f782e363a836dfb4dd94bf2 | [
"MIT"
] | null | null | null | sniffpy/__init__.py | asifmallik/sniffpy | 0214a2b899e9bd169f782e363a836dfb4dd94bf2 | [
"MIT"
] | null | null | null | sniffpy/__init__.py | asifmallik/sniffpy | 0214a2b899e9bd169f782e363a836dfb4dd94bf2 | [
"MIT"
] | null | null | null | from .sniff import sniff
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
0fa7cbab5735418c9ff13c86764cde19cc52444d | 8,702 | py | Python | pulse2percept/implants/tests/test_prima.py | tanyabhatia/pulse2percept | b322c7daf22154d60f7abd8adb039c5982824a7c | [
"BSD-3-Clause"
] | null | null | null | pulse2percept/implants/tests/test_prima.py | tanyabhatia/pulse2percept | b322c7daf22154d60f7abd8adb039c5982824a7c | [
"BSD-3-Clause"
] | null | null | null | pulse2percept/implants/tests/test_prima.py | tanyabhatia/pulse2percept | b322c7daf22154d60f7abd8adb039c5982824a7c | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import pytest
import numpy.testing as npt
from matplotlib.patches import Circle, RegularPolygon
from pulse2percept.implants import (PhotovoltaicPixel, PRIMA, PRIMA75, PRIMA55,
PRIMA40)
def test_PhotovoltaicPixel():
electrode = PhotovoltaicPixel(0, 1, 2, 3, 4... | 37.029787 | 79 | 0.612503 | 1,326 | 8,702 | 3.919306 | 0.136501 | 0.081393 | 0.072157 | 0.096209 | 0.893208 | 0.845103 | 0.814124 | 0.802963 | 0.775447 | 0.77006 | 0 | 0.063581 | 0.222822 | 8,702 | 234 | 80 | 37.188034 | 0.704865 | 0.199494 | 0 | 0.58156 | 0 | 0 | 0.048473 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.035461 | false | 0 | 0.035461 | 0 | 0.070922 | 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 |
0fa991bee0b5cc0c29e9f2e3c50d359bb1b104ac | 106 | py | Python | python/pytraph/core/__init__.py | toyteam/traph | ae80d4e205e447fd8688dc95b76a43507b7fe568 | [
"MIT"
] | 1 | 2019-07-05T05:41:00.000Z | 2019-07-05T05:41:00.000Z | python/pytraph/core/__init__.py | jstzwj/traph | ae80d4e205e447fd8688dc95b76a43507b7fe568 | [
"MIT"
] | null | null | null | python/pytraph/core/__init__.py | jstzwj/traph | ae80d4e205e447fd8688dc95b76a43507b7fe568 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pytraph.core.dtype
import pytraph.core.tensor
__all__ = ["dtype", "tensor"] | 26.5 | 29 | 0.688679 | 14 | 106 | 4.928571 | 0.642857 | 0.376812 | 0.492754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.113208 | 106 | 4 | 29 | 26.5 | 0.723404 | 0.198113 | 0 | 0 | 0 | 0 | 0.130952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba06d6e941fd37fb51bb507ff0294bf1e5632c1b | 157 | py | Python | chrome_dino/carregar_sprites.py | jjpaulo2/chrome-dino-pygame | f9fd40de343cd6d0e075e302d120f4ba9e09874d | [
"MIT"
] | null | null | null | chrome_dino/carregar_sprites.py | jjpaulo2/chrome-dino-pygame | f9fd40de343cd6d0e075e302d120f4ba9e09874d | [
"MIT"
] | null | null | null | chrome_dino/carregar_sprites.py | jjpaulo2/chrome-dino-pygame | f9fd40de343cd6d0e075e302d120f4ba9e09874d | [
"MIT"
] | null | null | null | import pygame, pathlib
def carregar_imagem(imagem: str):
return pygame.image.load(str(pathlib.Path(__file__).parent.absolute()) + "/sprites/" + imagem)
| 31.4 | 98 | 0.738854 | 20 | 157 | 5.55 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10828 | 157 | 4 | 99 | 39.25 | 0.792857 | 0 | 0 | 0 | 0 | 0 | 0.057325 | 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 |
e83d12b3b8bcff33e2ae3042aee9f0972e109ad4 | 28,423 | py | Python | sesame/jacobian2.py | haney411/sesame | 866aefb048143c5df131310253ce67b4a24283fc | [
"BSD-3-Clause"
] | 2 | 2018-04-06T14:50:20.000Z | 2021-01-19T16:16:15.000Z | sesame/jacobian2.py | haney411/sesame | 866aefb048143c5df131310253ce67b4a24283fc | [
"BSD-3-Clause"
] | null | null | null | sesame/jacobian2.py | haney411/sesame | 866aefb048143c5df131310253ce67b4a24283fc | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2017 University of Maryland.
#
# This file is part of Sesame. It is subject to the license terms in the file
# LICENSE.rst found in the top-level directory of this distribution.
import numpy as np
from itertools import chain
from .observables import *
from .defects import defectsJ
def getJ(sys, v, efn, ... | 40.896403 | 125 | 0.535517 | 4,504 | 28,423 | 3.152087 | 0.046847 | 0.076072 | 0.0355 | 0.016341 | 0.871945 | 0.836515 | 0.799887 | 0.764739 | 0.741776 | 0.71825 | 0 | 0.04419 | 0.238856 | 28,423 | 694 | 126 | 40.955331 | 0.612046 | 0.213911 | 0 | 0.459459 | 0 | 0 | 0.005372 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013514 | false | 0 | 0.010811 | 0 | 0.035135 | 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 |
e84eabbd460f2f829dad15e2a6f8d4a4f2a0739f | 14,581 | py | Python | gnocchi/indexer/alembic/versions/1c98ac614015_initial_base.py | NeCTAR-RC/gnocchi | aa2e5d1ce03291d492808b60c674537733d3f1a9 | [
"Apache-2.0"
] | null | null | null | gnocchi/indexer/alembic/versions/1c98ac614015_initial_base.py | NeCTAR-RC/gnocchi | aa2e5d1ce03291d492808b60c674537733d3f1a9 | [
"Apache-2.0"
] | null | null | null | gnocchi/indexer/alembic/versions/1c98ac614015_initial_base.py | NeCTAR-RC/gnocchi | aa2e5d1ce03291d492808b60c674537733d3f1a9 | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2015 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | 54.406716 | 189 | 0.729031 | 1,810 | 14,581 | 5.643646 | 0.095028 | 0.054038 | 0.077827 | 0.06373 | 0.84464 | 0.842095 | 0.812237 | 0.767597 | 0.738815 | 0.723642 | 0 | 0.010786 | 0.1098 | 14,581 | 267 | 190 | 54.610487 | 0.776194 | 0.048419 | 0 | 0.548117 | 0 | 0 | 0.275464 | 0.107269 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004184 | false | 0 | 0.016736 | 0 | 0.020921 | 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 |
e8591f3ade3921c59c209e435e1a1cd0a5035ea4 | 2,247 | py | Python | transliteration.py | HALLOWe3n/UA-to-EN-Transliteration | dfdf2baa2396a4d329e79e65000a26afe7818088 | [
"MIT"
] | null | null | null | transliteration.py | HALLOWe3n/UA-to-EN-Transliteration | dfdf2baa2396a4d329e79e65000a26afe7818088 | [
"MIT"
] | null | null | null | transliteration.py | HALLOWe3n/UA-to-EN-Transliteration | dfdf2baa2396a4d329e79e65000a26afe7818088 | [
"MIT"
] | null | null | null | def transliteration(text: str):
return text.replace("іє", 'ie') \
.replace("Іє", 'Ie') \
.replace("ія", 'ia') \
.replace("Ія", 'Ia') \
.replace("зг", 'zgh') \
.replace("Зг", 'Zgh') \
.replace("ьо", 'io') \
.replace("а", 'a') \
.replace("б", 'b') \
... | 28.443038 | 37 | 0.339564 | 229 | 2,247 | 3.296943 | 0.353712 | 0.063576 | 0.029139 | 0.047682 | 0.810596 | 0.810596 | 0.810596 | 0.810596 | 0.810596 | 0.810596 | 0 | 0 | 0.361816 | 2,247 | 78 | 38 | 28.807692 | 0.526499 | 0 | 0 | 0 | 0 | 0 | 0.086337 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013158 | false | 0 | 0 | 0.013158 | 0.026316 | 0.013158 | 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 |
e85cda2ddfb268ae2c5888ae2565ff5f50640c7b | 233 | py | Python | juliany_pizza/orders/admin.py | kzborisov/Juliany-Pizza | 4ebc0b21e314b244048df79e4858f30447b43f8b | [
"MIT"
] | null | null | null | juliany_pizza/orders/admin.py | kzborisov/Juliany-Pizza | 4ebc0b21e314b244048df79e4858f30447b43f8b | [
"MIT"
] | 9 | 2022-03-23T13:13:23.000Z | 2022-03-28T13:40:20.000Z | juliany_pizza/orders/admin.py | kzborisov/Juliany-Pizza | 4ebc0b21e314b244048df79e4858f30447b43f8b | [
"MIT"
] | null | null | null | from django.contrib import admin
from juliany_pizza.orders.models import Order
@admin.register(Order)
class OrderAdmin(admin.ModelAdmin):
pass
# @admin.register(OrderItem)
# class OrderItemAdmin(admin.ModelAdmin):
# pass
| 17.923077 | 45 | 0.772532 | 28 | 233 | 6.392857 | 0.607143 | 0.145251 | 0.212291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133047 | 233 | 12 | 46 | 19.416667 | 0.886139 | 0.321888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
e87a31a79153ad251d1817df0aca5b1ed38eb0a2 | 15,599 | py | Python | test/test_objects.py | vercity/czsc | 7a372baa3a550b18ff319008ac3fcab0f3faa684 | [
"MIT"
] | 1 | 2022-02-22T06:31:40.000Z | 2022-02-22T06:31:40.000Z | test/test_objects.py | vercity/czsc | 7a372baa3a550b18ff319008ac3fcab0f3faa684 | [
"MIT"
] | 1 | 2021-09-25T02:32:39.000Z | 2021-09-25T02:32:39.000Z | test/test_objects.py | vercity/czsc | 7a372baa3a550b18ff319008ac3fcab0f3faa684 | [
"MIT"
] | null | null | null | # coding: utf-8
from collections import OrderedDict
import pandas as pd
from czsc.objects import Signal, Factor, Event, Freq, Operate, PositionLong, PositionShort
def test_signal():
s = Signal(k1="1分钟", k3="倒1形态", v1="类一买", v2="七笔", v3="基础型", score=3)
assert str(s) == "Signal('1分钟_任意_倒1形态_类一买_七笔_基础型_3')"
... | 39.895141 | 106 | 0.649336 | 2,701 | 15,599 | 3.577194 | 0.057386 | 0.073898 | 0.064169 | 0.077003 | 0.95415 | 0.94763 | 0.916684 | 0.901573 | 0.881598 | 0.844339 | 0 | 0.095458 | 0.180012 | 15,599 | 390 | 107 | 39.997436 | 0.659917 | 0.006667 | 0 | 0.678445 | 0 | 0 | 0.095487 | 0.014482 | 0 | 0 | 0 | 0 | 0.314488 | 1 | 0.031802 | false | 0 | 0.010601 | 0 | 0.042403 | 0.014134 | 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 |
e8886f2bf86837ee354ec37211859aa3541d896e | 22 | py | Python | advex_uar/__init__.py | nraghuraman/advex-uar | b2bd5c2bf3ae07d3d5c65b81e4a6c5e21284fa43 | [
"Apache-2.0"
] | 75 | 2019-08-22T04:56:17.000Z | 2022-03-28T02:32:55.000Z | advex_uar/__init__.py | nraghuraman/advex-uar | b2bd5c2bf3ae07d3d5c65b81e4a6c5e21284fa43 | [
"Apache-2.0"
] | 7 | 2019-10-08T16:27:48.000Z | 2022-02-18T01:36:02.000Z | advex_uar/__init__.py | nraghuraman/advex-uar | b2bd5c2bf3ae07d3d5c65b81e4a6c5e21284fa43 | [
"Apache-2.0"
] | 18 | 2019-08-22T15:55:22.000Z | 2022-02-17T19:32:10.000Z | from . import attacks
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 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 |
e8915dda0203d11b42a8e571e29d17404d45bccb | 32 | py | Python | qutip/solver/ode/__init__.py | jakelishman/qutip | fbb7fad5bc205910228db622d90601c82db45e4b | [
"BSD-3-Clause"
] | null | null | null | qutip/solver/ode/__init__.py | jakelishman/qutip | fbb7fad5bc205910228db622d90601c82db45e4b | [
"BSD-3-Clause"
] | 2 | 2020-07-13T12:11:30.000Z | 2020-08-09T22:45:05.000Z | qutip/solver/ode/__init__.py | jakelishman/qutip | fbb7fad5bc205910228db622d90601c82db45e4b | [
"BSD-3-Clause"
] | null | null | null | from .scipy_integrator import *
| 16 | 31 | 0.8125 | 4 | 32 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 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 |
fa38a9f27834f3a988a97022e44848896c2c206a | 148 | py | Python | examples/more/ED/28orb/get_fock.py | danielballan/edrixs | 57fbd11ba9aaeaa393c3e2f06af41e4e386749e4 | [
"BSD-3-Clause"
] | null | null | null | examples/more/ED/28orb/get_fock.py | danielballan/edrixs | 57fbd11ba9aaeaa393c3e2f06af41e4e386749e4 | [
"BSD-3-Clause"
] | null | null | null | examples/more/ED/28orb/get_fock.py | danielballan/edrixs | 57fbd11ba9aaeaa393c3e2f06af41e4e386749e4 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
from edrixs.fock_basis import write_fock_dec_by_N
if __name__ == "__main__":
write_fock_dec_by_N(28, 14, "fock_i.in")
| 21.142857 | 51 | 0.736486 | 27 | 148 | 3.37037 | 0.740741 | 0.197802 | 0.263736 | 0.307692 | 0.32967 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 0.141892 | 148 | 6 | 52 | 24.666667 | 0.685039 | 0.135135 | 0 | 0 | 0 | 0 | 0.133858 | 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 |
fa3aa658b62b752c19ebe536c74ad96d2358d2c1 | 31,544 | py | Python | datasets.py | vauxgomes/ml-datasets | e9bb187bb049eccd176d25cf215836770bd0352b | [
"MIT"
] | null | null | null | datasets.py | vauxgomes/ml-datasets | e9bb187bb049eccd176d25cf215836770bd0352b | [
"MIT"
] | null | null | null | datasets.py | vauxgomes/ml-datasets | e9bb187bb049eccd176d25cf215836770bd0352b | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
# Constants
PATH = '~/Projects/datasets/data/'
#
def load_bcw(dropna=True, verbosity=False):
'''
Breast Cancer Winsconsin
COLUMNS
-------------------------------------------
ID*
Clump Thickness
Unifor... | 22.339943 | 118 | 0.446773 | 3,103 | 31,544 | 4.452143 | 0.183693 | 0.027362 | 0.028882 | 0.036482 | 0.821281 | 0.807673 | 0.803185 | 0.801231 | 0.787043 | 0.763228 | 0 | 0.023745 | 0.404546 | 31,544 | 1,412 | 119 | 22.339943 | 0.711761 | 0.302213 | 0 | 0.3454 | 0 | 0 | 0.32775 | 0.030161 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031674 | false | 0 | 0.003017 | 0 | 0.066365 | 0.095023 | 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 |
d72773cb3f6e14f15d6ff0d24a1a9437a90f37c5 | 136 | py | Python | OpenCart/pages/__init__.py | turovod/Otus | 57433c6944bca155177b07ff361139ff30f7f692 | [
"MIT"
] | null | null | null | OpenCart/pages/__init__.py | turovod/Otus | 57433c6944bca155177b07ff361139ff30f7f692 | [
"MIT"
] | null | null | null | OpenCart/pages/__init__.py | turovod/Otus | 57433c6944bca155177b07ff361139ff30f7f692 | [
"MIT"
] | null | null | null | from .base_page import BasePage
from .common_page import CommonPage
from .login_page import LoginLogout
from .main_page import MainPage
| 27.2 | 35 | 0.852941 | 20 | 136 | 5.6 | 0.55 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 136 | 4 | 36 | 34 | 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 | 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 |
d773e429daa9526ecb1f71d424d914614fd4e568 | 174 | py | Python | tests/unit/test_random_port.py | danni-m/RLTest | 85c09592e96e26edab94a22077a582fa425b62fa | [
"BSD-3-Clause"
] | 15 | 2018-09-06T12:07:47.000Z | 2022-03-02T05:27:31.000Z | tests/unit/test_random_port.py | danni-m/RLTest | 85c09592e96e26edab94a22077a582fa425b62fa | [
"BSD-3-Clause"
] | 79 | 2018-09-04T13:25:56.000Z | 2022-03-31T22:48:26.000Z | tests/unit/test_random_port.py | danni-m/RLTest | 85c09592e96e26edab94a22077a582fa425b62fa | [
"BSD-3-Clause"
] | 12 | 2018-09-04T23:17:04.000Z | 2021-07-18T12:33:54.000Z | from unittest import TestCase
class Test(TestCase):
def test_register_port(self):
pass
class Test(TestCase):
def test_get_random_port(self):
pass
| 14.5 | 35 | 0.689655 | 23 | 174 | 5 | 0.565217 | 0.156522 | 0.295652 | 0.347826 | 0.417391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 174 | 11 | 36 | 15.818182 | 0.871212 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0.142857 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
d792ea9172cd0ad6ba515cb3f4de8f42b7942d67 | 32 | py | Python | src/filters/__init__.py | raboakye/python-packages-intro | ef17ad08ad7b822d900762bc1c320028096b0523 | [
"MIT"
] | null | null | null | src/filters/__init__.py | raboakye/python-packages-intro | ef17ad08ad7b822d900762bc1c320028096b0523 | [
"MIT"
] | null | null | null | src/filters/__init__.py | raboakye/python-packages-intro | ef17ad08ad7b822d900762bc1c320028096b0523 | [
"MIT"
] | null | null | null | from app.src.filters import main | 32 | 32 | 0.84375 | 6 | 32 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 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 |
ad06034c82d1f4d7dee1a88657a9094a3b3c96c5 | 59 | py | Python | packages/pyright-scip/snapshots/input/aliased_import/actual.py | sourcegraph/pyright | f6a94a47f7e61172fd108ee9a4c62f748e1d24af | [
"MIT"
] | null | null | null | packages/pyright-scip/snapshots/input/aliased_import/actual.py | sourcegraph/pyright | f6a94a47f7e61172fd108ee9a4c62f748e1d24af | [
"MIT"
] | 19 | 2022-03-17T03:20:34.000Z | 2022-03-31T02:53:12.000Z | packages/pyright-scip/snapshots/input/aliased_import/actual.py | sourcegraph/pyright | f6a94a47f7e61172fd108ee9a4c62f748e1d24af | [
"MIT"
] | null | null | null | import aliased
import aliased as A
print(A.SOME_CONSTANT)
| 11.8 | 22 | 0.813559 | 10 | 59 | 4.7 | 0.7 | 0.553191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 4 | 23 | 14.75 | 0.921569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 |
ad4f085a7e8fc8d52f1dae9b983c384c82286474 | 44 | py | Python | scraper/__init__.py | u-aaa/Vilnius-Apartment-Predictions | de9ab9433aa71891b6d19cc4deecef33b0453ac3 | [
"MIT"
] | null | null | null | scraper/__init__.py | u-aaa/Vilnius-Apartment-Predictions | de9ab9433aa71891b6d19cc4deecef33b0453ac3 | [
"MIT"
] | null | null | null | scraper/__init__.py | u-aaa/Vilnius-Apartment-Predictions | de9ab9433aa71891b6d19cc4deecef33b0453ac3 | [
"MIT"
] | null | null | null | from .aruodas_scraper import AruodasScraper
| 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 |
ad903555804ce744773c13a81923e8bf04dbb36f | 10,039 | py | Python | ChineseReverseDictionary/code/result_analysis_Ch.py | thunlp/MultiRD | fe72148c00a72eaebcd22e58104e9588dfb72fa4 | [
"MIT"
] | 82 | 2019-12-08T05:01:45.000Z | 2022-03-09T06:32:44.000Z | ChineseReverseDictionary/code/result_analysis_Ch.py | thunlp/MultiRD | fe72148c00a72eaebcd22e58104e9588dfb72fa4 | [
"MIT"
] | 3 | 2021-03-28T15:02:07.000Z | 2022-03-21T01:29:48.000Z | ChineseReverseDictionary/code/result_analysis_Ch.py | thunlp/MultiRD | fe72148c00a72eaebcd22e58104e9588dfb72fa4 | [
"MIT"
] | 20 | 2019-12-19T08:18:17.000Z | 2022-03-21T01:37:15.000Z |
import argparse
import json, os
import numpy as np
def evaluate_test(ground_truth, prediction):
accu_1 = 0.
accu_10 = 0.
accu_100 = 0.
length = len(ground_truth)
pred_rank = []
for i in range(length):
try:
pred_rank.append(prediction[i][:].index(ground_... | 43.647826 | 146 | 0.602949 | 1,496 | 10,039 | 3.750668 | 0.078877 | 0.149706 | 0.07218 | 0.069506 | 0.823026 | 0.812155 | 0.779184 | 0.771698 | 0.749243 | 0.749243 | 0 | 0.105897 | 0.255005 | 10,039 | 230 | 147 | 43.647826 | 0.644337 | 0.011156 | 0 | 0.482412 | 0 | 0 | 0.116281 | 0.006087 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030151 | false | 0 | 0.015075 | 0 | 0.070352 | 0.160804 | 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 |
d10957b0da9d2b12cbe5cddb20608a916b170a7e | 33 | py | Python | app/Watch/__init__.py | LonglyCode/flask-blog | b7f36e8798c61aa1669ede59452f3ca446f5b9ce | [
"MIT"
] | 2 | 2016-10-04T14:53:27.000Z | 2019-01-11T02:08:47.000Z | app/Watch/__init__.py | LonglyCode/flask-blog | b7f36e8798c61aa1669ede59452f3ca446f5b9ce | [
"MIT"
] | null | null | null | app/Watch/__init__.py | LonglyCode/flask-blog | b7f36e8798c61aa1669ede59452f3ca446f5b9ce | [
"MIT"
] | null | null | null | from .file_watch import init_app
| 16.5 | 32 | 0.848485 | 6 | 33 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d10b3ece23ed9f0d45baa9b433a739d7832b9008 | 74 | py | Python | algo/__init__.py | rwbfd/rl_lab | a402b4c595c8abf5659e2493614d9890e62ff7b6 | [
"MIT"
] | 43 | 2018-09-18T02:36:30.000Z | 2022-03-09T09:41:11.000Z | algo/__init__.py | rwbfd/rl_lab | a402b4c595c8abf5659e2493614d9890e62ff7b6 | [
"MIT"
] | 1 | 2019-05-30T06:46:22.000Z | 2019-05-30T06:46:22.000Z | algo/__init__.py | rwbfd/rl_lab | a402b4c595c8abf5659e2493614d9890e62ff7b6 | [
"MIT"
] | 8 | 2018-09-21T16:01:50.000Z | 2020-11-30T11:42:09.000Z | from .a2c_acktr import A2C_ACKTR
from .ppo import PPO
from .sil import SIL | 24.666667 | 32 | 0.810811 | 14 | 74 | 4.142857 | 0.428571 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.148649 | 74 | 3 | 33 | 24.666667 | 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 |
d110a58ff31c9ea059663346de63755ad5a3a3dd | 25,907 | py | Python | models/model_builder.py | norton-chris/MARS-Net | 6f671837d0629422680c78adf9b643894debae70 | [
"MIT"
] | null | null | null | models/model_builder.py | norton-chris/MARS-Net | 6f671837d0629422680c78adf9b643894debae70 | [
"MIT"
] | null | null | null | models/model_builder.py | norton-chris/MARS-Net | 6f671837d0629422680c78adf9b643894debae70 | [
"MIT"
] | null | null | null | '''
Author Junbong Jang
Date 6/2/2021
To build model for train.py and predict.py
'''
from deeplabv3 import Deeplabv3
from deep_neural_net_classifier import *
from deep_neural_net_MTL import *
from deep_neural_net import *
from deep_neural_net_3D import *
from deep_neural_net_attn import *
from deep_neura... | 69.642473 | 189 | 0.714633 | 3,446 | 25,907 | 5.050203 | 0.048172 | 0.11567 | 0.073206 | 0.135954 | 0.929552 | 0.916853 | 0.907947 | 0.900592 | 0.888123 | 0.853991 | 0 | 0.028557 | 0.176825 | 25,907 | 372 | 190 | 69.642473 | 0.787489 | 0.014977 | 0 | 0.565657 | 0 | 0 | 0.094518 | 0.026772 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006734 | false | 0 | 0.047138 | 0 | 0.060606 | 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 |
d13905354b9f40e14fa9941c71b7a41e4774328a | 5,021 | py | Python | multiflap/ms_package/integrator_2.py | vortexlab-uclouvain/multiflap | 6de0a9ceabf8c42b72b2a82943fb78e105480636 | [
"Apache-2.0"
] | 13 | 2020-12-05T15:35:57.000Z | 2022-03-14T09:09:03.000Z | multiflap/ms_package/integrator_2.py | vortexlab-uclouvain/multiflap | 6de0a9ceabf8c42b72b2a82943fb78e105480636 | [
"Apache-2.0"
] | 1 | 2021-04-26T18:36:12.000Z | 2021-04-27T14:20:43.000Z | multiflap/ms_package/integrator_2.py | vortexlab-uclouvain/multiflap | 6de0a9ceabf8c42b72b2a82943fb78e105480636 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import collections
class Integrator:
def __init__(self, ode_system, x0, time_array):
self.ode_system = ode_system
self.x0 = x0
self.time_array = time_array
def rk4(self):
"""
Runge-Kutta 4 Integrator.
Inputs:
VelocityFunction: Functi... | 42.550847 | 100 | 0.560645 | 657 | 5,021 | 4.205479 | 0.14003 | 0.087948 | 0.117626 | 0.076004 | 0.92472 | 0.92291 | 0.905176 | 0.905176 | 0.90409 | 0.88165 | 0 | 0.028416 | 0.341167 | 5,021 | 117 | 101 | 42.91453 | 0.806832 | 0.403306 | 0 | 0.630435 | 0 | 0 | 0.009063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.043478 | 0 | 0.217391 | 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 |
d143b8eb90116bd3627e8f5565cdd2a5b0f44511 | 19,466 | py | Python | experiments/0_setup.py | helenacuesta/multif0-estimation-polyvocals | 4960f5415f8a170f2ff8d5b776bfd4cb5576d3ba | [
"MIT"
] | 36 | 2020-09-13T12:30:41.000Z | 2022-02-15T08:52:58.000Z | experiments/0_setup.py | helenacuesta/multif0-estimation-polyvocals | 4960f5415f8a170f2ff8d5b776bfd4cb5576d3ba | [
"MIT"
] | 6 | 2020-09-04T11:14:14.000Z | 2022-02-09T23:49:59.000Z | experiments/0_setup.py | helenacuesta/multif0-estimation-polyvocals | 4960f5415f8a170f2ff8d5b776bfd4cb5576d3ba | [
"MIT"
] | null | null | null | '''
This script creates the audio mixtures for all the working datasets.
'''
import sox
import os
import pandas as pd
import librosa
import soundfile
import scipy
from experiments import config
import utils
def combine_audio_files(params):
cmb = sox.Combiner()
cmb.convert(samplerate=22050)
cmb.build(... | 40.136082 | 133 | 0.545823 | 2,122 | 19,466 | 4.773798 | 0.084354 | 0.09773 | 0.057749 | 0.047384 | 0.862685 | 0.82616 | 0.800888 | 0.728529 | 0.705133 | 0.68154 | 0 | 0.014578 | 0.295233 | 19,466 | 484 | 134 | 40.219008 | 0.723814 | 0.075465 | 0 | 0.606707 | 0 | 0 | 0.200546 | 0.012308 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012195 | false | 0 | 0.02439 | 0 | 0.039634 | 0.073171 | 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 |
d16568ace50afca4c1410f303eb90d9ff022f87d | 6,667 | py | Python | ElectroWeakAnalysis/WMuNu/test/WMuNuCandidateHistogrammer.py | m-sedghi/cmssw | 859df8affee372c53be79cdd2d8a5ff001eae841 | [
"Apache-2.0"
] | 1 | 2019-12-19T13:43:44.000Z | 2019-12-19T13:43:44.000Z | ElectroWeakAnalysis/WMuNu/test/WMuNuCandidateHistogrammer.py | m-sedghi/cmssw | 859df8affee372c53be79cdd2d8a5ff001eae841 | [
"Apache-2.0"
] | 7 | 2020-02-10T18:55:34.000Z | 2022-01-16T20:08:44.000Z | ElectroWeakAnalysis/WMuNu/test/WMuNuCandidateHistogrammer.py | m-sedghi/cmssw | 859df8affee372c53be79cdd2d8a5ff001eae841 | [
"Apache-2.0"
] | 1 | 2020-12-17T23:09:17.000Z | 2020-12-17T23:09:17.000Z | import FWCore.ParameterSet.Config as cms
# Process, how many events, inout files, ...
process = cms.Process("wmunuplots")
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(-1)
)
process.source = cms.Source("PoolSource",
debugVerbosity = cms.untracked.uint32(0),
debugFlag = cms.untra... | 37.24581 | 98 | 0.662817 | 754 | 6,667 | 5.757294 | 0.185676 | 0.251555 | 0.161714 | 0.055287 | 0.790832 | 0.790832 | 0.790832 | 0.790832 | 0.790832 | 0.790832 | 0 | 0.050509 | 0.20414 | 6,667 | 178 | 99 | 37.455056 | 0.767622 | 0.217489 | 0 | 0.669565 | 0 | 0 | 0.067001 | 0.019695 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008696 | 0 | 0.008696 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
66fa8e02daaf7ea6f0e12b5a4f99e7170223ff9f | 85 | py | Python | rA9/synapses/__init__.py | junhoyeo/rA9 | 6ab5537880f842b36ae666f0ef5645acc62c236e | [
"MIT"
] | 2 | 2020-10-09T00:36:06.000Z | 2020-10-20T06:20:19.000Z | rA9/synapses/__init__.py | junhoyeo/rA9 | 6ab5537880f842b36ae666f0ef5645acc62c236e | [
"MIT"
] | null | null | null | rA9/synapses/__init__.py | junhoyeo/rA9 | 6ab5537880f842b36ae666f0ef5645acc62c236e | [
"MIT"
] | 1 | 2020-10-09T00:36:08.000Z | 2020-10-09T00:36:08.000Z | from .Conv import *
from .pooling import *
from .Linear import *
from .loss import *
| 17 | 22 | 0.717647 | 12 | 85 | 5.083333 | 0.5 | 0.491803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 85 | 4 | 23 | 21.25 | 0.884058 | 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 |
66fab7ec7906c810a48e49907a5ed0f0e65a9b43 | 108 | py | Python | indexedconv/__init__.py | vuillaut/IndexedConv | 781f6252248fc80ce80524389c51b8bb74de3052 | [
"MIT"
] | 13 | 2018-11-05T13:17:44.000Z | 2022-01-08T12:01:09.000Z | indexedconv/__init__.py | vuillaut/IndexedConv | 781f6252248fc80ce80524389c51b8bb74de3052 | [
"MIT"
] | 12 | 2018-10-20T13:31:20.000Z | 2019-10-23T10:55:05.000Z | indexedconv/__init__.py | vuillaut/IndexedConv | 781f6252248fc80ce80524389c51b8bb74de3052 | [
"MIT"
] | 7 | 2018-11-26T16:49:08.000Z | 2020-07-28T01:58:56.000Z | import indexedconv.utils
import indexedconv.engine
import indexedconv.nets
from .version import __version__
| 21.6 | 32 | 0.87037 | 13 | 108 | 6.923077 | 0.538462 | 0.566667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 108 | 4 | 33 | 27 | 0.918367 | 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 |
0f19c06d28b709e4056741947f49ef6303871738 | 252 | bzl | Python | test/proto_cross_repo_boundary/repo.bzl | blorente/rules_scala | 0c1ed832f2db5fa1069c7b21d546f234d078d210 | [
"Apache-2.0"
] | 326 | 2016-02-24T18:28:10.000Z | 2022-03-30T08:51:08.000Z | test/proto_cross_repo_boundary/repo.bzl | blorente/rules_scala | 0c1ed832f2db5fa1069c7b21d546f234d078d210 | [
"Apache-2.0"
] | 1,157 | 2016-02-24T04:26:27.000Z | 2022-03-31T05:59:14.000Z | test/proto_cross_repo_boundary/repo.bzl | ConsultingMD/rules_scala | 75b0bef95a2ced6062229e5ea4cfce7047eead30 | [
"Apache-2.0"
] | 262 | 2016-02-24T18:29:21.000Z | 2022-03-24T21:39:20.000Z | def proto_cross_repo_boundary_repository():
native.new_local_repository(
name = "proto_cross_repo_boundary",
path = "test/proto_cross_repo_boundary/repo",
build_file = "test/proto_cross_repo_boundary/repo/BUILD.repo",
)
| 36 | 70 | 0.72619 | 32 | 252 | 5.21875 | 0.4375 | 0.239521 | 0.335329 | 0.526946 | 0.419162 | 0.419162 | 0.419162 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 252 | 6 | 71 | 42 | 0.806763 | 0 | 0 | 0 | 0 | 0 | 0.420635 | 0.420635 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0 | 0 | 0.166667 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0f4f366719f239c45d1f49a9aa45daa0b054431d | 76 | py | Python | codes/deeplearning/data/__init__.py | sarvai/proposals | 578c0094db52594cd85acb843df82fe3c19db46d | [
"Apache-2.0"
] | null | null | null | codes/deeplearning/data/__init__.py | sarvai/proposals | 578c0094db52594cd85acb843df82fe3c19db46d | [
"Apache-2.0"
] | null | null | null | codes/deeplearning/data/__init__.py | sarvai/proposals | 578c0094db52594cd85acb843df82fe3c19db46d | [
"Apache-2.0"
] | null | null | null | from .workbench import workbench
from .pose_workbench import pose_workbench
| 25.333333 | 42 | 0.868421 | 10 | 76 | 6.4 | 0.4 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 2 | 43 | 38 | 0.941176 | 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 |
0f68704d2b40022d35a3796f70e08e96b8d765b3 | 4,109 | py | Python | tests/test_factoryboy_state.py | hrother/pytest-factoryboy-state | 66661a0f608d2174e3996a0ccb6c3a27bf35284f | [
"MIT"
] | 1 | 2021-06-15T21:17:30.000Z | 2021-06-15T21:17:30.000Z | tests/test_factoryboy_state.py | hrother/pytest-factoryboy-state | 66661a0f608d2174e3996a0ccb6c3a27bf35284f | [
"MIT"
] | 2 | 2022-03-20T22:45:57.000Z | 2022-03-21T00:06:07.000Z | tests/test_factoryboy_state.py | hrother/pytest-factoryboy-state | 66661a0f608d2174e3996a0ccb6c3a27bf35284f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
def test_help_message(testdir):
result = testdir.runpytest(
"--help",
)
# fnmatch_lines does an assertion internally
result.stdout.fnmatch_lines(
[
"factoryboy-state:",
"*--show-state*Show factoryboy state for failures.",
"*--... | 21.856383 | 80 | 0.553176 | 399 | 4,109 | 5.471178 | 0.182957 | 0.054512 | 0.090701 | 0.087952 | 0.80394 | 0.790655 | 0.790655 | 0.774164 | 0.774164 | 0.774164 | 0 | 0.001451 | 0.329277 | 4,109 | 187 | 81 | 21.973262 | 0.790639 | 0.015576 | 0 | 0.371429 | 0 | 0 | 0.20541 | 0.030008 | 0 | 0 | 0 | 0 | 0.042857 | 1 | 0.128571 | false | 0.028571 | 0 | 0 | 0.128571 | 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 |
7e67dae07dd26619ffb58032d4d5f68712f7e834 | 711 | py | Python | test_utils.py | zakomo/GMReorganizer | 9253e80cf89bbad84d868bd7aa191e6b6b18b5d8 | [
"MIT"
] | null | null | null | test_utils.py | zakomo/GMReorganizer | 9253e80cf89bbad84d868bd7aa191e6b6b18b5d8 | [
"MIT"
] | null | null | null | test_utils.py | zakomo/GMReorganizer | 9253e80cf89bbad84d868bd7aa191e6b6b18b5d8 | [
"MIT"
] | null | null | null | import utils
def test_sanitize_names_html_entity_with_hash():
assert utils.sanitize_name("c'erano") == "c'erano"
def test_sanitize_names_html_entity_with_name():
assert utils.sanitize_name("hello&g'day") == "hello&g'day"
def test_sanitize_names_with_pathsep_linux():
assert utils.sanitize_name(... | 27.346154 | 105 | 0.739803 | 106 | 711 | 4.632075 | 0.283019 | 0.08554 | 0.183299 | 0.244399 | 0.674134 | 0.617108 | 0.411405 | 0.272912 | 0.272912 | 0.272912 | 0 | 0.006452 | 0.127989 | 711 | 25 | 106 | 28.44 | 0.785484 | 0 | 0 | 0 | 0 | 0 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 1 | 0.461538 | true | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
7e9d404a592c5e253f882f7b8330b61e4612fd2e | 43 | py | Python | horsepics/__init__.py | Mason-McGough/HorsePics | deacc3bedb69147b1584bf8b159624789fbdd5c9 | [
"MIT"
] | null | null | null | horsepics/__init__.py | Mason-McGough/HorsePics | deacc3bedb69147b1584bf8b159624789fbdd5c9 | [
"MIT"
] | null | null | null | horsepics/__init__.py | Mason-McGough/HorsePics | deacc3bedb69147b1584bf8b159624789fbdd5c9 | [
"MIT"
] | null | null | null | from .stitch import *
from .adjust import * | 21.5 | 21 | 0.744186 | 6 | 43 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 22 | 21.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e2f40c94ea37960f3215f15956564b4b827f8ad | 107 | py | Python | src/repository/__init__.py | DiceNameIsMy/fastapi-registration | ea1d0f69bb6fcdac77adbc136a8061ca56e05e18 | [
"MIT"
] | 1 | 2022-01-12T14:29:51.000Z | 2022-01-12T14:29:51.000Z | src/repository/__init__.py | DiceNameIsMy/fastapi-registration | ea1d0f69bb6fcdac77adbc136a8061ca56e05e18 | [
"MIT"
] | null | null | null | src/repository/__init__.py | DiceNameIsMy/fastapi-registration | ea1d0f69bb6fcdac77adbc136a8061ca56e05e18 | [
"MIT"
] | null | null | null | from .repository import Repository, get_repository_class
__all__ = ["Repository", "get_repository_class"]
| 26.75 | 56 | 0.813084 | 12 | 107 | 6.583333 | 0.5 | 0.329114 | 0.582278 | 0.708861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 107 | 3 | 57 | 35.666667 | 0.814433 | 0 | 0 | 0 | 0 | 0 | 0.280374 | 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 |
0e6c575a9082626a215abb10d8b10b1bb63f4eca | 11,719 | py | Python | cogs/logging.py | Joystickplays/GoMod | f48af46b08e095136cb048d9dbb76a5f539f4ea1 | [
"Apache-2.0"
] | 1 | 2022-02-25T04:25:21.000Z | 2022-02-25T04:25:21.000Z | cogs/logging.py | Joystickplays/GoMod | f48af46b08e095136cb048d9dbb76a5f539f4ea1 | [
"Apache-2.0"
] | null | null | null | cogs/logging.py | Joystickplays/GoMod | f48af46b08e095136cb048d9dbb76a5f539f4ea1 | [
"Apache-2.0"
] | null | null | null | import discord
import asyncio
from discord.ext import commands
from bot import GoModBot
class Logging(commands.Cog):
def __init__(self, bot):
self.bot = bot
async def cog_check(self, ctx):
lookup = await self.bot.db.fetchrow("SELECT * FROM modules WHERE server = $1 AND module = $2", ctx.guild.... | 51.174672 | 287 | 0.598686 | 1,374 | 11,719 | 5.082969 | 0.111354 | 0.039089 | 0.048683 | 0.063001 | 0.850802 | 0.831472 | 0.821449 | 0.783648 | 0.744273 | 0.744273 | 0 | 0.007799 | 0.266917 | 11,719 | 229 | 288 | 51.174672 | 0.803515 | 0 | 0 | 0.671717 | 0 | 0.020202 | 0.232679 | 0.048294 | 0 | 0 | 0.008191 | 0 | 0 | 1 | 0.020202 | false | 0 | 0.020202 | 0.010101 | 0.19697 | 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 |
0e9661a2f2bfcede9d59ddb5cec3cf02ca62cdbd | 48 | py | Python | waterbutler/providers/dataverse/__init__.py | alexschiller/waterbutler | 24014d7705aca3e99a6565fc3b9b4075ec6ec563 | [
"Apache-2.0"
] | 65 | 2015-01-23T03:22:04.000Z | 2022-01-11T22:33:19.000Z | waterbutler/providers/dataverse/__init__.py | alexschiller/waterbutler | 24014d7705aca3e99a6565fc3b9b4075ec6ec563 | [
"Apache-2.0"
] | 300 | 2015-02-16T16:45:02.000Z | 2022-01-31T14:49:07.000Z | waterbutler/providers/dataverse/__init__.py | Johnetordoff/waterbutler | b505cdbcffadaba12984dcb19c9139068e6c314d | [
"Apache-2.0"
] | 76 | 2015-01-20T20:45:17.000Z | 2021-07-30T13:18:10.000Z | from .provider import DataverseProvider # noqa
| 24 | 47 | 0.8125 | 5 | 48 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 1 | 48 | 48 | 0.95122 | 0.083333 | 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 |
7eba36971a1b3c4583004d613ef4fdb0410f2235 | 3,127 | py | Python | pyspark_proxy/sql/column.py | abronte/PysparkProxy | cc28bacb0d4ee6fb87ced763a73e9ea791612414 | [
"Apache-2.0"
] | 3 | 2018-09-06T18:37:35.000Z | 2018-09-07T17:49:44.000Z | pyspark_proxy/sql/column.py | abronte/PysparkProxy | cc28bacb0d4ee6fb87ced763a73e9ea791612414 | [
"Apache-2.0"
] | 29 | 2018-09-04T23:53:42.000Z | 2018-12-12T21:46:59.000Z | pyspark_proxy/sql/column.py | abronte/PysparkProxy | cc28bacb0d4ee6fb87ced763a73e9ea791612414 | [
"Apache-2.0"
] | null | null | null | from pyspark_proxy.proxy import Proxy
__all__ = ['Column']
class Column(Proxy):
def alias(self, *args, **kwargs):
return self._call(self._id, 'alias', (args, kwargs))
def cast(self, *args, **kwargs):
return self._call(self._id, 'cast', (args, kwargs))
def __repr__(self):
return s... | 33.623656 | 66 | 0.610169 | 391 | 3,127 | 4.171356 | 0.130435 | 0.343348 | 0.248927 | 0.320049 | 0.614347 | 0.602085 | 0.602085 | 0.583691 | 0.062538 | 0.062538 | 0 | 0 | 0.210106 | 3,127 | 92 | 67 | 33.98913 | 0.660324 | 0.008634 | 0 | 0.032787 | 0 | 0 | 0.068754 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.47541 | false | 0 | 0.016393 | 0.47541 | 0.983607 | 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 |
7ec1b8e4f45c838696db7b30d3d3dad0ea0b0e22 | 32 | py | Python | src/core/app/app/services/__init__.py | exytab/FrontLineLiveUA | 733bb0c84062e3a3d8eec3cf988add7e1470d392 | [
"MIT"
] | null | null | null | src/core/app/app/services/__init__.py | exytab/FrontLineLiveUA | 733bb0c84062e3a3d8eec3cf988add7e1470d392 | [
"MIT"
] | null | null | null | src/core/app/app/services/__init__.py | exytab/FrontLineLiveUA | 733bb0c84062e3a3d8eec3cf988add7e1470d392 | [
"MIT"
] | null | null | null | from . import map, need, supply
| 16 | 31 | 0.71875 | 5 | 32 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 32 | 1 | 32 | 32 | 0.884615 | 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 |
addd1e083b1fc8ffd73e1ffa6c9c6b3dff9d8e53 | 38 | py | Python | ezhost/__main__.py | zhexiao/ezhost1 | 4146bc0be14bb1bfe98ec19283d19fab420871b3 | [
"MIT"
] | 4 | 2016-12-16T20:22:44.000Z | 2018-10-31T07:12:34.000Z | ezhost/__main__.py | zhexiao/ezhost1 | 4146bc0be14bb1bfe98ec19283d19fab420871b3 | [
"MIT"
] | null | null | null | ezhost/__main__.py | zhexiao/ezhost1 | 4146bc0be14bb1bfe98ec19283d19fab420871b3 | [
"MIT"
] | 1 | 2017-07-19T05:36:58.000Z | 2017-07-19T05:36:58.000Z | import ezhost.main
ezhost.main.main()
| 12.666667 | 18 | 0.789474 | 6 | 38 | 5 | 0.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 2 | 19 | 19 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ade56c6eca6b0d226dc5be00b20de6149339cf64 | 105 | py | Python | module/__init__.py | liurenfeng007/DSRE | 7b3b257c68b1991b8b12c817a245af022a5fbeaa | [
"MIT"
] | null | null | null | module/__init__.py | liurenfeng007/DSRE | 7b3b257c68b1991b8b12c817a245af022a5fbeaa | [
"MIT"
] | null | null | null | module/__init__.py | liurenfeng007/DSRE | 7b3b257c68b1991b8b12c817a245af022a5fbeaa | [
"MIT"
] | null | null | null | from .embedding import Embedding
from .encoder import *
from .selector import *
from .classifier import * | 26.25 | 32 | 0.790476 | 13 | 105 | 6.384615 | 0.461538 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 105 | 4 | 33 | 26.25 | 0.922222 | 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 |
bc05d5098b93ea3846c65ff6a9527cd48f7c9d95 | 42 | py | Python | recognition/src/models/__init__.py | AlexeyZhuravlev/OCR-experiments | 8493045054678a2e13cafce6d9e85c7581086c7a | [
"MIT"
] | 2 | 2020-05-28T18:46:37.000Z | 2020-08-29T12:49:57.000Z | recognition/src/models/__init__.py | AlexeyZhuravlev/OCR-experiments | 8493045054678a2e13cafce6d9e85c7581086c7a | [
"MIT"
] | null | null | null | recognition/src/models/__init__.py | AlexeyZhuravlev/OCR-experiments | 8493045054678a2e13cafce6d9e85c7581086c7a | [
"MIT"
] | null | null | null | from .multi_head import MultiHeadOcrModel
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 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 |
bc37af5a16986b639b10ae157cdf53ebf4cfc204 | 21,116 | py | Python | pyfuzzy_toolbox/features/count.py | matheuscas/pyfuzzy_toolbox | 57885f3ff53d1b7ab3559c7ff6197ceb97f67c3b | [
"BSD-3-Clause"
] | null | null | null | pyfuzzy_toolbox/features/count.py | matheuscas/pyfuzzy_toolbox | 57885f3ff53d1b7ab3559c7ff6197ceb97f67c3b | [
"BSD-3-Clause"
] | null | null | null | pyfuzzy_toolbox/features/count.py | matheuscas/pyfuzzy_toolbox | 57885f3ff53d1b7ab3559c7ff6197ceb97f67c3b | [
"BSD-3-Clause"
] | null | null | null | from . import pre
from . import set_pos_tags_codes
from . import set_ngram_polarity_statement
from . import ADJS, ADVS, VERBS, ALL, ADJS_AND_ADVS, ADJS_AND_VERBS, ADVS_AND_VERBS,\
ADJS_AND_BI_ADV_ADJ, ADVS_AND_BI_ADV_ADV, VERBS_AND_BI_ADV_VERB, ALL_NON_GENERAL_BIGRAMS
""" ------------------------------ Base funct... | 48.87963 | 171 | 0.691324 | 2,574 | 21,116 | 5.115385 | 0.032634 | 0.119389 | 0.06972 | 0.07215 | 0.928913 | 0.877269 | 0.842333 | 0.803296 | 0.764411 | 0.686717 | 0 | 0.008986 | 0.241097 | 21,116 | 431 | 172 | 48.993039 | 0.812668 | 0.001231 | 0 | 0.439873 | 0 | 0 | 0.067897 | 0.053935 | 0 | 0 | 0 | 0 | 0 | 1 | 0.120253 | false | 0 | 0.012658 | 0.082278 | 0.275316 | 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 |
cb0fb9a66b11a896701283a1ee2ac90821edc15c | 761 | py | Python | pyid3tagger/__init__.py | pkla6/pyid3tagger | ca61136b319474d9c77339e514e5615f7343a30e | [
"MIT"
] | 1 | 2019-01-21T03:45:00.000Z | 2019-01-21T03:45:00.000Z | pyid3tagger/__init__.py | pkla6/pyid3tagger | ca61136b319474d9c77339e514e5615f7343a30e | [
"MIT"
] | null | null | null | pyid3tagger/__init__.py | pkla6/pyid3tagger | ca61136b319474d9c77339e514e5615f7343a30e | [
"MIT"
] | null | null | null | # coding=utf-8
from const import *
from utilities import *
from tags import ID3v1Tag
from tags import ID3v1_1Tag
from tags import ID3v2_3Tag
from file_tags import FileTags
from id3v2_3frames import ID3v2_3_APIC_Frame
from id3v2_3frames import ID3v2_3_COMM_Frame
from id3v2_3frames import ID3v2_3_GEOB_Frame
from id3v... | 30.44 | 44 | 0.885677 | 132 | 761 | 4.689394 | 0.234848 | 0.248788 | 0.336026 | 0.462036 | 0.684976 | 0.684976 | 0.639742 | 0 | 0 | 0 | 0 | 0.132548 | 0.107753 | 761 | 24 | 45 | 31.708333 | 0.779087 | 0.015769 | 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 |
cb5561e38b694e1a9f16090b3f758e2b38b8bd37 | 104 | py | Python | src/__init__.py | paul-buechner/magic-illustrator | afab2391c318f800128fad886372cc5f1601bd27 | [
"MIT"
] | null | null | null | src/__init__.py | paul-buechner/magic-illustrator | afab2391c318f800128fad886372cc5f1601bd27 | [
"MIT"
] | null | null | null | src/__init__.py | paul-buechner/magic-illustrator | afab2391c318f800128fad886372cc5f1601bd27 | [
"MIT"
] | null | null | null | from src.illustrator_config import *
def main():
# Initialize illustrator thread
initialize()
| 14.857143 | 36 | 0.721154 | 11 | 104 | 6.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201923 | 104 | 6 | 37 | 17.333333 | 0.891566 | 0.278846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
cb86d241b5a12e53dda69e152db6417d0b48050f | 92 | py | Python | Chapter09/testset1.py | ibiscum/Python-Parallel-Programming-Cookbook-Second-Edition | 8fd583019778b4d797d4f948d091b5564e23f732 | [
"MIT"
] | null | null | null | Chapter09/testset1.py | ibiscum/Python-Parallel-Programming-Cookbook-Second-Edition | 8fd583019778b4d797d4f948d091b5564e23f732 | [
"MIT"
] | null | null | null | Chapter09/testset1.py | ibiscum/Python-Parallel-Programming-Cookbook-Second-Edition | 8fd583019778b4d797d4f948d091b5564e23f732 | [
"MIT"
] | null | null | null | # testset.py
from nose.tools import eq_
import unittest
def test_sum():
eq_(2 + 2, 4)
| 11.5 | 26 | 0.673913 | 16 | 92 | 3.6875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.217391 | 92 | 7 | 27 | 13.142857 | 0.777778 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cbe2b6c21cb6f5b10154c5a8bb476316dcd1eedc | 168 | py | Python | doc/epsilon_pretty_gdb_load.py | Jojendersie/Epsilon-Intersection | 23f020ddc9832742dc156c7dac038276070707b2 | [
"MIT"
] | 14 | 2015-01-18T21:13:02.000Z | 2022-01-19T17:24:29.000Z | doc/epsilon_pretty_gdb_load.py | Jojendersie/Epsilon-Intersection | 23f020ddc9832742dc156c7dac038276070707b2 | [
"MIT"
] | 28 | 2015-08-06T14:27:35.000Z | 2022-03-21T09:03:44.000Z | doc/epsilon_pretty_gdb_load.py | Jojendersie/Epsilon-Intersection | 23f020ddc9832742dc156c7dac038276070707b2 | [
"MIT"
] | 5 | 2018-11-15T11:35:34.000Z | 2021-08-16T03:38:41.000Z | import gdb.printing
import epsilon_pretty_printing
gdb.printing.register_pretty_printer(
gdb.current_objfile(),
epsilon_pretty_printing.build_pretty_printer()) | 28 | 51 | 0.839286 | 21 | 168 | 6.285714 | 0.47619 | 0.166667 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 168 | 6 | 51 | 28 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0.8 | 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 | 0 | 1 | 0 | 6 |
1dad134c96f2d058a653cbab605f583da26e4399 | 163 | py | Python | app/main/__init__.py | VirginiaNdungu1/Taarifa-App | 0a04bd0ddffd43a59cb92a136645cd9c8d4a1768 | [
"MIT"
] | null | null | null | app/main/__init__.py | VirginiaNdungu1/Taarifa-App | 0a04bd0ddffd43a59cb92a136645cd9c8d4a1768 | [
"MIT"
] | null | null | null | app/main/__init__.py | VirginiaNdungu1/Taarifa-App | 0a04bd0ddffd43a59cb92a136645cd9c8d4a1768 | [
"MIT"
] | null | null | null | # import Blueprint class
from flask import Blueprint
# initialise the Blueprint class
main = Blueprint('main', __name__)
# import views module
from . import views
| 23.285714 | 34 | 0.785276 | 21 | 163 | 5.904762 | 0.52381 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153374 | 163 | 6 | 35 | 27.166667 | 0.898551 | 0.447853 | 0 | 0 | 0 | 0 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
1dcd0e766d97687fda0373b608e56a082a7779f4 | 90 | py | Python | 3_team/tests/sample_doctest_ok.py | pyfirst/pymook-samplecode | 82321237c34515d287f28bd51ea86f870c1f5514 | [
"MIT"
] | 31 | 2017-09-27T14:54:39.000Z | 2021-05-26T14:03:44.000Z | 3_team/tests/sample_doctest_ok.py | pyfirst/pymook-samplecode | 82321237c34515d287f28bd51ea86f870c1f5514 | [
"MIT"
] | 11 | 2018-03-11T05:28:14.000Z | 2022-03-11T23:19:36.000Z | 3_team/tests/sample_doctest_ok.py | pyfirst/pymook-samplecode | 82321237c34515d287f28bd51ea86f870c1f5514 | [
"MIT"
] | 41 | 2017-10-21T04:45:56.000Z | 2021-07-16T14:12:33.000Z | def get_ok():
"""
文字列 'OK' を返す
>>> get_ok()
'OK'
"""
return 'OK'
| 10 | 16 | 0.366667 | 11 | 90 | 2.818182 | 0.545455 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.411111 | 90 | 8 | 17 | 11.25 | 0.584906 | 0.344444 | 0 | 0 | 0 | 0 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
1dcfcfe873ef4b985d677df7eb2f2763cc77a4c7 | 227 | py | Python | {{cookiecutter.repo_name}}/app.py | xhlulu/dash-template | c76debd0e7c8cf119b46bf6e7233ea967851cb78 | [
"MIT"
] | 1 | 2021-04-07T17:27:26.000Z | 2021-04-07T17:27:26.000Z | {{cookiecutter.repo_name}}/app.py | xhlulu/dash-template | c76debd0e7c8cf119b46bf6e7233ea967851cb78 | [
"MIT"
] | null | null | null | {{cookiecutter.repo_name}}/app.py | xhlulu/dash-template | c76debd0e7c8cf119b46bf6e7233ea967851cb78 | [
"MIT"
] | null | null | null | {%- if cookiecutter.format == 'bootstrap' -%}
{%- include 'cookiecutter_templates/app_bootstrap.py' -%}
{%- elif cookiecutter.format == 'regular' -%}
{%- include 'cookiecutter_templates/app_regular.py' -%}
{%- endif -%} | 45.4 | 61 | 0.656388 | 21 | 227 | 6.904762 | 0.52381 | 0.248276 | 0.386207 | 0.427586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132159 | 227 | 5 | 62 | 45.4 | 0.736041 | 0 | 0 | 0 | 0 | 0 | 0.403509 | 0.333333 | 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 |
1dd6a3d04a7d00be735a4344b52b63f7d4e00faa | 32 | py | Python | atpg/utils/__init__.py | jstavr/SDN_Project | 9fe5a65f46eadf15e1da43d9f8125b8c15161bbd | [
"Apache-2.0"
] | null | null | null | atpg/utils/__init__.py | jstavr/SDN_Project | 9fe5a65f46eadf15e1da43d9f8125b8c15161bbd | [
"Apache-2.0"
] | null | null | null | atpg/utils/__init__.py | jstavr/SDN_Project | 9fe5a65f46eadf15e1da43d9f8125b8c15161bbd | [
"Apache-2.0"
] | null | null | null | '''
Created on Aug 14, 2011
'''
| 8 | 23 | 0.5625 | 5 | 32 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 0.21875 | 32 | 3 | 24 | 10.666667 | 0.48 | 0.71875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
380909b6935f2ea342b89b999d1e6343dc2c6c30 | 271 | py | Python | flask_unchained/_code_templates/project/app/extensions/__init__.py | achiang/flask-unchained | 12788a6e618904a25ff2b571eb05ff1dc8f1840f | [
"MIT"
] | 69 | 2018-10-10T01:59:11.000Z | 2022-03-29T17:29:30.000Z | flask_unchained/_code_templates/project/app/extensions/__init__.py | achiang/flask-unchained | 12788a6e618904a25ff2b571eb05ff1dc8f1840f | [
"MIT"
] | 18 | 2018-11-17T12:42:02.000Z | 2021-05-22T18:45:27.000Z | flask_unchained/_code_templates/project/app/extensions/__init__.py | achiang/flask-unchained | 12788a6e618904a25ff2b571eb05ff1dc8f1840f | [
"MIT"
] | 7 | 2018-10-12T16:20:25.000Z | 2021-10-06T12:18:21.000Z | # from vendor import ExtensionName
# extension_instance = ExtensionName()
EXTENSIONS = {
# 'extension_name': extension_instance,
# or, if an extension depends on other extension(s):
# 'extension_name': (extension_instance, ['ext', 'dependency', 'names']),
}
| 30.111111 | 77 | 0.704797 | 28 | 271 | 6.642857 | 0.642857 | 0.274194 | 0.236559 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162362 | 271 | 8 | 78 | 33.875 | 0.819383 | 0.848708 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
69cb4e0b611917997928e326ebefaae54a7252b8 | 113 | py | Python | test/resources/hello_virtual/python/develop/hello.py | Manu343726/biicode-common | 91b32c6fd1e4a72ce5451183f1766d313cd0e420 | [
"MIT"
] | 17 | 2015-04-15T09:40:23.000Z | 2017-05-17T20:34:49.000Z | test/resources/hello_virtual/python/develop/hello.py | Manu343726/biicode-common | 91b32c6fd1e4a72ce5451183f1766d313cd0e420 | [
"MIT"
] | 2 | 2015-04-22T11:29:36.000Z | 2018-09-25T09:31:09.000Z | test/resources/hello_virtual/python/develop/hello.py | bowlofstew/common | 45e9ca902be7bbbdd73dafe3ab8957bc4a006020 | [
"MIT"
] | 22 | 2015-04-15T09:46:00.000Z | 2020-09-29T17:03:31.000Z | '''
Created on 17/07/2013
@author: drodri
'''
import sys
def hello():
sys.stdout.write("Develop: %PRINT%")
| 11.3 | 40 | 0.637168 | 16 | 113 | 4.5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0.168142 | 113 | 9 | 41 | 12.555556 | 0.680851 | 0.336283 | 0 | 0 | 0 | 0 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
69cb8c70545ac2529f5d07b142a59d1bb203fbe5 | 44 | py | Python | src/oop/Zoo/__init__.py | tborzyszkowski/TestAutomationInPython | 843c71df796588e181466d9b9b549f03dd907a6e | [
"MIT"
] | 2 | 2020-10-08T09:44:12.000Z | 2021-10-08T08:32:19.000Z | src/oop/Zoo/__init__.py | tborzyszkowski/TestAutomationInPython | 843c71df796588e181466d9b9b549f03dd907a6e | [
"MIT"
] | null | null | null | src/oop/Zoo/__init__.py | tborzyszkowski/TestAutomationInPython | 843c71df796588e181466d9b9b549f03dd907a6e | [
"MIT"
] | 1 | 2020-10-19T14:08:00.000Z | 2020-10-19T14:08:00.000Z | from .World import *
from .Position import * | 22 | 23 | 0.75 | 6 | 44 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 23 | 22 | 0.891892 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.