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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0704e558801129574eabf96a374f474bbca32f56 | 604,349 | py | Python | packages/python/plotly/plotly/validators/__init__.py | sgn/plotly.py | 587075c9f5a57a3dd60b03b2d47d925fbbb9b9b6 | [
"MIT"
] | null | null | null | packages/python/plotly/plotly/validators/__init__.py | sgn/plotly.py | 587075c9f5a57a3dd60b03b2d47d925fbbb9b9b6 | [
"MIT"
] | null | null | null | packages/python/plotly/plotly/validators/__init__.py | sgn/plotly.py | 587075c9f5a57a3dd60b03b2d47d925fbbb9b9b6 | [
"MIT"
] | null | null | null | import _plotly_utils.basevalidators
class LayoutValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="layout", parent_name="", **kwargs):
super(LayoutValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
data_c... | 47.74443 | 83 | 0.543208 | 67,702 | 604,349 | 4.825958 | 0.025228 | 0.022132 | 0.018701 | 0.031647 | 0.913766 | 0.909808 | 0.902426 | 0.89644 | 0.892041 | 0.879701 | 0 | 0.005534 | 0.408527 | 604,349 | 12,657 | 84 | 47.748203 | 0.908501 | 0 | 0 | 0.5 | 0 | 0 | 0.101457 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072046 | false | 0 | 0.072046 | 0 | 0.216138 | 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 |
0730ac732914551c3b269417f2e1d93ff95de1a4 | 44 | py | Python | main.py | scooler/checkers | 90bfe8702c6005c767a8673caed6e7e2f0ce5879 | [
"MIT"
] | null | null | null | main.py | scooler/checkers | 90bfe8702c6005c767a8673caed6e7e2f0ce5879 | [
"MIT"
] | null | null | null | main.py | scooler/checkers | 90bfe8702c6005c767a8673caed6e7e2f0ce5879 | [
"MIT"
] | null | null | null | from game.game import Game
Game().start()
| 8.8 | 26 | 0.704545 | 7 | 44 | 4.428571 | 0.571429 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 4 | 27 | 11 | 0.837838 | 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 |
075cde8f8520f336912218c9170d144bd1332460 | 10,643 | py | Python | hdp_py/mixture_functions.py | quinnfrank/HDP-py | af20aca6d1e2e084d28a5bc69863d6ba94261912 | [
"MIT"
] | 2 | 2020-05-03T20:15:51.000Z | 2020-10-14T04:54:40.000Z | hdp_py/mixture_functions.py | quinnfrank/HDP-py | af20aca6d1e2e084d28a5bc69863d6ba94261912 | [
"MIT"
] | null | null | null | hdp_py/mixture_functions.py | quinnfrank/HDP-py | af20aca6d1e2e084d28a5bc69863d6ba94261912 | [
"MIT"
] | 2 | 2020-05-01T16:37:22.000Z | 2020-05-03T20:19:49.000Z | import numpy as np
import pandas as pd
from scipy import sparse
from scipy.special import gammaln as logg
from numba import jit, float64, int64, int32, boolean
def pois_fk_cust(i, x, k, Kmax, ha, hb, new=False):
"""
Computes the mixture components for a given customer across all k values.
MODEL: base meas... | 38.701818 | 97 | 0.562154 | 1,784 | 10,643 | 3.252803 | 0.116592 | 0.034465 | 0.014475 | 0.018611 | 0.83767 | 0.804756 | 0.774944 | 0.762364 | 0.743753 | 0.704808 | 0 | 0.017362 | 0.301889 | 10,643 | 275 | 98 | 38.701818 | 0.763661 | 0.353472 | 0 | 0.534722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069444 | false | 0 | 0.034722 | 0 | 0.194444 | 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 |
4af177c4a67e29c6af04edbea86d9831c735c544 | 15,235 | py | Python | tests/test_marshalling.py | alex-ip/sanic-restplus | 6f07af56b96eb9039622ecfe592a730e6e7e9d90 | [
"MIT"
] | 115 | 2017-04-04T22:30:45.000Z | 2022-03-28T01:52:48.000Z | tests/test_marshalling.py | alex-ip/sanic-restplus | 6f07af56b96eb9039622ecfe592a730e6e7e9d90 | [
"MIT"
] | 24 | 2017-06-09T01:03:49.000Z | 2021-08-31T01:45:41.000Z | tests/test_marshalling.py | alex-ip/sanic-restplus | 6f07af56b96eb9039622ecfe592a730e6e7e9d90 | [
"MIT"
] | 21 | 2017-04-22T19:41:11.000Z | 2022-03-02T04:00:02.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import pytest
from sanic_restplus import (
marshal, marshal_with, marshal_with_field, fields, Api, Resource
)
from collections import OrderedDict
# Add a dummy Resource to verify that the app is properly set.
class HelloWorld(Resource):
async ... | 35.430233 | 97 | 0.48848 | 1,464 | 15,235 | 4.939208 | 0.103142 | 0.121975 | 0.075232 | 0.093348 | 0.817453 | 0.7909 | 0.775688 | 0.734062 | 0.700041 | 0.665883 | 0 | 0.006786 | 0.342238 | 15,235 | 429 | 98 | 35.512821 | 0.714799 | 0.018247 | 0 | 0.620112 | 0 | 0 | 0.074381 | 0 | 0 | 0 | 0 | 0 | 0.114525 | 1 | 0.111732 | false | 0 | 0.011173 | 0.019553 | 0.175978 | 0.002793 | 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 |
db3d3d983f69dd07ff735b79db5e64251581264b | 244 | py | Python | mayan/apps/storage/dependencies.py | CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons | 0e4e919fd2e1ded6711354a0330135283e87f8c7 | [
"Apache-2.0"
] | 2 | 2021-09-12T19:41:19.000Z | 2021-09-12T19:41:20.000Z | mayan/apps/storage/dependencies.py | CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons | 0e4e919fd2e1ded6711354a0330135283e87f8c7 | [
"Apache-2.0"
] | 37 | 2021-09-13T01:00:12.000Z | 2021-10-02T03:54:30.000Z | mayan/apps/storage/dependencies.py | CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons | 0e4e919fd2e1ded6711354a0330135283e87f8c7 | [
"Apache-2.0"
] | 1 | 2021-09-22T13:17:30.000Z | 2021-09-22T13:17:30.000Z | from mayan.apps.dependencies.classes import PythonDependency
PythonDependency(
module=__name__, name='extract-msg', version_string='==0.23.3'
)
PythonDependency(
module=__name__, name='pycryptodome', version_string='==3.9.7'
)
| 27.111111 | 67 | 0.733607 | 28 | 244 | 6.035714 | 0.678571 | 0.260355 | 0.307692 | 0.35503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032864 | 0.127049 | 244 | 8 | 68 | 30.5 | 0.760563 | 0 | 0 | 0.285714 | 0 | 0 | 0.161017 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dbb6c198497cd696a273ad9e704abaebe8084144 | 8,884 | py | Python | tests/test_api_assets.py | adevinta/graph-asset-inventory-api | 507a55604b95be1b388acec8fa911cd1465e64ca | [
"MIT"
] | 1 | 2021-12-02T07:25:00.000Z | 2021-12-02T07:25:00.000Z | tests/test_api_assets.py | adevinta/graph-asset-inventory-api | 507a55604b95be1b388acec8fa911cd1465e64ca | [
"MIT"
] | null | null | null | tests/test_api_assets.py | adevinta/graph-asset-inventory-api | 507a55604b95be1b388acec8fa911cd1465e64ca | [
"MIT"
] | 2 | 2021-08-09T15:19:09.000Z | 2021-11-14T19:13:27.000Z | """Tests for the Asset Inventory API."""
import json
from datetime import datetime
from helpers import compare_unsorted_list
from graph_asset_inventory_api.inventory import AssetID
from graph_asset_inventory_api.api import AssetReq
def test_get_assets(flask_cli, init_api_assets):
"""Tests the API endpoint ``GE... | 31.17193 | 79 | 0.674021 | 1,233 | 8,884 | 4.587186 | 0.085969 | 0.053218 | 0.098833 | 0.044554 | 0.87058 | 0.838932 | 0.769272 | 0.754597 | 0.724187 | 0.687588 | 0 | 0.048134 | 0.188541 | 8,884 | 284 | 80 | 31.28169 | 0.736441 | 0.107046 | 0 | 0.586957 | 0 | 0 | 0.125893 | 0.050128 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0.076087 | false | 0 | 0.027174 | 0 | 0.103261 | 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 |
dbc66ae627ccb502cc4e25d16547f21778296a0e | 155 | py | Python | test.py | FujimoriYajirobei/FY00 | 72bd7528e5b65513b50a1ba79b8dc89a5d6ea01a | [
"MIT"
] | null | null | null | test.py | FujimoriYajirobei/FY00 | 72bd7528e5b65513b50a1ba79b8dc89a5d6ea01a | [
"MIT"
] | null | null | null | test.py | FujimoriYajirobei/FY00 | 72bd7528e5b65513b50a1ba79b8dc89a5d6ea01a | [
"MIT"
] | null | null | null | import subprocess
subprocess.call("wget -O build.sh https://gitlab.com/robo.phar.sha1sum/wireguard-go/-/raw/master/build.sh && bash build.sh", shell=True)
| 51.666667 | 136 | 0.76129 | 25 | 155 | 4.72 | 0.8 | 0.177966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006897 | 0.064516 | 155 | 2 | 137 | 77.5 | 0.806897 | 0 | 0 | 0 | 0 | 0.5 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
915cea7ef78acda1ea99d433fd4e9e96214e76b5 | 23,077 | py | Python | tests/sentry/eventstream/kafka/test_consumer.py | learninto/sentry | 4f9f564841498b3af49c1677d6b61f3e47b01923 | [
"BSD-3-Clause"
] | null | null | null | tests/sentry/eventstream/kafka/test_consumer.py | learninto/sentry | 4f9f564841498b3af49c1677d6b61f3e47b01923 | [
"BSD-3-Clause"
] | null | null | null | tests/sentry/eventstream/kafka/test_consumer.py | learninto/sentry | 4f9f564841498b3af49c1677d6b61f3e47b01923 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
import functools
import os
import subprocess
import uuid
from collections import defaultdict
from contextlib import contextmanager
import pytest
from six.moves import xrange
try:
from confluent_kafka import Consumer, KafkaError, Producer, TopicPartition
from sentry.eve... | 35.778295 | 100 | 0.624041 | 2,513 | 23,077 | 5.547951 | 0.081974 | 0.053149 | 0.042605 | 0.026897 | 0.875126 | 0.857768 | 0.846866 | 0.834887 | 0.829149 | 0.829149 | 0 | 0.00952 | 0.280842 | 23,077 | 644 | 101 | 35.833851 | 0.830562 | 0.095723 | 0 | 0.693833 | 0 | 0 | 0.104088 | 0.001057 | 0 | 0 | 0 | 0.001553 | 0.14978 | 1 | 0.046256 | false | 0 | 0.026432 | 0 | 0.085903 | 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 |
91af34efe5024aaa0c5c4d50547ccca5daa46ea5 | 26,148 | py | Python | lib/test_parse_timestring.py | StoDevX/course-data-tools | 7afc7f060c6724aea12d35bd71b4586a2f818fcd | [
"MIT"
] | 2 | 2016-08-19T03:26:35.000Z | 2017-05-15T14:40:22.000Z | lib/test_parse_timestring.py | StoDevX/course-data-tools | 7afc7f060c6724aea12d35bd71b4586a2f818fcd | [
"MIT"
] | 1 | 2018-09-05T15:50:23.000Z | 2018-09-05T16:33:16.000Z | lib/test_parse_timestring.py | StoDevX/course-data-tools | 7afc7f060c6724aea12d35bd71b4586a2f818fcd | [
"MIT"
] | null | null | null | from .parse_timestring import parse_timestring, clean_timestring_segment, find_days, find_time
def test_parse_timestring():
assert parse_timestring("MWF 300-415") == [
{'day': 'Mo', 'start': '15:00', 'end': '16:15'},
{'day': 'We', 'start': '15:00', 'end': '16:15'},
{'day': 'Fr', 'start': '15:00', 'end': '16:15... | 47.977982 | 94 | 0.618977 | 3,695 | 26,148 | 4.259811 | 0.098782 | 0.249682 | 0.312198 | 0.021728 | 0.535896 | 0.189581 | 0.146188 | 0.117853 | 0.06277 | 0.053748 | 0 | 0.244546 | 0.130488 | 26,148 | 544 | 95 | 48.066176 | 0.447748 | 0.018701 | 0 | 0.090909 | 0 | 0 | 0.275393 | 0 | 0 | 0 | 0 | 0.001838 | 0.949761 | 1 | 0.028708 | true | 0 | 0.002392 | 0 | 0.0311 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
91e6db023512d3f262879684d855d6177f98fbbb | 215 | py | Python | reportcards/admin.py | Davy-71993/MySchool | fa02c8ec19d71873fc0d714cf652d8ad05f2f0e7 | [
"MIT"
] | null | null | null | reportcards/admin.py | Davy-71993/MySchool | fa02c8ec19d71873fc0d714cf652d8ad05f2f0e7 | [
"MIT"
] | null | null | null | reportcards/admin.py | Davy-71993/MySchool | fa02c8ec19d71873fc0d714cf652d8ad05f2f0e7 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import MarkList, MarkListSetUp, Score, Result
admin.site.register(MarkList)
admin.site.register(MarkListSetUp)
admin.site.register(Score)
admin.site.register(Result)
| 21.5 | 58 | 0.818605 | 28 | 215 | 6.285714 | 0.428571 | 0.204545 | 0.386364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083721 | 215 | 9 | 59 | 23.888889 | 0.893401 | 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 |
725ae45405fcf758d7a977d4ad826b98b7f992c6 | 36 | py | Python | testplan/exporters/testing/webserver/__init__.py | chiragmatkar/testplan | 13ee4fdeaaa41d8eea118d77921531277ef90147 | [
"Apache-2.0"
] | 96 | 2018-03-14T13:14:50.000Z | 2021-01-14T08:26:08.000Z | testplan/exporters/testing/webserver/__init__.py | chiragmatkar/testplan | 13ee4fdeaaa41d8eea118d77921531277ef90147 | [
"Apache-2.0"
] | 135 | 2018-06-28T02:41:05.000Z | 2021-01-19T02:16:58.000Z | testplan/exporters/testing/webserver/__init__.py | chiragmatkar/testplan | 13ee4fdeaaa41d8eea118d77921531277ef90147 | [
"Apache-2.0"
] | 53 | 2018-03-17T14:39:15.000Z | 2021-01-21T10:54:13.000Z | from .base import WebServerExporter
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
72e8bf007a486d1a86a4bbfa09c7ec2dd5c486ee | 200 | py | Python | D_arrays/types_of_arrays/B_dynamic_size_array.py | Princeton21/DSA | 0f2321b284fc54f4ddf73733cc1a8d05e549aeea | [
"MIT"
] | 58 | 2021-01-06T10:05:51.000Z | 2022-02-10T05:15:19.000Z | D_arrays/types_of_arrays/B_dynamic_size_array.py | Princeton21/DSA | 0f2321b284fc54f4ddf73733cc1a8d05e549aeea | [
"MIT"
] | 5 | 2021-02-22T04:14:24.000Z | 2021-12-26T09:19:17.000Z | D_arrays/types_of_arrays/B_dynamic_size_array.py | Princeton21/DSA | 0f2321b284fc54f4ddf73733cc1a8d05e549aeea | [
"MIT"
] | 27 | 2021-02-09T13:58:33.000Z | 2022-03-06T03:48:08.000Z | def method1(n: list):
return n
if __name__ == "__main__":
"""
from timeit import timeit
print(timeit(lambda: method1([1, 2, 3, 4, 5]), number=10000)) # 0.0021682340002371348
"""
| 20 | 89 | 0.61 | 26 | 200 | 4.384615 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207792 | 0.23 | 200 | 9 | 90 | 22.222222 | 0.532468 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
72f19ae3104cf96a4117f1f082a5f62580ccf688 | 32 | py | Python | klotskigame/__init__.py | barroca/klotski-solver | 92ade2f5b7c1dc2a1e9974f5cb21bb74d09e1fe8 | [
"MIT"
] | 1 | 2018-11-23T07:17:58.000Z | 2018-11-23T07:17:58.000Z | klotskigame/__init__.py | barroca/klotski-solver | 92ade2f5b7c1dc2a1e9974f5cb21bb74d09e1fe8 | [
"MIT"
] | null | null | null | klotskigame/__init__.py | barroca/klotski-solver | 92ade2f5b7c1dc2a1e9974f5cb21bb74d09e1fe8 | [
"MIT"
] | null | null | null | from .board import KlotskiBoard
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 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 |
72f79e70c7cd9ffb5c3a3d69324eaf8e05422a08 | 7,904 | py | Python | src/onevision/type/numpy.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | 2 | 2022-03-28T09:46:38.000Z | 2022-03-28T14:12:32.000Z | src/onevision/type/numpy.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | null | null | null | src/onevision/type/numpy.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Operations on Numpy Array.
"""
from __future__ import annotations
from typing import Any
import numpy as np
from multipledispatch import dispatch
from torch import Tensor
from onevision.type.collection import is_list_of
__all__ = [
"to_3d_array_list",
"to_4d_a... | 37.638095 | 83 | 0.573381 | 1,181 | 7,904 | 3.781541 | 0.097375 | 0.102777 | 0.102777 | 0.036946 | 0.82378 | 0.795119 | 0.771384 | 0.743842 | 0.726825 | 0.714957 | 0 | 0.021466 | 0.275051 | 7,904 | 209 | 84 | 37.818182 | 0.757941 | 0.117788 | 0 | 0.666667 | 0 | 0 | 0.139811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048485 | false | 0.012121 | 0.036364 | 0 | 0.151515 | 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 |
f44c1f22a0dd095bc50f28a4e8a6ebc057043436 | 11,081 | py | Python | tests/test_smart_completion_public_schema_only.py | steverobbins/mycli | ad19b143da483f97a657a69eeff88f9a74966520 | [
"BSD-3-Clause"
] | 2 | 2015-08-01T03:39:58.000Z | 2015-11-08T07:54:59.000Z | tests/test_smart_completion_public_schema_only.py | steverobbins/mycli | ad19b143da483f97a657a69eeff88f9a74966520 | [
"BSD-3-Clause"
] | null | null | null | tests/test_smart_completion_public_schema_only.py | steverobbins/mycli | ad19b143da483f97a657a69eeff88f9a74966520 | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
from __future__ import unicode_literals
import pytest
from prompt_toolkit.completion import Completion
from prompt_toolkit.document import Document
metadata = {
'users': ['id', 'email', 'first_name', 'last_name'],
'orders': ['id', 'ordered_date', 'status'],
... | 38.079038 | 94 | 0.667539 | 1,318 | 11,081 | 5.421093 | 0.078907 | 0.119524 | 0.115605 | 0.147796 | 0.874738 | 0.848705 | 0.83387 | 0.820714 | 0.79972 | 0.769069 | 0 | 0.007189 | 0.209187 | 11,081 | 290 | 95 | 38.210345 | 0.808171 | 0.075715 | 0 | 0.618605 | 0 | 0 | 0.128537 | 0 | 0 | 0 | 0 | 0 | 0.083721 | 1 | 0.093023 | false | 0 | 0.027907 | 0 | 0.130233 | 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 |
be4070db45480af59296ece3e6e1983fdfdfd5d0 | 152 | py | Python | Project/my_code/processor/custom_train.py | AAAshuibiao/AriZona-Half-N-Half | 9735e398e57ef200d7459951933e9aa33561d08f | [
"MIT"
] | null | null | null | Project/my_code/processor/custom_train.py | AAAshuibiao/AriZona-Half-N-Half | 9735e398e57ef200d7459951933e9aa33561d08f | [
"MIT"
] | null | null | null | Project/my_code/processor/custom_train.py | AAAshuibiao/AriZona-Half-N-Half | 9735e398e57ef200d7459951933e9aa33561d08f | [
"MIT"
] | null | null | null | class Neural():
def __init__(self):
pass
class My_train(object):
def __init__(self, data, labels, toler, step_w, step_b):
pass
| 19 | 60 | 0.625 | 21 | 152 | 4 | 0.714286 | 0.166667 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 152 | 7 | 61 | 21.714286 | 0.75 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
be598d3415b6cc8a7d609a3bf7cf9394dc613812 | 648 | py | Python | tools/pikaCompiler/PyInfo.py | ccccmagicboy2022/pikascript | 154ccd8e90e0d50e1551536d32bd2a3648e194d2 | [
"MIT"
] | null | null | null | tools/pikaCompiler/PyInfo.py | ccccmagicboy2022/pikascript | 154ccd8e90e0d50e1551536d32bd2a3648e194d2 | [
"MIT"
] | null | null | null | tools/pikaCompiler/PyInfo.py | ccccmagicboy2022/pikascript | 154ccd8e90e0d50e1551536d32bd2a3648e194d2 | [
"MIT"
] | null | null | null | class PyObj(BaseObj):
def importClass(className: str, fp: str):
pass
def newObj(objName: str, className: str, fp: str):
pass
def makeInlcude(fp: str):
pass
def makeNewObj(fp: str):
pass
def getInclude() -> str:
pass
class PyMethod (SysObj):
def make... | 15.428571 | 54 | 0.566358 | 72 | 648 | 5.097222 | 0.361111 | 0.209809 | 0.217984 | 0.196185 | 0.13079 | 0.13079 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 648 | 41 | 55 | 15.804878 | 0.849537 | 0 | 0 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.407407 | false | 0.407407 | 0.037037 | 0 | 0.592593 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
be67e31d9d58e7ceea14de216eb2d422029cf4a9 | 11,415 | py | Python | turbo-codes/archive/src/models.py | tripods-xai/isit-2022 | 024a0ccb59f7d4b2c9e88ef96d4a9c57712d6dfd | [
"MIT"
] | 1 | 2022-02-23T14:59:14.000Z | 2022-02-23T14:59:14.000Z | turbo-codes/archive/src/models.py | tripods-xai/isit-2022 | 024a0ccb59f7d4b2c9e88ef96d4a9c57712d6dfd | [
"MIT"
] | null | null | null | turbo-codes/archive/src/models.py | tripods-xai/isit-2022 | 024a0ccb59f7d4b2c9e88ef96d4a9c57712d6dfd | [
"MIT"
] | null | null | null | import numpy as np
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import layers
import tensorflow.keras.backend as K
from .encoders import SystematicConvEncoder, TurboSystematicSharedEncoder, CNNTrellisHelper, TurboSystematicSeparateEncoder, NonsystematicConvEncoder, TurboNonsystematicShare... | 47.5625 | 182 | 0.762681 | 1,446 | 11,415 | 5.729599 | 0.083679 | 0.04828 | 0.043935 | 0.033796 | 0.872299 | 0.870851 | 0.86723 | 0.86723 | 0.865178 | 0.865057 | 0 | 0.042473 | 0.139904 | 11,415 | 240 | 183 | 47.5625 | 0.801385 | 0 | 0 | 0.69697 | 0 | 0 | 0.005606 | 0 | 0 | 0 | 0 | 0 | 0.005051 | 1 | 0.070707 | false | 0 | 0.055556 | 0 | 0.19697 | 0.070707 | 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 |
bec41b132e980b46f7f0c691943573e093711bb1 | 157 | py | Python | qasrl/metrics/__init__.py | gililior/qasrl-modeling | 2f9684536f6d5f0283b0e4b90a911ea12fa72f72 | [
"MIT"
] | 1 | 2021-07-18T18:55:54.000Z | 2021-07-18T18:55:54.000Z | qasrl/metrics/__init__.py | gililior/qasrl-modeling | 2f9684536f6d5f0283b0e4b90a911ea12fa72f72 | [
"MIT"
] | 2 | 2021-09-13T15:52:39.000Z | 2021-10-06T21:58:06.000Z | qasrl/metrics/__init__.py | gililior/qasrl-modeling | 2f9684536f6d5f0283b0e4b90a911ea12fa72f72 | [
"MIT"
] | 1 | 2021-09-19T13:46:49.000Z | 2021-09-19T13:46:49.000Z | from qasrl.metrics.question_metric import QuestionMetric
from qasrl.metrics.binary_f1 import BinaryF1
from qasrl.metrics.moments_metric import MomentsMetric
| 39.25 | 56 | 0.88535 | 21 | 157 | 6.47619 | 0.571429 | 0.198529 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013793 | 0.076433 | 157 | 3 | 57 | 52.333333 | 0.924138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe21e794951f4b76471abe630059d5fd9a858d17 | 5,543 | py | Python | tests/contrib/test_tone_convert.py | ZacheryGuan/python-pinyin | c16f4bc72ebbb4deabb31f867ec6db913a8a6327 | [
"MIT"
] | 3,853 | 2015-01-04T10:50:38.000Z | 2022-03-31T09:57:53.000Z | tests/contrib/test_tone_convert.py | ZacheryGuan/python-pinyin | c16f4bc72ebbb4deabb31f867ec6db913a8a6327 | [
"MIT"
] | 258 | 2015-01-27T03:46:11.000Z | 2022-03-29T01:30:46.000Z | tests/contrib/test_tone_convert.py | ZacheryGuan/python-pinyin | c16f4bc72ebbb4deabb31f867ec6db913a8a6327 | [
"MIT"
] | 579 | 2015-01-04T04:01:34.000Z | 2022-03-27T07:46:54.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from pytest import mark
from pypinyin.contrib.tone_convert import (
tone_to_normal,
tone_to_tone2,
tone2_to_tone,
tone_to_tone3,
tone3_to_tone,
tone2_to_normal,
tone2_to_tone3,
tone3_to_tone2,
tone3_to_normal,
to_no... | 25.081448 | 78 | 0.617175 | 777 | 5,543 | 4.075933 | 0.069498 | 0.136407 | 0.044206 | 0.063151 | 0.866751 | 0.787812 | 0.725924 | 0.705399 | 0.705399 | 0.680139 | 0 | 0.027422 | 0.197366 | 5,543 | 220 | 79 | 25.195455 | 0.684423 | 0.003789 | 0 | 0.561111 | 0 | 0 | 0.122464 | 0.011957 | 0 | 0 | 0 | 0 | 0.266667 | 1 | 0.072222 | false | 0 | 0.016667 | 0 | 0.088889 | 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 |
fe7168fa32c1e6667c0439f403b89f9e20701261 | 46 | py | Python | mag2exp/util/__init__.py | ubermag/exsim | 35e7a88716a9ed2c9a34f4c93c628560a597b57f | [
"BSD-3-Clause"
] | null | null | null | mag2exp/util/__init__.py | ubermag/exsim | 35e7a88716a9ed2c9a34f4c93c628560a597b57f | [
"BSD-3-Clause"
] | 6 | 2021-06-10T13:42:08.000Z | 2021-07-21T08:57:50.000Z | mag2exp/util/__init__.py | ubermag/exsim | 35e7a88716a9ed2c9a34f4c93c628560a597b57f | [
"BSD-3-Clause"
] | null | null | null | from mag2exp.util.util import gaussian_filter
| 23 | 45 | 0.869565 | 7 | 46 | 5.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.086957 | 46 | 1 | 46 | 46 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe894f3635d7bcd0e42e3831134f0f57292f9457 | 99 | py | Python | sandbox/src/boolean.py | sniemi/SamPy | e048756feca67197cf5f995afd7d75d8286e017b | [
"BSD-2-Clause"
] | 5 | 2016-05-28T14:12:28.000Z | 2021-04-22T10:23:12.000Z | sandbox/src/boolean.py | sniemi/SamPy | e048756feca67197cf5f995afd7d75d8286e017b | [
"BSD-2-Clause"
] | null | null | null | sandbox/src/boolean.py | sniemi/SamPy | e048756feca67197cf5f995afd7d75d8286e017b | [
"BSD-2-Clause"
] | 2 | 2015-07-13T10:04:10.000Z | 2021-04-22T10:23:23.000Z | #
# Constants for boolean evaluation
#
True = 1
False = 0
TRUE = 1
FALSE = 0
true = 1
false = 0
| 9.9 | 34 | 0.626263 | 16 | 99 | 3.875 | 0.5 | 0.241935 | 0.483871 | 0.532258 | 0.532258 | 0.532258 | 0.532258 | 0.532258 | 0 | 0 | 0 | 0.084507 | 0.282828 | 99 | 9 | 35 | 11 | 0.788732 | 0.323232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2282b26c4727dcc7cb0a273e42818f66bde45079 | 46 | py | Python | easycode.py | darkless456/Python | 1ba37d028e4a818ccfffc18682c1bac15554e3ac | [
"MIT"
] | null | null | null | easycode.py | darkless456/Python | 1ba37d028e4a818ccfffc18682c1bac15554e3ac | [
"MIT"
] | null | null | null | easycode.py | darkless456/Python | 1ba37d028e4a818ccfffc18682c1bac15554e3ac | [
"MIT"
] | null | null | null | print("today's weather is rainny" , "so bad")
| 23 | 45 | 0.673913 | 8 | 46 | 3.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 1 | 46 | 46 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0.673913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
22910051ad3f834abb8f8e9d0913e7c3ed9b3724 | 62,774 | py | Python | ironic/tests/unit/api/controllers/v1/test_allocation.py | yrobla/ironic | 6baf5a208c6695eede18484754e3b97468fb6e3d | [
"Apache-2.0"
] | null | null | null | ironic/tests/unit/api/controllers/v1/test_allocation.py | yrobla/ironic | 6baf5a208c6695eede18484754e3b97468fb6e3d | [
"Apache-2.0"
] | null | null | null | ironic/tests/unit/api/controllers/v1/test_allocation.py | yrobla/ironic | 6baf5a208c6695eede18484754e3b97468fb6e3d | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... | 48.775447 | 79 | 0.603435 | 6,718 | 62,774 | 5.417088 | 0.057309 | 0.056826 | 0.048967 | 0.048362 | 0.844526 | 0.814657 | 0.790448 | 0.760414 | 0.740602 | 0.714855 | 0 | 0.006928 | 0.284863 | 62,774 | 1,286 | 80 | 48.813375 | 0.803729 | 0.016344 | 0 | 0.64991 | 0 | 0 | 0.098869 | 0.013967 | 0 | 0 | 0 | 0 | 0.222621 | 1 | 0.102334 | false | 0 | 0.019749 | 0 | 0.137343 | 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 |
22b35f38a21bc808cd8c1b9f28ec6f77d94092be | 170 | py | Python | py_types/static/example_parse_me.py | zekna/py-types | ec39da1277986f0ea44830dfb0da9d906deb13e1 | [
"MIT"
] | 5 | 2015-06-18T20:04:56.000Z | 2016-03-15T15:32:44.000Z | py_types/static/example_parse_me.py | sarlianna/py-types | ec39da1277986f0ea44830dfb0da9d906deb13e1 | [
"MIT"
] | 1 | 2016-01-19T01:39:54.000Z | 2016-01-27T19:17:31.000Z | py_types/static/example_parse_me.py | zekna/py-types | ec39da1277986f0ea44830dfb0da9d906deb13e1 | [
"MIT"
] | null | null | null | def int_identity(a: int) -> int:
return a
def main():
print(int_identity(5))
def what_even(a: int, b: str, c = 5) -> str:
def heh(a):
pass
pass
| 15.454545 | 44 | 0.552941 | 29 | 170 | 3.137931 | 0.517241 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.294118 | 170 | 10 | 45 | 17 | 0.741667 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.25 | 0 | 0.125 | 0.625 | 0.125 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
22b8fdc9add91859b4d086ed5dbbff2478984f91 | 23,027 | py | Python | tests/test_outcome.py | eriktews/canvasapi | 132146395ecf55227cae69dc4d5f6d94545172b9 | [
"MIT"
] | null | null | null | tests/test_outcome.py | eriktews/canvasapi | 132146395ecf55227cae69dc4d5f6d94545172b9 | [
"MIT"
] | null | null | null | tests/test_outcome.py | eriktews/canvasapi | 132146395ecf55227cae69dc4d5f6d94545172b9 | [
"MIT"
] | null | null | null | from __future__ import absolute_import, division, print_function, unicode_literals
import unittest
import requests_mock
import warnings
from canvasapi import Canvas
from canvasapi.outcome import Outcome, OutcomeGroup, OutcomeLink
from tests import settings
from tests.util import register_uris
@requests_mock.Mocker(... | 39.497427 | 88 | 0.621879 | 2,432 | 23,027 | 5.595395 | 0.039885 | 0.146384 | 0.131173 | 0.058201 | 0.900059 | 0.863683 | 0.816211 | 0.79027 | 0.776161 | 0.752572 | 0 | 0.009381 | 0.277848 | 23,027 | 582 | 89 | 39.565292 | 0.808948 | 0.010987 | 0 | 0.565489 | 0 | 0 | 0.135964 | 0.07097 | 0 | 0 | 0 | 0 | 0.359667 | 1 | 0.04158 | false | 0 | 0.04158 | 0 | 0.089397 | 0.002079 | 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 |
a3cec785d190e0d7a979408ce0b7e078560d1052 | 37,744 | py | Python | src/ralph/discovery/tests/plugins/test_aix.py | jjagodzinski/ralph | 000a22bcc934dc2051e7a09ab1e84bd1c25a9e73 | [
"Apache-2.0"
] | null | null | null | src/ralph/discovery/tests/plugins/test_aix.py | jjagodzinski/ralph | 000a22bcc934dc2051e7a09ab1e84bd1c25a9e73 | [
"Apache-2.0"
] | null | null | null | src/ralph/discovery/tests/plugins/test_aix.py | jjagodzinski/ralph | 000a22bcc934dc2051e7a09ab1e84bd1c25a9e73 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from django.test import TestCase
import mock
from ralph.discovery.plugins import ssh_aix
from ralph.discovery.models import (DeviceType, Device,... | 147.4375 | 4,704 | 0.580914 | 4,408 | 37,744 | 4.964383 | 0.134982 | 0.01572 | 0.127405 | 0.172371 | 0.701869 | 0.653475 | 0.653475 | 0.506146 | 0.363753 | 0.363753 | 0 | 0.230175 | 0.249285 | 37,744 | 255 | 4,705 | 148.015686 | 0.542121 | 0.000556 | 0 | 0 | 0 | 0.359184 | 0.832269 | 0.352165 | 0 | 0 | 0 | 0 | 0.044898 | 1 | 0.012245 | false | 0.004082 | 0.036735 | 0 | 0.053061 | 0.004082 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a3d7144b0006e599a08f279ad3cd2585407330c4 | 30 | py | Python | Chapter04/currency_converter/config/__init__.py | ariwells2001/Python-Programming-Blueprints | 23981ab304e65bcc24560393c75fd5ee85c96ce5 | [
"MIT"
] | 124 | 2019-09-30T13:20:05.000Z | 2022-03-31T07:53:25.000Z | Chapter04/currency_converter/config/__init__.py | ariwells2001/Python-Programming-Blueprints | 23981ab304e65bcc24560393c75fd5ee85c96ce5 | [
"MIT"
] | 20 | 2018-03-21T01:15:27.000Z | 2021-09-08T00:59:40.000Z | Chapter04/currency_converter/config/__init__.py | ariwells2001/Python-Programming-Blueprints | 23981ab304e65bcc24560393c75fd5ee85c96ce5 | [
"MIT"
] | 53 | 2017-12-19T09:19:42.000Z | 2022-03-06T02:21:10.000Z | from .config import get_config | 30 | 30 | 0.866667 | 5 | 30 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 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 |
433754090c3844c9dc167cbf90a7347545fe849e | 2,547 | py | Python | epytope/Data/pssms/smmpmbec/mat/A_33_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/A_33_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/A_33_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_33_01_10 = {0: {'A': 0.24, 'C': -0.073, 'E': -0.228, 'D': -0.363, 'G': 0.309, 'F': -0.4, 'I': -0.072, 'H': 0.025, 'K': 0.501, 'M': -0.417, 'L': 0.041, 'N': -0.171, 'Q': 0.066, 'P': 0.463, 'S': -0.041, 'R': 0.357, 'T': -0.004, 'W': -0.186, 'V': 0.152, 'Y': -0.2}, 1: {'A': 0.086, 'C': 0.252, 'E': 0.288, 'D': 0.492, 'G'... | 2,547 | 2,547 | 0.393797 | 618 | 2,547 | 1.618123 | 0.300971 | 0.02 | 0.008 | 0.01 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 0.373183 | 0.162544 | 2,547 | 1 | 2,547 | 2,547 | 0.09564 | 0 | 0 | 0 | 0 | 0 | 0.07967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a9596e7eb299ac4efacd79c53f8aea3b05d0046 | 39 | py | Python | deephyper/core/cli/__init__.py | Z223I/deephyper | 4fd1054dc22f15197567bdd93c6e7a95a614b8e2 | [
"BSD-3-Clause"
] | 2 | 2020-08-26T09:15:27.000Z | 2020-08-26T09:19:13.000Z | deephyper/core/cli/__init__.py | Z223I/deephyper | 4fd1054dc22f15197567bdd93c6e7a95a614b8e2 | [
"BSD-3-Clause"
] | null | null | null | deephyper/core/cli/__init__.py | Z223I/deephyper | 4fd1054dc22f15197567bdd93c6e7a95a614b8e2 | [
"BSD-3-Clause"
] | 1 | 2021-08-31T13:47:27.000Z | 2021-08-31T13:47:27.000Z | from deephyper.core.cli.cli import main | 39 | 39 | 0.846154 | 7 | 39 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 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 |
4aa59b0804a52fad52dc9390c45eba0e409ea6ce | 8,965 | py | Python | hydrostats/metrics.py | waderoberts123/hydroStats | 0c8dc43cd7066b57cb92c39015fed31dd74b82fd | [
"MIT"
] | 27 | 2018-12-06T03:54:58.000Z | 2022-01-31T13:47:21.000Z | hydrostats/metrics.py | waderoberts123/hydroStats | 0c8dc43cd7066b57cb92c39015fed31dd74b82fd | [
"MIT"
] | 6 | 2019-02-20T21:59:05.000Z | 2020-08-25T20:47:13.000Z | hydrostats/metrics.py | waderoberts123/hydroStats | 0c8dc43cd7066b57cb92c39015fed31dd74b82fd | [
"MIT"
] | 15 | 2019-03-05T23:11:43.000Z | 2021-12-14T23:44:52.000Z | # python 3.6
# -*- coding: utf-8 -*-
"""
The metrics module contains all of the metrics included in the HydroErr package. These metrics measure hydrologic skill.
Each metric is contained in function, and every metric has the ability to treat missing values as
well as remove zero and negative values from the timeseries ... | 57.467949 | 136 | 0.501394 | 946 | 8,965 | 4.372093 | 0.12685 | 0.111219 | 0.180851 | 0.088975 | 0.796663 | 0.791828 | 0.766441 | 0.766441 | 0.766441 | 0.766441 | 0 | 0.020047 | 0.43246 | 8,965 | 155 | 137 | 57.83871 | 0.792846 | 0.035471 | 0 | 0.677165 | 0 | 0 | 0.050706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007874 | false | 0.007874 | 0.015748 | 0 | 0.031496 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
43643ff1d7901059b1b8f4b11c362201bd452980 | 41 | py | Python | julian/__init__.py | dannyzed/julian | 7ca7e25afe2704f072b38f8e464bc4e7d4d7d0d7 | [
"MIT"
] | 7 | 2017-10-06T17:58:26.000Z | 2021-04-06T14:22:02.000Z | julian/__init__.py | dannyzed/julian | 7ca7e25afe2704f072b38f8e464bc4e7d4d7d0d7 | [
"MIT"
] | 6 | 2017-11-22T15:35:16.000Z | 2020-03-22T14:14:01.000Z | julian/__init__.py | dannyzed/julian | 7ca7e25afe2704f072b38f8e464bc4e7d4d7d0d7 | [
"MIT"
] | 6 | 2016-08-08T11:46:52.000Z | 2022-02-23T02:12:54.000Z | from julian.julian import to_jd, from_jd
| 20.5 | 40 | 0.829268 | 8 | 41 | 4 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
438b00ef3a7bcf723ec52f7de7a3df4c32fea217 | 16,835 | py | Python | model/attention.py | kenchan0226/control-sum-cmdp | 5181e8e0c9bf6bef48f66457e06d3f398f4a428a | [
"MIT"
] | 3 | 2021-08-10T02:31:24.000Z | 2021-12-28T09:34:01.000Z | model/attention.py | kenchan0226/control-sum-cmdp | 5181e8e0c9bf6bef48f66457e06d3f398f4a428a | [
"MIT"
] | null | null | null | model/attention.py | kenchan0226/control-sum-cmdp | 5181e8e0c9bf6bef48f66457e06d3f398f4a428a | [
"MIT"
] | 1 | 2021-12-02T15:53:22.000Z | 2021-12-02T15:53:22.000Z | import torch
import torch.nn as nn
import numpy as np
from utils.masked_softmax import MaskedSoftmax
class Attention(nn.Module):
def __init__(self, decoder_size, memory_bank_size, coverage_attn, attn_mode):
super(Attention, self).__init__()
# attention
if attn_mode == "concat":
... | 54.306452 | 166 | 0.674369 | 2,209 | 16,835 | 4.723857 | 0.056587 | 0.099185 | 0.108577 | 0.138189 | 0.906469 | 0.880019 | 0.874173 | 0.854145 | 0.851653 | 0.836895 | 0 | 0.00707 | 0.235402 | 16,835 | 309 | 167 | 54.482201 | 0.803605 | 0.25744 | 0 | 0.611111 | 0 | 0 | 0.005596 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0.041667 | false | 0 | 0.027778 | 0 | 0.111111 | 0.027778 | 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 |
43a2b7208fde6d1528c941b70d4d31c51be70e54 | 206 | py | Python | test/tests/test_dcp1/test_many_file_to_single_dir.py | sjtbham/mpifileutils | 4ec784108d066abe5060ebb197c1dba83e88bd7d | [
"BSD-3-Clause"
] | 97 | 2016-10-10T20:25:27.000Z | 2021-10-04T15:47:35.000Z | test/tests/test_dcp1/test_many_file_to_single_dir.py | sjtbham/mpifileutils | 4ec784108d066abe5060ebb197c1dba83e88bd7d | [
"BSD-3-Clause"
] | 389 | 2016-10-10T17:44:05.000Z | 2022-03-25T09:54:15.000Z | test/tests/test_dcp1/test_many_file_to_single_dir.py | sjtbham/mpifileutils | 4ec784108d066abe5060ebb197c1dba83e88bd7d | [
"BSD-3-Clause"
] | 39 | 2016-11-21T18:35:42.000Z | 2022-03-03T05:21:45.000Z | #!/usr/bin/env python2
from subprocess import call
def test_dcp1_many_file_to_single_dir():
rc = call("~/mpifileutils/test/legacy/dcp1_tests/test_dcp1_many_file_to_single_dir/test.sh", shell=True)
| 34.333333 | 112 | 0.786408 | 34 | 206 | 4.382353 | 0.676471 | 0.107383 | 0.161074 | 0.214765 | 0.362416 | 0.362416 | 0.362416 | 0 | 0 | 0 | 0 | 0.021622 | 0.101942 | 206 | 5 | 113 | 41.2 | 0.783784 | 0.101942 | 0 | 0 | 0 | 0 | 0.429348 | 0.429348 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
43ba596247b4452d7ea494cab81c7ce728b59a40 | 75 | py | Python | jacdac/temperature/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/temperature/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/temperature/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated file.
from .client import TemperatureClient # type: ignore
| 25 | 52 | 0.8 | 8 | 75 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 75 | 2 | 53 | 37.5 | 0.923077 | 0.426667 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
78e51142d3270f2a7eab5cd6ecef211696876441 | 47 | py | Python | FaceWarper/FaceWarperClient/__init__.py | dingyanna/DepthNets | a13b05e315b0732b6a28594b1343a6940bbab229 | [
"MIT"
] | 114 | 2018-11-27T19:34:13.000Z | 2022-03-26T19:39:00.000Z | FaceWarper/FaceWarperClient/__init__.py | dingyanna/DepthNets | a13b05e315b0732b6a28594b1343a6940bbab229 | [
"MIT"
] | 9 | 2018-12-11T09:05:22.000Z | 2021-07-02T21:27:34.000Z | FaceWarper/FaceWarperClient/__init__.py | kdh4672/Face_Recognition_With_Augmentation | b0795b97c94bbba1a1e3310670d0868f3eacb479 | [
"MIT"
] | 32 | 2018-12-03T00:52:54.000Z | 2021-08-30T01:45:31.000Z | from FaceWarperClient.FaceWarperClient import * | 47 | 47 | 0.893617 | 4 | 47 | 10.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6012354feaba6fcf16cf55e35f62eb4fdf448b72 | 34 | py | Python | src/blueprints/dashboard/__init__.py | g4-mobile/g4-mobile-api | 17c76202107ab4e363d042c0a13fb7804a2d880e | [
"MIT"
] | null | null | null | src/blueprints/dashboard/__init__.py | g4-mobile/g4-mobile-api | 17c76202107ab4e363d042c0a13fb7804a2d880e | [
"MIT"
] | 1 | 2022-03-28T03:11:47.000Z | 2022-03-28T04:15:53.000Z | src/blueprints/dashboard/__init__.py | g4-mobile/g4-mobile-api | 17c76202107ab4e363d042c0a13fb7804a2d880e | [
"MIT"
] | null | null | null | from .routes import dashboard_app
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 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 |
60249c272947edff6f7ddfa323172dcd2e577002 | 31 | py | Python | redismap/__init__.py | xiangning17/wheel | 188d1266745fab34822067ef66ae30b151965a1f | [
"Apache-2.0"
] | null | null | null | redismap/__init__.py | xiangning17/wheel | 188d1266745fab34822067ef66ae30b151965a1f | [
"Apache-2.0"
] | null | null | null | redismap/__init__.py | xiangning17/wheel | 188d1266745fab34822067ef66ae30b151965a1f | [
"Apache-2.0"
] | null | null | null | from .RedisMap import RedisMap
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
60783a8cd5737be065c7675c9e6e4ca222d3d6a4 | 27 | py | Python | test.py | yt1105260634/flask-2002 | ca3f253f9d9f9cf0bbb327f1615eb3871afb8a7f | [
"Apache-2.0"
] | null | null | null | test.py | yt1105260634/flask-2002 | ca3f253f9d9f9cf0bbb327f1615eb3871afb8a7f | [
"Apache-2.0"
] | null | null | null | test.py | yt1105260634/flask-2002 | ca3f253f9d9f9cf0bbb327f1615eb3871afb8a7f | [
"Apache-2.0"
] | null | null | null | def hello_world():
pass
| 6.75 | 18 | 0.666667 | 4 | 27 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 27 | 3 | 19 | 9 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
607ab0c005a2544e6f0dc228f405514beb39c143 | 42 | py | Python | datasets/kitti_utils/__init__.py | jie311/RangeDet | 5078ce339c6d27a009aed1ca2790911ce4d10bc7 | [
"Apache-2.0"
] | 125 | 2021-08-09T02:14:04.000Z | 2022-03-30T03:41:56.000Z | datasets/kitti_utils/__init__.py | jie311/RangeDet | 5078ce339c6d27a009aed1ca2790911ce4d10bc7 | [
"Apache-2.0"
] | 15 | 2021-08-31T06:12:31.000Z | 2022-03-17T00:21:35.000Z | datasets/kitti_utils/__init__.py | jie311/RangeDet | 5078ce339c6d27a009aed1ca2790911ce4d10bc7 | [
"Apache-2.0"
] | 8 | 2021-08-10T03:08:10.000Z | 2022-03-09T06:21:11.000Z | from .calibration_kitti import Calibration | 42 | 42 | 0.904762 | 5 | 42 | 7.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.948718 | 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 |
60809263e00154fc69d4f2a8e85d7cc8475fe06d | 316 | py | Python | saleor/product/models/__init__.py | bogdal/saleor | d401391d300bd77349c0348068e861792b1d920d | [
"BSD-3-Clause"
] | 1 | 2016-09-16T09:50:49.000Z | 2016-09-16T09:50:49.000Z | saleor/product/models/__init__.py | bogdal/saleor | d401391d300bd77349c0348068e861792b1d920d | [
"BSD-3-Clause"
] | null | null | null | saleor/product/models/__init__.py | bogdal/saleor | d401391d300bd77349c0348068e861792b1d920d | [
"BSD-3-Clause"
] | null | null | null | from .base import (AttributeChoiceValue, Category, Product, ProductAttribute,
ProductVariant, Stock)
from .images import ProductImage, VariantImage
__all__ = ['AttributeChoiceValue', 'Category', 'Product', 'ProductAttribute',
'ProductImage', 'ProductVariant', 'Stock', 'VariantImage']
| 45.142857 | 77 | 0.712025 | 23 | 316 | 9.608696 | 0.565217 | 0.253394 | 0.316742 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174051 | 316 | 6 | 78 | 52.666667 | 0.846743 | 0 | 0 | 0 | 0 | 0 | 0.297468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6080a7e08ffc2d1fc9ee8b2276dd79bb45a730b2 | 187 | py | Python | SegmentEditorWatershed/SegmentEditorWatershedLib/__init__.py | Sunderlandkyl/SlicerSegmentEditorExtraEffects | c79e58ddc2437e83d474cb9ca668be00f240f2b7 | [
"BSD-3-Clause"
] | 19 | 2017-04-08T19:00:56.000Z | 2022-03-15T09:41:38.000Z | SegmentEditorWatershed/SegmentEditorWatershedLib/__init__.py | Sunderlandkyl/SlicerSegmentEditorExtraEffects | c79e58ddc2437e83d474cb9ca668be00f240f2b7 | [
"BSD-3-Clause"
] | 38 | 2017-07-14T21:09:43.000Z | 2022-01-28T01:09:44.000Z | SegmentEditorWatershed/SegmentEditorWatershedLib/__init__.py | Sunderlandkyl/SlicerSegmentEditorExtraEffects | c79e58ddc2437e83d474cb9ca668be00f240f2b7 | [
"BSD-3-Clause"
] | 26 | 2017-07-05T17:54:12.000Z | 2022-01-03T08:41:05.000Z | from SegmentEditorEffects.AbstractScriptedSegmentEditorEffect import *
from SegmentEditorEffects.AbstractScriptedSegmentEditorLabelEffect import *
from SegmentEditorEffect import *
| 37.4 | 76 | 0.877005 | 11 | 187 | 14.909091 | 0.545455 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096257 | 187 | 4 | 77 | 46.75 | 0.970414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
609bbc1f704c58b850e475df0335327536bee78a | 2,202 | py | Python | test/unit/arguments/test_parser.py | jmgao/bfg9000 | 7ffb15aed8ea88ee454821e83aa8c42014ac8e34 | [
"BSD-3-Clause"
] | null | null | null | test/unit/arguments/test_parser.py | jmgao/bfg9000 | 7ffb15aed8ea88ee454821e83aa8c42014ac8e34 | [
"BSD-3-Clause"
] | null | null | null | test/unit/arguments/test_parser.py | jmgao/bfg9000 | 7ffb15aed8ea88ee454821e83aa8c42014ac8e34 | [
"BSD-3-Clause"
] | null | null | null | import mock
import unittest
from bfg9000 import path
from bfg9000.arguments import parser
class TestDirectory(unittest.TestCase):
def test_existent(self):
with mock.patch('bfg9000.path.exists', return_value=True), \
mock.patch('bfg9000.path.isdir', return_value=True): # noqa
sel... | 42.346154 | 76 | 0.621253 | 239 | 2,202 | 5.648536 | 0.150628 | 0.066667 | 0.118519 | 0.148148 | 0.91037 | 0.91037 | 0.91037 | 0.857778 | 0.782222 | 0.782222 | 0 | 0.028725 | 0.241144 | 2,202 | 51 | 77 | 43.176471 | 0.779174 | 0.008629 | 0 | 0.666667 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | false | 0 | 0.095238 | 0 | 0.285714 | 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 |
60ac104d1e3af900ba062ac2175e4c4d73c65f1e | 4,504 | py | Python | qqai/vision/ptu.py | DingJunyao/qqai | cc96106b131e4f492e61decea7d1577c653233ab | [
"MIT"
] | 71 | 2018-08-23T05:46:59.000Z | 2022-01-28T14:30:29.000Z | qqai/vision/ptu.py | DingJunyao/qqai | cc96106b131e4f492e61decea7d1577c653233ab | [
"MIT"
] | 2 | 2018-08-27T01:43:47.000Z | 2019-01-14T09:09:35.000Z | qqai/vision/ptu.py | DingJunyao/qqai | cc96106b131e4f492e61decea7d1577c653233ab | [
"MIT"
] | 17 | 2018-08-23T09:27:03.000Z | 2021-11-21T10:31:49.000Z | from qqai.classes import *
class FaceCosmetic(QQAIClass):
"""人脸美妆"""
api = 'https://api.ai.qq.com/fcgi-bin/ptu/ptu_facecosmetic'
def make_params(self, image_param, cosmetic):
"""获取调用接口的参数"""
params = {'app_id': self.app_id,
'time_stamp': int(time.time()),
... | 33.61194 | 66 | 0.563055 | 515 | 4,504 | 4.741748 | 0.124272 | 0.09828 | 0.058559 | 0.037265 | 0.818591 | 0.818591 | 0.725225 | 0.725225 | 0.714988 | 0.714988 | 0 | 0.003803 | 0.299512 | 4,504 | 133 | 67 | 33.864662 | 0.770206 | 0.023757 | 0 | 0.62 | 0 | 0 | 0.139922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12 | false | 0 | 0.01 | 0 | 0.39 | 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 |
60b62cf2d6c2d4f4b8b9d2f993f8eeefc02845ba | 220 | py | Python | layers/fetch/tests/util.py | AnthonyEdvalson/Machina | fefb058591dd7b62817c75277d5ca0eb6dbd8c3a | [
"MIT"
] | null | null | null | layers/fetch/tests/util.py | AnthonyEdvalson/Machina | fefb058591dd7b62817c75277d5ca0eb6dbd8c3a | [
"MIT"
] | null | null | null | layers/fetch/tests/util.py | AnthonyEdvalson/Machina | fefb058591dd7b62817c75277d5ca0eb6dbd8c3a | [
"MIT"
] | null | null | null | from limiters.limited_limiter import UnlimitedLimiter
from managers.http_manager import HttpManager
from source import Source
def get_fake_source():
return Source("source1", UnlimitedLimiter(), HttpManager()) | 31.428571 | 63 | 0.8 | 25 | 220 | 6.88 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005236 | 0.131818 | 220 | 7 | 63 | 31.428571 | 0.895288 | 0 | 0 | 0 | 0 | 0 | 0.032558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.6 | 0.2 | 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 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
60cb91ad76998359cc1d3228381483cba56a0822 | 18,115 | py | Python | src/transformers/models/layoutlmv2/feature_extraction_layoutlmv2.py | cydal/transformers | ce934eba82ecf7133a554f3857070542508ff2a2 | [
"Apache-2.0"
] | null | null | null | src/transformers/models/layoutlmv2/feature_extraction_layoutlmv2.py | cydal/transformers | ce934eba82ecf7133a554f3857070542508ff2a2 | [
"Apache-2.0"
] | null | null | null | src/transformers/models/layoutlmv2/feature_extraction_layoutlmv2.py | cydal/transformers | ce934eba82ecf7133a554f3857070542508ff2a2 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# Copyright 2021 The HuggingFace Inc. team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | 46.094148 | 166 | 0.628098 | 2,269 | 18,115 | 4.913178 | 0.150286 | 0.023323 | 0.015788 | 0.015339 | 0.81925 | 0.807409 | 0.785791 | 0.780768 | 0.780768 | 0.780768 | 0 | 0.006415 | 0.259895 | 18,115 | 392 | 167 | 46.211735 | 0.825091 | 0.510295 | 0 | 0.538012 | 0 | 0.023392 | 0.10272 | 0.012421 | 0 | 0 | 0 | 0 | 0.011696 | 1 | 0.040936 | false | 0 | 0.064327 | 0.005848 | 0.157895 | 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 |
8801232b91c7e2d3b347e558167a22da21147b15 | 16,929 | py | Python | Evaluator.py | liran121211/Dataset_Classifier | ddccf1328968eec212f6598523397a659219516d | [
"Unlicense"
] | null | null | null | Evaluator.py | liran121211/Dataset_Classifier | ddccf1328968eec212f6598523397a659219516d | [
"Unlicense"
] | null | null | null | Evaluator.py | liran121211/Dataset_Classifier | ddccf1328968eec212f6598523397a659219516d | [
"Unlicense"
] | null | null | null | import pandas as pd
from seaborn import heatmap
from matplotlib import pyplot as plt
from Preprocessing import categoricalToNumeric, validator
from sklearn.metrics import precision_score, recall_score, f1_score, accuracy_score
def confusionMatrix(y_test, y_prediction, visual=False, textual=False):
"""
... | 46.765193 | 121 | 0.690649 | 2,268 | 16,929 | 4.92328 | 0.075397 | 0.140874 | 0.073975 | 0.060451 | 0.857603 | 0.818646 | 0.783987 | 0.776196 | 0.758284 | 0.739298 | 0 | 0.005142 | 0.207396 | 16,929 | 361 | 122 | 46.894737 | 0.824117 | 0.257723 | 0 | 0.64455 | 0 | 0 | 0.066593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056872 | false | 0 | 0.023697 | 0 | 0.123223 | 0.109005 | 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 |
71668c855a86726d0ccbdb1052a0491be6ad8d3b | 41 | py | Python | outbreak/__init__.py | franksh/outbreak-detection | a4d751a77a5bded0e13311ca30eb8c5f39a76a44 | [
"MIT"
] | 1 | 2022-02-07T23:12:11.000Z | 2022-02-07T23:12:11.000Z | outbreak/__init__.py | franksh/outbreak-detection | a4d751a77a5bded0e13311ca30eb8c5f39a76a44 | [
"MIT"
] | null | null | null | outbreak/__init__.py | franksh/outbreak-detection | a4d751a77a5bded0e13311ca30eb8c5f39a76a44 | [
"MIT"
] | null | null | null | from outbreak.inference import Inference
| 20.5 | 40 | 0.878049 | 5 | 41 | 7.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 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 |
717c13d113a05c5150768692ef6526cc2ce27817 | 269 | bzl | Python | tensorflow/stream_executor/build_defs.bzl | mickyLing/tensorflow | 170d8a86c72a1b4f025d53c3df2992b954effbbd | [
"Apache-2.0"
] | 3 | 2021-01-19T20:24:09.000Z | 2021-01-19T21:40:05.000Z | tensorflow/stream_executor/build_defs.bzl | sumatrae/tensorflow | bba3f6a4e733dfd5865dfb14943624c13a7ba9fd | [
"Apache-2.0"
] | 1 | 2019-07-27T16:45:02.000Z | 2019-07-27T16:45:02.000Z | tensorflow/stream_executor/build_defs.bzl | sumatrae/tensorflow | bba3f6a4e733dfd5865dfb14943624c13a7ba9fd | [
"Apache-2.0"
] | 2 | 2018-12-20T17:53:37.000Z | 2018-12-27T18:49:13.000Z | def stream_executor_friends():
return ["//tensorflow/..."]
def tf_additional_cuda_platform_deps():
return []
# Use dynamic loading, therefore should be empty.
def tf_additional_cuda_driver_deps():
return []
def tf_additional_cudnn_plugin_deps():
return []
| 20.692308 | 49 | 0.747212 | 34 | 269 | 5.5 | 0.617647 | 0.080214 | 0.240642 | 0.203209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137546 | 269 | 12 | 50 | 22.416667 | 0.806034 | 0.174721 | 0 | 0.375 | 0 | 0 | 0.072727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
719612dc71128fcc7455f9c9351a7c786f8e1d37 | 262 | py | Python | server/src/weaverbird/pipeline/steps/domain.py | ToucanToco/vue-query-builder | e09e9b76c72628041dc82ab82145420738869a20 | [
"BSD-3-Clause"
] | 4 | 2019-03-01T11:26:12.000Z | 2019-04-23T16:48:52.000Z | server/src/weaverbird/pipeline/steps/domain.py | ToucanToco/vue-query-builder | e09e9b76c72628041dc82ab82145420738869a20 | [
"BSD-3-Clause"
] | 279 | 2019-02-15T10:54:22.000Z | 2019-10-19T19:41:48.000Z | server/src/weaverbird/pipeline/steps/domain.py | ToucanToco/vue-query-builder | e09e9b76c72628041dc82ab82145420738869a20 | [
"BSD-3-Clause"
] | 1 | 2019-05-28T18:44:15.000Z | 2019-05-28T18:44:15.000Z | from typing import Literal, Union
from weaverbird.pipeline.steps.utils.base import BaseStep
from weaverbird.pipeline.steps.utils.combination import Reference
class DomainStep(BaseStep):
name: Literal['domain'] = 'domain'
domain: Union[str, Reference]
| 26.2 | 65 | 0.782443 | 32 | 262 | 6.40625 | 0.5625 | 0.136585 | 0.214634 | 0.263415 | 0.312195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125954 | 262 | 9 | 66 | 29.111111 | 0.895197 | 0 | 0 | 0 | 0 | 0 | 0.045802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
71c0f71ee93624dfa51aa992b43878ffc757cb0b | 173 | py | Python | tests/watson/events/support.py | watsonpy/watson-events | 13a37d8a810dc8cb6619a9ae4476c4872f16e877 | [
"BSD-3-Clause"
] | null | null | null | tests/watson/events/support.py | watsonpy/watson-events | 13a37d8a810dc8cb6619a9ae4476c4872f16e877 | [
"BSD-3-Clause"
] | null | null | null | tests/watson/events/support.py | watsonpy/watson-events | 13a37d8a810dc8cb6619a9ae4476c4872f16e877 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Support functions, classes
from watson.events.dispatcher import EventDispatcherAware
class SampleDispatcherAware(EventDispatcherAware):
pass
| 21.625 | 57 | 0.780347 | 16 | 173 | 8.4375 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.127168 | 173 | 7 | 58 | 24.714286 | 0.887417 | 0.277457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
71c262f85278ba3ef04da0e506514cef87f0b174 | 18,050 | py | Python | tests/unittests/test_organisation.py | ZPascal/grafana_api_sdk | 97c347790200e8e9a2aafd47e322297aa97b964c | [
"Apache-2.0"
] | 2 | 2022-02-01T20:18:48.000Z | 2022-02-02T01:22:14.000Z | tests/unittests/test_organisation.py | ZPascal/grafana_api_sdk | 97c347790200e8e9a2aafd47e322297aa97b964c | [
"Apache-2.0"
] | 5 | 2022-01-12T06:55:54.000Z | 2022-03-26T13:35:50.000Z | tests/unittests/test_organisation.py | ZPascal/grafana_api_sdk | 97c347790200e8e9a2aafd47e322297aa97b964c | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
from unittest.mock import MagicMock, Mock, patch
from src.grafana_api.model import APIModel
from src.grafana_api.organisation import Organisation, OrganisationAdmin
class OrganisationTestCase(TestCase):
model: APIModel = APIModel(host=MagicMock(), token=MagicMock())
organisation... | 35.322896 | 88 | 0.68687 | 2,405 | 18,050 | 4.775468 | 0.029522 | 0.130953 | 0.122769 | 0.114584 | 0.965433 | 0.963256 | 0.954898 | 0.954375 | 0.953592 | 0.953243 | 0 | 0.004813 | 0.205762 | 18,050 | 510 | 89 | 35.392157 | 0.796317 | 0 | 0 | 0.64011 | 0 | 0 | 0.119945 | 0.09374 | 0 | 0 | 0 | 0 | 0.129121 | 1 | 0.129121 | false | 0.002747 | 0.010989 | 0 | 0.156593 | 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 |
71d992b7a9f2be0c617ffeef297e9d3868d8418c | 26 | py | Python | hi.py | cz0/circleci-demo-javascript-express | 3e23c05ba67348ad06b60dc57de28b4afd84f5f0 | [
"MIT"
] | null | null | null | hi.py | cz0/circleci-demo-javascript-express | 3e23c05ba67348ad06b60dc57de28b4afd84f5f0 | [
"MIT"
] | null | null | null | hi.py | cz0/circleci-demo-javascript-express | 3e23c05ba67348ad06b60dc57de28b4afd84f5f0 | [
"MIT"
] | null | null | null | print("Hi python world!")
| 13 | 25 | 0.692308 | 4 | 26 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e080bd2b04a609ac99453d38b0888f593fbcdc1b | 156 | py | Python | Blog_API/admin.py | pawel-zielinski/Blog_Project | 2cef9ed1a5d2d4128f7368c9843f5e6d1b3ef1a0 | [
"MIT"
] | null | null | null | Blog_API/admin.py | pawel-zielinski/Blog_Project | 2cef9ed1a5d2d4128f7368c9843f5e6d1b3ef1a0 | [
"MIT"
] | null | null | null | Blog_API/admin.py | pawel-zielinski/Blog_Project | 2cef9ed1a5d2d4128f7368c9843f5e6d1b3ef1a0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Blog, Like, Comment
admin.site.register(Blog)
admin.site.register(Like)
admin.site.register(Comment)
| 19.5 | 39 | 0.801282 | 23 | 156 | 5.434783 | 0.478261 | 0.216 | 0.408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 156 | 7 | 40 | 22.285714 | 0.886525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 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 |
e0aeea29cda7608d703ba4658fb415589a1abe29 | 199 | py | Python | pelican/plugins/webassets_babeljsx/__init__.py | rhooper/pelican-webassets-babeljsx | 39fd2fb286f7bfa12c04785dddac84e935a8a5da | [
"MIT"
] | null | null | null | pelican/plugins/webassets_babeljsx/__init__.py | rhooper/pelican-webassets-babeljsx | 39fd2fb286f7bfa12c04785dddac84e935a8a5da | [
"MIT"
] | null | null | null | pelican/plugins/webassets_babeljsx/__init__.py | rhooper/pelican-webassets-babeljsx | 39fd2fb286f7bfa12c04785dddac84e935a8a5da | [
"MIT"
] | null | null | null | """
Simple plugin that registers the BabelJSX filter with Jinja2
"""
from dukpy.webassets import BabelJSX
from webassets.filter import register_filter
def register():
register_filter(BabelJSX)
| 19.9 | 60 | 0.79397 | 25 | 199 | 6.24 | 0.6 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.140704 | 199 | 9 | 61 | 22.111111 | 0.906433 | 0.301508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0e03d9e0efdf67395988771147db48ef786eacb | 60 | py | Python | Playground3/src/playground/common/io/__init__.py | kandarpck/networksecurity2018 | dafe2ee8d39bd9596b1ce3fbc8b50ca645bcd626 | [
"MIT"
] | 3 | 2018-10-25T16:03:53.000Z | 2019-06-13T15:24:41.000Z | Playground3/src/playground/common/io/__init__.py | kandarpck/networksecurity2018 | dafe2ee8d39bd9596b1ce3fbc8b50ca645bcd626 | [
"MIT"
] | null | null | null | Playground3/src/playground/common/io/__init__.py | kandarpck/networksecurity2018 | dafe2ee8d39bd9596b1ce3fbc8b50ca645bcd626 | [
"MIT"
] | null | null | null | from .HighPerformanceStreamIO import HighPerformanceStreamIO | 60 | 60 | 0.933333 | 4 | 60 | 14 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 60 | 1 | 60 | 60 | 0.982456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0fbe63cc4e235e31c31f262e3f27582d65a93f0 | 233 | py | Python | src/api_insee/criteria/list.py | mxdev88/api_insee | 383143b9c8e63063a889b7797e989dac9fd0de5b | [
"MIT"
] | 9 | 2020-06-04T21:36:56.000Z | 2022-01-18T16:51:48.000Z | src/api_insee/criteria/list.py | mxdev88/api_insee | 383143b9c8e63063a889b7797e989dac9fd0de5b | [
"MIT"
] | 5 | 2020-06-04T21:34:49.000Z | 2022-03-14T17:58:03.000Z | src/api_insee/criteria/list.py | ln-nicolas/api_insee | 383143b9c8e63063a889b7797e989dac9fd0de5b | [
"MIT"
] | 3 | 2020-07-04T18:53:30.000Z | 2021-02-04T13:20:03.000Z | from .base import Base
class List(Base):
def __init__(self, *criteria, **kwargs):
self.criteria_list = criteria
def toURLParams(self):
return ' AND '.join([ ct.toURLParams() for ct in self.criteria_list ])
| 23.3 | 78 | 0.656652 | 30 | 233 | 4.9 | 0.566667 | 0.244898 | 0.217687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223176 | 233 | 9 | 79 | 25.888889 | 0.812155 | 0 | 0 | 0 | 0 | 0 | 0.021459 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
460c18a8534261da8a51a028fc3779056a9625d0 | 72 | py | Python | src/algoandds/linkedlist/__init__.py | vcenteio/algorithms-and-data-structures | 34e2f295f0af736037d6ff5bef7c9e8f2ad95569 | [
"MIT"
] | 1 | 2022-01-06T13:23:09.000Z | 2022-01-06T13:23:09.000Z | src/algoandds/linkedlist/__init__.py | vcenteio/algorithms-and-data-structures | 34e2f295f0af736037d6ff5bef7c9e8f2ad95569 | [
"MIT"
] | 11 | 2022-01-18T10:54:37.000Z | 2022-01-31T22:21:44.000Z | src/algoandds/linkedlist/__init__.py | vcenteio/algorithms-and-data-structures | 34e2f295f0af736037d6ff5bef7c9e8f2ad95569 | [
"MIT"
] | null | null | null | from .linkedlist import LinkedList
from .linkedlist import INode, Node
| 24 | 35 | 0.819444 | 10 | 72 | 6 | 0.6 | 0.466667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 72 | 2 | 36 | 36 | 0.936508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1ca7f4534d7d76d93c7df10a99705625c0c73f0b | 77 | py | Python | RGBLEDMatrixDriver/funcs/music_visualizer/__init__.py | sanje2v/RGBLEDMatrixDriver | 81a7c108967413af32f8986a5a05e43498d29c00 | [
"CNRI-Python"
] | null | null | null | RGBLEDMatrixDriver/funcs/music_visualizer/__init__.py | sanje2v/RGBLEDMatrixDriver | 81a7c108967413af32f8986a5a05e43498d29c00 | [
"CNRI-Python"
] | 6 | 2021-03-21T06:02:49.000Z | 2022-03-06T06:14:38.000Z | RGBLEDMatrixDriver/funcs/music_visualizer/__init__.py | sanje2v/RGBLEDMatrixDriver | 81a7c108967413af32f8986a5a05e43498d29c00 | [
"CNRI-Python"
] | null | null | null | from .music_visualizer import music_visualizer
from .settings import settings | 38.5 | 46 | 0.883117 | 10 | 77 | 6.6 | 0.5 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 77 | 2 | 47 | 38.5 | 0.942857 | 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 |
1cc764e37d34c7244e49a6af063ff87045561129 | 26 | py | Python | Filters/correlate_sparse.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | Filters/correlate_sparse.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | Filters/correlate_sparse.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | # 计算padded_array与内核的有效互相关。 | 26 | 26 | 0.884615 | 2 | 26 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 26 | 1 | 26 | 26 | 0.88 | 0.923077 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1cdc2bfe7280ad0e041f7be7c104d3f7fe65a89f | 221 | py | Python | whois_parser/__init__.py | ninoseki/whois-parser | 13739665ee6ff57269a0208495c5ab600afadaa9 | [
"MIT"
] | 2 | 2021-05-30T11:59:28.000Z | 2021-06-05T16:48:17.000Z | whois_parser/__init__.py | ninoseki/whois-parser | 13739665ee6ff57269a0208495c5ab600afadaa9 | [
"MIT"
] | 7 | 2021-10-06T19:52:15.000Z | 2022-02-05T00:41:35.000Z | whois_parser/__init__.py | ninoseki/whois-parser | 13739665ee6ff57269a0208495c5ab600afadaa9 | [
"MIT"
] | null | null | null | try:
import importlib.metadata as importlib_metadata
except ModuleNotFoundError:
import importlib_metadata
from whois_parser.parser import WhoisParser # noqa
__version__ = importlib_metadata.version(__name__)
| 22.1 | 51 | 0.823529 | 24 | 221 | 7.083333 | 0.583333 | 0.4 | 0.270588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135747 | 221 | 9 | 52 | 24.555556 | 0.890052 | 0.0181 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1cf5f5dc1091cf2926f9b2ad2309099e577bf170 | 1,843 | py | Python | singer/models.py | Yi-Zhen/singer_db | 548450cbeb356fa356652ca4e890d271dbce094c | [
"MIT"
] | null | null | null | singer/models.py | Yi-Zhen/singer_db | 548450cbeb356fa356652ca4e890d271dbce094c | [
"MIT"
] | null | null | null | singer/models.py | Yi-Zhen/singer_db | 548450cbeb356fa356652ca4e890d271dbce094c | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Style(models.Model):
SID = models.AutoField(primary_key = True)
SName = models.CharField(max_length = 100)
def __str__(self):
return self.SName
class Song(models.Model):
SID = models.AutoField(primary_key = True)
SName = models.CharField(max_length... | 32.910714 | 52 | 0.762887 | 243 | 1,843 | 5.580247 | 0.209877 | 0.232301 | 0.278761 | 0.371681 | 0.823009 | 0.639381 | 0.612094 | 0.582596 | 0.582596 | 0.582596 | 0 | 0.039301 | 0.130222 | 1,843 | 55 | 53 | 33.509091 | 0.806613 | 0.013022 | 0 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104167 | false | 0 | 0.020833 | 0.104167 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e814398ce140fa913b433e66cc9078f96968cba2 | 35 | py | Python | discoverpagination/__init__.py | wharton/DiscoverPagination | 50f034f689581804d091c91afc6de74ba517fd4a | [
"MIT"
] | 1 | 2021-06-07T20:54:36.000Z | 2021-06-07T20:54:36.000Z | discoverpagination/__init__.py | wharton/DiscoverPagination | 50f034f689581804d091c91afc6de74ba517fd4a | [
"MIT"
] | null | null | null | discoverpagination/__init__.py | wharton/DiscoverPagination | 50f034f689581804d091c91afc6de74ba517fd4a | [
"MIT"
] | 1 | 2021-06-19T04:30:22.000Z | 2021-06-19T04:30:22.000Z | from .paginateddocument import *
| 8.75 | 32 | 0.771429 | 3 | 35 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 3 | 33 | 11.666667 | 0.931034 | 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 |
e82f7514ca422c333bd5266787de97b41f30272f | 64 | py | Python | site/public/courses/SPD-2.31/exercises/unit-testing/tests/test_extract_position.py | KitsuneNoctus/makeschool | 5eec1a18146abf70bb78b4ee3d301f6a43c9ede4 | [
"MIT"
] | 1 | 2021-08-24T20:22:19.000Z | 2021-08-24T20:22:19.000Z | site/public/courses/SPD-2.31/exercises/unit-testing/tests/test_extract_position.py | KitsuneNoctus/makeschool | 5eec1a18146abf70bb78b4ee3d301f6a43c9ede4 | [
"MIT"
] | null | null | null | site/public/courses/SPD-2.31/exercises/unit-testing/tests/test_extract_position.py | KitsuneNoctus/makeschool | 5eec1a18146abf70bb78b4ee3d301f6a43c9ede4 | [
"MIT"
] | null | null | null | import pytest
from ..extract_position import extract_position
| 21.333333 | 48 | 0.84375 | 8 | 64 | 6.5 | 0.625 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 2 | 49 | 32 | 0.928571 | 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 |
1c001829596b32d7e77a05a46c8c81208c329566 | 5,688 | py | Python | xnmt/transducers/positional.py | neulab/xnmt | d93f8f3710f986f36eb54e9ff3976a6b683da2a4 | [
"Apache-2.0"
] | 195 | 2017-05-27T11:23:40.000Z | 2021-09-28T06:03:24.000Z | xnmt/transducers/positional.py | neulab/xnmt | d93f8f3710f986f36eb54e9ff3976a6b683da2a4 | [
"Apache-2.0"
] | 386 | 2017-05-25T23:22:19.000Z | 2020-05-03T13:57:28.000Z | xnmt/transducers/positional.py | neulab/xnmt | d93f8f3710f986f36eb54e9ff3976a6b683da2a4 | [
"Apache-2.0"
] | 53 | 2017-05-23T17:45:18.000Z | 2021-04-18T12:36:37.000Z | from typing import List
import numbers
import xnmt
import xnmt.tensor_tools as tt
from xnmt import events, expression_seqs, param_collections, param_initializers
from xnmt.transducers import base as transducers
from xnmt.persistence import serializable_init, Serializable, bare, Ref
if xnmt.backend_dynet:
import dyn... | 43.419847 | 148 | 0.72064 | 731 | 5,688 | 5.415869 | 0.228454 | 0.024249 | 0.018186 | 0.021217 | 0.741601 | 0.737055 | 0.737055 | 0.737055 | 0.737055 | 0.710786 | 0 | 0.00409 | 0.183193 | 5,688 | 130 | 149 | 43.753846 | 0.848041 | 0.195148 | 0 | 0.6875 | 0 | 0 | 0.07817 | 0.032423 | 0 | 0 | 0 | 0.015385 | 0 | 1 | 0.083333 | false | 0 | 0.104167 | 0.020833 | 0.270833 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c126562cd64312851d8b3487f3524b5e1d3bf09 | 4,432 | py | Python | IntelliTable/main/forms.py | AllStars101-sudo/Intellitable | 6901dbb9a74c04d89c7ed074f50c0128daac7211 | [
"Apache-2.0"
] | null | null | null | IntelliTable/main/forms.py | AllStars101-sudo/Intellitable | 6901dbb9a74c04d89c7ed074f50c0128daac7211 | [
"Apache-2.0"
] | null | null | null | IntelliTable/main/forms.py | AllStars101-sudo/Intellitable | 6901dbb9a74c04d89c7ed074f50c0128daac7211 | [
"Apache-2.0"
] | null | null | null | from django import forms
from django.contrib.auth.forms import UserCreationForm
from django.contrib.auth.models import User
class NewUserForm(UserCreationForm):
email = forms.EmailField(required=True)
class Meta:
model = User
fields = ("username", "email", "password1", "password2")
... | 86.901961 | 132 | 0.732626 | 548 | 4,432 | 5.822993 | 0.155109 | 0.103416 | 0.156691 | 0.180194 | 0.756816 | 0.756816 | 0.756816 | 0.756816 | 0.756816 | 0.756816 | 0 | 0.04806 | 0.098601 | 4,432 | 51 | 133 | 86.901961 | 0.750688 | 0 | 0 | 0 | 0 | 0 | 0.125713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022222 | false | 0.022222 | 0.066667 | 0 | 0.866667 | 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 |
1c41896d23db8966b5ca3fc9304f280ab04c2298 | 126 | py | Python | pychatwork/api/model/Account.py | a-yasui/pyChatWork | 5a4d60d8927ee288bdaafe86d09c6c5065bebccb | [
"MIT"
] | null | null | null | pychatwork/api/model/Account.py | a-yasui/pyChatWork | 5a4d60d8927ee288bdaafe86d09c6c5065bebccb | [
"MIT"
] | null | null | null | pychatwork/api/model/Account.py | a-yasui/pyChatWork | 5a4d60d8927ee288bdaafe86d09c6c5065bebccb | [
"MIT"
] | null | null | null | # coding: utf-8
from . import Model
class Account (Model):
def __init__(self, data):
Model.__init__(self, data)
| 15.75 | 34 | 0.650794 | 17 | 126 | 4.352941 | 0.705882 | 0.216216 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.230159 | 126 | 7 | 35 | 18 | 0.752577 | 0.103175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
98ca9b4864e8bd8683374a8113c915103c7ea60b | 16,831 | py | Python | templates/account/test_account.py | 5l1v3r1/0-templates | a7c3b6bd1d3faba610caa7240ea4ded3784db555 | [
"Apache-2.0"
] | 1 | 2019-01-20T17:51:47.000Z | 2019-01-20T17:51:47.000Z | templates/account/test_account.py | 5l1v3r1/0-templates | a7c3b6bd1d3faba610caa7240ea4ded3784db555 | [
"Apache-2.0"
] | 118 | 2018-01-31T12:17:05.000Z | 2018-06-19T07:20:00.000Z | templates/account/test_account.py | openvcloud/0-templates | a7c3b6bd1d3faba610caa7240ea4ded3784db555 | [
"Apache-2.0"
] | 5 | 2018-03-14T11:28:03.000Z | 2020-03-15T13:34:46.000Z | from js9 import j
import os
from unittest import TestCase
from unittest import mock
from unittest.mock import MagicMock, patch
from zerorobot import config, template_collection
from zerorobot.template.state import StateCheckError
from zerorobot.service_collection import ServiceNotFoundError
class TestAccount(TestCas... | 37.822472 | 90 | 0.57002 | 1,815 | 16,831 | 5.12011 | 0.087052 | 0.036156 | 0.051221 | 0.043904 | 0.8133 | 0.79576 | 0.777036 | 0.74583 | 0.73055 | 0.714947 | 0 | 0.001451 | 0.303725 | 16,831 | 444 | 91 | 37.907658 | 0.791535 | 0.040936 | 0 | 0.64759 | 0 | 0 | 0.114102 | 0.003089 | 0 | 0 | 0 | 0 | 0.099398 | 1 | 0.075301 | false | 0 | 0.024096 | 0 | 0.111446 | 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 |
98e549309bfbdda9341d081acc435fca1a1cd60b | 15,407 | py | Python | test/terra/backends/aer_simulator/test_control_flow.py | t-imamichi/qiskit-aer | 61b028b7ccd1d6e96c8de48a10648c0bc3c07ff9 | [
"Apache-2.0"
] | 313 | 2018-12-19T09:19:12.000Z | 2022-03-21T18:15:41.000Z | test/terra/backends/aer_simulator/test_control_flow.py | t-imamichi/qiskit-aer | 61b028b7ccd1d6e96c8de48a10648c0bc3c07ff9 | [
"Apache-2.0"
] | 933 | 2018-12-21T02:56:49.000Z | 2022-03-30T01:19:54.000Z | test/terra/backends/aer_simulator/test_control_flow.py | chriseclectic/qiskit-aer | 61b028b7ccd1d6e96c8de48a10648c0bc3c07ff9 | [
"Apache-2.0"
] | 313 | 2018-12-19T14:52:55.000Z | 2022-02-28T20:20:14.000Z | # This code is part of Qiskit.
#
# (C) Copyright IBM 2018, 2021.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or derivat... | 31.378819 | 92 | 0.57396 | 1,923 | 15,407 | 4.483099 | 0.109204 | 0.043382 | 0.026795 | 0.036539 | 0.797355 | 0.762557 | 0.750841 | 0.739705 | 0.716158 | 0.693887 | 0 | 0.026565 | 0.308561 | 15,407 | 490 | 93 | 31.442857 | 0.78269 | 0.099435 | 0 | 0.75 | 0 | 0 | 0.056271 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 1 | 0.051829 | false | 0.003049 | 0.033537 | 0 | 0.094512 | 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 |
c706f9442925ff919f5ead3ac5b4ba9a770737f2 | 13,224 | py | Python | api_app/tests_ma/test_api/test_routes/test_api_access.py | gauravagrwal/AzureTRE | f3cb1e40e4926f8b196add807b05abec46bb36fc | [
"MIT"
] | 71 | 2021-03-04T15:10:18.000Z | 2022-03-29T16:37:37.000Z | api_app/tests_ma/test_api/test_routes/test_api_access.py | gauravagrwal/AzureTRE | f3cb1e40e4926f8b196add807b05abec46bb36fc | [
"MIT"
] | 1,498 | 2021-03-05T07:28:00.000Z | 2022-03-31T16:28:06.000Z | api_app/tests_ma/test_api/test_routes/test_api_access.py | gauravagrwal/AzureTRE | f3cb1e40e4926f8b196add807b05abec46bb36fc | [
"MIT"
] | 60 | 2021-04-30T10:09:26.000Z | 2022-03-30T12:39:27.000Z | import pytest
from mock import patch
from fastapi import status
from models.domain.user_resource import UserResource
from models.domain.workspace import Workspace
from models.domain.workspace_service import WorkspaceService
from resources import strings
pytestmark = pytest.mark.asyncio
WORKSPACE_ID = '933ad738-7... | 60.66055 | 194 | 0.778358 | 1,699 | 13,224 | 5.645674 | 0.073573 | 0.061301 | 0.056297 | 0.027106 | 0.867494 | 0.855609 | 0.840492 | 0.822248 | 0.821309 | 0.796706 | 0 | 0.017895 | 0.133696 | 13,224 | 217 | 195 | 60.940092 | 0.819396 | 0.098079 | 0 | 0.465753 | 0 | 0 | 0.165252 | 0.143913 | 0 | 0 | 0 | 0 | 0.136986 | 1 | 0.061644 | false | 0 | 0.054795 | 0.020548 | 0.178082 | 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 |
c726eaa0e717a2ce9e2409e19071eff7c2b088e9 | 29,332 | py | Python | pybind/slxos/v16r_1_00b/brocade_mpls_rpc/show_mpls_ldp_fec_prefix_prefix_longer/output/ldp_fec_prefix_prefix_longer_rec_list/ldp_fec_prefix_upstream_rec_list/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/brocade_mpls_rpc/show_mpls_ldp_fec_prefix_prefix_longer/output/ldp_fec_prefix_prefix_longer_rec_list/ldp_fec_prefix_upstream_rec_list/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/brocade_mpls_rpc/show_mpls_ldp_fec_prefix_prefix_longer/output/ldp_fec_prefix_prefix_longer_rec_list/ldp_fec_prefix_upstream_rec_list/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 80.142077 | 599 | 0.759307 | 4,677 | 29,332 | 4.389566 | 0.044045 | 0.073064 | 0.146128 | 0.045202 | 0.91622 | 0.901851 | 0.879152 | 0.870093 | 0.838675 | 0.831028 | 0 | 0.027689 | 0.106096 | 29,332 | 365 | 600 | 80.361644 | 0.755301 | 0.211203 | 0 | 0.45283 | 0 | 0.061321 | 0.379233 | 0.273991 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113208 | false | 0 | 0.037736 | 0 | 0.268868 | 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 |
c727f244cc05da5995f4d68c2f0e64e1de1576c8 | 145 | py | Python | lib/exception/token_exception.py | chaosotter/python-basic | 47028c730fb85a20a34a6d83843fad5b2c5c5a1a | [
"MIT"
] | null | null | null | lib/exception/token_exception.py | chaosotter/python-basic | 47028c730fb85a20a34a6d83843fad5b2c5c5a1a | [
"MIT"
] | null | null | null | lib/exception/token_exception.py | chaosotter/python-basic | 47028c730fb85a20a34a6d83843fad5b2c5c5a1a | [
"MIT"
] | null | null | null | class TokenException(Exception):
"""Base class for all exceptions generated by tokenization."""
def __init__(self, *args):
pass
| 24.166667 | 66 | 0.682759 | 16 | 145 | 5.9375 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213793 | 145 | 5 | 67 | 29 | 0.833333 | 0.386207 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
c764b76b2c3049a9811d1f2ccf579d5b26485df3 | 127 | py | Python | django_discount/settings.py | Execut3/django-discount | 36dd54d7e77f804500bfda38fc2f1c398bdc5e38 | [
"Apache-2.0"
] | null | null | null | django_discount/settings.py | Execut3/django-discount | 36dd54d7e77f804500bfda38fc2f1c398bdc5e38 | [
"Apache-2.0"
] | 2 | 2021-02-26T07:23:45.000Z | 2021-03-03T01:19:34.000Z | django_discount/settings.py | Execut3/django-discount | 36dd54d7e77f804500bfda38fc2f1c398bdc5e38 | [
"Apache-2.0"
] | null | null | null | from django.conf import settings
DISCOUNT_DEFAULT_DURATION = getattr(settings, 'DISCOUNT_DEFAULT_DURATION', 30) # Days
| 21.166667 | 90 | 0.779528 | 15 | 127 | 6.333333 | 0.733333 | 0.336842 | 0.484211 | 0.652632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.149606 | 127 | 5 | 91 | 25.4 | 0.861111 | 0.031496 | 0 | 0 | 0 | 0 | 0.208333 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c76dd70a1b65077071436e2d1b780cae2f027c06 | 320 | py | Python | {{ cookiecutter.project_name }}/src/api/v1/routes.py | tiagoarasilva/cookiecutter-flask | 0393fc5f59ab885316b466ef0a2a8a375796a786 | [
"MIT"
] | null | null | null | {{ cookiecutter.project_name }}/src/api/v1/routes.py | tiagoarasilva/cookiecutter-flask | 0393fc5f59ab885316b466ef0a2a8a375796a786 | [
"MIT"
] | 1 | 2021-11-18T14:46:16.000Z | 2021-11-18T14:46:16.000Z | {{ cookiecutter.project_name }}/src/api/v1/routes.py | tiagoarasilva/cookiecutter-flask | 0393fc5f59ab885316b466ef0a2a8a375796a786 | [
"MIT"
] | null | null | null | from flask_restx import Api
from ...apps.{{ cookiecutter.app_name }}.v1.routes import routes as {{ cookiecutter.app_name }}_v1
def routes(api: Api):
"""
Generate all the views and blueprints and corresponding endpoints.
Args:
app: Flask current app
"""
{{ cookiecutter.app_name }}_v1(api)
| 24.615385 | 98 | 0.678125 | 42 | 320 | 5.02381 | 0.547619 | 0.21327 | 0.270142 | 0.298578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011858 | 0.209375 | 320 | 12 | 99 | 26.666667 | 0.822134 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c7d760dbb55b3a539246be518abf571e142bc222 | 47,021 | py | Python | schemas/lightsheet.py | BrainCOGS/lightserv | a47bfb911f095030d811b755acb458c71f18baa2 | [
"BSD-3-Clause"
] | null | null | null | schemas/lightsheet.py | BrainCOGS/lightserv | a47bfb911f095030d811b755acb458c71f18baa2 | [
"BSD-3-Clause"
] | null | null | null | schemas/lightsheet.py | BrainCOGS/lightserv | a47bfb911f095030d811b755acb458c71f18baa2 | [
"BSD-3-Clause"
] | null | null | null | import datajoint as dj
import os
if os.environ.get('FLASK_MODE') == 'TEST':
dj.config['database.host'] = 'datajoint00.pni.princeton.edu'
dj.config['database.port'] = 3306
dj.config['database.user'] = os.environ['DJ_DB_TEST_USER']
dj.config['database.password'] = os.environ['DJ_DB_TEST_PASS']
print... | 72.228879 | 328 | 0.532847 | 4,141 | 47,021 | 5.735088 | 0.104806 | 0.078319 | 0.05116 | 0.061603 | 0.795318 | 0.78218 | 0.754474 | 0.738684 | 0.725083 | 0.716662 | 0 | 0.047368 | 0.394781 | 47,021 | 651 | 329 | 72.228879 | 0.78716 | 0.008783 | 0 | 0.651391 | 0 | 0.065466 | 0.950925 | 0.287112 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.00491 | 0.00491 | 0 | 0.050737 | 0.00491 | 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 |
c7dc689c651b75cce429205d6b72719294bd35fc | 26,515 | py | Python | pybind/slxos/v16r_1_00b/isis_state/interface_detail/isis_intf/circ_chstats/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/isis_state/interface_detail/isis_intf/circ_chstats/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/isis_state/interface_detail/isis_intf/circ_chstats/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 65.957711 | 449 | 0.742976 | 3,567 | 26,515 | 5.253434 | 0.053827 | 0.041624 | 0.050803 | 0.049309 | 0.871445 | 0.839319 | 0.823683 | 0.808688 | 0.80031 | 0.795187 | 0 | 0.026329 | 0.129097 | 26,515 | 401 | 450 | 66.122195 | 0.785164 | 0.18861 | 0 | 0.482456 | 0 | 0.035088 | 0.34674 | 0.18206 | 0 | 0 | 0 | 0 | 0 | 1 | 0.118421 | false | 0 | 0.035088 | 0 | 0.27193 | 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 |
c7e103417409c32309cc18dee483158e488fa609 | 2,924 | py | Python | tests/middleware/test_message_logger.py | rigelk/uvicorn | f6f173c16887b4fceeec8ebf62808ea7a6111472 | [
"BSD-3-Clause"
] | 8 | 2020-07-10T15:40:01.000Z | 2022-03-18T12:55:04.000Z | tests/middleware/test_message_logger.py | rigelk/uvicorn | f6f173c16887b4fceeec8ebf62808ea7a6111472 | [
"BSD-3-Clause"
] | null | null | null | tests/middleware/test_message_logger.py | rigelk/uvicorn | f6f173c16887b4fceeec8ebf62808ea7a6111472 | [
"BSD-3-Clause"
] | 1 | 2021-09-05T21:19:30.000Z | 2021-09-05T21:19:30.000Z | from tests.client import TestClient
from uvicorn.middleware.message_logger import MessageLoggerMiddleware
import pytest
import logging
def test_message_logger(caplog):
def app(scope):
async def asgi(receive, send):
message = await receive()
await send({"type": "http.response.start"... | 43.641791 | 87 | 0.672367 | 395 | 2,924 | 4.939241 | 0.162025 | 0.083034 | 0.119938 | 0.129165 | 0.833419 | 0.796002 | 0.796002 | 0.795489 | 0.795489 | 0.754485 | 0 | 0.018127 | 0.207592 | 2,924 | 66 | 88 | 44.30303 | 0.82391 | 0 | 0 | 0.690909 | 0 | 0 | 0.149453 | 0 | 0 | 0 | 0 | 0 | 0.345455 | 1 | 0.109091 | false | 0 | 0.072727 | 0 | 0.218182 | 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 |
405a89015f63f97c08d6a9bfaa7cae3fcb1926d3 | 164 | py | Python | ohp.py | securestep9/OWASP-Honeypot | bb2de32ed83f47c04f654ae4b9d56c0af3e0010f | [
"Apache-2.0"
] | null | null | null | ohp.py | securestep9/OWASP-Honeypot | bb2de32ed83f47c04f654ae4b9d56c0af3e0010f | [
"Apache-2.0"
] | null | null | null | ohp.py | securestep9/OWASP-Honeypot | bb2de32ed83f47c04f654ae4b9d56c0af3e0010f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from core.load import load_honeypot_engine
if __name__ == "__main__":
load_honeypot_engine() # load the engine
| 20.5 | 45 | 0.695122 | 23 | 164 | 4.434783 | 0.73913 | 0.235294 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.164634 | 164 | 7 | 46 | 23.428571 | 0.737226 | 0.353659 | 0 | 0 | 0 | 0 | 0.07767 | 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 |
405edfd04307e60dc6e56e29edadd146bb69651e | 212 | py | Python | DataPreparation/CVAE_GAN_dataset.py | CHUJianchun/VAE_MLP_PSO | 76db540c7a6b97cd443af5abe5280271e176e56e | [
"MIT"
] | null | null | null | DataPreparation/CVAE_GAN_dataset.py | CHUJianchun/VAE_MLP_PSO | 76db540c7a6b97cd443af5abe5280271e176e56e | [
"MIT"
] | null | null | null | DataPreparation/CVAE_GAN_dataset.py | CHUJianchun/VAE_MLP_PSO | 76db540c7a6b97cd443af5abe5280271e176e56e | [
"MIT"
] | null | null | null | import pickle
from DataPreparation.IonicLiquid import *
from torch.utils.data import Dataset, DataLoader
from torch.autograd import Variable
import torch
from DataPreparation.Datapoint import *
import sys
| 26.5 | 49 | 0.820755 | 26 | 212 | 6.692308 | 0.538462 | 0.218391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 212 | 7 | 50 | 30.285714 | 0.956044 | 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 |
40bb9b0cfb4d6699724ca696acde1b7d2238c8ca | 23,156 | py | Python | flask_blog/users/test_users.py | paciFIST-Studios/web | 993503b86dd81de0fb5b854cd4d95f9cd7a80160 | [
"MIT"
] | null | null | null | flask_blog/users/test_users.py | paciFIST-Studios/web | 993503b86dd81de0fb5b854cd4d95f9cd7a80160 | [
"MIT"
] | 1 | 2022-03-12T01:02:31.000Z | 2022-03-12T01:02:31.000Z | flask_blog/users/test_users.py | paciFIST-Studios/web | 993503b86dd81de0fb5b854cd4d95f9cd7a80160 | [
"MIT"
] | null | null | null | import io
import os.path
import re
import uuid
import unittest
from flask_blog.test import UnitTestBase
from flask_blog.users.utility import save_profile_image, remove_stored_profile_image
from werkzeug.datastructures import FileStorage
from PIL import Image
class UserModuleTests(UnitTestBase):
def setUp(self)... | 52.988558 | 119 | 0.633227 | 2,776 | 23,156 | 5.056196 | 0.102305 | 0.054716 | 0.066686 | 0.062838 | 0.789256 | 0.771801 | 0.762895 | 0.749003 | 0.743018 | 0.725777 | 0 | 0.007412 | 0.271679 | 23,156 | 436 | 120 | 53.110092 | 0.824844 | 0.23847 | 0 | 0.609489 | 0 | 0 | 0.045148 | 0.014973 | 0 | 0 | 0 | 0 | 0.416058 | 1 | 0.065693 | false | 0.032847 | 0.032847 | 0 | 0.109489 | 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 |
9061d5bec5217987bfec536198d8e77b0db7f226 | 2,558 | py | Python | API/permissions.py | Dikovinka/HRCS | 4e605c710f1f9ef1d58b6c80ac167c4e54d19b57 | [
"Apache-2.0"
] | null | null | null | API/permissions.py | Dikovinka/HRCS | 4e605c710f1f9ef1d58b6c80ac167c4e54d19b57 | [
"Apache-2.0"
] | null | null | null | API/permissions.py | Dikovinka/HRCS | 4e605c710f1f9ef1d58b6c80ac167c4e54d19b57 | [
"Apache-2.0"
] | null | null | null | from rest_framework import permissions
from API.models import *
class IsOwnerOrReadOnly(permissions.BasePermission):
"""
Custom permission to only allow owners of an object to edit it.
"""
def has_object_permission(self, request, view, obj):
# Read permissions are allowed to any request,
... | 38.757576 | 107 | 0.660281 | 312 | 2,558 | 5.36859 | 0.275641 | 0.052537 | 0.040597 | 0.073433 | 0.850746 | 0.82806 | 0.77791 | 0.72597 | 0.70209 | 0.631642 | 0 | 0 | 0.268569 | 2,558 | 66 | 108 | 38.757576 | 0.895243 | 0.253714 | 0 | 0.657895 | 0 | 0 | 0.00431 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078947 | false | 0 | 0.052632 | 0 | 0.447368 | 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 |
29176191ba4a14056e8deb0823dfb4c35f35f18d | 138 | py | Python | scripts/npc/autogen_2140004.py | doriyan13/doristory | 438caf3b123922da3f5f3b16fcc98a26a8ab85ce | [
"MIT"
] | null | null | null | scripts/npc/autogen_2140004.py | doriyan13/doristory | 438caf3b123922da3f5f3b16fcc98a26a8ab85ce | [
"MIT"
] | null | null | null | scripts/npc/autogen_2140004.py | doriyan13/doristory | 438caf3b123922da3f5f3b16fcc98a26a8ab85ce | [
"MIT"
] | null | null | null | # Character field ID when accessed: 270000000
# ObjectID: 1000005
# ParentID: 2140004
# Object Position X: -2310
# Object Position Y: 173
| 23 | 45 | 0.753623 | 18 | 138 | 5.777778 | 0.888889 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0.166667 | 138 | 5 | 46 | 27.6 | 0.643478 | 0.92029 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
293a8e4279135e69905150bcabf336a3469d554a | 98 | py | Python | promotions/models.py | topd333/Xlab | 28d89b3b18717957229ca52cb2cbbbc20bd31eae | [
"Unlicense"
] | null | null | null | promotions/models.py | topd333/Xlab | 28d89b3b18717957229ca52cb2cbbbc20bd31eae | [
"Unlicense"
] | null | null | null | promotions/models.py | topd333/Xlab | 28d89b3b18717957229ca52cb2cbbbc20bd31eae | [
"Unlicense"
] | null | null | null | # yourproject/order/models.py
# your custom models go here
from oscar.apps.order.models import * | 19.6 | 37 | 0.77551 | 15 | 98 | 5.066667 | 0.8 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 98 | 5 | 37 | 19.6 | 0.894118 | 0.55102 | 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 |
2950a4b3449c8e0e70d1e6b7dbab34391804c38d | 21 | py | Python | ITMO_FS/ensembles/ranking_based/__init__.py | lindlind/ITMO_FS | 8662b67a98bceaac800ccc8ea3230cc9f9a250e1 | [
"BSD-3-Clause"
] | 90 | 2020-05-29T14:10:51.000Z | 2022-03-21T16:40:02.000Z | ITMO_FS/ensembles/ranking_based/__init__.py | lindlind/ITMO_FS | 8662b67a98bceaac800ccc8ea3230cc9f9a250e1 | [
"BSD-3-Clause"
] | 11 | 2020-04-25T15:35:39.000Z | 2021-06-29T21:00:05.000Z | ITMO_FS/ensembles/ranking_based/__init__.py | lindlind/ITMO_FS | 8662b67a98bceaac800ccc8ea3230cc9f9a250e1 | [
"BSD-3-Clause"
] | 22 | 2020-07-08T17:37:46.000Z | 2022-03-25T10:13:15.000Z | from .Mixed import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 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 |
29574af65c73d696da068efdb09131c349ea98eb | 53 | py | Python | googleBucketManager/__init__.py | simonsanvil/googleBucketManager | 3981ba42df5a7d4bc4ea14f87d430aeda30e3dc9 | [
"MIT"
] | null | null | null | googleBucketManager/__init__.py | simonsanvil/googleBucketManager | 3981ba42df5a7d4bc4ea14f87d430aeda30e3dc9 | [
"MIT"
] | null | null | null | googleBucketManager/__init__.py | simonsanvil/googleBucketManager | 3981ba42df5a7d4bc4ea14f87d430aeda30e3dc9 | [
"MIT"
] | 1 | 2022-02-14T03:31:38.000Z | 2022-02-14T03:31:38.000Z | from .googleBucketManager_ import GoogleBucketManager | 53 | 53 | 0.924528 | 4 | 53 | 12 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 53 | 1 | 53 | 53 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46258dacf08cbb545f5643b5ddd9475069d785e0 | 40 | py | Python | tests/main.py | fbrcosta/ssh_proxy | 118d900fb1d8f7926416c681618dca9754eeeb3b | [
"MIT"
] | null | null | null | tests/main.py | fbrcosta/ssh_proxy | 118d900fb1d8f7926416c681618dca9754eeeb3b | [
"MIT"
] | null | null | null | tests/main.py | fbrcosta/ssh_proxy | 118d900fb1d8f7926416c681618dca9754eeeb3b | [
"MIT"
] | null | null | null | from ssh_proxy.ssh_proxy import SSHProxy | 40 | 40 | 0.9 | 7 | 40 | 4.857143 | 0.714286 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
462e98a4fbf4ff9408ed2bc611bf030c2d702409 | 24,184 | py | Python | tests/test_webpage.py | dougPhilips/python-seleniumpm | 4ddff760cd4486bfd48efdb77e33fb4574dc0e5d | [
"Apache-2.0"
] | 2 | 2020-01-13T14:41:08.000Z | 2020-01-29T10:21:04.000Z | tests/test_webpage.py | dougPhilips/python-seleniumpm | 4ddff760cd4486bfd48efdb77e33fb4574dc0e5d | [
"Apache-2.0"
] | 1 | 2018-05-29T14:47:55.000Z | 2018-05-29T14:47:55.000Z | tests/test_webpage.py | dougPhilips/python-seleniumpm | 4ddff760cd4486bfd48efdb77e33fb4574dc0e5d | [
"Apache-2.0"
] | null | null | null | from selenium import webdriver
from selenium.common.exceptions import TimeoutException
from selenium.webdriver.remote.webdriver import WebDriver
from seleniumpm.locator import Locator
from seleniumpm.webpage import Webpage
from seleniumpm.examples.wikipedia import Wikipedia
from seleniumpm.examples.superwikipedia impor... | 52.233261 | 136 | 0.69302 | 2,962 | 24,184 | 5.457461 | 0.071573 | 0.038354 | 0.057408 | 0.064584 | 0.801299 | 0.778101 | 0.757872 | 0.748964 | 0.744695 | 0.730467 | 0 | 0.008792 | 0.214563 | 24,184 | 462 | 137 | 52.34632 | 0.842222 | 0.021419 | 0 | 0.62069 | 0 | 0 | 0.204506 | 0.013823 | 0 | 0 | 0 | 0.002165 | 0.362069 | 1 | 0.098522 | false | 0.012315 | 0.044335 | 0 | 0.150246 | 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 |
468f57eaa477edbcd08332294bca83219af41d5b | 43 | py | Python | fastapi_mvc/generators/project/template/{{cookiecutter.folder_name}}/{{cookiecutter.package_name}}/app/models/__init__.py | rszamszur/fastapi-mvc | 98670eda3b485cfe25850773dcc1ae7ae5feced9 | [
"MIT"
] | 98 | 2021-12-21T18:45:07.000Z | 2022-03-27T08:48:37.000Z | fastapi_mvc_example/app/models/__init__.py | rszamszur/fastapi-mvc-example | 8a60867f5141d53a29052cece785f880d2f1aa99 | [
"MIT"
] | 48 | 2021-12-21T16:06:56.000Z | 2022-03-26T17:28:57.000Z | fastapi_mvc_example/app/models/__init__.py | rszamszur/fastapi-mvc-example | 8a60867f5141d53a29052cece785f880d2f1aa99 | [
"MIT"
] | 16 | 2022-01-05T14:21:50.000Z | 2022-02-13T17:55:07.000Z | """Application implementation - models."""
| 21.5 | 42 | 0.72093 | 3 | 43 | 10.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.794872 | 0.837209 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4694fb68e66e64d9d660f74af77a7e365ad8ae6a | 3,407 | py | Python | acl_service/service/database/sql_scripts.py | justintrudell/medfs | 1e84203205dbafdbd4005dddccce7adb7ef3b144 | [
"Apache-2.0"
] | null | null | null | acl_service/service/database/sql_scripts.py | justintrudell/medfs | 1e84203205dbafdbd4005dddccce7adb7ef3b144 | [
"Apache-2.0"
] | 1 | 2021-01-28T19:47:23.000Z | 2021-01-28T19:47:23.000Z | acl_service/service/database/sql_scripts.py | justintrudell/medfs | 1e84203205dbafdbd4005dddccce7adb7ef3b144 | [
"Apache-2.0"
] | null | null | null | # user_id, record_id, is_readonly
populate_permissions_vals = [
(
"f6bc7939-deb1-4bc9-b77b-aa5dc9e98209",
"ca658fd0-15a6-4830-a69d-4e04b3df8bc2",
True,
),
(
"ba44c2e0-4b70-4d2a-8798-caa5895434a2",
"75e4b97d-bcd1-4d34-a293-bf99c798d53c",
False,
),
(
... | 24.510791 | 47 | 0.560023 | 306 | 3,407 | 6.218954 | 0.310458 | 0.081976 | 0.109301 | 0.136626 | 0.937467 | 0.702049 | 0 | 0 | 0 | 0 | 0 | 0.43875 | 0.295568 | 3,407 | 138 | 48 | 24.688406 | 0.354167 | 0.009099 | 0 | 0.773723 | 0 | 0 | 0.576171 | 0.576171 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
46a83a9f29fc3a98afdabe53761650b4501ad046 | 1,240 | py | Python | test/lint/rules/general/rule0_1_6_test.py | fi-ts/docker-make | e434ff783bd07cf2377bba36bf29528182af883d | [
"MIT"
] | 2 | 2020-04-28T08:12:56.000Z | 2021-06-19T00:59:16.000Z | test/lint/rules/general/rule0_1_6_test.py | fi-ts/docker-make | e434ff783bd07cf2377bba36bf29528182af883d | [
"MIT"
] | 5 | 2020-07-30T07:06:57.000Z | 2021-04-20T09:44:23.000Z | test/lint/rules/general/rule0_1_6_test.py | fi-ts/docker-make | e434ff783bd07cf2377bba36bf29528182af883d | [
"MIT"
] | 2 | 2020-08-18T08:39:01.000Z | 2021-04-20T13:24:18.000Z | import unittest
from test.helpers import get_general_wrapper
class Rule016Test(unittest.TestCase):
def test_rule0_1_6(self):
context = """FROM registry.a.com/acme/centos
LABEL maintainer=Blubber
"""
wrapper = get_general_wrapper(context)
wrapper.rule0_1_6()
self.... | 31.794872 | 89 | 0.658871 | 162 | 1,240 | 4.858025 | 0.265432 | 0.045743 | 0.053367 | 0.049555 | 0.844981 | 0.827192 | 0.781449 | 0.781449 | 0.781449 | 0.781449 | 0 | 0.029959 | 0.219355 | 1,240 | 38 | 90 | 32.631579 | 0.783058 | 0 | 0 | 0.666667 | 0 | 0.074074 | 0.343548 | 0.134677 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.111111 | false | 0 | 0.074074 | 0 | 0.222222 | 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 |
46b402ebd55491ce51641ba7780029632855c177 | 21,672 | py | Python | persistencecurves/PC.py | azlawson/PersistenceCurves | 0ca87194df27d0a4a913bc5fd55ab69a08f5cba4 | [
"MIT"
] | 11 | 2019-05-16T19:33:16.000Z | 2022-03-11T20:33:03.000Z | persistencecurves/PC.py | gob1thaasan/PersistenceCurves | 0ca87194df27d0a4a913bc5fd55ab69a08f5cba4 | [
"MIT"
] | null | null | null | persistencecurves/PC.py | gob1thaasan/PersistenceCurves | 0ca87194df27d0a4a913bc5fd55ab69a08f5cba4 | [
"MIT"
] | 4 | 2020-03-20T03:50:30.000Z | 2021-10-02T16:34:37.000Z | """
Created on Mon Nov 5 11:26:12 2018
@author: Austin Lawson (azlawson@uncg.edu)
"""
import numpy as np
from scipy import stats
import matplotlib.pyplot as plt
class Diagram:
def __init__(self, Dgm, globalmaxdeath = None, infinitedeath=float("inf"), inf_policy="remove"):
"""
Transforms a diagram... | 49.706422 | 187 | 0.65407 | 3,052 | 21,672 | 4.565203 | 0.071756 | 0.039475 | 0.071054 | 0.063159 | 0.821646 | 0.812818 | 0.783679 | 0.783679 | 0.767459 | 0.75698 | 0 | 0.011944 | 0.254384 | 21,672 | 435 | 188 | 49.82069 | 0.8503 | 0.441584 | 0 | 0.520619 | 0 | 0 | 0.003215 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.14433 | false | 0 | 0.015464 | 0 | 0.298969 | 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 |
3104b04cf141cf08aebec207d19f36095529c76f | 38 | py | Python | package/xarl/agents/xasac/__init__.py | proroklab/xaer | 9a59d1ec19ffd8037697aa7ffc43246d4c0c0e69 | [
"MIT"
] | 1 | 2021-10-16T16:48:56.000Z | 2021-10-16T16:48:56.000Z | package/xarl/agents/xasac/__init__.py | proroklab/xaer | 9a59d1ec19ffd8037697aa7ffc43246d4c0c0e69 | [
"MIT"
] | null | null | null | package/xarl/agents/xasac/__init__.py | proroklab/xaer | 9a59d1ec19ffd8037697aa7ffc43246d4c0c0e69 | [
"MIT"
] | null | null | null | from xarl.agents.xasac.xasac import *
| 19 | 37 | 0.789474 | 6 | 38 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.882353 | 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 |
3134cc3125f7578cd7f37d3b12c0af4dd89e83f0 | 99 | py | Python | modulexyz/tests/test_utils.py | felixlaumon/modulexyz | 3cf0b3bb9dedaf8bf9ab45fb360dc63304add21f | [
"MIT"
] | null | null | null | modulexyz/tests/test_utils.py | felixlaumon/modulexyz | 3cf0b3bb9dedaf8bf9ab45fb360dc63304add21f | [
"MIT"
] | null | null | null | modulexyz/tests/test_utils.py | felixlaumon/modulexyz | 3cf0b3bb9dedaf8bf9ab45fb360dc63304add21f | [
"MIT"
] | null | null | null | import pytest
def test_addition():
from modulexyz.utils import add
assert add(1, 2) == 3
| 14.142857 | 35 | 0.676768 | 15 | 99 | 4.4 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 0.232323 | 99 | 6 | 36 | 16.5 | 0.828947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3137843d80f56a2ab383141292bc0501456a7f63 | 182 | py | Python | bottle/bottleAnalytics/admin.py | duartegalvao/Smart-Bottle | 0ff2befc7d4fc66feb085f6ccb3421675830d530 | [
"MIT"
] | 1 | 2019-05-29T12:04:28.000Z | 2019-05-29T12:04:28.000Z | bottle/bottleAnalytics/admin.py | duartegalvao/Smart-Bottle | 0ff2befc7d4fc66feb085f6ccb3421675830d530 | [
"MIT"
] | 1 | 2019-05-29T12:28:55.000Z | 2019-05-29T12:28:55.000Z | bottle/bottleAnalytics/admin.py | duartegalvao/Smart-Bottle | 0ff2befc7d4fc66feb085f6ccb3421675830d530 | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
admin.site.register(models.BottleReading)
admin.site.register(models.UserSettings)
admin.site.register(models.PreviousScore)
| 20.222222 | 41 | 0.82967 | 23 | 182 | 6.565217 | 0.478261 | 0.178808 | 0.337748 | 0.456954 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 182 | 8 | 42 | 22.75 | 0.89881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
31638719325790ff7eac28eb3a37fdb8a1610508 | 6,899 | py | Python | tests/test_diffeq/test_ode/test_ivp_examples.py | feimeng93/probnum | 4e46273c0157d26b9be2a7a415ccf69a3691ec22 | [
"MIT"
] | null | null | null | tests/test_diffeq/test_ode/test_ivp_examples.py | feimeng93/probnum | 4e46273c0157d26b9be2a7a415ccf69a3691ec22 | [
"MIT"
] | 16 | 2021-03-08T07:25:31.000Z | 2022-03-28T21:05:53.000Z | tests/test_diffeq/test_ode/test_ivp_examples.py | feimeng93/probnum | 4e46273c0157d26b9be2a7a415ccf69a3691ec22 | [
"MIT"
] | 2 | 2022-01-23T14:24:08.000Z | 2022-01-29T01:26:47.000Z | import unittest
import numpy as np
from probnum.diffeq.ode import ivp, ivp_examples
from probnum.random_variables import Constant
from tests.testing import NumpyAssertions
class TestConvenienceFunction(unittest.TestCase):
"""Test case for correct object initialization."""
def setUp(self):
self.tspa... | 32.088372 | 86 | 0.569068 | 876 | 6,899 | 4.371005 | 0.106164 | 0.021938 | 0.057456 | 0.050927 | 0.832071 | 0.823191 | 0.779055 | 0.740663 | 0.736224 | 0.712719 | 0 | 0.049895 | 0.311494 | 6,899 | 214 | 87 | 32.238318 | 0.756211 | 0.062328 | 0 | 0.674556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136095 | 1 | 0.106509 | false | 0 | 0.029586 | 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 |
317e85e513098ff254eb7db66c92992d3f1553c2 | 2,026 | py | Python | learntools/libs/tests/test_wavelet.py | yueranyuan/vector_edu | 259ff50479ebd5e12136554f1cd47bff149fa15c | [
"MIT"
] | 3 | 2015-05-01T14:16:22.000Z | 2021-04-07T23:08:43.000Z | learntools/libs/tests/test_wavelet.py | yueranyuan/vector_edu | 259ff50479ebd5e12136554f1cd47bff149fa15c | [
"MIT"
] | 1 | 2015-01-30T20:40:20.000Z | 2015-01-30T23:30:42.000Z | learntools/libs/tests/test_wavelet.py | yueranyuan/vector_edu | 259ff50479ebd5e12136554f1cd47bff149fa15c | [
"MIT"
] | 3 | 2015-01-14T19:59:40.000Z | 2015-01-28T06:37:42.000Z | from learntools.libs.wavelet import signal_to_wavelet
def test_wavelet():
eeg_str = "57 38 20 29 56 54 35 21 22 13 -7 -26 -30 -8 10 4 -10 -5 16 33 49 55 43 41 39 32 28 44 32 -6 -22 0 37 67 50 21 20 27 23 20 22 22 25 25 38 59 45 8 7 22 7 -21 -27 -35 -37 -11 23 53 84 100 86 71 66 55 41 34 27 13 12 65 118 120 105 98... | 253.25 | 1,773 | 0.661895 | 549 | 2,026 | 2.428051 | 0.367942 | 0.012003 | 0.022506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.802855 | 0.273939 | 2,026 | 8 | 1,774 | 253.25 | 0.103331 | 0 | 0 | 0 | 0 | 0.166667 | 0.868772 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
319b1c7b3cc7806a6ac23a3b924c0a1735f4c62e | 40,372 | py | Python | python/dgllife/utils/mol_to_graph.py | bii-dpi/dgl-lifesci | 27da0d1f7bbf2326dcbf81201aa980ca33281aee | [
"Apache-2.0"
] | null | null | null | python/dgllife/utils/mol_to_graph.py | bii-dpi/dgl-lifesci | 27da0d1f7bbf2326dcbf81201aa980ca33281aee | [
"Apache-2.0"
] | null | null | null | python/dgllife/utils/mol_to_graph.py | bii-dpi/dgl-lifesci | 27da0d1f7bbf2326dcbf81201aa980ca33281aee | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Convert molecules into DGLGraphs
#
# pylint: disable= no-member, arguments-differ, invalid-name
from functools import partial
import torch
import dgl
from rdkit import Chem
from rdk... | 39.348928 | 99 | 0.621867 | 5,255 | 40,372 | 4.628925 | 0.072883 | 0.018869 | 0.018088 | 0.0148 | 0.88148 | 0.864954 | 0.849784 | 0.836465 | 0.822158 | 0.810195 | 0 | 0.014598 | 0.283934 | 40,372 | 1,025 | 100 | 39.387317 | 0.826836 | 0.672743 | 0 | 0.572687 | 0 | 0 | 0.034329 | 0.010025 | 0 | 0 | 0 | 0 | 0.008811 | 1 | 0.044053 | false | 0 | 0.026432 | 0 | 0.123348 | 0.008811 | 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 |
31dbeb3d6048ac97685c3043774d41e9e17e5e4a | 26 | py | Python | openplaning/__init__.py | elcf/python-openplaning | 58c5db7b2c42e951138430db883759b6143f4adc | [
"MIT"
] | 1 | 2021-12-17T00:30:40.000Z | 2021-12-17T00:30:40.000Z | openplaning/__init__.py | AltamiroAJ/python-openplaning | 5dbb7ec83257173673651c098d8406c38f5c3bb8 | [
"MIT"
] | 1 | 2021-09-20T15:12:15.000Z | 2021-09-21T18:02:46.000Z | openplaning/__init__.py | AltamiroAJ/python-openplaning | 5dbb7ec83257173673651c098d8406c38f5c3bb8 | [
"MIT"
] | 1 | 2021-12-17T00:30:42.000Z | 2021-12-17T00:30:42.000Z | from .openplaning import * | 26 | 26 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.913043 | 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 |
31dc95030a66f3f4789db9f50015a5c8540e04c4 | 96 | py | Python | venv/lib/python3.8/site-packages/idna/package_data.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/idna/package_data.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/idna/package_data.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/b3/3c/50/855d190f49ca27ce0aba86f0de5f2ae3f29e0b25e3151769c08a4a666c | 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 |
31e6ddd1edba9e2297cceaed72705ecd463401d0 | 107 | py | Python | spinta/manifests/internal/components.py | atviriduomenys/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 2 | 2019-03-14T06:41:14.000Z | 2019-03-26T11:48:14.000Z | spinta/manifests/internal/components.py | sirex/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 44 | 2019-04-05T15:52:45.000Z | 2022-03-30T07:41:33.000Z | spinta/manifests/internal/components.py | sirex/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 1 | 2019-04-01T09:54:27.000Z | 2019-04-01T09:54:27.000Z | from spinta.manifests.yaml.components import YamlManifest
class InternalManifest(YamlManifest):
pass
| 17.833333 | 57 | 0.82243 | 11 | 107 | 8 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121495 | 107 | 5 | 58 | 21.4 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.