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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
681cbe6af7712e289f1531589150a24624973b8f | 212 | py | Python | src/RGT/functional_tests/tests/__init__.py | danrg/RGT-tool | 115ba9a93686595699b3e182958921b3d60382b3 | [
"MIT"
] | 7 | 2015-02-09T12:12:04.000Z | 2019-03-31T08:23:36.000Z | src/RGT/functional_tests/tests/__init__.py | danrg/RGT-tool | 115ba9a93686595699b3e182958921b3d60382b3 | [
"MIT"
] | 3 | 2015-07-05T20:49:14.000Z | 2017-07-03T19:45:18.000Z | src/RGT/functional_tests/tests/__init__.py | danrg/RGT-tool | 115ba9a93686595699b3e182958921b3d60382b3 | [
"MIT"
] | 1 | 2021-03-23T14:01:22.000Z | 2021-03-23T14:01:22.000Z | from RGT.functional_tests.tests.testBase import *
from RGT.functional_tests.tests.testAuthentication import *
from RGT.functional_tests.tests.testGrid import *
from RGT.functional_tests.tests.testSession import * | 53 | 59 | 0.853774 | 28 | 212 | 6.321429 | 0.321429 | 0.158192 | 0.384181 | 0.497175 | 0.711864 | 0.559322 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070755 | 212 | 4 | 60 | 53 | 0.898477 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6821aeb97e99f48946b66121a4c75ea22a8ce1d6 | 136 | py | Python | scrape_it/run.py | erelin6613/scrape_it | 7d67c1ee93f1d265ff7e8fe3884e14bcbdad54f8 | [
"Apache-2.0"
] | 3 | 2020-07-11T20:32:37.000Z | 2020-12-04T22:30:26.000Z | scrape_it/run.py | erelin6613/scrape_it | 7d67c1ee93f1d265ff7e8fe3884e14bcbdad54f8 | [
"Apache-2.0"
] | 1 | 2020-02-19T18:14:03.000Z | 2020-02-19T18:14:03.000Z | scrape_it/run.py | erelin6613/scrape_it | 7d67c1ee93f1d265ff7e8fe3884e14bcbdad54f8 | [
"Apache-2.0"
] | 1 | 2020-02-19T09:57:14.000Z | 2020-02-19T09:57:14.000Z | from scrape_it import Scrape_it
scrape_it = Scrape_it(url='https://www.lyvly.uk', country='us', method='webdriver')
scrape_it.scrape() | 27.2 | 83 | 0.757353 | 22 | 136 | 4.454545 | 0.590909 | 0.408163 | 0.428571 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080882 | 136 | 5 | 84 | 27.2 | 0.784 | 0 | 0 | 0 | 0 | 0 | 0.226277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
68858d088fc7a6ea63fbef6222469792527ca7a2 | 112 | py | Python | base/openapi/third_part.py | AthenaExplorer/xm_s_explorer_v2 | 203f7b5d129552f5b7c977c4247d2060956f8add | [
"MIT"
] | null | null | null | base/openapi/third_part.py | AthenaExplorer/xm_s_explorer_v2 | 203f7b5d129552f5b7c977c4247d2060956f8add | [
"MIT"
] | null | null | null | base/openapi/third_part.py | AthenaExplorer/xm_s_explorer_v2 | 203f7b5d129552f5b7c977c4247d2060956f8add | [
"MIT"
] | 1 | 2022-03-02T19:20:52.000Z | 2022-03-02T19:20:52.000Z | from base.openapi.security import open_api
def woliwu_api(version):
return open_api(version, "third_xfl")
| 18.666667 | 42 | 0.776786 | 17 | 112 | 4.882353 | 0.764706 | 0.168675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133929 | 112 | 5 | 43 | 22.4 | 0.85567 | 0 | 0 | 0 | 0 | 0 | 0.080357 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d7a5938acd24a8a319a489e0616ef610d9d1a626 | 11,413 | py | Python | mushroom_rl_benchmark/builders/dqn_builder.py | jacarvalho/mushroom-rl-benchmark | 5bc2e9b1a12be33827d6edcd5c5ad49571e11275 | [
"MIT"
] | null | null | null | mushroom_rl_benchmark/builders/dqn_builder.py | jacarvalho/mushroom-rl-benchmark | 5bc2e9b1a12be33827d6edcd5c5ad49571e11275 | [
"MIT"
] | null | null | null | mushroom_rl_benchmark/builders/dqn_builder.py | jacarvalho/mushroom-rl-benchmark | 5bc2e9b1a12be33827d6edcd5c5ad49571e11275 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
from mushroom_rl.algorithms.value import DQN, DoubleDQN, AveragedDQN, DuelingDQN, MaxminDQN, CategoricalDQN
from mushroom_rl.approximators.parametric import TorchApproximator
from mushroom_rl.policy import EpsGreedy
from mus... | 40.471631 | 116 | 0.679138 | 1,353 | 11,413 | 5.415373 | 0.101256 | 0.115463 | 0.090078 | 0.024567 | 0.794732 | 0.781903 | 0.773168 | 0.773168 | 0.765388 | 0.765388 | 0 | 0.029929 | 0.227109 | 11,413 | 281 | 117 | 40.615658 | 0.800703 | 0.028564 | 0 | 0.703349 | 0 | 0 | 0.035825 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08134 | false | 0 | 0.052632 | 0 | 0.239234 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d7ea889254254d6d9f427af624bb95d916fb7f77 | 37 | py | Python | weis/inputs/__init__.py | ebranlard/WEIS | 59851a0c3b2e801bd413ca4887ab4b78e58f928a | [
"Apache-2.0"
] | 26 | 2020-08-25T16:16:21.000Z | 2022-03-10T08:23:57.000Z | weis/inputs/__init__.py | ebranlard/WEIS | 59851a0c3b2e801bd413ca4887ab4b78e58f928a | [
"Apache-2.0"
] | 90 | 2020-08-24T23:02:47.000Z | 2022-03-29T13:48:15.000Z | weis/inputs/__init__.py | ebranlard/WEIS | 59851a0c3b2e801bd413ca4887ab4b78e58f928a | [
"Apache-2.0"
] | 25 | 2020-08-24T19:28:24.000Z | 2022-01-27T21:17:37.000Z | from weis.inputs.validation import *
| 18.5 | 36 | 0.810811 | 5 | 37 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d7f321c6d7d59001f20b1fc87d0f63b8941f999a | 3,982 | py | Python | tests/test_tar.py | pvizeli/securetar | 0f1405a6ab104e59dcc9af5bd589f13215fae305 | [
"Apache-2.0"
] | 1 | 2022-02-17T17:44:35.000Z | 2022-02-17T17:44:35.000Z | tests/test_tar.py | pvizeli/securetar | 0f1405a6ab104e59dcc9af5bd589f13215fae305 | [
"Apache-2.0"
] | null | null | null | tests/test_tar.py | pvizeli/securetar | 0f1405a6ab104e59dcc9af5bd589f13215fae305 | [
"Apache-2.0"
] | null | null | null | """Test Tarfile functions."""
import os
from pathlib import Path, PurePath
from dataclasses import dataclass
import shutil
from securetar import (
SecureTarFile,
_is_excluded_by_filter,
atomic_contents_add,
secure_path,
)
@dataclass
class TarInfo:
"""Fake TarInfo."""
name: str
def test_sec... | 27.462069 | 77 | 0.637117 | 531 | 3,982 | 4.521657 | 0.20339 | 0.046647 | 0.054144 | 0.069971 | 0.807164 | 0.771345 | 0.771345 | 0.747189 | 0.747189 | 0.722199 | 0 | 0.011021 | 0.225264 | 3,982 | 144 | 78 | 27.652778 | 0.767261 | 0.109242 | 0 | 0.525253 | 0 | 0 | 0.120034 | 0.006288 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.060606 | false | 0 | 0.050505 | 0 | 0.131313 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cc0d90f2da0de21f67b444f4b8653962c627f114 | 19,771 | py | Python | suites/DatabaseApi/AuthorityValidation/GetRequiredFees.py | dbulka/pytests | d2658cff3832293cb1b8abcd970f7df83a2b5035 | [
"MIT"
] | null | null | null | suites/DatabaseApi/AuthorityValidation/GetRequiredFees.py | dbulka/pytests | d2658cff3832293cb1b8abcd970f7df83a2b5035 | [
"MIT"
] | null | null | null | suites/DatabaseApi/AuthorityValidation/GetRequiredFees.py | dbulka/pytests | d2658cff3832293cb1b8abcd970f7df83a2b5035 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import lemoncheesecake.api as lcc
from echopy.echoapi.ws.exceptions import RPCError
from lemoncheesecake.matching import check_that, is_not_none, check_that_in, is_integer, has_entry, is_, is_dict, \
require_that_in
from common.base_test import BaseTest
SUITE = {
"description": "Method... | 54.465565 | 118 | 0.644479 | 2,276 | 19,771 | 5.231986 | 0.08304 | 0.042324 | 0.054669 | 0.062983 | 0.842459 | 0.787622 | 0.760917 | 0.743534 | 0.734716 | 0.717165 | 0 | 0.006139 | 0.25851 | 19,771 | 362 | 119 | 54.616022 | 0.806139 | 0.002731 | 0 | 0.562112 | 0 | 0 | 0.228924 | 0.061631 | 0 | 0 | 0 | 0.002762 | 0 | 1 | 0.068323 | false | 0 | 0.012422 | 0 | 0.093168 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
044a72c970a32efaea45e253de109911405bf2e1 | 254 | py | Python | appdaemontestframework/__init__.py | bachya/Appdaemon-Test-Framework | 581d692ce13edae91a7579ccc06b7d0a7fbbd55d | [
"MIT"
] | null | null | null | appdaemontestframework/__init__.py | bachya/Appdaemon-Test-Framework | 581d692ce13edae91a7579ccc06b7d0a7fbbd55d | [
"MIT"
] | null | null | null | appdaemontestframework/__init__.py | bachya/Appdaemon-Test-Framework | 581d692ce13edae91a7579ccc06b7d0a7fbbd55d | [
"MIT"
] | null | null | null | from appdaemontestframework.assert_that import AssertThatWrapper
from appdaemontestframework.given_that import GivenThatWrapper
from appdaemontestframework.time_travel import TimeTravelWrapper
from appdaemontestframework.init_framework import patch_hass
| 50.8 | 64 | 0.92126 | 25 | 254 | 9.16 | 0.6 | 0.454148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 254 | 4 | 65 | 63.5 | 0.962185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
044b020bd6412dc1c26f2d0471f7186d526b872c | 126 | py | Python | testproject/testapp/admin.py | vThaian/django-trench | d59f9fb8fbf2dc86f44923adf68bd408a8ed528d | [
"MIT"
] | null | null | null | testproject/testapp/admin.py | vThaian/django-trench | d59f9fb8fbf2dc86f44923adf68bd408a8ed528d | [
"MIT"
] | 10 | 2020-02-18T00:37:32.000Z | 2022-03-12T00:17:58.000Z | testproject/testapp/admin.py | vThaian/django-trench | d59f9fb8fbf2dc86f44923adf68bd408a8ed528d | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import User
@admin.register(User)
class UserAdmin(admin.ModelAdmin):
pass
| 15.75 | 34 | 0.777778 | 17 | 126 | 5.764706 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 126 | 7 | 35 | 18 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0459932aefe0daa5da28153c310326a8488c79b2 | 30 | py | Python | data_parsers/__init__.py | ctaylor4874/python_sqs_data_scraper | 53aed65881285914efa9a1c97da60da1142afd88 | [
"MIT"
] | null | null | null | data_parsers/__init__.py | ctaylor4874/python_sqs_data_scraper | 53aed65881285914efa9a1c97da60da1142afd88 | [
"MIT"
] | null | null | null | data_parsers/__init__.py | ctaylor4874/python_sqs_data_scraper | 53aed65881285914efa9a1c97da60da1142afd88 | [
"MIT"
] | null | null | null | from .helper_classes import *
| 15 | 29 | 0.8 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
045db0656e33c13868978df5cf982b07a1a9f2e5 | 250 | py | Python | src/system/Reporter.py | CaC-Grupo-9/backend | 107067d8bc13ee2ba28c9c1a8bd0b19a4cf55277 | [
"MIT"
] | 1 | 2021-12-03T16:10:27.000Z | 2021-12-03T16:10:27.000Z | src/system/Reporter.py | CaC-Grupo-9/backend | 107067d8bc13ee2ba28c9c1a8bd0b19a4cf55277 | [
"MIT"
] | null | null | null | src/system/Reporter.py | CaC-Grupo-9/backend | 107067d8bc13ee2ba28c9c1a8bd0b19a4cf55277 | [
"MIT"
] | 5 | 2021-11-15T23:30:05.000Z | 2021-11-30T13:10:59.000Z | from User import User
class Reporter(User):
def __init__(self, username, password, email ) -> None:
super().__init__(username, password, email)
def addNewItem(self, contenedorToWatch):
self.contenedor.add(contenedorToWatch) | 27.777778 | 59 | 0.708 | 27 | 250 | 6.259259 | 0.62963 | 0.189349 | 0.248521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188 | 250 | 9 | 60 | 27.777778 | 0.832512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
f0f7d062b241530dc03671bd6bb398eb14786d9a | 18 | py | Python | tests/keras_gcnn/layers/test_pooling.py | charleswg/keras-gcnn | 245579733cf026c599a2a71b9fdd2e72a240a91c | [
"MIT"
] | 89 | 2018-06-10T09:19:56.000Z | 2022-03-28T22:27:38.000Z | tests/keras_gcnn/layers/test_pooling.py | charleswg/keras-gcnn | 245579733cf026c599a2a71b9fdd2e72a240a91c | [
"MIT"
] | 7 | 2018-10-18T21:31:26.000Z | 2022-01-19T17:11:15.000Z | tests/keras_gcnn/layers/test_pooling.py | charleswg/keras-gcnn | 245579733cf026c599a2a71b9fdd2e72a240a91c | [
"MIT"
] | 42 | 2018-06-13T00:17:41.000Z | 2022-03-01T16:56:46.000Z | # TODO: implement
| 9 | 17 | 0.722222 | 2 | 18 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9bd01598e9479273c3475893c2e6c62c9243b193 | 113 | py | Python | Code/Day 10/demo02.py | AndyChiangSH/2021-IT-30days | d001523f1ed80d765fb92c893e3f936010a96c30 | [
"MIT"
] | 8 | 2021-10-19T03:35:37.000Z | 2022-03-27T09:58:19.000Z | Code/Day 10/demo02.py | AndyChiangSH/2021-IT-30days | d001523f1ed80d765fb92c893e3f936010a96c30 | [
"MIT"
] | null | null | null | Code/Day 10/demo02.py | AndyChiangSH/2021-IT-30days | d001523f1ed80d765fb92c893e3f936010a96c30 | [
"MIT"
] | null | null | null | candyCan = ["apple", "strawberry", "grape", "mango"]
print(candyCan[1])
print(candyCan[-1])
print(candyCan[1:3]) | 22.6 | 52 | 0.672566 | 15 | 113 | 5.066667 | 0.533333 | 0.513158 | 0.552632 | 0.5 | 0.552632 | 0.552632 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.079646 | 113 | 5 | 53 | 22.6 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.219298 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
aca1a86cbe1d46554c13e7f38ffe503dfe830dd7 | 7,564 | py | Python | firmware/test_doorsystem.py | jonnor/dlock-oslo | 1c37dd28029ade3f9ae215a4c8720712316b0c68 | [
"MIT"
] | 5 | 2017-12-14T08:22:00.000Z | 2020-12-31T21:08:44.000Z | firmware/test_doorsystem.py | jonnor/dlock-oslo | 1c37dd28029ade3f9ae215a4c8720712316b0c68 | [
"MIT"
] | 9 | 2018-07-01T12:49:54.000Z | 2021-02-02T21:48:56.000Z | firmware/test_doorsystem.py | bitraf/UnlockOslo | c4bdcd60e883c104cb69545632ce34e18282cceb | [
"MIT"
] | 1 | 2021-08-02T14:26:08.000Z | 2021-08-02T14:26:08.000Z | """Test door system logic"""
import dlockoslo
import pytest
def test_compound():
states = dlockoslo.States()
assert isinstance(states.lock, dlockoslo.Locked)
inputs = dict(
openbutton_outside=False,
openbutton_inside=False,
mqtt_connected=True,
mqtt_request=False,
... | 32.886957 | 75 | 0.689318 | 867 | 7,564 | 5.858131 | 0.106113 | 0.171294 | 0.091357 | 0.115771 | 0.834219 | 0.792479 | 0.786178 | 0.767474 | 0.73735 | 0.730853 | 0 | 0.005747 | 0.19487 | 7,564 | 229 | 76 | 33.030568 | 0.828243 | 0.062665 | 0 | 0.655738 | 0 | 0 | 0.086563 | 0 | 0 | 0 | 0 | 0 | 0.289617 | 1 | 0.076503 | false | 0 | 0.010929 | 0 | 0.087432 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
acd2d57bd66b67d5fd86bca6d40b6e7e60291cc2 | 5,987 | py | Python | tests/test_engine/test_queries/test_queryop_comparsion_in.py | jqueguiner/montydb | 55bb3099fe110dbcd1ee24a71479fb0861d993a4 | [
"BSD-3-Clause"
] | null | null | null | tests/test_engine/test_queries/test_queryop_comparsion_in.py | jqueguiner/montydb | 55bb3099fe110dbcd1ee24a71479fb0861d993a4 | [
"BSD-3-Clause"
] | null | null | null | tests/test_engine/test_queries/test_queryop_comparsion_in.py | jqueguiner/montydb | 55bb3099fe110dbcd1ee24a71479fb0861d993a4 | [
"BSD-3-Clause"
] | null | null | null |
import pytest
import re
from montydb.errors import OperationFailure
from montydb.types import PY3, bson_ as bson
from ...conftest import skip_if_no_bson
def count_documents(cursor, spec=None):
return cursor.collection.count_documents(spec or {})
def test_qop_in_1(monty_find, mongo_find):
docs = [
... | 24.945833 | 75 | 0.594121 | 886 | 5,987 | 3.732506 | 0.089165 | 0.092531 | 0.106138 | 0.145147 | 0.882673 | 0.866042 | 0.82915 | 0.776837 | 0.76202 | 0.76202 | 0 | 0.018575 | 0.235677 | 5,987 | 239 | 76 | 25.050209 | 0.704108 | 0.012026 | 0 | 0.608187 | 0 | 0 | 0.025381 | 0 | 0 | 0 | 0 | 0 | 0.216374 | 1 | 0.093567 | false | 0 | 0.02924 | 0.005848 | 0.128655 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
acd8ddcc16b8fed04f7f0d344dec47c115fb78ba | 7,816 | py | Python | tests/test_initialise_problem.py | EmilianoMarchese/SurpriseMeMore | 821c7f726670b0f829dda5f4f8f28c86d712795a | [
"MIT"
] | 4 | 2021-06-10T20:37:41.000Z | 2021-11-10T09:36:54.000Z | tests/test_initialise_problem.py | EmilianoMarchese/SurpriseMeMore | 821c7f726670b0f829dda5f4f8f28c86d712795a | [
"MIT"
] | 2 | 2021-06-15T12:02:58.000Z | 2022-01-24T23:06:57.000Z | tests/test_initialise_problem.py | EmilianoMarchese/SurpriseMeMore | 821c7f726670b0f829dda5f4f8f28c86d712795a | [
"MIT"
] | 1 | 2021-06-15T12:23:13.000Z | 2021-06-15T12:23:13.000Z | # Test Initialize Problem instances for the two Graph classes
import surprisemes as surp
import networkx as nx
import numpy as np
np.random.seed(22)
adjacency_und = nx.to_numpy_array(nx.karate_club_graph())
init_guess_un = np.array([0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, ... | 36.018433 | 79 | 0.604657 | 988 | 7,816 | 4.477733 | 0.1083 | 0.027577 | 0.040009 | 0.051537 | 0.848553 | 0.841094 | 0.818264 | 0.818264 | 0.789557 | 0.789557 | 0 | 0.021277 | 0.302457 | 7,816 | 216 | 80 | 36.185185 | 0.790169 | 0.023797 | 0 | 0.654412 | 0 | 0 | 0.026506 | 0 | 0 | 0 | 0 | 0.00463 | 0.147059 | 1 | 0.125 | false | 0 | 0.022059 | 0 | 0.161765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
acf56b6c87ca2f0e4c97b1c6ff7b269504d8bf4f | 29 | py | Python | main.py | carlm125/test | 1dfd0816adcd2fe78ad05dc50a78637fc8bd61b6 | [
"MIT"
] | null | null | null | main.py | carlm125/test | 1dfd0816adcd2fe78ad05dc50a78637fc8bd61b6 | [
"MIT"
] | null | null | null | main.py | carlm125/test | 1dfd0816adcd2fe78ad05dc50a78637fc8bd61b6 | [
"MIT"
] | null | null | null | import login_gui
| 2.071429 | 16 | 0.517241 | 3 | 29 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.482759 | 29 | 13 | 17 | 2.230769 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4a0cb4907ac2b9fc8982109a0bbbd790a3cbab25 | 3,530 | py | Python | vb_simulation_pkgs/pkg_vb_sim/scripts/node_merge_tf_tress.py | 1arshan/Eyantra_Virgi-bot | 30ebe99fec6a0d4767fe94468b21bc00091bc527 | [
"MIT"
] | 1 | 2021-09-09T04:41:28.000Z | 2021-09-09T04:41:28.000Z | vb_simulation_pkgs/pkg_vb_sim/scripts/node_merge_tf_tress.py | 1arshan/Eyantra_Virgi-bot | 30ebe99fec6a0d4767fe94468b21bc00091bc527 | [
"MIT"
] | null | null | null | vb_simulation_pkgs/pkg_vb_sim/scripts/node_merge_tf_tress.py | 1arshan/Eyantra_Virgi-bot | 30ebe99fec6a0d4767fe94468b21bc00091bc527 | [
"MIT"
] | null | null | null | #!/usr/bin/env python2.7
import rospy
# Because of transformations
import tf_conversions
import tf2_ros
import geometry_msgs.msg
import turtlesim.msg
def handle_turtle_pose(msg, turtlename):
br = tf2_ros.TransformBroadcaster()
t = geometry_msgs.msg.TransformStamped()
if __name__ == '__main__':
rosp... | 31.238938 | 75 | 0.620397 | 511 | 3,530 | 4.148728 | 0.131115 | 0.198113 | 0.124528 | 0.084906 | 0.875472 | 0.875472 | 0.875472 | 0.875472 | 0.875472 | 0.818868 | 0 | 0.035741 | 0.239093 | 3,530 | 112 | 76 | 31.517857 | 0.753537 | 0.466289 | 0 | 0.615385 | 0 | 0 | 0.051799 | 0.014177 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0.128205 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a10bb921a624f8d331590a97ace6627aae79f17 | 103 | py | Python | Grid/__init__.py | Jack12xl/a-toy-fluid-engine | 45ce4007ce6e804dcfdee8da307e131c9c3e7c7d | [
"MIT"
] | 21 | 2020-09-17T10:51:55.000Z | 2022-03-15T20:27:00.000Z | Grid/__init__.py | Jack12xl/a-toy-fluid-engine | 45ce4007ce6e804dcfdee8da307e131c9c3e7c7d | [
"MIT"
] | 8 | 2020-09-18T08:52:34.000Z | 2021-02-07T09:27:49.000Z | Grid/__init__.py | Jack12xl/myFluid | 45ce4007ce6e804dcfdee8da307e131c9c3e7c7d | [
"MIT"
] | 1 | 2020-09-20T11:10:35.000Z | 2020-09-20T11:10:35.000Z | from .Grid import GRIDTYPE, Grid
from .FaceGrid import *
from .CellGrid import *
from .Sampler import * | 25.75 | 32 | 0.76699 | 14 | 103 | 5.642857 | 0.5 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 103 | 4 | 33 | 25.75 | 0.908046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c57c32779f19fc97f178f698035e40c231817592 | 253 | py | Python | sfcsmCtrl/SfcsmError.py | chenhui0228/sfcsm | ef9adbc7d2ec8d97cee053678002b65ca41b804b | [
"Apache-2.0"
] | 1 | 2018-06-04T06:26:27.000Z | 2018-06-04T06:26:27.000Z | sfcsmCtrl/SfcsmError.py | chenhui0228/sfcsm | ef9adbc7d2ec8d97cee053678002b65ca41b804b | [
"Apache-2.0"
] | null | null | null | sfcsmCtrl/SfcsmError.py | chenhui0228/sfcsm | ef9adbc7d2ec8d97cee053678002b65ca41b804b | [
"Apache-2.0"
] | null | null | null | __author__ = 'arid6405'
class SfcsmError(Exception):
def __init__(self, status, message):
self.status = status
self.message = message
def __str__(self):
return "Error {}: {} ".format(self.status, self.message) | 25.3 | 64 | 0.616601 | 26 | 253 | 5.538462 | 0.538462 | 0.208333 | 0.236111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02139 | 0.26087 | 253 | 10 | 64 | 25.3 | 0.748663 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c5916359e5d72431df2b5c9e9826c3218944c704 | 253 | py | Python | Problems/Dynamic Programming/Easy/MaxGeneratedArray/test_max_generated_array.py | dolong2110/Algorithm-By-Problems-Python | 31ecc7367aaabdd2b0ac0af7f63ca5796d70c730 | [
"MIT"
] | 1 | 2021-08-16T14:52:05.000Z | 2021-08-16T14:52:05.000Z | Problems/Dynamic Programming/Easy/MaxGeneratedArray/test_max_generated_array.py | dolong2110/Algorithm-By-Problems-Python | 31ecc7367aaabdd2b0ac0af7f63ca5796d70c730 | [
"MIT"
] | null | null | null | Problems/Dynamic Programming/Easy/MaxGeneratedArray/test_max_generated_array.py | dolong2110/Algorithm-By-Problems-Python | 31ecc7367aaabdd2b0ac0af7f63ca5796d70c730 | [
"MIT"
] | null | null | null | from unittest import TestCase
from max_generated_array import getMaximumGenerated
class Test(TestCase):
def test_get_maximum_generated(self):
self.assertTrue(getMaximumGenerated(7) == 3)
self.assertTrue(getMaximumGenerated(2) == 1)
| 31.625 | 52 | 0.766798 | 29 | 253 | 6.517241 | 0.655172 | 0.148148 | 0.349206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0.15415 | 253 | 7 | 53 | 36.142857 | 0.864486 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c59b83706bd4ad8d76ed1a494bda30e85b29587e | 196,193 | py | Python | variants/tests/test_views.py | ahujameg/varfish-server | f18603663f476dfe98b41c66aa867306b3a682ca | [
"MIT"
] | 14 | 2019-09-30T12:44:17.000Z | 2022-02-04T14:45:16.000Z | variants/tests/test_views.py | ahujameg/varfish-server | f18603663f476dfe98b41c66aa867306b3a682ca | [
"MIT"
] | 244 | 2021-03-26T15:13:15.000Z | 2022-03-31T15:48:04.000Z | variants/tests/test_views.py | ahujameg/varfish-server | f18603663f476dfe98b41c66aa867306b3a682ca | [
"MIT"
] | 8 | 2020-05-19T21:55:13.000Z | 2022-03-31T07:02:58.000Z | """Tests for the filter view"""
import contextlib
import itertools
import json
import requests_mock
from django.urls import reverse
from projectroles.constants import SODAR_CONSTANTS
from projectroles.templatetags.projectroles_common_tags import site_version
from projectroles.tests.test_models import RoleAssignmentMix... | 43.646941 | 190 | 0.55661 | 19,342 | 196,193 | 5.474046 | 0.04984 | 0.038846 | 0.032754 | 0.050718 | 0.861077 | 0.83347 | 0.812201 | 0.794303 | 0.773373 | 0.751122 | 0 | 0.014302 | 0.326801 | 196,193 | 4,494 | 191 | 43.656653 | 0.787344 | 0.030546 | 0 | 0.688148 | 0 | 0.009856 | 0.113452 | 0.047794 | 0 | 0 | 0 | 0.000223 | 0.141521 | 1 | 0.049785 | false | 0.000505 | 0.008845 | 0.000505 | 0.073035 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c5d434f5f4114b85934c62ede944f731670e7dec | 334 | py | Python | exemplos/clp-aula-3-tipos-de-dados/tipos-primitivos/PythonTypes/main.py | hugodepaula/linguagens-de-programacao | e080a3af30097bbec1795ba17f4fc51790a67d97 | [
"CC0-1.0"
] | 1 | 2022-03-15T10:23:13.000Z | 2022-03-15T10:23:13.000Z | exemplos/clp-aula-3-tipos-de-dados/tipos-primitivos/PythonTypes/main.py | hugodepaula/linguagens-de-programacao | e080a3af30097bbec1795ba17f4fc51790a67d97 | [
"CC0-1.0"
] | null | null | null | exemplos/clp-aula-3-tipos-de-dados/tipos-primitivos/PythonTypes/main.py | hugodepaula/linguagens-de-programacao | e080a3af30097bbec1795ba17f4fc51790a67d97 | [
"CC0-1.0"
] | null | null | null |
def inc(x):
return x+1
print(inc(5))
print(type(inc))
print(type(inc(5)))
print(type("inc(5)"))
print(type(eval ("inc(5)" )))
print(type((lambda x: x*2)))
print(type((lambda x: x*2) (4)))
def f(a, b): return a + b
def inc(x): return x + 1
def double(x): return x*2
print(f(1, 2))
print(f("cat","dog"))
print(f(in... | 15.181818 | 32 | 0.592814 | 69 | 334 | 2.869565 | 0.26087 | 0.272727 | 0.181818 | 0.262626 | 0.590909 | 0.510101 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.149701 | 334 | 21 | 33 | 15.904762 | 0.65493 | 0 | 0 | 0 | 0 | 0 | 0.054381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0 | 0.266667 | 0.333333 | 0.666667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
c5d77702c999ed3815f4fd06de2f147d632d2d77 | 35 | py | Python | binance_api/__init__.py | quitegreensky/binance_api_sample | 79af7ab0f0f27741a778dc46e0a63860a6af1c03 | [
"MIT"
] | null | null | null | binance_api/__init__.py | quitegreensky/binance_api_sample | 79af7ab0f0f27741a778dc46e0a63860a6af1c03 | [
"MIT"
] | null | null | null | binance_api/__init__.py | quitegreensky/binance_api_sample | 79af7ab0f0f27741a778dc46e0a63860a6af1c03 | [
"MIT"
] | null | null | null | from .binance_api import BinanceAPI | 35 | 35 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c5e68c20fdb2d45e88391e325a6ad0cf62d646d9 | 35 | py | Python | sam2gfa/__init__.py | hamzakhanvit/sam2gfa | 222752a02143567c3ac4b7df827cdb74ebebffae | [
"MIT"
] | null | null | null | sam2gfa/__init__.py | hamzakhanvit/sam2gfa | 222752a02143567c3ac4b7df827cdb74ebebffae | [
"MIT"
] | null | null | null | sam2gfa/__init__.py | hamzakhanvit/sam2gfa | 222752a02143567c3ac4b7df827cdb74ebebffae | [
"MIT"
] | null | null | null | from .sam_parser import sam_parser
| 17.5 | 34 | 0.857143 | 6 | 35 | 4.666667 | 0.666667 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c5ebc35b177943b9b42405786527baa2c2afc105 | 23,615 | py | Python | Development/2016/hydro_models_all.py | LeahJB/Simple_P_model | 13898e8c11a4a3313e1bc3ac173710d14a46ce7e | [
"MIT"
] | 10 | 2016-07-07T18:06:36.000Z | 2020-09-23T16:21:47.000Z | Development/2016/hydro_models_all.py | LeahJB/Simple_P_model | 13898e8c11a4a3313e1bc3ac173710d14a46ce7e | [
"MIT"
] | 25 | 2018-10-23T10:31:14.000Z | 2019-05-09T07:57:06.000Z | Development/2016/hydro_models_all.py | LeahJB/Simple_P_model | 13898e8c11a4a3313e1bc3ac173710d14a46ce7e | [
"MIT"
] | 2 | 2018-04-19T19:49:16.000Z | 2020-05-06T08:10:25.000Z | """
Created on Fri Nov 06 09:56:26 2015
@author: lj40184
List of hydrology model functions tried and tested as part of water quality
model development
"""
# Import modules
import numpy as np, pandas as pd
from scipy.integrate import odeint
#%% (standard cell separator)
# VERSION 1: two linear reservoirs (soil and g... | 36.219325 | 118 | 0.550116 | 3,578 | 23,615 | 3.510341 | 0.118222 | 0.013933 | 0.015525 | 0.008599 | 0.752707 | 0.741083 | 0.719984 | 0.713535 | 0.711306 | 0.711306 | 0 | 0.021624 | 0.310692 | 23,615 | 652 | 119 | 36.219325 | 0.749969 | 0.500614 | 0 | 0.788793 | 0 | 0 | 0.05095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043103 | false | 0 | 0.008621 | 0 | 0.094828 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
68167b1761c0a907ed448d044bc89d67dc6803ca | 156 | py | Python | daftlistings/exceptions.py | iandioch/daftlistings | 729d0f460296f0a7d11d5776c97190bb9eee7e3d | [
"MIT"
] | null | null | null | daftlistings/exceptions.py | iandioch/daftlistings | 729d0f460296f0a7d11d5776c97190bb9eee7e3d | [
"MIT"
] | null | null | null | daftlistings/exceptions.py | iandioch/daftlistings | 729d0f460296f0a7d11d5776c97190bb9eee7e3d | [
"MIT"
] | null | null | null | class DaftException(Exception):
def __init__(self, reason):
self.reason = reason
def __str__(self):
return "Error: " + self.reason
| 22.285714 | 38 | 0.634615 | 17 | 156 | 5.352941 | 0.588235 | 0.32967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25641 | 156 | 6 | 39 | 26 | 0.784483 | 0 | 0 | 0 | 0 | 0 | 0.044872 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a83bde4ee07f24a637d6918a133aca8ab5d48ba6 | 51 | py | Python | src/consNLP/trainer/__init__.py | victor7246/consNLP | b243bb3ed6edc4b68a4cdbaf5503107a1864ad7e | [
"MIT"
] | 2 | 2020-08-11T12:46:48.000Z | 2021-01-08T16:18:26.000Z | src/consNLP/trainer/__init__.py | victor7246/consNLP | b243bb3ed6edc4b68a4cdbaf5503107a1864ad7e | [
"MIT"
] | null | null | null | src/consNLP/trainer/__init__.py | victor7246/consNLP | b243bb3ed6edc4b68a4cdbaf5503107a1864ad7e | [
"MIT"
] | null | null | null | from .trainer_utils import *
from .trainer import * | 25.5 | 28 | 0.784314 | 7 | 51 | 5.571429 | 0.571429 | 0.564103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 51 | 2 | 29 | 25.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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a87abfd8af72d6c4a01af87a41dd5163706f71f0 | 96 | py | Python | bioimageio/spec/model/schema.py | esgomezm/spec-bioimage-io | 2bc3f8177d5346ac94bf8a771ed619e076c6e935 | [
"MIT"
] | null | null | null | bioimageio/spec/model/schema.py | esgomezm/spec-bioimage-io | 2bc3f8177d5346ac94bf8a771ed619e076c6e935 | [
"MIT"
] | null | null | null | bioimageio/spec/model/schema.py | esgomezm/spec-bioimage-io | 2bc3f8177d5346ac94bf8a771ed619e076c6e935 | [
"MIT"
] | null | null | null | # Auto-generated by generate_passthrough_modules.py - do not modify
from .v0_3.schema import *
| 24 | 67 | 0.791667 | 15 | 96 | 4.866667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0.135417 | 96 | 3 | 68 | 32 | 0.855422 | 0.677083 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76973d9b2ad752e46152f1a5f8e0a0ee3bdc243c | 74 | py | Python | toontown/town/DGStreet.py | TrueBlueDogemon/Toontown | ebed7fc3f2ef06a529cf02eda7ab46361aceef9d | [
"MIT"
] | 1 | 2021-02-25T06:22:49.000Z | 2021-02-25T06:22:49.000Z | toontown/town/DGStreet.py | TrueBlueDogemon/Toontown | ebed7fc3f2ef06a529cf02eda7ab46361aceef9d | [
"MIT"
] | null | null | null | toontown/town/DGStreet.py | TrueBlueDogemon/Toontown | ebed7fc3f2ef06a529cf02eda7ab46361aceef9d | [
"MIT"
] | 2 | 2020-11-08T03:38:35.000Z | 2021-09-02T07:03:47.000Z | from toontown.town import Street
class DGStreet(Street.Street):
pass | 14.8 | 32 | 0.77027 | 10 | 74 | 5.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 5 | 33 | 14.8 | 0.919355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
76980a470b86dab0dbb57f8393067667c4eff20a | 223 | py | Python | src/watchpig/output.py | Heisenberg2017/watchpig | cb59692e2c7e52053d8777fc8c5c2506a1c4e3fe | [
"MIT"
] | null | null | null | src/watchpig/output.py | Heisenberg2017/watchpig | cb59692e2c7e52053d8777fc8c5c2506a1c4e3fe | [
"MIT"
] | null | null | null | src/watchpig/output.py | Heisenberg2017/watchpig | cb59692e2c7e52053d8777fc8c5c2506a1c4e3fe | [
"MIT"
] | null | null | null |
class OutputBase:
def __init__(self):
self.output_buffer = []
def __call__(self, obj):
self.write(obj)
def write(self, obj):
pass
def clear(self):
self.output_buffer = []
| 15.928571 | 31 | 0.560538 | 26 | 223 | 4.423077 | 0.461538 | 0.13913 | 0.243478 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32287 | 223 | 13 | 32 | 17.153846 | 0.761589 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.111111 | 0 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
76c2949d4d8d144250eee616cf56e0ff42f04bfc | 110 | py | Python | pysparkdq/exceptions.py | olivermeyer/pyspark-dq | e09771ae5d633a8dddb4a9c4463eed7029aad7ae | [
"MIT"
] | null | null | null | pysparkdq/exceptions.py | olivermeyer/pyspark-dq | e09771ae5d633a8dddb4a9c4463eed7029aad7ae | [
"MIT"
] | null | null | null | pysparkdq/exceptions.py | olivermeyer/pyspark-dq | e09771ae5d633a8dddb4a9c4463eed7029aad7ae | [
"MIT"
] | 1 | 2021-09-23T10:25:27.000Z | 2021-09-23T10:25:27.000Z |
class InvalidDataFrameException(Exception):
pass
class InvalidCheckTypeException(Exception):
pass
| 12.222222 | 43 | 0.781818 | 8 | 110 | 10.75 | 0.625 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 110 | 8 | 44 | 13.75 | 0.934783 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4f148a8f7f1b933eaabf67ecb37a8a3def801ca4 | 1,386 | py | Python | L1TriggerConfig/L1GtConfigProducers/python/l1GtTriggerMaskTechTrig_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | L1TriggerConfig/L1GtConfigProducers/python/l1GtTriggerMaskTechTrig_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | L1TriggerConfig/L1GtConfigProducers/python/l1GtTriggerMaskTechTrig_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
# trigger mask: block the corresponding technical trigger if bit value is 1
# for the respective DAQ partition
l1GtTriggerMaskTechTrig = cms.ESProducer("L1GtTriggerMaskTechTrigTrivialProducer",
TriggerMask = cms.vuint32(
0x00,
0x00,
... | 17.769231 | 82 | 0.342713 | 94 | 1,386 | 5.053191 | 0.287234 | 1.061053 | 1.566316 | 2.054737 | 0.538947 | 0.538947 | 0.538947 | 0.538947 | 0.538947 | 0.538947 | 0 | 0.355596 | 0.600289 | 1,386 | 77 | 83 | 18 | 0.501805 | 0.077201 | 0 | 0.913043 | 0 | 0 | 0.029827 | 0.029827 | 0 | 0 | 0.200942 | 0 | 0 | 1 | 0 | false | 0 | 0.014493 | 0 | 0.014493 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 6 |
4f3c09ac9da25c01868d2e1cacca993441632044 | 67 | py | Python | imported.py | pearmaster/python-test-code | 274c9463f00cf71a49ffa40879bedcd57bc5d4c8 | [
"MIT"
] | null | null | null | imported.py | pearmaster/python-test-code | 274c9463f00cf71a49ffa40879bedcd57bc5d4c8 | [
"MIT"
] | null | null | null | imported.py | pearmaster/python-test-code | 274c9463f00cf71a49ffa40879bedcd57bc5d4c8 | [
"MIT"
] | null | null | null | import sys
def foo():
print(sys.modules['__main__'].__file__)
| 13.4 | 43 | 0.686567 | 9 | 67 | 4.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 67 | 4 | 44 | 16.75 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f4f3dde4c7ff99b7c59e06136c341d8eaa7e9a2 | 88 | py | Python | app/datum/terms.py | niyoufa/tnd_bsp | a5d44b2c1cbebbb5c5849933235809d515bd1ef8 | [
"BSD-3-Clause"
] | 320 | 2015-01-05T07:44:21.000Z | 2022-03-15T02:58:51.000Z | app/datum/terms.py | niyoufa/tnd_bsp | a5d44b2c1cbebbb5c5849933235809d515bd1ef8 | [
"BSD-3-Clause"
] | 10 | 2015-09-06T02:26:50.000Z | 2020-08-28T14:34:31.000Z | app/datum/terms.py | niyoufa/tnd_bsp | a5d44b2c1cbebbb5c5849933235809d515bd1ef8 | [
"BSD-3-Clause"
] | 175 | 2015-01-01T15:32:50.000Z | 2022-02-24T04:27:52.000Z | # -*- coding: UTF-8 -*-
from lib.datum import Datum
class TermsDatum(Datum):
pass
| 12.571429 | 27 | 0.647727 | 12 | 88 | 4.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.204545 | 88 | 6 | 28 | 14.666667 | 0.8 | 0.238636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4f66d3fcbe996e5d493e01f74f09a9ae62b7e3ce | 25 | py | Python | magicwand-data-generator/magicwand/magicwand_components/mw_global/__init__.py | gregpaton08/magicwand-datatool | c1352d8ea6da23a619a7107ab04dc3ff62212228 | [
"MIT"
] | 22 | 2020-11-30T18:27:55.000Z | 2022-03-02T12:13:29.000Z | magicwand-data-generator/magicwand/magicwand_components/mw_global/__init__.py | gregpaton08/magicwand-datatool | c1352d8ea6da23a619a7107ab04dc3ff62212228 | [
"MIT"
] | 7 | 2020-11-30T18:34:10.000Z | 2021-02-11T13:52:49.000Z | magicwand-data-generator/magicwand/magicwand_components/mw_global/__init__.py | gregpaton08/magicwand-datatool | c1352d8ea6da23a619a7107ab04dc3ff62212228 | [
"MIT"
] | 2 | 2021-01-26T20:25:22.000Z | 2021-05-30T07:32:31.000Z | from .mw_global import *
| 12.5 | 24 | 0.76 | 4 | 25 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f749cee208843edbf1554c9cfa8a7c3e8e76f11 | 136 | py | Python | PaddleFSL/paddlefsl/model_zoo/__init__.py | tianxin1860/FSL-Mate | 74dde9a3e1f789ec92710b9ecdf9c5b060d26fd3 | [
"MIT"
] | 982 | 2020-04-14T09:26:05.000Z | 2021-08-16T12:11:37.000Z | PaddleFSL/paddlefsl/model_zoo/__init__.py | gaorui999/FSL-Mate | b490c795f4aaf2c4a86b56721481d48f7c3aadfc | [
"MIT"
] | 10 | 2021-08-19T11:19:38.000Z | 2022-03-16T02:55:13.000Z | PaddleFSL/paddlefsl/model_zoo/__init__.py | gaorui999/FSL-Mate | b490c795f4aaf2c4a86b56721481d48f7c3aadfc | [
"MIT"
] | 185 | 2020-04-14T09:26:08.000Z | 2021-08-16T02:16:18.000Z | """
High-level algorithms in meta-learning.
"""
from . import maml
from . import anil
from . import protonet
from . import relationnet
| 15.111111 | 39 | 0.735294 | 18 | 136 | 5.555556 | 0.666667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169118 | 136 | 8 | 40 | 17 | 0.884956 | 0.286765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f7991da9022ac12dfd236d362b9933aa2bf57ad | 280 | py | Python | sample/core.py | HexHacks/init-py | 2d3222d573ebb0bd6cd7adb2bee7d9262b30eb36 | [
"BSD-2-Clause"
] | null | null | null | sample/core.py | HexHacks/init-py | 2d3222d573ebb0bd6cd7adb2bee7d9262b30eb36 | [
"BSD-2-Clause"
] | null | null | null | sample/core.py | HexHacks/init-py | 2d3222d573ebb0bd6cd7adb2bee7d9262b30eb36 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
''' A short description of this file
A slightly longer description of this file
can be found under the shorter desription.
'''
def get_code():
''' Get mysterious code... '''
return '100111011111101010110110101100'
| 20 | 46 | 0.667857 | 35 | 280 | 5.314286 | 0.8 | 0.139785 | 0.182796 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13964 | 0.207143 | 280 | 13 | 47 | 21.538462 | 0.698198 | 0.664286 | 0 | 0 | 0 | 0 | 0.428571 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4f7ea3c9371fa0c02a6e2d747ad400e5eb0706e6 | 35 | py | Python | broxus_api_client/explorer/__init__.py | MIREX/broxus_api_client | efb3e11d3bfb620c31c8108594b36bd0b1c7989c | [
"MIT"
] | null | null | null | broxus_api_client/explorer/__init__.py | MIREX/broxus_api_client | efb3e11d3bfb620c31c8108594b36bd0b1c7989c | [
"MIT"
] | null | null | null | broxus_api_client/explorer/__init__.py | MIREX/broxus_api_client | efb3e11d3bfb620c31c8108594b36bd0b1c7989c | [
"MIT"
] | null | null | null | from .client import ExplorerClient
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f83db5e84b950affb20a031e01cd470e877cabd | 5,848 | py | Python | tests/api/test_auth.py | rzr/synapse | 16026e60c5381abcfea12f55b57f8d0ce474c402 | [
"Apache-2.0"
] | null | null | null | tests/api/test_auth.py | rzr/synapse | 16026e60c5381abcfea12f55b57f8d0ce474c402 | [
"Apache-2.0"
] | null | null | null | tests/api/test_auth.py | rzr/synapse | 16026e60c5381abcfea12f55b57f8d0ce474c402 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2015 OpenMarket Ltd
#
# 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 la... | 41.771429 | 78 | 0.691689 | 786 | 5,848 | 4.83715 | 0.169211 | 0.073645 | 0.110468 | 0.0505 | 0.768543 | 0.768543 | 0.768543 | 0.760126 | 0.749868 | 0.739611 | 0 | 0.001923 | 0.199726 | 5,848 | 139 | 79 | 42.071942 | 0.81047 | 0.097982 | 0 | 0.72549 | 0 | 0 | 0.052091 | 0.009125 | 0 | 0 | 0 | 0 | 0.029412 | 1 | 0.088235 | false | 0 | 0.04902 | 0 | 0.147059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4f86a1a7552f699076153cf4e53f42e74057d0f6 | 251 | py | Python | tests/mock/stdout_mock.py | raulpy271/pyfunge | e2bea42f0a86579ff7884ce62129eb15f46f9580 | [
"MIT"
] | 2 | 2021-12-05T12:47:09.000Z | 2022-03-16T23:37:54.000Z | tests/mock/stdout_mock.py | raulpy271/pyfunge | e2bea42f0a86579ff7884ce62129eb15f46f9580 | [
"MIT"
] | null | null | null | tests/mock/stdout_mock.py | raulpy271/pyfunge | e2bea42f0a86579ff7884ce62129eb15f46f9580 | [
"MIT"
] | null | null | null |
class StdoutMock():
def __init__(self, *args, **kwargs):
self.content = ''
def write(self, content):
self.content += content
def read(self):
return self.content
def __str__(self):
return self.read()
| 17.928571 | 40 | 0.573705 | 28 | 251 | 4.857143 | 0.428571 | 0.323529 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.298805 | 251 | 13 | 41 | 19.307692 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.222222 | 0.777778 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
96ea701e4fc146ff10a898cf9617c9466678e7f2 | 36 | py | Python | python/flask-sqlalchemy/data.py | uallmight/learning | cc28ca2cc08aa1cbdee84faf7e5c059786a4ba23 | [
"Unlicense"
] | null | null | null | python/flask-sqlalchemy/data.py | uallmight/learning | cc28ca2cc08aa1cbdee84faf7e5c059786a4ba23 | [
"Unlicense"
] | null | null | null | python/flask-sqlalchemy/data.py | uallmight/learning | cc28ca2cc08aa1cbdee84faf7e5c059786a4ba23 | [
"Unlicense"
] | null | null | null | from sqlalchemy.sql import sqltypes
| 18 | 35 | 0.861111 | 5 | 36 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4ff0897459a8703b5774a66ce5279fa38035a461 | 161 | py | Python | src/cms/views/settings/__init__.py | S10MC2015/cms-django | b08f2be60a9db6c8079ee923de2cd8912f550b12 | [
"Apache-2.0"
] | 4 | 2019-12-05T16:45:17.000Z | 2020-05-09T07:26:34.000Z | src/cms/views/settings/__init__.py | S10MC2015/cms-django | b08f2be60a9db6c8079ee923de2cd8912f550b12 | [
"Apache-2.0"
] | 56 | 2019-12-05T12:31:37.000Z | 2021-01-07T15:47:45.000Z | src/cms/views/settings/__init__.py | S10MC2015/cms-django | b08f2be60a9db6c8079ee923de2cd8912f550b12 | [
"Apache-2.0"
] | 2 | 2019-12-11T09:52:26.000Z | 2020-05-09T07:26:38.000Z | from .settings_view import SettingsView
from .admin_settings_view import AdminSettingsView
from .user_settings_view import UserSettingsView
from .mfa import mfa
| 32.2 | 50 | 0.875776 | 21 | 161 | 6.47619 | 0.47619 | 0.264706 | 0.397059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099379 | 161 | 4 | 51 | 40.25 | 0.937931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8b11e65c38f3f811157b5cdb2cb84bdc4733921d | 129 | py | Python | conftest.py | maxzheng/1bead.org | 593c59b2e3b5644431362afbbaa969a8105cb69c | [
"MIT"
] | null | null | null | conftest.py | maxzheng/1bead.org | 593c59b2e3b5644431362afbbaa969a8105cb69c | [
"MIT"
] | null | null | null | conftest.py | maxzheng/1bead.org | 593c59b2e3b5644431362afbbaa969a8105cb69c | [
"MIT"
] | null | null | null | import pytest
from web.core import app
@pytest.fixture
async def client(aiohttp_client):
return await aiohttp_client(app)
| 14.333333 | 36 | 0.782946 | 19 | 129 | 5.210526 | 0.684211 | 0.262626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155039 | 129 | 8 | 37 | 16.125 | 0.908257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
50a3b0ae93e4ee8c2f51b90a764b983e59ac9556 | 34 | py | Python | T2T_Transformer/__init__.py | Justin900429/vision-transformer | e149092efbb83c166449944137db0ee5200f9325 | [
"MIT"
] | 1 | 2021-09-01T03:29:03.000Z | 2021-09-01T03:29:03.000Z | T2T_Transformer/__init__.py | Justin900429/vision-transformer | e149092efbb83c166449944137db0ee5200f9325 | [
"MIT"
] | null | null | null | T2T_Transformer/__init__.py | Justin900429/vision-transformer | e149092efbb83c166449944137db0ee5200f9325 | [
"MIT"
] | null | null | null | from .t2t_module import T2TModule
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.117647 | 34 | 1 | 34 | 34 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
50b56a2095d4b7250aa6f30ec474efbfdd71c9f1 | 6,548 | py | Python | tests/compliance_checks/test_models.py | janheise/zentral | cd809483573301e7d1aa5d3fc2da2c74a62405ab | [
"Apache-2.0"
] | null | null | null | tests/compliance_checks/test_models.py | janheise/zentral | cd809483573301e7d1aa5d3fc2da2c74a62405ab | [
"Apache-2.0"
] | null | null | null | tests/compliance_checks/test_models.py | janheise/zentral | cd809483573301e7d1aa5d3fc2da2c74a62405ab | [
"Apache-2.0"
] | null | null | null | from datetime import datetime
from django.test import TestCase
from django.utils.crypto import get_random_string
from zentral.core.compliance_checks.models import ComplianceCheck, MachineStatus, Status
from zentral.core.compliance_checks.utils import update_machine_statuses
class ComplianceChecksTestCase(TestCase):
... | 50.369231 | 113 | 0.685706 | 793 | 6,548 | 5.377049 | 0.099622 | 0.115385 | 0.103424 | 0.075985 | 0.865854 | 0.832317 | 0.810272 | 0.768527 | 0.745544 | 0.691135 | 0 | 0.021285 | 0.203574 | 6,548 | 129 | 114 | 50.75969 | 0.796357 | 0.000611 | 0 | 0.618644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.279661 | 1 | 0.076271 | false | 0 | 0.042373 | 0.008475 | 0.135593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
50c38d30c181285dc0de321a188fdd7ecd10aad1 | 300 | py | Python | polyaxon/experiments/__init__.py | chandu088/p | 878456367105924accc5b235263b0bb209d877c8 | [
"MIT"
] | null | null | null | polyaxon/experiments/__init__.py | chandu088/p | 878456367105924accc5b235263b0bb209d877c8 | [
"MIT"
] | null | null | null | polyaxon/experiments/__init__.py | chandu088/p | 878456367105924accc5b235263b0bb209d877c8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
from polyaxon.experiments.experiment import Experiment, create_experiment
from polyaxon.experiments.rl_experiment import RLExperiment, create_rl_experiment
from polyaxon.experiments.utils import run_experiment
| 42.857143 | 81 | 0.85 | 36 | 300 | 6.777778 | 0.5 | 0.147541 | 0.282787 | 0.270492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00365 | 0.086667 | 300 | 6 | 82 | 50 | 0.886861 | 0.07 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
50f7910a17eea0bf92db91c8ee5fd77749a7a8cf | 22 | py | Python | tinder/__init__.py | rednit-team/tinder.py | ace14b3952a9cb4e9dd61cef23e6107c1b30e367 | [
"Apache-2.0"
] | 65 | 2020-09-24T15:10:56.000Z | 2022-03-07T22:56:08.000Z | tinder/__init__.py | rednit-team/tinder.py | ace14b3952a9cb4e9dd61cef23e6107c1b30e367 | [
"Apache-2.0"
] | 3 | 2020-10-18T23:48:13.000Z | 2022-01-17T15:41:44.000Z | tinder/__init__.py | Kaktushose/tinder.py | ace14b3952a9cb4e9dd61cef23e6107c1b30e367 | [
"Apache-2.0"
] | 1 | 2020-09-18T12:11:16.000Z | 2020-09-18T12:11:16.000Z | from .tinder import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
50fbd20a57ac401c5709bb00d3f32c5b8fd3e38a | 280 | py | Python | test_scripts/vnf/msb_get_one.py | lremember/VFC | 837559db1396091811382359100bfc60e1aab5b2 | [
"MIT"
] | 1 | 2019-10-10T00:52:18.000Z | 2019-10-10T00:52:18.000Z | test_scripts/vnf/msb_get_one.py | lremember/VFC-Files | 837559db1396091811382359100bfc60e1aab5b2 | [
"MIT"
] | null | null | null | test_scripts/vnf/msb_get_one.py | lremember/VFC-Files | 837559db1396091811382359100bfc60e1aab5b2 | [
"MIT"
] | null | null | null | import requests
#resp = requests.get('http://172.30.3.104:30280/api/vnfpkgm/v1/vnf_packages/396b889f-529f-426a-97ab-65b00720b308')
resp = requests.get('http://10.12.5.131:30280/api/catalog/v1/vnfpackages/ed8e7818-31a0-4527-a732-15089fb22bee')
print resp.status_code, resp.json()
| 46.666667 | 114 | 0.778571 | 45 | 280 | 4.8 | 0.777778 | 0.111111 | 0.138889 | 0.175926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.279851 | 0.042857 | 280 | 5 | 115 | 56 | 0.526119 | 0.403571 | 0 | 0 | 0 | 0.333333 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0fc8e0f9ba38d8e3be0aee3bfc2e0f3454aac4d0 | 69 | py | Python | test.py | mraypold/slack-stockbot | 27721acc9c06f57b5941b4d560ca82960aa6ea5b | [
"MIT"
] | 1 | 2017-04-27T08:32:47.000Z | 2017-04-27T08:32:47.000Z | test.py | mraypold/slack-stockbot | 27721acc9c06f57b5941b4d560ca82960aa6ea5b | [
"MIT"
] | null | null | null | test.py | mraypold/slack-stockbot | 27721acc9c06f57b5941b4d560ca82960aa6ea5b | [
"MIT"
] | 2 | 2020-01-22T03:03:30.000Z | 2021-05-14T12:40:50.000Z | import os
os.system('python -m slackstocks.tests.slackstocks_test')
| 17.25 | 57 | 0.797101 | 10 | 69 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 69 | 3 | 58 | 23 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.637681 | 0.492754 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0ff5c3cabe736213902ccae9dd0640ae37abd929 | 305 | py | Python | diagram.py | figurate/lambda-function-calendar-tasks | adff1ae9b88131274a6b7a6938a389730fd3c3e7 | [
"MIT"
] | null | null | null | diagram.py | figurate/lambda-function-calendar-tasks | adff1ae9b88131274a6b7a6938a389730fd3c3e7 | [
"MIT"
] | null | null | null | diagram.py | figurate/lambda-function-calendar-tasks | adff1ae9b88131274a6b7a6938a389730fd3c3e7 | [
"MIT"
] | null | null | null | from diagrams import Diagram
from diagrams.aws.compute import Lambda
from diagrams.aws.database import DynamodbTable
from diagrams.aws.network import APIGateway
with Diagram("Calendar Tasks", show=False, direction="TB"):
APIGateway("tasks api") >> Lambda("calendar tasks") >> DynamodbTable("tasks")
| 33.888889 | 81 | 0.780328 | 38 | 305 | 6.263158 | 0.5 | 0.201681 | 0.189076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111475 | 305 | 8 | 82 | 38.125 | 0.878229 | 0 | 0 | 0 | 0 | 0 | 0.144262 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e84d0252a054d5286640f3f513f73632dce98712 | 84 | py | Python | previous_gym/envs/carla_env_dir/__init__.py | anime-sh/frenet-gym | 2f8f4aa5a3de8c0e63aee81b0891ea0cf16bc305 | [
"MIT"
] | 1 | 2021-12-10T11:40:12.000Z | 2021-12-10T11:40:12.000Z | previous_gym/envs/carla_env_dir/__init__.py | anime-sh/frenet-gym | 2f8f4aa5a3de8c0e63aee81b0891ea0cf16bc305 | [
"MIT"
] | 1 | 2021-05-29T09:12:19.000Z | 2021-05-29T09:12:19.000Z | previous_gym/envs/carla_env_dir/__init__.py | anime-sh/frenet-gym | 2f8f4aa5a3de8c0e63aee81b0891ea0cf16bc305 | [
"MIT"
] | 1 | 2020-09-17T14:30:44.000Z | 2020-09-17T14:30:44.000Z | from envs.carla_env_dir.carla_env import CarlaEnv
#print("init inside carl_env_dir") | 42 | 49 | 0.845238 | 15 | 84 | 4.4 | 0.733333 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 84 | 2 | 50 | 42 | 0.846154 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8991e14ceac5eb8b397d79b01f204b72621f3c9 | 9,205 | py | Python | Src/dataset/text_data_arabic.py | SivanKe/SyntheticDataHandwrittenCharacterRecognition | c2b299009ddc24eab1bc2074787e82e566f79abc | [
"MIT"
] | 7 | 2019-07-14T06:49:15.000Z | 2021-11-03T12:13:37.000Z | Src/dataset/text_data_arabic.py | SivanKe/SyntheticDataHandwrittenCharacterRecognition | c2b299009ddc24eab1bc2074787e82e566f79abc | [
"MIT"
] | 2 | 2019-07-16T07:44:37.000Z | 2019-07-18T10:57:23.000Z | Src/dataset/text_data_arabic.py | SivanKe/SyntheticDataHandwrittenCharacterRecognition | c2b299009ddc24eab1bc2074787e82e566f79abc | [
"MIT"
] | 1 | 2019-10-13T09:18:28.000Z | 2019-10-13T09:18:28.000Z | from torch.utils.data import Dataset
import json
import os
import cv2
import pickle as pkl
from random import shuffle, sample
import numpy as np
from time import time
import traceback
class Consts(object):
SOS_CHAR = 'sos'
EOS_CHAR = 'eos'
BLANK_CHAR = 'blank'
class TextDataset(Dataset):
def __init__(... | 34.735849 | 129 | 0.533732 | 1,212 | 9,205 | 3.891089 | 0.110561 | 0.076336 | 0.047498 | 0.019084 | 0.796014 | 0.785835 | 0.781383 | 0.749576 | 0.728372 | 0.728372 | 0 | 0.011957 | 0.336773 | 9,205 | 265 | 130 | 34.735849 | 0.758559 | 0.075611 | 0 | 0.727273 | 0 | 0 | 0.070049 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.045455 | 0.045455 | 0.247475 | 0.065657 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e8cfd2e7ac322ddcecbfc1068dc148c94cd5e2f1 | 35 | py | Python | kikimr/public/sdk/python/client/resolver.py | yandex-cloud/ydb-python-sdk | 0df2dce2d77fc41ad3020072740f51dd91630177 | [
"Apache-2.0"
] | 19 | 2019-07-01T08:25:29.000Z | 2022-01-26T14:46:51.000Z | kikimr/public/sdk/python/client/resolver.py | yandex-cloud/ydb-python-sdk | 0df2dce2d77fc41ad3020072740f51dd91630177 | [
"Apache-2.0"
] | 5 | 2019-07-02T13:36:42.000Z | 2021-09-14T06:46:48.000Z | kikimr/public/sdk/python/client/resolver.py | yandex-cloud/ydb-python-sdk | 0df2dce2d77fc41ad3020072740f51dd91630177 | [
"Apache-2.0"
] | 10 | 2019-06-07T10:36:19.000Z | 2021-10-15T08:58:11.000Z | from ydb.resolver import * # noqa
| 17.5 | 34 | 0.714286 | 5 | 35 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 1 | 35 | 35 | 0.892857 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa6ad17705c2b98004fb1dcbe6b01132c6e3f2c2 | 154 | py | Python | src/datasets/unity_eye.py | Vampire-Vx/Template | dce91f5c6b15d9d3b43c91934c0670666526ba1f | [
"FTL",
"RSA-MD"
] | null | null | null | src/datasets/unity_eye.py | Vampire-Vx/Template | dce91f5c6b15d9d3b43c91934c0670666526ba1f | [
"FTL",
"RSA-MD"
] | null | null | null | src/datasets/unity_eye.py | Vampire-Vx/Template | dce91f5c6b15d9d3b43c91934c0670666526ba1f | [
"FTL",
"RSA-MD"
] | null | null | null | # -*- coding: utf-8 -*-
# @Author: chengdlin2
# @Date: 2020-03-26 17:37:19
# @Last Modified by: chengdlin2
# @Last Modified time: 2020-03-26 17:37:19
| 25.666667 | 42 | 0.636364 | 25 | 154 | 3.92 | 0.64 | 0.122449 | 0.163265 | 0.204082 | 0.285714 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0.244094 | 0.175325 | 154 | 5 | 43 | 30.8 | 0.527559 | 0.928571 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d70a7c53265043d437444ef21c7f7c9347f5e4d9 | 12,784 | py | Python | RPS.py | PythonFiend/Rock_Paper_Scissors_Game | 999d7d79b74f851dfadcd6d261bc44795abb3178 | [
"CC0-1.0"
] | null | null | null | RPS.py | PythonFiend/Rock_Paper_Scissors_Game | 999d7d79b74f851dfadcd6d261bc44795abb3178 | [
"CC0-1.0"
] | null | null | null | RPS.py | PythonFiend/Rock_Paper_Scissors_Game | 999d7d79b74f851dfadcd6d261bc44795abb3178 | [
"CC0-1.0"
] | null | null | null | import PySimpleGUI as sg
from PIL import Image, ImageTk, ImageSequence, ImageGrab
from random import randint
#***************** IMAGE LINKS *****************
gif_rock = 'rock.gif'
gif_paper = 'paper.gif'
gif_scissors = 'scissors.gif'
gif_letsplay = 'letsplay.gif'
#*********************************************... | 60.018779 | 472 | 0.477003 | 1,216 | 12,784 | 4.828947 | 0.100329 | 0.074932 | 0.098093 | 0.058243 | 0.79002 | 0.75017 | 0.730245 | 0.725988 | 0.725988 | 0.717132 | 0 | 0.018249 | 0.382744 | 12,784 | 213 | 473 | 60.018779 | 0.72589 | 0.038486 | 0 | 0.732143 | 0 | 0 | 0.094548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017857 | 0 | 0.017857 | 0.011905 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d72922909e54bd823f8776648a5ae5638d3b9fdc | 108 | py | Python | mugen/video/events.py | scherroman/mugen | 34c29785877dc64cd877f6e0103d5842059c19e5 | [
"MIT"
] | 119 | 2016-12-25T21:41:30.000Z | 2022-03-13T04:39:26.000Z | mugen/video/events.py | DrakenZA/mugen | 9f929b9713f3304a6ceb9980114365fcd5a2afa2 | [
"MIT"
] | 31 | 2016-12-23T07:19:16.000Z | 2022-03-29T17:52:24.000Z | mugen/video/events.py | DrakenZA/mugen | 9f929b9713f3304a6ceb9980114365fcd5a2afa2 | [
"MIT"
] | 28 | 2017-04-01T15:46:59.000Z | 2022-03-21T23:05:23.000Z | from mugen.events import Event
class VideoEvent(Event):
"""
An event in a video
"""
pass
| 10.8 | 30 | 0.601852 | 14 | 108 | 4.642857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.305556 | 108 | 9 | 31 | 12 | 0.866667 | 0.175926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d747eaf747dceef51175299193f214f9da4cb2a8 | 19 | py | Python | pyvital/__init__.py | vitaldb/pyvital | b7b045d92e8db3a9d7f45ea6593e57c73ae8ec11 | [
"MIT"
] | 5 | 2019-04-08T05:33:56.000Z | 2021-05-07T06:49:25.000Z | pyvital/__init__.py | vitaldb/pyvital | b7b045d92e8db3a9d7f45ea6593e57c73ae8ec11 | [
"MIT"
] | null | null | null | pyvital/__init__.py | vitaldb/pyvital | b7b045d92e8db3a9d7f45ea6593e57c73ae8ec11 | [
"MIT"
] | 5 | 2019-09-17T09:52:55.000Z | 2022-02-25T08:30:08.000Z | from .arr import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad3ca691bd201175d0efc7739075cdc722a36597 | 2,023 | py | Python | tests/test_flow.py | sendhilg/water-flow-calculator | 0d8dd0e4522bdbb5c0cec875eeb786fe3573f96b | [
"MIT"
] | null | null | null | tests/test_flow.py | sendhilg/water-flow-calculator | 0d8dd0e4522bdbb5c0cec875eeb786fe3573f96b | [
"MIT"
] | null | null | null | tests/test_flow.py | sendhilg/water-flow-calculator | 0d8dd0e4522bdbb5c0cec875eeb786fe3573f96b | [
"MIT"
] | null | null | null | import pytest
@pytest.mark.parametrize(
'qty_poured, query_row, query_glass, expected_qty', [
(0, 0, 0, 0),
(0.25, 0, 0, 0.2500),
(0.30, 0, 0, 0.2500),
]
)
def test_calculate_quantity_at_row_0(qty_poured, query_row, query_glass, expected_qty, flow):
qty = flow.calculate_quantity(qt... | 28.9 | 93 | 0.560554 | 329 | 2,023 | 3.227964 | 0.097264 | 0.041431 | 0.158192 | 0.19209 | 0.804143 | 0.778719 | 0.778719 | 0.778719 | 0.650659 | 0.650659 | 0 | 0.167006 | 0.271873 | 2,023 | 69 | 94 | 29.318841 | 0.553971 | 0 | 0 | 0.262295 | 0 | 0 | 0.094909 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 1 | 0.065574 | false | 0 | 0.016393 | 0 | 0.081967 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ad528eacc6dcd047aa8c673e9a89a1dc631e5c1f | 119 | py | Python | SDD/__init__.py | thomascong121/SocialDistance | c8e6302bc854fcaac0c8503f2b97632cdd948cc9 | [
"MIT"
] | 2 | 2021-04-12T14:16:33.000Z | 2021-05-14T13:33:22.000Z | SDD/__init__.py | thomascong121/SocialDistance | c8e6302bc854fcaac0c8503f2b97632cdd948cc9 | [
"MIT"
] | 1 | 2021-05-03T18:54:59.000Z | 2021-11-24T01:23:48.000Z | SDD/__init__.py | thomascong121/SocialDistance | c8e6302bc854fcaac0c8503f2b97632cdd948cc9 | [
"MIT"
] | 1 | 2021-04-09T09:10:08.000Z | 2021-04-09T09:10:08.000Z | from __future__ import absolute_import
from . import utils
from . import data
from . import outputs
from . import debug | 23.8 | 38 | 0.806723 | 17 | 119 | 5.352941 | 0.470588 | 0.43956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159664 | 119 | 5 | 39 | 23.8 | 0.91 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad9e66df24c31a9b3ce79be252788013f83af3c1 | 11,573 | py | Python | reconcile/test/test_ocm_clusters.py | BumbleFeng/qontract-reconcile | a9f5bb221df5f92727d0582c5aa1a99822883782 | [
"Apache-2.0"
] | 21 | 2019-10-22T16:50:26.000Z | 2022-03-25T16:07:44.000Z | reconcile/test/test_ocm_clusters.py | BumbleFeng/qontract-reconcile | a9f5bb221df5f92727d0582c5aa1a99822883782 | [
"Apache-2.0"
] | 629 | 2018-12-13T12:46:53.000Z | 2022-03-31T20:46:02.000Z | reconcile/test/test_ocm_clusters.py | BumbleFeng/qontract-reconcile | a9f5bb221df5f92727d0582c5aa1a99822883782 | [
"Apache-2.0"
] | 50 | 2019-01-04T10:22:45.000Z | 2022-03-28T13:24:27.000Z | import sys
from copy import deepcopy
from testslide import TestCase, StrictMock, mock_callable
from reconcile import queries
import reconcile.utils.ocm as ocmmod
import reconcile.ocm_clusters as occ
from reconcile.utils.mr import clusters_updates
from .fixtures import Fixtures
fxt = Fixtures('clusters')
class Te... | 34.858434 | 76 | 0.570034 | 1,171 | 11,573 | 5.356106 | 0.117848 | 0.086097 | 0.082908 | 0.063616 | 0.814413 | 0.788106 | 0.775032 | 0.767538 | 0.737085 | 0.724809 | 0 | 0.009291 | 0.302514 | 11,573 | 331 | 77 | 34.963746 | 0.767716 | 0 | 0 | 0.693103 | 0 | 0 | 0.147758 | 0.016418 | 0 | 0 | 0 | 0 | 0.134483 | 1 | 0.051724 | false | 0 | 0.027586 | 0 | 0.089655 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d1667dd0d4824ce0a7d51865f0f8e21f097c4df4 | 100 | py | Python | django_admin_testutils/tests/settings.py | theatlantic/django-admin-testutils | 6f30cbf286c26e1c354051fd3fecf8d28403ecd8 | [
"BSD-2-Clause"
] | 1 | 2017-04-25T22:25:38.000Z | 2017-04-25T22:25:38.000Z | django_admin_testutils/tests/settings.py | theatlantic/django-admin-testutils | 6f30cbf286c26e1c354051fd3fecf8d28403ecd8 | [
"BSD-2-Clause"
] | null | null | null | django_admin_testutils/tests/settings.py | theatlantic/django-admin-testutils | 6f30cbf286c26e1c354051fd3fecf8d28403ecd8 | [
"BSD-2-Clause"
] | null | null | null | from django_admin_testutils.settings import *
INSTALLED_APPS += ('django_admin_testutils.tests',)
| 20 | 51 | 0.81 | 12 | 100 | 6.333333 | 0.75 | 0.289474 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09 | 100 | 4 | 52 | 25 | 0.835165 | 0 | 0 | 0 | 0 | 0 | 0.28 | 0.28 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
66f76e35a8d2fe3835af452c254338c9f5275c74 | 67 | py | Python | mdw/databricks/databricks_config.py | hgjura/blog-python-packages-azuredevops | 87ecf949c5e91c51a2dd4679485c114a9618ed65 | [
"MIT"
] | 1 | 2019-02-15T16:26:12.000Z | 2019-02-15T16:26:12.000Z | mdw/databricks/databricks_config.py | hgjura/blog-python-packages-azuredevops | 87ecf949c5e91c51a2dd4679485c114a9618ed65 | [
"MIT"
] | null | null | null | mdw/databricks/databricks_config.py | hgjura/blog-python-packages-azuredevops | 87ecf949c5e91c51a2dd4679485c114a9618ed65 | [
"MIT"
] | 3 | 2019-02-15T16:26:16.000Z | 2020-01-25T16:17:14.000Z | #a very useless function
def hi():
return "Hello World!"
| 13.4 | 29 | 0.61194 | 9 | 67 | 4.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283582 | 67 | 4 | 30 | 16.75 | 0.854167 | 0.343284 | 0 | 0 | 0 | 0 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
66fa6f1419c3abdaab08f5e077f92843d7ef6696 | 47,991 | py | Python | src/amuse/community/simplex/interface.py | joshuawall/amuse | c2034074ee76c08057c4faa96c32044ab40952e9 | [
"Apache-2.0"
] | null | null | null | src/amuse/community/simplex/interface.py | joshuawall/amuse | c2034074ee76c08057c4faa96c32044ab40952e9 | [
"Apache-2.0"
] | null | null | null | src/amuse/community/simplex/interface.py | joshuawall/amuse | c2034074ee76c08057c4faa96c32044ab40952e9 | [
"Apache-2.0"
] | 2 | 2021-11-19T04:41:37.000Z | 2021-11-20T02:11:17.000Z | import os.path
from amuse.community.interface.common import CommonCodeInterface, CommonCode
from amuse.community import *
from amuse.support.options import option
from amuse.datamodel import Particles
class SimpleXInterface(CodeInterface, CommonCodeInterface, LiteratureReferencesMixIn,
CodeWithDataDirectorie... | 36.329296 | 202 | 0.605343 | 4,889 | 47,991 | 5.692575 | 0.064021 | 0.057238 | 0.070066 | 0.042974 | 0.851964 | 0.821027 | 0.799648 | 0.792354 | 0.76422 | 0.748446 | 0 | 0.011956 | 0.297639 | 47,991 | 1,320 | 203 | 36.356818 | 0.813718 | 0.020941 | 0 | 0.648983 | 0 | 0.015031 | 0.269774 | 0.055206 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060124 | false | 0.001768 | 0.004421 | 0.000884 | 0.118479 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
66fe73386eb859842a021e5cacce4f2641b7ec13 | 142 | py | Python | appium_selector/FilePath.py | Orasi/AppiumSelector | 69a67c5d3abb5e630517f35f737d916eefcfaea1 | [
"BSD-4-Clause"
] | 2 | 2017-03-16T19:12:13.000Z | 2018-07-20T09:05:00.000Z | appium_selector/FilePath.py | Mattwhooo/AppiumSelector | 69a67c5d3abb5e630517f35f737d916eefcfaea1 | [
"BSD-4-Clause"
] | null | null | null | appium_selector/FilePath.py | Mattwhooo/AppiumSelector | 69a67c5d3abb5e630517f35f737d916eefcfaea1 | [
"BSD-4-Clause"
] | 2 | 2017-03-16T22:53:20.000Z | 2018-07-20T09:05:00.000Z | import os
MAIN_DIRECTORY = os.path.dirname(os.path.dirname(__file__))
def get_full_path(*path):
return os.path.join(MAIN_DIRECTORY, *path) | 35.5 | 59 | 0.774648 | 23 | 142 | 4.434783 | 0.521739 | 0.176471 | 0.254902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091549 | 142 | 4 | 60 | 35.5 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0f75fca20668cc56ad51df12463df42dfa2d63df | 22 | py | Python | visuals/trading_analytics_viz.py | MarcSkovMadsen/panel-visuals | f221cf2a721f09626880d9a2b535f49beba18372 | [
"MIT"
] | null | null | null | visuals/trading_analytics_viz.py | MarcSkovMadsen/panel-visuals | f221cf2a721f09626880d9a2b535f49beba18372 | [
"MIT"
] | null | null | null | visuals/trading_analytics_viz.py | MarcSkovMadsen/panel-visuals | f221cf2a721f09626880d9a2b535f49beba18372 | [
"MIT"
] | null | null | null | import panel as pn
| 7.333333 | 19 | 0.681818 | 4 | 22 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 22 | 2 | 20 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0f8158dca66edc466218772f6586ec78430e555e | 123 | py | Python | tsdb/__init__.py | Planet-Nine/cs207project | 20a42cdd6966daeb40a37986c969fc908406f2f8 | [
"MIT"
] | null | null | null | tsdb/__init__.py | Planet-Nine/cs207project | 20a42cdd6966daeb40a37986c969fc908406f2f8 | [
"MIT"
] | 3 | 2016-02-10T00:36:57.000Z | 2016-02-28T20:25:18.000Z | tsdb/__init__.py | Planet-Nine/cs207project | 20a42cdd6966daeb40a37986c969fc908406f2f8 | [
"MIT"
] | null | null | null | #from .dictdb import *
from .persistentdb import *
from .tsdb_client import TSDBClient
from .tsdb_server import TSDBServer
| 24.6 | 35 | 0.813008 | 16 | 123 | 6.125 | 0.5625 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 123 | 4 | 36 | 30.75 | 0.915888 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0f949e87d62bc069071fc00c051b0e8930bde556 | 120 | py | Python | training/networks/__init__.py | eMYKion/GANSketching | 8b603e6d1836bf55768bc6d17a2ef133c3338a8f | [
"MIT"
] | null | null | null | training/networks/__init__.py | eMYKion/GANSketching | 8b603e6d1836bf55768bc6d17a2ef133c3338a8f | [
"MIT"
] | null | null | null | training/networks/__init__.py | eMYKion/GANSketching | 8b603e6d1836bf55768bc6d17a2ef133c3338a8f | [
"MIT"
] | null | null | null | from .loss import *
from .misc import *
from .transform import OutputTransform
from .cut import define_G as define_G_CUT | 30 | 41 | 0.808333 | 19 | 120 | 4.947368 | 0.526316 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141667 | 120 | 4 | 41 | 30 | 0.912621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7e4a07a4d2a82fd63ffbeb03faec1cc3fd4248f7 | 29 | py | Python | quchong_team.py | xiaolinzi-xl/nba_data | cf59c93ed76b7edc4329cd9a1c6e76679760f9b2 | [
"Apache-2.0"
] | null | null | null | quchong_team.py | xiaolinzi-xl/nba_data | cf59c93ed76b7edc4329cd9a1c6e76679760f9b2 | [
"Apache-2.0"
] | null | null | null | quchong_team.py | xiaolinzi-xl/nba_data | cf59c93ed76b7edc4329cd9a1c6e76679760f9b2 | [
"Apache-2.0"
] | null | null | null |
import json
# with open('') | 7.25 | 15 | 0.62069 | 4 | 29 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 29 | 4 | 15 | 7.25 | 0.782609 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7e4ef41292ad9f4af6b30deb698d2ab3c21478b4 | 76 | py | Python | pysm/pyutils/random_utils/__init__.py | binh-vu/semantic-modeling | b387584502ba1daa6abd6b7573828416f6426b49 | [
"MIT"
] | 3 | 2019-10-31T15:26:20.000Z | 2022-03-03T06:04:03.000Z | pysm/pyutils/random_utils/__init__.py | binh-vu/semantic-modeling | b387584502ba1daa6abd6b7573828416f6426b49 | [
"MIT"
] | 1 | 2021-10-05T14:57:29.000Z | 2022-03-27T01:58:41.000Z | pysm/pyutils/random_utils/__init__.py | binh-vu/semantic-modeling | b387584502ba1daa6abd6b7573828416f6426b49 | [
"MIT"
] | null | null | null | from .np_random import RandomState
# from .tf_random import CudaRandomState
| 25.333333 | 40 | 0.842105 | 10 | 76 | 6.2 | 0.7 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118421 | 76 | 2 | 41 | 38 | 0.925373 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7e80e6410186ffe41ebc4b3da9d1ae20c734c79c | 1,283 | py | Python | mara_google_analytics_downloader/config.py | hz-lschick/mara-google-analytics-downloader | f9cbcc4ee25b026c10b2d6c3be371fad7e13c443 | [
"MIT"
] | null | null | null | mara_google_analytics_downloader/config.py | hz-lschick/mara-google-analytics-downloader | f9cbcc4ee25b026c10b2d6c3be371fad7e13c443 | [
"MIT"
] | 1 | 2022-01-03T18:53:42.000Z | 2022-01-03T18:53:42.000Z | mara_google_analytics_downloader/config.py | hz-lschick/mara-google-analytics-downloader | f9cbcc4ee25b026c10b2d6c3be371fad7e13c443 | [
"MIT"
] | 2 | 2021-07-14T18:14:35.000Z | 2022-03-03T14:26:42.000Z | """Config for mara Google Analytics Downloader
You need to configure oauth2 credentials for either a google service or a google user account.
"""
import typing as t
def ga_service_account_private_key_id()-> t.Optional[str]:
"""Google Service Account private_key_id used to download the Google Analytics Data"""
... | 37.735294 | 94 | 0.759938 | 189 | 1,283 | 4.962963 | 0.21164 | 0.127932 | 0.089552 | 0.134328 | 0.811301 | 0.811301 | 0.738806 | 0.604478 | 0.514925 | 0.465885 | 0 | 0.000926 | 0.158223 | 1,283 | 33 | 95 | 38.878788 | 0.867593 | 0.530008 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | true | 0 | 0.066667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
7e8f78124af7997568937f6a2f32e64739646dba | 181 | py | Python | students/K33401/Do_Thien/Lr2/django_project_do_prac23/project_prac23_app/admin.py | DoVanThien/ITMO_ICT_WebDevelopment_2021-2022 | b9951f4e0e419a6d07c7d38f48df876878424a04 | [
"MIT"
] | null | null | null | students/K33401/Do_Thien/Lr2/django_project_do_prac23/project_prac23_app/admin.py | DoVanThien/ITMO_ICT_WebDevelopment_2021-2022 | b9951f4e0e419a6d07c7d38f48df876878424a04 | [
"MIT"
] | null | null | null | students/K33401/Do_Thien/Lr2/django_project_do_prac23/project_prac23_app/admin.py | DoVanThien/ITMO_ICT_WebDevelopment_2021-2022 | b9951f4e0e419a6d07c7d38f48df876878424a04 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(OwnerUser)
admin.site.register(Car)
admin.site.register(Possession)
admin.site.register(Driver_license) | 20.111111 | 35 | 0.81768 | 25 | 181 | 5.88 | 0.52 | 0.244898 | 0.462585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077348 | 181 | 9 | 35 | 20.111111 | 0.88024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0e35b903d77582e71d3d23d63694f4608a8628ce | 215 | py | Python | myhome/views/OrderViews.py | GITliyanfeng/phone-shop-django | 87104682d4828433f75bdd3ed75967b8f3db863e | [
"MIT"
] | null | null | null | myhome/views/OrderViews.py | GITliyanfeng/phone-shop-django | 87104682d4828433f75bdd3ed75967b8f3db863e | [
"MIT"
] | null | null | null | myhome/views/OrderViews.py | GITliyanfeng/phone-shop-django | 87104682d4828433f75bdd3ed75967b8f3db863e | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
from django.shortcuts import render
from django.urls import reverse
from django.core.paginator import Paginator
# Create your views here.
| 19.545455 | 43 | 0.827907 | 30 | 215 | 5.933333 | 0.5 | 0.280899 | 0.213483 | 0.280899 | 0.460674 | 0.460674 | 0.460674 | 0 | 0 | 0 | 0 | 0 | 0.134884 | 215 | 10 | 44 | 21.5 | 0.956989 | 0.106977 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e6d05465680b1971907d267c71b51650724f629 | 29,498 | py | Python | dsj/plot/map.py | Duseong/my_packages | b60d57d882746fff81f2bbe2d2b298d9dbd11170 | [
"Apache-2.0"
] | null | null | null | dsj/plot/map.py | Duseong/my_packages | b60d57d882746fff81f2bbe2d2b298d9dbd11170 | [
"Apache-2.0"
] | null | null | null | dsj/plot/map.py | Duseong/my_packages | b60d57d882746fff81f2bbe2d2b298d9dbd11170 | [
"Apache-2.0"
] | null | null | null | '''
map.py
this code is designed for 2d map plotting
MODIFICATION HISTORY:
dsj, 15, MAY, 2015: VERSION 1.00
dsj, 19, MAY, 2015: VERSION 1.10
- update settings for auto-colorbar
dsj, 30, MAY, 2015: VERSOIN 1.20
- add several options
dsj, 09, JUN, 2015: VERSI... | 36.282903 | 99 | 0.495491 | 3,090 | 29,498 | 4.700324 | 0.126537 | 0.019278 | 0.021069 | 0.029744 | 0.820435 | 0.817268 | 0.801708 | 0.799367 | 0.799367 | 0.799367 | 0 | 0.033987 | 0.401519 | 29,498 | 812 | 100 | 36.327586 | 0.788716 | 0.146315 | 0 | 0.213287 | 0 | 0 | 0.043416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017483 | false | 0 | 0.017483 | 0 | 0.041958 | 0.034965 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7ec3cd8ba10b3f0a17d14a87e2e367dd26bb6c95 | 43 | py | Python | more/jinja2/__init__.py | sgaist/more.jinja2 | 8f6fb3034b7f15a4d8de9f0891b06bff6859f9df | [
"BSD-3-Clause"
] | 4 | 2015-05-16T19:48:34.000Z | 2019-06-23T20:19:31.000Z | more/jinja2/__init__.py | sgaist/more.jinja2 | 8f6fb3034b7f15a4d8de9f0891b06bff6859f9df | [
"BSD-3-Clause"
] | 10 | 2015-01-07T14:12:58.000Z | 2020-10-02T14:54:44.000Z | more/jinja2/__init__.py | sgaist/more.jinja2 | 8f6fb3034b7f15a4d8de9f0891b06bff6859f9df | [
"BSD-3-Clause"
] | 5 | 2015-05-15T22:15:39.000Z | 2020-10-02T13:51:20.000Z | # flake8: noqa
from .main import Jinja2App
| 14.333333 | 27 | 0.767442 | 6 | 43 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.162791 | 43 | 2 | 28 | 21.5 | 0.861111 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc0e58c8a11f8bf3d9bc91d93b61687bb37beeef | 137 | py | Python | api_call_by_basic_js/views.py | md-abdul-alim/Basic-Django-Rest-Framework | 9c2d764961d639a8ab4b112ad911daa5c5c19dcb | [
"MIT"
] | null | null | null | api_call_by_basic_js/views.py | md-abdul-alim/Basic-Django-Rest-Framework | 9c2d764961d639a8ab4b112ad911daa5c5c19dcb | [
"MIT"
] | 1 | 2021-02-05T10:37:42.000Z | 2021-02-05T10:37:42.000Z | api_call_by_basic_js/views.py | md-abdul-alim/Django-Rest-Framework-Ajax | 9c2d764961d639a8ab4b112ad911daa5c5c19dcb | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def list(request):
return render(request, 'api_frontend/list.html')
| 17.125 | 52 | 0.751825 | 19 | 137 | 5.368421 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153285 | 137 | 7 | 53 | 19.571429 | 0.87931 | 0.167883 | 0 | 0 | 0 | 0 | 0.196429 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
bc23ea957d88626eb2ddc6afabeb1f9b2d80c0e9 | 42 | py | Python | test/create_packages_archive_root/package/subpackage/submodule.py | Mappy/luigi | 539cd2cf69902bb6cef688afdf55e991cae4b537 | [
"Apache-2.0"
] | 2 | 2017-05-03T12:15:20.000Z | 2018-09-14T02:28:54.000Z | test/create_packages_archive_root/package/subpackage/submodule.py | Mappy/luigi | 539cd2cf69902bb6cef688afdf55e991cae4b537 | [
"Apache-2.0"
] | null | null | null | test/create_packages_archive_root/package/subpackage/submodule.py | Mappy/luigi | 539cd2cf69902bb6cef688afdf55e991cae4b537 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2014 Spotify AB
import os
| 14 | 31 | 0.738095 | 7 | 42 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.190476 | 42 | 2 | 32 | 21 | 0.794118 | 0.690476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc2a0926fbe95696794cf8e3331d9b96054f2e68 | 20,408 | py | Python | trigger_ability_list.py | AutumnCrocus/shadow_sim | 79ad13ff9bd7131c82f269af32a3970f3e4bf2ca | [
"MIT"
] | 6 | 2020-11-08T18:41:23.000Z | 2022-03-29T07:11:37.000Z | trigger_ability_list.py | AutumnCrocus/shadow_sim | 79ad13ff9bd7131c82f269af32a3970f3e4bf2ca | [
"MIT"
] | 5 | 2020-08-09T11:32:59.000Z | 2022-03-12T00:21:44.000Z | trigger_ability_list.py | AutumnCrocus/shadow_sim | 79ad13ff9bd7131c82f269af32a3970f3e4bf2ca | [
"MIT"
] | 1 | 2021-01-31T05:57:10.000Z | 2021-01-31T05:57:10.000Z | import random
import card_setting
from my_moduler import get_module_logger
mylogger = get_module_logger(__name__)
from util_ability import *
import util_ability
from my_enum import *
"""
class trigger_ability_001:
def __call__(self,field,player,opponent,virtual,target,itself,state_log=None):
if it... | 50.892768 | 151 | 0.651999 | 2,852 | 20,408 | 4.421809 | 0.059257 | 0.102767 | 0.039965 | 0.044406 | 0.894774 | 0.884228 | 0.875188 | 0.863056 | 0.862422 | 0.862422 | 0 | 0.028707 | 0.2353 | 20,408 | 400 | 152 | 51.02 | 0.77938 | 0.052724 | 0 | 0.418301 | 0 | 0 | 0.047422 | 0 | 0 | 0 | 0 | 0 | 0.013072 | 1 | 0.104575 | false | 0 | 0.039216 | 0 | 0.189542 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc3148177adf620a086fa5db0f3feba3c23735a8 | 505 | py | Python | all_ensemble_models/__init__.py | LuChungYing/yt8m-ensenble-model | b9c4ddaa1503545437dec676be009ac8a2a237f7 | [
"Apache-2.0"
] | 196 | 2017-06-16T12:06:56.000Z | 2022-02-18T10:50:43.000Z | all_ensemble_models/__init__.py | LuChungYing/yt8m-ensenble-model | b9c4ddaa1503545437dec676be009ac8a2a237f7 | [
"Apache-2.0"
] | 5 | 2017-08-04T02:37:34.000Z | 2018-10-27T18:32:38.000Z | all_ensemble_models/__init__.py | LuChungYing/yt8m-ensenble-model | b9c4ddaa1503545437dec676be009ac8a2a237f7 | [
"Apache-2.0"
] | 71 | 2017-06-20T15:04:13.000Z | 2021-10-06T16:43:32.000Z | from logistic_model import *
from moe_model import *
from attention_moe_model import *
from attention_moe_matrix_model import *
from input_moe_model import *
from linear_regression_model import *
from matrix_regression_model import *
from attention_matrix_model import *
from attention_linear_model import *
from attenti... | 33.666667 | 46 | 0.861386 | 71 | 505 | 5.71831 | 0.239437 | 0.37931 | 0.480296 | 0.35468 | 0.293103 | 0.140394 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110891 | 505 | 14 | 47 | 36.071429 | 0.904232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
70c6dcc2d403a996d0ed858292d385a9902e6692 | 10,356 | py | Python | userbot/plugins/animation3.py | NoobRider/catuserbot | dea79d5d8b7174efefcc1c35ed3434516a490f58 | [
"MIT"
] | 2 | 2020-04-12T11:51:06.000Z | 2020-04-18T14:08:06.000Z | userbot/plugins/animation3.py | NoobRider/catuserbot | dea79d5d8b7174efefcc1c35ed3434516a490f58 | [
"MIT"
] | null | null | null | userbot/plugins/animation3.py | NoobRider/catuserbot | dea79d5d8b7174efefcc1c35ed3434516a490f58 | [
"MIT"
] | 1 | 2020-05-18T10:46:56.000Z | 2020-05-18T10:46:56.000Z | from userbot import CMD_HELP
from telethon import events
import asyncio
from userbot.utils import admin_cmd
from userbot import ALIVE_NAME
import random, re
from collections import deque
DEFAULTUSER = str(ALIVE_NAME) if ALIVE_NAME else "cat"
@borg.on(admin_cmd("gangasta ?(.*)"))
async def _(event):
if not event.t... | 35.105085 | 97 | 0.254828 | 1,510 | 10,356 | 4.306623 | 0.104636 | 0.102261 | 0.092265 | 0.13563 | 0.82608 | 0.818545 | 0.796402 | 0.745348 | 0.529448 | 0.507304 | 0 | 0.007579 | 0.248262 | 10,356 | 294 | 98 | 35.22449 | 0.321773 | 0.0309 | 0 | 0.279188 | 0 | 0 | 0.516657 | 0.463096 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035533 | 0 | 0.06599 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
70d89bb4b50eeb2981309fb2339fde1240486036 | 529 | py | Python | tests/test_scripts.py | arodland/IRI2016 | ab9873e597cc78cec40f11e133b83efdbe61ae7c | [
"MIT"
] | 1 | 2020-12-18T11:49:18.000Z | 2020-12-18T11:49:18.000Z | tests/test_scripts.py | arodland/IRI2016 | ab9873e597cc78cec40f11e133b83efdbe61ae7c | [
"MIT"
] | null | null | null | tests/test_scripts.py | arodland/IRI2016 | ab9873e597cc78cec40f11e133b83efdbe61ae7c | [
"MIT"
] | 1 | 2020-12-18T11:49:20.000Z | 2020-12-18T11:49:20.000Z | #!/usr/bin/env python
import pytest
import subprocess
def test_latitude():
pytest.importorskip('matplotlib')
subprocess.check_call(['IRI16latitudeProfile', '-148'])
def test_time():
pytest.importorskip('matplotlib')
subprocess.check_call(['IRI16timeProfile', '2012-01-01', '2012-01-02', '1.0', '65', ... | 23 | 96 | 0.678639 | 61 | 529 | 5.590164 | 0.508197 | 0.061584 | 0.246334 | 0.334311 | 0.41349 | 0.41349 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 0.130435 | 529 | 22 | 97 | 24.045455 | 0.643478 | 0.037807 | 0 | 0.230769 | 0 | 0 | 0.287402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | true | 0 | 0.384615 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
70e3dfbb54da6cb3dde02e95d37081a51855c201 | 3,928 | py | Python | tests/test_on_conflict_update.py | whtsky/django-postgres-extra | 863b64ee87269ea3f6ce0c38e4e97f139138ff5f | [
"MIT"
] | null | null | null | tests/test_on_conflict_update.py | whtsky/django-postgres-extra | 863b64ee87269ea3f6ce0c38e4e97f139138ff5f | [
"MIT"
] | null | null | null | tests/test_on_conflict_update.py | whtsky/django-postgres-extra | 863b64ee87269ea3f6ce0c38e4e97f139138ff5f | [
"MIT"
] | null | null | null | import pytest
from django.db import models
from psqlextra.fields import HStoreField
from psqlextra.query import ConflictAction
from .util import get_fake_model
def test_on_conflict_update():
"""Tests whether simple upserts works correctly."""
model = get_fake_model(
{
"title": HStoreFi... | 27.089655 | 79 | 0.643839 | 488 | 3,928 | 4.979508 | 0.165984 | 0.078189 | 0.064198 | 0.078189 | 0.847325 | 0.823457 | 0.813169 | 0.805761 | 0.744033 | 0.727572 | 0 | 0.021776 | 0.240071 | 3,928 | 144 | 80 | 27.277778 | 0.792295 | 0.098523 | 0 | 0.645833 | 0 | 0 | 0.090415 | 0 | 0 | 0 | 0 | 0 | 0.302083 | 1 | 0.03125 | false | 0 | 0.052083 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
70f52d1ffbdb6b85a0747469f46e12ae6da39f46 | 133 | py | Python | oopwaiywaiy/__init__.py | Waiywaiy/oopwaiywaiy | 1353377951d20253a8269fede612adcaf96df5e2 | [
"MIT"
] | null | null | null | oopwaiywaiy/__init__.py | Waiywaiy/oopwaiywaiy | 1353377951d20253a8269fede612adcaf96df5e2 | [
"MIT"
] | null | null | null | oopwaiywaiy/__init__.py | Waiywaiy/oopwaiywaiy | 1353377951d20253a8269fede612adcaf96df5e2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from oopwaiywaiy.pythonOOP import Student,Tesla,SpecialStudent,Teacher
from oopwaiywaiy.newschool import Test | 44.333333 | 70 | 0.804511 | 16 | 133 | 6.6875 | 0.8125 | 0.280374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.090226 | 133 | 3 | 71 | 44.333333 | 0.876033 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
70fad7737c8f234cba7d7cc6736cdb7d048a8c83 | 29 | py | Python | esbulkstream/__init__.py | joshbressers/es-bulk-stream | de6c080cecc8674510268d4c1c4a0025f0b08ef8 | [
"Apache-2.0"
] | null | null | null | esbulkstream/__init__.py | joshbressers/es-bulk-stream | de6c080cecc8674510268d4c1c4a0025f0b08ef8 | [
"Apache-2.0"
] | null | null | null | esbulkstream/__init__.py | joshbressers/es-bulk-stream | de6c080cecc8674510268d4c1c4a0025f0b08ef8 | [
"Apache-2.0"
] | null | null | null |
from .esbulkstream import *
| 9.666667 | 27 | 0.758621 | 3 | 29 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 2 | 28 | 14.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb0d24fdc5eec86adcba528d3e2e08fef31585e6 | 7,771 | py | Python | ilqr_demo.py | zetian/ilqr | 62463ccc9df8b0948bd410f76fa82ce6b4a6003d | [
"MIT"
] | 2 | 2020-06-04T07:20:44.000Z | 2020-07-04T17:43:09.000Z | ilqr_demo.py | zetian/ilqr | 62463ccc9df8b0948bd410f76fa82ce6b4a6003d | [
"MIT"
] | null | null | null | ilqr_demo.py | zetian/ilqr | 62463ccc9df8b0948bd410f76fa82ce6b4a6003d | [
"MIT"
] | 1 | 2021-07-13T05:57:46.000Z | 2021-07-13T05:57:46.000Z | import numpy as np
import random
from matplotlib import pyplot as plt
import timeit
from systems import *
from ilqr import iterative_LQR
def example_acc():
horizon = 120
target_states = np.zeros((horizon, 4))
noisy_targets = np.zeros((horizon, 4))
ref_vel = np.zeros(horizon)
dt = 0.2
curv = 0.... | 36.144186 | 79 | 0.579333 | 1,202 | 7,771 | 3.603161 | 0.091514 | 0.119141 | 0.114061 | 0.067883 | 0.818287 | 0.732625 | 0.724544 | 0.721081 | 0.707227 | 0.69776 | 0 | 0.059096 | 0.248745 | 7,771 | 214 | 80 | 36.313084 | 0.682768 | 0.003989 | 0 | 0.590426 | 0 | 0 | 0.069665 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015957 | false | 0 | 0.031915 | 0 | 0.047872 | 0.015957 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cb705074ba89541b975086d79b9d38fb7157cb41 | 44 | py | Python | Samsung/benchmarks/bert/implementations/pytorch/optim/__init__.py | gglin001/training_results_v1.1 | 58fd4103f0f465bda6eb56a06a74b7bbccbbcf24 | [
"Apache-2.0"
] | 6 | 2021-10-23T00:34:22.000Z | 2022-02-10T09:33:59.000Z | optim/__init__.py | SAITPublic/MLPerf_Training_v1.1 | 3f00b82dcaa1c42078c547e0f2ed4aecbcad3277 | [
"Apache-2.0"
] | null | null | null | optim/__init__.py | SAITPublic/MLPerf_Training_v1.1 | 3f00b82dcaa1c42078c547e0f2ed4aecbcad3277 | [
"Apache-2.0"
] | null | null | null | from .acclip import *
from .madgrad import * | 22 | 22 | 0.75 | 6 | 44 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 22 | 22 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb7cf1c2ae846c8301a8804001668df6b6617161 | 601 | py | Python | smart_selects/urls.py | xncandela/django-smart-selects | 5812a54e55126c9efc37859260b50b7bb14bd0bd | [
"BSD-3-Clause"
] | null | null | null | smart_selects/urls.py | xncandela/django-smart-selects | 5812a54e55126c9efc37859260b50b7bb14bd0bd | [
"BSD-3-Clause"
] | null | null | null | smart_selects/urls.py | xncandela/django-smart-selects | 5812a54e55126c9efc37859260b50b7bb14bd0bd | [
"BSD-3-Clause"
] | null | null | null | from smart_selects.views import filterchain_all,filterchain
from django.urls import path
urlpatterns = [
path('all/<app>/<model>/<field>/<foreign_key_app_name>/<foreign_key_model_name>/<foreign_key_field_name>/<value>/',filterchain_all, name='chained_filter_all'),
path('filter/<app>/<model>/<field>/<foreign_ke... | 60.1 | 168 | 0.772047 | 83 | 601 | 5.180723 | 0.253012 | 0.209302 | 0.195349 | 0.125581 | 0.646512 | 0.646512 | 0.646512 | 0.646512 | 0.646512 | 0.646512 | 0 | 0 | 0.053245 | 601 | 9 | 169 | 66.777778 | 0.755712 | 0 | 0 | 0 | 0 | 0 | 0.638333 | 0.561667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cb7d5293badd36c9dc125da768e7f8d75e838fdb | 293 | py | Python | src/models/user.py | qerdcv/ttt-online | 8515d43be6c7a5ca7a4ceb06263619322e5ba6e6 | [
"MIT"
] | 4 | 2022-01-08T14:00:02.000Z | 2022-01-25T08:10:07.000Z | src/models/user.py | qerdcv/ttt-online | 8515d43be6c7a5ca7a4ceb06263619322e5ba6e6 | [
"MIT"
] | 8 | 2022-01-16T18:12:15.000Z | 2022-03-29T17:38:41.000Z | src/models/user.py | qerdcv/ttt-online | 8515d43be6c7a5ca7a4ceb06263619322e5ba6e6 | [
"MIT"
] | null | null | null | from schematics.models import Model
from schematics.types import IntType, StringType
class User(Model):
id = IntType(required=False, default=None)
username = StringType(required=True, min_length=4, max_length=30)
password = StringType(required=True, min_length=4, max_length=30)
| 32.555556 | 69 | 0.771331 | 40 | 293 | 5.55 | 0.575 | 0.126126 | 0.198198 | 0.225225 | 0.387387 | 0.387387 | 0.387387 | 0.387387 | 0.387387 | 0 | 0 | 0.023622 | 0.133106 | 293 | 8 | 70 | 36.625 | 0.850394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
cb8978c154d2d12e3264d853304728ae146a51c0 | 139 | py | Python | Errors/CreditExhaustedError.py | pjpmosteiro/DiscordGPT-3 | 2a64cb78debf4366d080163c38503b5f6443fbc6 | [
"MIT"
] | 49 | 2020-12-01T21:22:14.000Z | 2022-03-19T03:01:29.000Z | Errors/CreditExhaustedError.py | pjpmosteiro/DiscordGPT-3 | 2a64cb78debf4366d080163c38503b5f6443fbc6 | [
"MIT"
] | 13 | 2021-01-27T08:04:14.000Z | 2022-03-04T18:12:56.000Z | Errors/CreditExhaustedError.py | pjpmosteiro/DiscordGPT-3 | 2a64cb78debf4366d080163c38503b5f6443fbc6 | [
"MIT"
] | 19 | 2021-02-01T16:11:04.000Z | 2022-02-15T20:51:16.000Z | from Errors import Error
class CreditExhaustedError(Error):
"""Raised when user attempts to use more credit than allowed"""
pass
| 19.857143 | 67 | 0.741007 | 18 | 139 | 5.722222 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194245 | 139 | 6 | 68 | 23.166667 | 0.919643 | 0.410072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
cb8ef90cc3bfaa9cfd08f321ed752355b88f613e | 61 | py | Python | code_search/language_task/t2t_problems/__init__.py | lluunn/examples | 656e1e3e7c8ec736140fd869f00540141b825261 | [
"Apache-2.0"
] | null | null | null | code_search/language_task/t2t_problems/__init__.py | lluunn/examples | 656e1e3e7c8ec736140fd869f00540141b825261 | [
"Apache-2.0"
] | null | null | null | code_search/language_task/t2t_problems/__init__.py | lluunn/examples | 656e1e3e7c8ec736140fd869f00540141b825261 | [
"Apache-2.0"
] | null | null | null | from . import function_summarizer
from . import docstring_lm
| 20.333333 | 33 | 0.836066 | 8 | 61 | 6.125 | 0.75 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 2 | 34 | 30.5 | 0.924528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb9e1775b5c0686adf5e13069d9a4f9390f259ee | 205 | py | Python | CtpMarketDataRecorder/src/server-data-resource.py | adoggie/Tibet.6 | 3c53060edafd80b9c4dafa10699a68d86a410c66 | [
"MIT"
] | 22 | 2019-10-28T07:28:12.000Z | 2022-03-19T15:36:41.000Z | CtpMarketDataRecorder/src/server-data-resource.py | adoggie/Tibet.6 | 3c53060edafd80b9c4dafa10699a68d86a410c66 | [
"MIT"
] | 1 | 2019-11-07T04:54:14.000Z | 2019-11-07T07:12:48.000Z | CtpMarketDataRecorder/src/server-data-resource.py | adoggie/Tibet.6 | 3c53060edafd80b9c4dafa10699a68d86a410c66 | [
"MIT"
] | 13 | 2019-10-28T07:29:07.000Z | 2021-11-03T06:53:12.000Z | #coding:utf-8
from mantis.fundamental.application.use_gevent import use_gevent
# use_gevent()
from mantis.fundamental.application.app import Application,instance,setup
setup(Application).init().run()
| 18.636364 | 73 | 0.809756 | 27 | 205 | 6.037037 | 0.555556 | 0.165644 | 0.257669 | 0.392638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005319 | 0.082927 | 205 | 10 | 74 | 20.5 | 0.861702 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cbd072f8d24726c0df80357e4d3bdd9976d71396 | 22 | py | Python | acq4/devices/Scanner/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | acq4/devices/Scanner/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | acq4/devices/Scanner/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | from Scanner import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1db6be0aec9ed197744d706ee6ce9f47104aab25 | 151 | py | Python | thumt/tokenizers/__init__.py | yafuly/PromptNMT | 07b1daa7c7609d6f9035b4ac71b962c3c07b2f96 | [
"BSD-3-Clause"
] | null | null | null | thumt/tokenizers/__init__.py | yafuly/PromptNMT | 07b1daa7c7609d6f9035b4ac71b962c3c07b2f96 | [
"BSD-3-Clause"
] | null | null | null | thumt/tokenizers/__init__.py | yafuly/PromptNMT | 07b1daa7c7609d6f9035b4ac71b962c3c07b2f96 | [
"BSD-3-Clause"
] | null | null | null | from thumt.tokenizers.tokenizer import Tokenizer, WhiteSpaceTokenizer, AdviceTokenizer
from thumt.tokenizers.unicode_tokenizer import UnicodeTokenizer
| 50.333333 | 86 | 0.89404 | 15 | 151 | 8.933333 | 0.6 | 0.134328 | 0.283582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066225 | 151 | 2 | 87 | 75.5 | 0.950355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1dcb5ae1d41bcbc462b505d2faf03fd3fc4d369e | 142 | py | Python | jagerml/__init__.py | imocanu/jagerml | b0e953b9fefe4a21935a763d53015f6d85160c9f | [
"MIT"
] | null | null | null | jagerml/__init__.py | imocanu/jagerml | b0e953b9fefe4a21935a763d53015f6d85160c9f | [
"MIT"
] | null | null | null | jagerml/__init__.py | imocanu/jagerml | b0e953b9fefe4a21935a763d53015f6d85160c9f | [
"MIT"
] | null | null | null | import jagerml.activations
import jagerml.evaluate
import jagerml.helper
import jagerml.layers
import jagerml.model
import jagerml.optimizers
| 20.285714 | 26 | 0.873239 | 18 | 142 | 6.888889 | 0.444444 | 0.629032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 142 | 6 | 27 | 23.666667 | 0.953846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1dce0b15e50342035e33edb57c1498a9b0714b83 | 48 | py | Python | src/models/__init__.py | aleksandrgordienko/melissa-quiz | 49b165acc9aae0ad84cf751cbeb4f6a27dd5ab0f | [
"MIT"
] | null | null | null | src/models/__init__.py | aleksandrgordienko/melissa-quiz | 49b165acc9aae0ad84cf751cbeb4f6a27dd5ab0f | [
"MIT"
] | null | null | null | src/models/__init__.py | aleksandrgordienko/melissa-quiz | 49b165acc9aae0ad84cf751cbeb4f6a27dd5ab0f | [
"MIT"
] | null | null | null | from models.models import Parameter, User, Chat
| 24 | 47 | 0.8125 | 7 | 48 | 5.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 1 | 48 | 48 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38004ff8efc8d7bce895cd274245a089a09ec71e | 73 | py | Python | run.py | yamiyukiharu/trafficVehicleCounter | b563cff04d821975c74a4a37ddd784541e0ba44e | [
"MIT"
] | 1 | 2022-02-03T12:00:29.000Z | 2022-02-03T12:00:29.000Z | run.py | yamiyukiharu/trafficVehicleCounter | b563cff04d821975c74a4a37ddd784541e0ba44e | [
"MIT"
] | null | null | null | run.py | yamiyukiharu/trafficVehicleCounter | b563cff04d821975c74a4a37ddd784541e0ba44e | [
"MIT"
] | 1 | 2022-01-26T10:00:50.000Z | 2022-01-26T10:00:50.000Z | import os
# os.system('python compile_ui.py')
os.system('python App.py') | 18.25 | 35 | 0.726027 | 13 | 73 | 4 | 0.615385 | 0.307692 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 73 | 4 | 36 | 18.25 | 0.787879 | 0.452055 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
69a74112d875bf92e711f326034ce7bc29bc2e52 | 48 | py | Python | preproc/main.py | marctheshark3/NLP | a2db2db255e9f7a1cfee1e7ab374c485c98d51bc | [
"MIT"
] | 1 | 2021-03-27T07:12:40.000Z | 2021-03-27T07:12:40.000Z | preproc/main.py | marctheshark3/NLP | a2db2db255e9f7a1cfee1e7ab374c485c98d51bc | [
"MIT"
] | null | null | null | preproc/main.py | marctheshark3/NLP | a2db2db255e9f7a1cfee1e7ab374c485c98d51bc | [
"MIT"
] | 2 | 2021-03-27T07:12:46.000Z | 2021-03-27T07:12:54.000Z |
from preproc.translate import translate_file
| 12 | 45 | 0.833333 | 6 | 48 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 3 | 46 | 16 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
69b5abe1d160d0a250e02a149efca4ea863657c6 | 4,646 | py | Python | app/tests/v1/test_meetup.py | isaacizey/Questioner-endpoints | 7232e266d229764d55b0fe5dafc301ad506c5840 | [
"MIT"
] | null | null | null | app/tests/v1/test_meetup.py | isaacizey/Questioner-endpoints | 7232e266d229764d55b0fe5dafc301ad506c5840 | [
"MIT"
] | 2 | 2019-01-14T06:15:27.000Z | 2019-01-17T19:48:09.000Z | app/tests/v1/test_meetup.py | isaacizey/Questioner-endpoints | 7232e266d229764d55b0fe5dafc301ad506c5840 | [
"MIT"
] | null | null | null | """File to test all meetup endpoints"""
import unittest
import json
from app import create_app
from app.api.v1.models.meetups_model import MeetupModel
APP = create_app()
all_meetups_url = 'http://localhost:5000/api/v1/meetups'
specific_meetup_url = 'http://localhost:5000/api/v1/meetups/1'
new_meet_url = 'http://local... | 35.465649 | 115 | 0.646362 | 558 | 4,646 | 5.243728 | 0.172043 | 0.097403 | 0.105263 | 0.124402 | 0.82365 | 0.791183 | 0.791183 | 0.76931 | 0.742652 | 0.714286 | 0 | 0.02625 | 0.22105 | 4,646 | 130 | 116 | 35.738462 | 0.78226 | 0.087387 | 0 | 0.615385 | 0 | 0 | 0.181166 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.102564 | false | 0 | 0.051282 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
386cc8622e78cac909eb08a7c875453107d88305 | 58 | py | Python | models_pyspark/views/__init__.py | cccs-jc/jaffle_shop | 2d1eaaa53391d4fdd8ec1914f4d007155360f7a3 | [
"Apache-2.0"
] | null | null | null | models_pyspark/views/__init__.py | cccs-jc/jaffle_shop | 2d1eaaa53391d4fdd8ec1914f4d007155360f7a3 | [
"Apache-2.0"
] | null | null | null | models_pyspark/views/__init__.py | cccs-jc/jaffle_shop | 2d1eaaa53391d4fdd8ec1914f4d007155360f7a3 | [
"Apache-2.0"
] | null | null | null | from .json_dataset1 import *
from .json_dataset2 import *
| 19.333333 | 28 | 0.793103 | 8 | 58 | 5.5 | 0.625 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.137931 | 58 | 2 | 29 | 29 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38a6b13b10a47c9a5ec2935c4293582eb7d9e6cb | 12,306 | py | Python | companies/views.py | germainlefebvre4/store-drive_api | 2d838d5020084f4b9059a72f98126fc07aa70c33 | [
"WTFPL"
] | null | null | null | companies/views.py | germainlefebvre4/store-drive_api | 2d838d5020084f4b9059a72f98126fc07aa70c33 | [
"WTFPL"
] | null | null | null | companies/views.py | germainlefebvre4/store-drive_api | 2d838d5020084f4b9059a72f98126fc07aa70c33 | [
"WTFPL"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
from django.http import JsonResponse
import pymongo
from pymongo import MongoClient
from datetime import *
import os, io, json
def index(request):
return HttpResponse("Hello, world. You're at the polls index.")
# http://localhost:8000/comp... | 40.613861 | 244 | 0.624898 | 1,345 | 12,306 | 5.550186 | 0.089963 | 0.044206 | 0.039384 | 0.04501 | 0.860683 | 0.849163 | 0.827595 | 0.814601 | 0.806966 | 0.794776 | 0 | 0.043565 | 0.222168 | 12,306 | 302 | 245 | 40.748344 | 0.736314 | 0.143263 | 0 | 0.634146 | 0 | 0 | 0.172309 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056911 | false | 0 | 0.028455 | 0.004065 | 0.142276 | 0.020325 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.