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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a04fac865dfcbbd962e5b717dc2e9bcf370f552a | 24 | py | Python | search_zone_number/__init__.py | MIERUNE/search_zone_number | fd25e99a85e8f6688c6b21a19f97a46657c2fdc6 | [
"MIT"
] | 3 | 2021-04-14T01:22:26.000Z | 2022-02-14T01:32:58.000Z | search_zone_number/__init__.py | MIERUNE/search_zone_number | fd25e99a85e8f6688c6b21a19f97a46657c2fdc6 | [
"MIT"
] | null | null | null | search_zone_number/__init__.py | MIERUNE/search_zone_number | fd25e99a85e8f6688c6b21a19f97a46657c2fdc6 | [
"MIT"
] | 1 | 2021-04-14T01:14:28.000Z | 2021-04-14T01:14:28.000Z | from .lib import CityGdf | 24 | 24 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a07762445d6ed6c3d18eb2c7b55ca949a148dd27 | 4,285 | py | Python | py/idasplode/font_table.py | zachriggle/ida-splode | a4aee3be415b318a0e051a523ebd0a8d6d5e0026 | [
"MIT"
] | 87 | 2015-01-08T08:53:35.000Z | 2022-03-18T11:52:39.000Z | py/idasplode/font_table.py | nihilus/ida-splode | 0128879b8a5dabbf78550acb7b830784861b3611 | [
"MIT"
] | null | null | null | py/idasplode/font_table.py | nihilus/ida-splode | 0128879b8a5dabbf78550acb7b830784861b3611 | [
"MIT"
] | 26 | 2015-02-08T18:57:19.000Z | 2020-12-16T03:47:01.000Z | def go():
ptr_size=4
tableStart = LocByName('_function')
fns=['itrp_SVTCA_0', 'itrp_SVTCA_1', 'itrp_SPVTCA_0', 'itrp_SPVTCA_1', 'itrp_SFVTCA_0', 'itrp_SFVTCA_1', 'itrp_SPVTL', 'itrp_SPVTL', 'itrp_SFVTL', 'itrp_SFVTL', 'itrp_WPV', 'itrp_WFV', 'itrp_RPV', 'itrp_RFV', 'itrp_SFVTPV', 'itrp_ISECT', 'itrp_SRP0... | 204.047619 | 3,680 | 0.690082 | 593 | 4,285 | 4.53457 | 0.278246 | 0.169208 | 0.221272 | 0.319078 | 0.46746 | 0.456303 | 0.456303 | 0.399777 | 0.399777 | 0.399777 | 0 | 0.006298 | 0.110618 | 4,285 | 21 | 3,681 | 204.047619 | 0.699292 | 0 | 0 | 0 | 0 | 0 | 0.642522 | 0.015706 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.05 | null | null | 0.15 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a09ee21230f359e20612040439159bd2531ab1c2 | 46 | py | Python | uiza/api_resources/user/__init__.py | uizaio/api-wrapper-python | e67c162e711857341f7ef5752178219e94f604d3 | [
"MIT"
] | 2 | 2019-04-22T11:39:36.000Z | 2020-05-26T04:01:43.000Z | uiza/api_resources/user/__init__.py | uizaio/api-wrapper-python | e67c162e711857341f7ef5752178219e94f604d3 | [
"MIT"
] | null | null | null | uiza/api_resources/user/__init__.py | uizaio/api-wrapper-python | e67c162e711857341f7ef5752178219e94f604d3 | [
"MIT"
] | 2 | 2019-02-11T09:34:03.000Z | 2019-02-12T10:31:41.000Z | from uiza.api_resources.user.user import User
| 23 | 45 | 0.847826 | 8 | 46 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.904762 | 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 |
a0a38eaf90c42cc12afca07b730c258dbd9d76ca | 124 | py | Python | src/app/routes.py | YevheniiM/GitApi | 8ef7d087ccdfada4b17aa7401d32c2d4b32fb422 | [
"MIT"
] | null | null | null | src/app/routes.py | YevheniiM/GitApi | 8ef7d087ccdfada4b17aa7401d32c2d4b32fb422 | [
"MIT"
] | null | null | null | src/app/routes.py | YevheniiM/GitApi | 8ef7d087ccdfada4b17aa7401d32c2d4b32fb422 | [
"MIT"
] | null | null | null | from .views import search_repositories
def setup_routes(app):
app.router.add_get("/api/search/", search_repositories)
| 20.666667 | 59 | 0.774194 | 17 | 124 | 5.411765 | 0.764706 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 124 | 5 | 60 | 24.8 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
a0b628087ea7202e454cf805dedf91aacde71b8b | 162 | py | Python | polytester/parsers/default.py | skoczen/polytester | c32c99aa61eb4dcfd2b3f6860b5d9d342a7ecfa8 | [
"MIT"
] | 115 | 2015-01-23T13:37:37.000Z | 2020-11-16T09:40:53.000Z | polytester/parsers/default.py | skoczen/polytester | c32c99aa61eb4dcfd2b3f6860b5d9d342a7ecfa8 | [
"MIT"
] | 18 | 2015-01-21T14:13:14.000Z | 2021-03-25T21:38:07.000Z | polytester/parsers/default.py | skoczen/polytester | c32c99aa61eb4dcfd2b3f6860b5d9d342a7ecfa8 | [
"MIT"
] | 11 | 2015-01-28T19:43:37.000Z | 2017-06-30T13:20:24.000Z | from .base import BaseParser
class DefaultParser(BaseParser):
name = "standard"
def tests_passed(self, result):
return result.return_code == 0
| 18 | 38 | 0.697531 | 19 | 162 | 5.842105 | 0.842105 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.216049 | 162 | 8 | 39 | 20.25 | 0.866142 | 0 | 0 | 0 | 0 | 0 | 0.049383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0.2 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
2606c9e100fd84d8ec02a1b3ea3976beb7e36533 | 202 | py | Python | build/lib/Kronos_heureka_code/Zeit/Datum/Tag/__init__.py | heureka-code/Kronos-heureka-code | 0ddbc93ec69f0bc50075071e6a3e406c9cc97737 | [
"MIT"
] | null | null | null | build/lib/Kronos_heureka_code/Zeit/Datum/Tag/__init__.py | heureka-code/Kronos-heureka-code | 0ddbc93ec69f0bc50075071e6a3e406c9cc97737 | [
"MIT"
] | null | null | null | build/lib/Kronos_heureka_code/Zeit/Datum/Tag/__init__.py | heureka-code/Kronos-heureka-code | 0ddbc93ec69f0bc50075071e6a3e406c9cc97737 | [
"MIT"
] | null | null | null | from Kronos_heureka_code.Zeit.Datum.Tag.TagException import \
TagException, \
TagZuGross, \
TagKeineGanzeZahl, \
TagKleinerAlsEins
from Kronos_heureka_code.Zeit.Datum.Tag.Tag import Tag
| 28.857143 | 61 | 0.772277 | 23 | 202 | 6.608696 | 0.521739 | 0.131579 | 0.223684 | 0.276316 | 0.434211 | 0.434211 | 0.434211 | 0 | 0 | 0 | 0 | 0 | 0.153465 | 202 | 6 | 62 | 33.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
269133a8e775159288bec970652c586cb635324f | 37 | py | Python | crslab/model/policy/conv_bert/__init__.py | hcmus-nlp-chatbot/CRSLab | b3ab262a4ad93cbae98fe66541eb735377768a35 | [
"MIT"
] | 315 | 2021-01-05T06:31:57.000Z | 2022-03-16T21:12:23.000Z | crslab/model/policy/conv_bert/__init__.py | hcmus-nlp-chatbot/CRSLab | b3ab262a4ad93cbae98fe66541eb735377768a35 | [
"MIT"
] | 23 | 2021-01-09T05:43:26.000Z | 2022-03-28T21:05:49.000Z | crslab/model/policy/conv_bert/__init__.py | hcmus-nlp-chatbot/CRSLab | b3ab262a4ad93cbae98fe66541eb735377768a35 | [
"MIT"
] | 71 | 2021-01-05T06:31:59.000Z | 2022-03-06T06:30:35.000Z | from .conv_bert import ConvBERTModel
| 18.5 | 36 | 0.864865 | 5 | 37 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 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 |
cd15fa02dad1c20276ebfc9889fef208e5690581 | 22,921 | py | Python | examples/dataset.py | Sirui-Xu/Arena | 6ae9e69d795919f8775ded5d2dd6d6b60ae8ffea | [
"MIT"
] | 1 | 2021-06-13T11:50:48.000Z | 2021-06-13T11:50:48.000Z | examples/dataset.py | Sirui-Xu/Arena | 6ae9e69d795919f8775ded5d2dd6d6b60ae8ffea | [
"MIT"
] | null | null | null | examples/dataset.py | Sirui-Xu/Arena | 6ae9e69d795919f8775ded5d2dd6d6b60ae8ffea | [
"MIT"
] | null | null | null | import sys
import json
import numpy as np
from tqdm import tqdm
import torch
from torch.utils.data.dataset import Dataset
from torch_geometric.data import Data
from torch.distributions import Normal
class GamePatch(Dataset):
"""Provide patches according to GT boxes or proposals"""
def __init__(self, data, st... | 41.373646 | 170 | 0.509838 | 2,780 | 22,921 | 4.071583 | 0.069065 | 0.029066 | 0.012722 | 0.023324 | 0.782755 | 0.767471 | 0.749183 | 0.744942 | 0.726124 | 0.718526 | 0 | 0.024226 | 0.344488 | 22,921 | 554 | 171 | 41.373646 | 0.729118 | 0.159853 | 0 | 0.733681 | 0 | 0.002611 | 0.03714 | 0.003082 | 0 | 0 | 0 | 0 | 0.005222 | 1 | 0.039164 | false | 0 | 0.02611 | 0.013055 | 0.104439 | 0.010444 | 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 |
cd2908f55c312a37f617ef2cd2d8dba28041590f | 104 | py | Python | SQLTemplatedPythonOperator/__init__.py | asdfgeoff/airflow-operators | e013b276e10e39c2b675cd4532e2ae3e30717a3f | [
"MIT"
] | 1 | 2021-09-06T14:47:21.000Z | 2021-09-06T14:47:21.000Z | SQLTemplatedPythonOperator/__init__.py | asdfgeoff/airflow-operators | e013b276e10e39c2b675cd4532e2ae3e30717a3f | [
"MIT"
] | null | null | null | SQLTemplatedPythonOperator/__init__.py | asdfgeoff/airflow-operators | e013b276e10e39c2b675cd4532e2ae3e30717a3f | [
"MIT"
] | null | null | null | from .operator import SQLTemplatedPythonOperator
from .asserts import assert_pct_less_than, assert_zero
| 34.666667 | 54 | 0.884615 | 13 | 104 | 6.769231 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086538 | 104 | 2 | 55 | 52 | 0.926316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd29477d44291d19780c6dd779090fe9c1680bfa | 63 | py | Python | spikeextractors/extractors/bindatrecordingextractor/__init__.py | zekearneodo/spikeextractors | d30aa85e69d0331fffdb58a03a2bb628f93b405e | [
"MIT"
] | 145 | 2018-12-06T23:12:54.000Z | 2022-02-10T22:57:35.000Z | spikeextractors/extractors/bindatrecordingextractor/__init__.py | zekearneodo/spikeextractors | d30aa85e69d0331fffdb58a03a2bb628f93b405e | [
"MIT"
] | 396 | 2018-11-26T11:46:30.000Z | 2022-01-04T07:27:47.000Z | spikeextractors/extractors/bindatrecordingextractor/__init__.py | zekearneodo/spikeextractors | d30aa85e69d0331fffdb58a03a2bb628f93b405e | [
"MIT"
] | 67 | 2018-11-19T12:38:01.000Z | 2021-09-25T03:18:22.000Z | from .bindatrecordingextractor import BinDatRecordingExtractor
| 31.5 | 62 | 0.920635 | 4 | 63 | 14.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 63 | 1 | 63 | 63 | 0.983051 | 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 |
cd4ee99d51da4e369393165189e180839341f3ae | 35 | py | Python | sparkplug/__init__.py | Quva/sparkplug | c6ec310ae1f53067fece6e690d7b10c1eb69516e | [
"Apache-2.0"
] | null | null | null | sparkplug/__init__.py | Quva/sparkplug | c6ec310ae1f53067fece6e690d7b10c1eb69516e | [
"Apache-2.0"
] | null | null | null | sparkplug/__init__.py | Quva/sparkplug | c6ec310ae1f53067fece6e690d7b10c1eb69516e | [
"Apache-2.0"
] | null | null | null |
from .spark_plug import SparkPlug
| 11.666667 | 33 | 0.828571 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 2 | 34 | 17.5 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd6a5f5592042ab5dc515155079ca32262fa64bb | 71 | py | Python | buzz.py | trrevvorr/DIY-Smart-Door-Lock | 7ca7a219c6e8e840672a4640568420ae700b42c3 | [
"MIT"
] | null | null | null | buzz.py | trrevvorr/DIY-Smart-Door-Lock | 7ca7a219c6e8e840672a4640568420ae700b42c3 | [
"MIT"
] | null | null | null | buzz.py | trrevvorr/DIY-Smart-Door-Lock | 7ca7a219c6e8e840672a4640568420ae700b42c3 | [
"MIT"
] | null | null | null | import _control_lock
import commands
_control_lock.main(commands.BUZZ) | 17.75 | 33 | 0.873239 | 10 | 71 | 5.8 | 0.6 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 71 | 4 | 33 | 17.75 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
26956e99360e04496194769d72392f26a5e452f6 | 35 | py | Python | pyinvsqrt/__init__.py | skailasa/pyinvsqrt | c9ccf90391f355c2468ad9b88d0e0d54121d66bf | [
"MIT"
] | 2 | 2021-03-15T08:15:58.000Z | 2021-05-16T02:45:33.000Z | pyinvsqrt/__init__.py | skailasa/pyinvsqrt | c9ccf90391f355c2468ad9b88d0e0d54121d66bf | [
"MIT"
] | null | null | null | pyinvsqrt/__init__.py | skailasa/pyinvsqrt | c9ccf90391f355c2468ad9b88d0e0d54121d66bf | [
"MIT"
] | 1 | 2022-02-12T23:31:48.000Z | 2022-02-12T23:31:48.000Z | # API
from invsqrtc import invsqrt
| 11.666667 | 28 | 0.8 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 2 | 29 | 17.5 | 0.965517 | 0.085714 | 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 |
26e39ca2a2bb5e5acaa7d7c016b5da616a6f1c57 | 28,638 | py | Python | tensorflow/compiler/tests/sharding_util_ops_test.py | EricRemmerswaal/tensorflow | 141ff27877579c81a213fa113bd1b474c1749aca | [
"Apache-2.0"
] | 190,993 | 2015-11-09T13:17:30.000Z | 2022-03-31T23:05:27.000Z | tensorflow/compiler/tests/sharding_util_ops_test.py | EricRemmerswaal/tensorflow | 141ff27877579c81a213fa113bd1b474c1749aca | [
"Apache-2.0"
] | 48,461 | 2015-11-09T14:21:11.000Z | 2022-03-31T23:17:33.000Z | tensorflow/compiler/tests/sharding_util_ops_test.py | EricRemmerswaal/tensorflow | 141ff27877579c81a213fa113bd1b474c1749aca | [
"Apache-2.0"
] | 104,981 | 2015-11-09T13:40:17.000Z | 2022-03-31T19:51:54.000Z | # Copyright 2021 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 40.109244 | 80 | 0.616524 | 3,370 | 28,638 | 4.985757 | 0.073887 | 0.04928 | 0.051661 | 0.02583 | 0.84109 | 0.776039 | 0.740507 | 0.72414 | 0.715272 | 0.690989 | 0 | 0.029746 | 0.259271 | 28,638 | 713 | 81 | 40.165498 | 0.762316 | 0.025002 | 0 | 0.683307 | 0 | 0 | 0.05451 | 0 | 0 | 0 | 0 | 0 | 0.071763 | 1 | 0.057722 | false | 0 | 0.020281 | 0 | 0.092044 | 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 |
f806b6d47c2a678d423a321959cf0a078a9de28c | 11,544 | py | Python | tests/test_plot/test_compositor.py | alexandreMayerowitz/playground-plums | a6be79e4c30c7abcbade5581f052a4e8035a2057 | [
"MIT"
] | null | null | null | tests/test_plot/test_compositor.py | alexandreMayerowitz/playground-plums | a6be79e4c30c7abcbade5581f052a4e8035a2057 | [
"MIT"
] | null | null | null | tests/test_plot/test_compositor.py | alexandreMayerowitz/playground-plums | a6be79e4c30c7abcbade5581f052a4e8035a2057 | [
"MIT"
] | 2 | 2021-02-03T12:37:53.000Z | 2022-03-09T03:48:12.000Z | import numpy as np
import pytest
from plums.commons import TileWrapper, DataPoint, RecordCollection, Record, Annotation
from plums.plot.engine.color import Color
from plums.plot.engine.compositor import Compositor
class TestCompositor:
def test_constructor(self):
# Create data points
records = [
... | 41.081851 | 109 | 0.598493 | 1,271 | 11,544 | 5.177026 | 0.118804 | 0.083587 | 0.039514 | 0.051976 | 0.800304 | 0.769149 | 0.760942 | 0.736474 | 0.722796 | 0.713374 | 0 | 0.061569 | 0.296518 | 11,544 | 280 | 110 | 41.228571 | 0.748676 | 0.05544 | 0 | 0.572816 | 0 | 0 | 0.059511 | 0 | 0 | 0 | 0 | 0 | 0.131068 | 1 | 0.019417 | false | 0 | 0.053398 | 0 | 0.07767 | 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 |
f8888bc523d67fac4d63efe48ed5f3a8fa8fb964 | 47 | py | Python | imagepy/tools/Standard/freeline_tol.py | dada1437903138/imagepy | 65d9ce088894eef587054e04018f9d34ff65084f | [
"BSD-4-Clause"
] | 1,178 | 2017-05-25T06:59:01.000Z | 2022-03-31T11:38:53.000Z | imagepy/tools/Standard/freeline_tol.py | TomisTony/imagepy | 3c378ebaf72762b94f0826a410897757ebafe689 | [
"BSD-4-Clause"
] | 76 | 2017-06-10T17:01:50.000Z | 2021-12-23T08:13:29.000Z | imagepy/tools/Standard/freeline_tol.py | TomisTony/imagepy | 3c378ebaf72762b94f0826a410897757ebafe689 | [
"BSD-4-Clause"
] | 315 | 2017-05-25T12:59:53.000Z | 2022-03-07T22:52:21.000Z | from sciapp.action import FreeLineROI as Plugin | 47 | 47 | 0.87234 | 7 | 47 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.97619 | 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 |
f88a4ee54488af4c7ddf2739c45ae94a840024d1 | 365 | py | Python | test_cmpa/__init__.py | jamesabel/cmpa | 64eddfb9601f4df23044faf95b99fcf960161ded | [
"MIT"
] | null | null | null | test_cmpa/__init__.py | jamesabel/cmpa | 64eddfb9601f4df23044faf95b99fcf960161ded | [
"MIT"
] | null | null | null | test_cmpa/__init__.py | jamesabel/cmpa | 64eddfb9601f4df23044faf95b99fcf960161ded | [
"MIT"
] | null | null | null |
from .cmpa_test_paths import get_test_data_root
from .cmpa_test_paths import get_test_data_root_same_single_level, get_test_data_root_different_single_level
from .cmpa_test_paths import get_test_data_root_different_multiple_level, get_test_data_root_same_multiple_level
from .cmpa_test_paths import get_test_data_root_u... | 52.142857 | 112 | 0.912329 | 63 | 365 | 4.650794 | 0.285714 | 0.143345 | 0.225256 | 0.307167 | 0.778157 | 0.552901 | 0.552901 | 0.552901 | 0.552901 | 0.293515 | 0 | 0 | 0.065753 | 365 | 6 | 113 | 60.833333 | 0.859238 | 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 |
f8a08e6529e60016200de870df9c0335cc595a91 | 61 | py | Python | pos_orderline_absolute_discount/models/__init__.py | nahualventure/pos-addons | 3c911c28c259967fb74e311ddcc8e6ca032c005d | [
"MIT"
] | 183 | 2016-06-14T05:10:27.000Z | 2020-02-10T04:05:20.000Z | pos_orderline_absolute_discount/models/__init__.py | nahualventure/pos-addons | 3c911c28c259967fb74e311ddcc8e6ca032c005d | [
"MIT"
] | 518 | 2016-06-08T13:44:06.000Z | 2020-02-17T10:27:31.000Z | pos_orderline_absolute_discount/models/__init__.py | nahualventure/pos-addons | 3c911c28c259967fb74e311ddcc8e6ca032c005d | [
"MIT"
] | 369 | 2016-06-07T12:10:33.000Z | 2020-02-12T21:16:35.000Z | from . import pos_order_model
from . import pos_config_model
| 20.333333 | 30 | 0.836066 | 10 | 61 | 4.7 | 0.6 | 0.425532 | 0.553191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 2 | 31 | 30.5 | 0.886792 | 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 |
e43d00659cd4c29f49dd34d933b28df699ff4c5d | 173 | py | Python | tests/bind_tests/boolean_tests/test_operation_type.py | skrat/martinez | 86db48324cb50ecb52be8ab2e4278a6d5cdd562b | [
"MIT"
] | 7 | 2020-05-07T08:13:44.000Z | 2021-12-17T07:33:51.000Z | tests/bind_tests/boolean_tests/test_operation_type.py | skrat/martinez | 86db48324cb50ecb52be8ab2e4278a6d5cdd562b | [
"MIT"
] | 17 | 2019-11-29T23:17:26.000Z | 2020-12-20T15:47:17.000Z | tests/bind_tests/boolean_tests/test_operation_type.py | skrat/martinez | 86db48324cb50ecb52be8ab2e4278a6d5cdd562b | [
"MIT"
] | 1 | 2020-12-17T22:44:21.000Z | 2020-12-17T22:44:21.000Z | from tests.bind_tests.hints import BoundOperationType
from tests.utils import all_unique
def test_basic():
assert all_unique(BoundOperationType.__members__.values())
| 21.625 | 62 | 0.820809 | 22 | 173 | 6.090909 | 0.681818 | 0.134328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109827 | 173 | 7 | 63 | 24.714286 | 0.87013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e463cdd0b9b35e6f7ad4ab3f09adfb6cbad562f0 | 1,044 | py | Python | graphadv/utils/top_k.py | EdisonLeeeee/graphadv | bff372768b4082af95de9e576c7083ba42773666 | [
"MIT"
] | 5 | 2020-08-01T15:54:58.000Z | 2021-12-15T10:47:45.000Z | graphadv/utils/top_k.py | EdisonLeeeee/graphadv | bff372768b4082af95de9e576c7083ba42773666 | [
"MIT"
] | 5 | 2020-11-13T19:01:52.000Z | 2022-02-10T02:02:34.000Z | graphadv/utils/top_k.py | EdisonLeeeee/graphadv | bff372768b4082af95de9e576c7083ba42773666 | [
"MIT"
] | 2 | 2020-10-12T08:31:06.000Z | 2020-12-14T08:24:57.000Z | import numpy as np
def largest_indices(array: np.ndarray, n: int) -> tuple:
"""Returns the n largest indices from a numpy array.
Arguments:
array {np.ndarray} -- data array
n {int} -- number of elements to select
Returns:
tuple[np.ndarray, np.ndarray] -- tuple of ndarray
eac... | 33.677419 | 57 | 0.633142 | 140 | 1,044 | 4.692857 | 0.242857 | 0.109589 | 0.085236 | 0.063927 | 0.913242 | 0.913242 | 0.913242 | 0.809741 | 0.809741 | 0.809741 | 0 | 0 | 0.241379 | 1,044 | 31 | 58 | 33.677419 | 0.829545 | 0.439655 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.083333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e47ef1d1e8f9ad40165d7443c7f0e4e19ef7a965 | 26 | py | Python | morphometry/greve/__init__.py | harvard-nrg/morphometry | 8a59e84c31855c612430fa10fd69758c72c20639 | [
"BSD-3-Clause"
] | null | null | null | morphometry/greve/__init__.py | harvard-nrg/morphometry | 8a59e84c31855c612430fa10fd69758c72c20639 | [
"BSD-3-Clause"
] | null | null | null | morphometry/greve/__init__.py | harvard-nrg/morphometry | 8a59e84c31855c612430fa10fd69758c72c20639 | [
"BSD-3-Clause"
] | null | null | null | from . import mri_convert
| 13 | 25 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 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 |
e4bc3f5772050c0f81da5c9ee557468e738b7532 | 22,233 | py | Python | Yellow_Pages_Malte/unit_tests.py | Jay4C/Web-Scraping | 187679bee035dad661d983b5a8382240f820c337 | [
"MIT"
] | 1 | 2022-02-28T05:05:06.000Z | 2022-02-28T05:05:06.000Z | Yellow_Pages_Malte/unit_tests.py | Jay4C/Web-Scraping | 187679bee035dad661d983b5a8382240f820c337 | [
"MIT"
] | 23 | 2020-03-04T22:17:32.000Z | 2021-01-21T09:35:33.000Z | Yellow_Pages_Malte/unit_tests.py | Jay4C/Web-Scraping | 187679bee035dad661d983b5a8382240f820c337 | [
"MIT"
] | null | null | null | from bs4 import BeautifulSoup
import requests
import time
import pymysql.cursors
import unittest
class UnitTestsDataMinerYellowPagesMalta(unittest.TestCase):
def test_extract_email_from_one_result(self):
print("test_extract_email_from_one_result")
headers = {
'User-Agent': 'Mozilla/5.... | 48.227766 | 119 | 0.388207 | 1,958 | 22,233 | 4.264556 | 0.15475 | 0.026826 | 0.043593 | 0.04024 | 0.801796 | 0.75497 | 0.747665 | 0.747665 | 0.747665 | 0.747665 | 0 | 0.027926 | 0.478163 | 22,233 | 460 | 120 | 48.332609 | 0.691777 | 0.046732 | 0 | 0.698276 | 0 | 0.011494 | 0.195713 | 0.03019 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011494 | false | 0.005747 | 0.014368 | 0 | 0.028736 | 0.103448 | 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 |
e4c49d8074a53eddd6d82d83d542d0bbf29b70c6 | 13,007 | py | Python | src/pds_doi_service/core/input/test/input_util_test.py | NASA-PDS/pds-doi-service | b994381a5757700229865e8fe905553559684e0d | [
"Apache-2.0"
] | 2 | 2020-11-03T19:29:11.000Z | 2021-09-26T01:42:41.000Z | src/pds_doi_service/core/input/test/input_util_test.py | NASA-PDS/pds-doi-service | b994381a5757700229865e8fe905553559684e0d | [
"Apache-2.0"
] | 222 | 2020-05-07T21:05:23.000Z | 2021-12-16T22:14:54.000Z | src/pds_doi_service/core/input/test/input_util_test.py | NASA-PDS/pds-doi-service | b994381a5757700229865e8fe905553559684e0d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import datetime
import os
import unittest
from os.path import abspath
from os.path import join
from pds_doi_service.core.entities.doi import Doi
from pds_doi_service.core.entities.doi import DoiStatus
from pds_doi_service.core.entities.doi import ProductType
from pds_doi_service.core.entities.exc... | 42.093851 | 117 | 0.6854 | 1,745 | 13,007 | 4.876218 | 0.127794 | 0.057116 | 0.045129 | 0.051945 | 0.872018 | 0.828417 | 0.804325 | 0.792925 | 0.731578 | 0.722882 | 0 | 0.015131 | 0.222572 | 13,007 | 308 | 118 | 42.230519 | 0.826345 | 0.147382 | 0 | 0.691099 | 0 | 0.015707 | 0.169659 | 0.090044 | 0 | 0 | 0 | 0 | 0.371728 | 1 | 0.031414 | false | 0 | 0.068063 | 0 | 0.104712 | 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 |
e4cc5f64f6d0c91d0d6bddb2f9968822d41190ee | 147 | py | Python | nbaStats/__init__.py | dsaunders11/nbaStats | edb3f6ae9a12fb994b2f25887fdf7496ede01710 | [
"MIT"
] | 2 | 2021-11-23T07:53:32.000Z | 2021-12-10T04:12:16.000Z | nbaStats/__init__.py | dsaunders11/nbaStats | edb3f6ae9a12fb994b2f25887fdf7496ede01710 | [
"MIT"
] | null | null | null | nbaStats/__init__.py | dsaunders11/nbaStats | edb3f6ae9a12fb994b2f25887fdf7496ede01710 | [
"MIT"
] | null | null | null | from .pre_process import *
from .pull import *
from .prediction_set import *
from .train import *
from .neural_net import *
from .forest import *
| 21 | 29 | 0.748299 | 21 | 147 | 5.095238 | 0.52381 | 0.46729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170068 | 147 | 6 | 30 | 24.5 | 0.877049 | 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 |
e4d2eb01fe41656222c880050c3a986d67d85184 | 203 | py | Python | colearning/players/__init__.py | A-Malone/genetic-neural-nets | e8284cc820e6f67a52b4064d7e7320eb29629791 | [
"MIT"
] | null | null | null | colearning/players/__init__.py | A-Malone/genetic-neural-nets | e8284cc820e6f67a52b4064d7e7320eb29629791 | [
"MIT"
] | null | null | null | colearning/players/__init__.py | A-Malone/genetic-neural-nets | e8284cc820e6f67a52b4064d7e7320eb29629791 | [
"MIT"
] | null | null | null | from base_player import BasePlayer
from learning_agent_player import LearningAgentPlayer, ActionQLearningPlayer
from neural_net_player import NeuralNetworkPlayer
from training_player import TurretPlayer
| 40.6 | 76 | 0.91133 | 23 | 203 | 7.782609 | 0.608696 | 0.268156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083744 | 203 | 4 | 77 | 50.75 | 0.962366 | 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 |
e4dab74221b6b3c9844979a8c1c4d428e9dd9d9c | 101 | py | Python | pymodules/run.py | mjirik/tutorials | c2ee8578ed61de2bf3becc510c41a266f70b9084 | [
"MIT"
] | null | null | null | pymodules/run.py | mjirik/tutorials | c2ee8578ed61de2bf3becc510c41a266f70b9084 | [
"MIT"
] | null | null | null | pymodules/run.py | mjirik/tutorials | c2ee8578ed61de2bf3becc510c41a266f70b9084 | [
"MIT"
] | 1 | 2021-12-02T08:18:47.000Z | 2021-12-02T08:18:47.000Z | """
run by:
python run.py
"""
import mymodule.moduletwo
mymodule.moduletwo.print_hello_vlkoslav()
| 10.1 | 41 | 0.752475 | 13 | 101 | 5.692308 | 0.769231 | 0.459459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 101 | 9 | 42 | 11.222222 | 0.831461 | 0.217822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
e4e18d577c05f158e72fba5428f0d7f08b7e2e88 | 18,595 | py | Python | train_and_eval.py | nielsleadholm/DelayLineObjectCoding | f0fc07476db6bceb0c69060a9fe0411611708967 | [
"MIT"
] | null | null | null | train_and_eval.py | nielsleadholm/DelayLineObjectCoding | f0fc07476db6bceb0c69060a9fe0411611708967 | [
"MIT"
] | null | null | null | train_and_eval.py | nielsleadholm/DelayLineObjectCoding | f0fc07476db6bceb0c69060a9fe0411611708967 | [
"MIT"
] | null | null | null | from brian2 import *
import copy
import gc
import numpy as np
import os
import pprint
import random
import yaml
import run_simulation
from generate_input_stims import (create_underlying_spike_assemblies, plot_input_raster,
generate_spikes_fixed_pairs, visualize_spike_slopes)
def make_directories(dir_name, se... | 51.796657 | 176 | 0.726432 | 2,288 | 18,595 | 5.458916 | 0.117133 | 0.073899 | 0.048679 | 0.053803 | 0.788311 | 0.764131 | 0.746277 | 0.743074 | 0.723539 | 0.700641 | 0 | 0.000505 | 0.147782 | 18,595 | 358 | 177 | 51.941341 | 0.787657 | 0.208443 | 0 | 0.454955 | 1 | 0 | 0.224147 | 0.13854 | 0 | 0 | 0 | 0 | 0.004505 | 1 | 0.009009 | false | 0.018018 | 0.045045 | 0 | 0.054054 | 0.04955 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
900dd3f807b2bdaa7fde30e858bfe080d3c28b66 | 35 | py | Python | lang/py/cookbook/v2/source/cb2_17_8_sol_2.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_17_8_sol_2.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_17_8_sol_2.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | def empty2(*args):
return None
| 11.666667 | 18 | 0.657143 | 5 | 35 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.228571 | 35 | 2 | 19 | 17.5 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
9017205bac0120df4f32bea8b25fdc22c91f57fe | 8,839 | py | Python | src/contracts/test/test_transfer.py | xellDart/oken_nft_ip | 66b9e9b99eca606b4dcf27c3c27c5b8338d8b91d | [
"MIT"
] | 9 | 2021-02-03T09:15:20.000Z | 2022-01-20T18:43:05.000Z | src/contracts/test/test_transfer.py | xellDart/oken_nft_ip | 66b9e9b99eca606b4dcf27c3c27c5b8338d8b91d | [
"MIT"
] | 2 | 2021-11-17T15:42:00.000Z | 2021-12-19T18:39:36.000Z | src/contracts/test/test_transfer.py | xellDart/oken_nft_ip | 66b9e9b99eca606b4dcf27c3c27c5b8338d8b91d | [
"MIT"
] | 11 | 2021-05-17T16:42:20.000Z | 2022-02-08T09:17:45.000Z | from unittest import TestCase, main
from pytezos import MichelsonRuntimeError
from pytezos import ContractInterface
from test.tests_utils import *
class TestTransfer(TestCase):
@classmethod
def setUpClass(cls):
project_dir = dirname(dirname(__file__))
cls.nftContract = ContractInterface.creat... | 45.797927 | 104 | 0.547347 | 886 | 8,839 | 5.022573 | 0.133183 | 0.053483 | 0.067416 | 0.078652 | 0.825843 | 0.78764 | 0.755056 | 0.732584 | 0.712584 | 0.669663 | 0 | 0.008016 | 0.36486 | 8,839 | 192 | 105 | 46.036458 | 0.784646 | 0.012558 | 0 | 0.662252 | 0 | 0 | 0.054101 | 0.005513 | 0 | 0 | 0 | 0 | 0.112583 | 1 | 0.05298 | false | 0 | 0.02649 | 0 | 0.092715 | 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 |
5fba676f41d506eee97d10dbb41c214352a6d899 | 30 | py | Python | otter/__init__.py | TylerADavis/otter-grader | 9f245a13022b15a20a8340140a9084c550cfba80 | [
"BSD-3-Clause"
] | null | null | null | otter/__init__.py | TylerADavis/otter-grader | 9f245a13022b15a20a8340140a9084c550cfba80 | [
"BSD-3-Clause"
] | null | null | null | otter/__init__.py | TylerADavis/otter-grader | 9f245a13022b15a20a8340140a9084c550cfba80 | [
"BSD-3-Clause"
] | null | null | null | from .notebook import Notebook | 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 |
39a05ea84399004621f15cdeb2cbff179d5c789e | 36 | py | Python | login.py | Pigeast/python2 | 8af2f0e53cf0cc769380b6b5eac7a5dd4d0271c0 | [
"MIT"
] | null | null | null | login.py | Pigeast/python2 | 8af2f0e53cf0cc769380b6b5eac7a5dd4d0271c0 | [
"MIT"
] | null | null | null | login.py | Pigeast/python2 | 8af2f0e53cf0cc769380b6b5eac7a5dd4d0271c0 | [
"MIT"
] | null | null | null | a = 1
b = 2
c = 3
dd = 4
efg = 6666
| 6 | 10 | 0.444444 | 10 | 36 | 1.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.380952 | 0.416667 | 36 | 5 | 11 | 7.2 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
39c73621fa3dc7686c2a9015a8aed26dd6f0eb2d | 58 | py | Python | data/samplers/__init__.py | czyczyyzc/GATES | 53e2e45d6cd3ec3af1f9389f30bc34c9b04265fa | [
"MIT"
] | 5 | 2020-10-20T07:18:40.000Z | 2021-05-23T14:23:21.000Z | data/samplers/__init__.py | czyczyyzc/GATES | 53e2e45d6cd3ec3af1f9389f30bc34c9b04265fa | [
"MIT"
] | null | null | null | data/samplers/__init__.py | czyczyyzc/GATES | 53e2e45d6cd3ec3af1f9389f30bc34c9b04265fa | [
"MIT"
] | null | null | null | from .distributed_sampler import SubsetDistributedSampler
| 29 | 57 | 0.913793 | 5 | 58 | 10.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 58 | 1 | 58 | 58 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f2f3e5613fe0ec546dced6be4253715b29bb6a95 | 39 | py | Python | samples/src/main/resources/datasets/python/136.py | sritchie/kotlingrad | 8165ed1cd77220a5347c58cded4c6f2bcf22ee30 | [
"Apache-2.0"
] | 11 | 2020-12-19T01:19:44.000Z | 2021-12-25T20:43:33.000Z | src/main/resources/datasets/python/136.py | breandan/katholic | 081c39f3acc73ff41f5865563debe78a36e1038f | [
"Apache-2.0"
] | null | null | null | src/main/resources/datasets/python/136.py | breandan/katholic | 081c39f3acc73ff41f5865563debe78a36e1038f | [
"Apache-2.0"
] | 2 | 2021-01-25T07:59:20.000Z | 2021-08-07T07:13:49.000Z | def unaryOp10(a):
return not (+-a)
| 13 | 20 | 0.589744 | 6 | 39 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.230769 | 39 | 2 | 21 | 19.5 | 0.7 | 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 |
840fe2878b5d64d18106959fc66ea4b279aec7c7 | 283 | py | Python | constraint/__init__.py | DrKwint/safety-starter-agents | cb94e2255105e74bb8986ca6487e222c8f4bd52d | [
"MIT"
] | null | null | null | constraint/__init__.py | DrKwint/safety-starter-agents | cb94e2255105e74bb8986ca6487e222c8f4bd52d | [
"MIT"
] | null | null | null | constraint/__init__.py | DrKwint/safety-starter-agents | cb94e2255105e74bb8986ca6487e222c8f4bd52d | [
"MIT"
] | null | null | null | from constraint.constraint import Constraint
#from constraint.predef_constraints import CONSTRAINT_DICT
from constraint.constraints.register import get_constraint
from constraint.constraint_wrapper import ConstraintEnv
from constraint.bench.step_monitor import ConstraintStepMonitor
| 47.166667 | 63 | 0.90106 | 32 | 283 | 7.8125 | 0.4375 | 0.28 | 0.192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070671 | 283 | 5 | 64 | 56.6 | 0.95057 | 0.201413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8411249c90bb6281c500be91c6dfd88a3419cf06 | 9,314 | py | Python | tests/query/v2/test_case_expression.py | nevermore3/nebula-graph | 6f24438289c2b20575bc6acdf607cd2a3648d30d | [
"Apache-2.0"
] | null | null | null | tests/query/v2/test_case_expression.py | nevermore3/nebula-graph | 6f24438289c2b20575bc6acdf607cd2a3648d30d | [
"Apache-2.0"
] | null | null | null | tests/query/v2/test_case_expression.py | nevermore3/nebula-graph | 6f24438289c2b20575bc6acdf607cd2a3648d30d | [
"Apache-2.0"
] | null | null | null | # --coding:utf-8--
#
# Copyright (c) 2020 vesoft inc. All rights reserved.
#
# This source code is licensed under Apache 2.0 License,
# attached with Common Clause Condition 1.0, found in the LICENSES directory.
from tests.common.nebula_test_suite import NebulaTestSuite
from tests.common.nebula_test_suite import T_NUL... | 41.766816 | 93 | 0.607687 | 1,282 | 9,314 | 4.220749 | 0.108424 | 0.08649 | 0.153761 | 0.091296 | 0.858991 | 0.800407 | 0.78747 | 0.769913 | 0.765293 | 0.743855 | 0 | 0.047584 | 0.280223 | 9,314 | 222 | 94 | 41.954955 | 0.759547 | 0.029633 | 0 | 0.616216 | 0 | 0.021622 | 0.310963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0.005405 | 0.016216 | 0 | 0.048649 | 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 |
4b75dafd98c92f65209beac53ab9e17c9f261edd | 21 | py | Python | example_project/some_modules/third_modules/a143.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a143.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a143.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | class A143:
pass
| 7 | 11 | 0.619048 | 3 | 21 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4b925eaea17d941b61f113047f464f27acd488ad | 3,288 | py | Python | tests/test_argc.py | pbst/angr | a67010c8ef20166b32a14feb4611fdbbfb1f9ab3 | [
"BSD-2-Clause"
] | 2 | 2019-12-20T13:42:57.000Z | 2021-07-07T09:34:46.000Z | tests/test_argc.py | pbst/angr | a67010c8ef20166b32a14feb4611fdbbfb1f9ab3 | [
"BSD-2-Clause"
] | 2 | 2018-11-13T16:19:16.000Z | 2018-12-10T15:45:53.000Z | tests/test_argc.py | pbst/angr | a67010c8ef20166b32a14feb4611fdbbfb1f9ab3 | [
"BSD-2-Clause"
] | null | null | null | import nose
import angr
import logging
l = logging.getLogger("angr_tests")
import os
test_location = str(os.path.join(os.path.dirname(os.path.realpath(__file__)), '../../binaries/tests'))
def test_mips():
proj = angr.Project(test_location + "/mips/argc_decide")
r_addr = 0x4006f4
s = proj.factory.entry_s... | 33.55102 | 102 | 0.667275 | 482 | 3,288 | 4.358921 | 0.13278 | 0.125654 | 0.068539 | 0.097097 | 0.810566 | 0.73346 | 0.73346 | 0.73346 | 0.73346 | 0.73346 | 0 | 0.026127 | 0.150243 | 3,288 | 97 | 103 | 33.896907 | 0.725841 | 0 | 0 | 0.537313 | 0 | 0 | 0.111314 | 0 | 0 | 0 | 0.015207 | 0 | 0.179104 | 1 | 0.089552 | false | 0 | 0.059701 | 0 | 0.149254 | 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 |
4bbdcb91f2416e236841f203df5340e75b99a087 | 155 | py | Python | coders/curso_python/pacotes/pacote_v3.py | flaviogf/Cursos | 2b120dbcd24a907121f58482fdcdfa01b164872c | [
"MIT"
] | 2 | 2021-02-20T23:50:07.000Z | 2021-08-15T03:04:35.000Z | coders/curso_python/pacotes/pacote_v3.py | flaviogf/Cursos | 2b120dbcd24a907121f58482fdcdfa01b164872c | [
"MIT"
] | 18 | 2019-08-07T02:33:00.000Z | 2021-03-18T22:52:38.000Z | coders/curso_python/pacotes/pacote_v3.py | flaviogf/Cursos | 2b120dbcd24a907121f58482fdcdfa01b164872c | [
"MIT"
] | 2 | 2020-09-28T13:00:09.000Z | 2021-12-30T12:21:08.000Z | #!/usr/local/bin/python3
from pacote1 import modulo1
from pacote2 import modulo1 as modulo_sub
print(modulo1.soma(10, 10))
print(modulo_sub.sub(10, 10))
| 19.375 | 41 | 0.774194 | 26 | 155 | 4.538462 | 0.576923 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 0.109677 | 155 | 7 | 42 | 22.142857 | 0.753623 | 0.148387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
29c191ecb8ea9f8011ee395dfe31fa52073fcc5d | 205 | py | Python | train_chatbot.py | DarishkaAMS/Chat_Bot-First_Tryout | f73afb337cedbab1e5f74cc71434c322af8bd058 | [
"MIT"
] | null | null | null | train_chatbot.py | DarishkaAMS/Chat_Bot-First_Tryout | f73afb337cedbab1e5f74cc71434c322af8bd058 | [
"MIT"
] | null | null | null | train_chatbot.py | DarishkaAMS/Chat_Bot-First_Tryout | f73afb337cedbab1e5f74cc71434c322af8bd058 | [
"MIT"
] | null | null | null | import random
import json
import pickle
import numpy as np
import nltk
from nltk.stem import WordNetLemmatizer
from tensorflow.keras.models import Sequental
from tensorflow.keras.models import Sequental
| 18.636364 | 45 | 0.84878 | 29 | 205 | 6 | 0.517241 | 0.16092 | 0.218391 | 0.287356 | 0.45977 | 0.45977 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126829 | 205 | 10 | 46 | 20.5 | 0.972067 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
29e88546247c0fc4f3f54d02af1e3770deaf7b86 | 172 | py | Python | trend/templatetags/trendfilter.py | yoonputer/Team_Project2 | da4b803731bf6fddc503d881db1c76b0b3effdaa | [
"Apache-2.0"
] | 1 | 2021-11-09T20:31:55.000Z | 2021-11-09T20:31:55.000Z | trend/templatetags/trendfilter.py | power3247/Team_Project2 | ad15185a193e6636cfaed94b4dd8482a45fdae78 | [
"Apache-2.0"
] | null | null | null | trend/templatetags/trendfilter.py | power3247/Team_Project2 | ad15185a193e6636cfaed94b4dd8482a45fdae78 | [
"Apache-2.0"
] | 3 | 2021-08-11T03:34:30.000Z | 2021-10-05T05:12:01.000Z | from django import template
register = template.Library()
@register.filter()
def ranges(abc):
return abc[0]
@register.filter()
def rangess(abc):
return abc[1]
| 12.285714 | 29 | 0.697674 | 23 | 172 | 5.217391 | 0.608696 | 0.233333 | 0.283333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.174419 | 172 | 13 | 30 | 13.230769 | 0.830986 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
29eafae30046f77471e7515d1c1f0eac69d08aab | 19,472 | py | Python | mix_gamma_vi/core.py | IsaacBreen/MixGammaVI | 89e43f6aea4bfad3a5eb5cfb5ad63981a3adc965 | [
"MIT"
] | 2 | 2020-04-28T11:17:57.000Z | 2021-01-08T09:27:54.000Z | mix_gamma_vi/core.py | IsaacBreen/MixGammaVI | 89e43f6aea4bfad3a5eb5cfb5ad63981a3adc965 | [
"MIT"
] | null | null | null | mix_gamma_vi/core.py | IsaacBreen/MixGammaVI | 89e43f6aea4bfad3a5eb5cfb5ad63981a3adc965 | [
"MIT"
] | null | null | null | import tensorflow as tf
import tensorflow_probability as tfp
import numpy as np
import pandas as pd
import scipy
tfd = tfp.distributions
lgamma = tf.math.lgamma
polygamma = tf.math.polygamma
log = tf.math.log
exp = tf.math.exp
reduce_sum = tf.math.reduce_sum
reduce_mean = tf.math.reduce_mean
dtype = tf.float64
intdty... | 44.969977 | 150 | 0.617348 | 2,860 | 19,472 | 3.946853 | 0.076923 | 0.023565 | 0.04961 | 0.036145 | 0.879872 | 0.864724 | 0.840539 | 0.822023 | 0.806077 | 0.789865 | 0 | 0.029177 | 0.258987 | 19,472 | 432 | 151 | 45.074074 | 0.753136 | 0.08335 | 0 | 0.697279 | 0 | 0 | 0.009887 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02381 | false | 0 | 0.017007 | 0.006803 | 0.07483 | 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 |
d9b4fac82a9e216491d750115edb71a036885cf6 | 261,030 | py | Python | instances/passenger_demand/pas-20210422-1717-int16e/74.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int16e/74.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int16e/74.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 30505
passenger_arriving = (
(8, 6, 10, 8, 6, 1, 3, 1, 4, 2, 0, 0, 0, 7, 0, 1, 5, 11, 4, 4, 1, 1, 1, 0, 2, 0), # 0
(5, 6, 3, 8, 7, 1, 4, 1, 5, 0, 1, 2, 0, 12, 8, 4, 3, 9, 6, 4, 5, 5, 1, 1, 1, 0), # 1
(12, 8, 7, 6, 3, 1, 2, 2, 1, 3, 0, 0, 0, 9, 9, 5, 4, 10, 10, 6, 2, 4, 2, 2, 2... | 279.176471 | 491 | 0.771965 | 32,987 | 261,030 | 6.108315 | 0.230485 | 0.353756 | 0.339463 | 0.643192 | 0.365731 | 0.360064 | 0.35922 | 0.359185 | 0.359185 | 0.359185 | 0 | 0.851542 | 0.094755 | 261,030 | 934 | 492 | 279.475375 | 0.001181 | 0.015366 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9b81b3a08dca46c6d17d3a2e91064b2c847e2cb | 5,434 | py | Python | training code/paviac/mdcpe/testcode/logitsmulti.py | littlejgogo/MDCPE-co-training-method-for-hyperspectral-image-classification | b7d367abd97ada77adc45a1120149cf247f9713c | [
"Apache-2.0"
] | 4 | 2018-12-08T08:15:23.000Z | 2020-10-07T10:00:22.000Z | training code/paviac/mdcpe/testcode/logitsmulti.py | littlejgogo/MDCPE-co-training-method-for-hyperspectral-image-classification | b7d367abd97ada77adc45a1120149cf247f9713c | [
"Apache-2.0"
] | null | null | null | training code/paviac/mdcpe/testcode/logitsmulti.py | littlejgogo/MDCPE-co-training-method-for-hyperspectral-image-classification | b7d367abd97ada77adc45a1120149cf247f9713c | [
"Apache-2.0"
] | 6 | 2019-01-11T17:01:49.000Z | 2022-02-05T04:48:59.000Z | # import tensorflow as tf
# import cnn_indices
#
# data = cnn_indices.read_data_sets()
# import final_index
# import numpy as np
# saver = tf.train.import_meta_graph('/home/asdf/Documents/juyan/paper/paviac/mdcpe/contrastive model/5/CNN/'
# 'CNN0511.ckpt.meta')
# batch_size = 2000
# p... | 46.050847 | 110 | 0.689915 | 851 | 5,434 | 4.218566 | 0.128085 | 0.030084 | 0.047354 | 0.061281 | 0.972145 | 0.964903 | 0.964903 | 0.964903 | 0.964903 | 0.964903 | 0 | 0.032223 | 0.149061 | 5,434 | 117 | 111 | 46.444444 | 0.744161 | 0.556496 | 0 | 0 | 0 | 0.046512 | 0.13436 | 0.101412 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.116279 | 0 | 0.116279 | 0.023256 | 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 |
d9d47eeaf0aa807edc7f45d6bfc5eed81eca028b | 44,687 | py | Python | src/tests/api/test_checkin.py | hansegucker/pretix | 1d32d7a2d213834781385052d1d92b392bf1386a | [
"Apache-2.0"
] | null | null | null | src/tests/api/test_checkin.py | hansegucker/pretix | 1d32d7a2d213834781385052d1d92b392bf1386a | [
"Apache-2.0"
] | 27 | 2021-11-11T10:43:18.000Z | 2022-03-05T11:07:31.000Z | src/tests/api/test_checkin.py | thegcat/pretix | 451d3fce0575d85a0ea93fd64aa0631feaced967 | [
"Apache-2.0"
] | 1 | 2021-08-04T13:34:09.000Z | 2021-08-04T13:34:09.000Z | #
# This file is part of pretix (Community Edition).
#
# Copyright (C) 2014-2020 Raphael Michel and contributors
# Copyright (C) 2020-2021 rami.io GmbH and contributors
#
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General
# Public License as published by ... | 37.270225 | 131 | 0.631929 | 5,360 | 44,687 | 5.141791 | 0.077052 | 0.056604 | 0.045174 | 0.063244 | 0.847605 | 0.833708 | 0.809978 | 0.78135 | 0.76992 | 0.747134 | 0 | 0.019016 | 0.203325 | 44,687 | 1,198 | 132 | 37.301336 | 0.755119 | 0.03077 | 0 | 0.699609 | 0 | 0 | 0.219881 | 0.13508 | 0 | 0 | 0 | 0 | 0.201566 | 1 | 0.042074 | false | 0 | 0.013699 | 0.002935 | 0.062622 | 0.000978 | 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 |
8a0d94d0139553ebf6bd1d478b7e6e242e1deadf | 2,744 | py | Python | oscar/lib/python2.7/site-packages/phonenumbers/data/region_US.py | AMuratTuran/mkn | 557086426773ced10d82c969304bd349414a601e | [
"BSD-3-Clause"
] | 4 | 2018-10-19T04:36:20.000Z | 2020-02-13T16:14:09.000Z | oscar/lib/python2.7/site-packages/phonenumbers/data/region_US.py | AMuratTuran/mkn | 557086426773ced10d82c969304bd349414a601e | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/phonenumbers/data/region_US.py | AMuratTuran/mkn | 557086426773ced10d82c969304bd349414a601e | [
"BSD-3-Clause"
] | null | null | null | """Auto-generated file, do not edit by hand. US metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_US = PhoneMetadata(id='US', country_code=1, international_prefix='011',
general_desc=PhoneNumberDesc(national_number_pattern='[2-9]\\d{9}', possible_length=(10,), poss... | 152.444444 | 735 | 0.646137 | 576 | 2,744 | 2.970486 | 0.232639 | 0.014027 | 0.018703 | 0.023378 | 0.675628 | 0.645821 | 0.579193 | 0.547049 | 0.52367 | 0.52367 | 0 | 0.290053 | 0.040087 | 2,744 | 17 | 736 | 161.411765 | 0.359529 | 0.019315 | 0 | 0 | 1 | 0.266667 | 0.537058 | 0.489013 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a156e54845aa0f45233db3d98e24bc4f47a6d85 | 187 | py | Python | apps/employees/admin.py | wis-software/office-manager | 0342d2cf9b3e4779f3e3d2a4faba6768e95047b1 | [
"MIT"
] | 7 | 2017-09-28T11:20:43.000Z | 2020-01-18T23:23:52.000Z | apps/employees/admin.py | wis-software/office-manager | 0342d2cf9b3e4779f3e3d2a4faba6768e95047b1 | [
"MIT"
] | 1 | 2019-03-12T18:16:12.000Z | 2019-03-12T20:17:40.000Z | apps/employees/admin.py | wis-software/office-manager | 0342d2cf9b3e4779f3e3d2a4faba6768e95047b1 | [
"MIT"
] | 7 | 2017-09-27T11:12:25.000Z | 2019-04-04T13:24:01.000Z | from django.contrib import admin
from apps.employees import models
admin.site.register(models.Specialization)
admin.site.register(models.Position)
admin.site.register(models.Employee)
| 20.777778 | 42 | 0.834225 | 25 | 187 | 6.24 | 0.52 | 0.173077 | 0.326923 | 0.442308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074866 | 187 | 8 | 43 | 23.375 | 0.901734 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
8a16293f7869601cb9a0001961342236a8e78c7a | 41 | py | Python | handlers/gender_person_in_photo/__init__.py | AleksZavg/funny-telegram-bot | ba670567e39a2e49e20651f06f2611734f73b741 | [
"MIT"
] | 2 | 2021-09-29T15:14:33.000Z | 2022-02-07T18:10:59.000Z | handlers/gender_person_in_photo/__init__.py | alekszavg/funny-telegram-bot | ba670567e39a2e49e20651f06f2611734f73b741 | [
"MIT"
] | null | null | null | handlers/gender_person_in_photo/__init__.py | alekszavg/funny-telegram-bot | ba670567e39a2e49e20651f06f2611734f73b741 | [
"MIT"
] | null | null | null | from . import gender_person_in_photo_func | 41 | 41 | 0.902439 | 7 | 41 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.868421 | 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 |
8a1ddaef806b947add6a4cccc80a306a6df723b7 | 9,830 | py | Python | hs_core/tests/api/views/test_share_resource.py | tommac7/hydroshare | 87c4543a55f98103d2614bf4c47f7904c3f9c029 | [
"BSD-3-Clause"
] | null | null | null | hs_core/tests/api/views/test_share_resource.py | tommac7/hydroshare | 87c4543a55f98103d2614bf4c47f7904c3f9c029 | [
"BSD-3-Clause"
] | null | null | null | hs_core/tests/api/views/test_share_resource.py | tommac7/hydroshare | 87c4543a55f98103d2614bf4c47f7904c3f9c029 | [
"BSD-3-Clause"
] | null | null | null | import json
from django.test import TestCase, RequestFactory
from django.contrib.auth.models import Group
from django.core.urlresolvers import reverse
from rest_framework import status
from rest_framework.exceptions import PermissionDenied
from hs_core import hydroshare
from hs_core.views import share_resource_with_... | 46.587678 | 98 | 0.663276 | 1,215 | 9,830 | 5.120165 | 0.11358 | 0.037132 | 0.053046 | 0.043401 | 0.826234 | 0.811445 | 0.779617 | 0.733162 | 0.704549 | 0.649896 | 0 | 0.002025 | 0.246389 | 9,830 | 210 | 99 | 46.809524 | 0.837743 | 0.144354 | 0 | 0.531034 | 0 | 0 | 0.111867 | 0.038085 | 0 | 0 | 0 | 0 | 0.151724 | 1 | 0.048276 | false | 0.013793 | 0.062069 | 0 | 0.117241 | 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 |
8a5a8d9f64793da95462f03d3b0dfa39805ec1d2 | 301 | py | Python | Python/main.py | wurui1994/test | 027cef75f98dbb252b322113dacd4a9a6997d84f | [
"MIT"
] | 27 | 2017-12-19T09:15:36.000Z | 2021-07-30T13:02:00.000Z | Python/main.py | wurui1994/test | 027cef75f98dbb252b322113dacd4a9a6997d84f | [
"MIT"
] | null | null | null | Python/main.py | wurui1994/test | 027cef75f98dbb252b322113dacd4a9a6997d84f | [
"MIT"
] | 29 | 2018-04-10T13:25:54.000Z | 2021-12-24T01:51:03.000Z | # [callable(getattr(__builtins__, attr)) for attr in dir(__builtins__)]
# [(attr,type(getattr(__builtins__, attr))) for attr in dir(__builtins__)]
# print('hello'*100)
class Test:
def __repr__(self):
return "test"
def __str__(self):
return "test2"
t = Test()
print(t) | 25.083333 | 74 | 0.641196 | 38 | 301 | 4.447368 | 0.526316 | 0.213018 | 0.224852 | 0.260355 | 0.461538 | 0.461538 | 0.461538 | 0.461538 | 0 | 0 | 0 | 0.016807 | 0.209302 | 301 | 12 | 75 | 25.083333 | 0.693277 | 0.534884 | 0 | 0 | 0 | 0 | 0.065693 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 0.714286 | 0.142857 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8aa76f293d5693ea81a36cc3f0028a4aa189ed96 | 19,241 | py | Python | tests/compiler/push_down/test_push_down_div.py | CCD-HRI/congregation | a552856b03a64a4295792184107c4e529ca3f4ae | [
"MIT"
] | 3 | 2020-10-05T16:30:15.000Z | 2021-01-22T13:38:02.000Z | tests/compiler/push_down/test_push_down_div.py | CCD-HRI/congregation | a552856b03a64a4295792184107c4e529ca3f4ae | [
"MIT"
] | null | null | null | tests/compiler/push_down/test_push_down_div.py | CCD-HRI/congregation | a552856b03a64a4295792184107c4e529ca3f4ae | [
"MIT"
] | 1 | 2021-02-19T12:40:57.000Z | 2021-02-19T12:40:57.000Z | from congregation.lang import *
from congregation.dag import Dag
from congregation.comp import PushDown
from tests.utils import create_cols, compare_to_expected
import pytest
"""
Tests for correct propagation of the following relation-level
and column-level attributes after the PushDown() phase of the
compiler has be... | 33.75614 | 94 | 0.327218 | 1,594 | 19,241 | 3.675031 | 0.050188 | 0.031751 | 0.175316 | 0.076477 | 0.932742 | 0.932742 | 0.932742 | 0.9324 | 0.925572 | 0.925572 | 0 | 0.045144 | 0.491139 | 19,241 | 569 | 95 | 33.815466 | 0.553161 | 0 | 0 | 0.59116 | 0 | 0 | 0.20446 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003683 | false | 0 | 0.009208 | 0 | 0.012891 | 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 |
8abb457767f2ee43eb1245effcb9cf75c27ca6e4 | 117 | py | Python | malwareconfig/komand_malwareconfig/actions/__init__.py | killstrelok/insightconnect-plugins | 911358925f4233ab273dbd8172e8b7b9188ebc01 | [
"MIT"
] | 1 | 2020-03-18T09:14:55.000Z | 2020-03-18T09:14:55.000Z | malwareconfig/komand_malwareconfig/actions/__init__.py | killstrelok/insightconnect-plugins | 911358925f4233ab273dbd8172e8b7b9188ebc01 | [
"MIT"
] | 1 | 2021-02-23T23:57:37.000Z | 2021-02-23T23:57:37.000Z | malwareconfig/komand_malwareconfig/actions/__init__.py | killstrelok/insightconnect-plugins | 911358925f4233ab273dbd8172e8b7b9188ebc01 | [
"MIT"
] | null | null | null | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .search.action import Search
from .view_config.action import ViewConfig
| 29.25 | 42 | 0.803419 | 18 | 117 | 5.166667 | 0.777778 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145299 | 117 | 3 | 43 | 39 | 0.93 | 0.316239 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8ac2e2a3bae0a9aed3025f15891b136d46503f25 | 48 | py | Python | deepSI/exp_design/__init__.py | GerbenBeintema/deepSI | 580711210398064bb7f01e41d08b7a248a88b35b | [
"BSD-3-Clause"
] | 12 | 2021-03-23T20:30:29.000Z | 2022-03-01T12:22:41.000Z | deepSI/exp_design/__init__.py | csutakbalazs/deepSI | 895030225937fb5fcbd4fc0eaba6c306ec0b5820 | [
"BSD-3-Clause"
] | 2 | 2022-01-12T14:05:13.000Z | 2022-03-01T10:18:34.000Z | deepSI/exp_design/__init__.py | csutakbalazs/deepSI | 895030225937fb5fcbd4fc0eaba6c306ec0b5820 | [
"BSD-3-Clause"
] | 7 | 2021-05-26T15:26:31.000Z | 2022-02-03T00:43:31.000Z |
from deepSI.exp_design.first import var_addive | 16 | 46 | 0.854167 | 8 | 48 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 3 | 46 | 16 | 0.906977 | 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 |
76ee074f3c71002d79cc08e264f610d33e8fe720 | 35,817 | py | Python | tests/jstests/24_wallet_coins_send.py | xmonader/pytfchain | ef28238eeaedda1dd5ea8055ea6dc2ca6baa263c | [
"Apache-2.0"
] | null | null | null | tests/jstests/24_wallet_coins_send.py | xmonader/pytfchain | ef28238eeaedda1dd5ea8055ea6dc2ca6baa263c | [
"Apache-2.0"
] | null | null | null | tests/jstests/24_wallet_coins_send.py | xmonader/pytfchain | ef28238eeaedda1dd5ea8055ea6dc2ca6baa263c | [
"Apache-2.0"
] | null | null | null | from Jumpscale import j
import pytest
from Jumpscale.clients.blockchain.tfchain.stub.ExplorerClientStub import TFChainExplorerGetClientStub
def main(self):
"""
to run:
js_shell 'j.clients.tfchain.test(name="wallet_coins_send")'
"""
# create a tfchain client for devnet
c = j.clients.tfch... | 267.291045 | 10,198 | 0.827512 | 2,304 | 35,817 | 12.836372 | 0.175781 | 0.006289 | 0.009129 | 0.011767 | 0.632933 | 0.622823 | 0.600947 | 0.572071 | 0.500423 | 0.472358 | 0 | 0.351095 | 0.040093 | 35,817 | 133 | 10,199 | 269.300752 | 0.509118 | 0.066672 | 0 | 0.35443 | 0 | 0.075949 | 0.885819 | 0.843053 | 0 | 0 | 0 | 0 | 0.291139 | 1 | 0.012658 | false | 0 | 0.037975 | 0 | 0.050633 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a0a00c1ec8cdd17a696e7480bb482b6e7f94549 | 40 | py | Python | Hello.py | Ivl6/MB215Lab1 | a4ad7ac7692f1583de83c773fed56998f7f7a0ed | [
"MIT"
] | null | null | null | Hello.py | Ivl6/MB215Lab1 | a4ad7ac7692f1583de83c773fed56998f7f7a0ed | [
"MIT"
] | null | null | null | Hello.py | Ivl6/MB215Lab1 | a4ad7ac7692f1583de83c773fed56998f7f7a0ed | [
"MIT"
] | null | null | null | print("Hello World from Ian van Loenen") | 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 |
0a4368b72147642fb1eaa4baf650ef234ca83e73 | 10,690 | py | Python | python/GafferUITest/LinearContainerTest.py | ddesmond/gaffer | 4f25df88103b7893df75865ea919fb035f92bac0 | [
"BSD-3-Clause"
] | 561 | 2016-10-18T04:30:48.000Z | 2022-03-30T06:52:04.000Z | python/GafferUITest/LinearContainerTest.py | ddesmond/gaffer | 4f25df88103b7893df75865ea919fb035f92bac0 | [
"BSD-3-Clause"
] | 1,828 | 2016-10-14T19:01:46.000Z | 2022-03-30T16:07:19.000Z | python/GafferUITest/LinearContainerTest.py | ddesmond/gaffer | 4f25df88103b7893df75865ea919fb035f92bac0 | [
"BSD-3-Clause"
] | 120 | 2016-10-18T15:19:13.000Z | 2021-12-20T16:28:23.000Z | ##########################################################################
#
# Copyright (c) 2011-2012, John Haddon. All rights reserved.
# Copyright (c) 2012-2013, Image Engine Design Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted prov... | 49.036697 | 133 | 0.677549 | 1,395 | 10,690 | 5.18638 | 0.146953 | 0.097305 | 0.112785 | 0.089565 | 0.773324 | 0.739876 | 0.734762 | 0.72094 | 0.703801 | 0.662336 | 0 | 0.051764 | 0.154256 | 10,690 | 217 | 134 | 49.262673 | 0.748479 | 0.157905 | 0 | 0.465116 | 0 | 0 | 0.011909 | 0 | 0 | 0 | 0 | 0 | 0.527132 | 1 | 0.054264 | false | 0 | 0.046512 | 0 | 0.108527 | 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 |
6a71da8deeb30e3f524a0b1f7c0ca0f8b6f637e0 | 82 | py | Python | src/wishlist/__init__.py | Zeebrow/wish | 9a0efeb70e1646ed12cac03b2419cbeca10e3c1c | [
"MIT"
] | null | null | null | src/wishlist/__init__.py | Zeebrow/wish | 9a0efeb70e1646ed12cac03b2419cbeca10e3c1c | [
"MIT"
] | 3 | 2021-09-26T11:33:24.000Z | 2021-10-16T01:39:19.000Z | src/wishlist/__init__.py | Zeebrow/wish | 9a0efeb70e1646ed12cac03b2419cbeca10e3c1c | [
"MIT"
] | null | null | null | from .wish.wish import Wish
from .wish.utils import get_wishes, check_prj_readme
| 27.333333 | 53 | 0.817073 | 14 | 82 | 4.571429 | 0.642857 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 82 | 2 | 54 | 41 | 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 |
6a8bff0af77b6a1db5b96a8cf8716ddd504b4f49 | 24 | py | Python | common_utils/cv_viewer/__init__.py | cm107/common_utils | 4b911efe9f8cdec16ecb2a983e16f772be05076c | [
"MIT"
] | 1 | 2020-03-08T05:05:58.000Z | 2020-03-08T05:05:58.000Z | common_utils/cv_viewer/__init__.py | cm107/common_utils | 4b911efe9f8cdec16ecb2a983e16f772be05076c | [
"MIT"
] | 1 | 2021-02-18T13:36:07.000Z | 2021-02-18T13:36:07.000Z | streamer/cv_viewer/__init__.py | cm107/streamer | 9c8a2bfaeba7c7af9e98f4ad10a2f8d70232ec25 | [
"MIT"
] | null | null | null | from .cv_viewer import * | 24 | 24 | 0.791667 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6abe43f5ae1af482cd8d0bd5bfcc53a2edb439a9 | 185 | py | Python | src/genres/admin.py | kostinbrodorg/open-library | bbceb953b2d78d7eb0f2c64b81c6deac13d73531 | [
"MIT"
] | null | null | null | src/genres/admin.py | kostinbrodorg/open-library | bbceb953b2d78d7eb0f2c64b81c6deac13d73531 | [
"MIT"
] | null | null | null | src/genres/admin.py | kostinbrodorg/open-library | bbceb953b2d78d7eb0f2c64b81c6deac13d73531 | [
"MIT"
] | null | null | null | from django.contrib import admin
from genres.models import Genres
class AdminGenres(admin.ModelAdmin):
pass
admin.site.register(Genres, AdminGenres)
# Register your models here.
| 18.5 | 40 | 0.794595 | 24 | 185 | 6.125 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 185 | 9 | 41 | 20.555556 | 0.91875 | 0.140541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 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 |
0a72dcff39d83e6688de6f0b173b4db3499607a9 | 4,254 | py | Python | tests/test_torch.py | globophobe/fracdiff | 799ed3d751bd204fad345f654aab907c34a54764 | [
"BSD-3-Clause"
] | 1 | 2021-05-30T14:15:04.000Z | 2021-05-30T14:15:04.000Z | tests/test_torch.py | globophobe/fracdiff | 799ed3d751bd204fad345f654aab907c34a54764 | [
"BSD-3-Clause"
] | null | null | null | tests/test_torch.py | globophobe/fracdiff | 799ed3d751bd204fad345f654aab907c34a54764 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import pytest
import torch
from torch.testing import assert_close
import fracdiff
from fracdiff.torch import Fracdiff
from fracdiff.torch import fdiff
class TestTorchFracdiff:
@pytest.mark.parametrize("d", [0.1, 0.5, 1])
@pytest.mark.parametrize("mode", ["same", "valid"])
def test_torc... | 35.157025 | 86 | 0.61166 | 547 | 4,254 | 4.627057 | 0.111517 | 0.03951 | 0.047412 | 0.059265 | 0.890952 | 0.890952 | 0.864085 | 0.864085 | 0.864085 | 0.826156 | 0 | 0.028752 | 0.255994 | 4,254 | 120 | 87 | 35.45 | 0.770932 | 0 | 0 | 0.670103 | 0 | 0 | 0.043253 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 1 | 0.082474 | false | 0 | 0.072165 | 0 | 0.164948 | 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 |
0a99413080e43b08d7b38bd17702ac7f6c0e4be1 | 32 | py | Python | src/ml_helper/__init__.py | bjoern-hempel/pytorch-classification | 8a4bd6aef488360b88234b008d1d7308469bc5d8 | [
"MIT"
] | null | null | null | src/ml_helper/__init__.py | bjoern-hempel/pytorch-classification | 8a4bd6aef488360b88234b008d1d7308469bc5d8 | [
"MIT"
] | null | null | null | src/ml_helper/__init__.py | bjoern-hempel/pytorch-classification | 8a4bd6aef488360b88234b008d1d7308469bc5d8 | [
"MIT"
] | null | null | null | # __init__.py
from .ml import *
| 10.666667 | 17 | 0.6875 | 5 | 32 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 32 | 2 | 18 | 16 | 0.692308 | 0.34375 | 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 |
0ada180d1eb3546a38d78ee5849b411444244242 | 19,461 | py | Python | tests/ignite/contrib/handlers/test_tensorboard_logger.py | sherry0219/ignite | a4617c6d24f5c095de4e99ba82f6e130350fa2a2 | [
"BSD-3-Clause"
] | 1 | 2020-09-18T05:16:23.000Z | 2020-09-18T05:16:23.000Z | tests/ignite/contrib/handlers/test_tensorboard_logger.py | ANUBHAVNATANI/ignite | e96203f05a5d2da9226169fbab13d56ece675e41 | [
"BSD-3-Clause"
] | null | null | null | tests/ignite/contrib/handlers/test_tensorboard_logger.py | ANUBHAVNATANI/ignite | e96203f05a5d2da9226169fbab13d56ece675e41 | [
"BSD-3-Clause"
] | null | null | null | import os
import tempfile
import shutil
import math
import pytest
from mock import MagicMock, call, ANY, Mock
import torch
from ignite.engine import Engine, Events, State
from ignite.contrib.handlers.tensorboard_logger import *
@pytest.fixture
def dirname():
path = tempfile.mkdtemp()
yield path
shutil... | 33.553448 | 119 | 0.718565 | 2,539 | 19,461 | 5.251674 | 0.087436 | 0.074996 | 0.062397 | 0.048448 | 0.826909 | 0.800285 | 0.779886 | 0.758587 | 0.742463 | 0.722214 | 0 | 0.017456 | 0.172807 | 19,461 | 579 | 120 | 33.611399 | 0.810846 | 0.00334 | 0 | 0.696742 | 0 | 0 | 0.096478 | 0.01846 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.090226 | false | 0 | 0.030075 | 0.010025 | 0.130326 | 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 |
0af400e0090461c6b9311c218b93fe9739354f7e | 51,574 | py | Python | urbansprawl/osm/overpass.py | welegent2010/urban-sprawl | b26bdf7889fdba1382259be7c14e7e0d8f535cd9 | [
"MIT"
] | 55 | 2018-01-12T10:45:41.000Z | 2022-01-25T16:07:42.000Z | urbansprawl/osm/overpass.py | welegent2010/urban-sprawl | b26bdf7889fdba1382259be7c14e7e0d8f535cd9 | [
"MIT"
] | 21 | 2018-06-08T21:12:53.000Z | 2019-03-26T10:29:15.000Z | urbansprawl/osm/overpass.py | welegent2010/urban-sprawl | b26bdf7889fdba1382259be7c14e7e0d8f535cd9 | [
"MIT"
] | 20 | 2018-06-11T21:35:38.000Z | 2022-03-29T08:39:06.000Z | ###################################################################################################
# Repository: https://github.com/lgervasoni/urbansprawl
# MIT License
###################################################################################################
import time
import geopandas as gpd
from shapely.... | 40.229329 | 174 | 0.715264 | 7,380 | 51,574 | 4.87981 | 0.062195 | 0.023214 | 0.017327 | 0.01866 | 0.873629 | 0.867687 | 0.849749 | 0.838225 | 0.826285 | 0.810235 | 0 | 0.007161 | 0.165994 | 51,574 | 1,282 | 175 | 40.229329 | 0.830098 | 0.447377 | 0 | 0.644269 | 0 | 0.023715 | 0.19006 | 0.068895 | 0 | 0 | 0 | 0 | 0.003953 | 1 | 0.033597 | false | 0.029644 | 0.01581 | 0 | 0.08498 | 0.031621 | 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 |
0af90170eecb6acfb4a67574662a0f848b6127e6 | 11,275 | py | Python | amgut/test/test_add_sample.py | zoechallacombe/american-gut-web | 800f0045b98764b4ecfe5f442a03ca8938769eb5 | [
"BSD-3-Clause"
] | null | null | null | amgut/test/test_add_sample.py | zoechallacombe/american-gut-web | 800f0045b98764b4ecfe5f442a03ca8938769eb5 | [
"BSD-3-Clause"
] | null | null | null | amgut/test/test_add_sample.py | zoechallacombe/american-gut-web | 800f0045b98764b4ecfe5f442a03ca8938769eb5 | [
"BSD-3-Clause"
] | null | null | null | from unittest import main
import datetime
from amgut.test.tornado_test_base import TestHandlerBase
from amgut.connections import ag_data
from tornado import escape
from amgut.lib.util import rollback
import urllib.parse as parse
class TestAddSample(TestHandlerBase):
def test_get_not_authed(self):
response... | 42.070896 | 78 | 0.576053 | 1,203 | 11,275 | 5.166251 | 0.133832 | 0.034755 | 0.057924 | 0.060821 | 0.864521 | 0.81078 | 0.778922 | 0.770394 | 0.756235 | 0.725986 | 0 | 0.080756 | 0.314678 | 11,275 | 267 | 79 | 42.228464 | 0.723567 | 0.065455 | 0 | 0.650943 | 0 | 0 | 0.269293 | 0.130174 | 0 | 0 | 0 | 0 | 0.221698 | 1 | 0.04717 | false | 0 | 0.033019 | 0 | 0.084906 | 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 |
7c2679e8531b842b7dc0c5dbba921a2b5ca647bb | 226 | py | Python | rulm/models/n_gram/__init__.py | IlyaGusev/rulm | 4e78a495eba6cd6ea1fea839463c8145ed7051f2 | [
"Apache-2.0"
] | null | null | null | rulm/models/n_gram/__init__.py | IlyaGusev/rulm | 4e78a495eba6cd6ea1fea839463c8145ed7051f2 | [
"Apache-2.0"
] | null | null | null | rulm/models/n_gram/__init__.py | IlyaGusev/rulm | 4e78a495eba6cd6ea1fea839463c8145ed7051f2 | [
"Apache-2.0"
] | null | null | null | from rulm.models.n_gram.n_gram_container import NGramContainer, DictNGramContainer, TrieNGramContainer
from rulm.models.n_gram.predictions_cache import PredictionsCache
from rulm.models.n_gram.n_gram import NGramLanguageModel
| 56.5 | 102 | 0.889381 | 30 | 226 | 6.466667 | 0.466667 | 0.128866 | 0.216495 | 0.231959 | 0.345361 | 0.247423 | 0.247423 | 0 | 0 | 0 | 0 | 0 | 0.061947 | 226 | 3 | 103 | 75.333333 | 0.915094 | 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 |
7c607de0d4f4dff91534c8049883590e1beb1e44 | 12,560 | py | Python | mqbench/fusion_method.py | PannenetsF/MQBench | 4336493ded0bf2bb9f11377e9105b14ec6191c09 | [
"Apache-2.0"
] | 179 | 2021-09-22T08:44:51.000Z | 2022-03-31T08:09:43.000Z | mqbench/fusion_method.py | PannenetsF/MQBench | 4336493ded0bf2bb9f11377e9105b14ec6191c09 | [
"Apache-2.0"
] | 46 | 2021-09-29T03:04:30.000Z | 2022-03-31T11:53:23.000Z | mqbench/fusion_method.py | PannenetsF/MQBench | 4336493ded0bf2bb9f11377e9105b14ec6191c09 | [
"Apache-2.0"
] | 42 | 2021-09-24T16:08:26.000Z | 2022-03-30T10:21:34.000Z | import torch
import torch.nn.intrinsic.qat as nniqat
from torch.nn.utils.fusion import fuse_conv_bn_eval, fuse_linear_bn_eval
from torch.quantization.fx.utils import _parent_name
import mqbench.nn.intrinsic as qnni
import mqbench.nn.intrinsic.qat as qnniqat
import mqbench.nn.qat as qnnqat
from mqbench.utils.registry i... | 50.24 | 160 | 0.72285 | 1,645 | 12,560 | 5.179939 | 0.082675 | 0.117474 | 0.035207 | 0.034503 | 0.821265 | 0.756015 | 0.73536 | 0.719634 | 0.70027 | 0.70027 | 0 | 0.003053 | 0.191561 | 12,560 | 250 | 161 | 50.24 | 0.836124 | 0.066162 | 0 | 0.628019 | 0 | 0 | 0.008542 | 0 | 0 | 0 | 0 | 0 | 0.019324 | 1 | 0.048309 | false | 0 | 0.048309 | 0 | 0.096618 | 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 |
7c671555ed43095390d33df626672f3e3092f81c | 152 | py | Python | main.py | dlavery/cam-api | ab4b0f83b5a7bd80778881540b19dfd64f3f0a05 | [
"MIT"
] | null | null | null | main.py | dlavery/cam-api | ab4b0f83b5a7bd80778881540b19dfd64f3f0a05 | [
"MIT"
] | null | null | null | main.py | dlavery/cam-api | ab4b0f83b5a7bd80778881540b19dfd64f3f0a05 | [
"MIT"
] | null | null | null | from app import app
from app import mongo
from app import runPort
import routes
if __name__ == '__main__':
app.run(port=int(runPort), debug=False)
| 19 | 43 | 0.75 | 24 | 152 | 4.416667 | 0.583333 | 0.198113 | 0.367925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164474 | 152 | 7 | 44 | 21.714286 | 0.834646 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
7ca2ab48dbfe368b6017e0b3df9d31ba45d032a8 | 643 | py | Python | lib/hachoir/parser/image/__init__.py | 0x20Man/Watcher3 | 4656b42bc5879a3741bb95f534b7c6612a25264d | [
"Apache-2.0"
] | 320 | 2017-03-28T23:33:45.000Z | 2022-02-17T08:45:01.000Z | lib/hachoir/parser/image/__init__.py | 0x20Man/Watcher3 | 4656b42bc5879a3741bb95f534b7c6612a25264d | [
"Apache-2.0"
] | 300 | 2017-03-28T19:22:54.000Z | 2021-12-01T01:11:55.000Z | lib/hachoir/parser/image/__init__.py | 0x20Man/Watcher3 | 4656b42bc5879a3741bb95f534b7c6612a25264d | [
"Apache-2.0"
] | 90 | 2017-03-29T16:12:43.000Z | 2022-03-01T06:23:48.000Z | from hachoir.parser.image.bmp import BmpFile # noqa
from hachoir.parser.image.gif import GifFile # noqa
from hachoir.parser.image.ico import IcoFile # noqa
from hachoir.parser.image.jpeg import JpegFile # noqa
from hachoir.parser.image.pcx import PcxFile # noqa
from hachoir.parser.image.psd import PsdFile # noqa
... | 49.461538 | 54 | 0.794712 | 97 | 643 | 5.257732 | 0.309278 | 0.258824 | 0.4 | 0.517647 | 0.560784 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003578 | 0.130638 | 643 | 12 | 55 | 53.583333 | 0.908766 | 0.091757 | 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 |
7cd91cd2b1fc442475061bf39f25a20dae2bdf47 | 105 | py | Python | app/deploy/__init__.py | spark8103/deploy | 7a99c5fcb11a93429814d2a519dca5ea3f99ea3a | [
"MIT"
] | 2 | 2017-11-10T18:06:36.000Z | 2018-01-25T13:53:10.000Z | app/deploy/__init__.py | spark8103/deploy | 7a99c5fcb11a93429814d2a519dca5ea3f99ea3a | [
"MIT"
] | null | null | null | app/deploy/__init__.py | spark8103/deploy | 7a99c5fcb11a93429814d2a519dca5ea3f99ea3a | [
"MIT"
] | null | null | null | # coding: utf-8
from flask import Blueprint
deploy = Blueprint('deploy', __name__)
from . import views
| 15 | 38 | 0.742857 | 14 | 105 | 5.285714 | 0.714286 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.161905 | 105 | 6 | 39 | 17.5 | 0.829545 | 0.12381 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
7ce02ae620bd9d311c204a136295ffa718aacd22 | 9,305 | py | Python | toolbox/imgCombine.py | neelabh17/MAVI-Face | 5dbf105b51a8b90203cd144f2fe671770d38eb81 | [
"MIT"
] | 6 | 2020-05-04T08:21:05.000Z | 2020-07-03T13:32:56.000Z | toolbox/imgCombine.py | neelabh17/MAVI-Face | 5dbf105b51a8b90203cd144f2fe671770d38eb81 | [
"MIT"
] | 4 | 2020-04-30T00:57:54.000Z | 2020-06-06T09:46:03.000Z | toolbox/imgCombine.py | neelabh17/MAVI-Face | 5dbf105b51a8b90203cd144f2fe671770d38eb81 | [
"MIT"
] | 3 | 2020-05-04T08:21:10.000Z | 2020-07-12T13:36:45.000Z | import os
from os.path import join
from toolbox.pickleOpers import loadup,save
import cv2
import matplotlib.pyplot as plt
from improveDataset import *
from widerface_evaluate.bbox import bbox_overlaps
import pickle
from toolbox.makedir import make
import numpy as np
def getFPbbox(dets,gt=None):
'''
mode 0 for... | 38.135246 | 116 | 0.592907 | 1,243 | 9,305 | 4.386163 | 0.151247 | 0.005503 | 0.032282 | 0.04237 | 0.80099 | 0.77788 | 0.750183 | 0.750183 | 0.725422 | 0.716068 | 0 | 0.040589 | 0.248039 | 9,305 | 243 | 117 | 38.292181 | 0.738602 | 0.135841 | 0 | 0.583333 | 0 | 0 | 0.091058 | 0.020123 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029762 | false | 0 | 0.059524 | 0 | 0.130952 | 0.083333 | 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 |
7ce4264556871624a4f0316d28dad55de951dbee | 8,268 | py | Python | tests/emm/services/test_evg_cli_service.py | zamj/evg-module-manager | e6029edce023071847ef2ea25af89c31219f41f6 | [
"Apache-2.0"
] | null | null | null | tests/emm/services/test_evg_cli_service.py | zamj/evg-module-manager | e6029edce023071847ef2ea25af89c31219f41f6 | [
"Apache-2.0"
] | null | null | null | tests/emm/services/test_evg_cli_service.py | zamj/evg-module-manager | e6029edce023071847ef2ea25af89c31219f41f6 | [
"Apache-2.0"
] | null | null | null | """Unit tests for evg_cli_service.py."""
from pathlib import Path
from unittest.mock import MagicMock, patch
import pytest
import emm.services.evg_cli_service as under_test
NAMESPACE = "emm.services.evg_cli_service"
def ns(local_path: str) -> str:
return f"{NAMESPACE}.{local_path}"
@pytest.fixture()
def emm_... | 31.92278 | 98 | 0.624093 | 1,038 | 8,268 | 4.5 | 0.103083 | 0.098908 | 0.094626 | 0.047955 | 0.868122 | 0.824663 | 0.79833 | 0.774352 | 0.774352 | 0.747377 | 0 | 0.020778 | 0.26657 | 8,268 | 258 | 99 | 32.046512 | 0.749505 | 0.004112 | 0 | 0.605 | 0 | 0 | 0.246597 | 0.00632 | 0 | 0 | 0 | 0 | 0.09 | 1 | 0.09 | false | 0 | 0.02 | 0.005 | 0.16 | 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 |
6b318e428c2b86068ecd71cf62d9ae38c4a35379 | 68 | py | Python | utils/time.py | arveduil/network-monitoring | c9478f9f9c9e69aba910217c7d0916c23ab9f99b | [
"BSD-2-Clause"
] | null | null | null | utils/time.py | arveduil/network-monitoring | c9478f9f9c9e69aba910217c7d0916c23ab9f99b | [
"BSD-2-Clause"
] | null | null | null | utils/time.py | arveduil/network-monitoring | c9478f9f9c9e69aba910217c7d0916c23ab9f99b | [
"BSD-2-Clause"
] | null | null | null | import datetime
def get_now():
return datetime.datetime.now()
| 11.333333 | 34 | 0.720588 | 9 | 68 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 68 | 5 | 35 | 13.6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
6b33293e32093cc298a434a006e4e043e18b9c6d | 5,847 | py | Python | tests/base/test_builder_control.py | mrb1778/MrBuilder | c11a6ce263d7f53f388794f2794a8fcfb0bb3145 | [
"MIT"
] | 1 | 2019-06-15T02:34:16.000Z | 2019-06-15T02:34:16.000Z | tests/base/test_builder_control.py | mrb1778/MrBuilder | c11a6ce263d7f53f388794f2794a8fcfb0bb3145 | [
"MIT"
] | null | null | null | tests/base/test_builder_control.py | mrb1778/MrBuilder | c11a6ce263d7f53f388794f2794a8fcfb0bb3145 | [
"MIT"
] | null | null | null | from base.test_bootstrap import TestBuilderBase
class TestBuilderControl:
class Base(TestBuilderBase.Base):
@classmethod
def setUpClass(cls) -> None:
super().setUpClass()
cls.input_shape = [32, 32, 3]
cls.base_params = {
"outputSize": 50
... | 43.962406 | 101 | 0.455447 | 506 | 5,847 | 5.104743 | 0.146245 | 0.065041 | 0.054201 | 0.049555 | 0.859466 | 0.859466 | 0.814557 | 0.814557 | 0.814557 | 0.814557 | 0 | 0.035335 | 0.404652 | 5,847 | 132 | 102 | 44.295455 | 0.706693 | 0.191038 | 0 | 0.666667 | 0 | 0 | 0.197405 | 0.014678 | 0 | 0 | 0 | 0 | 0.103448 | 1 | 0.045977 | false | 0 | 0.011494 | 0 | 0.08046 | 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 |
6b42542b61a2f86a999e8be2665ff6dbf2b6ab62 | 551 | py | Python | rastervision/data/__init__.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | 4 | 2019-03-11T12:38:15.000Z | 2021-04-06T14:57:52.000Z | rastervision/data/__init__.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | null | null | null | rastervision/data/__init__.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | 1 | 2021-02-25T18:23:27.000Z | 2021-02-25T18:23:27.000Z | # flake8: noqa
from rastervision.data.activate_mixin import *
from rastervision.data.raster_transformer import *
from rastervision.data.raster_source import *
from rastervision.data.crs_transformer import *
from rastervision.data.label import *
from rastervision.data.vector_source import *
from rastervision.data.label... | 36.733333 | 50 | 0.836661 | 71 | 551 | 6.366197 | 0.253521 | 0.424779 | 0.530973 | 0.632743 | 0.776549 | 0.163717 | 0 | 0 | 0 | 0 | 0 | 0.002004 | 0.094374 | 551 | 14 | 51 | 39.357143 | 0.903808 | 0.021779 | 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 |
86506c402e88f284db3a0370891b2ba93e2c0e96 | 255 | py | Python | photomosaic/__init__.py | rjvanvoorhis/mosaicfy | df74bc11d256a51cdf3e1d5af17562648b8d02be | [
"MIT"
] | null | null | null | photomosaic/__init__.py | rjvanvoorhis/mosaicfy | df74bc11d256a51cdf3e1d5af17562648b8d02be | [
"MIT"
] | null | null | null | photomosaic/__init__.py | rjvanvoorhis/mosaicfy | df74bc11d256a51cdf3e1d5af17562648b8d02be | [
"MIT"
] | null | null | null | from photomosaic.version_info import *
from photomosaic.api import *
from photomosaic import gif_splitter
from photomosaic import image_splitter
from photomosaic import mosaic_maker
from photomosaic import tile_processor
from photomosaic import utilities
| 31.875 | 38 | 0.87451 | 33 | 255 | 6.606061 | 0.424242 | 0.481651 | 0.481651 | 0.266055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109804 | 255 | 7 | 39 | 36.428571 | 0.960352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
86682c96f99167b830de020f4c0fbf1308e89ced | 38,080 | py | Python | instances/passenger_demand/pas-20210421-2109-int16e/18.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int16e/18.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int16e/18.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3607
passenger_arriving = (
(5, 9, 8, 5, 2, 0, 4, 11, 3, 3, 2, 0), # 0
(4, 14, 9, 5, 2, 0, 10, 8, 1, 6, 3, 0), # 1
(4, 6, 10, 5, 5, 0, 8, 7, 6, 8, 3, 0), # 2
(9, 11, 12, 0, 4, 0, 5, 14, 6, 4, 1, 0), # 3
(4, 9, 13, 4, 1, 0, 2, 10, 7, 8, 1, 0), # 4
(1, 10, 4, 1, 0, 0, 9, 9... | 113.671642 | 214 | 0.730462 | 5,147 | 38,080 | 5.402176 | 0.23198 | 0.310735 | 0.245999 | 0.466103 | 0.326488 | 0.325625 | 0.325625 | 0.325625 | 0.325625 | 0.325625 | 0 | 0.820056 | 0.11854 | 38,080 | 334 | 215 | 114.011976 | 0.008312 | 0.031801 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8696a344e8d2537b56d813c5422255a2c60a36ec | 211 | py | Python | easygraph/utils/__init__.py | coreturn/Easy-Graph | ee46d84250c4d4cf22271ca13449b15fad88ad7b | [
"BSD-3-Clause"
] | 41 | 2020-09-26T13:44:07.000Z | 2022-03-19T08:57:45.000Z | easygraph/utils/__init__.py | coreturn/Easy-Graph | ee46d84250c4d4cf22271ca13449b15fad88ad7b | [
"BSD-3-Clause"
] | 14 | 2020-09-26T03:29:08.000Z | 2022-03-29T02:47:17.000Z | easygraph/utils/__init__.py | coreturn/Easy-Graph | ee46d84250c4d4cf22271ca13449b15fad88ad7b | [
"BSD-3-Clause"
] | 8 | 2020-09-27T08:10:56.000Z | 2022-03-29T08:48:16.000Z | from easygraph.utils.decorators import *
from easygraph.utils.mapped_queue import *
from easygraph.utils.convert_to_matrix import *
from easygraph.utils.alias import *
from easygraph.utils.index_of_node import * | 42.2 | 47 | 0.838863 | 30 | 211 | 5.733333 | 0.466667 | 0.377907 | 0.523256 | 0.55814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090047 | 211 | 5 | 48 | 42.2 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
86bd305bfe818381c3f6cfdb3f32764452ac955b | 25 | py | Python | app/discover/__init__.py | fariszr/app | 932134c2123714cf1d1b7090998fbdf27344cce0 | [
"MIT"
] | 5 | 2021-01-13T16:50:46.000Z | 2021-11-29T04:01:46.000Z | app/discover/__init__.py | fariszr/app | 932134c2123714cf1d1b7090998fbdf27344cce0 | [
"MIT"
] | 1 | 2021-02-08T21:04:06.000Z | 2021-02-08T21:04:06.000Z | app/discover/__init__.py | fariszr/app | 932134c2123714cf1d1b7090998fbdf27344cce0 | [
"MIT"
] | 4 | 2021-02-08T23:04:33.000Z | 2022-01-05T12:02:34.000Z | from .views import index
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8100ae3b84d4fc81558de45baf6eba37ecfb550d | 29 | py | Python | bern2/__init__.py | dmis-lab/BERN2 | 0eaf635672b6c952984e16a165ce7e7f7805c675 | [
"BSD-2-Clause"
] | 53 | 2022-01-06T15:31:35.000Z | 2022-03-30T06:07:45.000Z | bern2/__init__.py | dmis-lab/BERN2 | 0eaf635672b6c952984e16a165ce7e7f7805c675 | [
"BSD-2-Clause"
] | 15 | 2022-01-11T16:26:49.000Z | 2022-03-31T04:56:11.000Z | bern2/__init__.py | dmis-lab/BERN2 | 0eaf635672b6c952984e16a165ce7e7f7805c675 | [
"BSD-2-Clause"
] | 8 | 2022-01-18T12:38:25.000Z | 2022-03-29T10:34:59.000Z | from bern2.bern2 import BERN2 | 29 | 29 | 0.862069 | 5 | 29 | 5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0.103448 | 29 | 1 | 29 | 29 | 0.846154 | 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 |
8107dfe239652363a0a251ff2d9f75feb23f1b06 | 3,121 | py | Python | apps/pet/views.py | glenjasper/cobija-web | 9a623daae9fba1b423b8fd690a25139ed8d06d7c | [
"MIT"
] | null | null | null | apps/pet/views.py | glenjasper/cobija-web | 9a623daae9fba1b423b8fd690a25139ed8d06d7c | [
"MIT"
] | null | null | null | apps/pet/views.py | glenjasper/cobija-web | 9a623daae9fba1b423b8fd690a25139ed8d06d7c | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.views.generic import (
ListView,
)
from .models import (
Pet,
PetPhoto
)
from pprint import pprint
class PetsToAdoptView(ListView):
template_name = "pet/to_adopt.html"
context_object_name = "context_petstoadopt_simple"
def get_queryset(self):
... | 33.202128 | 115 | 0.619673 | 375 | 3,121 | 4.872 | 0.154667 | 0.052545 | 0.052545 | 0.055829 | 0.817734 | 0.787083 | 0.787083 | 0.787083 | 0.787083 | 0.787083 | 0 | 0 | 0.280359 | 3,121 | 93 | 116 | 33.55914 | 0.813446 | 0.020827 | 0 | 0.695652 | 0 | 0 | 0.07178 | 0.017044 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057971 | false | 0 | 0.057971 | 0 | 0.26087 | 0.014493 | 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 |
813542ecf51b7eaebec9cc679b6cb197167bc60c | 841 | py | Python | deepracer_follow_the_leader_ws/build/deepracer_interfaces_pkg/rosidl_generator_py/deepracer_interfaces_pkg/msg/__init__.py | amitjain-3/working_add | ddd3b10d854477e86bf7a8558b3d447ec03a8a5f | [
"Apache-2.0"
] | 1 | 2022-03-11T20:15:27.000Z | 2022-03-11T20:15:27.000Z | deepracer_follow_the_leader_ws/install/deepracer_interfaces_pkg/lib/python3.8/site-packages/deepracer_interfaces_pkg/msg/__init__.py | amitjain-3/working_add | ddd3b10d854477e86bf7a8558b3d447ec03a8a5f | [
"Apache-2.0"
] | null | null | null | deepracer_follow_the_leader_ws/install/deepracer_interfaces_pkg/lib/python3.8/site-packages/deepracer_interfaces_pkg/msg/__init__.py | amitjain-3/working_add | ddd3b10d854477e86bf7a8558b3d447ec03a8a5f | [
"Apache-2.0"
] | null | null | null | from deepracer_interfaces_pkg.msg._camera_msg import CameraMsg # noqa: F401
from deepracer_interfaces_pkg.msg._detection_delta_msg import DetectionDeltaMsg # noqa: F401
from deepracer_interfaces_pkg.msg._evo_sensor_msg import EvoSensorMsg # noqa: F401
from deepracer_interfaces_pkg.msg._infer_results import InferResu... | 84.1 | 117 | 0.871581 | 109 | 841 | 6.302752 | 0.33945 | 0.170306 | 0.30131 | 0.340611 | 0.508006 | 0.465793 | 0.465793 | 0.142649 | 0.142649 | 0 | 0 | 0.035111 | 0.085612 | 841 | 9 | 118 | 93.444444 | 0.858257 | 0.116528 | 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 |
81438c55f8201782f5ab782373944f4013b05db9 | 45 | py | Python | Test.py | ItsPapermunoz/PAPER-ERP | 2cf85a51f166a1ed139d333554ec62fb87b774c9 | [
"MIT"
] | null | null | null | Test.py | ItsPapermunoz/PAPER-ERP | 2cf85a51f166a1ed139d333554ec62fb87b774c9 | [
"MIT"
] | null | null | null | Test.py | ItsPapermunoz/PAPER-ERP | 2cf85a51f166a1ed139d333554ec62fb87b774c9 | [
"MIT"
] | null | null | null |
x = 15 / 100
y = 949
z = x * y
print(z) | 9 | 13 | 0.422222 | 10 | 45 | 1.9 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 0.422222 | 45 | 5 | 14 | 9 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d48ff126297390c87ccdf42a63dbf7f030243882 | 35 | py | Python | src/segmentation/lightning_seg/__init__.py | JonasFrey96/RPOSE | 7da77499ab777ce7ee37b731541982870da8d40b | [
"BSD-3-Clause"
] | null | null | null | src/segmentation/lightning_seg/__init__.py | JonasFrey96/RPOSE | 7da77499ab777ce7ee37b731541982870da8d40b | [
"BSD-3-Clause"
] | null | null | null | src/segmentation/lightning_seg/__init__.py | JonasFrey96/RPOSE | 7da77499ab777ce7ee37b731541982870da8d40b | [
"BSD-3-Clause"
] | null | null | null | from .lightning_seg import Network
| 17.5 | 34 | 0.857143 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 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 |
d4c27a22e98d54708f3f55177f5e8ce8c1f29c2e | 56,876 | py | Python | tests/milvus_python_test/test_config.py | RifeWang/milvus | 3f300cb155447cefa374b711bdfe0d7b43446cd8 | [
"Apache-2.0"
] | 1 | 2020-09-23T02:25:42.000Z | 2020-09-23T02:25:42.000Z | tests/milvus_python_test/test_config.py | RifeWang/milvus | 3f300cb155447cefa374b711bdfe0d7b43446cd8 | [
"Apache-2.0"
] | null | null | null | tests/milvus_python_test/test_config.py | RifeWang/milvus | 3f300cb155447cefa374b711bdfe0d7b43446cd8 | [
"Apache-2.0"
] | null | null | null | import time
import random
import pdb
import threading
import logging
from multiprocessing import Pool, Process
import pytest
from utils import *
import ujson
dim = 128
index_file_size = 10
CONFIG_TIMEOUT = 80
nprobe = 1
top_k = 1
tag = "1970_01_01"
nb = 6000
class TestCacheConfig:
"""
**********************... | 40.309001 | 105 | 0.612156 | 6,677 | 56,876 | 5.007638 | 0.03879 | 0.041273 | 0.062178 | 0.079136 | 0.924602 | 0.907764 | 0.887367 | 0.869422 | 0.843103 | 0.834819 | 0 | 0.010664 | 0.254747 | 56,876 | 1,410 | 106 | 40.337589 | 0.778163 | 0.206203 | 0 | 0.679083 | 0 | 0 | 0.176644 | 0.00267 | 0 | 0 | 0 | 0 | 0.035817 | 1 | 0.159026 | false | 0 | 0.012894 | 0 | 0.186246 | 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 |
07b550efd9e401e34556fbcb9cfb2e316f60de3d | 148 | py | Python | upbit_wrapper/__init__.py | beomsu317/upbit_wrapper | 54b92a51276d130dd679bde39975eeb32a3ac4a3 | [
"MIT"
] | 1 | 2021-02-25T18:49:22.000Z | 2021-02-25T18:49:22.000Z | upbit_wrapper/__init__.py | beomsu317/upbit_wrapper | 54b92a51276d130dd679bde39975eeb32a3ac4a3 | [
"MIT"
] | null | null | null | upbit_wrapper/__init__.py | beomsu317/upbit_wrapper | 54b92a51276d130dd679bde39975eeb32a3ac4a3 | [
"MIT"
] | null | null | null | """
Package
"""
from upbit_wrapper.upbit import Upbit
from upbit_wrapper.upbit_websocket import UpbitWebSocket
__all__ = ['Upbit','UpbitWebSocket'] | 21.142857 | 56 | 0.797297 | 17 | 148 | 6.529412 | 0.470588 | 0.162162 | 0.288288 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 148 | 7 | 57 | 21.142857 | 0.828358 | 0.047297 | 0 | 0 | 0 | 0 | 0.141791 | 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 |
07bd76a8ed8d6d190b8f42e4ad406843467a5322 | 944 | py | Python | smart_selects/urls.py | johtso/django-smart-selects | d1c310240db056e211f8667c4e0658d44421c449 | [
"BSD-3-Clause"
] | null | null | null | smart_selects/urls.py | johtso/django-smart-selects | d1c310240db056e211f8667c4e0658d44421c449 | [
"BSD-3-Clause"
] | null | null | null | smart_selects/urls.py | johtso/django-smart-selects | d1c310240db056e211f8667c4e0658d44421c449 | [
"BSD-3-Clause"
] | null | null | null | from smart_selects import views
try:
from django.conf.urls.defaults import url
except ImportError:
from django.conf.urls import url
urlpatterns = [
url(r'^all/(?P<app>[\w\-]+)/(?P<model>[\w\-]+)/(?P<field>[\w\-]+)/(?P<foreign_key_app_name>[\w\-]+)/(?P<foreign_key_model_name>[\w\-]+)/(?P<foreign_key_field_n... | 62.933333 | 222 | 0.587924 | 141 | 944 | 3.702128 | 0.205674 | 0.072797 | 0.155172 | 0.206897 | 0.699234 | 0.699234 | 0.699234 | 0.699234 | 0.699234 | 0.699234 | 0 | 0 | 0.077331 | 944 | 14 | 223 | 67.428571 | 0.599311 | 0 | 0 | 0.153846 | 0 | 0.230769 | 0.668432 | 0.619703 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.307692 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
07d4a1e8fa2bc8f58f0e64e257ed47c16ffe481a | 242 | py | Python | release/stubs.min/System/Windows/Controls/__init___parts/ItemContainerTemplateSelector.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 182 | 2017-06-27T02:26:15.000Z | 2022-03-30T18:53:43.000Z | release/stubs.min/System/Windows/Controls/__init___parts/ItemContainerTemplateSelector.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 28 | 2017-06-27T13:38:23.000Z | 2022-03-15T11:19:44.000Z | release/stubs.min/System/Windows/Controls/__init___parts/ItemContainerTemplateSelector.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 67 | 2017-06-28T09:43:59.000Z | 2022-03-20T21:17:10.000Z | class ItemContainerTemplateSelector(object):
# no doc
def SelectTemplate(self,item,parentItemsControl):
""" SelectTemplate(self: ItemContainerTemplateSelector,item: object,parentItemsControl: ItemsControl) -> DataTemplate """
pass
| 40.333333 | 124 | 0.789256 | 19 | 242 | 10.052632 | 0.684211 | 0.188482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11157 | 242 | 5 | 125 | 48.4 | 0.888372 | 0.504132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
ed41d00dce1ee437878103b47c2e1d8d1ed81d49 | 36 | py | Python | pyqt_bounding_box/__init__.py | yjg30737/pyqt-selection-box | 9d67631b1c63e16c8b4f8da700c8288834c0fc8d | [
"MIT"
] | 1 | 2022-01-10T15:08:54.000Z | 2022-01-10T15:08:54.000Z | pyqt_bounding_box/__init__.py | yjg30737/pyqt-selection-box | 9d67631b1c63e16c8b4f8da700c8288834c0fc8d | [
"MIT"
] | null | null | null | pyqt_bounding_box/__init__.py | yjg30737/pyqt-selection-box | 9d67631b1c63e16c8b4f8da700c8288834c0fc8d | [
"MIT"
] | 1 | 2022-01-10T15:09:00.000Z | 2022-01-10T15:09:00.000Z | from .boundingBox import BoundingBox | 36 | 36 | 0.888889 | 4 | 36 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 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 |
ed59dcce2b61ffcd37fc4be33bb30e1fdf55f928 | 38 | py | Python | livedoor/__init__.py | rinatz/livedoor-news-dataset | 20b2818f57bfd59e3a1bc51cc2ed1b9fd771b873 | [
"MIT"
] | null | null | null | livedoor/__init__.py | rinatz/livedoor-news-dataset | 20b2818f57bfd59e3a1bc51cc2ed1b9fd771b873 | [
"MIT"
] | null | null | null | livedoor/__init__.py | rinatz/livedoor-news-dataset | 20b2818f57bfd59e3a1bc51cc2ed1b9fd771b873 | [
"MIT"
] | null | null | null | from livedoor.model import load_model
| 19 | 37 | 0.868421 | 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 |
9c26b84591210f3a64412afdbbed8f24caf55e29 | 13,732 | py | Python | tests/test_graph.py | venaturum/piso | 54fd20443efb84d7a9982c92caf492b12206eaef | [
"MIT"
] | 5 | 2021-10-10T04:17:17.000Z | 2022-03-01T06:23:25.000Z | tests/test_graph.py | venaturum/piso | 54fd20443efb84d7a9982c92caf492b12206eaef | [
"MIT"
] | 35 | 2021-10-09T13:22:04.000Z | 2022-01-29T08:38:15.000Z | tests/test_graph.py | staircase-dev/piso | 2e6ac861f7166195e2fe67e2665c29e36b4ff12e | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import pytest
import piso
import piso.graph as piso_graph
from piso import register_accessors
register_accessors()
def get_accessor_method(self, function):
return {
piso_graph.adjacency_matrix: self.piso.adjacency_matrix,
}[function]
def get_package_method(fu... | 26.458574 | 87 | 0.615424 | 1,569 | 13,732 | 5.173996 | 0.078394 | 0.07391 | 0.103474 | 0.049273 | 0.886056 | 0.864868 | 0.850086 | 0.843927 | 0.835427 | 0.818428 | 0 | 0.011807 | 0.247524 | 13,732 | 518 | 88 | 26.509653 | 0.773831 | 0.006408 | 0 | 0.68709 | 0 | 0 | 0.080859 | 0 | 0 | 0 | 0 | 0 | 0.035011 | 1 | 0.035011 | false | 0 | 0.013129 | 0.004376 | 0.074398 | 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 |
9c5f3d8c730182e6d4226e5d2b0b136ff6c29d49 | 17 | py | Python | Chapter-9 Regression/untitled0.py | jaiswalIT02/pythonprograms | bc94e52121202b04c3e9112d9786f93ed6707f7a | [
"MIT"
] | null | null | null | Chapter-9 Regression/untitled0.py | jaiswalIT02/pythonprograms | bc94e52121202b04c3e9112d9786f93ed6707f7a | [
"MIT"
] | null | null | null | Chapter-9 Regression/untitled0.py | jaiswalIT02/pythonprograms | bc94e52121202b04c3e9112d9786f93ed6707f7a | [
"MIT"
] | null | null | null | x=2+3
print("x")
| 5.666667 | 10 | 0.529412 | 5 | 17 | 1.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.117647 | 17 | 2 | 11 | 8.5 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
92da48ab0c6ea13a1a37bc8bac2434a564a82526 | 19,849 | py | Python | src/apify_client/clients/resource_clients/dataset.py | apifytech/apify-client-python | ebefbae724fcb11621ce666a3229206fe03ab486 | [
"Apache-2.0"
] | 5 | 2021-09-20T08:07:21.000Z | 2022-02-23T13:15:05.000Z | src/apify_client/clients/resource_clients/dataset.py | apifytech/apify-client-python | ebefbae724fcb11621ce666a3229206fe03ab486 | [
"Apache-2.0"
] | 33 | 2020-11-08T23:24:08.000Z | 2021-09-20T08:42:44.000Z | src/apify_client/clients/resource_clients/dataset.py | apify/apify-client-python | ebefbae724fcb11621ce666a3229206fe03ab486 | [
"Apache-2.0"
] | null | null | null | import io
from typing import Any, Dict, Generator, List, Optional, cast
from ..._types import JSONSerializable
from ..._utils import ListPage
from ..base import ResourceClient
class DatasetClient(ResourceClient):
"""Sub-client for manipulating a single dataset."""
def __init__(self, *args: Any, **kwargs: An... | 50.250633 | 147 | 0.625472 | 2,633 | 19,849 | 4.660463 | 0.104444 | 0.008964 | 0.026078 | 0.020536 | 0.819086 | 0.806943 | 0.788689 | 0.788689 | 0.783718 | 0.772716 | 0 | 0.00254 | 0.30591 | 19,849 | 394 | 148 | 50.378173 | 0.888147 | 0.596252 | 0 | 0.603015 | 0 | 0 | 0.034237 | 0.013986 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045226 | false | 0 | 0.025126 | 0 | 0.105528 | 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 |
92e6cd3e19cb867e9ad447f2f7dbe63368129b71 | 36,595 | py | Python | tests/python/contrib/test_ethosu/test_encode_constants.py | LEA0317/incubator-tvm | de21c8f2ef507587fdcc99b851404de5aeeb5a16 | [
"Apache-2.0"
] | null | null | null | tests/python/contrib/test_ethosu/test_encode_constants.py | LEA0317/incubator-tvm | de21c8f2ef507587fdcc99b851404de5aeeb5a16 | [
"Apache-2.0"
] | null | null | null | tests/python/contrib/test_ethosu/test_encode_constants.py | LEA0317/incubator-tvm | de21c8f2ef507587fdcc99b851404de5aeeb5a16 | [
"Apache-2.0"
] | null | null | null | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 64.314587 | 457 | 0.625085 | 5,787 | 36,595 | 3.761707 | 0.052186 | 0.027838 | 0.022877 | 0.02058 | 0.875465 | 0.868115 | 0.85562 | 0.844228 | 0.836511 | 0.829253 | 0 | 0.118657 | 0.19489 | 36,595 | 568 | 458 | 64.427817 | 0.620202 | 0.039104 | 0 | 0.584582 | 0 | 0 | 0.110725 | 0.020054 | 0 | 0 | 0 | 0 | 0.023555 | 1 | 0.044968 | false | 0.021413 | 0.025696 | 0 | 0.115632 | 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 |
92e9bea9c44df40ce385a1f83f971c05803120bb | 125 | py | Python | qtask/utils/utils.py | LinkTsang/qtask-legacy-python | 9b264b8e33313e4d3615472d59a2a39948eeeaa1 | [
"MIT"
] | null | null | null | qtask/utils/utils.py | LinkTsang/qtask-legacy-python | 9b264b8e33313e4d3615472d59a2a39948eeeaa1 | [
"MIT"
] | null | null | null | qtask/utils/utils.py | LinkTsang/qtask-legacy-python | 9b264b8e33313e4d3615472d59a2a39948eeeaa1 | [
"MIT"
] | null | null | null | import os
from qtask.config import config
def setup_data_dirs():
os.makedirs(config["QTASK_DATA_DIR"], exist_ok=True)
| 15.625 | 56 | 0.76 | 20 | 125 | 4.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136 | 125 | 7 | 57 | 17.857143 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
131e717daa6006fa73e4b74197a35f185dbaafb2 | 6,820 | py | Python | test/test_mutualinfo.py | dglmoore/pyinform | e2f3d4b3e0353b9cfa0f9111227336a2634980d9 | [
"MIT"
] | null | null | null | test/test_mutualinfo.py | dglmoore/pyinform | e2f3d4b3e0353b9cfa0f9111227336a2634980d9 | [
"MIT"
] | null | null | null | test/test_mutualinfo.py | dglmoore/pyinform | e2f3d4b3e0353b9cfa0f9111227336a2634980d9 | [
"MIT"
] | null | null | null | # Copyright 2016 ELIFE. All rights reserved.
# Use of this source code is governed by a MIT
# license that can be found in the LICENSE file.
import unittest
from pyinform.error import InformError
from pyinform.mutualinfo import *
class TestMutualInfo(unittest.TestCase):
def test_mutual_info_empty(self):
wi... | 36.276596 | 111 | 0.579179 | 1,132 | 6,820 | 3.390459 | 0.080389 | 0.067744 | 0.054716 | 0.03752 | 0.895779 | 0.889005 | 0.878843 | 0.876498 | 0.865555 | 0.829338 | 0 | 0.129793 | 0.235191 | 6,820 | 187 | 112 | 36.470588 | 0.60602 | 0.019648 | 0 | 0.519084 | 0 | 0 | 0.001197 | 0 | 0 | 0 | 0 | 0 | 0.381679 | 1 | 0.122137 | false | 0 | 0.022901 | 0 | 0.160305 | 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 |
136d28bb7b4938f02a7f83328174b40c390edaab | 8,826 | py | Python | backend/tests/test_field_partner.py | hack4impact-uiuc/kiva-portfolio-tool | c516d28e4f6c4cef0fe63488dc3fd6904ba7ccea | [
"MIT"
] | 5 | 2019-02-16T05:20:28.000Z | 2019-03-09T18:32:30.000Z | backend/tests/test_field_partner.py | hack4impact-uiuc/kiva-portfolio-tool | c516d28e4f6c4cef0fe63488dc3fd6904ba7ccea | [
"MIT"
] | 110 | 2019-02-14T06:28:49.000Z | 2019-06-19T06:14:44.000Z | backend/tests/test_field_partner.py | hack4impact-uiuc/kiva-portfolio-tool | c516d28e4f6c4cef0fe63488dc3fd6904ba7ccea | [
"MIT"
] | 1 | 2021-02-09T14:43:02.000Z | 2021-02-09T14:43:02.000Z | from api.models import db, FieldPartner, PortfolioManager
import time, uuid
# client passed from client - look into pytest for more info about fixtures
# test client api: http://flask.pocoo.org/docs/1.0/api/#test-client
def test_index(client):
rs = client.get("/")
assert rs.status_code == 200
# cre... | 35.304 | 87 | 0.656243 | 1,131 | 8,826 | 4.852343 | 0.099912 | 0.135569 | 0.104227 | 0.131195 | 0.838739 | 0.808127 | 0.777515 | 0.770955 | 0.749636 | 0.715561 | 0 | 0.022917 | 0.199071 | 8,826 | 249 | 88 | 35.445783 | 0.75343 | 0.055518 | 0 | 0.634409 | 0 | 0 | 0.215834 | 0.008549 | 0 | 0 | 0 | 0 | 0.327957 | 1 | 0.053763 | false | 0 | 0.010753 | 0 | 0.075269 | 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 |
137277aace3275037c1710dd88912d1f42ac7603 | 49 | py | Python | gravy/forms/__init__.py | greenbender/django-gravy | cbdf33db31c73797ca704a89707b6bba48fb3cb9 | [
"BSD-3-Clause"
] | 6 | 2018-04-02T22:00:57.000Z | 2021-12-17T00:33:12.000Z | gravy/forms/__init__.py | greenbender/django-gravy | cbdf33db31c73797ca704a89707b6bba48fb3cb9 | [
"BSD-3-Clause"
] | null | null | null | gravy/forms/__init__.py | greenbender/django-gravy | cbdf33db31c73797ca704a89707b6bba48fb3cb9 | [
"BSD-3-Clause"
] | null | null | null | from django.forms import *
from .fields import *
| 16.333333 | 26 | 0.755102 | 7 | 49 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 27 | 24.5 | 0.902439 | 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 |
13af7328c36c4e64ade5fc715be64d03e9cf810e | 9,383 | py | Python | gym_framework/mujoco_envs/pick_and_place_env/tests/pick_and_place_mocap_tests.py | Yucheng-Tang/SimulationFrameworkPublic | 3a65cbc0f18ac4b04f8aef7e6e2f9ad9790179c6 | [
"MIT"
] | 3 | 2020-11-16T09:01:56.000Z | 2021-12-21T09:24:45.000Z | gym_framework/mujoco_envs/pick_and_place_env/tests/pick_and_place_mocap_tests.py | Yucheng-Tang/SimulationFrameworkPublic | 3a65cbc0f18ac4b04f8aef7e6e2f9ad9790179c6 | [
"MIT"
] | null | null | null | gym_framework/mujoco_envs/pick_and_place_env/tests/pick_and_place_mocap_tests.py | Yucheng-Tang/SimulationFrameworkPublic | 3a65cbc0f18ac4b04f8aef7e6e2f9ad9790179c6 | [
"MIT"
] | 8 | 2020-11-24T15:59:01.000Z | 2022-02-18T15:15:26.000Z | import numpy as np
from unittest import TestCase
from gym_framework.mujoco_envs.pick_and_place_env.pick_and_place_env import PickAndPlaceMocapCtrl
from gym_framework.utils.helper import has_collision
def rndmGripperAction():
mean = -1
std = 0.0
eps = np.random.randn()
return np.tanh(mean + eps * std)
... | 41.888393 | 118 | 0.582649 | 1,338 | 9,383 | 3.923767 | 0.107623 | 0.074286 | 0.098476 | 0.125333 | 0.804381 | 0.798476 | 0.781905 | 0.776 | 0.756571 | 0.756571 | 0 | 0.034014 | 0.263668 | 9,383 | 223 | 119 | 42.076233 | 0.725865 | 0.048599 | 0 | 0.683616 | 0 | 0 | 0.01686 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 1 | 0.067797 | false | 0 | 0.022599 | 0 | 0.101695 | 0.00565 | 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 |
13da80fc229fe7f1fba4e9f072d4800dd7e61764 | 164 | py | Python | slurmqueen/__init__.py | vuphan314/slurmqueen | 5d6552ae64c1d7ed5b86ad976d5a2781ebf01176 | [
"MIT"
] | 1 | 2018-11-12T22:51:00.000Z | 2018-11-12T22:51:00.000Z | slurmqueen/__init__.py | vuphan314/slurmqueen | 5d6552ae64c1d7ed5b86ad976d5a2781ebf01176 | [
"MIT"
] | 9 | 2020-03-24T16:25:39.000Z | 2021-03-06T22:13:59.000Z | slurmqueen/__init__.py | vuphan314/slurmqueen | 5d6552ae64c1d7ed5b86ad976d5a2781ebf01176 | [
"MIT"
] | 6 | 2018-12-04T16:41:57.000Z | 2021-04-07T21:06:45.000Z | from slurmqueen.dashboard import SlurmServer
from slurmqueen.experiment import Experiment
from slurmqueen.slurm_experiment import SlurmExperiment, ExperimentConfig
| 41 | 73 | 0.896341 | 17 | 164 | 8.588235 | 0.529412 | 0.287671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079268 | 164 | 3 | 74 | 54.666667 | 0.966887 | 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 |
b91ad61a05474bea91e22424370c50d0e77ee941 | 35,850 | py | Python | nbgrader/tests/apps/test_api.py | mkzia/nbgrader | 49d2d1f7c222109df8891a33d60f48134ec28724 | [
"BSD-3-Clause"
] | null | null | null | nbgrader/tests/apps/test_api.py | mkzia/nbgrader | 49d2d1f7c222109df8891a33d60f48134ec28724 | [
"BSD-3-Clause"
] | 2 | 2019-06-01T19:15:14.000Z | 2019-06-03T06:17:15.000Z | nbgrader/tests/apps/test_api.py | mkzia/nbgrader | 49d2d1f7c222109df8891a33d60f48134ec28724 | [
"BSD-3-Clause"
] | 2 | 2019-05-31T08:53:48.000Z | 2019-05-31T09:42:26.000Z | import pytest
import sys
import os
import shutil
import filecmp
from os.path import join
from traitlets.config import Config
from datetime import datetime
from ...apps.api import NbGraderAPI
from ...coursedir import CourseDirectory
from ...utils import rmtree, get_username, parse_utc
from .. import run_nbgrader
from ... | 45.037688 | 124 | 0.590042 | 4,208 | 35,850 | 4.826996 | 0.060361 | 0.053614 | 0.056961 | 0.045687 | 0.844919 | 0.800955 | 0.757139 | 0.73208 | 0.710664 | 0.693383 | 0 | 0.025854 | 0.242594 | 35,850 | 795 | 125 | 45.09434 | 0.722204 | 0.027392 | 0 | 0.690909 | 0 | 0 | 0.256538 | 0.040675 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.04697 | false | 0 | 0.021212 | 0 | 0.071212 | 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 |
b954ad8bb05dfe2f26072b4f88e4f32938add566 | 1,448 | py | Python | storm_control/test/test_hal_tcp_sp.py | shiwei23/STORM6 | 669067503ebd164b575ce529fcc4a9a3f576b3d7 | [
"MIT"
] | 47 | 2015-02-11T16:05:54.000Z | 2022-03-26T14:13:12.000Z | storm_control/test/test_hal_tcp_sp.py | shiwei23/STORM6 | 669067503ebd164b575ce529fcc4a9a3f576b3d7 | [
"MIT"
] | 110 | 2015-01-30T03:53:41.000Z | 2021-11-03T15:58:44.000Z | storm_control/test/test_hal_tcp_sp.py | shiwei23/STORM6 | 669067503ebd164b575ce529fcc4a9a3f576b3d7 | [
"MIT"
] | 61 | 2015-01-09T18:31:27.000Z | 2021-12-21T13:07:51.000Z | #!/usr/bin/env python
"""
Test setting parameters.
"""
from storm_control.test.hal.standardHalTest import halTest
def test_hal_tcp_sp_1():
halTest(config_xml = "none_tcp_config.xml",
class_name = "SetParameters1",
test_module = "storm_control.test.hal.tcp_tests")
def test_hal_tcp_sp_... | 24.542373 | 61 | 0.660221 | 191 | 1,448 | 4.534031 | 0.209424 | 0.12933 | 0.17321 | 0.17552 | 0.767898 | 0.734411 | 0.734411 | 0.734411 | 0.691686 | 0.360277 | 0 | 0.013393 | 0.226519 | 1,448 | 58 | 62 | 24.965517 | 0.759821 | 0.031077 | 0 | 0.451613 | 0 | 0 | 0.3319 | 0.160573 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225806 | true | 0 | 0.032258 | 0 | 0.258065 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 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.