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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
44f254ddff0718eff73b4b94f45ec698474855bf | 32,114 | py | Python | aao_vender/views.py | sukalyan/aao_nxt_vendor | fde5e96b9357f097ee33d91f495be8f03a86bcbb | [
"MIT"
] | null | null | null | aao_vender/views.py | sukalyan/aao_nxt_vendor | fde5e96b9357f097ee33d91f495be8f03a86bcbb | [
"MIT"
] | 1 | 2021-10-30T06:46:46.000Z | 2021-10-30T06:46:57.000Z | aao_vender/views.py | sukalyan/aao_nxt_vendor | fde5e96b9357f097ee33d91f495be8f03a86bcbb | [
"MIT"
] | null | null | null | from django.shortcuts import render,redirect
from django.http import HttpResponseRedirect,HttpResponse
from django.contrib.auth.models import User
from django.contrib.auth.models import Group
from django.contrib import messages
from django.contrib.auth.decorators import login_required
from django.contrib.auth.decorator... | 37.34186 | 130 | 0.618609 | 3,529 | 32,114 | 5.287334 | 0.052423 | 0.034836 | 0.039659 | 0.040195 | 0.906587 | 0.892867 | 0.871644 | 0.851975 | 0.837183 | 0.818961 | 0 | 0.005678 | 0.28704 | 32,114 | 859 | 131 | 37.385332 | 0.809268 | 0.029956 | 0 | 0.76412 | 0 | 0 | 0.13763 | 0.026793 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0299 | false | 0.028239 | 0.021595 | 0 | 0.121262 | 0.009967 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
789633e14b61a517e645a348fb8dde9098c8686b | 1,631 | py | Python | talk_plots.py | firekg/Explore-vs-Teach | 2b3b6b8fbc61e28fda75555d5bf0e068f0a9ab8a | [
"MIT"
] | null | null | null | talk_plots.py | firekg/Explore-vs-Teach | 2b3b6b8fbc61e28fda75555d5bf0e068f0a9ab8a | [
"MIT"
] | null | null | null | talk_plots.py | firekg/Explore-vs-Teach | 2b3b6b8fbc61e28fda75555d5bf0e068f0a9ab8a | [
"MIT"
] | 1 | 2018-10-28T11:52:37.000Z | 2018-10-28T11:52:37.000Z | import matplotlib.pyplot as plt
import seaborn as sns
if __name__ == '__main__':
plt.figure(figsize=(6,6))
x = [0,1,2,3]
plt.xlim([-0.01, 3.01])
xlabels = ['0','1','2','3']
plt.xticks(x, xlabels)
plt.ylim([-0.01, 1.01])
plt.xlabel("Number of observations", fontsize=20)
plt.ylabel("Explo... | 30.203704 | 54 | 0.56591 | 281 | 1,631 | 3.231317 | 0.177936 | 0.022026 | 0.114537 | 0.030837 | 0.842511 | 0.811674 | 0.809471 | 0.809471 | 0.785242 | 0.785242 | 0 | 0.115975 | 0.201717 | 1,631 | 53 | 55 | 30.773585 | 0.581413 | 0 | 0 | 0.714286 | 0 | 0 | 0.19252 | 0.068056 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.040816 | 0 | 0.040816 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
78cd9f5d5b4739179dfe8dddba7f06b40d2b6a22 | 72,106 | py | Python | infoblox_netmri/api/broker/v3_6_0/effective_policy_rule_broker.py | IngmarVG-IB/infoblox-netmri | b0c725fd64aee1890d83917d911b89236207e564 | [
"Apache-2.0"
] | null | null | null | infoblox_netmri/api/broker/v3_6_0/effective_policy_rule_broker.py | IngmarVG-IB/infoblox-netmri | b0c725fd64aee1890d83917d911b89236207e564 | [
"Apache-2.0"
] | null | null | null | infoblox_netmri/api/broker/v3_6_0/effective_policy_rule_broker.py | IngmarVG-IB/infoblox-netmri | b0c725fd64aee1890d83917d911b89236207e564 | [
"Apache-2.0"
] | null | null | null | from ..broker import Broker
class EffectivePolicyRuleBroker(Broker):
controller = "effective_policy_rules"
def show(self, **kwargs):
"""Shows the details for the specified effective policy rule.
**Inputs**
| ``api version min:`` None
| ``api versio... | 54.75019 | 811 | 0.627632 | 8,282 | 72,106 | 5.40739 | 0.039483 | 0.066988 | 0.043542 | 0.071275 | 0.95121 | 0.94862 | 0.912714 | 0.900835 | 0.891524 | 0.889961 | 0 | 0.004025 | 0.293596 | 72,106 | 1,317 | 812 | 54.75019 | 0.875196 | 0.825673 | 0 | 0 | 0 | 0 | 0.079243 | 0.053296 | 0 | 0 | 0 | 0 | 0 | 1 | 0.421053 | false | 0 | 0.052632 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
156a6174b3113dfae726a220c11c55dfb25687ba | 10,575 | py | Python | qa327_test/frontend/test_sell.py | llim1/SeetGeek-CMPE327 | 6d49b9c6bd9e67dd747584a7b2109d69ae4c6c96 | [
"MIT"
] | null | null | null | qa327_test/frontend/test_sell.py | llim1/SeetGeek-CMPE327 | 6d49b9c6bd9e67dd747584a7b2109d69ae4c6c96 | [
"MIT"
] | null | null | null | qa327_test/frontend/test_sell.py | llim1/SeetGeek-CMPE327 | 6d49b9c6bd9e67dd747584a7b2109d69ae4c6c96 | [
"MIT"
] | 1 | 2021-01-02T16:36:17.000Z | 2021-01-02T16:36:17.000Z | import pytest
from seleniumbase import BaseCase
from qa327_test.conftest import base_url
from unittest.mock import patch
from qa327.models import db, User, Ticket
from werkzeug.security import generate_password_hash, check_password_hash
# Testing components
test_user = User(
email='testing@test.com',
name='Te... | 37.767857 | 109 | 0.62695 | 1,367 | 10,575 | 4.713972 | 0.111192 | 0.089385 | 0.046555 | 0.058194 | 0.786623 | 0.77126 | 0.765363 | 0.747052 | 0.747052 | 0.738982 | 0 | 0.052739 | 0.209267 | 10,575 | 280 | 110 | 37.767857 | 0.71789 | 0.095225 | 0 | 0.713115 | 0 | 0 | 0.319439 | 0.040427 | 0 | 0 | 0 | 0 | 0.057377 | 1 | 0.04918 | false | 0.057377 | 0.02459 | 0 | 0.102459 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
1593dbef4d83cc578ed51a12725d810353f9e782 | 1,974 | py | Python | virtual/lib/python3.8/site-packages/account/migrations/0006_auto_20210413_0847.py | nimowairimu/My-neighborhood | 23e66f221a0bc864dcc12309d02079dbfce6123c | [
"MIT"
] | null | null | null | virtual/lib/python3.8/site-packages/account/migrations/0006_auto_20210413_0847.py | nimowairimu/My-neighborhood | 23e66f221a0bc864dcc12309d02079dbfce6123c | [
"MIT"
] | null | null | null | virtual/lib/python3.8/site-packages/account/migrations/0006_auto_20210413_0847.py | nimowairimu/My-neighborhood | 23e66f221a0bc864dcc12309d02079dbfce6123c | [
"MIT"
] | null | null | null | # Generated by Django 3.2 on 2021-04-13 08:47
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('account', '0005_update_default_language'),
]
operations = [
migrations.AlterField(
model_name='account',
name='id',
... | 36.555556 | 111 | 0.611449 | 196 | 1,974 | 5.979592 | 0.234694 | 0.081911 | 0.170648 | 0.197952 | 0.753413 | 0.753413 | 0.753413 | 0.753413 | 0.753413 | 0.753413 | 0 | 0.0125 | 0.270517 | 1,974 | 53 | 112 | 37.245283 | 0.801389 | 0.021783 | 0 | 0.680851 | 1 | 0 | 0.089684 | 0.014515 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.042553 | 0.021277 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
eca9b5b33d503a12351bf5c59458c22895b7ec16 | 27,864 | py | Python | litigation.py | JessieSalas/WatsonApp | 5837b9c091419d65c67c0556b14bff55ecd9ccc5 | [
"MIT"
] | null | null | null | litigation.py | JessieSalas/WatsonApp | 5837b9c091419d65c67c0556b14bff55ecd9ccc5 | [
"MIT"
] | null | null | null | litigation.py | JessieSalas/WatsonApp | 5837b9c091419d65c67c0556b14bff55ecd9ccc5 | [
"MIT"
] | 1 | 2019-02-02T10:41:15.000Z | 2019-02-02T10:41:15.000Z | litigation_dict={
0219427:”http://portal.uspto.gov/pair/view/BrowsePdfServlet?objectId=HU011X63PXXIFW4&lang=DINO”,
0219427:”http://portal.uspto.gov/pair/view/BrowsePdfServlet?objectId=HLQSFU2HPXXIFW4&lang=DINO”,
0219427:”http://portal.uspto.gov/pair/view/BrowsePdfServlet?objectId=HLQSFU31PXXIFW4&lang=DINO”,
0219427:”ht... | 95.752577 | 97 | 0.82472 | 3,446 | 27,864 | 6.668311 | 0.092571 | 0.124897 | 0.187345 | 0.224814 | 0.815614 | 0.815614 | 0.815614 | 0.815614 | 0.815614 | 0.813134 | 0 | 0.102016 | 0.010408 | 27,864 | 290 | 98 | 96.082759 | 0.731341 | 0 | 0 | 0.020761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
172894db1e0ac4db5f9ed2e13469bc0ecec922b1 | 744 | py | Python | clase1/test_dr_lothar.py | martinadwek/python_course | a2c29bed2c616e1382dd5768588af1e27312ce52 | [
"MIT"
] | null | null | null | clase1/test_dr_lothar.py | martinadwek/python_course | a2c29bed2c616e1382dd5768588af1e27312ce52 | [
"MIT"
] | null | null | null | clase1/test_dr_lothar.py | martinadwek/python_course | a2c29bed2c616e1382dd5768588af1e27312ce52 | [
"MIT"
] | null | null | null | import unittest
from clase1.dr_lothar import dr_lothar, dr_lothar_rec
class DrLotharTestCase(unittest.TestCase):
def test_even_number(self):
self.assertEqual(8, dr_lothar(6))
def test_odd_number(self):
self.assertEqual(7, dr_lothar(3))
def test_leq_zero_number(self):
with self.a... | 23.25 | 53 | 0.686828 | 101 | 744 | 4.712871 | 0.316832 | 0.151261 | 0.092437 | 0.210084 | 0.701681 | 0.701681 | 0.701681 | 0.701681 | 0.701681 | 0.701681 | 0 | 0.02381 | 0.209677 | 744 | 31 | 54 | 24 | 0.785714 | 0 | 0 | 0.4 | 0 | 0 | 0.010753 | 0 | 0 | 0 | 0 | 0 | 0.3 | 1 | 0.3 | false | 0 | 0.1 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1750bf272701dfd751b845c27ce6a3c46dbf1c09 | 159 | py | Python | pygpe/spin_1/__init__.py | wheelerMT/pygpe | c0dc5dc7d2d6778b50103e47a3590472ee218261 | [
"MIT"
] | null | null | null | pygpe/spin_1/__init__.py | wheelerMT/pygpe | c0dc5dc7d2d6778b50103e47a3590472ee218261 | [
"MIT"
] | null | null | null | pygpe/spin_1/__init__.py | wheelerMT/pygpe | c0dc5dc7d2d6778b50103e47a3590472ee218261 | [
"MIT"
] | null | null | null | from . import evolution
from .evolution import *
from . import wavefunction
from .wavefunction import *
from . import data_manager
from .data_manager import *
| 22.714286 | 27 | 0.792453 | 20 | 159 | 6.2 | 0.3 | 0.241935 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 159 | 6 | 28 | 26.5 | 0.918519 | 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 | 1 | 0 | 0 | 7 |
bd5e44e95d6648c56f19a535c6cb3630b6733d0d | 20,756 | py | Python | channels_client/api/channels_api.py | pitzer42/opbk-br-quickstart | b3f86b2e5f82a6090aaefb563614e174a452383c | [
"MIT"
] | 2 | 2021-02-07T23:58:36.000Z | 2021-02-08T01:03:25.000Z | channels_client/api/channels_api.py | pitzer42/opbk-br-quickstart | b3f86b2e5f82a6090aaefb563614e174a452383c | [
"MIT"
] | null | null | null | channels_client/api/channels_api.py | pitzer42/opbk-br-quickstart | b3f86b2e5f82a6090aaefb563614e174a452383c | [
"MIT"
] | null | null | null | # coding: utf-8
"""
APIs OpenData do Open Banking Brasil
As APIs descritas neste documento são referentes as APIs da fase OpenData do Open Banking Brasil. # noqa: E501
OpenAPI spec version: 1.0.0-rc5.2
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
"... | 40.777996 | 121 | 0.628348 | 2,408 | 20,756 | 5.188538 | 0.081395 | 0.045462 | 0.022411 | 0.028814 | 0.940211 | 0.932928 | 0.928366 | 0.922283 | 0.919962 | 0.918681 | 0 | 0.01586 | 0.289169 | 20,756 | 508 | 122 | 40.858268 | 0.830961 | 0.401571 | 0 | 0.814394 | 0 | 0 | 0.161162 | 0.048083 | 0 | 0 | 0 | 0.019685 | 0 | 1 | 0.041667 | false | 0 | 0.015152 | 0 | 0.117424 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
bd6713e63fcb0649ac53bc667d0da5111e2d0369 | 14,964 | py | Python | install/app_store/tk-framework-qtwidgets/v2.6.5/python/overlay_widget/ui/resources_rc.py | JoanAzpeitia/lp_sg | e0ee79555e419dd2ae3a5f31e5515b3f40b22a62 | [
"MIT"
] | null | null | null | install/app_store/tk-framework-qtwidgets/v2.6.5/python/overlay_widget/ui/resources_rc.py | JoanAzpeitia/lp_sg | e0ee79555e419dd2ae3a5f31e5515b3f40b22a62 | [
"MIT"
] | null | null | null | install/app_store/tk-framework-qtwidgets/v2.6.5/python/overlay_widget/ui/resources_rc.py | JoanAzpeitia/lp_sg | e0ee79555e419dd2ae3a5f31e5515b3f40b22a62 | [
"MIT"
] | 1 | 2020-02-15T10:42:56.000Z | 2020-02-15T10:42:56.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# by: The Resource Compiler for PySide (Qt v4.8.7)
#
# WARNING! All changes made in this file will be lost!
from tank.platform.qt import QtCore
qt_resource_data = "\x00\x00\x12\xea\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00<\x00\x00\x00 \x08\x06\x00\x... | 712.571429 | 14,017 | 0.742582 | 3,374 | 14,964 | 3.280676 | 0.271488 | 0.030897 | 0.021953 | 0.010841 | 0.02909 | 0.026922 | 0.018159 | 0.018159 | 0.01572 | 0.01572 | 0 | 0.250034 | 0.006816 | 14,964 | 20 | 14,018 | 748.2 | 0.494752 | 0.009957 | 0 | 0 | 0 | 0.333333 | 0.974946 | 0.97184 | 0 | 0 | 0.00054 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
bd6c13b26deb1be96fcbba65c0d6cec0c11c4e64 | 8,265 | py | Python | fvm/JadaHYMLSInterface.py | erik808/fvm | 4d10d83dccb2d8ee3f8b2550a39e3179a64b7cb9 | [
"Apache-2.0"
] | null | null | null | fvm/JadaHYMLSInterface.py | erik808/fvm | 4d10d83dccb2d8ee3f8b2550a39e3179a64b7cb9 | [
"Apache-2.0"
] | null | null | null | fvm/JadaHYMLSInterface.py | erik808/fvm | 4d10d83dccb2d8ee3f8b2550a39e3179a64b7cb9 | [
"Apache-2.0"
] | null | null | null | import copy
import HYMLS
from PyTrilinos import Epetra
from jadapy import EpetraInterface
from jadapy import ComplexEpetraInterface
class JadaHYMLSPrecOp(EpetraInterface.Operator):
def __init__(self, op, prec):
super().__init__(op)
self.prec = prec
def ApplyInverse(self, x, y):
self... | 34.4375 | 92 | 0.638355 | 947 | 8,265 | 5.444562 | 0.102429 | 0.086889 | 0.05896 | 0.048099 | 0.867145 | 0.854732 | 0.834368 | 0.782002 | 0.727308 | 0.727308 | 0 | 0.009305 | 0.245856 | 8,265 | 239 | 93 | 34.58159 | 0.817905 | 0.043436 | 0 | 0.705202 | 0 | 0 | 0.044309 | 0 | 0 | 0 | 0 | 0 | 0.00578 | 1 | 0.104046 | false | 0 | 0.028902 | 0.00578 | 0.236994 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
bd7e937b4ff137bcde0aff448164da8005218fdb | 139 | py | Python | dlf/preprocessing/__init__.py | scheckmedia/dl-framework | 8fea39e166fda0ff8fa51696831bf5cb42f3ed10 | [
"Apache-2.0"
] | null | null | null | dlf/preprocessing/__init__.py | scheckmedia/dl-framework | 8fea39e166fda0ff8fa51696831bf5cb42f3ed10 | [
"Apache-2.0"
] | null | null | null | dlf/preprocessing/__init__.py | scheckmedia/dl-framework | 8fea39e166fda0ff8fa51696831bf5cb42f3ed10 | [
"Apache-2.0"
] | null | null | null | from dlf.core.registry import import_framework_modules
from pathlib import Path
import_framework_modules(Path(__file__).parent, __name__)
| 27.8 | 57 | 0.863309 | 19 | 139 | 5.684211 | 0.631579 | 0.277778 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079137 | 139 | 4 | 58 | 34.75 | 0.84375 | 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 | 1 | 0 | 0 | 7 |
bda8aef1f8ac24910dc0f79ac38c1e754812694d | 27,068 | py | Python | Tests/tests_gui.py | galbrads/Gear_Manager | 3b8ba0f455130556be21a9dbd43f4e9ae6243be9 | [
"MIT"
] | null | null | null | Tests/tests_gui.py | galbrads/Gear_Manager | 3b8ba0f455130556be21a9dbd43f4e9ae6243be9 | [
"MIT"
] | null | null | null | Tests/tests_gui.py | galbrads/Gear_Manager | 3b8ba0f455130556be21a9dbd43f4e9ae6243be9 | [
"MIT"
] | null | null | null | from __future__ import division
from PySide import QtGui, QtCore
from PySide.QtTest import QTest
import unittest
import tests
import GearManager
import Util
import sys
import os
#
# --- Member Tab tests -------------------------------------------------------------------------------------------------
#
class MemberVal... | 38.613409 | 135 | 0.651914 | 3,049 | 27,068 | 5.726796 | 0.096425 | 0.05309 | 0.043296 | 0.052574 | 0.830021 | 0.80465 | 0.790905 | 0.771376 | 0.753221 | 0.726992 | 0 | 0.013595 | 0.211948 | 27,068 | 700 | 136 | 38.668571 | 0.804979 | 0.084897 | 0 | 0.725806 | 0 | 0 | 0.03661 | 0 | 0 | 0 | 0 | 0 | 0.155242 | 1 | 0.086694 | false | 0 | 0.018145 | 0 | 0.112903 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
da3284c6b749a0f044382110d08615aadba15bdf | 106 | py | Python | observing_suite/__init__.py | prappleizer/observing-suite | b8d342a6515da7357e34c51c7fdef9cff6eee125 | [
"MIT"
] | 3 | 2022-02-26T20:01:09.000Z | 2022-03-15T22:34:50.000Z | observing_suite/__init__.py | prappleizer/observing-suite | b8d342a6515da7357e34c51c7fdef9cff6eee125 | [
"MIT"
] | null | null | null | observing_suite/__init__.py | prappleizer/observing-suite | b8d342a6515da7357e34c51c7fdef9cff6eee125 | [
"MIT"
] | null | null | null | from .target import *
from .imaging import *
from .observing_plan import *
from .observing_log import * | 26.5 | 30 | 0.754717 | 14 | 106 | 5.571429 | 0.5 | 0.384615 | 0.487179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 106 | 4 | 31 | 26.5 | 0.886364 | 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 | 1 | 0 | 0 | 7 |
da5e0d47aee2c534b2ce24dca1534f07435557b7 | 59 | py | Python | l10n_br_automated_payment/wizard/__init__.py | kaoecoito/odoo-brasil | 6e019efc4e03b2e7be6ca51d08ace095240e0f07 | [
"MIT"
] | 181 | 2016-11-11T04:39:43.000Z | 2022-03-14T21:17:19.000Z | l10n_br_automated_payment/wizard/__init__.py | kaoecoito/odoo-brasil | 6e019efc4e03b2e7be6ca51d08ace095240e0f07 | [
"MIT"
] | 899 | 2016-11-14T02:42:56.000Z | 2022-03-29T20:47:39.000Z | l10n_br_automated_payment/wizard/__init__.py | kaoecoito/odoo-brasil | 6e019efc4e03b2e7be6ca51d08ace095240e0f07 | [
"MIT"
] | 227 | 2016-11-10T17:16:59.000Z | 2022-03-26T16:46:38.000Z |
from . import wizard_iugu
from . import wizard_new_payment | 19.666667 | 32 | 0.830508 | 9 | 59 | 5.111111 | 0.666667 | 0.434783 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 3 | 32 | 19.666667 | 0.901961 | 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 | 1 | 0 | 0 | 7 |
da5fa75dbde247a9cd6263b9d50bb2346ec3f2ee | 183 | py | Python | luupsmap/model/__init__.py | Team-LANS/luups-map | f9d5dddee86d9141dd6e2ae071c8e6fa37f376f2 | [
"MIT"
] | 1 | 2019-07-30T17:13:41.000Z | 2019-07-30T17:13:41.000Z | luupsmap/model/__init__.py | Team-LANS/luups-map | f9d5dddee86d9141dd6e2ae071c8e6fa37f376f2 | [
"MIT"
] | 15 | 2019-02-09T13:27:18.000Z | 2019-04-01T21:18:52.000Z | luupsmap/model/__init__.py | Team-LANS/luups-map | f9d5dddee86d9141dd6e2ae071c8e6fa37f376f2 | [
"MIT"
] | null | null | null | from luupsmap.model.enums import *
from luupsmap.model.location import *
from luupsmap.model.voucher import *
from luupsmap.model.venue import *
from luupsmap.model.interval import *
| 30.5 | 37 | 0.808743 | 25 | 183 | 5.92 | 0.36 | 0.405405 | 0.574324 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10929 | 183 | 5 | 38 | 36.6 | 0.907975 | 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 | 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 | 8 |
da61fe523a2a1e43762399a146481907e7e49e43 | 16,942 | py | Python | config_tempest/tests/test_config_tempest_user.py | mail2nsrajesh/python-tempestconf | ab53cc8638f51283bbef183a01113478e362434f | [
"Apache-2.0"
] | null | null | null | config_tempest/tests/test_config_tempest_user.py | mail2nsrajesh/python-tempestconf | ab53cc8638f51283bbef183a01113478e362434f | [
"Apache-2.0"
] | null | null | null | config_tempest/tests/test_config_tempest_user.py | mail2nsrajesh/python-tempestconf | ab53cc8638f51283bbef183a01113478e362434f | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2017 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless r... | 45.665768 | 78 | 0.603471 | 1,880 | 16,942 | 5.079255 | 0.087234 | 0.046078 | 0.06032 | 0.051733 | 0.840507 | 0.79202 | 0.763745 | 0.755158 | 0.753273 | 0.751388 | 0 | 0.004075 | 0.304687 | 16,942 | 370 | 79 | 45.789189 | 0.806537 | 0.035061 | 0 | 0.685801 | 0 | 0 | 0.199914 | 0.14891 | 0 | 0 | 0 | 0 | 0.045317 | 1 | 0.042296 | false | 0.063444 | 0.012085 | 0 | 0.063444 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
da8e649188e593bf4ffeec20d7be755b1ffb5894 | 57,065 | py | Python | src/zen_nas/PlainNet/basic_blocks.py | Adlik/zen_nas | d820d5c7d5bbb6fd66a76d5f16513647d6ea7a57 | [
"Apache-2.0"
] | 7 | 2021-10-30T07:37:45.000Z | 2022-03-28T08:31:15.000Z | src/zen_nas/PlainNet/basic_blocks.py | Adlik/zen_nas | d820d5c7d5bbb6fd66a76d5f16513647d6ea7a57 | [
"Apache-2.0"
] | 3 | 2021-11-08T06:23:12.000Z | 2022-01-07T09:10:57.000Z | src/zen_nas/PlainNet/basic_blocks.py | Adlik/zen_nas | d820d5c7d5bbb6fd66a76d5f16513647d6ea7a57 | [
"Apache-2.0"
] | 1 | 2022-01-06T01:40:18.000Z | 2022-01-06T01:40:18.000Z | '''
Copyright (C) 2010-2021 Alibaba Group Holding Limited.
define all needed basic layer class
'''
# pylint: disable=W0613,too-many-lines,too-many-arguments
import os
import sys
import uuid
import torch
from torch import nn
import torch.nn.functional as F
import numpy as np
sys.path.append(os.path.dirname(os.path.dirn... | 37.20013 | 119 | 0.63503 | 7,450 | 57,065 | 4.498121 | 0.033691 | 0.074185 | 0.052371 | 0.045299 | 0.877622 | 0.851332 | 0.835785 | 0.819791 | 0.805109 | 0.78983 | 0 | 0.009412 | 0.270131 | 57,065 | 1,533 | 120 | 37.224397 | 0.795174 | 0.031858 | 0 | 0.762799 | 0 | 0 | 0.040367 | 0.029675 | 0 | 0 | 0 | 0 | 0.044369 | 1 | 0.135666 | false | 0.00256 | 0.008532 | 0.053754 | 0.274744 | 0.001706 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
da8f063f9f138fe03610d7600654dcdc0b4fabc2 | 59,783 | py | Python | src/ebay_rest/api/commerce_taxonomy/api/category_tree_api.py | gbm001/ebay_rest | 077d3478423ccd80ff35e0361821d6a11180bc54 | [
"MIT"
] | 3 | 2021-12-12T04:28:03.000Z | 2022-03-10T03:29:18.000Z | src/ebay_rest/api/commerce_taxonomy/api/category_tree_api.py | jdavv/ebay_rest | 20fc88c6aefdae9ab90f9c1330e79abddcd750cd | [
"MIT"
] | 33 | 2021-06-16T20:44:36.000Z | 2022-03-30T14:55:06.000Z | src/ebay_rest/api/commerce_taxonomy/api/category_tree_api.py | jdavv/ebay_rest | 20fc88c6aefdae9ab90f9c1330e79abddcd750cd | [
"MIT"
] | 7 | 2021-06-03T09:30:23.000Z | 2022-03-08T19:51:33.000Z | # coding: utf-8
"""
Taxonomy API
Use the Taxonomy API to discover the most appropriate eBay categories under which sellers can offer inventory items for sale, and the most likely categories under which buyers can browse or search for items to purchase. In addition, the Taxonomy API provides metadata about the... | 70.332941 | 1,106 | 0.709014 | 7,945 | 59,783 | 5.165009 | 0.05752 | 0.059363 | 0.050492 | 0.014036 | 0.963617 | 0.956477 | 0.950848 | 0.945755 | 0.939687 | 0.938128 | 0 | 0.011919 | 0.228125 | 59,783 | 849 | 1,107 | 70.415783 | 0.877365 | 0.588495 | 0 | 0.766885 | 0 | 0 | 0.232311 | 0.075449 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.008715 | 0 | 0.100218 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e503a17ace2028d5b1adc68dafbf82a4b9ec2b54 | 166 | py | Python | app/pytorch/book/chp004/e1/relu.py | yt7589/aqp | c9c1c79facdea7ace73e2421e8a5868d87fb58dd | [
"Apache-2.0"
] | null | null | null | app/pytorch/book/chp004/e1/relu.py | yt7589/aqp | c9c1c79facdea7ace73e2421e8a5868d87fb58dd | [
"Apache-2.0"
] | null | null | null | app/pytorch/book/chp004/e1/relu.py | yt7589/aqp | c9c1c79facdea7ace73e2421e8a5868d87fb58dd | [
"Apache-2.0"
] | null | null | null | #
import numpy as np
class ReLU():
def __call__(self, x):
return np.where(x >= 0, x, 0)
def gradient(self, x):
return np.where(x >= 0, 1, 0) | 18.444444 | 37 | 0.542169 | 28 | 166 | 3.071429 | 0.535714 | 0.069767 | 0.255814 | 0.302326 | 0.465116 | 0.465116 | 0.465116 | 0 | 0 | 0 | 0 | 0.043103 | 0.301205 | 166 | 9 | 38 | 18.444444 | 0.698276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
e548c59d4516a08c058bc6f39230da5c2499bbac | 247 | py | Python | SevpnMgmtPy/admin_api/rpc_set_password.py | relman/sevpn-mgmt-py | e54ef834b2a35bb85f72d72b9ccbc065f2e5a92c | [
"MIT"
] | null | null | null | SevpnMgmtPy/admin_api/rpc_set_password.py | relman/sevpn-mgmt-py | e54ef834b2a35bb85f72d72b9ccbc065f2e5a92c | [
"MIT"
] | null | null | null | SevpnMgmtPy/admin_api/rpc_set_password.py | relman/sevpn-mgmt-py | e54ef834b2a35bb85f72d72b9ccbc065f2e5a92c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class RpcSetPassword:
def __init__(self, hashed_password):
self.hashed_password = hashed_password
def out_rpc_set_password(self, pack):
pack.add_value("HashedPassword", self.hashed_password)
| 30.875 | 63 | 0.688259 | 29 | 247 | 5.448276 | 0.586207 | 0.35443 | 0.341772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005076 | 0.202429 | 247 | 7 | 64 | 35.285714 | 0.796954 | 0.08502 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 1 | 0 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
e55ee93b759bf471821a57ae05adae6e388f6aa4 | 447 | py | Python | 99bottles/99bottles.py | kevinnls/python | ecd483e4666da9afe84662210751f2e3d8d94d16 | [
"MIT"
] | null | null | null | 99bottles/99bottles.py | kevinnls/python | ecd483e4666da9afe84662210751f2e3d8d94d16 | [
"MIT"
] | null | null | null | 99bottles/99bottles.py | kevinnls/python | ecd483e4666da9afe84662210751f2e3d8d94d16 | [
"MIT"
] | null | null | null | n = 9
while n>=1:
if(n>1):
print(str(n) + " bottles of beer on the wall, " + str(n) + " bottles of beer.")
n-=1
print("take one down and pass it around, " + str(n) + " bottles of beer on the wall.\n\n")
else:
print(str(n) + " bottles of beer on the wall, " + str(n) + " bottle of ... | 37.25 | 98 | 0.545861 | 79 | 447 | 3.088608 | 0.316456 | 0.147541 | 0.266393 | 0.213115 | 0.848361 | 0.819672 | 0.819672 | 0.819672 | 0.606557 | 0.606557 | 0 | 0.016181 | 0.308725 | 447 | 11 | 99 | 40.636364 | 0.773463 | 0 | 0 | 0.181818 | 0 | 0.090909 | 0.534676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.272727 | 0 | 0 | 0 | 0.363636 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
e596d5f6e41810bb94d357c9d7b4daee50707088 | 441,050 | py | Python | v1.0.0.test/niraidata.py | TTOFFLINE-LEAK/ttoffline | bb0e91704a755d34983e94288d50288e46b68380 | [
"MIT"
] | 4 | 2019-07-01T15:46:43.000Z | 2021-07-23T16:26:48.000Z | v1.0.0.test/niraidata.py | TTOFFLINE-LEAK/ttoffline | bb0e91704a755d34983e94288d50288e46b68380 | [
"MIT"
] | 1 | 2019-06-29T03:40:05.000Z | 2021-06-13T01:15:16.000Z | v1.0.0.test/niraidata.py | TTOFFLINE-LEAK/ttoffline | bb0e91704a755d34983e94288d50288e46b68380 | [
"MIT"
] | 4 | 2019-07-28T21:18:46.000Z | 2021-02-25T06:37:25.000Z | CONFIGFILE = '\xc1A\x1a{\xb4\xaenu7h;\x15\xbe\xdf\xed}\xbd\xfe\xbeM!\x0c\xea\xe0\x06C\xe21\xa9\x8e\x05+\x04\x06\xb4b\x81f\r\xa9\'\xa3\xfa\x10\x87;\x19\xf3\x01K\xf2\x03\xbb\xa8~\xc1\xc7!\xec%\x88\xb9\xdc\xad\x04%di5\x15+\x8d\xf77\x7f\xe2T\xc0\xa0+ZIQ3\xd1`K\xe8\x86\x97]\x90\xe2gt-\xdd)\xcb\xd9$\x1bo\x95\xb0\x00l\xfd\xe6... | 220,525 | 435,946 | 0.734436 | 101,349 | 441,050 | 3.190017 | 0.119311 | 0.000186 | 0.000056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232752 | 0.001349 | 441,050 | 2 | 435,946 | 220,525 | 0.501273 | 0 | 0 | 0 | 0 | 204 | 0.68697 | 0.685213 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e5b5e825b7eabce2fa67dac63053e620fbe29da8 | 3,113 | py | Python | Notes/Sprint3/BinaryTree_BST.py | mark-morelos/CS_Notes | 339c47ae5d7e678b7ac98d6d78857d016c611e38 | [
"MIT"
] | 1 | 2021-02-28T07:43:59.000Z | 2021-02-28T07:43:59.000Z | Notes/Sprint3/BinaryTree_BST.py | mark-morelos/CS_Notes | 339c47ae5d7e678b7ac98d6d78857d016c611e38 | [
"MIT"
] | null | null | null | Notes/Sprint3/BinaryTree_BST.py | mark-morelos/CS_Notes | 339c47ae5d7e678b7ac98d6d78857d016c611e38 | [
"MIT"
] | 1 | 2021-03-03T03:52:21.000Z | 2021-03-03T03:52:21.000Z | """
Binary Tree Inorder Reversal
Given the root of a binary tree, return the inorder traversal of its nodes' values
Examples:
Input: root = [1, null, 2, 3]
Output: [1,3,2]
Plan
- Use recursion to go to the left subtree first
then process the current node,
then use recursion again to the right subtree next
When buil... | 26.606838 | 82 | 0.607774 | 370 | 3,113 | 5.081081 | 0.175676 | 0.038298 | 0.041489 | 0.108511 | 0.820745 | 0.809043 | 0.809043 | 0.809043 | 0.790957 | 0.754787 | 0 | 0.005558 | 0.306457 | 3,113 | 117 | 83 | 26.606838 | 0.865215 | 0.178927 | 0 | 0.966102 | 0 | 0 | 0.001931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e5bd23e93b748634d5ebd43a3a5d71737bcf1520 | 657 | py | Python | MINI_WEB/mini_web/framework/mini_frame_3.py | GalphaXie/LaoX | b7e8f9744292dc052c870e4d873052e9bfec19ee | [
"MIT"
] | null | null | null | MINI_WEB/mini_web/framework/mini_frame_3.py | GalphaXie/LaoX | b7e8f9744292dc052c870e4d873052e9bfec19ee | [
"MIT"
] | 12 | 2020-03-24T17:39:25.000Z | 2022-03-12T00:01:24.000Z | MINI_WEB/mini_web/framework/mini_frame_3.py | GalphaXie/LaoX | b7e8f9744292dc052c870e4d873052e9bfec19ee | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# file: mini_frame.py
# Created by Guang at 19-7-19
# description:
# *-* coding:utf8 *-*
# def application(environ, start_response):
# start_response('200 OK', [('Content-Type', 'text/html')])
# return 'Hello World!'
# def application(environ, start_response):
# start_response('200 O... | 26.28 | 106 | 0.627093 | 82 | 657 | 4.939024 | 0.426829 | 0.192593 | 0.197531 | 0.187654 | 0.753086 | 0.753086 | 0.753086 | 0.753086 | 0.604938 | 0.604938 | 0 | 0.03154 | 0.179604 | 657 | 25 | 107 | 26.28 | 0.719852 | 0.652968 | 0 | 0 | 0 | 0 | 0.382075 | 0.108491 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
e5c5ac562b467fae04a78b379d29e12fdfd79e30 | 4,111 | py | Python | tests/test_special_functions.py | James-Montgomery/platea | 96188d34293d46ddc3f9935fe1349f83f72c13a8 | [
"MIT"
] | null | null | null | tests/test_special_functions.py | James-Montgomery/platea | 96188d34293d46ddc3f9935fe1349f83f72c13a8 | [
"MIT"
] | null | null | null | tests/test_special_functions.py | James-Montgomery/platea | 96188d34293d46ddc3f9935fe1349f83f72c13a8 | [
"MIT"
] | null | null | null | import pytest
import numpy as np
from scipy import special
import numpy.testing as npt
from platea import special_functions as sf
################################################################################
# Gamma Function
def test_gamma():
"""
gamma
"""
alpha1 = [sf.gamma(i) for i in [0.0, 0.... | 30.227941 | 81 | 0.559231 | 696 | 4,111 | 3.221264 | 0.074713 | 0.024978 | 0.160571 | 0.214095 | 0.821142 | 0.810437 | 0.804193 | 0.804193 | 0.804193 | 0.772971 | 0 | 0.113424 | 0.193627 | 4,111 | 135 | 82 | 30.451852 | 0.562896 | 0.019703 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.347826 | 1 | 0.115942 | false | 0 | 0.072464 | 0 | 0.188406 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
f9046ed3759847debf179da2f2ee5ab16f055ff0 | 216 | py | Python | src/modelseed/test/test_import_genome.py | jayrbolton/arangodb_biochem_importer | b1c3eb16908ce47bf4c0b2ed792262612b6a019b | [
"MIT"
] | null | null | null | src/modelseed/test/test_import_genome.py | jayrbolton/arangodb_biochem_importer | b1c3eb16908ce47bf4c0b2ed792262612b6a019b | [
"MIT"
] | 17 | 2019-07-15T16:55:22.000Z | 2021-11-02T18:49:56.000Z | src/modelseed/test/test_import_genome.py | jayrbolton/arangodb_biochem_importer | b1c3eb16908ce47bf4c0b2ed792262612b6a019b | [
"MIT"
] | 6 | 2019-08-05T17:02:22.000Z | 2021-05-13T15:52:11.000Z | import unittest
# from arangodb_biochem_importer.import_genome import import_genome
class TestImportGenome(unittest.TestCase):
def test_basic_download(self):
pass
# import_genome('32952/30/1')
| 21.6 | 67 | 0.75463 | 26 | 216 | 6 | 0.730769 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044693 | 0.171296 | 216 | 9 | 68 | 24 | 0.826816 | 0.430556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
f913ecb6b8966bffbd0f7c27e7c9d079325ccaaa | 5,443 | py | Python | sample_player/tools/metrics.py | benoitRodde/DeepPoker | 1f5336246324d97bb915373b1a05f30be38c5126 | [
"MIT"
] | null | null | null | sample_player/tools/metrics.py | benoitRodde/DeepPoker | 1f5336246324d97bb915373b1a05f30be38c5126 | [
"MIT"
] | 8 | 2020-04-24T08:11:54.000Z | 2022-02-10T01:21:56.000Z | sample_player/tools/metrics.py | benoitRodde/DeepPoker | 1f5336246324d97bb915373b1a05f30be38c5126 | [
"MIT"
] | 1 | 2020-08-27T15:44:25.000Z | 2020-08-27T15:44:25.000Z | import numpy as np
def compute_nash_pusher(model):
matrix = np.zeros((13, 13))
print("computing pusher ranges")
print("\tpocket pairs")
# pocket pairs
for i in range(13):
cards = np.zeros(13)
cards[12-i] = 1
suited = 0
sb = 1
starting_stack_bb = 20
... | 32.39881 | 99 | 0.393717 | 582 | 5,443 | 3.558419 | 0.085911 | 0.213423 | 0.246258 | 0.098503 | 0.967648 | 0.967648 | 0.967648 | 0.967648 | 0.932883 | 0.932883 | 0 | 0.069671 | 0.51479 | 5,443 | 167 | 100 | 32.592814 | 0.714502 | 0.022598 | 0 | 0.965035 | 0 | 0 | 0.013939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013986 | false | 0 | 0.006993 | 0 | 0.034965 | 0.027972 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 10 |
00645eec836dff286a9c1c4cc052a6baa4e7e18c | 37,062 | py | Python | dairy_erp/dairy_erp/doctype/vlcc_payment_cycle_report/vlcc_payment_cycle_report.py | shrikant9867/Dairy_project_Daiyerp | 635d34115f0eb2081b6835a190eda4971dbfb99f | [
"MIT"
] | null | null | null | dairy_erp/dairy_erp/doctype/vlcc_payment_cycle_report/vlcc_payment_cycle_report.py | shrikant9867/Dairy_project_Daiyerp | 635d34115f0eb2081b6835a190eda4971dbfb99f | [
"MIT"
] | null | null | null | dairy_erp/dairy_erp/doctype/vlcc_payment_cycle_report/vlcc_payment_cycle_report.py | shrikant9867/Dairy_project_Daiyerp | 635d34115f0eb2081b6835a190eda4971dbfb99f | [
"MIT"
] | 2 | 2020-01-19T13:27:57.000Z | 2021-12-28T20:32:56.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2018, Stellapps Technologies Private Ltd.
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
from frappe.utils import getdate
from dairy_erp.dairy_utils import make_dairy_log
from fra... | 47.57638 | 180 | 0.724165 | 5,563 | 37,062 | 4.542873 | 0.048355 | 0.0478 | 0.035692 | 0.051915 | 0.84742 | 0.830366 | 0.813469 | 0.788659 | 0.757558 | 0.733737 | 0 | 0.005792 | 0.124143 | 37,062 | 779 | 181 | 47.57638 | 0.772743 | 0.011953 | 0 | 0.573295 | 0 | 0 | 0.284949 | 0.050843 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.011611 | null | null | 0.011611 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
00a711daf1dd9eabeedd551a568acd0430c7d948 | 1,653 | py | Python | tests/test_handlers.py | edaniszewski/sanic-healthcheck | 25acc8c7fe71a9802ad83f95c5ed01354fc868fb | [
"MIT"
] | 3 | 2020-07-17T05:19:17.000Z | 2022-02-20T04:16:48.000Z | tests/test_handlers.py | edaniszewski/sanic-healthcheck | 25acc8c7fe71a9802ad83f95c5ed01354fc868fb | [
"MIT"
] | null | null | null | tests/test_handlers.py | edaniszewski/sanic-healthcheck | 25acc8c7fe71a9802ad83f95c5ed01354fc868fb | [
"MIT"
] | null | null | null |
import json
import math
import time
from sanic_healthcheck import handlers
def test_json_success_handler():
results = [
{'test': 'foo'},
{'test': 'bar'},
]
now = time.time()
actual = handlers.json_success_handler(results)
assert isinstance(actual, str)
loaded = json.loads(... | 22.643836 | 60 | 0.656382 | 193 | 1,653 | 5.471503 | 0.160622 | 0.121212 | 0.041667 | 0.064394 | 0.939394 | 0.91572 | 0.892045 | 0.892045 | 0.86553 | 0.780303 | 0 | 0.003051 | 0.206897 | 1,653 | 72 | 61 | 22.958333 | 0.802441 | 0 | 0 | 0.708333 | 0 | 0 | 0.087167 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 1 | 0.083333 | false | 0 | 0.083333 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
971abf0ab7f8dfbbdebb0348c938e0cb37b948f7 | 53,849 | py | Python | tb_api_client/swagger_client/apis/device_controller_api.py | MOSAIC-LoPoW/oss7-thingsboard-backend-example | 9b289dd7fdbb6e932ca338ad497a7bb1fc84d010 | [
"Apache-2.0"
] | 5 | 2017-11-27T15:48:16.000Z | 2020-09-21T04:18:47.000Z | tb_api_client/swagger_client/apis/device_controller_api.py | MOSAIC-LoPoW/oss7-thingsboard-backend-example | 9b289dd7fdbb6e932ca338ad497a7bb1fc84d010 | [
"Apache-2.0"
] | null | null | null | tb_api_client/swagger_client/apis/device_controller_api.py | MOSAIC-LoPoW/oss7-thingsboard-backend-example | 9b289dd7fdbb6e932ca338ad497a7bb1fc84d010 | [
"Apache-2.0"
] | 6 | 2018-01-14T17:23:46.000Z | 2019-06-24T13:38:54.000Z | # coding: utf-8
"""
Thingsboard REST API
For instructions how to authorize requests please visit <a href='http://thingsboard.io/docs/reference/rest-api/'>REST API documentation page</a>.
OpenAPI spec version: 2.0
Contact: info@thingsboard.io
Generated by: https://github.com/swagger-api/swagger-co... | 41.200459 | 149 | 0.563037 | 5,497 | 53,849 | 5.203202 | 0.035838 | 0.027411 | 0.025453 | 0.032725 | 0.958395 | 0.943745 | 0.926788 | 0.9163 | 0.902524 | 0.883749 | 0 | 0.000374 | 0.354826 | 53,849 | 1,306 | 150 | 41.232006 | 0.822894 | 0.031031 | 0 | 0.781116 | 0 | 0 | 0.169372 | 0.05254 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.008584 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
974d64013e0973492350a3982ef9edfed233eead | 3,578 | py | Python | base/tests/test_data_structures_bounding_boxes.py | mhernan88/detection-enhancer | c7825ea6a22633755f2b74279ab27b886fcda8e8 | [
"Apache-2.0"
] | null | null | null | base/tests/test_data_structures_bounding_boxes.py | mhernan88/detection-enhancer | c7825ea6a22633755f2b74279ab27b886fcda8e8 | [
"Apache-2.0"
] | 1 | 2020-10-26T21:39:15.000Z | 2020-10-26T21:39:15.000Z | base/tests/test_data_structures_bounding_boxes.py | mhernan88/detection-enhancer | c7825ea6a22633755f2b74279ab27b886fcda8e8 | [
"Apache-2.0"
] | null | null | null | import pytest
import numpy as np
from od_toolbelt import BoundingBoxArray
from .test_utils.setup_tests import setup_test_case, one_additional
def test_check1():
"""Test check without arguments"""
bounding_boxes, confidences, labels, _ = setup_test_case()
bb = BoundingBoxArray(
bounding_boxes=bou... | 27.736434 | 79 | 0.691448 | 410 | 3,578 | 5.812195 | 0.170732 | 0.180025 | 0.181284 | 0.109106 | 0.810743 | 0.810743 | 0.784725 | 0.784725 | 0.759127 | 0.660512 | 0 | 0.022425 | 0.202348 | 3,578 | 128 | 80 | 27.953125 | 0.812544 | 0.089156 | 0 | 0.54321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 1 | 0.111111 | false | 0 | 0.049383 | 0 | 0.160494 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
978bc71d6014546f88e39ba7ec4ca6c5524f1254 | 4,073 | py | Python | tests/unit/records/test_jobs_hints_and_parquet_records_format.py | cwegrzyn/records-mover | e3b71d6c09d99d0bcd6a956b9d09d20f8abe98d2 | [
"Apache-2.0"
] | 36 | 2020-03-17T11:56:51.000Z | 2022-01-19T16:03:32.000Z | tests/unit/records/test_jobs_hints_and_parquet_records_format.py | cwegrzyn/records-mover | e3b71d6c09d99d0bcd6a956b9d09d20f8abe98d2 | [
"Apache-2.0"
] | 60 | 2020-03-02T23:13:29.000Z | 2021-05-19T15:05:42.000Z | tests/unit/records/test_jobs_hints_and_parquet_records_format.py | cwegrzyn/records-mover | e3b71d6c09d99d0bcd6a956b9d09d20f8abe98d2 | [
"Apache-2.0"
] | 4 | 2020-08-11T13:17:37.000Z | 2021-11-05T21:11:52.000Z | import unittest
from mock import Mock, patch
from records_mover.records.job.mover import run_records_mover_job
from records_mover.records.records_format import ParquetRecordsFormat
from contextlib import contextmanager
class TestJobsHintsAndParquetRecordsFormat(unittest.TestCase):
maxDiff = None
@patch('reco... | 35.417391 | 74 | 0.586055 | 387 | 4,073 | 5.852713 | 0.147287 | 0.058278 | 0.043709 | 0.038852 | 0.848565 | 0.836645 | 0.824283 | 0.824283 | 0.824283 | 0.824283 | 0 | 0 | 0.332433 | 4,073 | 114 | 75 | 35.72807 | 0.833027 | 0 | 0 | 0.77 | 0 | 0 | 0.105328 | 0.045667 | 0 | 0 | 0 | 0 | 0.07 | 1 | 0.09 | false | 0 | 0.05 | 0 | 0.16 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
979a4d35d0ab6245974c294bb86d6d0272814287 | 7,745 | py | Python | Data/labeler.py | cocoalowonou/ToyotaSmartHome | dcde13adcf00ba071be6f44e45fe8da1ba43b269 | [
"Apache-2.0"
] | 1 | 2021-04-24T02:32:38.000Z | 2021-04-24T02:32:38.000Z | Data/labeler.py | cocoalowonou/ToyotaSmartHome | dcde13adcf00ba071be6f44e45fe8da1ba43b269 | [
"Apache-2.0"
] | 1 | 2021-01-29T11:28:06.000Z | 2021-01-29T11:28:06.000Z | Data/labeler.py | cocoalowonou/ToyotaSmartHome | dcde13adcf00ba071be6f44e45fe8da1ba43b269 | [
"Apache-2.0"
] | 1 | 2021-01-26T09:40:29.000Z | 2021-01-26T09:40:29.000Z | import os
from glob import glob
from sklearn.model_selection import train_test_split
# ======================================================================================================
# data structure
# ======================================================================================================
# cross... | 35.856481 | 127 | 0.572111 | 968 | 7,745 | 4.42562 | 0.136364 | 0.048553 | 0.042484 | 0.03268 | 0.801821 | 0.781279 | 0.771475 | 0.765173 | 0.756769 | 0.709851 | 0 | 0.017958 | 0.245061 | 7,745 | 216 | 128 | 35.856481 | 0.714726 | 0.240155 | 0 | 0.740385 | 0 | 0.038462 | 0.122982 | 0.019237 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.028846 | 0 | 0.067308 | 0.038462 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c139735ef3c08ed36a2e3ae40c32f13060eda8ea | 136 | py | Python | simuvex/simuvex/concretization_strategies/nonzero_range.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | 86 | 2015-08-06T23:25:07.000Z | 2022-02-17T14:58:22.000Z | simuvex/simuvex/concretization_strategies/nonzero_range.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | 132 | 2015-09-10T19:06:59.000Z | 2018-10-04T20:36:45.000Z | simuvex/simuvex/concretization_strategies/nonzero_range.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | 80 | 2015-08-07T10:30:20.000Z | 2020-03-21T14:45:28.000Z | print '... Importing simuvex/concretization_strategies/nonzero_range.py ...'
from angr.concretization_strategies.nonzero_range import *
| 45.333333 | 76 | 0.830882 | 15 | 136 | 7.266667 | 0.733333 | 0.440367 | 0.568807 | 0.66055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066176 | 136 | 2 | 77 | 68 | 0.858268 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.367647 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 8 |
c148aefe419cae2ac13e70ddb78d033beba8987f | 28,485 | py | Python | data_load.py | Ronzey/Module-based-few-shot-event-extraction | b2319f6cfb682920fffd867736f9e02246e2142c | [
"MIT"
] | 1 | 2021-02-13T13:18:00.000Z | 2021-02-13T13:18:00.000Z | data_load.py | Ronzey/Module-based-few-shot-event-extraction | b2319f6cfb682920fffd867736f9e02246e2142c | [
"MIT"
] | null | null | null | data_load.py | Ronzey/Module-based-few-shot-event-extraction | b2319f6cfb682920fffd867736f9e02246e2142c | [
"MIT"
] | 3 | 2020-10-20T15:51:53.000Z | 2021-09-30T08:35:34.000Z | import numpy as np
import torch
from torch.utils import data
import json
import copy
from consts import NONE, PAD, CLS, SEP, UNK, TRIGGERS, ARGUMENTS, ENTITIES, POSTAGS, SRL_ARGUMENTS
from utils import build_vocab, srl_find_trigger, srl_find_argument, srl_split_role
from pytorch_pretrained_bert import BertTokenizer
#... | 49.712042 | 260 | 0.516588 | 3,169 | 28,485 | 4.354055 | 0.059325 | 0.046239 | 0.02957 | 0.034788 | 0.890999 | 0.882592 | 0.875344 | 0.87346 | 0.87346 | 0.87346 | 0 | 0.010974 | 0.376198 | 28,485 | 572 | 261 | 49.798951 | 0.765547 | 0.062349 | 0 | 0.857461 | 0 | 0 | 0.035031 | 0.004838 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028953 | false | 0 | 0.017817 | 0.006682 | 0.075724 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c148c748dd17409ef1adae6bc9b10067a8f1d2f9 | 104 | py | Python | initiate.py | AeshanaShalindra/Smart_questionnaire_NLP | 222344b9696b101906bdce1b3678fcb3d6eb7b14 | [
"MIT"
] | 3 | 2018-09-22T16:59:36.000Z | 2018-12-06T09:46:14.000Z | initiate.py | AeshanaShalindra/Smart_questionnaire_NLP | 222344b9696b101906bdce1b3678fcb3d6eb7b14 | [
"MIT"
] | null | null | null | initiate.py | AeshanaShalindra/Smart_questionnaire_NLP | 222344b9696b101906bdce1b3678fcb3d6eb7b14 | [
"MIT"
] | null | null | null | import nltk
nltk.download('wordnet') # first-time use only
nltk.download('punkt') # first-time use only
| 26 | 46 | 0.75 | 16 | 104 | 4.875 | 0.5625 | 0.307692 | 0.307692 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 104 | 3 | 47 | 34.666667 | 0.847826 | 0.375 | 0 | 0 | 0 | 0 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
c18ded3f1ef2ac14ec4c90477f178bf948f5a2f7 | 39,575 | py | Python | billforward/apis/synch_jobs_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | 2 | 2016-11-23T17:32:37.000Z | 2022-02-24T05:13:20.000Z | billforward/apis/synch_jobs_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | null | null | null | billforward/apis/synch_jobs_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | 1 | 2016-12-30T20:02:48.000Z | 2016-12-30T20:02:48.000Z | # coding: utf-8
"""
BillForward REST API
OpenAPI spec version: 1.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
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... | 43.157034 | 136 | 0.582817 | 4,173 | 39,575 | 5.317757 | 0.059909 | 0.057681 | 0.018025 | 0.02163 | 0.927854 | 0.916002 | 0.901942 | 0.894236 | 0.874454 | 0.867649 | 0 | 0.000529 | 0.331371 | 39,575 | 916 | 137 | 43.204148 | 0.838101 | 0.385951 | 0 | 0.747642 | 1 | 0 | 0.167173 | 0.049867 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040094 | false | 0 | 0.016509 | 0 | 0.115566 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c192141d46e6c38640c54bee3d0da46bd8b6f655 | 498 | py | Python | Session-2/Conditions/S2C2.py | saianuragpeddu/python-assignemts | a6bb192f2c0ef8ea86531c1a98f1b76150fa474b | [
"MIT"
] | null | null | null | Session-2/Conditions/S2C2.py | saianuragpeddu/python-assignemts | a6bb192f2c0ef8ea86531c1a98f1b76150fa474b | [
"MIT"
] | null | null | null | Session-2/Conditions/S2C2.py | saianuragpeddu/python-assignemts | a6bb192f2c0ef8ea86531c1a98f1b76150fa474b | [
"MIT"
] | 1 | 2019-07-06T02:37:58.000Z | 2019-07-06T02:37:58.000Z | def isIsosceles(x, y, z):
if x <= 0 or y <=0 or z <=0:
return False
if x == y:
return True
if y == z:
return True
if x == z:
return True
else:
return False
print(isIsosceles(-2, -2, 3))
print(isIsosceles(2, 3, 2))
def isIsosceles(x, y, z):
if x <= 0 or y <=... | 18.444444 | 36 | 0.506024 | 84 | 498 | 3 | 0.190476 | 0.031746 | 0.269841 | 0.126984 | 0.833333 | 0.833333 | 0.833333 | 0.833333 | 0.833333 | 0.833333 | 0 | 0.055901 | 0.353414 | 498 | 26 | 37 | 19.153846 | 0.726708 | 0 | 0 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0 | 0 | 0.454545 | 0.181818 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 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 | 8 |
c1b8aae057f65bb8fc5b422483ca4fcf66bbb362 | 249 | py | Python | tcrdist/tests/test_translation.py | agartland/tcrdist3 | 34f8d50e7448b2bf7cf7cd9ab9a2d80759f47240 | [
"MIT"
] | 26 | 2020-12-28T17:37:01.000Z | 2022-01-29T01:31:13.000Z | tcrdist/tests/test_translation.py | agartland/tcrdist3 | 34f8d50e7448b2bf7cf7cd9ab9a2d80759f47240 | [
"MIT"
] | 31 | 2020-08-17T22:17:57.000Z | 2022-03-18T23:47:34.000Z | tcrdist/tests/test_translation.py | agartland/tcrdist3 | 34f8d50e7448b2bf7cf7cd9ab9a2d80759f47240 | [
"MIT"
] | 7 | 2020-08-18T23:55:40.000Z | 2021-09-22T18:15:54.000Z | import pytest
"""
Unit Tests for translation.py
"""
def test_reverse_compliment():
from tcrdist.translation import reverse_complement
assert reverse_complement(seq = 'ATGC') == 'GCAT'
assert reverse_complement(seq = 'AT.GC') == 'GC.AT'
| 24.9 | 55 | 0.718876 | 31 | 249 | 5.612903 | 0.645161 | 0.293103 | 0.264368 | 0.298851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 249 | 9 | 56 | 27.666667 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.085308 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
c1be93dfe72dc16a8f17f075e9c7c80a454fceeb | 1,841 | py | Python | classification/torch_codes/net.py | sansastra/uncertainty_edl_graph | 21c20bef323b520f6031ca54c2eb1fd020841f9d | [
"Apache-2.0"
] | 4 | 2021-08-09T20:46:22.000Z | 2022-03-23T15:58:30.000Z | classification/torch_codes/net.py | sansastra/uncertainty_edl_graph | 21c20bef323b520f6031ca54c2eb1fd020841f9d | [
"Apache-2.0"
] | null | null | null | classification/torch_codes/net.py | sansastra/uncertainty_edl_graph | 21c20bef323b520f6031ca54c2eb1fd020841f9d | [
"Apache-2.0"
] | 1 | 2021-11-02T14:29:51.000Z | 2021-11-02T14:29:51.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from collections import OrderedDict
class Net_30(nn.Module):
def __init__(self, dropout=False, input_size=60, hidden_layer_size=128, output_size=2):
super().__init__()
self.fc1 = nn.Linear(input_size,hidden_layer_size)
sel... | 33.472727 | 93 | 0.625747 | 273 | 1,841 | 4 | 0.153846 | 0.120879 | 0.164835 | 0.086996 | 0.895604 | 0.895604 | 0.895604 | 0.895604 | 0.878205 | 0.878205 | 0 | 0.025473 | 0.253666 | 1,841 | 54 | 94 | 34.092593 | 0.769287 | 0.033134 | 0 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.093023 | false | 0 | 0.093023 | 0 | 0.27907 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
e718c5b220de94891b388894e795174435b6c09e | 267 | py | Python | openslides_backend/action/committee/__init__.py | reiterl/openslides-backend | d36667f00087ae8baf25853d4cef18a5e6dc7b3b | [
"MIT"
] | null | null | null | openslides_backend/action/committee/__init__.py | reiterl/openslides-backend | d36667f00087ae8baf25853d4cef18a5e6dc7b3b | [
"MIT"
] | null | null | null | openslides_backend/action/committee/__init__.py | reiterl/openslides-backend | d36667f00087ae8baf25853d4cef18a5e6dc7b3b | [
"MIT"
] | null | null | null | from ..base import DummyAction
from ..register import register_action
from . import create # noqa
@register_action("committee.update")
class CommitteeUpdate(DummyAction):
pass
@register_action("committee.delete")
class CommitteeDelete(DummyAction):
pass
| 19.071429 | 38 | 0.779026 | 29 | 267 | 7.068966 | 0.517241 | 0.204878 | 0.22439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131086 | 267 | 13 | 39 | 20.538462 | 0.883621 | 0.014981 | 0 | 0.222222 | 0 | 0 | 0.122605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.222222 | 0.333333 | 0 | 0.555556 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
e7433efbf6c922a17c992011ec239e2b1f62958d | 34,741 | py | Python | scripts/adding_more_information/adding_more_information_netflow.py | mrjojo11/malpaca-pub | 26fd3a7045288bed66d624e0f5593067ff05952d | [
"MIT"
] | null | null | null | scripts/adding_more_information/adding_more_information_netflow.py | mrjojo11/malpaca-pub | 26fd3a7045288bed66d624e0f5593067ff05952d | [
"MIT"
] | null | null | null | scripts/adding_more_information/adding_more_information_netflow.py | mrjojo11/malpaca-pub | 26fd3a7045288bed66d624e0f5593067ff05952d | [
"MIT"
] | null | null | null | import csv
import glob
import math
import os
import sys
from random import random, seed
import socket
from timeit import default_timer as timer
import time
from statistics import mean
from pathlib import Path
import networkx as nx
import numpy as np
from scapy.layers.inet import IP, UDP
from scapy.utils import PcapWrit... | 55.764045 | 189 | 0.571745 | 4,269 | 34,741 | 4.219724 | 0.056454 | 0.040802 | 0.063506 | 0.030532 | 0.938548 | 0.934551 | 0.926002 | 0.924836 | 0.918952 | 0.914344 | 0 | 0.003813 | 0.305432 | 34,741 | 622 | 190 | 55.853698 | 0.742727 | 0.020149 | 0 | 0.756813 | 0 | 0 | 0.150867 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006289 | false | 0 | 0.050314 | 0 | 0.0587 | 0.027254 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
e7a8692e2e33795766d9ef7bad280086b02c3f7e | 220 | py | Python | bitmovin_api_sdk/encoding/encodings/streams/filters/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/encodings/streams/filters/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/encodings/streams/filters/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.encodings.streams.filters.filters_api import FiltersApi
from bitmovin_api_sdk.encoding.encodings.streams.filters.stream_filter_list_list_query_params import StreamFilterListListQueryParams
| 73.333333 | 132 | 0.918182 | 28 | 220 | 6.857143 | 0.571429 | 0.125 | 0.15625 | 0.1875 | 0.510417 | 0.510417 | 0.510417 | 0.510417 | 0 | 0 | 0 | 0 | 0.036364 | 220 | 2 | 133 | 110 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
415c302f89eb8117ad7f9f42b965b371b0dfc200 | 297 | py | Python | platform/hwconf_data/efm32zg/modules/WDOG/__init__.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | null | null | null | platform/hwconf_data/efm32zg/modules/WDOG/__init__.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T02:36:22.000Z | 2020-08-25T02:36:22.000Z | platform/hwconf_data/efm32zg/modules/WDOG/__init__.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T01:56:04.000Z | 2020-08-25T01:56:04.000Z | import efm32zg.halconfig.halconfig_types as halconfig_types
import efm32zg.halconfig.halconfig_dependency as halconfig_dependency
import efm32zg.PythonSnippet.ExporterModel as ExporterModel
import efm32zg.PythonSnippet.RuntimeModel as RuntimeModel
import efm32zg.PythonSnippet.Metadata as Metadata | 59.4 | 69 | 0.902357 | 34 | 297 | 7.764706 | 0.294118 | 0.246212 | 0.295455 | 0.234848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035971 | 0.063973 | 297 | 5 | 70 | 59.4 | 0.913669 | 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 | 1 | 0 | 0 | 7 |
d40c46d4ac1e751dbbe37d1278e9b0871ae0d933 | 2,743 | gyp | Python | chrome/browser/resources/md_user_manager/compiled_resources2.gyp | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | chrome/browser/resources/md_user_manager/compiled_resources2.gyp | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | chrome/browser/resources/md_user_manager/compiled_resources2.gyp | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | # Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'control_bar',
'dependencies': [
'<(DEPTH)/ui/webui/resources/js/compiled_resources2.gyp:cr',
... | 36.573333 | 90 | 0.618301 | 283 | 2,743 | 5.699647 | 0.24735 | 0.052077 | 0.089275 | 0.156231 | 0.82579 | 0.82579 | 0.82579 | 0.82579 | 0.769374 | 0.67018 | 0 | 0.015823 | 0.193584 | 2,743 | 74 | 91 | 37.067568 | 0.713382 | 0.056507 | 0 | 0.549296 | 0 | 0 | 0.706656 | 0.583978 | 0 | 0 | 0 | 0 | 0.014085 | 1 | 0 | true | 0 | 0.014085 | 0 | 0.014085 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
2e04f00e3890a8b78c64d89a3850c214b6625aee | 4,795 | py | Python | python/sdk/test/logger_test.py | karzuo/merlin | bdbdac35071d81beb1b8b5b807697bf2eac69a40 | [
"Apache-2.0"
] | 1 | 2021-12-26T09:04:12.000Z | 2021-12-26T09:04:12.000Z | python/sdk/test/logger_test.py | ibnummuhammad/merlin | acf10a350bcacfdfe67f7020d535467b71ff1d89 | [
"Apache-2.0"
] | null | null | null | python/sdk/test/logger_test.py | ibnummuhammad/merlin | acf10a350bcacfdfe67f7020d535467b71ff1d89 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 The Merlin 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in w... | 48.928571 | 115 | 0.762044 | 598 | 4,795 | 6.01505 | 0.147157 | 0.116764 | 0.085071 | 0.105088 | 0.830692 | 0.790381 | 0.777592 | 0.730331 | 0.720879 | 0.710314 | 0 | 0.001968 | 0.152033 | 4,795 | 97 | 116 | 49.43299 | 0.882686 | 0.115954 | 0 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.028571 | false | 0 | 0.042857 | 0 | 0.071429 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2e0ef6e3eb7ec754c6ff564a4bfd5f7d8c5ce958 | 262 | py | Python | superbench/monitor/__init__.py | yangpanMS/superbenchmark | 4d85630abba0fe45b8cd3a51e79c15e6ac87a1e6 | [
"MIT"
] | 59 | 2021-04-12T09:44:23.000Z | 2022-03-27T14:33:46.000Z | superbench/monitor/__init__.py | yangpanMS/superbenchmark | 4d85630abba0fe45b8cd3a51e79c15e6ac87a1e6 | [
"MIT"
] | 275 | 2021-03-29T06:40:34.000Z | 2022-03-30T07:35:49.000Z | superbench/monitor/__init__.py | yangpanMS/superbenchmark | 4d85630abba0fe45b8cd3a51e79c15e6ac87a1e6 | [
"MIT"
] | 24 | 2021-04-09T12:42:27.000Z | 2022-03-16T08:26:34.000Z | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
"""Exposes interfaces of SuperBench Monitor."""
from superbench.monitor.monitor import Monitor
from superbench.monitor.record import MonitorRecord
__all__ = ['Monitor', 'MonitorRecord']
| 26.2 | 51 | 0.78626 | 29 | 262 | 6.965517 | 0.655172 | 0.252475 | 0.207921 | 0.277228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118321 | 262 | 9 | 52 | 29.111111 | 0.874459 | 0.423664 | 0 | 0 | 0 | 0 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2e2ec6aafc2b620a6cf6b689d6b6cf9133b067a9 | 194 | py | Python | rasa_core/actions/__init__.py | ebarahona/rasa_core | f3dbb70d0bb748628ab238eded17a8f5e09279e2 | [
"Apache-2.0"
] | 46 | 2017-11-16T06:03:48.000Z | 2022-03-06T18:25:15.000Z | rasa_core/actions/__init__.py | ebarahona/rasa_core | f3dbb70d0bb748628ab238eded17a8f5e09279e2 | [
"Apache-2.0"
] | null | null | null | rasa_core/actions/__init__.py | ebarahona/rasa_core | f3dbb70d0bb748628ab238eded17a8f5e09279e2 | [
"Apache-2.0"
] | 21 | 2018-02-05T09:59:40.000Z | 2020-09-24T14:39:16.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from rasa_core.actions.action import Action
| 27.714286 | 43 | 0.881443 | 26 | 194 | 5.807692 | 0.5 | 0.264901 | 0.423841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108247 | 194 | 6 | 44 | 32.333333 | 0.872832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.2 | 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 | 1 | 0 | 0 | 7 |
2e3354d1ca1e9c318c7b6ebdbcac7b4fe2d0809c | 175 | py | Python | WebApp/utils.py | CSCIX691DAL/AISExplore | 2826e4eefb156b890d2f08d0ca60bc8a8ea8f94e | [
"MIT"
] | null | null | null | WebApp/utils.py | CSCIX691DAL/AISExplore | 2826e4eefb156b890d2f08d0ca60bc8a8ea8f94e | [
"MIT"
] | 1 | 2021-07-07T02:14:35.000Z | 2021-07-07T02:14:35.000Z | WebApp/utils.py | CSCIX691DAL/AISExplore | 2826e4eefb156b890d2f08d0ca60bc8a8ea8f94e | [
"MIT"
] | null | null | null | from RealTimeAIS.settings import DATABASE_NAME,PORT_NUMBER
from pymongo import MongoClient
def get_database():
return getattr(MongoClient(port=PORT_NUMBER),DATABASE_NAME) | 35 | 63 | 0.845714 | 23 | 175 | 6.217391 | 0.608696 | 0.167832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091429 | 175 | 5 | 63 | 35 | 0.899371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
2e7a2a18a762eb783d383ee79203b7d8c606b374 | 5,986 | py | Python | tests/test_information.py | uncountableinc/hotxlfp | 8e5bf9a27140d87caa3423e918d42a2a5e7075b5 | [
"MIT"
] | 24 | 2019-04-15T17:51:42.000Z | 2022-01-05T10:22:47.000Z | tests/test_information.py | aidhound/hotxlfp | 82f47586d39092bfb7a112619046e842b343f860 | [
"MIT"
] | 11 | 2019-11-03T13:31:08.000Z | 2022-02-23T20:09:31.000Z | tests/test_information.py | uncountableinc/hotxlfp | 8e5bf9a27140d87caa3423e918d42a2a5e7075b5 | [
"MIT"
] | 8 | 2019-06-04T08:49:45.000Z | 2021-08-16T19:39:50.000Z | # -*- coding: utf-8 -*-
import unittest
from hotxlfp import Parser
class TestStatistical(unittest.TestCase):
def test_error_type(self):
p = Parser(debug=True)
ret = p.parse('ERROR.TYPE(1/0)')
self.assertEqual(ret['result'], 2)
self.assertEqual(ret['error'], None)
def test_is... | 36.723926 | 55 | 0.566321 | 720 | 5,986 | 4.691667 | 0.066667 | 0.35524 | 0.426288 | 0.284192 | 0.915038 | 0.903789 | 0.893724 | 0.883659 | 0.801954 | 0.760213 | 0 | 0.011086 | 0.246575 | 5,986 | 162 | 56 | 36.950617 | 0.737916 | 0.003508 | 0 | 0.612245 | 0 | 0 | 0.154956 | 0 | 0 | 0 | 0 | 0 | 0.544218 | 1 | 0.07483 | false | 0 | 0.013605 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
d8918f1419b92b7f26ec03ce9b08311924c3e159 | 135 | py | Python | object_detection/project_path.py | MourabitElBachir/visual-recognition-server-control-back | 49ec2a459e8c418a395340d2d3f876af400cb75c | [
"MIT"
] | null | null | null | object_detection/project_path.py | MourabitElBachir/visual-recognition-server-control-back | 49ec2a459e8c418a395340d2d3f876af400cb75c | [
"MIT"
] | null | null | null | object_detection/project_path.py | MourabitElBachir/visual-recognition-server-control-back | 49ec2a459e8c418a395340d2d3f876af400cb75c | [
"MIT"
] | null | null | null | import os
def get_correct_path(files):
return os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), files)
| 19.285714 | 92 | 0.740741 | 22 | 135 | 4.272727 | 0.545455 | 0.255319 | 0.276596 | 0.319149 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 135 | 6 | 93 | 22.5 | 0.783333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 9 |
2b6b4eeb3b8df5d884dba4fb4dd003f2611a8e71 | 202 | py | Python | 2018-01/01_Jan/19/_09_doc.py | z727354123/pyCharmTest | 9cbd770e19929cb4feb3be2f13b60dc0b1f68b56 | [
"Apache-2.0"
] | null | null | null | 2018-01/01_Jan/19/_09_doc.py | z727354123/pyCharmTest | 9cbd770e19929cb4feb3be2f13b60dc0b1f68b56 | [
"Apache-2.0"
] | null | null | null | 2018-01/01_Jan/19/_09_doc.py | z727354123/pyCharmTest | 9cbd770e19929cb4feb3be2f13b60dc0b1f68b56 | [
"Apache-2.0"
] | null | null | null | class Person:
'''
这是一个 Person类
实例属性:
None: 没有任何东西
'''
print('--------')
print(Person.__doc__)
print('--------')
Person.__doc__ = "三扥东方"
print(Person.__doc__)
print('--------')
| 13.466667 | 23 | 0.514851 | 19 | 202 | 4.842105 | 0.526316 | 0.358696 | 0.456522 | 0.413043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212871 | 202 | 14 | 24 | 14.428571 | 0.578616 | 0.173267 | 0 | 0.714286 | 0 | 0 | 0.195804 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0.142857 | 0.714286 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
2b77008476af200bdf16f17ef550d540123c445c | 272 | py | Python | uncollapse-digits/golfed.py | JoelAtDeluxe/GolfChallenges | e86a4d85476bd03f6b32a45e77f1aace56f8d94e | [
"MIT"
] | null | null | null | uncollapse-digits/golfed.py | JoelAtDeluxe/GolfChallenges | e86a4d85476bd03f6b32a45e77f1aace56f8d94e | [
"MIT"
] | null | null | null | uncollapse-digits/golfed.py | JoelAtDeluxe/GolfChallenges | e86a4d85476bd03f6b32a45e77f1aace56f8d94e | [
"MIT"
] | null | null | null | def uncollapse(s):
for n in ['zero','one','two','three','four','five','six','seven','eight','nine']:
s=s.replace(n,n+' ')
return s[:-1]
def G(s):
for n in ['zero','one','two','three','four','five','six','seven','eight','nine']:
s=s.replace(n,n+' ')
return s[:-1]
| 27.2 | 82 | 0.547794 | 48 | 272 | 3.104167 | 0.416667 | 0.053691 | 0.067114 | 0.09396 | 0.885906 | 0.885906 | 0.885906 | 0.885906 | 0.885906 | 0.885906 | 0 | 0.00823 | 0.106618 | 272 | 9 | 83 | 30.222222 | 0.604938 | 0 | 0 | 0.75 | 0 | 0 | 0.301471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
9966439ff844ca51d15b06f014fb6d5dad1ae8e2 | 893 | py | Python | utils/dialogs.py | 4rzael/krocs | 42cb0a806d4c5a9350fca84a0258817bf6a9c154 | [
"MIT"
] | 5 | 2018-05-07T12:57:58.000Z | 2020-07-08T01:46:39.000Z | utils/dialogs.py | 4rzael/krocs | 42cb0a806d4c5a9350fca84a0258817bf6a9c154 | [
"MIT"
] | null | null | null | utils/dialogs.py | 4rzael/krocs | 42cb0a806d4c5a9350fca84a0258817bf6a9c154 | [
"MIT"
] | null | null | null | """ PyQt5 imports. """
from PyQt5.QtWidgets import QMessageBox
def show_error(text, info_text, detail_text):
msg = QMessageBox()
msg.setIcon(QMessageBox.Critical)
msg.setText(text)
msg.setWindowTitle("Critical")
if info_text is not None:
msg.setInformativeText(info_text)
if detail_tex... | 27.90625 | 45 | 0.714446 | 109 | 893 | 5.706422 | 0.275229 | 0.090032 | 0.083601 | 0.083601 | 0.826367 | 0.726688 | 0.726688 | 0.726688 | 0.726688 | 0.726688 | 0 | 0.002755 | 0.18701 | 893 | 31 | 46 | 28.806452 | 0.853994 | 0.015677 | 0 | 0.72 | 0 | 0 | 0.021814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.04 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
9979e76414080e8f53b8bc49168e295079064912 | 12,708 | py | Python | apis_core/apis_relations/migrations/0002_auto_20200121_1227.py | acdh-oeaw/apis-core | f7ece05eec46c820321fd28d3e947653dcb98ae7 | [
"MIT"
] | 11 | 2018-07-11T18:11:40.000Z | 2022-03-25T11:07:12.000Z | apis_core/apis_relations/migrations/0002_auto_20200121_1227.py | acdh-oeaw/apis-core | f7ece05eec46c820321fd28d3e947653dcb98ae7 | [
"MIT"
] | 309 | 2018-06-11T08:38:50.000Z | 2022-03-31T13:45:22.000Z | apis_core/apis_relations/migrations/0002_auto_20200121_1227.py | acdh-oeaw/apis-core | f7ece05eec46c820321fd28d3e947653dcb98ae7 | [
"MIT"
] | 5 | 2017-08-21T10:37:07.000Z | 2021-09-27T19:08:47.000Z | # Generated by Django 2.1.12 on 2020-01-21 12:27
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
('apis_vocabularies', '0001_initial'),
('apis_relations', '0001_initial'),
('apis_entitie... | 54.307692 | 202 | 0.664935 | 1,335 | 12,708 | 6.130337 | 0.066667 | 0.043988 | 0.075269 | 0.11828 | 0.878055 | 0.878055 | 0.862903 | 0.771017 | 0.771017 | 0.689883 | 0 | 0.004 | 0.213015 | 12,708 | 233 | 203 | 54.540773 | 0.814319 | 0.00362 | 0 | 0.721239 | 1 | 0 | 0.243602 | 0.071406 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00885 | 0 | 0.026549 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
997c4d98e9e71372a07cefc9aaf9e17cc6078c94 | 1,644 | py | Python | Python_prAdd.py | shamikcodes-014/Library-Management-System | 711a76c4a0bde7354882ca9d540e6b5fbda4404d | [
"MIT"
] | 1 | 2021-05-19T18:36:42.000Z | 2021-05-19T18:36:42.000Z | Python_prAdd.py | shamikcodes-014/Library-Management-System | 711a76c4a0bde7354882ca9d540e6b5fbda4404d | [
"MIT"
] | null | null | null | Python_prAdd.py | shamikcodes-014/Library-Management-System | 711a76c4a0bde7354882ca9d540e6b5fbda4404d | [
"MIT"
] | null | null | null | def first():
import sqlite3
from tabulate import tabulate
conn = sqlite3.connect('Library.sqlite')
cur=conn.cursor()
cur.executescript('''
DROP TABLE IF EXISTS Main;
CREATE TABLE Main (
Book_Name TEXT UNIQUE,
Author TEXT,
Quantity INTEGER,
... | 26.95082 | 121 | 0.630779 | 197 | 1,644 | 5.192893 | 0.294416 | 0.101662 | 0.109482 | 0.086022 | 0.84262 | 0.84262 | 0.84262 | 0.84262 | 0.84262 | 0.84262 | 0 | 0.003215 | 0.243309 | 1,644 | 60 | 122 | 27.4 | 0.819132 | 0 | 0 | 0.702703 | 0 | 0 | 0.455408 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0 | 0.108108 | 0 | 0.162162 | 0.108108 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
5137b3415755637d0cf34e40565746d70e178f13 | 151 | py | Python | quince/application/workflows/__init__.py | OATML/quince | 913d45aa968355bd368c336e96100e1b540ca188 | [
"Apache-2.0"
] | 16 | 2021-03-17T16:59:43.000Z | 2022-03-21T00:45:57.000Z | quince/application/workflows/__init__.py | OATML/quince | 913d45aa968355bd368c336e96100e1b540ca188 | [
"Apache-2.0"
] | 1 | 2021-11-23T12:50:43.000Z | 2021-11-23T12:50:43.000Z | quince/application/workflows/__init__.py | OATML/quince | 913d45aa968355bd368c336e96100e1b540ca188 | [
"Apache-2.0"
] | 3 | 2021-03-15T17:17:09.000Z | 2021-06-18T02:56:11.000Z | from quince.application.workflows import tuning
from quince.application.workflows import training
from quince.application.workflows import evaluation
| 30.2 | 51 | 0.874172 | 18 | 151 | 7.333333 | 0.444444 | 0.227273 | 0.477273 | 0.681818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086093 | 151 | 4 | 52 | 37.75 | 0.956522 | 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 | 1 | 1 | 0 | 0 | 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 | 9 |
5158436f7f9d6c280e3a161240d36b0f0eafe5ee | 232 | py | Python | dcnn_visualizer/__init__.py | tochikuji/DNN-Visualizer | 902eba04463c5c17ba81b85db7184a91d2cb4c49 | [
"Apache-2.0"
] | 3 | 2018-02-09T07:21:36.000Z | 2021-04-16T02:52:18.000Z | dcnn_visualizer/__init__.py | tochikuji/DNN-Visualizer | 902eba04463c5c17ba81b85db7184a91d2cb4c49 | [
"Apache-2.0"
] | 3 | 2018-01-11T05:47:02.000Z | 2018-02-08T09:12:39.000Z | dcnn_visualizer/__init__.py | tochikuji/DNN-Visualizer | 902eba04463c5c17ba81b85db7184a91d2cb4c49 | [
"Apache-2.0"
] | null | null | null | from dcnn_visualizer import tools
from dcnn_visualizer import visualizer
from dcnn_visualizer import occlusion
from dcnn_visualizer import traceable_chain
from dcnn_visualizer import traceable_nodes
from dcnn_visualizer import util
| 33.142857 | 43 | 0.896552 | 32 | 232 | 6.25 | 0.3125 | 0.24 | 0.54 | 0.72 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 232 | 6 | 44 | 38.666667 | 0.961538 | 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 | 1 | 0 | 0 | 7 |
518bf7a57e4c32a31f4e78d3afc2c37735fa9605 | 239 | py | Python | BARUS_CODE/BARUS_COMPUTER_CODE/Gripper.py | UdeS-GRO/S4H2019-BARUS | 14bd4b45ccbd9f578fee7c72a7f754a85a0b8f6a | [
"MIT"
] | null | null | null | BARUS_CODE/BARUS_COMPUTER_CODE/Gripper.py | UdeS-GRO/S4H2019-BARUS | 14bd4b45ccbd9f578fee7c72a7f754a85a0b8f6a | [
"MIT"
] | 66 | 2019-01-16T17:24:19.000Z | 2019-04-09T00:37:14.000Z | BARUS_CODE/BARUS_COMPUTER_CODE/Gripper.py | UdeS-GRO/S4H2019-BARUS | 14bd4b45ccbd9f578fee7c72a7f754a85a0b8f6a | [
"MIT"
] | 2 | 2019-01-16T16:34:51.000Z | 2020-01-08T19:25:20.000Z | import SerialCom
import Constant
def closeGripper():
SerialCom.send2IntToArduino(Constant.GRIPPER, Constant.GRIPPER_CLOSE)
def openGripper():
SerialCom.send2IntToArduino(Constant.GRIPPER, Constant.GRIPPER_OPEN)
| 17.071429 | 74 | 0.757322 | 22 | 239 | 8.136364 | 0.454545 | 0.335196 | 0.379888 | 0.458101 | 0.625698 | 0.625698 | 0 | 0 | 0 | 0 | 0 | 0.01005 | 0.167364 | 239 | 13 | 75 | 18.384615 | 0.889447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
51a217cf4fa4270a5a7a06366de91670abb2959e | 1,242 | py | Python | tests/base/tests.py | BoyanPeychinov/farm_food_project | 1cac80194bb8563b0f1926685a540e3162f43e82 | [
"MIT"
] | null | null | null | tests/base/tests.py | BoyanPeychinov/farm_food_project | 1cac80194bb8563b0f1926685a540e3162f43e82 | [
"MIT"
] | null | null | null | tests/base/tests.py | BoyanPeychinov/farm_food_project | 1cac80194bb8563b0f1926685a540e3162f43e82 | [
"MIT"
] | null | null | null | import datetime
from django.contrib.auth import get_user_model
from django.test import TestCase, Client
from django.urls import reverse
UserModel = get_user_model()
class ProducerProfileTestCase(TestCase):
user_email = 'test_user@abv.bg'
user_password = 'dasd7as!><2bdsa12347a@4=}{'
name = 'Gosho'
d... | 27.6 | 64 | 0.612721 | 139 | 1,242 | 5.330935 | 0.294964 | 0.08637 | 0.102564 | 0.097166 | 0.720648 | 0.720648 | 0.720648 | 0.720648 | 0.720648 | 0.720648 | 0 | 0.038668 | 0.250403 | 1,242 | 45 | 65 | 27.6 | 0.75725 | 0 | 0 | 0.727273 | 0 | 0 | 0.204344 | 0.083669 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0.181818 | 0.121212 | 0 | 0.424242 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
51b3ba46d06d4259ed71ada3bcca4dcbe34d14fb | 236 | py | Python | bolinette/defaults/services/__init__.py | bolinette/bolinette | b35a7d828c7d9617da6a8d7ac066e3b675a65252 | [
"MIT"
] | 4 | 2020-11-02T15:16:32.000Z | 2022-01-11T11:19:24.000Z | bolinette/defaults/services/__init__.py | bolinette/bolinette | b35a7d828c7d9617da6a8d7ac066e3b675a65252 | [
"MIT"
] | 14 | 2021-01-04T11:06:59.000Z | 2022-03-23T17:01:49.000Z | bolinette/defaults/services/__init__.py | bolinette/bolinette | b35a7d828c7d9617da6a8d7ac066e3b675a65252 | [
"MIT"
] | null | null | null | from bolinette.defaults.services.timezone import TimezoneService
from bolinette.defaults.services.file import FileService
from bolinette.defaults.services.role import RoleService
from bolinette.defaults.services.user import UserService
| 47.2 | 64 | 0.881356 | 28 | 236 | 7.428571 | 0.464286 | 0.25 | 0.403846 | 0.557692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 236 | 4 | 65 | 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 | 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 | 7 |
cff29a2155def61d652f6483bae5a88751542994 | 12,179 | py | Python | tests/ticketing/eb_ticket_list.py | bethlakshmi/gbe-divio-djangocms-python2.7 | 6e9b2c894162524bbbaaf73dcbe927988707231d | [
"Apache-2.0"
] | 1 | 2021-03-14T11:56:47.000Z | 2021-03-14T11:56:47.000Z | tests/ticketing/eb_ticket_list.py | bethlakshmi/gbe-divio-djangocms-python2.7 | 6e9b2c894162524bbbaaf73dcbe927988707231d | [
"Apache-2.0"
] | 180 | 2019-09-15T19:52:46.000Z | 2021-11-06T23:48:01.000Z | tests/ticketing/eb_ticket_list.py | bethlakshmi/gbe-divio-djangocms-python2.7 | 6e9b2c894162524bbbaaf73dcbe927988707231d | [
"Apache-2.0"
] | null | null | null | ticket_dict1 = {
"pagination": {
"object_count": 2,
"continuation": None,
"page_count": 1,
"page_size": 50,
"has_more_items": False,
"page_number": 1
},
"ticket_classes": [
{
"actual_cost": None,
"actual_fee": {
... | 32.651475 | 109 | 0.440348 | 993 | 12,179 | 5.147029 | 0.116818 | 0.007044 | 0.037566 | 0.030522 | 0.985717 | 0.985717 | 0.985717 | 0.985717 | 0.985717 | 0.985717 | 0 | 0.092448 | 0.422695 | 12,179 | 372 | 110 | 32.739247 | 0.634476 | 0 | 0 | 0.887097 | 0 | 0 | 0.40069 | 0.039412 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
5c80bb3ed2f47ea55e7f69b66744eace9ba2ba38 | 17,757 | py | Python | v0/aia_eis_v0/goa/human_based/harmony_search/hs_0.py | DreamBoatOve/aia_eis | 458b4d29846669b10db4da1b3e86c0b394614ceb | [
"MIT"
] | 1 | 2022-03-02T12:57:19.000Z | 2022-03-02T12:57:19.000Z | v0/aia_eis_v0/goa/human_based/harmony_search/hs_0.py | DreamBoatOve/aia_eis | 458b4d29846669b10db4da1b3e86c0b394614ceb | [
"MIT"
] | null | null | null | v0/aia_eis_v0/goa/human_based/harmony_search/hs_0.py | DreamBoatOve/aia_eis | 458b4d29846669b10db4da1b3e86c0b394614ceb | [
"MIT"
] | null | null | null | import copy
import random
from time import perf_counter
import os
import sys
sys.path.append('../../../')
from utils.file_utils.filename_utils import get_ecm_num_str, get_Num_len
from data_processor.GOA_simulation.GOA_ECMs_simulation import load_sim_ecm_para_config_dict
from goa.GOA_criterions import goa_criterion_p... | 47.991892 | 165 | 0.599088 | 2,308 | 17,757 | 4.315425 | 0.100953 | 0.068474 | 0.052008 | 0.03012 | 0.833936 | 0.814357 | 0.796386 | 0.779819 | 0.761446 | 0.75241 | 0 | 0.01636 | 0.308104 | 17,757 | 370 | 166 | 47.991892 | 0.794319 | 0.251112 | 0 | 0.745283 | 0 | 0 | 0.008665 | 0.003067 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061321 | false | 0 | 0.042453 | 0 | 0.141509 | 0.004717 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
5c93131ceab7de9702335f285f992a7c461103e6 | 305,160 | py | Python | Dynamic_HD_Scripts/HD_Plots/plots/plots_library.py | ThomasRiddick/DynamicHD | bff378a49ff6c709dc59c2d6835852e1083df20a | [
"BSD-3-Clause"
] | 1 | 2021-08-04T07:51:18.000Z | 2021-08-04T07:51:18.000Z | Dynamic_HD_Scripts/HD_Plots/plots/plots_library.py | ThomasRiddick/DynamicHD | bff378a49ff6c709dc59c2d6835852e1083df20a | [
"BSD-3-Clause"
] | 1 | 2022-01-27T22:12:45.000Z | 2022-02-01T10:16:47.000Z | Dynamic_HD_Scripts/HD_Plots/plots/plots_library.py | ThomasRiddick/DynamicHD | bff378a49ff6c709dc59c2d6835852e1083df20a | [
"BSD-3-Clause"
] | null | null | null | '''
A module containing a library of methods and classes to generate plots
needed for dynamic HD work. Which plots are created is controlled in
the main function.
Created on Jan 29, 2016
@author: thomasriddick
'''
import matplotlib.pyplot as plt
import matplotlib as mpl
from matplotlib import gridspec
import matplot... | 76.46204 | 251 | 0.498706 | 26,455 | 305,160 | 5.216556 | 0.046796 | 0.011565 | 0.018768 | 0.026275 | 0.8552 | 0.810774 | 0.771601 | 0.738399 | 0.702422 | 0.677727 | 0 | 0.045451 | 0.447077 | 305,160 | 3,990 | 252 | 76.481203 | 0.772447 | 0.034654 | 0 | 0.589397 | 1 | 0 | 0.12893 | 0.101547 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024615 | false | 0.00027 | 0.006221 | 0 | 0.043819 | 0.005139 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5cd0b7126dd3c2f26ab59042dd531fb0e16da5f7 | 5,311 | py | Python | awr_configs.py | JKinx/awr | 2b801b05ae71559a0612bcb94be957f941c0194b | [
"MIT"
] | null | null | null | awr_configs.py | JKinx/awr | 2b801b05ae71559a0612bcb94be957f941c0194b | [
"MIT"
] | null | null | null | awr_configs.py | JKinx/awr | 2b801b05ae71559a0612bcb94be957f941c0194b | [
"MIT"
] | null | null | null | AWR_CONFIGS = {
"Ant-v2":
{
"actor_net_layers": [128, 64],
"actor_stepsize": 0.00005,
"actor_momentum": 0.9,
"actor_init_output_scale": 0.01,
"actor_batch_size": 256,
"actor_steps": 1000,
"action_std": 0.2,
"critic_net_layers": [128, 64],
... | 25.411483 | 40 | 0.517228 | 611 | 5,311 | 4.165303 | 0.101473 | 0.056582 | 0.075442 | 0.088016 | 0.953635 | 0.953635 | 0.953635 | 0.953635 | 0.953635 | 0.912377 | 0 | 0.151995 | 0.334777 | 5,311 | 209 | 41 | 25.411483 | 0.568356 | 0 | 0 | 0.825843 | 0 | 0 | 0.417357 | 0.039157 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
7a3235853a8d38f7ad32b4064e7f709933e1dda3 | 203 | py | Python | toyotama/util/__init__.py | Laika/Toyotama | 0eee74f8cd5a8f7d5bcdc5aeab1d74e5af5607de | [
"MIT"
] | null | null | null | toyotama/util/__init__.py | Laika/Toyotama | 0eee74f8cd5a8f7d5bcdc5aeab1d74e5af5607de | [
"MIT"
] | null | null | null | toyotama/util/__init__.py | Laika/Toyotama | 0eee74f8cd5a8f7d5bcdc5aeab1d74e5af5607de | [
"MIT"
] | 1 | 2021-07-10T03:52:35.000Z | 2021-07-10T03:52:35.000Z | from toyotama.util.connect import *
from toyotama.util.elf import *
from toyotama.util.integer import *
from toyotama.util.log import *
from toyotama.util.shell import *
from toyotama.util.util import *
| 29 | 35 | 0.793103 | 30 | 203 | 5.366667 | 0.3 | 0.447205 | 0.596273 | 0.68323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118227 | 203 | 6 | 36 | 33.833333 | 0.899441 | 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 | 1 | 0 | 0 | 7 |
7a7bab13a21dff793d54b61c7f33ba2c4816f0e4 | 617 | py | Python | src/sst/selftests/current_url.py | DramaFever/sst | 63d41a102c9d3bdb54019f28a93cff0314a0214f | [
"Apache-2.0"
] | 4 | 2015-01-21T22:20:50.000Z | 2017-12-18T11:38:16.000Z | src/sst/selftests/current_url.py | DramaFever/sst | 63d41a102c9d3bdb54019f28a93cff0314a0214f | [
"Apache-2.0"
] | 63 | 2015-01-13T19:32:06.000Z | 2020-04-22T17:01:03.000Z | src/sst/selftests/current_url.py | wbdl/sst | 7a2805391fdd390ecb0f488f8377f58381358c89 | [
"Apache-2.0"
] | null | null | null | import sst
import sst.actions
sst.actions.set_base_url('http://localhost:%s/' % sst.DEVSERVER_PORT)
sst.actions.go_to('/')
url = sst.actions.get_current_url()
base_url = sst.actions.get_base_url()
sst.actions.assert_equal(base_url, 'http://localhost:%s/' % sst.DEVSERVER_PORT)
sst.actions.assert_equal(url, 'http://loc... | 36.294118 | 79 | 0.758509 | 98 | 617 | 4.520408 | 0.183673 | 0.27088 | 0.176072 | 0.191874 | 0.85553 | 0.85553 | 0.85553 | 0.85553 | 0.85553 | 0.85553 | 0 | 0 | 0.06483 | 617 | 16 | 80 | 38.5625 | 0.767764 | 0 | 0 | 0.461538 | 0 | 0 | 0.181524 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0 | false | 0 | 0.153846 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 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 | 8 |
8fb79b1423d3c9882dab25f322f72d029195b6bf | 2,087 | py | Python | cs28TeamProject/parasitologyTool/migrations/0041_auto_20220211_1447.py | Eg3-git/cs28-parasitology-tool | 4389208ed19f7e348ca931bff48d43263451f7f0 | [
"CC0-1.0"
] | null | null | null | cs28TeamProject/parasitologyTool/migrations/0041_auto_20220211_1447.py | Eg3-git/cs28-parasitology-tool | 4389208ed19f7e348ca931bff48d43263451f7f0 | [
"CC0-1.0"
] | null | null | null | cs28TeamProject/parasitologyTool/migrations/0041_auto_20220211_1447.py | Eg3-git/cs28-parasitology-tool | 4389208ed19f7e348ca931bff48d43263451f7f0 | [
"CC0-1.0"
] | null | null | null | # Generated by Django 2.2.17 on 2022-02-11 14:47
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('parasitologyTool', '0040_rename_post_comment_research_post'),
]
operations = [
migrations.AddField(
model_name='post',
... | 35.372881 | 108 | 0.596071 | 211 | 2,087 | 5.71564 | 0.241706 | 0.079602 | 0.165837 | 0.192371 | 0.712272 | 0.712272 | 0.712272 | 0.712272 | 0.712272 | 0.712272 | 0 | 0.014037 | 0.283182 | 2,087 | 58 | 109 | 35.982759 | 0.792112 | 0.022041 | 0 | 0.673077 | 1 | 0 | 0.082884 | 0.018637 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019231 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
89113e999defa99b0020cf494b95904ba793df5f | 33,060 | py | Python | src/models.py | anirbanlahiri2017/Tartarus | 13d01266511e5d64a77cdb071960cc58ee8c47a0 | [
"MIT"
] | 104 | 2017-06-30T06:51:54.000Z | 2022-02-17T08:47:57.000Z | src/models.py | anirbanlahiri2017/Tartarus | 13d01266511e5d64a77cdb071960cc58ee8c47a0 | [
"MIT"
] | 5 | 2017-11-24T04:12:02.000Z | 2021-06-03T08:20:21.000Z | src/models.py | anirbanlahiri2017/Tartarus | 13d01266511e5d64a77cdb071960cc58ee8c47a0 | [
"MIT"
] | 26 | 2017-07-19T07:19:25.000Z | 2022-01-02T00:19:04.000Z | from keras.layers import Dense, Dropout, Activation, Flatten, Permute, Lambda, Input, merge, BatchNormalization, Embedding, LSTM, Bidirectional, Reshape, GRU, Merge, ELU
from keras.layers import Convolution1D, GlobalMaxPooling1D, Convolution2D, MaxPooling2D, AveragePooling2D, ZeroPadding2D, MaxPooling1D
from keras.regu... | 34.984127 | 169 | 0.570357 | 4,059 | 33,060 | 4.474501 | 0.0712 | 0.061667 | 0.071358 | 0.054399 | 0.826286 | 0.808116 | 0.784991 | 0.772052 | 0.755754 | 0.717983 | 0 | 0.038885 | 0.2719 | 33,060 | 944 | 170 | 35.021186 | 0.715633 | 0.057108 | 0 | 0.700148 | 0 | 0 | 0.177562 | 0.003023 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020679 | false | 0.001477 | 0.017725 | 0 | 0.057607 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8f01dfee176cb2cddb90d8279a1acf9e8edc63e6 | 206 | py | Python | 6kyu/Create Phone Number.py | walkgo/codewars_tasks | 4c0ab6f0e1d2181318fc15b12dd55ef565ecd223 | [
"MIT"
] | null | null | null | 6kyu/Create Phone Number.py | walkgo/codewars_tasks | 4c0ab6f0e1d2181318fc15b12dd55ef565ecd223 | [
"MIT"
] | null | null | null | 6kyu/Create Phone Number.py | walkgo/codewars_tasks | 4c0ab6f0e1d2181318fc15b12dd55ef565ecd223 | [
"MIT"
] | null | null | null | def create_phone_number(n):
return (f'({n[0]}{n[1]}{n[2]}) {n[3]}{n[4]}{n[5]}-{n[6]}{n[7]}{n[8]}{n[9]}')
# Best Practices
def create_phone_number(n):
print ("({}{}{}) {}{}{}-{}{}{}{}".format(*n))
| 25.75 | 80 | 0.475728 | 37 | 206 | 2.540541 | 0.567568 | 0.191489 | 0.297872 | 0.425532 | 0.446809 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054645 | 0.11165 | 206 | 7 | 81 | 29.428571 | 0.459016 | 0.067961 | 0 | 0.5 | 0 | 0.25 | 0.463158 | 0.226316 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.25 | 0.75 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
8f694fbdc89b42f77436a3c37d0824105896218b | 27,334 | py | Python | ml4tc/machine_learning/permutation_test.py | NOAA-GSL/ml4tc | e9f8faa51e5bfb86b2a78648d7b1d0e61d09b6c0 | [
"MIT"
] | null | null | null | ml4tc/machine_learning/permutation_test.py | NOAA-GSL/ml4tc | e9f8faa51e5bfb86b2a78648d7b1d0e61d09b6c0 | [
"MIT"
] | null | null | null | ml4tc/machine_learning/permutation_test.py | NOAA-GSL/ml4tc | e9f8faa51e5bfb86b2a78648d7b1d0e61d09b6c0 | [
"MIT"
] | null | null | null | """Unit tests for permutation.py."""
import unittest
import numpy
from ml4tc.utils import satellite_utils
from ml4tc.machine_learning import neural_net
from ml4tc.machine_learning import permutation
TOLERANCE = 1e-6
NUM_BUILTIN_SHIPS_LAG_TIMES = permutation.NUM_BUILTIN_SHIPS_LAG_TIMES
NUM_SHIPS_FORECAST_HOURS = perm... | 37.911234 | 80 | 0.672459 | 3,087 | 27,334 | 5.483965 | 0.044704 | 0.181641 | 0.079745 | 0.070884 | 0.944297 | 0.938567 | 0.926458 | 0.913108 | 0.899817 | 0.897868 | 0 | 0.012392 | 0.264872 | 27,334 | 720 | 81 | 37.963889 | 0.830099 | 0.116851 | 0 | 0.757396 | 0 | 0 | 0.000636 | 0 | 0 | 0 | 0 | 0 | 0.072978 | 1 | 0.035503 | false | 0 | 0.009862 | 0 | 0.047337 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8f74b2c6975850311018737bd1e518ede8c16aab | 2,912 | py | Python | valence/scripts/feature_extraction/stats.py | gizemsogancioglu/elderly-emotion-SC | b8f371e0df6e4aa8b680d59995cd18d52f591466 | [
"MIT"
] | 2 | 2020-08-05T11:44:30.000Z | 2021-02-19T15:46:10.000Z | valence/scripts/feature_extraction/stats.py | gizemsogancioglu/elderly-emotion-SC | b8f371e0df6e4aa8b680d59995cd18d52f591466 | [
"MIT"
] | null | null | null | valence/scripts/feature_extraction/stats.py | gizemsogancioglu/elderly-emotion-SC | b8f371e0df6e4aa8b680d59995cd18d52f591466 | [
"MIT"
] | 2 | 2020-08-31T02:42:15.000Z | 2020-10-29T15:39:48.000Z | import pandas as pd
import numpy as np
def calc_min_from_list(score_list):
df = pd.DataFrame(eval(score_list), columns=['word', 'pos', 'score'])
return df['score'].min()
def calc_max_from_list(score_list):
df = pd.DataFrame(eval(score_list), columns=['word', 'pos', 'score'])
return df['score'].max(... | 19.945205 | 71 | 0.645261 | 438 | 2,912 | 4.043379 | 0.105023 | 0.182947 | 0.058724 | 0.076793 | 0.815359 | 0.792772 | 0.78035 | 0.757199 | 0.757199 | 0.757199 | 0 | 0.003863 | 0.199863 | 2,912 | 145 | 72 | 20.082759 | 0.756223 | 0 | 0 | 0.634615 | 0 | 0 | 0.052403 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.144231 | false | 0.067308 | 0.019231 | 0.009615 | 0.375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
8f7cdc57728d17d24e6648a81187f53e42054688 | 60,183 | py | Python | instrosetta/interfaces/light_analysis/power_meter_pb2.py | jmosbacher/instrosetta-python | b323ee4d3db0b7d8e22ec731dac521c967e5323d | [
"MIT"
] | null | null | null | instrosetta/interfaces/light_analysis/power_meter_pb2.py | jmosbacher/instrosetta-python | b323ee4d3db0b7d8e22ec731dac521c967e5323d | [
"MIT"
] | null | null | null | instrosetta/interfaces/light_analysis/power_meter_pb2.py | jmosbacher/instrosetta-python | b323ee4d3db0b7d8e22ec731dac521c967e5323d | [
"MIT"
] | null | null | null | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: instrosetta/interfaces/light_analysis/power_meter.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from g... | 42.865385 | 5,449 | 0.766994 | 7,133 | 60,183 | 6.187719 | 0.041217 | 0.039332 | 0.094841 | 0.115459 | 0.789428 | 0.760745 | 0.745656 | 0.741963 | 0.711625 | 0.693024 | 0 | 0.032234 | 0.110795 | 60,183 | 1,403 | 5,450 | 42.895937 | 0.792525 | 0.048751 | 0 | 0.688958 | 1 | 0.000778 | 0.291389 | 0.254758 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003888 | 0 | 0.003888 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
853ba7fcb50055e5c0c7cda38cf013a0abf3f59a | 190 | py | Python | swig/python/osgeo/utils.py | FeU-aKlos/gdal | bba6781133815248c9329842d365f8812b74c33f | [
"Apache-2.0"
] | 3,100 | 2015-01-02T10:33:40.000Z | 2022-03-31T02:06:51.000Z | swig/python/osgeo/utils.py | FeU-aKlos/gdal | bba6781133815248c9329842d365f8812b74c33f | [
"Apache-2.0"
] | 3,496 | 2015-01-06T16:53:30.000Z | 2022-03-31T20:18:51.000Z | swig/python/osgeo/utils.py | FeU-aKlos/gdal | bba6781133815248c9329842d365f8812b74c33f | [
"Apache-2.0"
] | 2,036 | 2015-01-08T20:22:12.000Z | 2022-03-31T10:24:08.000Z | raise ImportError("Please use `import osgeo_utils` (GDAL >= 3.3) "
"instead of `import osgeo.utils` (GDAL == 3.2). "
"For more details see GDAL RFC #78")
| 47.5 | 67 | 0.552632 | 25 | 190 | 4.16 | 0.72 | 0.211538 | 0.307692 | 0.384615 | 0.403846 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 0.315789 | 190 | 3 | 68 | 63.333333 | 0.753846 | 0 | 0 | 0 | 0 | 0 | 0.663158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
857ddc5437f40dad5e3975e2c162273720f4f681 | 63,016 | py | Python | graphene_django_cud/tests/test_mutations.py | janosroden/graphene-django-cud | 5a77f874e880a30f0941a0bc016188b9b0f892ad | [
"MIT"
] | null | null | null | graphene_django_cud/tests/test_mutations.py | janosroden/graphene-django-cud | 5a77f874e880a30f0941a0bc016188b9b0f892ad | [
"MIT"
] | null | null | null | graphene_django_cud/tests/test_mutations.py | janosroden/graphene-django-cud | 5a77f874e880a30f0941a0bc016188b9b0f892ad | [
"MIT"
] | null | null | null | import graphene
from addict import Dict
from django.test import TestCase
from graphene import Schema
from graphql import ResolveInfo
from graphql_relay import to_global_id
from graphene_django_cud.mutations import DjangoUpdateMutation, DjangoCreateMutation
from graphene_django_cud.tests.factories import (
UserFact... | 31.44511 | 88 | 0.492748 | 5,115 | 63,016 | 5.906549 | 0.050049 | 0.021084 | 0.022177 | 0.026811 | 0.900172 | 0.890408 | 0.882861 | 0.869059 | 0.857375 | 0.848967 | 0 | 0.00373 | 0.408674 | 63,016 | 2,003 | 89 | 31.460809 | 0.807047 | 0.048638 | 0 | 0.75169 | 0 | 0 | 0.23386 | 0.002523 | 0 | 0 | 0 | 0 | 0.061463 | 1 | 0.027658 | false | 0.008605 | 0.028888 | 0.002459 | 0.138906 | 0.000615 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
85ac97b749f998cc27ba414e8130b0b3bc95b327 | 862,532 | py | Python | com/vmware/nsx_client.py | adammillerio/vsphere-automation-sdk-python | c07e1be98615201139b26c28db3aa584c4254b66 | [
"MIT"
] | null | null | null | com/vmware/nsx_client.py | adammillerio/vsphere-automation-sdk-python | c07e1be98615201139b26c28db3aa584c4254b66 | [
"MIT"
] | null | null | null | com/vmware/nsx_client.py | adammillerio/vsphere-automation-sdk-python | c07e1be98615201139b26c28db3aa584c4254b66 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#---------------------------------------------------------------------------
# Copyright 2020 VMware, Inc. All rights reserved.
# AUTO GENERATED FILE -- DO NOT MODIFY!
#
# vAPI stub file for package com.vmware.nsx.
#---------------------------------------------------------------------------
"... | 45.182399 | 187 | 0.601347 | 84,946 | 862,532 | 5.872036 | 0.015327 | 0.076016 | 0.089133 | 0.109702 | 0.909634 | 0.894446 | 0.873404 | 0.853354 | 0.843364 | 0.835537 | 0 | 0.000897 | 0.294622 | 862,532 | 19,089 | 188 | 45.184766 | 0.818953 | 0.275284 | 0 | 0.750969 | 1 | 0.000082 | 0.321096 | 0.218118 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026149 | false | 0 | 0.00099 | 0 | 0.062196 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a45a21589babe29e2e4fbea5ba501f7cdc7cb2c5 | 10,004 | py | Python | tests/gcd_test.py | Na2CuCl4/latex2sympy | 40f3b16ad13f8ab12d7704bb422cf8580b45b380 | [
"MIT"
] | 26 | 2021-05-12T09:48:28.000Z | 2022-03-31T08:33:57.000Z | tests/gcd_test.py | Na2CuCl4/latex2sympy | 40f3b16ad13f8ab12d7704bb422cf8580b45b380 | [
"MIT"
] | null | null | null | tests/gcd_test.py | Na2CuCl4/latex2sympy | 40f3b16ad13f8ab12d7704bb422cf8580b45b380 | [
"MIT"
] | 3 | 2021-10-09T03:16:53.000Z | 2022-02-18T13:23:40.000Z | from .context import assert_equal
import pytest
from sympy import Symbol, Rational, UnevaluatedExpr, gcd, igcd, sqrt, pi
x = Symbol('x', real=True)
y = Symbol('y', real=True)
z = Symbol('z', real=True)
def test_gcd_usual():
assert_equal("\\gcd(18, 3)", gcd(18, 3))
assert_equal("\\gcd(3, 18)", gcd(3, 18))
... | 61.753086 | 181 | 0.609656 | 1,591 | 10,004 | 3.744815 | 0.062225 | 0.234475 | 0.138637 | 0.257469 | 0.910205 | 0.866398 | 0.842397 | 0.816885 | 0.688822 | 0.592816 | 0 | 0.17032 | 0.12435 | 10,004 | 161 | 182 | 62.136646 | 0.509817 | 0 | 0 | 0.057554 | 0 | 0.014388 | 0.357557 | 0.167533 | 0 | 0 | 0 | 0 | 0.913669 | 1 | 0.05036 | false | 0 | 0.021583 | 0 | 0.071942 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a4a2855086a0c8a80eae961e7125a55aa421eccc | 4,196 | py | Python | tests/test_xsd.py | ryan-rs/pytest-zigzag | 7116357ab680a5a9bac47af3ac428f706cee0e93 | [
"Apache-2.0"
] | 1 | 2021-01-19T23:59:54.000Z | 2021-01-19T23:59:54.000Z | tests/test_xsd.py | ryan-rs/pytest-zigzag | 7116357ab680a5a9bac47af3ac428f706cee0e93 | [
"Apache-2.0"
] | 3 | 2018-08-23T19:44:46.000Z | 2019-02-21T22:04:29.000Z | tests/test_xsd.py | ryan-rs/pytest-zigzag | 7116357ab680a5a9bac47af3ac428f706cee0e93 | [
"Apache-2.0"
] | 3 | 2018-08-17T00:37:15.000Z | 2018-08-21T14:54:56.000Z | # -*- coding: utf-8 -*-
"""Test cases for the 'get_xsd' utility function for retrieving the XSD for the project."""
# ======================================================================================================================
# Imports
# =====================================================================... | 36.807018 | 120 | 0.57245 | 434 | 4,196 | 5.31106 | 0.209677 | 0.031236 | 0.023861 | 0.050325 | 0.84295 | 0.84295 | 0.811714 | 0.811714 | 0.811714 | 0.811714 | 0 | 0.044054 | 0.226406 | 4,196 | 113 | 121 | 37.132743 | 0.666051 | 0.314347 | 0 | 0.846154 | 0 | 0 | 0.232823 | 0.119616 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.076923 | false | 0.038462 | 0.115385 | 0 | 0.192308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
f11ca51eaa1e46ea2b9a342fd64d6b4e9f22780d | 621 | py | Python | hurry/models.py | hugefiver/naiveindex | a358f9169168d5c7c790a563b0c93522ababdd8f | [
"BSD-3-Clause"
] | 1 | 2018-10-02T04:46:41.000Z | 2018-10-02T04:46:41.000Z | hurry/models.py | hugefiver/naiveindex | a358f9169168d5c7c790a563b0c93522ababdd8f | [
"BSD-3-Clause"
] | null | null | null | hurry/models.py | hugefiver/naiveindex | a358f9169168d5c7c790a563b0c93522ababdd8f | [
"BSD-3-Clause"
] | 1 | 2019-06-17T08:34:12.000Z | 2019-06-17T08:34:12.000Z | from django.db import models
class Post(models.Model):
title = models.CharField('Title', max_length=20, default='')
create_date = models.DateField('CreateDate', auto_now_add=True)
change_date = models.DateField('ChangeDate', auto_now=True)
main_text = models.TextField('MainText')
class PinPost(model... | 34.5 | 67 | 0.726248 | 79 | 621 | 5.531646 | 0.405063 | 0.091533 | 0.173913 | 0.100687 | 0.823799 | 0.823799 | 0.823799 | 0.823799 | 0.823799 | 0.823799 | 0 | 0.009328 | 0.136876 | 621 | 17 | 68 | 36.529412 | 0.80597 | 0 | 0 | 0.666667 | 0 | 0 | 0.11129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 1 | 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 | 1 | 0 | 0 | 7 |
f189c7feea6052514ea214148b48ad9dff98af07 | 76 | py | Python | accepted/chennaipy/october/samplecode/absoluteimports/__init__.py | tasdikrahman/talks | bba44283e149ab27fb8cc2f6f8644adf9f2c8a11 | [
"MIT"
] | 1 | 2017-04-16T06:59:02.000Z | 2017-04-16T06:59:02.000Z | accepted/chennaipy/october/samplecode/absoluteimports/__init__.py | prodicus/talks | bba44283e149ab27fb8cc2f6f8644adf9f2c8a11 | [
"MIT"
] | null | null | null | accepted/chennaipy/october/samplecode/absoluteimports/__init__.py | prodicus/talks | bba44283e149ab27fb8cc2f6f8644adf9f2c8a11 | [
"MIT"
] | 1 | 2019-10-26T00:28:07.000Z | 2019-10-26T00:28:07.000Z | # absoluteimports/__init__.py
print("inside absoluteimports/__init__.py")
| 15.2 | 43 | 0.802632 | 8 | 76 | 6.625 | 0.625 | 0.716981 | 0.792453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 76 | 4 | 44 | 19 | 0.757143 | 0.355263 | 0 | 0 | 0 | 0 | 0.73913 | 0.586957 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 10 |
74b7e6749fb65b6903ee37acac377f33eb09591e | 11,104 | py | Python | scripts/crime/crime.py | RMDircio/cityspire-a-ds | 979ffaec9e92c0042b88a37d834261dbd98f9177 | [
"MIT"
] | 1 | 2021-02-18T04:39:36.000Z | 2021-02-18T04:39:36.000Z | scripts/crime/crime.py | RMDircio/cityspire-a-ds | 979ffaec9e92c0042b88a37d834261dbd98f9177 | [
"MIT"
] | 7 | 2021-02-02T02:43:47.000Z | 2021-02-21T06:02:02.000Z | scripts/crime/crime.py | RMDircio/cityspire-a-ds | 979ffaec9e92c0042b88a37d834261dbd98f9177 | [
"MIT"
] | 4 | 2021-01-21T02:38:50.000Z | 2021-03-03T02:17:37.000Z | import pandas as pd
import numpy as np
crime_2019 = pd.read_excel('./data/Table_8_Offenses_Known_to_Law_Enforcement_by_State_by_City_2019.xls')
crime_2018 = pd.read_excel('./data/Table_8_Offenses_Known_to_Law_Enforcement_by_State_by_City_2018.xls')
crime_2017 = pd.read_excel('./data/Table_8_Offenses_Known_to_Law_Enfo... | 33.957187 | 104 | 0.558988 | 1,457 | 11,104 | 4.179822 | 0.100206 | 0.094581 | 0.063054 | 0.082759 | 0.8867 | 0.877833 | 0.83202 | 0.827258 | 0.811002 | 0.804105 | 0 | 0.039093 | 0.26513 | 11,104 | 326 | 105 | 34.06135 | 0.70723 | 0.167777 | 0 | 0.727848 | 0 | 0 | 0.237184 | 0.041143 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037975 | false | 0 | 0.012658 | 0 | 0.088608 | 0.037975 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
2d03608e766f4c2bb53e71a36496565b2d1542dd | 15,493 | py | Python | tests/unit/test_workflow.py | benfred/NVTabular | 5ab6d557868ac01eda26e9725a1a6e5bf7eda007 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_workflow.py | benfred/NVTabular | 5ab6d557868ac01eda26e9725a1a6e5bf7eda007 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_workflow.py | benfred/NVTabular | 5ab6d557868ac01eda26e9725a1a6e5bf7eda007 | [
"Apache-2.0"
] | null | null | null | #
# Copyright (c) 2020, NVIDIA CORPORATION.
#
# 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 ... | 38.444169 | 99 | 0.661718 | 2,197 | 15,493 | 4.461538 | 0.111971 | 0.016425 | 0.029178 | 0.028566 | 0.860845 | 0.85503 | 0.843705 | 0.831055 | 0.827484 | 0.827484 | 0 | 0.017415 | 0.192022 | 15,493 | 402 | 100 | 38.539801 | 0.765618 | 0.104241 | 0 | 0.754153 | 0 | 0 | 0.079318 | 0 | 0 | 0 | 0 | 0 | 0.106312 | 1 | 0.033223 | false | 0 | 0.033223 | 0 | 0.086379 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
77d657adc73f4c65d2612ed1b1c32f0531117b2b | 2,781 | py | Python | tests/test_ext_todo.py | hio/sphinx | cb0220de1a0d8acd00292b898d2ef03b588179b0 | [
"BSD-2-Clause"
] | 1 | 2021-11-06T17:09:04.000Z | 2021-11-06T17:09:04.000Z | tests/test_ext_todo.py | hio/sphinx | cb0220de1a0d8acd00292b898d2ef03b588179b0 | [
"BSD-2-Clause"
] | 1 | 2017-07-15T22:46:50.000Z | 2017-07-15T22:46:50.000Z | tests/test_ext_todo.py | hio/sphinx | cb0220de1a0d8acd00292b898d2ef03b588179b0 | [
"BSD-2-Clause"
] | 1 | 2021-11-06T17:08:54.000Z | 2021-11-06T17:08:54.000Z | # -*- coding: utf-8 -*-
"""
test_ext_todo
~~~~~~~~~~~~~
Test sphinx.ext.todo extension.
:copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
import re
import pytest
@pytest.mark.sphinx('html', testroot='ext-todo', freshenv=True,
... | 31.965517 | 92 | 0.619561 | 392 | 2,781 | 4.334184 | 0.19898 | 0.056504 | 0.042378 | 0.052972 | 0.901118 | 0.901118 | 0.901118 | 0.864626 | 0.864626 | 0.864626 | 0 | 0.005977 | 0.217907 | 2,781 | 86 | 93 | 32.337209 | 0.775172 | 0.117584 | 0 | 0.875 | 0 | 0 | 0.331679 | 0.069479 | 0 | 0 | 0 | 0.034884 | 0.291667 | 1 | 0.083333 | false | 0 | 0.041667 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
bb0c78b0fa58e2b62baa40084631715cc2e02f86 | 114 | py | Python | services/transactionservice/exception.py | autokrator-uog/backend | 0a2d46f9b52465ed8dfc9234858d6a93f3754c05 | [
"MIT"
] | null | null | null | services/transactionservice/exception.py | autokrator-uog/backend | 0a2d46f9b52465ed8dfc9234858d6a93f3754c05 | [
"MIT"
] | null | null | null | services/transactionservice/exception.py | autokrator-uog/backend | 0a2d46f9b52465ed8dfc9234858d6a93f3754c05 | [
"MIT"
] | 1 | 2019-06-09T23:51:13.000Z | 2019-06-09T23:51:13.000Z | from services.exceptions import ServiceException
class TransactionServiceException(ServiceException):
pass
| 16.285714 | 52 | 0.842105 | 9 | 114 | 10.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 114 | 6 | 53 | 19 | 0.96 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
bb3548db62d0b18824e6b9d4bdda8afec6db619a | 24,166 | py | Python | nfv/nfv-tests/nfv_unit_tests/tests/test_dhcp_network_rebalance_randomized.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | 2 | 2020-02-07T19:01:36.000Z | 2022-02-23T01:41:46.000Z | nfv/nfv-tests/nfv_unit_tests/tests/test_dhcp_network_rebalance_randomized.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | 1 | 2021-01-14T12:02:25.000Z | 2021-01-14T12:02:25.000Z | nfv/nfv-tests/nfv_unit_tests/tests/test_dhcp_network_rebalance_randomized.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | 2 | 2021-01-13T08:39:21.000Z | 2022-02-09T00:21:55.000Z | #
# Copyright (c) 2015-2016 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
import mock
import random
from nfv_vim.network_rebalance._dhcp_rebalance import _add_network_to_dhcp_agent_callback_body # noqa: H501
from nfv_vim.network_rebalance._dhcp_rebalance import _DHCPRebalance
from nfv_vim.network... | 44.422794 | 113 | 0.578788 | 2,528 | 24,166 | 5.060522 | 0.065665 | 0.044712 | 0.048777 | 0.071289 | 0.873368 | 0.833346 | 0.80802 | 0.771516 | 0.755335 | 0.740405 | 0 | 0.008599 | 0.350368 | 24,166 | 543 | 114 | 44.504604 | 0.806293 | 0.015187 | 0 | 0.726457 | 0 | 0 | 0.10214 | 0.049788 | 0 | 0 | 0 | 0 | 0.038117 | 1 | 0.042601 | false | 0 | 0.029148 | 0.002242 | 0.085202 | 0.103139 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
24c1611855efbd98b359b222c429ff1ffd837712 | 4,567 | py | Python | test/xtest_fiat.py | nikhilTkur/basix | 62b1a3b903f1aabbe207e848595432d5a2da0dba | [
"MIT"
] | null | null | null | test/xtest_fiat.py | nikhilTkur/basix | 62b1a3b903f1aabbe207e848595432d5a2da0dba | [
"MIT"
] | null | null | null | test/xtest_fiat.py | nikhilTkur/basix | 62b1a3b903f1aabbe207e848595432d5a2da0dba | [
"MIT"
] | null | null | null | import FIAT
import basix
import pytest
import numpy as np
"""
Some tests against FIAT. Some may fail due to issues in FIAT
(e.g. normalisation of orthonormal polynomial sets when n=0)
"""
@pytest.mark.parametrize("order", [1, 2, 3, 4])
def test_triangle(order):
nderivs = 2
cell = FIAT.ufc_simplex(2)
L = ... | 33.580882 | 75 | 0.543683 | 604 | 4,567 | 3.976821 | 0.13245 | 0.069942 | 0.018734 | 0.054954 | 0.866778 | 0.850125 | 0.833472 | 0.833472 | 0.813905 | 0.780183 | 0 | 0.018826 | 0.313773 | 4,567 | 135 | 76 | 33.82963 | 0.747607 | 0.029779 | 0 | 0.745283 | 0 | 0 | 0.017732 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 1 | 0.037736 | false | 0 | 0.037736 | 0 | 0.075472 | 0.292453 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
24e7c60d08b386aab07f3e5e5c77e69cb4dc1598 | 1,970 | py | Python | exploitftp.py | 0x00s4d/exploit-warftpd | f6cd3d3cef5bcebf931d4a23fae67acb91347c77 | [
"MIT"
] | 1 | 2020-04-16T12:00:44.000Z | 2020-04-16T12:00:44.000Z | exploitftp.py | 0x00s4d/exploit-warftpd | f6cd3d3cef5bcebf931d4a23fae67acb91347c77 | [
"MIT"
] | null | null | null | exploitftp.py | 0x00s4d/exploit-warftpd | f6cd3d3cef5bcebf931d4a23fae67acb91347c77 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import socket
buf = ""
buf += "\xbb\xa1\x56\xbc\xc8\xda\xd2\xd9\x74\x24\xf4\x5d\x31"
buf += "\xc9\xb1\x52\x83\xed\xfc\x31\x5d\x0e\x03\xfc\x58\x5e"
buf += "\x3d\x02\x8c\x1c\xbe\xfa\x4d\x41\x36\x1f\x7c\x41\x2c"
buf += "\x54\x2f\x71\x26\x38\xdc\xfa\x6a\xa8\x57\x8e\xa2\xdf"
buf += "\xd0\x25\x95\xee\xe1\... | 41.914894 | 79 | 0.667005 | 431 | 1,970 | 3.044084 | 0.519722 | 0.004573 | 0.009146 | 0.015244 | 0.02439 | 0.02439 | 0 | 0 | 0 | 0 | 0 | 0.257065 | 0.06599 | 1,970 | 46 | 80 | 42.826087 | 0.455978 | 0.008122 | 0 | 0.108108 | 0 | 0.72973 | 0.7423 | 0.720739 | 0.027027 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.027027 | null | null | 0.054054 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
24f9a85c78f568eca2b01a93f139c948fe8f1d0c | 2,048 | py | Python | Old/Initial_Conditions.py | pedrodedin/Neutrino-Collective-Effects | d91c3f910a6407afe39d4c8f90c6d0765c0fc44c | [
"MIT"
] | null | null | null | Old/Initial_Conditions.py | pedrodedin/Neutrino-Collective-Effects | d91c3f910a6407afe39d4c8f90c6d0765c0fc44c | [
"MIT"
] | null | null | null | Old/Initial_Conditions.py | pedrodedin/Neutrino-Collective-Effects | d91c3f910a6407afe39d4c8f90c6d0765c0fc44c | [
"MIT"
] | null | null | null | from Auxiliar_Functions import *
def initiate(nu_types,t_bins,E_i,E_f,E_step,E_0,Amplitude):
y0=[] #Initial state
omega=[]
flavor_sign=1
E_vec=np.arange(E_i,E_f,E_step)
n_E=len(E_vec)
n_f=len(nu_types)
n_dim=(n_f**2)-1
for i in range(n_E):
omega.append(delta_m2_31/(2*E_vec[i]*10**6)) #eV
... | 24.380952 | 73 | 0.650879 | 487 | 2,048 | 2.443532 | 0.12115 | 0.047059 | 0.033613 | 0.07395 | 0.882353 | 0.860504 | 0.830252 | 0.797479 | 0.746218 | 0.746218 | 0 | 0.060023 | 0.162109 | 2,048 | 83 | 74 | 24.674699 | 0.629953 | 0.091797 | 0 | 0.775862 | 0 | 0 | 0.004348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.017241 | 0 | 0.086207 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
703f288c5501765c2ba8d727eecd70693bc74378 | 26,956 | py | Python | stcgal/options.py | CreativeLau/stcgal | b92ba84bfbad1e9f0e7eb62d6bf38000f1f7b8ce | [
"MIT"
] | 469 | 2015-04-20T07:42:08.000Z | 2022-03-28T07:07:10.000Z | stcgal/options.py | CreativeLau/stcgal | b92ba84bfbad1e9f0e7eb62d6bf38000f1f7b8ce | [
"MIT"
] | 69 | 2015-02-02T05:45:23.000Z | 2022-03-06T01:26:20.000Z | stcgal/options.py | CreativeLau/stcgal | b92ba84bfbad1e9f0e7eb62d6bf38000f1f7b8ce | [
"MIT"
] | 110 | 2015-11-24T22:37:59.000Z | 2022-03-26T18:33:21.000Z | #
# Copyright (c) 2013-2016 Grigori Goronzy <greg@chown.ath.cx>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, ... | 34.078382 | 97 | 0.595341 | 3,997 | 26,956 | 3.825369 | 0.071554 | 0.097973 | 0.030347 | 0.050033 | 0.800065 | 0.780052 | 0.766187 | 0.736364 | 0.727273 | 0.697384 | 0 | 0.049882 | 0.276376 | 26,956 | 791 | 98 | 34.078382 | 0.733979 | 0.05164 | 0 | 0.634391 | 0 | 0 | 0.076896 | 0.008339 | 0 | 0 | 0.028162 | 0 | 0.008347 | 1 | 0.24207 | false | 0.010017 | 0.005008 | 0.09182 | 0.375626 | 0.006678 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
707e9174e4598650121da4b3696fd751e4aa8960 | 6,468 | py | Python | app/api.py | TorSpider/TorSpider-Backend | a4f22293747153fe03bac37920b4fc444db3f167 | [
"BSD-3-Clause"
] | 1 | 2018-02-23T08:08:59.000Z | 2018-02-23T08:08:59.000Z | app/api.py | TorSpider/TorSpider-Backend | a4f22293747153fe03bac37920b4fc444db3f167 | [
"BSD-3-Clause"
] | 16 | 2018-02-23T14:42:09.000Z | 2018-04-05T03:38:32.000Z | app/api.py | TorSpider/TorSpider-Backend | a4f22293747153fe03bac37920b4fc444db3f167 | [
"BSD-3-Clause"
] | null | null | null | from flask_restless import ProcessingException
from flask_restless_swagger import SwagAPIManager as APIManager
from app import app, db
from app.models import Onions, Urls, Pages, Forms, Links, Nodes
from flask import request
# Flask- Restless
manager = APIManager(app, flask_sqlalchemy_db=db)
# Define the different p... | 53.016393 | 117 | 0.589672 | 594 | 6,468 | 6.195286 | 0.186869 | 0.210598 | 0.066576 | 0.072283 | 0.777989 | 0.772011 | 0.760326 | 0.74538 | 0.74538 | 0.74538 | 0 | 0.009342 | 0.321429 | 6,468 | 121 | 118 | 53.454545 | 0.829118 | 0.087044 | 0 | 0.712644 | 0 | 0 | 0.046798 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022989 | false | 0 | 0.057471 | 0 | 0.103448 | 0 | 0 | 0 | 0 | null | 1 | 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 | 7 |
563f4f60f902bafd85823be54aa6c6329fdb674b | 52,455 | py | Python | lazy/io/pathz/core.py | trisongz/lazycls | 701bad1a358ed3bb136347d0c5eb81de3201f6a3 | [
"MIT"
] | 2 | 2021-12-02T00:13:16.000Z | 2022-02-26T11:18:33.000Z | lazy/io/pathz/core.py | trisongz/lazycls | 701bad1a358ed3bb136347d0c5eb81de3201f6a3 | [
"MIT"
] | null | null | null | lazy/io/pathz/core.py | trisongz/lazycls | 701bad1a358ed3bb136347d0c5eb81de3201f6a3 | [
"MIT"
] | null | null | null | import os
import typing
import ntpath
import pathlib
import posixpath
from importlib import import_module
from typing import Any, ClassVar, Iterator, Optional, Type, TypeVar, Union, Callable, List, TYPE_CHECKING
from lazy.libz import Lib
from . import types
from . import base
_P = TypeVar('_P')
URI_PREFIXES = ('gs:... | 36.401804 | 229 | 0.613707 | 6,457 | 52,455 | 4.795571 | 0.059161 | 0.029711 | 0.034491 | 0.018602 | 0.84757 | 0.812143 | 0.785758 | 0.752398 | 0.719393 | 0.704699 | 0 | 0.002531 | 0.269374 | 52,455 | 1,440 | 230 | 36.427083 | 0.805427 | 0.113068 | 0 | 0.491525 | 0 | 0 | 0.02543 | 0.002188 | 0 | 0 | 0 | 0 | 0.00565 | 1 | 0.213277 | false | 0.001412 | 0.021186 | 0.021186 | 0.460452 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
564f6fb25f1a0031af8e85326aebe06a4789188c | 132 | py | Python | examples/example_005.py | Canvim/Pyper | 5ec310027c94f98349b7f5a728b42540380a34c2 | [
"MIT"
] | 2 | 2020-07-29T06:48:18.000Z | 2020-10-13T19:35:53.000Z | examples/example_005.py | Canvim/PyPen | 5ec310027c94f98349b7f5a728b42540380a34c2 | [
"MIT"
] | 8 | 2020-07-19T21:41:58.000Z | 2020-09-02T09:39:02.000Z | examples/example_005.py | Canvim/PyPen | 5ec310027c94f98349b7f5a728b42540380a34c2 | [
"MIT"
] | null | null | null | from pypen import *
def start():
for x, y in pixels():
rectangle(x, y, 1, 1, (random(255), random(255), random(255)))
| 18.857143 | 70 | 0.575758 | 21 | 132 | 3.619048 | 0.666667 | 0.355263 | 0.394737 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11 | 0.242424 | 132 | 6 | 71 | 22 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
568f87d9633f971994a98ee93d1fb03ac90a3092 | 1,720 | py | Python | tests/iarm/test_branch.py | howardjp/iMCS-48 | b545a37a9b15fdcdacb4e2ba263f45a9c62df079 | [
"MIT"
] | 20 | 2016-05-16T18:23:49.000Z | 2021-08-06T17:15:34.000Z | tests/iarm/test_branch.py | howardjp/iMCS-48 | b545a37a9b15fdcdacb4e2ba263f45a9c62df079 | [
"MIT"
] | 11 | 2016-07-14T17:57:10.000Z | 2020-11-18T21:11:21.000Z | tests/iarm/test_branch.py | howardjp/iMCS-48 | b545a37a9b15fdcdacb4e2ba263f45a9c62df079 | [
"MIT"
] | 4 | 2016-08-14T19:11:21.000Z | 2021-08-18T09:38:25.000Z | from .test_iarm import TestArm
import iarm.exceptions
import unittest
class TestArmUnconditionalBranch(TestArm):
@unittest.skip('No Test Defined')
def test_B(self):
pass
@unittest.skip('No Test Defined')
def test_BL(self):
pass
@unittest.skip('No Test Defined')
def test_BLX(s... | 18.901099 | 42 | 0.604651 | 221 | 1,720 | 4.574661 | 0.176471 | 0.237389 | 0.276954 | 0.356083 | 0.789318 | 0.789318 | 0.789318 | 0.789318 | 0.712166 | 0 | 0 | 0 | 0.281395 | 1,720 | 90 | 43 | 19.111111 | 0.817961 | 0 | 0 | 0.597015 | 0 | 0 | 0.17907 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.298507 | false | 0.298507 | 0.044776 | 0 | 0.373134 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
3b09c0c3514323a9bf6c3fb4f8e1e58c43083d1e | 6,970 | py | Python | urlify.py | dreikanter/python-urlify | 69c68bdd007ea7d33e79bbb2f7e366d5bcda3a02 | [
"MIT"
] | 7 | 2015-03-20T12:10:51.000Z | 2017-10-26T03:07:37.000Z | urlify.py | dreikanter/python-urlify | 69c68bdd007ea7d33e79bbb2f7e366d5bcda3a02 | [
"MIT"
] | null | null | null | urlify.py | dreikanter/python-urlify | 69c68bdd007ea7d33e79bbb2f7e366d5bcda3a02 | [
"MIT"
] | 3 | 2015-03-20T12:10:59.000Z | 2020-09-29T11:17:16.000Z | # coding: utf-8
import re
__author__ = 'Alex Musayev'
__license__ = 'MIT'
__status__ = 'Development'
__url__ = 'http://github.com/dreikanter/python-urlify'
__version_info__ = (0, 0, 1)
__version__ = '.'.join(map(str, __version_info__))
UBERMAP = {
# Latin:
ord(u'À'): u'A',
ord(u'Á'): u'A',
ord(u'Â')... | 19.85755 | 74 | 0.366284 | 1,527 | 6,970 | 1.648985 | 0.169614 | 0.444797 | 0.047657 | 0.057188 | 0.772836 | 0.764893 | 0.764893 | 0.742653 | 0.742653 | 0.732327 | 0 | 0.00159 | 0.278192 | 6,970 | 350 | 75 | 19.914286 | 0.498509 | 0.011478 | 0 | 0.08 | 0 | 0 | 0.110901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003077 | false | 0 | 0.003077 | 0 | 0.009231 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3b3d10638bea4ba43e0e4c4b9d426c928202e307 | 8,007 | py | Python | services/core-api/tests/parties/party/resources/test_party_resource.py | parc-jason/mds | 8f181a429442208a061ed72065b71e6c2bd0f76f | [
"Apache-2.0"
] | null | null | null | services/core-api/tests/parties/party/resources/test_party_resource.py | parc-jason/mds | 8f181a429442208a061ed72065b71e6c2bd0f76f | [
"Apache-2.0"
] | null | null | null | services/core-api/tests/parties/party/resources/test_party_resource.py | parc-jason/mds | 8f181a429442208a061ed72065b71e6c2bd0f76f | [
"Apache-2.0"
] | 1 | 2020-01-22T14:19:16.000Z | 2020-01-22T14:19:16.000Z | import json, uuid
from tests.factories import PartyFactory
from app.api.utils.custom_reqparser import DEFAULT_MISSING_REQUIRED
# GET
def test_get_person_not_found(test_client, db_session, auth_headers):
get_resp = test_client.get(f'/parties/{uuid.uuid4()}', headers=auth_headers['full_auth_header'])
get_data ... | 41.921466 | 100 | 0.694642 | 1,106 | 8,007 | 4.618445 | 0.089512 | 0.095928 | 0.134299 | 0.042287 | 0.895067 | 0.879796 | 0.861394 | 0.838293 | 0.828309 | 0.785826 | 0 | 0.023416 | 0.167978 | 8,007 | 190 | 101 | 42.142105 | 0.74332 | 0.002373 | 0 | 0.704403 | 0 | 0 | 0.265564 | 0.019792 | 0 | 0 | 0 | 0 | 0.327044 | 1 | 0.062893 | false | 0 | 0.018868 | 0 | 0.081761 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
3b8b48fea96fa0fb4c9124889bd993c1a071deea | 93,415 | py | Python | sos_trades_core/tests/l0_test_54_advanced_archi_builder.py | os-climate/sostrades-core | bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9 | [
"Apache-2.0"
] | 8 | 2022-01-10T14:44:28.000Z | 2022-03-31T08:57:14.000Z | sos_trades_core/tests/l0_test_54_advanced_archi_builder.py | os-climate/sostrades-core | bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9 | [
"Apache-2.0"
] | null | null | null | sos_trades_core/tests/l0_test_54_advanced_archi_builder.py | os-climate/sostrades-core | bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9 | [
"Apache-2.0"
] | 1 | 2022-02-21T14:51:45.000Z | 2022-02-21T14:51:45.000Z | '''
Copyright 2022 Airbus SAS
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, software
dis... | 51.046448 | 119 | 0.448782 | 10,354 | 93,415 | 3.787811 | 0.029747 | 0.121982 | 0.134017 | 0.118004 | 0.915398 | 0.908463 | 0.89704 | 0.889467 | 0.877687 | 0.866697 | 0 | 0.009239 | 0.416057 | 93,415 | 1,829 | 120 | 51.074358 | 0.709729 | 0.032008 | 0 | 0.894103 | 0 | 0 | 0.309846 | 0.049471 | 0 | 0 | 0 | 0 | 0.029803 | 1 | 0.009512 | false | 0 | 0.003805 | 0 | 0.013951 | 0.017121 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8e6ed55d2a250e214a22a87b1299373cd6c466c0 | 194 | py | Python | tiledb/cloud/compute/__init__.py | TileDB-Inc/TileDB-Cloud-Py | e73f6e0ae3fc595218abd3be606c68f62ad5ac9b | [
"MIT"
] | 4 | 2019-12-04T23:19:35.000Z | 2021-06-21T21:42:53.000Z | tiledb/cloud/compute/__init__.py | TileDB-Inc/TileDB-Cloud-Py | e73f6e0ae3fc595218abd3be606c68f62ad5ac9b | [
"MIT"
] | 106 | 2019-11-07T22:40:43.000Z | 2022-03-29T22:31:18.000Z | tiledb/cloud/compute/__init__.py | TileDB-Inc/TileDB-Cloud-Py | e73f6e0ae3fc595218abd3be606c68f62ad5ac9b | [
"MIT"
] | 1 | 2020-10-04T18:54:37.000Z | 2020-10-04T18:54:37.000Z | from tiledb.cloud.compute.delayed import Delayed
from tiledb.cloud.compute.delayed import DelayedArrayUDF
from tiledb.cloud.compute.delayed import DelayedSQL
from tiledb.cloud.dag import Status
| 38.8 | 56 | 0.860825 | 27 | 194 | 6.185185 | 0.37037 | 0.239521 | 0.359281 | 0.39521 | 0.628743 | 0.628743 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 194 | 4 | 57 | 48.5 | 0.938202 | 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 | 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 | 8 |
8eb492ce87fbfbfa180a1591cf3abefc4581088c | 37,697 | py | Python | dibase/rpi/gpio/test/pingroup-platformtests.py | ralph-mcardell/dibase-rpi-python | 724c18d1f3c6745b3dddf582ea2272ed4e2df8ac | [
"BSD-3-Clause"
] | null | null | null | dibase/rpi/gpio/test/pingroup-platformtests.py | ralph-mcardell/dibase-rpi-python | 724c18d1f3c6745b3dddf582ea2272ed4e2df8ac | [
"BSD-3-Clause"
] | null | null | null | dibase/rpi/gpio/test/pingroup-platformtests.py | ralph-mcardell/dibase-rpi-python | 724c18d1f3c6745b3dddf582ea2272ed4e2df8ac | [
"BSD-3-Clause"
] | null | null | null | '''
Part of the dibase.rpi.gpio.test package.
Platform tests on read/write operations on GPIO pin group
IO type instances.
Developed by R.E. McArdell / Dibase Limited.
Copyright (c) 2012 Dibase Limited
License: dual: GPL or BSD.
'''
import collections
import time
import unittest
import sys
if... | 47.717722 | 123 | 0.703345 | 4,621 | 37,697 | 5.390175 | 0.053452 | 0.095712 | 0.100811 | 0.092822 | 0.96198 | 0.947888 | 0.938654 | 0.92388 | 0.889393 | 0.856994 | 0 | 0.017897 | 0.198132 | 37,697 | 789 | 124 | 47.7782 | 0.806107 | 0.027774 | 0 | 0.673846 | 0 | 0 | 0.013198 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 0 | null | null | 0 | 0.012308 | null | null | 0.010769 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
797c55f617cfad4667d533c21de754ba3cd474f5 | 177 | py | Python | src/utils/vgg_utils.py | shendu-sw/TFR-HSS-Benchmark | 3fbc93ff548d924050e2de5070007197f04be7f4 | [
"MIT"
] | 7 | 2021-08-24T10:01:28.000Z | 2021-12-29T07:13:17.000Z | src/utils/vgg_utils.py | idrl-lab/TFR-HSS-Benchmark | 3fbc93ff548d924050e2de5070007197f04be7f4 | [
"MIT"
] | null | null | null | src/utils/vgg_utils.py | idrl-lab/TFR-HSS-Benchmark | 3fbc93ff548d924050e2de5070007197f04be7f4 | [
"MIT"
] | 1 | 2021-08-25T01:38:39.000Z | 2021-08-25T01:38:39.000Z | # -*- encoding: utf-8 -*-
try:
from torch.hub import load_state_dict_from_url
except ImportError:
from torch.utils.model_zoo import load_url as load_state_dict_from_url
| 29.5 | 74 | 0.774011 | 29 | 177 | 4.37931 | 0.62069 | 0.141732 | 0.204724 | 0.267717 | 0.314961 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.146893 | 177 | 5 | 75 | 35.4 | 0.834437 | 0.129944 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.