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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
949573b4599bf569bf84e6c141760b8c438837a0 | 123 | py | Python | cfg.py | rucnyz/Pikachu | fbfd51d83104a5fe2847e78bc6e82d87275d5c29 | [
"MIT"
] | null | null | null | cfg.py | rucnyz/Pikachu | fbfd51d83104a5fe2847e78bc6e82d87275d5c29 | [
"MIT"
] | null | null | null | cfg.py | rucnyz/Pikachu | fbfd51d83104a5fe2847e78bc6e82d87275d5c29 | [
"MIT"
] | null | null | null | """配置文件"""
'''图片路径'''
BLOCK_IMAGE_PATH = 'resources/images/block.png'
PIKACHU_IMAGE_PATH = 'resources/images/pikachu.png'
| 20.5 | 51 | 0.731707 | 16 | 123 | 5.375 | 0.5625 | 0.209302 | 0.418605 | 0.55814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 123 | 5 | 52 | 24.6 | 0.754386 | 0.03252 | 0 | 0 | 0 | 0 | 0.524272 | 0.524272 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
949fff77fc46edf794334104fc6e534c3be1f908 | 101 | py | Python | tests/__init__.py | afilip1/imagehash | 671b066242274ace3bce87c5ff6bbbb2b8eb98b4 | [
"BSD-2-Clause"
] | 2,338 | 2015-01-03T08:06:11.000Z | 2022-03-29T07:06:00.000Z | tests/__init__.py | afilip1/imagehash | 671b066242274ace3bce87c5ff6bbbb2b8eb98b4 | [
"BSD-2-Clause"
] | 143 | 2015-01-21T17:55:31.000Z | 2022-02-01T09:23:00.000Z | tests/__init__.py | afilip1/imagehash | 671b066242274ace3bce87c5ff6bbbb2b8eb98b4 | [
"BSD-2-Clause"
] | 338 | 2015-01-28T18:26:19.000Z | 2022-03-27T12:54:32.000Z | from __future__ import (absolute_import, division, print_function)
from .utils import TestImageHash
| 25.25 | 66 | 0.841584 | 12 | 101 | 6.583333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 101 | 3 | 67 | 33.666667 | 0.877778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
94ca8c466bd8029eca105c94d688f362097e883b | 156 | py | Python | lib/extensions/dcn/modules/__init__.py | shampooma/openseg.pytorch | d1da408a1e870d52c058c359583bc098f7f3d9e2 | [
"MIT"
] | 1,254 | 2019-01-03T02:51:22.000Z | 2022-03-31T08:36:59.000Z | lib/extensions/dcn/modules/__init__.py | shampooma/openseg.pytorch | d1da408a1e870d52c058c359583bc098f7f3d9e2 | [
"MIT"
] | 88 | 2019-02-13T03:43:09.000Z | 2022-03-27T08:23:29.000Z | lib/extensions/dcn/modules/__init__.py | shampooma/openseg.pytorch | d1da408a1e870d52c058c359583bc098f7f3d9e2 | [
"MIT"
] | 211 | 2019-01-03T13:21:07.000Z | 2022-03-22T08:46:34.000Z | from .deform_conv import DeformConv
from .modulated_dcn import DeformRoIPooling, ModulatedDeformConv, ModulatedDeformConvPack, ModulatedDeformRoIPoolingPack | 78 | 120 | 0.903846 | 13 | 156 | 10.692308 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 156 | 2 | 120 | 78 | 0.952055 | 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 |
a210fc11bf7c9401f15cd825ab81a64de9b583e5 | 9,631 | py | Python | models/vamvsnet_high_submodule.py | brandontan99/D2HC-RMVSNet | c4615c2d7c212b9b247da6fc0e0e110344b1b0ce | [
"MIT"
] | 91 | 2020-08-14T15:43:48.000Z | 2022-03-24T11:07:40.000Z | models/vamvsnet_high_submodule.py | brandontan99/D2HC-RMVSNet | c4615c2d7c212b9b247da6fc0e0e110344b1b0ce | [
"MIT"
] | 15 | 2020-08-29T02:25:20.000Z | 2022-03-13T06:34:11.000Z | models/vamvsnet_high_submodule.py | brandontan99/D2HC-RMVSNet | c4615c2d7c212b9b247da6fc0e0e110344b1b0ce | [
"MIT"
] | 7 | 2020-11-02T12:47:49.000Z | 2021-07-27T07:13:27.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from .module import *
import sys
from copy import deepcopy
# Multi-scale feature extractor && Coarse To Fine Regression Module
class FeatureNetHigh(nn.Module): #Original Paper Setting
def __init__(self):
super(FeatureNetHigh, self).__init... | 38.218254 | 131 | 0.585194 | 1,372 | 9,631 | 4.027697 | 0.094023 | 0.011582 | 0.013029 | 0.027868 | 0.869707 | 0.869707 | 0.847991 | 0.74629 | 0.74629 | 0.730366 | 0 | 0.111935 | 0.271831 | 9,631 | 251 | 132 | 38.370518 | 0.67603 | 0.077147 | 0 | 0.662921 | 0 | 0 | 0.008123 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044944 | false | 0 | 0.033708 | 0 | 0.123596 | 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 |
bf4cf7ee8d67b8444fcdd6c7632c197ccf5a62fe | 363 | py | Python | utils/exporters/blender/addons/io_three/exceptions.py | wenluzhizhi/threeEx | 82b1795f9f73bb47fd3c49befc6606944f79d639 | [
"MIT"
] | 2,162 | 2018-02-23T12:15:07.000Z | 2022-03-31T09:52:41.000Z | utils/exporters/blender/addons/io_three/exceptions.py | superguigui/three.js | c18be1eca38a1f3c779e8dcb168edf06ee9441ad | [
"MIT"
] | 241 | 2018-03-13T17:13:45.000Z | 2022-03-26T03:06:59.000Z | utils/exporters/blender/addons/io_three/exceptions.py | superguigui/three.js | c18be1eca38a1f3c779e8dcb168edf06ee9441ad | [
"MIT"
] | 500 | 2018-02-24T01:34:55.000Z | 2022-03-30T10:41:43.000Z | class ThreeError(Exception): pass
class UnimplementedFeatureError(ThreeError): pass
class ThreeValueError(ThreeError): pass
class UnsupportedObjectType(ThreeError): pass
class GeometryError(ThreeError): pass
class MaterialError(ThreeError): pass
class SelectionError(ThreeError): pass
class NGonError(ThreeError): pass
c... | 36.3 | 49 | 0.85124 | 36 | 363 | 8.583333 | 0.333333 | 0.23301 | 0.430421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07438 | 363 | 9 | 50 | 40.333333 | 0.919643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
bf786306f2ab7d3c5b7701cc81d170522a365d7e | 176 | py | Python | src/KicadSymGen/draw/__init__.py | krtkr/altera_kicad_gen | 0a688df5d718bcd2c40946fa3538e8a7b20427a3 | [
"MIT"
] | null | null | null | src/KicadSymGen/draw/__init__.py | krtkr/altera_kicad_gen | 0a688df5d718bcd2c40946fa3538e8a7b20427a3 | [
"MIT"
] | null | null | null | src/KicadSymGen/draw/__init__.py | krtkr/altera_kicad_gen | 0a688df5d718bcd2c40946fa3538e8a7b20427a3 | [
"MIT"
] | null | null | null | from .DrawItem import *
from .Field import *
from .Writer import *
from .Library import *
from .Pin import *
from .Rectangle import *
from .Text import *
from .Symbol import *
| 19.555556 | 24 | 0.727273 | 24 | 176 | 5.333333 | 0.416667 | 0.546875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 176 | 8 | 25 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bfa14468706050e1ac1206594dd0261da672358e | 112 | py | Python | dnspython/e164.py | dineshkumar2509/learning-python | e8af11ff0b396da4c3f2cfe21d14131bae4b2adb | [
"MIT"
] | 86 | 2015-06-13T16:53:55.000Z | 2022-03-24T20:56:42.000Z | dnspython/e164.py | pei-zheng-yi/learning-python | 55e350dfe44cf04f7d4408e76e72d2f467bd42ce | [
"MIT"
] | 9 | 2015-05-27T07:52:44.000Z | 2022-03-29T21:52:40.000Z | dnspython/e164.py | pei-zheng-yi/learning-python | 55e350dfe44cf04f7d4408e76e72d2f467bd42ce | [
"MIT"
] | 124 | 2015-12-10T01:17:18.000Z | 2021-11-08T04:03:38.000Z | #!/usr/bin/env python
import dns.e164
n = dns.e164.from_e164("+1 555 1212")
print n
print dns.e164.to_e164(n)
| 14 | 37 | 0.705357 | 23 | 112 | 3.347826 | 0.608696 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237113 | 0.133929 | 112 | 7 | 38 | 16 | 0.556701 | 0.178571 | 0 | 0 | 0 | 0 | 0.120879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7822cb3b1bea06ce5c35d2dddad1cdb7cd2f3ad0 | 40 | py | Python | favorite-animals/james.py | jasonstewartpariveda/learn-git-1 | ae981f5a3d787860240ce658f46f1d98d0caf76e | [
"MIT"
] | 1 | 2021-09-29T18:48:12.000Z | 2021-09-29T18:48:12.000Z | favorite-animals/james.py | jasonstewartpariveda/learn-git-1 | ae981f5a3d787860240ce658f46f1d98d0caf76e | [
"MIT"
] | 21 | 2021-09-27T17:19:45.000Z | 2021-09-30T04:07:26.000Z | favorite-animals/james.py | jasonstewartpariveda/learn-git-1 | ae981f5a3d787860240ce658f46f1d98d0caf76e | [
"MIT"
] | 192 | 2021-09-27T17:10:51.000Z | 2021-10-05T03:06:36.000Z | print("My favorite animal is a mermaid") | 40 | 40 | 0.775 | 7 | 40 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
78427439a3b854f912e667e0decd18444e64ef88 | 136 | py | Python | contants.py | m-mone/fiction | 8b04f21272003af03d5cb38f8bfddc7f50a1e862 | [
"Apache-2.0"
] | null | null | null | contants.py | m-mone/fiction | 8b04f21272003af03d5cb38f8bfddc7f50a1e862 | [
"Apache-2.0"
] | null | null | null | contants.py | m-mone/fiction | 8b04f21272003af03d5cb38f8bfddc7f50a1e862 | [
"Apache-2.0"
] | null | null | null | USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36'
| 68 | 135 | 0.75 | 27 | 136 | 3.666667 | 0.888889 | 0.10101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214876 | 0.110294 | 136 | 1 | 136 | 136 | 0.603306 | 0 | 0 | 0 | 0 | 1 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
784b038a96a0c0fc7c4a6af7cc5089a699e630da | 159 | py | Python | flair/models/__init__.py | amagge/flair | 4cdc41da77297531f8a9ebe6f47ae9ac8a1eb620 | [
"MIT"
] | 1 | 2021-01-07T07:30:21.000Z | 2021-01-07T07:30:21.000Z | flair/models/__init__.py | amagge/flair | 4cdc41da77297531f8a9ebe6f47ae9ac8a1eb620 | [
"MIT"
] | 1 | 2021-03-01T17:14:03.000Z | 2021-03-01T17:14:03.000Z | flair/models/__init__.py | amagge/flair | 4cdc41da77297531f8a9ebe6f47ae9ac8a1eb620 | [
"MIT"
] | 2 | 2021-02-24T19:58:46.000Z | 2021-02-25T10:53:23.000Z | from .sequence_tagger_model import SequenceTagger, MultiTagger
from .language_model import LanguageModel
from .text_classification_model import TextClassifier
| 39.75 | 62 | 0.893082 | 18 | 159 | 7.611111 | 0.666667 | 0.240876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081761 | 159 | 3 | 63 | 53 | 0.938356 | 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 |
7857c5863c85f6c6ff9d8ca803c71cf7b61d8735 | 5,133 | py | Python | test.py | JingZhang918/MC-Option-Pricing | 4ac1f17cc8e67faf5628314f91662da53f019a85 | [
"MIT"
] | null | null | null | test.py | JingZhang918/MC-Option-Pricing | 4ac1f17cc8e67faf5628314f91662da53f019a85 | [
"MIT"
] | null | null | null | test.py | JingZhang918/MC-Option-Pricing | 4ac1f17cc8e67faf5628314f91662da53f019a85 | [
"MIT"
] | null | null | null | import unittest
from financial_instruments import europeanOption, barrierOption
from MCPricer import MCPricer
class MyTestCase(unittest.TestCase):
# european option test
def test_european_option(self):
optionEU = europeanOption()
optionEU.sigma = .3
optionEU.K = 40
optionEU.T ... | 36.664286 | 85 | 0.606078 | 580 | 5,133 | 5.27069 | 0.144828 | 0.146549 | 0.078508 | 0.099444 | 0.759895 | 0.759895 | 0.744194 | 0.744194 | 0.744194 | 0.703631 | 0 | 0.089262 | 0.268849 | 5,133 | 139 | 86 | 36.928058 | 0.725286 | 0.032729 | 0 | 0.666667 | 0 | 0 | 0.018167 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 1 | 0.017544 | false | 0 | 0.026316 | 0 | 0.052632 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
786edc382c1d2d3379cf7ebd707a772e04ee40b6 | 30 | py | Python | spmuck/blog/models/__init__.py | spmuck/spmuck.com | e462e29f9c6702203b5f6904effabc8fc7280601 | [
"Apache-2.0"
] | null | null | null | spmuck/blog/models/__init__.py | spmuck/spmuck.com | e462e29f9c6702203b5f6904effabc8fc7280601 | [
"Apache-2.0"
] | null | null | null | spmuck/blog/models/__init__.py | spmuck/spmuck.com | e462e29f9c6702203b5f6904effabc8fc7280601 | [
"Apache-2.0"
] | null | null | null | from .blogpage import BlogPage | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 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 |
787f7aa38ed65b770b2c62e0f290675548ac0136 | 33 | py | Python | olgaming/games/tictactoe/__init__.py | OctaveLauby/olgaming | e6e7780bfefa466facb535e4346ecaa1a555f8f1 | [
"MIT"
] | null | null | null | olgaming/games/tictactoe/__init__.py | OctaveLauby/olgaming | e6e7780bfefa466facb535e4346ecaa1a555f8f1 | [
"MIT"
] | null | null | null | olgaming/games/tictactoe/__init__.py | OctaveLauby/olgaming | e6e7780bfefa466facb535e4346ecaa1a555f8f1 | [
"MIT"
] | null | null | null | from .tictactoe import TicTacToe
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 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 |
789c51582ff5072a5b60eac9bf3cbdbb6bc4e8c6 | 122 | py | Python | Books/GodOfPython/P00_OriginalSource/ch10/camera.py | Tim232/Python-Things | 05f0f373a4cf298e70d9668c88a6e3a9d1cd8146 | [
"MIT"
] | 2 | 2020-12-05T07:42:55.000Z | 2021-01-06T23:23:18.000Z | Books/GodOfPython/P00_OriginalSource/ch10/smtpkg7/camera/camera.py | Tim232/Python-Things | 05f0f373a4cf298e70d9668c88a6e3a9d1cd8146 | [
"MIT"
] | null | null | null | Books/GodOfPython/P00_OriginalSource/ch10/smtpkg7/camera/camera.py | Tim232/Python-Things | 05f0f373a4cf298e70d9668c88a6e3a9d1cd8146 | [
"MIT"
] | null | null | null | # camera.py
def photo():
print("Take photo")
photo()
print("camera.py's module name is", __name__) # 추가(모듈의 이름을 출력)
| 17.428571 | 63 | 0.647541 | 20 | 122 | 3.75 | 0.7 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 122 | 6 | 64 | 20.333333 | 0.75 | 0.196721 | 0 | 0 | 0 | 0 | 0.378947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.5 | 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 | 0 | 1 | 0 | 6 |
78aa1b24c7d4f18d66ca83a35eaf9470314c8666 | 130 | py | Python | nort/util.py | taDachs/nort | e057198a521227ba8f60f49ca25a321a4ddad26e | [
"MIT"
] | null | null | null | nort/util.py | taDachs/nort | e057198a521227ba8f60f49ca25a321a4ddad26e | [
"MIT"
] | null | null | null | nort/util.py | taDachs/nort | e057198a521227ba8f60f49ca25a321a4ddad26e | [
"MIT"
] | null | null | null | # stolen from https://github.com/fmauch/catmux/blob/master/catmux/prefix.py
def get_prefix():
return __file__.split("lib")[0]
| 32.5 | 75 | 0.738462 | 20 | 130 | 4.55 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.092308 | 130 | 3 | 76 | 43.333333 | 0.762712 | 0.561538 | 0 | 0 | 0 | 0 | 0.054545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
78b9239ee95b92e8422032a360eea6e64647f830 | 12,404 | py | Python | Experiments/ST_MGCN/Runner_techniques_analysis_30_STMGCN.py | TempAnonymous/Context_Analysis | bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e | [
"MIT"
] | 3 | 2021-06-29T06:18:18.000Z | 2021-09-07T03:11:35.000Z | Experiments/ST_MGCN/Runner_techniques_analysis_30_STMGCN.py | TempAnonymous/Context_Analysis | bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e | [
"MIT"
] | null | null | null | Experiments/ST_MGCN/Runner_techniques_analysis_30_STMGCN.py | TempAnonymous/Context_Analysis | bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e | [
"MIT"
] | null | null | null | import os
import warnings
warnings.filterwarnings("ignore")
# #############################################
# # BenchMark Bike
# # #############################################
bike_shared_params_st_mgcn = ('python ST_MGCN_Obj.py '
'--Dataset Bike '
'--CT 6 '
... | 54.884956 | 127 | 0.525879 | 1,220 | 12,404 | 5.027049 | 0.068852 | 0.049894 | 0.109571 | 0.140877 | 0.952226 | 0.940975 | 0.89369 | 0.850318 | 0.828958 | 0.771238 | 0 | 0.03989 | 0.355289 | 12,404 | 225 | 128 | 55.128889 | 0.727023 | 0.00516 | 0 | 0.302469 | 0 | 0 | 0.516239 | 0.027162 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012346 | 0 | 0.012346 | 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 |
78d23c4b47f2031f2f995d65d142aae594cfdcea | 16,745 | py | Python | DC_CDN_IJCAI21.py | abhirajasp/CDCN | c9863775b1c1bffd91f956b5b2c6c78abfc988ec | [
"MIT"
] | 463 | 2020-03-08T22:13:11.000Z | 2022-03-30T08:46:26.000Z | DC_CDN_IJCAI21.py | abhirajasp/CDCN | c9863775b1c1bffd91f956b5b2c6c78abfc988ec | [
"MIT"
] | 53 | 2020-03-12T03:31:17.000Z | 2022-03-31T07:15:53.000Z | DC_CDN_IJCAI21.py | abhirajasp/CDCN | c9863775b1c1bffd91f956b5b2c6c78abfc988ec | [
"MIT"
] | 159 | 2020-03-10T09:01:39.000Z | 2022-03-28T12:30:40.000Z | '''
Code of 'Dual-Cross Central Difference Network for Face Anti-Spoofing'
By Zitong Yu, 2021
If you use the code, please cite:
@inproceedings{yu2021dual,
title={Dual-Cross Central Difference Network for Face Anti-Spoofing},
author={Yu, Zitong and Qin, Yunxiao and ZHoa, Hengshuang and Li, Xiaobai and Zhao, Gu... | 39.032634 | 227 | 0.563213 | 2,265 | 16,745 | 3.981015 | 0.074614 | 0.065432 | 0.068315 | 0.077298 | 0.896972 | 0.879561 | 0.862593 | 0.831097 | 0.779306 | 0.753798 | 0 | 0.102922 | 0.303135 | 16,745 | 429 | 228 | 39.032634 | 0.669809 | 0.097223 | 0 | 0.64 | 0 | 0 | 0.001594 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029091 | false | 0 | 0.029091 | 0 | 0.094545 | 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 |
15416b43de6cd779ca949b24ddbd0646f2ae6037 | 26 | py | Python | flfm/shell/__init__.py | m-flak/flfm | e73943dc014e9af87a5c170d17dee15e1c6609bd | [
"Apache-2.0"
] | 5 | 2019-10-24T05:40:26.000Z | 2021-01-06T01:41:08.000Z | flfm/shell/__init__.py | m-flak/flfm | e73943dc014e9af87a5c170d17dee15e1c6609bd | [
"Apache-2.0"
] | null | null | null | flfm/shell/__init__.py | m-flak/flfm | e73943dc014e9af87a5c170d17dee15e1c6609bd | [
"Apache-2.0"
] | null | null | null | from .routes import shell
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 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 |
1566691c72ed8b34e355e97cfc508dde2c45bc16 | 2,907 | py | Python | pirates/leveleditor/worldData/bilgewater_guildhall_interior_a.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/bilgewater_guildhall_interior_a.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/bilgewater_guildhall_interior_a.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.bilgewater_guildhall_interior_a
from pandac.PandaModules import Point3, VBase3
objectStruct = {'Objects': ... | 484.5 | 2,614 | 0.650155 | 414 | 2,907 | 4.545894 | 0.289855 | 0.048884 | 0.047821 | 0.046759 | 0.284272 | 0.284272 | 0.277365 | 0.277365 | 0.269394 | 0.269394 | 0 | 0.257666 | 0.080151 | 2,907 | 6 | 2,614 | 484.5 | 0.446148 | 0.081527 | 0 | 0 | 0 | 0 | 0.55964 | 0.247562 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ec6bef0bfd07b896bf7dc1e9c6e1f64224d7fe0e | 20 | py | Python | __init__.py | hamiltonparker/Learning | 2dd77bd222758db961c0987e4ad4e828daf2c508 | [
"MIT"
] | null | null | null | __init__.py | hamiltonparker/Learning | 2dd77bd222758db961c0987e4ad4e828daf2c508 | [
"MIT"
] | 3 | 2017-08-31T23:44:54.000Z | 2017-09-19T04:24:37.000Z | __init__.py | hamiltonparker/learning | 2dd77bd222758db961c0987e4ad4e828daf2c508 | [
"MIT"
] | null | null | null | import HNFGen as hg
| 10 | 19 | 0.8 | 4 | 20 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 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 |
ec9a1f73c7a29726f28d4bc65a81a2ddf2ba1572 | 401 | py | Python | strops/schemes/views/mapping/__init__.py | ckoerber/strops | 2131354fd6822b3aa7b7d9c3c0db79723b06b8ca | [
"BSD-3-Clause"
] | 1 | 2020-12-29T19:57:47.000Z | 2020-12-29T19:57:47.000Z | strops/schemes/views/mapping/__init__.py | ckoerber/strops | 2131354fd6822b3aa7b7d9c3c0db79723b06b8ca | [
"BSD-3-Clause"
] | 13 | 2020-06-29T11:15:59.000Z | 2021-09-22T19:18:36.000Z | strops/schemes/views/mapping/__init__.py | ckoerber/strops | 2131354fd6822b3aa7b7d9c3c0db79723b06b8ca | [
"BSD-3-Clause"
] | null | null | null | """Views associated with connecting operators at a source scale to a target scale."""
from strops.schemes.views.mapping.index import IndexView # noqa
from strops.schemes.views.mapping.scales import ( # noqa
PickSourceScaleView,
PickTargetScaleView,
)
from strops.schemes.views.mapping.branch import PickBranchV... | 44.555556 | 85 | 0.793017 | 50 | 401 | 6.36 | 0.52 | 0.125786 | 0.213836 | 0.27673 | 0.389937 | 0.207547 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129676 | 401 | 8 | 86 | 50.125 | 0.911175 | 0.249377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ecdbd86e8fe2c0d100da33966efa83239bdba064 | 111 | py | Python | psy/settings/__init__.py | cegfdb/IRT | 20fcde3b385bce1644fecab7cdc8bda5beacda03 | [
"MIT"
] | 169 | 2017-08-29T01:35:49.000Z | 2022-03-01T05:03:02.000Z | psy/settings/__init__.py | a854367688/pypsy | f055fe1f4901b654d99d9a776152e8192e014f5f | [
"MIT"
] | 8 | 2017-12-05T05:20:35.000Z | 2021-10-03T05:40:45.000Z | psy/settings/__init__.py | a854367688/pypsy | f055fe1f4901b654d99d9a776152e8192e014f5f | [
"MIT"
] | 67 | 2017-09-01T04:18:54.000Z | 2022-02-24T08:21:18.000Z | from psy.settings.mirt import GH_POINT_DT, X_NODES, X_WEIGHTS
from psy.settings.cat import TRIPLETS_PERMUTATION | 55.5 | 61 | 0.864865 | 19 | 111 | 4.789474 | 0.736842 | 0.153846 | 0.32967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 111 | 2 | 62 | 55.5 | 0.892157 | 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 |
01ba06ef716f5278eb8fc912cceb8bc80b1a8795 | 92 | py | Python | awegan/options/__init__.py | atomicoo/EnhanceIMG | 8c009fbb6c5461ff6d7f30bdacec72232639c7f2 | [
"MIT"
] | 35 | 2021-04-20T21:14:25.000Z | 2022-03-31T08:27:35.000Z | awegan/options/__init__.py | Real798/EnhanceIMG | 8c009fbb6c5461ff6d7f30bdacec72232639c7f2 | [
"MIT"
] | 2 | 2021-05-13T05:34:59.000Z | 2021-09-23T09:07:32.000Z | awegan/options/__init__.py | Real798/EnhanceIMG | 8c009fbb6c5461ff6d7f30bdacec72232639c7f2 | [
"MIT"
] | 7 | 2021-05-10T12:08:42.000Z | 2022-02-24T10:06:05.000Z | from options.train_options import TrainOptions
from options.test_options import TestOptions
| 30.666667 | 46 | 0.891304 | 12 | 92 | 6.666667 | 0.583333 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 92 | 2 | 47 | 46 | 0.952381 | 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 |
01c0adf80716ea3638a87f631b4832a3652d3188 | 77 | py | Python | src/backend/lib/demo/user_ids.py | robyn-thomas/span-gdg-2021-hackathon | 09bf8cdaf21ec9e8a83ea7de5076c4e26bae64d0 | [
"MIT"
] | null | null | null | src/backend/lib/demo/user_ids.py | robyn-thomas/span-gdg-2021-hackathon | 09bf8cdaf21ec9e8a83ea7de5076c4e26bae64d0 | [
"MIT"
] | null | null | null | src/backend/lib/demo/user_ids.py | robyn-thomas/span-gdg-2021-hackathon | 09bf8cdaf21ec9e8a83ea7de5076c4e26bae64d0 | [
"MIT"
] | null | null | null | # Jayan Comparison ID's
jayan_ids = "1467151701325004801,801093845882523648"
| 25.666667 | 52 | 0.831169 | 8 | 77 | 7.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.528571 | 0.090909 | 77 | 2 | 53 | 38.5 | 0.371429 | 0.272727 | 0 | 0 | 0 | 0 | 0.703704 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
01f8fd648f5e063d4563db9581204c30bcd24ddb | 21 | py | Python | web/settings/settings.py | beniaminonobile/www.albertifra.it | 721b6125bbe56e806cf3abd5270d9c5cd85034be | [
"MIT"
] | null | null | null | web/settings/settings.py | beniaminonobile/www.albertifra.it | 721b6125bbe56e806cf3abd5270d9c5cd85034be | [
"MIT"
] | null | null | null | web/settings/settings.py | beniaminonobile/www.albertifra.it | 721b6125bbe56e806cf3abd5270d9c5cd85034be | [
"MIT"
] | null | null | null | from .common import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 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 |
bf09757183ff8301ba869c3472bf6c729bf5c25b | 261 | py | Python | include/__init__.py | MLI-lab/Robustness-CS | 8ef26795ffd02824a2cf0f9496887554484a8b08 | [
"Apache-2.0"
] | 18 | 2021-05-16T21:50:58.000Z | 2021-12-23T14:52:02.000Z | include/__init__.py | MLI-lab/Robustness-CS | 8ef26795ffd02824a2cf0f9496887554484a8b08 | [
"Apache-2.0"
] | null | null | null | include/__init__.py | MLI-lab/Robustness-CS | 8ef26795ffd02824a2cf0f9496887554484a8b08 | [
"Apache-2.0"
] | 3 | 2021-04-08T06:47:32.000Z | 2021-10-15T12:22:03.000Z | from .transforms import *
from .decoder_parallel_conv import *
from .decoder_conv import *
from .decoder_skip import *
from .fit import *
from .fits import *
from .helpers import *
from .mri_helpers import *
from .runner import *
from .runner_untrained import * | 26.1 | 36 | 0.773946 | 36 | 261 | 5.444444 | 0.361111 | 0.459184 | 0.260204 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 261 | 10 | 37 | 26.1 | 0.882883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bf27db95b6bc597b60b50f534eee7a86de261f5e | 155 | py | Python | 81_pr9_09.py | AmreshTripathy/Python | e86420fef7f52da393be5b50ac2f13bddfeb3306 | [
"Apache-2.0"
] | 4 | 2021-05-27T05:06:09.000Z | 2021-06-12T17:12:47.000Z | 81_pr9_09.py | AmreshTripathy/Python | e86420fef7f52da393be5b50ac2f13bddfeb3306 | [
"Apache-2.0"
] | null | null | null | 81_pr9_09.py | AmreshTripathy/Python | e86420fef7f52da393be5b50ac2f13bddfeb3306 | [
"Apache-2.0"
] | null | null | null | with open('copy.txt') as f:
print (f.read())
with open('copy.txt', 'w') as f:
f.write('')
with open('copy.txt') as f:
print (f.read()) | 19.375 | 33 | 0.522581 | 27 | 155 | 3 | 0.37037 | 0.296296 | 0.444444 | 0.555556 | 0.691358 | 0.691358 | 0.691358 | 0.691358 | 0.691358 | 0 | 0 | 0 | 0.245161 | 155 | 8 | 34 | 19.375 | 0.692308 | 0 | 0 | 0.666667 | 0 | 0 | 0.167785 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
171e69809d73a3dddab54a89799ecfbc4f935dde | 126 | py | Python | application/python/dobot/__init__.py | afifswaidan/open-dobot | 377dab0f1803b0cd78dd619e5bdb5eca77edaeaf | [
"MIT"
] | 148 | 2016-03-22T13:21:09.000Z | 2021-07-15T12:28:16.000Z | application/python/dobot/__init__.py | afifswaidan/open-dobot | 377dab0f1803b0cd78dd619e5bdb5eca77edaeaf | [
"MIT"
] | 37 | 2016-03-27T03:20:31.000Z | 2021-11-17T00:20:26.000Z | application/python/dobot/__init__.py | afifswaidan/open-dobot | 377dab0f1803b0cd78dd619e5bdb5eca77edaeaf | [
"MIT"
] | 71 | 2016-03-26T08:14:06.000Z | 2022-02-18T06:51:57.000Z |
from dobot.DobotDriver import DobotDriver
from dobot.DobotSDK import Dobot
from dobot.DobotKinematics import DobotKinematics
| 25.2 | 49 | 0.873016 | 15 | 126 | 7.333333 | 0.4 | 0.245455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103175 | 126 | 4 | 50 | 31.5 | 0.973451 | 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 |
172d64a8dcd79b83eb4053c4500e353aa7fb7faf | 6,862 | py | Python | gnuradio-3.7.13.4/gr-filter/python/filter/qa_fir_filter.py | v1259397/cosmic-gnuradio | 64c149520ac6a7d44179c3f4a38f38add45dd5dc | [
"BSD-3-Clause"
] | 1 | 2021-03-09T07:32:37.000Z | 2021-03-09T07:32:37.000Z | gnuradio-3.7.13.4/gr-filter/python/filter/qa_fir_filter.py | v1259397/cosmic-gnuradio | 64c149520ac6a7d44179c3f4a38f38add45dd5dc | [
"BSD-3-Clause"
] | null | null | null | gnuradio-3.7.13.4/gr-filter/python/filter/qa_fir_filter.py | v1259397/cosmic-gnuradio | 64c149520ac6a7d44179c3f4a38f38add45dd5dc | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
#
# Copyright 2008,2010,2012,2013 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at ... | 33.473171 | 74 | 0.62285 | 1,025 | 6,862 | 3.956098 | 0.158049 | 0.075462 | 0.027127 | 0.043403 | 0.784464 | 0.772626 | 0.758816 | 0.758816 | 0.758076 | 0.758076 | 0 | 0.049901 | 0.264063 | 6,862 | 204 | 75 | 33.637255 | 0.753069 | 0.112066 | 0 | 0.801325 | 0 | 0 | 0.003788 | 0 | 0 | 0 | 0 | 0 | 0.072848 | 1 | 0.092715 | false | 0.006623 | 0.006623 | 0 | 0.112583 | 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 |
175d212b63795ced10efbdeea2d18fcb3232efd4 | 641 | py | Python | app/models.py | sonalnikam/try | 26ef8355d652ffd35f63564c3c7665ad0776a0c8 | [
"CC0-1.0"
] | null | null | null | app/models.py | sonalnikam/try | 26ef8355d652ffd35f63564c3c7665ad0776a0c8 | [
"CC0-1.0"
] | null | null | null | app/models.py | sonalnikam/try | 26ef8355d652ffd35f63564c3c7665ad0776a0c8 | [
"CC0-1.0"
] | null | null | null | """
Definition of models.
"""
from django.db import models
# Create your models here.
class Registern(models.Model):
Name = models.CharField(max_length=400)
Username = models.CharField(max_length=400)
Password = models.CharField(max_length=400)
CPassword = models.CharField(max_length=400)
def __s... | 20.03125 | 47 | 0.663027 | 78 | 641 | 5.230769 | 0.410256 | 0.257353 | 0.308824 | 0.411765 | 0.620098 | 0.289216 | 0.289216 | 0.289216 | 0.289216 | 0.289216 | 0 | 0.041833 | 0.216849 | 641 | 32 | 48 | 20.03125 | 0.770916 | 0.073323 | 0 | 0.444444 | 0 | 0 | 0.003407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.055556 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
178e129f44e0910e2c2af028f025c2a0f8bbf5e2 | 192 | py | Python | run.py | sofiaele/audio_annotator | c9be96fce1a3ccdb53a73b80b81fc93ce0050901 | [
"MIT"
] | null | null | null | run.py | sofiaele/audio_annotator | c9be96fce1a3ccdb53a73b80b81fc93ce0050901 | [
"MIT"
] | null | null | null | run.py | sofiaele/audio_annotator | c9be96fce1a3ccdb53a73b80b81fc93ce0050901 | [
"MIT"
] | null | null | null | from audio_annotator_generic import app
from audio_annotator_generic.utils import create_directories
if __name__ == "__main__":
create_directories()
app.run(host="0.0.0.0", port=9001) | 32 | 60 | 0.78125 | 28 | 192 | 4.857143 | 0.607143 | 0.044118 | 0.264706 | 0.367647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047337 | 0.119792 | 192 | 6 | 61 | 32 | 0.757396 | 0 | 0 | 0 | 0 | 0 | 0.07772 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
1792c82a7afb0ee445c721bf24a1b3e9b541b5e2 | 12,067 | py | Python | tests/fixtures/responses.py | gurdulu/virga | 4d641de30ab574823d0326b9904161aaec8845ed | [
"MIT"
] | null | null | null | tests/fixtures/responses.py | gurdulu/virga | 4d641de30ab574823d0326b9904161aaec8845ed | [
"MIT"
] | null | null | null | tests/fixtures/responses.py | gurdulu/virga | 4d641de30ab574823d0326b9904161aaec8845ed | [
"MIT"
] | null | null | null | import datetime
from dateutil.tz import tzutc
acm_certificate_list = {
'CertificateSummaryList': [
{
'DomainName': 'my.any-domain.com',
'CertificateArn': 'arn:aws:acm:eu-west-2:012345678:certificate/01234567-abcd-0123-0123-abcdfe01234'
}
]
}
acm_result_find_certifica... | 35.180758 | 133 | 0.473523 | 880 | 12,067 | 6.432955 | 0.259091 | 0.027557 | 0.022258 | 0.059353 | 0.854619 | 0.826709 | 0.826709 | 0.826709 | 0.826709 | 0.826709 | 0 | 0.101998 | 0.36952 | 12,067 | 342 | 134 | 35.283626 | 0.642087 | 0 | 0 | 0.640379 | 0 | 0.047319 | 0.464739 | 0.216872 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006309 | 0 | 0.006309 | 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 |
bd66c0257f0cb49e8300720d7dea2f89e2605265 | 30,280 | py | Python | stRT/plot/three_d_plot/three_dims_plots.py | Yao-14/stAnalysis | d08483ce581f5b03cfcad8be500aaa64b0293f74 | [
"BSD-3-Clause"
] | null | null | null | stRT/plot/three_d_plot/three_dims_plots.py | Yao-14/stAnalysis | d08483ce581f5b03cfcad8be500aaa64b0293f74 | [
"BSD-3-Clause"
] | null | null | null | stRT/plot/three_d_plot/three_dims_plots.py | Yao-14/stAnalysis | d08483ce581f5b03cfcad8be500aaa64b0293f74 | [
"BSD-3-Clause"
] | null | null | null | import math
import re
from typing import List, Optional, Tuple, Union
import matplotlib as mpl
import numpy as np
from pyvista import MultiBlock, Plotter, PolyData, UnstructuredGrid
try:
from typing import Literal
except ImportError:
from typing_extensions import Literal
from ...tdr import collect_model
from... | 48.760064 | 128 | 0.613871 | 4,014 | 30,280 | 4.519432 | 0.086198 | 0.010474 | 0.003969 | 0.00441 | 0.838267 | 0.82388 | 0.81291 | 0.808721 | 0.800617 | 0.795326 | 0 | 0.01415 | 0.290489 | 30,280 | 620 | 129 | 48.83871 | 0.830246 | 0.595674 | 0 | 0.52648 | 0 | 0 | 0.038151 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012461 | false | 0 | 0.034268 | 0 | 0.05296 | 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 |
bdae698a8ecc2244aef9ffc027ac9ae358ea67ad | 9,231 | py | Python | mmdeploy/codebase/mmdet/core/bbox/delta_xywh_bbox_coder.py | grimoire/mmdeploy | e84bc30f4a036dd19cb3af854203922a91098e84 | [
"Apache-2.0"
] | 746 | 2021-12-27T10:50:28.000Z | 2022-03-31T13:34:14.000Z | mmdeploy/codebase/mmdet/core/bbox/delta_xywh_bbox_coder.py | grimoire/mmdeploy | e84bc30f4a036dd19cb3af854203922a91098e84 | [
"Apache-2.0"
] | 253 | 2021-12-28T05:59:13.000Z | 2022-03-31T18:22:25.000Z | mmdeploy/codebase/mmdet/core/bbox/delta_xywh_bbox_coder.py | grimoire/mmdeploy | e84bc30f4a036dd19cb3af854203922a91098e84 | [
"Apache-2.0"
] | 147 | 2021-12-27T10:50:33.000Z | 2022-03-30T10:44:20.000Z | # Copyright (c) OpenMMLab. All rights reserved.
import numpy as np
import torch
from mmdeploy.core import FUNCTION_REWRITER
@FUNCTION_REWRITER.register_rewriter(
func_name='mmdet.core.bbox.coder.delta_xywh_bbox_coder.'
'DeltaXYWHBBoxCoder.decode',
backend='default')
def deltaxywhbboxcoder__decode(ctx,
... | 40.134783 | 79 | 0.600802 | 1,298 | 9,231 | 4.145609 | 0.181818 | 0.007062 | 0.005575 | 0.017841 | 0.764914 | 0.753949 | 0.74317 | 0.737224 | 0.713436 | 0.676268 | 0 | 0.030727 | 0.294876 | 9,231 | 229 | 80 | 40.310044 | 0.795975 | 0.501137 | 0 | 0.770642 | 0 | 0 | 0.045753 | 0.04153 | 0 | 0 | 0 | 0 | 0.018349 | 1 | 0.027523 | false | 0 | 0.055046 | 0 | 0.110092 | 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 |
bdd5d3b8670509a7a2812c4c283540d3e5d4d96c | 1,422 | py | Python | safe_relay_service/relay/migrations/0020_auto_20190514_1211.py | vaporyorg/safe-relay-service | 1289c3d31639f83aa2c0110ff3b84a69212b81f5 | [
"MIT"
] | 5 | 2021-06-07T14:07:32.000Z | 2022-03-26T19:42:45.000Z | safe_relay_service/relay/migrations/0020_auto_20190514_1211.py | vaporyorg/safe-relay-service | 1289c3d31639f83aa2c0110ff3b84a69212b81f5 | [
"MIT"
] | 24 | 2019-12-11T14:43:38.000Z | 2022-03-01T12:37:24.000Z | safe_relay_service/relay/migrations/0020_auto_20190514_1211.py | vaporyorg/safe-relay-service | 1289c3d31639f83aa2c0110ff3b84a69212b81f5 | [
"MIT"
] | 4 | 2020-05-25T03:30:53.000Z | 2021-11-22T06:51:12.000Z | # Generated by Django 2.2.1 on 2019-05-14 12:11
from django.db import migrations
import gnosis.eth.django.models
class Migration(migrations.Migration):
dependencies = [
('relay', '0019_ethereumevent'),
]
operations = [
migrations.AlterField(
model_name='ethereumtx',
... | 30.913043 | 90 | 0.601266 | 138 | 1,422 | 6.07971 | 0.282609 | 0.075089 | 0.125149 | 0.175209 | 0.76758 | 0.76758 | 0.709178 | 0.657926 | 0.657926 | 0.657926 | 0 | 0.018646 | 0.283404 | 1,422 | 45 | 91 | 31.6 | 0.804711 | 0.031646 | 0 | 0.710526 | 1 | 0 | 0.086545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
da03338ce162282390a173ce080ca31e2a0c0eae | 201 | py | Python | apps/about/views.py | AleksandrTka4uk/foodgram-project | b3f1762d1ba686d42bc7a2d6c2e4b31150fd55ea | [
"MIT"
] | null | null | null | apps/about/views.py | AleksandrTka4uk/foodgram-project | b3f1762d1ba686d42bc7a2d6c2e4b31150fd55ea | [
"MIT"
] | null | null | null | apps/about/views.py | AleksandrTka4uk/foodgram-project | b3f1762d1ba686d42bc7a2d6c2e4b31150fd55ea | [
"MIT"
] | null | null | null | from django.views.generic.base import TemplateView
class AboutView(TemplateView):
template_name = 'about/AboutPage.html'
class TechView(TemplateView):
template_name = 'about/TechPage.html'
| 20.1 | 50 | 0.776119 | 23 | 201 | 6.695652 | 0.695652 | 0.25974 | 0.311688 | 0.376623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129353 | 201 | 9 | 51 | 22.333333 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
da175fe6bb86a540616355984973b20ad753d6e7 | 29 | py | Python | src/featurizer/__init__.py | geffy/retailhero-recommender-solution | 9e94f313146acd87bd09fe8ab63e4f58f22b9a3e | [
"MIT"
] | 11 | 2020-03-01T22:25:32.000Z | 2021-10-19T19:59:25.000Z | src/featurizer/__init__.py | geffy/retailhero-recommender-solution | 9e94f313146acd87bd09fe8ab63e4f58f22b9a3e | [
"MIT"
] | null | null | null | src/featurizer/__init__.py | geffy/retailhero-recommender-solution | 9e94f313146acd87bd09fe8ab63e4f58f22b9a3e | [
"MIT"
] | 1 | 2021-02-19T19:01:58.000Z | 2021-02-19T19:01:58.000Z | from typing import Any, Dict
| 14.5 | 28 | 0.793103 | 5 | 29 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 1 | 29 | 29 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
16fe1d44dbc1025223f0b213224e96e5033b7fb6 | 22,702 | py | Python | owl2vec_star/cli.py | KRR-Oxford/OWL2Vec-Star | 9fa80b98b5014dd5c775d8e97073972c724123d6 | [
"Apache-2.0"
] | 44 | 2020-10-10T05:51:25.000Z | 2022-03-25T14:58:10.000Z | owl2vec_star/cli.py | KRR-Oxford/OWL2Vec-Star | 9fa80b98b5014dd5c775d8e97073972c724123d6 | [
"Apache-2.0"
] | 5 | 2021-03-08T13:00:31.000Z | 2022-02-11T19:01:56.000Z | owl2vec_star/cli.py | KRR-Oxford/OWL2Vec-Star | 9fa80b98b5014dd5c775d8e97073972c724123d6 | [
"Apache-2.0"
] | 10 | 2020-10-28T12:52:00.000Z | 2022-03-01T13:10:48.000Z | """Console script for owl2vec_star."""
import configparser
import multiprocessing
import os
import random
import sys
import time
import click
import gensim
from owl2vec_star.lib.RDF2Vec_Embed import get_rdf2vec_walks
from owl2vec_star.lib.Label import pre_process_words, URI_parse
from owl2vec_star.lib.Onto_Projection... | 49.352174 | 131 | 0.615012 | 2,708 | 22,702 | 4.998892 | 0.104874 | 0.062052 | 0.025264 | 0.029253 | 0.830612 | 0.810372 | 0.785329 | 0.777425 | 0.764497 | 0.755485 | 0 | 0.003861 | 0.258479 | 22,702 | 459 | 132 | 49.459695 | 0.800285 | 0.125363 | 0 | 0.664723 | 0 | 0 | 0.190433 | 0.002324 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014577 | false | 0.002915 | 0.034985 | 0 | 0.075802 | 0.104956 | 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 |
e52e122ee4bec9f90dbb6985750499cafe7fd5f4 | 170 | py | Python | flask_arch/builtins/sql.py | ToraNova/flask-arch | ff95c4b49a2d954ae69d21853f646792a72918ed | [
"MIT"
] | null | null | null | flask_arch/builtins/sql.py | ToraNova/flask-arch | ff95c4b49a2d954ae69d21853f646792a72918ed | [
"MIT"
] | null | null | null | flask_arch/builtins/sql.py | ToraNova/flask-arch | ff95c4b49a2d954ae69d21853f646792a72918ed | [
"MIT"
] | null | null | null | from ..user import SQLRole
from sqlalchemy.ext.declarative import declarative_base
default_base = declarative_base()
class DefaultRole(SQLRole, default_base):
pass
| 21.25 | 55 | 0.811765 | 21 | 170 | 6.380952 | 0.571429 | 0.223881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123529 | 170 | 7 | 56 | 24.285714 | 0.899329 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.4 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e5851127ec3f2ce3cc73ceff089452ca12c8ec83 | 310 | py | Python | test/acceptance/features/steps/util.py | growi/service-binding-operator | f10f7f8838049b0c4e9fe04aa6dbce151296b908 | [
"Apache-2.0"
] | null | null | null | test/acceptance/features/steps/util.py | growi/service-binding-operator | f10f7f8838049b0c4e9fe04aa6dbce151296b908 | [
"Apache-2.0"
] | 94 | 2021-03-11T14:08:13.000Z | 2022-03-14T09:04:33.000Z | test/acceptance/features/steps/util.py | growi/service-binding-operator | f10f7f8838049b0c4e9fe04aa6dbce151296b908 | [
"Apache-2.0"
] | 1 | 2021-11-17T16:04:56.000Z | 2021-11-17T16:04:56.000Z | import os
from string import Template
def scenario_id(context):
return f"{os.path.basename(os.path.splitext(context.scenario.filename)[0]).lower()}-{context.scenario.line}"
def substitute_scenario_id(context, text="$scenario_id"):
return Template(text).substitute(scenario_id=scenario_id(context))
| 28.181818 | 112 | 0.774194 | 43 | 310 | 5.44186 | 0.465116 | 0.213675 | 0.217949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003534 | 0.087097 | 310 | 10 | 113 | 31 | 0.823322 | 0 | 0 | 0 | 0 | 0.166667 | 0.354839 | 0.316129 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e5cbc0f43c1096b762625a6a661a402680eec65c | 32 | py | Python | base24_builder/__init__.py | Base24/base24-builder-python-portable | b99a432a7c28ccbff597964db97e435262bedbd9 | [
"MIT"
] | 2 | 2020-11-27T15:37:14.000Z | 2021-01-21T16:18:32.000Z | base24_builder/__init__.py | Base24/base24-builder-python | fcd25fa8c30c43e83256be1d87182b97685d0d5c | [
"MIT"
] | null | null | null | base24_builder/__init__.py | Base24/base24-builder-python | fcd25fa8c30c43e83256be1d87182b97685d0d5c | [
"MIT"
] | null | null | null | """CLI """
from .cli import run
| 10.666667 | 20 | 0.59375 | 5 | 32 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 32 | 2 | 21 | 16 | 0.730769 | 0.09375 | 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 |
e5fe537cd750ae2734243b551c6c4e96dac985f7 | 170 | py | Python | scapy_helper/helpers/to_list.py | NexSabre/scapy_helper | 8c239bad4e081e3f2f47ec2c152a689a10ff78d0 | [
"MIT"
] | 1 | 2020-12-30T09:21:33.000Z | 2020-12-30T09:21:33.000Z | scapy_helper/helpers/to_list.py | NexSabre/scapy_helper | 8c239bad4e081e3f2f47ec2c152a689a10ff78d0 | [
"MIT"
] | 4 | 2021-01-13T18:23:41.000Z | 2021-10-19T19:40:41.000Z | scapy_helper/helpers/to_list.py | NexSabre/scapy_helper | 8c239bad4e081e3f2f47ec2c152a689a10ff78d0 | [
"MIT"
] | null | null | null | from scapy_helper.helpers.utils import _layer2dict
def to_list(packet, extend=False):
return [_layer2dict(packet.getlayer(x)) for x in range(len(packet.layers()))]
| 28.333333 | 81 | 0.764706 | 25 | 170 | 5.04 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013245 | 0.111765 | 170 | 5 | 82 | 34 | 0.821192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f912cccddeddd863531d9ac86c9f38c3870e80f5 | 37 | py | Python | codingbat.com/Warmup-1/front3.py | ahmedelq/PythonicAlgorithms | ce10dbb6e1fd0ea5c922a932b0f920236aa411bf | [
"MIT"
] | null | null | null | codingbat.com/Warmup-1/front3.py | ahmedelq/PythonicAlgorithms | ce10dbb6e1fd0ea5c922a932b0f920236aa411bf | [
"MIT"
] | null | null | null | codingbat.com/Warmup-1/front3.py | ahmedelq/PythonicAlgorithms | ce10dbb6e1fd0ea5c922a932b0f920236aa411bf | [
"MIT"
] | null | null | null | def front3(str):
return str[:3] * 3 | 18.5 | 20 | 0.621622 | 7 | 37 | 3.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.189189 | 37 | 2 | 20 | 18.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0059cdd2e95aa85d3dd81f17a99c67c8ae983329 | 59 | py | Python | lib/clckwrkbdgr/winnt/test/test_winnt.py | umi0451/dotfiles | c618811be788d995fe01f6a16b355828d7efdd36 | [
"MIT"
] | 2 | 2017-04-16T14:54:17.000Z | 2020-11-12T04:15:00.000Z | lib/clckwrkbdgr/winnt/test/test_winnt.py | clckwrkbdgr/dotfiles | 292dac8c3211248b490ddbae55fe2adfffcfcf58 | [
"MIT"
] | null | null | null | lib/clckwrkbdgr/winnt/test/test_winnt.py | clckwrkbdgr/dotfiles | 292dac8c3211248b490ddbae55fe2adfffcfcf58 | [
"MIT"
] | null | null | null | import clckwrkbdgr.winnt
import clckwrkbdgr.winnt.schtasks
| 19.666667 | 33 | 0.881356 | 7 | 59 | 7.428571 | 0.571429 | 0.653846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 59 | 2 | 34 | 29.5 | 0.945455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
00b692564a5becb49f6fba628166f300155e0c28 | 36 | py | Python | utils/__init__.py | bogvak/dash-holoniq-components | fee11b37b742c7a41d90b1af9eb76b1576ae8f01 | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | bogvak/dash-holoniq-components | fee11b37b742c7a41d90b1af9eb76b1576ae8f01 | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | bogvak/dash-holoniq-components | fee11b37b742c7a41d90b1af9eb76b1576ae8f01 | [
"Apache-2.0"
] | null | null | null |
from .logger import logging, log
| 9 | 33 | 0.722222 | 5 | 36 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 36 | 3 | 34 | 12 | 0.928571 | 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 |
00e3c4b5722fda86767f22def5d965c89f617a9b | 98 | py | Python | server-master/backend/setup/mockObjects.py | nicodenner/ifeed-pse | 5f47e974c031a78a2e83bf5ad3add66425000933 | [
"MIT"
] | 1 | 2021-10-16T09:50:13.000Z | 2021-10-16T09:50:13.000Z | server-master/backend/setup/mockObjects.py | NicoD31/ifeed-pse | 5f47e974c031a78a2e83bf5ad3add66425000933 | [
"MIT"
] | null | null | null | server-master/backend/setup/mockObjects.py | NicoD31/ifeed-pse | 5f47e974c031a78a2e83bf5ad3add66425000933 | [
"MIT"
] | null | null | null | import django
from app.models import *
from .helper import *
def createMockObjects():
pass
| 10.888889 | 24 | 0.72449 | 12 | 98 | 5.916667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 98 | 8 | 25 | 12.25 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0.2 | 0.6 | 0 | 0.8 | 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 |
00f52e3c2df2ad1173d17b11e564490278aed13f | 45 | py | Python | acora/nfa2dfa.py | msabramo/acora | 7111065b8bae236ac4a34436f014433938f91fa1 | [
"BSD-3-Clause"
] | 1 | 2015-11-02T18:00:59.000Z | 2015-11-02T18:00:59.000Z | acora/nfa2dfa.py | msabramo/acora | 7111065b8bae236ac4a34436f014433938f91fa1 | [
"BSD-3-Clause"
] | null | null | null | acora/nfa2dfa.py | msabramo/acora | 7111065b8bae236ac4a34436f014433938f91fa1 | [
"BSD-3-Clause"
] | null | null | null | from _nfa2dfa import insert_keyword, nfa2dfa
| 22.5 | 44 | 0.866667 | 6 | 45 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.111111 | 45 | 1 | 45 | 45 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dae4ecd1aac473b0cc149efc79e055d2f1a0c8c3 | 15,295 | py | Python | src/dataprotection/azext_dataprotection/generated/_params.py | Caoxuyang/azure-cli-extensions | d2011261f29033cb31a1064256727d87049ab423 | [
"MIT"
] | null | null | null | src/dataprotection/azext_dataprotection/generated/_params.py | Caoxuyang/azure-cli-extensions | d2011261f29033cb31a1064256727d87049ab423 | [
"MIT"
] | 9 | 2022-03-25T19:35:49.000Z | 2022-03-31T06:09:47.000Z | src/dataprotection/azext_dataprotection/generated/_params.py | Caoxuyang/azure-cli-extensions | d2011261f29033cb31a1064256727d87049ab423 | [
"MIT"
] | 1 | 2022-03-10T22:13:02.000Z | 2022-03-10T22:13:02.000Z | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause... | 68.28125 | 121 | 0.67205 | 1,984 | 15,295 | 4.977319 | 0.097782 | 0.093873 | 0.065722 | 0.068354 | 0.849823 | 0.835038 | 0.819949 | 0.774278 | 0.769823 | 0.738633 | 0 | 0.004455 | 0.192808 | 15,295 | 223 | 122 | 68.587444 | 0.795399 | 0.033083 | 0 | 0.535519 | 0 | 0 | 0.424488 | 0.03676 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005464 | false | 0 | 0.016393 | 0 | 0.021858 | 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 |
97a9d99bccccc7f85235bad1d78f31b883e1cbd2 | 205 | py | Python | Module-11-Functions/functions-01-basics.py | CodingGearsCourses/PythonProgrammingFundamentals | 40e562e143802d997e1f0129bc8b52d5d0931728 | [
"MIT"
] | 1 | 2021-12-23T07:52:08.000Z | 2021-12-23T07:52:08.000Z | Module-11-Functions/functions-01-basics.py | CodingGearsCourses/PythonProgrammingFundamentals | 40e562e143802d997e1f0129bc8b52d5d0931728 | [
"MIT"
] | null | null | null | Module-11-Functions/functions-01-basics.py | CodingGearsCourses/PythonProgrammingFundamentals | 40e562e143802d997e1f0129bc8b52d5d0931728 | [
"MIT"
] | null | null | null | # Functions - Basics
def print_message():
print(" Alert! ".center(30, "*"))
print(" Hello World!")
print(" How are you?!")
print("-----")
print_message()
print_message()
print_message()
| 15.769231 | 37 | 0.595122 | 23 | 205 | 5.130435 | 0.565217 | 0.40678 | 0.432203 | 0.40678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012121 | 0.195122 | 205 | 12 | 38 | 17.083333 | 0.70303 | 0.087805 | 0 | 0.375 | 0 | 0 | 0.221622 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0 | 0 | 0.125 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
97c5937c3690cf328478d3d355fd67bf270f4d6e | 25 | py | Python | src/iranlowo/__init__.py | Niger-Volta-LTI/iranlowo | 0046b61105ffadfff21dd8b37754b9d95177fbf8 | [
"MIT"
] | 17 | 2019-07-05T20:30:35.000Z | 2022-02-28T10:00:24.000Z | src/iranlowo/__init__.py | Olamyy/iranlowo | 1feb123988a8afac3ac53c7acfb72df862c4bc18 | [
"MIT"
] | 17 | 2019-07-06T09:10:10.000Z | 2020-11-13T08:30:37.000Z | src/iranlowo/__init__.py | ruohoruotsi/iranlowo | 0046b61105ffadfff21dd8b37754b9d95177fbf8 | [
"MIT"
] | 7 | 2019-07-01T01:59:07.000Z | 2020-11-27T17:12:46.000Z | from iranlowo import adr
| 12.5 | 24 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 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 |
97ca63f7782f6853ee20f870c3c77138a6155f6f | 8,149 | py | Python | src/rule/dynamic_oracle.py | zsLin177/IRNet_dynamic_temp | 17fb455e9766376b4ec0c4c1d53dedcc5710450a | [
"MIT"
] | null | null | null | src/rule/dynamic_oracle.py | zsLin177/IRNet_dynamic_temp | 17fb455e9766376b4ec0c4c1d53dedcc5710450a | [
"MIT"
] | null | null | null | src/rule/dynamic_oracle.py | zsLin177/IRNet_dynamic_temp | 17fb455e9766376b4ec0c4c1d53dedcc5710450a | [
"MIT"
] | null | null | null | # 用来在使用dynamic oracle进行训练的时候,
# 根据当前已经生成的action序列(partical AST tree)和current objective,
# 来生成新的objective
from src.rule.lf import build_tree, build_sketch_tree
from src.rule.semQL import Sup, Sel, Order, Root, Filter, A, N, C, T, Root1
import random
Keywords = ['des', 'asc', 'and', 'or', 'sum', 'min', 'max', 'avg', 'n... | 30.070111 | 142 | 0.597497 | 1,102 | 8,149 | 4.167877 | 0.108893 | 0.038101 | 0.032658 | 0.02961 | 0.780753 | 0.771827 | 0.742216 | 0.742216 | 0.741999 | 0.731548 | 0 | 0.019142 | 0.281998 | 8,149 | 270 | 143 | 30.181481 | 0.765852 | 0.118297 | 0 | 0.721393 | 0 | 0 | 0.013502 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034826 | false | 0 | 0.014925 | 0 | 0.099502 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c11c17ad8b26e16c21d6a7fa0fa4b48f2bea1672 | 72 | py | Python | calamari_ocr/test/__init__.py | jacektl/calamari | 980477aefe4e56f7fc373119c1b38649798d8686 | [
"Apache-2.0"
] | 922 | 2018-07-06T05:18:22.000Z | 2022-03-22T12:38:32.000Z | calamari_ocr/test/__init__.py | jacektl/calamari | 980477aefe4e56f7fc373119c1b38649798d8686 | [
"Apache-2.0"
] | 267 | 2018-07-14T22:10:41.000Z | 2022-03-28T18:38:43.000Z | calamari_ocr/test/__init__.py | jacektl/calamari | 980477aefe4e56f7fc373119c1b38649798d8686 | [
"Apache-2.0"
] | 227 | 2018-07-06T07:42:16.000Z | 2022-02-27T05:29:59.000Z | from tfaip.util.testing.setup import setup_test_init
setup_test_init()
| 18 | 52 | 0.847222 | 12 | 72 | 4.75 | 0.666667 | 0.315789 | 0.45614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 72 | 3 | 53 | 24 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
c15d5c68cd54abe62d9dfb92dbb7c87f8f0cb64e | 236 | py | Python | fn_whois_rdap/fn_whois_rdap/util/config.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | 1 | 2020-08-25T03:43:07.000Z | 2020-08-25T03:43:07.000Z | fn_whois_rdap/fn_whois_rdap/util/config.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | 1 | 2019-07-08T16:57:48.000Z | 2019-07-08T16:57:48.000Z | fn_whois_rdap/fn_whois_rdap/util/config.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# (c) Copyright IBM Corp. 2019. All Rights Reserved.
"""Generate a default configuration-file section for fn_whois_rdap"""
from __future__ import print_function
def config_section_data():
return None
| 21.454545 | 69 | 0.720339 | 32 | 236 | 5.03125 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.173729 | 236 | 11 | 70 | 21.454545 | 0.8 | 0.580508 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c15fa28e05b48a82039fe8eaac04b1e6b58a5072 | 148 | py | Python | hardware/button/__init__.py | magnusnordlander/silvia-pi | 3b927f73f8c8608a17f1f0e6458d06eff0f1d09a | [
"MIT"
] | 16 | 2020-06-09T22:34:18.000Z | 2021-02-09T15:31:16.000Z | hardware/button/__init__.py | magnusnordlander/silvia-pi | 3b927f73f8c8608a17f1f0e6458d06eff0f1d09a | [
"MIT"
] | null | null | null | hardware/button/__init__.py | magnusnordlander/silvia-pi | 3b927f73f8c8608a17f1f0e6458d06eff0f1d09a | [
"MIT"
] | 1 | 2020-09-03T15:21:15.000Z | 2020-09-03T15:21:15.000Z | from .EmulatedRandomButton import EmulatedRandomButton
try:
from .GpioSwitchButton import GpioSwitchButton
except ModuleNotFoundError:
pass | 24.666667 | 54 | 0.837838 | 12 | 148 | 10.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 148 | 6 | 55 | 24.666667 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.4 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
c16699e8afbda8607fc77f35a9d1c78913fee338 | 4,271 | py | Python | tests/test_cell_heating.py | kevinm387/openmc_tally_unit_converter | 46720b0dd2cf572d74d69dcb73877d362983f23b | [
"MIT"
] | null | null | null | tests/test_cell_heating.py | kevinm387/openmc_tally_unit_converter | 46720b0dd2cf572d74d69dcb73877d362983f23b | [
"MIT"
] | null | null | null | tests/test_cell_heating.py | kevinm387/openmc_tally_unit_converter | 46720b0dd2cf572d74d69dcb73877d362983f23b | [
"MIT"
] | null | null | null | import unittest
import openmc_tally_unit_converter as otuc
import pytest
import openmc
class TestUsage(unittest.TestCase):
def setUp(self):
# loads in the statepoint file containing tallies
statepoint = openmc.StatePoint(filepath="statepoint.2.h5")
self.my_tally = statepoint.get_tally(na... | 36.194915 | 87 | 0.650199 | 530 | 4,271 | 5.030189 | 0.154717 | 0.072018 | 0.037134 | 0.048012 | 0.872468 | 0.84021 | 0.778695 | 0.764441 | 0.73931 | 0.674044 | 0 | 0.021746 | 0.257083 | 4,271 | 117 | 88 | 36.504274 | 0.818468 | 0.150784 | 0 | 0.425 | 0 | 0 | 0.135659 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.1125 | false | 0 | 0.05 | 0 | 0.175 | 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 |
c18dd1b337bbfc8671f98004eb2cdca181194963 | 98 | py | Python | lib/hachoir/wx/tree_view/__init__.py | 0x20Man/Watcher3 | 4656b42bc5879a3741bb95f534b7c6612a25264d | [
"Apache-2.0"
] | 320 | 2017-03-28T23:33:45.000Z | 2022-02-17T08:45:01.000Z | lib/hachoir/wx/tree_view/__init__.py | 0x20Man/Watcher3 | 4656b42bc5879a3741bb95f534b7c6612a25264d | [
"Apache-2.0"
] | 300 | 2017-03-28T19:22:54.000Z | 2021-12-01T01:11:55.000Z | lib/hachoir/wx/tree_view/__init__.py | 0x20Man/Watcher3 | 4656b42bc5879a3741bb95f534b7c6612a25264d | [
"Apache-2.0"
] | 90 | 2017-03-29T16:12:43.000Z | 2022-03-01T06:23:48.000Z | from .tree_view import tree_view_t # noqa
from .tree_view_setup import setup_tree_view # noqa
| 32.666667 | 53 | 0.795918 | 17 | 98 | 4.176471 | 0.411765 | 0.450704 | 0.338028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 98 | 2 | 54 | 49 | 0.865854 | 0.091837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c1a78afa13c8b618d299b4e0da540ab4ebdeb7e7 | 2,820 | py | Python | tests/seahub/options/test_models.py | saukrIppl/newsea | 0fd5ab2ade9a8fb16b1e7b43ba13dac32eb39603 | [
"Apache-2.0"
] | 2 | 2017-06-21T09:46:55.000Z | 2018-05-30T10:07:32.000Z | tests/seahub/options/test_models.py | saukrIppl/newsea | 0fd5ab2ade9a8fb16b1e7b43ba13dac32eb39603 | [
"Apache-2.0"
] | null | null | null | tests/seahub/options/test_models.py | saukrIppl/newsea | 0fd5ab2ade9a8fb16b1e7b43ba13dac32eb39603 | [
"Apache-2.0"
] | 1 | 2020-10-01T04:11:41.000Z | 2020-10-01T04:11:41.000Z | from seahub.test_utils import BaseTestCase
from seahub.options.models import (UserOptions, KEY_USER_GUIDE,
VAL_USER_GUIDE_ON, VAL_USER_GUIDE_OFF,
KEY_DEFAULT_REPO)
class UserOptionsManagerTest(BaseTestCase):
def test_is_user_guide_enabled(self):... | 52.222222 | 103 | 0.621277 | 331 | 2,820 | 4.996979 | 0.126888 | 0.195889 | 0.141475 | 0.141475 | 0.865175 | 0.837364 | 0.807134 | 0.807134 | 0.807134 | 0.807134 | 0 | 0.003555 | 0.301773 | 2,820 | 53 | 104 | 53.207547 | 0.836465 | 0 | 0 | 0.658537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292683 | 1 | 0.097561 | false | 0 | 0.04878 | 0 | 0.170732 | 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 |
c1c54ac6214a1a47d875889dd6b41105b30346f5 | 46 | py | Python | 2/week4/5.py | briannice/logiscool-python | 00cf772072f574d297ed487e8edc9bb0158b6c68 | [
"Apache-2.0"
] | null | null | null | 2/week4/5.py | briannice/logiscool-python | 00cf772072f574d297ed487e8edc9bb0158b6c68 | [
"Apache-2.0"
] | null | null | null | 2/week4/5.py | briannice/logiscool-python | 00cf772072f574d297ed487e8edc9bb0158b6c68 | [
"Apache-2.0"
] | null | null | null | def rec(n):
return n + rec(n-1)
rec(10)
| 7.666667 | 23 | 0.521739 | 10 | 46 | 2.4 | 0.6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.282609 | 46 | 5 | 24 | 9.2 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
c1cb0bde4849daa659eb75e2b655dff74ee9a1ff | 21 | py | Python | lib/theme.py | nsde/mctools | 54e44409879bb8ab96981b9c1439670e1997791b | [
"MIT"
] | 5 | 2020-09-29T15:15:40.000Z | 2020-10-20T16:36:12.000Z | lib/theme.py | nsde/mctools | 54e44409879bb8ab96981b9c1439670e1997791b | [
"MIT"
] | 1 | 2020-10-02T21:19:27.000Z | 2020-10-02T21:19:27.000Z | lib/theme.py | nsde/mctools | 54e44409879bb8ab96981b9c1439670e1997791b | [
"MIT"
] | null | null | null | def theme():
pass | 10.5 | 12 | 0.571429 | 3 | 21 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 21 | 2 | 13 | 10.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 |
c1d7ad17faecd3f25e5648461a6013b2620e159a | 5,295 | py | Python | tests/test_reading_dataset_from_txt.py | jakub-tomczak/ror | cf9ab38a2d66f4816a1289b9726911960059fce7 | [
"MIT"
] | null | null | null | tests/test_reading_dataset_from_txt.py | jakub-tomczak/ror | cf9ab38a2d66f4816a1289b9726911960059fce7 | [
"MIT"
] | null | null | null | tests/test_reading_dataset_from_txt.py | jakub-tomczak/ror | cf9ab38a2d66f4816a1289b9726911960059fce7 | [
"MIT"
] | null | null | null | from ror.Relation import INDIFFERENCE, PREFERENCE
from ror.data_loader import RORParameter, read_dataset_from_txt
import unittest
from ror.Dataset import Dataset, RORDataset
import numpy as np
class TestTxtDatasetReader(unittest.TestCase):
def test_reading_dataset_from_txt(self):
loading_result = read_dat... | 46.447368 | 96 | 0.682342 | 654 | 5,295 | 5.437309 | 0.126911 | 0.227784 | 0.224409 | 0.07874 | 0.879921 | 0.829021 | 0.679415 | 0.658324 | 0.619798 | 0.619798 | 0 | 0.043257 | 0.183569 | 5,295 | 114 | 97 | 46.447368 | 0.77932 | 0.035316 | 0 | 0.696629 | 0 | 0 | 0.045063 | 0.025078 | 0 | 0 | 0 | 0 | 0.786517 | 1 | 0.044944 | false | 0 | 0.05618 | 0 | 0.11236 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
de0a43ded272756910f0067260f0b014efe14338 | 1,208 | py | Python | rotation.py | FanaticalFighter/cubinator | 67a2a0109000d7cf0cbd0e5550a4c16fd19318fa | [
"MIT"
] | null | null | null | rotation.py | FanaticalFighter/cubinator | 67a2a0109000d7cf0cbd0e5550a4c16fd19318fa | [
"MIT"
] | null | null | null | rotation.py | FanaticalFighter/cubinator | 67a2a0109000d7cf0cbd0e5550a4c16fd19318fa | [
"MIT"
] | null | null | null | from point import *
import math
def rotate_about_x_clockwise(point):
rotation_matrix = [[1, 0, 0],
[0, 0, -1],
[0, 1, 0]]
return point.return_rotation(rotation_matrix)
def rotate_about_x_counter_clockwise(point):
rotation_matrix = [[1, 0, 0],
... | 26.844444 | 49 | 0.522351 | 146 | 1,208 | 4.054795 | 0.116438 | 0.054054 | 0.070946 | 0.054054 | 0.930743 | 0.918919 | 0.89527 | 0.89527 | 0.89527 | 0.89527 | 0 | 0.069588 | 0.357616 | 1,208 | 44 | 50 | 27.454545 | 0.693299 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.0625 | 0 | 0.4375 | 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 |
a9bca7de7544546c5ad12095d75659ec955585c1 | 498 | py | Python | highlightDemo/test.py | zhaouv/vscode-markdown-everywhere | 52ad5d80a8850fd266d3e84b93a6673476d267bf | [
"Apache-2.0"
] | 7 | 2021-01-21T09:20:20.000Z | 2022-02-25T11:09:06.000Z | highlightDemo/test.py | zhaouv/vscode-markdown-everywhere | 52ad5d80a8850fd266d3e84b93a6673476d267bf | [
"Apache-2.0"
] | 6 | 2020-08-10T04:46:58.000Z | 2021-05-16T14:21:35.000Z | highlightDemo/test.py | zhaouv/vscode-markdown-everywhere | 52ad5d80a8850fd266d3e84b93a6673476d267bf | [
"Apache-2.0"
] | null | null | null |
def asd():
pass
# [markdown]
# # title
# + content
# content
def dsa():
pass
# MD # title
# MD content
# MD + list
a=1
# %% [markdown]
# # highlight python markdown cell
# for the vscode-python data-science feature
v=1
def abc():
"""
xxx xxx
xxx xxx
"""
pass
'''
def asd():
pas... | 8.440678 | 44 | 0.52008 | 64 | 498 | 4.046875 | 0.359375 | 0.138996 | 0.138996 | 0.138996 | 0.718147 | 0.718147 | 0.718147 | 0.718147 | 0.718147 | 0.532819 | 0 | 0.008982 | 0.329317 | 498 | 59 | 45 | 8.440678 | 0.766467 | 0.345382 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.375 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a9d80734bcc9c0bfaff09f4f8d9d93cb56357c3d | 6,675 | py | Python | test/functional/test_cli.py | fedden/pluribus | 73fb394b26623c897459ffa3e66d7a5cb47e9962 | [
"MIT"
] | 2 | 2020-01-12T07:59:56.000Z | 2020-01-13T10:04:26.000Z | test/functional/test_cli.py | fedden/pluribus | 73fb394b26623c897459ffa3e66d7a5cb47e9962 | [
"MIT"
] | null | null | null | test/functional/test_cli.py | fedden/pluribus | 73fb394b26623c897459ffa3e66d7a5cb47e9962 | [
"MIT"
] | null | null | null | import os
import pickle
import shlex
from typing import List
import pytest
from click.testing import CliRunner
from poker_ai.cli.runner import cli
os.environ["TESTING_SUITE"] = "1"
pickle_dir = os.environ.get("LUT_DIR", os.path.abspath("research/blueprint_algo/"))
@pytest.mark.parametrize("strategy_interval", [1])... | 37.083333 | 90 | 0.581873 | 690 | 6,675 | 5.391304 | 0.184058 | 0.072581 | 0.152419 | 0.070968 | 0.756989 | 0.752688 | 0.752688 | 0.752688 | 0.733065 | 0.733065 | 0 | 0.006826 | 0.297678 | 6,675 | 179 | 91 | 37.290503 | 0.786689 | 0.185768 | 0 | 0.839695 | 0 | 0 | 0.518567 | 0.012811 | 0 | 0 | 0 | 0.005587 | 0 | 1 | 0.022901 | false | 0 | 0.053435 | 0 | 0.076336 | 0.007634 | 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 |
e70828378ae63848adf03c8f66e2ee3b43fb1618 | 120 | py | Python | py/qaviton/scripts/examples/new_project/pages/home.py | qaviton/qaviton | 112f1620af36e09031909bd36b7e388df577b75b | [
"Apache-2.0"
] | 9 | 2018-09-06T10:27:55.000Z | 2020-01-02T16:50:13.000Z | py/qaviton/scripts/examples/new_project/pages/home.py | qaviton/qaviton | 112f1620af36e09031909bd36b7e388df577b75b | [
"Apache-2.0"
] | 6 | 2019-06-05T09:44:21.000Z | 2022-03-11T23:26:41.000Z | py/qaviton/scripts/examples/new_project/pages/home.py | qaviton/qaviton | 112f1620af36e09031909bd36b7e388df577b75b | [
"Apache-2.0"
] | 9 | 2018-09-21T14:47:40.000Z | 2021-12-21T01:37:20.000Z | from tests.pages.components.page import Page
from tests.config.locators import locator
class HomePage(Page):
pass
| 17.142857 | 44 | 0.791667 | 17 | 120 | 5.588235 | 0.705882 | 0.189474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141667 | 120 | 6 | 45 | 20 | 0.92233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e72ffe065f91171d4da0b21bf3f019f50bcfeda6 | 163 | py | Python | webFrameworkTest/tornadoProject/TornadoProject/routers.py | belingud/sources | 9275cc653caf0422a50724f50d075b33c919db36 | [
"Apache-2.0"
] | null | null | null | webFrameworkTest/tornadoProject/TornadoProject/routers.py | belingud/sources | 9275cc653caf0422a50724f50d075b33c919db36 | [
"Apache-2.0"
] | 8 | 2019-08-11T16:24:06.000Z | 2020-03-06T15:11:56.000Z | webFrameworkTest/tornadoProject/TornadoProject/routers.py | belingud/sources | 9275cc653caf0422a50724f50d075b33c919db36 | [
"Apache-2.0"
] | null | null | null | from Users.routers import urlpatterns as user_urlpatterns
from App.routers import urlpatterns as app_urlpatterns
urlpatterns = app_urlpatterns + user_urlpatterns
| 32.6 | 57 | 0.865031 | 21 | 163 | 6.52381 | 0.380952 | 0.189781 | 0.350365 | 0.379562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110429 | 163 | 4 | 58 | 40.75 | 0.944828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e730fc38fa81dc9b7571d0489add84c0d20e82e6 | 131 | py | Python | app/main/__init__.py | GraceOswal/pitch-perfect | d781c6e0f55c11f2a5e5dceb952f6b2de3c47c3b | [
"MIT"
] | null | null | null | app/main/__init__.py | GraceOswal/pitch-perfect | d781c6e0f55c11f2a5e5dceb952f6b2de3c47c3b | [
"MIT"
] | null | null | null | app/main/__init__.py | GraceOswal/pitch-perfect | d781c6e0f55c11f2a5e5dceb952f6b2de3c47c3b | [
"MIT"
] | null | null | null | from flask import Blueprint
main = Blueprint('main', __name__)
from . views import *
from app import views
from app import error
| 16.375 | 34 | 0.763359 | 19 | 131 | 5.052632 | 0.473684 | 0.270833 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175573 | 131 | 7 | 35 | 18.714286 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.030534 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0.4 | 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 |
e737249a5d453d5a0c8098652bee6d3375413447 | 12,658 | py | Python | adminTest.py | joeyw526/Personal | 52849526810f9b11947aeabafe56ecabbc68f04f | [
"MIT"
] | null | null | null | adminTest.py | joeyw526/Personal | 52849526810f9b11947aeabafe56ecabbc68f04f | [
"MIT"
] | null | null | null | adminTest.py | joeyw526/Personal | 52849526810f9b11947aeabafe56ecabbc68f04f | [
"MIT"
] | null | null | null | from admin import Admin
from db import Session
import unittest
from user import User
from datetime import *
from sqlalchemy import exc
import random
import string
# volunteer contains: name, email, passwordhash, phone, last_active,
# birthdate=None, permissions, bio=None, gender=None,
# vhours=None, neighborhood=No... | 51.877049 | 167 | 0.622926 | 1,518 | 12,658 | 5.125165 | 0.121871 | 0.06838 | 0.084833 | 0.021208 | 0.803728 | 0.786504 | 0.775193 | 0.756684 | 0.741131 | 0.741131 | 0 | 0.042591 | 0.237636 | 12,658 | 243 | 168 | 52.090535 | 0.763627 | 0.498815 | 0 | 0.583333 | 0 | 0 | 0.099904 | 0.007377 | 0 | 0 | 0 | 0 | 0.305556 | 1 | 0.092593 | false | 0.046296 | 0.074074 | 0 | 0.175926 | 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 |
e7511ea5f51a988256bd02d1b83507612d5f5721 | 6,040 | py | Python | notorhot/contrib/write_in/_tests/integration.py | sbnoemi/notorhot | e8a90a41147a511f6d0f4ab99a2e30ab92b5e70b | [
"BSD-3-Clause"
] | 3 | 2015-02-11T16:49:50.000Z | 2020-04-30T17:33:18.000Z | notorhot/contrib/write_in/_tests/integration.py | sbnoemi/notorhot | e8a90a41147a511f6d0f4ab99a2e30ab92b5e70b | [
"BSD-3-Clause"
] | null | null | null | notorhot/contrib/write_in/_tests/integration.py | sbnoemi/notorhot | e8a90a41147a511f6d0f4ab99a2e30ab92b5e70b | [
"BSD-3-Clause"
] | null | null | null | import datetime
from mock import Mock, patch
from django.test import TestCase
from django.forms import ValidationError
from django import forms
from notorhot._tests.factories import mixer
from notorhot.contrib.write_in.models import DefaultWriteIn
from notorhot.contrib.write_in.views import WriteInDefaultView, \
... | 46.10687 | 84 | 0.668543 | 627 | 6,040 | 6.323764 | 0.185008 | 0.105927 | 0.104414 | 0.065826 | 0.793695 | 0.755359 | 0.755359 | 0.729887 | 0.716772 | 0.716772 | 0 | 0.009723 | 0.216722 | 6,040 | 131 | 85 | 46.10687 | 0.828366 | 0.034437 | 0 | 0.597938 | 0 | 0 | 0.156314 | 0.088195 | 0 | 0 | 0 | 0 | 0.494845 | 1 | 0.092784 | false | 0 | 0.082474 | 0 | 0.216495 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e7b04a90ff0c5ed8f46a427472bf5156c8a718da | 1,772 | py | Python | pac_settings.py | maximilan/test | 6cc8240f207efa332fe846a1ba2e9a1c6556f07f | [
"MIT"
] | null | null | null | pac_settings.py | maximilan/test | 6cc8240f207efa332fe846a1ba2e9a1c6556f07f | [
"MIT"
] | null | null | null | pac_settings.py | maximilan/test | 6cc8240f207efa332fe846a1ba2e9a1c6556f07f | [
"MIT"
] | null | null | null | q1 = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
q2 = [0,3,1,1,1,0,1,1,1,0,1,1,1,1,0,0]
q3 = [0,0,1,0,1,1,1,0,1,1,1,0,0,1,0,0]
q4 = [0,1,1,1,1,0,1,0,1,0,1,0,0,1,0,0]
q5 = [0,1,0,0,0,0,1,0,1,1,1,1,1,1,1,0]
q6 = [0,1,1,1,1,1,1,1,1,0,1,0,0,0,1,0]
q7 = [0,1,0,0,1,0,0,1,0,1,1,0,2,0,1,0]
q8 = [0,1,1,1,1,1,1,1,0,1,0,0,1,0,1,0]
q9 = [0,... | 31.642857 | 60 | 0.507336 | 616 | 1,772 | 1.448052 | 0.090909 | 0.365471 | 0.406951 | 0.434978 | 0.543722 | 0.53139 | 0.506726 | 0.430493 | 0.41704 | 0.375561 | 0 | 0.379845 | 0.126411 | 1,772 | 55 | 61 | 32.218182 | 0.196382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0 | 0.06 | 0.16 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e7d94fd30214979c9c2b51dcd959bf495f95949a | 6,233 | py | Python | forms-flow-api/src/api/resources/task.py | gitter-badger/forms-flow-ai | d012566902120a24d02a7c1dad9053fefd17d24d | [
"Apache-2.0"
] | null | null | null | forms-flow-api/src/api/resources/task.py | gitter-badger/forms-flow-ai | d012566902120a24d02a7c1dad9053fefd17d24d | [
"Apache-2.0"
] | 11 | 2021-06-02T04:42:50.000Z | 2022-02-14T07:24:15.000Z | forms-flow-api/src/api/resources/task.py | gitter-badger/forms-flow-ai | d012566902120a24d02a7c1dad9053fefd17d24d | [
"Apache-2.0"
] | null | null | null | """API endpoints for managing task resource."""
import logging
import sys, traceback
from http import HTTPStatus
from flask import request
from flask_restx import Namespace, Resource
from api.services import TaskService
from api.utils.auth import auth
from api.utils.util import cors_preflight
API = Namespace("Tas... | 28.591743 | 79 | 0.485641 | 521 | 6,233 | 5.679463 | 0.15547 | 0.032443 | 0.016222 | 0.034471 | 0.803312 | 0.797905 | 0.77729 | 0.77729 | 0.743156 | 0.728287 | 0 | 0 | 0.413926 | 6,233 | 217 | 80 | 28.723502 | 0.810019 | 0.074282 | 0 | 0.626506 | 0 | 0 | 0.117534 | 0.012962 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03012 | false | 0.018072 | 0.048193 | 0 | 0.168675 | 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 |
8213c0a2cd676b7925cff0db9e231e4ebd8d7fff | 391 | py | Python | src/test/python/testDataSetRepo/bad_provider/library/a.py | ninjapapa/SMV2 | 42cf9f176c3ec0bed61f66fbf859c18d97027dd6 | [
"Apache-2.0"
] | null | null | null | src/test/python/testDataSetRepo/bad_provider/library/a.py | ninjapapa/SMV2 | 42cf9f176c3ec0bed61f66fbf859c18d97027dd6 | [
"Apache-2.0"
] | 34 | 2022-02-26T04:27:34.000Z | 2022-03-29T23:05:47.000Z | src/test/python/testDataSetRepo/bad_provider/library/a.py | ninjapapa/SMV2 | 42cf9f176c3ec0bed61f66fbf859c18d97027dd6 | [
"Apache-2.0"
] | null | null | null | from smv.provider import SmvProvider
class MyBaseProvider(SmvProvider):
@staticmethod
def provider_type(): return "aaa"
# ERROR: two classes below with same provider fqn "aaa.bbb"
class MyConcreteProvider1(MyBaseProvider):
@staticmethod
def provider_type(): return "bbb"
class MyConcreteProvider2(My... | 23 | 59 | 0.751918 | 42 | 391 | 6.928571 | 0.52381 | 0.154639 | 0.237113 | 0.278351 | 0.457045 | 0.343643 | 0.343643 | 0 | 0 | 0 | 0 | 0.006116 | 0.163683 | 391 | 16 | 60 | 24.4375 | 0.883792 | 0.14578 | 0 | 0.5 | 0 | 0 | 0.027108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | true | 0 | 0.1 | 0.3 | 0.7 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
821d0858e2fa55c3e13895153fe68a8dd4ba647a | 48 | py | Python | pi/stream_processor/__init__.py | DebasishMaji/PI | e293982cae8f8755d28d7b3de22966dc74759b90 | [
"Apache-2.0"
] | null | null | null | pi/stream_processor/__init__.py | DebasishMaji/PI | e293982cae8f8755d28d7b3de22966dc74759b90 | [
"Apache-2.0"
] | null | null | null | pi/stream_processor/__init__.py | DebasishMaji/PI | e293982cae8f8755d28d7b3de22966dc74759b90 | [
"Apache-2.0"
] | null | null | null | from .producer import *
from .consumer import *
| 16 | 23 | 0.75 | 6 | 48 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
413741323ef8e113796b0a8221b2aeedc83e9f0a | 175 | py | Python | thirdparty/blender_autocomplete-master/2.82/gpu/__init__.py | Ray1184/HPMSBatch | 3852710e7366361cb9e90f471ddccbbce5ffe8ee | [
"MIT"
] | null | null | null | thirdparty/blender_autocomplete-master/2.82/gpu/__init__.py | Ray1184/HPMSBatch | 3852710e7366361cb9e90f471ddccbbce5ffe8ee | [
"MIT"
] | null | null | null | thirdparty/blender_autocomplete-master/2.82/gpu/__init__.py | Ray1184/HPMSBatch | 3852710e7366361cb9e90f471ddccbbce5ffe8ee | [
"MIT"
] | null | null | null | import sys
import typing
from . import shader
from . import matrix
from . import types
GPU_DYNAMIC_MIST_ENABLE: float = None
'''See bpy.types.WorldMistSettings.use_mist. '''
| 19.444444 | 48 | 0.777143 | 25 | 175 | 5.28 | 0.68 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137143 | 175 | 8 | 49 | 21.875 | 0.874172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 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 |
418443a00118cc909e4e522b5db6cf35a9de23cc | 96 | py | Python | venv/lib/python3.8/site-packages/poetry/core/_vendor/pyrsistent/_pbag.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/poetry/core/_vendor/pyrsistent/_pbag.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/poetry/core/_vendor/pyrsistent/_pbag.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/33/85/67/472ce5852a9636bcda895e5ba65442c79097802c0a35f9f2b9f33323f5 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.479167 | 0 | 96 | 1 | 96 | 96 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4185f468d4b96607988fcad74a6edf93c5ec13ab | 20 | py | Python | program.py | vyahello/flask-template | 446eb37f9b48d7eb89821ee9913baae77b0b462e | [
"MIT"
] | 11 | 2019-08-18T09:02:52.000Z | 2019-08-29T00:10:22.000Z | program.py | vyahello/flask-template | 446eb37f9b48d7eb89821ee9913baae77b0b462e | [
"MIT"
] | 8 | 2019-08-18T10:51:59.000Z | 2020-05-09T21:01:59.000Z | program.py | vyahello/flask-template | 446eb37f9b48d7eb89821ee9913baae77b0b462e | [
"MIT"
] | 2 | 2018-06-23T03:07:31.000Z | 2018-06-23T03:22:28.000Z | from src import app
| 10 | 19 | 0.8 | 4 | 20 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 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 |
41c1a2ef5f6c4cfea8a719372a30a77438d36e00 | 4,869 | py | Python | test_google_calendar.py | jezhiggins/conference-calendar | 2a579cd37b109c2875fe806e84efe53ec1a7019e | [
"MIT"
] | 1 | 2020-03-02T13:15:27.000Z | 2020-03-02T13:15:27.000Z | test_google_calendar.py | jezhiggins/conference-calendar | 2a579cd37b109c2875fe806e84efe53ec1a7019e | [
"MIT"
] | 52 | 2020-02-24T22:03:42.000Z | 2021-07-30T05:51:35.000Z | test_google_calendar.py | jezhiggins/conference-calendar | 2a579cd37b109c2875fe806e84efe53ec1a7019e | [
"MIT"
] | 2 | 2020-03-01T16:58:18.000Z | 2020-03-03T23:08:36.000Z | from google_calendar import parse_event_body, build_event_body
from datetime import date
from models import Event
def test_parse():
response = {
'start': {
'date': '2000-01-01',
},
'end': {
'date': '2000-01-01',
},
'extendedProperties': {
... | 24.715736 | 138 | 0.507086 | 524 | 4,869 | 4.622137 | 0.156489 | 0.10033 | 0.138728 | 0.104046 | 0.882742 | 0.882742 | 0.858382 | 0.856317 | 0.856317 | 0.803055 | 0 | 0.054271 | 0.333949 | 4,869 | 197 | 139 | 24.715736 | 0.692569 | 0.094681 | 0 | 0.647059 | 0 | 0.039216 | 0.293536 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 1 | 0.039216 | false | 0 | 0.019608 | 0 | 0.058824 | 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 |
68b873054b669b7df95ebe31a4bf12587d2125fc | 13,084 | py | Python | venv/lib/python3.7/site-packages/pystan/tests/test_extract.py | vchiapaikeo/prophet | e8c250ca7bfffc280baa7dabc80a2c2d1f72c6a7 | [
"MIT"
] | null | null | null | venv/lib/python3.7/site-packages/pystan/tests/test_extract.py | vchiapaikeo/prophet | e8c250ca7bfffc280baa7dabc80a2c2d1f72c6a7 | [
"MIT"
] | null | null | null | venv/lib/python3.7/site-packages/pystan/tests/test_extract.py | vchiapaikeo/prophet | e8c250ca7bfffc280baa7dabc80a2c2d1f72c6a7 | [
"MIT"
] | null | null | null | import unittest
import numpy as np
from pandas.util.testing import assert_series_equal
from numpy.testing import assert_array_equal
import pystan
class TestExtract(unittest.TestCase):
@classmethod
def setUpClass(cls):
ex_model_code = '''
parameters {
real alpha[2,3];
... | 41.801917 | 104 | 0.54945 | 1,704 | 13,084 | 4.032277 | 0.069836 | 0.071314 | 0.069859 | 0.073352 | 0.868578 | 0.828846 | 0.801485 | 0.78271 | 0.739339 | 0.721147 | 0 | 0.020854 | 0.299985 | 13,084 | 312 | 105 | 41.935897 | 0.729337 | 0.009859 | 0 | 0.669014 | 0 | 0 | 0.070976 | 0 | 0 | 0 | 0 | 0 | 0.257042 | 1 | 0.049296 | false | 0 | 0.017606 | 0 | 0.070423 | 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 |
ec048081853e9bcb89bdbc628e3078c09dc3dba3 | 99 | py | Python | tgtypes/traits/base/inline_query.py | autogram/tgtypes | 90f8d0d35d3c372767508e56c20777635e128e38 | [
"MIT"
] | null | null | null | tgtypes/traits/base/inline_query.py | autogram/tgtypes | 90f8d0d35d3c372767508e56c20777635e128e38 | [
"MIT"
] | null | null | null | tgtypes/traits/base/inline_query.py | autogram/tgtypes | 90f8d0d35d3c372767508e56c20777635e128e38 | [
"MIT"
] | null | null | null | from tgtypes.traits.base.update import UpdateTrait
class InlineQueryTrait(UpdateTrait):
pass
| 16.5 | 50 | 0.808081 | 11 | 99 | 7.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 99 | 5 | 51 | 19.8 | 0.930233 | 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 |
ec50e2680265a2bcdecef8ee688ec2b1dda30429 | 101 | py | Python | tests/t23/test_n122.py | ablearthy/ege2021kp-problem-solution | 02fcf24adb1df2a92d19a73aaf9e335145169ba5 | [
"Unlicense"
] | null | null | null | tests/t23/test_n122.py | ablearthy/ege2021kp-problem-solution | 02fcf24adb1df2a92d19a73aaf9e335145169ba5 | [
"Unlicense"
] | null | null | null | tests/t23/test_n122.py | ablearthy/ege2021kp-problem-solution | 02fcf24adb1df2a92d19a73aaf9e335145169ba5 | [
"Unlicense"
] | null | null | null | from ege_problem_solution.t23.n122 import solve
def test_solve():
assert solve(31, 1001) == 56
| 16.833333 | 47 | 0.732673 | 16 | 101 | 4.4375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 0.168317 | 101 | 5 | 48 | 20.2 | 0.690476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 |
6b90046700146e8182ec0d685c2e02c3d908962b | 87 | py | Python | src/data/__init__.py | LCS2-IIITD/Code-mixed-classification | 10ff6b9af034770b0c821b5fa3470d3ab4bb9957 | [
"MIT"
] | null | null | null | src/data/__init__.py | LCS2-IIITD/Code-mixed-classification | 10ff6b9af034770b0c821b5fa3470d3ab4bb9957 | [
"MIT"
] | 1 | 2022-03-04T04:11:52.000Z | 2022-03-04T04:11:52.000Z | src/data/__init__.py | LCS2-IIITD/Hinglish_offense_detection-Neurocomputing2021 | 54d8e70d42cbc4597a4f4cc859e633618df57f30 | [
"MIT"
] | 1 | 2021-11-24T02:01:00.000Z | 2021-11-24T02:01:00.000Z | from .data_utils import *
from .preprocessing import *
from .custom_tokenizers import * | 29 | 32 | 0.804598 | 11 | 87 | 6.181818 | 0.636364 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 87 | 3 | 32 | 29 | 0.894737 | 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 |
6bb58bdf0f8670a15982885bb5fa641bfdffeec3 | 18 | py | Python | plugins/default/metasploit_attacks/metasploit_mimikatz_t1003/metasploit_mimikatz_t1003.py | Thorsten-Sick/PurpleDome | 297d746ef2e17a4207f8274b7fccbe2ce43c4a5f | [
"MIT"
] | 7 | 2021-11-30T19:54:29.000Z | 2022-03-05T23:15:23.000Z | plugins/default/metasploit_attacks/metasploit_mimikatz_t1003/metasploit_mimikatz_t1003.py | Thorsten-Sick/PurpleDome | 297d746ef2e17a4207f8274b7fccbe2ce43c4a5f | [
"MIT"
] | null | null | null | plugins/default/metasploit_attacks/metasploit_mimikatz_t1003/metasploit_mimikatz_t1003.py | Thorsten-Sick/PurpleDome | 297d746ef2e17a4207f8274b7fccbe2ce43c4a5f | [
"MIT"
] | 2 | 2021-11-30T11:16:27.000Z | 2022-02-02T13:36:01.000Z | # TODO: Implement
| 9 | 17 | 0.722222 | 2 | 18 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d42dc05f07df961f2c9c928161703fd742c42580 | 3,983 | py | Python | helpscout/endpoints/reports/conversation.py | Gogen120/helpscout | 7e884247f5cd59c75b12792e331b25e9873a4207 | [
"MIT"
] | null | null | null | helpscout/endpoints/reports/conversation.py | Gogen120/helpscout | 7e884247f5cd59c75b12792e331b25e9873a4207 | [
"MIT"
] | null | null | null | helpscout/endpoints/reports/conversation.py | Gogen120/helpscout | 7e884247f5cd59c75b12792e331b25e9873a4207 | [
"MIT"
] | null | null | null | from typing import Dict
from helpscout.endpoints.endpoint import Endpoint
class Conversation(Endpoint):
"""Conversation report endpoint."""
def overall_report(self, start: str, end: str, **kwargs) -> Dict:
"""Get conversation overall report.
Doc page: https://developer.helpscout.com/mailbox... | 35.5625 | 134 | 0.638966 | 440 | 3,983 | 5.670455 | 0.122727 | 0.128257 | 0.038477 | 0.048096 | 0.838076 | 0.807214 | 0.807214 | 0.807214 | 0.807214 | 0.697796 | 0 | 0 | 0.241778 | 3,983 | 111 | 135 | 35.882883 | 0.826159 | 0.32237 | 0 | 0.474576 | 0 | 0 | 0.128725 | 0.128725 | 0 | 0 | 0 | 0 | 0 | 1 | 0.135593 | false | 0 | 0.033898 | 0 | 0.322034 | 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 |
d461b8ee48d53dd2671b90a93b5a0d699f03c58e | 1,655 | py | Python | app/images/fix.py | semisided1/rms12 | c278cadaada8350d584e17e4fff0f98005281ea2 | [
"BSD-3-Clause"
] | 2 | 2016-11-14T16:50:44.000Z | 2016-11-14T16:50:49.000Z | app/images/fix.py | dirtslayer/rms06 | c1a25af17d241e0df4e1f3d1db3587f8fd80449b | [
"BSD-3-Clause"
] | null | null | null | app/images/fix.py | dirtslayer/rms06 | c1a25af17d241e0df4e1f3d1db3587f8fd80449b | [
"BSD-3-Clause"
] | null | null | null | import os, glob
# this python script fixes all the jpg files that are giving the
# Invalid SOS parameters for sequential JPEG error
# events.js:141
# throw er; // Unhandled 'error' event
# ^
# Error: Invalid SOS parameters for sequential JPEG
#
# at ChildProcess.<anonymous> (/home/drd/proj/rms06/node_... | 40.365854 | 117 | 0.654985 | 254 | 1,655 | 4.23622 | 0.318898 | 0.061338 | 0.078067 | 0.089219 | 0.895911 | 0.886617 | 0.831784 | 0.803903 | 0.765799 | 0.765799 | 0 | 0.061391 | 0.183082 | 1,655 | 40 | 118 | 41.375 | 0.734467 | 0.687009 | 0 | 0 | 0 | 0 | 0.110429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.125 | 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 |
2e3702949ff46208e637661d8e1bd1f66516abc6 | 1,744 | py | Python | 30-39/38. validators/validators.py | dcragusa/PythonMorsels | 5f75b51a68769036e4004e9ccdada6b220124ab6 | [
"MIT"
] | 1 | 2021-11-30T05:03:24.000Z | 2021-11-30T05:03:24.000Z | 30-39/38. validators/validators.py | dcragusa/PythonMorsels | 5f75b51a68769036e4004e9ccdada6b220124ab6 | [
"MIT"
] | null | null | null | 30-39/38. validators/validators.py | dcragusa/PythonMorsels | 5f75b51a68769036e4004e9ccdada6b220124ab6 | [
"MIT"
] | 2 | 2021-04-18T05:26:43.000Z | 2021-11-28T18:46:43.000Z | from abc import ABC, abstractmethod
from weakref import WeakKeyDictionary
MISSING = object()
# class PositiveNumber:
#
# def __init__(self, default=MISSING):
# self.default = default
# self.data = WeakKeyDictionary()
# self.class_name_map = WeakKeyDictionary()
#
# def __set_name__(sel... | 28.129032 | 116 | 0.617546 | 199 | 1,744 | 5.140704 | 0.221106 | 0.086022 | 0.076246 | 0.093842 | 0.749756 | 0.749756 | 0.749756 | 0.749756 | 0.749756 | 0.662757 | 0 | 0.001582 | 0.275229 | 1,744 | 61 | 117 | 28.590164 | 0.807753 | 0.40711 | 0 | 0.074074 | 0 | 0 | 0.10089 | 0.031652 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.074074 | 0.037037 | 0.481481 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2e3852983cb0e33917027c0e971003fb3c15399c | 2,363 | py | Python | qcdb/tests/test_fci_h2o_2.py | loriab/qccddb | d9e156ef8b313ac0633211fc6b841f84a3ddde24 | [
"BSD-3-Clause"
] | 8 | 2019-03-28T11:54:59.000Z | 2022-03-19T03:31:37.000Z | qcdb/tests/test_fci_h2o_2.py | loriab/qccddb | d9e156ef8b313ac0633211fc6b841f84a3ddde24 | [
"BSD-3-Clause"
] | 39 | 2018-10-31T23:02:18.000Z | 2021-12-12T22:11:37.000Z | qcdb/tests/test_fci_h2o_2.py | loriab/qccddb | d9e156ef8b313ac0633211fc6b841f84a3ddde24 | [
"BSD-3-Clause"
] | 9 | 2018-03-12T20:51:50.000Z | 2022-02-28T15:18:34.000Z | import qcdb
from .utils import *
_refnuc = 9.2342185209120
_refscf = -75.985323665263
_refci = -76.1210978474779
_refcorr = _refci - _refscf
def system_water():
h2o = qcdb.set_molecule(
"""
O .0000000000 .0000000000 -.0742719254
H .0000000000 -1.4949589982 -1... | 32.819444 | 105 | 0.657639 | 296 | 2,363 | 5.040541 | 0.22973 | 0.130697 | 0.191019 | 0.134048 | 0.763405 | 0.763405 | 0.719169 | 0.719169 | 0.719169 | 0.684987 | 0 | 0.098752 | 0.220059 | 2,363 | 71 | 106 | 33.28169 | 0.710798 | 0.048667 | 0 | 0.444444 | 0 | 0 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.066667 | false | 0 | 0.044444 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 |
5cf7b73944d0ad5d57523e65372b8e7b523edd3c | 11,065 | py | Python | test/integration/trec_cast.py | eugene-yang/ir_datasets | 2b5a42edfb9ab8c4ee8f11674ffe14d60f41ec1e | [
"Apache-2.0"
] | null | null | null | test/integration/trec_cast.py | eugene-yang/ir_datasets | 2b5a42edfb9ab8c4ee8f11674ffe14d60f41ec1e | [
"Apache-2.0"
] | null | null | null | test/integration/trec_cast.py | eugene-yang/ir_datasets | 2b5a42edfb9ab8c4ee8f11674ffe14d60f41ec1e | [
"Apache-2.0"
] | null | null | null | import re
import unittest
from ir_datasets.formats import TrecQrel, GenericDoc, GenericScoredDoc
from ir_datasets.datasets.trec_cast import Cast2019Query, Cast2020Query
from .base import DatasetIntegrationTest
class TestTrecCast(DatasetIntegrationTest):
def test_docs(self):
self._test_docs('trec-cast/v0',... | 98.794643 | 321 | 0.686037 | 1,525 | 11,065 | 4.88459 | 0.236721 | 0.020405 | 0.014767 | 0.015304 | 0.832863 | 0.824137 | 0.814337 | 0.767217 | 0.763861 | 0.763861 | 0 | 0.144205 | 0.195301 | 11,065 | 111 | 322 | 99.684685 | 0.692273 | 0 | 0 | 0.538462 | 0 | 0.115385 | 0.597379 | 0.08423 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.076923 | 0 | 0.125 | 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 |
cf4df7fb8da337f404f1f0186cc410c44c79e867 | 123 | py | Python | c++/py-binder/call_trivial.py | markliou/tool_scripts | d9f7d8f23edeb294dac1c9d29a2d7358751922b7 | [
"Apache-2.0"
] | null | null | null | c++/py-binder/call_trivial.py | markliou/tool_scripts | d9f7d8f23edeb294dac1c9d29a2d7358751922b7 | [
"Apache-2.0"
] | null | null | null | c++/py-binder/call_trivial.py | markliou/tool_scripts | d9f7d8f23edeb294dac1c9d29a2d7358751922b7 | [
"Apache-2.0"
] | 1 | 2017-08-04T00:44:56.000Z | 2017-08-04T00:44:56.000Z | import trivial_functions_in_c
a = [float(i * 2) for i in range(32)]
print(trivial_functions_in_c.pyDoubleArrayInPy(a, 32)) | 30.75 | 54 | 0.780488 | 22 | 123 | 4.090909 | 0.636364 | 0.355556 | 0.4 | 0.422222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.105691 | 123 | 4 | 54 | 30.75 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d89f0b3f3dceace2e04c61f32be0d0571d2d1d8e | 75 | py | Python | FreeTAKServer/model/FTSModel/fts_protocol_object.py | logikal/FreeTakServer | c0916ce65781b5c60079d6440e52db8fc6ee0467 | [
"MIT"
] | 27 | 2020-05-01T01:45:59.000Z | 2020-07-03T00:17:13.000Z | FreeTAKServer/model/FTSModel/fts_protocol_object.py | logikal/FreeTakServer | c0916ce65781b5c60079d6440e52db8fc6ee0467 | [
"MIT"
] | 34 | 2020-04-26T11:25:52.000Z | 2020-07-03T21:06:34.000Z | FreeTAKServer/model/FTSModel/fts_protocol_object.py | logikal/FreeTakServer | c0916ce65781b5c60079d6440e52db8fc6ee0467 | [
"MIT"
] | 15 | 2020-05-01T01:46:07.000Z | 2020-07-03T12:14:04.000Z | from abc import ABC, abstractmethod
class FTSProtocolObject(ABC):
pass | 18.75 | 35 | 0.786667 | 9 | 75 | 6.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 4 | 36 | 18.75 | 0.936508 | 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 |
d8b13117841e30c32e3c2e95b043b4ee590f9efe | 32 | py | Python | benford_law/__init__.py | rafaelmata357/benford | 1273f95c9b0eba705550f32e847f705b6254e2ac | [
"MIT"
] | 3 | 2021-01-06T10:44:32.000Z | 2021-05-23T17:46:21.000Z | benford_law/__init__.py | rafaelmata357/benford | 1273f95c9b0eba705550f32e847f705b6254e2ac | [
"MIT"
] | 2 | 2020-12-27T20:58:24.000Z | 2021-01-04T21:52:58.000Z | benford_law/__init__.py | rafaelmata357/benford | 1273f95c9b0eba705550f32e847f705b6254e2ac | [
"MIT"
] | null | null | null | from .benford_law import Benford | 32 | 32 | 0.875 | 5 | 32 | 5.4 | 0.8 | 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 |
d8c03cd5a2f2bd20c21fef18cf2789823e67a175 | 38 | py | Python | app/account/__init__.py | ta4tsering/pyrrha-bo | d5afbe4b37d4d2ad5b5bb4129b1dccaeb50c9b17 | [
"MIT"
] | 16 | 2018-11-16T13:48:20.000Z | 2020-11-13T21:28:06.000Z | app/account/__init__.py | ta4tsering/pyrrha-bo | d5afbe4b37d4d2ad5b5bb4129b1dccaeb50c9b17 | [
"MIT"
] | 179 | 2018-11-16T12:43:05.000Z | 2022-03-31T08:52:22.000Z | app/account/__init__.py | ta4tsering/pyrrha-bo | d5afbe4b37d4d2ad5b5bb4129b1dccaeb50c9b17 | [
"MIT"
] | 21 | 2019-02-17T15:56:29.000Z | 2022-03-28T09:27:57.000Z | from app.account.views import account
| 19 | 37 | 0.842105 | 6 | 38 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2b26ff47e56c7ffa21a99a6d8aeeac17bb99d931 | 204 | py | Python | kanban/admin.py | Seunghan-Kim/africa_elephant | 62acbc570cc40c43f38e521f751490ff6ae3ffc8 | [
"MIT"
] | null | null | null | kanban/admin.py | Seunghan-Kim/africa_elephant | 62acbc570cc40c43f38e521f751490ff6ae3ffc8 | [
"MIT"
] | 12 | 2020-03-24T17:57:35.000Z | 2022-02-10T12:00:00.000Z | kanban/admin.py | Seunghan-Kim/africa_elephant | 62acbc570cc40c43f38e521f751490ff6ae3ffc8 | [
"MIT"
] | 1 | 2019-12-07T02:27:18.000Z | 2019-12-07T02:27:18.000Z | from django.contrib import admin
from .models import Board, Card, Column, Column_top30
admin.site.register(Board)
admin.site.register(Column)
admin.site.register(Card)
admin.site.register(Column_top30)
| 22.666667 | 53 | 0.813725 | 30 | 204 | 5.466667 | 0.4 | 0.219512 | 0.414634 | 0.280488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02139 | 0.083333 | 204 | 8 | 54 | 25.5 | 0.855615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2b6184afaaa33902282a8f0a0f108623ca7d5273 | 90 | py | Python | pension/app.py | sarafilipacosta/py-pension-scheme | 6e244446efacacc5bce5e94cbcc07231753d126e | [
"MIT"
] | null | null | null | pension/app.py | sarafilipacosta/py-pension-scheme | 6e244446efacacc5bce5e94cbcc07231753d126e | [
"MIT"
] | 2 | 2020-01-28T22:40:22.000Z | 2021-02-07T13:00:02.000Z | pension/app.py | sarafilipacosta/py-pension-scheme | 6e244446efacacc5bce5e94cbcc07231753d126e | [
"MIT"
] | 1 | 2020-01-25T00:44:14.000Z | 2020-01-25T00:44:14.000Z | '''Pension scheme main report generator'''
def run():
print('Pension scheme start.')
| 18 | 42 | 0.677778 | 11 | 90 | 5.545455 | 0.818182 | 0.42623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 4 | 43 | 22.5 | 0.813333 | 0.4 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 6 |
995b2dfda19e70042f8e90592d0fb95a8db6c7e1 | 127 | py | Python | game/pacman/directions.py | loudest/twitch-pacman | 22950d53cadc85d316a3d859a866afc0d82d04fa | [
"MIT"
] | 1 | 2019-05-25T08:41:13.000Z | 2019-05-25T08:41:13.000Z | game/pacman/directions.py | loudest/twitch-pacman | 22950d53cadc85d316a3d859a866afc0d82d04fa | [
"MIT"
] | null | null | null | game/pacman/directions.py | loudest/twitch-pacman | 22950d53cadc85d316a3d859a866afc0d82d04fa | [
"MIT"
] | null | null | null |
def enum(**enums):
return type('Enum', (), enums)
# Movement Directions
Directions = enum(RIGHT=1, LEFT=2, UP=3, DOWN=4)
| 18.142857 | 48 | 0.645669 | 19 | 127 | 4.315789 | 0.789474 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.165354 | 127 | 6 | 49 | 21.166667 | 0.735849 | 0.149606 | 0 | 0 | 0 | 0 | 0.038095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
99959a597507d108c61f3239293f8519ae965e64 | 9,126 | py | Python | classification_tagging/utilities/data_selection.py | arkel23/yuwu | 4dcf0e18693e09a947569ddcc7cb3ff00c7c674a | [
"MIT"
] | 67 | 2021-01-22T02:29:40.000Z | 2022-03-13T11:25:07.000Z | classification_tagging/utilities/data_selection.py | arkel23/yuwu | 4dcf0e18693e09a947569ddcc7cb3ff00c7c674a | [
"MIT"
] | 1 | 2021-03-14T10:35:19.000Z | 2021-03-15T09:55:24.000Z | classification_tagging/utilities/data_selection.py | arkel23/yuwu | 4dcf0e18693e09a947569ddcc7cb3ff00c7c674a | [
"MIT"
] | 9 | 2021-01-22T13:50:11.000Z | 2022-01-12T13:28:38.000Z | import os
import ast
import random
import pandas as pd
from PIL import Image
from PIL import ImageFile
import torch
import torch.utils.data as data
from torchvision import transforms
from transformers import BertTokenizer
from .custom_tokenizer import CustomTokenizer
ImageFile.LOAD_TRUNCATED_IMAGES = True
def load_... | 32.24735 | 89 | 0.697348 | 1,298 | 9,126 | 4.701849 | 0.134052 | 0.044241 | 0.026217 | 0.029821 | 0.785679 | 0.767328 | 0.766344 | 0.735868 | 0.713092 | 0.713092 | 0 | 0.009331 | 0.154504 | 9,126 | 282 | 90 | 32.361702 | 0.781623 | 0.047776 | 0 | 0.772093 | 0 | 0 | 0.093671 | 0.007277 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051163 | false | 0 | 0.051163 | 0.013953 | 0.162791 | 0.032558 | 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 |
99a70aefb8669d973a0e442806910d2dd1dff004 | 23 | py | Python | tasks/us/census/acs_columns/__init__.py | CartoDB/bigmetadata | a32325382500f23b8a607e4e02cc0ec111360869 | [
"BSD-3-Clause"
] | 45 | 2015-12-14T03:05:55.000Z | 2021-06-29T22:46:40.000Z | tasks/us/census/acs_columns/__init__.py | CartoDB/bigmetadata | a32325382500f23b8a607e4e02cc0ec111360869 | [
"BSD-3-Clause"
] | 480 | 2016-02-19T15:58:44.000Z | 2021-09-10T16:38:56.000Z | tasks/us/census/acs_columns/__init__.py | CartoDB/bigmetadata | a32325382500f23b8a607e4e02cc0ec111360869 | [
"BSD-3-Clause"
] | 13 | 2016-08-09T21:03:02.000Z | 2020-04-29T23:40:20.000Z | from .columns import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
510e97554ad36f1a26ca37980613a4aa8f23c125 | 377 | py | Python | etna/transforms/outliers/__init__.py | Pacman1984/etna | 9b3ccb980e576d56858f14aca2e06ce2957b0fa9 | [
"Apache-2.0"
] | 96 | 2021-09-05T06:29:34.000Z | 2021-11-07T15:22:54.000Z | etna/transforms/outliers/__init__.py | Pacman1984/etna | 9b3ccb980e576d56858f14aca2e06ce2957b0fa9 | [
"Apache-2.0"
] | 188 | 2021-09-06T15:59:58.000Z | 2021-11-17T09:34:16.000Z | etna/transforms/outliers/__init__.py | Pacman1984/etna | 9b3ccb980e576d56858f14aca2e06ce2957b0fa9 | [
"Apache-2.0"
] | 8 | 2021-09-06T09:18:35.000Z | 2021-11-11T21:18:39.000Z | from etna.transforms.outliers.base import OutliersTransform
from etna.transforms.outliers.point_outliers import DensityOutliersTransform
from etna.transforms.outliers.point_outliers import MedianOutliersTransform
from etna.transforms.outliers.point_outliers import PredictionIntervalOutliersTransform
from etna.transform... | 62.833333 | 87 | 0.907162 | 39 | 377 | 8.666667 | 0.333333 | 0.118343 | 0.266272 | 0.384615 | 0.399408 | 0.399408 | 0.399408 | 0 | 0 | 0 | 0 | 0 | 0.05305 | 377 | 5 | 88 | 75.4 | 0.946779 | 0 | 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 | 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 |
514120f742edfccc0099324b681c3384239453de | 190 | py | Python | src/log_utils/__init__.py | knkgun/federalist-garden-build | 6cbe9cfc736717cdb30f0c81066516b6d99eca52 | [
"CC0-1.0"
] | 5 | 2017-12-23T16:22:13.000Z | 2020-08-24T16:02:22.000Z | src/log_utils/__init__.py | knkgun/federalist-garden-build | 6cbe9cfc736717cdb30f0c81066516b6d99eca52 | [
"CC0-1.0"
] | 133 | 2017-06-27T21:38:01.000Z | 2022-03-22T21:19:18.000Z | src/log_utils/__init__.py | knkgun/federalist-garden-build | 6cbe9cfc736717cdb30f0c81066516b6d99eca52 | [
"CC0-1.0"
] | 12 | 2017-07-14T02:39:58.000Z | 2021-12-25T00:10:48.000Z | '''Logging stuff'''
from .get_logger import get_logger, init_logging
from .delta_to_mins_secs import delta_to_mins_secs
__all__ = [
'delta_to_mins_secs', 'get_logger', 'init_logging']
| 23.75 | 55 | 0.773684 | 29 | 190 | 4.448276 | 0.413793 | 0.209302 | 0.255814 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121053 | 190 | 7 | 56 | 27.142857 | 0.772455 | 0.068421 | 0 | 0 | 0 | 0 | 0.233918 | 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 |
5ac4704f14aac9dfaa553dddab16fae8b6d3f7a4 | 1,016 | py | Python | Dice_Simulator.py | sanrock123/Dice-Simulator-Game | 99f8efc28ab2b7ff1e1093c59162cae89fde0e64 | [
"MIT"
] | null | null | null | Dice_Simulator.py | sanrock123/Dice-Simulator-Game | 99f8efc28ab2b7ff1e1093c59162cae89fde0e64 | [
"MIT"
] | null | null | null | Dice_Simulator.py | sanrock123/Dice-Simulator-Game | 99f8efc28ab2b7ff1e1093c59162cae89fde0e64 | [
"MIT"
] | null | null | null | import random
x = "y"
while x=="y":
no=random.randint(1,6)
if no==1:
print("[-----]")
print("[ ]")
print("[ 0 ]")
print("[ ]")
print("[-----]")
if no == 2:
print("[-----]")
print("[ 0 ]")
print("[ ]")
print("[ 0 ]... | 20.32 | 52 | 0.273622 | 94 | 1,016 | 2.957447 | 0.255319 | 0.467626 | 0.356115 | 0.258993 | 0.611511 | 0.334532 | 0.165468 | 0 | 0 | 0 | 0 | 0.051786 | 0.448819 | 1,016 | 49 | 53 | 20.734694 | 0.444643 | 0 | 0 | 0.714286 | 0 | 0 | 0.246063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.02381 | 0.738095 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5ad6687c9623e6d226c06925f7d37252bb0e5f6d | 10,721 | py | Python | MLlib/activations.py | Udit-git-acc/ML-DL-implementation | 7514038c76d8e4293554110c604b3336f01356eb | [
"BSD-3-Clause"
] | 48 | 2020-08-05T09:49:21.000Z | 2022-01-16T06:06:57.000Z | MLlib/activations.py | Udit-git-acc/ML-DL-implementation | 7514038c76d8e4293554110c604b3336f01356eb | [
"BSD-3-Clause"
] | 111 | 2020-08-06T08:18:38.000Z | 2021-10-06T20:05:04.000Z | MLlib/activations.py | Udit-git-acc/ML-DL-implementation | 7514038c76d8e4293554110c604b3336f01356eb | [
"BSD-3-Clause"
] | 122 | 2020-08-05T16:59:23.000Z | 2022-01-21T04:08:15.000Z | import MLlib
import numpy as np
from MLlib import autograd
from MLlib.utils.misc_utils import unbroadcast
class Sigmoid(autograd.Function):
__slots__ = ()
@staticmethod
def forward(ctx, input):
if not (type(input).__name__ == 'Tensor'):
raise RuntimeError("Expected a Tensor, got {}. ... | 23.408297 | 78 | 0.531574 | 1,182 | 10,721 | 4.733503 | 0.122673 | 0.068633 | 0.09723 | 0.120107 | 0.834495 | 0.796247 | 0.777301 | 0.755139 | 0.708311 | 0.700268 | 0 | 0.013166 | 0.355284 | 10,721 | 457 | 79 | 23.459519 | 0.796296 | 0.381774 | 0 | 0.557143 | 0 | 0 | 0.058493 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 1 | 0.157143 | false | 0 | 0.028571 | 0 | 0.421429 | 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 |
5aded85c590b53977e065abbd6294434e2c0cec7 | 167 | py | Python | src/examples/ShowActualPath.py | Gabvaztor/tensorflowCode | e206ea4544552b87c2d43274cea3182f6b385a87 | [
"Apache-2.0"
] | 4 | 2019-12-14T08:06:18.000Z | 2020-09-12T10:09:31.000Z | src/examples/ShowActualPath.py | Gabvaztor/tensorflowCode | e206ea4544552b87c2d43274cea3182f6b385a87 | [
"Apache-2.0"
] | null | null | null | src/examples/ShowActualPath.py | Gabvaztor/tensorflowCode | e206ea4544552b87c2d43274cea3182f6b385a87 | [
"Apache-2.0"
] | 2 | 2020-09-12T10:10:07.000Z | 2021-09-15T11:58:37.000Z | import os
def show_actual_path():
print("Actual Path: \n", os.path.dirname(os.path.abspath(__file__)))
print("Actual Path: \n", os.getcwd())
show_actual_path() | 33.4 | 72 | 0.700599 | 26 | 167 | 4.192308 | 0.461538 | 0.366972 | 0.256881 | 0.293578 | 0.330275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11976 | 167 | 5 | 73 | 33.4 | 0.741497 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.