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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8cffe9ff90a679a7841ffbb78e4f62598ca76361 | 7,071 | py | Python | tests/rdfsim_tests.py | sandroacoelho/rdfsim | ba4fb142e14f60ac449004049e03d37daca0b37a | [
"Apache-2.0"
] | 3 | 2016-01-30T05:37:06.000Z | 2016-02-07T19:00:40.000Z | tests/rdfsim_tests.py | sandroacoelho/rdfsim | ba4fb142e14f60ac449004049e03d37daca0b37a | [
"Apache-2.0"
] | null | null | null | tests/rdfsim_tests.py | sandroacoelho/rdfsim | ba4fb142e14f60ac449004049e03d37daca0b37a | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2011 British Broadcasting Corporation
#
# 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 ... | 57.024194 | 214 | 0.693113 | 1,082 | 7,071 | 4.36414 | 0.159889 | 0.121135 | 0.154172 | 0.24227 | 0.751377 | 0.741211 | 0.730411 | 0.703304 | 0.65396 | 0.614147 | 0 | 0.039681 | 0.130392 | 7,071 | 123 | 215 | 57.487805 | 0.728249 | 0.093763 | 0 | 0.363636 | 0 | 0 | 0.465582 | 0.003285 | 0 | 0 | 0 | 0 | 0.262626 | 0 | null | null | 0 | 0.040404 | null | null | 0.010101 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5087199248ec2e46ef992e3d5711cc3eb5d885c2 | 6,918 | py | Python | rankers/loss/loss_functions.py | rubencart/LIIR-TextGraphs-14 | 272849e74ef16f1499249048a0502e6e2236756d | [
"MIT"
] | 1 | 2021-03-17T12:36:11.000Z | 2021-03-17T12:36:11.000Z | rankers/loss/loss_functions.py | rubencart/LIIR-TextGraphs-14 | 272849e74ef16f1499249048a0502e6e2236756d | [
"MIT"
] | null | null | null | rankers/loss/loss_functions.py | rubencart/LIIR-TextGraphs-14 | 272849e74ef16f1499249048a0502e6e2236756d | [
"MIT"
] | 1 | 2021-03-23T02:31:09.000Z | 2021-03-23T02:31:09.000Z | """
Code:
RankNet & LambdaRank: https://github.com/haowei01/pytorch-examples
Idem + more: https://github.com/allegro/allRank
"""
import logging
import math
from itertools import product
import torch
from torch import nn
from torch.nn import MarginRankingLoss, BCEWithLogitsLoss, CrossEntropyLoss
logger = logging.getLo... | 40.694118 | 115 | 0.613328 | 910 | 6,918 | 4.495604 | 0.161538 | 0.063554 | 0.021511 | 0.023466 | 0.826937 | 0.803227 | 0.799316 | 0.789782 | 0.78196 | 0.78196 | 0 | 0.022323 | 0.268286 | 6,918 | 169 | 116 | 40.934911 | 0.785855 | 0.331165 | 0 | 0.639535 | 0 | 0 | 0.016621 | 0 | 0 | 0 | 0 | 0.005917 | 0.034884 | 1 | 0.116279 | false | 0 | 0.069767 | 0.011628 | 0.348837 | 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 |
508e2db538bffa75a2a75d1ec2711f7b7e3797b9 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/colorama/ansitowin32.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/colorama/ansitowin32.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/colorama/ansitowin32.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/c9/5e/c2/12609bd7d3239c928e0d9104bcc1ff7e76c98709e9ce8e2cc59b865e60 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 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 |
50a4731a80f77edd7d5d7b9c23080936e606cbd1 | 26 | py | Python | database/__init__.py | Nixest-Inc/Nixest | c882ae931aa826ba274e6adb98e78e115e5eb7ec | [
"MIT"
] | 1 | 2020-05-31T18:19:54.000Z | 2020-05-31T18:19:54.000Z | database/__init__.py | Nixest-Inc/Nixest | c882ae931aa826ba274e6adb98e78e115e5eb7ec | [
"MIT"
] | null | null | null | database/__init__.py | Nixest-Inc/Nixest | c882ae931aa826ba274e6adb98e78e115e5eb7ec | [
"MIT"
] | 1 | 2020-06-03T20:11:55.000Z | 2020-06-03T20:11:55.000Z | from .base import Database | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0f9b7466663921591d11f87da1afea72124e8b09 | 92 | py | Python | markups/markups.py | caprize/jdbizParser | 6db6fe045d45a5a465a52155807a61c3571fc88e | [
"Unlicense"
] | 1 | 2020-01-10T05:07:53.000Z | 2020-01-10T05:07:53.000Z | markups/markups.py | caprize/jdbizParser | 6db6fe045d45a5a465a52155807a61c3571fc88e | [
"Unlicense"
] | null | null | null | markups/markups.py | caprize/jdbizParser | 6db6fe045d45a5a465a52155807a61c3571fc88e | [
"Unlicense"
] | null | null | null | from telebot.types import InlineKeyboardMarkup, InlineKeyboardButton, ReplyKeyboardMarkup
| 46 | 90 | 0.880435 | 7 | 92 | 11.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 92 | 2 | 91 | 46 | 0.964286 | 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 |
0fab0e098b3933acc85b9b20a7af07960e7176e3 | 105 | py | Python | starred/views.py | melvinchia3636/notesdb | fb4ec1742713501be13cac0965242da1421228bd | [
"MIT"
] | null | null | null | starred/views.py | melvinchia3636/notesdb | fb4ec1742713501be13cac0965242da1421228bd | [
"MIT"
] | null | null | null | starred/views.py | melvinchia3636/notesdb | fb4ec1742713501be13cac0965242da1421228bd | [
"MIT"
] | null | null | null | from django.shortcuts import render
def HomeView(request):
return render(request, 'starred/index.html') | 26.25 | 45 | 0.8 | 14 | 105 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 105 | 4 | 45 | 26.25 | 0.884211 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 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 |
0fc4a06c15ac9ef32bfd41fdab7f7c553c35175b | 2,109 | py | Python | test/test_api.py | MauCassabC/FinalProject_WebDev | 4cd6f17c2f4b1767870e6aa249c80f8cce3d8f3d | [
"MIT"
] | null | null | null | test/test_api.py | MauCassabC/FinalProject_WebDev | 4cd6f17c2f4b1767870e6aa249c80f8cce3d8f3d | [
"MIT"
] | 35 | 2021-08-03T18:54:45.000Z | 2021-08-20T04:34:54.000Z | test/test_api.py | MauCassabC/FinalProject_WebDev | 4cd6f17c2f4b1767870e6aa249c80f8cce3d8f3d | [
"MIT"
] | 1 | 2021-11-24T20:49:55.000Z | 2021-11-24T20:49:55.000Z | import unittest
from flask import request
from werkzeug.wrappers import response
from app import app
class TestApi(unittest.TestCase):
def test_pt_endpoint_health_returns_200(self):
with app.test_client() as client:
response = client.get("/health")
assert response._status_code == ... | 36.362069 | 64 | 0.668563 | 264 | 2,109 | 5.003788 | 0.162879 | 0.05299 | 0.06813 | 0.12869 | 0.834217 | 0.781983 | 0.781983 | 0.781983 | 0.781983 | 0.548827 | 0 | 0.037712 | 0.245614 | 2,109 | 57 | 65 | 37 | 0.792583 | 0 | 0 | 0.444444 | 0 | 0 | 0.049312 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0 | 0.088889 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0fe1d2e2f5235820436f365872a4ff90864c742f | 32 | py | Python | automatminer/featurization/__init__.py | ADA110/automatminer | 53a4a90d55e9d0ef7f5262f2168e125b2032d857 | [
"BSD-3-Clause-LBNL"
] | 1 | 2019-05-16T20:34:54.000Z | 2019-05-16T20:34:54.000Z | automatminer/featurization/__init__.py | kmu/automatminer | f39894a157dcc35a6fe94b1f747c1f06ffea9824 | [
"BSD-3-Clause-LBNL"
] | null | null | null | automatminer/featurization/__init__.py | kmu/automatminer | f39894a157dcc35a6fe94b1f747c1f06ffea9824 | [
"BSD-3-Clause-LBNL"
] | null | null | null | from .core import AutoFeaturizer | 32 | 32 | 0.875 | 4 | 32 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8733d23450027ab1e93e458eef475b501d979d6 | 31 | py | Python | utils/__init__.py | rocksat/jsis3d | d067cbe9f0141a22ff5f0b7b85946629a5b13c64 | [
"MIT"
] | 180 | 2019-04-17T02:53:07.000Z | 2022-03-05T21:42:50.000Z | utils/__init__.py | PCLC7Z2/jsis3d | 927251dc39f9995a0a89a130c71823e9992617cd | [
"MIT"
] | 34 | 2019-04-26T03:12:46.000Z | 2022-03-16T03:48:59.000Z | utils/__init__.py | PCLC7Z2/jsis3d | 927251dc39f9995a0a89a130c71823e9992617cd | [
"MIT"
] | 32 | 2019-04-23T02:05:09.000Z | 2022-03-05T21:42:35.000Z | from .merge import block_merge
| 15.5 | 30 | 0.83871 | 5 | 31 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8b4574aed3cc5d12498b5b3a45c13f247c98122 | 29 | py | Python | segmentation_rt/rs2mask/__init__.py | BrouBoni/segmentation_RT | e44f4fafe23652f3122a5e65bd8515283dcfdbe0 | [
"MIT"
] | 6 | 2021-02-11T15:59:56.000Z | 2021-12-17T20:15:35.000Z | segmentation_rt/rs2mask/__init__.py | liuhd073/segmentation_RT | e44f4fafe23652f3122a5e65bd8515283dcfdbe0 | [
"MIT"
] | null | null | null | segmentation_rt/rs2mask/__init__.py | liuhd073/segmentation_RT | e44f4fafe23652f3122a5e65bd8515283dcfdbe0 | [
"MIT"
] | 3 | 2021-04-09T17:08:02.000Z | 2021-08-03T07:20:20.000Z | from .rs2mask import Dataset
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 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 |
2ce81627392e7ce756f62a3481bb86822893f982 | 187 | py | Python | project_flask_todolist_01/run.py | enzo2605/HotWheels-Logistics-todoList | 2cb075dbd44d071fd66b4ba83c951d4d85bfc5a2 | [
"Apache-2.0"
] | null | null | null | project_flask_todolist_01/run.py | enzo2605/HotWheels-Logistics-todoList | 2cb075dbd44d071fd66b4ba83c951d4d85bfc5a2 | [
"Apache-2.0"
] | null | null | null | project_flask_todolist_01/run.py | enzo2605/HotWheels-Logistics-todoList | 2cb075dbd44d071fd66b4ba83c951d4d85bfc5a2 | [
"Apache-2.0"
] | 2 | 2022-02-12T15:33:59.000Z | 2022-02-14T15:36:31.000Z | from todolist import app, db
from todolist.models import User, Task
# flask shell
@app.shell_context_processor
def make_shell_context():
return {'db': db, 'User': User, 'Task': Task} | 26.714286 | 49 | 0.737968 | 28 | 187 | 4.785714 | 0.535714 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144385 | 187 | 7 | 49 | 26.714286 | 0.8375 | 0.058824 | 0 | 0 | 0 | 0 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d707cd5349eaedeef169963862ef275d9704d0e3 | 96 | py | Python | venv/lib/python3.8/site-packages/setuptools/extern/__init__.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/setuptools/extern/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/setuptools/extern/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/1e/17/fd/5bbdd6022b70f5375125f0c86fa6058e62b9e8217ad5a7ddb35320d076 | 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 |
d71913bb6bbe5c789f6a8b1526ae0cf6e7fdd15c | 138 | py | Python | pyspedas/mms/tests/setup_tests.py | ergsc-devel/pyspedas | 43d985cbcd23c54205453b06e08f8e51d29ab435 | [
"MIT"
] | 75 | 2019-02-22T12:59:33.000Z | 2022-02-26T15:33:20.000Z | pyspedas/mms/tests/setup_tests.py | ergsc-devel/pyspedas | 43d985cbcd23c54205453b06e08f8e51d29ab435 | [
"MIT"
] | 40 | 2019-07-02T07:46:34.000Z | 2022-02-23T21:48:50.000Z | pyspedas/mms/tests/setup_tests.py | ergsc-devel/pyspedas | 43d985cbcd23c54205453b06e08f8e51d29ab435 | [
"MIT"
] | 43 | 2019-02-22T13:03:41.000Z | 2022-01-24T19:26:59.000Z | import os
import pickle
pickle.dump({'user': '', 'passwd': ''}, open(os.sep.join([os.path.expanduser('~'), 'mms_auth_info.pkl']), 'wb'))
| 27.6 | 112 | 0.630435 | 20 | 138 | 4.25 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 138 | 4 | 113 | 34.5 | 0.674603 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d73295958a5618d72a891df1e4ace60e4f82cf17 | 1,754 | py | Python | contrib/tornado/test/httputil_test.py | loggly/alertbirds-community-edition | b35f0ffbe80049dfa74d79e9e45b4cce4cdbf47a | [
"Apache-2.0"
] | 2 | 2015-10-28T23:14:47.000Z | 2015-11-27T18:00:12.000Z | tornado/test/httputil_test.py | joetyson/tornado | 02ce53b1fd8b4acc4721e6616b73d11bf6c6a4fb | [
"Apache-2.0"
] | null | null | null | tornado/test/httputil_test.py | joetyson/tornado | 02ce53b1fd8b4acc4721e6616b73d11bf6c6a4fb | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from tornado.httputil import url_concat
import unittest
class TestUrlConcat(unittest.TestCase):
def test_url_concat_no_query_params(self):
url = url_concat(
"https://localhost/path",
{'y':'y', 'z':'z'},
)
self.assertEqual(url,... | 30.77193 | 71 | 0.506271 | 221 | 1,754 | 3.837104 | 0.18552 | 0.159198 | 0.29717 | 0.051887 | 0.850236 | 0.826651 | 0.805425 | 0.744104 | 0.645047 | 0.645047 | 0 | 0.007538 | 0.31927 | 1,754 | 56 | 72 | 31.321429 | 0.70268 | 0.011403 | 0 | 0.4 | 0 | 0.022222 | 0.245817 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 1 | 0.155556 | false | 0 | 0.044444 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d75ab2ba7d907267ab6752c9a6c300ec215c01f8 | 328 | py | Python | Programming-101-v3/week7/1-Scan-Bg-Web/histogram_class.py | pepincho/Python101-and-Algo1-Courses | 7cf38d26d5be5ffc1a37477ae6375a99906df9e2 | [
"MIT"
] | 2 | 2016-10-11T14:09:05.000Z | 2017-01-20T19:30:34.000Z | Programming-101-v3/week7/1-Scan-Bg-Web/histogram_class.py | pepincho/HackBulgaria | 7cf38d26d5be5ffc1a37477ae6375a99906df9e2 | [
"MIT"
] | null | null | null | Programming-101-v3/week7/1-Scan-Bg-Web/histogram_class.py | pepincho/HackBulgaria | 7cf38d26d5be5ffc1a37477ae6375a99906df9e2 | [
"MIT"
] | null | null | null | class Histogram:
def __init__(self):
self.dict = {}
def add(self, server):
if server in self.dict.keys():
self.dict[server] += 1
else:
self.dict[server] = 1
def count(self, server):
return self.dict[server]
def get_dict(self):
return se... | 19.294118 | 38 | 0.536585 | 41 | 328 | 4.170732 | 0.390244 | 0.280702 | 0.245614 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.347561 | 328 | 16 | 39 | 20.5 | 0.78972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.583333 | 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 |
ad48249189f0ea25ff8f925d616bea8dca31a7cd | 32 | py | Python | my-work/deepbi/parse_test_image.py | ZexuanTHU/zexuan-awesome-ml | 4f56f4d76aa6fe30b0a4d57a749289b28595aff5 | [
"MIT"
] | 1 | 2018-04-11T09:25:16.000Z | 2018-04-11T09:25:16.000Z | my-work/deepbi/parse_test_image.py | ZexuanTHU/zexuan-awesome-ml | 4f56f4d76aa6fe30b0a4d57a749289b28595aff5 | [
"MIT"
] | null | null | null | my-work/deepbi/parse_test_image.py | ZexuanTHU/zexuan-awesome-ml | 4f56f4d76aa6fe30b0a4d57a749289b28595aff5 | [
"MIT"
] | null | null | null | import torch
import torchvision
| 10.666667 | 18 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 2 | 19 | 16 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad6bbc5d1ffa16dda8d42f4b09da154ff4c0f426 | 302 | py | Python | src/masonite/orm/commands/__init__.py | vaibhavmule/orm | 8eb7b4667dc97870df46ef7a6724b21d5fb58fdb | [
"MIT"
] | null | null | null | src/masonite/orm/commands/__init__.py | vaibhavmule/orm | 8eb7b4667dc97870df46ef7a6724b21d5fb58fdb | [
"MIT"
] | null | null | null | src/masonite/orm/commands/__init__.py | vaibhavmule/orm | 8eb7b4667dc97870df46ef7a6724b21d5fb58fdb | [
"MIT"
] | null | null | null | from .MigrateCommand import MigrateCommand
from .MigrateRollbackCommand import MigrateRollbackCommand
from .MigrateRefreshCommand import MigrateRefreshCommand
from .MakeMigrationCommand import MakeMigrationCommand
from .MakeSeedCommand import MakeSeedCommand
from .SeedRunCommand import SeedRunCommand
| 43.142857 | 58 | 0.900662 | 24 | 302 | 11.333333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07947 | 302 | 6 | 59 | 50.333333 | 0.978417 | 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 |
ad7927b5f473231935ff382d3850aea2736a8a92 | 217 | py | Python | djangobench/benchmarks/query_select_related/models.py | Bouke/djangobench | 94fc28d99f95c65d26d0fad8af44e46c49282220 | [
"BSD-3-Clause"
] | 3 | 2016-11-27T22:25:34.000Z | 2018-12-12T20:06:40.000Z | djangobench/benchmarks/query_select_related/models.py | Bouke/djangobench | 94fc28d99f95c65d26d0fad8af44e46c49282220 | [
"BSD-3-Clause"
] | null | null | null | djangobench/benchmarks/query_select_related/models.py | Bouke/djangobench | 94fc28d99f95c65d26d0fad8af44e46c49282220 | [
"BSD-3-Clause"
] | null | null | null | from django.db import models
class Book(models.Model):
title = models.CharField(max_length=100)
author = models.ForeignKey('Author')
class Author(models.Model):
author = models.CharField(max_length=100)
| 24.111111 | 45 | 0.741935 | 29 | 217 | 5.482759 | 0.517241 | 0.226415 | 0.226415 | 0.301887 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.142857 | 217 | 8 | 46 | 27.125 | 0.822581 | 0 | 0 | 0 | 0 | 0 | 0.02765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 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 |
ad83f33d1bef168f3406e660ecd42aaa4c69d605 | 39 | py | Python | Introduction/Our first program/hello_world.py | warlinx/Introduction_to_Python | 4f10607d879667292a7553eeeff322207c06054b | [
"MIT"
] | null | null | null | Introduction/Our first program/hello_world.py | warlinx/Introduction_to_Python | 4f10607d879667292a7553eeeff322207c06054b | [
"MIT"
] | null | null | null | Introduction/Our first program/hello_world.py | warlinx/Introduction_to_Python | 4f10607d879667292a7553eeeff322207c06054b | [
"MIT"
] | null | null | null | print("Hello, world! My name is war1")
| 19.5 | 38 | 0.692308 | 7 | 39 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.153846 | 39 | 1 | 39 | 39 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0.74359 | 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 |
d118ac11d6bf34cc8d17bbe7e1f1c39641281013 | 93 | py | Python | app/models.py | walteroliveira95/devops-sample-vestibulares | 7475162514b3226e833c21526f864169d716bdb1 | [
"MIT"
] | null | null | null | app/models.py | walteroliveira95/devops-sample-vestibulares | 7475162514b3226e833c21526f864169d716bdb1 | [
"MIT"
] | null | null | null | app/models.py | walteroliveira95/devops-sample-vestibulares | 7475162514b3226e833c21526f864169d716bdb1 | [
"MIT"
] | null | null | null | """
Definition of models.
"""
from django.db import models
class mod(models.Model):
pass
| 10.333333 | 28 | 0.698925 | 13 | 93 | 5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 8 | 29 | 11.625 | 0.844156 | 0.225806 | 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 |
d14faf467fd5ade2e316aae0516ca2be597a435b | 207 | py | Python | coffeelist/admin.py | knedlsepp/coffeemachine | ce82e3d95fbc3112680dbc63961b96834381804a | [
"MIT"
] | null | null | null | coffeelist/admin.py | knedlsepp/coffeemachine | ce82e3d95fbc3112680dbc63961b96834381804a | [
"MIT"
] | null | null | null | coffeelist/admin.py | knedlsepp/coffeemachine | ce82e3d95fbc3112680dbc63961b96834381804a | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from coffeelist.models import *
admin.site.register(Tag)
admin.site.register(Purchase)
admin.site.register(Deposit)
admin.site.register(Price)
| 20.7 | 32 | 0.806763 | 29 | 207 | 5.758621 | 0.517241 | 0.215569 | 0.407186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091787 | 207 | 9 | 33 | 23 | 0.888298 | 0.125604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
66f4cc45ced9d1006e358a45f1d456fa79eb07fd | 214 | py | Python | ros_build_assistant/parser/abstract_file_description.py | arjo129/ros_build_assistant | 9c8420230713a43f73390d75d19bd7a7a751474d | [
"MIT"
] | null | null | null | ros_build_assistant/parser/abstract_file_description.py | arjo129/ros_build_assistant | 9c8420230713a43f73390d75d19bd7a7a751474d | [
"MIT"
] | null | null | null | ros_build_assistant/parser/abstract_file_description.py | arjo129/ros_build_assistant | 9c8420230713a43f73390d75d19bd7a7a751474d | [
"MIT"
] | null | null | null | class AbstractFileDescription:
def __init__(self):
self.backend = None
def get_dependencies(self):
pass
def set_backend(self, backend):
self.backend = backend
| 19.454545 | 35 | 0.598131 | 21 | 214 | 5.809524 | 0.52381 | 0.270492 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.331776 | 214 | 11 | 36 | 19.454545 | 0.853147 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
66fe485f26d374bfa104425f3029d0b2d10a6fb1 | 34 | py | Python | dask_ml/joblib.py | laprej/dask-ml | 78b1d942eae14db442a744f8812c3e94a8f31272 | [
"BSD-3-Clause"
] | 3 | 2017-06-13T22:36:45.000Z | 2017-09-20T16:08:47.000Z | dask_ml/joblib.py | laprej/dask-ml | 78b1d942eae14db442a744f8812c3e94a8f31272 | [
"BSD-3-Clause"
] | null | null | null | dask_ml/joblib.py | laprej/dask-ml | 78b1d942eae14db442a744f8812c3e94a8f31272 | [
"BSD-3-Clause"
] | 1 | 2019-12-03T13:23:52.000Z | 2019-12-03T13:23:52.000Z | import distributed.joblib # noqa
| 17 | 33 | 0.794118 | 4 | 34 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 1 | 34 | 34 | 0.931034 | 0.117647 | 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 |
0f0863cc3c719893a2a10980e30c6214ff232022 | 112 | py | Python | azbankintro/exceptions/__init__.py | mavenium/az-iranian-bank-intro | 66b7043c1f7b6c5f119b58d3a4c9bb2ccabf7e13 | [
"MIT"
] | 15 | 2021-02-03T06:17:33.000Z | 2021-12-17T15:42:40.000Z | azbankintro/exceptions/__init__.py | mavenium/az-iranian-bank-intro | 66b7043c1f7b6c5f119b58d3a4c9bb2ccabf7e13 | [
"MIT"
] | null | null | null | azbankintro/exceptions/__init__.py | mavenium/az-iranian-bank-intro | 66b7043c1f7b6c5f119b58d3a4c9bb2ccabf7e13 | [
"MIT"
] | 4 | 2021-06-30T18:09:05.000Z | 2022-01-24T05:14:49.000Z | from .cards import CardValidationException
from .iban import IBANValidationException, BankDoesNotExistException
| 37.333333 | 68 | 0.892857 | 9 | 112 | 11.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080357 | 112 | 2 | 69 | 56 | 0.970874 | 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 |
0f862a8c8c7b4efb75b582caef0c507fc8f410a4 | 1,919 | py | Python | Engine/Source/Program/AnrealBuildTool/AnrealConfigMapper.py | zxwnstn/AnrealEngine | bd751b07fbb3301a6aa4f4a651141441a25f2f34 | [
"Apache-2.0"
] | 1 | 2021-06-15T14:12:32.000Z | 2021-06-15T14:12:32.000Z | Engine/Source/Program/AnrealBuildTool/AnrealConfigMapper.py | zxwnstn/AnrealEngine | bd751b07fbb3301a6aa4f4a651141441a25f2f34 | [
"Apache-2.0"
] | 4 | 2021-06-15T15:42:14.000Z | 2021-06-29T16:23:23.000Z | Engine/Source/Program/AnrealBuildTool/AnrealConfigMapper.py | zxwnstn/AnrealEngine | bd751b07fbb3301a6aa4f4a651141441a25f2f34 | [
"Apache-2.0"
] | 1 | 2021-06-15T15:30:51.000Z | 2021-06-15T15:30:51.000Z | import os
import sys
import Anreal
import json
class MSVC2017ConfigMapper(Anreal.ConfigMapper) :
def __init__(self) :
Anreal.ConfigMapper.__init__(self)
self.Compiler = "vs2017"
def MapNativeBuildOpt(self) :
with open(Anreal.ConfigPath + "/Build/Platform/MSVC.json") as MSVCConfigJs... | 36.207547 | 86 | 0.646691 | 165 | 1,919 | 7.424242 | 0.242424 | 0.143673 | 0.078367 | 0.040816 | 0.827755 | 0.827755 | 0.827755 | 0.827755 | 0.827755 | 0.827755 | 0 | 0.022284 | 0.251694 | 1,919 | 53 | 87 | 36.207547 | 0.83078 | 0 | 0 | 0.682927 | 0 | 0 | 0.057292 | 0.026042 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121951 | false | 0 | 0.097561 | 0 | 0.317073 | 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 |
7e1bf54127ec7c31e5408b968be3621e7a727261 | 529 | py | Python | python/exercise/print.py | nullne/million | 264ba32e2ba70400bc5971e04baaf5681e4aa839 | [
"MIT"
] | 1 | 2015-10-21T01:36:51.000Z | 2015-10-21T01:36:51.000Z | python/exercise/print.py | nullne/million | 264ba32e2ba70400bc5971e04baaf5681e4aa839 | [
"MIT"
] | null | null | null | python/exercise/print.py | nullne/million | 264ba32e2ba70400bc5971e04baaf5681e4aa839 | [
"MIT"
] | null | null | null | print("ID:\t%-15sHostname:\t%-20sIP:\t%-20sSN:\t%-30s" %
("4490274", "CNC-XD-d-3W6", "221.204.22.7", "2102310VTP10E2000451")),
print("Bond0Mac:\t%-20s" % "AC:85:3D:9A:9B:1A")
print("ID:\t%-15sHostname:\t%-20sIP:\t%-20sSN:\t%-30s" %
("4274", "CNC--3W6", "221.22.7", "2102310E2000451")),
print("Bond0Mac:\t%-2... | 44.083333 | 83 | 0.599244 | 82 | 529 | 3.865854 | 0.390244 | 0.066246 | 0.07571 | 0.179811 | 0.574132 | 0.574132 | 0.574132 | 0.501577 | 0.501577 | 0.343849 | 0 | 0.317427 | 0.088847 | 529 | 11 | 84 | 48.090909 | 0.340249 | 0 | 0 | 0.555556 | 0 | 0 | 0.706994 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7e505f87bf9b60df10562671e894236046dc957b | 2,061 | py | Python | F29.BioEntity/WebAPI/hpo_api.py | foundation29org/F29.BioEntity | 531947fb85465f363e63e268b9e3ca17283d76dd | [
"MIT"
] | null | null | null | F29.BioEntity/WebAPI/hpo_api.py | foundation29org/F29.BioEntity | 531947fb85465f363e63e268b9e3ca17283d76dd | [
"MIT"
] | null | null | null | F29.BioEntity/WebAPI/hpo_api.py | foundation29org/F29.BioEntity | 531947fb85465f363e63e268b9e3ca17283d76dd | [
"MIT"
] | null | null | null | from flask import current_app, request, make_response, jsonify
from flask_restplus import Resource
from ._api import *
'''
Phenotype Successors/Predecessors
'''
@API.route('/phenotype/successors/<string:ids>')
@API.param('ids', 'Phenotype IDs')
class phenotypes_successors(Resource):
def get(self, ids):
... | 32.714286 | 62 | 0.644347 | 268 | 2,061 | 4.858209 | 0.171642 | 0.073733 | 0.078341 | 0.064516 | 0.756528 | 0.756528 | 0.743472 | 0.743472 | 0.715054 | 0.611367 | 0 | 0.002446 | 0.206696 | 2,061 | 62 | 63 | 33.241935 | 0.793884 | 0 | 0 | 0.711538 | 0 | 0 | 0.126379 | 0.084754 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0 | 0.057692 | 0 | 0.403846 | 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 |
7e8258548dccd8d767f4f933a15a016baa763f36 | 2,734 | py | Python | tests/test_GpOptimiser.py | DMGREENHOUSE/inference-tools | 4b007cdcb6ae31dad6a5edf6cb50b6a9120c27e7 | [
"MIT"
] | 12 | 2019-07-05T07:46:35.000Z | 2022-02-08T12:23:06.000Z | tests/test_GpOptimiser.py | DMGREENHOUSE/inference-tools | 4b007cdcb6ae31dad6a5edf6cb50b6a9120c27e7 | [
"MIT"
] | 6 | 2020-01-22T15:54:59.000Z | 2021-11-05T11:02:51.000Z | tests/test_GpOptimiser.py | DMGREENHOUSE/inference-tools | 4b007cdcb6ae31dad6a5edf6cb50b6a9120c27e7 | [
"MIT"
] | 2 | 2020-03-17T15:17:39.000Z | 2022-02-10T15:31:51.000Z | import numpy as np
from inference.gp import (
GpOptimiser,
ExpectedImprovement,
UpperConfidenceBound,
MaxVariance,
)
import pytest
def search_function_1d(x):
return np.sin(0.5 * x) + 3 / (1 + (x - 1) ** 2)
def search_function_2d(v):
x, y = v
z = ((x - 1) / 2) ** 2 + ((y + 3) / 1.5) ** 2
... | 27.069307 | 88 | 0.58376 | 424 | 2,734 | 3.575472 | 0.129717 | 0.026385 | 0.031662 | 0.031662 | 0.882586 | 0.882586 | 0.864116 | 0.864116 | 0.864116 | 0.864116 | 0 | 0.045983 | 0.244331 | 2,734 | 100 | 89 | 27.34 | 0.687803 | 0 | 0 | 0.5875 | 0 | 0 | 0.01902 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.075 | false | 0 | 0.0375 | 0.0125 | 0.1375 | 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 |
7e8f93abfcfafe6497a935cd9efad51541432329 | 135 | py | Python | sqlserverport/__init__.py | gordthompson/sqlserverport | c7829dfa3e1327353b3b4f6078b0bc2a00166ca7 | [
"Apache-2.0"
] | 16 | 2017-04-19T07:47:57.000Z | 2021-11-27T23:54:49.000Z | sqlserverport/__init__.py | gordthompson/sqlserverport | c7829dfa3e1327353b3b4f6078b0bc2a00166ca7 | [
"Apache-2.0"
] | 1 | 2020-05-21T13:09:21.000Z | 2020-05-21T13:41:56.000Z | sqlserverport/__init__.py | gordthompson/sqlserverport | c7829dfa3e1327353b3b4f6078b0bc2a00166ca7 | [
"Apache-2.0"
] | 7 | 2018-07-26T05:42:58.000Z | 2020-09-02T09:31:19.000Z | from .sqlserverport import lookup
from .sqlserverport import BrowserError
from .sqlserverport import NoTcpError
__version__ = "1.0.1"
| 22.5 | 39 | 0.822222 | 16 | 135 | 6.6875 | 0.5625 | 0.476636 | 0.64486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02521 | 0.118519 | 135 | 5 | 40 | 27 | 0.87395 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7ea63ebc8ed06d91964f1f681d83667a2db560b5 | 19 | py | Python | src/infstat/test.py | BALAJI24092001/vizinfstat | ba6f7c1278c5e82e300329a212594f0a72354c29 | [
"BSD-3-Clause"
] | null | null | null | src/infstat/test.py | BALAJI24092001/vizinfstat | ba6f7c1278c5e82e300329a212594f0a72354c29 | [
"BSD-3-Clause"
] | null | null | null | src/infstat/test.py | BALAJI24092001/vizinfstat | ba6f7c1278c5e82e300329a212594f0a72354c29 | [
"BSD-3-Clause"
] | null | null | null | import anova as av
| 9.5 | 18 | 0.789474 | 4 | 19 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e29bd72d948b4e47dc44c437f583b5f2df853fd | 174 | py | Python | pyavd/Models/Components/__init__.py | AVD-2021/PyAVD | a3a45d97199e80bf98560b08bcd09708c1a0513a | [
"Apache-2.0"
] | null | null | null | pyavd/Models/Components/__init__.py | AVD-2021/PyAVD | a3a45d97199e80bf98560b08bcd09708c1a0513a | [
"Apache-2.0"
] | null | null | null | pyavd/Models/Components/__init__.py | AVD-2021/PyAVD | a3a45d97199e80bf98560b08bcd09708c1a0513a | [
"Apache-2.0"
] | null | null | null | from .Aircraft import *
from .Empennage import *
from .Engine import *
from .Fuselage import *
from .Wing import *
from .UC import *
| 24.857143 | 28 | 0.557471 | 18 | 174 | 5.388889 | 0.444444 | 0.515464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.373563 | 174 | 6 | 29 | 29 | 0.889908 | 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 |
0e3aa8dae125abf3fe205943ee8384a995c388b0 | 16,202 | py | Python | tests/devices/standards/trafic/chassis/test_autoload_structure.py | QualiSystems/cloudshell-networking-devices | f316cefca174975424ec21854b672335feaf8f87 | [
"Apache-2.0"
] | null | null | null | tests/devices/standards/trafic/chassis/test_autoload_structure.py | QualiSystems/cloudshell-networking-devices | f316cefca174975424ec21854b672335feaf8f87 | [
"Apache-2.0"
] | 34 | 2016-11-28T10:52:44.000Z | 2019-10-01T08:52:59.000Z | tests/devices/standards/trafic/chassis/test_autoload_structure.py | QualiSystems/cloudshell-networking-devices | f316cefca174975424ec21854b672335feaf8f87 | [
"Apache-2.0"
] | 1 | 2017-05-23T08:46:45.000Z | 2017-05-23T08:46:45.000Z | import unittest
from cloudshell.devices.standards.traffic.chassis.autoload_structure import TrafficGeneratorChassis, \
AVAILABLE_SHELL_TYPES, GenericTrafficGeneratorModule, GenericTrafficGeneratorPort, GenericPowerPort
class TestTrafficGeneratorChassis(unittest.TestCase):
def setUp(self):
self.shell_n... | 42.302872 | 115 | 0.641032 | 1,742 | 16,202 | 5.788175 | 0.04535 | 0.129723 | 0.098185 | 0.080333 | 0.900526 | 0.887236 | 0.860458 | 0.854508 | 0.835763 | 0.808291 | 0 | 0.000084 | 0.266757 | 16,202 | 382 | 116 | 42.413613 | 0.848653 | 0.190594 | 0 | 0.632411 | 0 | 0 | 0.075345 | 0.001704 | 0 | 0 | 0 | 0 | 0.189723 | 1 | 0.142292 | false | 0 | 0.007905 | 0 | 0.166008 | 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 |
0e61a198a314706f9aab80b96e692e3081ef6aaf | 32 | py | Python | read_structure_step/formats/smi/__init__.py | paulsaxe/read_structure_step | 335c4eb39ad8556070e769fa9491ec5de22ee455 | [
"BSD-3-Clause"
] | null | null | null | read_structure_step/formats/smi/__init__.py | paulsaxe/read_structure_step | 335c4eb39ad8556070e769fa9491ec5de22ee455 | [
"BSD-3-Clause"
] | 9 | 2020-01-19T01:14:43.000Z | 2022-01-29T14:25:05.000Z | read_structure_step/formats/smi/__init__.py | paulsaxe/read_structure_step | 335c4eb39ad8556070e769fa9491ec5de22ee455 | [
"BSD-3-Clause"
] | 1 | 2022-01-14T21:50:37.000Z | 2022-01-14T21:50:37.000Z | from . import smi # noqa: F401
| 16 | 31 | 0.65625 | 5 | 32 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.25 | 32 | 1 | 32 | 32 | 0.75 | 0.3125 | 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 |
0e9804593660557ba64b85ffb810d684008edd53 | 6,478 | py | Python | tests/integration/test_engine_migrations.py | twil/asyncpg-migrate | dd91237f49d91acdc21c642254ddcfb77e548e54 | [
"Apache-2.0"
] | 17 | 2019-07-23T12:34:29.000Z | 2021-09-07T19:49:09.000Z | tests/integration/test_engine_migrations.py | twil/asyncpg-migrate | dd91237f49d91acdc21c642254ddcfb77e548e54 | [
"Apache-2.0"
] | 227 | 2019-06-27T21:51:34.000Z | 2022-03-01T04:00:47.000Z | tests/integration/test_engine_migrations.py | twil/asyncpg-migrate | dd91237f49d91acdc21c642254ddcfb77e548e54 | [
"Apache-2.0"
] | 3 | 2019-07-11T08:55:34.000Z | 2022-01-03T10:09:11.000Z | import typing as t
import asyncpg
import pytest
import pytest_mock as ptm
from asyncpg_migrate import constants
from asyncpg_migrate import model
from asyncpg_migrate.engine import downgrade
from asyncpg_migrate.engine import migration
from asyncpg_migrate.engine import upgrade
@pytest.mark.asyncio
@pytest.mark.par... | 28.04329 | 88 | 0.659463 | 703 | 6,478 | 5.780939 | 0.118065 | 0.091535 | 0.074803 | 0.054134 | 0.859498 | 0.8125 | 0.8125 | 0.8125 | 0.788878 | 0.776821 | 0 | 0.002282 | 0.255789 | 6,478 | 230 | 89 | 28.165217 | 0.840697 | 0 | 0 | 0.673367 | 0 | 0 | 0.024938 | 0.014339 | 0 | 0 | 0 | 0 | 0.080402 | 1 | 0 | false | 0 | 0.045226 | 0 | 0.045226 | 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 |
0ea6c8ba68c22efe83ae9aabdcc0445b4f391c27 | 105 | py | Python | home/views.py | byteknacker/eulerapps | 5bebf00b4c77b84ceee8bbd73226db60e7fec03f | [
"BSD-3-Clause"
] | null | null | null | home/views.py | byteknacker/eulerapps | 5bebf00b4c77b84ceee8bbd73226db60e7fec03f | [
"BSD-3-Clause"
] | null | null | null | home/views.py | byteknacker/eulerapps | 5bebf00b4c77b84ceee8bbd73226db60e7fec03f | [
"BSD-3-Clause"
] | null | null | null | from django.shortcuts import render
def display(request):
return render(request, 'home/apps.html')
| 17.5 | 44 | 0.752381 | 14 | 105 | 5.642857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 105 | 5 | 45 | 21 | 0.877778 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 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 |
7ed40d1702ef17ebed70ba45da4d5778b5cf16d0 | 32 | py | Python | vnpy/gateway/ctp/__init__.py | jubal/vnpy | f50f2535ed39dd33272e0985ed40c7078e4c19f6 | [
"MIT"
] | 5 | 2020-05-19T07:32:39.000Z | 2022-03-14T09:09:48.000Z | vnpy/gateway/ctp/__init__.py | jubal/vnpy | f50f2535ed39dd33272e0985ed40c7078e4c19f6 | [
"MIT"
] | null | null | null | vnpy/gateway/ctp/__init__.py | jubal/vnpy | f50f2535ed39dd33272e0985ed40c7078e4c19f6 | [
"MIT"
] | 3 | 2020-04-02T08:30:17.000Z | 2020-05-03T12:12:05.000Z | from vnpy_ctp import CtpGateway
| 16 | 31 | 0.875 | 5 | 32 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7edb3b3e33594a100c39b713860e80c45b4d1f45 | 35 | py | Python | petrarch2/__init__.py | Sayeedsalam/political-actor-recommender | 20dbc37ac419e4ecd5436d4e5b9685846639b2bc | [
"MIT"
] | 1 | 2018-03-15T09:48:28.000Z | 2018-03-15T09:48:28.000Z | petrarch2/__init__.py | Sayeedsalam/political-actor-recommender | 20dbc37ac419e4ecd5436d4e5b9685846639b2bc | [
"MIT"
] | null | null | null | petrarch2/__init__.py | Sayeedsalam/political-actor-recommender | 20dbc37ac419e4ecd5436d4e5b9685846639b2bc | [
"MIT"
] | null | null | null | from EventCoder import EventCoder
| 11.666667 | 33 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 2 | 34 | 17.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d15b9b24d90f98dcb53be20dbae5a396fc453a5 | 2,771 | py | Python | dragon/func/jd_web_hook/__init__.py | InfernalAzazel/dragon | 464056feb8ecaac55eabedb0a083ea9f609a5753 | [
"Apache-2.0"
] | null | null | null | dragon/func/jd_web_hook/__init__.py | InfernalAzazel/dragon | 464056feb8ecaac55eabedb0a083ea9f609a5753 | [
"Apache-2.0"
] | null | null | null | dragon/func/jd_web_hook/__init__.py | InfernalAzazel/dragon | 464056feb8ecaac55eabedb0a083ea9f609a5753 | [
"Apache-2.0"
] | null | null | null | from func.jd_web_hook.models import WebHookItem
from func.jd_web_hook import a_d_reward_over_table
from func.jd_web_hook import activity_delay_apply
from func.jd_web_hook import activity_expense_issue_doc
from func.jd_web_hook import add_or_modify_logistics_note
from func.jd_web_hook import award_cover_delivery_order
f... | 52.283019 | 63 | 0.90581 | 508 | 2,771 | 4.454724 | 0.212598 | 0.183827 | 0.229783 | 0.298719 | 0.751657 | 0.744145 | 0.673 | 0.438356 | 0.265135 | 0.0327 | 0 | 0.002341 | 0.075063 | 2,771 | 52 | 64 | 53.288462 | 0.880609 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc35fc2922cda0565957130972a29e96525713da | 16,554 | py | Python | pybind/nos/v7_1_0/rbridge_id/route_map/content/set_/dampening/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/rbridge_id/route_map/content/set_/dampening/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/rbridge_id/route_map/content/set_/dampening/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 71.973913 | 596 | 0.729552 | 2,264 | 16,554 | 5.089664 | 0.083039 | 0.03992 | 0.043739 | 0.043044 | 0.812028 | 0.787816 | 0.778443 | 0.768376 | 0.768376 | 0.752061 | 0 | 0.024448 | 0.125287 | 16,554 | 229 | 597 | 72.28821 | 0.77134 | 0.131932 | 0 | 0.432432 | 0 | 0.027027 | 0.343924 | 0.14898 | 0 | 0 | 0 | 0 | 0 | 1 | 0.101351 | false | 0 | 0.054054 | 0 | 0.283784 | 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 |
70e8975fbd6337412a9defb160bbc036a3b53418 | 20,459 | py | Python | fuel_cell/run_reac.py | seamuss1/Thorium_Molten_Salt_Reactor | 222338f773dd2186cc25a06a0f8ee89a684efd2b | [
"MIT"
] | null | null | null | fuel_cell/run_reac.py | seamuss1/Thorium_Molten_Salt_Reactor | 222338f773dd2186cc25a06a0f8ee89a684efd2b | [
"MIT"
] | null | null | null | fuel_cell/run_reac.py | seamuss1/Thorium_Molten_Salt_Reactor | 222338f773dd2186cc25a06a0f8ee89a684efd2b | [
"MIT"
] | null | null | null | import matplotlib
import numpy as np
import openmc
##Materials
LiF = openmc.Material(5,'LiF')
LiF.add_nuclide('Li7',1.0)
LiF.add_element('F',1.0)
BeF = openmc.Material(6,'BeF2')
BeF.add_element('Be',1.0)
BeF.add_element('F',2.0)
ZrF = openmc.Material(7,'ZrF4')
ZrF.add_element('Zr',1.0)
ZrF.add_element('F',4.0)
UF = op... | 104.382653 | 7,793 | 0.784838 | 2,734 | 20,459 | 5.523043 | 0.150329 | 0.148874 | 0.112053 | 0.005563 | 0.777219 | 0.76404 | 0.165629 | 0.146026 | 0.134901 | 0.11404 | 0 | 0.448979 | 0.052544 | 20,459 | 195 | 7,794 | 104.917949 | 0.330014 | 0.813921 | 0 | 0 | 0 | 0 | 0.059638 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025862 | 0 | 0.025862 | 0.017241 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cb21c4ba8598f7562c8e68f7c72b877825a9f402 | 57 | py | Python | spikeextractors/extractors/cedextractors/__init__.py | zekearneodo/spikeextractors | d30aa85e69d0331fffdb58a03a2bb628f93b405e | [
"MIT"
] | 145 | 2018-12-06T23:12:54.000Z | 2022-02-10T22:57:35.000Z | spikeextractors/extractors/cedextractors/__init__.py | zekearneodo/spikeextractors | d30aa85e69d0331fffdb58a03a2bb628f93b405e | [
"MIT"
] | 396 | 2018-11-26T11:46:30.000Z | 2022-01-04T07:27:47.000Z | spikeextractors/extractors/cedextractors/__init__.py | zekearneodo/spikeextractors | d30aa85e69d0331fffdb58a03a2bb628f93b405e | [
"MIT"
] | 67 | 2018-11-19T12:38:01.000Z | 2021-09-25T03:18:22.000Z | from .cedrecordingextractor import CEDRecordingExtractor
| 28.5 | 56 | 0.912281 | 4 | 57 | 13 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 57 | 1 | 57 | 57 | 0.981132 | 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 |
cb4719668d6e0c639306885606133b5ff2819520 | 28 | py | Python | src/wrappers/common/__init__.py | j0hnBlk/VTIL-Python | f3599e8d0f12f84b401c151b5b0a516adacc108a | [
"BSD-3-Clause"
] | 20 | 2020-06-29T13:55:25.000Z | 2022-02-02T08:48:19.000Z | src/wrappers/common/__init__.py | j0hnBlk/VTIL-Python | f3599e8d0f12f84b401c151b5b0a516adacc108a | [
"BSD-3-Clause"
] | 2 | 2020-07-14T20:46:27.000Z | 2020-07-14T20:58:01.000Z | src/wrappers/common/__init__.py | j0hnBlk/VTIL-Python | f3599e8d0f12f84b401c151b5b0a516adacc108a | [
"BSD-3-Clause"
] | 6 | 2020-07-04T13:14:45.000Z | 2022-01-17T22:48:15.000Z | from ..vtil.common import *
| 14 | 27 | 0.714286 | 4 | 28 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cbc1a6097f1ae8aad9c7592ea9c35047b703ded7 | 3,776 | py | Python | tests/charts-out/test_graphics_charts_axes_sample7c.py | debragail/reportlab-mirror | 1e5814e1313ed50d5abb65487b207711cb4f7595 | [
"BSD-3-Clause"
] | 1 | 2020-05-21T23:34:55.000Z | 2020-05-21T23:34:55.000Z | tests/charts-out/test_graphics_charts_axes_sample7c.py | debragail/reportlab-mirror | 1e5814e1313ed50d5abb65487b207711cb4f7595 | [
"BSD-3-Clause"
] | null | null | null | tests/charts-out/test_graphics_charts_axes_sample7c.py | debragail/reportlab-mirror | 1e5814e1313ed50d5abb65487b207711cb4f7595 | [
"BSD-3-Clause"
] | null | null | null | #Autogenerated by ReportLab guiedit do not edit
from reportlab.graphics.shapes import _DrawingEditorMixin, Drawing, Group, Line, String
from reportlab.lib.colors import Color, CMYKColor, PCMYKColor
class ExplodedDrawing_Drawing(_DrawingEditorMixin,Drawing):
def __init__(self,width=400,height=200,*args,**kw):
Drawin... | 78.666667 | 177 | 0.756356 | 628 | 3,776 | 4.503185 | 0.157643 | 0.033946 | 0.029703 | 0.053748 | 0.798444 | 0.787129 | 0.764498 | 0.764498 | 0.756011 | 0.756011 | 0 | 0.127595 | 0.043167 | 3,776 | 47 | 178 | 80.340426 | 0.655134 | 0.014831 | 0 | 0.186047 | 1 | 0 | 0.045724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0.046512 | 0 | 0.093023 | 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 |
cbc9993d02a08141581fd86ab1da7c0fa3aaf2cc | 100 | py | Python | data_helper/__init__.py | acmi-lab/PU_learning | a9174bda92c7411906056c789011cfa41749ee5f | [
"Apache-2.0"
] | 18 | 2021-11-04T02:26:47.000Z | 2022-03-15T04:41:18.000Z | data_helper/__init__.py | acmi-lab/PU_learning | a9174bda92c7411906056c789011cfa41749ee5f | [
"Apache-2.0"
] | null | null | null | data_helper/__init__.py | acmi-lab/PU_learning | a9174bda92c7411906056c789011cfa41749ee5f | [
"Apache-2.0"
] | 1 | 2022-01-14T03:22:37.000Z | 2022-01-14T03:22:37.000Z | from .CIFAR import *
from .MNIST import *
from .IMDb import *
from .toy import *
from .uci import * | 20 | 21 | 0.7 | 15 | 100 | 4.666667 | 0.466667 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 100 | 5 | 22 | 20 | 0.875 | 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 |
3844f91e4752950b5129c945ac658881d0f6ea4d | 113 | py | Python | simple_http/__init__.py | lyx003288/python_test | f6927b8182a1e8e608b3277a3fe033b856a2c47a | [
"MIT"
] | null | null | null | simple_http/__init__.py | lyx003288/python_test | f6927b8182a1e8e608b3277a3fe033b856a2c47a | [
"MIT"
] | null | null | null | simple_http/__init__.py | lyx003288/python_test | f6927b8182a1e8e608b3277a3fe033b856a2c47a | [
"MIT"
] | null | null | null | from simple_http_client import *
from simple_http_server import *
__all__ = [ "request", "start_http_server" ]
| 18.833333 | 44 | 0.769912 | 15 | 113 | 5.133333 | 0.6 | 0.25974 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141593 | 113 | 5 | 45 | 22.6 | 0.793814 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 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 |
6983660e65f6088d8fe94f0653a1cf4d8d128425 | 96 | py | Python | kink_module/kink_performer.py | SolemnMonk/KR | 07eb9541993960ed401818bb41aa52cc296181ca | [
"MIT"
] | null | null | null | kink_module/kink_performer.py | SolemnMonk/KR | 07eb9541993960ed401818bb41aa52cc296181ca | [
"MIT"
] | null | null | null | kink_module/kink_performer.py | SolemnMonk/KR | 07eb9541993960ed401818bb41aa52cc296181ca | [
"MIT"
] | null | null | null | from . import kink_shoot
def rip(performer):
print("kink_performer.rip(" + performer + ")") | 24 | 50 | 0.6875 | 12 | 96 | 5.333333 | 0.666667 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 4 | 50 | 24 | 0.790123 | 0 | 0 | 0 | 0 | 0 | 0.206186 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
69885055604ecc86ceded185cf384c34ab9419c9 | 94,679 | py | Python | migration/versions/19d5fbd43af3_.py | twocucao/tifa | f703fd27f54000e7d51f06d2456d09cc79e0ab72 | [
"MIT"
] | 71 | 2020-04-16T04:28:45.000Z | 2022-03-31T22:45:11.000Z | migration/versions/19d5fbd43af3_.py | twocucao/tifa | f703fd27f54000e7d51f06d2456d09cc79e0ab72 | [
"MIT"
] | 6 | 2021-05-13T06:32:38.000Z | 2022-03-04T01:18:34.000Z | migration/versions/19d5fbd43af3_.py | twocucao/tifa | f703fd27f54000e7d51f06d2456d09cc79e0ab72 | [
"MIT"
] | 12 | 2021-05-01T08:43:11.000Z | 2022-03-29T00:58:54.000Z | """empty message
Revision ID: 19d5fbd43af3
Revises:
Create Date: 2021-07-26 20:58:49.610386
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql
# revision identifiers, used by Alembic.
revision = '19d5fbd43af3'
down_revision = None
branch_labels = None
depends_on = None
d... | 58.156634 | 151 | 0.708489 | 12,439 | 94,679 | 5.169467 | 0.029022 | 0.096792 | 0.118268 | 0.144674 | 0.933969 | 0.888434 | 0.832278 | 0.779031 | 0.708039 | 0.628182 | 0 | 0.009342 | 0.110257 | 94,679 | 1,627 | 152 | 58.192379 | 0.753989 | 0.002989 | 0 | 0.486957 | 0 | 0 | 0.27159 | 0.100181 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001242 | false | 0.001242 | 0.001863 | 0 | 0.003106 | 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 |
69aa7ed0a1b09e0889f3b5ffa43168c5f4e650b0 | 566 | py | Python | extensions/.stubs/clrclasses/System/Security/Authentication/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | 1 | 2020-03-25T03:27:24.000Z | 2020-03-25T03:27:24.000Z | extensions/.stubs/clrclasses/System/Security/Authentication/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | null | null | null | extensions/.stubs/clrclasses/System/Security/Authentication/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | null | null | null | import __clrclasses__.System.Security.Authentication.ExtendedProtection as ExtendedProtection
from __clrclasses__.System.Security.Authentication import AuthenticationException
from __clrclasses__.System.Security.Authentication import CipherAlgorithmType
from __clrclasses__.System.Security.Authentication import Exchange... | 70.75 | 93 | 0.911661 | 50 | 566 | 9.76 | 0.28 | 0.229508 | 0.344262 | 0.545082 | 0.590164 | 0.590164 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04947 | 566 | 7 | 94 | 80.857143 | 0.907063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
69b77b06dd4fa077da605fa42a9ba85398ac3042 | 281 | py | Python | src/attrbench/metrics/infidelity/__init__.py | zoeparman/benchmark | 96331b7fa0db84f5f422b52cae2211b41bbd15ce | [
"MIT"
] | null | null | null | src/attrbench/metrics/infidelity/__init__.py | zoeparman/benchmark | 96331b7fa0db84f5f422b52cae2211b41bbd15ce | [
"MIT"
] | 7 | 2020-03-02T13:03:50.000Z | 2022-03-12T00:16:20.000Z | src/attrbench/metrics/infidelity/__init__.py | zoeparman/benchmark | 96331b7fa0db84f5f422b52cae2211b41bbd15ce | [
"MIT"
] | null | null | null | from .infidelity import Infidelity, infidelity
from .perturbation_generator import PerturbationGenerator, NoisyBaselinePerturbationGenerator, \
SegmentRemovalPerturbationGenerator, SquarePerturbationGenerator, GaussianPerturbationGenerator
from .result import InfidelityResult
| 56.2 | 99 | 0.88968 | 18 | 281 | 13.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078292 | 281 | 4 | 100 | 70.25 | 0.96139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
69c595b8dce737beac3cac7668741281ca62bfb4 | 5,610 | py | Python | inverse_covariance/profiling/tests/metrics_test.py | aldanor/skggm | d2e29d692d1654285653ab07fd24534628fcb076 | [
"MIT"
] | 199 | 2016-10-21T14:36:02.000Z | 2022-03-29T20:59:08.000Z | inverse_covariance/profiling/tests/metrics_test.py | aldanor/skggm | d2e29d692d1654285653ab07fd24534628fcb076 | [
"MIT"
] | 66 | 2016-10-17T01:47:28.000Z | 2022-03-06T11:02:56.000Z | inverse_covariance/profiling/tests/metrics_test.py | aldanor/skggm | d2e29d692d1654285653ab07fd24534628fcb076 | [
"MIT"
] | 36 | 2016-10-15T23:42:10.000Z | 2022-03-06T00:03:13.000Z | import numpy as np
import pytest
from inverse_covariance.profiling import metrics
class TestMetrics(object):
@pytest.mark.parametrize(
"m, m_hat, expected",
[
(
np.array([[1, 2, 3], [1, 2, 3], [1, 2, 3]]),
np.array([[1, 2, 3], [1, 2, 3], [1, 2, 3]]),
... | 30.824176 | 68 | 0.340998 | 729 | 5,610 | 2.536351 | 0.067215 | 0.060573 | 0.079502 | 0.0649 | 0.793402 | 0.778259 | 0.775554 | 0.743104 | 0.741482 | 0.6755 | 0 | 0.136928 | 0.454545 | 5,610 | 181 | 69 | 30.994475 | 0.46732 | 0 | 0 | 0.651163 | 0 | 0 | 0.02246 | 0 | 0 | 0 | 0 | 0 | 0.040698 | 1 | 0.040698 | false | 0 | 0.017442 | 0 | 0.063953 | 0.040698 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
69e9affa97c1097b5ffa68c7426f38ced0b25149 | 73 | py | Python | src/smugapi/handlers/__init__.py | threatsimple/smugapi | 0e2e5ecb3c3076b9b8dd8342371de21fa9c4a8c4 | [
"MIT"
] | null | null | null | src/smugapi/handlers/__init__.py | threatsimple/smugapi | 0e2e5ecb3c3076b9b8dd8342371de21fa9c4a8c4 | [
"MIT"
] | null | null | null | src/smugapi/handlers/__init__.py | threatsimple/smugapi | 0e2e5ecb3c3076b9b8dd8342371de21fa9c4a8c4 | [
"MIT"
] | null | null | null |
from . import index
from . import stockquotes
from . import weatherbit
| 12.166667 | 25 | 0.767123 | 9 | 73 | 6.222222 | 0.555556 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191781 | 73 | 5 | 26 | 14.6 | 0.949153 | 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 |
38a8c30eb09199ab5dcf21422291eb966363888f | 6,537 | py | Python | tests/test_fit_screens.py | ska-telescope/ska-sdp-screen-fitting | 213c471ec09b31f2482924d96f5f530d5c40d9f0 | [
"BSD-3-Clause"
] | null | null | null | tests/test_fit_screens.py | ska-telescope/ska-sdp-screen-fitting | 213c471ec09b31f2482924d96f5f530d5c40d9f0 | [
"BSD-3-Clause"
] | null | null | null | tests/test_fit_screens.py | ska-telescope/ska-sdp-screen-fitting | 213c471ec09b31f2482924d96f5f530d5c40d9f0 | [
"BSD-3-Clause"
] | null | null | null | """
test_fit_screens.py: Test screen fitting functionality
SPDX-License-Identifier: BSD-3-Clause
"""
import os
import shutil
import uuid
import h5py
import numpy as np
import pytest
from astropy import wcs
from astropy.io import fits
from ska_sdp_screen_fitting.make_aterm_images import make_aterm_image
from ska_sdp_... | 30.263889 | 77 | 0.556218 | 808 | 6,537 | 4.315594 | 0.217822 | 0.05162 | 0.020075 | 0.027531 | 0.782621 | 0.769429 | 0.76312 | 0.76312 | 0.76312 | 0.76312 | 0 | 0.040217 | 0.322931 | 6,537 | 215 | 78 | 30.404651 | 0.747628 | 0.139667 | 0 | 0.748466 | 0 | 0 | 0.046002 | 0.01204 | 0 | 0 | 0 | 0 | 0.079755 | 1 | 0.018405 | false | 0 | 0.06135 | 0 | 0.079755 | 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 |
38acc049899b77e5268c9ccf9641f51488eb686c | 70 | py | Python | ArithmeticMean/arithmeticMean.py | pauloantiquera/starters-exercises | 0fe68ba13fa204b28627b3097cdd96072648e602 | [
"Unlicense"
] | null | null | null | ArithmeticMean/arithmeticMean.py | pauloantiquera/starters-exercises | 0fe68ba13fa204b28627b3097cdd96072648e602 | [
"Unlicense"
] | null | null | null | ArithmeticMean/arithmeticMean.py | pauloantiquera/starters-exercises | 0fe68ba13fa204b28627b3097cdd96072648e602 | [
"Unlicense"
] | 1 | 2018-03-24T02:04:05.000Z | 2018-03-24T02:04:05.000Z | def arithmeticMean(number1, number2):
return (number1 + number2) / 2
| 23.333333 | 37 | 0.742857 | 8 | 70 | 6.5 | 0.75 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.142857 | 70 | 2 | 38 | 35 | 0.783333 | 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 |
38b94f8a2709e202c357a4db2be6f4a6fb5c7f1f | 32 | py | Python | lang/Python/system-time.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/system-time.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/system-time.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | import time
print(time.ctime())
| 10.666667 | 19 | 0.75 | 5 | 32 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 2 | 20 | 16 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
2a0e0203fcbb348b0597b0c070293aadf795c40d | 5,394 | py | Python | tests/validators/date_time_range_test.py | binary-butterfly/wtfjson | 551ad07c895ce3c94ac3015b6b5ecc2102599b56 | [
"MIT"
] | null | null | null | tests/validators/date_time_range_test.py | binary-butterfly/wtfjson | 551ad07c895ce3c94ac3015b6b5ecc2102599b56 | [
"MIT"
] | 1 | 2021-10-11T08:55:45.000Z | 2021-10-11T08:55:45.000Z | tests/validators/date_time_range_test.py | binary-butterfly/wtfjson | 551ad07c895ce3c94ac3015b6b5ecc2102599b56 | [
"MIT"
] | null | null | null | # encoding: utf-8
"""
binary butterfly validator
Copyright (c) 2021, binary butterfly GmbH
Use of this source code is governed by an MIT-style license that can be found in the LICENSE.txt.
"""
from time import sleep
from unittest import TestCase
from datetime import datetime, timedelta
from wtfjson import DictInput
... | 38.528571 | 124 | 0.637189 | 658 | 5,394 | 5.103343 | 0.156535 | 0.122096 | 0.046456 | 0.071471 | 0.80673 | 0.800774 | 0.780226 | 0.763252 | 0.718582 | 0.718582 | 0 | 0.029583 | 0.235447 | 5,394 | 139 | 125 | 38.805755 | 0.784675 | 0.036151 | 0 | 0.554545 | 0 | 0 | 0.110597 | 0 | 0 | 0 | 0 | 0.007194 | 0.372727 | 1 | 0.109091 | false | 0 | 0.054545 | 0 | 0.227273 | 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 |
2a5de40062ee70f030b49eaa1ac24ac5e2f3bb91 | 91 | py | Python | telemetry/third_party/modulegraph/modulegraph_tests/testpkg-regr5/script.py | tingshao/catapult | a8fe19e0c492472a8ed5710be9077e24cc517c5c | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | telemetry/third_party/modulegraph/modulegraph_tests/testpkg-regr5/script.py | tingshao/catapult | a8fe19e0c492472a8ed5710be9077e24cc517c5c | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | telemetry/third_party/modulegraph/modulegraph_tests/testpkg-regr5/script.py | tingshao/catapult | a8fe19e0c492472a8ed5710be9077e24cc517c5c | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | import __init__
from modulegraph.find_modules import find_needed_modules
import distutils
| 18.2 | 56 | 0.89011 | 12 | 91 | 6.166667 | 0.666667 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 91 | 4 | 57 | 22.75 | 0.902439 | 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 |
2a638477f160c0cfdcf11842b88b117a837e846c | 44 | py | Python | splunkapi3/search/__init__.py | swimlane/splunkapi3 | 9b12f58f17ea97a1fe8c6ff41e4da466b5e13e32 | [
"MIT"
] | null | null | null | splunkapi3/search/__init__.py | swimlane/splunkapi3 | 9b12f58f17ea97a1fe8c6ff41e4da466b5e13e32 | [
"MIT"
] | null | null | null | splunkapi3/search/__init__.py | swimlane/splunkapi3 | 9b12f58f17ea97a1fe8c6ff41e4da466b5e13e32 | [
"MIT"
] | 3 | 2019-05-31T02:20:05.000Z | 2021-02-22T00:45:53.000Z | from splunkapi3.search.search import Search
| 22 | 43 | 0.863636 | 6 | 44 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.090909 | 44 | 1 | 44 | 44 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a833d98f924147246df7cd81461c19c7ffdbbfc | 25 | py | Python | python_module/sirius_minimal/__init__.py | mtaillefumier/SIRIUS | 50ec1c202c019113c5660f1966b170dec9dfd4d4 | [
"BSD-2-Clause"
] | 77 | 2016-03-18T08:38:30.000Z | 2022-03-11T14:06:25.000Z | python_module/sirius_minimal/__init__.py | simonpintarelli/SIRIUS | f4b5c4810af2a3ea1e67992d65750535227da84b | [
"BSD-2-Clause"
] | 240 | 2016-04-12T16:39:11.000Z | 2022-03-31T08:46:12.000Z | python_module/sirius_minimal/__init__.py | simonpintarelli/SIRIUS | f4b5c4810af2a3ea1e67992d65750535227da84b | [
"BSD-2-Clause"
] | 43 | 2016-03-18T17:45:07.000Z | 2022-02-28T05:27:59.000Z | from .py_sirius import *
| 12.5 | 24 | 0.76 | 4 | 25 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 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 |
aa987ae88c4e67786311c7351ed6d749e478caeb | 71 | py | Python | front/resources/__init__.py | Levis0045/Techniques-web-INALCO-2020 | b805a0af3a78dca3cb25d38dfdcf8ff8a182728d | [
"CC0-1.0"
] | null | null | null | front/resources/__init__.py | Levis0045/Techniques-web-INALCO-2020 | b805a0af3a78dca3cb25d38dfdcf8ff8a182728d | [
"CC0-1.0"
] | null | null | null | front/resources/__init__.py | Levis0045/Techniques-web-INALCO-2020 | b805a0af3a78dca3cb25d38dfdcf8ff8a182728d | [
"CC0-1.0"
] | 1 | 2020-06-02T09:57:42.000Z | 2020-06-02T09:57:42.000Z | from .auth import *
from .clients import *
from .contributions import * | 23.666667 | 28 | 0.760563 | 9 | 71 | 6 | 0.555556 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 71 | 3 | 28 | 23.666667 | 0.9 | 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 |
aabddcd521011255d7f04806f536540b8bf025b7 | 66 | py | Python | dask_cuda/explicit_comms/__init__.py | necaris/dask-cuda | 381195162564be133339d82b033f58949e400941 | [
"Apache-2.0"
] | null | null | null | dask_cuda/explicit_comms/__init__.py | necaris/dask-cuda | 381195162564be133339d82b033f58949e400941 | [
"Apache-2.0"
] | null | null | null | dask_cuda/explicit_comms/__init__.py | necaris/dask-cuda | 381195162564be133339d82b033f58949e400941 | [
"Apache-2.0"
] | null | null | null | from .comms import *
from .dataframe_merge import dataframe_merge
| 22 | 44 | 0.833333 | 9 | 66 | 5.888889 | 0.555556 | 0.528302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 45 | 33 | 0.913793 | 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 |
aac60b49129caba2919fe740a0addff658fe5894 | 64 | py | Python | medgeconv/tf_ops/__init__.py | StefReck/MEdgeConv | 0174a992a11ac9bd3536ab31679677de07a2e8d5 | [
"MIT"
] | 3 | 2020-07-23T07:39:36.000Z | 2021-02-03T16:16:14.000Z | medgeconv/tf_ops/__init__.py | StefReck/MEdgeConv | 0174a992a11ac9bd3536ab31679677de07a2e8d5 | [
"MIT"
] | 2 | 2020-09-02T17:11:04.000Z | 2021-10-08T12:58:22.000Z | medgeconv/tf_ops/__init__.py | StefReck/MEdgeConv | 0174a992a11ac9bd3536ab31679677de07a2e8d5 | [
"MIT"
] | 1 | 2021-11-29T15:38:03.000Z | 2021-11-29T15:38:03.000Z | from medgeconv.tf_ops.python.ops.knn_graph_ops import knn_graph
| 32 | 63 | 0.875 | 12 | 64 | 4.333333 | 0.666667 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 64 | 1 | 64 | 64 | 0.866667 | 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 |
2d57b288d478b7a6c584c6f8dbb7a763b8b9d569 | 136 | py | Python | src/ufdl/jobcontracts/error/__init__.py | waikato-ufdl/ufdl-job-contracts | 4d414fc79e110de044e2b8377556d3134c0b5dcc | [
"Apache-2.0"
] | null | null | null | src/ufdl/jobcontracts/error/__init__.py | waikato-ufdl/ufdl-job-contracts | 4d414fc79e110de044e2b8377556d3134c0b5dcc | [
"Apache-2.0"
] | null | null | null | src/ufdl/jobcontracts/error/__init__.py | waikato-ufdl/ufdl-job-contracts | 4d414fc79e110de044e2b8377556d3134c0b5dcc | [
"Apache-2.0"
] | null | null | null | from ._ContractParsingException import ContractParsingException
from ._UnknownContractNameException import UnknownContractNameException
| 45.333333 | 71 | 0.926471 | 8 | 136 | 15.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 136 | 2 | 72 | 68 | 0.96875 | 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 |
2db1d8f4375505323ff297961f43da3a2ddae4bc | 29 | py | Python | school/clients/__init__.py | quintenroets/school | df8b104a8d311ba16ffc8301adb8700bf8bab553 | [
"MIT"
] | 1 | 2022-01-26T17:40:59.000Z | 2022-01-26T17:40:59.000Z | school/clients/__init__.py | quintenroets/school | df8b104a8d311ba16ffc8301adb8700bf8bab553 | [
"MIT"
] | null | null | null | school/clients/__init__.py | quintenroets/school | df8b104a8d311ba16ffc8301adb8700bf8bab553 | [
"MIT"
] | null | null | null | from .session import session
| 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 |
2dd1c0c53fc2f4490fd6cdd76a28c865119963bd | 1,557 | py | Python | Check.py | vipenl26/connect4 | 193634cad4b183a262c2b90c4cd39b0a3f2b5402 | [
"MIT"
] | null | null | null | Check.py | vipenl26/connect4 | 193634cad4b183a262c2b90c4cd39b0a3f2b5402 | [
"MIT"
] | null | null | null | Check.py | vipenl26/connect4 | 193634cad4b183a262c2b90c4cd39b0a3f2b5402 | [
"MIT"
] | 1 | 2020-12-20T18:01:58.000Z | 2020-12-20T18:01:58.000Z |
def check(board):
#straight combination
for i in range(6):
for j in range(4):
if(board[i][j]=="R" and board[i][j+1]=="R" and board[i][j+2]=="R" and board[i][j+3]=="R"):
return True
if(board[i][j]=="Y" and board[i][j+1]=="Y" and board[i][j+2]=="Y" and board[i][j... | 33.12766 | 108 | 0.460501 | 288 | 1,557 | 2.489583 | 0.104167 | 0.267782 | 0.301255 | 0.167364 | 0.863319 | 0.793584 | 0.659693 | 0.659693 | 0.659693 | 0.659693 | 0 | 0.048848 | 0.303147 | 1,557 | 47 | 109 | 33.12766 | 0.611982 | 0.056519 | 0 | 0.40625 | 0 | 0 | 0.022526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
93175aedf325d092a1f7a9b7415a70f501ba731d | 35,114 | py | Python | unet_models.py | chicm/salt | 33b00624c9d10e75445105d0b172e726ade39529 | [
"Apache-2.0"
] | null | null | null | unet_models.py | chicm/salt | 33b00624c9d10e75445105d0b172e726ade39529 | [
"Apache-2.0"
] | null | null | null | unet_models.py | chicm/salt | 33b00624c9d10e75445105d0b172e726ade39529 | [
"Apache-2.0"
] | null | null | null | from torch import nn
from torch.nn import functional as F
import torch
from torchvision import models
from torchvision.models import resnet34, resnet101, resnet50, resnet152
import torchvision
import pdb
def conv3x3(in_, out):
return nn.Conv2d(in_, out, 3, padding=1)
class ConvRelu(nn.Module):
def __init__(se... | 38.417943 | 125 | 0.585521 | 4,336 | 35,114 | 4.592251 | 0.069649 | 0.078847 | 0.034251 | 0.015066 | 0.806298 | 0.787364 | 0.766121 | 0.743572 | 0.733176 | 0.718913 | 0 | 0.059407 | 0.296748 | 35,114 | 914 | 126 | 38.417943 | 0.746943 | 0.115509 | 0 | 0.691693 | 0 | 0 | 0.015494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070288 | false | 0 | 0.011182 | 0.00639 | 0.145367 | 0.001597 | 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 |
931a4800163647921420a6a40439104da5037e62 | 18 | py | Python | minikerberos/crypto/RC4/__init__.py | fuckup1337/minikerberos | 4c7d6a9d791b6a7b05a211a5bccb6c4e6c37187e | [
"MIT"
] | 146 | 2018-06-11T06:07:00.000Z | 2022-03-21T06:46:45.000Z | minikerberos/crypto/RC4/__init__.py | fuckup1337/minikerberos | 4c7d6a9d791b6a7b05a211a5bccb6c4e6c37187e | [
"MIT"
] | 19 | 2018-10-08T18:49:35.000Z | 2022-03-31T06:45:37.000Z | minikerberos/crypto/RC4/__init__.py | fuckup1337/minikerberos | 4c7d6a9d791b6a7b05a211a5bccb6c4e6c37187e | [
"MIT"
] | 35 | 2018-06-10T23:20:14.000Z | 2022-01-24T08:34:39.000Z | from .RC4 import * | 18 | 18 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.166667 | 18 | 1 | 18 | 18 | 0.8 | 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 |
932cbf34a607879b161d23367771504f113b2abc | 187 | py | Python | users/managers.py | moshthepitt/probsc | 9b8cab206bb1c41238e36bd77f5e0573df4d8e2d | [
"MIT"
] | null | null | null | users/managers.py | moshthepitt/probsc | 9b8cab206bb1c41238e36bd77f5e0573df4d8e2d | [
"MIT"
] | null | null | null | users/managers.py | moshthepitt/probsc | 9b8cab206bb1c41238e36bd77f5e0573df4d8e2d | [
"MIT"
] | null | null | null | from core.managers import CoreManager
class UserProfileManager(CoreManager):
pass
class DepartmentManager(CoreManager):
pass
class PositionManager(CoreManager):
pass
| 11 | 38 | 0.764706 | 17 | 187 | 8.411765 | 0.588235 | 0.314685 | 0.27972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 187 | 16 | 39 | 11.6875 | 0.934641 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
fa798adf598ea9f0965ea6337a2a9a1c206cd558 | 18,818 | py | Python | msc/contr_var_2_log.py | rtagirov/python_scr_pc_imperial | 423204964ddbc9c117bd2b3bb4397ee98b89a56d | [
"MIT"
] | null | null | null | msc/contr_var_2_log.py | rtagirov/python_scr_pc_imperial | 423204964ddbc9c117bd2b3bb4397ee98b89a56d | [
"MIT"
] | null | null | null | msc/contr_var_2_log.py | rtagirov/python_scr_pc_imperial | 423204964ddbc9c117bd2b3bb4397ee98b89a56d | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
from matplotlib.ticker import AutoMinorLocator
from matplotlib.ticker import MultipleLocator
from matplotlib.ticker import LogLocator
import importlib
import math
import sys
if not '../aux/' in sys.path: sys.path.append('../aux/')
import paths; importlib.reload(pa... | 32.112628 | 105 | 0.61117 | 3,255 | 18,818 | 3.456836 | 0.079263 | 0.027462 | 0.055457 | 0.024884 | 0.80839 | 0.803857 | 0.76342 | 0.745556 | 0.74129 | 0.70583 | 0 | 0.094649 | 0.175789 | 18,818 | 585 | 106 | 32.167521 | 0.630819 | 0.20778 | 0 | 0.493151 | 0 | 0 | 0.130197 | 0.00567 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047945 | 0 | 0.047945 | 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 |
4f0862c0ed61e66995e0b74687cb27fd4c9fbf38 | 205 | py | Python | jobsapp/graphql/mutations.py | sks-sys/djangocicd | c5b1c5b11b38ebd1be1cb2f138ca21e976282ab8 | [
"MIT"
] | 1 | 2022-02-13T06:13:47.000Z | 2022-02-13T06:13:47.000Z | jobsapp/graphql/mutations.py | sks-sys/djangocicd | c5b1c5b11b38ebd1be1cb2f138ca21e976282ab8 | [
"MIT"
] | null | null | null | jobsapp/graphql/mutations.py | sks-sys/djangocicd | c5b1c5b11b38ebd1be1cb2f138ca21e976282ab8 | [
"MIT"
] | null | null | null | import graphene
from . import sub_mutations as job_mutations
class JobMutation(graphene.ObjectType):
create_job = job_mutations.CreateNewJob.Field()
update_job = job_mutations.UpdateJob.Field()
| 22.777778 | 51 | 0.795122 | 25 | 205 | 6.28 | 0.6 | 0.229299 | 0.191083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131707 | 205 | 8 | 52 | 25.625 | 0.882022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8795b3bea64863f2be9b1187baa3fc3356f64ae1 | 32 | py | Python | account_financial_amount/models/__init__.py | odoo-mastercore/odoo-argentina | 58cdfe8610bae42f69ddb9d652a28eb3245f6a04 | [
"MIT"
] | 1 | 2021-01-25T15:57:58.000Z | 2021-01-25T15:57:58.000Z | account_financial_amount/models/__init__.py | odoo-mastercore/odoo-argentina | 58cdfe8610bae42f69ddb9d652a28eb3245f6a04 | [
"MIT"
] | null | null | null | account_financial_amount/models/__init__.py | odoo-mastercore/odoo-argentina | 58cdfe8610bae42f69ddb9d652a28eb3245f6a04 | [
"MIT"
] | 2 | 2020-10-17T16:36:02.000Z | 2021-01-24T10:20:05.000Z | from . import account_move_line
| 16 | 31 | 0.84375 | 5 | 32 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 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 |
879dcd09281b88687a4f59bced831fe08d55acee | 49 | py | Python | src/main/resources/docs/tests/W1300.py | h314to/codacy-pylint | 9d31567db6188e1b31ce0e1567998f64946502df | [
"Apache-2.0"
] | null | null | null | src/main/resources/docs/tests/W1300.py | h314to/codacy-pylint | 9d31567db6188e1b31ce0e1567998f64946502df | [
"Apache-2.0"
] | null | null | null | src/main/resources/docs/tests/W1300.py | h314to/codacy-pylint | 9d31567db6188e1b31ce0e1567998f64946502df | [
"Apache-2.0"
] | null | null | null | ##Patterns: W1300
##Err: W1300
"a %(a)s" % {1: 2} | 16.333333 | 18 | 0.530612 | 9 | 49 | 2.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243902 | 0.163265 | 49 | 3 | 18 | 16.333333 | 0.390244 | 0.510204 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
87a1cf6e4801a9b2d4713b7e2db01aeb472d397a | 29 | py | Python | ds/models/glm/__init__.py | jordanparker6/datascience-starter | 3eef1640a45d19431e9fb26adf5e089d3708dab1 | [
"MIT"
] | 4 | 2020-10-01T23:20:29.000Z | 2021-06-24T08:34:41.000Z | ds/models/glm/__init__.py | jordanparker6/datascience-starter | 3eef1640a45d19431e9fb26adf5e089d3708dab1 | [
"MIT"
] | null | null | null | ds/models/glm/__init__.py | jordanparker6/datascience-starter | 3eef1640a45d19431e9fb26adf5e089d3708dab1 | [
"MIT"
] | null | null | null | from .bayesian_glm import GLM | 29 | 29 | 0.862069 | 5 | 29 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87c644dd537d8e36e9bfb48d5b3677be1e723e87 | 243 | py | Python | SeleniumWrapper_JE/selenium_wrapper/selenium_webdrive_wrapper/get_webdrivers.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | SeleniumWrapper_JE/selenium_wrapper/selenium_webdrive_wrapper/get_webdrivers.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | SeleniumWrapper_JE/selenium_wrapper/selenium_webdrive_wrapper/get_webdrivers.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | from selenium_wrapper.selenium_webdrive_wrapper.webdriver_wrapper import WebdriverWrapper
def get_webdriver(webdriver_name: str = "chrome", opera_path: str = None, **kwargs):
return WebdriverWrapper(webdriver_name, opera_path, **kwargs)
| 40.5 | 89 | 0.814815 | 29 | 243 | 6.517241 | 0.586207 | 0.137566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 243 | 5 | 90 | 48.6 | 0.863014 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 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 |
358b06138a7ef074e3f289e0a66a4990fa0392db | 342 | py | Python | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_NoiseRandom_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_NoiseRandom_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_21_61FoamBrick.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 33 | 2021-12-15T07:11:47.000Z | 2022-03-29T08:58:32.000Z | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_NoiseRandom_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_NoiseRandom_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_21_61FoamBrick.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 3 | 2021-12-15T11:39:54.000Z | 2022-03-29T07:24:23.000Z | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_NoiseRandom_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_NoiseRandom_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_21_61FoamBrick.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | null | null | null | _base_ = "./FlowNet512_1.5AugCosyAAEGray_NoiseRandom_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_01_02MasterChefCan.py"
OUTPUT_DIR = "output/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_NoiseRandom_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/21_61FoamBrick"
DATASETS = dict(TRAIN=("ycbv_061_foa... | 85.5 | 154 | 0.903509 | 45 | 342 | 6.155556 | 0.688889 | 0.079422 | 0.187726 | 0.267148 | 0.570397 | 0.570397 | 0.570397 | 0.570397 | 0.570397 | 0.570397 | 0 | 0.093093 | 0.026316 | 342 | 3 | 155 | 114 | 0.738739 | 0 | 0 | 0 | 0 | 0 | 0.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
35c0f98926cac21b4cf820d3bd8371e25a8b5837 | 40 | py | Python | pymeritrade/__init__.py | sshh12/pymeritrade | 0bb73922c8c08207cf55b934867cf780559d9871 | [
"MIT"
] | 1 | 2020-12-04T20:46:24.000Z | 2020-12-04T20:46:24.000Z | pymeritrade/__init__.py | sshh12/pymeritrade | 0bb73922c8c08207cf55b934867cf780559d9871 | [
"MIT"
] | null | null | null | pymeritrade/__init__.py | sshh12/pymeritrade | 0bb73922c8c08207cf55b934867cf780559d9871 | [
"MIT"
] | null | null | null | from pymeritrade.client import TDAClient | 40 | 40 | 0.9 | 5 | 40 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35e1bf61aa8dbfb91b9de556600c92495e299ada | 148 | py | Python | tests/functional/modules/pyi_import_pyqt_uic_port/PyQt5/uic/port_v2/__init__.py | hawkhai/pyinstaller | 016a24479b34de161792c72dde455a81ad4c78ae | [
"Apache-2.0"
] | 9,267 | 2015-01-01T04:08:45.000Z | 2022-03-31T11:42:38.000Z | tests/functional/modules/pyi_import_pyqt_uic_port/PyQt5/uic/port_v2/__init__.py | hawkhai/pyinstaller | 016a24479b34de161792c72dde455a81ad4c78ae | [
"Apache-2.0"
] | 5,150 | 2015-01-01T12:09:56.000Z | 2022-03-31T18:06:12.000Z | tests/functional/modules/pyi_import_pyqt_uic_port/PyQt5/uic/port_v2/__init__.py | hawkhai/pyinstaller | 016a24479b34de161792c72dde455a81ad4c78ae | [
"Apache-2.0"
] | 2,101 | 2015-01-03T10:25:27.000Z | 2022-03-30T11:04:42.000Z | __pyinstaller_fake_module_marker__ = '__pyinstaller_fake_module_marker__'
print('this is PyQtx.uic.port_v3')
from . import test # noqa: F401, E402
| 37 | 73 | 0.810811 | 21 | 148 | 5 | 0.809524 | 0.285714 | 0.4 | 0.514286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.101351 | 148 | 3 | 74 | 49.333333 | 0.736842 | 0.108108 | 0 | 0 | 0 | 0 | 0.453846 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 |
ea3441b64fa1bc1d71ca086dbb3a01665a59a694 | 1,407 | py | Python | InvenTree/label/migrations/0006_auto_20210222_1535.py | inmys/InvenTree | a0d1622926ba9a13839adfe64a8fe21c073692f2 | [
"MIT"
] | 656 | 2017-03-29T22:06:14.000Z | 2022-03-30T11:23:52.000Z | InvenTree/label/migrations/0006_auto_20210222_1535.py | inmys/InvenTree | a0d1622926ba9a13839adfe64a8fe21c073692f2 | [
"MIT"
] | 1,545 | 2017-04-10T23:26:04.000Z | 2022-03-31T18:32:10.000Z | InvenTree/label/migrations/0006_auto_20210222_1535.py | fablabbcn/InvenTree | 1d7ea7716cc96c6ffd151c822b01cd1fb5dcfecd | [
"MIT"
] | 196 | 2017-03-28T03:06:21.000Z | 2022-03-28T11:53:29.000Z | # Generated by Django 3.0.7 on 2021-02-22 04:35
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('label', '0005_auto_20210113_2302'),
]
operations = [
migrations.AddField(
model_name='stockitemlab... | 40.2 | 177 | 0.647477 | 149 | 1,407 | 6.013423 | 0.322148 | 0.055804 | 0.111607 | 0.120536 | 0.805804 | 0.805804 | 0.74442 | 0.674107 | 0.674107 | 0.674107 | 0 | 0.039413 | 0.224591 | 1,407 | 34 | 178 | 41.382353 | 0.781852 | 0.031983 | 0 | 0.714286 | 1 | 0 | 0.198529 | 0.016912 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.178571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ea6ecd47d91d68956fbce6dfdf3cf2dd07b1da36 | 68 | py | Python | endaq/ide/__init__.py | MideTechnology/endaq-python-ide | c70027b748afcf05b02b5b5dbfc21fb628dd7396 | [
"MIT"
] | 5 | 2021-12-02T04:41:52.000Z | 2022-02-01T19:44:41.000Z | endaq/ide/__init__.py | MideTechnology/endaq-python | a878efdd65f718c1324d92d467b19fd3b4142cd0 | [
"MIT"
] | 136 | 2021-09-28T17:45:20.000Z | 2022-03-30T11:35:15.000Z | endaq/ide/__init__.py | MideTechnology/endaq-python-ide | c70027b748afcf05b02b5b5dbfc21fb628dd7396 | [
"MIT"
] | 2 | 2021-11-08T19:22:17.000Z | 2021-12-15T20:25:04.000Z | from .files import *
from .info import *
from .measurement import *
| 17 | 26 | 0.735294 | 9 | 68 | 5.555556 | 0.555556 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 68 | 3 | 27 | 22.666667 | 0.892857 | 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 |
578fdb0a033e6cdfe84fbd4f0f85a02d5f5fc5b9 | 46 | py | Python | src/mock_api/main.py | AlTosterino/MockAPI | baa86d311c4f4c1b516077ef236b1d4c84e5785e | [
"MIT"
] | null | null | null | src/mock_api/main.py | AlTosterino/MockAPI | baa86d311c4f4c1b516077ef236b1d4c84e5785e | [
"MIT"
] | null | null | null | src/mock_api/main.py | AlTosterino/MockAPI | baa86d311c4f4c1b516077ef236b1d4c84e5785e | [
"MIT"
] | null | null | null | def main() -> None:
print("Main invoked")
| 15.333333 | 25 | 0.586957 | 6 | 46 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 2 | 26 | 23 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
579dbec0f803f087d1bb6be7bb6f3659e9e55cc7 | 35 | py | Python | scout/parse/variant/__init__.py | gmc-norr/scout | ea8eaaa079c63e4033af6216ec08da4a314f9b5c | [
"BSD-3-Clause"
] | 111 | 2015-01-15T11:53:20.000Z | 2022-03-26T19:55:24.000Z | scout/parse/variant/__init__.py | gmc-norr/scout | ea8eaaa079c63e4033af6216ec08da4a314f9b5c | [
"BSD-3-Clause"
] | 2,995 | 2015-01-15T16:14:20.000Z | 2022-03-31T13:36:32.000Z | scout/parse/variant/__init__.py | gmc-norr/scout | ea8eaaa079c63e4033af6216ec08da4a314f9b5c | [
"BSD-3-Clause"
] | 55 | 2015-05-31T19:09:49.000Z | 2021-11-01T10:50:31.000Z | from .variant import parse_variant
| 17.5 | 34 | 0.857143 | 5 | 35 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 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 |
57ad1d099f9796ec1666c48fe744e73cd8e34507 | 549 | py | Python | spec/fixtures/country-codes/scripts/reorder_columns.py | mode/data_package | c8f7247e820e34e0583856bf0ce35afe40586786 | [
"MIT"
] | null | null | null | spec/fixtures/country-codes/scripts/reorder_columns.py | mode/data_package | c8f7247e820e34e0583856bf0ce35afe40586786 | [
"MIT"
] | null | null | null | spec/fixtures/country-codes/scripts/reorder_columns.py | mode/data_package | c8f7247e820e34e0583856bf0ce35afe40586786 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# vim: ai ts=4 sts=4 et sw=4
import subprocess
subprocess.call('csvcut -c "name","name_fr","ISO3166-1-Alpha-2","ISO3166-1-Alpha-3","ISO3166-1-numeric","ITU","MARC","WMO","DS","Dial","FIFA","FIPS","GAUL","IOC","currency_alphabetic_code","currency_country_name","currency_mi... | 61 | 363 | 0.735883 | 86 | 549 | 4.569767 | 0.593023 | 0.111959 | 0.16285 | 0.096692 | 0.142494 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040385 | 0.052823 | 549 | 8 | 364 | 68.625 | 0.715385 | 0.125683 | 0 | 0 | 0 | 0.333333 | 0.81761 | 0.779874 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
57bb563d0da08bac16d19f343a02825332dc95b8 | 127 | py | Python | projects/py/projects/__init__.py | gdhungana/project_mis | dfd9612a05fb07237387d98597f73ba6014bf9d5 | [
"MIT"
] | null | null | null | projects/py/projects/__init__.py | gdhungana/project_mis | dfd9612a05fb07237387d98597f73ba6014bf9d5 | [
"MIT"
] | null | null | null | projects/py/projects/__init__.py | gdhungana/project_mis | dfd9612a05fb07237387d98597f73ba6014bf9d5 | [
"MIT"
] | null | null | null | # help with 2to3 support.
from __future__ import absolute_import, division, print_function
#from ._version import __version__
| 25.4 | 64 | 0.826772 | 16 | 127 | 5.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018018 | 0.125984 | 127 | 4 | 65 | 31.75 | 0.828829 | 0.440945 | 0 | 0 | 0 | 0 | 0 | 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 |
57d296651d23c73ae1525406d07cb7945a54129f | 171 | py | Python | bert/huggingface_konlpy/huggingface_konlpy/__init__.py | ejpark78/codelab | c2e533f9b8988ecb7f9ace3d7305d252a6b5a0d9 | [
"Apache-2.0"
] | 1 | 2022-02-03T04:22:36.000Z | 2022-02-03T04:22:36.000Z | bert/huggingface_konlpy/huggingface_konlpy/__init__.py | ejpark78/codelab | c2e533f9b8988ecb7f9ace3d7305d252a6b5a0d9 | [
"Apache-2.0"
] | null | null | null | bert/huggingface_konlpy/huggingface_konlpy/__init__.py | ejpark78/codelab | c2e533f9b8988ecb7f9ace3d7305d252a6b5a0d9 | [
"Apache-2.0"
] | null | null | null | from .about import __author__
from .about import __version__
from . import tokenizers_konlpy
from . import transformers_konlpy
from .utils import compose, get_tokenizer
| 21.375 | 41 | 0.830409 | 22 | 171 | 5.954545 | 0.545455 | 0.137405 | 0.229008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134503 | 171 | 7 | 42 | 24.428571 | 0.885135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
57e57fdf8b53bf3324eed8fedfaa2f740db630a5 | 147 | py | Python | sciencer/utils/__init__.py | SciencerIO/sciencer-toolkit | f17c4a5dfb6cc5dbabefe03b13eb1e5345f7b1b9 | [
"MIT"
] | 2 | 2022-03-28T17:27:21.000Z | 2022-03-29T22:27:15.000Z | sciencer/utils/__init__.py | SciencerIO/sciencer-toolkit | f17c4a5dfb6cc5dbabefe03b13eb1e5345f7b1b9 | [
"MIT"
] | null | null | null | sciencer/utils/__init__.py | SciencerIO/sciencer-toolkit | f17c4a5dfb6cc5dbabefe03b13eb1e5345f7b1b9 | [
"MIT"
] | 1 | 2022-03-28T14:47:53.000Z | 2022-03-28T14:47:53.000Z | """Utilities for Sciencer toolkit
"""
from .csv_callback import WriteToCSVCallbacks
from .history_callback import HistoryCallbacks, HistoryLog
| 29.4 | 59 | 0.816327 | 15 | 147 | 7.866667 | 0.8 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 147 | 4 | 60 | 36.75 | 0.914729 | 0.204082 | 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 |
17ae4db2fd4d991ade941b3b93c4f6cb0c3ef2c1 | 6,221 | py | Python | pfhedge/stochastic/brownian.py | YieldLabs/pfhedge | a5ba9d054a8418cb8b27bb67d81a8fc8fb83ef57 | [
"MIT"
] | null | null | null | pfhedge/stochastic/brownian.py | YieldLabs/pfhedge | a5ba9d054a8418cb8b27bb67d81a8fc8fb83ef57 | [
"MIT"
] | null | null | null | pfhedge/stochastic/brownian.py | YieldLabs/pfhedge | a5ba9d054a8418cb8b27bb67d81a8fc8fb83ef57 | [
"MIT"
] | null | null | null | from typing import Callable
from typing import Optional
from typing import Tuple
from typing import Union
from typing import cast
import torch
from torch import Tensor
from pfhedge._utils.typing import TensorOrScalar
from ._utils import cast_state
def generate_brownian(
n_paths: int,
n_steps: int,
init... | 38.401235 | 87 | 0.613245 | 847 | 6,221 | 4.430933 | 0.161747 | 0.026379 | 0.023448 | 0.023981 | 0.813216 | 0.81295 | 0.801759 | 0.801492 | 0.78737 | 0.759392 | 0 | 0.035533 | 0.271661 | 6,221 | 161 | 88 | 38.639752 | 0.792761 | 0.660344 | 0 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.166667 | 0 | 0.240741 | 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 |
17ea20ef0c86efc921ced747d0c09c306f346c50 | 211 | py | Python | dataherb/cmd/sync_s3.py | DataHerb/dataherb-python | 91f2787eabb450d653b0b9dbc9bb78980d13460f | [
"MIT"
] | 4 | 2021-08-08T21:31:40.000Z | 2022-02-11T03:13:47.000Z | dataherb/cmd/sync_s3.py | DataHerb/dataherb-python | 91f2787eabb450d653b0b9dbc9bb78980d13460f | [
"MIT"
] | 9 | 2020-03-15T15:38:46.000Z | 2021-11-04T08:23:43.000Z | dataherb/cmd/sync_s3.py | DataHerb/dataherb-python | 91f2787eabb450d653b0b9dbc9bb78980d13460f | [
"MIT"
] | 2 | 2020-03-23T17:00:23.000Z | 2021-08-06T00:03:18.000Z | from dataherb.utils.awscli import aws_cli as _aws_cli
def upload_dataset_to_s3(source, target):
"""
upload_dataset_to_s3 uploads the dataset to S3
"""
_aws_cli(("s3", "sync", source, target))
| 21.1 | 53 | 0.701422 | 32 | 211 | 4.28125 | 0.5625 | 0.131387 | 0.240876 | 0.248175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023392 | 0.189573 | 211 | 9 | 54 | 23.444444 | 0.777778 | 0.218009 | 0 | 0 | 0 | 0 | 0.040268 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
17ffeccafc15a9d2f7e8c9db0212ecd4bca90aba | 48 | py | Python | helper3.py | bvt2nc/cs3240-labdemo | 76cb93a98daf8b1934b6faaf1e641e2380235736 | [
"MIT"
] | null | null | null | helper3.py | bvt2nc/cs3240-labdemo | 76cb93a98daf8b1934b6faaf1e641e2380235736 | [
"MIT"
] | null | null | null | helper3.py | bvt2nc/cs3240-labdemo | 76cb93a98daf8b1934b6faaf1e641e2380235736 | [
"MIT"
] | null | null | null | def greeting3(msg):
print("Greeting3: " + msg)
| 16 | 27 | 0.666667 | 6 | 48 | 5.333333 | 0.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.145833 | 48 | 2 | 28 | 24 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a4dd6fce7fe6926e934bfdfd7118de36ab14a9d6 | 146 | py | Python | pokemongo_bot/event_handlers/__init__.py | PokePy/-PokemonGo-Bot | aaa5519291b45b5817cb38d3b5a60e5b08719a76 | [
"MIT"
] | 2 | 2018-11-27T06:02:24.000Z | 2019-12-31T19:10:32.000Z | pokemongo_bot/event_handlers/__init__.py | PokePy/-PokemonGo-Bot | aaa5519291b45b5817cb38d3b5a60e5b08719a76 | [
"MIT"
] | 1 | 2018-10-28T04:50:46.000Z | 2018-10-28T04:50:46.000Z | pokemongo_bot/event_handlers/__init__.py | PokePy/-PokemonGo-Bot | aaa5519291b45b5817cb38d3b5a60e5b08719a76 | [
"MIT"
] | null | null | null | from logging_handler import LoggingHandler
from socketio_handler import SocketIoHandler
from colored_logging_handler import ColoredLoggingHandler
| 36.5 | 57 | 0.917808 | 16 | 146 | 8.125 | 0.5625 | 0.3 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 146 | 3 | 58 | 48.666667 | 0.970149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
352ed114bf17652dcf1adbc12f39868a1143db32 | 132 | py | Python | src/__init__.py | ValeKnappich/sparsification | 5c921d812e6a3899ca80678225ada758dea66d6b | [
"Unlicense",
"MIT"
] | null | null | null | src/__init__.py | ValeKnappich/sparsification | 5c921d812e6a3899ca80678225ada758dea66d6b | [
"Unlicense",
"MIT"
] | null | null | null | src/__init__.py | ValeKnappich/sparsification | 5c921d812e6a3899ca80678225ada758dea66d6b | [
"Unlicense",
"MIT"
] | null | null | null | import src.callbacks # noqa
import src.datamodules # noqa
import src.models # noqa
import src.utils # noqa
import src.ui # noqa | 26.4 | 30 | 0.742424 | 20 | 132 | 4.9 | 0.4 | 0.459184 | 0.530612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 132 | 5 | 31 | 26.4 | 0.907407 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
10b05190aecd154f745b6206c72aa899eec3fcd4 | 174 | py | Python | Django_Typescript_React_Workflow/backend/views.py | lit26/Django_React_Workflow | 564dfc0690940938b07b08ea25f712f120f8a2dd | [
"MIT"
] | null | null | null | Django_Typescript_React_Workflow/backend/views.py | lit26/Django_React_Workflow | 564dfc0690940938b07b08ea25f712f120f8a2dd | [
"MIT"
] | null | null | null | Django_Typescript_React_Workflow/backend/views.py | lit26/Django_React_Workflow | 564dfc0690940938b07b08ea25f712f120f8a2dd | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def main_view(request):
return HttpResponse('<h1>Hello Backend.</h1>') | 29 | 50 | 0.775862 | 24 | 174 | 5.583333 | 0.791667 | 0.149254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.126437 | 174 | 6 | 50 | 29 | 0.868421 | 0.132184 | 0 | 0 | 0 | 0 | 0.153333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
10b576a9d108d4f115594066504401450044906c | 215 | py | Python | tccli/services/tione/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | tccli/services/tione/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | tccli/services/tione/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from tccli.services.tione.tione_client import register_arg
from tccli.services.tione.tione_client import get_actions_info
from tccli.services.tione.tione_client import AVAILABLE_VERSION_LIST
| 43 | 68 | 0.837209 | 32 | 215 | 5.375 | 0.53125 | 0.156977 | 0.296512 | 0.383721 | 0.680233 | 0.680233 | 0.680233 | 0 | 0 | 0 | 0 | 0.005051 | 0.07907 | 215 | 4 | 69 | 53.75 | 0.863636 | 0.097674 | 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 |
52f3b3ed7ab59ed473ef0bce18feaf9d995802cf | 232 | py | Python | tests/requests_client/RequestsFutureAdapter/conftest.py | andriis/bravado | 0d2ef182df4eb38641282e2f839c4dc813ee4349 | [
"BSD-3-Clause"
] | null | null | null | tests/requests_client/RequestsFutureAdapter/conftest.py | andriis/bravado | 0d2ef182df4eb38641282e2f839c4dc813ee4349 | [
"BSD-3-Clause"
] | null | null | null | tests/requests_client/RequestsFutureAdapter/conftest.py | andriis/bravado | 0d2ef182df4eb38641282e2f839c4dc813ee4349 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
from mock import Mock
from requests.sessions import Session
@pytest.fixture
def request():
return Mock(url='http://foo.com')
@pytest.fixture
def session():
return Mock(spec=Session)
| 15.466667 | 37 | 0.702586 | 32 | 232 | 5.09375 | 0.59375 | 0.159509 | 0.196319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005128 | 0.159483 | 232 | 14 | 38 | 16.571429 | 0.830769 | 0.090517 | 0 | 0.222222 | 0 | 0 | 0.066986 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.333333 | 0.222222 | 0.777778 | 0 | 0 | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
5e1fdf3568eb3a8c12188df6bf9d6b97f7289bae | 144 | py | Python | src/Util/util.py | ZingLix/alala_chan | b85633ee0e0b9aa32f238354a750ceed1ab85388 | [
"MIT"
] | null | null | null | src/Util/util.py | ZingLix/alala_chan | b85633ee0e0b9aa32f238354a750ceed1ab85388 | [
"MIT"
] | null | null | null | src/Util/util.py | ZingLix/alala_chan | b85633ee0e0b9aa32f238354a750ceed1ab85388 | [
"MIT"
] | null | null | null | from typing import TYPE_CHECKING
if TYPE_CHECKING:
from dataclasses import dataclass
else:
def dataclass(model):
return model
| 16 | 37 | 0.736111 | 18 | 144 | 5.777778 | 0.666667 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229167 | 144 | 8 | 38 | 18 | 0.936937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
eac3dcc5ae6e18cf193bebc5d1e36b3a6d3ffff7 | 4,961 | py | Python | isah-backend/handler.py | tanmaysinghal98/istayathome | c89d09caccad83da911dec750ef35a28476cab9f | [
"MIT"
] | 2 | 2020-09-19T19:48:34.000Z | 2020-09-20T10:31:04.000Z | isah-backend/handler.py | tanmaysinghal98/istayathome | c89d09caccad83da911dec750ef35a28476cab9f | [
"MIT"
] | 2 | 2022-02-19T06:23:05.000Z | 2022-02-27T10:08:54.000Z | isah-backend/handler.py | tanmaysinghal98/istayathome | c89d09caccad83da911dec750ef35a28476cab9f | [
"MIT"
] | 1 | 2020-09-20T10:31:06.000Z | 2020-09-20T10:31:06.000Z | import json
import auth
import user
import challenge
import image_upload
import image_process
import image_download
def get_users(event, context):
print(event)
user_id = auth.get_cookie_value(event['headers'])
if user_id is None:
body = user.create_user()
else:
body = user.get_user(use... | 29.182353 | 79 | 0.572667 | 520 | 4,961 | 5.301923 | 0.107692 | 0.094305 | 0.130577 | 0.10156 | 0.82626 | 0.792891 | 0.782372 | 0.782372 | 0.782372 | 0.782372 | 0 | 0.008559 | 0.293489 | 4,961 | 169 | 80 | 29.35503 | 0.778031 | 0.169321 | 0 | 0.623077 | 0 | 0 | 0.212558 | 0.12558 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053846 | false | 0 | 0.053846 | 0 | 0.169231 | 0.038462 | 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 |
dc201fe2f0a5da9ed10a3cbe8b675c3a3abb804a | 3,110 | py | Python | fabtools/tests/functional_tests/test_apt_key.py | timgates42/fabtools | 5fdc7174c3fae5e93a16d677d0466f41dc2be175 | [
"BSD-2-Clause"
] | 308 | 2015-01-03T20:05:22.000Z | 2016-10-02T07:39:33.000Z | fabtools/tests/functional_tests/test_apt_key.py | timgates42/fabtools | 5fdc7174c3fae5e93a16d677d0466f41dc2be175 | [
"BSD-2-Clause"
] | 97 | 2016-10-06T15:42:34.000Z | 2020-01-27T15:33:46.000Z | fabtools/tests/functional_tests/test_apt_key.py | timgates42/fabtools | 5fdc7174c3fae5e93a16d677d0466f41dc2be175 | [
"BSD-2-Clause"
] | 62 | 2015-01-03T21:16:46.000Z | 2016-09-09T00:39:05.000Z | import pytest
from fabric.api import run
from fabtools.utils import run_as_root
pytestmark = pytest.mark.network
@pytest.fixture(scope='module', autouse=True)
def check_for_debian_family():
from fabtools.system import distrib_family
if distrib_family() != 'debian':
pytest.skip("Skipping apt-key te... | 34.175824 | 98 | 0.702572 | 485 | 3,110 | 4.251546 | 0.138144 | 0.093113 | 0.0742 | 0.093113 | 0.853055 | 0.853055 | 0.853055 | 0.853055 | 0.844811 | 0.835112 | 0 | 0.015668 | 0.1791 | 3,110 | 90 | 99 | 34.555556 | 0.792009 | 0 | 0 | 0.632353 | 0 | 0.044118 | 0.333762 | 0.050161 | 0 | 0 | 0 | 0 | 0 | 1 | 0.132353 | false | 0 | 0.176471 | 0 | 0.308824 | 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 |
dc4b32b01de50e2ed1ed1973a95e62399500c5e5 | 35 | py | Python | PycharmProjects/VanillaGAN/train/__init__.py | annusgit/Forest-Cover-Change-Detection | 2aa16aa9f6d668f5ad44ff5dc4643a70581cd714 | [
"MIT"
] | 3 | 2018-12-17T09:58:31.000Z | 2021-01-30T16:44:09.000Z | PycharmProjects/VanillaGAN/train/__init__.py | annusgit/Forest-Cover-Change-Detection | 2aa16aa9f6d668f5ad44ff5dc4643a70581cd714 | [
"MIT"
] | null | null | null | PycharmProjects/VanillaGAN/train/__init__.py | annusgit/Forest-Cover-Change-Detection | 2aa16aa9f6d668f5ad44ff5dc4643a70581cd714 | [
"MIT"
] | 2 | 2019-02-18T16:17:06.000Z | 2020-02-24T06:32:34.000Z |
from training_functions import *
| 8.75 | 32 | 0.8 | 4 | 35 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 3 | 33 | 11.666667 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc5d938fa0eec35f41b9abd43759e18017494faf | 156 | py | Python | set.py | hu-xiang-yang/python-code | d2200138311e1514a97d60796d63c2e64f8aa9e3 | [
"Unlicense"
] | null | null | null | set.py | hu-xiang-yang/python-code | d2200138311e1514a97d60796d63c2e64f8aa9e3 | [
"Unlicense"
] | null | null | null | set.py | hu-xiang-yang/python-code | d2200138311e1514a97d60796d63c2e64f8aa9e3 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
s1 = set([1, 1, 2, 2, 3, 3])
print(s1)
s2 = set([2, 3, 4])
print(s1 & s2)
print(s1 | s2)
| 15.6 | 30 | 0.448718 | 28 | 156 | 2.5 | 0.535714 | 0.3 | 0.385714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165138 | 0.301282 | 156 | 9 | 31 | 17.333333 | 0.477064 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
dca69e19cb0a32eba7b335aae6f52fa1d3227909 | 115 | py | Python | tools/pylint/__init__.py | coblee/rotki | d675f5c2d0df5176337b7b10038524ee74923482 | [
"BSD-3-Clause"
] | 137 | 2018-03-05T11:53:29.000Z | 2019-11-03T16:38:42.000Z | tools/pylint/__init__.py | coblee/rotki | d675f5c2d0df5176337b7b10038524ee74923482 | [
"BSD-3-Clause"
] | 385 | 2018-03-08T12:43:41.000Z | 2019-11-10T09:15:36.000Z | tools/pylint/__init__.py | coblee/rotki | d675f5c2d0df5176337b7b10038524ee74923482 | [
"BSD-3-Clause"
] | 59 | 2018-03-08T10:08:27.000Z | 2019-10-26T11:30:44.000Z | from .log_checker import LogNokwargsChecker # noqa: F401
from .not_checker import NotBooleanChecker # noqa: F401
| 38.333333 | 57 | 0.808696 | 14 | 115 | 6.5 | 0.642857 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.13913 | 115 | 2 | 58 | 57.5 | 0.858586 | 0.182609 | 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 |
f4a8c7fc090c3c54250efa1ad3c7cca34f660378 | 22 | py | Python | HashUtil/__init__.py | CasperTheCat/PyDeduplication | 2332d6e4bcd38a1e46840ba11cfd27577fd86200 | [
"Apache-2.0"
] | null | null | null | HashUtil/__init__.py | CasperTheCat/PyDeduplication | 2332d6e4bcd38a1e46840ba11cfd27577fd86200 | [
"Apache-2.0"
] | 2 | 2020-08-04T01:13:59.000Z | 2020-08-04T01:49:37.000Z | HashUtil/__init__.py | CasperTheCat/PyDeduplication | 2332d6e4bcd38a1e46840ba11cfd27577fd86200 | [
"Apache-2.0"
] | null | null | null | from . import HashList | 22 | 22 | 0.818182 | 3 | 22 | 6 | 1 | 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 |
f4b37d96cf0b1e6c58e7868636fa8d9463b5eddc | 25 | py | Python | arduino_yun/__init__.py | abhirocks1211/countly-sdk-iot-python | 0ccc5120661c5e356d6a569b31ba5fb135fa8efb | [
"MIT"
] | 9 | 2016-04-06T05:23:43.000Z | 2022-02-21T04:41:47.000Z | arduino_yun/__init__.py | abhirocks1211/countly-sdk-iot-python | 0ccc5120661c5e356d6a569b31ba5fb135fa8efb | [
"MIT"
] | 7 | 2016-01-07T22:09:48.000Z | 2016-02-16T12:44:09.000Z | arduino_yun/__init__.py | abhirocks1211/countly-sdk-iot-python | 0ccc5120661c5e356d6a569b31ba5fb135fa8efb | [
"MIT"
] | 11 | 2016-03-17T14:03:44.000Z | 2022-02-28T05:32:03.000Z | from arduino_yun import * | 25 | 25 | 0.84 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.