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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
070d30fefe718996152b02caa80ecab9ad3b460b | 41 | py | Python | app/api.py | lafith/flask-template | 32b3d4dd309c5c6f5ce8e1ed252e78ceb04dae8a | [
"MIT"
] | null | null | null | app/api.py | lafith/flask-template | 32b3d4dd309c5c6f5ce8e1ed252e78ceb04dae8a | [
"MIT"
] | null | null | null | app/api.py | lafith/flask-template | 32b3d4dd309c5c6f5ce8e1ed252e78ceb04dae8a | [
"MIT"
] | null | null | null | def say_hello():
return "Hello world!"
| 10.25 | 22 | 0.682927 | 6 | 41 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 3 | 23 | 13.666667 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
074575df380462fe80c90205bd0b784f80d6654a | 38,084 | py | Python | instances/passenger_demand/pas-20210421-2109-int16e/25.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int16e/25.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int16e/25.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3684
passenger_arriving = (
(4, 8, 8, 3, 0, 0, 6, 9, 6, 5, 1, 0), # 0
(5, 9, 14, 2, 4, 0, 13, 12, 6, 5, 1, 0), # 1
(3, 14, 11, 3, 3, 0, 11, 9, 9, 2, 1, 0), # 2
(7, 11, 8, 3, 2, 0, 9, 9, 2, 8, 2, 0), # 3
(4, 11, 8, 7, 4, 0, 8, 15, 5, 4, 1, 0), # 4
(5, 5, 6, 4, 3, 0, 10, 9... | 113.683582 | 214 | 0.73049 | 5,147 | 38,084 | 5.402953 | 0.23198 | 0.310691 | 0.245964 | 0.466036 | 0.326657 | 0.325506 | 0.325506 | 0.325506 | 0.325506 | 0.325506 | 0 | 0.820077 | 0.118527 | 38,084 | 334 | 215 | 114.023952 | 0.008311 | 0.031798 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4acc8ed99765005ed638413a2ecd9bfca00df2a8 | 8,331 | py | Python | tests/compat/test_gecko47.py | AutomatedTester/amo-validator | a063002497395ce04085a3940713b4467f12e9fd | [
"BSD-3-Clause"
] | null | null | null | tests/compat/test_gecko47.py | AutomatedTester/amo-validator | a063002497395ce04085a3940713b4467f12e9fd | [
"BSD-3-Clause"
] | null | null | null | tests/compat/test_gecko47.py | AutomatedTester/amo-validator | a063002497395ce04085a3940713b4467f12e9fd | [
"BSD-3-Clause"
] | null | null | null | from helper import CompatTestCase
from validator.compat import FX47_DEFINITION
class TestFX47Compat(CompatTestCase):
"""Test that compatibility tests for Gecko 47 are properly executed."""
VERSION = FX47_DEFINITION
def test_bnsIX509CertDB_method_changed(self):
"""https://github.com/mozilla/addon... | 36.862832 | 88 | 0.646141 | 942 | 8,331 | 5.567941 | 0.181529 | 0.120114 | 0.156149 | 0.119542 | 0.749857 | 0.749857 | 0.745853 | 0.745853 | 0.705434 | 0.676454 | 0 | 0.017703 | 0.247389 | 8,331 | 225 | 89 | 37.026667 | 0.81882 | 0.078742 | 0 | 0.7 | 0 | 0 | 0.313474 | 0.128585 | 0 | 0 | 0 | 0 | 0.44 | 1 | 0.033333 | false | 0 | 0.046667 | 0 | 0.093333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
db7d016dc3b3871a9b892dbf1ad6e96e7a6773d9 | 17,169 | py | Python | tests/test_proxy_functional.py | Mariatta/aiohttp | 78d08ce8f629f6ce3d1b3f0758b797c085be944c | [
"Apache-2.0"
] | 1 | 2021-01-03T00:58:07.000Z | 2021-01-03T00:58:07.000Z | tests/test_proxy_functional.py | Mariatta/aiohttp | 78d08ce8f629f6ce3d1b3f0758b797c085be944c | [
"Apache-2.0"
] | null | null | null | tests/test_proxy_functional.py | Mariatta/aiohttp | 78d08ce8f629f6ce3d1b3f0758b797c085be944c | [
"Apache-2.0"
] | null | null | null | import asyncio
import os
from unittest import mock
import pytest
from yarl import URL
import aiohttp
from aiohttp import web
@pytest.fixture
def proxy_test_server(raw_test_server, loop, monkeypatch):
"""Handle all proxy requests and imitate remote server response."""
_patch_ssl_transport(monkeypatch)
... | 30.990975 | 78 | 0.680412 | 2,267 | 17,169 | 4.977944 | 0.082488 | 0.046079 | 0.06646 | 0.043775 | 0.821356 | 0.791493 | 0.77829 | 0.771289 | 0.726008 | 0.704032 | 0 | 0.008819 | 0.207467 | 17,169 | 553 | 79 | 31.047016 | 0.820534 | 0.010833 | 0 | 0.653333 | 0 | 0 | 0.127688 | 0.011549 | 0 | 0 | 0 | 0 | 0.264 | 1 | 0.010667 | false | 0.021333 | 0.018667 | 0.002667 | 0.050667 | 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 |
dbb73506e6aab8ca11a5a21d3acc4c3945f72e1e | 121 | py | Python | ink/utils/__init__.py | Squidtoon99/Squidbot | c55491584134d83c98afa9ac7aac48b672ba73c8 | [
"MIT"
] | 2 | 2021-05-23T16:16:08.000Z | 2021-09-26T19:19:39.000Z | ink/utils/__init__.py | Squidtoon99/Squidbot | c55491584134d83c98afa9ac7aac48b672ba73c8 | [
"MIT"
] | 3 | 2021-07-04T08:07:59.000Z | 2021-07-04T08:19:44.000Z | ink/utils/__init__.py | Squidtoon99/Squidbot | c55491584134d83c98afa9ac7aac48b672ba73c8 | [
"MIT"
] | 1 | 2022-02-19T23:51:23.000Z | 2022-02-19T23:51:23.000Z | from .converters import *
from .paginators import *
from .embeds import *
from .db import *
from .decorators import * | 24.2 | 26 | 0.727273 | 15 | 121 | 5.866667 | 0.466667 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190083 | 121 | 5 | 27 | 24.2 | 0.897959 | 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 |
dbbe35465bf678e6de5110b8adc47e400e881480 | 165 | py | Python | bvp/utils/__init__.py | marklescroart/bvp | 4b973bacb2e6ed96538a1b81964b4bc13ffa1ccb | [
"BSD-2-Clause"
] | 2 | 2017-12-22T05:31:50.000Z | 2019-04-08T19:23:15.000Z | bvp/utils/__init__.py | marklescroart/bvp | 4b973bacb2e6ed96538a1b81964b4bc13ffa1ccb | [
"BSD-2-Clause"
] | 10 | 2016-07-28T01:24:48.000Z | 2017-05-30T06:53:08.000Z | bvp/utils/__init__.py | marklescroart/bvp | 4b973bacb2e6ed96538a1b81964b4bc13ffa1ccb | [
"BSD-2-Clause"
] | 1 | 2021-01-03T14:35:18.000Z | 2021-01-03T14:35:18.000Z | """
Initialization of utils.
Couple handy-dandy functions:
"""
from __future__ import absolute_import
from . import basics
from . import blender
from . import math | 18.333333 | 38 | 0.775758 | 21 | 165 | 5.857143 | 0.666667 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 165 | 9 | 39 | 18.333333 | 0.878571 | 0.327273 | 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 |
917f7598c8c7bf06b307a84d2f314bbde475fb73 | 8,961 | py | Python | src/fess/test/ui/admin/virtualhost/add.py | codelibs/fess-test-ui | 8082cdda55d6d3bc7b533baa6b632b614e83e68c | [
"Apache-2.0"
] | null | null | null | src/fess/test/ui/admin/virtualhost/add.py | codelibs/fess-test-ui | 8082cdda55d6d3bc7b533baa6b632b614e83e68c | [
"Apache-2.0"
] | 1 | 2021-12-27T14:06:59.000Z | 2022-01-13T09:09:06.000Z | src/fess/test/ui/admin/virtualhost/add.py | codelibs/fess-test-ui | 8082cdda55d6d3bc7b533baa6b632b614e83e68c | [
"Apache-2.0"
] | null | null | null | from playwright.sync_api import Playwright, sync_playwright
def run(playwright: Playwright) -> None:
browser = playwright.chromium.launch(headless=False, slow_mo=500)
context = browser.new_context()
# Open new page
page = context.new_page()
# Go to http://localhost:8080/login/
page.goto("htt... | 30.376271 | 108 | 0.620913 | 1,105 | 8,961 | 5.029864 | 0.105882 | 0.09068 | 0.130982 | 0.09176 | 0.866319 | 0.844009 | 0.84095 | 0.831054 | 0.809824 | 0.778877 | 0 | 0.024458 | 0.160473 | 8,961 | 294 | 109 | 30.479592 | 0.714343 | 0.447606 | 0 | 0.568182 | 0 | 0.034091 | 0.329682 | 0.034932 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011364 | false | 0 | 0.011364 | 0 | 0.022727 | 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 |
37cd031c8e1eff91d147d9df468ac359197a7083 | 174 | py | Python | ryu/services/protocols/bgp/api/all.py | MrCocoaCat/ryu | 9e9571991a73380099b7ba7c6f37e0e587080a6a | [
"Apache-2.0"
] | null | null | null | ryu/services/protocols/bgp/api/all.py | MrCocoaCat/ryu | 9e9571991a73380099b7ba7c6f37e0e587080a6a | [
"Apache-2.0"
] | null | null | null | ryu/services/protocols/bgp/api/all.py | MrCocoaCat/ryu | 9e9571991a73380099b7ba7c6f37e0e587080a6a | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
from __future__ import absolute_import
from . import core
from . import operator
from . import prefix
from . import rtconf
from . import import_map
| 17.4 | 39 | 0.741379 | 23 | 174 | 5.347826 | 0.478261 | 0.406504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.218391 | 174 | 9 | 40 | 19.333333 | 0.897059 | 0.068966 | 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 |
5356d117ca925e37b11c242d294afad7570818c6 | 108,470 | py | Python | tests/test_views.py | yezyilomo/django-restql | 3df3dbea9412d1e98ecaaf1bf4312b73e6f933c0 | [
"MIT"
] | 545 | 2019-04-23T12:54:21.000Z | 2022-03-28T07:59:43.000Z | tests/test_views.py | yezyilomo/django-restql | 3df3dbea9412d1e98ecaaf1bf4312b73e6f933c0 | [
"MIT"
] | 109 | 2019-05-21T13:48:27.000Z | 2022-03-18T21:10:32.000Z | tests/test_views.py | yezyilomo/django-restql | 3df3dbea9412d1e98ecaaf1bf4312b73e6f933c0 | [
"MIT"
] | 44 | 2019-05-15T19:04:01.000Z | 2022-01-31T04:12:59.000Z | from django.urls import reverse_lazy
from rest_framework.test import APITestCase
from tests.testapp.models import Book, Instructor, Course, Phone, Student
from tests.testapp.serializers import WritableCourseSerializer, WritableStudentSerializer
class DataQueryingTests(APITestCase):
def setUp(self):
self.... | 34.979039 | 138 | 0.415663 | 8,429 | 108,470 | 5.194329 | 0.041998 | 0.068428 | 0.03426 | 0.067378 | 0.953132 | 0.941941 | 0.929288 | 0.915401 | 0.8977 | 0.881598 | 0 | 0.026477 | 0.446363 | 108,470 | 3,100 | 139 | 34.990323 | 0.702596 | 0.024329 | 0 | 0.632117 | 0 | 0.00073 | 0.225711 | 0.014111 | 0 | 0 | 0 | 0 | 0.050365 | 1 | 0.045985 | false | 0.00073 | 0.00146 | 0 | 0.048905 | 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 |
5368e0df58ed8eab76302c418c2c4b8b2b1370ae | 96 | py | Python | src/brewlog/fermentation/__init__.py | zgoda/brewlog | 13a930b328f81d01a2be9aca07d3b14703b80faa | [
"BSD-3-Clause"
] | 3 | 2019-03-11T04:30:06.000Z | 2020-01-26T03:21:52.000Z | src/brewlog/fermentation/__init__.py | zgoda/brewlog | 13a930b328f81d01a2be9aca07d3b14703b80faa | [
"BSD-3-Clause"
] | 23 | 2019-02-06T20:37:37.000Z | 2020-06-01T07:08:35.000Z | src/brewlog/fermentation/__init__.py | zgoda/brewlog | 13a930b328f81d01a2be9aca07d3b14703b80faa | [
"BSD-3-Clause"
] | null | null | null | from flask import Blueprint
ferm_bp = Blueprint('ferm', __name__)
from . import views # noqa
| 16 | 37 | 0.739583 | 13 | 96 | 5.076923 | 0.692308 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177083 | 96 | 5 | 38 | 19.2 | 0.835443 | 0.041667 | 0 | 0 | 0 | 0 | 0.044444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
536a2b912389d30e6ce4d5cf14cbb4f4c5a51dfc | 66 | py | Python | python/testData/quickFixes/PyAddImportQuickFixTest/localFromImportForCommonPackageAlias/main_after.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/quickFixes/PyAddImportQuickFixTest/localFromImportForCommonPackageAlias/main_after.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/quickFixes/PyAddImportQuickFixTest/localFromImportForCommonPackageAlias/main_after.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | def main():
from matplotlib import pyplot as plt
plt.plot
| 16.5 | 40 | 0.681818 | 10 | 66 | 4.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257576 | 66 | 3 | 41 | 22 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
728f17c8cad7d2ad365f3186e6224b1908fa860c | 30 | py | Python | examples/multiple-dependencies-with-rewrite/world/world/__init__.py | mwilliamson/python-vendorize | dbc3219229ea0624965c4afb4ea988bba8c37c79 | [
"BSD-2-Clause"
] | 38 | 2016-06-16T03:18:06.000Z | 2022-02-02T00:06:02.000Z | examples/multiple-dependencies-with-rewrite/world/world/__init__.py | mwilliamson/python-vendorize | dbc3219229ea0624965c4afb4ea988bba8c37c79 | [
"BSD-2-Clause"
] | 14 | 2018-02-17T10:46:18.000Z | 2021-11-20T16:30:23.000Z | examples/multiple-dependencies-with-rewrite/world/world/__init__.py | mwilliamson/python-vendorize | dbc3219229ea0624965c4afb4ea988bba8c37c79 | [
"BSD-2-Clause"
] | 4 | 2019-05-12T15:38:39.000Z | 2021-07-11T09:48:07.000Z | from world.world import world
| 15 | 29 | 0.833333 | 5 | 30 | 5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 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 |
72ab48b9a923cc97f83519acdee69c2702350465 | 23,542 | py | Python | deprecated/starbucks_v1.py | tomy0000000/Cafe-Address-Crawler | 90842c297edd732e54a1d33b9358614a68f273d8 | [
"MIT"
] | null | null | null | deprecated/starbucks_v1.py | tomy0000000/Cafe-Address-Crawler | 90842c297edd732e54a1d33b9358614a68f273d8 | [
"MIT"
] | null | null | null | deprecated/starbucks_v1.py | tomy0000000/Cafe-Address-Crawler | 90842c297edd732e54a1d33b9358614a68f273d8 | [
"MIT"
] | null | null | null | import requests
import json
import bs4
#Building Database Structure
Stores = {}
Features = {"Reserve":"icon_reserve.jpg","Fizzo":"icon_fizzio.jpg","Drive-Thru":"Drive-Thru","WiFi":"icon_wifi.jpg",}
link = "http://www.starbucks.com.tw/stores/storesearch.jspx"
CityCodes = {"14":"基隆市","11":"台北市","1":"新北市","4":"桃園市","2":"... | 435.962963 | 21,522 | 0.947498 | 630 | 23,542 | 35.371429 | 0.620635 | 0.002513 | 0.003455 | 0.004084 | 0.033971 | 0.024008 | 0.00525 | 0.00525 | 0.00525 | 0 | 0 | 0.098668 | 0.01801 | 23,542 | 54 | 21,523 | 435.962963 | 0.865257 | 0.006457 | 0 | 0 | 0 | 0.026316 | 0.940467 | 0.923488 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.078947 | 0 | 0.078947 | 0.078947 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72be6e48e569c847949242784a20b95b983d6664 | 49 | py | Python | tensorflow_probability/my_tfp_bdl/models/bayesian_resnet.py | zhoudoao-bayes/tf-probability | 2c8975cad9ab4103f4fb2b277c4ed0763a488796 | [
"Apache-2.0"
] | null | null | null | tensorflow_probability/my_tfp_bdl/models/bayesian_resnet.py | zhoudoao-bayes/tf-probability | 2c8975cad9ab4103f4fb2b277c4ed0763a488796 | [
"Apache-2.0"
] | null | null | null | tensorflow_probability/my_tfp_bdl/models/bayesian_resnet.py | zhoudoao-bayes/tf-probability | 2c8975cad9ab4103f4fb2b277c4ed0763a488796 | [
"Apache-2.0"
] | null | null | null | # Todo: add bayesian resnet model. -2020.5.26
| 24.5 | 48 | 0.673469 | 8 | 49 | 4.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 0.204082 | 49 | 1 | 49 | 49 | 0.666667 | 0.938776 | 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 |
f40ad729637bcc0fb87509b09a9ae72e278d8e78 | 1,029 | py | Python | parsers/tests.py | nahidupa/grr | 100a9d85ef2abb234e12e3ac2623caffb4116be7 | [
"Apache-2.0"
] | 1 | 2015-02-22T16:05:06.000Z | 2015-02-22T16:05:06.000Z | parsers/tests.py | nahidupa/grr | 100a9d85ef2abb234e12e3ac2623caffb4116be7 | [
"Apache-2.0"
] | 3 | 2020-09-11T12:54:50.000Z | 2020-09-11T12:55:01.000Z | parsers/tests.py | nahidupa/grr | 100a9d85ef2abb234e12e3ac2623caffb4116be7 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Copyright 2012 Google Inc. All Rights Reserved.
"""Tests for the grr parsers."""
# These need to register plugins so, pylint: disable=unused-import
from grr.parsers import chrome_history_test
from grr.parsers import config_file_test
from grr.parsers import firefox3_history_test
from grr.parser... | 36.75 | 66 | 0.853256 | 164 | 1,029 | 5.097561 | 0.353659 | 0.215311 | 0.284689 | 0.406699 | 0.606459 | 0.547847 | 0.214115 | 0 | 0 | 0 | 0 | 0.005411 | 0.102041 | 1,029 | 27 | 67 | 38.111111 | 0.899351 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.05 | 0.9 | 0 | 0.9 | 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 |
f424b3a43381079136f025a109db3e6db973d797 | 29 | py | Python | src-py/micro_web/adb_route.py | forforforStudy/cute-baby | 0c669c2a277352adc5fdaf192789e789d4b7e87f | [
"MIT"
] | null | null | null | src-py/micro_web/adb_route.py | forforforStudy/cute-baby | 0c669c2a277352adc5fdaf192789e789d4b7e87f | [
"MIT"
] | null | null | null | src-py/micro_web/adb_route.py | forforforStudy/cute-baby | 0c669c2a277352adc5fdaf192789e789d4b7e87f | [
"MIT"
] | null | null | null | from micro_web.app import app | 29 | 29 | 0.862069 | 6 | 29 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 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 |
f44a68b7e05c41009f77cc9bfeb9e48e3afdfb4a | 27 | py | Python | __init__.py | velimir0xff/pelican-social-meta | beb07b26cd83173cd9a858fc276e169939c4d7ab | [
"MIT"
] | 1 | 2017-02-15T07:19:51.000Z | 2017-02-15T07:19:51.000Z | __init__.py | velimir0xff/pelican-social-meta | beb07b26cd83173cd9a858fc276e169939c4d7ab | [
"MIT"
] | null | null | null | __init__.py | velimir0xff/pelican-social-meta | beb07b26cd83173cd9a858fc276e169939c4d7ab | [
"MIT"
] | null | null | null | from .social_meta import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 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 |
f45fac523891a11ac982009e0bb01e02a7e71d83 | 8,881 | py | Python | src/python_old/driver.py | chdhr-harshal/uber-driver-strategy | f21f968e7aa04d8105bf42e046ab120f813aa12f | [
"MIT"
] | 5 | 2019-04-14T22:30:19.000Z | 2021-02-05T17:54:25.000Z | src/python_old/driver.py | chdhr-harshal/uber-driver-strategy | f21f968e7aa04d8105bf42e046ab120f813aa12f | [
"MIT"
] | 1 | 2018-02-17T10:36:43.000Z | 2018-02-17T10:46:33.000Z | src/python_old/driver.py | chdhr-harshal/uber_driver_strategy | f21f968e7aa04d8105bf42e046ab120f813aa12f | [
"MIT"
] | null | null | null | #!/home/grad3/harshal/py_env/my_env/bin/python2.7
import numpy as np
import math
import dill
class Driver(object):
"""
Driver class
"""
def __init__(self, strategy, OPT_ACTIONS, city_states, home_zone, service_time, budget=None):
# Driver parameters
self.strategy = None
self.se... | 51.04023 | 130 | 0.699583 | 1,159 | 8,881 | 4.941329 | 0.095772 | 0.065305 | 0.073337 | 0.08294 | 0.855422 | 0.832897 | 0.819801 | 0.791863 | 0.779291 | 0.772307 | 0 | 0.005093 | 0.226213 | 8,881 | 173 | 131 | 51.33526 | 0.828289 | 0.066434 | 0 | 0.651163 | 0 | 0 | 0.015122 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.077519 | false | 0 | 0.023256 | 0.007752 | 0.155039 | 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 |
f477ef8aebc99a368fb0b9a2e1be8ab69e82d4c2 | 3,751 | py | Python | tests/cli/test_config.py | onekiloparsec/arcsecond.python | e4b22bf055c7f089ca9f0d6c4bda6314350878e0 | [
"MIT"
] | 7 | 2018-08-29T15:31:25.000Z | 2022-01-08T14:08:39.000Z | tests/cli/test_config.py | onekiloparsec/arcsecond-python | e4b22bf055c7f089ca9f0d6c4bda6314350878e0 | [
"MIT"
] | 2 | 2018-10-21T07:42:26.000Z | 2020-02-24T10:11:22.000Z | tests/cli/test_config.py | onekiloparsec/arcsecond-python | e4b22bf055c7f089ca9f0d6c4bda6314350878e0 | [
"MIT"
] | null | null | null | import random
import string
from unittest.mock import patch
from arcsecond import config
SECTION = 'test'
USERNAME = 'cedric'
API_KEY = '1-2-3'
UPLOAD_KEY = '9-8-7'
def test_config_file_path():
path = config.config_file_path()
assert path.endswith('.arcsecond.ini')
def test_config_file_is_logged_in_no_fil... | 39.484211 | 100 | 0.797654 | 544 | 3,751 | 5.0625 | 0.110294 | 0.159768 | 0.22077 | 0.095861 | 0.805737 | 0.795933 | 0.785766 | 0.715686 | 0.687001 | 0.6122 | 0 | 0.006327 | 0.115169 | 3,751 | 94 | 101 | 39.904255 | 0.823441 | 0 | 0 | 0.455882 | 0 | 0 | 0.027726 | 0.018662 | 0 | 0 | 0 | 0 | 0.220588 | 1 | 0.176471 | false | 0 | 0.058824 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f488a24b859d3e6401e418a51ad438ef1b061ffb | 2,593 | py | Python | swimlang/visitor.py | heavyairship/swimlang | ea83ae01ed5333f09b3e99a44e46bd51f1aaebe5 | [
"MIT"
] | null | null | null | swimlang/visitor.py | heavyairship/swimlang | ea83ae01ed5333f09b3e99a44e46bd51f1aaebe5 | [
"MIT"
] | null | null | null | swimlang/visitor.py | heavyairship/swimlang | ea83ae01ed5333f09b3e99a44e46bd51f1aaebe5 | [
"MIT"
] | null | null | null | ##################################################################################
# Visitor base class
##################################################################################
class Visitor(object):
def __call__(self, node):
return node.accept(self)
def visit_int(self, node):
raise ... | 22.946903 | 82 | 0.62553 | 260 | 2,593 | 6.084615 | 0.184615 | 0.176991 | 0.279393 | 0.687737 | 0.837547 | 0.815424 | 0.082174 | 0 | 0 | 0 | 0 | 0 | 0.252989 | 2,593 | 112 | 83 | 23.151786 | 0.816727 | 0.006942 | 0 | 0.479452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.493151 | false | 0 | 0 | 0.013699 | 0.520548 | 0.013699 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 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 | 0 | 1 | 0 | 0 | 6 |
f490c446280084f34c3d6c6b0dade9d564be0d28 | 243 | py | Python | scripts/item/consume_2435511.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/item/consume_2435511.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/item/consume_2435511.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # Created by MechAviv
# Remnant of the Goddess Damage Skin | (2435511)
if sm.addDamageSkin(2435511):
sm.chat("'Remnant of the Goddess Damage Skin' Damage Skin has been added to your account's damage skin collection.")
sm.consumeItem() | 48.6 | 121 | 0.744856 | 36 | 243 | 5.027778 | 0.638889 | 0.220994 | 0.132597 | 0.209945 | 0.320442 | 0.320442 | 0 | 0 | 0 | 0 | 0 | 0.069307 | 0.168724 | 243 | 5 | 122 | 48.6 | 0.826733 | 0.271605 | 0 | 0 | 0 | 0.333333 | 0.605714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe4aec814323ef05cdc3749be51862039d1cefba | 25 | py | Python | api/account/models/__init__.py | DenerRodrigues/flask-restful-api-example | 40aa0b5fcdeacf5241063953c478756c85b5811d | [
"MIT"
] | 1 | 2019-12-20T00:17:22.000Z | 2019-12-20T00:17:22.000Z | api/account/models/__init__.py | DenerRodrigues/flask-restful-api-example | 40aa0b5fcdeacf5241063953c478756c85b5811d | [
"MIT"
] | null | null | null | api/account/models/__init__.py | DenerRodrigues/flask-restful-api-example | 40aa0b5fcdeacf5241063953c478756c85b5811d | [
"MIT"
] | null | null | null | from . import user_model
| 12.5 | 24 | 0.8 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe5843f5b5097bfe1a677b8e6cdc54f67839197f | 558 | py | Python | tests/test_githubloc.py | z/github-loc | f93279cdf174d7f2482423cee2b226828a7d7cbd | [
"MIT"
] | null | null | null | tests/test_githubloc.py | z/github-loc | f93279cdf174d7f2482423cee2b226828a7d7cbd | [
"MIT"
] | null | null | null | tests/test_githubloc.py | z/github-loc | f93279cdf174d7f2482423cee2b226828a7d7cbd | [
"MIT"
] | null | null | null | import json
import time
def test_date_parse():
# fails because the build server is in a different time zone, convert to UTC later
# with open("tests/data/periods.json") as f:
# unique_periods = list(set(json.loads(f.read())))
# unique_periods.sort()
# time_start = time.strftime('%Y-%m-%d %... | 37.2 | 88 | 0.643369 | 91 | 558 | 3.835165 | 0.615385 | 0.148997 | 0.074499 | 0.080229 | 0.252149 | 0.252149 | 0.252149 | 0.252149 | 0.252149 | 0.252149 | 0 | 0.066079 | 0.18638 | 558 | 14 | 89 | 39.857143 | 0.702643 | 0.808244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fe6e2d0c1017d0827b5754a469190d6a650fb986 | 7,358 | py | Python | tests/test_table/test_from_csv.py | andriyor/agate | 9b12d4bcc75bf3788e0774e23188f4409c3e7519 | [
"MIT"
] | 663 | 2016-02-16T13:43:00.000Z | 2022-03-13T17:21:19.000Z | tests/test_table/test_from_csv.py | andriyor/agate | 9b12d4bcc75bf3788e0774e23188f4409c3e7519 | [
"MIT"
] | 347 | 2015-08-28T13:46:37.000Z | 2016-02-16T01:53:06.000Z | tests/test_table/test_from_csv.py | andriyor/agate | 9b12d4bcc75bf3788e0774e23188f4409c3e7519 | [
"MIT"
] | 122 | 2016-02-23T02:43:24.000Z | 2022-03-04T17:21:14.000Z | #!/usr/bin/env python
# -*- coding: utf8 -*-
import io
import warnings
import six
from agate import Table
from agate.data_types import Boolean, Date, DateTime, Number, Text, TimeDelta
from agate.testcase import AgateTestCase
from agate.type_tester import TypeTester
class TestFromCSV(AgateTestCase):
def setUp(s... | 36.974874 | 108 | 0.671242 | 895 | 7,358 | 5.336313 | 0.109497 | 0.049833 | 0.069095 | 0.086683 | 0.871231 | 0.827471 | 0.812395 | 0.803601 | 0.793551 | 0.784129 | 0 | 0.026795 | 0.208752 | 7,358 | 198 | 109 | 37.161616 | 0.79337 | 0.005572 | 0 | 0.503704 | 0 | 0 | 0.078059 | 0.03404 | 0 | 0 | 0 | 0 | 0.325926 | 1 | 0.133333 | false | 0 | 0.051852 | 0 | 0.192593 | 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 |
fe7c9c75f86f5e865ac8969003d2c2eb939d8af0 | 3,964 | py | Python | cell2cell/stats/enrichment.py | ckmah/cell2cell | ce18bbb63e12f9b1da8699567dec9a2a8b78f824 | [
"BSD-3-Clause"
] | 16 | 2020-09-30T01:53:43.000Z | 2022-03-25T09:58:54.000Z | cell2cell/stats/enrichment.py | ckmah/cell2cell | ce18bbb63e12f9b1da8699567dec9a2a8b78f824 | [
"BSD-3-Clause"
] | 2 | 2021-08-09T21:26:54.000Z | 2021-11-08T14:47:39.000Z | cell2cell/stats/enrichment.py | ckmah/cell2cell | ce18bbb63e12f9b1da8699567dec9a2a8b78f824 | [
"BSD-3-Clause"
] | 3 | 2021-11-08T07:47:44.000Z | 2022-03-30T18:40:00.000Z | import scipy.stats as st
def hypergeom_representation(sample_size, class_in_sample, population_size, class_in_population):
'''
Performs an analysis of enrichment/depletion based on observation
in a sample. It computes a p-value given a hypergeometric
distribution.
Parameters
----------
sa... | 37.046729 | 110 | 0.663219 | 503 | 3,964 | 4.978131 | 0.17495 | 0.061502 | 0.0623 | 0.050319 | 0.810703 | 0.810703 | 0.794329 | 0.742013 | 0.724441 | 0.724441 | 0 | 0.001413 | 0.286075 | 3,964 | 107 | 111 | 37.046729 | 0.883392 | 0.47553 | 0 | 0.357143 | 0 | 0 | 0.010117 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.035714 | 0 | 0.178571 | 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 |
fe9624bc56ed92613ac4e38389e81b002f3dd69b | 50 | py | Python | src/postal/tests/__init__.py | michael-hahn/django-postal | 082000839b20a8ee0aeaa6f8c76cc459409310e4 | [
"MIT"
] | 6 | 2015-01-07T10:01:00.000Z | 2020-03-23T21:28:12.000Z | src/postal/tests/__init__.py | michael-hahn/django-postal | 082000839b20a8ee0aeaa6f8c76cc459409310e4 | [
"MIT"
] | 5 | 2015-02-24T08:09:16.000Z | 2015-11-25T10:02:07.000Z | src/postal/tests/__init__.py | michael-hahn/django-postal | 082000839b20a8ee0aeaa6f8c76cc459409310e4 | [
"MIT"
] | 8 | 2015-01-30T05:49:54.000Z | 2021-08-17T22:06:33.000Z | from test_l10n import *
from test_widgets import * | 25 | 26 | 0.82 | 8 | 50 | 4.875 | 0.625 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.14 | 50 | 2 | 26 | 25 | 0.860465 | 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 |
22d5552c53c9439215c425b4bcf352d9067cdae9 | 27 | py | Python | dist_zero/node/data/__init__.py | koreiklein/dist_zero | 68ef5a0603edc53925daeec1f4bb684025cacbd4 | [
"Unlicense"
] | 1 | 2019-03-18T13:27:35.000Z | 2019-03-18T13:27:35.000Z | dist_zero/node/data/__init__.py | koreiklein/dist_zero | 68ef5a0603edc53925daeec1f4bb684025cacbd4 | [
"Unlicense"
] | null | null | null | dist_zero/node/data/__init__.py | koreiklein/dist_zero | 68ef5a0603edc53925daeec1f4bb684025cacbd4 | [
"Unlicense"
] | null | null | null | from .data import DataNode
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 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 |
22e3681f0a14df10f954233c0e33842390918ca6 | 6,191 | py | Python | app/optimizer/Tricoire_MuPOTW/Visualization/GanttChart.py | Nicholas-Toh/route-planner | 372c70ca32c4b9a57697e9223f838faead799740 | [
"MIT"
] | null | null | null | app/optimizer/Tricoire_MuPOTW/Visualization/GanttChart.py | Nicholas-Toh/route-planner | 372c70ca32c4b9a57697e9223f838faead799740 | [
"MIT"
] | null | null | null | app/optimizer/Tricoire_MuPOTW/Visualization/GanttChart.py | Nicholas-Toh/route-planner | 372c70ca32c4b9a57697e9223f838faead799740 | [
"MIT"
] | null | null | null | from ..Data.Problem import *
from ..Data.Solution import *
from ..Data.Reader import *
#def plot(route: Route):
import matplotlib.pyplot as plt
##names = ['group_a', 'group_b', 'group_c']
##values = [1, 10, 100]
##
##plt.figure(figsize=(9, 3))
##
##plt.subplot(141)
##plt.bar(names, values)
##plt.subplot(142)
##pl... | 58.961905 | 344 | 0.668874 | 856 | 6,191 | 4.794393 | 0.110981 | 0.023879 | 0.098928 | 0.231969 | 0.796296 | 0.768031 | 0.742934 | 0.718811 | 0.716862 | 0.696637 | 0 | 0.037676 | 0.138265 | 6,191 | 104 | 345 | 59.528846 | 0.731584 | 0.503796 | 0 | 0.391304 | 0 | 0 | 0.036802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065217 | false | 0 | 0.086957 | 0 | 0.152174 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
22e53e609d21df50b24be84843b69f4318a59c32 | 87 | py | Python | models/TSM/__init__.py | hansheng0512/LateTemporalModeling3DCNN | 71c1d3fae9781c55059f0518e0b39781a535e153 | [
"MIT"
] | 144 | 2020-08-06T02:18:49.000Z | 2022-03-16T23:03:56.000Z | models/TSM/__init__.py | hansheng0512/LateTemporalModeling3DCNN | 71c1d3fae9781c55059f0518e0b39781a535e153 | [
"MIT"
] | 26 | 2020-08-12T01:07:48.000Z | 2022-01-11T16:28:08.000Z | models/TSM/__init__.py | hansheng0512/LateTemporalModeling3DCNN | 71c1d3fae9781c55059f0518e0b39781a535e153 | [
"MIT"
] | 55 | 2020-08-13T03:00:17.000Z | 2022-03-28T06:38:08.000Z | from .temporal_shift import make_temporal_shift
from .non_local import make_non_local
| 21.75 | 47 | 0.873563 | 14 | 87 | 5 | 0.5 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 87 | 3 | 48 | 29 | 0.897436 | 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 |
22edadb743ce889ffc3891cad5475d769108cb7c | 75 | py | Python | src/benzina/utils/__init__.py | satyaog/Benzina | 18243e78650c959920ff97d216374a8036e49483 | [
"MIT"
] | 30 | 2018-04-24T11:14:25.000Z | 2022-03-14T06:35:11.000Z | src/benzina/utils/__init__.py | mila-iqia/Benzina | cf898daaa481fa05aeb556eb9d9144e5a0f78638 | [
"MIT"
] | 21 | 2018-07-09T13:34:08.000Z | 2020-11-27T22:09:08.000Z | src/benzina/utils/__init__.py | mila-iqia/Benzina | cf898daaa481fa05aeb556eb9d9144e5a0f78638 | [
"MIT"
] | 8 | 2018-06-28T23:12:47.000Z | 2020-10-08T18:37:53.000Z | from . import file
from . import mp4
from .file import File, Track
| 18.75 | 29 | 0.666667 | 11 | 75 | 4.545455 | 0.454545 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.28 | 75 | 3 | 30 | 25 | 0.907407 | 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 |
a3c52b3ee182c06ca26951307e105730b7511a5c | 48 | py | Python | src/zeit/msal/__init__.py | ZeitOnline/zeit.msal | e32b161ec638a3c32236b06f2fe4908a9c933421 | [
"BSD-3-Clause"
] | null | null | null | src/zeit/msal/__init__.py | ZeitOnline/zeit.msal | e32b161ec638a3c32236b06f2fe4908a9c933421 | [
"BSD-3-Clause"
] | null | null | null | src/zeit/msal/__init__.py | ZeitOnline/zeit.msal | e32b161ec638a3c32236b06f2fe4908a9c933421 | [
"BSD-3-Clause"
] | null | null | null | from .authenticate import Authenticator # noqa
| 24 | 47 | 0.8125 | 5 | 48 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 1 | 48 | 48 | 0.95122 | 0.083333 | 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 |
a3d4ebf82a7a2ab4cbd6b1db5cf5ccd6788851df | 2,011 | py | Python | tests/test_perseus.py | arksch/fuzzy-eureka | b3511abcef5cdc6cd4d28253d9e69f5ad1a862ec | [
"MIT"
] | null | null | null | tests/test_perseus.py | arksch/fuzzy-eureka | b3511abcef5cdc6cd4d28253d9e69f5ad1a862ec | [
"MIT"
] | null | null | null | tests/test_perseus.py | arksch/fuzzy-eureka | b3511abcef5cdc6cd4d28253d9e69f5ad1a862ec | [
"MIT"
] | null | null | null | """
Tests
"""
def test_perseus_unreduced_count():
import os
from tempfile import mkstemp
from dmt.perseus import to_nmfsimtop, perseus_unreduced_count
cechmate_complex = [([0], 0), ([1], 0), ([2], 0), ((0, 1), 0), ((0, 2), 1)]
tmp_file, tmp_filename = mkstemp()
to_nmfsimtop(cechmate_complex, t... | 37.240741 | 103 | 0.638488 | 286 | 2,011 | 4.269231 | 0.167832 | 0.018018 | 0.022113 | 0.022932 | 0.819001 | 0.766585 | 0.727273 | 0.727273 | 0.720721 | 0.720721 | 0 | 0.05198 | 0.19642 | 2,011 | 53 | 104 | 37.943396 | 0.703589 | 0.002486 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.095238 | false | 0 | 0.285714 | 0 | 0.380952 | 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 |
a3f91a43d53cf7e65dd1e54a7f1d2fd761702883 | 9,013 | py | Python | placer/grouper_test.py | beomyeol/baechi | 796dd45f6db6eb11bb2fba2acfd56f51da024df8 | [
"NCSA"
] | 4 | 2020-09-27T01:32:23.000Z | 2022-03-06T22:49:19.000Z | placer/grouper_test.py | beomyeol/baechi | 796dd45f6db6eb11bb2fba2acfd56f51da024df8 | [
"NCSA"
] | null | null | null | placer/grouper_test.py | beomyeol/baechi | 796dd45f6db6eb11bb2fba2acfd56f51da024df8 | [
"NCSA"
] | 1 | 2021-11-15T06:36:29.000Z | 2021-11-15T06:36:29.000Z | # Copyright 2020 University of Illinois Board of Trustees. All Rights Reserved.
# Author: Beomyeol Jeon, DPRG (https://dprg.cs.uiuc.edu)
# This file is part of Baechi, which is released under specific terms. See file License.txt file for full license details.
# ==========================================================... | 42.314554 | 122 | 0.605237 | 1,127 | 9,013 | 4.548358 | 0.09228 | 0.125634 | 0.079984 | 0.071011 | 0.811744 | 0.799064 | 0.789504 | 0.784042 | 0.739758 | 0.726883 | 0 | 0.038012 | 0.241096 | 9,013 | 212 | 123 | 42.514151 | 0.711404 | 0.067236 | 0 | 0.689024 | 0 | 0 | 0.145259 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 1 | 0.04878 | false | 0 | 0.036585 | 0 | 0.097561 | 0.006098 | 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 |
4311c60bc461882c3d202c720875fd4d4ee945b9 | 28 | py | Python | servowrapper/__init__.py | bryanbutenhoff/servowrapper | 603754064304ff40aae950cae5c0a989885f520a | [
"Apache-2.0"
] | null | null | null | servowrapper/__init__.py | bryanbutenhoff/servowrapper | 603754064304ff40aae950cae5c0a989885f520a | [
"Apache-2.0"
] | null | null | null | servowrapper/__init__.py | bryanbutenhoff/servowrapper | 603754064304ff40aae950cae5c0a989885f520a | [
"Apache-2.0"
] | null | null | null | from usb2dynamixel import *
| 14 | 27 | 0.821429 | 3 | 28 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.142857 | 28 | 1 | 28 | 28 | 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 |
431eef29e57e93464b17cad4fa775c08145a650c | 38,330 | py | Python | h2o-bindings/bin/custom/python/gen_glm.py | callumcanavan/h2o-3 | 1ae4fdbf344ad1b1fe995a4a1c4763acee22c643 | [
"Apache-2.0"
] | 2 | 2020-09-23T14:23:55.000Z | 2020-09-23T19:26:30.000Z | h2o-bindings/bin/custom/python/gen_glm.py | further2006/h2o-3 | b0dcacaeaf0814755334214c0897a976ee151c40 | [
"Apache-2.0"
] | null | null | null | h2o-bindings/bin/custom/python/gen_glm.py | further2006/h2o-3 | b0dcacaeaf0814755334214c0897a976ee151c40 | [
"Apache-2.0"
] | null | null | null | def update_param(name, param):
if name == 'distribution':
param['values'].remove('custom')
return param
return None # param untouched
def class_extensions():
@property
def Lambda(self):
"""DEPRECATED. Use ``self.lambda_`` instead"""
return self._parms["lambda"] if "lam... | 45.468565 | 143 | 0.593269 | 3,919 | 38,330 | 5.628477 | 0.100791 | 0.02031 | 0.028878 | 0.037764 | 0.772055 | 0.759135 | 0.741636 | 0.735198 | 0.730302 | 0.720782 | 0 | 0.024247 | 0.226376 | 38,330 | 842 | 144 | 45.522565 | 0.719624 | 0.053483 | 0 | 0.673913 | 0 | 0.067775 | 0.923473 | 0.339184 | 0 | 0 | 0 | 0 | 0.002558 | 1 | 0.007673 | false | 0 | 0.063939 | 0 | 0.078005 | 0.014067 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
43275cba628b58d62aa068da69dfbad380d36cb7 | 7,924 | py | Python | anchore_engine/db/db_policyeval.py | dspalmer99/anchore-engine | 8c61318be6fec5d767426fa4ccd98472cc85b5cd | [
"Apache-2.0"
] | 1 | 2020-06-22T07:27:41.000Z | 2020-06-22T07:27:41.000Z | anchore_engine/db/db_policyeval.py | dspalmer99/anchore-engine | 8c61318be6fec5d767426fa4ccd98472cc85b5cd | [
"Apache-2.0"
] | 4 | 2020-11-07T00:16:02.000Z | 2020-11-08T20:52:06.000Z | anchore_engine/db/db_policyeval.py | dspalmer99/anchore-engine | 8c61318be6fec5d767426fa4ccd98472cc85b5cd | [
"Apache-2.0"
] | null | null | null | import time
from sqlalchemy import desc
from anchore_engine import db
from anchore_engine.db import PolicyEval
# specific DB interface helpers for the 'policyeval' table
def tsadd(policyId, userId, imageDigest, tag, final_action, inobj, session=None):
if not session:
session = db.Session
latest_res... | 29.239852 | 193 | 0.660399 | 993 | 7,924 | 5.154079 | 0.104733 | 0.02247 | 0.073075 | 0.087534 | 0.819265 | 0.813208 | 0.779015 | 0.772958 | 0.751856 | 0.7161 | 0 | 0.000164 | 0.231323 | 7,924 | 270 | 194 | 29.348148 | 0.840092 | 0.080389 | 0 | 0.656627 | 0 | 0 | 0.006218 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090361 | false | 0 | 0.024096 | 0 | 0.210843 | 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 |
433378202089e97b09a35515ddfbc7a93b0e010c | 1,236 | py | Python | tests/subaccounts/listFirstPageOfSubaccountsTest.py | nathanielwarner/seatsio-python | e731ed0c37f2496c620b40e38527a58bf3b9a9b2 | [
"MIT"
] | 2 | 2018-03-29T18:21:01.000Z | 2022-02-08T10:49:47.000Z | tests/subaccounts/listFirstPageOfSubaccountsTest.py | nathanielwarner/seatsio-python | e731ed0c37f2496c620b40e38527a58bf3b9a9b2 | [
"MIT"
] | 7 | 2018-09-03T12:31:52.000Z | 2022-02-01T08:25:09.000Z | tests/subaccounts/listFirstPageOfSubaccountsTest.py | nathanielwarner/seatsio-python | e731ed0c37f2496c620b40e38527a58bf3b9a9b2 | [
"MIT"
] | 2 | 2020-12-22T09:51:07.000Z | 2021-12-13T15:37:14.000Z | from tests.seatsioClientTest import SeatsioClientTest
from tests.util.asserts import assert_that
class ListFirstPageOfSubaccountsTest(SeatsioClientTest):
def test_allOnFirstPage(self):
subaccount1 = self.client.subaccounts.create()
subaccount2 = self.client.subaccounts.create()
subaccount... | 44.142857 | 140 | 0.761327 | 138 | 1,236 | 6.57971 | 0.304348 | 0.088106 | 0.185022 | 0.178414 | 0.75 | 0.735683 | 0.735683 | 0.735683 | 0.735683 | 0.53304 | 0 | 0.012264 | 0.142395 | 1,236 | 27 | 141 | 45.777778 | 0.84434 | 0 | 0 | 0.421053 | 0 | 0 | 0.003236 | 0 | 0 | 0 | 0 | 0 | 0.368421 | 1 | 0.105263 | false | 0 | 0.105263 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a36d1044c8717557cb137da8b78b6a0309aa1b1 | 15,063 | py | Python | mmsr/data/contras_dataset.py | yumingj/C2-Matching | fa171ca6707c6f16a5d04194ce866ea70bb21d2b | [
"Apache-2.0"
] | 111 | 2021-05-31T17:15:41.000Z | 2022-03-30T03:06:31.000Z | mmsr/data/contras_dataset.py | yumingj/C2-Matching | fa171ca6707c6f16a5d04194ce866ea70bb21d2b | [
"Apache-2.0"
] | 20 | 2021-06-02T03:03:25.000Z | 2022-03-28T03:49:08.000Z | mmsr/data/contras_dataset.py | yumingj/C2-Matching | fa171ca6707c6f16a5d04194ce866ea70bb21d2b | [
"Apache-2.0"
] | 21 | 2021-06-04T05:49:41.000Z | 2022-03-18T12:45:24.000Z | import cv2
import mmcv
import numpy as np
import torch.utils.data as data
from PIL import Image
from mmsr.data.transforms import augment, mod_crop, totensor
from mmsr.data.util import (paired_paths_from_ann_file,
paired_paths_from_folder, paired_paths_from_lmdb)
from mmsr.utils import FileC... | 39.954907 | 80 | 0.618071 | 2,037 | 15,063 | 4.270987 | 0.117329 | 0.060345 | 0.084598 | 0.033103 | 0.813563 | 0.787241 | 0.786667 | 0.78023 | 0.77977 | 0.769655 | 0 | 0.023516 | 0.277302 | 15,063 | 376 | 81 | 40.06117 | 0.775675 | 0.186218 | 0 | 0.688525 | 0 | 0 | 0.035836 | 0.00365 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028689 | false | 0 | 0.032787 | 0.008197 | 0.094262 | 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 |
4a43292dadf08b274b39022708f5f230edec4647 | 39 | py | Python | toolkit_cxc/print.py | XiaochenCui/toolkit_cxc | d89ab835b8ae3329f70516488e145c403091d844 | [
"MIT"
] | null | null | null | toolkit_cxc/print.py | XiaochenCui/toolkit_cxc | d89ab835b8ae3329f70516488e145c403091d844 | [
"MIT"
] | null | null | null | toolkit_cxc/print.py | XiaochenCui/toolkit_cxc | d89ab835b8ae3329f70516488e145c403091d844 | [
"MIT"
] | null | null | null | def print_split():
print('=' * 60)
| 13 | 19 | 0.538462 | 5 | 39 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.230769 | 39 | 2 | 20 | 19.5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4a55e6bc1fd486dcd6053093d35863086fd400a7 | 25,887 | py | Python | Client_interface.py | cgretzem/leaguepkg | 8bb298417e948806b1bccd3ffe31ac23ccb62bf3 | [
"MIT"
] | 1 | 2021-09-17T22:42:26.000Z | 2021-09-17T22:42:26.000Z | Client_interface.py | cgretzem/leaguepkg | 8bb298417e948806b1bccd3ffe31ac23ccb62bf3 | [
"MIT"
] | null | null | null | Client_interface.py | cgretzem/leaguepkg | 8bb298417e948806b1bccd3ffe31ac23ccb62bf3 | [
"MIT"
] | null | null | null | import subprocess
import pprint
import requests
import base64
import json
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
"""
Handles classes and methods for an active local LOL Client.
Classes:
----------------------
`Client` - Represents an active LOL client.
... | 31.608059 | 161 | 0.536563 | 2,799 | 25,887 | 4.882815 | 0.095391 | 0.019975 | 0.018731 | 0.022243 | 0.927929 | 0.922368 | 0.917539 | 0.911539 | 0.890247 | 0.860686 | 0 | 0.008161 | 0.337351 | 25,887 | 818 | 162 | 31.646699 | 0.788562 | 0.316027 | 0 | 0.557377 | 0 | 0 | 0.185097 | 0.094977 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103825 | false | 0 | 0.032787 | 0 | 0.31694 | 0.005464 | 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 |
4a773079b0b041aa47938f529b240c7d31900726 | 3,536 | py | Python | lib/arch.py | TheSignPainter/SDTR | d837b4d676370d1159aebe4a97b5c913ee522513 | [
"MIT"
] | null | null | null | lib/arch.py | TheSignPainter/SDTR | d837b4d676370d1159aebe4a97b5c913ee522513 | [
"MIT"
] | null | null | null | lib/arch.py | TheSignPainter/SDTR | d837b4d676370d1159aebe4a97b5c913ee522513 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
from .odst import ODST
from .sdtr import SDTR
class DenseBlock(nn.Sequential):
def __init__(self, input_dim, layer_dim, num_layers, tree_dim=1, max_features=None,
input_dropout=0.0, flatten_output=True, Module=ODST, **kwargs):
... | 43.654321 | 119 | 0.621324 | 478 | 3,536 | 4.303347 | 0.140167 | 0.062227 | 0.038892 | 0.04667 | 0.845892 | 0.845892 | 0.845892 | 0.845892 | 0.845892 | 0.845892 | 0 | 0.010502 | 0.272907 | 3,536 | 81 | 120 | 43.654321 | 0.789576 | 0 | 0 | 0.685714 | 0 | 0 | 0.001696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.071429 | 0 | 0.214286 | 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 |
4a8c4e31682f414645cc7f98c49ff34f41a31485 | 80 | py | Python | share/lib/python/neuron/crxd/__init__.py | niltonlk/nrn | 464541abbf72fe58de77b16bf0e1df425a280b89 | [
"BSD-3-Clause"
] | 203 | 2018-05-03T11:02:11.000Z | 2022-03-31T14:18:31.000Z | share/lib/python/neuron/crxd/__init__.py | niltonlk/nrn | 464541abbf72fe58de77b16bf0e1df425a280b89 | [
"BSD-3-Clause"
] | 1,228 | 2018-04-25T09:00:48.000Z | 2022-03-31T21:42:21.000Z | share/lib/python/neuron/crxd/__init__.py | niltonlk/nrn | 464541abbf72fe58de77b16bf0e1df425a280b89 | [
"BSD-3-Clause"
] | 134 | 2018-04-23T09:14:13.000Z | 2022-03-16T08:57:11.000Z | import sys
import neuron.rxd
sys.modules[__name__] = sys.modules["neuron.rxd"]
| 16 | 49 | 0.7625 | 12 | 80 | 4.75 | 0.5 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 4 | 50 | 20 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4398a1944a2e044599804f6b08f980ffb9cc7fca | 11,903 | py | Python | examples/movements/main.py | norefle/rl-vista | 033979e588f5b3b87a319dcd3789b40c69687a1c | [
"MIT"
] | 1 | 2021-04-06T07:44:47.000Z | 2021-04-06T07:44:47.000Z | examples/movements/main.py | norefle/rl-vista | 033979e588f5b3b87a319dcd3789b40c69687a1c | [
"MIT"
] | null | null | null | examples/movements/main.py | norefle/rl-vista | 033979e588f5b3b87a319dcd3789b40c69687a1c | [
"MIT"
] | null | null | null | import random
from rlv.core.engine import Engine
from rlv.core.component import Component
from rlv.core.entity import Entity
from rlv.core.event import Event
from application import Application
from actor import Actor
from goal import Goal
from uiboard import UiBoard
class State(object):
def __init__(self):
... | 17.660237 | 86 | 0.195497 | 1,034 | 11,903 | 2.20793 | 0.115087 | 0.241787 | 0.31406 | 0.355672 | 0.506789 | 0.478756 | 0.477442 | 0.417433 | 0.35392 | 0.341656 | 0 | 0.199237 | 0.713686 | 11,903 | 673 | 87 | 17.686478 | 0.470657 | 0.018735 | 0 | 0.903522 | 0 | 0 | 0.029298 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003063 | false | 0 | 0.013783 | 0 | 0.018377 | 0.001531 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60770d4de893e3ce448c022d6ab6dfe20c1ae0e3 | 163 | py | Python | fastfood/items/admin.py | MathurAditya724/JavaFastFoodOrder | 5580dc1107a1ebf3eacc813f6326ad93697f1a03 | [
"MIT"
] | null | null | null | fastfood/items/admin.py | MathurAditya724/JavaFastFoodOrder | 5580dc1107a1ebf3eacc813f6326ad93697f1a03 | [
"MIT"
] | null | null | null | fastfood/items/admin.py | MathurAditya724/JavaFastFoodOrder | 5580dc1107a1ebf3eacc813f6326ad93697f1a03 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(Banner)
admin.site.register(Item)
admin.site.register(Drink)
admin.site.register(Order) | 23.285714 | 32 | 0.809816 | 24 | 163 | 5.5 | 0.5 | 0.272727 | 0.515152 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07362 | 163 | 7 | 33 | 23.285714 | 0.874172 | 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 |
6078b92b276a6542939892f76fb1f1bc677d4656 | 77 | py | Python | benchmarks/conftest.py | rnag/dataclass-wizard | 5bccf63daea217aff6e77fd00ed8f7bed87f0377 | [
"Apache-2.0"
] | 19 | 2021-11-05T20:29:56.000Z | 2022-03-31T02:51:25.000Z | benchmarks/conftest.py | rnag/dataclass-wizard | 5bccf63daea217aff6e77fd00ed8f7bed87f0377 | [
"Apache-2.0"
] | 6 | 2021-10-20T23:24:04.000Z | 2022-03-01T18:49:14.000Z | benchmarks/conftest.py | rnag/dataclass-wizard | 5bccf63daea217aff6e77fd00ed8f7bed87f0377 | [
"Apache-2.0"
] | null | null | null | import pytest
@pytest.fixture(scope='session')
def n():
return 100_000
| 11 | 32 | 0.701299 | 11 | 77 | 4.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.168831 | 77 | 6 | 33 | 12.833333 | 0.734375 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
60930f67957e37f32076ea730ffe2c0cb50038f9 | 292 | py | Python | test/utils.py | jbfavre/dynomite | 16316ebd317a04f282f81d84864ae83a23472007 | [
"Apache-2.0"
] | 18 | 2016-05-12T18:01:32.000Z | 2021-09-27T08:45:48.000Z | test/utils.py | jbfavre/dynomite | 16316ebd317a04f282f81d84864ae83a23472007 | [
"Apache-2.0"
] | null | null | null | test/utils.py | jbfavre/dynomite | 16316ebd317a04f282f81d84864ae83a23472007 | [
"Apache-2.0"
] | 1 | 2017-02-13T22:06:55.000Z | 2017-02-13T22:06:55.000Z | #!/usr/bin/python
import random
import string
def string_generator(size=6, chars=string.letters + string.digits):
return ''.join(random.choice(chars) for _ in range(size))
def number_generator(size=4, chars=string.digits):
return ''.join(random.choice(chars) for _ in range(size))
| 29.2 | 67 | 0.736301 | 43 | 292 | 4.906977 | 0.488372 | 0.123223 | 0.170616 | 0.208531 | 0.50237 | 0.50237 | 0.50237 | 0.50237 | 0.50237 | 0.50237 | 0 | 0.007813 | 0.123288 | 292 | 9 | 68 | 32.444444 | 0.816406 | 0.054795 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
60b4ab4fc55b176bca5a9c68b44c1de6185b84ce | 95 | py | Python | ECD_control/ECD_optimization/__init__.py | hw-shi/ECD_control | e814ff404d4a4fdc27ee39adfabba11cde5facc2 | [
"MIT"
] | 11 | 2021-11-03T21:54:21.000Z | 2022-02-16T15:47:10.000Z | ECD_control/ECD_optimization/__init__.py | hw-shi/ECD_control | e814ff404d4a4fdc27ee39adfabba11cde5facc2 | [
"MIT"
] | 3 | 2022-01-09T08:58:52.000Z | 2022-01-24T01:43:23.000Z | ECD_control/ECD_optimization/__init__.py | hw-shi/ECD_control | e814ff404d4a4fdc27ee39adfabba11cde5facc2 | [
"MIT"
] | 8 | 2021-11-04T03:42:57.000Z | 2022-02-23T21:53:09.000Z | # from .optimizer import *
# from .global_optimizer import *
# from .local_optimizer import *
| 19 | 33 | 0.736842 | 11 | 95 | 6.181818 | 0.454545 | 0.661765 | 0.558824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168421 | 95 | 4 | 34 | 23.75 | 0.860759 | 0.915789 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60ee222fb0d41e190e0815e03f9768f22adc7e24 | 7,539 | py | Python | tests/test_jwt.py | ilyarogozin/api_final_yatube | bb5e15eb66ab109b2fb529c4b47648d7a51f29ee | [
"MIT"
] | 1 | 2021-11-20T12:52:41.000Z | 2021-11-20T12:52:41.000Z | tests/test_jwt.py | ilyarogozin/api_final_yatube | bb5e15eb66ab109b2fb529c4b47648d7a51f29ee | [
"MIT"
] | null | null | null | tests/test_jwt.py | ilyarogozin/api_final_yatube | bb5e15eb66ab109b2fb529c4b47648d7a51f29ee | [
"MIT"
] | null | null | null | import pytest
from django.contrib.auth import get_user_model
User = get_user_model()
class TestJWT:
url_create = '/api/v1/jwt/create/'
url_refresh = '/api/v1/jwt/refresh/'
url_verify = '/api/v1/jwt/verify/'
@pytest.mark.django_db(transaction=True)
def test_jwt_create__invalid_request_data(self, ... | 40.972826 | 96 | 0.602467 | 832 | 7,539 | 5.28125 | 0.121394 | 0.103778 | 0.053254 | 0.065544 | 0.844561 | 0.835002 | 0.824761 | 0.815658 | 0.798361 | 0.760355 | 0 | 0.009679 | 0.301101 | 7,539 | 183 | 97 | 41.196721 | 0.824255 | 0 | 0 | 0.631579 | 0 | 0 | 0.333466 | 0.006367 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.035088 | false | 0.046784 | 0.011696 | 0 | 0.070175 | 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 |
880844f4ed61b8b807b0fcb1068bd9a8911e7de1 | 104 | py | Python | litGL/__main__.py | ncreati/LitGL | acdc57632940538286381387efbefab1160aa32e | [
"MIT"
] | null | null | null | litGL/__main__.py | ncreati/LitGL | acdc57632940538286381387efbefab1160aa32e | [
"MIT"
] | null | null | null | litGL/__main__.py | ncreati/LitGL | acdc57632940538286381387efbefab1160aa32e | [
"MIT"
] | null | null | null | from pydoc import help
from importlib import import_module
import_module(__package__)
help(__package__)
| 20.8 | 35 | 0.865385 | 14 | 104 | 5.714286 | 0.5 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 104 | 4 | 36 | 26 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
719280254b54847ebc1aa877dd82239c77e78a93 | 28,335 | py | Python | tests/unit/modules/test_win_lgpo.py | srg91/salt | 9e5df06af0f2ff4810bb88db82fe59dc4f3e1a96 | [
"Apache-2.0"
] | null | null | null | tests/unit/modules/test_win_lgpo.py | srg91/salt | 9e5df06af0f2ff4810bb88db82fe59dc4f3e1a96 | [
"Apache-2.0"
] | null | null | null | tests/unit/modules/test_win_lgpo.py | srg91/salt | 9e5df06af0f2ff4810bb88db82fe59dc4f3e1a96 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
'''
:codeauthor: Shane Lee <slee@saltstack.com>
'''
# Import Python Libs
from __future__ import absolute_import, unicode_literals, print_function
import os
# Import Salt Testing Libs
from tests.support.helpers import destructiveTest
from tests.support.mixins import LoaderModuleMockMixin
from t... | 40.652798 | 89 | 0.592059 | 2,730 | 28,335 | 5.834066 | 0.105861 | 0.037672 | 0.030138 | 0.039555 | 0.828907 | 0.815094 | 0.793998 | 0.763546 | 0.738934 | 0.701827 | 0 | 0.001686 | 0.330122 | 28,335 | 696 | 90 | 40.711207 | 0.837416 | 0.073619 | 0 | 0.683112 | 0 | 0 | 0.202815 | 0.04391 | 0 | 0 | 0 | 0 | 0.083491 | 1 | 0.100569 | false | 0.001898 | 0.026565 | 0.009488 | 0.163188 | 0.028463 | 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 |
71df8a2caf553835def504fcd7476957d66eb964 | 45 | py | Python | pythonstart/Lektion_09/test.py | megaproaktiv/heise-aws-serverless-programmierung-code | 77b4955f9dbf42dcc0b895dc19b22cd298242ec5 | [
"Apache-2.0"
] | 4 | 2021-04-15T05:57:07.000Z | 2022-03-12T15:28:31.000Z | pythonstart/Lektion_11/lambdapy/test.py | megaproaktiv/heise-aws-serverless-programmierung-code | 77b4955f9dbf42dcc0b895dc19b22cd298242ec5 | [
"Apache-2.0"
] | null | null | null | pythonstart/Lektion_11/lambdapy/test.py | megaproaktiv/heise-aws-serverless-programmierung-code | 77b4955f9dbf42dcc0b895dc19b22cd298242ec5 | [
"Apache-2.0"
] | null | null | null | import s3list
print(s3list.count_buckets())
| 11.25 | 29 | 0.8 | 6 | 45 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.088889 | 45 | 3 | 30 | 15 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
e0951b97376763713c7a8faebc8dde5e2151aef8 | 258 | py | Python | snmpagent_unity/unity_impl/VolumeSize.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:14:59.000Z | 2019-10-02T17:47:59.000Z | snmpagent_unity/unity_impl/VolumeSize.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:26:29.000Z | 2019-10-11T18:56:54.000Z | snmpagent_unity/unity_impl/VolumeSize.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 1 | 2019-10-03T21:09:17.000Z | 2019-10-03T21:09:17.000Z | class VolumeSize(object):
def read_get(self, name, idx_name, unity_client):
return unity_client.get_lun_size_total(idx_name)
class VolumeSizeColumn(object):
def get_idx(self, name, idx, unity_client):
return unity_client.get_luns()
| 28.666667 | 56 | 0.736434 | 37 | 258 | 4.810811 | 0.459459 | 0.247191 | 0.123596 | 0.247191 | 0.348315 | 0.348315 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170543 | 258 | 8 | 57 | 32.25 | 0.831776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e0b0c591cf7a080c1d461c64e4988db5843c0bac | 66 | py | Python | lms/Domain/Students/__init__.py | bobrovskayaa/LMS | adac324977f5255d15c0ebfeef69995bd9dc8f26 | [
"MIT"
] | null | null | null | lms/Domain/Students/__init__.py | bobrovskayaa/LMS | adac324977f5255d15c0ebfeef69995bd9dc8f26 | [
"MIT"
] | 1 | 2018-12-21T21:09:30.000Z | 2018-12-21T21:09:30.000Z | lms/Domain/Students/__init__.py | bobrovskayaa/LMS | adac324977f5255d15c0ebfeef69995bd9dc8f26 | [
"MIT"
] | 3 | 2018-12-18T13:37:24.000Z | 2019-02-12T17:33:39.000Z | from .group_model import Group
from .student_model import Student
| 22 | 34 | 0.848485 | 10 | 66 | 5.4 | 0.5 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 35 | 33 | 0.931034 | 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 |
e0dfb6e052ec092f11cc180ed4608e21a036cc85 | 41 | py | Python | dsfun/__init__.py | DawidDabkowski/dsfun | f076764134cbb2b520ebeb7e8f880183f2995902 | [
"MIT"
] | 2 | 2020-05-30T22:49:24.000Z | 2020-05-30T22:50:49.000Z | dsfun/__init__.py | DawidDabkowski/dsfun | f076764134cbb2b520ebeb7e8f880183f2995902 | [
"MIT"
] | null | null | null | dsfun/__init__.py | DawidDabkowski/dsfun | f076764134cbb2b520ebeb7e8f880183f2995902 | [
"MIT"
] | null | null | null | from .functions import f1_loss, f1_score
| 20.5 | 40 | 0.829268 | 7 | 41 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.121951 | 41 | 1 | 41 | 41 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46024661ca16daaf7ce8064860d5dd580a34ceb9 | 11,616 | py | Python | apps/life_sci/tests/model/test_property_prediction.py | ydwu4/dgl-hack | b0fee8b9723c71f45bcf00301653fc71bfa82bc1 | [
"Apache-2.0"
] | 2 | 2021-12-09T12:36:13.000Z | 2022-03-01T21:22:36.000Z | apps/life_sci/tests/model/test_property_prediction.py | ydwu4/dgl-hack | b0fee8b9723c71f45bcf00301653fc71bfa82bc1 | [
"Apache-2.0"
] | null | null | null | apps/life_sci/tests/model/test_property_prediction.py | ydwu4/dgl-hack | b0fee8b9723c71f45bcf00301653fc71bfa82bc1 | [
"Apache-2.0"
] | 2 | 2020-12-07T09:34:01.000Z | 2020-12-13T06:18:58.000Z | import dgl
import torch
import torch.nn as nn
import torch.nn.functional as F
from dgl import DGLGraph
from dgllife.model.model_zoo import *
def test_graph1():
"""Graph with node features."""
g = DGLGraph([(0, 1), (0, 2), (1, 2)])
return g, torch.arange(g.number_of_nodes()).float().reshape(-1, 1)
def te... | 42.24 | 90 | 0.561553 | 1,450 | 11,616 | 4.242069 | 0.091034 | 0.06503 | 0.048285 | 0.049423 | 0.811738 | 0.799382 | 0.787189 | 0.750122 | 0.743294 | 0.7298 | 0 | 0.032583 | 0.315685 | 11,616 | 274 | 91 | 42.394161 | 0.741225 | 0.044594 | 0 | 0.561644 | 0 | 0 | 0.008231 | 0 | 0 | 0 | 0 | 0 | 0.114155 | 1 | 0.063927 | false | 0.004566 | 0.027397 | 0 | 0.118721 | 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 |
1cd7bd3fa37f3bb70ec036322f9b6ac394173b48 | 26 | py | Python | analysis/test_genomes.py | Oliver-Chalkley/whole_cell_modelling_suite | dc5896635b88398210d0fd1d7bc3065ba716351a | [
"MIT"
] | null | null | null | analysis/test_genomes.py | Oliver-Chalkley/whole_cell_modelling_suite | dc5896635b88398210d0fd1d7bc3065ba716351a | [
"MIT"
] | null | null | null | analysis/test_genomes.py | Oliver-Chalkley/whole_cell_modelling_suite | dc5896635b88398210d0fd1d7bc3065ba716351a | [
"MIT"
] | null | null | null | from genome import Genes
| 8.666667 | 24 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 2 | 25 | 13 | 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 |
1ce5395c8bb86898f04ea799e0c87a4f9c911101 | 108 | py | Python | python/nlusvc/core/bp/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/nlusvc/core/bp/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/nlusvc/core/bp/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | from .expansion_api import ExpansionAPI
from .ontology_api import OntologyAPI
from .text_api import TextAPI
| 27 | 39 | 0.861111 | 15 | 108 | 6 | 0.6 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 108 | 3 | 40 | 36 | 0.9375 | 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 |
e831a5c8be6bb93ecc5ab047481de87e651e179a | 19 | py | Python | notebooks/python_recap/_solutions/05-numpy75.py | rprops/Python_DS-WS | b2fc449a74be0c82863e5fcf1ddbe7d64976d530 | [
"BSD-3-Clause"
] | 65 | 2017-03-21T09:15:40.000Z | 2022-02-01T23:43:08.000Z | notebooks/python_recap/_solutions/05-numpy75.py | rprops/Python_DS-WS | b2fc449a74be0c82863e5fcf1ddbe7d64976d530 | [
"BSD-3-Clause"
] | 100 | 2016-12-15T03:44:06.000Z | 2022-03-07T08:14:07.000Z | notebooks/python_recap/_solutions/05-numpy75.py | rprops/Python_DS-WS | b2fc449a74be0c82863e5fcf1ddbe7d64976d530 | [
"BSD-3-Clause"
] | 52 | 2016-12-19T07:48:52.000Z | 2022-02-19T17:53:48.000Z | AR[AR%2==0] = 0.
AR | 9.5 | 16 | 0.473684 | 6 | 19 | 1.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0.157895 | 19 | 2 | 17 | 9.5 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
08fc95cb00567a616f83a9ed44c853dc778d320a | 3,931 | py | Python | tests/test_cardrules.py | jule64/simudraw | 43a1b74571bff9d57d3f4511acc84724c91efe6f | [
"Unlicense"
] | 3 | 2017-02-06T19:30:30.000Z | 2020-06-14T08:10:31.000Z | tests/test_cardrules.py | jule64/simudraw | 43a1b74571bff9d57d3f4511acc84724c91efe6f | [
"Unlicense"
] | null | null | null | tests/test_cardrules.py | jule64/simudraw | 43a1b74571bff9d57d3f4511acc84724c91efe6f | [
"Unlicense"
] | null | null | null | import unittest
from cardrules import CardRules
from deck import Deck
class CardRulesFinalCheckTests(unittest.TestCase):
def setUp(self):
deck = Deck()
self.card_rules = CardRules(deck)
def test_reject_straight(self):
self.card_rules.set_target('J')
hand = ['7s','9c','10c','8... | 37.084906 | 85 | 0.630374 | 536 | 3,931 | 4.384328 | 0.171642 | 0.108936 | 0.177021 | 0.102128 | 0.811915 | 0.811915 | 0.810213 | 0.794894 | 0.749787 | 0.688511 | 0 | 0.034405 | 0.208853 | 3,931 | 105 | 86 | 37.438095 | 0.721222 | 0.063088 | 0 | 0.506329 | 0 | 0 | 0.057415 | 0 | 0 | 0 | 0 | 0 | 0.189873 | 1 | 0.189873 | false | 0 | 0.037975 | 0 | 0.253165 | 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 |
1c5c10fb835de5f29ddb229ca82ccd997264c378 | 6,150 | py | Python | interface/user/AdminTestCass_01.py | HONGQINKE/interface_test | 62d2f1bf35d97195fcb639e9b4cfba712916540a | [
"Apache-2.0"
] | null | null | null | interface/user/AdminTestCass_01.py | HONGQINKE/interface_test | 62d2f1bf35d97195fcb639e9b4cfba712916540a | [
"Apache-2.0"
] | null | null | null | interface/user/AdminTestCass_01.py | HONGQINKE/interface_test | 62d2f1bf35d97195fcb639e9b4cfba712916540a | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
'''
Created on 2017年3月29日
@author: Jin
'''
import json
import requests
import xlrd
Testdata = xlrd.open_workbook('C:/Jin/workpase/ApiTest/src/TestData.xls')#读取测试数据
table = Testdata.sheets()[0]#选择excle表中的sheet
hurl = table.cell(7,1).value#从测试数据中读取url
htoken = table.cell(8,1).value
hcontent_ty... | 40.728477 | 164 | 0.416423 | 589 | 6,150 | 4.24618 | 0.185059 | 0.044782 | 0.031987 | 0.014394 | 0.77609 | 0.722511 | 0.722511 | 0.722511 | 0.722511 | 0.716513 | 0 | 0.017971 | 0.41187 | 6,150 | 150 | 165 | 41 | 0.673486 | 0.045366 | 0 | 0.757576 | 0 | 0 | 0.192202 | 0.026847 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015152 | false | 0.037879 | 0.022727 | 0 | 0.037879 | 0.166667 | 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 |
1c5e0e4a9a4d28e606fce0ba9eb926eac8dd5eff | 77 | py | Python | scripts/sessions_runner.py | VesterDe/parlalize | b725fe4b55b95f2ad3505aa70dac2474269ea3da | [
"Unlicense"
] | 1 | 2021-04-19T07:30:06.000Z | 2021-04-19T07:30:06.000Z | scripts/sessions_runner.py | VesterDe/parlalize | b725fe4b55b95f2ad3505aa70dac2474269ea3da | [
"Unlicense"
] | null | null | null | scripts/sessions_runner.py | VesterDe/parlalize | b725fe4b55b95f2ad3505aa70dac2474269ea3da | [
"Unlicense"
] | null | null | null | from utils.runner import runSettersSessions
def run():
runSettersSessions() | 19.25 | 43 | 0.818182 | 8 | 77 | 7.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 4 | 44 | 19.25 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
1c68c6096e48b2f6838b568be1651ad8e9667c60 | 19 | py | Python | tests/__init__.py | r-chris/dash-table | 0d6b7c41ad06a1c67655f7645a4bbcca2160b0ac | [
"MIT"
] | null | null | null | tests/__init__.py | r-chris/dash-table | 0d6b7c41ad06a1c67655f7645a4bbcca2160b0ac | [
"MIT"
] | null | null | null | tests/__init__.py | r-chris/dash-table | 0d6b7c41ad06a1c67655f7645a4bbcca2160b0ac | [
"MIT"
] | null | null | null | from . import dash
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1c88f5ec39753a9e47e8943aa392ce12198cbdea | 48 | py | Python | anova/anova/__init__.py | thorwhalen/tcw | 3d9b5913a268d71ad118f65e0459952bb6078204 | [
"Apache-2.0"
] | 1 | 2022-01-19T13:15:05.000Z | 2022-01-19T13:15:05.000Z | anova/anova/__init__.py | thorwhalen/tcw | 3d9b5913a268d71ad118f65e0459952bb6078204 | [
"Apache-2.0"
] | null | null | null | anova/anova/__init__.py | thorwhalen/tcw | 3d9b5913a268d71ad118f65e0459952bb6078204 | [
"Apache-2.0"
] | null | null | null | import gpfanova
import hyanova
import tegstats
| 9.6 | 15 | 0.854167 | 6 | 48 | 6.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 4 | 16 | 12 | 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 |
1c8cab01b0dc488930931c61608420e3bad451ed | 834 | py | Python | build/ros_control/transmission_interface/catkin_generated/pkg.develspace.context.pc.py | Jam-cpu/Masters-Project---Final | 0b266b1f117a579b96507249f0a128d0e3cc082a | [
"BSD-3-Clause-Clear"
] | null | null | null | build/ros_control/transmission_interface/catkin_generated/pkg.develspace.context.pc.py | Jam-cpu/Masters-Project---Final | 0b266b1f117a579b96507249f0a128d0e3cc082a | [
"BSD-3-Clause-Clear"
] | null | null | null | build/ros_control/transmission_interface/catkin_generated/pkg.develspace.context.pc.py | Jam-cpu/Masters-Project---Final | 0b266b1f117a579b96507249f0a128d0e3cc082a | [
"BSD-3-Clause-Clear"
] | null | null | null | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/workspace/src/ros_control/transmission_interface/include;/usr/include".split(';') if "/workspace/src/ros_control/transmission_interface/include;/usr/include" != "" else []
PROJECT_CATKIN_DEPENDS = "ha... | 92.666667 | 354 | 0.817746 | 104 | 834 | 6.192308 | 0.490385 | 0.204969 | 0.173913 | 0.068323 | 0.565217 | 0.565217 | 0.565217 | 0.565217 | 0.565217 | 0.378882 | 0 | 0.015094 | 0.046763 | 834 | 8 | 355 | 104.25 | 0.794969 | 0.064748 | 0 | 0 | 1 | 0 | 0.654242 | 0.620823 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
98c2e72465140e841d7419ff89af5aad9fed3eab | 35 | py | Python | fathom/deepq/__init__.py | rdadolf/fathom | 1dc013d055e59fb09c886ae3a667084119deac5c | [
"Apache-2.0"
] | 77 | 2016-09-28T01:34:38.000Z | 2022-03-22T10:43:12.000Z | fathom/deepq/__init__.py | rdadolf/fathom | 1dc013d055e59fb09c886ae3a667084119deac5c | [
"Apache-2.0"
] | 21 | 2016-10-05T21:30:03.000Z | 2019-11-01T10:26:40.000Z | fathom/deepq/__init__.py | rdadolf/fathom | 1dc013d055e59fb09c886ae3a667084119deac5c | [
"Apache-2.0"
] | 25 | 2016-09-28T01:50:47.000Z | 2020-03-06T07:27:11.000Z | from .deepq import DeepQ, DeepQFwd
| 17.5 | 34 | 0.8 | 5 | 35 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
98d6e1572e38112ca8cfb09f43dddeae386b1939 | 3,663 | py | Python | startup/95-analysis.py | MikeHart85/IOS_profile_collection | a2219ff636074a34f29caa2a953ac1d8d459de8b | [
"BSD-3-Clause"
] | null | null | null | startup/95-analysis.py | MikeHart85/IOS_profile_collection | a2219ff636074a34f29caa2a953ac1d8d459de8b | [
"BSD-3-Clause"
] | 11 | 2020-08-12T19:10:12.000Z | 2021-05-19T18:57:16.000Z | startup/95-analysis.py | MikeHart85/IOS_profile_collection | a2219ff636074a34f29caa2a953ac1d8d459de8b | [
"BSD-3-Clause"
] | 1 | 2020-03-20T14:20:37.000Z | 2020-03-20T14:20:37.000Z | import numpy as np
def plot_norm_trans(scanid1,scanid2,normid,label):
plt.figure(label)
label = plt.gca()
dfn = db.get_table(db[normid])
for i in range (scanid1, scanid2+1):
df1 = db.get_table(db[i])
df1['Norm'] = -1*np.log(df1['sclr_ch4']/dfn['sclr_ch4']... | 40.252747 | 111 | 0.572209 | 535 | 3,663 | 3.734579 | 0.114019 | 0.14014 | 0.065065 | 0.078078 | 0.886386 | 0.875375 | 0.865866 | 0.854354 | 0.802302 | 0.802302 | 0 | 0.041887 | 0.276549 | 3,663 | 90 | 112 | 40.7 | 0.712075 | 0 | 0 | 0.641026 | 0 | 0 | 0.135991 | 0.0426 | 0 | 0 | 0 | 0 | 0 | 1 | 0.141026 | false | 0 | 0.012821 | 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 |
98f0cff62ba7dfcbbecd7d56a51cc73d68cc2d74 | 77 | py | Python | src/elm/__init__.py | imatheussm/Python-ELM | e7936c5ca7bb5ac848bf49f891866fa66676f436 | [
"MIT"
] | null | null | null | src/elm/__init__.py | imatheussm/Python-ELM | e7936c5ca7bb5ac848bf49f891866fa66676f436 | [
"MIT"
] | null | null | null | src/elm/__init__.py | imatheussm/Python-ELM | e7936c5ca7bb5ac848bf49f891866fa66676f436 | [
"MIT"
] | null | null | null | from .elm import ELM
from .ecob_elm import ECOBELM
from .ml_elm import MLELM
| 19.25 | 29 | 0.805195 | 14 | 77 | 4.285714 | 0.5 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 77 | 3 | 30 | 25.666667 | 0.923077 | 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 |
98f35a644ca8400a2b4c4db6926c9c6940e24fe4 | 776 | py | Python | const.py | CeibaSheep/Person_reID_baseline_pytorch | 3745831b998f0d9e23f7a66285b21d3ae92eede9 | [
"MIT"
] | null | null | null | const.py | CeibaSheep/Person_reID_baseline_pytorch | 3745831b998f0d9e23f7a66285b21d3ae92eede9 | [
"MIT"
] | null | null | null | const.py | CeibaSheep/Person_reID_baseline_pytorch | 3745831b998f0d9e23f7a66285b21d3ae92eede9 | [
"MIT"
] | null | null | null | # node related
# node_list = {'node1': '192.168.1.160', 'node2': '192.168.1.143'}
# node_list = {'node1': '192.168.1.143'}
node_list = {'node1': '10.113.160.4'}
# node_list = {'node1': '10.113.160.98', 'node2': '192.168.1.143'}
EDGE_NODE_PORT = 9002
# EDGE_NODE_PORT = 9999
# raspi related
raspi_list = ['tcp://1... | 36.952381 | 233 | 0.60567 | 147 | 776 | 3.122449 | 0.210884 | 0.27451 | 0.320261 | 0.196078 | 0.594771 | 0.551198 | 0.187364 | 0 | 0 | 0 | 0 | 0.393211 | 0.088918 | 776 | 21 | 233 | 36.952381 | 0.256011 | 0.333763 | 0 | 0 | 0 | 0 | 0.652941 | 0.372549 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c78f08b1464c42341b84241b6e8518e35ffab72f | 25 | py | Python | tests/test_bot/src/apireq/__init__.py | Ketre3/vkquick | 81b19111e2322d277bfbb89dae6a27fb70a9b8c7 | [
"MIT"
] | null | null | null | tests/test_bot/src/apireq/__init__.py | Ketre3/vkquick | 81b19111e2322d277bfbb89dae6a27fb70a9b8c7 | [
"MIT"
] | null | null | null | tests/test_bot/src/apireq/__init__.py | Ketre3/vkquick | 81b19111e2322d277bfbb89dae6a27fb70a9b8c7 | [
"MIT"
] | null | null | null | from .main import apireq
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4024cd97e6ca01787d1703b5332979f0042aeb04 | 10,772 | py | Python | userbot/plugins/pranks.py | LUCKYRAJPUTOP/EllipsUserbot | a995ae32bb895897eedb1c71051c2a8b82366304 | [
"MIT"
] | null | null | null | userbot/plugins/pranks.py | LUCKYRAJPUTOP/EllipsUserbot | a995ae32bb895897eedb1c71051c2a8b82366304 | [
"MIT"
] | null | null | null | userbot/plugins/pranks.py | LUCKYRAJPUTOP/EllipsUserbot | a995ae32bb895897eedb1c71051c2a8b82366304 | [
"MIT"
] | null | null | null | """
credits to @mrconfused and @sandy1709
"""
# Kang with credits. Using in darkbot...
# Copyright (C) 2020 sandeep.n(π.$)
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, eit... | 38.609319 | 198 | 0.645191 | 1,317 | 10,772 | 5.164768 | 0.176158 | 0.103499 | 0.044693 | 0.056454 | 0.787857 | 0.770803 | 0.766098 | 0.756101 | 0.756101 | 0.747868 | 0 | 0.009407 | 0.24016 | 10,772 | 279 | 199 | 38.609319 | 0.821625 | 0.071853 | 0 | 0.741036 | 0 | 0.011952 | 0.247295 | 0.012826 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015936 | 0.035857 | 0 | 0.123506 | 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 |
40539ada1c1a28f9e9ccbdba87aecb6be8430f98 | 5,716 | py | Python | huaweicloud-sdk-cloudtest/huaweicloudsdkcloudtest/v1/model/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 64 | 2020-06-12T07:05:07.000Z | 2022-03-30T03:32:50.000Z | huaweicloud-sdk-cloudtest/huaweicloudsdkcloudtest/v1/model/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 11 | 2020-07-06T07:56:54.000Z | 2022-01-11T11:14:40.000Z | huaweicloud-sdk-cloudtest/huaweicloudsdkcloudtest/v1/model/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 24 | 2020-06-08T11:42:13.000Z | 2022-03-04T06:44:08.000Z | # coding: utf-8
from __future__ import absolute_import
# import models into model package
from huaweicloudsdkcloudtest.v1.model.assigned_user_info import AssignedUserInfo
from huaweicloudsdkcloudtest.v1.model.batch_delete_test_case_request import BatchDeleteTestCaseRequest
from huaweicloudsdkcloudtest.v1.model.batch_... | 87.938462 | 125 | 0.924423 | 617 | 5,716 | 8.246353 | 0.188006 | 0.31309 | 0.336281 | 0.394261 | 0.542453 | 0.503538 | 0.393082 | 0.243514 | 0.127752 | 0.048349 | 0 | 0.011711 | 0.043912 | 5,716 | 64 | 126 | 89.3125 | 0.919305 | 0.008048 | 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 |
40853782c1176f87251d80120b472ec51fe6ae8e | 39 | py | Python | python/modules/other_printer.py | mprzybylak/python2-minefield | 6dd1a3b70db6f7d1fbe7a7838337839ec1573ac6 | [
"MIT"
] | null | null | null | python/modules/other_printer.py | mprzybylak/python2-minefield | 6dd1a3b70db6f7d1fbe7a7838337839ec1573ac6 | [
"MIT"
] | null | null | null | python/modules/other_printer.py | mprzybylak/python2-minefield | 6dd1a3b70db6f7d1fbe7a7838337839ec1573ac6 | [
"MIT"
] | null | null | null | def other_print():
print 'other print' | 19.5 | 20 | 0.74359 | 6 | 39 | 4.666667 | 0.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 2 | 20 | 19.5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
40bfa85589b824ad49a61c19bfc8aba4e79beb1a | 217 | py | Python | tests/Network/test_Cellular.py | daveyclk/hologram-python | 7a75b6a30466556c96da900889f64460176a9071 | [
"MIT"
] | null | null | null | tests/Network/test_Cellular.py | daveyclk/hologram-python | 7a75b6a30466556c96da900889f64460176a9071 | [
"MIT"
] | null | null | null | tests/Network/test_Cellular.py | daveyclk/hologram-python | 7a75b6a30466556c96da900889f64460176a9071 | [
"MIT"
] | 1 | 2020-12-06T20:49:02.000Z | 2020-12-06T20:49:02.000Z | import sys
import pytest
sys.path.append(".")
sys.path.append("..")
sys.path.append("../..")
from Hologram.Network import Cellular
class TestCellular(object):
def test_invalid_cellular_type(self):
pass
| 16.692308 | 41 | 0.705069 | 28 | 217 | 5.357143 | 0.642857 | 0.14 | 0.26 | 0.213333 | 0.26 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 217 | 12 | 42 | 18.083333 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0.036866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.333333 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
40c8122a342f29e614644a58658a242b4939a49e | 207 | py | Python | app_SingSong/SingSong/main/views.py | Satstef/SingSong | 7ce88db041b621951c43df129111d9a6a6b53c7e | [
"MIT"
] | null | null | null | app_SingSong/SingSong/main/views.py | Satstef/SingSong | 7ce88db041b621951c43df129111d9a6a6b53c7e | [
"MIT"
] | null | null | null | app_SingSong/SingSong/main/views.py | Satstef/SingSong | 7ce88db041b621951c43df129111d9a6a6b53c7e | [
"MIT"
] | null | null | null | import sqlite3
from sqlite3 import Error
from flask import Flask, render_template, request, flash, redirect, url_for
from . import main
@main.route('/')
def home():
return render_template('index.html')
| 23 | 75 | 0.758454 | 29 | 207 | 5.310345 | 0.655172 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.140097 | 207 | 8 | 76 | 25.875 | 0.853933 | 0 | 0 | 0 | 0 | 0 | 0.05314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.571429 | 0.142857 | 0.857143 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
40e1a46c9fa0e0687ea2599cbded9b86d0bd2461 | 7,400 | py | Python | tests/changes/expanders/test_tests.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 443 | 2015-01-03T16:28:39.000Z | 2021-04-26T16:39:46.000Z | tests/changes/expanders/test_tests.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 12 | 2015-07-30T19:07:16.000Z | 2016-11-07T23:11:21.000Z | tests/changes/expanders/test_tests.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 47 | 2015-01-09T10:04:00.000Z | 2020-11-18T17:58:19.000Z | from __future__ import absolute_import
import pytest
from mock import patch
from changes.constants import Status, Result
from changes.expanders.tests import TestsExpander
from changes.testutils import TestCase
@pytest.mark.parametrize('test_name, normalized', [
('foo/bar.py', ('foo', 'bar')),
('foo.bar.tes... | 39.784946 | 101 | 0.585946 | 947 | 7,400 | 4.427666 | 0.107709 | 0.064393 | 0.071548 | 0.037205 | 0.821369 | 0.796089 | 0.777486 | 0.766754 | 0.720964 | 0.709277 | 0 | 0.025014 | 0.249054 | 7,400 | 185 | 102 | 40 | 0.72953 | 0 | 0 | 0.694805 | 0 | 0.019481 | 0.197162 | 0 | 0 | 0 | 0 | 0 | 0.344156 | 1 | 0.051948 | false | 0.006494 | 0.038961 | 0.006494 | 0.103896 | 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 |
40e2fdd43f9d6c91e366d10794d149b7a4a086de | 3,645 | py | Python | src/britive/groups.py | britive/python-api | 2daa7693f1d4adf03626abd78598e30f62b6e2e6 | [
"MIT"
] | null | null | null | src/britive/groups.py | britive/python-api | 2daa7693f1d4adf03626abd78598e30f62b6e2e6 | [
"MIT"
] | null | null | null | src/britive/groups.py | britive/python-api | 2daa7693f1d4adf03626abd78598e30f62b6e2e6 | [
"MIT"
] | null | null | null |
class Groups:
def __init__(self, britive):
self.britive = britive
self.base_url = f'{self.britive.base_url}/apps'
def list(self, application_id: str, environment_id: str = None,
include_associations: bool = True, filter_expression: str = None) -> list:
"""
Returnsd... | 42.882353 | 110 | 0.6631 | 413 | 3,645 | 5.692494 | 0.174334 | 0.082943 | 0.02382 | 0.034028 | 0.846874 | 0.835389 | 0.809443 | 0.779243 | 0.746916 | 0.746916 | 0 | 0.004418 | 0.25487 | 3,645 | 84 | 111 | 43.392857 | 0.861193 | 0.417558 | 0 | 0.578947 | 0 | 0 | 0.175052 | 0.145702 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0 | 0 | 0.210526 | 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 |
9055ac2837afeb2d595a5ccf471ee22fa194288c | 20 | py | Python | gpd/__init__.py | calum-chamberlain/generalized-phase-detection | 9a7ff77fe292c0be6d9dcaaca41f158736f22b73 | [
"MIT"
] | null | null | null | gpd/__init__.py | calum-chamberlain/generalized-phase-detection | 9a7ff77fe292c0be6d9dcaaca41f158736f22b73 | [
"MIT"
] | null | null | null | gpd/__init__.py | calum-chamberlain/generalized-phase-detection | 9a7ff77fe292c0be6d9dcaaca41f158736f22b73 | [
"MIT"
] | null | null | null | from .gpd import GPD | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
907d88965cf58b2d6e0dc18d79e5c84da441c079 | 7,567 | py | Python | offsets.py | sadponyguerillaboy/Python-Apple-EFI-Patcher | 091bf186309782a23540e6ad9fa69f4af056a4c5 | [
"MIT"
] | 13 | 2019-08-28T12:32:57.000Z | 2021-01-17T09:14:13.000Z | offsets.py | rithien/Python-Apple-EFI-Patcher | 9f54ddfa99b7cead9d56ba1eb6c9f29c844da116 | [
"MIT"
] | 1 | 2019-11-08T09:45:58.000Z | 2019-11-13T17:45:05.000Z | offsets.py | sadponyguerillaboy/Python-Apple-EFI-Patcher | 091bf186309782a23540e6ad9fa69f4af056a4c5 | [
"MIT"
] | 6 | 2019-11-21T13:32:16.000Z | 2022-01-15T14:44:23.000Z | #Offsets List:
def set_offsets(efi_type):
# Offsets for:
# 2008 A1278 820-2327 (Needs more research for lock offsets)
# Older 4MB EFI
#if efi_type == '2008_A1278':
if efi_type == '1':
fsys_start_offset = 663552 # Offset = Begining of Fsys
fsys_end_offset = 665596 # Offset = End of Fsys - also crc32 offset
... | 58.207692 | 198 | 0.794899 | 1,168 | 7,567 | 4.769692 | 0.106164 | 0.110573 | 0.056543 | 0.086699 | 0.810806 | 0.810806 | 0.810806 | 0.758212 | 0.758212 | 0.713337 | 0 | 0.119066 | 0.150918 | 7,567 | 129 | 199 | 58.658915 | 0.748016 | 0.446544 | 0 | 0.472222 | 0 | 0 | 0.001716 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013889 | false | 0 | 0 | 0 | 0.111111 | 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 |
90ebfab42c92b3d27d7d610d542406a0d35dcd50 | 54 | py | Python | example/module_b/fun_3.py | weegreenblobbie/pith-tool | 25708bd2354cc5d97eb0c0a0046ca4704e4ced0a | [
"MIT"
] | 2 | 2016-03-04T19:25:29.000Z | 2016-03-10T02:22:36.000Z | example/module_b/fun_3.py | weegreenblobbie/pith-tool | 25708bd2354cc5d97eb0c0a0046ca4704e4ced0a | [
"MIT"
] | 10 | 2016-03-01T03:23:17.000Z | 2017-04-27T00:37:09.000Z | example/module_b/fun_3.py | weegreenblobbie/pith-tool | 25708bd2354cc5d97eb0c0a0046ca4704e4ced0a | [
"MIT"
] | null | null | null | def fun_3():
print('hello from module_b.fun_3!')
| 13.5 | 39 | 0.648148 | 10 | 54 | 3.2 | 0.8 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.185185 | 54 | 3 | 40 | 18 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.490566 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
463d801ea66fb8fc0fee07d46a50686e32c6c1f4 | 24 | py | Python | test.py | LeoLiuMingJun/2FA-command-line | b5ea2386ff9969e690dbc2c433183389377a8154 | [
"MIT"
] | 1 | 2019-10-03T11:06:21.000Z | 2019-10-03T11:06:21.000Z | test.py | LeoLiuMingJun/2FA-command-line | b5ea2386ff9969e690dbc2c433183389377a8154 | [
"MIT"
] | null | null | null | test.py | LeoLiuMingJun/2FA-command-line | b5ea2386ff9969e690dbc2c433183389377a8154 | [
"MIT"
] | 1 | 2019-10-03T11:11:09.000Z | 2019-10-03T11:11:09.000Z | import main
main.main() | 8 | 11 | 0.75 | 4 | 24 | 4.5 | 0.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 3 | 12 | 8 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
469a7bba76a43b860e437d6f206d7bee1b25e17f | 96 | py | Python | venv/lib/python3.8/site-packages/jedi/inference/value/function.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/jedi/inference/value/function.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/jedi/inference/value/function.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/18/b2/5b/d2658655fbeeb9f15469c33a13b3822ef5e84a4ff1758075ee09deccf3 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
469ab90dcc8b9bf8fba645b8e6be86838ce4f97b | 118 | py | Python | nasws/cnn/policy/darts_policy/__init__.py | kcyu2014/nas-landmarkreg | a00c3619bf4042e446e1919087f0b09fe9fa3a65 | [
"MIT"
] | 8 | 2021-04-13T01:52:11.000Z | 2022-03-30T03:53:12.000Z | nasws/cnn/policy/darts_policy/__init__.py | kcyu2014/nas-landmarkreg | a00c3619bf4042e446e1919087f0b09fe9fa3a65 | [
"MIT"
] | 4 | 2021-05-29T01:41:00.000Z | 2021-08-24T09:40:43.000Z | nasws/cnn/policy/darts_policy/__init__.py | kcyu2014/nas-landmarkreg | a00c3619bf4042e446e1919087f0b09fe9fa3a65 | [
"MIT"
] | null | null | null | # from .darts_search_policy import DARTSMicroCNNSearchPolicy
# from . import utils
# from . import utils_for_nasbench
| 29.5 | 60 | 0.822034 | 14 | 118 | 6.642857 | 0.642857 | 0.215054 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127119 | 118 | 3 | 61 | 39.333333 | 0.902913 | 0.940678 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d3c48c2a25b100f3ac5e15c88a4d50a1b0b5d768 | 30,218 | py | Python | networkapi/api_neighbor/v4/facade.py | treviza153/GloboNetworkAPI | 9ca8ba7febdef0eb716514196b1bda1afdccd851 | [
"Apache-2.0"
] | 73 | 2015-04-13T17:56:11.000Z | 2022-03-24T06:13:07.000Z | networkapi/api_neighbor/v4/facade.py | treviza153/GloboNetworkAPI | 9ca8ba7febdef0eb716514196b1bda1afdccd851 | [
"Apache-2.0"
] | 99 | 2015-04-03T01:04:46.000Z | 2021-10-03T23:24:48.000Z | networkapi/api_neighbor/v4/facade.py | treviza153/GloboNetworkAPI | 9ca8ba7febdef0eb716514196b1bda1afdccd851 | [
"Apache-2.0"
] | 64 | 2015-08-05T21:26:29.000Z | 2022-03-22T01:06:28.000Z | # -*- coding: utf-8 -*-
import logging
from django.core.exceptions import FieldError
from django.db.transaction import commit_on_success
from networkapi.api_neighbor.models import NeighborV4
from networkapi.api_neighbor.models import NeighborV6
from networkapi.api_neighbor.v4 import exceptions
from networkapi.api_res... | 36.539299 | 96 | 0.695877 | 3,677 | 30,218 | 5.400326 | 0.0582 | 0.026439 | 0.063353 | 0.037669 | 0.851639 | 0.809186 | 0.782797 | 0.757667 | 0.731128 | 0.713602 | 0 | 0.007915 | 0.222351 | 30,218 | 826 | 97 | 36.583535 | 0.837099 | 0.023463 | 0 | 0.677138 | 0 | 0 | 0.053606 | 0.003404 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061082 | false | 0.00349 | 0.054101 | 0 | 0.157068 | 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 |
d3f630c8aff64c38d5340cee5bdb49599170c82c | 38 | py | Python | lltk/corpus/ravengarside/__init__.py | literarylab/lltk | 0e516d7fa0978c1a3bd2cb7636f0089772e515ec | [
"MIT"
] | 5 | 2021-03-15T21:05:06.000Z | 2022-03-04T10:52:16.000Z | lltk/corpus/ravengarside/__init__.py | literarylab/lltk | 0e516d7fa0978c1a3bd2cb7636f0089772e515ec | [
"MIT"
] | 1 | 2021-05-04T17:01:47.000Z | 2021-05-10T15:14:55.000Z | lltk/corpus/ravengarside/__init__.py | literarylab/lltk | 0e516d7fa0978c1a3bd2cb7636f0089772e515ec | [
"MIT"
] | null | null | null | from .ravengarside import RavenGarside | 38 | 38 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 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 |
31102dbd229655a2ac2f9a87bd370ed195e36ee7 | 7,738 | py | Python | 3rdparty/pytorch/torch/lib/THD/benchmark/benchmark.py | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | 1 | 2019-07-23T11:20:58.000Z | 2019-07-23T11:20:58.000Z | 3rdparty/pytorch/torch/lib/THD/benchmark/benchmark.py | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | null | null | null | 3rdparty/pytorch/torch/lib/THD/benchmark/benchmark.py | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | null | null | null | import argparse
import os
from timeit import default_timer as timer
import torch
import torch.distributed as dist
def print_header(title):
print(title)
print("{:>8}\t{:>5}\t{:<{num_tensors_width}}\t{:>11}\t{:>11}".
format("MB/s", "MB", "#", "s", "ms/op",
num_tensors_width=MAX_NUM_TE... | 40.093264 | 84 | 0.595761 | 1,131 | 7,738 | 3.894783 | 0.098143 | 0.183882 | 0.043587 | 0.079909 | 0.820204 | 0.794098 | 0.772758 | 0.759591 | 0.752781 | 0.691487 | 0 | 0.03009 | 0.28276 | 7,738 | 192 | 85 | 40.302083 | 0.763604 | 0 | 0 | 0.697143 | 0 | 0.005714 | 0.093952 | 0.015249 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011429 | false | 0 | 0.028571 | 0 | 0.04 | 0.148571 | 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 |
313ea68d0abb82b382010dc6621095c0dfef18db | 11,227 | py | Python | test/migrators/test_file_migrator.py | ni/NI-SystemLink-Migration | dbce27627a2ea9b0121478ef64d9acfa2940a20d | [
"MIT"
] | null | null | null | test/migrators/test_file_migrator.py | ni/NI-SystemLink-Migration | dbce27627a2ea9b0121478ef64d9acfa2940a20d | [
"MIT"
] | 9 | 2021-11-08T21:47:50.000Z | 2022-03-30T20:06:52.000Z | test/migrators/test_file_migrator.py | ni/NI-SystemLink-Migration | dbce27627a2ea9b0121478ef64d9acfa2940a20d | [
"MIT"
] | null | null | null | import os
from nislmigrate.facades.mongo_configuration import MongoConfiguration
from nislmigrate.logs.migration_error import MigrationError
from nislmigrate.migrators.file_migrator import (
_FILE_STORE_ROOT_ARGUMENT,
_FILE_STORE_ROOT_NOT_SET_FOR_MODIFY_CHANGE_FILE_STORE_ERROR,
FileMigrator,
DEFAULT_DA... | 38.847751 | 118 | 0.805469 | 1,424 | 11,227 | 5.804775 | 0.094803 | 0.106944 | 0.071619 | 0.041374 | 0.820953 | 0.78587 | 0.77849 | 0.744496 | 0.734575 | 0.713283 | 0 | 0.003038 | 0.120335 | 11,227 | 288 | 119 | 38.982639 | 0.833941 | 0 | 0 | 0.514706 | 0 | 0 | 0.035094 | 0.002494 | 0 | 0 | 0 | 0 | 0.073529 | 1 | 0.098039 | false | 0.009804 | 0.034314 | 0 | 0.142157 | 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 |
3172709b34f8ef9405f94b425f7c10b0f5bb50c4 | 26 | py | Python | larcv/app/arxiv/arxiv/PMTWeights/show_weighted_images.py | mmajewsk/larcv2 | 9ee74e42b293d547d3a8510fa2139b2d4ccf6b89 | [
"MIT"
] | 14 | 2017-10-19T15:08:29.000Z | 2021-03-31T21:21:07.000Z | larcv/app/arxiv/arxiv/PMTWeights/show_weighted_images.py | mmajewsk/larcv2 | 9ee74e42b293d547d3a8510fa2139b2d4ccf6b89 | [
"MIT"
] | 32 | 2017-10-25T22:54:06.000Z | 2019-10-01T13:57:15.000Z | larcv/app/arxiv/arxiv/PMTWeights/show_weighted_images.py | mmajewsk/larcv2 | 9ee74e42b293d547d3a8510fa2139b2d4ccf6b89 | [
"MIT"
] | 16 | 2017-12-07T12:04:40.000Z | 2021-11-15T00:53:31.000Z | import os,sys
import ROOT
| 8.666667 | 13 | 0.807692 | 5 | 26 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 2 | 14 | 13 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ec9ed0e3f9cb528a2ef8bae6b1ebae5546e3a22 | 28 | py | Python | engine/__init__.py | xieqk/SEF | 2163a159933d8d9ecad5ff9341cfa626f662a778 | [
"MIT"
] | 57 | 2021-04-04T10:31:36.000Z | 2022-03-30T03:13:07.000Z | ofdft_ml/statslib/trainer/__init__.py | HamletWantToCode/ofdft-ml | 4115405b6f530cdf8956d0b5b353569ce7c09496 | [
"MIT"
] | 9 | 2020-03-28T21:50:47.000Z | 2020-04-15T14:26:12.000Z | ofdft_ml/statslib/trainer/__init__.py | HamletWantToCode/ofdft-ml | 4115405b6f530cdf8956d0b5b353569ce7c09496 | [
"MIT"
] | 17 | 2018-11-14T09:17:00.000Z | 2021-08-06T04:05:07.000Z | from .trainer import Trainer | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ece1e8a3a89f630dab679bb5b642d01c5a87c13 | 9,981 | py | Python | tests/test_ci_tests.py | kpj/causaldag | f594f32a2e1671dd2b355d38c16cf613441fb7a6 | [
"BSD-3-Clause"
] | 86 | 2019-02-17T18:23:36.000Z | 2022-03-24T14:28:35.000Z | tests/test_ci_tests.py | anastasiyabel/causaldag | c921863b1a9305ed10c1f56314804a211a215931 | [
"BSD-3-Clause"
] | 11 | 2019-11-22T05:35:27.000Z | 2022-02-26T07:28:05.000Z | tests/test_ci_tests.py | anastasiyabel/causaldag | c921863b1a9305ed10c1f56314804a211a215931 | [
"BSD-3-Clause"
] | 17 | 2019-03-28T16:46:00.000Z | 2022-01-31T19:22:12.000Z | from unittest import TestCase
import unittest
import numpy as np
import causaldag as cd
from causaldag import GaussIntervention, ScalingIntervention
import os
import random
# np.random.seed(1728)
# random.seed(1728)
class TestKCI(TestCase):
# def test_dependent(self):
# Y = np.random.multivariate_normal(... | 44.959459 | 121 | 0.571285 | 1,247 | 9,981 | 4.380112 | 0.091419 | 0.10509 | 0.038081 | 0.035884 | 0.85335 | 0.840718 | 0.810143 | 0.777554 | 0.755767 | 0.703955 | 0 | 0.040143 | 0.301172 | 9,981 | 221 | 122 | 45.162896 | 0.742939 | 0.790502 | 0 | 0 | 0 | 0 | 0.021075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.291667 | 0 | 0.375 | 0.041667 | 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 |
73355c6d434ea638e34ef5e90ec8082803779227 | 88 | py | Python | vgn/__init__.py | becheran/vgn | 908159ff05ba3e3c53d154685164a5de5b2b94a4 | [
"MIT"
] | 5 | 2020-03-06T20:52:23.000Z | 2022-01-09T21:37:00.000Z | vgn/__init__.py | becheran/vgn | 908159ff05ba3e3c53d154685164a5de5b2b94a4 | [
"MIT"
] | null | null | null | vgn/__init__.py | becheran/vgn | 908159ff05ba3e3c53d154685164a5de5b2b94a4 | [
"MIT"
] | null | null | null | from vgn.data_classes import *
from vgn.exceptions import *
from vgn.functions import *
| 22 | 30 | 0.795455 | 13 | 88 | 5.307692 | 0.538462 | 0.304348 | 0.376812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 3 | 31 | 29.333333 | 0.907895 | 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 |
733d4114e5a5ccce43c6d76a3a21d1a8751397fe | 3,564 | py | Python | api/v1/recipe_groups/tests.py | RyanNoelk/OpenEats | dd015570cf07961b03525d256cd6d175bdb28ea2 | [
"MIT"
] | 113 | 2016-10-05T19:33:10.000Z | 2020-12-28T15:25:02.000Z | api/v1/recipe_groups/tests.py | RyanNoelk/OpenEats | dd015570cf07961b03525d256cd6d175bdb28ea2 | [
"MIT"
] | 151 | 2016-10-27T19:40:22.000Z | 2018-03-02T22:58:41.000Z | api/v1/recipe_groups/tests.py | RyanNoelk/OpenEats | dd015570cf07961b03525d256cd6d175bdb28ea2 | [
"MIT"
] | 47 | 2016-10-26T16:42:34.000Z | 2020-05-25T12:38:34.000Z | #!/usr/bin/env python
# encoding: utf-8
from __future__ import unicode_literals
from django.test import TestCase
from rest_framework.test import APIRequestFactory
from v1.recipe_groups import views
class RecipeGroupsTests(TestCase):
fixtures = ['test/users.json', 'test/cuisine.json', 'test/course.json', 'test/rec... | 37.914894 | 100 | 0.657127 | 449 | 3,564 | 5.093541 | 0.14922 | 0.076957 | 0.078706 | 0.045474 | 0.819414 | 0.813293 | 0.800175 | 0.797551 | 0.790555 | 0.790555 | 0 | 0.014568 | 0.191077 | 3,564 | 93 | 101 | 38.322581 | 0.778703 | 0.010101 | 0 | 0.5625 | 0 | 0 | 0.204765 | 0.121668 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.140625 | false | 0 | 0.0625 | 0 | 0.234375 | 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 |
b40fd0945ff62fceb5dc1a285e407dcb104ac3dd | 300 | py | Python | easytensor/__init__.py | EasyTensor/python-client | a22c822897a876fa5487f5bcae8175585505ba2e | [
"MIT"
] | 1 | 2021-04-08T00:07:58.000Z | 2021-04-08T00:07:58.000Z | easytensor/__init__.py | EasyTensor/python-client | a22c822897a876fa5487f5bcae8175585505ba2e | [
"MIT"
] | null | null | null | easytensor/__init__.py | EasyTensor/python-client | a22c822897a876fa5487f5bcae8175585505ba2e | [
"MIT"
] | null | null | null | """
Main module. Imports some functions to expose at the top level.
"""
from easytensor.auth import get_auth_token
from easytensor.urls import set_base_url
from easytensor.constants import Framework
from easytensor import tensorflow
from easytensor import pytorch
from easytensor import transformers
| 30 | 63 | 0.84 | 42 | 300 | 5.904762 | 0.619048 | 0.33871 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123333 | 300 | 9 | 64 | 33.333333 | 0.942966 | 0.21 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b41d57c46929be8891dc91cbcfc9cc6e5ba3d82d | 204 | py | Python | TranCongHoan_Hust/Lesson 2/Address.py | hoantc1703/blockchain-course-032021 | f56003622c8065b57d31ebc044ac084cfbc52dec | [
"MIT"
] | null | null | null | TranCongHoan_Hust/Lesson 2/Address.py | hoantc1703/blockchain-course-032021 | f56003622c8065b57d31ebc044ac084cfbc52dec | [
"MIT"
] | null | null | null | TranCongHoan_Hust/Lesson 2/Address.py | hoantc1703/blockchain-course-032021 | f56003622c8065b57d31ebc044ac084cfbc52dec | [
"MIT"
] | null | null | null | from cryptotools.BTC import generate_keypair, push, script_to_address, OP
privateKey, publicKey = generate_keypair()
print(privateKey.hex())
print(publicKey.hex())
print(publicKey.to_address('P2PKH')) | 40.8 | 74 | 0.794118 | 26 | 204 | 6.038462 | 0.615385 | 0.191083 | 0.216561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005348 | 0.083333 | 204 | 5 | 75 | 40.8 | 0.834225 | 0 | 0 | 0 | 1 | 0 | 0.024876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.6 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b431bcffe31474ebd0804c4c009dd06307688de8 | 257 | py | Python | xview3/version.py | BloodAxe/xView3-The-First-Place-Solution | 9a9600e7dfbaa24ff5a72c81061fbbbfed865847 | [
"MIT"
] | 39 | 2022-01-11T05:20:29.000Z | 2022-03-09T10:35:47.000Z | xview3/version.py | DIUx-xView/xView3_first_place | 63a594601bf71a96909230d31097dca790b40ff2 | [
"MIT"
] | 1 | 2022-03-07T09:50:22.000Z | 2022-03-07T09:50:22.000Z | xview3/version.py | BloodAxe/xView3-The-First-Place-Solution | 9a9600e7dfbaa24ff5a72c81061fbbbfed865847 | [
"MIT"
] | 4 | 2022-01-14T16:14:02.000Z | 2022-02-22T02:17:33.000Z | __version__ = "2021.05.28"
__all__ = ["get_version", "get_version_with_tag", "git_commit_tag"]
def get_version():
return __version__
def git_commit_tag():
return ""
def get_version_with_tag():
return f"{get_version()}.{git_commit_tag()}"
| 16.0625 | 67 | 0.700389 | 36 | 257 | 4.25 | 0.361111 | 0.326797 | 0.235294 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036697 | 0.151751 | 257 | 15 | 68 | 17.133333 | 0.665138 | 0 | 0 | 0 | 0 | 0 | 0.346304 | 0.132296 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.375 | 0.75 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b43dd31a792625412d8302a684043e1f6b9041b7 | 29 | py | Python | dev_aberto/__init__.py | VictorLMoura/pacote-exemplo | 2783536377449eac6ff23add86b06c528ca16f31 | [
"MIT"
] | null | null | null | dev_aberto/__init__.py | VictorLMoura/pacote-exemplo | 2783536377449eac6ff23add86b06c528ca16f31 | [
"MIT"
] | null | null | null | dev_aberto/__init__.py | VictorLMoura/pacote-exemplo | 2783536377449eac6ff23add86b06c528ca16f31 | [
"MIT"
] | 1 | 2021-11-23T01:22:27.000Z | 2021-11-23T01:22:27.000Z | from .dev_aberto import hello | 29 | 29 | 0.862069 | 5 | 29 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 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 |
b45f10fc958cbc752b77afd3c750c4b1486cd695 | 72 | py | Python | client/tracebin/__main__.py | alex/tracebin | cd9717e750718dcb94140f60957c3f543915317f | [
"BSD-3-Clause"
] | 3 | 2015-11-08T12:45:45.000Z | 2019-05-09T20:03:57.000Z | client/tracebin/__main__.py | alex/tracebin | cd9717e750718dcb94140f60957c3f543915317f | [
"BSD-3-Clause"
] | null | null | null | client/tracebin/__main__.py | alex/tracebin | cd9717e750718dcb94140f60957c3f543915317f | [
"BSD-3-Clause"
] | null | null | null | import sys
from tracebin.cmdline import main
sys.exit(main(sys.argv)) | 12 | 33 | 0.777778 | 12 | 72 | 4.666667 | 0.666667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 72 | 6 | 34 | 12 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b47785d32ef590fedc67a82bd342fd9120645a16 | 178 | py | Python | regexingit.py | szemyd/packaging-python-public | e16fed1f335d5f5153f21e40afb1add21c712973 | [
"MIT"
] | null | null | null | regexingit.py | szemyd/packaging-python-public | e16fed1f335d5f5153f21e40afb1add21c712973 | [
"MIT"
] | null | null | null | regexingit.py | szemyd/packaging-python-public | e16fed1f335d5f5153f21e40afb1add21c712973 | [
"MIT"
] | null | null | null | import re
pattern = '.*replace_functions\.py'
path = r"C:\Users\danie\Code\python-templates\packaging-python\mycodemod\replace_functions.py"
print(re.fullmatch(pattern, path)) | 25.428571 | 94 | 0.780899 | 25 | 178 | 5.48 | 0.72 | 0.233577 | 0.262774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067416 | 178 | 7 | 95 | 25.428571 | 0.825301 | 0 | 0 | 0 | 0 | 0.25 | 0.597765 | 0.597765 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
81fe309751aa6608faf23a2e7d46f9b1a70c518f | 2,178 | py | Python | keanu-python/keanu/vertex/__init__.py | rs992214/keanu | f7f9b877aaaf9c9f732604f17da238e15dfdad13 | [
"MIT"
] | 153 | 2018-04-06T13:30:31.000Z | 2022-01-31T10:05:27.000Z | keanu-python/keanu/vertex/__init__.py | shinnlok/keanu | c75b2a00571a0da93c6b1d5e9f0cbe09aebdde4d | [
"MIT"
] | 168 | 2018-04-06T16:37:33.000Z | 2021-09-27T21:43:54.000Z | keanu-python/keanu/vertex/__init__.py | shinnlok/keanu | c75b2a00571a0da93c6b1d5e9f0cbe09aebdde4d | [
"MIT"
] | 46 | 2018-04-10T10:46:01.000Z | 2022-02-24T02:53:50.000Z | ## This is a generated file. DO NOT EDIT.
# This allows us to make these vertices visible externally so they can be picked up for our python docs
__all__ = ["Broadcast", "DiagPart", "Diag", "FillTriangular", "Permute", "Reshape", "Slice", "StridedSlice", "Take", "TriLower", "TriUpper", "TrianglePart", "Where", "Boolea... | 217.8 | 1,891 | 0.710285 | 189 | 2,178 | 8.15873 | 0.931217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004032 | 0.089073 | 2,178 | 10 | 1,892 | 217.8 | 0.773185 | 0.064279 | 0 | 0 | 1 | 0 | 0.647174 | 0.032432 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c363e9764be7269bd2f3ccb3296697fed149ecb6 | 121 | py | Python | crawler/scrapy_ffxiv/spiders/utils/xpath_utils.py | shengzhc/sc-ff14-scrapy | 2d5b74980e47ec140a4b8d506079fcc94dde54a2 | [
"MIT"
] | null | null | null | crawler/scrapy_ffxiv/spiders/utils/xpath_utils.py | shengzhc/sc-ff14-scrapy | 2d5b74980e47ec140a4b8d506079fcc94dde54a2 | [
"MIT"
] | null | null | null | crawler/scrapy_ffxiv/spiders/utils/xpath_utils.py | shengzhc/sc-ff14-scrapy | 2d5b74980e47ec140a4b8d506079fcc94dde54a2 | [
"MIT"
] | null | null | null | from scrapy import Selector
def xpath_nodeset_intersection(ns1, ns2):
return f"{ns1}[count(.|{ns2})=count({ns2})]"
| 20.166667 | 48 | 0.702479 | 17 | 121 | 4.882353 | 0.764706 | 0.192771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04717 | 0.123967 | 121 | 5 | 49 | 24.2 | 0.735849 | 0 | 0 | 0 | 0 | 0 | 0.280992 | 0.280992 | 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 |
48aea2f6bf58ba144ba4be437fd09005de84a771 | 16 | py | Python | source/mq/test5.py | PYH-torder/robot-test | 381df1e8911d8ca43c2a57613a7a75e674fea7b6 | [
"MIT"
] | null | null | null | source/mq/test5.py | PYH-torder/robot-test | 381df1e8911d8ca43c2a57613a7a75e674fea7b6 | [
"MIT"
] | null | null | null | source/mq/test5.py | PYH-torder/robot-test | 381df1e8911d8ca43c2a57613a7a75e674fea7b6 | [
"MIT"
] | null | null | null | import lgscon
| 4 | 13 | 0.75 | 2 | 16 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 16 | 3 | 14 | 5.333333 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.