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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0a3175f67f662288eea8df62bf6eeb547b34b249 | 167 | py | Python | form/__init__.py | gregbugaj/form-processor | 0c803de43a98b4a02efa956803e64793995256ff | [
"MIT"
] | null | null | null | form/__init__.py | gregbugaj/form-processor | 0c803de43a98b4a02efa956803e64793995256ff | [
"MIT"
] | 1 | 2021-11-09T11:11:32.000Z | 2021-11-09T11:11:32.000Z | form/__init__.py | gregbugaj/form-processor | 0c803de43a98b4a02efa956803e64793995256ff | [
"MIT"
] | null | null | null | """
Name : __init__.py.py
"""
from __future__ import absolute_import
import os, sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '.'))) | 20.875 | 81 | 0.718563 | 26 | 167 | 4.115385 | 0.615385 | 0.168224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.095808 | 167 | 8 | 81 | 20.875 | 0.701987 | 0.125749 | 0 | 0 | 0 | 0 | 0.007194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0a3f2fe8a14d10c97891725feb02412d1c2d506f | 189 | py | Python | trax/trax/templatetags/__init__.py | christianlupus/trax | 85af6f908cbf55584f74856207ae3f6530728ccb | [
"MIT"
] | 4 | 2021-01-19T16:12:24.000Z | 2021-08-05T07:25:44.000Z | trax/trax/templatetags/__init__.py | christianlupus/trax | 85af6f908cbf55584f74856207ae3f6530728ccb | [
"MIT"
] | 1 | 2021-03-18T20:44:01.000Z | 2021-03-18T20:44:01.000Z | trax/trax/templatetags/__init__.py | christianlupus/trax | 85af6f908cbf55584f74856207ae3f6530728ccb | [
"MIT"
] | 1 | 2021-08-16T01:10:52.000Z | 2021-08-16T01:10:52.000Z | from django import template
from trax.trax import utils
register = template.Library()
@register.filter(name='humanize_timedelta')
def d(value):
return utils.humanize_timedelta(value)
| 21 | 43 | 0.78836 | 25 | 189 | 5.88 | 0.64 | 0.231293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116402 | 189 | 8 | 44 | 23.625 | 0.88024 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
0a42eddb2ead3b195437e25c8c36327ff95fd608 | 226 | py | Python | src/controllers/product_controller.py | Serious-and-Pro-Gamers/SPG-Backend | 567a068619867ce5579b75f8d39a2c36fdb8a737 | [
"MIT"
] | null | null | null | src/controllers/product_controller.py | Serious-and-Pro-Gamers/SPG-Backend | 567a068619867ce5579b75f8d39a2c36fdb8a737 | [
"MIT"
] | null | null | null | src/controllers/product_controller.py | Serious-and-Pro-Gamers/SPG-Backend | 567a068619867ce5579b75f8d39a2c36fdb8a737 | [
"MIT"
] | null | null | null | from ..services.product_service import get_products
from flask import Blueprint
product_api = Blueprint("product_api", __name__)
@product_api.route("/product", methods=["GET"])
def get_product():
return get_products()
| 20.545455 | 51 | 0.765487 | 29 | 226 | 5.586207 | 0.517241 | 0.185185 | 0.234568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 226 | 10 | 52 | 22.6 | 0.81 | 0 | 0 | 0 | 0 | 0 | 0.097345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
0a47c1fdefbae54af218ff059c4893cde7a0674f | 79,976 | py | Python | src/v71.py | numb3r33/Kaggle_Home_Credit | f8f56a0514b928d7ed4b8f38c6edc53b67bab32d | [
"MIT"
] | null | null | null | src/v71.py | numb3r33/Kaggle_Home_Credit | f8f56a0514b928d7ed4b8f38c6edc53b67bab32d | [
"MIT"
] | 14 | 2020-01-28T22:02:01.000Z | 2022-03-11T23:33:08.000Z | src/v71.py | numb3r33/Kaggle_Home_Credit | f8f56a0514b928d7ed4b8f38c6edc53b67bab32d | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
import scipy as sp
import argparse
import os
import gc
import time
from base import *
from features import *
from datetime import datetime
from sklearn.externals import joblib
from sklearn.model_selection import cross_val_score, StratifiedKFold
basepath = os.path.expanduser('.... | 50.141693 | 178 | 0.600455 | 9,567 | 79,976 | 4.769625 | 0.056653 | 0.028139 | 0.038351 | 0.069032 | 0.799698 | 0.785256 | 0.77226 | 0.760032 | 0.752471 | 0.745458 | 0 | 0.008701 | 0.271406 | 79,976 | 1,595 | 179 | 50.141693 | 0.774395 | 0.047827 | 0 | 0.602041 | 0 | 0 | 0.264049 | 0.080563 | 0 | 0 | 0 | 0.000627 | 0 | 1 | 0.011132 | false | 0 | 0.011132 | 0 | 0.03154 | 0.1141 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0a6d632b1772539f47faa55339818c01ae3cdee5 | 23 | py | Python | Introduction/Scripts/hello.py | inakleinbottle/Do-Something-Different | d0c23abf1033061d5ed48aa0b9f6ca57e4ad0b56 | [
"MIT"
] | 1 | 2019-02-19T13:46:25.000Z | 2019-02-19T13:46:25.000Z | Introduction/Scripts/hello.py | inakleinbottle/Do-Something-Different | d0c23abf1033061d5ed48aa0b9f6ca57e4ad0b56 | [
"MIT"
] | null | null | null | Introduction/Scripts/hello.py | inakleinbottle/Do-Something-Different | d0c23abf1033061d5ed48aa0b9f6ca57e4ad0b56 | [
"MIT"
] | null | null | null |
print('Hello world!')
| 7.666667 | 21 | 0.652174 | 3 | 23 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 2 | 22 | 11.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
6a661407fe35d4066a656242612db0cbd7f56c5e | 519 | py | Python | atest/testdata/standard_libraries/builtin/FailUntilSucceeds.py | rdagum/robotframework | b7069d505374e9f09a140ed5a9727d2a40716446 | [
"ECL-2.0",
"Apache-2.0"
] | 7,073 | 2015-01-01T17:19:16.000Z | 2022-03-31T22:01:29.000Z | atest/testdata/standard_libraries/builtin/FailUntilSucceeds.py | imust6226/robotframework | 08c56fef2ebc64d682c7f99acd77c480d8d0e028 | [
"ECL-2.0",
"Apache-2.0"
] | 2,412 | 2015-01-02T09:29:05.000Z | 2022-03-31T13:10:46.000Z | atest/testdata/standard_libraries/builtin/FailUntilSucceeds.py | rticau/robotframework | 33ee46dfacd5173c0a38d89c1a60abf6a747c8c0 | [
"ECL-2.0",
"Apache-2.0"
] | 2,298 | 2015-01-03T02:47:15.000Z | 2022-03-31T02:00:16.000Z | import time
class FailUntilSucceeds:
ROBOT_LIBRARY_SCOPE = 'TESTCASE'
def __init__(self, times_to_fail=0):
self.times_to_fail = int(times_to_fail)
def set_times_to_fail(self, times_to_fail):
self.__init__(times_to_fail)
def fail_until_retried_often_enough(self, message="Hello", slee... | 27.315789 | 75 | 0.678227 | 75 | 519 | 4.253333 | 0.413333 | 0.219436 | 0.344828 | 0.282132 | 0.360502 | 0.163009 | 0.163009 | 0 | 0 | 0 | 0 | 0.010025 | 0.231214 | 519 | 18 | 76 | 28.833333 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.069364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
6a68c2764f755abc87cb291a4f895c97a7cdf46f | 5,518 | py | Python | tests/test_inventory_service_interface.py | msager27/drift-backend | 0994431a8ff4e7a6ae067794cf2b6d2a82f3481c | [
"Apache-2.0"
] | 6 | 2019-02-18T17:04:01.000Z | 2020-08-17T16:35:00.000Z | tests/test_inventory_service_interface.py | msager27/drift-backend | 0994431a8ff4e7a6ae067794cf2b6d2a82f3481c | [
"Apache-2.0"
] | 223 | 2019-01-25T03:14:47.000Z | 2022-02-15T14:51:06.000Z | tests/test_inventory_service_interface.py | msager27/drift-backend | 0994431a8ff4e7a6ae067794cf2b6d2a82f3481c | [
"Apache-2.0"
] | 12 | 2019-01-24T01:45:01.000Z | 2021-06-17T18:22:10.000Z | import unittest
import mock
import requests
import responses
from kerlescan import inventory_service_interface
from kerlescan.exceptions import ItemNotReturned, ServiceError
from drift import app
from . import fixtures
class InventoryServiceTests(unittest.TestCase):
def setUp(self):
test_connexion_app... | 36.065359 | 87 | 0.655672 | 620 | 5,518 | 5.443548 | 0.166129 | 0.04 | 0.062222 | 0.077037 | 0.780148 | 0.768593 | 0.735704 | 0.735704 | 0.735704 | 0.731259 | 0 | 0.052046 | 0.251359 | 5,518 | 152 | 88 | 36.302632 | 0.764948 | 0 | 0 | 0.507937 | 0 | 0 | 0.190468 | 0.114897 | 0 | 0 | 0 | 0 | 0.039683 | 1 | 0.071429 | false | 0 | 0.063492 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6a6fee1eedd26e6438c7a0af1969d96b21509de4 | 157 | py | Python | classes/LinguisticSystem.py | Jollyfant/EPOS-TURTLE | 8848a83e513b0bc9aacd96e290fc9f235bed687a | [
"MIT"
] | 1 | 2020-10-06T13:28:54.000Z | 2020-10-06T13:28:54.000Z | classes/LinguisticSystem.py | Jollyfant/EPOS-TURTLE | 8848a83e513b0bc9aacd96e290fc9f235bed687a | [
"MIT"
] | null | null | null | classes/LinguisticSystem.py | Jollyfant/EPOS-TURTLE | 8848a83e513b0bc9aacd96e290fc9f235bed687a | [
"MIT"
] | null | null | null | from EPOS import Node
class LinguisticSystem(Node):
def __init__(self, *args):
self.type = self.dct.LinguisticSystem
Node.__init__(self, args)
| 19.625 | 41 | 0.719745 | 20 | 157 | 5.25 | 0.6 | 0.380952 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178344 | 157 | 7 | 42 | 22.428571 | 0.813953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
6a796f2e592eb70fe0bb1212a4df589ebd774dc2 | 169 | py | Python | pineboolib/__init__.py | juanjosepablos/pineboo | f6ce515aec6e0139821bb9c1d62536d9fb50dae4 | [
"MIT"
] | 2 | 2017-12-10T23:06:16.000Z | 2017-12-10T23:06:23.000Z | pineboolib/__init__.py | Aulla/pineboo | 3ad6412d365a6ad65c3bb2bdc03f5798d7c37004 | [
"MIT"
] | 36 | 2017-11-05T21:13:47.000Z | 2020-08-26T15:56:15.000Z | pineboolib/__init__.py | deavid/pineboo | acc96ab6d5b8bb182990af6dea4bf0986af15549 | [
"MIT"
] | 9 | 2015-01-15T18:15:42.000Z | 2019-05-05T18:53:00.000Z | # -*- coding: utf-8 -*-
"""
Base module for the execution of pineboo.
Library oriented to emulate Eneboo from python.
"""
from .core.utils import logging # noqa: F401
| 21.125 | 47 | 0.698225 | 24 | 169 | 4.916667 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028777 | 0.177515 | 169 | 7 | 48 | 24.142857 | 0.820144 | 0.733728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
6aa5e398ccb0e0d605636bc1418ef34aa7ce7655 | 100 | py | Python | neural_network/__init__.py | fu11zero/neural-network-implementation | e82b7464afe8d8b0b47be7bd316f18869e3268c4 | [
"MIT"
] | null | null | null | neural_network/__init__.py | fu11zero/neural-network-implementation | e82b7464afe8d8b0b47be7bd316f18869e3268c4 | [
"MIT"
] | null | null | null | neural_network/__init__.py | fu11zero/neural-network-implementation | e82b7464afe8d8b0b47be7bd316f18869e3268c4 | [
"MIT"
] | 1 | 2021-03-02T10:08:42.000Z | 2021-03-02T10:08:42.000Z | """
A package with everything you need to build a simple neural network
"""
# todo - add unit tests
| 20 | 67 | 0.72 | 16 | 100 | 4.5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 100 | 4 | 68 | 25 | 0.9 | 0.9 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.25 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6aa8ab1fbf9e5793bcb8b9974e799ca525e35fd2 | 77 | py | Python | test/client/test_kafka_producer_client.py | DebasishMaji/PI | e293982cae8f8755d28d7b3de22966dc74759b90 | [
"Apache-2.0"
] | null | null | null | test/client/test_kafka_producer_client.py | DebasishMaji/PI | e293982cae8f8755d28d7b3de22966dc74759b90 | [
"Apache-2.0"
] | null | null | null | test/client/test_kafka_producer_client.py | DebasishMaji/PI | e293982cae8f8755d28d7b3de22966dc74759b90 | [
"Apache-2.0"
] | null | null | null | import unittest
class TestKafkaProducerClient(unittest.TestCase):
pass
| 12.833333 | 49 | 0.805195 | 7 | 77 | 8.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 77 | 5 | 50 | 15.4 | 0.939394 | 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 | 0 | 0 | 0 | 5 |
6ab5705a374e662435d1a634c130bfcefbf95015 | 36 | py | Python | GrowBeanSprouts/boot.py | cocoaswifty/ESP8266 | eb6d4111586ff2841077909ca4a07a997dc30176 | [
"MIT"
] | null | null | null | GrowBeanSprouts/boot.py | cocoaswifty/ESP8266 | eb6d4111586ff2841077909ca4a07a997dc30176 | [
"MIT"
] | null | null | null | GrowBeanSprouts/boot.py | cocoaswifty/ESP8266 | eb6d4111586ff2841077909ca4a07a997dc30176 | [
"MIT"
] | null | null | null | import gc
gc.collect() # 記憶體回收功能
| 12 | 24 | 0.666667 | 5 | 36 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 36 | 2 | 25 | 18 | 0.857143 | 0.194444 | 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 | 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 | 5 |
6ac8e2a069847b75a2eda1594503fc41190c9cb2 | 214 | py | Python | python/testData/refactoring/move/referenceToClassWithNewInMovedSymbol/before/src/classFile.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/move/referenceToClassWithNewInMovedSymbol/before/src/classFile.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/move/referenceToClassWithNewInMovedSymbol/before/src/classFile.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from collections import namedtuple
class Pipeline(namedtuple('_Pipeline', 'name')):
def __new__(cls, name):
return super(Pipeline, cls).__new__(cls, name)
def __init__(self, name):
pass
| 19.454545 | 54 | 0.668224 | 25 | 214 | 5.2 | 0.6 | 0.107692 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214953 | 214 | 10 | 55 | 21.4 | 0.77381 | 0 | 0 | 0 | 0 | 0 | 0.060748 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
6ad14d8f72edf2be1f8751f8d3a8d81bb3487b43 | 2,090 | py | Python | playground/control/attribs/event.py | phlax/playground | ca661f7adcc2c3502f63e630c96e87e31aa9309a | [
"Apache-2.0"
] | 8 | 2020-11-23T21:08:32.000Z | 2021-12-18T10:37:25.000Z | playground/control/attribs/event.py | phlax/playground | ca661f7adcc2c3502f63e630c96e87e31aa9309a | [
"Apache-2.0"
] | 273 | 2020-11-23T19:27:06.000Z | 2020-12-21T17:34:49.000Z | playground/control/attribs/event.py | phlax/playground | ca661f7adcc2c3502f63e630c96e87e31aa9309a | [
"Apache-2.0"
] | 2 | 2020-11-24T09:49:29.000Z | 2020-12-30T10:39:10.000Z | # -*- coding: utf-8 -*-
import attr
from playground.control.attribs.base import ValidatingAttribs
@attr.s(kw_only=True)
class ContainerEventAttribs(ValidatingAttribs):
id = attr.ib(type=str)
name = attr.ib(type=str)
status = attr.ib(type=str)
action = attr.ib(type=str)
attributes = attr.ib(type=... | 27.5 | 61 | 0.674641 | 291 | 2,090 | 4.797251 | 0.151203 | 0.163324 | 0.272206 | 0.270057 | 0.751433 | 0.747135 | 0.680516 | 0.616046 | 0.616046 | 0.580229 | 0 | 0.000571 | 0.161722 | 2,090 | 75 | 62 | 27.866667 | 0.796233 | 0.010048 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035714 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
6adac87e8a130f81d3591d0c9d2d2e0bbf307813 | 113 | py | Python | python/demo_queries/volumes/treatments_by_volume.py | jocelynpender/fna-query | e538563f63eaea7b4bc84b7446e7ed7b53001774 | [
"MIT"
] | null | null | null | python/demo_queries/volumes/treatments_by_volume.py | jocelynpender/fna-query | e538563f63eaea7b4bc84b7446e7ed7b53001774 | [
"MIT"
] | 6 | 2020-01-30T16:52:47.000Z | 2021-06-02T00:59:48.000Z | python/demo_queries/volumes/treatments_by_volume.py | jocelynpender/fna-query | e538563f63eaea7b4bc84b7446e7ed7b53001774 | [
"MIT"
] | null | null | null | from src.query import *
if __name__ == '__main__':
ask_query("[[Volume::Volume 17]]", "taxa_volume_17.csv")
| 22.6 | 60 | 0.672566 | 16 | 113 | 4.0625 | 0.75 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 0.141593 | 113 | 4 | 61 | 28.25 | 0.628866 | 0 | 0 | 0 | 0 | 0 | 0.415929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 5 |
6ae77bdac90f207a6df929bff6e8975c356091fa | 78 | py | Python | tasks/ALL_IN_ONE.py | link-money/distribution_robot-master | 4c35d80b8b74b6549529d147277981d593a24402 | [
"MIT"
] | null | null | null | tasks/ALL_IN_ONE.py | link-money/distribution_robot-master | 4c35d80b8b74b6549529d147277981d593a24402 | [
"MIT"
] | null | null | null | tasks/ALL_IN_ONE.py | link-money/distribution_robot-master | 4c35d80b8b74b6549529d147277981d593a24402 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
import distribute_link_to_wechat
import send_orders
| 13 | 32 | 0.74359 | 11 | 78 | 4.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.141026 | 78 | 5 | 33 | 15.6 | 0.791045 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
0a8de6d50ce7847f3ea6adec89a2c1548126ecc7 | 50 | py | Python | aula03/exec10.py | miguelviladev/programming-fundamentals | 1a4cad5fabca00acdb4fc4eaf8ed637c54e57d3b | [
"CC0-1.0"
] | 6 | 2021-11-21T13:12:57.000Z | 2022-01-13T00:39:40.000Z | aula03/exec10.py | miguelviladev/programming-fundamentals | 1a4cad5fabca00acdb4fc4eaf8ed637c54e57d3b | [
"CC0-1.0"
] | null | null | null | aula03/exec10.py | miguelviladev/programming-fundamentals | 1a4cad5fabca00acdb4fc4eaf8ed637c54e57d3b | [
"CC0-1.0"
] | null | null | null | def hms2sec(h, m, s):
return h*3600 + m*60 + s | 25 | 28 | 0.56 | 11 | 50 | 2.545455 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 0.26 | 50 | 2 | 28 | 25 | 0.567568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
0aa146e803a41d2261e3b0d3cfb9aacc62201c2f | 107 | py | Python | examples/shapes/shapes/__init__.py | SerpentAI/offshoot | 7906a95aeee511ca4ecd431ed5de1f779d2a13ab | [
"Apache-2.0"
] | 42 | 2017-01-23T22:36:03.000Z | 2021-11-14T21:22:17.000Z | examples/shapes/shapes/__init__.py | SerpentAI/offshoot | 7906a95aeee511ca4ecd431ed5de1f779d2a13ab | [
"Apache-2.0"
] | 1 | 2017-09-15T18:37:10.000Z | 2017-09-15T18:37:10.000Z | examples/shapes/shapes/__init__.py | SerpentAI/offshoot | 7906a95aeee511ca4ecd431ed5de1f779d2a13ab | [
"Apache-2.0"
] | 6 | 2017-04-14T13:07:27.000Z | 2020-06-17T06:24:18.000Z | from shapes.square import Square
# Discover plugins
import offshoot
offshoot.discover("Shape", globals())
| 17.833333 | 37 | 0.794393 | 13 | 107 | 6.538462 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 107 | 5 | 38 | 21.4 | 0.894737 | 0.149533 | 0 | 0 | 0 | 0 | 0.05618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0aaccaad5f9315b65819d287404e78255877baf8 | 35 | py | Python | __init__.py | gabrielhuang/TheNumericsOfGANs | d7208f40f36634add9aa7b2e3bf09b4b60c8b37f | [
"MIT"
] | 46 | 2017-11-02T02:52:22.000Z | 2021-12-18T17:41:23.000Z | __init__.py | gabrielhuang/TheNumericsOfGANs | d7208f40f36634add9aa7b2e3bf09b4b60c8b37f | [
"MIT"
] | 2 | 2017-10-31T14:35:30.000Z | 2021-11-18T03:30:29.000Z | __init__.py | gabrielhuang/TheNumericsOfGANs | d7208f40f36634add9aa7b2e3bf09b4b60c8b37f | [
"MIT"
] | 13 | 2017-10-17T06:51:30.000Z | 2020-03-05T03:43:23.000Z | from autoencoders import avae, vae
| 17.5 | 34 | 0.828571 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.966667 | 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 | 0 | 0 | 0 | 5 |
0ab26892713b6e953e4d711a6c999e7cf5c0a743 | 102 | py | Python | bng_latlon/__init__.py | fmalina/bng_to_latlon | 3c94bdf7160ce98ff9829f4dc86265438730de0c | [
"MIT"
] | 4 | 2020-11-11T03:20:29.000Z | 2021-06-09T15:50:09.000Z | bng_latlon/__init__.py | fmalina/bng_to_latlon | 3c94bdf7160ce98ff9829f4dc86265438730de0c | [
"MIT"
] | 3 | 2020-11-12T14:23:03.000Z | 2022-01-06T11:55:22.000Z | bng_latlon/__init__.py | fmalina/bng_to_latlon | 3c94bdf7160ce98ff9829f4dc86265438730de0c | [
"MIT"
] | 1 | 2021-10-01T00:12:18.000Z | 2021-10-01T00:12:18.000Z | from bng_latlon.bng_to_latlon import OSGB36toWGS84
from bng_latlon.latlon_to_bng import WGS84toOSGB36
| 34 | 50 | 0.901961 | 16 | 102 | 5.375 | 0.4375 | 0.162791 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0.078431 | 102 | 2 | 51 | 51 | 0.829787 | 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 | 0 | 0 | 0 | 5 |
0ae4b6b242822fece70f0c84a52e2006c19f9e83 | 405 | py | Python | dialogs/__init__.py | swprojects/Serial-Sequence-Creator | cf468a3db777d6b4348fd53d1daa8432f6889f11 | [
"MIT"
] | 1 | 2018-10-29T20:10:43.000Z | 2018-10-29T20:10:43.000Z | dialogs/__init__.py | swprojects/Serial-Sequence-Creator | cf468a3db777d6b4348fd53d1daa8432f6889f11 | [
"MIT"
] | null | null | null | dialogs/__init__.py | swprojects/Serial-Sequence-Creator | cf468a3db777d6b4348fd53d1daa8432f6889f11 | [
"MIT"
] | 1 | 2018-10-29T20:11:31.000Z | 2018-10-29T20:11:31.000Z | from dialogs import delay
from dialogs import initialiser
from dialogs import setvoltage
from dialogs import stepvoltage
from dialogs import readvoltage
from dialogs import sendreceive
from dialogs import test
from dialogs import setup
from dialogs import addfunction
from dialogs import callfunction
from dialogs imp... | 27 | 34 | 0.866667 | 52 | 405 | 6.75 | 0.307692 | 0.407407 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 405 | 15 | 35 | 27 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0ae58fb4f91c2cb2633e875c66734245d753b08d | 396,975 | py | Python | Base.py | okxjd/processing_ng | accc304d2a2606f1fa09872d5020bde11389299c | [
"MIT"
] | null | null | null | Base.py | okxjd/processing_ng | accc304d2a2606f1fa09872d5020bde11389299c | [
"MIT"
] | null | null | null | Base.py | okxjd/processing_ng | accc304d2a2606f1fa09872d5020bde11389299c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import logging
TPL_FORMAT = {\
'ten': [
{'1': ('kn', '66:0')}, {'1': ('kn', '66:1')}, {'1': ('kn', '66:2')}, {'1': ('kn', '66:3')},
{'1': ('kn', '66:4')}, {'1': ('kn', '66:5')}, {'1': ('kn', '66:6')}, {'1': ('kn', '66:7')}
],
'dis... | 26.698164 | 116 | 0.283297 | 59,987 | 396,975 | 1.874706 | 0.0021 | 0.200555 | 0.334258 | 0.007407 | 0.021804 | 0.005816 | 0.00562 | 0.00562 | 0.00562 | 0.00562 | 0 | 0.370483 | 0.33815 | 396,975 | 14,869 | 117 | 26.698164 | 0.05754 | 0.000106 | 0 | 0.000135 | 0 | 0 | 0.372623 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000067 | 0 | 0.000067 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0ae706c9954ff13c7bd95dfdd68d959873e24001 | 132 | py | Python | countryInfo/landingParser.py | berylxzhang/Covid-Web | 4a2e74545270928047952eafc5c465dab876f914 | [
"MIT"
] | null | null | null | countryInfo/landingParser.py | berylxzhang/Covid-Web | 4a2e74545270928047952eafc5c465dab876f914 | [
"MIT"
] | null | null | null | countryInfo/landingParser.py | berylxzhang/Covid-Web | 4a2e74545270928047952eafc5c465dab876f914 | [
"MIT"
] | null | null | null | from bs4 import BeautifulSoup
from datetime import datetime, timedelta
import requests
import json
import math
import csv
import re | 16.5 | 40 | 0.848485 | 19 | 132 | 5.894737 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00885 | 0.143939 | 132 | 8 | 41 | 16.5 | 0.982301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
0ae753b4e63dac2dea159634308b941339a985b9 | 42 | py | Python | run.py | julianparismorgan/duke-information-bot | cd631f1e4d8dae9708ef15564892814870ed9ddf | [
"Apache-2.0"
] | null | null | null | run.py | julianparismorgan/duke-information-bot | cd631f1e4d8dae9708ef15564892814870ed9ddf | [
"Apache-2.0"
] | null | null | null | run.py | julianparismorgan/duke-information-bot | cd631f1e4d8dae9708ef15564892814870ed9ddf | [
"Apache-2.0"
] | null | null | null | from main import app
app.run(debug=True)
| 10.5 | 20 | 0.761905 | 8 | 42 | 4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 3 | 21 | 14 | 0.888889 | 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 | 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 | 5 |
0af2fd5e8c4ff4fc61d64c49d91851fe8597f21b | 1,902 | py | Python | imagersite/imager_images/models.py | famavott/django-imager | a9867656af7a665f81574c1be5d50a2a703b4af4 | [
"MIT"
] | null | null | null | imagersite/imager_images/models.py | famavott/django-imager | a9867656af7a665f81574c1be5d50a2a703b4af4 | [
"MIT"
] | 1 | 2017-11-27T05:32:39.000Z | 2017-11-27T05:32:39.000Z | imagersite/imager_images/models.py | famavott/django-imager | a9867656af7a665f81574c1be5d50a2a703b4af4 | [
"MIT"
] | null | null | null | """Models for imager_images app."""
from django.db import models
from imager_profile.models import ImagerProfile
class Photo(models.Model):
"""Create a photo model."""
user = models.ForeignKey(ImagerProfile, related_name='photo', on_delete=models.CASCADE)
imgfile = models.ImageField(upload_to='images')
... | 31.7 | 91 | 0.663512 | 217 | 1,902 | 5.645161 | 0.276498 | 0.051429 | 0.112653 | 0.127347 | 0.781224 | 0.732245 | 0.732245 | 0.652245 | 0.652245 | 0.652245 | 0 | 0.005309 | 0.207676 | 1,902 | 59 | 92 | 32.237288 | 0.807565 | 0.064143 | 0 | 0.711111 | 0 | 0 | 0.065564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044444 | false | 0 | 0.044444 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
e401774efdc497b57e8ff72b264698f27ca77e3a | 184 | py | Python | moni-moni/server/server/apps/catalogue/managers.py | amal-thundiyil/fundrize-dapp | 7dceb0239f15c7348ab4ad2bed189c90bf54dde6 | [
"MIT"
] | null | null | null | moni-moni/server/server/apps/catalogue/managers.py | amal-thundiyil/fundrize-dapp | 7dceb0239f15c7348ab4ad2bed189c90bf54dde6 | [
"MIT"
] | null | null | null | moni-moni/server/server/apps/catalogue/managers.py | amal-thundiyil/fundrize-dapp | 7dceb0239f15c7348ab4ad2bed189c90bf54dde6 | [
"MIT"
] | 2 | 2022-02-26T18:30:01.000Z | 2022-02-27T05:17:49.000Z | from django.db import models
class FundraiserManager(models.Manager):
def get_queryset(self):
return super(FundraiserManager, self).get_queryset().filter(is_active=True)
| 26.285714 | 83 | 0.766304 | 23 | 184 | 6 | 0.782609 | 0.15942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13587 | 184 | 6 | 84 | 30.666667 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
7c57539ca9311ec330adf347094948d8ab994ff5 | 165 | py | Python | inst/python/src/inference/ewsNET_generic.py | duncanobrien/EWSmethods | 7f33c3288e141512da95d5e8a5add3d7e8e4cc54 | [
"MIT"
] | null | null | null | inst/python/src/inference/ewsNET_generic.py | duncanobrien/EWSmethods | 7f33c3288e141512da95d5e8a5add3d7e8e4cc54 | [
"MIT"
] | null | null | null | inst/python/src/inference/ewsNET_generic.py | duncanobrien/EWSmethods | 7f33c3288e141512da95d5e8a5add3d7e8e4cc54 | [
"MIT"
] | null | null | null | import os
import numpy as np
from numpy.random import seed
seed(1)
from tensorflow.random import set_seed
set_seed(2)
from python.src.inference.ewsnet import EWSNet
| 20.625 | 46 | 0.824242 | 29 | 165 | 4.62069 | 0.551724 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013793 | 0.121212 | 165 | 7 | 47 | 23.571429 | 0.910345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 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 | 0 | 1 | 0 | 0 | 5 |
7ccc2ebf71221ce918ed40f146f65cd481363fe1 | 8,812 | py | Python | tftk/image/dataset/classification.py | kitfactory/tftk | 5cae0a96b99eecb6f64922068c162f973eebba71 | [
"MIT"
] | 6 | 2020-03-09T00:18:08.000Z | 2021-11-08T09:27:19.000Z | tftk/image/dataset/classification.py | kitfactory/tftk | 5cae0a96b99eecb6f64922068c162f973eebba71 | [
"MIT"
] | 2 | 2022-02-10T07:34:22.000Z | 2022-03-12T01:10:05.000Z | tftk/image/dataset/classification.py | kitfactory/tftk | 5cae0a96b99eecb6f64922068c162f973eebba71 | [
"MIT"
] | null | null | null | import os
import glob
from typing import List,Dict
import shutil
import tensorflow as tf
import tensorflow_datasets as tfds
from icrawler.builtin import BingImageCrawler
from tftk.image.dataset import BaseDataset
from typing import Tuple
class Mnist(BaseDataset):
@classmethod
def get_train_dataset(cls,**kwar... | 36.263374 | 164 | 0.655356 | 1,102 | 8,812 | 5.085299 | 0.128857 | 0.037473 | 0.081906 | 0.086724 | 0.7707 | 0.759814 | 0.743041 | 0.71788 | 0.703961 | 0.691113 | 0 | 0.00987 | 0.20665 | 8,812 | 242 | 165 | 36.413223 | 0.791732 | 0.087494 | 0 | 0.551948 | 0 | 0 | 0.072993 | 0.005635 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.058442 | 0.032468 | 0.480519 | 0.012987 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7ccfef191ddea4faf4194ff51501b0efc66436c8 | 27 | py | Python | pathtree/__init__.py | skylerlee/pathtree | 7c76f0748562ff51da20de369cf178f13a5edb22 | [
"MIT"
] | null | null | null | pathtree/__init__.py | skylerlee/pathtree | 7c76f0748562ff51da20de369cf178f13a5edb22 | [
"MIT"
] | null | null | null | pathtree/__init__.py | skylerlee/pathtree | 7c76f0748562ff51da20de369cf178f13a5edb22 | [
"MIT"
] | null | null | null | from .pathtree import Tree
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7cfa284a426257bcc1c640df564aa82fd0a787ed | 278 | py | Python | home/views.py | mamad-azimi-jozani/django | 23bf60265116bcaa91c873f96f80537b2d763990 | [
"MIT"
] | null | null | null | home/views.py | mamad-azimi-jozani/django | 23bf60265116bcaa91c873f96f80537b2d763990 | [
"MIT"
] | null | null | null | home/views.py | mamad-azimi-jozani/django | 23bf60265116bcaa91c873f96f80537b2d763990 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def index_view(request):
return render(request,"home/index.html")
def about_view(request):
return render(request,"home/about.html")
def contact_view(request):
return render(request,"home/contact.html") | 25.272727 | 46 | 0.755396 | 39 | 278 | 5.307692 | 0.461538 | 0.15942 | 0.246377 | 0.333333 | 0.492754 | 0.492754 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125899 | 278 | 11 | 46 | 25.272727 | 0.851852 | 0.082734 | 0 | 0 | 0 | 0 | 0.185039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
7cfdcbf20b4d4b5e94ffd6aa3cd7c0e6517fd25e | 54 | py | Python | theisle/__init__.py | gquarles/theisle | 5170ebcbfbe1ec58d63c44385f008b830be037e7 | [
"MIT"
] | null | null | null | theisle/__init__.py | gquarles/theisle | 5170ebcbfbe1ec58d63c44385f008b830be037e7 | [
"MIT"
] | null | null | null | theisle/__init__.py | gquarles/theisle | 5170ebcbfbe1ec58d63c44385f008b830be037e7 | [
"MIT"
] | null | null | null | from .Server import Server
from .Player import Player
| 18 | 26 | 0.814815 | 8 | 54 | 5.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 2 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 5 |
6b34fdfad2cd1e7890829c56bb4ef4ab59026aca | 11,347 | py | Python | tests/text/test_bertscore.py | bpkwee/metrics | 3aba057ad9ff87183aaaf5988b8ccfdab81b2095 | [
"Apache-2.0"
] | 1 | 2022-03-22T08:49:04.000Z | 2022-03-22T08:49:04.000Z | tests/text/test_bertscore.py | bpkwee/metrics | 3aba057ad9ff87183aaaf5988b8ccfdab81b2095 | [
"Apache-2.0"
] | null | null | null | tests/text/test_bertscore.py | bpkwee/metrics | 3aba057ad9ff87183aaaf5988b8ccfdab81b2095 | [
"Apache-2.0"
] | null | null | null | import os
from typing import Any, Dict, List
import numpy as np
import pytest
import torch
import torch.distributed as dist
import torch.multiprocessing as mp
from torchmetrics.functional.text.bert import bert_score as metrics_bert_score
from torchmetrics.text.bert import BERTScore
from torchmetrics.utilities.imports... | 35.130031 | 120 | 0.728827 | 1,549 | 11,347 | 5.040671 | 0.127824 | 0.090676 | 0.058786 | 0.045722 | 0.79854 | 0.772541 | 0.766906 | 0.757941 | 0.741803 | 0.727203 | 0 | 0.007182 | 0.165594 | 11,347 | 322 | 121 | 35.23913 | 0.81749 | 0.067683 | 0 | 0.6 | 0 | 0.041667 | 0.102029 | 0.002096 | 0 | 0 | 0 | 0 | 0.058333 | 1 | 0.066667 | false | 0 | 0.045833 | 0 | 0.116667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
860dcae6d737c1948ed120f2d6f0dc219223b867 | 14,228 | py | Python | autotest/t012_test.py | Gael-de-Sailly/flopy | 4104cf5e6a35e2a1fd6183442962ae5cb258fa7a | [
"CC0-1.0",
"BSD-3-Clause"
] | null | null | null | autotest/t012_test.py | Gael-de-Sailly/flopy | 4104cf5e6a35e2a1fd6183442962ae5cb258fa7a | [
"CC0-1.0",
"BSD-3-Clause"
] | null | null | null | autotest/t012_test.py | Gael-de-Sailly/flopy | 4104cf5e6a35e2a1fd6183442962ae5cb258fa7a | [
"CC0-1.0",
"BSD-3-Clause"
] | null | null | null | # Test loading of MODFLOW and MT3D models that come with MT3D distribution
import os
import sys
import flopy
pthtest = os.path.join('..', 'examples', 'data', 'mt3d_test')
pth2005 = os.path.join(pthtest, 'mf2005mt3d')
pth2000 = os.path.join(pthtest, 'mf2kmt3d')
pthNWT = os.path.join(pthtest, 'mfnwt_mt3dusgs')
newpth =... | 33.477647 | 79 | 0.586379 | 1,843 | 14,228 | 4.393923 | 0.091698 | 0.041492 | 0.049395 | 0.051618 | 0.783527 | 0.73796 | 0.733514 | 0.725488 | 0.722154 | 0.721166 | 0 | 0.031319 | 0.304329 | 14,228 | 424 | 80 | 33.556604 | 0.786826 | 0.047301 | 0 | 0.664634 | 0 | 0 | 0.091245 | 0 | 0 | 0 | 0 | 0 | 0.094512 | 1 | 0.036585 | false | 0 | 0.009146 | 0 | 0.082317 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
861c79202d3018270e1e3c3e4e86d5e7b41a9e20 | 42 | py | Python | src/ekpmeasure/control/instruments/tektronix3252/__init__.py | cjfinnell/ekpmeasure | e6611c053cad28e06f4f8a94764ebe3805cddb15 | [
"MIT"
] | null | null | null | src/ekpmeasure/control/instruments/tektronix3252/__init__.py | cjfinnell/ekpmeasure | e6611c053cad28e06f4f8a94764ebe3805cddb15 | [
"MIT"
] | null | null | null | src/ekpmeasure/control/instruments/tektronix3252/__init__.py | cjfinnell/ekpmeasure | e6611c053cad28e06f4f8a94764ebe3805cddb15 | [
"MIT"
] | null | null | null | from .core import *
from ._utils import *
| 14 | 21 | 0.714286 | 6 | 42 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 22 | 21 | 0.852941 | 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 | 0 | 0 | 0 | 5 |
864f345087aa477a3bbf139a5b5e9d286a743963 | 206 | py | Python | src/grokcore/view/tests/base/view/templatedirectory_with_path_sep_fixture.py | zopefoundation/grokcore.view | c574c0d041130ac607c95feb610a2b75bfc30abf | [
"ZPL-2.1"
] | null | null | null | src/grokcore/view/tests/base/view/templatedirectory_with_path_sep_fixture.py | zopefoundation/grokcore.view | c574c0d041130ac607c95feb610a2b75bfc30abf | [
"ZPL-2.1"
] | 8 | 2016-02-02T13:42:20.000Z | 2022-02-16T07:06:52.000Z | src/grokcore/view/tests/base/view/templatedirectory_with_path_sep_fixture.py | zopefoundation/grokcore.view | c574c0d041130ac607c95feb610a2b75bfc30abf | [
"ZPL-2.1"
] | 5 | 2015-04-03T05:01:45.000Z | 2018-06-13T08:41:30.000Z | """
This should fail because you can not use path separator in templatedir
directive.
"""
import grokcore.view as grok
import os.path
grok.templatedir('templatedirectoryname' + os.path.sep + 'subdirname')
| 22.888889 | 70 | 0.771845 | 28 | 206 | 5.678571 | 0.785714 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131068 | 206 | 8 | 71 | 25.75 | 0.888268 | 0.393204 | 0 | 0 | 0 | 0 | 0.264957 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8676563efd35f8154e999e7ec58bf767944bf5da | 214 | py | Python | poop/hfdp/command/simpleremote/light_off_command.py | cassiobotaro/poop | fc218fbf638c50da8ea98dab7de26ad2a52e83f5 | [
"MIT"
] | 37 | 2020-12-27T00:13:07.000Z | 2022-01-31T19:30:18.000Z | poop/hfdp/command/simpleremote/light_off_command.py | cassiobotaro/poop | fc218fbf638c50da8ea98dab7de26ad2a52e83f5 | [
"MIT"
] | null | null | null | poop/hfdp/command/simpleremote/light_off_command.py | cassiobotaro/poop | fc218fbf638c50da8ea98dab7de26ad2a52e83f5 | [
"MIT"
] | 7 | 2020-12-26T22:33:47.000Z | 2021-11-07T01:29:59.000Z | from poop.hfdp.command.simpleremote.light import Light
class LightOffCommand:
def __init__(self, light: Light) -> None:
self.__light = light
def execute(self) -> None:
self.__light.off()
| 21.4 | 54 | 0.672897 | 26 | 214 | 5.230769 | 0.576923 | 0.198529 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219626 | 214 | 9 | 55 | 23.777778 | 0.814371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
86bee91e705904cece9972c4535be3dc34e3f158 | 72 | py | Python | tests/integration/__init__.py | DataScienceHobbyGroup/nacho-b | e4cfc62f2daa45cb939bb544491cdb1c1a7294ef | [
"MIT"
] | null | null | null | tests/integration/__init__.py | DataScienceHobbyGroup/nacho-b | e4cfc62f2daa45cb939bb544491cdb1c1a7294ef | [
"MIT"
] | 1 | 2021-04-30T22:09:21.000Z | 2021-04-30T22:09:21.000Z | tests/integration/__init__.py | DataScienceHobbyGroup/nacho-b | e4cfc62f2daa45cb939bb544491cdb1c1a7294ef | [
"MIT"
] | null | null | null | """
TODO: Add description.
Date: 2021-05-27
Author: Vitali Lupusor
"""
| 10.285714 | 22 | 0.680556 | 10 | 72 | 4.9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 0.152778 | 72 | 6 | 23 | 12 | 0.672131 | 0.875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.166667 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
86e47d1023749a947a6d43382a8b11cc309ebba4 | 95 | py | Python | Language Proficiency (Python)/ginortS.py | Muntaha-Islam0019/HackerRank-Solutions | caa687aab67461aba69026d3bdc44b62c1dec1c9 | [
"MIT"
] | null | null | null | Language Proficiency (Python)/ginortS.py | Muntaha-Islam0019/HackerRank-Solutions | caa687aab67461aba69026d3bdc44b62c1dec1c9 | [
"MIT"
] | null | null | null | Language Proficiency (Python)/ginortS.py | Muntaha-Islam0019/HackerRank-Solutions | caa687aab67461aba69026d3bdc44b62c1dec1c9 | [
"MIT"
] | null | null | null | import string
print(*sorted(input(), key=(string.ascii_letters + '1357902468').index), sep='')
| 31.666667 | 80 | 0.715789 | 12 | 95 | 5.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0.073684 | 95 | 2 | 81 | 47.5 | 0.647727 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 0 | 1 | 0 | 5 |
86f6e059547de8768008c98f04bc75f520548260 | 128 | py | Python | skimage/filters/rank/tests/__init__.py | thewtex/scikit-image | 22bb6b94698b8889cbdf26b25d9e4fdb8b968d97 | [
"BSD-3-Clause"
] | 5 | 2022-01-05T00:41:46.000Z | 2022-03-21T07:22:58.000Z | skimage/filters/rank/tests/__init__.py | thewtex/scikit-image | 22bb6b94698b8889cbdf26b25d9e4fdb8b968d97 | [
"BSD-3-Clause"
] | 30 | 2020-04-15T19:37:40.000Z | 2020-04-22T21:19:35.000Z | skimage/filters/rank/tests/__init__.py | thewtex/scikit-image | 22bb6b94698b8889cbdf26b25d9e4fdb8b968d97 | [
"BSD-3-Clause"
] | 20 | 2021-11-07T13:55:56.000Z | 2021-12-02T10:54:01.000Z | from ...._shared.testing import setup_test, teardown_test
def setup():
setup_test()
def teardown():
teardown_test()
| 12.8 | 57 | 0.695313 | 16 | 128 | 5.25 | 0.5 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179688 | 128 | 9 | 58 | 14.222222 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
813fb3904d56b7b51a21d2597806e43861a00f8a | 472 | py | Python | cloudless/providers/aws_mock/__init__.py | SYU15/cloudless | 4a68c6d0b29dee997aadc89136918d75f374635f | [
"Apache-2.0"
] | null | null | null | cloudless/providers/aws_mock/__init__.py | SYU15/cloudless | 4a68c6d0b29dee997aadc89136918d75f374635f | [
"Apache-2.0"
] | null | null | null | cloudless/providers/aws_mock/__init__.py | SYU15/cloudless | 4a68c6d0b29dee997aadc89136918d75f374635f | [
"Apache-2.0"
] | null | null | null | """
The Mock AWS provider will provision resources using a library called `moto`, which is a mock client
for Amazon Web Services. This means that no resources will get provisioned, but cloudless will see
what you create for the duration of your session.
You should not use this directly, but instead pass in the string... | 47.2 | 100 | 0.779661 | 76 | 472 | 4.828947 | 0.710526 | 0.038147 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158898 | 472 | 9 | 101 | 52.444444 | 0.924433 | 0.824153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d4ec94e07f6b492c5816a95f3f4b265e263dc30b | 53 | py | Python | examples/hello_world/hello.py | syegulalp/pypacker | 6b8da415747e0cc1eb6f2af70bf005c911d15620 | [
"MIT"
] | 8 | 2021-10-19T12:59:54.000Z | 2022-03-15T18:37:32.000Z | examples/hello_world/hello.py | syegulalp/pypacker | 6b8da415747e0cc1eb6f2af70bf005c911d15620 | [
"MIT"
] | 1 | 2022-03-15T01:13:12.000Z | 2022-03-18T13:58:50.000Z | examples/hello_world/hello.py | syegulalp/pypacker | 6b8da415747e0cc1eb6f2af70bf005c911d15620 | [
"MIT"
] | 2 | 2021-12-25T00:10:59.000Z | 2022-02-09T04:29:53.000Z | print("Hello world")
input("Press enter to continue") | 26.5 | 32 | 0.754717 | 8 | 53 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 53 | 2 | 32 | 26.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
d4f5bf2f5d934f120c8dc4bba933acee387e133c | 26,577 | py | Python | webmd/webmd/spiders/webmd_spider.py | 27pirateking/panacea-scraper | 19c6876eff4fe709fde40f9673156d39f7efd340 | [
"MIT"
] | null | null | null | webmd/webmd/spiders/webmd_spider.py | 27pirateking/panacea-scraper | 19c6876eff4fe709fde40f9673156d39f7efd340 | [
"MIT"
] | null | null | null | webmd/webmd/spiders/webmd_spider.py | 27pirateking/panacea-scraper | 19c6876eff4fe709fde40f9673156d39f7efd340 | [
"MIT"
] | null | null | null | from scrapy import Spider, Request
from scrapy.selector import Selector
from webmd.items import WebmdItem
import urllib
import re
headers = {'User-Agent': 'Chrome/56.0.2924.87', 'enc_data': 'OXYIMo2UzzqFUzYszFv4lWP6aDP0r+h4AOC2fYVQIl8=', 'timestamp': 'Thu, 09 Feb 2017 02:11:34 GMT', 'client_id': '3454df96-c7a5-47bb-a7... | 45.664948 | 206 | 0.483877 | 2,256 | 26,577 | 5.676418 | 0.106383 | 0.081524 | 0.033968 | 0.032797 | 0.794081 | 0.769327 | 0.742933 | 0.716149 | 0.681165 | 0.667656 | 0 | 0.011511 | 0.365843 | 26,577 | 582 | 207 | 45.664948 | 0.748309 | 0.005757 | 0 | 0.731006 | 0 | 0.030801 | 0.225747 | 0.080851 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020534 | false | 0 | 0.010267 | 0 | 0.039014 | 0.01232 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
be29a53e86adde4c085c3e6261fff6293a949e87 | 3,968 | py | Python | model.py | mengyuethu/myRL_pytorch | 870d5a801af85f2d43230f193b95c19dd7bb4ee7 | [
"MIT"
] | null | null | null | model.py | mengyuethu/myRL_pytorch | 870d5a801af85f2d43230f193b95c19dd7bb4ee7 | [
"MIT"
] | null | null | null | model.py | mengyuethu/myRL_pytorch | 870d5a801af85f2d43230f193b95c19dd7bb4ee7 | [
"MIT"
] | null | null | null | import numpy as np
import torch
import torch.nn as nn
class Double_DQN(nn.Module):
def __init__(self, input_img_size, input_channels, output_channels):
super(Double_DQN, self).__init__()
self.input_img_size = input_img_size
self.in_features_linear = int(pow(((((input_img_size - 8)/4+1)-4)... | 41.768421 | 104 | 0.642893 | 615 | 3,968 | 3.949594 | 0.123577 | 0.074105 | 0.11198 | 0.10704 | 0.795389 | 0.795389 | 0.774393 | 0.774393 | 0.774393 | 0.716756 | 0 | 0.06467 | 0.208921 | 3,968 | 94 | 105 | 42.212766 | 0.709143 | 0 | 0 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.039474 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
be2aa077fccc6bd941001b058be6fa7c9f1d0141 | 1,012 | py | Python | input_files/dag_20_input.py | harkabeeparolus/kodkalender-2020 | ad6ca9c6e067ad206c54854771c8c6bb1bf27cfa | [
"MIT"
] | null | null | null | input_files/dag_20_input.py | harkabeeparolus/kodkalender-2020 | ad6ca9c6e067ad206c54854771c8c6bb1bf27cfa | [
"MIT"
] | null | null | null | input_files/dag_20_input.py | harkabeeparolus/kodkalender-2020 | ad6ca9c6e067ad206c54854771c8c6bb1bf27cfa | [
"MIT"
] | null | null | null | instruktioner = ['s', 's', 's', 'w', 's', 's', 'a', 'a', 'w', 's', 's', 's', 'a', 'd', 'd', 's', 'a', 's', 'a', 'd', 'd', 'w', 'a', 'a', 'a', 'w', 'a', 'a', 's', 'w', 's', 's', 'w', 's', 'd', 'd', 'd', 'w', 'd', 's', 's', 's', 'w', 's', 's', 'd', 'w', 's', 'a', 'd', 's', 's', 's', 'd', 'w', 'd', 'a', 's', 'w', 'a', 'd'... | 506 | 1,011 | 0.209486 | 200 | 1,012 | 1.06 | 0.025 | 0.169811 | 0.113208 | 0.09434 | 0.5 | 0.207547 | 0.150943 | 0.150943 | 0 | 0 | 0 | 0 | 0.198617 | 1,012 | 1 | 1,012 | 1,012 | 0.261406 | 0 | 0 | 0 | 0 | 0 | 0.19664 | 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 | 0 | 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 | 5 |
078b388e0f29d996c31e941e2dcf511a28cd971a | 59 | py | Python | Game21/modules/sprites/__init__.py | ttkaixin1998/pikachupythongames | 609a3a5a2be3f5a187c332c7980bb5bb14548f02 | [
"MIT"
] | 4,013 | 2018-06-16T08:00:02.000Z | 2022-03-30T11:48:14.000Z | Game21/modules/sprites/__init__.py | pigbearcat/Games | b8c47ef1bcce9a9db3f3730c162e6e8e08b508a2 | [
"MIT"
] | 22 | 2018-10-18T00:15:50.000Z | 2022-01-13T08:16:15.000Z | Game21/modules/sprites/__init__.py | pigbearcat/Games | b8c47ef1bcce9a9db3f3730c162e6e8e08b508a2 | [
"MIT"
] | 2,172 | 2018-07-20T04:03:14.000Z | 2022-03-31T14:18:29.000Z | '''初始化'''
from .mole import Mole
from .hammer import Hammer | 19.666667 | 26 | 0.728814 | 9 | 59 | 4.777778 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 3 | 26 | 19.666667 | 0.843137 | 0.050847 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
07ac4ca68d139d5d26c9ab59386078c6ca71bf26 | 16,319 | py | Python | fastestimator/util/util_test.py | rajesh1226/fastestimator | 0765c7478c0889cf4e2841d51a35c9a06a406472 | [
"Apache-2.0"
] | 1 | 2019-12-17T22:43:08.000Z | 2019-12-17T22:43:08.000Z | fastestimator/util/util_test.py | rajesh1226/fastestimator | 0765c7478c0889cf4e2841d51a35c9a06a406472 | [
"Apache-2.0"
] | null | null | null | fastestimator/util/util_test.py | rajesh1226/fastestimator | 0765c7478c0889cf4e2841d51a35c9a06a406472 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 The FastEstimator Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | 42.497396 | 118 | 0.559654 | 1,719 | 16,319 | 5.013962 | 0.132054 | 0.063813 | 0.073906 | 0.108017 | 0.778861 | 0.756468 | 0.733032 | 0.721197 | 0.71296 | 0.689871 | 0 | 0.066892 | 0.221337 | 16,319 | 383 | 119 | 42.608355 | 0.611395 | 0.157485 | 0 | 0.523333 | 0 | 0 | 0.093597 | 0.02256 | 0 | 0 | 0 | 0 | 0.156667 | 1 | 0.156667 | false | 0 | 0.013333 | 0 | 0.176667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
07c880c2634ed3737e2a088598c572507782f3ed | 3,712 | py | Python | silo/benchmarks/results/istc3-8-1-13_compress.py | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 274 | 2015-01-23T16:24:09.000Z | 2022-02-22T03:16:14.000Z | silo/benchmarks/results/istc3-8-1-13_compress.py | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 3 | 2015-03-17T11:52:36.000Z | 2019-07-22T23:04:25.000Z | silo/benchmarks/results/istc3-8-1-13_compress.py | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 94 | 2015-01-07T06:55:36.000Z | 2022-01-22T08:14:15.000Z | RESULTS = [({'scale_factor': 1, 'db': 'ndb-proto2', 'par_load': False, 'threads': 1, 'log_compress': True, 'bench_opts': '', 'log_fake_writes': False, 'retry': False, 'log_nofsync': False, 'name': 'scale_tpcc', 'bench': 'tpcc', 'numa_memory': '4G', 'persist': True}, [(26529.8, 26529.8, 0.0375845, 86.9875, 0.0), (26590.... | 1,856 | 3,711 | 0.644935 | 586 | 3,712 | 3.947099 | 0.312287 | 0.021617 | 0.042802 | 0.054475 | 0.501946 | 0.501946 | 0.501946 | 0.385214 | 0.385214 | 0.385214 | 0 | 0.283448 | 0.099946 | 3,712 | 1 | 3,712 | 3,712 | 0.40886 | 0 | 0 | 0 | 0 | 0 | 0.330011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
07d862d023abe68c0a3a2328cad0b4ac0de855f1 | 183 | py | Python | src/elementary_flask/components/_component/__init__.py | xaled/flaskup | 265d410e01fd3bd50afa4f6f925e981ad1b13307 | [
"MIT"
] | null | null | null | src/elementary_flask/components/_component/__init__.py | xaled/flaskup | 265d410e01fd3bd50afa4f6f925e981ad1b13307 | [
"MIT"
] | null | null | null | src/elementary_flask/components/_component/__init__.py | xaled/flaskup | 265d410e01fd3bd50afa4f6f925e981ad1b13307 | [
"MIT"
] | null | null | null | from .component import *
from .container import *
# from .markup_plus import *
from .weak_component import *
__all__ = component.__all__ + weak_component.__all__ + container.__all__
| 26.142857 | 72 | 0.781421 | 22 | 183 | 5.636364 | 0.363636 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136612 | 183 | 6 | 73 | 30.5 | 0.78481 | 0.142077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
07deb7df52173f5e68b8ecbb4666117121189519 | 784 | py | Python | test_phile/__init__.py | BoniLindsley/phile | 87982e74491d20a6af723702d540ed9608b83df0 | [
"MIT"
] | null | null | null | test_phile/__init__.py | BoniLindsley/phile | 87982e74491d20a6af723702d540ed9608b83df0 | [
"MIT"
] | 21 | 2020-10-07T12:54:58.000Z | 2021-05-27T13:40:37.000Z | test_phile/__init__.py | BoniLindsley/phile | 87982e74491d20a6af723702d540ed9608b83df0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""
.. automodule:: test_phile.test_PySide2
.. automodule:: test_phile.test_asyncio
.. automodule:: test_phile.test_builtins
.. automodule:: test_phile.test_cmd
.. automodule:: test_phile.test_configuration
.. automodule:: test_phile.test_data
.. automodule:: test_phile.test_datetime
.. automodul... | 34.086957 | 45 | 0.78699 | 99 | 784 | 5.848485 | 0.272727 | 0.459413 | 0.623489 | 0.715026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002766 | 0.077806 | 784 | 22 | 46 | 35.636364 | 0.798064 | 0.987245 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6af24111a3df028e88a7bcbf2d1d5a8d7652f637 | 43 | py | Python | api/src/opentrons/hardware_control/scripts/__init__.py | anuwrag/opentrons | 28c8d76a19e367c6bd38f5290faaa32abf378715 | [
"Apache-2.0"
] | 2 | 2015-11-10T17:49:51.000Z | 2016-01-15T04:43:37.000Z | api/src/opentrons/hardware_control/scripts/__init__.py | anuwrag/opentrons | 28c8d76a19e367c6bd38f5290faaa32abf378715 | [
"Apache-2.0"
] | null | null | null | api/src/opentrons/hardware_control/scripts/__init__.py | anuwrag/opentrons | 28c8d76a19e367c6bd38f5290faaa32abf378715 | [
"Apache-2.0"
] | null | null | null | """Scripts for the hardware controller."""
| 21.5 | 42 | 0.72093 | 5 | 43 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.815789 | 0.837209 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ed08b378cc18f7df1a52a79a9fa053726a52db1c | 110 | py | Python | example/plugins/helloworld2.py | stevencnix/Plugin_Manager | b9014ae0a8b8a4c6e379860d63b69184053f7ff5 | [
"MIT"
] | null | null | null | example/plugins/helloworld2.py | stevencnix/Plugin_Manager | b9014ae0a8b8a4c6e379860d63b69184053f7ff5 | [
"MIT"
] | null | null | null | example/plugins/helloworld2.py | stevencnix/Plugin_Manager | b9014ae0a8b8a4c6e379860d63b69184053f7ff5 | [
"MIT"
] | null | null | null | class Plugin:
def __init__(self):
pass
def execute(self):
print("HELLO WORLD 2. :D")
| 15.714286 | 34 | 0.554545 | 14 | 110 | 4.071429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.327273 | 110 | 6 | 35 | 18.333333 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0.154545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
ed0aef10711622fe84757a602fa5f5474b8c8bd3 | 9,223 | py | Python | tests/test_reassembler.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 6,132 | 2015-08-06T23:24:47.000Z | 2022-03-31T21:49:34.000Z | tests/test_reassembler.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 2,272 | 2015-08-10T08:40:07.000Z | 2022-03-31T23:46:44.000Z | tests/test_reassembler.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 1,155 | 2015-08-06T23:37:39.000Z | 2022-03-31T05:54:11.000Z |
import sys
import platform
import os
import tempfile
import subprocess
import shutil
import angr
test_location = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', '..', 'binaries', 'tests')
# Note: Reassembler is intensively tested by Patcherex test cases on CGC binaries.
def is_linux_x64():
re... | 40.991111 | 115 | 0.677762 | 1,286 | 9,223 | 4.650078 | 0.163297 | 0.020067 | 0.0301 | 0.0301 | 0.779933 | 0.769231 | 0.747826 | 0.737793 | 0.716054 | 0.691639 | 0 | 0.020357 | 0.217066 | 9,223 | 224 | 116 | 41.174107 | 0.807783 | 0.255015 | 0 | 0.582734 | 0 | 0 | 0.074334 | 0.016096 | 0 | 0 | 0.007024 | 0 | 0.028777 | 1 | 0.057554 | false | 0 | 0.05036 | 0.007194 | 0.115108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ed6644716c4bca7de5c6d4aa548a7fce325f10b9 | 57 | py | Python | setup/code_seq2seq/seq2seq/dataset/__init__.py | anonmyous-author/anonymous-code | 3032e1b3fd41c57db6ca91ab86f39aebdf39bda8 | [
"MIT"
] | null | null | null | setup/code_seq2seq/seq2seq/dataset/__init__.py | anonmyous-author/anonymous-code | 3032e1b3fd41c57db6ca91ab86f39aebdf39bda8 | [
"MIT"
] | null | null | null | setup/code_seq2seq/seq2seq/dataset/__init__.py | anonmyous-author/anonymous-code | 3032e1b3fd41c57db6ca91ab86f39aebdf39bda8 | [
"MIT"
] | 1 | 2021-06-09T12:53:39.000Z | 2021-06-09T12:53:39.000Z | from .fields import SourceField, TargetField, FnameField
| 28.5 | 56 | 0.842105 | 6 | 57 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 57 | 1 | 57 | 57 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
71f3a14b9e0b9efbce586ce28d5c3be47aeb24b4 | 280 | py | Python | RecoCTPPS/ProtonReconstruction/python/ctppsProtons_cff.py | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | RecoCTPPS/ProtonReconstruction/python/ctppsProtons_cff.py | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | RecoCTPPS/ProtonReconstruction/python/ctppsProtons_cff.py | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | import FWCore.ParameterSet.Config as cms
from RecoCTPPS.ProtonReconstruction.ctppsProtons_cfi import *
# TODO: remove these lines once conditions data are available in DB
from CalibPPS.ESProducers.ctppsOpticalFunctions_cff import *
ctppsProtons.lhcInfoLabel = ctppsLHCInfoLabel
| 35 | 67 | 0.853571 | 32 | 280 | 7.40625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103571 | 280 | 7 | 68 | 40 | 0.944223 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9c442c9d249a37582642bb79245c80c7e7e05bed | 24 | py | Python | config/custom_components/ble_monitor/test/__init__.py | Poeschl/home-assistant-config | 380640bc46b14542866fbf8bbdc4218b2d58b55c | [
"MIT"
] | 820 | 2020-11-12T18:45:02.000Z | 2022-03-31T19:58:58.000Z | custom_components/ble_monitor/test/__init__.py | scrambledleek/ha_hacs_ble_monitor | abafc7a34312e695667325dbe97c309f20dd1527 | [
"MIT"
] | 541 | 2020-11-12T16:59:10.000Z | 2022-03-31T20:41:44.000Z | custom_components/ble_monitor/test/__init__.py | scrambledleek/ha_hacs_ble_monitor | abafc7a34312e695667325dbe97c309f20dd1527 | [
"MIT"
] | 152 | 2020-11-13T20:38:02.000Z | 2022-03-31T09:58:36.000Z | # Tests for BLE monitor
| 12 | 23 | 0.75 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 1 | 24 | 24 | 0.947368 | 0.875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9c53902141ef96db2d208df9d41b7a583932f625 | 163 | py | Python | predictor/apps.py | varungg/Music-Genre-Classification | bba9129939fb0fe496bca0540dab52d4449f70a0 | [
"MIT"
] | 9 | 2021-04-27T03:59:27.000Z | 2022-03-15T11:49:55.000Z | predictor/apps.py | varungg/Music-Genre-Classification | bba9129939fb0fe496bca0540dab52d4449f70a0 | [
"MIT"
] | 5 | 2020-03-21T14:43:31.000Z | 2022-02-10T12:11:48.000Z | predictor/apps.py | varungg/Music-Genre-Classification | bba9129939fb0fe496bca0540dab52d4449f70a0 | [
"MIT"
] | 14 | 2021-05-10T11:16:31.000Z | 2022-03-26T19:13:41.000Z | from django.apps import AppConfig
from django.conf import settings
import os
import pickle
class PredictorConfig(AppConfig):
# create path to models
pass
| 18.111111 | 33 | 0.785276 | 22 | 163 | 5.818182 | 0.727273 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177914 | 163 | 8 | 34 | 20.375 | 0.955224 | 0.128834 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.666667 | 0 | 0.833333 | 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 | 0 | 0 | 0 | 5 |
9c67999c0edc46c604b07fa133fad236a54f2c5e | 48 | py | Python | envinorma/parametrization/exceptions.py | Envinorma/envinorma-data | 85c00abc1af9a3b14912229b0789a0d1d5ae7b69 | [
"MIT"
] | 4 | 2020-12-11T09:40:12.000Z | 2022-03-08T13:43:35.000Z | envinorma/parametrization/exceptions.py | Envinorma/envinorma-data | 85c00abc1af9a3b14912229b0789a0d1d5ae7b69 | [
"MIT"
] | 104 | 2020-12-10T15:20:13.000Z | 2021-09-30T13:05:00.000Z | envinorma/parametrization/exceptions.py | Envinorma/envinorma-data | 85c00abc1af9a3b14912229b0789a0d1d5ae7b69 | [
"MIT"
] | null | null | null | class ParametrizationError(Exception):
pass
| 16 | 38 | 0.791667 | 4 | 48 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 39 | 24 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
92c25494d0e3aee715c20b4d6c51563a7eb7ece3 | 1,535 | py | Python | covid-19-timelapse/dashapps/term_frequency/config.py | dowjones/developer-platform | 75a5805730bcfa427e174237c5b8dec5813cf7a8 | [
"Apache-2.0"
] | 8 | 2020-03-07T14:57:29.000Z | 2021-09-16T20:32:13.000Z | covid-19-timelapse/dashapps/term_frequency/config.py | dowjones/developer-platform | 75a5805730bcfa427e174237c5b8dec5813cf7a8 | [
"Apache-2.0"
] | null | null | null | covid-19-timelapse/dashapps/term_frequency/config.py | dowjones/developer-platform | 75a5805730bcfa427e174237c5b8dec5813cf7a8 | [
"Apache-2.0"
] | 6 | 2020-03-31T15:08:50.000Z | 2022-02-16T12:55:12.000Z | import os
TERMS_TO_REMOVE = ['covid 19', 'per cent' , 'tested positive', 'confirmed cases', 'hong kong', 'year old', 'prime minister', 'said the', 'united states', 'last week', 'new cases', 'coronavirus cases', 'spread coronavirus', 'world health', 'two weeks', 'he said', 'spread virus', 'health officials', 'death tol... | 255.833333 | 1,476 | 0.689902 | 194 | 1,535 | 5.43299 | 0.623711 | 0.024668 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014179 | 0.127036 | 1,535 | 5 | 1,477 | 307 | 0.772388 | 0 | 0 | 0 | 0 | 0 | 0.723779 | 0.013681 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1301c5efa980dd438e65d9aca9bef200719949e0 | 35 | py | Python | django_yadt/__init__.py | lamby/django-yadt | 3bd06cf8edcfed352ce5f4271ba7e8f7e88429e3 | [
"BSD-3-Clause"
] | null | null | null | django_yadt/__init__.py | lamby/django-yadt | 3bd06cf8edcfed352ce5f4271ba7e8f7e88429e3 | [
"BSD-3-Clause"
] | null | null | null | django_yadt/__init__.py | lamby/django-yadt | 3bd06cf8edcfed352ce5f4271ba7e8f7e88429e3 | [
"BSD-3-Clause"
] | null | null | null | from .fields import YADTImageField
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
13143878dc5015557ffbaecd2cda1dcf84a94dba | 48 | py | Python | hello.py | wert321/git-sandbox | 4efe25957a809bcf2cfc903e458909653a9615af | [
"MIT"
] | null | null | null | hello.py | wert321/git-sandbox | 4efe25957a809bcf2cfc903e458909653a9615af | [
"MIT"
] | null | null | null | hello.py | wert321/git-sandbox | 4efe25957a809bcf2cfc903e458909653a9615af | [
"MIT"
] | null | null | null | for i in range(10):
print 'hell'
print 'ssss'
| 9.6 | 19 | 0.645833 | 9 | 48 | 3.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.208333 | 48 | 4 | 20 | 12 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
13311479025312fc8c617a5919a658fb347fb683 | 50 | py | Python | dynamic_selection/utils/__init__.py | Kthyeon/FINE | ae8a24a4a2514feafd9a9ed394af87f397708ccf | [
"MIT"
] | 2 | 2021-12-22T02:25:00.000Z | 2022-01-06T09:33:11.000Z | dynamic_selection/utils/__init__.py | Kthyeon/FINE | ae8a24a4a2514feafd9a9ed394af87f397708ccf | [
"MIT"
] | null | null | null | dynamic_selection/utils/__init__.py | Kthyeon/FINE | ae8a24a4a2514feafd9a9ed394af87f397708ccf | [
"MIT"
] | 2 | 2021-10-01T14:39:06.000Z | 2022-01-06T09:33:12.000Z | # from .util import *
from .parse_config import *
| 16.666667 | 27 | 0.72 | 7 | 50 | 5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18 | 50 | 2 | 28 | 25 | 0.853659 | 0.38 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
13415fca0e1da8180687fa068c92ee131f425da1 | 113 | py | Python | links/admin.py | zengboi/FlipCart-Tracker | 81750e2ab0e426362da1bd32226ea39bcff9157c | [
"Unlicense"
] | null | null | null | links/admin.py | zengboi/FlipCart-Tracker | 81750e2ab0e426362da1bd32226ea39bcff9157c | [
"Unlicense"
] | null | null | null | links/admin.py | zengboi/FlipCart-Tracker | 81750e2ab0e426362da1bd32226ea39bcff9157c | [
"Unlicense"
] | null | null | null | from django.contrib import admin
from .models import Link
# Register your models here.
admin.site.register(Link) | 22.6 | 32 | 0.80531 | 17 | 113 | 5.352941 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 113 | 5 | 33 | 22.6 | 0.919192 | 0.230089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
135012644f9ab73d6abdef072f2a379421ad79e1 | 1,367 | py | Python | TypeRacerStats/file_paths.py | GeoffreyXue/TypeRacerStats | b57b4aed16e057aa2bf41eb96c950d8425def629 | [
"MIT"
] | 22 | 2020-11-22T20:36:05.000Z | 2021-12-07T11:15:19.000Z | TypeRacerStats/file_paths.py | fiveoutofnine/TypeRacerStats | f86d971bdee5c48d2e9540c46a82f15d917804a7 | [
"MIT"
] | 1 | 2021-12-12T13:53:34.000Z | 2021-12-12T13:53:34.000Z | TypeRacerStats/file_paths.py | fiveoutofnine/TypeRacerStats | f86d971bdee5c48d2e9540c46a82f15d917804a7 | [
"MIT"
] | 2 | 2021-11-03T19:10:52.000Z | 2021-12-11T19:33:09.000Z | CONFIG_FILE_PATH = 'TypeRacerStats/src/config.json'
ACCOUNTS_FILE_PATH = 'TypeRacerStats/src/accounts.json'
ALIASES_FILE_PATH = 'TypeRacerStats/src/commands.json'
PREFIXES_FILE_PATH = 'TypeRacerStats/src/prefixes.json'
SUPPORTERS_FILE_PATH = 'TypeRacerStats/src/supporter_colors.json'
UNIVERSES_FILE_PATH = 'TypeRacerSta... | 54.68 | 73 | 0.831748 | 182 | 1,367 | 5.983516 | 0.247253 | 0.374656 | 0.212121 | 0.206612 | 0.239669 | 0.093664 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05267 | 1,367 | 24 | 74 | 56.958333 | 0.840927 | 0 | 0 | 0 | 0 | 0 | 0.630578 | 0.630578 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1387e701fedafc5d0333a9c9f2e9246e9866906e | 41 | py | Python | examples/str.encode/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/str.encode/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/str.encode/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | print('À Bientôt Meßingenieur'.encode())
| 20.5 | 40 | 0.756098 | 5 | 41 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0.536585 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
1388d10c3b0c75b9ae6e58bb40c71c5ac832719f | 109 | py | Python | Testing/Stage 1/EmulateKBM.py | Shanjiith-Pranov/2022-Computing-Coursework | ddb36b5229b7bb35239ddf874a7a394438fae6ec | [
"MIT"
] | 1 | 2022-01-18T14:58:14.000Z | 2022-01-18T14:58:14.000Z | Testing/Stage 1/EmulateKBM.py | Shanjiith-Pranov/2022-Computing-Coursework | ddb36b5229b7bb35239ddf874a7a394438fae6ec | [
"MIT"
] | null | null | null | Testing/Stage 1/EmulateKBM.py | Shanjiith-Pranov/2022-Computing-Coursework | ddb36b5229b7bb35239ddf874a7a394438fae6ec | [
"MIT"
] | null | null | null | import pyautogui
import time
time.sleep(5)
pyautogui.keyDown('down')
time.sleep(2)
pyautogui.keyUp('down')
| 12.111111 | 25 | 0.761468 | 16 | 109 | 5.1875 | 0.5625 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020202 | 0.091743 | 109 | 8 | 26 | 13.625 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 5 |
13b10309443dff92cd5d4a274e015c65b1656e15 | 40 | py | Python | olo007.py | olo007/CintaKamu | 9285c04fad3b0c4e92b74d4223e430f76e88a80b | [
"MIT"
] | null | null | null | olo007.py | olo007/CintaKamu | 9285c04fad3b0c4e92b74d4223e430f76e88a80b | [
"MIT"
] | null | null | null | olo007.py | olo007/CintaKamu | 9285c04fad3b0c4e92b74d4223e430f76e88a80b | [
"MIT"
] | null | null | null | #olo007
#Poland
print("Aku Cinta Kamu")
| 10 | 23 | 0.725 | 6 | 40 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.125 | 40 | 3 | 24 | 13.333333 | 0.742857 | 0.3 | 0 | 0 | 0 | 0 | 0.538462 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
13caea0250ae2ceadedef71d58182471355a317c | 201 | py | Python | config.py | pdufter/simalign-demo | d435c2f714c12e4c8ec88e2c2572429e09fba40e | [
"MIT"
] | 1 | 2022-03-24T06:29:23.000Z | 2022-03-24T06:29:23.000Z | config.py | pdufter/simalign-demo | d435c2f714c12e4c8ec88e2c2572429e09fba40e | [
"MIT"
] | null | null | null | config.py | pdufter/simalign-demo | d435c2f714c12e4c8ec88e2c2572429e09fba40e | [
"MIT"
] | null | null | null | import os
class Config(object):
SECRET_KEY = os.environ["FLASK_SECRET_KEY"]
RECAPTCHA_PUBLIC_KEY = os.environ["CAPTCHA_SITE_KEY"]
RECAPTCHA_PRIVATE_KEY = os.environ["CAPTCHA_SECRET_KEY"]
| 25.125 | 60 | 0.761194 | 28 | 201 | 5.071429 | 0.5 | 0.190141 | 0.253521 | 0.267606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 201 | 7 | 61 | 28.714286 | 0.816092 | 0 | 0 | 0 | 0 | 0 | 0.248756 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
b939290cc00959c9e7948dbc074fbfee5cda333c | 40 | py | Python | pycloser/__init__.py | arvinkulagin/pycloser | 7be4aa5634176745d54e6640076bbb1b1ec5b3b9 | [
"MIT"
] | null | null | null | pycloser/__init__.py | arvinkulagin/pycloser | 7be4aa5634176745d54e6640076bbb1b1ec5b3b9 | [
"MIT"
] | null | null | null | pycloser/__init__.py | arvinkulagin/pycloser | 7be4aa5634176745d54e6640076bbb1b1ec5b3b9 | [
"MIT"
] | null | null | null | from .closer import defer, listen, close | 40 | 40 | 0.8 | 6 | 40 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b95410cd27ecd2ee0a169f10f26139f2b88b4147 | 3,801 | py | Python | core/utils/tensors.py | manzar96/st7 | 8dac6fa3497e5a3594766a232a9e8436120e9563 | [
"MIT"
] | null | null | null | core/utils/tensors.py | manzar96/st7 | 8dac6fa3497e5a3594766a232a9e8436120e9563 | [
"MIT"
] | 1 | 2020-12-07T14:57:23.000Z | 2020-12-07T14:57:23.000Z | core/utils/tensors.py | manzar96/st7 | 8dac6fa3497e5a3594766a232a9e8436120e9563 | [
"MIT"
] | 1 | 2021-06-21T11:11:13.000Z | 2021-06-21T11:11:13.000Z | from core.utils import mytypes
from typing import cast, Callable, Optional, Tuple
import torch
def t_(data: mytypes.NdTensor,
dtype: torch.dtype = torch.float,
device: Optional[mytypes.Device] = 'cpu',
requires_grad: bool = False) -> torch.Tensor:
"""Convert a list or numpy array to torch tens... | 40.43617 | 98 | 0.639042 | 493 | 3,801 | 4.862069 | 0.178499 | 0.09637 | 0.037547 | 0.047559 | 0.7597 | 0.743846 | 0.743846 | 0.743846 | 0.743846 | 0.722987 | 0 | 0.001089 | 0.274928 | 3,801 | 94 | 99 | 40.43617 | 0.86865 | 0.539595 | 0 | 0.297297 | 0 | 0 | 0.007712 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.135135 | false | 0 | 0.081081 | 0.027027 | 0.351351 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b981190058f7b0b4b8db9246e69601b18dfa229f | 73 | py | Python | yolo/data/__init__.py | ioangatop/yolo | c65a72337369572bc07090f39123e2bf6ff5f4a3 | [
"MIT"
] | 1 | 2021-06-28T01:22:38.000Z | 2021-06-28T01:22:38.000Z | yolo/data/__init__.py | ioangatop/yolo | c65a72337369572bc07090f39123e2bf6ff5f4a3 | [
"MIT"
] | null | null | null | yolo/data/__init__.py | ioangatop/yolo | c65a72337369572bc07090f39123e2bf6ff5f4a3 | [
"MIT"
] | null | null | null | from .datasets import create_dataloader
from .utils import load_data_cfg
| 24.333333 | 39 | 0.863014 | 11 | 73 | 5.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 73 | 2 | 40 | 36.5 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
b98227fb168aef780f09c757a4e1ed25a1367065 | 148 | py | Python | core/configs/jwt.py | joshua-hashimoto/drf-docker-template | 72cdda1f93060138dd3d76df5ce704cbdb2a8a4a | [
"MIT"
] | null | null | null | core/configs/jwt.py | joshua-hashimoto/drf-docker-template | 72cdda1f93060138dd3d76df5ce704cbdb2a8a4a | [
"MIT"
] | null | null | null | core/configs/jwt.py | joshua-hashimoto/drf-docker-template | 72cdda1f93060138dd3d76df5ce704cbdb2a8a4a | [
"MIT"
] | null | null | null | from datetime import timedelta
SIMPLE_JWT = {
'ACCESS_TOKEN_LIFETIME': timedelta(days=30),
'REFRESH_TOKEN_LIFETIME': timedelta(days=90),
}
| 21.142857 | 49 | 0.743243 | 18 | 148 | 5.833333 | 0.722222 | 0.247619 | 0.419048 | 0.495238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 0.141892 | 148 | 6 | 50 | 24.666667 | 0.795276 | 0 | 0 | 0 | 0 | 0 | 0.290541 | 0.290541 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
b986b0e916b6969698c29b0ba733ca6cf1c961ed | 41 | py | Python | zetafold/util/constants.py | rickyHong/Zetafold-repl | 7a325bb65f242d8951c5d257cafa351a789a6f37 | [
"MIT"
] | 8 | 2018-11-14T05:18:56.000Z | 2018-12-03T14:21:56.000Z | zetafold/util/constants.py | rickyHong/Zetafold-repl | 7a325bb65f242d8951c5d257cafa351a789a6f37 | [
"MIT"
] | 9 | 2019-01-02T22:17:33.000Z | 2019-03-29T23:15:50.000Z | zetafold/util/constants.py | rickyHong/Zetafold-repl | 7a325bb65f242d8951c5d257cafa351a789a6f37 | [
"MIT"
] | 4 | 2020-02-08T02:43:01.000Z | 2021-08-22T09:23:17.000Z | KT_IN_KCAL = 0.61633135471 # 37 Celsius
| 20.5 | 40 | 0.756098 | 7 | 41 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 0.170732 | 41 | 1 | 41 | 41 | 0.441176 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b995b6274b096afb742fe92030bb5368cac6b0ae | 2,968 | py | Python | jet_django/deps/rest_framework/documentation.py | lukejamison/jet-dasboard | 5dce66b6ea2f107d7120e5e0256346d2d3bc8ed9 | [
"MIT"
] | 193 | 2018-08-27T06:10:48.000Z | 2022-03-08T13:04:55.000Z | jet_django/deps/rest_framework/documentation.py | lukejamison/jet-dasboard | 5dce66b6ea2f107d7120e5e0256346d2d3bc8ed9 | [
"MIT"
] | 23 | 2018-10-21T15:05:41.000Z | 2020-12-20T15:18:58.000Z | jet_django/deps/rest_framework/documentation.py | lukejamison/jet-dasboard | 5dce66b6ea2f107d7120e5e0256346d2d3bc8ed9 | [
"MIT"
] | 38 | 2018-10-31T16:19:25.000Z | 2022-02-10T05:08:24.000Z | from django.conf.urls import include, url
from jet_django.deps.rest_framework.renderers import (
CoreJSONRenderer, DocumentationRenderer, SchemaJSRenderer
)
from jet_django.deps.rest_framework.schemas import SchemaGenerator, get_schema_view
from jet_django.deps.rest_framework.settings import api_settings
def get... | 34.917647 | 83 | 0.723383 | 305 | 2,968 | 6.711475 | 0.15082 | 0.143625 | 0.128969 | 0.073278 | 0.774792 | 0.754763 | 0.710796 | 0.710796 | 0.710796 | 0.710796 | 0 | 0 | 0.205526 | 2,968 | 84 | 84 | 35.333333 | 0.868109 | 0 | 0 | 0.675676 | 0 | 0 | 0.016173 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040541 | false | 0 | 0.054054 | 0 | 0.135135 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b9ba1f8ac58afda18eb8f3b4f92d26902e2b4272 | 129 | py | Python | contests_atcoder/abc171/abc171_e.py | takelifetime/competitive-programming | e7cf8ef923ccefad39a1727ca94c610d650fcb76 | [
"BSD-2-Clause"
] | null | null | null | contests_atcoder/abc171/abc171_e.py | takelifetime/competitive-programming | e7cf8ef923ccefad39a1727ca94c610d650fcb76 | [
"BSD-2-Clause"
] | 1 | 2021-01-02T06:36:51.000Z | 2021-01-02T06:36:51.000Z | contests_atcoder/abc171/abc171_e.py | takelifetime/competitive-programming | e7cf8ef923ccefad39a1727ca94c610d650fcb76 | [
"BSD-2-Clause"
] | null | null | null | n = int(input())
a = list(map(int, input().split()))
xor = a[0]
for x in a[1:]:
xor ^= x
ans = print(*[xor ^ x for x in a]) | 16.125 | 35 | 0.511628 | 27 | 129 | 2.444444 | 0.555556 | 0.242424 | 0.181818 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.24031 | 129 | 8 | 36 | 16.125 | 0.653061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b9c2af2160f4a46258b29f5f3cfade584c19c3f0 | 346 | py | Python | cron/__init__.py | JohnRobards/Chaos | 3f3a4700a1fc69ee6d5a68eb798bed10c020053d | [
"MIT"
] | null | null | null | cron/__init__.py | JohnRobards/Chaos | 3f3a4700a1fc69ee6d5a68eb798bed10c020053d | [
"MIT"
] | null | null | null | cron/__init__.py | JohnRobards/Chaos | 3f3a4700a1fc69ee6d5a68eb798bed10c020053d | [
"MIT"
] | null | null | null | import schedule
import settings
from .poll_pull_requests import poll_pull_requests as poll_pull_requests
from .restart_homepage import restart_homepage as restart_homepage
def schedule_jobs():
schedule.every(settings.PULL_REQUEST_POLLING_INTERVAL_SECONDS).seconds.do(poll_pull_requests)
schedule.every(120).sec... | 34.6 | 97 | 0.855491 | 48 | 346 | 5.8125 | 0.395833 | 0.114695 | 0.229391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009494 | 0.086705 | 346 | 9 | 98 | 38.444444 | 0.873418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.571429 | 0 | 0.714286 | 0 | 0 | 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 | 5 |
b9c6d8be94dc523fa006d86f2e88d7a06f9a6ece | 29,820 | py | Python | scripts/NGS/temp.py | shivankurkapoor/moleculardating | 4a72c3e92a09ab321e0d92840cc7619857bbab8a | [
"BSD-3-Clause"
] | 1 | 2018-04-24T04:38:33.000Z | 2018-04-24T04:38:33.000Z | scripts/NGS/temp.py | shivankurkapoor/molecular-dating | 4a72c3e92a09ab321e0d92840cc7619857bbab8a | [
"BSD-3-Clause"
] | null | null | null | scripts/NGS/temp.py | shivankurkapoor/molecular-dating | 4a72c3e92a09ab321e0d92840cc7619857bbab8a | [
"BSD-3-Clause"
] | null | null | null | from Bio import SeqIO
import sys
#parameters
MATCH_REWARD = 1#10#1
MISMATCH_PENALTY = -1#-2#-1
GAP_OPENING_PENALTY = -5#-15#-3
GAP_EXTENSION_PENALTY = -2#-7
NEG_INF = float('-inf')
def get_current(current, M, Ix, Iy, from_m, from_x, from_y):
#print 'current in get_current: ', current
return {
from_m : M,
from_x... | 136.164384 | 24,017 | 0.149933 | 2,011 | 29,820 | 2.177026 | 0.070114 | 0.053906 | 0.026725 | 0.012791 | 0.567154 | 0.4582 | 0.32572 | 0.235724 | 0.193924 | 0.143673 | 0 | 0.00669 | 0.047552 | 29,820 | 218 | 24,018 | 136.788991 | 0.147454 | 0.833736 | 0 | 0.179688 | 0 | 0 | 0.029359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.015625 | null | null | 0.046875 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b9cd8c7f8dc3b07e32b4052d7b50b89a2779ee98 | 65 | py | Python | learnwithpeople/formats/de/formats.py | p2pu/learning-circles | ccd94208ec18082f8fda6d7f21eacdd71bad6023 | [
"MIT"
] | 10 | 2016-05-03T20:41:25.000Z | 2021-09-17T18:42:01.000Z | learnwithpeople/formats/de/formats.py | p2pu/learning-circles | ccd94208ec18082f8fda6d7f21eacdd71bad6023 | [
"MIT"
] | 655 | 2016-05-04T19:00:35.000Z | 2022-03-28T13:09:20.000Z | learnwithpeople/formats/de/formats.py | p2pu/learning-circles | ccd94208ec18082f8fda6d7f21eacdd71bad6023 | [
"MIT"
] | 8 | 2016-05-06T10:24:27.000Z | 2020-10-21T00:56:59.000Z | DATE_FORMAT = "l, j. N"
MEETING_DATETIME_FORMAT = "l, j. N, H:i"
| 21.666667 | 40 | 0.646154 | 13 | 65 | 3 | 0.692308 | 0.358974 | 0.410256 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 65 | 2 | 41 | 32.5 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0.292308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
b9ebafc730ce93263c2637db96fd58c6d0874343 | 63 | py | Python | src/app/settings/general.py | RdevJ/headquater | 2da2290560b030f7ce365e1b71affd637fb9cab4 | [
"MIT"
] | null | null | null | src/app/settings/general.py | RdevJ/headquater | 2da2290560b030f7ce365e1b71affd637fb9cab4 | [
"MIT"
] | null | null | null | src/app/settings/general.py | RdevJ/headquater | 2da2290560b030f7ce365e1b71affd637fb9cab4 | [
"MIT"
] | null | null | null | class GeneralSettings(object):
API_V1_STR: str = "/api/v1"
| 21 | 31 | 0.698413 | 9 | 63 | 4.666667 | 0.666667 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.15873 | 63 | 2 | 32 | 31.5 | 0.754717 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 5 |
6a0d2f41db0aa4053b2d0f848afee7268e08e72d | 123 | py | Python | pypeln/task/__init__.py | sackh/pypeln | 4bbfb23d8fb7581e9c7511fdf4316e34b7a2a075 | [
"MIT"
] | 1 | 2020-07-22T18:19:21.000Z | 2020-07-22T18:19:21.000Z | pypeln/task/__init__.py | sackh/pypeln | 4bbfb23d8fb7581e9c7511fdf4316e34b7a2a075 | [
"MIT"
] | null | null | null | pypeln/task/__init__.py | sackh/pypeln | 4bbfb23d8fb7581e9c7511fdf4316e34b7a2a075 | [
"MIT"
] | null | null | null | from .api import Stage, concat, each, filter, flat_map, from_iterable, map, run
from .utils import TaskPool, get_namespace
| 41 | 79 | 0.788618 | 19 | 123 | 4.947368 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 123 | 2 | 80 | 61.5 | 0.878505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
6a3956020997f0bd4d2193bf135f02f549c97cc3 | 29 | py | Python | promap/__main__.py | ervanalb/promap | 173ee77da96ae3eacea057a8b21c26dee8350078 | [
"MIT"
] | 8 | 2019-02-19T21:48:50.000Z | 2021-06-01T15:43:48.000Z | promap/__main__.py | ervanalb/promap | 173ee77da96ae3eacea057a8b21c26dee8350078 | [
"MIT"
] | 1 | 2021-03-15T14:56:22.000Z | 2021-03-15T14:56:22.000Z | promap/__main__.py | ervanalb/promap | 173ee77da96ae3eacea057a8b21c26dee8350078 | [
"MIT"
] | null | null | null | import promap
promap.main()
| 7.25 | 13 | 0.758621 | 4 | 29 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 3 | 14 | 9.666667 | 0.88 | 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 | 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 | 5 |
dbf7b1a310b3326cba08cf5a546144dcd65cbc4a | 1,933 | py | Python | TopQuarkAnalysis/TopPairBSM/python/RecoInput_QCD_800_cfi.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 6 | 2017-09-08T14:12:56.000Z | 2022-03-09T23:57:01.000Z | TopQuarkAnalysis/TopPairBSM/python/RecoInput_QCD_800_cfi.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 545 | 2017-09-19T17:10:19.000Z | 2022-03-07T16:55:27.000Z | TopQuarkAnalysis/TopPairBSM/python/RecoInput_QCD_800_cfi.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 14 | 2017-10-04T09:47:21.000Z | 2019-10-23T18:04:45.000Z | # Dataset path /QCDDiJetPt800to1000/Summer08_IDEAL_V9_v1/GEN-SIM-RECO
import FWCore.ParameterSet.Config as cms
def RecoInput() :
maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
readFiles = cms.untracked.vstring()
secFiles = cms.untracked.vstring()
source = cms.Source ("PoolSource",... | 64.433333 | 121 | 0.755303 | 253 | 1,933 | 5.664032 | 0.332016 | 0.063503 | 0.081647 | 0.284717 | 0.535939 | 0.535939 | 0.535939 | 0.535939 | 0.535939 | 0.535939 | 0 | 0.259259 | 0.106053 | 1,933 | 29 | 122 | 66.655172 | 0.570023 | 0.034661 | 0 | 0 | 0 | 0.521739 | 0.713519 | 0.708155 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.043478 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e011707e16e0b42cc4612ab06bbbca0784b4d98d | 29 | py | Python | ja/code_snippets/results/result.api-monitor-delete.py | quotecenter/documentation-1 | f365703264761aa2b19d5d1d8ec55a3a6082ef4d | [
"BSD-3-Clause"
] | null | null | null | ja/code_snippets/results/result.api-monitor-delete.py | quotecenter/documentation-1 | f365703264761aa2b19d5d1d8ec55a3a6082ef4d | [
"BSD-3-Clause"
] | null | null | null | ja/code_snippets/results/result.api-monitor-delete.py | quotecenter/documentation-1 | f365703264761aa2b19d5d1d8ec55a3a6082ef4d | [
"BSD-3-Clause"
] | null | null | null | {'deleted_monitor_id': 2081}
| 14.5 | 28 | 0.758621 | 4 | 29 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0.068966 | 29 | 1 | 29 | 29 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0.62069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e017dd1ed107c137883fd5bdeae2b6b7c9dc41a5 | 214 | py | Python | rockart_examples/exceptions.py | van-kalsing/rockart-examples | 042f795bc02390167c0defb33bfa6611532704b0 | [
"MIT"
] | null | null | null | rockart_examples/exceptions.py | van-kalsing/rockart-examples | 042f795bc02390167c0defb33bfa6611532704b0 | [
"MIT"
] | 1 | 2020-05-04T05:57:30.000Z | 2020-05-04T05:57:30.000Z | rockart_examples/exceptions.py | van-kalsing/rockart-examples | 042f795bc02390167c0defb33bfa6611532704b0 | [
"MIT"
] | null | null | null | class RockartExamplesException(Exception):
pass
class RockartExamplesIndexError(RockartExamplesException, IndexError):
pass
class RockartExamplesValueError(RockartExamplesException, ValueError):
pass
| 23.777778 | 70 | 0.831776 | 14 | 214 | 12.714286 | 0.571429 | 0.101124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116822 | 214 | 8 | 71 | 26.75 | 0.941799 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
e02054dfec8d9efc75d1209e8a96e41673552eaf | 270 | py | Python | jmilkfansblog/api/hooks.py | xiaoyh121/program | 6826f024cce7a4250a1dab8dba145c1f0d713286 | [
"Apache-2.0"
] | 176 | 2016-12-11T03:24:41.000Z | 2021-12-10T11:44:37.000Z | jmilkfansblog/api/hooks.py | xiaoyh121/program | 6826f024cce7a4250a1dab8dba145c1f0d713286 | [
"Apache-2.0"
] | 4 | 2018-02-07T03:31:13.000Z | 2021-12-25T13:03:49.000Z | jmilkfansblog/api/hooks.py | xiaoyh121/program | 6826f024cce7a4250a1dab8dba145c1f0d713286 | [
"Apache-2.0"
] | 76 | 2016-11-13T08:57:38.000Z | 2021-12-25T12:02:05.000Z | from pecan import hooks
# class DBHook(hooks.PecanHook):
# """Create a db connection instance."""
#
# def before(self, state):
# """Excute the DBHook.before() before handle the restful request."""
# state.request.db_conn = db_api.get_session()
| 27 | 77 | 0.651852 | 34 | 270 | 5.088235 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211111 | 270 | 9 | 78 | 30 | 0.812207 | 0.855556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e02ae0778b9aba1d0c3d265b5082533b201c3595 | 10,551 | py | Python | fhir/resources/tests/test_substance.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 144 | 2019-05-08T14:24:43.000Z | 2022-03-30T02:37:11.000Z | fhir/resources/tests/test_substance.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 82 | 2019-05-13T17:43:13.000Z | 2022-03-30T16:45:17.000Z | fhir/resources/tests/test_substance.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 48 | 2019-04-04T14:14:53.000Z | 2022-03-30T06:07:31.000Z | # -*- coding: utf-8 -*-
"""
Profile: http://hl7.org/fhir/StructureDefinition/Substance
Release: R4
Version: 4.0.1
Build ID: 9346c8cc45
Last updated: 2019-11-01T09:29:23.356+11:00
"""
from pydantic.validators import bytes_validator # noqa: F401
from .. import fhirtypes # noqa: F401
from .. import substance
def impl... | 37.021053 | 88 | 0.681547 | 1,323 | 10,551 | 5.366591 | 0.125472 | 0.125352 | 0.027887 | 0.043099 | 0.840282 | 0.802394 | 0.760282 | 0.715211 | 0.615352 | 0.527183 | 0 | 0.037522 | 0.174012 | 10,551 | 284 | 89 | 37.151408 | 0.777166 | 0.105109 | 0 | 0.4689 | 0 | 0 | 0.231856 | 0.023978 | 0 | 0 | 0 | 0 | 0.507177 | 1 | 0.057416 | false | 0 | 0.014354 | 0 | 0.07177 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e06d445f20623b568c1633d7fa192c52dcaf9bfb | 30,612 | py | Python | tests/test_distgit/test_generic_distgit.py | vfreex/doozer | 8ad0a1234120cdc30890afbbdda1bc40e4a4fc76 | [
"Apache-2.0"
] | null | null | null | tests/test_distgit/test_generic_distgit.py | vfreex/doozer | 8ad0a1234120cdc30890afbbdda1bc40e4a4fc76 | [
"Apache-2.0"
] | null | null | null | tests/test_distgit/test_generic_distgit.py | vfreex/doozer | 8ad0a1234120cdc30890afbbdda1bc40e4a4fc76 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import, print_function, unicode_literals
import errno
import os
import unittest
import flexmock
import mock
from doozerlib import distgit, model
from doozerlib.assembly import AssemblyTypes
from .support import MockConfig, MockMetadata, MockRuntime, TestDistgit
class TestGenericDis... | 43.793991 | 174 | 0.577747 | 3,078 | 30,612 | 5.500975 | 0.109487 | 0.070872 | 0.036853 | 0.046067 | 0.783133 | 0.759686 | 0.743917 | 0.72927 | 0.70098 | 0.67151 | 0 | 0.003774 | 0.307494 | 30,612 | 698 | 175 | 43.856734 | 0.794943 | 0.060074 | 0 | 0.662109 | 0 | 0.001953 | 0.155031 | 0.021679 | 0 | 0 | 0 | 0.001433 | 0.076172 | 1 | 0.056641 | false | 0.001953 | 0.017578 | 0 | 0.080078 | 0.005859 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0ee9b1bd5a9632fd5268b5efb0952b1cb3851af2 | 55,157 | py | Python | macapype/pipelines/full_pipelines.py | Macatools/macapype | 50820e2ab948c91c5362771d51688edd09b72499 | [
"BSD-3-Clause"
] | 7 | 2020-07-04T04:04:03.000Z | 2022-03-24T14:35:45.000Z | macapype/pipelines/full_pipelines.py | Macatools/macapype | 50820e2ab948c91c5362771d51688edd09b72499 | [
"BSD-3-Clause"
] | 95 | 2020-01-02T16:41:20.000Z | 2021-12-07T15:50:41.000Z | macapype/pipelines/full_pipelines.py | Macatools/macapype | 50820e2ab948c91c5362771d51688edd09b72499 | [
"BSD-3-Clause"
] | 9 | 2019-11-14T12:46:14.000Z | 2022-01-26T09:44:21.000Z |
import nipype.interfaces.utility as niu
import nipype.pipeline.engine as pe
from nipype.interfaces import fsl
from nipype.interfaces import ants
from ..utils.utils_nodes import NodeParams
from macapype.nodes.correct_bias import T1xT2BiasFieldCorrection
from macapype.nodes.register import IterREGBET
from macapype.no... | 36.192257 | 83 | 0.608409 | 5,890 | 55,157 | 5.314601 | 0.048048 | 0.055873 | 0.036227 | 0.030125 | 0.85733 | 0.822381 | 0.788199 | 0.743124 | 0.694885 | 0.660512 | 0 | 0.00806 | 0.300415 | 55,157 | 1,523 | 84 | 36.216021 | 0.803172 | 0.235365 | 0 | 0.659121 | 0 | 0 | 0.215919 | 0.08175 | 0 | 0 | 0 | 0 | 0.001332 | 1 | 0.011984 | false | 0 | 0.019973 | 0 | 0.055925 | 0.027963 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1605b9b1a75d92c333ed5a6d148dd5f4c30a4977 | 1,876 | py | Python | pretrain/PyTorch/configuration.py | cgouttham/microsoft-hackathon | 7e50981e0f165543676504592ad26818db13432f | [
"MIT"
] | null | null | null | pretrain/PyTorch/configuration.py | cgouttham/microsoft-hackathon | 7e50981e0f165543676504592ad26818db13432f | [
"MIT"
] | null | null | null | pretrain/PyTorch/configuration.py | cgouttham/microsoft-hackathon | 7e50981e0f165543676504592ad26818db13432f | [
"MIT"
] | null | null | null | import json
# TODO better json handling
class BertJobConfiguration:
def __init__(self, config_file_path):
self.config = json.load(open(config_file_path, 'r', encoding='utf-8'))
# TODO improve this implementation
def replace_path_placeholders(self, files_location):
self.config['data']['dat... | 33.5 | 117 | 0.679638 | 233 | 1,876 | 5.180258 | 0.270386 | 0.1657 | 0.162386 | 0.23198 | 0.367854 | 0.301574 | 0.137531 | 0.084507 | 0.084507 | 0 | 0 | 0.000657 | 0.188699 | 1,876 | 55 | 118 | 34.109091 | 0.792378 | 0.030917 | 0 | 0 | 0 | 0 | 0.197245 | 0.01157 | 0 | 0 | 0 | 0.018182 | 0 | 1 | 0.444444 | false | 0 | 0.027778 | 0.388889 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1613ce1d902036fdc6d945741303c064dc4b601e | 138 | py | Python | django_countries/tests/apps.py | shntar0kun/django-countries | 54872318bd5166953bf61f4eb2fc06bf154f7c0b | [
"MIT"
] | null | null | null | django_countries/tests/apps.py | shntar0kun/django-countries | 54872318bd5166953bf61f4eb2fc06bf154f7c0b | [
"MIT"
] | 5 | 2020-03-24T16:37:25.000Z | 2021-06-10T21:24:54.000Z | django_countries/tests/apps.py | shntar0kun/django-countries | 54872318bd5166953bf61f4eb2fc06bf154f7c0b | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class TestConfig(AppConfig):
name = 'django_countries.tests'
label = 'django_countries_tests'
| 19.714286 | 36 | 0.76087 | 16 | 138 | 6.375 | 0.6875 | 0.294118 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 138 | 6 | 37 | 23 | 0.87931 | 0 | 0 | 0 | 0 | 0 | 0.318841 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
1682b82ec44c127bf0c20b6cbe9b5765660e7ca2 | 87 | py | Python | postie/__init__.py | itsnauman/Postie | 0ae0c3b2482caa249b103a06547997ff1995f6e7 | [
"MIT"
] | 89 | 2015-06-19T18:09:27.000Z | 2015-07-21T19:29:41.000Z | postie/__init__.py | itsnauman/postie | 0ae0c3b2482caa249b103a06547997ff1995f6e7 | [
"MIT"
] | 4 | 2015-06-20T08:07:18.000Z | 2015-07-19T10:14:19.000Z | postie/__init__.py | itsnauman/Postie | 0ae0c3b2482caa249b103a06547997ff1995f6e7 | [
"MIT"
] | 9 | 2015-06-19T18:26:15.000Z | 2015-06-28T01:02:15.000Z | # -*- coding: utf-8 -*-
from .main import Postie
from .cli import create_parser, main
| 17.4 | 36 | 0.689655 | 13 | 87 | 4.538462 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.172414 | 87 | 4 | 37 | 21.75 | 0.805556 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
16894b8d03fb8f5ec9dc59a4116277eac5189b7f | 76 | py | Python | code/mypackage/my_module4.py | lungben/python_tutorial | b5cab0bee30cdebe6db2d671cce0c9230896b402 | [
"MIT"
] | null | null | null | code/mypackage/my_module4.py | lungben/python_tutorial | b5cab0bee30cdebe6db2d671cce0c9230896b402 | [
"MIT"
] | 1 | 2019-07-30T16:59:31.000Z | 2019-07-30T16:59:31.000Z | code/mypackage/my_module4.py | lungben/python_tutorial | b5cab0bee30cdebe6db2d671cce0c9230896b402 | [
"MIT"
] | 1 | 2019-12-25T14:41:27.000Z | 2019-12-25T14:41:27.000Z | # example file for submodule imports
def divide_me_by_2(x):
return x/2
| 15.2 | 36 | 0.736842 | 14 | 76 | 3.785714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.197368 | 76 | 4 | 37 | 19 | 0.836066 | 0.447368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
16ab6fccb8b0c35cbdefc0baeee86bc69b9e9c16 | 53 | py | Python | automatagen/__init__.py | PetarPeychev/automata-terrain-gen | 2062a79fe18d0d2359ab0245618383d0738471c8 | [
"Unlicense"
] | null | null | null | automatagen/__init__.py | PetarPeychev/automata-terrain-gen | 2062a79fe18d0d2359ab0245618383d0738471c8 | [
"Unlicense"
] | null | null | null | automatagen/__init__.py | PetarPeychev/automata-terrain-gen | 2062a79fe18d0d2359ab0245618383d0738471c8 | [
"Unlicense"
] | 1 | 2021-03-12T09:15:53.000Z | 2021-03-12T09:15:53.000Z | from automatagen.automatagen import TerrainGenerator
| 26.5 | 52 | 0.90566 | 5 | 53 | 9.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 53 | 1 | 53 | 53 | 0.979592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
16c6715b023edb427f0e781aab325a2a0cd68328 | 208 | py | Python | zounds/util/__init__.py | FelixAbrahamsson/zounds | 197c358acf3bea4252cfc2561da70cbe799e2c75 | [
"MIT"
] | 20 | 2016-06-04T05:44:28.000Z | 2021-05-26T02:26:08.000Z | zounds/util/__init__.py | FelixAbrahamsson/zounds | 197c358acf3bea4252cfc2561da70cbe799e2c75 | [
"MIT"
] | 53 | 2016-08-07T15:11:38.000Z | 2019-05-21T15:56:40.000Z | zounds/util/__init__.py | FelixAbrahamsson/zounds | 197c358acf3bea4252cfc2561da70cbe799e2c75 | [
"MIT"
] | 7 | 2016-08-14T15:50:33.000Z | 2020-12-22T13:34:23.000Z | from .persistence import \
simple_lmdb_settings, simple_in_memory_settings, \
simple_object_storage_settings
from .handy import tuplify
from .midi import note_to_midi, midi_to_note, midi_instrument
| 26 | 61 | 0.822115 | 29 | 208 | 5.448276 | 0.551724 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 208 | 7 | 62 | 29.714286 | 0.877778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bc8b1a6f400efe49a436a74585a3409c7598e53e | 205 | py | Python | paraloop/__init__.py | jneeven/paraloop | 61fbaa608cd20b4345c46f3458199f3b77689d8f | [
"MIT"
] | 6 | 2021-03-21T17:29:18.000Z | 2021-06-05T04:56:56.000Z | paraloop/__init__.py | jneeven/paraloop | 61fbaa608cd20b4345c46f3458199f3b77689d8f | [
"MIT"
] | null | null | null | paraloop/__init__.py | jneeven/paraloop | 61fbaa608cd20b4345c46f3458199f3b77689d8f | [
"MIT"
] | null | null | null | import paraloop.aggregation_strategies as aggregation_strategies
from paraloop.paraloop import ParaLoop
from paraloop.variable import Variable
__all__ = ["aggregation_strategies", "ParaLoop", "Variable"]
| 34.166667 | 64 | 0.843902 | 22 | 205 | 7.545455 | 0.363636 | 0.379518 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087805 | 205 | 5 | 65 | 41 | 0.887701 | 0 | 0 | 0 | 0 | 0 | 0.185366 | 0.107317 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bc9b3b380f47184fee405c04ce766266910f64d9 | 197 | py | Python | tests/admin_scripts/app_raising_warning/models.py | ni-ning/django | 2e7ba6057cfc82a15a22b6021cd60cf307152e2d | [
"CNRI-Python-GPL-Compatible",
"BSD-3-Clause"
] | 61,676 | 2015-01-01T00:05:13.000Z | 2022-03-31T20:37:54.000Z | tests/admin_scripts/app_raising_warning/models.py | ni-ning/django | 2e7ba6057cfc82a15a22b6021cd60cf307152e2d | [
"CNRI-Python-GPL-Compatible",
"BSD-3-Clause"
] | 8,884 | 2015-01-01T00:12:05.000Z | 2022-03-31T19:53:11.000Z | tests/admin_scripts/app_raising_warning/models.py | mustafa0x/django | d7394cfa13a4d1a02356e3a83e10ec100fbb9948 | [
"BSD-3-Clause",
"0BSD"
] | 33,143 | 2015-01-01T02:04:52.000Z | 2022-03-31T19:42:46.000Z | from django.core import checks
from django.db import models
class ModelRaisingMessages(models.Model):
@classmethod
def check(self, **kwargs):
return [checks.Warning('A warning')]
| 21.888889 | 44 | 0.720812 | 24 | 197 | 5.916667 | 0.75 | 0.140845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177665 | 197 | 8 | 45 | 24.625 | 0.876543 | 0 | 0 | 0 | 0 | 0 | 0.045685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
bcc01c06f7a77edb163cb58e270e4dc351bb515f | 57 | py | Python | Reading Data/lesson-18-get-fifa-players-from-the-web/tests/test_fifa_1.py | danielgarm/Data-Science-and-Machine-Learning | fa3e85cc42eb2e9f964ab5abb34d1c93e16d1cd9 | [
"MIT"
] | null | null | null | Reading Data/lesson-18-get-fifa-players-from-the-web/tests/test_fifa_1.py | danielgarm/Data-Science-and-Machine-Learning | fa3e85cc42eb2e9f964ab5abb34d1c93e16d1cd9 | [
"MIT"
] | 2 | 2022-01-11T21:04:51.000Z | 2022-01-11T21:05:05.000Z | Reading Data/lesson-18-get-fifa-players-from-the-web/tests/test_fifa_1.py | danielgarm/Data-Science-and-Machine-Learning | fa3e85cc42eb2e9f964ab5abb34d1c93e16d1cd9 | [
"MIT"
] | null | null | null | def test_fifa_1():
assert fifa_df.shape == (30, 5)
| 19 | 36 | 0.614035 | 10 | 57 | 3.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.22807 | 57 | 2 | 37 | 28.5 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bcc490dd53330f1423aa63c3251883dd156ac3fb | 1,778 | py | Python | models.py | dist-uniparthenope/UniParthenopeAPI | 92515b5a3e55da3afb5b18dcb748f394060c4f2c | [
"Apache-2.0"
] | null | null | null | models.py | dist-uniparthenope/UniParthenopeAPI | 92515b5a3e55da3afb5b18dcb748f394060c4f2c | [
"Apache-2.0"
] | null | null | null | models.py | dist-uniparthenope/UniParthenopeAPI | 92515b5a3e55da3afb5b18dcb748f394060c4f2c | [
"Apache-2.0"
] | null | null | null | from app import db
from datetime import datetime
from werkzeug.security import generate_password_hash, check_password_hash
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
token = db.Column(db.String(80), index=True, unique=True)
username = db.Column(db.String(64), index=True, unique=Tru... | 37.829787 | 155 | 0.687852 | 257 | 1,778 | 4.599222 | 0.229572 | 0.135364 | 0.169205 | 0.162437 | 0.291878 | 0.192047 | 0.158206 | 0.13198 | 0.13198 | 0.067682 | 0 | 0.021419 | 0.15973 | 1,778 | 47 | 156 | 37.829787 | 0.769746 | 0 | 0 | 0.138889 | 1 | 0 | 0.050028 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.138889 | false | 0.194444 | 0.083333 | 0.111111 | 0.972222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
4c4fe3888cec4d2abcda85d185742b31a9cb394e | 2,617 | py | Python | favicons/_constants.py | checktheroads/favicons | 108725598fd5d30cd10beab2b37bdccf9b79ad97 | [
"BSD-3-Clause-Clear"
] | 7 | 2020-11-20T16:43:30.000Z | 2021-05-15T06:10:26.000Z | favicons/_constants.py | checktheroads/favicons | 108725598fd5d30cd10beab2b37bdccf9b79ad97 | [
"BSD-3-Clause-Clear"
] | 1 | 2021-09-27T00:00:47.000Z | 2021-09-27T00:00:47.000Z | favicons/_constants.py | thatmattlove/favicons | 108725598fd5d30cd10beab2b37bdccf9b79ad97 | [
"BSD-3-Clause-Clear"
] | 1 | 2022-02-20T13:14:05.000Z | 2022-02-20T13:14:05.000Z | """Static values for one way import."""
SUPPORTED_FORMATS = (".svg", ".jpeg", ".jpg", ".png", ".tiff", ".tif")
HTML_LINK = '<link rel="{rel}" type="{type}" href="{href}" />'
ICON_TYPES = (
{"image_fmt": "ico", "rel": None, "dimensions": (64, 64), "prefix": "favicon"},
{"image_fmt": "png", "rel": "icon", "dim... | 32.7125 | 96 | 0.485671 | 276 | 2,617 | 4.518116 | 0.184783 | 0.134723 | 0.176423 | 0.224539 | 0.80834 | 0.798717 | 0.756215 | 0.756215 | 0.575782 | 0.506816 | 0 | 0.05478 | 0.260604 | 2,617 | 79 | 97 | 33.126582 | 0.589664 | 0.01261 | 0 | 0.4 | 0 | 0 | 0.44647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d5bc13504b86a4fdea95d3cdc295d7a5cfd7eb06 | 158 | py | Python | django_tiles_gl/templatetags/tiles_gl_tags.py | kleingeist/django-tiles-gl | 479203eb94737db7ec141035887350d1e39df2a0 | [
"CC-BY-4.0"
] | null | null | null | django_tiles_gl/templatetags/tiles_gl_tags.py | kleingeist/django-tiles-gl | 479203eb94737db7ec141035887350d1e39df2a0 | [
"CC-BY-4.0"
] | null | null | null | django_tiles_gl/templatetags/tiles_gl_tags.py | kleingeist/django-tiles-gl | 479203eb94737db7ec141035887350d1e39df2a0 | [
"CC-BY-4.0"
] | null | null | null | from django import template
register = template.Library()
@register.inclusion_tag("django_tiles_gl/maplibre_head.html")
def maplibre_head():
return {}
| 17.555556 | 61 | 0.772152 | 20 | 158 | 5.85 | 0.75 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120253 | 158 | 8 | 62 | 19.75 | 0.841727 | 0 | 0 | 0 | 0 | 0 | 0.21519 | 0.21519 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
91426a51792969517dcdb39ce1c5b70f00ba6377 | 65 | py | Python | codes/handlers/__init__.py | igormq/aes-lac-2018 | 5d99831ab9d1063308176d82c23c4fc21c0f89cd | [
"MIT"
] | 22 | 2018-06-11T21:33:11.000Z | 2021-06-18T21:33:51.000Z | codes/handlers/__init__.py | igormq/aes-lac-2018 | 5d99831ab9d1063308176d82c23c4fc21c0f89cd | [
"MIT"
] | 7 | 2018-11-01T01:28:33.000Z | 2019-12-10T01:51:52.000Z | codes/handlers/__init__.py | igormq/aes-lac-2018 | 5d99831ab9d1063308176d82c23c4fc21c0f89cd | [
"MIT"
] | 12 | 2018-07-09T18:38:44.000Z | 2021-04-13T21:15:03.000Z | from .tensorboardx import TensorboardX
from .visdom import Visdom | 32.5 | 38 | 0.861538 | 8 | 65 | 7 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 65 | 2 | 39 | 32.5 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.