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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f0427336f5a088f6235ec97b84daa0096a2a175a | 31 | py | Python | chapter08/my_test.py | niyunsheng/Mtianyan-AdvancePython | c6976f08161aa398a91328654266911d75359441 | [
"Apache-2.0"
] | null | null | null | chapter08/my_test.py | niyunsheng/Mtianyan-AdvancePython | c6976f08161aa398a91328654266911d75359441 | [
"Apache-2.0"
] | null | null | null | chapter08/my_test.py | niyunsheng/Mtianyan-AdvancePython | c6976f08161aa398a91328654266911d75359441 | [
"Apache-2.0"
] | null | null | null | from property_test import User
| 15.5 | 30 | 0.870968 | 5 | 31 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f05632e4e26107e8dfc87a08f3622eba4e955052 | 4,726 | py | Python | navigation.py | Blue-IT-Marketing/sa-loans | ff574766f1ae8bc051e5ba07acc47418118a3704 | [
"MIT"
] | 1 | 2020-07-02T16:34:43.000Z | 2020-07-02T16:34:43.000Z | navigation.py | Blue-IT-Marketing/hotelmanager | f20120ed2009b7d720a0d92a901c92ba5237b573 | [
"MIT"
] | null | null | null | navigation.py | Blue-IT-Marketing/hotelmanager | f20120ed2009b7d720a0d92a901c92ba5237b573 | [
"MIT"
] | null | null | null | import os
import webapp2
import jinja2
from google.appengine.ext import ndb
from google.appengine.api import users
import logging
template_env = jinja2.Environment(loader=jinja2.FileSystemLoader(os.getcwd()))
from tasks import Tasks
class SidebarHandler(webapp2.RequestHandler):
"""
Check if the User Logged... | 38.422764 | 100 | 0.656369 | 441 | 4,726 | 6.913832 | 0.195011 | 0.036077 | 0.056084 | 0.064939 | 0.746146 | 0.735979 | 0.723516 | 0.723516 | 0.705149 | 0.705149 | 0 | 0.002785 | 0.240161 | 4,726 | 123 | 101 | 38.422764 | 0.846282 | 0.062844 | 0 | 0.744186 | 0 | 0 | 0.160893 | 0.101604 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05814 | false | 0 | 0.081395 | 0 | 0.197674 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b2ced46a15f852a9d3ecebce572c25a27f887c81 | 11,276 | py | Python | ExtractFeaturesFromBlocksSlices.py | guoqingbao/DeepAdipose | 62af7a767f8f0f91e06b3f0b556dde5f9ead5d32 | [
"Apache-2.0"
] | null | null | null | ExtractFeaturesFromBlocksSlices.py | guoqingbao/DeepAdipose | 62af7a767f8f0f91e06b3f0b556dde5f9ead5d32 | [
"Apache-2.0"
] | null | null | null | ExtractFeaturesFromBlocksSlices.py | guoqingbao/DeepAdipose | 62af7a767f8f0f91e06b3f0b556dde5f9ead5d32 | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function
import os, time
import collections
import platform
import csv
import SimpleITK as sitk
import six
from radiomics import firstorder, glcm, imageoperations, shape, glrlm, glszm, featureextractor
import numpy as np
# import matplotlib.pyplot as plt
import imp
import datetime
import... | 32.495677 | 120 | 0.594271 | 1,329 | 11,276 | 4.887886 | 0.153499 | 0.044335 | 0.058498 | 0.064655 | 0.758313 | 0.741841 | 0.716133 | 0.716133 | 0.716133 | 0.695505 | 0 | 0.00873 | 0.268624 | 11,276 | 346 | 121 | 32.589595 | 0.77895 | 0.075825 | 0 | 0.725191 | 0 | 0 | 0.119016 | 0.018073 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003817 | false | 0.007634 | 0.053435 | 0 | 0.061069 | 0.061069 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6520db39a55ddccb201467fde759e292dcd5ab7d | 5,313 | py | Python | test/test_download.py | hnrd/PlaystoreDownloader | 57b54463ad4ad88326603ca85f3e2c5f52423ff1 | [
"MIT"
] | 2 | 2021-06-21T22:15:34.000Z | 2021-08-12T11:23:06.000Z | test/test_download.py | hnrd/PlaystoreDownloader | 57b54463ad4ad88326603ca85f3e2c5f52423ff1 | [
"MIT"
] | null | null | null | test/test_download.py | hnrd/PlaystoreDownloader | 57b54463ad4ad88326603ca85f3e2c5f52423ff1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import os
import pytest
import download
from playstore.playstore import Playstore
# noinspection PyUnresolvedReferences
from test.test_playstore_api import (
playstore,
VALID_PACKAGE_NAME,
BAD_PACKAGE_NAME,
APK_WITH_OBB,
APK_WITH_SPLIT_APK,
)
# noinspection PyUnresolvedRe... | 34.72549 | 88 | 0.657068 | 628 | 5,313 | 5.273885 | 0.146497 | 0.081522 | 0.067633 | 0.086957 | 0.834843 | 0.797705 | 0.766304 | 0.757548 | 0.757548 | 0.757548 | 0 | 0.001005 | 0.250518 | 5,313 | 152 | 89 | 34.953947 | 0.830738 | 0.152268 | 0 | 0.495146 | 0 | 0 | 0.196922 | 0.14942 | 0 | 0 | 0 | 0 | 0.048544 | 1 | 0.07767 | false | 0 | 0.058252 | 0 | 0.145631 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
653a22ae30b862481e6537646edd2ab9fb92fe69 | 11,338 | py | Python | Fon_web_selenium_parser.py | ghobtr/Colaboratory_Public | 39c9109c8d55919e033fa4ffcb728e989c13c3b5 | [
"MIT"
] | null | null | null | Fon_web_selenium_parser.py | ghobtr/Colaboratory_Public | 39c9109c8d55919e033fa4ffcb728e989c13c3b5 | [
"MIT"
] | null | null | null | Fon_web_selenium_parser.py | ghobtr/Colaboratory_Public | 39c9109c8d55919e033fa4ffcb728e989c13c3b5 | [
"MIT"
] | null | null | null | # coding=utf-8
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
import pathlib
from docx import Document
from datetime import datetime, timedelta
import time
import os
from docx.shared import Inches
import pandas as pd
# Requirements
# pip install selenium
# pip insta... | 31.320442 | 122 | 0.716617 | 1,732 | 11,338 | 4.484411 | 0.142032 | 0.062315 | 0.04635 | 0.029355 | 0.802755 | 0.774173 | 0.747264 | 0.735677 | 0.733102 | 0.706837 | 0 | 0.022636 | 0.123302 | 11,338 | 361 | 123 | 31.407202 | 0.758551 | 0.035103 | 0 | 0.684211 | 0 | 0.008772 | 0.24169 | 0.078063 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.004386 | 0.039474 | 0 | 0.039474 | 0.004386 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3309bab48297a641cac1d4a314e783f4dd5823ad | 3,648 | py | Python | psa/migrations/0019_auto_20210603_1606.py | Nels885/csd_dashboard | aa5a3b970c50a2a93af722f962bd87c3728f233c | [
"MIT"
] | null | null | null | psa/migrations/0019_auto_20210603_1606.py | Nels885/csd_dashboard | aa5a3b970c50a2a93af722f962bd87c3728f233c | [
"MIT"
] | null | null | null | psa/migrations/0019_auto_20210603_1606.py | Nels885/csd_dashboard | aa5a3b970c50a2a93af722f962bd87c3728f233c | [
"MIT"
] | null | null | null | # Generated by Django 3.2.3 on 2021-06-03 14:06
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('psa', '0018_delete_emfmodel'),
]
operations = [
migrations.AlterField(
model_name='corvet',
... | 58.83871 | 198 | 0.629386 | 447 | 3,648 | 4.948546 | 0.143177 | 0.057866 | 0.094937 | 0.149186 | 0.78255 | 0.78255 | 0.738246 | 0.738246 | 0.718807 | 0.705244 | 0 | 0.006543 | 0.203947 | 3,648 | 61 | 199 | 59.803279 | 0.755165 | 0.012336 | 0 | 0.345455 | 1 | 0 | 0.129964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.036364 | 0 | 0.090909 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
331590520b7b7016620955ae851d9646c86ad9ad | 70 | py | Python | fingym/__init__.py | entrpn/fingym | 9d73b93a3f287981e6353525f7405c9af910c663 | [
"Apache-2.0"
] | 17 | 2020-02-26T07:24:11.000Z | 2021-09-03T17:49:10.000Z | fingym/__init__.py | entrpn/fingym | 9d73b93a3f287981e6353525f7405c9af910c663 | [
"Apache-2.0"
] | 3 | 2020-02-24T23:07:48.000Z | 2020-03-24T21:48:53.000Z | fingym/__init__.py | entrpn/fingym | 9d73b93a3f287981e6353525f7405c9af910c663 | [
"Apache-2.0"
] | 4 | 2020-02-20T15:15:55.000Z | 2021-07-05T01:15:29.000Z | from fingym.fingym import make
from fingym.envs.spy_envs import SpyEnv | 35 | 39 | 0.857143 | 12 | 70 | 4.916667 | 0.583333 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 70 | 2 | 39 | 35 | 0.936508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3332d2614a66b60c544476b2a419135f007b0b90 | 2,163 | py | Python | hog/tests/04.py | luv-sic/composing-programs | 27391ac844df045b865524f1936682a0872569b5 | [
"MIT"
] | 1 | 2021-11-27T08:53:01.000Z | 2021-11-27T08:53:01.000Z | hog/tests/04.py | luvsic3/composing-programs | 27391ac844df045b865524f1936682a0872569b5 | [
"MIT"
] | null | null | null | hog/tests/04.py | luvsic3/composing-programs | 27391ac844df045b865524f1936682a0872569b5 | [
"MIT"
] | null | null | null | test = {
'name': 'Question 4',
'points': 1,
'suites': [
{
'cases': [
{
'code': r"""
>>> is_swap(19, 91)
False
""",
'hidden': False,
'locked': False
},
{
'code': r"""
>>> is_swap(19, 19)
True... | 18.808696 | 30 | 0.279242 | 155 | 2,163 | 3.812903 | 0.258065 | 0.13198 | 0.142132 | 0.22335 | 0.780034 | 0.71066 | 0.71066 | 0.71066 | 0.71066 | 0.263959 | 0 | 0.052254 | 0.548775 | 2,163 | 114 | 31 | 18.973684 | 0.553279 | 0 | 0 | 0.54386 | 0 | 0 | 0.465557 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008772 | 0 | 0.008772 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
333f49c16549c2bfda1ac914d9a8635eff77d421 | 139 | py | Python | movieapp/admin.py | jejurkarganesh/gbjmovieapi | 3642ddfcee4ed7a9ba6d90fd90175da866ddc1fe | [
"MIT"
] | null | null | null | movieapp/admin.py | jejurkarganesh/gbjmovieapi | 3642ddfcee4ed7a9ba6d90fd90175da866ddc1fe | [
"MIT"
] | null | null | null | movieapp/admin.py | jejurkarganesh/gbjmovieapi | 3642ddfcee4ed7a9ba6d90fd90175da866ddc1fe | [
"MIT"
] | null | null | null | from django.contrib import admin
from . models import *
admin.site.register(Movie)
admin.site.register(Genre)
admin.site.register(Poster) | 19.857143 | 32 | 0.798561 | 20 | 139 | 5.55 | 0.55 | 0.243243 | 0.459459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093525 | 139 | 7 | 33 | 19.857143 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6828c45f2930d146f6b649683845488d3eb80dde | 32 | py | Python | project/tasks/models/__init__.py | maguayo/django-todo-api | b15b9a6dbb662d5bddb55f0b4152ad3d13b6b756 | [
"MIT"
] | null | null | null | project/tasks/models/__init__.py | maguayo/django-todo-api | b15b9a6dbb662d5bddb55f0b4152ad3d13b6b756 | [
"MIT"
] | null | null | null | project/tasks/models/__init__.py | maguayo/django-todo-api | b15b9a6dbb662d5bddb55f0b4152ad3d13b6b756 | [
"MIT"
] | null | null | null | from .tasks import Task # noqa
| 16 | 31 | 0.71875 | 5 | 32 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 1 | 32 | 32 | 0.92 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6862db50b2263310b7a8518ce5587406a9112cc3 | 168 | py | Python | backend/pugorugh/admin.py | adamkielar/pugorugh_api | f21dcb007595568756d98c2a08f8d8d31401c263 | [
"MIT"
] | null | null | null | backend/pugorugh/admin.py | adamkielar/pugorugh_api | f21dcb007595568756d98c2a08f8d8d31401c263 | [
"MIT"
] | null | null | null | backend/pugorugh/admin.py | adamkielar/pugorugh_api | f21dcb007595568756d98c2a08f8d8d31401c263 | [
"MIT"
] | null | null | null | from django.contrib import admin
from pugorugh import models
admin.site.register(models.Dog)
admin.site.register(models.UserPref)
admin.site.register(models.UserDog)
| 21 | 36 | 0.827381 | 24 | 168 | 5.791667 | 0.5 | 0.194245 | 0.366906 | 0.496403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077381 | 168 | 7 | 37 | 24 | 0.896774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
68736d3decdf8333625195170923c14457739186 | 39 | py | Python | sensorLoggers/logentry.py | zjcers/ecohawks-battery | dd214584fc141aca64702d1093f218a3238ab22a | [
"MIT"
] | 2 | 2016-11-16T05:53:03.000Z | 2017-09-27T15:12:20.000Z | sensorLoggers/logentry.py | zjcers/ecohawks-battery | dd214584fc141aca64702d1093f218a3238ab22a | [
"MIT"
] | 2 | 2016-04-29T01:38:30.000Z | 2016-09-21T15:41:20.000Z | sensorLoggers/logentry.py | zjcers/ecohawks-battery | dd214584fc141aca64702d1093f218a3238ab22a | [
"MIT"
] | null | null | null | class Entry(dict):
def derp():
pass
| 9.75 | 18 | 0.641026 | 6 | 39 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 39 | 3 | 19 | 13 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
688dd6bb2b274d68840eef03670bdd70713973d4 | 34 | py | Python | accounts/admin/__init__.py | UserGraund/main_application | a814daf816858c94035191e01adae0a6b4d0bb42 | [
"MIT"
] | null | null | null | accounts/admin/__init__.py | UserGraund/main_application | a814daf816858c94035191e01adae0a6b4d0bb42 | [
"MIT"
] | null | null | null | accounts/admin/__init__.py | UserGraund/main_application | a814daf816858c94035191e01adae0a6b4d0bb42 | [
"MIT"
] | null | null | null | from .account import AccountAdmin
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 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 | 1 | 0 | 0 | 6 |
d79fe6225d869da5f302b92dd41e05f3a1ce4788 | 32 | py | Python | scripts/__init__.py | Mr-TalhaIlyas/EMPatches | c2785952bbcbac2a8b7bac30c9b64f239f33e8dc | [
"MIT"
] | null | null | null | scripts/__init__.py | Mr-TalhaIlyas/EMPatches | c2785952bbcbac2a8b7bac30c9b64f239f33e8dc | [
"MIT"
] | null | null | null | scripts/__init__.py | Mr-TalhaIlyas/EMPatches | c2785952bbcbac2a8b7bac30c9b64f239f33e8dc | [
"MIT"
] | null | null | null | from .empatches import EMPatches | 32 | 32 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cc0e17ee0bc188f5e8239bf0cbd35a92b56bb5ec | 33,675 | py | Python | Packs/OpsGenie/Integrations/OpsGenieV3/OpsGenieV3_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 799 | 2016-08-02T06:43:14.000Z | 2022-03-31T11:10:11.000Z | Packs/OpsGenie/Integrations/OpsGenieV3/OpsGenieV3_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 9,317 | 2016-08-07T19:00:51.000Z | 2022-03-31T21:56:04.000Z | Packs/OpsGenie/Integrations/OpsGenieV3/OpsGenieV3_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 1,297 | 2016-08-04T13:59:00.000Z | 2022-03-31T23:43:06.000Z | import pytest
import io
from CommonServerPython import *
import OpsGenieV3
from unittest import mock
def util_load_json(path):
with io.open(path, mode='r', encoding='utf-8') as f:
return json.loads(f.read())
def test_create_alert_wrong_responders():
"""
Given:
- An app client object
... | 36.523861 | 130 | 0.640891 | 4,061 | 33,675 | 5.039399 | 0.044817 | 0.080137 | 0.038114 | 0.050037 | 0.930418 | 0.896115 | 0.861129 | 0.835231 | 0.805033 | 0.769216 | 0 | 0.027404 | 0.245791 | 33,675 | 921 | 131 | 36.563518 | 0.778368 | 0.24288 | 0 | 0.464935 | 0 | 0.005195 | 0.2212 | 0.110452 | 0 | 0 | 0 | 0 | 0.119481 | 1 | 0.124675 | false | 0 | 0.012987 | 0 | 0.14026 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0415ad7afe66decfca2d68b8a0ef5dfe5697f876 | 22 | py | Python | exercises/alphametics/alphametics.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 1 | 2021-05-15T19:59:04.000Z | 2021-05-15T19:59:04.000Z | exercises/alphametics/alphametics.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | null | null | null | exercises/alphametics/alphametics.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 2 | 2018-03-03T08:32:12.000Z | 2019-08-22T11:55:53.000Z | def solve():
pass
| 7.333333 | 12 | 0.545455 | 3 | 22 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 22 | 2 | 13 | 11 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
042933e60196763a5e5267f2a0d9e23f6f5449ad | 112 | py | Python | lightning_transformers/task/nlp/translation/datasets/__init__.py | maksym-taranukhin/lightning-transformers | aa7202657973b5b65c3c36eb745621043859ebc4 | [
"Apache-2.0"
] | 451 | 2021-04-21T15:53:59.000Z | 2022-03-29T10:39:45.000Z | lightning_transformers/task/nlp/translation/datasets/__init__.py | mathemusician/lightning-transformers | b2ef06113433e6a178ce4d3c9df7ede8064e247f | [
"Apache-2.0"
] | 92 | 2021-04-21T18:42:58.000Z | 2022-03-30T05:29:54.000Z | lightning_transformers/task/nlp/translation/datasets/__init__.py | mathemusician/lightning-transformers | b2ef06113433e6a178ce4d3c9df7ede8064e247f | [
"Apache-2.0"
] | 51 | 2021-04-22T05:35:28.000Z | 2022-03-17T13:08:12.000Z | from lightning_transformers.task.nlp.translation.datasets.wmt16 import WMT16TranslationDataModule # noqa: F401
| 56 | 111 | 0.866071 | 12 | 112 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067308 | 0.071429 | 112 | 1 | 112 | 112 | 0.855769 | 0.089286 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
04330e4123d4015cbc52d2e213d143e69a15582a | 37 | py | Python | bumblebee/bees/__init__.py | nosoyyo/bumblebee | 60452b03b2cd255ae4582a830b463fe7183e209e | [
"Apache-2.0"
] | null | null | null | bumblebee/bees/__init__.py | nosoyyo/bumblebee | 60452b03b2cd255ae4582a830b463fe7183e209e | [
"Apache-2.0"
] | null | null | null | bumblebee/bees/__init__.py | nosoyyo/bumblebee | 60452b03b2cd255ae4582a830b463fe7183e209e | [
"Apache-2.0"
] | null | null | null | from .abstractbee import AbstractBee
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
04334a418c192f5b8374e982f57a5fa84d4e8017 | 50 | py | Python | aiomatrix/types/events/relationships/__init__.py | Forden/aiomatrix | d258076bae8eb776495b92be46ee9f4baec8d9a6 | [
"MIT"
] | 2 | 2021-10-29T18:07:08.000Z | 2021-11-19T00:25:43.000Z | aiomatrix/types/events/relationships/__init__.py | Forden/aiomatrix | d258076bae8eb776495b92be46ee9f4baec8d9a6 | [
"MIT"
] | 1 | 2022-03-06T11:17:43.000Z | 2022-03-06T11:17:43.000Z | aiomatrix/types/events/relationships/__init__.py | Forden/aiomatrix | d258076bae8eb776495b92be46ee9f4baec8d9a6 | [
"MIT"
] | null | null | null | from .reaction import ReactionRelationshipContent
| 25 | 49 | 0.9 | 4 | 50 | 11.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.978261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f0adc4202353ee00b0ca2c448aab7957d335b934 | 971 | py | Python | Taller de Estructuras de Control Selectivas/Ejercicio_10.py | JRobayo99/Talleres-de-algotimos | 684ad3a4a21ada2f8347a6bae6eaa845d5abb2dc | [
"MIT"
] | null | null | null | Taller de Estructuras de Control Selectivas/Ejercicio_10.py | JRobayo99/Talleres-de-algotimos | 684ad3a4a21ada2f8347a6bae6eaa845d5abb2dc | [
"MIT"
] | null | null | null | Taller de Estructuras de Control Selectivas/Ejercicio_10.py | JRobayo99/Talleres-de-algotimos | 684ad3a4a21ada2f8347a6bae6eaa845d5abb2dc | [
"MIT"
] | null | null | null | cat=int(input("Ingrese la categoria del trbajdor: "))
suel=int(input("Ingrese el sueldo bruto del trabajador: "))
if(cat==1):
suelt1=suel* 0.10
suelt= suelt1+suel
print("Categoria: " +str(cat))
print("Susueldo bruto con aumento es de: ""{:.0f}".format(suelt)," COP")
elif(cat==2):
suelt1=suel* 0.15
... | 34.678571 | 76 | 0.621009 | 142 | 971 | 4.246479 | 0.267606 | 0.165837 | 0.091211 | 0.165837 | 0.73466 | 0.73466 | 0.73466 | 0.73466 | 0.73466 | 0.73466 | 0 | 0.044081 | 0.182286 | 971 | 28 | 77 | 34.678571 | 0.715365 | 0 | 0 | 0.555556 | 0 | 0 | 0.360082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.37037 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f0ed9ba1a527149a84c4884a7565173336cc71d7 | 45 | py | Python | signbank/settings/testing.py | r-tae/signbank-modular | 0c558fa0965c65d5e9def07b2e7b4b70f383a270 | [
"BSD-3-Clause"
] | 5 | 2016-01-19T04:06:40.000Z | 2020-05-01T17:10:46.000Z | signbank/settings/testing.py | r-tae/signbank-modular | 0c558fa0965c65d5e9def07b2e7b4b70f383a270 | [
"BSD-3-Clause"
] | 8 | 2020-06-05T16:37:24.000Z | 2022-01-12T04:21:10.000Z | signbank/settings/testing.py | r-tae/signbank-modular | 0c558fa0965c65d5e9def07b2e7b4b70f383a270 | [
"BSD-3-Clause"
] | 1 | 2022-03-07T01:27:25.000Z | 2022-03-07T01:27:25.000Z | from signbank.settings.development import *
| 15 | 43 | 0.822222 | 5 | 45 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 2 | 44 | 22.5 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0b17f11cd7c2dad3b2b46b55186f2163af4098b6 | 198,910 | py | Python | raysect/core/math/function/float/function2d/interpolate/tests/data/interpolator2d_test_data.py | raysect/source | 11f03089d0379fc7fb4d23c6f60c3d255673cec9 | [
"BSD-3-Clause"
] | 71 | 2015-10-25T16:50:18.000Z | 2022-03-02T03:46:19.000Z | raysect/core/math/function/float/function2d/interpolate/tests/data/interpolator2d_test_data.py | raysect/source | 11f03089d0379fc7fb4d23c6f60c3d255673cec9 | [
"BSD-3-Clause"
] | 336 | 2015-02-11T22:39:54.000Z | 2022-02-22T18:42:32.000Z | raysect/core/math/function/float/function2d/interpolate/tests/data/interpolator2d_test_data.py | raysect/source | 11f03089d0379fc7fb4d23c6f60c3d255673cec9 | [
"BSD-3-Clause"
] | 24 | 2016-09-11T17:12:10.000Z | 2022-02-24T22:57:09.000Z | import numpy as np
class TestInterpolatorLoadValues:
"""
Base class for loading values for a 2D sinc function test.
Storage for interpolation and extrapolation data to be test against.
These data are saved to 12 significant figures. self.data is generated by applying the sinc function to an
(NB_X... | 82.501037 | 118 | 0.679538 | 25,229 | 198,910 | 5.351778 | 0.04039 | 0.062213 | 0.0237 | 0.025196 | 0.784854 | 0.741535 | 0.734943 | 0.702422 | 0.680455 | 0.679744 | 0 | 0.729579 | 0.170097 | 198,910 | 2,410 | 119 | 82.53527 | 0.088347 | 0.020507 | 0 | 0.373578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008311 | false | 0 | 0.000437 | 0 | 0.011811 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 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 | 6 |
9bc8adaa2aa970ca91a05eb47e260191843ef9c9 | 9,095 | py | Python | tests/assessments/test_resolvability_assessments.py | felix781/market-access-python-frontend | 3b0e49feb4fdf0224816326938a46002aa4a2b1c | [
"MIT"
] | 1 | 2021-12-15T04:14:03.000Z | 2021-12-15T04:14:03.000Z | tests/assessments/test_resolvability_assessments.py | felix781/market-access-python-frontend | 3b0e49feb4fdf0224816326938a46002aa4a2b1c | [
"MIT"
] | 19 | 2019-12-11T11:32:47.000Z | 2022-03-29T15:40:57.000Z | tests/assessments/test_resolvability_assessments.py | felix781/market-access-python-frontend | 3b0e49feb4fdf0224816326938a46002aa4a2b1c | [
"MIT"
] | 2 | 2021-02-09T09:38:45.000Z | 2021-03-29T19:07:09.000Z | from http import HTTPStatus
from django.urls import reverse
from mock import patch
from core.tests import MarketAccessTestCase
class TestResolvabilityAssessments(MarketAccessTestCase):
assessment_id = "1181e104-4607-4231-b70e-b3f96ccf402f"
@patch("utils.api.resources.APIResource.create")
def test_add_r... | 34.581749 | 80 | 0.536339 | 808 | 9,095 | 5.77599 | 0.112624 | 0.057853 | 0.041783 | 0.064281 | 0.92522 | 0.917934 | 0.917934 | 0.917934 | 0.88408 | 0.88408 | 0 | 0.007223 | 0.360638 | 9,095 | 262 | 81 | 34.71374 | 0.795357 | 0 | 0 | 0.681818 | 0 | 0 | 0.208796 | 0.105992 | 0 | 0 | 0 | 0 | 0.132231 | 1 | 0.041322 | false | 0 | 0.016529 | 0 | 0.066116 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9bd4bf61e27e8baeb481d4254bdbd9f6fd4096d2 | 28 | py | Python | backend/lost/api/filebrowser/api_definition.py | JonasGoebel/lost | 802be42fb6cd7d046db61a34d77c0b5d233eca46 | [
"MIT"
] | 490 | 2019-01-16T12:57:22.000Z | 2022-03-26T14:13:26.000Z | backend/lost/api/filebrowser/api_definition.py | JonasGoebel/lost | 802be42fb6cd7d046db61a34d77c0b5d233eca46 | [
"MIT"
] | 147 | 2019-01-23T13:22:42.000Z | 2022-03-30T11:14:08.000Z | backend/lost/api/filebrowser/api_definition.py | JonasGoebel/lost | 802be42fb6cd7d046db61a34d77c0b5d233eca46 | [
"MIT"
] | 91 | 2019-03-11T10:37:50.000Z | 2022-03-28T16:41:32.000Z | from lost.api.api import api | 28 | 28 | 0.821429 | 6 | 28 | 3.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
506180fa7302ea094c0c4b42b2927491ef5e962d | 121 | py | Python | mac_data/marshmallow_ext/__init__.py | mbattifarano/mac-data | 9c9cd608ee176a8d12427bbaeab2f3453b98c71c | [
"MIT"
] | 2 | 2018-05-21T23:29:54.000Z | 2019-01-17T21:19:10.000Z | mac_data/marshmallow_ext/__init__.py | mbattifarano/mac-data | 9c9cd608ee176a8d12427bbaeab2f3453b98c71c | [
"MIT"
] | 66 | 2018-07-13T01:49:20.000Z | 2022-02-21T14:15:14.000Z | mac_data/marshmallow_ext/__init__.py | mbattifarano/mac-data | 9c9cd608ee176a8d12427bbaeab2f3453b98c71c | [
"MIT"
] | null | null | null | from fields import Union, Either, NullObject # NOQA
def fieldnames(schema):
return schema._declared_fields.keys()
| 20.166667 | 52 | 0.760331 | 15 | 121 | 6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157025 | 121 | 5 | 53 | 24.2 | 0.882353 | 0.033058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
acabf23966d126c728b12bd9d274d41716145114 | 199 | py | Python | models/classification/__init__.py | gyx1997/msr22-defects | 769ebb5add21002c3234517b49b9363b44b243c4 | [
"MIT"
] | null | null | null | models/classification/__init__.py | gyx1997/msr22-defects | 769ebb5add21002c3234517b49b9363b44b243c4 | [
"MIT"
] | null | null | null | models/classification/__init__.py | gyx1997/msr22-defects | 769ebb5add21002c3234517b49b9363b44b243c4 | [
"MIT"
] | null | null | null | from models.classification.baseclassifier import BaseClassifier
from models.classification.textcnnclassifier import TextCNNClassifier
from models.classification.lstmclassifier import LSTMClassifier | 66.333333 | 70 | 0.904523 | 18 | 199 | 10 | 0.388889 | 0.166667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065327 | 199 | 3 | 71 | 66.333333 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
acb42a316b9d031ee1f195d9903c63cfbff089cb | 27 | py | Python | UnityPython.BackEnd/TestModules/__init__.py | thautwarm/Traffy.UnityPython | 2133db6df44d70e766b51a32bbe949d3deb84dc1 | [
"MIT"
] | 29 | 2022-02-21T01:48:23.000Z | 2022-03-31T11:01:14.000Z | UnityPython.BackEnd/TestModules/__init__.py | thautwarm/Traffy.UnityPython | 2133db6df44d70e766b51a32bbe949d3deb84dc1 | [
"MIT"
] | 25 | 2022-02-20T23:32:06.000Z | 2022-03-31T05:04:01.000Z | UnityPython.BackEnd/TestModules/__init__.py | thautwarm/Traffy.UnityPython | 2133db6df44d70e766b51a32bbe949d3deb84dc1 | [
"MIT"
] | null | null | null | from .MyModule import add1
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
acc9a5ca62143cb045acabaf7f536eedc5bdf35b | 137 | py | Python | FingerSpell/Home_Register/views.py | sid-146/FingerSpell | 52631df5d24a485210ce92e677891d9fa9fdd503 | [
"MIT"
] | null | null | null | FingerSpell/Home_Register/views.py | sid-146/FingerSpell | 52631df5d24a485210ce92e677891d9fa9fdd503 | [
"MIT"
] | null | null | null | FingerSpell/Home_Register/views.py | sid-146/FingerSpell | 52631df5d24a485210ce92e677891d9fa9fdd503 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# from
# Create your views here.
def home(request):
return render(request, "Fingerspell.html")
| 17.125 | 46 | 0.744526 | 18 | 137 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160584 | 137 | 7 | 47 | 19.571429 | 0.886957 | 0.20438 | 0 | 0 | 0 | 0 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ace37de63471ad7ad0a8b9c8cd46e72f1fe6e8e7 | 5,561 | py | Python | cifra/tests/test_launcher.py | dante-signal31/cifra | 3914822ec49cd238fe31fd58424fa2b058116b9a | [
"BSD-3-Clause"
] | null | null | null | cifra/tests/test_launcher.py | dante-signal31/cifra | 3914822ec49cd238fe31fd58424fa2b058116b9a | [
"BSD-3-Clause"
] | null | null | null | cifra/tests/test_launcher.py | dante-signal31/cifra | 3914822ec49cd238fe31fd58424fa2b058116b9a | [
"BSD-3-Clause"
] | null | null | null | """
Tests for some launcher commands.
"""
import pytest
import os.path
import tempfile
from test_common.fs.temp import temp_dir
import cifra.cifra_launcher as cifra_launcher
import cifra.cipher.substitution as substitution
from cifra.tests.test_dictionaries import loaded_dictionaries, LoadedDictionaries
from cifra.test... | 55.61 | 179 | 0.773782 | 701 | 5,561 | 5.777461 | 0.094151 | 0.074074 | 0.08 | 0.035556 | 0.825185 | 0.813827 | 0.785926 | 0.735556 | 0.714321 | 0.687901 | 0 | 0.002315 | 0.145657 | 5,561 | 99 | 180 | 56.171717 | 0.850137 | 0.005934 | 0 | 0.542169 | 0 | 0 | 0.151658 | 0.067766 | 0 | 0 | 0 | 0 | 0.072289 | 1 | 0.072289 | false | 0 | 0.168675 | 0 | 0.240964 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ace84d105bf5458b9f64d0df33dcaa06bff1ae74 | 179 | py | Python | src/graph_transpiler/webdnn/backend/webgpu/kernels/sqrt.py | urantialife/webdnn | dedc5da424288594cdfa605a015ddc7a3afcf2b7 | [
"MIT"
] | 1 | 2021-04-09T15:55:35.000Z | 2021-04-09T15:55:35.000Z | src/graph_transpiler/webdnn/backend/webgpu/kernels/sqrt.py | urantialife/webdnn | dedc5da424288594cdfa605a015ddc7a3afcf2b7 | [
"MIT"
] | null | null | null | src/graph_transpiler/webdnn/backend/webgpu/kernels/sqrt.py | urantialife/webdnn | dedc5da424288594cdfa605a015ddc7a3afcf2b7 | [
"MIT"
] | null | null | null | from webdnn.backend.webgpu.kernels.elementwise import register_elementwise_kernel
from webdnn.graph.operators.sqrt import Sqrt
register_elementwise_kernel(Sqrt, "y = sqrt(x0);")
| 35.8 | 81 | 0.837989 | 24 | 179 | 6.083333 | 0.583333 | 0.136986 | 0.342466 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0.072626 | 179 | 4 | 82 | 44.75 | 0.873494 | 0 | 0 | 0 | 0 | 0 | 0.072626 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c5b52096ca5979ef22c987df3f42a858e050dec9 | 19,126 | py | Python | unifonicnextgen/controllers/rest_controller.py | masaar/unifonic_python_sdk | 9346f48a91dabc41aca6acd61961d30f78d2f75b | [
"MIT"
] | null | null | null | unifonicnextgen/controllers/rest_controller.py | masaar/unifonic_python_sdk | 9346f48a91dabc41aca6acd61961d30f78d2f75b | [
"MIT"
] | null | null | null | unifonicnextgen/controllers/rest_controller.py | masaar/unifonic_python_sdk | 9346f48a91dabc41aca6acd61961d30f78d2f75b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
unifonicnextgen
This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
"""
from unifonicnextgen.api_helper import APIHelper
from unifonicnextgen.configuration import Configuration
from unifonicnextgen.controllers.base_controller import BaseContro... | 44.273148 | 117 | 0.604883 | 1,894 | 19,126 | 5.897043 | 0.143083 | 0.01343 | 0.030083 | 0.035813 | 0.759513 | 0.746799 | 0.720834 | 0.709822 | 0.703554 | 0.686006 | 0 | 0.00689 | 0.339799 | 19,126 | 431 | 118 | 44.37587 | 0.877643 | 0.365837 | 0 | 0.658416 | 1 | 0 | 0.090542 | 0.013633 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024752 | false | 0 | 0.049505 | 0 | 0.10396 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c5d55f51bd925a4016a014431a224b6848dabad2 | 525 | py | Python | tests/api_types/__init__.py | 0xOmarA/RadixLib | 85d75a47d4c4df4c1a319b74857ae2c513933623 | [
"MIT"
] | 32 | 2022-01-12T16:52:28.000Z | 2022-03-24T18:05:47.000Z | tests/api_types/__init__.py | 0xOmarA/RadixLib | 85d75a47d4c4df4c1a319b74857ae2c513933623 | [
"MIT"
] | 3 | 2022-01-12T17:01:55.000Z | 2022-02-12T15:14:16.000Z | tests/api_types/__init__.py | 0xOmarA/RadixLib | 85d75a47d4c4df4c1a319b74857ae2c513933623 | [
"MIT"
] | 1 | 2022-01-21T04:28:07.000Z | 2022-01-21T04:28:07.000Z | # type: ignore
from tests.api_types.test_transaction_identifier import TestTransactionIdentifier
from tests.api_types.test_validator_identifier import TestValidatorIdentifier
from tests.api_types.test_account_identifier import TestAccountIdentifier
from tests.api_types.test_network_identifier import TestNetworkIdentif... | 58.333333 | 81 | 0.910476 | 65 | 525 | 7.030769 | 0.353846 | 0.137856 | 0.183807 | 0.260394 | 0.343545 | 0.113786 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059048 | 525 | 9 | 82 | 58.333333 | 0.925101 | 0.022857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
680002cec2d13b358ff7150d0fa0c9d72817c186 | 1,056 | py | Python | admin.py | wbthomason/cs3240-onedir | 4bb1e8c2ef258d6f1ee4c2af02f04ceb4850dbdf | [
"MIT"
] | null | null | null | admin.py | wbthomason/cs3240-onedir | 4bb1e8c2ef258d6f1ee4c2af02f04ceb4850dbdf | [
"MIT"
] | null | null | null | admin.py | wbthomason/cs3240-onedir | 4bb1e8c2ef258d6f1ee4c2af02f04ceb4850dbdf | [
"MIT"
] | null | null | null | import requests
def update_user(admin_password, old_email, new_email, new_password, addr):
url = "http://%s:3240/user/admin" % addr
args = {'password': admin_password, 'command': 'change', 'old_email': old_email, 'new_email': new_email, 'new_password': new_password}
requests.post(url, params=args, verify... | 32 | 138 | 0.669508 | 143 | 1,056 | 4.804196 | 0.20979 | 0.151383 | 0.064047 | 0.069869 | 0.791849 | 0.713246 | 0.713246 | 0.713246 | 0.713246 | 0.713246 | 0 | 0.0181 | 0.162879 | 1,056 | 33 | 139 | 32 | 0.75905 | 0 | 0 | 0.47619 | 0 | 0 | 0.219489 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0.380952 | 0.047619 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
6811077ebc42011d40c1f9597bd03ce20deaf94c | 90 | py | Python | src/gadget_tools/cli/__init__.py | oarodriguez/gadget-tools | 4ea07bedf45f633a6f92baea517867d96d7a7b75 | [
"Apache-2.0"
] | null | null | null | src/gadget_tools/cli/__init__.py | oarodriguez/gadget-tools | 4ea07bedf45f633a6f92baea517867d96d7a7b75 | [
"Apache-2.0"
] | null | null | null | src/gadget_tools/cli/__init__.py | oarodriguez/gadget-tools | 4ea07bedf45f633a6f92baea517867d96d7a7b75 | [
"Apache-2.0"
] | 1 | 2021-08-04T18:43:00.000Z | 2021-08-04T18:43:00.000Z | """
gadget_tools.cli
Command-Line Interface for Gadget-Tools.
"""
from .main import main
| 12.857143 | 40 | 0.744444 | 13 | 90 | 5.076923 | 0.769231 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 90 | 6 | 41 | 15 | 0.846154 | 0.644444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a861d8c87f655d3b3466f5eac8df3a8abc200588 | 241 | py | Python | src/robustness/imagenet_models/__init__.py | nikola3794/robust-models-transfer | f5b80eae6d07fdb123c658a7f4fcd2bc26a50f02 | [
"MIT"
] | null | null | null | src/robustness/imagenet_models/__init__.py | nikola3794/robust-models-transfer | f5b80eae6d07fdb123c658a7f4fcd2bc26a50f02 | [
"MIT"
] | null | null | null | src/robustness/imagenet_models/__init__.py | nikola3794/robust-models-transfer | f5b80eae6d07fdb123c658a7f4fcd2bc26a50f02 | [
"MIT"
] | null | null | null | from .resnet import *
from .densenet import *
from .vgg import *
from .leaky_resnet import *
from .alexnet import *
from .squeezenet import *
from .vision_transformer_rnd_per_dim import *
from .vision_transformer_rnd_per_dim_fmap_i import *
| 26.777778 | 52 | 0.80083 | 35 | 241 | 5.2 | 0.428571 | 0.384615 | 0.175824 | 0.296703 | 0.395604 | 0.395604 | 0.395604 | 0 | 0 | 0 | 0 | 0 | 0.13278 | 241 | 8 | 53 | 30.125 | 0.870813 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a87ec2125e4b328026a15e0f75b75ba85b9822c4 | 5,376 | py | Python | src/python/test/test_knn.py | m0baxter/gudhi-devel | 6e14ef1f31e09f3875316440303450ff870d9881 | [
"MIT"
] | 146 | 2019-03-15T14:10:31.000Z | 2022-03-23T21:14:52.000Z | src/python/test/test_knn.py | m0baxter/gudhi-devel | 6e14ef1f31e09f3875316440303450ff870d9881 | [
"MIT"
] | 398 | 2019-03-07T14:55:22.000Z | 2022-03-31T14:50:40.000Z | src/python/test/test_knn.py | m0baxter/gudhi-devel | 6e14ef1f31e09f3875316440303450ff870d9881 | [
"MIT"
] | 51 | 2019-03-08T15:58:48.000Z | 2022-03-14T10:23:23.000Z | """ This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
Author(s): Marc Glisse
Copyright (C) 2020 Inria
Modification(s):
- YYYY/MM Author: Description of the mo... | 41.038168 | 136 | 0.635603 | 758 | 5,376 | 4.401055 | 0.141161 | 0.052458 | 0.067446 | 0.07554 | 0.818345 | 0.796463 | 0.791067 | 0.773981 | 0.764988 | 0.748501 | 0 | 0.04689 | 0.198661 | 5,376 | 130 | 137 | 41.353846 | 0.727484 | 0.067894 | 0 | 0.555556 | 0 | 0 | 0.038739 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 1 | 0.027778 | false | 0 | 0.027778 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a88e6b174ad81f2000e705788168ab012ecf7536 | 36 | py | Python | balance/api/views.py | rockyfire/Django-China-API | e9c2fa9e40fd3aa3c27367e9ef7ac48d612a09a9 | [
"MIT"
] | 187 | 2018-03-08T11:18:11.000Z | 2021-12-26T13:29:02.000Z | src/apps/api/views.py | Flaiers/django-template | 4d14c1a7426e162d5e413e8f70e16e269cd63f82 | [
"MIT"
] | 67 | 2018-03-09T14:56:47.000Z | 2021-06-24T08:52:40.000Z | src/apps/api/views.py | Flaiers/django-template | 4d14c1a7426e162d5e413e8f70e16e269cd63f82 | [
"MIT"
] | 52 | 2018-03-08T11:18:12.000Z | 2021-08-02T16:07:04.000Z | from rest_framework import viewsets
| 18 | 35 | 0.888889 | 5 | 36 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a897814569153f11797fc922de02ad5e1e6294e4 | 22 | py | Python | test/python/LIM2Metrics/py3/base/common/Python010/Python010.py | sagodiz/SonarQube-plug-in | 4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c | [
"BSD-4-Clause"
] | 20 | 2015-06-16T17:39:10.000Z | 2022-03-20T22:39:40.000Z | test/python/LIM2Metrics/py3/base/common/Python010/Python010.py | sagodiz/SonarQube-plug-in | 4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c | [
"BSD-4-Clause"
] | 29 | 2015-12-29T19:07:22.000Z | 2022-03-22T10:39:02.000Z | test/python/LIM2Metrics/py3/base/common/Python010/Python010.py | sagodiz/SonarQube-plug-in | 4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c | [
"BSD-4-Clause"
] | 12 | 2015-08-28T01:22:18.000Z | 2021-09-25T08:17:31.000Z | import math as valami
| 11 | 21 | 0.818182 | 4 | 22 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a89d42c5b29770d03399371f1ca4247a55c6795b | 360 | py | Python | ramda/apply_to_test.py | jakobkolb/ramda.py | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | [
"MIT"
] | 56 | 2018-08-06T08:44:58.000Z | 2022-03-17T09:49:03.000Z | ramda/apply_to_test.py | jakobkolb/ramda.py | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | [
"MIT"
] | 28 | 2019-06-17T11:09:52.000Z | 2022-02-18T16:59:21.000Z | ramda/apply_to_test.py | jakobkolb/ramda.py | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | [
"MIT"
] | 5 | 2019-09-18T09:24:38.000Z | 2021-07-21T08:40:23.000Z | from .apply_to import apply_to
from .identity import identity
from .add import add
from ramda.private.asserts import assert_equal
def apply_nocurry_test():
assert_equal(apply_to(42, identity), 42)
assert_equal(apply_to(42, add(1)), 43)
def apply_curry_test():
assert_equal(apply_to(42)(identity), 42)
... | 24 | 46 | 0.747222 | 59 | 360 | 4.305085 | 0.305085 | 0.165354 | 0.251969 | 0.283465 | 0.472441 | 0.472441 | 0.472441 | 0.472441 | 0.472441 | 0.472441 | 0 | 0.058065 | 0.138889 | 360 | 14 | 47 | 25.714286 | 0.76129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
764ef9ee587a8bd23c45b6214f90b89c35f564d1 | 103,451 | py | Python | test/functional/feature_alerts_instant.py | lunatechza/bitcoinvault | 3110c208b1946ee5f689e469e58f80926282b0f2 | [
"MIT"
] | null | null | null | test/functional/feature_alerts_instant.py | lunatechza/bitcoinvault | 3110c208b1946ee5f689e469e58f80926282b0f2 | [
"MIT"
] | null | null | null | test/functional/feature_alerts_instant.py | lunatechza/bitcoinvault | 3110c208b1946ee5f689e469e58f80926282b0f2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# Copyright (c) 2016-2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test the Alerts changeover logic."""
import os
import shutil
from decimal import Decimal
from test_fra... | 49.262381 | 339 | 0.683821 | 12,100 | 103,451 | 5.64281 | 0.037355 | 0.089106 | 0.05463 | 0.019552 | 0.922083 | 0.902004 | 0.886845 | 0.855986 | 0.830121 | 0.799291 | 0 | 0.032732 | 0.1982 | 103,451 | 2,099 | 340 | 49.28585 | 0.79042 | 0.057206 | 0 | 0.690821 | 0 | 0 | 0.104538 | 0.009702 | 0 | 0 | 0.000206 | 0.000476 | 0.136646 | 1 | 0.05314 | false | 0.00207 | 0.05452 | 0.00069 | 0.110421 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
76bdb595fa0630eafcea0e881758f0cbd8301b1b | 46 | py | Python | ofdft_ml/quantum/__init__.py | HamletWantToCode/ofdft-ml | 4115405b6f530cdf8956d0b5b353569ce7c09496 | [
"MIT"
] | 6 | 2019-01-16T07:00:27.000Z | 2022-03-18T07:09:25.000Z | ofdft_ml/quantum/__init__.py | HamletWantToCode/ofdft-ml | 4115405b6f530cdf8956d0b5b353569ce7c09496 | [
"MIT"
] | null | null | null | ofdft_ml/quantum/__init__.py | HamletWantToCode/ofdft-ml | 4115405b6f530cdf8956d0b5b353569ce7c09496 | [
"MIT"
] | null | null | null | from .solver import *
from .ofdft import OFDFT | 23 | 24 | 0.782609 | 7 | 46 | 5.142857 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 24 | 23 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76c4d09969c17b00df3e8dd8d37cb3d229e29c42 | 4,737 | py | Python | tests/plugins/test_add_dockerfile.py | tveverka-RH/atomic-reactor | e3fca7dd435250cb06565f19c8758a908f7f3c62 | [
"BSD-3-Clause"
] | 16 | 2019-07-04T16:00:13.000Z | 2022-01-28T19:51:58.000Z | tests/plugins/test_add_dockerfile.py | tveverka-RH/atomic-reactor | e3fca7dd435250cb06565f19c8758a908f7f3c62 | [
"BSD-3-Clause"
] | 577 | 2019-06-03T07:53:16.000Z | 2022-03-31T04:01:23.000Z | tests/plugins/test_add_dockerfile.py | ben-alkov/atomic-reactor | be6b626b7d822f77999f245193fefcc00c501ca9 | [
"BSD-3-Clause"
] | 17 | 2020-02-21T13:30:06.000Z | 2022-02-15T10:42:32.000Z | """
Copyright (c) 2015 Red Hat, Inc
All rights reserved.
This software may be modified and distributed under the terms
of the BSD license. See the LICENSE file for details.
"""
from flexmock import flexmock
from atomic_reactor.plugin import PreBuildPluginsRunner
from atomic_reactor.plugins.pre_add_dockerfile import A... | 26.762712 | 128 | 0.659489 | 585 | 4,737 | 5.230769 | 0.189744 | 0.067647 | 0.038235 | 0.047059 | 0.785621 | 0.781046 | 0.761438 | 0.748693 | 0.739216 | 0.733007 | 0 | 0.019178 | 0.22947 | 4,737 | 176 | 129 | 26.914773 | 0.819178 | 0.044332 | 0 | 0.729927 | 0 | 0.036496 | 0.285683 | 0.111481 | 0 | 0 | 0 | 0 | 0.080292 | 1 | 0.051095 | false | 0 | 0.043796 | 0 | 0.094891 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4f265efdd510cefac18e8e99e2b670ecb77ce525 | 29 | py | Python | test.py | dhunganabibek13/myTODOs | 2e676a5f3be4d67729e3d9f2f0907ae9cb55b3d5 | [
"MIT"
] | null | null | null | test.py | dhunganabibek13/myTODOs | 2e676a5f3be4d67729e3d9f2f0907ae9cb55b3d5 | [
"MIT"
] | null | null | null | test.py | dhunganabibek13/myTODOs | 2e676a5f3be4d67729e3d9f2f0907ae9cb55b3d5 | [
"MIT"
] | null | null | null | print("Testing from Python")
| 14.5 | 28 | 0.758621 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4f46b3e6330eac9cef0776ba3ed1a19487773dbf | 112 | py | Python | 7 kyu/Leap Years.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | 7 kyu/Leap Years.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | 7 kyu/Leap Years.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | def isLeapYear(year):
return True if year%400==0 else False if year%100==0 else True if year%4==0 else False | 56 | 90 | 0.723214 | 23 | 112 | 3.521739 | 0.521739 | 0.222222 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 0.169643 | 112 | 2 | 90 | 56 | 0.763441 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
4f608e6045904017691de5ed134136e9e728653f | 19,426 | py | Python | entity_emailer/tests/test_tasks.py | wesleykendall/django-entity-emailer | 60d078a12cccc4912d0a2aab8c2d9710d9241f22 | [
"MIT"
] | null | null | null | entity_emailer/tests/test_tasks.py | wesleykendall/django-entity-emailer | 60d078a12cccc4912d0a2aab8c2d9710d9241f22 | [
"MIT"
] | null | null | null | entity_emailer/tests/test_tasks.py | wesleykendall/django-entity-emailer | 60d078a12cccc4912d0a2aab8c2d9710d9241f22 | [
"MIT"
] | null | null | null | from datetime import datetime
from django.core import mail
from django.core.management import call_command
from django.test import TestCase, SimpleTestCase
from django.test.utils import override_settings
from django_dynamic_fixture import G
from entity.models import Entity, EntityRelationship, EntityKind
from entity_e... | 44.863741 | 118 | 0.688356 | 2,423 | 19,426 | 5.271564 | 0.086669 | 0.052611 | 0.046035 | 0.024661 | 0.823064 | 0.802396 | 0.798325 | 0.774368 | 0.75871 | 0.738119 | 0 | 0.01175 | 0.193864 | 19,426 | 432 | 119 | 44.967593 | 0.803895 | 0.018532 | 0 | 0.663866 | 0 | 0 | 0.127643 | 0.04323 | 0 | 0 | 0 | 0 | 0.168067 | 1 | 0.095238 | false | 0 | 0.036415 | 0 | 0.151261 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8c10025fef80cb12951fb1284490ec28fe0f1eed | 196 | py | Python | machina/noise/base.py | AswinRetnakumar/Machina | 6519935ca4553192ac99fc1c7c1e7cab9dd72693 | [
"MIT"
] | 302 | 2019-03-13T10:21:29.000Z | 2022-03-25T10:01:46.000Z | machina/noise/base.py | AswinRetnakumar/Machina | 6519935ca4553192ac99fc1c7c1e7cab9dd72693 | [
"MIT"
] | 50 | 2019-03-13T09:45:00.000Z | 2021-12-23T18:32:00.000Z | machina/noise/base.py | AswinRetnakumar/Machina | 6519935ca4553192ac99fc1c7c1e7cab9dd72693 | [
"MIT"
] | 55 | 2019-03-17T01:59:57.000Z | 2022-03-28T01:13:40.000Z |
class BaseActionNoise(object):
"""
Base class of action noise.
"""
def __init__(self, action_space):
self.action_space = action_space
def reset(self):
pass
| 15.076923 | 40 | 0.607143 | 22 | 196 | 5.090909 | 0.590909 | 0.294643 | 0.267857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.295918 | 196 | 12 | 41 | 16.333333 | 0.811594 | 0.137755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
8c46df1672bca0d6b819e65e8b827bbad20f9096 | 26 | py | Python | variational_principle/plot/__init__.py | Tiernan8r/Variational-Principle | e5f82956c3bfd57f7d73c7220ac2cdd9c8f09935 | [
"MIT"
] | 1 | 2020-05-21T08:10:24.000Z | 2020-05-21T08:10:24.000Z | variational_principle/plot/__init__.py | Tiernan8r/Variational_Principle | e5f82956c3bfd57f7d73c7220ac2cdd9c8f09935 | [
"MIT"
] | 33 | 2020-01-21T12:02:06.000Z | 2020-06-23T16:50:57.000Z | variational_principle/plot/__init__.py | Tiernan8r/Variational_Principle | e5f82956c3bfd57f7d73c7220ac2cdd9c8f09935 | [
"MIT"
] | 1 | 2022-03-17T01:50:25.000Z | 2022-03-17T01:50:25.000Z | from .plot import plotting | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c4b48dcb4de95c9f0253e77f484a9cf4cc1a333 | 48 | py | Python | tests/fixtures/sample-dir/dir2/f2_1.py | swiperthefox/python-source-browser | 12f276179253fb87326e054137698e89f3354886 | [
"MIT"
] | null | null | null | tests/fixtures/sample-dir/dir2/f2_1.py | swiperthefox/python-source-browser | 12f276179253fb87326e054137698e89f3354886 | [
"MIT"
] | 3 | 2015-06-20T02:30:10.000Z | 2015-07-05T10:07:05.000Z | tests/fixtures/sample-dir/dir2/f2_1.py | swiperthefox/python-source-browser | 12f276179253fb87326e054137698e89f3354886 | [
"MIT"
] | null | null | null | class Test:
def method1(self):
pass
| 12 | 22 | 0.5625 | 6 | 48 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.354167 | 48 | 3 | 23 | 16 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
8c60f4361b929dd4fd1ffa3e3d3a9e4285c820c6 | 3,096 | py | Python | flatland/database/population/node/compartment_type_instances.py | erik-soederholm/flatland-model-diagram-editor | 088e27cded9eca2cacba2c6168c03caf4b43ef72 | [
"MIT"
] | 10 | 2021-01-03T16:47:34.000Z | 2022-03-30T18:47:07.000Z | flatland/database/population/node/compartment_type_instances.py | modelint/flatland-model-diagram-editor | 088e27cded9eca2cacba2c6168c03caf4b43ef72 | [
"MIT"
] | 91 | 2021-01-09T02:14:13.000Z | 2022-02-24T10:24:10.000Z | flatland/database/population/node/compartment_type_instances.py | erik-soederholm/flatland-model-diagram-editor | 088e27cded9eca2cacba2c6168c03caf4b43ef72 | [
"MIT"
] | 1 | 2021-01-13T22:13:19.000Z | 2021-01-13T22:13:19.000Z | """
compartment_type_instances.py
"""
population = [
# Class diagram
# Class
{'Name': 'name', 'Horizontal alignment': 'CENTER', 'Vertical alignment': 'CENTER',
'Pad top': 5, 'Pad bottom': 10, 'Pad left': 5, 'Pad right': 5, 'Text style': 'TITLE',
'Node type': 'class', 'Diagram type': 'class', 'Sta... | 52.474576 | 94 | 0.593346 | 386 | 3,096 | 4.753886 | 0.111399 | 0.045777 | 0.034332 | 0.049046 | 0.857221 | 0.857221 | 0.814714 | 0.813624 | 0.757493 | 0.711172 | 0 | 0.026864 | 0.194444 | 3,096 | 59 | 95 | 52.474576 | 0.708901 | 0.056202 | 0 | 0.428571 | 0 | 0 | 0.594288 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.057143 | 0 | 0.057143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4fc090f599e43cb9edb8422a72cb068cbe1cca5d | 7,947 | py | Python | tenable_io/api/agent_groups.py | skrtu/Tenable.io-SDK-for-Python | fde8871ba558666609183ac8702149ecf08421b5 | [
"MIT"
] | 90 | 2017-02-02T18:36:17.000Z | 2022-02-05T17:58:50.000Z | tenable_io/api/agent_groups.py | skrtu/Tenable.io-SDK-for-Python | fde8871ba558666609183ac8702149ecf08421b5 | [
"MIT"
] | 64 | 2017-02-03T00:54:00.000Z | 2020-08-06T14:06:50.000Z | tenable_io/api/agent_groups.py | skrtu/Tenable.io-SDK-for-Python | fde8871ba558666609183ac8702149ecf08421b5 | [
"MIT"
] | 49 | 2017-02-03T01:01:00.000Z | 2022-02-25T13:25:28.000Z | from json import loads
from tenable_io.api.base import BaseApi, BaseRequest
from tenable_io.api.models import AgentGroup, AgentGroupList, AgentList
class AgentGroupsApi(BaseApi):
def add_agent(self, agent_group_id, agent_id, scanner_id=1):
"""Add an agent to the given agent group.
:param agent_... | 39.934673 | 107 | 0.535045 | 883 | 7,947 | 4.638732 | 0.121178 | 0.12207 | 0.105469 | 0.041016 | 0.849121 | 0.828125 | 0.821045 | 0.776367 | 0.764648 | 0.764648 | 0 | 0.002833 | 0.378256 | 7,947 | 198 | 108 | 40.136364 | 0.826149 | 0.355732 | 0 | 0.696429 | 0 | 0 | 0.145576 | 0.097123 | 0 | 0 | 0 | 0 | 0 | 1 | 0.080357 | false | 0 | 0.026786 | 0 | 0.196429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8b03e9bddf048e2b0bd8ad8893097105024e1cc5 | 124 | py | Python | features/steps/use_steplib_behave4git.py | arichtman/pyadr | 92a1a3495c92f50aca8966a5187fc96bff7ad3d1 | [
"MIT"
] | 5 | 2020-07-08T08:19:18.000Z | 2022-02-26T23:29:12.000Z | features/steps/use_steplib_behave4git.py | arichtman/pyadr | 92a1a3495c92f50aca8966a5187fc96bff7ad3d1 | [
"MIT"
] | 50 | 2020-04-05T22:40:41.000Z | 2022-02-26T23:53:12.000Z | features/steps/use_steplib_behave4git.py | arichtman/pyadr | 92a1a3495c92f50aca8966a5187fc96bff7ad3d1 | [
"MIT"
] | 1 | 2022-02-26T23:46:38.000Z | 2022-02-26T23:46:38.000Z | # flake8: noqa
"""
Use behave4git step library.
"""
# -- REGISTER-STEPS FROM STEP-LIBRARY:
import behave4git.__all_steps__
| 15.5 | 38 | 0.733871 | 15 | 124 | 5.733333 | 0.733333 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028037 | 0.137097 | 124 | 7 | 39 | 17.714286 | 0.775701 | 0.637097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c70a83e1e2cef0d07d73e428e31ca2a457ea971 | 7,246 | py | Python | spacy/tests/doc/test_span_group.py | stungkit/spaCy | a83a50119520ea8708f0ef0730f65f486556c273 | [
"MIT"
] | 1 | 2019-11-27T13:14:04.000Z | 2019-11-27T13:14:04.000Z | spacy/tests/doc/test_span_group.py | stungkit/spaCy | a83a50119520ea8708f0ef0730f65f486556c273 | [
"MIT"
] | 2 | 2022-02-21T05:50:08.000Z | 2022-03-15T03:19:49.000Z | spacy/tests/doc/test_span_group.py | stungkit/spaCy | a83a50119520ea8708f0ef0730f65f486556c273 | [
"MIT"
] | null | null | null | import pytest
from random import Random
from spacy.matcher import Matcher
from spacy.tokens import Span, SpanGroup
@pytest.fixture
def doc(en_tokenizer):
doc = en_tokenizer("0 1 2 3 4 5 6")
matcher = Matcher(en_tokenizer.vocab, validate=True)
# fmt: off
matcher.add("4", [[{}, {}, {}, {}]])
matche... | 29.81893 | 79 | 0.642699 | 1,045 | 7,246 | 4.167464 | 0.075598 | 0.254191 | 0.101033 | 0.032147 | 0.822503 | 0.80597 | 0.73938 | 0.725144 | 0.688863 | 0.656487 | 0 | 0.027476 | 0.211427 | 7,246 | 242 | 80 | 29.942149 | 0.734687 | 0.008004 | 0 | 0.584211 | 0 | 0 | 0.068524 | 0 | 0 | 0 | 0 | 0 | 0.221053 | 1 | 0.063158 | false | 0 | 0.021053 | 0 | 0.094737 | 0.005263 | 0 | 0 | 0 | null | 1 | 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 | 6 |
8c8488f3d727a3465931d0d9c0840f862ac57133 | 1,648 | py | Python | src/py/test_day2_dive.py | errantsky/advent-of-code-2021 | a86f8fe1342d865ae417c9eba8adaf075df93b55 | [
"MIT"
] | null | null | null | src/py/test_day2_dive.py | errantsky/advent-of-code-2021 | a86f8fe1342d865ae417c9eba8adaf075df93b55 | [
"MIT"
] | null | null | null | src/py/test_day2_dive.py | errantsky/advent-of-code-2021 | a86f8fe1342d865ae417c9eba8adaf075df93b55 | [
"MIT"
] | null | null | null | def part1(pairs):
depth = 0
h_pos = 0
for cmd, val in pairs:
val = int(val)
if cmd == "forward":
h_pos += val
elif cmd == "up":
depth -= val
elif cmd == "down":
depth += val
else:
raise Exception
return h_pos * dept... | 26.15873 | 87 | 0.554612 | 225 | 1,648 | 3.92 | 0.222222 | 0.072562 | 0.045351 | 0.072562 | 0.800454 | 0.800454 | 0.764172 | 0.764172 | 0.764172 | 0.675737 | 0 | 0.052817 | 0.31068 | 1,648 | 62 | 88 | 26.580645 | 0.723592 | 0 | 0 | 0.68 | 0 | 0 | 0.183252 | 0.160194 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0.12 | false | 0 | 0 | 0 | 0.16 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5090d4fd0182f2f4c753fb2821daf861fcd4e075 | 1,702 | py | Python | pirates/leveleditor/worldData/jungle_area_a.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/jungle_area_a.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/jungle_area_a.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.jungle_area_a
from pandac.PandaModules import Point3, VBase3
objectStruct = {'Objects': {'1157485817.84sdn... | 283.666667 | 1,427 | 0.668038 | 242 | 1,702 | 4.640496 | 0.42562 | 0.021371 | 0.021371 | 0.028495 | 0.303651 | 0.189671 | 0.078362 | 0.078362 | 0.048085 | 0 | 0 | 0.26739 | 0.079318 | 1,702 | 6 | 1,427 | 283.666667 | 0.449266 | 0.128672 | 0 | 0 | 0 | 0 | 0.553753 | 0.247465 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
0fd33c4c0a24820a76a9427ccea1f37a469e6642 | 108 | py | Python | qiskit_braket_provider/exception.py | Morcu/qiskit-braket-plugin | f486dc542204d54699673835a9c0bdc61ae34cca | [
"Apache-2.0"
] | 1 | 2022-03-22T21:07:00.000Z | 2022-03-22T21:07:00.000Z | qiskit_braket_provider/exception.py | Morcu/qiskit-braket-plugin | f486dc542204d54699673835a9c0bdc61ae34cca | [
"Apache-2.0"
] | 11 | 2022-02-22T14:39:26.000Z | 2022-03-23T20:18:09.000Z | qiskit_braket_provider/exception.py | Morcu/qiskit-braket-plugin | f486dc542204d54699673835a9c0bdc61ae34cca | [
"Apache-2.0"
] | 1 | 2022-03-13T12:41:28.000Z | 2022-03-13T12:41:28.000Z | """Qiskit-Braket exception."""
class QiskitBraketException(Exception):
"""Qiskit-Braket exception."""
| 18 | 39 | 0.712963 | 9 | 108 | 8.555556 | 0.555556 | 0.311688 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 108 | 5 | 40 | 21.6 | 0.802083 | 0.453704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
0fe293da3f55b17d81694c79062ccb4a7fb3201a | 3,692 | py | Python | server/mainML.py | dewancse/model-similarity | dcc14f850eb8101c4e302f8db060968cd37aed5c | [
"MIT"
] | null | null | null | server/mainML.py | dewancse/model-similarity | dcc14f850eb8101c4e302f8db060968cd37aed5c | [
"MIT"
] | null | null | null | server/mainML.py | dewancse/model-similarity | dcc14f850eb8101c4e302f8db060968cd37aed5c | [
"MIT"
] | null | null | null | # Importing the libraries
import csv
import numpy as np
import pandas as pd
from sklearn.linear_model import LinearRegression
from sklearn.preprocessing import PolynomialFeatures
from sklearn.tree import DecisionTreeRegressor
from sklearn.ensemble import RandomForestRegressor
def polyML(data):
# writing a csv data... | 34.504673 | 97 | 0.634615 | 513 | 3,692 | 4.45614 | 0.191033 | 0.052493 | 0.015748 | 0.028871 | 0.770779 | 0.726597 | 0.726597 | 0.726597 | 0.726597 | 0.726597 | 0 | 0.012376 | 0.23402 | 3,692 | 107 | 98 | 34.504673 | 0.795969 | 0.18987 | 0 | 0.724638 | 0 | 0 | 0.047379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.101449 | 0 | 0.188406 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0fe839f20a6697f337a3938b46626f8c7712c5c3 | 86 | py | Python | addons/test_mail_full/models/__init__.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/test_mail_full/models/__init__.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/test_mail_full/models/__init__.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from . import test_mail_models
from . import mailing_mailing
| 17.2 | 30 | 0.709302 | 12 | 86 | 4.833333 | 0.75 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.162791 | 86 | 4 | 31 | 21.5 | 0.791667 | 0.244186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba0f693f0df7a34f03dd9d9a24dc641e9058852a | 23 | py | Python | tests/dir0/dir1/module12.py | peterprescott/numdoclinter | b7ae705e500114394dad96dcb0871ec7a22bd2da | [
"MIT"
] | null | null | null | tests/dir0/dir1/module12.py | peterprescott/numdoclinter | b7ae705e500114394dad96dcb0871ec7a22bd2da | [
"MIT"
] | null | null | null | tests/dir0/dir1/module12.py | peterprescott/numdoclinter | b7ae705e500114394dad96dcb0871ec7a22bd2da | [
"MIT"
] | null | null | null | def func12():
pass
| 7.666667 | 13 | 0.565217 | 3 | 23 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.304348 | 23 | 2 | 14 | 11.5 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e851d12587f8cb27069268e7b4700bfb713b8bd0 | 153 | py | Python | gooey/__init__.py | shachar-xor/Gooey | cfed2f7ded442882c46a303f00fe6c1708829a5e | [
"MIT"
] | null | null | null | gooey/__init__.py | shachar-xor/Gooey | cfed2f7ded442882c46a303f00fe6c1708829a5e | [
"MIT"
] | null | null | null | gooey/__init__.py | shachar-xor/Gooey | cfed2f7ded442882c46a303f00fe6c1708829a5e | [
"MIT"
] | null | null | null | import os
from gooey.python_bindings.gooey_decorator import Gooey
from gooey.python_bindings.gooey_parser import GooeyParser
__version__ = '1.0.1'
| 25.5 | 59 | 0.816993 | 22 | 153 | 5.318182 | 0.545455 | 0.153846 | 0.25641 | 0.393162 | 0.478632 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022388 | 0.124183 | 153 | 5 | 60 | 30.6 | 0.850746 | 0 | 0 | 0 | 0 | 0 | 0.033784 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8714362c350756de15f7f55869a698a4b9e83fe | 209 | py | Python | __init__.py | Jokoe66/Ultra-Fast-Lane-Detection | b857e41d3026f1cdb70354c4267f42053a145f90 | [
"MIT"
] | null | null | null | __init__.py | Jokoe66/Ultra-Fast-Lane-Detection | b857e41d3026f1cdb70354c4267f42053a145f90 | [
"MIT"
] | null | null | null | __init__.py | Jokoe66/Ultra-Fast-Lane-Detection | b857e41d3026f1cdb70354c4267f42053a145f90 | [
"MIT"
] | null | null | null | import os
import sys
from .data import *
from .model import *
from .utils import *
from .inference import init_model, inference_model, show_result
__all__ = ['init_model', 'inference)model', 'show_result']
| 19 | 63 | 0.755981 | 29 | 209 | 5.137931 | 0.413793 | 0.201342 | 0.241611 | 0.308725 | 0.442953 | 0.442953 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143541 | 209 | 10 | 64 | 20.9 | 0.832402 | 0 | 0 | 0 | 0 | 0 | 0.172249 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8a53728281d962cc2a4a57f702f9db23588f699 | 8,018 | py | Python | ckanext/visualize/tests/test_controllers.py | open-data-toronto/ckanext-visualize | a85dfdb1e82e837e172f8b9cc0d14b5437c0541e | [
"MIT"
] | null | null | null | ckanext/visualize/tests/test_controllers.py | open-data-toronto/ckanext-visualize | a85dfdb1e82e837e172f8b9cc0d14b5437c0541e | [
"MIT"
] | null | null | null | ckanext/visualize/tests/test_controllers.py | open-data-toronto/ckanext-visualize | a85dfdb1e82e837e172f8b9cc0d14b5437c0541e | [
"MIT"
] | null | null | null | from routes import url_for
from ckan import plugins as p
from ckan.tests import helpers, factories
from ckanext.visualize.controllers.visualize import VisualizeDataController
from ckanext.visualize.tests.helpers import mock_pylons
class TestVisualizeDataController(helpers.FunctionalTestBase):
@classmethod
... | 35.0131 | 78 | 0.601147 | 821 | 8,018 | 5.668697 | 0.163216 | 0.055866 | 0.063816 | 0.042974 | 0.825956 | 0.792222 | 0.760421 | 0.751826 | 0.699828 | 0.682853 | 0 | 0.008995 | 0.278997 | 8,018 | 228 | 79 | 35.166667 | 0.796056 | 0 | 0 | 0.743456 | 0 | 0 | 0.192068 | 0.072337 | 0 | 0 | 0 | 0 | 0.052356 | 1 | 0.073298 | false | 0 | 0.026178 | 0 | 0.109948 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
e8bea1af777971866975df232351f7d05ab2c3d8 | 20 | py | Python | hackathon/sorting/__init__.py | jasonrobwebster/edsa-analyse-hackathon | ebe4d0b2334e6986fba7261fe49379451a1fd31c | [
"MIT"
] | 1 | 2021-04-29T11:44:21.000Z | 2021-04-29T11:44:21.000Z | hackathon/sorting/__init__.py | jasonrobwebster/edsa-analyse-hackathon | ebe4d0b2334e6986fba7261fe49379451a1fd31c | [
"MIT"
] | null | null | null | hackathon/sorting/__init__.py | jasonrobwebster/edsa-analyse-hackathon | ebe4d0b2334e6986fba7261fe49379451a1fd31c | [
"MIT"
] | null | null | null | from .sorts import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2cd1d0148d9463dac2c012bca0a84424d884b7a4 | 17,819 | py | Python | sdk/python/pulumi_aws_native/athena/_inputs.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 29 | 2021-09-30T19:32:07.000Z | 2022-03-22T21:06:08.000Z | sdk/python/pulumi_aws_native/athena/_inputs.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 232 | 2021-09-30T19:26:26.000Z | 2022-03-31T23:22:06.000Z | sdk/python/pulumi_aws_native/athena/_inputs.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 4 | 2021-11-10T19:42:01.000Z | 2022-02-05T10:15:49.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
from... | 44.884131 | 430 | 0.721645 | 1,980 | 17,819 | 6.173737 | 0.080808 | 0.080088 | 0.102585 | 0.041967 | 0.813154 | 0.757281 | 0.735193 | 0.678583 | 0.655923 | 0.63948 | 0 | 0.000274 | 0.179752 | 17,819 | 396 | 431 | 44.997475 | 0.83607 | 0.067961 | 0 | 0.652459 | 1 | 0 | 0.187773 | 0.15484 | 0 | 0 | 0 | 0 | 0 | 1 | 0.203279 | false | 0 | 0.019672 | 0.088525 | 0.337705 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fa12a60effd543529dd43672c83d2e532dceea42 | 1,848 | py | Python | cosmos/tests/postprocess/test_group.py | hadarohana/myCosmos | 6e4682a2af822eb828180658aaa6d3e304cc85bf | [
"Apache-2.0"
] | null | null | null | cosmos/tests/postprocess/test_group.py | hadarohana/myCosmos | 6e4682a2af822eb828180658aaa6d3e304cc85bf | [
"Apache-2.0"
] | 5 | 2020-01-28T23:13:10.000Z | 2022-02-10T00:28:15.000Z | cosmos/tests/postprocess/test_group.py | hadarohana/myCosmos | 6e4682a2af822eb828180658aaa6d3e304cc85bf | [
"Apache-2.0"
] | 1 | 2021-03-10T19:25:44.000Z | 2021-03-10T19:25:44.000Z | """
Testing for group_cls
"""
import ipdb
from postprocess.postprocess import group_cls
import unittest
def test_basic_merge():
obj_list = [('Table', [10, 10, 20, 20], 1), ('Table', [25, 10, 35, 20], 1),
('Table', [10, 25, 20, 35], 1), ('Table', [25, 25, 35, 35], 1)]
expected_list = [('Table',... | 45.073171 | 139 | 0.547078 | 273 | 1,848 | 3.545788 | 0.120879 | 0.086777 | 0.090909 | 0.05062 | 0.844008 | 0.844008 | 0.81405 | 0.779959 | 0.779959 | 0.752066 | 0 | 0.176347 | 0.226732 | 1,848 | 40 | 140 | 46.2 | 0.50105 | 0.011364 | 0 | 0.448276 | 0 | 0 | 0.101266 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 1 | 0.137931 | false | 0 | 0.103448 | 0 | 0.241379 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fa6553d8428219658417b6dc6e87f04db546d2cc | 9,450 | py | Python | test/test_npu/test_network_ops/test_cdist.py | Ascend/pytorch | 39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc | [
"BSD-3-Clause"
] | 1 | 2021-12-02T03:07:35.000Z | 2021-12-02T03:07:35.000Z | test/test_npu/test_network_ops/test_cdist.py | Ascend/pytorch | 39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc | [
"BSD-3-Clause"
] | 1 | 2021-11-12T07:23:03.000Z | 2021-11-12T08:28:13.000Z | test/test_npu/test_network_ops/test_cdist.py | Ascend/pytorch | 39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2020, Huawei Technologies.All rights reserved.
#
# Licensed under the BSD 3-Clause License (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://opensource.org/licenses/BSD-3-Clause
#
# Unless required by applicable law... | 48.71134 | 124 | 0.59418 | 1,339 | 9,450 | 3.92233 | 0.109783 | 0.102818 | 0.137091 | 0.205636 | 0.790937 | 0.790937 | 0.772848 | 0.772848 | 0.762186 | 0.74543 | 0 | 0.086251 | 0.28963 | 9,450 | 193 | 125 | 48.963731 | 0.696112 | 0.060741 | 0 | 0.633333 | 0 | 0 | 0.015798 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.146667 | false | 0 | 0.046667 | 0 | 0.213333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d71ca2044406c258ba08d4fff1b79371e73c39b5 | 141 | py | Python | restbase/__init__.py | sweetpay/restbase | 99b122192bd5ec3a57f59d56c74cdaaf25499c02 | [
"Apache-2.0"
] | null | null | null | restbase/__init__.py | sweetpay/restbase | 99b122192bd5ec3a57f59d56c74cdaaf25499c02 | [
"Apache-2.0"
] | null | null | null | restbase/__init__.py | sweetpay/restbase | 99b122192bd5ec3a57f59d56c74cdaaf25499c02 | [
"Apache-2.0"
] | null | null | null | from .base import BaseResource, BaseConnector, BaseClient, operation
__all__ = ["BaseResource", "BaseConnector", "BaseClient", "operation"]
| 35.25 | 70 | 0.77305 | 12 | 141 | 8.75 | 0.666667 | 0.47619 | 0.666667 | 0.838095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099291 | 141 | 3 | 71 | 47 | 0.826772 | 0 | 0 | 0 | 0 | 0 | 0.312057 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d73a4705d0da0b5281f7ce48cf212411a22f9340 | 30,691 | py | Python | tests/test_utilities.py | sulan/reconchess | 0bd7c81f1a09d50427d91ff5336875a291f9c9a9 | [
"BSD-3-Clause"
] | 34 | 2019-02-19T13:27:37.000Z | 2022-02-09T07:53:20.000Z | tests/test_utilities.py | sulan/reconchess | 0bd7c81f1a09d50427d91ff5336875a291f9c9a9 | [
"BSD-3-Clause"
] | 21 | 2019-02-19T14:43:31.000Z | 2022-03-30T15:25:25.000Z | tests/test_utilities.py | sulan/reconchess | 0bd7c81f1a09d50427d91ff5336875a291f9c9a9 | [
"BSD-3-Clause"
] | 19 | 2019-04-03T16:30:35.000Z | 2022-03-26T03:48:20.000Z | import unittest
from reconchess import *
from reconchess.utilities import *
from chess import *
import random
class CastlingTestCase(unittest.TestCase):
def test_legal_castle(self):
"""
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
... | 36.32071 | 118 | 0.458766 | 3,892 | 30,691 | 3.49075 | 0.058582 | 0.036361 | 0.045488 | 0.054762 | 0.835787 | 0.803842 | 0.788312 | 0.769248 | 0.746283 | 0.712719 | 0 | 0.059093 | 0.352123 | 30,691 | 844 | 119 | 36.363744 | 0.62417 | 0.079828 | 0 | 0.544343 | 0 | 0 | 0.058584 | 0.043003 | 0 | 0 | 0 | 0 | 0.30581 | 1 | 0.097859 | false | 0.015291 | 0.015291 | 0 | 0.131498 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d73ecb33284029aca4f940c7ed3078ebb4858e03 | 167 | py | Python | src/utils/conf_util.py | Taurin190/py-db-migration | 9b77ac186c742851e2b5c0e45f234ba85051cc04 | [
"MIT"
] | null | null | null | src/utils/conf_util.py | Taurin190/py-db-migration | 9b77ac186c742851e2b5c0e45f234ba85051cc04 | [
"MIT"
] | null | null | null | src/utils/conf_util.py | Taurin190/py-db-migration | 9b77ac186c742851e2b5c0e45f234ba85051cc04 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding:utf-8 -*-
import configparser
config = configparser.ConfigParser()
def get_conf(directory, key):
return config[directory][key] | 20.875 | 36 | 0.718563 | 21 | 167 | 5.666667 | 0.761905 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0.125749 | 167 | 8 | 37 | 20.875 | 0.808219 | 0.245509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d74f2efd9ae3c8c20304afeeda5997be6e0043f3 | 96 | py | Python | venv/lib/python3.8/site-packages/virtualenv/create/creator.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/virtualenv/create/creator.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/virtualenv/create/creator.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/ae/f7/45/84178a640d3308aa1516ef37470ef16b83c23eea7043f9152f1ef08ca4 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d78c4a7bef27eb9bea9d56c27b641f456f10a8cc | 44 | py | Python | pyxb/bundles/opengis/_sam.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 123 | 2015-01-12T06:43:22.000Z | 2022-03-20T18:06:46.000Z | pyxb/bundles/opengis/_sam.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 103 | 2015-01-08T18:35:57.000Z | 2022-01-18T01:44:14.000Z | pyxb/bundles/opengis/_sam.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 54 | 2015-02-15T17:12:00.000Z | 2022-03-07T23:02:32.000Z | from pyxb.bundles.opengis.raw._sam import *
| 22 | 43 | 0.795455 | 7 | 44 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad09013fb50770c4d07059022a06f92c5ba26972 | 25 | py | Python | modules/uicontrols/back/__init__.py | danlkv/pywebviz | 5892ef90f28dbd43c33fefbfa5a199d15322a120 | [
"MIT"
] | null | null | null | modules/uicontrols/back/__init__.py | danlkv/pywebviz | 5892ef90f28dbd43c33fefbfa5a199d15322a120 | [
"MIT"
] | 3 | 2019-11-24T21:03:39.000Z | 2019-12-08T04:58:07.000Z | modules/uicontrols/back/__init__.py | DaniloZZZ/pywebviz | 5892ef90f28dbd43c33fefbfa5a199d15322a120 | [
"MIT"
] | null | null | null | from . import uicontrols
| 12.5 | 24 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad2c6bb377e07df4d055636137a59660d6f8b296 | 45 | py | Python | pyecharts/see_version.py | jiaweiM/PlotNotes | c62dd1884466fbc87eb2968163a8630dee7e41c1 | [
"MIT"
] | null | null | null | pyecharts/see_version.py | jiaweiM/PlotNotes | c62dd1884466fbc87eb2968163a8630dee7e41c1 | [
"MIT"
] | null | null | null | pyecharts/see_version.py | jiaweiM/PlotNotes | c62dd1884466fbc87eb2968163a8630dee7e41c1 | [
"MIT"
] | null | null | null | import pyecharts
print(pyecharts.__version__) | 22.5 | 28 | 0.888889 | 5 | 45 | 7.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 45 | 2 | 28 | 22.5 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
ad48eb34bcc5b9664b567354129c65014743ab2d | 7,275 | py | Python | example/analyze_roc.py | SoftSec-KAIST/tiknib | 5f1e25df0ff652cf35574dae3e6a3cfb3b163e63 | [
"MIT"
] | 69 | 2020-11-24T06:50:49.000Z | 2022-03-22T08:53:38.000Z | example/analyze_roc.py | SoftSec-KAIST/tiknib | 5f1e25df0ff652cf35574dae3e6a3cfb3b163e63 | [
"MIT"
] | 8 | 2020-11-27T12:11:25.000Z | 2022-03-20T14:11:13.000Z | example/analyze_roc.py | SoftSec-KAIST/tiknib | 5f1e25df0ff652cf35574dae3e6a3cfb3b163e63 | [
"MIT"
] | 13 | 2020-11-26T03:25:14.000Z | 2022-03-24T03:25:24.000Z | import os
import sys
import yaml
from test_roc import load_options
fnames = [
"results/config_gnu_normal_all/2020-11-18 13:46:56.393364/data-9.pickle",
"results/config_gnu_normal_all_type/2020-11-18 15:34:08.325131/data-9.pickle",
"results/config_gnu_normal_arch_all/2020-11-18 13:53:26.976885/data-9.pickl... | 67.361111 | 107 | 0.768935 | 1,361 | 7,275 | 3.83468 | 0.155768 | 0.125886 | 0.220732 | 0.303506 | 0.719103 | 0.635371 | 0.586511 | 0.580188 | 0.566009 | 0.326116 | 0 | 0.238203 | 0.085361 | 7,275 | 107 | 108 | 67.990654 | 0.546138 | 0.003024 | 0 | 0 | 0 | 0.734694 | 0.809681 | 0.796028 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05102 | 0 | 0.05102 | 0.030612 | 0 | 0 | 0 | null | 0 | 1 | 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 | 6 |
ad71938c1160ee69e6735fed8a9f519dd3df94ba | 144 | py | Python | winter/exceptions/exceptions.py | EvgenySmekalin/winter | 24b6a02f958478547a4a120324823743a1f7e1a1 | [
"MIT"
] | 3 | 2020-04-14T11:17:55.000Z | 2021-12-27T03:34:45.000Z | winter/exceptions/exceptions.py | EvgenySmekalin/winter | 24b6a02f958478547a4a120324823743a1f7e1a1 | [
"MIT"
] | 10 | 2020-04-09T02:31:02.000Z | 2022-02-08T20:02:27.000Z | winter/exceptions/exceptions.py | EvgenySmekalin/winter | 24b6a02f958478547a4a120324823743a1f7e1a1 | [
"MIT"
] | 8 | 2020-07-16T13:56:50.000Z | 2021-12-27T03:33:23.000Z | class RedirectException(Exception):
def __init__(self, redirect_to: str):
super().__init__()
self.redirect_to = redirect_to
| 28.8 | 41 | 0.6875 | 16 | 144 | 5.5 | 0.625 | 0.340909 | 0.363636 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 144 | 4 | 42 | 36 | 0.77193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0f8b49adc89f1ce9c777d2f40f63ba193139aeff | 142 | py | Python | app.py | ricklei/faceid-python | 8bc727d4b419d1c3ba9bbaa8701b515c458bc012 | [
"MIT"
] | null | null | null | app.py | ricklei/faceid-python | 8bc727d4b419d1c3ba9bbaa8701b515c458bc012 | [
"MIT"
] | null | null | null | app.py | ricklei/faceid-python | 8bc727d4b419d1c3ba9bbaa8701b515c458bc012 | [
"MIT"
] | null | null | null | class App(object):
@property
def ScreenWidth(self):
return 1024
@property
def ScreenHeight(self):
return 768 | 15.777778 | 27 | 0.605634 | 15 | 142 | 5.733333 | 0.733333 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072165 | 0.316901 | 142 | 9 | 28 | 15.777778 | 0.814433 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7e70ec855fb8f427b7e7193195b71e722e595acb | 51,404 | py | Python | splunk_sdk/action/gen_models.py | ahallur/splunk-cloud-sdk-python | 27914e4cb624bcc67788408688553cfb99f64aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | splunk_sdk/action/gen_models.py | ahallur/splunk-cloud-sdk-python | 27914e4cb624bcc67788408688553cfb99f64aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | splunk_sdk/action/gen_models.py | ahallur/splunk-cloud-sdk-python | 27914e4cb624bcc67788408688553cfb99f64aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # Copyright © 2019 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# [http://www.apache.org/licenses/LICENSE-2.0]
#
# Unless required by applicable law or agreed to in writing,... | 33.379221 | 339 | 0.624309 | 6,343 | 51,404 | 4.932682 | 0.050292 | 0.063283 | 0.020711 | 0.02493 | 0.826675 | 0.785349 | 0.744918 | 0.698031 | 0.666006 | 0.653989 | 0 | 0.002879 | 0.276963 | 51,404 | 1,539 | 340 | 33.40091 | 0.838916 | 0.368298 | 0 | 0.716667 | 0 | 0 | 0.116241 | 0.004362 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225 | false | 0 | 0.006944 | 0.018056 | 0.406944 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7e8d303053b79643182c309ee864ac8877723bfe | 45 | py | Python | src/__init__.py | bogdan-zs/requests-thread-pool | ddc530d814273c5a88fb8519d64bad3e852c51b4 | [
"MIT"
] | null | null | null | src/__init__.py | bogdan-zs/requests-thread-pool | ddc530d814273c5a88fb8519d64bad3e852c51b4 | [
"MIT"
] | null | null | null | src/__init__.py | bogdan-zs/requests-thread-pool | ddc530d814273c5a88fb8519d64bad3e852c51b4 | [
"MIT"
] | null | null | null | from .thread_pool import RequestPoolExecutor
| 22.5 | 44 | 0.888889 | 5 | 45 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e76dbf576d77c50e7e154f11577d5d2a02ab8e5 | 62 | py | Python | moulton/__init__.py | alvations/moulton | 078a071ec9c549131486384032d5433471194cae | [
"MIT"
] | 1 | 2020-01-15T03:03:28.000Z | 2020-01-15T03:03:28.000Z | moulton/__init__.py | alvations/moulton | 078a071ec9c549131486384032d5433471194cae | [
"MIT"
] | null | null | null | moulton/__init__.py | alvations/moulton | 078a071ec9c549131486384032d5433471194cae | [
"MIT"
] | null | null | null |
from moulton.semantic import *
from moulton.google import *
| 12.4 | 30 | 0.774194 | 8 | 62 | 6 | 0.625 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 62 | 4 | 31 | 15.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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e8351da744e35b7d25af52a66849906097bf61d | 7,823 | py | Python | tests/functional/test_institutions.py | ourresearch/openalex-elastic-api | 36bf5f8906aa4d009571ec2b7e9ab745fd13933c | [
"MIT"
] | 2 | 2022-03-15T10:50:35.000Z | 2022-03-24T11:03:20.000Z | tests/functional/test_institutions.py | ourresearch/openalex-elastic-api | 36bf5f8906aa4d009571ec2b7e9ab745fd13933c | [
"MIT"
] | null | null | null | tests/functional/test_institutions.py | ourresearch/openalex-elastic-api | 36bf5f8906aa4d009571ec2b7e9ab745fd13933c | [
"MIT"
] | null | null | null | class TestInstitutionsSearch:
def test_institutions_search(self, client):
res = client.get("/institutions?search=university")
json_data = res.get_json()
assert "university" in json_data["results"][0]["display_name"].lower()
for result in json_data["results"][:25]:
assert ... | 43.461111 | 109 | 0.646683 | 968 | 7,823 | 4.989669 | 0.108471 | 0.10766 | 0.078261 | 0.086542 | 0.85528 | 0.809524 | 0.750932 | 0.734369 | 0.707867 | 0.615735 | 0 | 0.036426 | 0.217436 | 7,823 | 179 | 110 | 43.703911 | 0.752532 | 0 | 0 | 0.437086 | 0 | 0.013245 | 0.263965 | 0.086028 | 0 | 0 | 0 | 0 | 0.298013 | 1 | 0.145695 | false | 0 | 0 | 0 | 0.198676 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ea607c04e68b96e0ae56ffaf53ffa905ca016f6 | 4,876 | py | Python | tests/openbb_terminal/core/log/collection/test_s3_sender.py | tehcoderer/GamestonkTerminal | 54a1b6f545a0016c576e9e00eef5c003d229dacf | [
"MIT"
] | 255 | 2022-03-29T16:43:51.000Z | 2022-03-31T23:57:08.000Z | tests/openbb_terminal/core/log/collection/test_s3_sender.py | tehcoderer/GamestonkTerminal | 54a1b6f545a0016c576e9e00eef5c003d229dacf | [
"MIT"
] | 14 | 2022-03-29T14:20:33.000Z | 2022-03-31T23:39:20.000Z | tests/openbb_terminal/core/log/collection/test_s3_sender.py | tehcoderer/GamestonkTerminal | 54a1b6f545a0016c576e9e00eef5c003d229dacf | [
"MIT"
] | 24 | 2022-03-29T15:28:56.000Z | 2022-03-31T23:54:15.000Z | # IMPORTATION STANDARD
from pathlib import Path
# IMPORTATION THIRDPARTY
import pytest
# IMPORTATION INTERNAL
from openbb_terminal.core.log.generation.settings import AWSSettings
from openbb_terminal.core.log.constants import DEFAULT_API_URL
from openbb_terminal.core.log.collection import s3_sender
# pylint: disable... | 28.852071 | 86 | 0.673298 | 655 | 4,876 | 4.606107 | 0.138931 | 0.071594 | 0.042426 | 0.046404 | 0.831289 | 0.760689 | 0.755055 | 0.755055 | 0.705668 | 0.670534 | 0 | 0.013001 | 0.22703 | 4,876 | 168 | 87 | 29.02381 | 0.787477 | 0.017637 | 0 | 0.6 | 0 | 0 | 0.2 | 0.103448 | 0 | 0 | 0 | 0 | 0.044444 | 1 | 0.044444 | false | 0 | 0.037037 | 0 | 0.081481 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7efcd2a3b9bb685a96284848f3966c52261fb380 | 1,870 | py | Python | setupLum.py | OrsayDev/swift_lumiere | d1d067f957b86a0b6042f0a185d73479e26bc2f6 | [
"MIT"
] | null | null | null | setupLum.py | OrsayDev/swift_lumiere | d1d067f957b86a0b6042f0a185d73479e26bc2f6 | [
"MIT"
] | null | null | null | setupLum.py | OrsayDev/swift_lumiere | d1d067f957b86a0b6042f0a185d73479e26bc2f6 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name="OrsayLumiere",
version="5.27.8",
author="Yves Auad",
description="Set of tools to run a VG Microscope in Nionswift",
url="https://github.com/yvesauad/swift_lumiere",
packages=['nionswift_plugin.EELS_spec', 'nionswift_plugin.diaf',
'nionswi... | 46.75 | 83 | 0.698396 | 235 | 1,870 | 5.302128 | 0.365957 | 0.32504 | 0.245586 | 0.313804 | 0.477528 | 0.407705 | 0.210273 | 0.210273 | 0 | 0 | 0 | 0.02293 | 0.160428 | 1,870 | 39 | 84 | 47.948718 | 0.770701 | 0 | 0 | 0 | 0 | 0 | 0.709091 | 0.617112 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.027778 | 0 | 0.027778 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
add331a9a60691a33bf8ad4f4650c8a0c22fb4e4 | 4,835 | py | Python | tests/test_g_fast_ssc/test_node.py | MingxuZhang/python-polar-coding | bfab8e1cdcffaefea8e6d0209b13465fbd7fa936 | [
"MIT"
] | 2 | 2021-12-07T09:52:15.000Z | 2022-01-06T14:35:37.000Z | tests/test_g_fast_ssc/test_node.py | manhduc1811/python-polar-coding | bfab8e1cdcffaefea8e6d0209b13465fbd7fa936 | [
"MIT"
] | null | null | null | tests/test_g_fast_ssc/test_node.py | manhduc1811/python-polar-coding | bfab8e1cdcffaefea8e6d0209b13465fbd7fa936 | [
"MIT"
] | 4 | 2020-07-03T14:20:04.000Z | 2021-07-04T13:20:40.000Z | from unittest import TestCase
import numpy as np
from python_polar_coding.polar_codes.base import NodeTypes
from python_polar_coding.polar_codes.g_fast_ssc import GFastSSCNode
class GeneralizedFastSSCNodeTest(TestCase):
def setUp(self):
self.llr = np.array([
-2.7273, -8.7327, 0.1087, -1.64... | 36.628788 | 75 | 0.520372 | 753 | 4,835 | 3.15405 | 0.074369 | 0.092632 | 0.113684 | 0.129684 | 0.922947 | 0.897684 | 0.865263 | 0.852211 | 0.725895 | 0.724211 | 0 | 0.119078 | 0.345191 | 4,835 | 131 | 76 | 36.908397 | 0.63108 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.105769 | false | 0 | 0.038462 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
addbdcbe2472cc7620c69b5291c50f874986d7b9 | 11,705 | py | Python | api/tests/integration/features/multivariate/test_integration_multivariate.py | SolidStateGroup/Bullet-Train-API | ea47ccbdadf665a806ae4e0eff6ad1a2f1b0ba19 | [
"BSD-3-Clause"
] | 126 | 2019-12-13T18:41:43.000Z | 2020-11-10T13:33:55.000Z | api/tests/integration/features/multivariate/test_integration_multivariate.py | SolidStateGroup/Bullet-Train-API | ea47ccbdadf665a806ae4e0eff6ad1a2f1b0ba19 | [
"BSD-3-Clause"
] | 30 | 2019-12-12T16:52:01.000Z | 2020-11-09T18:55:29.000Z | api/tests/integration/features/multivariate/test_integration_multivariate.py | SolidStateGroup/Bullet-Train-API | ea47ccbdadf665a806ae4e0eff6ad1a2f1b0ba19 | [
"BSD-3-Clause"
] | 20 | 2020-02-14T21:55:36.000Z | 2020-11-03T22:29:03.000Z | import json
from django.urls import reverse
from rest_framework import status
def test_can_create_mv_option(project, mv_option_50_percent, admin_client, feature):
# Given
url = reverse(
"api-v1:projects:feature-mv-options-list",
args=[project, feature],
)
data = {
"type": "uni... | 32.604457 | 113 | 0.650491 | 1,364 | 11,705 | 5.257331 | 0.11217 | 0.065821 | 0.039743 | 0.029285 | 0.876447 | 0.865988 | 0.865988 | 0.86041 | 0.837401 | 0.826524 | 0 | 0.017091 | 0.245194 | 11,705 | 358 | 114 | 32.695531 | 0.794567 | 0.085348 | 0 | 0.687075 | 0 | 0 | 0.198252 | 0.121075 | 0 | 0 | 0 | 0 | 0.098639 | 1 | 0.027211 | false | 0 | 0.010204 | 0 | 0.037415 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
adedca420d2df3219baddaffce936e758cb3b9bf | 96 | py | Python | venv/lib/python3.8/site-packages/clikit/ui/help/abstract_help.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/clikit/ui/help/abstract_help.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/clikit/ui/help/abstract_help.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/eb/5a/63/1db574cfe6a3751aa2e5b0d799e22876e848b8163943dd938212fc3335 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
adf2f90051a6275b0f4c0b1e91e9a5a6f30ae132 | 38 | py | Python | app/helpers/__init__.py | jordiyapz/indostock-vizz | 276de41b6aceeac12bd74e1702e56ed117a157d0 | [
"MIT"
] | null | null | null | app/helpers/__init__.py | jordiyapz/indostock-vizz | 276de41b6aceeac12bd74e1702e56ed117a157d0 | [
"MIT"
] | null | null | null | app/helpers/__init__.py | jordiyapz/indostock-vizz | 276de41b6aceeac12bd74e1702e56ed117a157d0 | [
"MIT"
] | null | null | null | from .data import PATH, download_data
| 19 | 37 | 0.815789 | 6 | 38 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc18d6b8546ca85ed2ef15c60fcd8776f2a57362 | 40,486 | py | Python | pymmrouting/inferenceengine.py | tumluliu/pymmrouting | 948ddfa2bd419baffde68440e98e3531277c98d6 | [
"MIT"
] | 5 | 2017-06-17T21:02:16.000Z | 2022-03-15T10:14:06.000Z | pymmrouting/inferenceengine.py | tumluliu/pymmrouting | 948ddfa2bd419baffde68440e98e3531277c98d6 | [
"MIT"
] | null | null | null | pymmrouting/inferenceengine.py | tumluliu/pymmrouting | 948ddfa2bd419baffde68440e98e3531277c98d6 | [
"MIT"
] | null | null | null | """
Infer feasible routing plans according to user preferences
"""
from .datamodel import VERTEX_VALIDATION_CHECKER
from .orm_graphmodel import SwitchType, StreetJunction, Mode, Session, Vertex
from geoalchemy2.functions import ST_AsGeoJSON as st_asgeojson
import logging
import json
logger = logging.getLogger(__name_... | 51.183312 | 154 | 0.4568 | 3,536 | 40,486 | 4.949661 | 0.071833 | 0.034567 | 0.047766 | 0.065364 | 0.787624 | 0.771112 | 0.760656 | 0.747 | 0.734202 | 0.714261 | 0 | 0.007774 | 0.453515 | 40,486 | 790 | 155 | 51.248101 | 0.783277 | 0.056242 | 0 | 0.707246 | 0 | 0 | 0.127021 | 0.030548 | 0 | 0 | 0 | 0.001266 | 0 | 1 | 0.021739 | false | 0 | 0.007246 | 0.005797 | 0.071014 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc18e11845f374fb42802049a83cef74beba8ee7 | 26 | py | Python | magpie/model/unsupervised/__init__.py | daemon/magpie | aa52da47551765c681da2fa68f515e2d02ceed58 | [
"MIT"
] | 3 | 2018-07-29T15:42:08.000Z | 2018-12-28T03:18:49.000Z | magpie/model/unsupervised/__init__.py | daemon/magpie | aa52da47551765c681da2fa68f515e2d02ceed58 | [
"MIT"
] | null | null | null | magpie/model/unsupervised/__init__.py | daemon/magpie | aa52da47551765c681da2fa68f515e2d02ceed58 | [
"MIT"
] | null | null | null | from .autoencoder import * | 26 | 26 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
70bb7e64d12a6d776c9317c802e7caebb6134c90 | 279 | py | Python | translob/nn/__init__.py | simaki/translob | d243cffe7832b5b9e34c25b0266ff2491e26f410 | [
"BSD-3-Clause"
] | 6 | 2021-09-09T09:41:56.000Z | 2021-12-24T19:58:14.000Z | translob/nn/__init__.py | simaki/translob | d243cffe7832b5b9e34c25b0266ff2491e26f410 | [
"BSD-3-Clause"
] | 1 | 2021-11-05T01:46:10.000Z | 2021-11-05T01:46:10.000Z | translob/nn/__init__.py | simaki/translob | d243cffe7832b5b9e34c25b0266ff2491e26f410 | [
"BSD-3-Clause"
] | 2 | 2021-11-04T01:50:25.000Z | 2021-12-26T22:54:25.000Z | from .modules.conv import CausalConv1d
from .modules.conv import CausalConvLayers
from .modules.mlp import MultiLayerPerceptron
from .modules.position import PositionalEncoding
from .modules.transformer import CausalTransformerEncoderLayer
from .modules.translob import TransLOB
| 39.857143 | 62 | 0.870968 | 30 | 279 | 8.1 | 0.433333 | 0.271605 | 0.123457 | 0.17284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003922 | 0.086022 | 279 | 6 | 63 | 46.5 | 0.94902 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb34bc2385d765ee3aa9278bdf773e0c0c5abfad | 12,847 | py | Python | examples/question_answering/matches.py | haroldNLP/Distiller | f3ab5f94a9092fca1e2bdb9f486e66fd0b24bcfd | [
"MIT"
] | 2 | 2022-03-21T08:02:02.000Z | 2022-03-21T08:29:07.000Z | examples/question_answering/matches.py | haroldNLP/Distiller | f3ab5f94a9092fca1e2bdb9f486e66fd0b24bcfd | [
"MIT"
] | null | null | null | examples/question_answering/matches.py | haroldNLP/Distiller | f3ab5f94a9092fca1e2bdb9f486e66fd0b24bcfd | [
"MIT"
] | null | null | null | L3_attention_mse=[{"layer_T":4, "layer_S":1, "feature":"attention", "loss":"attention_mse", "weight":1},
{"layer_T":8, "layer_S":2, "feature":"attention", "loss":"attention_mse", "weight":1},
{"layer_T":12, "layer_S":3, "feature":"attention", "loss":"attention_mse", "weight":1}]
L... | 83.422078 | 131 | 0.553592 | 1,760 | 12,847 | 3.767614 | 0.026136 | 0.097723 | 0.119439 | 0.129392 | 0.944805 | 0.901976 | 0.867893 | 0.845121 | 0.839391 | 0.835621 | 0 | 0.05884 | 0.187748 | 12,847 | 153 | 132 | 83.96732 | 0.576617 | 0.000156 | 0 | 0 | 0 | 0 | 0.452991 | 0.003358 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cb64c82bcb94b88bef69b1049a0d6cad3b14ba95 | 2,404 | py | Python | poo/inicio_coisas_gerais/teste_2.py | rikardalves/python | dc3d34e9759c2b9245c66c1bce2b101b2125da5a | [
"MIT"
] | null | null | null | poo/inicio_coisas_gerais/teste_2.py | rikardalves/python | dc3d34e9759c2b9245c66c1bce2b101b2125da5a | [
"MIT"
] | null | null | null | poo/inicio_coisas_gerais/teste_2.py | rikardalves/python | dc3d34e9759c2b9245c66c1bce2b101b2125da5a | [
"MIT"
] | null | null | null | choice = int(input())
if choice == 1:
# Código final 2 param opcional
class Conta:
def __init__(self, titular, saldo, numero, limite = 1000):
self.titular = titular
self.saldo = saldo
self.numero = numero
self.limite = limite
def... | 25.849462 | 66 | 0.50416 | 249 | 2,404 | 4.835341 | 0.212851 | 0.074751 | 0.046512 | 0.063123 | 0.793189 | 0.75 | 0.75 | 0.75 | 0.75 | 0.75 | 0 | 0.048764 | 0.394343 | 2,404 | 92 | 67 | 26.130435 | 0.778159 | 0.022047 | 0 | 0.855072 | 0 | 0 | 0.090716 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130435 | false | 0 | 0 | 0 | 0.246377 | 0.144928 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cb73f548b4d79c78dfb03b215e5e0ed0442ad31f | 335 | py | Python | meiduo/meiduo/utils/converters.py | q934744153/meiduo_mall | 6f5b0ae38cc80c21ddca161c428fea09584d4b95 | [
"MIT"
] | null | null | null | meiduo/meiduo/utils/converters.py | q934744153/meiduo_mall | 6f5b0ae38cc80c21ddca161c428fea09584d4b95 | [
"MIT"
] | null | null | null | meiduo/meiduo/utils/converters.py | q934744153/meiduo_mall | 6f5b0ae38cc80c21ddca161c428fea09584d4b95 | [
"MIT"
] | null | null | null | class UsernameConverters:
regex= '[a-zA-Z0-9]{5,20}'
def to_python(self,value):
return str(value)
def to_url(self,value):
return str(value)
class MobileConverter:
regex = '1[3-9]\d{9}'
def to_python(self,value):
return str(value)
def to_url(self,value):
retu... | 17.631579 | 30 | 0.6 | 49 | 335 | 4.020408 | 0.428571 | 0.101523 | 0.304569 | 0.365482 | 0.659898 | 0.659898 | 0.659898 | 0.659898 | 0.659898 | 0.659898 | 0 | 0.036437 | 0.262687 | 335 | 18 | 31 | 18.611111 | 0.761134 | 0 | 0 | 0.666667 | 0 | 0 | 0.083582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
cb894d09f3d307cf5453924d19172fb7b509532a | 31 | py | Python | minemeld/extensions/__init__.py | zul126/minemeld-core | 2eb9b9bfd7654aee57aabd5fb280d4e89a438daf | [
"Apache-2.0"
] | 147 | 2016-07-22T18:15:49.000Z | 2022-03-26T23:32:44.000Z | minemeld/extensions/__init__.py | zul126/minemeld-core | 2eb9b9bfd7654aee57aabd5fb280d4e89a438daf | [
"Apache-2.0"
] | 167 | 2016-07-27T07:02:25.000Z | 2021-12-16T16:26:52.000Z | minemeld/extensions/__init__.py | zul126/minemeld-core | 2eb9b9bfd7654aee57aabd5fb280d4e89a438daf | [
"Apache-2.0"
] | 112 | 2016-07-22T07:14:29.000Z | 2022-03-24T18:43:12.000Z | from .manager import * # noqa
| 15.5 | 30 | 0.677419 | 4 | 31 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 31 | 1 | 31 | 31 | 0.875 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1deb64ac0443c6c5910323971704f9bf57b77c8b | 37 | py | Python | phaxbot/chat_overlay/config.py | haliphax/stream-avatars | 0d8d365f6113d2ce45387f4d83570b5c0cd73ba4 | [
"MIT"
] | 4 | 2021-04-16T04:24:52.000Z | 2021-07-03T23:51:20.000Z | phaxbot/chat_overlay/config.py | haliphax/phaxbot | 0d8d365f6113d2ce45387f4d83570b5c0cd73ba4 | [
"MIT"
] | 14 | 2021-09-27T21:13:10.000Z | 2022-03-30T21:16:25.000Z | phaxbot/chat_overlay/config.py | haliphax/phaxbot | 0d8d365f6113d2ce45387f4d83570b5c0cd73ba4 | [
"MIT"
] | 1 | 2021-06-10T04:17:35.000Z | 2021-06-10T04:17:35.000Z | "phaxbot chat overlay configuration"
| 18.5 | 36 | 0.837838 | 4 | 37 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 0.918919 | 0 | 0 | 0 | 0 | 0.918919 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6972de735bcbf91066ef9ee680ff32d968959af0 | 6,575 | py | Python | src/ansible_collections/sodalite/hpc/tests/unit/plugins/modules/test_torque_job.py | SODALITE-EU/platform-discovery-service | fb10a2fdab8544713fe8065d31061c8cd0fa16c9 | [
"Apache-2.0"
] | 1 | 2021-08-09T10:34:25.000Z | 2021-08-09T10:34:25.000Z | src/ansible_collections/sodalite/hpc/tests/unit/plugins/modules/test_torque_job.py | SODALITE-EU/platform-discovery-service | fb10a2fdab8544713fe8065d31061c8cd0fa16c9 | [
"Apache-2.0"
] | 13 | 2020-09-21T08:37:53.000Z | 2021-03-23T13:15:22.000Z | src/ansible_collections/sodalite/hpc/tests/unit/plugins/modules/test_torque_job.py | SODALITE-EU/platform-discovery-service | fb10a2fdab8544713fe8065d31061c8cd0fa16c9 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import, division, print_function
__metaclass__ = type
from ansible.module_utils import basic
from ansible_collections.sodalite.hpc.plugins.modules import torque_job
from mock import patch, call
import pytest
from .utils import (
AnsibleExitJson, AnsibleFailJson, TestHPCModule, set_... | 49.810606 | 103 | 0.544791 | 731 | 6,575 | 4.592339 | 0.139535 | 0.077748 | 0.098302 | 0.104856 | 0.809056 | 0.792076 | 0.777778 | 0.776586 | 0.763777 | 0.719988 | 0 | 0.041064 | 0.337034 | 6,575 | 131 | 104 | 50.19084 | 0.729066 | 0 | 0 | 0.588235 | 0 | 0 | 0.1527 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.127451 | 0.009804 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
69fdeb86f6a8405df681adffcb67e9f004180be4 | 5,509 | py | Python | gcn_prot/models/models.py | carrascomj/gcn-prot | 21bdcc4a701a301b84c49784f84e6832bf5a74a4 | [
"MIT"
] | 2 | 2020-08-17T12:09:42.000Z | 2020-08-17T13:49:27.000Z | gcn_prot/models/models.py | carrascomj/gcn-prot | 21bdcc4a701a301b84c49784f84e6832bf5a74a4 | [
"MIT"
] | 14 | 2020-03-16T10:04:51.000Z | 2020-08-17T12:31:45.000Z | gcn_prot/models/models.py | carrascomj/gcn-prot | 21bdcc4a701a301b84c49784f84e6832bf5a74a4 | [
"MIT"
] | 2 | 2020-03-29T17:50:08.000Z | 2020-10-21T02:24:57.000Z | """Custom layers for graph convolutional neural networks."""
import torch.nn as nn
import torch.nn.functional as F
from .layers import GraphConvolution, NormalizationLayer
from .utils import sparsize
class GCN_simple(nn.Module):
"""Simplest GCN model."""
def __init__(
self,
feats,
hi... | 27.683417 | 85 | 0.541478 | 617 | 5,509 | 4.711507 | 0.168558 | 0.02408 | 0.028896 | 0.022704 | 0.833849 | 0.833849 | 0.833849 | 0.800482 | 0.752322 | 0.738218 | 0 | 0.003998 | 0.364313 | 5,509 | 198 | 86 | 27.823232 | 0.826099 | 0.373389 | 0 | 0.678571 | 0 | 0 | 0.006459 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.047619 | 0 | 0.190476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
38d3a478d999fba1b3998eeee9f05c72331d903b | 25,474 | py | Python | src/azure-cli/azure/cli/command_modules/backup/tests/latest/test_afs_commands.py | xaliciayang/azure-cli | 38c80c875e8a79d08d06a2f42ec82fd54934343e | [
"MIT"
] | 4 | 2016-08-23T06:19:01.000Z | 2018-03-20T22:47:15.000Z | src/azure-cli/azure/cli/command_modules/backup/tests/latest/test_afs_commands.py | xaliciayang/azure-cli | 38c80c875e8a79d08d06a2f42ec82fd54934343e | [
"MIT"
] | 120 | 2018-03-27T19:14:40.000Z | 2020-12-10T23:53:35.000Z | src/azure-cli/azure/cli/command_modules/backup/tests/latest/test_afs_commands.py | xaliciayang/azure-cli | 38c80c875e8a79d08d06a2f42ec82fd54934343e | [
"MIT"
] | 11 | 2018-08-23T21:31:06.000Z | 2020-09-03T21:39:51.000Z | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 53.742616 | 353 | 0.631428 | 2,821 | 25,474 | 5.573201 | 0.074442 | 0.056672 | 0.061188 | 0.039499 | 0.839779 | 0.814464 | 0.792075 | 0.762498 | 0.739155 | 0.732795 | 0 | 0.011379 | 0.20307 | 25,474 | 473 | 354 | 53.856237 | 0.763066 | 0.022337 | 0 | 0.67268 | 0 | 0.136598 | 0.455831 | 0.095408 | 0 | 0 | 0 | 0 | 0.010309 | 1 | 0.020619 | false | 0 | 0.012887 | 0 | 0.036082 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
38d6f6aeedc2a21c0d53662e5aa60eb82e5b1b8e | 76 | py | Python | repostatus/commit_mgr.py | avattathil/repostatus | 39e83df970ce90d5ab493af88fea3d0f577252ce | [
"Apache-2.0"
] | null | null | null | repostatus/commit_mgr.py | avattathil/repostatus | 39e83df970ce90d5ab493af88fea3d0f577252ce | [
"Apache-2.0"
] | 1 | 2019-05-17T06:30:44.000Z | 2019-05-17T06:30:44.000Z | repostatus/commit_mgr.py | avattathil/repostatus | 39e83df970ce90d5ab493af88fea3d0f577252ce | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
class CommitMgr(object):
def __init__():
pass
| 10.857143 | 24 | 0.657895 | 10 | 76 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197368 | 76 | 6 | 25 | 12.666667 | 0.754098 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
38e9d049a18d9b1682603acf2df93b11635476ef | 162 | py | Python | dumpSTR/__init__.py | richyanicky/TRTools | 6582912ad3fade6e905b78b08c991a08baca8649 | [
"MIT"
] | null | null | null | dumpSTR/__init__.py | richyanicky/TRTools | 6582912ad3fade6e905b78b08c991a08baca8649 | [
"MIT"
] | null | null | null | dumpSTR/__init__.py | richyanicky/TRTools | 6582912ad3fade6e905b78b08c991a08baca8649 | [
"MIT"
] | null | null | null | # expose the code in the file dumpSTR/dumpSTR.py
# through the statement import dumpSTR
# instead of through import dumpSTR.dumpSTR
from dumpSTR.dumpSTR import *
| 32.4 | 48 | 0.802469 | 24 | 162 | 5.416667 | 0.541667 | 0.323077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 162 | 4 | 49 | 40.5 | 0.942029 | 0.771605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a550cbc82e7a766e3b193be22c2f776e638d64d | 55,261 | py | Python | pkgs/conf-pkg/src/genie/libs/conf/lisp/iosxe/lisp.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/conf-pkg/src/genie/libs/conf/lisp/iosxe/lisp.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/conf-pkg/src/genie/libs/conf/lisp/iosxe/lisp.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | '''
LISP Genie Conf Object Implementation for IOSXE - CLI.
'''
# Pyhon
from abc import ABC
# Genie
from genie.conf.base.attributes import AttributesHelper
from genie.conf.base.cli import CliConfigBuilder
from genie.conf.base.config import CliConfig
# LISP Heirarchy
# --------------
# Lisp
# +- DeviceAttributes
# ... | 52.88134 | 122 | 0.437162 | 3,342 | 55,261 | 7.088271 | 0.049072 | 0.034362 | 0.027439 | 0.048546 | 0.837435 | 0.776225 | 0.749208 | 0.716113 | 0.710372 | 0.698805 | 0 | 0.010476 | 0.486962 | 55,261 | 1,044 | 123 | 52.931992 | 0.825086 | 0.179856 | 0 | 0.7 | 0 | 0 | 0.045088 | 0.009871 | 0 | 0 | 0 | 0 | 0.048077 | 1 | 0.096154 | false | 0 | 0.007692 | 0.048077 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2a58bbde6cb38304395263c09760b2ed67719f57 | 165 | py | Python | app/views/static.py | greggparrish/ucitelj | 10c5510aa28561953b98d959d45025655b6a21be | [
"MIT"
] | null | null | null | app/views/static.py | greggparrish/ucitelj | 10c5510aa28561953b98d959d45025655b6a21be | [
"MIT"
] | null | null | null | app/views/static.py | greggparrish/ucitelj | 10c5510aa28561953b98d959d45025655b6a21be | [
"MIT"
] | null | null | null | from flask import Blueprint, render_template
static = Blueprint('static', __name__)
@static.route('/')
def home():
return render_template('static/home.html')
| 18.333333 | 46 | 0.733333 | 20 | 165 | 5.75 | 0.65 | 0.243478 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 165 | 8 | 47 | 20.625 | 0.798611 | 0 | 0 | 0 | 0 | 0 | 0.139394 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.4 | 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 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.