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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1e819c3b89f40e5c5f9e8eebea16c2280888f4e9 | 22,958 | py | Python | time_series/appears_time_series_transect.py | arthurelmes/geo_tools | 6621d134aff0d05f185a1fcfbf9431a5f1f9764e | [
"BSD-3-Clause"
] | null | null | null | time_series/appears_time_series_transect.py | arthurelmes/geo_tools | 6621d134aff0d05f185a1fcfbf9431a5f1f9764e | [
"BSD-3-Clause"
] | null | null | null | time_series/appears_time_series_transect.py | arthurelmes/geo_tools | 6621d134aff0d05f185a1fcfbf9431a5f1f9764e | [
"BSD-3-Clause"
] | 2 | 2020-10-02T22:08:43.000Z | 2021-04-19T18:40:24.000Z | # This makes a plot where all years are stacked up on top of each other, with a color ramp to generally
# tell them apart
import pandas as pd
import numpy as np
import sys, os
import matplotlib as mpl
import matplotlib.pyplot as plt
from cycler import cycler
def clean_df(input_df):
# Pull off the dates and Catego... | 47.141684 | 120 | 0.673796 | 3,609 | 22,958 | 4.028817 | 0.114713 | 0.026135 | 0.01348 | 0.028886 | 0.803164 | 0.777166 | 0.760316 | 0.73033 | 0.710523 | 0.696149 | 0 | 0.01643 | 0.209949 | 22,958 | 486 | 121 | 47.238683 | 0.785202 | 0.282385 | 0 | 0.622378 | 0 | 0 | 0.122324 | 0.036086 | 0 | 0 | 0 | 0.002058 | 0 | 1 | 0.024476 | false | 0 | 0.020979 | 0 | 0.048951 | 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 |
94a49d4f5998749377c55b283db04285909b5e26 | 30 | py | Python | Chapter 01/Chap01_Example1.142.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.142.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.142.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | t1 = (5,6,2,1)
t1.append(3)
| 10 | 15 | 0.5 | 8 | 30 | 1.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0.2 | 30 | 2 | 16 | 15 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
94a51bd99f42393d8ca84eff0e3b4cb3e04f3613 | 184 | py | Python | com.py | GhostofGoes/jacquerie | 5f9aae8835ab04fa8f8d32f4dfdd66cf9c7f5822 | [
"Apache-2.0"
] | 1 | 2017-02-05T01:21:20.000Z | 2017-02-05T01:21:20.000Z | com.py | GhostofGoes/jacquerie | 5f9aae8835ab04fa8f8d32f4dfdd66cf9c7f5822 | [
"Apache-2.0"
] | null | null | null | com.py | GhostofGoes/jacquerie | 5f9aae8835ab04fa8f8d32f4dfdd66cf9c7f5822 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# TODO: use asyncio?
def send_message(message):
pass
# TODO: use asyncio?
def get_message():
message = {}
return message
| 13.142857 | 26 | 0.619565 | 24 | 184 | 4.666667 | 0.666667 | 0.125 | 0.25 | 0.303571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013986 | 0.222826 | 184 | 13 | 27 | 14.153846 | 0.769231 | 0.440217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
94a935555e8f234193e72c94290b5220ecffae08 | 22 | py | Python | src/MMSA/trains/__init__.py | dumpmemory/MMSA | 08b3a7f4529c380356eeb1cf6bf9a89e7c9701e7 | [
"MIT"
] | 1 | 2022-03-30T02:04:21.000Z | 2022-03-30T02:04:21.000Z | src/MMSA/trains/__init__.py | dumpmemory/MMSA | 08b3a7f4529c380356eeb1cf6bf9a89e7c9701e7 | [
"MIT"
] | null | null | null | src/MMSA/trains/__init__.py | dumpmemory/MMSA | 08b3a7f4529c380356eeb1cf6bf9a89e7c9701e7 | [
"MIT"
] | null | null | null | from .ATIO import ATIO | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 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 |
a206df4efa1fb5469fdca32ecdb5dfce89d38253 | 8,447 | py | Python | genbmm/genbmm/test_sparse.py | harvardnlp/cascaded-generation | d6c5569ca3b2f9d7a5795bd21de4b4eec7b92936 | [
"MIT"
] | 122 | 2020-06-02T01:27:02.000Z | 2021-11-14T17:18:22.000Z | genbmm/genbmm/test_sparse.py | chenyangh/cascaded-generation | d6c5569ca3b2f9d7a5795bd21de4b4eec7b92936 | [
"MIT"
] | null | null | null | genbmm/genbmm/test_sparse.py | chenyangh/cascaded-generation | d6c5569ca3b2f9d7a5795bd21de4b4eec7b92936 | [
"MIT"
] | 5 | 2020-06-02T23:56:01.000Z | 2021-06-03T15:28:09.000Z | import torch
from hypothesis import given
from hypothesis.strategies import integers
from .sparse import banddiag, BandedMatrix
mint = integers(min_value=6, max_value=10)
lint = integers(min_value=0, max_value=10)
sint = integers(min_value=3, max_value=5)
@given(sint, mint, lint, lint)
def test_sparse(batch, n, lu,... | 30.275986 | 87 | 0.577128 | 1,290 | 8,447 | 3.662016 | 0.074419 | 0.048899 | 0.037257 | 0.059272 | 0.869179 | 0.842083 | 0.829382 | 0.785775 | 0.785775 | 0.758044 | 0 | 0.024014 | 0.240796 | 8,447 | 278 | 88 | 30.384892 | 0.712615 | 0.221499 | 0 | 0.557692 | 0 | 0 | 0.005371 | 0 | 0 | 0 | 0 | 0 | 0.147436 | 1 | 0.032051 | false | 0 | 0.025641 | 0.00641 | 0.076923 | 0.044872 | 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 |
a208fa7b8d63bf7eaf8c14458b279e92a8bd3374 | 162 | py | Python | yabe/views.py | Oyami-Srk/YABE | bebe4e490bed1bb1de42047c206512065980f215 | [
"MIT"
] | null | null | null | yabe/views.py | Oyami-Srk/YABE | bebe4e490bed1bb1de42047c206512065980f215 | [
"MIT"
] | null | null | null | yabe/views.py | Oyami-Srk/YABE | bebe4e490bed1bb1de42047c206512065980f215 | [
"MIT"
] | null | null | null | from yabe import yabe
from .main import main
from .api import api
yabe.register_blueprint(main, url_prefix='/')
yabe.register_blueprint(api, url_prefix='/api')
| 20.25 | 47 | 0.777778 | 25 | 162 | 4.88 | 0.36 | 0.196721 | 0.344262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 162 | 7 | 48 | 23.142857 | 0.847222 | 0 | 0 | 0 | 0 | 0 | 0.030864 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0.4 | 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 |
bf5abba67cfa77eb670170b1db1554d8e5d0088e | 81 | py | Python | ipython/startup/import_urllib.py | dycw/dotfiles2 | 9e23c4989e9813080da3658a8f98dbb1e03776f2 | [
"MIT"
] | null | null | null | ipython/startup/import_urllib.py | dycw/dotfiles2 | 9e23c4989e9813080da3658a8f98dbb1e03776f2 | [
"MIT"
] | null | null | null | ipython/startup/import_urllib.py | dycw/dotfiles2 | 9e23c4989e9813080da3658a8f98dbb1e03776f2 | [
"MIT"
] | null | null | null | import urllib # noqa: F401
from urllib.request import urlretrieve # noqa: F401
| 27 | 52 | 0.765432 | 11 | 81 | 5.636364 | 0.636364 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 0.17284 | 81 | 2 | 53 | 40.5 | 0.835821 | 0.259259 | 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 |
bf5d887f30f241b3f9387dc3c9fcbd06d8b34d99 | 18,001 | py | Python | mayaSDK/maya/analytics/analyticEvalManager.py | FXTD-ODYSSEY/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 20 | 2019-09-20T00:30:22.000Z | 2021-12-26T06:56:16.000Z | mayaSDK/maya/analytics/analyticEvalManager.py | minjiang999/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 5 | 2019-12-29T15:19:03.000Z | 2022-03-29T16:54:19.000Z | mayaSDK/maya/analytics/analyticEvalManager.py | minjiang999/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 8 | 2019-09-23T05:46:44.000Z | 2022-01-11T14:42:14.000Z | from maya.analytics.decorators import makeAnalytic
from maya.debug.emModeManager import emModeManager
from maya.analytics.decorators import addHelp
from maya.analytics.BaseAnalytic import BaseAnalytic
from maya.analytics.decorators import addMethodDocs
class analyticEvalManager(BaseAnalytic):
"""
The informati... | 101.129213 | 8,018 | 0.552247 | 1,976 | 18,001 | 4.897267 | 0.162449 | 0.012401 | 0.027281 | 0.024801 | 0.703317 | 0.674383 | 0.647205 | 0.611346 | 0.594192 | 0.570115 | 0 | 0.011432 | 0.343981 | 18,001 | 177 | 8,019 | 101.700565 | 0.808028 | 0.241709 | 0 | 0.090909 | 0 | 0.318182 | 0.685891 | 0.112144 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.090909 | 0.227273 | 0 | 0.727273 | 0.045455 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
bf66ba76a4fb1346953dbb5ef6b3a967387bb2e5 | 106 | py | Python | ch11/code/web_analysis/maps/views.py | MatthiasWunsch/python-geospatial-analysis-cookbook | 88946ca6242283c9110488c64ac44057a53e2831 | [
"MIT"
] | 98 | 2015-06-14T08:42:21.000Z | 2022-03-09T16:48:43.000Z | ch11/code/web_analysis/maps/views.py | MatthiasWunsch/python-geospatial-analysis-cookbook | 88946ca6242283c9110488c64ac44057a53e2831 | [
"MIT"
] | 6 | 2015-12-23T09:56:33.000Z | 2022-02-13T20:06:05.000Z | ch11/code/web_analysis/maps/views.py | MatthiasWunsch/python-geospatial-analysis-cookbook | 88946ca6242283c9110488c64ac44057a53e2831 | [
"MIT"
] | 43 | 2015-08-24T13:13:32.000Z | 2022-03-14T20:55:15.000Z | from django.shortcuts import render
def route_map(request):
return render(request, 'route-map.html') | 21.2 | 44 | 0.764151 | 15 | 106 | 5.333333 | 0.733333 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 106 | 5 | 44 | 21.2 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 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 |
bf673095a707babb6b3caafda45754ec56496cdd | 309 | py | Python | cpbook-code/ch2/bitmask/2.2.3.1.py | Zetsu-JackOfAllTrades/comparative-programming | 69ff173277d66daf73fbe41a6229b489ab5243ea | [
"MIT"
] | 1 | 2021-09-25T19:01:29.000Z | 2021-09-25T19:01:29.000Z | cpbook-code/ch2/bitmask/2.2.3.1.py | Zetsu-JackOfAllTrades/comparative-programming | 69ff173277d66daf73fbe41a6229b489ab5243ea | [
"MIT"
] | null | null | null | cpbook-code/ch2/bitmask/2.2.3.1.py | Zetsu-JackOfAllTrades/comparative-programming | 69ff173277d66daf73fbe41a6229b489ab5243ea | [
"MIT"
] | null | null | null | def modulo(s,n):
return s & (n-1)
def isPowerOfTwo(s):
return s & (s-1)
def turnOffLastBit(S):
return (S & (S - 1))
def turnOnLastZero(S):
return ((S) | (S + 1))
def turnOffLastConsecutiveBits(S):
return ((S) & (S + 1))
def turnOnLastConsecutiveZeroes(S):
return ((S) | (S-1))
| 14.714286 | 35 | 0.576052 | 43 | 309 | 4.139535 | 0.255814 | 0.235955 | 0.224719 | 0.252809 | 0.348315 | 0.292135 | 0 | 0 | 0 | 0 | 0 | 0.025532 | 0.239482 | 309 | 20 | 36 | 15.45 | 0.731915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bfb6240fd04724973c86fa7bdb0ef7b338e3108a | 117 | py | Python | rcamp/rcamp/settings/__init__.py | ResearchComputing/RCAMP | 26b065f6ab9a27a28fb0c9ba3135e7f04d073cef | [
"MIT"
] | null | null | null | rcamp/rcamp/settings/__init__.py | ResearchComputing/RCAMP | 26b065f6ab9a27a28fb0c9ba3135e7f04d073cef | [
"MIT"
] | 309 | 2015-12-14T22:37:22.000Z | 2021-10-06T18:50:35.000Z | rcamp/rcamp/settings/__init__.py | ResearchComputing/RCAMP | 26b065f6ab9a27a28fb0c9ba3135e7f04d073cef | [
"MIT"
] | 1 | 2016-05-04T22:12:11.000Z | 2016-05-04T22:12:11.000Z | from .main import *
from .databases import *
from .organizations import *
from .auth import *
from .logging import *
| 19.5 | 28 | 0.74359 | 15 | 117 | 5.8 | 0.466667 | 0.45977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17094 | 117 | 5 | 29 | 23.4 | 0.896907 | 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 |
bfd78b1a9acd4bec45b4d23a482df50102e56bbc | 113 | py | Python | reamber/sm/SMKeySound.py | Bestfast/reamberPy | 91b76ca6adf11fbe8b7cee7c186481776a4d7aaa | [
"MIT"
] | null | null | null | reamber/sm/SMKeySound.py | Bestfast/reamberPy | 91b76ca6adf11fbe8b7cee7c186481776a4d7aaa | [
"MIT"
] | null | null | null | reamber/sm/SMKeySound.py | Bestfast/reamberPy | 91b76ca6adf11fbe8b7cee7c186481776a4d7aaa | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from reamber.base.Hit import Hit
@dataclass
class SMKeySound(Hit):
pass
| 12.555556 | 33 | 0.778761 | 15 | 113 | 5.866667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168142 | 113 | 8 | 34 | 14.125 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
44a7d5e339a1a1e13b08af6a24791f0332735198 | 94 | py | Python | CA117/Lab_1/contains_11.py | PRITI1999/OneLineWonders | 91a7368e0796e5a3b5839c9165f9fbe5460879f5 | [
"MIT"
] | 6 | 2016-02-04T00:15:20.000Z | 2019-10-13T13:53:16.000Z | CA117/Lab_1/contains_11.py | PRITI1999/OneLineWonders | 91a7368e0796e5a3b5839c9165f9fbe5460879f5 | [
"MIT"
] | 2 | 2016-03-14T04:01:36.000Z | 2019-10-16T12:45:34.000Z | CA117/Lab_1/contains_11.py | PRITI1999/OneLineWonders | 91a7368e0796e5a3b5839c9165f9fbe5460879f5 | [
"MIT"
] | 10 | 2016-02-09T14:38:32.000Z | 2021-05-25T08:16:26.000Z | print((lambda x:[0 for s in x[1]if x[1].count(s)>x[2].count(s)]==[])(__import__('sys').argv))
| 47 | 93 | 0.595745 | 21 | 94 | 2.47619 | 0.666667 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 0.074468 | 94 | 1 | 94 | 94 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
788412b92af2700daf49d1cfc985d5ec18b0c165 | 26 | py | Python | src/tools/__init__.py | abstractSean/learning_numerai | 636eabceba70afae50f77a4cf3f95bdcaf0f36d9 | [
"MIT"
] | null | null | null | src/tools/__init__.py | abstractSean/learning_numerai | 636eabceba70afae50f77a4cf3f95bdcaf0f36d9 | [
"MIT"
] | 5 | 2020-03-24T15:34:30.000Z | 2021-06-01T21:55:09.000Z | src/tools/__init__.py | abstractSean/learning_numerai | 636eabceba70afae50f77a4cf3f95bdcaf0f36d9 | [
"MIT"
] | null | null | null | from . import numerai_api
| 13 | 25 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 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 |
157f45083f87d0a333599ea010597d8c451df9c5 | 137 | py | Python | fastccd_support_ioc/utils/sendConnect.py | lbl-camera/fastccd_support_ioc | 80b3820744e9aec7923af6adec0a66a0c51b2c21 | [
"BSD-3-Clause"
] | null | null | null | fastccd_support_ioc/utils/sendConnect.py | lbl-camera/fastccd_support_ioc | 80b3820744e9aec7923af6adec0a66a0c51b2c21 | [
"BSD-3-Clause"
] | 1 | 2020-08-07T22:22:25.000Z | 2020-08-07T22:22:25.000Z | fastccd_support_ioc/utils/sendConnect.py | lbl-camera/fastccd_support_ioc | 80b3820744e9aec7923af6adec0a66a0c51b2c21 | [
"BSD-3-Clause"
] | 1 | 2021-02-08T22:06:05.000Z | 2021-02-08T22:06:05.000Z | #! /usr/bin/python
# -*- coding: utf-8 -*-
import sys
import string
import time
from . import cin_functions
cin_functions.connect2daq()
| 15.222222 | 27 | 0.729927 | 19 | 137 | 5.157895 | 0.736842 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.138686 | 137 | 8 | 28 | 17.125 | 0.813559 | 0.284672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
158783858f6eb53cf8947bbb0beb80852ed68e97 | 19,458 | py | Python | gaia-sdk-python/gaia_sdk/tests/test_retrieval.py | leftshiftone/gaia-sdk | 7e0d1ce054fada8ae154da70b71e8a90347c9f97 | [
"MIT"
] | null | null | null | gaia-sdk-python/gaia_sdk/tests/test_retrieval.py | leftshiftone/gaia-sdk | 7e0d1ce054fada8ae154da70b71e8a90347c9f97 | [
"MIT"
] | 10 | 2019-11-14T07:55:47.000Z | 2022-02-26T19:36:45.000Z | gaia-sdk-python/gaia_sdk/tests/test_retrieval.py | leftshiftone/gaia-sdk | 7e0d1ce054fada8ae154da70b71e8a90347c9f97 | [
"MIT"
] | 2 | 2020-05-12T11:09:53.000Z | 2020-12-25T14:03:04.000Z | import logging
import unittest
from uuid import uuid4
from rx import operators as ops, pipe
from gaia_sdk.tests.mock import MockResponse
from gaia_sdk.tests.mock import mock_gaia_ref
logging.basicConfig(level=logging.DEBUG)
class RxException(Exception):
pass
# Helper function for raising exceptions within la... | 48.889447 | 142 | 0.571333 | 2,001 | 19,458 | 5.443778 | 0.071464 | 0.044983 | 0.026439 | 0.064261 | 0.877261 | 0.873313 | 0.825576 | 0.807124 | 0.786377 | 0.765997 | 0 | 0.032502 | 0.253675 | 19,458 | 397 | 143 | 49.012594 | 0.717601 | 0.002724 | 0 | 0.568106 | 0 | 0 | 0.24857 | 0 | 0 | 0 | 0 | 0 | 0.156146 | 1 | 0.156146 | false | 0.003322 | 0.019934 | 0 | 0.182724 | 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 |
eca0680e9eef7903a257c3bdf1082e05376976e5 | 830 | py | Python | pystruct/datasets/__init__.py | LemonLison/pystruct | 5606e643d1a0a3701b93b848a2a02c49e83c4f1e | [
"BSD-2-Clause"
] | 501 | 2015-01-06T16:24:04.000Z | 2022-03-22T03:53:03.000Z | pystruct/datasets/__init__.py | kingjr/pystruct | 23c6d8f6ab34a88b63386a595debbfdfa13345fe | [
"BSD-2-Clause"
] | 104 | 2015-01-02T19:05:04.000Z | 2022-02-13T20:18:38.000Z | pystruct/datasets/__init__.py | kingjr/pystruct | 23c6d8f6ab34a88b63386a595debbfdfa13345fe | [
"BSD-2-Clause"
] | 145 | 2015-02-04T03:42:52.000Z | 2022-03-04T13:16:37.000Z | from .synthetic_grids import (generate_blocks, generate_blocks_multinomial,
generate_bars, generate_crosses_explicit, binary,
multinomial, make_simple_2x2, generate_easy,
generate_crosses, generate_checker,
... | 59.285714 | 79 | 0.642169 | 75 | 830 | 6.546667 | 0.32 | 0.114053 | 0.089613 | 0.114053 | 0.773931 | 0.773931 | 0.773931 | 0.773931 | 0.773931 | 0.773931 | 0 | 0.0067 | 0.280723 | 830 | 13 | 80 | 63.846154 | 0.815745 | 0 | 0 | 0 | 1 | 0 | 0.286747 | 0.096386 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 |
ecc9e825c4d92a8b50a57d0993d77bbd3f100250 | 115 | py | Python | evennia/contrib/game_systems/mail/__init__.py | davidrideout/evennia | 879eea55acdf4fe5cdc96ba8fd0ab5ccca4ae84b | [
"BSD-3-Clause"
] | null | null | null | evennia/contrib/game_systems/mail/__init__.py | davidrideout/evennia | 879eea55acdf4fe5cdc96ba8fd0ab5ccca4ae84b | [
"BSD-3-Clause"
] | null | null | null | evennia/contrib/game_systems/mail/__init__.py | davidrideout/evennia | 879eea55acdf4fe5cdc96ba8fd0ab5ccca4ae84b | [
"BSD-3-Clause"
] | null | null | null | """
Mail system - grungies 2016
"""
from .mail import CmdMail # noqa
from .mail import CmdMailCharacter # noqa
| 14.375 | 42 | 0.704348 | 14 | 115 | 5.785714 | 0.642857 | 0.197531 | 0.345679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.2 | 115 | 7 | 43 | 16.428571 | 0.836957 | 0.330435 | 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 |
bf0ece2bf37f1b12542c9a508e39eed1dd6d462b | 119 | py | Python | 14_Modules/bananas.py | qaidjohar/PythonCourse | 6c638f8a1e1172eb12459c0fd6dc20e0590825b8 | [
"MIT"
] | null | null | null | 14_Modules/bananas.py | qaidjohar/PythonCourse | 6c638f8a1e1172eb12459c0fd6dc20e0590825b8 | [
"MIT"
] | null | null | null | 14_Modules/bananas.py | qaidjohar/PythonCourse | 6c638f8a1e1172eb12459c0fd6dc20e0590825b8 | [
"MIT"
] | null | null | null | def peel():
print('The first step is to peel the banana.')
def eat():
print('Now you have to eat the banana.') | 23.8 | 50 | 0.638655 | 21 | 119 | 3.619048 | 0.619048 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226891 | 119 | 5 | 51 | 23.8 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.566667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
bf1e1c6a3e7ef568b9f018ffae48d2d3e54829f6 | 876 | py | Python | tensorcv/train/loss.py | afcarl/tensorcv | 6545a48722dafb5c1cead3ed4f810ebcbef2c597 | [
"MIT"
] | 1 | 2019-04-22T16:37:36.000Z | 2019-04-22T16:37:36.000Z | tensorcv/train/loss.py | afcarl/tensorcv | 6545a48722dafb5c1cead3ed4f810ebcbef2c597 | [
"MIT"
] | null | null | null | tensorcv/train/loss.py | afcarl/tensorcv | 6545a48722dafb5c1cead3ed4f810ebcbef2c597 | [
"MIT"
] | null | null | null | import tensorflow as tf
def softmax_cross_entropy(label, logits, params):
return tf.losses.softmax_cross_entropy(label, logits)
def sparse_softmax_cross_entropy(label, logits, params):
return tf.losses.sparse_softmax_cross_entropy(label, logits)
def sigmoid_cross_entropy(label, logits, params):
return... | 27.375 | 75 | 0.775114 | 122 | 876 | 5.229508 | 0.270492 | 0.225705 | 0.238245 | 0.216301 | 0.69279 | 0.503135 | 0.332288 | 0.224138 | 0.15674 | 0 | 0 | 0 | 0.138128 | 876 | 31 | 76 | 28.258065 | 0.845033 | 0 | 0 | 0 | 0 | 0 | 0.131429 | 0.08 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.052632 | 0.210526 | 0.578947 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bf3cca96352cc332210033f5e1266a5fc3df2e73 | 101 | py | Python | func_adl_uproot/__init__.py | iris-hep/func_adl_uproot | ac39e6dfa516559c2578040bb856fd9dbe647bdc | [
"MIT"
] | null | null | null | func_adl_uproot/__init__.py | iris-hep/func_adl_uproot | ac39e6dfa516559c2578040bb856fd9dbe647bdc | [
"MIT"
] | 36 | 2020-09-03T16:43:16.000Z | 2022-03-16T15:15:39.000Z | func_adl_uproot/__init__.py | iris-hep/func_adl.uproot | 61b35593b4512dfaf3a75054aa13ffe2fbc602b6 | [
"MIT"
] | null | null | null | from .transformer import *
from .translation import *
from .executor import *
from .dataset import *
| 20.2 | 26 | 0.762376 | 12 | 101 | 6.416667 | 0.5 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158416 | 101 | 4 | 27 | 25.25 | 0.905882 | 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 |
1709c826fe129ae6b4e1d4dcff8a5acc21d5fb51 | 190 | py | Python | src/pystage/__init__.py | pystage/pystage | 4a76e95f6de2df59736de17fe81219485fde1556 | [
"MIT"
] | 12 | 2021-05-20T12:49:52.000Z | 2022-01-12T02:15:33.000Z | src/pystage/__init__.py | pystage/pystage | 4a76e95f6de2df59736de17fe81219485fde1556 | [
"MIT"
] | 14 | 2021-05-25T09:28:33.000Z | 2021-09-10T07:54:45.000Z | src/pystage/__init__.py | pystage/pystage | 4a76e95f6de2df59736de17fe81219485fde1556 | [
"MIT"
] | 3 | 2021-05-25T12:58:36.000Z | 2022-02-18T04:19:21.000Z | from os import environ
# Prevent PyGame support prompt
environ['PYGAME_HIDE_SUPPORT_PROMPT'] = '1'
# Do not mess with the compositor
environ['SDL_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR'] = '0'
| 27.142857 | 55 | 0.794737 | 29 | 190 | 4.896552 | 0.793103 | 0.183099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023952 | 0.121053 | 190 | 6 | 56 | 31.666667 | 0.826347 | 0.321053 | 0 | 0 | 0 | 0 | 0.528 | 0.512 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.333333 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
1729ccc6b3b31a43b17ccd542f2b713081e29641 | 106 | py | Python | rep/data/__init__.py | HolyBayes/rep | 8a8d70f87e148e6fd73ff0c3a8606e6074a5c47b | [
"Apache-2.0"
] | 726 | 2015-04-16T08:16:30.000Z | 2022-03-25T19:19:42.000Z | rep/data/__init__.py | HolyBayes/rep | 8a8d70f87e148e6fd73ff0c3a8606e6074a5c47b | [
"Apache-2.0"
] | 86 | 2015-04-16T23:57:01.000Z | 2021-09-26T01:03:47.000Z | rep/data/__init__.py | HolyBayes/rep | 8a8d70f87e148e6fd73ff0c3a8606e6074a5c47b | [
"Apache-2.0"
] | 167 | 2015-04-16T11:42:18.000Z | 2022-01-11T15:10:19.000Z | from __future__ import division, print_function, absolute_import
from .storage import LabeledDataStorage
| 26.5 | 64 | 0.867925 | 12 | 106 | 7.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103774 | 106 | 3 | 65 | 35.333333 | 0.905263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
1789f8ceaf89df74e2531fd5e80a38760da7f452 | 15,979 | py | Python | lolesport_parser/dataclasses/game_timeline.py | DrArtemi/riot-api | a68bf94061a3c63e511418669097499c3e2c055d | [
"MIT"
] | null | null | null | lolesport_parser/dataclasses/game_timeline.py | DrArtemi/riot-api | a68bf94061a3c63e511418669097499c3e2c055d | [
"MIT"
] | null | null | null | lolesport_parser/dataclasses/game_timeline.py | DrArtemi/riot-api | a68bf94061a3c63e511418669097499c3e2c055d | [
"MIT"
] | null | null | null | """
File auto-generated by pydantic
FIXME: The models seems weird to me, maybe some refacto need to be done
"""
from __future__ import annotations
from typing import List, Optional
from pydantic import BaseModel, Field
class Position(BaseModel):
x: int
y: int
class VictimDamageReceivedItem(BaseModel):
... | 21.68114 | 73 | 0.701421 | 1,455 | 15,979 | 7.693471 | 0.124399 | 0.030731 | 0.0268 | 0.013757 | 0.744506 | 0.744506 | 0.722887 | 0.679114 | 0.679114 | 0.679114 | 0 | 0.00839 | 0.239189 | 15,979 | 736 | 74 | 21.710598 | 0.912396 | 0.006446 | 0 | 0.794953 | 1 | 0 | 0.000693 | 0 | 0 | 0 | 0 | 0.001359 | 0 | 1 | 0 | true | 0 | 0.004732 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bd73bc36216b14daf67c5eef025d24ed172e80e9 | 29 | py | Python | rapidenv/conan/__init__.py | innoviz-sw-infra/rapid-env | acc5e1e461af42b5fbb7024c0b79d4315c206fe2 | [
"MIT"
] | 1 | 2021-02-15T20:55:49.000Z | 2021-02-15T20:55:49.000Z | rapidenv/conan/__init__.py | innoviz-sw-infra/rapid-env | acc5e1e461af42b5fbb7024c0b79d4315c206fe2 | [
"MIT"
] | null | null | null | rapidenv/conan/__init__.py | innoviz-sw-infra/rapid-env | acc5e1e461af42b5fbb7024c0b79d4315c206fe2 | [
"MIT"
] | null | null | null | from .conan import run_conan
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 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 |
bd89c2dcef70f3ba77386c741adc5a1992d27c6c | 37,601 | py | Python | tests/ui/test_main.py | em-2/em2 | 4f8100defd42cb97928e48f1ff34532b8a0b57f6 | [
"MIT"
] | null | null | null | tests/ui/test_main.py | em-2/em2 | 4f8100defd42cb97928e48f1ff34532b8a0b57f6 | [
"MIT"
] | 174 | 2016-12-02T11:15:23.000Z | 2019-05-06T15:16:56.000Z | tests/ui/test_main.py | em-2/em2 | 4f8100defd42cb97928e48f1ff34532b8a0b57f6 | [
"MIT"
] | null | null | null | import base64
import json
from asyncio import sleep
from time import time
from urllib.parse import parse_qs, urlparse
from aiohttp import WSMsgType
from async_timeout import timeout
from cryptography.fernet import Fernet
from em2 import VERSION
from em2.core import Components, Verbs
from ..conftest import AnyInt, Cl... | 36.683902 | 119 | 0.59291 | 4,826 | 37,601 | 4.498135 | 0.060298 | 0.037037 | 0.040538 | 0.044223 | 0.847752 | 0.815414 | 0.777271 | 0.75023 | 0.725677 | 0.702184 | 0 | 0.020029 | 0.2551 | 37,601 | 1,024 | 120 | 36.719727 | 0.755007 | 0.003138 | 0 | 0.691176 | 0 | 0 | 0.240874 | 0.014463 | 0 | 0 | 0 | 0 | 0.202489 | 1 | 0 | false | 0 | 0.012443 | 0 | 0.012443 | 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 |
bd8f613140ae6afb063228a422429eb1ca5e8985 | 93 | py | Python | chirun/plastex/tikz-cd/__init__.py | sthagen/chirun-ncl-chirun | 45897319d5203b9867b5d6e00b2db1aa90a6580c | [
"Apache-2.0"
] | 5 | 2021-12-06T15:57:24.000Z | 2022-01-24T20:34:00.000Z | chirun/plastex/tikz-cd/__init__.py | sthagen/chirun-ncl-chirun | 45897319d5203b9867b5d6e00b2db1aa90a6580c | [
"Apache-2.0"
] | 38 | 2021-12-09T13:16:46.000Z | 2022-03-30T11:42:13.000Z | chirun/plastex/tikz-cd/__init__.py | sthagen/chirun-ncl-chirun | 45897319d5203b9867b5d6e00b2db1aa90a6580c | [
"Apache-2.0"
] | 1 | 2022-01-17T17:41:35.000Z | 2022-01-17T17:41:35.000Z | from chirun.plastex import VerbatimEnvironment
class tikzcd(VerbatimEnvironment):
pass
| 15.5 | 46 | 0.817204 | 9 | 93 | 8.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139785 | 93 | 5 | 47 | 18.6 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
bd8f8d5ad78e0b811628ad83ccc87497b2684f55 | 228 | py | Python | 0x04-python-more_data_structures/dev/6-main.py | johncoleman83/bootcampschool-higher_level_programming | a83c3b7092cfe893c87e495f8d8eec9228c9b808 | [
"MIT"
] | null | null | null | 0x04-python-more_data_structures/dev/6-main.py | johncoleman83/bootcampschool-higher_level_programming | a83c3b7092cfe893c87e495f8d8eec9228c9b808 | [
"MIT"
] | null | null | null | 0x04-python-more_data_structures/dev/6-main.py | johncoleman83/bootcampschool-higher_level_programming | a83c3b7092cfe893c87e495f8d8eec9228c9b808 | [
"MIT"
] | 1 | 2020-09-25T17:54:36.000Z | 2020-09-25T17:54:36.000Z | #!/usr/bin/python3
print_sorted_dictionary = __import__('6-print_sorted_dictionary').print_sorted_dictionary
my_dict = { 'language': "C", 'Number': 89, 'track': "Low level", 'ids': [1, 2, 3] }
print_sorted_dictionary(my_dict)
| 32.571429 | 89 | 0.72807 | 32 | 228 | 4.75 | 0.65625 | 0.289474 | 0.552632 | 0.302632 | 0.355263 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033981 | 0.096491 | 228 | 6 | 90 | 38 | 0.703884 | 0.074561 | 0 | 0 | 0 | 0 | 0.272727 | 0.119617 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 0 | 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 | 1 | 0 | 6 |
bda8512024114a5d1a69fbbaa7f99aa06dd73afb | 19 | py | Python | cmhi/__init__.py | austindavidbrown/Centered-Metropolis-Hastings | a96749a31ddcfbcaad081f6f9d2fb7ddcb55991f | [
"BSD-3-Clause"
] | null | null | null | cmhi/__init__.py | austindavidbrown/Centered-Metropolis-Hastings | a96749a31ddcfbcaad081f6f9d2fb7ddcb55991f | [
"BSD-3-Clause"
] | null | null | null | cmhi/__init__.py | austindavidbrown/Centered-Metropolis-Hastings | a96749a31ddcfbcaad081f6f9d2fb7ddcb55991f | [
"BSD-3-Clause"
] | null | null | null | from .cmhi import * | 19 | 19 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.875 | 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 |
bdd10b2b5523fb188919bbcf53fe69827b2a7554 | 49 | py | Python | mpu/__init__.py | donaldong/RPIdrone | 5e33597b1a8cfa6d4417dae14cd5a6bf2b9b8ec3 | [
"MIT"
] | 6 | 2018-11-11T09:11:06.000Z | 2021-02-07T19:46:57.000Z | mpu/__init__.py | donaldong/RPIdrone | 5e33597b1a8cfa6d4417dae14cd5a6bf2b9b8ec3 | [
"MIT"
] | null | null | null | mpu/__init__.py | donaldong/RPIdrone | 5e33597b1a8cfa6d4417dae14cd5a6bf2b9b8ec3 | [
"MIT"
] | 4 | 2019-04-04T13:23:10.000Z | 2020-04-09T05:57:37.000Z | # Wrapper Class For MPU6050
from mpu import MPU
| 12.25 | 27 | 0.77551 | 8 | 49 | 4.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0.204082 | 49 | 3 | 28 | 16.333333 | 0.871795 | 0.510204 | 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 |
bdd8538894552a0370b06b71d3495946815976ff | 160 | py | Python | spatialnc/tools.py | USDA-ARS-NWRC/spatialnc | fae3a548890dbb2e640a1b3e1a52d0ef88fc8b60 | [
"CC0-1.0"
] | null | null | null | spatialnc/tools.py | USDA-ARS-NWRC/spatialnc | fae3a548890dbb2e640a1b3e1a52d0ef88fc8b60 | [
"CC0-1.0"
] | 10 | 2019-02-05T21:46:42.000Z | 2020-06-22T15:20:56.000Z | spatialnc/tools.py | USDA-ARS-NWRC/spatialnc | fae3a548890dbb2e640a1b3e1a52d0ef88fc8b60 | [
"CC0-1.0"
] | null | null | null |
def create_netcdf(**kwargs):
"""
Creates a blank netcdf containing all the information necessary for
every spatial file that is generated
"""
| 20 | 71 | 0.69375 | 20 | 160 | 5.5 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2375 | 160 | 7 | 72 | 22.857143 | 0.901639 | 0.65 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
bdf89d432a79df271a2845ec30da4a031d1fcc29 | 37,721 | py | Python | instances/passenger_demand/pas-20210421-2109-int12e/81.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int12e/81.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int12e/81.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 2726
passenger_arriving = (
(5, 4, 5, 3, 0, 0, 5, 3, 3, 4, 3, 0), # 0
(5, 12, 8, 7, 2, 0, 7, 5, 5, 3, 0, 0), # 1
(5, 5, 6, 2, 3, 0, 4, 3, 0, 3, 4, 0), # 2
(5, 7, 7, 2, 2, 0, 5, 6, 5, 6, 1, 0), # 3
(2, 6, 9, 1, 2, 0, 3, 9, 4, 3, 0, 0), # 4
(0, 3, 6, 1, 3, 0, 7, 5, 4, 2, 4... | 112.6 | 213 | 0.727897 | 5,147 | 37,721 | 5.332427 | 0.222848 | 0.3148 | 0.249217 | 0.4722 | 0.331997 | 0.329811 | 0.329811 | 0.329811 | 0.329811 | 0.329811 | 0 | 0.818111 | 0.119668 | 37,721 | 334 | 214 | 112.937126 | 0.008402 | 0.032104 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
da015ce2d40fef7b6c3bdbac710049262bcbe43e | 96 | py | Python | venv/lib/python3.8/site-packages/parso/python/token.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/parso/python/token.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/parso/python/token.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/a6/b4/59/1ebe2f54c2b7e49516542f4cf64c9eaaa1162c3c8e2a38302d0378873a | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 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 |
da087d74c30c68807bc72b0c7f280469c7b3a26a | 39 | py | Python | htcondor_executor/__init__.py | JoshKarpel/htcondor-executor | a2a40f55772a4391b57bc1baeb5aa66d9ca0f17d | [
"Apache-2.0"
] | null | null | null | htcondor_executor/__init__.py | JoshKarpel/htcondor-executor | a2a40f55772a4391b57bc1baeb5aa66d9ca0f17d | [
"Apache-2.0"
] | null | null | null | htcondor_executor/__init__.py | JoshKarpel/htcondor-executor | a2a40f55772a4391b57bc1baeb5aa66d9ca0f17d | [
"Apache-2.0"
] | null | null | null | from .executor import HTCondorExecutor
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da0a00e3c347d653c317f4b3612b78c7ae3193b3 | 1,209 | py | Python | test/controllers/test_math_controller.py | doedotdev/flask-simple | 512c310dac26e40156d62bdf0ad1d961e0cf509f | [
"MIT"
] | null | null | null | test/controllers/test_math_controller.py | doedotdev/flask-simple | 512c310dac26e40156d62bdf0ad1d961e0cf509f | [
"MIT"
] | null | null | null | test/controllers/test_math_controller.py | doedotdev/flask-simple | 512c310dac26e40156d62bdf0ad1d961e0cf509f | [
"MIT"
] | null | null | null | from pytest import fixture
from src.servers.web import WEB
@fixture
def test_app():
WEB.register_blueprints()
return WEB.flask_app.test_client()
def test_math_mul_div(test_app):
value_one = 3
value_two = 4
math_response = test_app.get(
"/mul-div?value_one={}&value_two={}".format(value... | 27.477273 | 73 | 0.705542 | 173 | 1,209 | 4.595376 | 0.219653 | 0.140881 | 0.271698 | 0.161006 | 0.706918 | 0.706918 | 0.706918 | 0.706918 | 0.611321 | 0.611321 | 0 | 0.016129 | 0.179487 | 1,209 | 43 | 74 | 28.116279 | 0.785282 | 0 | 0 | 0.466667 | 0 | 0 | 0.129859 | 0.056245 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.1 | false | 0 | 0.066667 | 0 | 0.2 | 0.033333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 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 |
da6374fc77ec338537e8564fd876ffc1be70cff0 | 42,566 | py | Python | pybind/slxos/v17r_2_00/openflow_state/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/openflow_state/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/openflow_state/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 77.959707 | 846 | 0.748015 | 5,636 | 42,566 | 5.426011 | 0.032292 | 0.043818 | 0.051274 | 0.035316 | 0.89827 | 0.880056 | 0.871652 | 0.867074 | 0.859815 | 0.856676 | 0 | 0.000797 | 0.115585 | 42,566 | 545 | 847 | 78.102752 | 0.811534 | 0.13351 | 0 | 0.48125 | 0 | 0.0375 | 0.424297 | 0.23872 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121875 | false | 0 | 0.0625 | 0 | 0.29375 | 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 |
da66c0c12e9a26db26936f05c325bd9b0e898001 | 45 | py | Python | Docker/average.py | programmer-666/Codes | fdffe38a789ba3636dff7ceaa9f1b4113ae17c2b | [
"MIT"
] | null | null | null | Docker/average.py | programmer-666/Codes | fdffe38a789ba3636dff7ceaa9f1b4113ae17c2b | [
"MIT"
] | null | null | null | Docker/average.py | programmer-666/Codes | fdffe38a789ba3636dff7ceaa9f1b4113ae17c2b | [
"MIT"
] | 1 | 2021-09-16T14:24:29.000Z | 2021-09-16T14:24:29.000Z | import os
print(os.environ['x']+', input.')
| 11.25 | 33 | 0.622222 | 7 | 45 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 3 | 34 | 15 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.2 | 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 |
16fbee2655bd447f290ab05210e93a285b164b84 | 13,138 | py | Python | StateConfig/dump_hw_state.py | samehattia/StateMover | 8e242f6d3c370569f7267ffadda3d6e4f4b028b3 | [
"MIT"
] | 1 | 2021-10-12T16:18:04.000Z | 2021-10-12T16:18:04.000Z | StateConfig/dump_hw_state.py | samehattia/StateMover | 8e242f6d3c370569f7267ffadda3d6e4f4b028b3 | [
"MIT"
] | null | null | null | StateConfig/dump_hw_state.py | samehattia/StateMover | 8e242f6d3c370569f7267ffadda3d6e4f4b028b3 | [
"MIT"
] | 1 | 2021-12-06T14:10:29.000Z | 2021-12-06T14:10:29.000Z | #!/usr/bin/env python3
import sys
import re
import os.path
from timeit import default_timer as timer
from file_parser import parse_location_files
# Fast means that the frame data is in string format (not converted to int)
from file_parser import parse_rdbk_file
from file_parser import parse_partial_rdbk_file
from f... | 53.62449 | 1,351 | 0.685873 | 2,301 | 13,138 | 3.591917 | 0.10691 | 0.185844 | 0.239564 | 0.052269 | 0.778584 | 0.753902 | 0.739746 | 0.706715 | 0.677435 | 0.648034 | 0 | 0.054205 | 0.157482 | 13,138 | 244 | 1,352 | 53.844262 | 0.692474 | 0.112955 | 0 | 0.408046 | 0 | 0.005747 | 0.05729 | 0 | 0 | 0 | 0.00086 | 0 | 0 | 1 | 0 | false | 0 | 0.068966 | 0 | 0.068966 | 0.011494 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e5221f8fe6067981780c7147b1e7aca8af9c1a40 | 48 | py | Python | filip/ocb/__init__.py | N5GEH/n5geh.tools.FiLiP | 1c5ac2a5c435bd96db186a8ab4c467ee68dc9128 | [
"BSD-3-Clause"
] | 1 | 2021-07-12T14:58:31.000Z | 2021-07-12T14:58:31.000Z | filip/ocb/__init__.py | N5GEH/n5geh.tools.FiLiP | 1c5ac2a5c435bd96db186a8ab4c467ee68dc9128 | [
"BSD-3-Clause"
] | null | null | null | filip/ocb/__init__.py | N5GEH/n5geh.tools.FiLiP | 1c5ac2a5c435bd96db186a8ab4c467ee68dc9128 | [
"BSD-3-Clause"
] | null | null | null | from .orion import *
from .subscription import * | 24 | 27 | 0.770833 | 6 | 48 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 27 | 24 | 0.902439 | 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 |
e5d8b4d1d7552dce403069b842fdbb044abc1c8b | 73 | py | Python | bob/bio/base/config/preprocessor/filename.py | bioidiap/bob.bio.base | 44b8d192e957eb328591c8110cf0113f602292ef | [
"BSD-3-Clause"
] | 16 | 2016-04-06T20:37:55.000Z | 2019-10-19T08:06:25.000Z | bob/bio/base/config/preprocessor/filename.py | bioidiap/bob.bio.base | 44b8d192e957eb328591c8110cf0113f602292ef | [
"BSD-3-Clause"
] | 25 | 2015-07-04T17:41:40.000Z | 2016-08-08T20:36:01.000Z | bob/bio/base/config/preprocessor/filename.py | bioidiap/bob.bio.base | 44b8d192e957eb328591c8110cf0113f602292ef | [
"BSD-3-Clause"
] | 7 | 2015-08-07T17:21:02.000Z | 2018-08-13T15:51:54.000Z | import bob.bio.base
preprocessor = bob.bio.base.preprocessor.Filename()
| 18.25 | 51 | 0.794521 | 10 | 73 | 5.8 | 0.6 | 0.206897 | 0.344828 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 73 | 3 | 52 | 24.333333 | 0.865672 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f912baabb6374478a40c5605f249c90e5ccbb6a6 | 46 | py | Python | du/unsupervised/__init__.py | diogo149/doo | d83a1715fb9d4e5eac9f5d3d384a45cfc26fec2f | [
"MIT"
] | 1 | 2016-11-17T06:34:39.000Z | 2016-11-17T06:34:39.000Z | du/unsupervised/__init__.py | diogo149/doo | d83a1715fb9d4e5eac9f5d3d384a45cfc26fec2f | [
"MIT"
] | null | null | null | du/unsupervised/__init__.py | diogo149/doo | d83a1715fb9d4e5eac9f5d3d384a45cfc26fec2f | [
"MIT"
] | null | null | null | from .sparse_filtering import SparseFiltering
| 23 | 45 | 0.891304 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 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 |
f915daa48a85ed79b325e23bcb4c779fe7186fb8 | 84 | py | Python | jacdac/dc_voltage_measurement/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/dc_voltage_measurement/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/dc_voltage_measurement/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated file.
from .client import DcVoltageMeasurementClient # type: ignore
| 28 | 61 | 0.821429 | 8 | 84 | 8.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 84 | 2 | 62 | 42 | 0.932432 | 0.380952 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f925a2832c8b8cdb2a6334832b97827a11dfd6f2 | 41 | py | Python | laia/losses/__init__.py | eivtho/PyLaia | 2a7a6e2eeb9b5af68c0faed0c564b02063e72be0 | [
"MIT"
] | 89 | 2018-12-12T23:06:26.000Z | 2022-02-03T09:04:21.000Z | laia/losses/__init__.py | eivtho/PyLaia | 2a7a6e2eeb9b5af68c0faed0c564b02063e72be0 | [
"MIT"
] | 30 | 2019-03-06T14:29:48.000Z | 2022-03-16T14:53:43.000Z | laia/losses/__init__.py | jpuigcerver/PyLaia | 1b2e864247f1bfb8d95ac1910de9c52df71c017a | [
"MIT"
] | 26 | 2018-12-13T17:48:19.000Z | 2022-02-28T12:52:29.000Z | from laia.losses.ctc_loss import CTCLoss
| 20.5 | 40 | 0.853659 | 7 | 41 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
f928880dc336082f9cc1a913a3325348ae95fccc | 34 | py | Python | test3.py | pesceknhk/demo-jenkins-1 | 71d2bea6fa74d2c78ffe0b7767e443a63cac4eb8 | [
"Apache-2.0"
] | null | null | null | test3.py | pesceknhk/demo-jenkins-1 | 71d2bea6fa74d2c78ffe0b7767e443a63cac4eb8 | [
"Apache-2.0"
] | null | null | null | test3.py | pesceknhk/demo-jenkins-1 | 71d2bea6fa74d2c78ffe0b7767e443a63cac4eb8 | [
"Apache-2.0"
] | null | null | null | print('my name is hemanth')
#test
| 11.333333 | 27 | 0.705882 | 6 | 34 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 2 | 28 | 17 | 0.827586 | 0.117647 | 0 | 0 | 0 | 0 | 0.62069 | 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 |
00c6745be48f7ca9a2b7905656a2c26a82fc99f9 | 5,053 | py | Python | barbican-8.0.0/functionaltests/api/v1/behaviors/secretmeta_behaviors.py | scottwedge/OpenStack-Stein | 7077d1f602031dace92916f14e36b124f474de15 | [
"Apache-2.0"
] | 177 | 2015-01-02T09:35:53.000Z | 2022-02-26T01:43:55.000Z | functionaltests/api/v1/behaviors/secretmeta_behaviors.py | kkutysllb/barbican | 7b14d983e0dce6dcffe9781b05c52335b8203fc7 | [
"Apache-2.0"
] | 5 | 2019-08-14T06:46:03.000Z | 2021-12-13T20:01:25.000Z | functionaltests/api/v1/behaviors/secretmeta_behaviors.py | kkutysllb/barbican | 7b14d983e0dce6dcffe9781b05c52335b8203fc7 | [
"Apache-2.0"
] | 87 | 2015-01-13T17:33:40.000Z | 2021-11-09T05:30:36.000Z | """
Copyright 2016 IBM
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribute... | 39.170543 | 79 | 0.630121 | 641 | 5,053 | 4.731669 | 0.184087 | 0.053083 | 0.034289 | 0.037587 | 0.771843 | 0.758325 | 0.747445 | 0.737224 | 0.737224 | 0.713485 | 0 | 0.006734 | 0.294676 | 5,053 | 128 | 80 | 39.476563 | 0.844276 | 0.171977 | 0 | 0.7625 | 0 | 0 | 0.0314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075 | false | 0 | 0.025 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
00d73bca011877aab46ea09852a054b3f62c4991 | 21,695 | py | Python | lib/BBTools/BBToolsClient.py | kbaseapps/BBTools | 4602c41baed008aba9aa121d52acd3f64f155d2e | [
"MIT"
] | 2 | 2019-09-24T22:17:22.000Z | 2019-10-02T13:25:53.000Z | lib/BBTools/BBToolsClient.py | kbaseapps/BBTools | 4602c41baed008aba9aa121d52acd3f64f155d2e | [
"MIT"
] | 5 | 2018-02-14T06:40:42.000Z | 2020-06-09T00:03:04.000Z | lib/BBTools/BBToolsClient.py | kbaseapps/BBTools | 4602c41baed008aba9aa121d52acd3f64f155d2e | [
"MIT"
] | 7 | 2018-02-12T21:39:48.000Z | 2020-09-29T15:43:57.000Z | # -*- coding: utf-8 -*-
############################################################
#
# Autogenerated by the KBase type compiler -
# any changes made here will be overwritten
#
############################################################
from __future__ import print_function
# the following is a hack to get the basec... | 64.761194 | 98 | 0.611155 | 2,700 | 21,695 | 4.815556 | 0.161852 | 0.026304 | 0.033995 | 0.03661 | 0.787879 | 0.777342 | 0.766036 | 0.763267 | 0.751961 | 0.751961 | 0 | 0.012237 | 0.276792 | 21,695 | 334 | 99 | 64.95509 | 0.816444 | 0.784052 | 0 | 0.15 | 1 | 0.025 | 0.098993 | 0.051594 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.05 | 0.1 | 0.025 | 0.5 | 0.025 | 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 |
da9fbc6148d5f7d295049c7b9048a20e3659a952 | 75,709 | py | Python | sympy_bot/tests/test_webapp.py | asmeurer/sympy-bot-1 | 08e16763f7c15f70366af91b8fb022aa6c962115 | [
"BSD-3-Clause"
] | 25 | 2015-10-06T18:50:26.000Z | 2022-03-12T07:36:25.000Z | sympy_bot/tests/test_webapp.py | asmeurer/sympy-bot-1 | 08e16763f7c15f70366af91b8fb022aa6c962115 | [
"BSD-3-Clause"
] | 73 | 2018-07-14T17:34:30.000Z | 2021-05-23T03:54:10.000Z | sympy_bot/tests/test_webapp.py | asmeurer/sympy-bot-1 | 08e16763f7c15f70366af91b8fb022aa6c962115 | [
"BSD-3-Clause"
] | 23 | 2015-10-30T06:01:01.000Z | 2021-04-16T00:59:46.000Z | """
The tests here test the webapp by sending fake requests through a fake GH
object and checking that the right API calls were made.
Each fake request has just the API information currently needed by the webapp,
so if more API information is used, it will need to be added.
The GitHub API docs are useful:
- Pull req... | 26.315259 | 246 | 0.491936 | 7,283 | 75,709 | 4.894274 | 0.049156 | 0.033834 | 0.045448 | 0.023734 | 0.874204 | 0.852798 | 0.832459 | 0.820508 | 0.807743 | 0.797335 | 0 | 0.013134 | 0.384551 | 75,709 | 2,876 | 247 | 26.324409 | 0.751862 | 0.047934 | 0 | 0.665189 | 0 | 0.002417 | 0.194844 | 0.012306 | 0 | 0 | 0 | 0 | 0.116035 | 1 | 0.003223 | false | 0 | 0.003626 | 0.000403 | 0.010073 | 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 |
97130eae41588f0d845a6eebe0d173ecf09e11a0 | 3,971 | py | Python | tests/candidates/test_splitter.py | kumachan-mis/pdf-slides-term | cf3319e4de723bd9424d23141803342d3c649103 | [
"MIT"
] | 1 | 2021-01-08T16:05:30.000Z | 2021-01-08T16:05:30.000Z | tests/candidates/test_splitter.py | kumachan-mis/py-slides-term | 1e9337b97ae8968950489e728fc7aeeeb7eb1f4b | [
"MIT"
] | 21 | 2021-01-03T13:50:59.000Z | 2021-06-17T00:27:49.000Z | tests/candidates/test_splitter.py | kumachan-mis/pdf-slides-term | cf3319e4de723bd9424d23141803342d3c649103 | [
"MIT"
] | null | null | null | from py_pdf_term.candidates import CandidateTermExtractor
def test_japanese_backward_repeat_splitter() -> None:
extractor = CandidateTermExtractor()
candidates = extractor.extract_from_text("エントロピークロスエントロピー情報エントロピー")
assert len(candidates) == 3
candidate = candidates[0]
assert candidate.lang == ... | 27.576389 | 76 | 0.69378 | 410 | 3,971 | 6.602439 | 0.15122 | 0.140377 | 0.140377 | 0.077577 | 0.774289 | 0.774289 | 0.774289 | 0.774289 | 0.761729 | 0.761729 | 0 | 0.00912 | 0.199194 | 3,971 | 143 | 77 | 27.769231 | 0.842138 | 0 | 0 | 0.59596 | 0 | 0 | 0.138756 | 0.005792 | 0 | 0 | 0 | 0 | 0.484848 | 1 | 0.080808 | false | 0 | 0.010101 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9753aadf2288aed2bcfc7a1a644d6d3d1f037b11 | 177 | py | Python | UserProfiles/admin.py | Milo-Goodfellow-Work/GuildsDevelopmentBuild | 96b384a4b2a3f5a6e930d6bfb4a3a98c73ba4da1 | [
"MIT"
] | null | null | null | UserProfiles/admin.py | Milo-Goodfellow-Work/GuildsDevelopmentBuild | 96b384a4b2a3f5a6e930d6bfb4a3a98c73ba4da1 | [
"MIT"
] | null | null | null | UserProfiles/admin.py | Milo-Goodfellow-Work/GuildsDevelopmentBuild | 96b384a4b2a3f5a6e930d6bfb4a3a98c73ba4da1 | [
"MIT"
] | null | null | null | #Non project imports
from django.contrib import admin
#Project imports
from .models import UserProfileModel
# Register your models here.
admin.site.register(UserProfileModel)
| 19.666667 | 37 | 0.824859 | 22 | 177 | 6.636364 | 0.636364 | 0.191781 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 177 | 8 | 38 | 22.125 | 0.935897 | 0.344633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
97591e76408dcf00078c8c13fa7e44728e551dac | 247 | py | Python | src/icemac/ab/calendar/browser/startpage.py | icemac/icemac.ab.calendar | c0cdedd3a8fdd39520156c2ea7cf83aca742e3d9 | [
"BSD-2-Clause"
] | 1 | 2020-04-21T19:34:04.000Z | 2020-04-21T19:34:04.000Z | src/icemac/ab/calendar/browser/startpage.py | icemac/icemac.ab.calendar | c0cdedd3a8fdd39520156c2ea7cf83aca742e3d9 | [
"BSD-2-Clause"
] | null | null | null | src/icemac/ab/calendar/browser/startpage.py | icemac/icemac.ab.calendar | c0cdedd3a8fdd39520156c2ea7cf83aca742e3d9 | [
"BSD-2-Clause"
] | null | null | null | from icemac.addressbook.i18n import _
import icemac.addressbook.browser.addressbook.startpage
calendar = icemac.addressbook.browser.addressbook.startpage.StartpageData(
'icemac.ab.calendar.interfaces.ICalendar', 'index.html', _('Calendar'))
| 35.285714 | 75 | 0.809717 | 26 | 247 | 7.615385 | 0.538462 | 0.257576 | 0.242424 | 0.353535 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008734 | 0.072874 | 247 | 6 | 76 | 41.166667 | 0.855895 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.157895 | 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 |
975b68f811cdaaff4e97e746fa73894d61880231 | 237 | py | Python | stardust_xr/__init__.py | technobaboo/stardust-py | 65239711832367dea4163f7535fcd8bc5bdb3123 | [
"MIT"
] | null | null | null | stardust_xr/__init__.py | technobaboo/stardust-py | 65239711832367dea4163f7535fcd8bc5bdb3123 | [
"MIT"
] | null | null | null | stardust_xr/__init__.py | technobaboo/stardust-py | 65239711832367dea4163f7535fcd8bc5bdb3123 | [
"MIT"
] | 1 | 2020-07-08T16:33:25.000Z | 2020-07-08T16:33:25.000Z | from . import messenger, scenegraph
def Messenger(messages_in, messages_out, scenegraph):
return messenger.Messenger(messages_in, messages_out, scenegraph)
def Scenegraph(init_heirarchy):
return scenegraph.Scenegraph(init_heirarchy)
| 29.625 | 66 | 0.835443 | 28 | 237 | 6.857143 | 0.392857 | 0.135417 | 0.197917 | 0.28125 | 0.416667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088608 | 237 | 7 | 67 | 33.857143 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
9779cbf56d7aa03b5f2d59052d5c8b3ceaba3e2c | 190 | py | Python | addons/generic_request/models/res_users.py | marionumza/vocal_v12 | 480990e919c9410903e06e7813ee92800bd6a569 | [
"Unlicense"
] | null | null | null | addons/generic_request/models/res_users.py | marionumza/vocal_v12 | 480990e919c9410903e06e7813ee92800bd6a569 | [
"Unlicense"
] | null | null | null | addons/generic_request/models/res_users.py | marionumza/vocal_v12 | 480990e919c9410903e06e7813ee92800bd6a569 | [
"Unlicense"
] | 1 | 2021-05-05T07:59:08.000Z | 2021-05-05T07:59:08.000Z | from odoo import models
class ResUsers(models.Model):
_inherit = 'res.users'
def action_show_related_requests(self):
return self.partner_id.action_show_related_requests()
| 21.111111 | 61 | 0.752632 | 25 | 190 | 5.4 | 0.76 | 0.148148 | 0.251852 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168421 | 190 | 8 | 62 | 23.75 | 0.85443 | 0 | 0 | 0 | 0 | 0 | 0.047368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
977b73edbdef74e260348654419f9c36aa3d2d30 | 225 | py | Python | tests/integration/fastapi/conftest.py | dynalz/odmantic | f20f08f8ab1768534c1e743f7539bfe4f8c73bdd | [
"0BSD"
] | 486 | 2020-10-19T05:33:53.000Z | 2022-03-30T12:54:57.000Z | tests/integration/fastapi/conftest.py | dynalz/odmantic | f20f08f8ab1768534c1e743f7539bfe4f8c73bdd | [
"0BSD"
] | 183 | 2020-10-19T18:15:25.000Z | 2022-03-31T04:59:21.000Z | tests/integration/fastapi/conftest.py | dynalz/odmantic | f20f08f8ab1768534c1e743f7539bfe4f8c73bdd | [
"0BSD"
] | 53 | 2020-10-19T09:35:01.000Z | 2022-03-31T20:39:51.000Z | import pytest
from fastapi import FastAPI
from fastapi.testclient import TestClient
@pytest.fixture
def fastapi_app():
return FastAPI()
@pytest.fixture
def test_client(fastapi_app):
return TestClient(fastapi_app)
| 16.071429 | 41 | 0.791111 | 29 | 225 | 6 | 0.37931 | 0.172414 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142222 | 225 | 13 | 42 | 17.307692 | 0.901554 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.222222 | 0.777778 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
97aa46a347bda7dc400f3e9b4fa684c48c6f6661 | 67,807 | py | Python | pyscf/cc/fci_to_cc.py | seunghoonlee89/pyscf-ecCC-TCC | 2091566fb83c1474e40bf74f271be2ce4611f60c | [
"Apache-2.0"
] | 2 | 2021-09-17T06:10:17.000Z | 2022-01-22T23:37:22.000Z | pyscf/cc/fci_to_cc.py | seunghoonlee89/pyscf-ecCC-TCC | 2091566fb83c1474e40bf74f271be2ce4611f60c | [
"Apache-2.0"
] | null | null | null | pyscf/cc/fci_to_cc.py | seunghoonlee89/pyscf-ecCC-TCC | 2091566fb83c1474e40bf74f271be2ce4611f60c | [
"Apache-2.0"
] | 2 | 2021-09-16T23:37:42.000Z | 2021-10-14T23:00:39.000Z | #!/usr/bin/env python
#
# Author: Seunghoon Lee <seunghoonlee89@gmail.com>
#
'''
Extracting coupled cluster amplitude
from configuration interaction coefficient
'''
import numpy
import itertools
from pyscf.cc.fci_index import parity, reorder, fci_index
from pyscf.cc import _ccsd
from pyscf import lib
import ctypes
... | 50.79176 | 274 | 0.495347 | 11,779 | 67,807 | 2.743866 | 0.022922 | 0.06216 | 0.013552 | 0.052908 | 0.916955 | 0.894616 | 0.871875 | 0.842698 | 0.805167 | 0.727537 | 0 | 0.051587 | 0.303877 | 67,807 | 1,334 | 275 | 50.829835 | 0.63313 | 0.431563 | 0 | 0.6407 | 0 | 0.006359 | 0.013472 | 0 | 0 | 0 | 0 | 0.00075 | 0 | 1 | 0.076312 | false | 0 | 0.012719 | 0 | 0.119237 | 0.023847 | 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 |
c11a0479ed973988ac438b990d9948839c8a42a6 | 144 | py | Python | EduKTM/utils/__init__.py | zelo2/EduKTM | 3aafa7fe8b0a959ef2e319dc6339c9d14321b346 | [
"Apache-2.0"
] | null | null | null | EduKTM/utils/__init__.py | zelo2/EduKTM | 3aafa7fe8b0a959ef2e319dc6339c9d14321b346 | [
"Apache-2.0"
] | null | null | null | EduKTM/utils/__init__.py | zelo2/EduKTM | 3aafa7fe8b0a959ef2e319dc6339c9d14321b346 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# 2021/5/24 @ tongshiwei
from .utils import *
from .loss import SequenceLogisticMaskLoss as SLMLoss
from .torch_utils import *
| 20.571429 | 53 | 0.763889 | 20 | 144 | 5.45 | 0.75 | 0.201835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0.152778 | 144 | 6 | 54 | 24 | 0.827869 | 0.25 | 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 |
c12228fe100bdda03c7372841b1b0dd69d4bc32f | 99 | py | Python | tests/unit/test_init.py | tpvasconcelos/coimbra | 7d0579154cfe632a7a3042c93d25b4c63c37cffb | [
"Apache-2.0"
] | null | null | null | tests/unit/test_init.py | tpvasconcelos/coimbra | 7d0579154cfe632a7a3042c93d25b4c63c37cffb | [
"Apache-2.0"
] | null | null | null | tests/unit/test_init.py | tpvasconcelos/coimbra | 7d0579154cfe632a7a3042c93d25b4c63c37cffb | [
"Apache-2.0"
] | null | null | null | def test_version() -> None:
from coimbra import __version__
assert __version__ == "0.1.0"
| 19.8 | 35 | 0.676768 | 13 | 99 | 4.461538 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.212121 | 99 | 4 | 36 | 24.75 | 0.705128 | 0 | 0 | 0 | 0 | 0 | 0.050505 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c127c208b83cdc17460114272d65d7d124e8749f | 9,089 | py | Python | tests/server/blueprints/variant/test_variant_controllers.py | gmc-norr/scout | ea8eaaa079c63e4033af6216ec08da4a314f9b5c | [
"BSD-3-Clause"
] | null | null | null | tests/server/blueprints/variant/test_variant_controllers.py | gmc-norr/scout | ea8eaaa079c63e4033af6216ec08da4a314f9b5c | [
"BSD-3-Clause"
] | null | null | null | tests/server/blueprints/variant/test_variant_controllers.py | gmc-norr/scout | ea8eaaa079c63e4033af6216ec08da4a314f9b5c | [
"BSD-3-Clause"
] | null | null | null | import copy
import logging
from pprint import pprint as pp
from scout.server.blueprints.variant.controllers import variant, observations
from scout.server.extensions import store, loqusdb
from flask import url_for, current_app
from flask_login import current_user
LOG = logging.getLogger(__name__)
def test_observa... | 33.171533 | 85 | 0.683023 | 1,181 | 9,089 | 4.988992 | 0.125318 | 0.038187 | 0.040394 | 0.046843 | 0.797862 | 0.771385 | 0.750509 | 0.737271 | 0.730821 | 0.730821 | 0 | 0.002434 | 0.231599 | 9,089 | 273 | 86 | 33.29304 | 0.841208 | 0.179118 | 0 | 0.73224 | 0 | 0 | 0.090688 | 0 | 0 | 0 | 0 | 0 | 0.15847 | 1 | 0.038251 | false | 0 | 0.038251 | 0 | 0.076503 | 0.010929 | 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 |
c15f4240f6848ca1e04e72469d31765e5dd96542 | 46 | py | Python | suit/compat.py | RockyLiys/api_auto_test_platform | 7e6aec23b6f54d20c534b77a2679daf37b65c960 | [
"MIT"
] | null | null | null | suit/compat.py | RockyLiys/api_auto_test_platform | 7e6aec23b6f54d20c534b77a2679daf37b65c960 | [
"MIT"
] | 10 | 2019-12-04T23:30:37.000Z | 2022-02-10T12:05:45.000Z | suit/compat.py | RockyLiys/api_auto_test_platform | 7e6aec23b6f54d20c534b77a2679daf37b65c960 | [
"MIT"
] | 3 | 2019-07-01T10:18:40.000Z | 2019-07-06T00:59:19.000Z | # Python 3.
from urllib.parse import parse_qs
| 15.333333 | 33 | 0.782609 | 8 | 46 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.152174 | 46 | 2 | 34 | 23 | 0.871795 | 0.195652 | 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 |
c161356504c9a9b0950ad477febe4136348c717f | 34 | py | Python | venv/Lib/site-packages/pybrain3/__init__.py | ishatserka/MachineLearningAndDataAnalysisCoursera | e82e772df2f4aec162cb34ac6127df10d14a625a | [
"MIT"
] | null | null | null | venv/Lib/site-packages/pybrain3/__init__.py | ishatserka/MachineLearningAndDataAnalysisCoursera | e82e772df2f4aec162cb34ac6127df10d14a625a | [
"MIT"
] | null | null | null | venv/Lib/site-packages/pybrain3/__init__.py | ishatserka/MachineLearningAndDataAnalysisCoursera | e82e772df2f4aec162cb34ac6127df10d14a625a | [
"MIT"
] | null | null | null | from .structure.__init__ import *
| 17 | 33 | 0.794118 | 4 | 34 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.766667 | 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 |
c18b38e68fe3d5ab58597f8d3f61442fc66c66e4 | 220 | py | Python | Server/app/exceptions/exceptions.py | Mean-t/Mean.t-Backend | 31c27cee618d53894c147ac98ec957528fd691be | [
"MIT"
] | 4 | 2018-08-07T08:06:23.000Z | 2018-11-15T00:08:20.000Z | Server/app/exceptions/exceptions.py | Mean-t/Mean.t-Backend | 31c27cee618d53894c147ac98ec957528fd691be | [
"MIT"
] | 1 | 2018-11-24T09:50:55.000Z | 2018-11-24T09:50:55.000Z | Server/app/exceptions/exceptions.py | Mean-t/Mean.t-Backend | 31c27cee618d53894c147ac98ec957528fd691be | [
"MIT"
] | null | null | null | from flask import jsonify
def http_exception_handler(e):
return jsonify({
'msg': e.description
}), e.code
def broad_exception_error_handler(e):
return jsonify({
'msg': str(e),
}), 500
| 15.714286 | 37 | 0.622727 | 28 | 220 | 4.714286 | 0.607143 | 0.121212 | 0.212121 | 0.318182 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018293 | 0.254545 | 220 | 13 | 38 | 16.923077 | 0.786585 | 0 | 0 | 0.222222 | 0 | 0 | 0.027273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.222222 | 0.555556 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c1daf704ce5edcdff3ad5e4b7fa9901be48a4424 | 64 | py | Python | zemfrog/templates/loader/name.py | aprilahijriyan/zemfrog | 0a4ebc303caa8fadf89ca0cc8569de60c61f3252 | [
"MIT"
] | null | null | null | zemfrog/templates/loader/name.py | aprilahijriyan/zemfrog | 0a4ebc303caa8fadf89ca0cc8569de60c61f3252 | [
"MIT"
] | null | null | null | zemfrog/templates/loader/name.py | aprilahijriyan/zemfrog | 0a4ebc303caa8fadf89ca0cc8569de60c61f3252 | [
"MIT"
] | null | null | null | from flask import Flask
def loader(app: Flask):
pass
| 10.666667 | 24 | 0.640625 | 9 | 64 | 4.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296875 | 64 | 5 | 25 | 12.8 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
de057a6d796c7194e1073cbda37edc5474414fc9 | 145 | py | Python | users/admin.py | notabela-org/project-1-photoshare-hossn75 | b31162d1b25a76b8cfae782fc69cb2459411a7c7 | [
"Apache-2.0"
] | null | null | null | users/admin.py | notabela-org/project-1-photoshare-hossn75 | b31162d1b25a76b8cfae782fc69cb2459411a7c7 | [
"Apache-2.0"
] | null | null | null | users/admin.py | notabela-org/project-1-photoshare-hossn75 | b31162d1b25a76b8cfae782fc69cb2459411a7c7 | [
"Apache-2.0"
] | 1 | 2021-03-31T03:03:26.000Z | 2021-03-31T03:03:26.000Z | from django.contrib import admin
from users.models import *
admin.site.register(Profile)
admin.site.register(Post)
admin.site.register(Comment)
| 20.714286 | 32 | 0.813793 | 21 | 145 | 5.619048 | 0.571429 | 0.228814 | 0.432203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082759 | 145 | 6 | 33 | 24.166667 | 0.887218 | 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 |
de111910e1478cf7a862e867e02a7f1c072fdd79 | 31 | py | Python | django_grapesjs/views/__init__.py | agenteAND/django_grapesjs | fc0ab4052182336bf92a6254e550532f7788d1a5 | [
"MIT"
] | 54 | 2018-06-05T13:59:40.000Z | 2021-11-18T09:52:04.000Z | django_grapesjs/views/__init__.py | agenteAND/django_grapesjs | fc0ab4052182336bf92a6254e550532f7788d1a5 | [
"MIT"
] | 5 | 2018-06-15T01:54:12.000Z | 2021-05-18T06:10:20.000Z | django_grapesjs/views/__init__.py | agenteAND/django_grapesjs | fc0ab4052182336bf92a6254e550532f7788d1a5 | [
"MIT"
] | 24 | 2018-09-10T11:32:24.000Z | 2022-03-05T15:29:11.000Z | from .get_template import *
| 6.2 | 27 | 0.709677 | 4 | 31 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 31 | 4 | 28 | 7.75 | 0.875 | 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 |
a9a83772aad5c4417e7ad5e0d00f4c9aafb2b10b | 3,546 | py | Python | crontab_monitor/permissions.py | ho600-ltd/django-crontab-monitor | 776a95a4e7d5377cc4cfda09a70befd21f8e2255 | [
"MIT"
] | null | null | null | crontab_monitor/permissions.py | ho600-ltd/django-crontab-monitor | 776a95a4e7d5377cc4cfda09a70befd21f8e2255 | [
"MIT"
] | null | null | null | crontab_monitor/permissions.py | ho600-ltd/django-crontab-monitor | 776a95a4e7d5377cc4cfda09a70befd21f8e2255 | [
"MIT"
] | null | null | null | import logging
from django.db.models import Q
from rest_framework.permissions import BasePermission, SAFE_METHODS
from guardian.shortcuts import get_objects_for_user
from crontab_monitor.models import AlertLog
class SelectOptionPermission(BasePermission):
METHOD_PERMISSION_MAPPING = {
"POST": (),
... | 36.9375 | 90 | 0.486464 | 281 | 3,546 | 5.814947 | 0.199288 | 0.088127 | 0.126683 | 0.072827 | 0.777234 | 0.777234 | 0.777234 | 0.777234 | 0.777234 | 0.73929 | 0 | 0 | 0.440214 | 3,546 | 96 | 91 | 36.9375 | 0.823174 | 0 | 0 | 0.724638 | 0 | 0 | 0.075839 | 0.060615 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.072464 | 0.072464 | 0.333333 | 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 |
e7049703f14de56f7acebd76a8e1c2999ed74e19 | 166 | py | Python | shortner/models.py | aabir13/django-url-shortener | 1b97209917038ff9787095c75371bdcba62e1fbb | [
"MIT"
] | 2 | 2021-10-04T05:51:52.000Z | 2021-10-13T15:24:37.000Z | shortner/models.py | aabir13/django-url-shortener | 1b97209917038ff9787095c75371bdcba62e1fbb | [
"MIT"
] | null | null | null | shortner/models.py | aabir13/django-url-shortener | 1b97209917038ff9787095c75371bdcba62e1fbb | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Url(models.Model):
link=models.CharField(max_length=10000)
uuid=models.CharField(max_length=10) | 27.666667 | 43 | 0.771084 | 25 | 166 | 5.04 | 0.72 | 0.238095 | 0.285714 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048276 | 0.126506 | 166 | 6 | 44 | 27.666667 | 0.82069 | 0.144578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
e742b6a6576d10f20f64223aabcc2e8760e13a84 | 17 | py | Python | zcrmsdk/src/__init__.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | 6 | 2022-02-18T06:28:43.000Z | 2022-03-24T18:54:18.000Z | zcrmsdk/src/__init__.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | 85 | 2022-02-17T13:41:06.000Z | 2022-03-04T14:34:18.000Z | zcrmsdk/src/__init__.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | 2 | 2022-02-10T09:01:21.000Z | 2022-03-12T02:41:32.000Z | from . import com | 17 | 17 | 0.764706 | 3 | 17 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e76645d40064971ee09fcf1e11c69038220e94ff | 148 | py | Python | openrave/test/noseplugins/__init__.py | jdsika/TUM_HOly | a2ac55fa1751a3a8038cf61d29b95005f36d6264 | [
"MIT"
] | 2 | 2015-11-13T16:40:57.000Z | 2017-09-15T15:37:19.000Z | openrave/test/noseplugins/__init__.py | jdsika/holy | a2ac55fa1751a3a8038cf61d29b95005f36d6264 | [
"MIT"
] | 1 | 2016-06-13T01:29:51.000Z | 2016-06-14T00:38:27.000Z | openrave/test/noseplugins/__init__.py | jdsika/holy | a2ac55fa1751a3a8038cf61d29b95005f36d6264 | [
"MIT"
] | null | null | null | import capture
import nosexcover
try:
import multiprocess
import xunitmultiprocess
except ImportError:
# fails for python 2.5
pass
| 14.8 | 28 | 0.743243 | 17 | 148 | 6.470588 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.22973 | 148 | 9 | 29 | 16.444444 | 0.947368 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.714286 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e7bdc12d15cbb15dff3563e364085221f0a4be2d | 123 | py | Python | pyproxy/exceptions.py | tukeJonny/pyproxy | 06d44c30d16145f3f568b6a5b593c272eb46fa39 | [
"MIT"
] | null | null | null | pyproxy/exceptions.py | tukeJonny/pyproxy | 06d44c30d16145f3f568b6a5b593c272eb46fa39 | [
"MIT"
] | null | null | null | pyproxy/exceptions.py | tukeJonny/pyproxy | 06d44c30d16145f3f568b6a5b593c272eb46fa39 | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
class CAManagerInitializeException(Exception): pass
class RelayStreamingException(Exception): pass
| 24.6 | 51 | 0.788618 | 11 | 123 | 8.818182 | 0.727273 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.089431 | 123 | 4 | 52 | 30.75 | 0.857143 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
99b8ed30115d5cf1fc9fbb045317fb047e35d653 | 148,140 | py | Python | mindspore/python/mindspore/ops/operations/sponge_update_ops.py | PowerOlive/mindspore | bda20724a94113cedd12c3ed9083141012da1f15 | [
"Apache-2.0"
] | 3,200 | 2020-02-17T12:45:41.000Z | 2022-03-31T20:21:16.000Z | mindspore/python/mindspore/ops/operations/sponge_update_ops.py | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | 176 | 2020-02-12T02:52:11.000Z | 2022-03-28T22:15:55.000Z | mindspore/python/mindspore/ops/operations/sponge_update_ops.py | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | 621 | 2020-03-09T01:31:41.000Z | 2022-03-30T03:43:19.000Z | # Copyright 2021 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 58.185389 | 120 | 0.677076 | 21,727 | 148,140 | 4.345193 | 0.023013 | 0.10425 | 0.11821 | 0.086974 | 0.901947 | 0.883463 | 0.857131 | 0.838382 | 0.80651 | 0.786734 | 0 | 0.018879 | 0.207986 | 148,140 | 2,545 | 121 | 58.208251 | 0.785765 | 0.332523 | 0 | 0.686884 | 0 | 0 | 0.128128 | 0.019605 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06141 | false | 0 | 0.003791 | 0 | 0.126611 | 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 |
99ce534941b4ca4626ce13624f2de81318d2ff42 | 10,041 | py | Python | popcorn_gallery/popcorn/tests/butter_api_tests.py | Koenkk/popcorn_maker | 0978b9f98dacd4e8eb753404b24eb584f410aa11 | [
"BSD-3-Clause"
] | 15 | 2015-03-23T02:55:20.000Z | 2021-01-12T12:42:30.000Z | popcorn_gallery/popcorn/tests/butter_api_tests.py | Koenkk/popcorn_maker | 0978b9f98dacd4e8eb753404b24eb584f410aa11 | [
"BSD-3-Clause"
] | null | null | null | popcorn_gallery/popcorn/tests/butter_api_tests.py | Koenkk/popcorn_maker | 0978b9f98dacd4e8eb753404b24eb584f410aa11 | [
"BSD-3-Clause"
] | 16 | 2015-02-18T21:43:31.000Z | 2021-11-09T22:50:03.000Z | from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
from django.test.client import Client
from django.utils.unittest import TestCase
from django_extensions.db.fields import json
from nose.tools import eq_, ok_
from .fixtures import create_project, create_user, create_template
from ... | 38.76834 | 76 | 0.630814 | 1,175 | 10,041 | 5.195745 | 0.108936 | 0.074693 | 0.064865 | 0.072072 | 0.814251 | 0.795414 | 0.78493 | 0.784439 | 0.770188 | 0.731695 | 0 | 0.009368 | 0.245195 | 10,041 | 258 | 77 | 38.918605 | 0.796147 | 0.005478 | 0 | 0.697674 | 0 | 0 | 0.076761 | 0.004209 | 0 | 0 | 0 | 0 | 0 | 1 | 0.139535 | false | 0.009302 | 0.037209 | 0 | 0.204651 | 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 |
99d579b760aab77ab0338cdf86b5bc6e44846551 | 278 | py | Python | src/normandy/engine/__init__.py | echang1802/normandy | d59e1bdf5cec8fc69adcee20abedebb0ebae9c01 | [
"MIT"
] | null | null | null | src/normandy/engine/__init__.py | echang1802/normandy | d59e1bdf5cec8fc69adcee20abedebb0ebae9c01 | [
"MIT"
] | null | null | null | src/normandy/engine/__init__.py | echang1802/normandy | d59e1bdf5cec8fc69adcee20abedebb0ebae9c01 | [
"MIT"
] | null | null | null | from .errors import test_error
from .errors import process_error
from .errors import excecution_error
from .errors import definition_error
from .logger import main_logger
from .logger import logger
from .pipeline import pipeline
from .variables_storage import variables_storage
| 30.888889 | 48 | 0.856115 | 39 | 278 | 5.923077 | 0.333333 | 0.17316 | 0.277056 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115108 | 278 | 8 | 49 | 34.75 | 0.939024 | 0 | 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 |
99ea53aa9ff74d43bdad0d199c0da79a0651c47e | 27,243 | py | Python | snaps/openstack/tests/create_security_group_tests.py | hashnfv/hashnfv-snaps | 0dfca494ef7c2778babfac48d9b701953860b54f | [
"Apache-2.0"
] | null | null | null | snaps/openstack/tests/create_security_group_tests.py | hashnfv/hashnfv-snaps | 0dfca494ef7c2778babfac48d9b701953860b54f | [
"Apache-2.0"
] | null | null | null | snaps/openstack/tests/create_security_group_tests.py | hashnfv/hashnfv-snaps | 0dfca494ef7c2778babfac48d9b701953860b54f | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2017 Cable Television Laboratories, Inc. ("CableLabs")
# and others. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://w... | 43.519169 | 79 | 0.661234 | 3,086 | 27,243 | 5.487686 | 0.076798 | 0.094597 | 0.066135 | 0.089342 | 0.798169 | 0.781104 | 0.752524 | 0.732566 | 0.724712 | 0.706997 | 0 | 0.00372 | 0.259847 | 27,243 | 625 | 80 | 43.5888 | 0.836144 | 0.103513 | 0 | 0.718121 | 0 | 0 | 0.028285 | 0 | 0 | 0 | 0 | 0 | 0.154362 | 1 | 0.064877 | false | 0 | 0.01566 | 0 | 0.096197 | 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 |
99f799f81c8bc281aeab7d689dddf16f8449d6b8 | 30 | py | Python | models/common/data.py | Zerwer/Chemistry | 7f8f9618553bbad458b193e030e6c18e981c7d66 | [
"MIT"
] | null | null | null | models/common/data.py | Zerwer/Chemistry | 7f8f9618553bbad458b193e030e6c18e981c7d66 | [
"MIT"
] | null | null | null | models/common/data.py | Zerwer/Chemistry | 7f8f9618553bbad458b193e030e6c18e981c7d66 | [
"MIT"
] | null | null | null | # Abstraction for data
# TODO
| 10 | 22 | 0.733333 | 4 | 30 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 30 | 2 | 23 | 15 | 0.916667 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.5 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8208fac248993d2af0d942357f99d2f045085c07 | 168 | py | Python | src/pyfuzz/__init__.py | fabriceyhc/pyfuzz | 67f8bd844f63139ca8f795b2bc6e30a419fa037e | [
"MIT"
] | null | null | null | src/pyfuzz/__init__.py | fabriceyhc/pyfuzz | 67f8bd844f63139ca8f795b2bc6e30a419fa037e | [
"MIT"
] | null | null | null | src/pyfuzz/__init__.py | fabriceyhc/pyfuzz | 67f8bd844f63139ca8f795b2bc6e30a419fa037e | [
"MIT"
] | null | null | null | from .coverage import *
from .fuzz_data_interpreter import *
from .fuzzers import *
from .runners import *
from .string_mutations import *
from .byte_mutations import * | 28 | 36 | 0.791667 | 22 | 168 | 5.863636 | 0.5 | 0.387597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136905 | 168 | 6 | 37 | 28 | 0.889655 | 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 |
414b163354fd9c060db37748b169c86b9dc9ef1a | 111 | py | Python | lib/task/nlp/__init__.py | yandex-research/graph-glove | 62d47e9176a65d01cb9d5961eb257d6a5ff52ba7 | [
"Apache-2.0"
] | 37 | 2020-10-14T10:03:00.000Z | 2021-11-08T10:39:40.000Z | lib/task/nlp/__init__.py | yandex-research/graph-glove | 62d47e9176a65d01cb9d5961eb257d6a5ff52ba7 | [
"Apache-2.0"
] | 1 | 2021-02-01T19:10:13.000Z | 2021-02-18T18:50:26.000Z | lib/task/nlp/__init__.py | yandex-research/graph-glove | 62d47e9176a65d01cb9d5961eb257d6a5ff52ba7 | [
"Apache-2.0"
] | 5 | 2020-10-12T09:21:27.000Z | 2021-04-16T19:00:36.000Z | from .glove_dataset import *
from .init_from_vectors import *
from .similarity import *
from .analogy import *
| 22.2 | 32 | 0.783784 | 15 | 111 | 5.6 | 0.533333 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 111 | 4 | 33 | 27.75 | 0.884211 | 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 |
4193de163036057c0cb06db2d2f441fa08042484 | 29 | py | Python | external/fv3fit/fv3fit/sklearn/__init__.py | jacnugent/fv3net | 84958651bdd17784fdab98f87ad0d65414c03368 | [
"MIT"
] | 5 | 2021-03-20T22:42:40.000Z | 2021-06-30T18:39:36.000Z | external/fv3fit/fv3fit/sklearn/__init__.py | jacnugent/fv3net | 84958651bdd17784fdab98f87ad0d65414c03368 | [
"MIT"
] | 195 | 2021-09-16T05:47:18.000Z | 2022-03-31T22:03:15.000Z | external/fv3fit/fv3fit/sklearn/__init__.py | ai2cm/fv3net | e62038aee0a97d6207e66baabd8938467838cf51 | [
"MIT"
] | 1 | 2021-06-16T22:04:24.000Z | 2021-06-16T22:04:24.000Z | from . import _random_forest
| 14.5 | 28 | 0.827586 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 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 |
41cb7a7dcad926fa903cf55596b4b601da132a71 | 33 | py | Python | src/ask_me_something/__init__.py | onuratakan/ask_me_something | 4d26c3280419d4f2edb4cf0b338a3a0fa7b3629b | [
"MIT"
] | null | null | null | src/ask_me_something/__init__.py | onuratakan/ask_me_something | 4d26c3280419d4f2edb4cf0b338a3a0fa7b3629b | [
"MIT"
] | null | null | null | src/ask_me_something/__init__.py | onuratakan/ask_me_something | 4d26c3280419d4f2edb4cf0b338a3a0fa7b3629b | [
"MIT"
] | null | null | null | from .ask_me_something import ask | 33 | 33 | 0.878788 | 6 | 33 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.9 | 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 |
68c072608298843cfaac04835a5fb805d0ac3e87 | 57 | py | Python | funcoes/__init__.py | Felipe-builder/jogo_da_velha | 2ed6e5fa458f860e489dbc7b991e40c04789c5f7 | [
"MIT"
] | null | null | null | funcoes/__init__.py | Felipe-builder/jogo_da_velha | 2ed6e5fa458f860e489dbc7b991e40c04789c5f7 | [
"MIT"
] | null | null | null | funcoes/__init__.py | Felipe-builder/jogo_da_velha | 2ed6e5fa458f860e489dbc7b991e40c04789c5f7 | [
"MIT"
] | null | null | null | from funcoes.dados import *
from funcoes.logica import *
| 19 | 28 | 0.789474 | 8 | 57 | 5.625 | 0.625 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 2 | 29 | 28.5 | 0.918367 | 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 |
68d65e718a858e007858ce495cea0e1a18f469df | 2,317 | py | Python | leetcode_python/Dynamic_Programming/largest-sum-of-averages.py | yennanliu/Python_basics | 6a597442d39468295946cefbfb11d08f61424dc3 | [
"Unlicense"
] | 18 | 2019-08-01T07:45:02.000Z | 2022-03-31T18:05:44.000Z | leetcode_python/Dynamic_Programming/largest-sum-of-averages.py | yennanliu/Python_basics | 6a597442d39468295946cefbfb11d08f61424dc3 | [
"Unlicense"
] | null | null | null | leetcode_python/Dynamic_Programming/largest-sum-of-averages.py | yennanliu/Python_basics | 6a597442d39468295946cefbfb11d08f61424dc3 | [
"Unlicense"
] | 15 | 2019-12-29T08:46:20.000Z | 2022-03-08T14:14:05.000Z | # V0
# V1
# https://www.jiuzhang.com/solution/largest-sum-of-averages/#tag-highlight-lang-python
class Solution:
"""
@param A: an array
@param K: an integer
@return: the largest score
"""
def largestSumOfAverages(self, A, K):
# Write your code here
n = len(A)
dp = [[0.... | 31.739726 | 86 | 0.433319 | 372 | 2,317 | 2.680108 | 0.158602 | 0.1334 | 0.060181 | 0.110331 | 0.781344 | 0.704112 | 0.704112 | 0.704112 | 0.704112 | 0.704112 | 0 | 0.040627 | 0.394476 | 2,317 | 72 | 87 | 32.180556 | 0.669993 | 0.188174 | 0 | 0.627907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 1 | 0.069767 | false | 0 | 0 | 0 | 0.209302 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
68fa1772417fb5ec88667034a848097119213282 | 181 | py | Python | bookCar_project/bookCar_app/admin.py | cs-fullstack-2019-spring/django-models3-cw-tdude0175 | 29fbd8862467864152e0760640a578c7dcb3c2cf | [
"Apache-2.0"
] | null | null | null | bookCar_project/bookCar_app/admin.py | cs-fullstack-2019-spring/django-models3-cw-tdude0175 | 29fbd8862467864152e0760640a578c7dcb3c2cf | [
"Apache-2.0"
] | null | null | null | bookCar_project/bookCar_app/admin.py | cs-fullstack-2019-spring/django-models3-cw-tdude0175 | 29fbd8862467864152e0760640a578c7dcb3c2cf | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Book
from .models import Car
# Register your models here.
# give admin power
admin.site.register(Book)
admin.site.register(Car) | 22.625 | 32 | 0.79558 | 28 | 181 | 5.142857 | 0.5 | 0.138889 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127072 | 181 | 8 | 33 | 22.625 | 0.911392 | 0.237569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 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 |
6b5f29d5f9a5e4466078f1e0e13e897090d9f0b2 | 164 | py | Python | snipy/cuda.py | dade-u/snipy | 408520867179f99b3158b57520e2619f3fecd69b | [
"MIT"
] | 1 | 2017-08-09T09:29:22.000Z | 2017-08-09T09:29:22.000Z | snipy/cuda.py | dade-u/snipy | 408520867179f99b3158b57520e2619f3fecd69b | [
"MIT"
] | null | null | null | snipy/cuda.py | dade-u/snipy | 408520867179f99b3158b57520e2619f3fecd69b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
def get_cuda_device_count():
import pycuda
import pycuda.autoinit
from pycuda.driver import Device
return Device.count()
| 16.4 | 36 | 0.676829 | 21 | 164 | 5.142857 | 0.666667 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.219512 | 164 | 9 | 37 | 18.222222 | 0.835938 | 0.128049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.6 | 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 |
6b7ab15759a88f16f71596f15efbcdf123d61a7b | 37 | py | Python | passenger_wsgi.py | SaeedTJF/FaraPy-1 | 31fbfd1ec10fd78a167ddc476ace7ed5eceee538 | [
"BSD-3-Clause"
] | 1 | 2021-06-09T08:02:05.000Z | 2021-06-09T08:02:05.000Z | passenger_wsgi.py | SaeedTJF/FaraPy-1 | 31fbfd1ec10fd78a167ddc476ace7ed5eceee538 | [
"BSD-3-Clause"
] | null | null | null | passenger_wsgi.py | SaeedTJF/FaraPy-1 | 31fbfd1ec10fd78a167ddc476ace7ed5eceee538 | [
"BSD-3-Clause"
] | 1 | 2021-06-03T17:40:59.000Z | 2021-06-03T17:40:59.000Z | from FaraPy.wsgi import application
| 18.5 | 36 | 0.837838 | 5 | 37 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 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 |
6ba602fc7edc6621801aab9b490947a9e4890fdb | 111 | py | Python | vagrant/catalog/app/routes/__init__.py | davcs86/fullstack-nanodegree-flask-item-catalog | 72c53dc7a412a42229fedfb9805706f8ad6d7e29 | [
"MIT"
] | null | null | null | vagrant/catalog/app/routes/__init__.py | davcs86/fullstack-nanodegree-flask-item-catalog | 72c53dc7a412a42229fedfb9805706f8ad6d7e29 | [
"MIT"
] | null | null | null | vagrant/catalog/app/routes/__init__.py | davcs86/fullstack-nanodegree-flask-item-catalog | 72c53dc7a412a42229fedfb9805706f8ad6d7e29 | [
"MIT"
] | null | null | null | from .index import *
from .items import *
from .oauth import *
from .profile import *
from .endpoints import *
| 18.5 | 24 | 0.72973 | 15 | 111 | 5.4 | 0.466667 | 0.493827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18018 | 111 | 5 | 25 | 22.2 | 0.89011 | 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 |
d41a7b6d3ded86cfc3066302da281529ddecbc5e | 342 | py | Python | SpiMediaGallery/main/management/commands/import_from_project_application.py | Swiss-Polar-Institute/spi-media-gallery | 2f66f938cbe1a7a25a5971d42abb1b0b5deca31e | [
"MIT"
] | 5 | 2020-02-21T20:38:50.000Z | 2022-02-19T11:00:46.000Z | SpiMediaGallery/main/management/commands/import_from_project_application.py | Swiss-Polar-Institute/spi-media-gallery | 2f66f938cbe1a7a25a5971d42abb1b0b5deca31e | [
"MIT"
] | 23 | 2019-10-01T17:13:39.000Z | 2022-01-21T20:02:26.000Z | SpiMediaGallery/main/management/commands/import_from_project_application.py | Swiss-Polar-Institute/spi-media-gallery | 2f66f938cbe1a7a25a5971d42abb1b0b5deca31e | [
"MIT"
] | 2 | 2022-02-03T08:52:51.000Z | 2022-02-03T08:58:00.000Z | from django.core.management.base import BaseCommand
from main.importers.project_application_importer import import_resize_update_tags_from_project_application
class Command(BaseCommand):
def add_arguments(self, parser):
pass
def handle(self, *args, **options):
import_resize_update_tags_from_... | 28.5 | 106 | 0.798246 | 42 | 342 | 6.142857 | 0.619048 | 0.209302 | 0.139535 | 0.170543 | 0.341085 | 0.341085 | 0.341085 | 0 | 0 | 0 | 0 | 0 | 0.137427 | 342 | 11 | 107 | 31.090909 | 0.874576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.428571 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d45d60fd161d7fd5a5e222caf133a062c732a3f1 | 40 | py | Python | harness/determined/deploy/__init__.py | gh-determined-ai/determined | 9a1ab33a3a356b69681b3351629fef4ab98ddb56 | [
"Apache-2.0"
] | 1 | 2021-12-18T06:39:09.000Z | 2021-12-18T06:39:09.000Z | harness/determined/deploy/__init__.py | ChrisW09/determined | 5c37bfe9cfcc69174ba29a3f1a115c3e9e3632e0 | [
"Apache-2.0"
] | 5 | 2020-10-28T20:46:27.000Z | 2021-06-25T19:20:48.000Z | harness/determined/deploy/__init__.py | ChrisW09/determined | 5c37bfe9cfcc69174ba29a3f1a115c3e9e3632e0 | [
"Apache-2.0"
] | null | null | null | from . import cli, aws, gcp, gke, local
| 20 | 39 | 0.675 | 7 | 40 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 1 | 40 | 40 | 0.84375 | 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 |
d468b8f574c1a5acb952ecf79ac2bc998fb569b8 | 65 | py | Python | manager/validators/str.py | Exanis/dataset-manager | af2f2d4242417eb14240129ac6312a0ebdfd24ee | [
"MIT"
] | null | null | null | manager/validators/str.py | Exanis/dataset-manager | af2f2d4242417eb14240129ac6312a0ebdfd24ee | [
"MIT"
] | 5 | 2018-11-22T13:32:17.000Z | 2018-11-22T13:34:39.000Z | manager/validators/str.py | Exanis/dataset-manager | af2f2d4242417eb14240129ac6312a0ebdfd24ee | [
"MIT"
] | null | null | null | def str_validator(val, t):
return t.min <= len(val) <= t.max
| 21.666667 | 37 | 0.615385 | 12 | 65 | 3.25 | 0.75 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 65 | 2 | 38 | 32.5 | 0.75 | 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 | 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 |
2e2d7ed7a467f7757ea6cb9dbcba44f3391f4cbc | 199 | py | Python | unique_in_order.py | Kunalpod/codewars | 8dc1af2f3c70e209471045118fd88b3ea1e627e5 | [
"MIT"
] | null | null | null | unique_in_order.py | Kunalpod/codewars | 8dc1af2f3c70e209471045118fd88b3ea1e627e5 | [
"MIT"
] | null | null | null | unique_in_order.py | Kunalpod/codewars | 8dc1af2f3c70e209471045118fd88b3ea1e627e5 | [
"MIT"
] | null | null | null | #Kunal Gautam
#Codewars : @Kunalpod
#Problem name: Unique In Order
#Problem level: 6 kyu
from itertools import groupby
def unique_in_order(iterable):
return [key for key,_ in groupby(iterable)]
| 22.111111 | 47 | 0.763819 | 29 | 199 | 5.137931 | 0.724138 | 0.107383 | 0.174497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005952 | 0.155779 | 199 | 8 | 48 | 24.875 | 0.880952 | 0.407035 | 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 |
2e5af5f00d0adb7d3eaa345bbcb3fa46038cbe46 | 186 | py | Python | restframework.py | tushortz/django-helpers | 990b4bd6a161708503b174b51ee69abe97932ae0 | [
"MIT"
] | null | null | null | restframework.py | tushortz/django-helpers | 990b4bd6a161708503b174b51ee69abe97932ae0 | [
"MIT"
] | null | null | null | restframework.py | tushortz/django-helpers | 990b4bd6a161708503b174b51ee69abe97932ae0 | [
"MIT"
] | null | null | null | from rest_framework import serializers
def get_slug_related_field(field_name='name'):
return serializers.SlugRelatedField(
many=True, read_only=True, slug_field=field_name)
| 31 | 57 | 0.795699 | 25 | 186 | 5.6 | 0.68 | 0.142857 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 186 | 5 | 58 | 37.2 | 0.864198 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
cf1a10eaaee6735b27d4e58c3ea03c5beab1c041 | 38 | py | Python | models/__init__.py | DrLSimon/precision-recall-distributions-icml19 | 364188eaa26ac1bf39ebf038136c79aeee97da3a | [
"Apache-2.0"
] | null | null | null | models/__init__.py | DrLSimon/precision-recall-distributions-icml19 | 364188eaa26ac1bf39ebf038136c79aeee97da3a | [
"Apache-2.0"
] | null | null | null | models/__init__.py | DrLSimon/precision-recall-distributions-icml19 | 364188eaa26ac1bf39ebf038136c79aeee97da3a | [
"Apache-2.0"
] | null | null | null | from .adaptive_discriminator import *
| 19 | 37 | 0.842105 | 4 | 38 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.911765 | 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 |
cf2c8b54013e012e815f2cb70ac52566c37c1c03 | 29 | py | Python | simplio/__init__.py | josephl/clio | 258cb77ed757670dc07c88cd2b2810f0ac25bcb9 | [
"MIT"
] | null | null | null | simplio/__init__.py | josephl/clio | 258cb77ed757670dc07c88cd2b2810f0ac25bcb9 | [
"MIT"
] | null | null | null | simplio/__init__.py | josephl/clio | 258cb77ed757670dc07c88cd2b2810f0ac25bcb9 | [
"MIT"
] | null | null | null | from .simplio import simplio
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cf54bd07e4476dcabec9f6fad3febcb3021d9342 | 92 | py | Python | tgtypes/traits/base/poll.py | autogram/tgtypes | 90f8d0d35d3c372767508e56c20777635e128e38 | [
"MIT"
] | null | null | null | tgtypes/traits/base/poll.py | autogram/tgtypes | 90f8d0d35d3c372767508e56c20777635e128e38 | [
"MIT"
] | null | null | null | tgtypes/traits/base/poll.py | autogram/tgtypes | 90f8d0d35d3c372767508e56c20777635e128e38 | [
"MIT"
] | null | null | null | from tgtypes.traits.base.update import UpdateTrait
class PollTrait(UpdateTrait):
pass
| 15.333333 | 50 | 0.793478 | 11 | 92 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 5 | 51 | 18.4 | 0.924051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
cf5d45a21f77687a57f653cc1f11a0060a5212e2 | 28 | py | Python | daniels/__init__.py | harvested-financial/daniels | e46cab25ffd73400c116b03974248a212ecf2623 | [
"MIT"
] | null | null | null | daniels/__init__.py | harvested-financial/daniels | e46cab25ffd73400c116b03974248a212ecf2623 | [
"MIT"
] | null | null | null | daniels/__init__.py | harvested-financial/daniels | e46cab25ffd73400c116b03974248a212ecf2623 | [
"MIT"
] | null | null | null | from .daniels import Daniel
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 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 |
cf6b452d588fed856b46f945268d0a577f96e520 | 180 | py | Python | deepspeed/ops/transformer/__init__.py | jglaser/DeepSpeed | 11e94e6c72dc9e80372143bc555fbd47fd05c626 | [
"MIT"
] | 6,728 | 2020-02-07T23:53:18.000Z | 2022-03-31T20:02:53.000Z | deepspeed/ops/transformer/__init__.py | jglaser/DeepSpeed | 11e94e6c72dc9e80372143bc555fbd47fd05c626 | [
"MIT"
] | 1,104 | 2020-02-08T00:26:15.000Z | 2022-03-31T22:33:56.000Z | deepspeed/ops/transformer/__init__.py | jglaser/DeepSpeed | 11e94e6c72dc9e80372143bc555fbd47fd05c626 | [
"MIT"
] | 801 | 2020-02-10T15:33:42.000Z | 2022-03-29T16:32:33.000Z | from .transformer import DeepSpeedTransformerLayer, DeepSpeedTransformerConfig
from .inference.transformer_inference import DeepSpeedTransformerInference, DeepSpeedInferenceConfig
| 60 | 100 | 0.916667 | 12 | 180 | 13.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 180 | 2 | 101 | 90 | 0.964706 | 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 |
d845c94c2517ab6e8ac9eccfe854390f18f96881 | 31 | py | Python | tests/__init__.py | marco-foscato/Lib-INVENT | fe6a65ab7165abd87b25752a6b4208c8703d11f7 | [
"Apache-2.0"
] | 26 | 2021-04-30T23:21:17.000Z | 2022-03-10T06:33:11.000Z | tests/__init__.py | marco-foscato/Lib-INVENT | fe6a65ab7165abd87b25752a6b4208c8703d11f7 | [
"Apache-2.0"
] | 6 | 2021-10-03T08:35:48.000Z | 2022-03-24T09:57:39.000Z | tests/__init__.py | marco-foscato/Lib-INVENT | fe6a65ab7165abd87b25752a6b4208c8703d11f7 | [
"Apache-2.0"
] | 10 | 2021-04-28T14:08:17.000Z | 2022-03-04T04:18:13.000Z | from tests.unit_tests import *
| 15.5 | 30 | 0.806452 | 5 | 31 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d84e1369b1b81b806513f3f9b040e656729e9fdb | 41 | py | Python | bayescache/metrics/__init__.py | jacobhinkle/bayescache | 1728aaaec112a375a7341776ccb5c2d4b67242d6 | [
"MIT"
] | null | null | null | bayescache/metrics/__init__.py | jacobhinkle/bayescache | 1728aaaec112a375a7341776ccb5c2d4b67242d6 | [
"MIT"
] | null | null | null | bayescache/metrics/__init__.py | jacobhinkle/bayescache | 1728aaaec112a375a7341776ccb5c2d4b67242d6 | [
"MIT"
] | null | null | null | from .topk_accuracy import accuracy_topk
| 20.5 | 40 | 0.878049 | 6 | 41 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
d8926f4965066dcd25404e82539518e52f686f45 | 110 | py | Python | build/lib/DST/semantic_related_word/__init__.py | DunZhang/DomainSpecificThesaurus | 539dcdbe618ade1864e56423667f28afb800e1e1 | [
"MIT"
] | 13 | 2019-02-21T23:16:55.000Z | 2022-03-03T16:27:24.000Z | DST/semantic_related_word/__init__.py | EzioQR/DomainSpecificThesaurus | a7233b039e8e0d1250b9fc1ebe147deb02efb502 | [
"MIT"
] | 3 | 2021-04-28T11:49:20.000Z | 2022-02-25T17:31:06.000Z | DST/semantic_related_word/__init__.py | EzioQR/DomainSpecificThesaurus | a7233b039e8e0d1250b9fc1ebe147deb02efb502 | [
"MIT"
] | 6 | 2019-02-23T16:01:36.000Z | 2021-09-05T10:27:54.000Z | from ..semantic_related_word import SemanticRelatedWord
# from .SemanticRelatedWord import SemanticRelatedWord | 55 | 55 | 0.890909 | 10 | 110 | 9.6 | 0.6 | 0.520833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 110 | 2 | 56 | 55 | 0.941176 | 0.472727 | 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 |
d896d28dac6498a8179b5cbdd1abda8ed3ba68cf | 141 | py | Python | canal.py | itsmesatwik/LeetCodeSolutions | c1901c75ce2c277b92338c6ba645d3e7f85fac79 | [
"MIT"
] | null | null | null | canal.py | itsmesatwik/LeetCodeSolutions | c1901c75ce2c277b92338c6ba645d3e7f85fac79 | [
"MIT"
] | null | null | null | canal.py | itsmesatwik/LeetCodeSolutions | c1901c75ce2c277b92338c6ba645d3e7f85fac79 | [
"MIT"
] | null | null | null | def digCanal(area_map):
for i in range(len(area_map)):
z_count = area_map[i].count(0)
for j in range(len(area_map[0])):
| 23.5 | 41 | 0.609929 | 26 | 141 | 3.115385 | 0.5 | 0.345679 | 0.246914 | 0.345679 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0.241135 | 141 | 5 | 42 | 28.2 | 0.738318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d89771f67dc6ee42b25f775caab6c463cb8a8083 | 39 | py | Python | src/veralint/__init__.py | veracode-research/python-veralint | d7e9969ae8aeb705d6a190e53a7315a1f5edd321 | [
"MIT"
] | null | null | null | src/veralint/__init__.py | veracode-research/python-veralint | d7e9969ae8aeb705d6a190e53a7315a1f5edd321 | [
"MIT"
] | null | null | null | src/veralint/__init__.py | veracode-research/python-veralint | d7e9969ae8aeb705d6a190e53a7315a1f5edd321 | [
"MIT"
] | null | null | null | from veralint.checkers import register
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d8c0e4ee3f81ee422f13a986d0a0b6d42fed11b8 | 167 | py | Python | agldata/__init__.py | S-Buil/agldata | ae6c8c7646abd19f84db703d1694893f1bb2c223 | [
"BSD-3-Clause"
] | 3 | 2020-12-22T13:04:48.000Z | 2022-02-02T12:17:15.000Z | agldata/__init__.py | S-Buil/agldata | ae6c8c7646abd19f84db703d1694893f1bb2c223 | [
"BSD-3-Clause"
] | null | null | null | agldata/__init__.py | S-Buil/agldata | ae6c8c7646abd19f84db703d1694893f1bb2c223 | [
"BSD-3-Clause"
] | 1 | 2020-11-28T14:08:29.000Z | 2020-11-28T14:08:29.000Z | from .datafiles import *
from .stringdata import *
from .tests import test
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions | 23.857143 | 39 | 0.796407 | 22 | 167 | 5.681818 | 0.454545 | 0.264 | 0.288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125749 | 167 | 7 | 40 | 23.857143 | 0.856164 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2b1f7147c19b67f10841d0d0ec7dd0a374e91123 | 178 | py | Python | utils/colorUtils.py | babo/VacuumCleanerSim | 3a9aa23b0f6c9524ed99e77138e2f616246d91fd | [
"MIT"
] | 7 | 2019-07-24T09:29:15.000Z | 2021-03-15T16:24:30.000Z | utils/colorUtils.py | babo/VacuumCleanerSim | 3a9aa23b0f6c9524ed99e77138e2f616246d91fd | [
"MIT"
] | null | null | null | utils/colorUtils.py | babo/VacuumCleanerSim | 3a9aa23b0f6c9524ed99e77138e2f616246d91fd | [
"MIT"
] | 3 | 2019-12-10T13:15:13.000Z | 2022-03-09T08:34:24.000Z | WHITE = (255, 255, 255)
LIGHT_GREY = (220, 220, 220)
DARK_GREY = (100,100,100)
GREY = (100, 100, 100)
BLACK = (0, 0, 0)
RED = (255, 0, 0)
GREEN = (0, 255, 0)
BLUE = (0, 0, 255)
| 17.8 | 28 | 0.55618 | 34 | 178 | 2.852941 | 0.352941 | 0.247423 | 0.206186 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.388489 | 0.219101 | 178 | 9 | 29 | 19.777778 | 0.309353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.