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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
119bf70de472ba3cab193d2bf98c10883d62420b | 30 | py | Python | build/lib/AccountManager/test doc.py | maartenelgar/Block_Fund_Trading | 0ced0f4ac5bb8785ca1b75e55dee7df1db5030a8 | [
"MIT"
] | null | null | null | build/lib/AccountManager/test doc.py | maartenelgar/Block_Fund_Trading | 0ced0f4ac5bb8785ca1b75e55dee7df1db5030a8 | [
"MIT"
] | 4 | 2020-03-24T16:17:31.000Z | 2021-06-01T22:48:07.000Z | build/lib/AccountManager/test doc.py | maartenelgar/Block_Fund_Trading | 0ced0f4ac5bb8785ca1b75e55dee7df1db5030a8 | [
"MIT"
] | null | null | null |
from Keys import keys
| 6 | 23 | 0.6 | 4 | 30 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 30 | 4 | 24 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
11ffa6aa23050da19bff683dc02e8ea752daf62c | 161 | py | Python | by-session/class-921/week2/input-output.py | amiraliakbari/sharif-mabani-python | 5d14a08d165267fe71c28389ddbafe29af7078c5 | [
"MIT"
] | 2 | 2015-04-29T20:59:35.000Z | 2018-09-26T13:33:43.000Z | by-session/class-921/week2/input-output.py | amiraliakbari/sharif-mabani-python | 5d14a08d165267fe71c28389ddbafe29af7078c5 | [
"MIT"
] | null | null | null | by-session/class-921/week2/input-output.py | amiraliakbari/sharif-mabani-python | 5d14a08d165267fe71c28389ddbafe29af7078c5 | [
"MIT"
] | null | null | null | a = input("?")
print a
b = raw_input("?")
print b
c = raw_input("please input an integer")
print int(c)
d = raw_input("please input an float")
print float(d)
| 13.416667 | 40 | 0.658385 | 29 | 161 | 3.551724 | 0.413793 | 0.23301 | 0.271845 | 0.368932 | 0.407767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180124 | 161 | 11 | 41 | 14.636364 | 0.780303 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ee9a1158727d2281c8375b20ff0b934706e0a84e | 43 | py | Python | __init__.py | manishrawat4u/plugin.video.bloimediaplayer | d561c095fd0862bbe21620daef80d0c5fde36ca5 | [
"MIT"
] | 1 | 2019-01-27T23:49:49.000Z | 2019-01-27T23:49:49.000Z | __init__.py | manishrawat4u/plugin.video.bloimediaplayer | d561c095fd0862bbe21620daef80d0c5fde36ca5 | [
"MIT"
] | null | null | null | __init__.py | manishrawat4u/plugin.video.bloimediaplayer | d561c095fd0862bbe21620daef80d0c5fde36ca5 | [
"MIT"
] | null | null | null | print('calling init from home directory')
| 14.333333 | 41 | 0.767442 | 6 | 43 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 2 | 42 | 21.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0.761905 | 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 |
e107c95e09a7b7a3ece413c2cae93649bc1ece1d | 254 | py | Python | goodsongs/errors.py | italopaiva/goodsongs | 90182e5b372e9736517989b74ca637e02b52a688 | [
"BSD-3-Clause"
] | null | null | null | goodsongs/errors.py | italopaiva/goodsongs | 90182e5b372e9736517989b74ca637e02b52a688 | [
"BSD-3-Clause"
] | null | null | null | goodsongs/errors.py | italopaiva/goodsongs | 90182e5b372e9736517989b74ca637e02b52a688 | [
"BSD-3-Clause"
] | null | null | null | """Module to define specific errors."""
class NotFoundError(ValueError):
"""Raised when some application object could not be found."""
class InvalidRecordError(ValueError):
"""Raised when some application object did not passed validation."""
| 25.4 | 72 | 0.740157 | 29 | 254 | 6.482759 | 0.724138 | 0.170213 | 0.212766 | 0.255319 | 0.43617 | 0.43617 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153543 | 254 | 9 | 73 | 28.222222 | 0.874419 | 0.598425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
e123321d7b022876f6d68813b71b9d34fc114dea | 58,372 | py | Python | tests/regressiontests/livre_journal.py | Starou/Colbert | a2b4abaebe7e0606f90c09b98c9267e76d3fd3fc | [
"BSD-3-Clause"
] | 1 | 2015-09-30T20:18:14.000Z | 2015-09-30T20:18:14.000Z | tests/regressiontests/livre_journal.py | Starou/Colbert | a2b4abaebe7e0606f90c09b98c9267e76d3fd3fc | [
"BSD-3-Clause"
] | 6 | 2015-01-17T10:02:12.000Z | 2020-05-09T15:19:55.000Z | tests/regressiontests/livre_journal.py | Starou/Colbert | a2b4abaebe7e0606f90c09b98c9267e76d3fd3fc | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import sys
import unittest
import codecs
import io
import datetime
import json
from colbert.livre_journal import livre_journal_to_list
from decimal import Decimal
CURRENT_DIR = os.path.dirname(__file__)
VERSION_INFO = sys.version_info
class LivreJournalTestCase(unittest.TestCase):
... | 55.911877 | 158 | 0.41155 | 4,796 | 58,372 | 4.821518 | 0.08236 | 0.128697 | 0.096523 | 0.063311 | 0.830998 | 0.792856 | 0.768509 | 0.724875 | 0.703684 | 0.667142 | 0 | 0.087129 | 0.445916 | 58,372 | 1,043 | 159 | 55.965484 | 0.627709 | 0.003324 | 0 | 0.674112 | 0 | 0.003046 | 0.373479 | 0.001084 | 0 | 0 | 0 | 0.000959 | 0.017259 | 1 | 0.009137 | false | 0 | 0.017259 | 0 | 0.028426 | 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 |
014f40ddff30525556d2ec687b6f4e7d387eca21 | 733 | py | Python | dFL/Utils/config.py | a-dirir/decentralized_FL | 5a2e75d02ec77f7bb0f124d2498e0087b1bc1f0e | [
"MIT"
] | null | null | null | dFL/Utils/config.py | a-dirir/decentralized_FL | 5a2e75d02ec77f7bb0f124d2498e0087b1bc1f0e | [
"MIT"
] | null | null | null | dFL/Utils/config.py | a-dirir/decentralized_FL | 5a2e75d02ec77f7bb0f124d2498e0087b1bc1f0e | [
"MIT"
] | null | null | null |
config = {
"root_directory": "D:\\dFL",
"main_server": {
"ip": "127.0.0.1",
"port": 5000,
"url": "http://127.0.0.1:5000",
"encryption_key": "2d2d2d2d2d424547494e205055424c4943204b45592d2d2d2d2d0a4d436f77425159444b325675417945413531744d7137345949476543742b5a5059554b6d364e526f7a697470477467576f564c6d... | 38.578947 | 251 | 0.789905 | 37 | 733 | 15.540541 | 0.621622 | 0.02087 | 0.026087 | 0.031304 | 0.041739 | 0.041739 | 0 | 0 | 0 | 0 | 0 | 0.60274 | 0.103683 | 733 | 18 | 252 | 40.722222 | 0.272451 | 0 | 0 | 0.133333 | 0 | 0 | 0.794521 | 0.619178 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0184e6dfc8d5507b4ffde3cb1c395e87919bf667 | 139 | py | Python | other/ipypublish/filters/replace_string.py | KGerring/metaproj | e957de611f5268978df10184e4cedbd229ef617a | [
"MIT"
] | 2 | 2021-04-11T01:43:09.000Z | 2021-07-08T00:17:57.000Z | other/ipypublish/filters/replace_string.py | KGerring/metaproj | e957de611f5268978df10184e4cedbd229ef617a | [
"MIT"
] | 1 | 2021-08-21T23:39:26.000Z | 2021-08-21T23:39:26.000Z | other/ipypublish/filters/replace_string.py | KGerring/metaproj | e957de611f5268978df10184e4cedbd229ef617a | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from __future__ import annotations
def replace_string(line, find, replace):
return line.replace(find, replace)
| 19.857143 | 40 | 0.76259 | 19 | 139 | 5.315789 | 0.736842 | 0.217822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136691 | 139 | 6 | 41 | 23.166667 | 0.841667 | 0.143885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 0 | 6 |
018b710f7ebec73a1adb46f00adf4743bd6b0cc1 | 4,613 | py | Python | mcmctools/pytorch/data_generation/batchconfigdatagenerator.py | statphysandml/MCMCEvaluationLib | f722b2c7df88b1b33cd29335a22eef53bdad9665 | [
"MIT"
] | 2 | 2021-06-04T04:52:04.000Z | 2021-06-04T19:32:58.000Z | mcmctools/pytorch/data_generation/batchconfigdatagenerator.py | statphysandml/MCMCEvaluationLib | f722b2c7df88b1b33cd29335a22eef53bdad9665 | [
"MIT"
] | null | null | null | mcmctools/pytorch/data_generation/batchconfigdatagenerator.py | statphysandml/MCMCEvaluationLib | f722b2c7df88b1b33cd29335a22eef53bdad9665 | [
"MIT"
] | null | null | null |
from mcmctools.pytorch.data_generation.configdatagenerator import ConfigDataGenerator
# Avoids that samples are loaded one by another from the self.data dataframe - instead, a batch is extracted directly
# This leads to a performance boost since the underlying data frame is accessed via slicing
# i.e: batch = self.da... | 58.392405 | 149 | 0.636679 | 599 | 4,613 | 4.751252 | 0.171953 | 0.08714 | 0.063247 | 0.075896 | 0.827477 | 0.827477 | 0.817287 | 0.796908 | 0.796908 | 0.796908 | 0 | 0.005836 | 0.2571 | 4,613 | 79 | 150 | 58.392405 | 0.824628 | 0.211576 | 0 | 0.588235 | 0 | 0 | 0.012746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.019608 | 0 | 0.215686 | 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 |
6df2506f3625ea63c6bc971197b8a1fac0029dca | 239 | py | Python | expfactory/database/__init__.py | YanivD/expfactory | a34ba21016ef01a44998764935be20ec99fdd0a8 | [
"BSD-3-Clause"
] | 26 | 2016-09-02T22:25:39.000Z | 2021-02-03T16:09:33.000Z | expfactory/database/__init__.py | YanivD/expfactory | a34ba21016ef01a44998764935be20ec99fdd0a8 | [
"BSD-3-Clause"
] | 157 | 2016-08-09T20:17:58.000Z | 2022-03-23T21:20:01.000Z | expfactory/database/__init__.py | YanivD/expfactory | a34ba21016ef01a44998764935be20ec99fdd0a8 | [
"BSD-3-Clause"
] | 14 | 2016-09-02T22:25:42.000Z | 2022-03-04T11:40:48.000Z | from expfactory.defaults import EXPFACTORY_DATABASE
if EXPFACTORY_DATABASE == "filesystem":
from .filesystem import *
else:
from .relational import *
if EXPFACTORY_DATABASE.startswith("sqlite"):
from .sqlite import *
| 23.9 | 51 | 0.732218 | 25 | 239 | 6.88 | 0.44 | 0.313953 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188285 | 239 | 9 | 52 | 26.555556 | 0.886598 | 0 | 0 | 0 | 0 | 0 | 0.066946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 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 |
0970bdaa09faf6aac7a2ee9f8663253eaca5bc6c | 49 | py | Python | question28.py | gusenov/test-tech-mail-ru-python2 | 70e37a3de447b6f7c4da5add75f65df1b51405fe | [
"MIT"
] | null | null | null | question28.py | gusenov/test-tech-mail-ru-python2 | 70e37a3de447b6f7c4da5add75f65df1b51405fe | [
"MIT"
] | null | null | null | question28.py | gusenov/test-tech-mail-ru-python2 | 70e37a3de447b6f7c4da5add75f65df1b51405fe | [
"MIT"
] | null | null | null | s = "\nAlice\n"
s.rstrip()
print s # \nAlice\n
| 9.8 | 20 | 0.571429 | 9 | 49 | 3.111111 | 0.555556 | 0.5 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 49 | 4 | 21 | 12.25 | 0.717949 | 0.183673 | 0 | 0 | 0 | 0 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
09b5410337055cb5d9ae000a32984d3ed5535dd4 | 113 | py | Python | fixtures/__init__.py | daryasary/instagram-graph-api | 8a3fdf0b1bfb15d198da9889ac0bfe747f8bc019 | [
"Apache-2.0"
] | 11 | 2019-03-05T18:41:33.000Z | 2020-10-16T13:54:06.000Z | fixtures/__init__.py | daryasary/instagram-graph-api | 8a3fdf0b1bfb15d198da9889ac0bfe747f8bc019 | [
"Apache-2.0"
] | 1 | 2019-05-30T11:52:56.000Z | 2019-05-31T19:51:14.000Z | fixtures/__init__.py | daryasary/instagram-graph-api | 8a3fdf0b1bfb15d198da9889ac0bfe747f8bc019 | [
"Apache-2.0"
] | 6 | 2019-04-30T10:23:46.000Z | 2020-05-12T17:26:53.000Z | try:
from fixtures.local_variables import *
except ImportError:
from fixtures.default_variables import *
| 22.6 | 44 | 0.778761 | 13 | 113 | 6.615385 | 0.692308 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168142 | 113 | 4 | 45 | 28.25 | 0.914894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
09c9406be5d4b2e3aa21d4a7eb381b39d7a5a284 | 24,741 | py | Python | examples/SendSales/tax_code_list.py | avasachinbaijal/AvaTax-REST-V2-Python-SDK | b6e12550fa11b08cd8f57195c41d9b31000553de | [
"Apache-2.0"
] | 13 | 2018-04-13T07:07:24.000Z | 2021-05-06T21:08:03.000Z | examples/SendSales/tax_code_list.py | avasachinbaijal/AvaTax-REST-V2-Python-SDK | b6e12550fa11b08cd8f57195c41d9b31000553de | [
"Apache-2.0"
] | 22 | 2018-03-21T18:44:20.000Z | 2021-06-11T18:42:16.000Z | examples/SendSales/tax_code_list.py | avasachinbaijal/AvaTax-REST-V2-Python-SDK | b6e12550fa11b08cd8f57195c41d9b31000553de | [
"Apache-2.0"
] | 27 | 2017-12-27T21:21:00.000Z | 2022-03-29T17:00:51.000Z | """Hold tax code list."""
tax_codes = ["D0000000", "D9999999", "DA010000", "DA030000", "DA040000", "DA040100", "DA051011", "DA051012", "DA051013", "DA059399", "DB010000", "DB020000", "DB031013", "DB031014", "DB031015", "DB031016", "DC010000", "DC010100", "DC010200", "DC010300", "DC010400", "DC010500", "DC010600", "DC0... | 4,123.5 | 24,624 | 0.66695 | 2,074 | 24,741 | 7.954195 | 0.996143 | 0.00097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.543341 | 0.083748 | 24,741 | 5 | 24,625 | 4,948.2 | 0.184393 | 0.003072 | 0 | 0 | 0 | 0 | 0.665396 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
09f96beb17de21326a86a1bc1e0deade8b798629 | 30,455 | py | Python | remodet_repository_wdh_part/Projects/PyLib/NetLib/PvaNet.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_wdh_part/Projects/PyLib/NetLib/PvaNet.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_wdh_part/Projects/PyLib/NetLib/PvaNet.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import sys
import caffe
from caffe import layers as L
from caffe import params as P
from caffe.proto import caffe_pb2
sys.dont_write_bytecode = True
def smCReLULayer(net, from_layer, out_layer, channels=32, use_reduced_layer=False, reduced_layers=[], \
lr=1, decay=1)... | 46.07413 | 111 | 0.629617 | 4,375 | 30,455 | 4.121143 | 0.031314 | 0.163727 | 0.122684 | 0.096839 | 0.917471 | 0.892845 | 0.860788 | 0.827953 | 0.802163 | 0.773378 | 0 | 0.027698 | 0.215203 | 30,455 | 660 | 112 | 46.143939 | 0.726664 | 0.01494 | 0 | 0.654424 | 0 | 0 | 0.097196 | 0.016722 | 0 | 0 | 0 | 0 | 0.003339 | 1 | 0.010017 | false | 0 | 0.010017 | 0 | 0.03005 | 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 |
61f3e40393e4b4ac252ffdd140e4f37b9c407899 | 44 | py | Python | tests/test_base.py | djvaroli/samsung_oct | 83924a36d18a56b6cdaadffaf47a9218c7084264 | [
"MIT"
] | 2 | 2021-07-04T16:34:08.000Z | 2021-07-07T23:55:18.000Z | tests/test_base.py | janhavi-giri/samsung_oct | 83924a36d18a56b6cdaadffaf47a9218c7084264 | [
"MIT"
] | null | null | null | tests/test_base.py | janhavi-giri/samsung_oct | 83924a36d18a56b6cdaadffaf47a9218c7084264 | [
"MIT"
] | 3 | 2021-07-10T01:14:00.000Z | 2021-09-03T04:22:28.000Z |
def test_always_true():
assert 1 == 1
| 8.8 | 23 | 0.613636 | 7 | 44 | 3.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.272727 | 44 | 4 | 24 | 11 | 0.71875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
61ffc61776967eaabe37ad03a4601f921af591c1 | 34,891 | py | Python | tasks-deploy/zip-crypt/generate.py | chankruze/qctf-school-2018 | 1e732cf264ee0a94bc2fc1fd8cf3a20660d57605 | [
"MIT"
] | null | null | null | tasks-deploy/zip-crypt/generate.py | chankruze/qctf-school-2018 | 1e732cf264ee0a94bc2fc1fd8cf3a20660d57605 | [
"MIT"
] | null | null | null | tasks-deploy/zip-crypt/generate.py | chankruze/qctf-school-2018 | 1e732cf264ee0a94bc2fc1fd8cf3a20660d57605 | [
"MIT"
] | null | null | null | TITLE = 'Заброшенный архив'
STATEMENT = '''
Рассказывают, что старое полуразваленное здание возле пруда когда-то было не просто служебным помещением, а использовалось как самый настоящий архив материалов для служебного пользования.
Порядок приёма документов был полностью автоматизирован: вся входящая корреспонденция ... | 1,836.368421 | 34,009 | 0.927402 | 1,244 | 34,891 | 25.754019 | 0.7709 | 0.0103 | 0.010644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165626 | 0.017626 | 34,891 | 18 | 34,010 | 1,938.388889 | 0.769051 | 0 | 0 | 0 | 0 | 0.25 | 0.937577 | 0.918317 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1141330cc1bb597a77b364aba3a5c2cfbed9b633 | 26 | py | Python | src/exts/storage/__init__.py | Pix-00/olea-v2_flask_1_ | 7ddfa83a7a2a7dfbe55b78da002c1193f38781c0 | [
"Apache-2.0"
] | null | null | null | src/exts/storage/__init__.py | Pix-00/olea-v2_flask_1_ | 7ddfa83a7a2a7dfbe55b78da002c1193f38781c0 | [
"Apache-2.0"
] | null | null | null | src/exts/storage/__init__.py | Pix-00/olea-v2_flask_1_ | 7ddfa83a7a2a7dfbe55b78da002c1193f38781c0 | [
"Apache-2.0"
] | null | null | null | from .main import Storage
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3a0cc9b48789c9619fb42ce7294ca0fb422aa73f | 325 | py | Python | react_comments_django/context_processors.py | studyhub-co/react-comments-django | 00a69da4197a1f641bf520828b34c193b3c2f5a9 | [
"Apache-2.0"
] | null | null | null | react_comments_django/context_processors.py | studyhub-co/react-comments-django | 00a69da4197a1f641bf520828b34c193b3c2f5a9 | [
"Apache-2.0"
] | 6 | 2021-04-22T08:54:19.000Z | 2022-02-10T08:07:44.000Z | react_comments_django/context_processors.py | physics-is-beautiful/react-comments-django | 00a69da4197a1f641bf520828b34c193b3c2f5a9 | [
"Apache-2.0"
] | 1 | 2021-07-15T02:37:12.000Z | 2021-07-15T02:37:12.000Z | # from django.conf import settings
#
#
# def react_comments_django_settings(request):
# if hasattr(settings, 'REACT_COMMENTS_DJANGO_BASE_TEMPLATE'):
# return dict(BASE_TEMPLATE=settings.REACT_COMMENTS_DJANGO_BASE_TEMPLATE)
# else:
# return dict(BASE_TEMPLATE='react-comments-django/react_index.ht... | 36.111111 | 81 | 0.76 | 40 | 325 | 5.825 | 0.45 | 0.223176 | 0.32618 | 0.23176 | 0.334764 | 0.334764 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141538 | 325 | 8 | 82 | 40.625 | 0.835125 | 0.947692 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
28ab7dd4bb1bd35201da9dea4b4e7dc9cb81ae98 | 164 | py | Python | borgweb/views/index.py | audeoudh/borgweb | 58bb2d97c58c5e78da723f42967d8f9c752b8f5d | [
"BSD-3-Clause"
] | 331 | 2015-06-15T09:31:38.000Z | 2022-03-24T18:10:50.000Z | borgweb/views/index.py | audeoudh/borgweb | 58bb2d97c58c5e78da723f42967d8f9c752b8f5d | [
"BSD-3-Clause"
] | 91 | 2015-06-15T20:16:19.000Z | 2022-03-09T19:24:22.000Z | borgweb/views/index.py | audeoudh/borgweb | 58bb2d97c58c5e78da723f42967d8f9c752b8f5d | [
"BSD-3-Clause"
] | 62 | 2015-06-15T09:31:46.000Z | 2022-02-27T03:51:28.000Z | """
index / main view
"""
from flask import render_template
from . import blueprint
@blueprint.route('/')
def index():
return render_template('index.html')
| 12.615385 | 40 | 0.695122 | 20 | 164 | 5.6 | 0.65 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164634 | 164 | 12 | 41 | 13.666667 | 0.817518 | 0.103659 | 0 | 0 | 0 | 0 | 0.079137 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0.4 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
28ba174daebd28fb586e4cad71d48abefc7a9353 | 142 | py | Python | dataset/__init__.py | rcap107/holoclean | d4f5929a8e4d92d4f41eb058c04c96cdcb0af767 | [
"Apache-2.0"
] | 468 | 2018-11-11T15:40:12.000Z | 2022-03-30T13:21:48.000Z | dataset/__init__.py | rcap107/holoclean | d4f5929a8e4d92d4f41eb058c04c96cdcb0af767 | [
"Apache-2.0"
] | 43 | 2018-11-10T20:03:49.000Z | 2020-10-20T16:39:03.000Z | dataset/__init__.py | rcap107/holoclean | d4f5929a8e4d92d4f41eb058c04c96cdcb0af767 | [
"Apache-2.0"
] | 118 | 2018-11-12T19:11:42.000Z | 2022-03-23T18:25:29.000Z | from .dataset import Dataset
from .dataset import AuxTables
from .dataset import CellStatus
__all__ = ['Dataset', 'AuxTables', 'CellStatus']
| 23.666667 | 48 | 0.774648 | 16 | 142 | 6.625 | 0.375 | 0.311321 | 0.481132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 142 | 5 | 49 | 28.4 | 0.854839 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
28d527b44406edeef9a67426835fb33e89b3421b | 88 | py | Python | fixtures/gotodef/approximate-resource-imports/gotodeflib2.py | gliviu/hyperclick-robot-framework | ff76a2c07829c4a0b12856e4925c8f9f8d741385 | [
"MIT"
] | 3 | 2017-02-18T11:55:59.000Z | 2020-02-03T18:02:03.000Z | fixtures/gotodef/approximate-resource-imports/gotodeflib2.py | gliviu/hyperclick-robot-framework | ff76a2c07829c4a0b12856e4925c8f9f8d741385 | [
"MIT"
] | 4 | 2017-02-13T13:18:02.000Z | 2020-08-14T16:26:13.000Z | fixtures/gotodef/approximate-resource-imports/gotodeflib2.py | gliviu/hyperclick-robot-framework | ff76a2c07829c4a0b12856e4925c8f9f8d741385 | [
"MIT"
] | null | null | null | def impkw():
print('impkw2')
def my_third_keyword():
print('my_third_keyword2')
| 17.6 | 30 | 0.681818 | 12 | 88 | 4.666667 | 0.666667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.159091 | 88 | 4 | 31 | 22 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0.261364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e93ac497fc091e3c82e2ab1911a26325c3b2e250 | 34 | py | Python | dtuf/__main__.py | davedoesdev/dtuf | 590f42e8ccee1b3f02af153fba34b0ba3b9b7850 | [
"MIT"
] | 13 | 2016-01-05T01:48:01.000Z | 2022-02-20T14:53:04.000Z | dtuf/__main__.py | davedoesdev/dtuf | 590f42e8ccee1b3f02af153fba34b0ba3b9b7850 | [
"MIT"
] | 3 | 2015-12-10T21:32:22.000Z | 2016-03-09T22:38:02.000Z | dtuf/__main__.py | davedoesdev/dtuf | 590f42e8ccee1b3f02af153fba34b0ba3b9b7850 | [
"MIT"
] | 2 | 2018-02-02T21:29:08.000Z | 2020-05-27T10:50:35.000Z | import dtuf.main
dtuf.main.main()
| 11.333333 | 16 | 0.764706 | 6 | 34 | 4.333333 | 0.5 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 2 | 17 | 17 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
aaeb6e7029cb574f5d29091c0ccd8c4ad17b8148 | 137 | py | Python | src/base/__init__.py | shaliniiit/CVDD-PyTorch | c07e1bd24fad81c1a1c51a70d90474b333d19f57 | [
"MIT"
] | 48 | 2019-07-30T12:34:41.000Z | 2022-02-23T10:56:42.000Z | src/base/__init__.py | Wuliyuanulb/CVDD-PyTorch | aa2b033ed8216ce132ef6977da1e4fae665fb0c0 | [
"MIT"
] | 4 | 2019-11-28T14:26:38.000Z | 2021-11-16T14:53:17.000Z | src/base/__init__.py | Wuliyuanulb/CVDD-PyTorch | aa2b033ed8216ce132ef6977da1e4fae665fb0c0 | [
"MIT"
] | 19 | 2019-07-30T02:44:57.000Z | 2022-02-02T00:39:13.000Z | from .base_dataset import *
from .torchnlp_dataset import *
from .base_net import *
from .base_trainer import *
from .embedding import *
| 22.833333 | 31 | 0.781022 | 19 | 137 | 5.421053 | 0.421053 | 0.38835 | 0.330097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145985 | 137 | 5 | 32 | 27.4 | 0.880342 | 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 |
aaebb1ad92f7af47a7d010a1f197d41ab01d5438 | 40 | py | Python | fftbg/bird/msg_types.py | rainbowbismuth/birb-brains-bot | f168ec06c5c5cc8d41589437c6f91f0d97289167 | [
"MIT"
] | 1 | 2020-12-01T01:31:31.000Z | 2020-12-01T01:31:31.000Z | fftbg/bird/msg_types.py | rainbowbismuth/birb-brains-bot | f168ec06c5c5cc8d41589437c6f91f0d97289167 | [
"MIT"
] | 2 | 2021-05-30T21:10:16.000Z | 2021-05-30T21:10:44.000Z | fftbg/bird/msg_types.py | rainbowbismuth/birb-brains-bot | f168ec06c5c5cc8d41589437c6f91f0d97289167 | [
"MIT"
] | null | null | null | BIRD_GOING_ALL_IN = 'BIRD_GOING_ALL_IN'
| 20 | 39 | 0.85 | 8 | 40 | 3.5 | 0.5 | 0.642857 | 0.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c923c7d31b4c0467042ba3aa9347bf83a94695a6 | 16,376 | py | Python | data.py | IVRL/FG-NIC | b2338f5dfd10883150fc415d149b1f080e5a344d | [
"MIT"
] | 2 | 2021-05-31T22:46:12.000Z | 2021-06-01T01:24:41.000Z | data.py | IVRL/FG-NIC | b2338f5dfd10883150fc415d149b1f080e5a344d | [
"MIT"
] | null | null | null | data.py | IVRL/FG-NIC | b2338f5dfd10883150fc415d149b1f080e5a344d | [
"MIT"
] | 2 | 2021-12-13T08:57:18.000Z | 2021-12-29T06:38:47.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Project : FG-NIC
# @Author : Xiaoyu LIN
# @File : data.py
# @Description : This file is used to genterate Pytorch dataset for caltech-256 and caltech-101.
from PIL import Image
from typing import Any, Callable, List, Optional, Union, Tuple
f... | 45.112948 | 111 | 0.553249 | 1,905 | 16,376 | 4.64147 | 0.152231 | 0.021715 | 0.029405 | 0.038 | 0.748699 | 0.746664 | 0.740443 | 0.72133 | 0.71658 | 0.683443 | 0 | 0.011681 | 0.341292 | 16,376 | 363 | 112 | 45.112948 | 0.80801 | 0.215132 | 0 | 0.728395 | 0 | 0 | 0.099239 | 0.005645 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045267 | false | 0 | 0.045267 | 0.020576 | 0.144033 | 0.024691 | 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 |
a33d9a1c079733143e68fd42b039458a49962730 | 1,381 | py | Python | djangophysics/units/permissions.py | fmeurou/django-physics | 0f67efa1b6bd547e0b80191e7a2624c2c971bdc0 | [
"MIT"
] | 1 | 2021-06-15T20:51:45.000Z | 2021-06-15T20:51:45.000Z | djangophysics/units/permissions.py | fmeurou/django-physics | 0f67efa1b6bd547e0b80191e7a2624c2c971bdc0 | [
"MIT"
] | null | null | null | djangophysics/units/permissions.py | fmeurou/django-physics | 0f67efa1b6bd547e0b80191e7a2624c2c971bdc0 | [
"MIT"
] | 1 | 2021-12-01T00:01:29.000Z | 2021-12-01T00:01:29.000Z | """
Permissions for CustomUnit APIs
"""
from rest_framework import permissions
class CustomUnitObjectPermission(permissions.BasePermission):
"""
Permissions for CustomUnit API
"""
def has_object_permission(self, request, view, obj):
"""
Limit creation and modification tu logged in us... | 29.382979 | 71 | 0.611875 | 145 | 1,381 | 5.765517 | 0.331034 | 0.078947 | 0.066986 | 0.093301 | 0.722488 | 0.722488 | 0.722488 | 0.722488 | 0.722488 | 0.722488 | 0 | 0 | 0.304127 | 1,381 | 47 | 72 | 29.382979 | 0.869927 | 0.144823 | 0 | 0.88 | 0 | 0 | 0.032787 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.04 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a382b3dbcbcb81d02ece6aaac5616012124d63e5 | 13,022 | py | Python | snn/core/cnn_fn.py | KaroliShp/pacbayes-opt | fa30b897fd6c3763a4bdb66a9fc9518165841c18 | [
"Apache-2.0"
] | 20 | 2019-04-03T11:33:45.000Z | 2022-01-16T03:30:44.000Z | snn/core/cnn_fn.py | KaroliShp/pacbayes-opt | fa30b897fd6c3763a4bdb66a9fc9518165841c18 | [
"Apache-2.0"
] | 3 | 2020-05-06T09:22:12.000Z | 2021-12-07T17:46:07.000Z | snn/core/cnn_fn.py | KaroliShp/pacbayes-opt | fa30b897fd6c3763a4bdb66a9fc9518165841c18 | [
"Apache-2.0"
] | 8 | 2019-06-10T08:16:45.000Z | 2021-12-05T16:50:49.000Z | from __future__ import division, print_function, unicode_literals
import functools
import tensorflow as tf
tf.logging.set_verbosity(tf.logging.ERROR) # Remove tf warnings
import numpy as np
from time import time
import os, shutil, random
NUM_CLASSES = 10
def CNN_withnoise(images, param_placeholders, scopes_list,laye... | 48.771536 | 132 | 0.62141 | 1,646 | 13,022 | 4.746051 | 0.120899 | 0.018433 | 0.067204 | 0.069124 | 0.836662 | 0.825653 | 0.807604 | 0.800179 | 0.779954 | 0.758449 | 0 | 0.047654 | 0.258716 | 13,022 | 266 | 133 | 48.954887 | 0.761629 | 0.099677 | 0 | 0.646409 | 0 | 0 | 0.032815 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044199 | false | 0 | 0.033149 | 0.01105 | 0.121547 | 0.005525 | 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 |
a39e865e36d5db053da4c847bb23be8798c0eec9 | 228 | py | Python | python/tests/test_import_protobuf.py | foxglove/ws-server-example-python | 9ca831a96206ff38e0f46d0510527019a1358993 | [
"MIT"
] | null | null | null | python/tests/test_import_protobuf.py | foxglove/ws-server-example-python | 9ca831a96206ff38e0f46d0510527019a1358993 | [
"MIT"
] | null | null | null | python/tests/test_import_protobuf.py | foxglove/ws-server-example-python | 9ca831a96206ff38e0f46d0510527019a1358993 | [
"MIT"
] | null | null | null | def test_import_protobuf():
"""
Ensure the generated protobuf file is successfully importable in a dev environment.
"""
from foxglove_websocket.examples.proto.ExampleMsg_pb2 import ExampleMsg
_ = ExampleMsg
| 28.5 | 87 | 0.745614 | 26 | 228 | 6.346154 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.192982 | 228 | 7 | 88 | 32.571429 | 0.891304 | 0.364035 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6e7f17689b905d9eb78446804ddbcd616ba96ec0 | 34 | py | Python | navec/__init__.py | FreedomSlow/navec | b9add7f6661d5da44a2e1ed42364e0c3bc4b00f1 | [
"MIT"
] | 115 | 2019-06-13T09:06:41.000Z | 2022-03-22T12:15:11.000Z | navec/__init__.py | FreedomSlow/navec | b9add7f6661d5da44a2e1ed42364e0c3bc4b00f1 | [
"MIT"
] | 4 | 2020-02-13T06:40:00.000Z | 2021-11-24T13:58:11.000Z | navec/__init__.py | FreedomSlow/navec | b9add7f6661d5da44a2e1ed42364e0c3bc4b00f1 | [
"MIT"
] | 13 | 2019-06-13T06:31:25.000Z | 2022-03-20T19:20:58.000Z |
from .navec import Navec # noqa
| 11.333333 | 32 | 0.705882 | 5 | 34 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 34 | 2 | 33 | 17 | 0.923077 | 0.117647 | 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 |
6ebd69e37b6a26e451555096c95c124ba4ed98bc | 150 | py | Python | Python Games/Breakout/States/Baseclass.py | lazydinoz/HackFest21 | 84bfbfbb2c75a6511226a87d2e947984db878ba1 | [
"MIT"
] | 1 | 2021-11-12T10:51:19.000Z | 2021-11-12T10:51:19.000Z | Python Games/Breakout/States/Baseclass.py | lazydinoz/HackFest21 | 84bfbfbb2c75a6511226a87d2e947984db878ba1 | [
"MIT"
] | null | null | null | Python Games/Breakout/States/Baseclass.py | lazydinoz/HackFest21 | 84bfbfbb2c75a6511226a87d2e947984db878ba1 | [
"MIT"
] | null | null | null | import pygame
class Base:
def __init__(self): pass
def render(self) : pass
def update(self, params) : pass
def enter(self) : pass | 13.636364 | 35 | 0.64 | 21 | 150 | 4.380952 | 0.571429 | 0.26087 | 0.23913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 150 | 11 | 36 | 13.636364 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.666667 | false | 0.666667 | 0.166667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
42bd9bd4494f3544721fc186b5d3de319b3092a0 | 2,084 | py | Python | tests/unit/test_global_config.py | iwanbolzern/ConfMe | 2b91dac318e499b7e25a40fb2abaf0f15a604301 | [
"MIT"
] | 21 | 2020-03-04T07:40:12.000Z | 2022-03-25T15:35:29.000Z | tests/unit/test_global_config.py | iwanbolzern/ConfMe | 2b91dac318e499b7e25a40fb2abaf0f15a604301 | [
"MIT"
] | 9 | 2020-03-05T12:38:40.000Z | 2021-12-22T14:37:33.000Z | tests/unit/test_global_config.py | iwanbolzern/ConfMe | 2b91dac318e499b7e25a40fb2abaf0f15a604301 | [
"MIT"
] | null | null | null | import os
import uuid
from pathlib import Path
import pytest
from tests.unit.config_model import GlobalRootConfig, RootConfig
@pytest.fixture
def test_config_yaml(tmp_path: str):
config_content = 'rootValue: 1\n' \
'rangeValue: 5\n' \
'childNode:\n' \
... | 29.771429 | 74 | 0.615163 | 247 | 2,084 | 4.97166 | 0.222672 | 0.065147 | 0.057003 | 0.061889 | 0.809446 | 0.809446 | 0.809446 | 0.809446 | 0.798046 | 0.698697 | 0 | 0.013029 | 0.263436 | 2,084 | 69 | 75 | 30.202899 | 0.786971 | 0 | 0 | 0.693878 | 0 | 0 | 0.190019 | 0.023033 | 0 | 0 | 0 | 0 | 0.081633 | 1 | 0.081633 | false | 0 | 0.102041 | 0 | 0.22449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
42c0f1bf08d85f82660fbe016388bfb70b691d73 | 123 | py | Python | mmt/models/clip/__init__.py | jianzhnie/MultimodalTransformer | 6cd4ca8034a53da361149745aecead68fbe304a0 | [
"Apache-2.0"
] | 1 | 2021-11-08T14:32:24.000Z | 2021-11-08T14:32:24.000Z | mmt/models/clip/__init__.py | jianzhnie/MultimodalTransformer | 6cd4ca8034a53da361149745aecead68fbe304a0 | [
"Apache-2.0"
] | null | null | null | mmt/models/clip/__init__.py | jianzhnie/MultimodalTransformer | 6cd4ca8034a53da361149745aecead68fbe304a0 | [
"Apache-2.0"
] | null | null | null | '''
Author: jianzhnie
Date: 2021-12-03 12:05:26
LastEditTime: 2021-12-03 12:05:27
LastEditors: jianzhnie
Description:
'''
| 13.666667 | 33 | 0.731707 | 19 | 123 | 4.736842 | 0.631579 | 0.133333 | 0.177778 | 0.222222 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256881 | 0.113821 | 123 | 8 | 34 | 15.375 | 0.568807 | 0.918699 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6e1a578c79d553a442e86b8c12861bda68d2515e | 148 | py | Python | Desktop10.4.1/python/gdalconst.py | Esri/raster2gpkg | d10ebb3038786ecddf41072ba5b2c49baad97c5a | [
"Apache-2.0"
] | 13 | 2015-11-18T18:26:34.000Z | 2021-05-09T13:59:46.000Z | Desktop10.4.1/python/gdalconst.py | Esri/raster2gpkg | d10ebb3038786ecddf41072ba5b2c49baad97c5a | [
"Apache-2.0"
] | 4 | 2015-12-26T03:16:25.000Z | 2016-08-23T17:18:11.000Z | Desktop10.4.1/python/gdalconst.py | Esri/raster2gpkg | d10ebb3038786ecddf41072ba5b2c49baad97c5a | [
"Apache-2.0"
] | 5 | 2015-10-22T13:28:53.000Z | 2020-12-12T13:07:52.000Z | # import osgeo.gdalconst as a convenience
from osgeo.gdal import deprecation_warn
deprecation_warn('gdalconst')
from osgeo.gdalconst import *
| 24.666667 | 42 | 0.797297 | 19 | 148 | 6.105263 | 0.526316 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141892 | 148 | 5 | 43 | 29.6 | 0.913386 | 0.263514 | 0 | 0 | 0 | 0 | 0.088235 | 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 |
6e429e3963717941792f36ffbca568cbdbc21f51 | 311 | py | Python | plugins/flytekit-dolt/flytekitplugins/dolt/__init__.py | bstadlbauer/flytekit | 12ef34d7b6d777088ab87f9cf0d5c32355895852 | [
"Apache-2.0"
] | null | null | null | plugins/flytekit-dolt/flytekitplugins/dolt/__init__.py | bstadlbauer/flytekit | 12ef34d7b6d777088ab87f9cf0d5c32355895852 | [
"Apache-2.0"
] | null | null | null | plugins/flytekit-dolt/flytekitplugins/dolt/__init__.py | bstadlbauer/flytekit | 12ef34d7b6d777088ab87f9cf0d5c32355895852 | [
"Apache-2.0"
] | null | null | null | """
.. currentmodule:: flytekitplugins.dolt
This package contains things that are useful when extending Flytekit.
.. autosummary::
:template: custom.rst
:toctree: generated/
DoltConfig
DoltTable
DoltTableNameTransformer
"""
from .schema import DoltConfig, DoltTable, DoltTableNameTransformer
| 19.4375 | 69 | 0.762058 | 28 | 311 | 8.464286 | 0.892857 | 0.160338 | 0.362869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157556 | 311 | 15 | 70 | 20.733333 | 0.90458 | 0.749196 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6e4d963e949a413ae61d0903b72f491070b179e9 | 59 | py | Python | service_monitor/__init__.py | soltanoff/systemd_watcher | 11550f0760c2c654c4f57e11295ec03b9e8ee181 | [
"MIT"
] | 5 | 2018-12-05T09:22:45.000Z | 2020-03-17T15:36:21.000Z | service_monitor/__init__.py | soltanoff/systemd_watcher | 11550f0760c2c654c4f57e11295ec03b9e8ee181 | [
"MIT"
] | 10 | 2018-10-29T09:45:27.000Z | 2021-09-22T17:43:45.000Z | service_monitor/__init__.py | soltanoff/systemd_watcher | 11550f0760c2c654c4f57e11295ec03b9e8ee181 | [
"MIT"
] | null | null | null | from service_monitor.service_monitor import ServiceMonitor
| 29.5 | 58 | 0.915254 | 7 | 59 | 7.428571 | 0.714286 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 59 | 1 | 59 | 59 | 0.945455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2848fad24bb5e5ad398444d03a8c922c2aff1bb8 | 2,751 | py | Python | analysis/prep/network/lib/nhd/barriers.py | astutespruce/sarp | 7ce503380440c47b762ed1a8efd1d3e3aab6605e | [
"MIT"
] | 5 | 2020-07-10T16:13:26.000Z | 2022-03-02T05:06:30.000Z | analysis/prep/network/lib/nhd/barriers.py | astutespruce/sarp | 7ce503380440c47b762ed1a8efd1d3e3aab6605e | [
"MIT"
] | 23 | 2019-06-02T14:37:53.000Z | 2019-10-23T17:59:40.000Z | analysis/prep/network/lib/nhd/barriers.py | astutespruce/sarp | 7ce503380440c47b762ed1a8efd1d3e3aab6605e | [
"MIT"
] | 2 | 2020-05-27T23:28:36.000Z | 2020-12-14T22:10:24.000Z | from pyogrio import read_dataframe
from analysis.lib.geometry import make_valid
BARRIER_COLS = ["NHDPlusID", "FType", "FCode", "GNIS_Name", "geometry"]
# Dam, reservoir, waterfall
POINT_FTYPES = [343, 436, 487]
# Dam, Gate, Lock Chamber, Waterfall
LINE_FTYPES = [343, 369, 398, 487]
# Dam, Lock, Spillway
POLY_FTYP... | 23.313559 | 76 | 0.627045 | 350 | 2,751 | 4.788571 | 0.262857 | 0.064439 | 0.03043 | 0.02864 | 0.802506 | 0.761337 | 0.761337 | 0.761337 | 0.761337 | 0.761337 | 0 | 0.025074 | 0.260633 | 2,751 | 117 | 77 | 23.512821 | 0.798918 | 0.348237 | 0 | 0.625 | 0 | 0 | 0.114634 | 0.012805 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.041667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9534fbf95b610a117f262020ffa544ae78a87543 | 121 | py | Python | enthought/envisage/ui/single_project/action/new_project_action.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/envisage/ui/single_project/action/new_project_action.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/envisage/ui/single_project/action/new_project_action.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from envisage.ui.single_project.action.new_project_action import *
| 30.25 | 66 | 0.859504 | 17 | 121 | 5.647059 | 0.705882 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 121 | 3 | 67 | 40.333333 | 0.872727 | 0.099174 | 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 |
9579a8b128b6c295843eb776ef772560204798a1 | 206 | py | Python | test_data/scraper_follower3.py | digawp/MyScraper | 1f0bcb47a1b81002bf70f0869949e16ab10c90e6 | [
"MIT"
] | null | null | null | test_data/scraper_follower3.py | digawp/MyScraper | 1f0bcb47a1b81002bf70f0869949e16ab10c90e6 | [
"MIT"
] | null | null | null | test_data/scraper_follower3.py | digawp/MyScraper | 1f0bcb47a1b81002bf70f0869949e16ab10c90e6 | [
"MIT"
] | null | null | null | import scrapy
def generate_next_urls(response):
'''
Sample crawler. Replace with your own implementation.
https://doc.scrapy.org/en/1.3/intro/tutorial.html#following-links
'''
return [] | 25.75 | 69 | 0.699029 | 27 | 206 | 5.259259 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.174757 | 206 | 8 | 70 | 25.75 | 0.823529 | 0.57767 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2500a8001e30053ec2e117af0ad5f6533705f9d5 | 33 | py | Python | tweerator/__init__.py | Parassharmaa/tweerator | 9ed281e05734ef3cb3532f56d18ff9450f5dde46 | [
"MIT"
] | null | null | null | tweerator/__init__.py | Parassharmaa/tweerator | 9ed281e05734ef3cb3532f56d18ff9450f5dde46 | [
"MIT"
] | null | null | null | tweerator/__init__.py | Parassharmaa/tweerator | 9ed281e05734ef3cb3532f56d18ff9450f5dde46 | [
"MIT"
] | null | null | null | from .tweerator import Tweerator
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
252aaf2ab821edfdc8d04f4d44b1948a21ae2822 | 10,048 | py | Python | tests/test_recipient_algs_ecdh_aes_key_wrap.py | dajiaji/python-cwt | 61723510663dc4cd5a5171ff3a78994cac5f5213 | [
"MIT"
] | 11 | 2021-04-29T13:48:15.000Z | 2022-01-31T22:27:14.000Z | tests/test_recipient_algs_ecdh_aes_key_wrap.py | dajiaji/python-cwt | 61723510663dc4cd5a5171ff3a78994cac5f5213 | [
"MIT"
] | 185 | 2021-04-23T22:14:50.000Z | 2022-03-28T06:27:35.000Z | tests/test_recipient_algs_ecdh_aes_key_wrap.py | dajiaji/python-cwt | 61723510663dc4cd5a5171ff3a78994cac5f5213 | [
"MIT"
] | 5 | 2021-08-09T02:21:18.000Z | 2022-01-05T11:39:08.000Z | """
Tests for Direct.
"""
import pytest
from cwt.cose import COSE
from cwt.cose_key import COSEKey
from cwt.exceptions import DecodeError, EncodeError
from cwt.recipient import Recipient
from cwt.recipient_algs.ecdh_aes_key_wrap import ECDH_AESKeyWrap
@pytest.fixture(scope="session", autouse=True)
def sender_key_es(... | 44.264317 | 115 | 0.63744 | 1,289 | 10,048 | 4.687355 | 0.098526 | 0.023833 | 0.033102 | 0.046342 | 0.847071 | 0.833995 | 0.765475 | 0.743628 | 0.716981 | 0.697617 | 0 | 0.052707 | 0.23338 | 10,048 | 226 | 116 | 44.460177 | 0.731663 | 0.009554 | 0 | 0.5 | 0 | 0 | 0.181626 | 0.056311 | 0 | 0 | 0 | 0 | 0.143617 | 1 | 0.117021 | false | 0 | 0.031915 | 0.015957 | 0.170213 | 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 |
254ea764a61f90a0a6be45290318eae97e984971 | 152 | py | Python | tests/__init__.py | dgpv/bip32_template_python_implementation | 299e87d7827a6e7b0b650fb394f269aaa3e061f7 | [
"MIT"
] | 5 | 2020-10-26T16:49:54.000Z | 2021-11-06T10:46:06.000Z | tests/__init__.py | dgpv/bip32_template_python_implementation | 299e87d7827a6e7b0b650fb394f269aaa3e061f7 | [
"MIT"
] | 1 | 2020-10-25T09:40:46.000Z | 2020-10-25T10:00:28.000Z | tests/__init__.py | dgpv/bip32_template_python_implementation | 299e87d7827a6e7b0b650fb394f269aaa3e061f7 | [
"MIT"
] | 1 | 2022-01-06T07:30:18.000Z | 2022-01-06T07:30:18.000Z | try:
import micropython # type: ignore
# only needed for micropython's unittest
from .test_templates import *
except ImportError:
pass
| 21.714286 | 44 | 0.710526 | 18 | 152 | 5.944444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 152 | 6 | 45 | 25.333333 | 0.922414 | 0.335526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 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 |
256bdd15f9465a4084f6529ce7ef2bc8b3dff1fb | 22 | py | Python | networks/__init__.py | naivete5656/Mitosis_Detection_MLM | dfdadd7dfafab7e931f13a84c27e221498c9f959 | [
"MIT"
] | 2 | 2020-07-14T02:47:32.000Z | 2020-07-15T09:38:01.000Z | networks/__init__.py | naivete5656/Mitosis_Detection_MLM | dfdadd7dfafab7e931f13a84c27e221498c9f959 | [
"MIT"
] | 2 | 2021-12-17T13:04:09.000Z | 2022-01-03T01:20:25.000Z | networks/__init__.py | naivete5656/Mitosis_Detection_MLM | dfdadd7dfafab7e931f13a84c27e221498c9f959 | [
"MIT"
] | 2 | 2021-05-16T03:47:08.000Z | 2021-12-28T16:56:23.000Z | from .vnet import VNet | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c27830aae37019bfa65e406eaf4e44663387f8e0 | 25 | py | Python | tabledict/core/exceptions/__init__.py | DolphDev/LDictionary | a8c44d40f70c7d7243ea3440743dfb9c68d319b5 | [
"MIT"
] | null | null | null | tabledict/core/exceptions/__init__.py | DolphDev/LDictionary | a8c44d40f70c7d7243ea3440743dfb9c68d319b5 | [
"MIT"
] | 5 | 2018-01-08T14:32:02.000Z | 2020-08-11T13:12:20.000Z | psv/core/exceptions/__init__.py | DolphDev/PSV | 1cb22e20b15e10b01f104b879debb4864b93bfe9 | [
"MIT"
] | null | null | null | from . import messages
| 6.25 | 22 | 0.72 | 3 | 25 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 25 | 3 | 23 | 8.333333 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6c5636a859756dc88d73234155f3e5cb260e0c8c | 47 | py | Python | Applications/price_GEF_14/top_level.py | nagadakos/online-learning | 3be9a59b56d4b7147b7efa4175448e74731cd005 | [
"Apache-2.0"
] | null | null | null | Applications/price_GEF_14/top_level.py | nagadakos/online-learning | 3be9a59b56d4b7147b7efa4175448e74731cd005 | [
"Apache-2.0"
] | 4 | 2018-10-25T20:53:07.000Z | 2018-10-30T16:20:50.000Z | Applications/price_GEF_14/top_level.py | nagadakos/online-learning | 3be9a59b56d4b7147b7efa4175448e74731cd005 | [
"Apache-2.0"
] | 1 | 2018-10-26T13:48:31.000Z | 2018-10-26T13:48:31.000Z | import sys
print("Hello from price_GEF_14!")
| 9.4 | 33 | 0.744681 | 8 | 47 | 4.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.148936 | 47 | 4 | 34 | 11.75 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0.510638 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
6c8ac8654891cf438d4cf9012cf1a39879ff0346 | 19,320 | py | Python | test/test_slimta_smtp_server.py | nanojob/python-slimta | 70b9c633756a56afaf1fdd53c5ead6d0001036e7 | [
"MIT"
] | 141 | 2015-01-24T23:59:18.000Z | 2022-01-30T16:36:37.000Z | test/test_slimta_smtp_server.py | nanojob/python-slimta | 70b9c633756a56afaf1fdd53c5ead6d0001036e7 | [
"MIT"
] | 106 | 2015-01-13T22:49:07.000Z | 2021-02-17T15:14:11.000Z | test/test_slimta_smtp_server.py | nanojob/python-slimta | 70b9c633756a56afaf1fdd53c5ead6d0001036e7 | [
"MIT"
] | 43 | 2015-07-29T14:55:09.000Z | 2021-09-24T22:30:38.000Z | import unittest
from mox3.mox import MoxTestBase, IsA
from gevent.ssl import SSLSocket, SSLContext, SSLError
from pysasl import SASLAuth
from slimta.smtp.server import Server
from slimta.smtp.auth import AuthSession
from slimta.smtp import ConnectionLost
class TestSmtpServer(MoxTestBase, unittest.TestCase):
def... | 43.611738 | 102 | 0.616511 | 3,130 | 19,320 | 3.764537 | 0.0623 | 0.152084 | 0.094204 | 0.132394 | 0.844097 | 0.827209 | 0.808538 | 0.796656 | 0.791988 | 0.780956 | 0 | 0.038847 | 0.220549 | 19,320 | 442 | 103 | 43.710407 | 0.743608 | 0.001708 | 0 | 0.684864 | 0 | 0 | 0.227327 | 0.003422 | 0 | 0 | 0 | 0 | 0.081886 | 1 | 0.091811 | false | 0 | 0.01737 | 0.002481 | 0.124069 | 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 |
66685c1b4c5f59fd325683a2eb2a24c69a61e101 | 29 | py | Python | thealot/__init__.py | nCrazed/TheAlot | dc1bf88019c4f0ef08924d6f7bb39ff1e799940e | [
"MIT"
] | null | null | null | thealot/__init__.py | nCrazed/TheAlot | dc1bf88019c4f0ef08924d6f7bb39ff1e799940e | [
"MIT"
] | 1 | 2016-02-25T11:22:46.000Z | 2016-02-25T11:22:46.000Z | thealot/__init__.py | nCrazed/TheAlot | dc1bf88019c4f0ef08924d6f7bb39ff1e799940e | [
"MIT"
] | null | null | null | from .thealot import TheAlot
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
667e7c4daf1ab809f643a72558b8514957d82aff | 11,856 | py | Python | tests/classes/wrappers/test_map_result.py | vahndi/ux | 8acb3c07327e547ee948788536b6d6d1d7815bb2 | [
"MIT"
] | null | null | null | tests/classes/wrappers/test_map_result.py | vahndi/ux | 8acb3c07327e547ee948788536b6d6d1d7815bb2 | [
"MIT"
] | 43 | 2019-05-30T12:26:52.000Z | 2020-08-02T21:57:24.000Z | tests/classes/wrappers/test_map_result.py | vahndi/ux | 8acb3c07327e547ee948788536b6d6d1d7815bb2 | [
"MIT"
] | null | null | null | from itertools import product
from typing import List
from unittest import TestCase
from pandas import Series, Index, DataFrame
from ux.wrappers.map_result import MapResult
class TestMapResult(TestCase):
def setUp(self) -> None:
self.mr_single_single: MapResult = MapResult(
data={'a': 1, '... | 38.245161 | 113 | 0.54251 | 1,492 | 11,856 | 4.020777 | 0.058981 | 0.107018 | 0.108018 | 0.06001 | 0.88048 | 0.820303 | 0.780963 | 0.744791 | 0.713619 | 0.661777 | 0 | 0.027557 | 0.311319 | 11,856 | 309 | 114 | 38.368932 | 0.707165 | 0.015773 | 0 | 0.420074 | 0 | 0 | 0.051458 | 0 | 0 | 0 | 0 | 0 | 0.130112 | 1 | 0.052045 | false | 0 | 0.018587 | 0.007435 | 0.081784 | 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 |
66dd8d3a4d0c6b8b9cd781c4991c94896208c2d5 | 3,668 | py | Python | tests/test_compat.py | sharov/dd-trace-py | d0995b49cf7147ab463d0a67a38779fad3f539b4 | [
"BSD-3-Clause"
] | 1 | 2019-11-24T23:09:29.000Z | 2019-11-24T23:09:29.000Z | tests/test_compat.py | sharov/dd-trace-py | d0995b49cf7147ab463d0a67a38779fad3f539b4 | [
"BSD-3-Clause"
] | null | null | null | tests/test_compat.py | sharov/dd-trace-py | d0995b49cf7147ab463d0a67a38779fad3f539b4 | [
"BSD-3-Clause"
] | 2 | 2017-05-27T05:58:36.000Z | 2019-02-07T13:38:53.000Z | # -*- coding: utf-8 -*-
# Define source file encoding to support raw unicode characters in Python 2
# Third party
from nose.tools import eq_
# Project
from ddtrace.compat import to_unicode, PY2
# Use different test suites for each Python version, this allows us to test the expected
# results for each Python versi... | 38.610526 | 93 | 0.585605 | 475 | 3,668 | 4.298947 | 0.187368 | 0.18952 | 0.052889 | 0.094025 | 0.803624 | 0.767385 | 0.751714 | 0.700784 | 0.683154 | 0.683154 | 0 | 0.00887 | 0.293075 | 3,668 | 94 | 94 | 39.021277 | 0.778635 | 0.333969 | 0 | 0.571429 | 0 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.035714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
66eb57287a0dafaa40e5c7029f4f95ff6c3153ba | 299 | py | Python | webapi/youtube/__init__.py | RKSCapul/demo-hermitcraft-concept-site-backend-r2 | ef1f2c7ee16be0301445a2e2902def0df2d08546 | [
"MIT"
] | null | null | null | webapi/youtube/__init__.py | RKSCapul/demo-hermitcraft-concept-site-backend-r2 | ef1f2c7ee16be0301445a2e2902def0df2d08546 | [
"MIT"
] | null | null | null | webapi/youtube/__init__.py | RKSCapul/demo-hermitcraft-concept-site-backend-r2 | ef1f2c7ee16be0301445a2e2902def0df2d08546 | [
"MIT"
] | null | null | null | from .channels import getYouTubeChannelDataAll
from .channels import getYouTubeChannelDataUser
from .channels import getYouTubeAccountPictureAll
from .channels import getYouTubeChannelLivestreamDataAll
from .videos import getYouTubeChannelVideos
from .videos import getAllRecentYouTubeChannelVideos | 42.714286 | 56 | 0.899666 | 24 | 299 | 11.208333 | 0.416667 | 0.178439 | 0.267658 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080268 | 299 | 7 | 57 | 42.714286 | 0.978182 | 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 | 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 |
dd65b870998d80f2ebebb6853507b2956888465a | 22,226 | py | Python | TEMPy/Cluster.py | OniDaito/ChimeraXTempy | a32ef6c54a403580f3a530ab36d91e475bf4b2dc | [
"MIT"
] | 2 | 2020-04-03T03:38:08.000Z | 2020-06-21T02:31:38.000Z | TEMPy/Cluster.py | OniDaito/ChimeraXTempy | a32ef6c54a403580f3a530ab36d91e475bf4b2dc | [
"MIT"
] | 16 | 2017-06-16T20:06:14.000Z | 2017-07-31T17:32:32.000Z | TEMPy/Cluster.py | OniDaito/ChimeraXTempy | a32ef6c54a403580f3a530ab36d91e475bf4b2dc | [
"MIT"
] | 1 | 2020-06-21T02:31:44.000Z | 2020-06-21T02:31:44.000Z | #===============================================================================
# This file is part of TEMPy.
#
# TEMPy is a software designed to help the user in the manipulation
# and analyses of macromolecular assemblies using 3D electron microscopy maps.
#
# Copyright 2015 Birkbeck Colleg... | 53.68599 | 196 | 0.548862 | 2,677 | 22,226 | 4.385506 | 0.143071 | 0.021806 | 0.017888 | 0.011499 | 0.808859 | 0.795145 | 0.777939 | 0.766525 | 0.753918 | 0.747956 | 0 | 0.025883 | 0.362053 | 22,226 | 413 | 197 | 53.815981 | 0.802102 | 0.365653 | 0 | 0.648649 | 0 | 0 | 0.044166 | 0.004766 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0.004505 | 0.018018 | 0 | 0.085586 | 0.085586 | 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 |
06db35de3fccd81c6b0762bb58b7518314063cf5 | 23 | py | Python | sdr-py/util/__init__.py | jdstmporter/SDRAudio | 40392ab443de2e565f8e6b448af6cc3012c906db | [
"BSD-3-Clause"
] | null | null | null | sdr-py/util/__init__.py | jdstmporter/SDRAudio | 40392ab443de2e565f8e6b448af6cc3012c906db | [
"BSD-3-Clause"
] | null | null | null | sdr-py/util/__init__.py | jdstmporter/SDRAudio | 40392ab443de2e565f8e6b448af6cc3012c906db | [
"BSD-3-Clause"
] | null | null | null | from .log import SYSLOG | 23 | 23 | 0.826087 | 4 | 23 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
06fe274d6b0082bef9c2bdffdf6655abc2f70a1c | 9,917 | py | Python | dexp/utils/backends/_cupy/texture/_test/test_texture.py | haesleinhuepf/dexp | 2ea84f3db323724588fac565fae56f0d522bc5ca | [
"BSD-3-Clause"
] | 16 | 2021-04-21T14:09:19.000Z | 2022-03-22T02:30:59.000Z | dexp/utils/backends/_cupy/texture/_test/test_texture.py | haesleinhuepf/dexp | 2ea84f3db323724588fac565fae56f0d522bc5ca | [
"BSD-3-Clause"
] | 28 | 2021-04-15T17:43:08.000Z | 2022-03-29T16:08:35.000Z | dexp/utils/backends/_cupy/texture/_test/test_texture.py | haesleinhuepf/dexp | 2ea84f3db323724588fac565fae56f0d522bc5ca | [
"BSD-3-Clause"
] | 3 | 2022-02-08T17:41:30.000Z | 2022-03-18T15:32:27.000Z | from arbol import aprint, asection
from dexp.utils.backends import CupyBackend
from dexp.utils.backends._cupy.texture.texture import create_cuda_texture
def test_cupy_texture_4channels():
try:
import cupy
with CupyBackend():
source = r"""
extern "C"{
_... | 37.422642 | 117 | 0.502571 | 1,043 | 9,917 | 4.620326 | 0.137105 | 0.027599 | 0.029882 | 0.017639 | 0.816974 | 0.787715 | 0.765512 | 0.741855 | 0.733555 | 0.724424 | 0 | 0.018617 | 0.4096 | 9,917 | 264 | 118 | 37.564394 | 0.804441 | 0.053242 | 0 | 0.640625 | 0 | 0.020833 | 0.417636 | 0.021565 | 0 | 0 | 0 | 0 | 0.020833 | 1 | 0.026042 | false | 0.026042 | 0.041667 | 0 | 0.067708 | 0.046875 | 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 |
663dffa08d698c3482de75263890caeea5f21bf5 | 45 | py | Python | adaptive/__init__.py | empiricalstateofmind/adaptive | 86bc2477309fcb18b3bfc4739888bb9c97b992b3 | [
"Apache-2.0"
] | null | null | null | adaptive/__init__.py | empiricalstateofmind/adaptive | 86bc2477309fcb18b3bfc4739888bb9c97b992b3 | [
"Apache-2.0"
] | null | null | null | adaptive/__init__.py | empiricalstateofmind/adaptive | 86bc2477309fcb18b3bfc4739888bb9c97b992b3 | [
"Apache-2.0"
] | null | null | null | from .model import *
from .functions import * | 22.5 | 24 | 0.755556 | 6 | 45 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 24 | 22.5 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b09aefedc004f2f99a01fd9056c0363047ad1f37 | 32 | py | Python | syntax.py | franbeep/TWDM-PON-Sim | c34f626c737f03d280bb96fd1dbd4eaa291383e3 | [
"MIT"
] | 1 | 2021-11-19T07:20:09.000Z | 2021-11-19T07:20:09.000Z | syntax.py | franbeep/TWDM-PON-Sim | c34f626c737f03d280bb96fd1dbd4eaa291383e3 | [
"MIT"
] | null | null | null | syntax.py | franbeep/TWDM-PON-Sim | c34f626c737f03d280bb96fd1dbd4eaa291383e3 | [
"MIT"
] | null | null | null | import sim
print("syntax ok!")
| 8 | 19 | 0.6875 | 5 | 32 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 3 | 20 | 10.666667 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
9fe9eb9ec13e00689fd731255c8929f87227e409 | 143 | py | Python | examples/pybind11-project/python-src/pybind11_project/sub_package/sub.py | tttapa/py-build-cmake | 29a6970102f567952993ee681cbe0b2d85166adf | [
"MIT"
] | 2 | 2022-02-16T22:37:54.000Z | 2022-03-05T19:27:11.000Z | examples/pybind11-project/python-src/pybind11_project/sub_package/sub.py | tttapa/py-build-cmake | 29a6970102f567952993ee681cbe0b2d85166adf | [
"MIT"
] | null | null | null | examples/pybind11-project/python-src/pybind11_project/sub_package/sub.py | tttapa/py-build-cmake | 29a6970102f567952993ee681cbe0b2d85166adf | [
"MIT"
] | null | null | null | """Example module that subtracts two integers in Python."""
def sub(a: int, b: int) -> int:
"""Subtracts two integers"""
return a - b | 23.833333 | 59 | 0.629371 | 21 | 143 | 4.285714 | 0.666667 | 0.266667 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216783 | 143 | 6 | 60 | 23.833333 | 0.803571 | 0.531469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b01fa5cf41e52dfa1c60492ed529de3bcf1d7268 | 2,795 | py | Python | tests/factor_max_min_tests.py | petermlm/ProbPy | efb55962283e1c6c2422de812ec8689ffb9dbf16 | [
"MIT"
] | 16 | 2015-01-05T19:14:24.000Z | 2021-08-19T22:25:04.000Z | tests/factor_max_min_tests.py | petermlm/ProbPy | efb55962283e1c6c2422de812ec8689ffb9dbf16 | [
"MIT"
] | null | null | null | tests/factor_max_min_tests.py | petermlm/ProbPy | efb55962283e1c6c2422de812ec8689ffb9dbf16 | [
"MIT"
] | 7 | 2015-04-10T18:24:58.000Z | 2018-01-26T23:54:59.000Z | from nose.tools import with_setup, nottest
from tests.test_base import TestBase
from ProbPy import Factor, Event
class TestFactorMaxMin(TestBase):
def max_test_0(self):
"""
Maximum with one variable
"""
for i, domain in enumerate(self.X.domain):
fac = Factor(self.X, [... | 27.135922 | 69 | 0.494454 | 355 | 2,795 | 3.842254 | 0.143662 | 0.073314 | 0.131965 | 0.093842 | 0.769795 | 0.749267 | 0.725806 | 0.725806 | 0.725806 | 0.725806 | 0 | 0.034227 | 0.372809 | 2,795 | 102 | 70 | 27.401961 | 0.743868 | 0.088372 | 0 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.153846 | false | 0 | 0.057692 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b03e94828f73db79f8d3fd228f54b760469f5c15 | 35 | py | Python | lime-transport-websocket/src/lime_transport_websocket/__init__.py | mirlarof/lime-python-transports | 992a8cff44e4a3a2156514c5da0077d11653248b | [
"MIT"
] | null | null | null | lime-transport-websocket/src/lime_transport_websocket/__init__.py | mirlarof/lime-python-transports | 992a8cff44e4a3a2156514c5da0077d11653248b | [
"MIT"
] | 1 | 2021-06-30T21:47:08.000Z | 2021-06-30T21:47:08.000Z | lime-transport-websocket/src/lime_transport_websocket/__init__.py | mirlarof/lime-python-transports | 992a8cff44e4a3a2156514c5da0077d11653248b | [
"MIT"
] | 1 | 2021-12-30T12:55:56.000Z | 2021-12-30T12:55:56.000Z | from .websocket_transport import *
| 17.5 | 34 | 0.828571 | 4 | 35 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 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 |
b04ef9ef1aced43c7ae6fd2c803e7f39278542fe | 69 | py | Python | main.py | twtg93/tupl | 2c1275e0c9af526f06267c7be64df009e3174dc0 | [
"MIT"
] | null | null | null | main.py | twtg93/tupl | 2c1275e0c9af526f06267c7be64df009e3174dc0 | [
"MIT"
] | null | null | null | main.py | twtg93/tupl | 2c1275e0c9af526f06267c7be64df009e3174dc0 | [
"MIT"
] | null | null | null | import os
os.system('python basic.py')
os.system('python shell.py')
| 13.8 | 28 | 0.724638 | 12 | 69 | 4.166667 | 0.583333 | 0.32 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 69 | 4 | 29 | 17.25 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
c68dde390c63fcb58df33a97210dce62214082f0 | 3,911 | py | Python | p011.py | drcsturm/project-euler | 07c4e6593f14eed039e580009d5cd5be5f541dfb | [
"MIT"
] | null | null | null | p011.py | drcsturm/project-euler | 07c4e6593f14eed039e580009d5cd5be5f541dfb | [
"MIT"
] | null | null | null | p011.py | drcsturm/project-euler | 07c4e6593f14eed039e580009d5cd5be5f541dfb | [
"MIT"
] | null | null | null | # In the 20×20 grid below, four numbers along a diagonal line have been marked in red.
# 08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08
# 49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 62 00
# 81 49 31 73 55 79 14 29 93 71 40 67 53 88 30 03 49 13 36 65
# 52 70 95 23 04 60 11 42 69 24 68 56 01 32 56... | 39.11 | 135 | 0.661723 | 1,060 | 3,911 | 2.404717 | 0.164151 | 0.032954 | 0.028246 | 0.031385 | 0.77756 | 0.752452 | 0.718713 | 0.681836 | 0.627697 | 0.627697 | 0 | 0.592219 | 0.290207 | 3,911 | 99 | 136 | 39.505051 | 0.324207 | 0.419074 | 0 | 0.115385 | 0 | 0 | 0.540771 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.057692 | false | 0 | 0.038462 | 0 | 0.153846 | 0.019231 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c6b527a710ad330e1fb9491a54ac0f7ca624fa63 | 107 | py | Python | python/desc/skycatalogs/__init__.py | LSSTDESC/skyCatalogs | 39807b6fb510e45d7db79cf903e2eaa59befa81b | [
"BSD-3-Clause"
] | 1 | 2021-12-20T01:51:00.000Z | 2021-12-20T01:51:00.000Z | python/desc/skycatalogs/__init__.py | LSSTDESC/skyCatalogs | 39807b6fb510e45d7db79cf903e2eaa59befa81b | [
"BSD-3-Clause"
] | 3 | 2021-11-09T20:20:31.000Z | 2022-01-20T20:23:21.000Z | python/desc/skycatalogs/__init__.py | LSSTDESC/skyCatalogs | 39807b6fb510e45d7db79cf903e2eaa59befa81b | [
"BSD-3-Clause"
] | null | null | null | from ._version import *
from .skyCatalogs import *
from .translate import *
from .catalog_creator import *
| 21.4 | 30 | 0.775701 | 13 | 107 | 6.230769 | 0.538462 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 107 | 4 | 31 | 26.75 | 0.89011 | 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 |
c6cea6970e48448932656800af59cc6740f23e75 | 26 | py | Python | run.py | wiky-avis/journeys | 7fc8a7045495e2ab4c16e7ab04681e8f7b9d14f2 | [
"MIT"
] | null | null | null | run.py | wiky-avis/journeys | 7fc8a7045495e2ab4c16e7ab04681e8f7b9d14f2 | [
"MIT"
] | null | null | null | run.py | wiky-avis/journeys | 7fc8a7045495e2ab4c16e7ab04681e8f7b9d14f2 | [
"MIT"
] | null | null | null | import app
app.app.run()
| 6.5 | 13 | 0.692308 | 5 | 26 | 3.6 | 0.6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 3 | 14 | 8.666667 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c6d82b3e2cea0215b7e2a5b46bde59390dc6a102 | 21,728 | py | Python | lib/datasets/loader/offset_loader.py | shampooma/openseg.pytorch | d1da408a1e870d52c058c359583bc098f7f3d9e2 | [
"MIT"
] | 1,069 | 2019-01-21T04:32:05.000Z | 2022-03-30T12:07:36.000Z | lib/datasets/loader/offset_loader.py | shampooma/openseg.pytorch | d1da408a1e870d52c058c359583bc098f7f3d9e2 | [
"MIT"
] | 88 | 2019-02-13T03:43:09.000Z | 2022-03-27T08:23:29.000Z | lib/datasets/loader/offset_loader.py | shampooma/openseg.pytorch | d1da408a1e870d52c058c359583bc098f7f3d9e2 | [
"MIT"
] | 124 | 2019-01-23T01:46:00.000Z | 2022-03-26T14:07:23.000Z | ##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
## Created by: JingyiXie, RainbowSecret
## Microsoft Research
## yuyua@microsoft.com
## Copyright (c) 2019
##
## This source code is licensed under the MIT-style license found in the
## LICENSE file in the root directory of this source tree
##... | 42.856016 | 148 | 0.615565 | 2,812 | 21,728 | 4.467283 | 0.076102 | 0.024359 | 0.031842 | 0.039325 | 0.802977 | 0.793504 | 0.759752 | 0.744706 | 0.731173 | 0.684684 | 0 | 0.005481 | 0.261046 | 21,728 | 507 | 149 | 42.856016 | 0.776906 | 0.027016 | 0 | 0.699746 | 0 | 0 | 0.066101 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 1 | 0.066158 | false | 0.002545 | 0.033079 | 0.02799 | 0.170483 | 0.002545 | 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 |
af16340c1ed1ba8ab8685932d8db0fa3c3847f4a | 47 | py | Python | rydprop/hohi/__init__.py | jdrtommey/rydprops | cdc7e14d61ff33929844ee5d779a18fd64f89f4f | [
"MIT"
] | null | null | null | rydprop/hohi/__init__.py | jdrtommey/rydprops | cdc7e14d61ff33929844ee5d779a18fd64f89f4f | [
"MIT"
] | null | null | null | rydprop/hohi/__init__.py | jdrtommey/rydprops | cdc7e14d61ff33929844ee5d779a18fd64f89f4f | [
"MIT"
] | null | null | null | from .adiabatic_solver import Adiabatic_solver
| 23.5 | 46 | 0.893617 | 6 | 47 | 6.666667 | 0.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
af771e76560ad0e368223c5eacd2d55b98e4ba77 | 23 | py | Python | pyunirpc/__init__.py | aivclab/pyunirpc | 1ff8da1a6a8aef0df1aa5486bdf471851ecb4647 | [
"MIT"
] | 2 | 2020-11-17T07:43:47.000Z | 2020-11-17T08:27:27.000Z | pyunirpc/__init__.py | aivclab/pyunirpc | 1ff8da1a6a8aef0df1aa5486bdf471851ecb4647 | [
"MIT"
] | null | null | null | pyunirpc/__init__.py | aivclab/pyunirpc | 1ff8da1a6a8aef0df1aa5486bdf471851ecb4647 | [
"MIT"
] | null | null | null | from .pyunirpc import * | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
afa5da4c2cc0e58a1ddcb101bee077040b12234b | 54 | py | Python | textsemantics/__init__.py | PrimozGodec/text-semantics | 194b0bce7adcc8937a30643959681f0b175927ab | [
"MIT"
] | 11 | 2021-01-27T07:43:33.000Z | 2021-12-18T11:58:00.000Z | textsemantics/__init__.py | PrimozGodec/text-semantics | 194b0bce7adcc8937a30643959681f0b175927ab | [
"MIT"
] | 32 | 2020-11-24T12:42:46.000Z | 2021-12-06T12:01:22.000Z | textsemantics/__init__.py | PrimozGodec/text-semantics | 194b0bce7adcc8937a30643959681f0b175927ab | [
"MIT"
] | 3 | 2020-11-10T15:29:16.000Z | 2020-11-28T11:42:52.000Z | from .ontology_api import *
from .server_api import *
| 18 | 27 | 0.777778 | 8 | 54 | 5 | 0.625 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 2 | 28 | 27 | 0.869565 | 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 |
afc6af331b84f10911f8624f50bda8a9f290eb70 | 6,737 | py | Python | morse-stf/unittest/test_selectshare.py | alipay/Antchain-MPC | f6916465e1da5722ca7efadc4eeaca13ec229707 | [
"Apache-2.0"
] | 33 | 2021-11-23T09:04:03.000Z | 2022-03-14T07:56:31.000Z | morse-stf/unittest/test_selectshare.py | qizhi-zhang/Antchain-MPC | f551170f68b0baff328e6594484e9832230fe719 | [
"Apache-2.0"
] | null | null | null | morse-stf/unittest/test_selectshare.py | qizhi-zhang/Antchain-MPC | f551170f68b0baff328e6594484e9832230fe719 | [
"Apache-2.0"
] | 6 | 2021-11-25T12:38:41.000Z | 2022-02-23T03:29:51.000Z | import unittest
import numpy as np
from stensorflow.basic.basic_class.pair import SharedTensorBase,SharedPairBase
from stensorflow.basic.basic_class.private import PrivateTensor
import tensorflow as tf
from stensorflow.basic.operator.selectshare import native_select, select_share
from stensorflow.global_var import Stf... | 43.746753 | 114 | 0.621345 | 971 | 6,737 | 4.197734 | 0.108136 | 0.035329 | 0.066241 | 0.07949 | 0.833415 | 0.814279 | 0.807164 | 0.807164 | 0.807164 | 0.807164 | 0 | 0.039757 | 0.219682 | 6,737 | 153 | 115 | 44.03268 | 0.735591 | 0.06917 | 0 | 0.691589 | 0 | 0 | 0.017087 | 0 | 0 | 0 | 0 | 0 | 0.046729 | 1 | 0.065421 | false | 0 | 0.093458 | 0 | 0.168224 | 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 |
bb96f0d6f73a39ea52fd9a3e0782e379f8770d43 | 44 | py | Python | je_editor/ui/ui_event/execute/__init__.py | JE-Chen/je_editor | 2f18dedb6f0eb27c38668dc53f520739c8d5c6c6 | [
"MIT"
] | 1 | 2021-12-10T14:57:15.000Z | 2021-12-10T14:57:15.000Z | je_editor/ui/ui_event/execute/__init__.py | JE-Chen/je_editor | 2f18dedb6f0eb27c38668dc53f520739c8d5c6c6 | [
"MIT"
] | null | null | null | je_editor/ui/ui_event/execute/__init__.py | JE-Chen/je_editor | 2f18dedb6f0eb27c38668dc53f520739c8d5c6c6 | [
"MIT"
] | null | null | null | from je_editor.ui.ui_event.execute import *
| 22 | 43 | 0.818182 | 8 | 44 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.85 | 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 |
bbbf16874c8477aaa46c3a15a2c21672320619b7 | 3,481 | py | Python | src/bitcoin_tag/models.py | RosaSineSpinis/twitter_bitcon_tag_analyser | 3311022b6fd629ce85f0c4fa0516e310bed05d74 | [
"bzip2-1.0.6"
] | null | null | null | src/bitcoin_tag/models.py | RosaSineSpinis/twitter_bitcon_tag_analyser | 3311022b6fd629ce85f0c4fa0516e310bed05d74 | [
"bzip2-1.0.6"
] | null | null | null | src/bitcoin_tag/models.py | RosaSineSpinis/twitter_bitcon_tag_analyser | 3311022b6fd629ce85f0c4fa0516e310bed05d74 | [
"bzip2-1.0.6"
] | null | null | null | from django.db import models
# Create your models here.
from picklefield.fields import PickledObjectField
from django.utils import timezone
# class YearModel(models.Model):
# tag_dictionary = PickledObjectField()
# tag_date = models.DateField(auto_now_add=False) # date of save
# tag_time = models.TimeF... | 40.011494 | 113 | 0.738294 | 453 | 3,481 | 5.423841 | 0.154525 | 0.054131 | 0.05291 | 0.067155 | 0.79243 | 0.761498 | 0.760277 | 0.747253 | 0.657306 | 0.657306 | 0 | 0.005461 | 0.158288 | 3,481 | 86 | 114 | 40.476744 | 0.833106 | 0.435507 | 0 | 0.342105 | 0 | 0 | 0.053674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.131579 | false | 0 | 0.078947 | 0.131579 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bbc7ecfc8c29f021d9863e8b84c09584d8b3a62f | 33 | py | Python | Aula Python/Aula 08 ex3.py | ayresmajor/Curso-python | 006229cec38ea365bf43b19e3ce93fbd32e1dca6 | [
"MIT"
] | null | null | null | Aula Python/Aula 08 ex3.py | ayresmajor/Curso-python | 006229cec38ea365bf43b19e3ce93fbd32e1dca6 | [
"MIT"
] | null | null | null | Aula Python/Aula 08 ex3.py | ayresmajor/Curso-python | 006229cec38ea365bf43b19e3ce93fbd32e1dca6 | [
"MIT"
] | null | null | null | import emoji
print(emoji.emojize) | 16.5 | 20 | 0.848485 | 5 | 33 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 33 | 2 | 20 | 16.5 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
a55bfa8c321db2b74fa1d8ee007eff64362b8ac7 | 40,245 | py | Python | tests/macro_liquidMG_UOZrFe.py | niamorelreillet/openiec_with_OC | 9e027c7052ca98398bf09758bc05b3daf1aba151 | [
"MIT"
] | null | null | null | tests/macro_liquidMG_UOZrFe.py | niamorelreillet/openiec_with_OC | 9e027c7052ca98398bf09758bc05b3daf1aba151 | [
"MIT"
] | null | null | null | tests/macro_liquidMG_UOZrFe.py | niamorelreillet/openiec_with_OC | 9e027c7052ca98398bf09758bc05b3daf1aba151 | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
from scipy.optimize import curve_fit
import matplotlib.pyplot as plt
import matplotlib as mpl
from cycler import cycler
import os
from openiec.property.coherentenergy_OC import CoherentGibbsEnergy_OC
from openiec.calculate.calcsigma_OC import SigmaCoherent_OC2
from pyOC import ope... | 60.156951 | 233 | 0.5919 | 4,294 | 40,245 | 5.466931 | 0.11714 | 0.002812 | 0.002556 | 0.022492 | 0.8118 | 0.78803 | 0.770096 | 0.746241 | 0.715953 | 0.699936 | 0 | 0.045172 | 0.272257 | 40,245 | 668 | 234 | 60.247006 | 0.756351 | 0.169462 | 0 | 0.559921 | 0 | 0 | 0.139217 | 0.01818 | 0.021611 | 0 | 0 | 0 | 0 | 1 | 0.02554 | false | 0 | 0.02554 | 0.003929 | 0.066798 | 0.076621 | 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 |
a57f29bd0b22567e1079a65486b55435f9aed6e1 | 86 | py | Python | voltagemetricspublisher/core/version.py | SumudithaR/svc.voltage-metrics-publisher | 4e0418c855920d3e984acf097681e2fc8c8ec081 | [
"Apache-2.0"
] | null | null | null | voltagemetricspublisher/core/version.py | SumudithaR/svc.voltage-metrics-publisher | 4e0418c855920d3e984acf097681e2fc8c8ec081 | [
"Apache-2.0"
] | null | null | null | voltagemetricspublisher/core/version.py | SumudithaR/svc.voltage-metrics-publisher | 4e0418c855920d3e984acf097681e2fc8c8ec081 | [
"Apache-2.0"
] | null | null | null | VERSION = (0, 0, 1, 'alpha', 0)
def get_version(version=VERSION):
return VERSION
| 17.2 | 33 | 0.662791 | 13 | 86 | 4.307692 | 0.538462 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.186047 | 86 | 4 | 34 | 21.5 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3c2db8a51625215900fa135312a2a8971e721b83 | 6,736 | py | Python | src/haizea/pluggable/accounting/models.py | Hamdy/haizea | 797e1b0ae19b41887c8970298de3adb9498034f3 | [
"Apache-2.0"
] | 1 | 2017-10-31T22:17:31.000Z | 2017-10-31T22:17:31.000Z | src/haizea/pluggable/accounting/models.py | Hamdy/haizea | 797e1b0ae19b41887c8970298de3adb9498034f3 | [
"Apache-2.0"
] | null | null | null | src/haizea/pluggable/accounting/models.py | Hamdy/haizea | 797e1b0ae19b41887c8970298de3adb9498034f3 | [
"Apache-2.0"
] | null | null | null | from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, Integer, String, ForeignKey, Float
from sqlalchemy.orm import relationship, backref
Base = declarative_base()
class Experiment(Base):
__tablename__ = 'experiments'
def __init__(self):
self.description = ""
... | 39.162791 | 135 | 0.705909 | 780 | 6,736 | 5.848718 | 0.107692 | 0.131083 | 0.111793 | 0.067514 | 0.772907 | 0.772907 | 0.760412 | 0.752302 | 0.744191 | 0.744191 | 0 | 0 | 0.174436 | 6,736 | 172 | 136 | 39.162791 | 0.820356 | 0 | 0 | 0.518797 | 0 | 0 | 0.20944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.022556 | 0.045113 | 0.984962 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
3c3352f2f9ab7f9b43d352013b807835e28ecd5d | 148 | py | Python | src/wai/json/error/_JSONSchemaError.py | waikato-datamining/wai-json | cb013fb16e7c1b8d91e040a387a143d29d4ced96 | [
"MIT"
] | null | null | null | src/wai/json/error/_JSONSchemaError.py | waikato-datamining/wai-json | cb013fb16e7c1b8d91e040a387a143d29d4ced96 | [
"MIT"
] | 2 | 2020-07-30T22:41:42.000Z | 2021-09-21T23:18:06.000Z | src/wai/json/error/_JSONSchemaError.py | waikato-datamining/wai-json | cb013fb16e7c1b8d91e040a387a143d29d4ced96 | [
"MIT"
] | null | null | null | from ._JSONError import JSONError
class JSONSchemaError(JSONError):
"""
Base class for all errors involving JSON schema.
"""
pass
| 16.444444 | 52 | 0.689189 | 16 | 148 | 6.3125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236486 | 148 | 8 | 53 | 18.5 | 0.893805 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
3c7749796a32a2202bb3b4a118381b5a271e4853 | 247 | py | Python | torchsketch/utils/__init__.py | songyzh/torchsketch | 42bca1b31ab9699d9b6d77a102b1f46bba82fb33 | [
"MIT"
] | 182 | 2020-03-25T01:59:11.000Z | 2022-03-29T08:58:47.000Z | torchsketch/utils/__init__.py | songyzh/torchsketch | 42bca1b31ab9699d9b6d77a102b1f46bba82fb33 | [
"MIT"
] | 5 | 2020-03-25T13:16:50.000Z | 2022-02-19T09:51:39.000Z | torchsketch/utils/__init__.py | songyzh/torchsketch | 42bca1b31ab9699d9b6d77a102b1f46bba82fb33 | [
"MIT"
] | 17 | 2020-03-25T12:40:49.000Z | 2022-03-28T06:34:40.000Z | from torchsketch.utils import data_augmentation_utils
from torchsketch.utils import general_utils
from torchsketch.utils import metric_utils
from torchsketch.utils import self_supervised_utils
from torchsketch.utils import svg_specific_utils
| 41.166667 | 54 | 0.878543 | 33 | 247 | 6.333333 | 0.363636 | 0.358852 | 0.478469 | 0.62201 | 0.593301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101215 | 247 | 5 | 55 | 49.4 | 0.941441 | 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 |
3c7e541ee0be51f8533ccbb0260e6d7438d900de | 145 | py | Python | NF/Step/__init__.py | AWehenkel/Normalizing-Flows | fe535e25cda32781296557ac5a523a6d2ade1761 | [
"BSD-3-Clause"
] | 9 | 2020-11-20T12:36:03.000Z | 2022-03-21T03:18:12.000Z | NF/Step/__init__.py | AWehenkel/Normalizing-Flows | fe535e25cda32781296557ac5a523a6d2ade1761 | [
"BSD-3-Clause"
] | null | null | null | NF/Step/__init__.py | AWehenkel/Normalizing-Flows | fe535e25cda32781296557ac5a523a6d2ade1761 | [
"BSD-3-Clause"
] | null | null | null | from .NormalizingFlow import FCNormalizingFlow, NormalizingFlow, NormalizingFlowStep
from .AugmentedFlow import MNISTAugmentedFlow, MNISTBaseline | 72.5 | 84 | 0.896552 | 11 | 145 | 11.818182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 145 | 2 | 85 | 72.5 | 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 |
b1e97f9b7c8983f955d23d83925f9dcc3bf049f8 | 28,787 | py | Python | envdsys/envnet/registry/registry.py | NOAA-PMEL/envDataSystem | 4db4a3569d2329658799a3eef06ce36dd5c0597d | [
"Unlicense"
] | 1 | 2021-11-06T19:22:53.000Z | 2021-11-06T19:22:53.000Z | envdsys/envnet/registry/registry.py | NOAA-PMEL/envDataSystem | 4db4a3569d2329658799a3eef06ce36dd5c0597d | [
"Unlicense"
] | 25 | 2019-06-18T20:40:36.000Z | 2021-07-23T20:56:48.000Z | envdsys/envnet/registry/registry.py | NOAA-PMEL/envDataSystem | 4db4a3569d2329658799a3eef06ce36dd5c0597d | [
"Unlicense"
] | null | null | null | from abc import abstractmethod
import asyncio
from os import name
from shutil import register_archive_format
from typing import AsyncIterable
# from asgiref.sync import sync_to_async
from channels.db import database_sync_to_async
from django.core.exceptions import MultipleObjectsReturned
from shared.data.status impor... | 35.020681 | 110 | 0.577552 | 2,865 | 28,787 | 5.608377 | 0.067016 | 0.020538 | 0.013941 | 0.029562 | 0.823625 | 0.779375 | 0.746079 | 0.71882 | 0.700523 | 0.669032 | 0 | 0.005264 | 0.326849 | 28,787 | 821 | 111 | 35.063337 | 0.823924 | 0.365755 | 0 | 0.637255 | 0 | 0 | 0.039891 | 0 | 0 | 0 | 0 | 0.001218 | 0 | 1 | 0.039216 | false | 0.026961 | 0.02451 | 0 | 0.132353 | 0.044118 | 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 |
3ca7c24956f1449d19480d48467dc05529a44e06 | 21 | py | Python | nanome/_internal/_volumetric/_io/__init__.py | rramji/nanome-lib | 2806598af31cfb4bb6e16366f0b300d2ddcc9c13 | [
"MIT"
] | null | null | null | nanome/_internal/_volumetric/_io/__init__.py | rramji/nanome-lib | 2806598af31cfb4bb6e16366f0b300d2ddcc9c13 | [
"MIT"
] | null | null | null | nanome/_internal/_volumetric/_io/__init__.py | rramji/nanome-lib | 2806598af31cfb4bb6e16366f0b300d2ddcc9c13 | [
"MIT"
] | null | null | null | from . import _em_map | 21 | 21 | 0.809524 | 4 | 21 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.833333 | 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 |
596ff737a198e40790c330402cf8d51db960b0d1 | 25 | py | Python | src/gui/__init__.py | Airthee/LightshotSniffer | 466abb28710c9401e6f3fd0e1d61776511f936bc | [
"WTFPL"
] | 1 | 2020-04-30T08:32:26.000Z | 2020-04-30T08:32:26.000Z | src/gui/__init__.py | Airthee/LightshotSniffer | 466abb28710c9401e6f3fd0e1d61776511f936bc | [
"WTFPL"
] | 12 | 2019-06-18T06:04:58.000Z | 2022-01-13T01:20:36.000Z | src/gui/__init__.py | Airthee/LightshotSniffer | 466abb28710c9401e6f3fd0e1d61776511f936bc | [
"WTFPL"
] | 3 | 2019-06-18T06:12:53.000Z | 2020-12-03T08:46:44.000Z | from .lsswindow import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 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 |
59722ce3fb1d4a273cd95ac699ae4274f0b2b163 | 112 | py | Python | orb_simulator/orbsim_language/orbsim_ast/start_sim_node.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 1 | 2022-01-19T22:49:09.000Z | 2022-01-19T22:49:09.000Z | orb_simulator/orbsim_language/orbsim_ast/start_sim_node.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 15 | 2021-11-10T14:25:02.000Z | 2022-02-12T19:17:11.000Z | orb_simulator/orbsim_language/orbsim_ast/start_sim_node.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | null | null | null | from orbsim_language.orbsim_ast.statement_node import StatementNode
class StartSimNode(StatementNode):
pass | 28 | 67 | 0.857143 | 13 | 112 | 7.153846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098214 | 112 | 4 | 68 | 28 | 0.920792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5988d7946471e74d4a8d62bff737f7c847bd909a | 4,053 | py | Python | spvcm/ops.py | weikang9009/spvcm | 00ec35331e0e1a67bcd841a6b3761a23099617f7 | [
"MIT"
] | 14 | 2017-06-20T18:39:04.000Z | 2021-03-27T02:21:46.000Z | spvcm/ops.py | weikang9009/spvcm | 00ec35331e0e1a67bcd841a6b3761a23099617f7 | [
"MIT"
] | 12 | 2018-05-11T11:13:21.000Z | 2020-02-07T14:23:12.000Z | spvcm/ops.py | weikang9009/spvcm | 00ec35331e0e1a67bcd841a6b3761a23099617f7 | [
"MIT"
] | 8 | 2017-05-20T00:55:40.000Z | 2020-07-02T14:52:49.000Z | import scipy.sparse as spar
import scipy.sparse.linalg as spla
import theano.tensor as tt
import theano.sparse as ts
import theano as th
from theano.gof import Apply
from theano import Op
import numpy as np
import theano as th
# define this as if it's in terms of rho and W, and give the derivatives in
# terms of rho,... | 31.664063 | 75 | 0.572909 | 622 | 4,053 | 3.663987 | 0.188103 | 0.019746 | 0.026327 | 0.021062 | 0.77183 | 0.767003 | 0.7319 | 0.721369 | 0.721369 | 0.721369 | 0 | 0.004528 | 0.291636 | 4,053 | 127 | 76 | 31.913386 | 0.789272 | 0.154207 | 0 | 0.77 | 0 | 0 | 0.010645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.14 | false | 0 | 0.09 | 0 | 0.35 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
59be6ef2e827a13e81112509c8fb433ce1b2cb25 | 92 | py | Python | wpa_project/membership/views/__init__.py | s-amundson/wpa_2p1 | 43deb859123e5ef2eab3652e403c8d2f53d43b77 | [
"MIT"
] | 1 | 2022-01-03T02:46:34.000Z | 2022-01-03T02:46:34.000Z | wpa_project/membership/views/__init__.py | s-amundson/wpa_2p1 | 43deb859123e5ef2eab3652e403c8d2f53d43b77 | [
"MIT"
] | 31 | 2021-12-29T17:43:06.000Z | 2022-03-25T01:03:17.000Z | wpa_project/membership/views/__init__.py | s-amundson/wpa_2p1 | 43deb859123e5ef2eab3652e403c8d2f53d43b77 | [
"MIT"
] | null | null | null | from .level_view import LevelApiView, LevelView
from .membership_view import MembershipView
| 30.666667 | 47 | 0.869565 | 11 | 92 | 7.090909 | 0.727273 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 92 | 2 | 48 | 46 | 0.939759 | 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 |
59cf6604e332531c6c5efa4d6d9ed9bc1d32febe | 77 | py | Python | optim/__init__.py | jpeg729/pytorch-bits | 5d107094042c27472dfb7dee77506b603f5d3e45 | [
"MIT"
] | 73 | 2017-12-29T14:43:16.000Z | 2021-08-13T02:20:33.000Z | optim/__init__.py | jpeg729/pytorch-bits | 5d107094042c27472dfb7dee77506b603f5d3e45 | [
"MIT"
] | null | null | null | optim/__init__.py | jpeg729/pytorch-bits | 5d107094042c27472dfb7dee77506b603f5d3e45 | [
"MIT"
] | 5 | 2017-12-30T14:07:39.000Z | 2021-08-13T02:20:34.000Z |
from .cocob import COCOB
from .adam_hd import Adam_HD, Adam_HD_lr_per_param
| 19.25 | 50 | 0.831169 | 15 | 77 | 3.866667 | 0.533333 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 77 | 3 | 51 | 25.666667 | 0.865672 | 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 |
59d47b26e3df82f245286d8bcdc55944f48ad58f | 39 | py | Python | zipf/factories/zipf_from_url/__init__.py | LucaCappelletti94/zipf | 956c3a1d56958384a02d5bb4671c6883cd9a25e3 | [
"MIT"
] | 3 | 2018-11-07T01:56:09.000Z | 2020-05-31T12:24:09.000Z | zipf/factories/zipf_from_url/__init__.py | LucaCappelletti94/zipf | 956c3a1d56958384a02d5bb4671c6883cd9a25e3 | [
"MIT"
] | 1 | 2018-05-15T15:58:06.000Z | 2018-05-15T15:58:06.000Z | zipf/factories/zipf_from_url/__init__.py | LucaCappelletti94/zipf | 956c3a1d56958384a02d5bb4671c6883cd9a25e3 | [
"MIT"
] | null | null | null | from .zipf_from_url import ZipfFromUrl
| 19.5 | 38 | 0.871795 | 6 | 39 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 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 |
ab6fb41dbd60bf1d4f3293db88733722b676151d | 6,894 | py | Python | dual_encoder/model_utils_test.py | garyxcheng/federated | ba7133ead6127af71ea9356e26bfd05c02f8324a | [
"Apache-2.0"
] | 330 | 2020-09-14T23:10:16.000Z | 2022-03-30T19:49:19.000Z | dual_encoder/model_utils_test.py | garyxcheng/federated | ba7133ead6127af71ea9356e26bfd05c02f8324a | [
"Apache-2.0"
] | 52 | 2020-09-30T06:10:51.000Z | 2022-03-31T19:25:16.000Z | dual_encoder/model_utils_test.py | garyxcheng/federated | ba7133ead6127af71ea9356e26bfd05c02f8324a | [
"Apache-2.0"
] | 119 | 2020-09-24T04:54:46.000Z | 2022-03-31T21:46:57.000Z | # Copyright 2021, Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing... | 30.236842 | 80 | 0.6085 | 920 | 6,894 | 4.367391 | 0.148913 | 0.031359 | 0.032852 | 0.02887 | 0.776008 | 0.730463 | 0.724241 | 0.722748 | 0.722748 | 0.722748 | 0 | 0.132299 | 0.252248 | 6,894 | 227 | 81 | 30.370044 | 0.647139 | 0.089353 | 0 | 0.740113 | 0 | 0 | 0.001278 | 0 | 0 | 0 | 0 | 0 | 0.096045 | 1 | 0.039548 | false | 0 | 0.016949 | 0 | 0.062147 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab77eca2be9c4bf1e57da43a77d73a3d3c1d5cc0 | 16,354 | py | Python | circlecitycon-2021/baby-meadows/decrypt.py | onealmond/hacking-lab | 631e615944add02db3c2afef47bf1de7171eb065 | [
"MIT"
] | 9 | 2021-04-20T15:28:36.000Z | 2022-03-08T19:53:48.000Z | circlecitycon-2021/baby-meadows/decrypt.py | onealmond/hacking-lab | 631e615944add02db3c2afef47bf1de7171eb065 | [
"MIT"
] | null | null | null | circlecitycon-2021/baby-meadows/decrypt.py | onealmond/hacking-lab | 631e615944add02db3c2afef47bf1de7171eb065 | [
"MIT"
] | 6 | 2021-06-24T03:25:21.000Z | 2022-02-20T21:44:52.000Z | #!/usr/bin/env python3
import random
g = 2
p = 27364195027981999497713610818487324581721539250673346091482772282510011564291025136146660508795219128557701709138115267357713678480331088419744185203212905091957459339614224615778653860885782170033046504718076905119565522298014609547550378271686461734952043412349624686487... | 817.7 | 15,478 | 0.988994 | 70 | 16,354 | 231.057143 | 0.771429 | 0.000247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.988239 | 0.006971 | 16,354 | 19 | 15,479 | 860.736842 | 0.007697 | 0.001284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000367 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.076923 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
abe49a269500ab3759590ff9366ea754fe348207 | 18,594 | py | Python | tensorflow_graphics/projects/gan/losses_test.py | Liang813/graphics | 71ab1775228a0a292427551350cbb62bfa8bd01a | [
"Apache-2.0"
] | 2,759 | 2019-01-08T10:40:34.000Z | 2022-03-28T13:49:37.000Z | tensorflow_graphics/projects/gan/losses_test.py | Liang813/graphics | 71ab1775228a0a292427551350cbb62bfa8bd01a | [
"Apache-2.0"
] | 262 | 2019-04-28T12:25:49.000Z | 2022-03-24T19:35:15.000Z | tensorflow_graphics/projects/gan/losses_test.py | Liang813/graphics | 71ab1775228a0a292427551350cbb62bfa8bd01a | [
"Apache-2.0"
] | 380 | 2019-05-09T00:14:45.000Z | 2022-03-31T12:48:25.000Z | # Copyright 2020 The TensorFlow Authors
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 40.421739 | 80 | 0.710498 | 2,471 | 18,594 | 5.091056 | 0.085391 | 0.028378 | 0.032353 | 0.06399 | 0.877663 | 0.865342 | 0.831558 | 0.817091 | 0.783307 | 0.769634 | 0 | 0.026649 | 0.18065 | 18,594 | 459 | 81 | 40.509804 | 0.799081 | 0.084974 | 0 | 0.689759 | 0 | 0 | 0.020789 | 0.002945 | 0 | 0 | 0 | 0 | 0.10241 | 1 | 0.105422 | false | 0 | 0.01506 | 0.012048 | 0.14759 | 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 |
f9f083da5c331ebd662c578d9ea692584c78527d | 205 | py | Python | backend/server/models/__init__.py | jessvb/convo | 6b8a0d84142a0bfacf94482cebba42d92646be26 | [
"MIT"
] | null | null | null | backend/server/models/__init__.py | jessvb/convo | 6b8a0d84142a0bfacf94482cebba42d92646be26 | [
"MIT"
] | null | null | null | backend/server/models/__init__.py | jessvb/convo | 6b8a0d84142a0bfacf94482cebba42d92646be26 | [
"MIT"
] | null | null | null | from models.action import *
from models.procedure import *
from models.condition import *
from models.klass import *
from models.valueof import *
from models.execution import *
from models.intent import *
| 25.625 | 30 | 0.795122 | 28 | 205 | 5.821429 | 0.357143 | 0.429448 | 0.588957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136585 | 205 | 7 | 31 | 29.285714 | 0.920904 | 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 |
e61398111c64d5dca991ab1cfa876be9c0ab0071 | 31 | py | Python | src/ctc/toolbox/lending_utils/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 94 | 2022-02-15T19:34:49.000Z | 2022-03-26T19:26:22.000Z | src/ctc/toolbox/lending_utils/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-03-03T02:58:47.000Z | 2022-03-11T18:41:05.000Z | src/ctc/toolbox/lending_utils/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-02-15T17:53:07.000Z | 2022-03-17T19:14:17.000Z | from .lending_summary import *
| 15.5 | 30 | 0.806452 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e620c211257e1a0bab505dd365e8aa7113c83139 | 129 | py | Python | restaurant/get_env.py | dasky92/django-restaurant | db645868fad1536f6316a78d89a570f374e8b771 | [
"MIT"
] | null | null | null | restaurant/get_env.py | dasky92/django-restaurant | db645868fad1536f6316a78d89a570f374e8b771 | [
"MIT"
] | null | null | null | restaurant/get_env.py | dasky92/django-restaurant | db645868fad1536f6316a78d89a570f374e8b771 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
def get_env():
"""
Get settings file directory.
"""
return 'settings.environment.local'
| 14.333333 | 39 | 0.612403 | 15 | 129 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24031 | 129 | 8 | 40 | 16.125 | 0.795918 | 0.387597 | 0 | 0 | 0 | 0 | 0.412698 | 0.412698 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
e64d8444ce097e33b893d6e87ca1bc8dd6f6ae73 | 1,207 | py | Python | apps/covid_19/preprocess/mixing_matrix/funcs.py | malanchak/AuTuMN | 0cbd006d1f15da414d02eed44e48bb5c06f0802e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | apps/covid_19/preprocess/mixing_matrix/funcs.py | malanchak/AuTuMN | 0cbd006d1f15da414d02eed44e48bb5c06f0802e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | apps/covid_19/preprocess/mixing_matrix/funcs.py | malanchak/AuTuMN | 0cbd006d1f15da414d02eed44e48bb5c06f0802e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | """
Functions which can be used to transform dynamic mixing timeseries data
"""
from typing import List
def repeat_prev(prev_vals: List[float]):
"""
Repeats the previous seen value again
"""
return prev_vals[-1]
def add_to_prev(prev_vals: List[float], increment: float):
"""
Add increment to ... | 20.116667 | 71 | 0.601491 | 168 | 1,207 | 4.184524 | 0.27381 | 0.113798 | 0.085349 | 0.12091 | 0.779516 | 0.743954 | 0.743954 | 0.743954 | 0.655761 | 0.618777 | 0 | 0.022592 | 0.303231 | 1,207 | 59 | 72 | 20.457627 | 0.813317 | 0.240265 | 0 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16129 | false | 0 | 0.032258 | 0 | 0.548387 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
050b48e5c011416a01274bb4adb31656f83cc5e5 | 24 | py | Python | aad2onnx/shape_calculators/__init__.py | matwey/aad2onnx | 35f06c22abd433b10b13209ddca9e8eb80717d61 | [
"MIT"
] | null | null | null | aad2onnx/shape_calculators/__init__.py | matwey/aad2onnx | 35f06c22abd433b10b13209ddca9e8eb80717d61 | [
"MIT"
] | null | null | null | aad2onnx/shape_calculators/__init__.py | matwey/aad2onnx | 35f06c22abd433b10b13209ddca9e8eb80717d61 | [
"MIT"
] | null | null | null | from . import AadForest
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
054125394cc38442b03adbd057fa642ee6976d35 | 190 | py | Python | backend/api/infrastcture/sample_router.py | ryutaro-0907/prome | efb8211e6d832e5b1c4b2dffd70b13b696baf45f | [
"MIT"
] | null | null | null | backend/api/infrastcture/sample_router.py | ryutaro-0907/prome | efb8211e6d832e5b1c4b2dffd70b13b696baf45f | [
"MIT"
] | null | null | null | backend/api/infrastcture/sample_router.py | ryutaro-0907/prome | efb8211e6d832e5b1c4b2dffd70b13b696baf45f | [
"MIT"
] | null | null | null | from typing import Dict
from fastapi import APIRouter
router = APIRouter()
@router.get('/sample', tags=["message"])
def fetch_hello_world() -> Dict:
return {"message": "Hello world!"}
| 21.111111 | 40 | 0.705263 | 24 | 190 | 5.5 | 0.666667 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142105 | 190 | 8 | 41 | 23.75 | 0.809816 | 0 | 0 | 0 | 0 | 0 | 0.173684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
054aed34d02dc769ead032988c6482eafe60ea05 | 30,567 | py | Python | sdk/python/pulumi_concourse/_inputs.py | brumhard/concourse-pulumi-provider | b94721a64245955b00049f5e2fc176b1178831b7 | [
"Apache-2.0"
] | 1 | 2021-09-16T06:15:11.000Z | 2021-09-16T06:15:11.000Z | sdk/python/pulumi_concourse/_inputs.py | brumhard/pulumi-concourse | b94721a64245955b00049f5e2fc176b1178831b7 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_concourse/_inputs.py | brumhard/pulumi-concourse | b94721a64245955b00049f5e2fc176b1178831b7 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by pulumigen. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import _utilities
__all__ = [
'An... | 41.872603 | 368 | 0.648968 | 3,953 | 30,567 | 4.919302 | 0.073109 | 0.125013 | 0.079194 | 0.054407 | 0.856989 | 0.786948 | 0.744163 | 0.696287 | 0.646611 | 0.605317 | 0 | 0.000471 | 0.23653 | 30,567 | 729 | 369 | 41.930041 | 0.832798 | 0.301992 | 0 | 0.494929 | 1 | 0 | 0.077673 | 0.004114 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0.016227 | 0.010142 | 0.03854 | 0.330629 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0553a50b160b57ef05ec2c5a4d844fe204bc8f91 | 189 | py | Python | projectaile/models/layer.py | explabs-ai/projectaile | 992cecddb2fa6fdc60661103ac761f5bcd64f82b | [
"MIT"
] | 5 | 2020-10-13T10:17:17.000Z | 2021-03-04T08:36:30.000Z | projectaile/models/layer.py | explabs-ai/projectaile | 992cecddb2fa6fdc60661103ac761f5bcd64f82b | [
"MIT"
] | 2 | 2020-12-03T06:38:38.000Z | 2021-05-08T10:06:55.000Z | projectaile/models/layer.py | explabs-ai/projectaile | 992cecddb2fa6fdc60661103ac761f5bcd64f82b | [
"MIT"
] | null | null | null | class LAYER():
def __init__(self):
return
def call(self, x):
return
def compute_output_shape(self, input_shape):
return
def compute_mask(self, input, input_mask=None):
return | 15.75 | 48 | 0.724868 | 28 | 189 | 4.571429 | 0.5 | 0.210938 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169312 | 189 | 12 | 49 | 15.75 | 0.815287 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.444444 | 1 | 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 |
0563ca8ad20e2b3dbf91e0911b60469ab33b1103 | 84 | py | Python | registrations/pca/__init__.py | devisperessutti/Python | 829098c91234aebe1463dd613af96e1e6bf9fdc1 | [
"MIT"
] | 1 | 2020-02-16T15:17:11.000Z | 2020-02-16T15:17:11.000Z | registrations/pca/__init__.py | devisperessutti/pca_echo_registration | 829098c91234aebe1463dd613af96e1e6bf9fdc1 | [
"MIT"
] | null | null | null | registrations/pca/__init__.py | devisperessutti/pca_echo_registration | 829098c91234aebe1463dd613af96e1e6bf9fdc1 | [
"MIT"
] | 1 | 2016-08-23T08:40:13.000Z | 2016-08-23T08:40:13.000Z | # -*- coding: utf-8 -*-
"""
Created on Sat Mar 1 18:32:28 2014
@author: dp11
"""
| 10.5 | 35 | 0.547619 | 14 | 84 | 3.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215385 | 0.22619 | 84 | 7 | 36 | 12 | 0.492308 | 0.869048 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
057f7e72a55786570b251897fcfe42bb152399f4 | 31 | py | Python | template/__init__.py | chucoding/Notion2Github | 820aace4e6f52a42adf2587f5c77ef768c4e1586 | [
"MIT"
] | null | null | null | template/__init__.py | chucoding/Notion2Github | 820aace4e6f52a42adf2587f5c77ef768c4e1586 | [
"MIT"
] | null | null | null | template/__init__.py | chucoding/Notion2Github | 820aace4e6f52a42adf2587f5c77ef768c4e1586 | [
"MIT"
] | null | null | null | from template.calendar import * | 31 | 31 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5566a80c7351f7cde6cc960cf5520c5bf9e4f317 | 193 | py | Python | gae/src/views.py | Tjorriemorrie/flexitime | b2d8564ba9e0f0c2c16610a8a99d54dd6ea58cae | [
"MIT"
] | null | null | null | gae/src/views.py | Tjorriemorrie/flexitime | b2d8564ba9e0f0c2c16610a8a99d54dd6ea58cae | [
"MIT"
] | null | null | null | gae/src/views.py | Tjorriemorrie/flexitime | b2d8564ba9e0f0c2c16610a8a99d54dd6ea58cae | [
"MIT"
] | null | null | null | from flask import render_template, request, abort
from src import app
@app.route('/', defaults={'path': ''})
@app.route('/<path:path>')
def index(path):
return render_template('index.html')
| 21.444444 | 49 | 0.704663 | 27 | 193 | 4.962963 | 0.592593 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108808 | 193 | 8 | 50 | 24.125 | 0.77907 | 0 | 0 | 0 | 0 | 0 | 0.139896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
55750942a0246d19f2f594fbbf9c661c33e282aa | 288 | py | Python | nlp/Constants.py | Asap7772/DeepCriminalize | c171c6ce6e87e126e6e2b0ed1d9709ee7d0ce667 | [
"MIT"
] | 1 | 2019-10-28T02:40:07.000Z | 2019-10-28T02:40:07.000Z | nlp/Constants.py | Asap7772/DeepCriminalize | c171c6ce6e87e126e6e2b0ed1d9709ee7d0ce667 | [
"MIT"
] | 16 | 2020-01-28T23:05:09.000Z | 2022-02-27T03:02:38.000Z | nlp/Constants.py | Asap7772/DeepCriminalize | c171c6ce6e87e126e6e2b0ed1d9709ee7d0ce667 | [
"MIT"
] | null | null | null | EXT_ANALYTICS_SUBSCRIPTION_KEY = "f861df55922e4287b9de318f55c1da2c"
TEXT_ANALYTICS_ENDPOINT = "https://deepcriminalizenlpnlpnlp.cognitiveservices.azure.com/"
TEXT_ANALYTICS_URL = "https://deepcriminalizenlpnlpnlp.cognitiveservices.azure.com/text/analytics/v2.1/keyPhrases?showStats=True"
| 72 | 129 | 0.868056 | 28 | 288 | 8.678571 | 0.642857 | 0.160494 | 0.378601 | 0.419753 | 0.55144 | 0.55144 | 0.55144 | 0 | 0 | 0 | 0 | 0.078853 | 0.03125 | 288 | 3 | 130 | 96 | 0.792115 | 0 | 0 | 0 | 0 | 0.333333 | 0.690972 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
55858dc8c91d0a5465407b0a3a972318dd419201 | 3,635 | py | Python | pipeline/archivebot/pattern_conversion_test.py | chfoo/ArchiveBot | 84e0c1cf9c0a9559fa1370f3570a0837f9a7641f | [
"MIT"
] | null | null | null | pipeline/archivebot/pattern_conversion_test.py | chfoo/ArchiveBot | 84e0c1cf9c0a9559fa1370f3570a0837f9a7641f | [
"MIT"
] | null | null | null | pipeline/archivebot/pattern_conversion_test.py | chfoo/ArchiveBot | 84e0c1cf9c0a9559fa1370f3570a0837f9a7641f | [
"MIT"
] | null | null | null | import re
import unittest
from .pattern_conversion import lua_pattern_to_regex
class Test(unittest.TestCase):
def test_alpha(self):
self.assertTrue(re.search(lua_pattern_to_regex('%a'), 'a'))
self.assertTrue(re.search(lua_pattern_to_regex('%a'), 'Z'))
self.assertFalse(re.search(lua_patter... | 35.990099 | 75 | 0.597249 | 456 | 3,635 | 4.502193 | 0.140351 | 0.170482 | 0.204579 | 0.28982 | 0.827082 | 0.801754 | 0.79737 | 0.792012 | 0.696055 | 0.291281 | 0 | 0.001793 | 0.232737 | 3,635 | 100 | 76 | 36.35 | 0.734313 | 0 | 0 | 0.44186 | 0 | 0 | 0.150757 | 0 | 0 | 0 | 0 | 0 | 0.395349 | 1 | 0.139535 | false | 0 | 0.034884 | 0 | 0.186047 | 0.011628 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
55a866d149fd836de36d8bc24985363e886299e7 | 210 | py | Python | mogpe/gating_networks/__init__.py | aidanscannell/mogpe | 25a9af473d73d6fa35bd060bee0eb2c372b995e5 | [
"Apache-2.0"
] | 11 | 2021-04-01T02:40:21.000Z | 2022-01-31T16:14:44.000Z | mogpe/gating_networks/__init__.py | aidanscannell/mogpe | 25a9af473d73d6fa35bd060bee0eb2c372b995e5 | [
"Apache-2.0"
] | null | null | null | mogpe/gating_networks/__init__.py | aidanscannell/mogpe | 25a9af473d73d6fa35bd060bee0eb2c372b995e5 | [
"Apache-2.0"
] | 3 | 2021-04-04T02:45:34.000Z | 2021-11-22T23:48:28.000Z | #!/usr/bin/env python3
from mogpe.gating_networks.base import GatingNetworkBase
from mogpe.gating_networks.svgp import SVGPGatingNetworkBinary, SVGPGatingNetworkMulti, SVGPGatingFunction, SVGPGatingNetworkBase
| 52.5 | 129 | 0.880952 | 21 | 210 | 8.714286 | 0.761905 | 0.098361 | 0.163934 | 0.251366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005076 | 0.061905 | 210 | 3 | 130 | 70 | 0.923858 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 |
75a4208309f1604d84b2dec31148c64b1fc5efa1 | 1,986 | py | Python | src/morphometrics/measure/_tests/test_surface.py | haesleinhuepf/morphometrics | c4bdee33a9deaeed6f69a6853bf0787601fa8494 | [
"BSD-3-Clause"
] | 5 | 2022-03-17T18:14:18.000Z | 2022-03-23T00:48:17.000Z | src/morphometrics/measure/_tests/test_surface.py | haesleinhuepf/morphometrics | c4bdee33a9deaeed6f69a6853bf0787601fa8494 | [
"BSD-3-Clause"
] | 11 | 2022-01-27T14:10:43.000Z | 2022-03-20T18:22:30.000Z | src/morphometrics/measure/_tests/test_surface.py | haesleinhuepf/morphometrics | c4bdee33a9deaeed6f69a6853bf0787601fa8494 | [
"BSD-3-Clause"
] | 1 | 2022-03-17T18:17:21.000Z | 2022-03-17T18:17:21.000Z | import numpy as np
import pytest
import trimesh
from morphometrics.measure.surface import distance_between_surfaces
@pytest.mark.parametrize("fill_value", [np.nan, 0])
def test_distance_between_surfaces(fill_value):
source_vertices = np.array([[0, 0, 0], [0, 10, 0], [0, 10, 10]])
source_faces = np.array([[0,... | 34.842105 | 83 | 0.671702 | 265 | 1,986 | 4.781132 | 0.154717 | 0.085241 | 0.037885 | 0.041042 | 0.874507 | 0.874507 | 0.827151 | 0.827151 | 0.827151 | 0.827151 | 0 | 0.052434 | 0.193353 | 1,986 | 56 | 84 | 35.464286 | 0.738452 | 0 | 0 | 0.638298 | 0 | 0 | 0.01007 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 1 | 0.042553 | false | 0 | 0.085106 | 0 | 0.12766 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.