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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bc710066cef80510ad81cb68d1ed3e70cec4fc2d | 905 | py | Python | bert_e/workflow/gitwaterflow/utils.py | tcarmet/bert-e | 8e0623d9a8c7bd111790d72307862167eca18a23 | [
"Apache-2.0"
] | null | null | null | bert_e/workflow/gitwaterflow/utils.py | tcarmet/bert-e | 8e0623d9a8c7bd111790d72307862167eca18a23 | [
"Apache-2.0"
] | 35 | 2020-08-26T09:25:56.000Z | 2022-01-10T20:38:15.000Z | bert_e/workflow/gitwaterflow/utils.py | tcarmet/bert-e | 8e0623d9a8c7bd111790d72307862167eca18a23 | [
"Apache-2.0"
] | 2 | 2021-08-17T15:56:50.000Z | 2022-01-05T19:26:48.000Z |
def bypass_incompatible_branch(job):
return (job.settings.bypass_incompatible_branch or
job.author_bypass.get('bypass_incompatible_branch', False))
def bypass_peer_approval(job):
return (job.settings.bypass_peer_approval or
job.author_bypass.get('bypass_peer_approval', False))
def b... | 30.166667 | 71 | 0.742541 | 120 | 905 | 5.25 | 0.15 | 0.085714 | 0.114286 | 0.190476 | 0.571429 | 0.447619 | 0.161905 | 0 | 0 | 0 | 0 | 0 | 0.164641 | 905 | 29 | 72 | 31.206897 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.139381 | 0.077434 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 1 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
bc73bb29476960582e88da68ad24bf687cb2dd0e | 65 | py | Python | healthy_candies/load/__init__.py | striantafyllouEPFL/healthy-candies | fc7d9e05d54ba207e15d997acea44ff0bf9edb13 | [
"BSD-2-Clause"
] | 1 | 2018-11-04T21:46:29.000Z | 2018-11-04T21:46:29.000Z | healthy_candies/load/__init__.py | striantafyllouEPFL/healthy-candies | fc7d9e05d54ba207e15d997acea44ff0bf9edb13 | [
"BSD-2-Clause"
] | null | null | null | healthy_candies/load/__init__.py | striantafyllouEPFL/healthy-candies | fc7d9e05d54ba207e15d997acea44ff0bf9edb13 | [
"BSD-2-Clause"
] | null | null | null | from .load import load_data, NUTRI_COLS, load_clean_rel_to_nutri
| 32.5 | 64 | 0.861538 | 12 | 65 | 4.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 65 | 1 | 65 | 65 | 0.847458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bc8c6ccfc24c9f2c6b892349f506c390ec4d676f | 8,400 | py | Python | isiscb/curation/authority_views/relation_views.py | crispzips/IsisCB | 72f5ad47bbc2c615f995df148f5b86550835efdb | [
"MIT"
] | 4 | 2016-01-25T20:35:33.000Z | 2020-04-07T15:39:52.000Z | isiscb/curation/authority_views/relation_views.py | crispzips/IsisCB | 72f5ad47bbc2c615f995df148f5b86550835efdb | [
"MIT"
] | 41 | 2015-08-19T17:34:41.000Z | 2022-03-11T23:19:01.000Z | isiscb/curation/authority_views/relation_views.py | crispzips/IsisCB | 72f5ad47bbc2c615f995df148f5b86550835efdb | [
"MIT"
] | 2 | 2020-11-25T20:18:18.000Z | 2021-06-24T15:15:41.000Z | from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
from __future__ import unicode_literals
from django.http import HttpResponse, HttpResponseRedirect, JsonResponse, QueryDict #, HttpResponseForbidden, Http404, , JsonResponse
from django.shortcuts import get_obj... | 39.810427 | 133 | 0.68619 | 942 | 8,400 | 5.880042 | 0.138004 | 0.040621 | 0.028164 | 0.037913 | 0.753746 | 0.753746 | 0.723055 | 0.723055 | 0.686586 | 0.664921 | 0 | 0.004604 | 0.198452 | 8,400 | 210 | 134 | 40 | 0.81806 | 0.005714 | 0 | 0.700565 | 0 | 0 | 0.182014 | 0.057358 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028249 | false | 0.033898 | 0.096045 | 0 | 0.19209 | 0.00565 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bc92d9002e07294919b14cfdd4a1703514d8c845 | 53 | py | Python | server/api/src/db/migrate/versions/v_2.py | mminamina/311-data | 9a3e4dc6e14c7500fc3f75f583c7fc4b01108b29 | [
"MIT"
] | null | null | null | server/api/src/db/migrate/versions/v_2.py | mminamina/311-data | 9a3e4dc6e14c7500fc3f75f583c7fc4b01108b29 | [
"MIT"
] | null | null | null | server/api/src/db/migrate/versions/v_2.py | mminamina/311-data | 9a3e4dc6e14c7500fc3f75f583c7fc4b01108b29 | [
"MIT"
] | null | null | null |
def migrate():
print('migrating to version 2')
| 10.6 | 35 | 0.641509 | 7 | 53 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.226415 | 53 | 4 | 36 | 13.25 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0.431373 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
bcb5f8a3494a7c1dd73bdaa2595e97b680531db5 | 256 | py | Python | Notebooks/SentinelUtilities/SentinelAnomalyLookup/__init__.py | ytognder/Azure-Sentinel | 7345560f178e731d7ba5a5541fd3383bca285311 | [
"MIT"
] | 266 | 2019-10-18T00:41:39.000Z | 2022-03-18T05:44:01.000Z | Notebooks/SentinelUtilities/SentinelAnomalyLookup/__init__.py | ytognder/Azure-Sentinel | 7345560f178e731d7ba5a5541fd3383bca285311 | [
"MIT"
] | 113 | 2020-03-10T16:56:10.000Z | 2022-03-28T21:54:26.000Z | Notebooks/SentinelUtilities/SentinelAnomalyLookup/__init__.py | ytognder/Azure-Sentinel | 7345560f178e731d7ba5a5541fd3383bca285311 | [
"MIT"
] | 93 | 2020-01-07T20:28:43.000Z | 2022-03-23T04:09:39.000Z | # pylint: disable-msg=C0103
"""
SentinelAnomalyLookup: This package is developed for Azure Sentinel Anomaly lookup
"""
# __init__.py
from .anomaly_lookup_view_helper import AnomalyLookupViewHelper
from .anomaly_finder import AnomalyQueries, AnomalyFinder
| 28.444444 | 82 | 0.832031 | 29 | 256 | 7.068966 | 0.827586 | 0.126829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017467 | 0.105469 | 256 | 8 | 83 | 32 | 0.877729 | 0.472656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bcfa0b019701139c1bd20ee0f0d8361e7deda90e | 90 | py | Python | Ad-Hoc/2454.py | LorranSutter/URI-Online-Judge | aef885b9a7caa83484cf172e29eea8ec92fc3627 | [
"MIT"
] | null | null | null | Ad-Hoc/2454.py | LorranSutter/URI-Online-Judge | aef885b9a7caa83484cf172e29eea8ec92fc3627 | [
"MIT"
] | null | null | null | Ad-Hoc/2454.py | LorranSutter/URI-Online-Judge | aef885b9a7caa83484cf172e29eea8ec92fc3627 | [
"MIT"
] | null | null | null | P, R = input().split()
if P == '0': print('C')
elif R == '0': print('B')
else: print('A') | 18 | 25 | 0.488889 | 17 | 90 | 2.588235 | 0.705882 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.177778 | 90 | 5 | 26 | 18 | 0.567568 | 0 | 0 | 0 | 0 | 0 | 0.054945 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.75 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
4c16fb50407c0d81665fb35d2265d078805475a6 | 6,185 | py | Python | tensorflow/contrib/metrics/__init__.py | DEVESHTARASIA/tensorflow | d3edb8c60ed4fd831d62833ed22f5c23486c561c | [
"Apache-2.0"
] | 384 | 2017-02-21T18:38:04.000Z | 2022-02-22T07:30:25.000Z | tensorflow/contrib/metrics/__init__.py | ChenAugustus/tensorflow | 5828e285209ff8c3d1bef2e4bd7c55ca611080d5 | [
"Apache-2.0"
] | 15 | 2017-03-01T20:18:43.000Z | 2020-05-07T10:33:51.000Z | udacity-car/lib/python2.7/site-packages/tensorflow/contrib/metrics/__init__.py | 808brick/CarND-Capstone | f9e536b4a9d96322d7e971073602c8969dbd9369 | [
"MIT"
] | 81 | 2017-02-21T19:31:19.000Z | 2022-02-22T07:30:24.000Z | # Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 51.97479 | 104 | 0.864834 | 850 | 6,185 | 5.967059 | 0.165882 | 0.124211 | 0.182177 | 0.242902 | 0.662855 | 0.615931 | 0.589511 | 0.563289 | 0.563289 | 0.560923 | 0 | 0.001375 | 0.059499 | 6,185 | 118 | 105 | 52.415254 | 0.870552 | 0.344705 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.979592 | 0 | 0.979592 | 0.020408 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4c30fdedde14a46b90015527caf9d689634cdfab | 6,504 | py | Python | apps/proportions.py | harmkenn/PST_Deploy_Test | 2484acf13f1f998c98fa94fad98c1f75c27d292b | [
"MIT"
] | null | null | null | apps/proportions.py | harmkenn/PST_Deploy_Test | 2484acf13f1f998c98fa94fad98c1f75c27d292b | [
"MIT"
] | null | null | null | apps/proportions.py | harmkenn/PST_Deploy_Test | 2484acf13f1f998c98fa94fad98c1f75c27d292b | [
"MIT"
] | null | null | null | import streamlit as st
import math
from scipy.stats import *
import pandas as pd
import numpy as np
from plotnine import *
def app():
# title of the app
st.subheader("Proportions")
st.sidebar.subheader("Proportion Settings")
prop_choice = st.sidebar.radio("",["One Proportion","Two Proportions"])
... | 48.177778 | 207 | 0.482934 | 901 | 6,504 | 3.407325 | 0.154273 | 0.045603 | 0.072964 | 0.114658 | 0.791857 | 0.7557 | 0.7557 | 0.737459 | 0.723127 | 0.723127 | 0 | 0.033034 | 0.348401 | 6,504 | 134 | 208 | 48.537313 | 0.69042 | 0.00246 | 0 | 0.688 | 0 | 0 | 0.100062 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008 | false | 0 | 0.048 | 0 | 0.056 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4c3c325909dda45d25ada2b46ed9a46e19b99dfc | 4,154 | py | Python | temporal_transforms.py | LijiangLong/3D-ResNets-PyTorch | 89d2cba0b52d55aaa834635a81c172bc38771cd3 | [
"MIT"
] | null | null | null | temporal_transforms.py | LijiangLong/3D-ResNets-PyTorch | 89d2cba0b52d55aaa834635a81c172bc38771cd3 | [
"MIT"
] | null | null | null | temporal_transforms.py | LijiangLong/3D-ResNets-PyTorch | 89d2cba0b52d55aaa834635a81c172bc38771cd3 | [
"MIT"
] | null | null | null | import random
import math
class LoopPadding(object):
def __init__(self, size):
self.size = size
def __call__(self, frame_indices):
out = frame_indices
for index in out:
if len(out) >= self.size:
break
out.append(index)
return out
cl... | 26.974026 | 115 | 0.590515 | 547 | 4,154 | 4.323583 | 0.155393 | 0.157294 | 0.027907 | 0.040592 | 0.771247 | 0.741226 | 0.731078 | 0.731078 | 0.715011 | 0.678647 | 0 | 0.017687 | 0.319451 | 4,154 | 154 | 116 | 26.974026 | 0.818889 | 0.314877 | 0 | 0.661972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 1 | 0.169014 | false | 0 | 0.028169 | 0 | 0.366197 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d5b2899060598acf5361fb2c9db968e61435c9da | 2,181 | py | Python | env/lib/python3.6/site-packages/odf/meta.py | anthowen/duplify | 846d01c1b21230937fdf0281b0cf8c0b08a8c24e | [
"MIT"
] | 5,079 | 2015-01-01T03:39:46.000Z | 2022-03-31T07:38:22.000Z | env/lib/python3.6/site-packages/odf/meta.py | anthowen/duplify | 846d01c1b21230937fdf0281b0cf8c0b08a8c24e | [
"MIT"
] | 1,623 | 2015-01-01T08:06:24.000Z | 2022-03-30T19:48:52.000Z | env/lib/python3.6/site-packages/odf/meta.py | anthowen/duplify | 846d01c1b21230937fdf0281b0cf8c0b08a8c24e | [
"MIT"
] | 2,033 | 2015-01-04T07:18:02.000Z | 2022-03-28T19:55:47.000Z | # -*- coding: utf-8 -*-
# Copyright (C) 2006-2007 Søren Roug, European Environment Agency
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at you... | 32.073529 | 80 | 0.707474 | 285 | 2,181 | 5.414035 | 0.477193 | 0.117952 | 0.163318 | 0.217758 | 0.309786 | 0.110175 | 0.04407 | 0 | 0 | 0 | 0 | 0.011931 | 0.154516 | 2,181 | 67 | 81 | 32.552239 | 0.824837 | 0.374599 | 0 | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.451613 | true | 0 | 0.064516 | 0.419355 | 0.967742 | 0.064516 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
d5b8367e1c83c38e170646eb1abb34d55d607542 | 240 | py | Python | invert-binary-tree/invert-binary-tree.py | Atri10/Leet-code---Atri_Patel | 49fc59b9147a44ab04a66128fbb2ef259b5f7b7c | [
"MIT"
] | 1 | 2021-10-10T20:21:18.000Z | 2021-10-10T20:21:18.000Z | invert-binary-tree/invert-binary-tree.py | Atri10/Leet-code---Atri_Patel | 49fc59b9147a44ab04a66128fbb2ef259b5f7b7c | [
"MIT"
] | null | null | null | invert-binary-tree/invert-binary-tree.py | Atri10/Leet-code---Atri_Patel | 49fc59b9147a44ab04a66128fbb2ef259b5f7b7c | [
"MIT"
] | null | null | null | class Solution:
def invertTree(self, root: Optional[TreeNode]) -> Optional[TreeNode]:
if root:
root.left,root.right = self.invertTree(root.right),self.invertTree(root.left)
return root
return None | 40 | 89 | 0.641667 | 28 | 240 | 5.5 | 0.464286 | 0.207792 | 0.168831 | 0.298701 | 0.324675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 240 | 6 | 90 | 40 | 0.855556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
d5c051b72ce68a91896ab21b2fd4b6e93e7e9a10 | 174 | py | Python | SG_GetDataForClassifier.py | shubha1593/MovieReviewAnalysis | c485eea0c8b35e554027cce7a431212b406e672c | [
"MIT"
] | 7 | 2015-04-01T12:41:55.000Z | 2019-08-01T18:13:56.000Z | SG_GetDataForClassifier.py | shubha1593/MovieReviewAnalysis | c485eea0c8b35e554027cce7a431212b406e672c | [
"MIT"
] | null | null | null | SG_GetDataForClassifier.py | shubha1593/MovieReviewAnalysis | c485eea0c8b35e554027cce7a431212b406e672c | [
"MIT"
] | null | null | null | from SG_GetFeatureMatrix import *
from SG_VectorY import *
featureMatrix = featureMatrixFromReviews()
Y = getYVector()
def getDataForClassifier() :
return featureMatrix, Y | 21.75 | 42 | 0.804598 | 17 | 174 | 8.117647 | 0.705882 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 174 | 8 | 43 | 21.75 | 0.907895 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
d5d747b80a8ea5e6c6c092c35a44d7f1c0635eb8 | 117 | py | Python | music_api/apps/music_app/admin.py | fejiroofficial/Simple_music | 2dd9dcf8e5c7374e29dcf96987c053eebf1cba2a | [
"MIT"
] | null | null | null | music_api/apps/music_app/admin.py | fejiroofficial/Simple_music | 2dd9dcf8e5c7374e29dcf96987c053eebf1cba2a | [
"MIT"
] | 8 | 2019-12-04T23:40:12.000Z | 2022-02-10T07:58:28.000Z | music_api/apps/music_app/admin.py | fejiroofficial/simple_music | 2dd9dcf8e5c7374e29dcf96987c053eebf1cba2a | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Songs
admin.site.register(Songs)
# Register your models here.
| 16.714286 | 32 | 0.794872 | 17 | 117 | 5.470588 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 117 | 6 | 33 | 19.5 | 0.920792 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d5ecb68fc8ba51b00e1a946759c8f1a77d41211f | 1,635 | py | Python | RunIt/airt/poker_cards.py | antx-code/funcode | a8a9b99274e169562771b488a3a9551277ef4b99 | [
"MIT"
] | 3 | 2021-09-27T08:07:07.000Z | 2022-03-11T04:46:30.000Z | RunIt/airt/poker_cards.py | antx-code/funcode | a8a9b99274e169562771b488a3a9551277ef4b99 | [
"MIT"
] | null | null | null | RunIt/airt/poker_cards.py | antx-code/funcode | a8a9b99274e169562771b488a3a9551277ef4b99 | [
"MIT"
] | null | null | null | # Square 方片 => sq => RGB蓝色(Blue)
# Plum 梅花 => pl => RGB绿色(Green)
# Spade 黑桃 => sp => RGB黑色(Black)
# Heart 红桃 => he => RGB红色(Red)
init_poker = {
'local': {
'head': [-1, -1, -1],
'mid': [-1, -1, -1, -1, -1],
'tail': [-1, -1, -1, -1, -1],
'drop': [-1, -1... | 14.469027 | 40 | 0.263609 | 227 | 1,635 | 1.889868 | 0.38326 | 0.20979 | 0.20979 | 0.13986 | 0.272727 | 0.272727 | 0.272727 | 0.272727 | 0.272727 | 0.272727 | 0 | 0.22103 | 0.429969 | 1,635 | 112 | 41 | 14.598214 | 0.23927 | 0.107645 | 0 | 0.153061 | 0 | 0 | 0.10069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d5fc2fcc2b0439d566be57074eaeae0f3e82e072 | 129 | py | Python | deepa2/preptrain/__init__.py | debatelab/deepa2 | 1a9e8c357d7e3924808c703ec9f4a6611a4b5f93 | [
"Apache-2.0"
] | null | null | null | deepa2/preptrain/__init__.py | debatelab/deepa2 | 1a9e8c357d7e3924808c703ec9f4a6611a4b5f93 | [
"Apache-2.0"
] | null | null | null | deepa2/preptrain/__init__.py | debatelab/deepa2 | 1a9e8c357d7e3924808c703ec9f4a6611a4b5f93 | [
"Apache-2.0"
] | null | null | null | """Preprocessing DeepA2 datasets for LM training"""
# flake8: noqa
from deepa2.preptrain.t2tpreprocessor import T2TPreprocessor
| 25.8 | 60 | 0.813953 | 14 | 129 | 7.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.108527 | 129 | 4 | 61 | 32.25 | 0.869565 | 0.457364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
910239e4d64bcd7a23fd58a2e98cbfc09b91c703 | 65 | py | Python | IsraeliQueue/__init__.py | YonLiud/Israeli-Queue | 53e14e68701c06efdd23ba6584a2e8a561e60cd9 | [
"MIT"
] | 2 | 2021-06-20T23:47:58.000Z | 2021-06-28T19:15:41.000Z | IsraeliQueue/__init__.py | YonLiud/Israeli-Queue | 53e14e68701c06efdd23ba6584a2e8a561e60cd9 | [
"MIT"
] | null | null | null | IsraeliQueue/__init__.py | YonLiud/Israeli-Queue | 53e14e68701c06efdd23ba6584a2e8a561e60cd9 | [
"MIT"
] | null | null | null | from .IsraeliQueue import IsraeliQueue, Item, IsraeliQueueByType
| 32.5 | 64 | 0.861538 | 6 | 65 | 9.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 65 | 1 | 65 | 65 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
91095212fe94005bb0badaf0b1144da0c2a0e7f0 | 300 | py | Python | freehackquest_libclient_py/__init__.py | freehackquest/libfhqcli-py | 382242943047b63861aad0f41bb89c82e755963c | [
"Apache-2.0"
] | null | null | null | freehackquest_libclient_py/__init__.py | freehackquest/libfhqcli-py | 382242943047b63861aad0f41bb89c82e755963c | [
"Apache-2.0"
] | null | null | null | freehackquest_libclient_py/__init__.py | freehackquest/libfhqcli-py | 382242943047b63861aad0f41bb89c82e755963c | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (c) 2020-2021 FreeHackQuest Team <freehackquest@gmail.com>
"""This file was automatically generated by fhq-server
Version: v0.2.47
Date: 2022-01-01 07:15:35
"""
from freehackquest_libclient_py.freehackquest_client import FreeHackQuestClient
| 33.333333 | 79 | 0.77 | 43 | 300 | 5.302326 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104089 | 0.103333 | 300 | 8 | 80 | 37.5 | 0.743494 | 0.69 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
91439c7735cd8dec720dbcbb904a5ff89db7c69f | 17,382 | py | Python | PySS/fem.py | manpan-1/PySS | 1e4b13de3b2aed13ecf9818f9084a2fedb295cf1 | [
"MIT"
] | 2 | 2018-12-03T13:53:00.000Z | 2019-10-20T14:30:57.000Z | PySS/fem.py | manpan-1/PySS | 1e4b13de3b2aed13ecf9818f9084a2fedb295cf1 | [
"MIT"
] | null | null | null | PySS/fem.py | manpan-1/PySS | 1e4b13de3b2aed13ecf9818f9084a2fedb295cf1 | [
"MIT"
] | 1 | 2018-03-23T19:58:21.000Z | 2018-03-23T19:58:21.000Z | import matplotlib.pyplot as plt
import numpy as np
import pickle
# import csv
# from collections import namedtuple
# from mpl_toolkits.mplot3d import Axes3D
# import matplotlib.animation as animation
# import matplotlib.colors as mc
class FEModel:
def __init__(self, name=None, hist_data=None):
self.name =... | 47.884298 | 130 | 0.56921 | 2,713 | 17,382 | 3.468485 | 0.095466 | 0.071413 | 0.10712 | 0.130074 | 0.738363 | 0.718916 | 0.713815 | 0.705951 | 0.702976 | 0.696918 | 0 | 0.059203 | 0.233287 | 17,382 | 362 | 131 | 48.016575 | 0.646882 | 0.441721 | 0 | 0.09375 | 0 | 0 | 0.286353 | 0.007021 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039063 | false | 0 | 0.023438 | 0 | 0.085938 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e6ee19c46029883010bf024e3e8dd551854a83e8 | 80 | py | Python | LINETOKEN/__init__.py | pratannaimjoi/tokenIpad | f03969c05427bc1804d05c42823a28725c7e38a0 | [
"Apache-2.0"
] | null | null | null | LINETOKEN/__init__.py | pratannaimjoi/tokenIpad | f03969c05427bc1804d05c42823a28725c7e38a0 | [
"Apache-2.0"
] | null | null | null | LINETOKEN/__init__.py | pratannaimjoi/tokenIpad | f03969c05427bc1804d05c42823a28725c7e38a0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from .LineApi import LINE
from .lib.Gen.ttypes import *
| 20 | 29 | 0.6625 | 12 | 80 | 4.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.1625 | 80 | 3 | 30 | 26.666667 | 0.776119 | 0.2625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e6f6e592f45ce51ed72972736b1981a35d6ad662 | 81 | py | Python | pynn/__init__.py | jkae/knn-exercise | ae569e3f6a0e23669369d99e032270e72f8fbb66 | [
"MIT"
] | null | null | null | pynn/__init__.py | jkae/knn-exercise | ae569e3f6a0e23669369d99e032270e72f8fbb66 | [
"MIT"
] | null | null | null | pynn/__init__.py | jkae/knn-exercise | ae569e3f6a0e23669369d99e032270e72f8fbb66 | [
"MIT"
] | null | null | null |
from .nearest_neighbor_index import NearestNeighborIndex
from .kd_tree import *
| 20.25 | 56 | 0.851852 | 10 | 81 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 81 | 3 | 57 | 27 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fc0c40028b9c4945addfec469dd5871c8f82e05b | 52 | py | Python | gemucator/__init__.py | philipwfowler/genucator | d43a79afe1aa81ca24d7ab4370ed230e08aa89bf | [
"MIT"
] | null | null | null | gemucator/__init__.py | philipwfowler/genucator | d43a79afe1aa81ca24d7ab4370ed230e08aa89bf | [
"MIT"
] | null | null | null | gemucator/__init__.py | philipwfowler/genucator | d43a79afe1aa81ca24d7ab4370ed230e08aa89bf | [
"MIT"
] | null | null | null | #! /usr/bin/env python
from .core import gemucator
| 13 | 27 | 0.730769 | 8 | 52 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 3 | 28 | 17.333333 | 0.863636 | 0.403846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fc1d95b3a3f568e9cf0561a8f283914e5b1db140 | 1,815 | py | Python | skopt/tests/test_transformers.py | sqbl/scikit-optimize | c1866d5a9ad67efe93ac99736bfc2dc659b561d4 | [
"BSD-3-Clause"
] | null | null | null | skopt/tests/test_transformers.py | sqbl/scikit-optimize | c1866d5a9ad67efe93ac99736bfc2dc659b561d4 | [
"BSD-3-Clause"
] | null | null | null | skopt/tests/test_transformers.py | sqbl/scikit-optimize | c1866d5a9ad67efe93ac99736bfc2dc659b561d4 | [
"BSD-3-Clause"
] | null | null | null | import pytest
import numbers
import numpy as np
from numpy.testing import assert_raises
from numpy.testing import assert_array_equal
from numpy.testing import assert_equal
from numpy.testing import assert_raises_regex
from skopt.space import LogN, Normalize
@pytest.mark.fast_test
def test_logn2_integer():
transf... | 34.245283 | 72 | 0.738292 | 256 | 1,815 | 5.074219 | 0.203125 | 0.21555 | 0.135489 | 0.203233 | 0.836798 | 0.734411 | 0.482679 | 0.449577 | 0.378753 | 0.378753 | 0 | 0.049351 | 0.151515 | 1,815 | 52 | 73 | 34.903846 | 0.794156 | 0 | 0 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 1 | 0.095238 | false | 0 | 0.190476 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fc3539d71d659a16209a54fcd5f9758f5e36c76b | 3,993 | py | Python | tests/test_server.py | m-bo-one/ethereumd-proxy | 1d1eb3905dac4b28a8e23c283214859a13f6e020 | [
"MIT"
] | 21 | 2017-07-24T15:45:03.000Z | 2019-09-21T16:18:48.000Z | tests/test_server.py | m-bo-one/ethereumd-proxy | 1d1eb3905dac4b28a8e23c283214859a13f6e020 | [
"MIT"
] | 11 | 2017-07-24T20:14:16.000Z | 2019-02-10T22:52:32.000Z | tests/test_server.py | DeV1doR/ethereumd-proxy | 1d1eb3905dac4b28a8e23c283214859a13f6e020 | [
"MIT"
] | 8 | 2018-02-17T13:33:15.000Z | 2020-08-16T05:21:34.000Z | from collections import namedtuple
import json
from asynctest.mock import patch
import pytest
from ethereumd.server import RPCServer
from ethereumd.proxy import EthereumProxy
from aioethereum.errors import BadResponseError
from .base import BaseTestRunner
Request = namedtuple('Request', ['json'])
class TestServe... | 33.554622 | 76 | 0.596043 | 421 | 3,993 | 5.489311 | 0.2019 | 0.067503 | 0.077888 | 0.047598 | 0.707486 | 0.707486 | 0.707486 | 0.707486 | 0.707486 | 0.666811 | 0 | 0.013708 | 0.287503 | 3,993 | 118 | 77 | 33.838983 | 0.798594 | 0 | 0 | 0.633663 | 0 | 0 | 0.119459 | 0.007012 | 0 | 0 | 0 | 0 | 0.138614 | 1 | 0.029703 | false | 0 | 0.079208 | 0 | 0.138614 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fc4539e7bc135f9ebeba5ee7c487446b450f5f15 | 35 | py | Python | Python/Tests/TestData/ProjectHomeProjects/Subfolder/ProgramB.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 404 | 2019-05-07T02:21:57.000Z | 2022-03-31T17:03:04.000Z | Python/Tests/TestData/ProjectHomeProjects/Subfolder/ProgramB.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/ProjectHomeProjects/Subfolder/ProgramB.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z | # ProgramB.py
print('Hello World')
| 11.666667 | 20 | 0.714286 | 5 | 35 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 2 | 21 | 17.5 | 0.806452 | 0.314286 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
fc69e4e9cacf2317d6b062809fbe0cb9a22ea2b1 | 72 | py | Python | hydrobox/discharge/__init__.py | VForWaTer/hydrobox | ae7d10bf5aa48bf7daf3d1094e6bb66f0a7ce96b | [
"MIT"
] | 4 | 2020-10-08T15:31:36.000Z | 2021-06-25T00:46:40.000Z | hydrobox/discharge/__init__.py | joergmeyer-kit/hydrobox | af75a5ba87147e00656435c170535c69fc3298a8 | [
"MIT"
] | 5 | 2020-05-12T08:45:18.000Z | 2021-05-20T07:18:47.000Z | hydrobox/discharge/__init__.py | joergmeyer-kit/hydrobox | af75a5ba87147e00656435c170535c69fc3298a8 | [
"MIT"
] | 3 | 2020-07-27T07:16:14.000Z | 2021-04-28T21:57:48.000Z | from .catchment import regime, flow_duration_curve
from . import indices | 36 | 50 | 0.847222 | 10 | 72 | 5.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 51 | 36 | 0.921875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fc7738cdaacc95969a1834885a266a49c73d4c6b | 12,361 | py | Python | coffeine/pipelines.py | dengemann/meegpowreg | e9cc8f2372f8b8ef4b372bfea113ed0b9646cb39 | [
"MIT"
] | 6 | 2021-07-19T12:17:59.000Z | 2021-08-09T15:50:18.000Z | coffeine/pipelines.py | dengemann/meegpowreg | e9cc8f2372f8b8ef4b372bfea113ed0b9646cb39 | [
"MIT"
] | 23 | 2021-04-16T21:41:36.000Z | 2021-07-13T10:08:47.000Z | coffeine/pipelines.py | dengemann/meegpowreg | e9cc8f2372f8b8ef4b372bfea113ed0b9646cb39 | [
"MIT"
] | 5 | 2021-04-15T15:28:51.000Z | 2021-06-28T21:17:11.000Z | import numpy as np
from coffeine.covariance_transformers import (
Diag,
LogDiag,
ExpandFeatures,
Riemann,
RiemannSnp,
NaiveVec)
from coffeine.spatial_filters import (
ProjIdentitySpace,
ProjCommonSpace,
ProjLWSpace,
ProjRandomSpace,
ProjSPoCSpace)
from sklearn.compose impor... | 37.685976 | 77 | 0.659574 | 1,374 | 12,361 | 5.820961 | 0.171761 | 0.027507 | 0.028882 | 0.012753 | 0.745561 | 0.736434 | 0.736434 | 0.729182 | 0.729182 | 0.729182 | 0 | 0.014614 | 0.258232 | 12,361 | 327 | 78 | 37.801223 | 0.857673 | 0.548338 | 0 | 0.33871 | 0 | 0 | 0.064218 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 1 | 0.032258 | false | 0.008065 | 0.056452 | 0.008065 | 0.120968 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fc91ef07b59bde91306bd73bcec484e360b1298a | 108 | py | Python | wouso/core/security/admin.py | AlexandruGhergut/wouso | f26244ff58ae626808ae8c58ccc93d21f9f2666f | [
"Apache-2.0"
] | 117 | 2015-01-02T18:07:33.000Z | 2021-01-06T22:36:25.000Z | wouso/core/security/admin.py | AlexandruGhergut/wouso | f26244ff58ae626808ae8c58ccc93d21f9f2666f | [
"Apache-2.0"
] | 229 | 2015-01-12T07:07:58.000Z | 2019-10-12T08:27:01.000Z | wouso/core/security/admin.py | AlexandruGhergut/wouso | f26244ff58ae626808ae8c58ccc93d21f9f2666f | [
"Apache-2.0"
] | 96 | 2015-01-07T05:26:09.000Z | 2020-06-25T07:28:51.000Z | from django.contrib import admin
from wouso.core.security.models import Report
admin.site.register(Report)
| 21.6 | 45 | 0.833333 | 16 | 108 | 5.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 108 | 4 | 46 | 27 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5d75f5d30780e5997d5df3ca87b964d9add7b705 | 47 | py | Python | blog/migrations/__init__.py | Amohammadi2/django-SPA-blog | 5dc10894ba360569b4849cfda0c3340ea5a15fb8 | [
"MIT"
] | 2 | 2020-12-14T08:46:35.000Z | 2021-06-03T17:26:45.000Z | blog/migrations/__init__.py | Amohammadi2/django-SPA-blog | 5dc10894ba360569b4849cfda0c3340ea5a15fb8 | [
"MIT"
] | null | null | null | blog/migrations/__init__.py | Amohammadi2/django-SPA-blog | 5dc10894ba360569b4849cfda0c3340ea5a15fb8 | [
"MIT"
] | null | null | null | # you just need to add some informations here
| 23.5 | 46 | 0.765957 | 8 | 47 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 47 | 1 | 47 | 47 | 0.972973 | 0.914894 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5d8e72c2a2b92c4afc6d55b1c762592baf4c02a2 | 147 | py | Python | talleres_inov_docente/figures/plot_helpers.py | jfcaballero/Tutorial-sobre-scikit-learn-abreviado | 1e2aa1f9132c277162135a5463068801edab8d15 | [
"CC0-1.0"
] | 576 | 2016-03-20T10:05:58.000Z | 2022-03-20T05:58:32.000Z | talleres_inov_docente/figures/plot_helpers.py | jfcaballero/Tutorial-sobre-scikit-learn-abreviado | 1e2aa1f9132c277162135a5463068801edab8d15 | [
"CC0-1.0"
] | 64 | 2016-03-20T08:56:49.000Z | 2019-03-13T15:37:55.000Z | talleres_inov_docente/figures/plot_helpers.py | jfcaballero/Tutorial-sobre-scikit-learn-abreviado | 1e2aa1f9132c277162135a5463068801edab8d15 | [
"CC0-1.0"
] | 570 | 2016-03-20T19:23:07.000Z | 2021-12-12T12:22:14.000Z | from matplotlib.colors import ListedColormap
cm3 = ListedColormap(['#0000aa', '#ff2020', '#50ff50'])
cm2 = ListedColormap(['#0000aa', '#ff2020'])
| 29.4 | 55 | 0.707483 | 14 | 147 | 7.428571 | 0.714286 | 0.384615 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165414 | 0.095238 | 147 | 4 | 56 | 36.75 | 0.616541 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5da47e4e4410b3e8309f308ed349c9a9599c9032 | 2,225 | py | Python | dymos/utils/test/test_hermite.py | kaushikponnapalli/dymos | 3fba91d0fc2c0e8460717b1bec80774676287739 | [
"Apache-2.0"
] | 104 | 2018-09-08T16:52:27.000Z | 2022-03-10T23:35:30.000Z | dymos/utils/test/test_hermite.py | kaushikponnapalli/dymos | 3fba91d0fc2c0e8460717b1bec80774676287739 | [
"Apache-2.0"
] | 628 | 2018-06-27T20:32:59.000Z | 2022-03-31T19:24:32.000Z | dymos/utils/test/test_hermite.py | kaushikponnapalli/dymos | 3fba91d0fc2c0e8460717b1bec80774676287739 | [
"Apache-2.0"
] | 46 | 2018-06-27T20:54:07.000Z | 2021-12-19T07:23:32.000Z | import unittest
import numpy as np
from numpy.testing import assert_almost_equal
from dymos.utils.hermite import hermite_matrices
class TestHermiteMatrices(unittest.TestCase):
def test_quadratic(self):
# Interpolate with values and rates provided at [-1, 1] in tau space
tau_given = [-1.0, 1.0]... | 31.785714 | 79 | 0.613483 | 357 | 2,225 | 3.613445 | 0.226891 | 0.054264 | 0.065891 | 0.034109 | 0.788372 | 0.755814 | 0.755814 | 0.755814 | 0.755814 | 0.722481 | 0 | 0.044264 | 0.279101 | 2,225 | 69 | 80 | 32.246377 | 0.759975 | 0.279551 | 0 | 0.363636 | 0 | 0 | 0.005041 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 1 | 0.060606 | false | 0 | 0.121212 | 0 | 0.212121 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5db48c51cdf7033a6dcea32b1d26408dd6d2dbc0 | 1,891 | py | Python | avod/datasets/kitti/kitti_aug_test.py | Ascend-Huawei/AVOD | ea62372517bbfa9d4020bc5ab2739ee182c63c56 | [
"BSD-2-Clause"
] | null | null | null | avod/datasets/kitti/kitti_aug_test.py | Ascend-Huawei/AVOD | ea62372517bbfa9d4020bc5ab2739ee182c63c56 | [
"BSD-2-Clause"
] | null | null | null | avod/datasets/kitti/kitti_aug_test.py | Ascend-Huawei/AVOD | ea62372517bbfa9d4020bc5ab2739ee182c63c56 | [
"BSD-2-Clause"
] | null | null | null | # Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 33.767857 | 78 | 0.670016 | 285 | 1,891 | 4.364912 | 0.368421 | 0.096463 | 0.041801 | 0.051447 | 0.728296 | 0.728296 | 0.728296 | 0.728296 | 0.728296 | 0.715434 | 0 | 0.035952 | 0.205711 | 1,891 | 55 | 79 | 34.381818 | 0.792277 | 0.647277 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.0625 | false | 0 | 0.25 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5de81bead5f0058007dc4a5e3ad313c7ed6b6535 | 191 | py | Python | 01-basic-programs/04-lines.py | ncodeitgithub1/python-get-hands-dirty-programs | c9edb9e0bc9b2580737ca185935427343c550f01 | [
"Apache-2.0"
] | null | null | null | 01-basic-programs/04-lines.py | ncodeitgithub1/python-get-hands-dirty-programs | c9edb9e0bc9b2580737ca185935427343c550f01 | [
"Apache-2.0"
] | null | null | null | 01-basic-programs/04-lines.py | ncodeitgithub1/python-get-hands-dirty-programs | c9edb9e0bc9b2580737ca185935427343c550f01 | [
"Apache-2.0"
] | 1 | 2021-07-19T13:20:34.000Z | 2021-07-19T13:20:34.000Z | #4 lines: Fibonacci, tuple assignment
parents, babies = (1, 1)
while babies < 100:
print ('This generation has {0} babies'.format(babies))
parents, babies = (babies, parents + babies) | 38.2 | 59 | 0.691099 | 25 | 191 | 5.28 | 0.64 | 0.295455 | 0.287879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044586 | 0.17801 | 191 | 5 | 60 | 38.2 | 0.796178 | 0.188482 | 0 | 0 | 0 | 0 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5df24f88464dca8942f1f032db545a5522ed1674 | 8,796 | py | Python | pyabsa/utils/preprocess.py | jackie930/PyABSA | 3cf733f8b95610a69c985b4650309c24f42b44b5 | [
"MIT"
] | null | null | null | pyabsa/utils/preprocess.py | jackie930/PyABSA | 3cf733f8b95610a69c985b4650309c24f42b44b5 | [
"MIT"
] | null | null | null | pyabsa/utils/preprocess.py | jackie930/PyABSA | 3cf733f8b95610a69c985b4650309c24f42b44b5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# file: preprocess.py
# author: jackie
# Copyright (C) 2021. All Rights Reserved.
import os
import pandas as pd
import argparse
import emoji
import re
from sklearn.model_selection import train_test_split
parser = argparse.ArgumentParser()
parser.add_argument("--inpath", type=str, required=True... | 32.820896 | 118 | 0.582651 | 1,140 | 8,796 | 4.30614 | 0.161404 | 0.052964 | 0.04889 | 0.040334 | 0.783866 | 0.752495 | 0.730088 | 0.72255 | 0.72255 | 0.705846 | 0 | 0.031726 | 0.268986 | 8,796 | 268 | 119 | 32.820896 | 0.731726 | 0.070714 | 0 | 0.663043 | 0 | 0 | 0.122574 | 0.006509 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048913 | false | 0 | 0.032609 | 0 | 0.108696 | 0.081522 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f8e61b754a032cf61ead46cd66c6dc6f3690b256 | 121 | py | Python | pytest_capture_log_error/test_file.py | butla/experiments | 8c8ade15bb01978763d6618342fa42ad7563e38f | [
"MIT"
] | 1 | 2020-06-01T02:41:45.000Z | 2020-06-01T02:41:45.000Z | pytest_capture_log_error/test_file.py | butla/experiments | 8c8ade15bb01978763d6618342fa42ad7563e38f | [
"MIT"
] | 48 | 2019-12-26T16:38:19.000Z | 2021-07-06T13:29:50.000Z | pytest_capture_log_error/test_file.py | butla/experiments | 8c8ade15bb01978763d6618342fa42ad7563e38f | [
"MIT"
] | null | null | null | import a_file
def test_a(capsys):
assert a_file.bla() == 5
assert a_file.LOG_MESSAGE in capsys.readouterr().err
| 20.166667 | 56 | 0.719008 | 21 | 121 | 3.904762 | 0.666667 | 0.182927 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.173554 | 121 | 5 | 57 | 24.2 | 0.81 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5d1e0c02d27663acdb4392c5b988ee86f8972b53 | 147 | py | Python | climbproject/climbapp/admin.py | javawolfpack/ClimbProject | 508cf822a1eb0b78f7120a3d469ceb65e3b423f7 | [
"MIT"
] | null | null | null | climbproject/climbapp/admin.py | javawolfpack/ClimbProject | 508cf822a1eb0b78f7120a3d469ceb65e3b423f7 | [
"MIT"
] | 5 | 2018-11-24T16:15:24.000Z | 2022-02-11T03:40:48.000Z | climbproject/climbapp/admin.py | javawolfpack/ClimbProject | 508cf822a1eb0b78f7120a3d469ceb65e3b423f7 | [
"MIT"
] | 1 | 2018-11-24T16:13:49.000Z | 2018-11-24T16:13:49.000Z | from django.contrib import admin
#from .models import *
from . import models
# Register your models here.
admin.site.register(models.ClimbModel)
| 18.375 | 38 | 0.782313 | 20 | 147 | 5.75 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136054 | 147 | 7 | 39 | 21 | 0.905512 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5d314e81984e8fdd23c8fa9711722c873d27574a | 160 | py | Python | fieldservice/fieldservice/doctype/fieldservice_settings/test_fieldservice_settings.py | itsdaveit/fieldservice | 90bd813fb01f23a18df3b24fc67ec86c4d8be5a5 | [
"MIT"
] | null | null | null | fieldservice/fieldservice/doctype/fieldservice_settings/test_fieldservice_settings.py | itsdaveit/fieldservice | 90bd813fb01f23a18df3b24fc67ec86c4d8be5a5 | [
"MIT"
] | null | null | null | fieldservice/fieldservice/doctype/fieldservice_settings/test_fieldservice_settings.py | itsdaveit/fieldservice | 90bd813fb01f23a18df3b24fc67ec86c4d8be5a5 | [
"MIT"
] | 1 | 2021-11-09T10:26:06.000Z | 2021-11-09T10:26:06.000Z | # Copyright (c) 2022, itsdve GmbH and Contributors
# See license.txt
# import frappe
import unittest
class TestFieldserviceSettings(unittest.TestCase):
pass
| 17.777778 | 50 | 0.79375 | 19 | 160 | 6.684211 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.1375 | 160 | 8 | 51 | 20 | 0.891304 | 0.4875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
5d43ba93812ece31b158196b6ad2d32a374bd0f8 | 147 | py | Python | annotate/backend/admin.py | hopeogbons/image-annotation | 2d8b1799bc791428fd3ab29d8052195996923130 | [
"Apache-2.0"
] | null | null | null | annotate/backend/admin.py | hopeogbons/image-annotation | 2d8b1799bc791428fd3ab29d8052195996923130 | [
"Apache-2.0"
] | 11 | 2021-03-09T10:15:39.000Z | 2022-02-26T13:53:51.000Z | annotate/backend/admin.py | hopeogbons/image-annotation | 2d8b1799bc791428fd3ab29d8052195996923130 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from annotate.backend.models import Image, Annotation
admin.site.register(Image)
admin.site.register(Annotation)
| 24.5 | 53 | 0.836735 | 20 | 147 | 6.15 | 0.6 | 0.146341 | 0.276423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 147 | 5 | 54 | 29.4 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
53a80bedba1fa544dba66c5282310b99391dfaba | 917 | py | Python | MathPainting_OOP/shapes.py | matbocz/kurs-python-udemy | bbc53d0b2073b400aaad5ff908b3e1c09b815121 | [
"MIT"
] | null | null | null | MathPainting_OOP/shapes.py | matbocz/kurs-python-udemy | bbc53d0b2073b400aaad5ff908b3e1c09b815121 | [
"MIT"
] | null | null | null | MathPainting_OOP/shapes.py | matbocz/kurs-python-udemy | bbc53d0b2073b400aaad5ff908b3e1c09b815121 | [
"MIT"
] | null | null | null | class Rectangle:
"""A rectangle shape that can be drawn on a Canvas object"""
def __init__(self, x, y, width, height, color):
self.x = x
self.y = y
self.width = width
self.height = height
self.color = color
def draw(self, canvas):
"""Draws itself into the Ca... | 30.566667 | 91 | 0.591058 | 138 | 917 | 3.869565 | 0.246377 | 0.074906 | 0.067416 | 0.052434 | 0.7603 | 0.707865 | 0.707865 | 0.707865 | 0.629213 | 0.629213 | 0 | 0 | 0.2988 | 917 | 29 | 92 | 31.62069 | 0.830482 | 0.293348 | 0 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0 | 0 | 0.352941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
53b7cf475edf549606a00bf10c8b39ab817c0d94 | 72 | py | Python | testjpkg/jsonify/hij.py | thisisishara/test_pypi_cli | 15b22ed8943a18a6d9de9ee4ba6a84249a633e2e | [
"MIT"
] | null | null | null | testjpkg/jsonify/hij.py | thisisishara/test_pypi_cli | 15b22ed8943a18a6d9de9ee4ba6a84249a633e2e | [
"MIT"
] | null | null | null | testjpkg/jsonify/hij.py | thisisishara/test_pypi_cli | 15b22ed8943a18a6d9de9ee4ba6a84249a633e2e | [
"MIT"
] | null | null | null | print("hiiiiiiiiiiiiiiiix")
def sayhi():
print("2nd pkg said hi")
| 12 | 28 | 0.666667 | 9 | 72 | 5.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.180556 | 72 | 5 | 29 | 14.4 | 0.79661 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
54db106024a4f46cf548821fe280245ccaf57da7 | 114 | py | Python | azbankgateways/views/__init__.py | lordmahyar/az-iranian-bank-gateways | e9eb7101f2b91318847d63d783c22c4a8d430ba3 | [
"MIT"
] | 196 | 2020-12-07T11:29:19.000Z | 2022-03-23T09:32:56.000Z | azbankgateways/views/__init__.py | lordmahyar/az-iranian-bank-gateways | e9eb7101f2b91318847d63d783c22c4a8d430ba3 | [
"MIT"
] | 25 | 2021-01-13T11:56:35.000Z | 2022-03-14T19:41:51.000Z | azbankgateways/views/__init__.py | lordmahyar/az-iranian-bank-gateways | e9eb7101f2b91318847d63d783c22c4a8d430ba3 | [
"MIT"
] | 44 | 2021-01-08T18:27:47.000Z | 2022-03-22T03:36:04.000Z | from .banks import callback_view, go_to_bank_gateway
from .samples import sample_payment_view, sample_result_view
| 38 | 60 | 0.877193 | 18 | 114 | 5.111111 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 114 | 2 | 61 | 57 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
54f4e0fec59282b2d1c7f1cba1c1b99fa606ce17 | 70 | py | Python | nemo/collections/nlp/losses/__init__.py | KalifiaBillal/NeMo | 4fc670ad0c886be2623247921d4311ba30f486f8 | [
"Apache-2.0"
] | 1 | 2021-01-26T21:54:36.000Z | 2021-01-26T21:54:36.000Z | nemo/collections/nlp/losses/__init__.py | aiskumo/NeMo | b51a39f9834ad50db77c4246aeb6e2349695add5 | [
"Apache-2.0"
] | null | null | null | nemo/collections/nlp/losses/__init__.py | aiskumo/NeMo | b51a39f9834ad50db77c4246aeb6e2349695add5 | [
"Apache-2.0"
] | 2 | 2021-02-04T14:45:50.000Z | 2021-02-04T14:56:05.000Z | from nemo.collections.nlp.losses.sgd_loss import SGDDialogueStateLoss
| 35 | 69 | 0.885714 | 9 | 70 | 6.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 70 | 1 | 70 | 70 | 0.924242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4ad35edb76ff8aacbd63002439bbf9d2f5995fd2 | 59 | py | Python | pyecsca/sca/re/__init__.py | scrambler-crypto/pyecsca | 491abfb548455669abd470382a48dcd07b2eda87 | [
"MIT"
] | 24 | 2019-07-01T00:27:24.000Z | 2022-02-17T00:46:28.000Z | pyecsca/sca/re/__init__.py | scrambler-crypto/pyecsca | 491abfb548455669abd470382a48dcd07b2eda87 | [
"MIT"
] | 18 | 2020-12-10T15:08:56.000Z | 2022-03-01T11:44:37.000Z | pyecsca/sca/re/__init__.py | scrambler-crypto/pyecsca | 491abfb548455669abd470382a48dcd07b2eda87 | [
"MIT"
] | 7 | 2020-02-20T18:44:29.000Z | 2021-11-30T21:16:44.000Z | """Package for reverse-engineering."""
from .rpa import *
| 14.75 | 38 | 0.694915 | 7 | 59 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 3 | 39 | 19.666667 | 0.803922 | 0.542373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4afc50cce044689d528dbbb6c10aa634c6f79ad7 | 87 | py | Python | src/server_py3/aps/src/wes/api/v1/users/__init__.py | kfrime/yonder | cd2f491c24f8552aeadd6ee48c601e1194a2e082 | [
"MIT"
] | null | null | null | src/server_py3/aps/src/wes/api/v1/users/__init__.py | kfrime/yonder | cd2f491c24f8552aeadd6ee48c601e1194a2e082 | [
"MIT"
] | 12 | 2020-01-04T03:30:02.000Z | 2021-06-02T01:22:45.000Z | src/server_py3/aps/src/wes/api/v1/users/__init__.py | kfrime/yonder | cd2f491c24f8552aeadd6ee48c601e1194a2e082 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from . import signup, signin, signout, update, info, detail
| 21.75 | 60 | 0.701149 | 12 | 87 | 5.083333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.172414 | 87 | 3 | 61 | 29 | 0.833333 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ab30352abcf50690534a3f85202149cd132e631c | 46 | py | Python | src/webpy1/src/manage/checkPic.py | ptphp/PyLib | 07ac99cf2deb725475f5771b123b9ea1375f5e65 | [
"Apache-2.0"
] | 1 | 2020-02-17T08:18:29.000Z | 2020-02-17T08:18:29.000Z | src/webpy1/src/manage/checkPic.py | ptphp/PyLib | 07ac99cf2deb725475f5771b123b9ea1375f5e65 | [
"Apache-2.0"
] | null | null | null | src/webpy1/src/manage/checkPic.py | ptphp/PyLib | 07ac99cf2deb725475f5771b123b9ea1375f5e65 | [
"Apache-2.0"
] | null | null | null | '''
Created on 2011-6-22
@author: dholer
'''
| 7.666667 | 20 | 0.608696 | 7 | 46 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 0.173913 | 46 | 5 | 21 | 9.2 | 0.552632 | 0.804348 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ab30973f8a964fee614a5ec7df1f83c6a91d145f | 122 | py | Python | tests/__init__.py | coleb/sendoff | fc1b38ba7571254a88ca457f6f618ae4572f30b6 | [
"MIT"
] | 2 | 2021-09-28T09:53:53.000Z | 2021-10-01T17:45:29.000Z | tests/__init__.py | coleb/sendoff | fc1b38ba7571254a88ca457f6f618ae4572f30b6 | [
"MIT"
] | 10 | 2021-09-17T22:14:37.000Z | 2022-03-21T16:25:39.000Z | tests/__init__.py | coleb/sendoff | fc1b38ba7571254a88ca457f6f618ae4572f30b6 | [
"MIT"
] | 1 | 2021-09-27T15:55:40.000Z | 2021-09-27T15:55:40.000Z | """Tests for the `sendoff` library."""
"""
The `sendoff` library tests validate the expected function of the library.
"""
| 24.4 | 74 | 0.704918 | 16 | 122 | 5.375 | 0.5625 | 0.232558 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 122 | 4 | 75 | 30.5 | 0.826923 | 0.262295 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ab450e026b0907e8b838f6f9a3e2ba1d4218dd25 | 5,065 | py | Python | cmibs/cisco_vlan_membership_mib.py | prorevizor/noc | 37e44b8afc64318b10699c06a1138eee9e7d6a4e | [
"BSD-3-Clause"
] | 84 | 2017-10-22T11:01:39.000Z | 2022-02-27T03:43:48.000Z | cmibs/cisco_vlan_membership_mib.py | prorevizor/noc | 37e44b8afc64318b10699c06a1138eee9e7d6a4e | [
"BSD-3-Clause"
] | 22 | 2017-12-11T07:21:56.000Z | 2021-09-23T02:53:50.000Z | cmibs/cisco_vlan_membership_mib.py | prorevizor/noc | 37e44b8afc64318b10699c06a1138eee9e7d6a4e | [
"BSD-3-Clause"
] | 23 | 2017-12-06T06:59:52.000Z | 2022-02-24T00:02:25.000Z | # ----------------------------------------------------------------------
# CISCO-VLAN-MEMBERSHIP-MIB
# Compiled MIB
# Do not modify this file directly
# Run ./noc mib make-cmib instead
# ----------------------------------------------------------------------
# Copyright (C) 2007-2020 The NOC Project
# See LICENSE for de... | 64.113924 | 98 | 0.62231 | 1,027 | 5,065 | 3.067186 | 0.10224 | 0.04381 | 0.349841 | 0.405079 | 0.600635 | 0.486032 | 0.299365 | 0.226667 | 0.226667 | 0.223492 | 0 | 0.166881 | 0.079566 | 5,065 | 78 | 99 | 64.935897 | 0.508795 | 0.082922 | 0 | 0 | 0 | 0.83871 | 0.83614 | 0.814983 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ab5b1e3328548b4d29719e9eabea190e03a2dd78 | 78,836 | py | Python | bifacialvf/vf.py | shirubana/bifacialvf | 7cd1c4c658bb7a68f0815b2bd1a6d5c492ca7300 | [
"BSD-3-Clause"
] | 1 | 2020-05-20T06:19:40.000Z | 2020-05-20T06:19:40.000Z | bifacialvf/vf.py | shirubana/bifacialvf | 7cd1c4c658bb7a68f0815b2bd1a6d5c492ca7300 | [
"BSD-3-Clause"
] | null | null | null | bifacialvf/vf.py | shirubana/bifacialvf | 7cd1c4c658bb7a68f0815b2bd1a6d5c492ca7300 | [
"BSD-3-Clause"
] | 1 | 2020-12-30T08:05:49.000Z | 2020-12-30T08:05:49.000Z | # -*- coding: utf-8 -*-
"""
ViewFactor module - VF calculation helper files for bifacial-viewfactor
@author Bill Marion
@translated to python by sayala 06/09/17
"""
# ensure python3 compatible division and printing
from __future__ import division, print_function, absolute_import
import math
import numpy as np
fr... | 50.374441 | 203 | 0.534692 | 10,227 | 78,836 | 4.110003 | 0.083896 | 0.006424 | 0.007137 | 0.012324 | 0.797112 | 0.775081 | 0.752195 | 0.72819 | 0.711489 | 0.691933 | 0 | 0.149293 | 0.362258 | 78,836 | 1,564 | 204 | 50.40665 | 0.686735 | 0.430895 | 0 | 0.692 | 0 | 0 | 0.013246 | 0.001708 | 0 | 0 | 0 | 0.001279 | 0 | 1 | 0.008 | false | 0.002667 | 0.006667 | 0 | 0.022667 | 0.008 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
db3fb84bca4d1b9ce63dca5f602d76eb7650bd3f | 106 | py | Python | lib/loss/__init__.py | kennethwdk/PINet | 3a0abbd653146c56e39612384891c94c3fb49b35 | [
"MIT"
] | 10 | 2021-12-22T11:31:53.000Z | 2022-01-18T11:52:17.000Z | lib/loss/__init__.py | kennethwdk/PINet | 3a0abbd653146c56e39612384891c94c3fb49b35 | [
"MIT"
] | null | null | null | lib/loss/__init__.py | kennethwdk/PINet | 3a0abbd653146c56e39612384891c94c3fb49b35 | [
"MIT"
] | null | null | null | from .heatmaploss import HeatmapLoss
from .offsetloss import OffsetLoss
from .refineloss import RefineLoss | 35.333333 | 36 | 0.867925 | 12 | 106 | 7.666667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103774 | 106 | 3 | 37 | 35.333333 | 0.968421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
db555bcdcf43aa3bbda4391fd627c19482dc0997 | 68,250 | py | Python | dalme_app/migrations/0001_initial.py | DALME/dalme | 46f9a0011fdb75c5098b552104fc73b1062e16e9 | [
"BSD-3-Clause"
] | 6 | 2019-05-07T01:06:04.000Z | 2021-02-19T20:45:09.000Z | dalme_app/migrations/0001_initial.py | DALME/dalme | 46f9a0011fdb75c5098b552104fc73b1062e16e9 | [
"BSD-3-Clause"
] | 23 | 2018-09-14T18:01:42.000Z | 2021-12-29T17:25:18.000Z | dalme_app/migrations/0001_initial.py | DALME/dalme | 46f9a0011fdb75c5098b552104fc73b1062e16e9 | [
"BSD-3-Clause"
] | 1 | 2020-02-10T16:20:57.000Z | 2020-02-10T16:20:57.000Z | # Generated by Django 3.1.2 on 2020-11-29 13:25
import dalme_app.models._templates
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django_currentuser.middleware
import uuid
import wagtail.search.index
class Migration(migrations.Migration):
initia... | 72.761194 | 257 | 0.636674 | 7,314 | 68,250 | 5.699344 | 0.063713 | 0.059302 | 0.041646 | 0.065443 | 0.828451 | 0.788245 | 0.737867 | 0.673983 | 0.646923 | 0.624565 | 0 | 0.00929 | 0.223985 | 68,250 | 937 | 258 | 72.838847 | 0.777769 | 0.000659 | 0 | 0.458065 | 1 | 0 | 0.16555 | 0.055335 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.003226 | 0.007527 | 0 | 0.011828 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
db6d31174807080316cb8c996b05fcc9ce69a5b7 | 40 | py | Python | my_classes/.history/ModulesPackages_PackageNamespaces/example3a/main_20210725220637.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/.history/ModulesPackages_PackageNamespaces/example3a/main_20210725220637.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/.history/ModulesPackages_PackageNamespaces/example3a/main_20210725220637.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null |
import os.path
import types
import sys
| 8 | 14 | 0.8 | 7 | 40 | 4.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 4 | 15 | 10 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
db752d631ccf3257bd962fe18b4682f3220a6fa6 | 178 | py | Python | geoviz/__init__.py | JustinGOSSES/geoviz | 159b0665d9efcffe46061313c15ad09ced840d2d | [
"MIT"
] | 6 | 2018-10-16T16:38:15.000Z | 2018-10-22T13:56:13.000Z | geoviz/__init__.py | JustinGOSSES/geoviz | 159b0665d9efcffe46061313c15ad09ced840d2d | [
"MIT"
] | 5 | 2018-10-14T21:49:00.000Z | 2018-11-12T18:59:48.000Z | geoviz/__init__.py | nathangeology/geoviz | 5643e8880b4ecc241d4f8806743bf0441dd435c1 | [
"MIT"
] | 1 | 2019-05-30T23:36:29.000Z | 2019-05-30T23:36:29.000Z | from load_las_data import LoadLasData
from altair_log_plot import AltAirLogPlot
from load_shapefile_data import LoadShpData
from alitair_well_location_map import WellLocationMap
| 35.6 | 53 | 0.910112 | 25 | 178 | 6.12 | 0.68 | 0.104575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 178 | 4 | 54 | 44.5 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dbca8d6120f0830afa062de217262e49809ebe82 | 388 | py | Python | backend/api/tests/test_models/test_utils/test_ranking_suffixes.py | ChristchurchCityWeightlifting/lifter-api | a82b79c75106e7f4f8ea4b4e3e12d727213445e3 | [
"MIT"
] | null | null | null | backend/api/tests/test_models/test_utils/test_ranking_suffixes.py | ChristchurchCityWeightlifting/lifter-api | a82b79c75106e7f4f8ea4b4e3e12d727213445e3 | [
"MIT"
] | 5 | 2022-03-07T08:30:47.000Z | 2022-03-22T09:15:52.000Z | backend/api/tests/test_models/test_utils/test_ranking_suffixes.py | ChristchurchCityWeightlifting/lifter-api | a82b79c75106e7f4f8ea4b4e3e12d727213445e3 | [
"MIT"
] | null | null | null | import pytest
from api.models.utils import rankings
@pytest.fixture
def test_data():
return [1, 11, 101]
def test_rankings(test_data):
"""Tests if ranking works
e.g. 1 returns 1st
11 returns 11th
101 return 101st
"""
assert rankings(test_data[0]) == "1st"
assert rankings(t... | 19.4 | 44 | 0.641753 | 55 | 388 | 4.418182 | 0.509091 | 0.164609 | 0.263374 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091525 | 0.239691 | 388 | 19 | 45 | 20.421053 | 0.732203 | 0.216495 | 0 | 0 | 0 | 0 | 0.042705 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
918a3b0f516ea68dd89954d9a42756ad875c22c6 | 33 | py | Python | src/stoat/core/structure/__init__.py | saarkatz/guppy-struct | b9099353312c365cfd788dbd2d168a9c844765be | [
"Apache-2.0"
] | 1 | 2021-12-07T11:59:11.000Z | 2021-12-07T11:59:11.000Z | src/stoat/core/structure/__init__.py | saarkatz/stoat-struct | b9099353312c365cfd788dbd2d168a9c844765be | [
"Apache-2.0"
] | null | null | null | src/stoat/core/structure/__init__.py | saarkatz/stoat-struct | b9099353312c365cfd788dbd2d168a9c844765be | [
"Apache-2.0"
] | null | null | null | from .structure import Structure
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 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 | 0 | 0 | 0 | 5 |
91903bbb82369647bc8ec6646143a89d378edc88 | 234 | py | Python | iqoptionapi/http/billing.py | mustx1/MYIQ | 3afb597aa8a8abc278b7d70dad46af81789eae3e | [
"MIT"
] | 3 | 2021-06-05T06:58:01.000Z | 2021-11-25T23:52:18.000Z | iqoptionapi/http/billing.py | mustx1/MYIQ | 3afb597aa8a8abc278b7d70dad46af81789eae3e | [
"MIT"
] | 5 | 2022-01-20T00:32:49.000Z | 2022-02-16T23:12:10.000Z | iqoptionapi/http/billing.py | mustx1/MYIQ | 3afb597aa8a8abc278b7d70dad46af81789eae3e | [
"MIT"
] | 2 | 2020-11-10T19:03:38.000Z | 2020-12-07T10:42:36.000Z | """Module for IQ option billing resource."""
from iqoptionapi.http.resource import Resource
class Billing(Resource):
"""Class for IQ option billing resource."""
# pylint: disable=too-few-public-methods
url = "billing"
| 21.272727 | 47 | 0.709402 | 29 | 234 | 5.724138 | 0.62069 | 0.271084 | 0.13253 | 0.216867 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17094 | 234 | 10 | 48 | 23.4 | 0.85567 | 0.495727 | 0 | 0 | 0 | 0 | 0.065421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
91b62cc1816352d2c7a0ead7b1bf1eabb9a68df6 | 8,113 | py | Python | dataset.py | mintanwei/IPCLs-Net | 04937df683216a090c0749cc90ab7e517dbab0fd | [
"MIT"
] | null | null | null | dataset.py | mintanwei/IPCLs-Net | 04937df683216a090c0749cc90ab7e517dbab0fd | [
"MIT"
] | null | null | null | dataset.py | mintanwei/IPCLs-Net | 04937df683216a090c0749cc90ab7e517dbab0fd | [
"MIT"
] | null | null | null | import os
import torch
from PIL import Image
from read_csv import csv_to_label_and_bbx
import numpy as np
from torch.utils.data import Subset, random_split, ConcatDataset
class NBIDataset(object):
def __init__(self, root, transforms, nob3=False):
self.root = root
self.transforms = transforms
... | 32.322709 | 110 | 0.598053 | 1,065 | 8,113 | 4.384038 | 0.134272 | 0.039409 | 0.038552 | 0.029985 | 0.773185 | 0.750482 | 0.715357 | 0.709574 | 0.70272 | 0.70272 | 0 | 0.014833 | 0.260446 | 8,113 | 250 | 111 | 32.452 | 0.763333 | 0.163688 | 0 | 0.608974 | 0 | 0 | 0.044922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121795 | false | 0 | 0.038462 | 0.038462 | 0.275641 | 0.012821 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
91d921988391847f171d7f816701e122ce388582 | 143 | py | Python | tb/storage/__init__.py | DronMDF/manabot | b412e8cb9b5247f05487bed4cbf4967f7b58327f | [
"MIT"
] | 1 | 2017-11-29T11:51:12.000Z | 2017-11-29T11:51:12.000Z | tb/storage/__init__.py | DronMDF/manabot | b412e8cb9b5247f05487bed4cbf4967f7b58327f | [
"MIT"
] | 109 | 2017-11-28T20:51:59.000Z | 2018-02-02T13:15:29.000Z | tb/storage/__init__.py | DronMDF/manabot | b412e8cb9b5247f05487bed4cbf4967f7b58327f | [
"MIT"
] | null | null | null | from .database import StDatabase
from .telegram import StTelegram
from .tinydb import TinyDataBase, TinySelect
from .utility import StDispatch
| 28.6 | 44 | 0.846154 | 17 | 143 | 7.117647 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118881 | 143 | 4 | 45 | 35.75 | 0.960317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
37cd4b6be89839faecee7dd52588398ff12411ba | 247 | py | Python | src/compas_blender/forms/__init__.py | yijiangh/compas | a9e86edf6b602f47ca051fccedcaa88a5e5d3600 | [
"MIT"
] | 1 | 2019-03-27T22:32:56.000Z | 2019-03-27T22:32:56.000Z | src/compas_blender/forms/__init__.py | yijiangh/compas | a9e86edf6b602f47ca051fccedcaa88a5e5d3600 | [
"MIT"
] | null | null | null | src/compas_blender/forms/__init__.py | yijiangh/compas | a9e86edf6b602f47ca051fccedcaa88a5e5d3600 | [
"MIT"
] | null | null | null | """
********************************************************************************
compas_blender.forms
********************************************************************************
.. currentmodule:: compas_blender.forms
"""
__all__ = []
| 22.454545 | 80 | 0.234818 | 8 | 247 | 6.5 | 0.625 | 0.5 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05668 | 247 | 10 | 81 | 24.7 | 0.223176 | 0.902834 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
37e97b75428a1033eda5441303e4da93aa132446 | 221 | py | Python | src/wormhole/__main__.py | dmgolembiowski/magic-wormhole | d517a10282d5e56f300db462b1a6eec517202af7 | [
"MIT"
] | 2,801 | 2021-01-10T16:37:14.000Z | 2022-03-31T19:02:50.000Z | src/wormhole/__main__.py | dmgolembiowski/magic-wormhole | d517a10282d5e56f300db462b1a6eec517202af7 | [
"MIT"
] | 52 | 2021-01-10T01:54:00.000Z | 2022-03-11T13:12:41.000Z | src/wormhole/__main__.py | dmgolembiowski/magic-wormhole | d517a10282d5e56f300db462b1a6eec517202af7 | [
"MIT"
] | 106 | 2021-01-21T14:32:22.000Z | 2022-03-18T10:33:09.000Z | from __future__ import absolute_import, print_function, unicode_literals
if __name__ == "__main__":
from .cli import cli
cli.wormhole()
else:
# raise ImportError('this module should not be imported')
pass
| 27.625 | 72 | 0.737557 | 28 | 221 | 5.285714 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18552 | 221 | 7 | 73 | 31.571429 | 0.822222 | 0.248869 | 0 | 0 | 0 | 0 | 0.04878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.333333 | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
37f7e625de3ee5f43165604bef1b04155036f942 | 56 | py | Python | models/__init__.py | TvSeriesFans/CineMonster | 036a3223618afd536932d21b0e86d18d0fba3b28 | [
"Apache-2.0"
] | 15 | 2017-09-17T17:52:43.000Z | 2020-08-31T15:41:12.000Z | models/__init__.py | TvSeriesFans/CineMonster | 036a3223618afd536932d21b0e86d18d0fba3b28 | [
"Apache-2.0"
] | 13 | 2017-03-14T13:24:14.000Z | 2021-08-20T13:52:54.000Z | models/__init__.py | TvSeriesFans/CineMonster | 036a3223618afd536932d21b0e86d18d0fba3b28 | [
"Apache-2.0"
] | 27 | 2017-07-01T18:33:49.000Z | 2021-08-05T09:13:18.000Z | from models.Model import Player, Group, Session, engine
| 28 | 55 | 0.803571 | 8 | 56 | 5.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 56 | 1 | 56 | 56 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
37fbc6ec2f245fb6973d1636993985b6d187eb07 | 63 | py | Python | src/csvutils.py | imco/nmx | 5c6303ece6148a83963b2e6524d6f94b450ad659 | [
"MIT"
] | null | null | null | src/csvutils.py | imco/nmx | 5c6303ece6148a83963b2e6524d6f94b450ad659 | [
"MIT"
] | null | null | null | src/csvutils.py | imco/nmx | 5c6303ece6148a83963b2e6524d6f94b450ad659 | [
"MIT"
] | 1 | 2020-04-07T19:02:41.000Z | 2020-04-07T19:02:41.000Z | def escapeQuotes(string):
return string.replace('"','""');
| 21 | 36 | 0.634921 | 6 | 63 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 2 | 37 | 31.5 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
37fbd5a54d581539270bd58bff9f475311ff3236 | 68 | py | Python | test/sanity_import_vpp_papi.py | amithbraj/vpp | edf1da94dc099c6e2ab1d455ce8652fada3cdb04 | [
"Apache-2.0"
] | 751 | 2017-07-13T06:16:46.000Z | 2022-03-30T09:14:35.000Z | test/sanity_import_vpp_papi.py | amithbraj/vpp | edf1da94dc099c6e2ab1d455ce8652fada3cdb04 | [
"Apache-2.0"
] | 63 | 2018-06-11T09:48:35.000Z | 2021-01-05T09:11:03.000Z | test/sanity_import_vpp_papi.py | amithbraj/vpp | edf1da94dc099c6e2ab1d455ce8652fada3cdb04 | [
"Apache-2.0"
] | 479 | 2017-07-13T06:17:26.000Z | 2022-03-31T18:20:43.000Z | #!/usr/bin/env python3
""" sanity check script """
import vpp_papi
| 13.6 | 27 | 0.691176 | 10 | 68 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.147059 | 68 | 4 | 28 | 17 | 0.775862 | 0.617647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5338514dfbd12161e51e2cea2de687a8253338f8 | 28,526 | py | Python | PyDSTool/PyCont/BifPoint.py | mdlama/pydstool | 3d298e908ff55340cd3612078508be0c791f63a8 | [
"Python-2.0",
"OLDAP-2.7"
] | 2 | 2021-02-04T15:01:31.000Z | 2021-02-25T16:08:43.000Z | PyDSTool/PyCont/BifPoint.py | mdlama/pydstool | 3d298e908ff55340cd3612078508be0c791f63a8 | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | PyDSTool/PyCont/BifPoint.py | mdlama/pydstool | 3d298e908ff55340cd3612078508be0c791f63a8 | [
"Python-2.0",
"OLDAP-2.7"
] | 1 | 2021-02-25T14:43:36.000Z | 2021-02-25T14:43:36.000Z | """ Bifurcation point classes. Each class locates and processes bifurcation points.
* _BranchPointFold is a version based on BranchPoint location algorithms
* BranchPoint: Branch process is broken (can't find alternate branch -- see MATCONT notes)
Drew LaMar, March 2006
"""
from __future__ import absolu... | 32.638444 | 120 | 0.534179 | 3,957 | 28,526 | 3.787718 | 0.084913 | 0.043835 | 0.026688 | 0.053776 | 0.776288 | 0.747331 | 0.726314 | 0.705498 | 0.698025 | 0.685015 | 0 | 0.022658 | 0.309963 | 28,526 | 873 | 121 | 32.67583 | 0.738773 | 0.095071 | 0 | 0.700516 | 0 | 0 | 0.02841 | 0.001015 | 0 | 0 | 0 | 0 | 0 | 1 | 0.091222 | false | 0 | 0.013769 | 0 | 0.177281 | 0.048193 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
53577342e6db4b3427645ab2e05fe5d3ca60a280 | 118 | py | Python | config.py | tiuD/cross-prom | 8b987138ec32e0ac64ca6ffe13d0e1cd0d18aef3 | [
"MIT"
] | null | null | null | config.py | tiuD/cross-prom | 8b987138ec32e0ac64ca6ffe13d0e1cd0d18aef3 | [
"MIT"
] | null | null | null | config.py | tiuD/cross-prom | 8b987138ec32e0ac64ca6ffe13d0e1cd0d18aef3 | [
"MIT"
] | null | null | null | TOKEN = "1876415562:AAEsX_c9k3Fot2IT0BYRqkCCQ5vFEHQDLDQ"
CHAT_ID = [957539786] # e.g. [1234567, 2233445, 3466123...]
| 29.5 | 59 | 0.754237 | 12 | 118 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.424528 | 0.101695 | 118 | 3 | 60 | 39.333333 | 0.396226 | 0.29661 | 0 | 0 | 0 | 0 | 0.567901 | 0.567901 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f408463fbafd0299afebe10a70bf543c07547fe8 | 4,541 | py | Python | utils/data/dataset_catalog.py | rs9899/Parsing-R-CNN | a0c9ed8850abe740eedf8bfc6e1577cc0aa3fc7b | [
"MIT"
] | 289 | 2018-10-25T09:42:57.000Z | 2022-03-30T08:31:50.000Z | utils/data/dataset_catalog.py | qzane/Parsing-R-CNN | 8c4d940dcd322bf7a8671f8b0faaabb3259bd384 | [
"MIT"
] | 28 | 2019-01-07T02:39:49.000Z | 2022-01-25T08:54:36.000Z | utils/data/dataset_catalog.py | qzane/Parsing-R-CNN | 8c4d940dcd322bf7a8671f8b0faaabb3259bd384 | [
"MIT"
] | 44 | 2018-12-20T07:36:46.000Z | 2022-03-16T14:30:20.000Z | import os.path as osp
# Root directory of project
ROOT_DIR = osp.abspath(osp.join(osp.dirname(__file__), '..', '..'))
# Path to data dir
_DATA_DIR = osp.abspath(osp.join(ROOT_DIR, 'data'))
# Required dataset entry keys
_IM_DIR = 'image_directory'
_ANN_FN = 'annotation_file'
# Available datasets
COMMON_DATASETS = {
... | 31.978873 | 88 | 0.580269 | 544 | 4,541 | 4.338235 | 0.115809 | 0.130508 | 0.09322 | 0.10678 | 0.822458 | 0.772458 | 0.760169 | 0.752542 | 0.69661 | 0.612712 | 0 | 0.048796 | 0.29597 | 4,541 | 141 | 89 | 32.205674 | 0.689396 | 0.065404 | 0 | 0.43609 | 0 | 0 | 0.419957 | 0.330338 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007519 | 0 | 0.007519 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f4283fe6df2818523658c305534af2e5905a9186 | 180 | py | Python | 6/4.py | Chyroc/homework | b1ee8e9629b4dbb6c46a550d710157702d57b00b | [
"MIT"
] | null | null | null | 6/4.py | Chyroc/homework | b1ee8e9629b4dbb6c46a550d710157702d57b00b | [
"MIT"
] | 1 | 2018-05-23T02:12:16.000Z | 2018-05-23T02:12:31.000Z | 6/4.py | Chyroc/homework | b1ee8e9629b4dbb6c46a550d710157702d57b00b | [
"MIT"
] | null | null | null | import re
def remove_not_alpha_num(string):
return re.sub('[^0-9a-zA-Z]+', '', string)
if __name__ == '__main__':
print(remove_not_alpha_num('a000 aa-b') == 'a000aab')
| 18 | 57 | 0.65 | 28 | 180 | 3.678571 | 0.785714 | 0.174757 | 0.271845 | 0.330097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.155556 | 180 | 9 | 58 | 20 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.205556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
f44062d81d380655736648a227bdbe096d8db999 | 110 | py | Python | mailing/urls.py | ananyamalik/Railway-Concession-Portal | 295264ccb50bc4750bf0a749c8477384407d51ad | [
"MIT"
] | null | null | null | mailing/urls.py | ananyamalik/Railway-Concession-Portal | 295264ccb50bc4750bf0a749c8477384407d51ad | [
"MIT"
] | 10 | 2020-02-11T23:58:12.000Z | 2022-03-11T23:43:58.000Z | mailing/urls.py | ananyamalik/Railway-Concession-Portal | 295264ccb50bc4750bf0a749c8477384407d51ad | [
"MIT"
] | 1 | 2019-03-26T10:43:34.000Z | 2019-03-26T10:43:34.000Z | from django.urls import path
from .views import ( student_list, student_add, student_profile,student_delete )
| 36.666667 | 80 | 0.827273 | 16 | 110 | 5.4375 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 110 | 2 | 81 | 55 | 0.887755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f442ad3274e1d03978bf00cca2923623d11978bb | 8,842 | py | Python | pomodorr/frames/tests/test_consumers.py | kamil559/pomodorr | 232e6e98ff3481561dd1235794b3960066713210 | [
"MIT"
] | null | null | null | pomodorr/frames/tests/test_consumers.py | kamil559/pomodorr | 232e6e98ff3481561dd1235794b3960066713210 | [
"MIT"
] | 15 | 2020-04-11T18:30:57.000Z | 2020-07-05T09:37:43.000Z | pomodorr/frames/tests/test_consumers.py | kamil559/pomodorr | 232e6e98ff3481561dd1235794b3960066713210 | [
"MIT"
] | null | null | null | import json
import pytest
from channels.db import database_sync_to_async
from channels.testing import WebsocketCommunicator
from pytest_lazyfixture import lazy_fixture
from pomodorr.frames import statuses
from pomodorr.frames.models import DateFrame
from pomodorr.frames.routing import frames_application
from pomodorr... | 39.123894 | 120 | 0.774259 | 1,078 | 8,842 | 5.959184 | 0.1141 | 0.113792 | 0.036426 | 0.029577 | 0.808842 | 0.767746 | 0.739415 | 0.724938 | 0.689446 | 0.651308 | 0 | 0.005914 | 0.139448 | 8,842 | 225 | 121 | 39.297778 | 0.838349 | 0.016625 | 0 | 0.576687 | 0 | 0 | 0.100679 | 0.039926 | 0 | 0 | 0 | 0 | 0.233129 | 1 | 0 | false | 0 | 0.055215 | 0 | 0.055215 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f4458a3941886161e8e7b509e9445b16e1094e76 | 24 | py | Python | docker_squash/version.py | pombredanne/docker-scripts | ecee9f921b22cd44943197635875572185dd015d | [
"MIT"
] | 513 | 2016-04-04T21:44:14.000Z | 2022-03-27T06:18:26.000Z | docker_squash/version.py | pombredanne/docker-scripts | ecee9f921b22cd44943197635875572185dd015d | [
"MIT"
] | 106 | 2016-04-01T11:53:20.000Z | 2022-03-31T00:35:31.000Z | docker_squash/version.py | pombredanne/docker-scripts | ecee9f921b22cd44943197635875572185dd015d | [
"MIT"
] | 75 | 2016-05-11T01:08:47.000Z | 2022-03-25T01:20:06.000Z | version = "1.0.10.dev0"
| 12 | 23 | 0.625 | 5 | 24 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0.125 | 24 | 1 | 24 | 24 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f45a0afb4a750100d6616bb61de6015d31db9869 | 25 | py | Python | heareval/__init__.py | neuralaudio/hear-eval-kit | f92119592954544dfb417f8e9aea21eadb4a65d0 | [
"Apache-2.0"
] | 24 | 2021-07-26T21:21:46.000Z | 2022-03-30T08:10:13.000Z | heareval/__init__.py | neuralaudio/hear-eval-kit | f92119592954544dfb417f8e9aea21eadb4a65d0 | [
"Apache-2.0"
] | 196 | 2021-07-26T17:58:23.000Z | 2022-01-26T17:40:25.000Z | heareval/__init__.py | neuralaudio/hear-eval-kit | f92119592954544dfb417f8e9aea21eadb4a65d0 | [
"Apache-2.0"
] | 3 | 2021-08-10T13:12:53.000Z | 2022-03-19T05:00:50.000Z | __version__ = "2021.0.6"
| 12.5 | 24 | 0.68 | 4 | 25 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0.12 | 25 | 1 | 25 | 25 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f45caefa61ce261896189f11de67dd4621b4cff1 | 44 | py | Python | code/abc057_a_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc057_a_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc057_a_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | a,b=map(int,input().split())
print((a+b)%24) | 22 | 28 | 0.613636 | 10 | 44 | 2.7 | 0.8 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.022727 | 44 | 2 | 29 | 22 | 0.581395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
be483eb33f37e53a2e55abe5acc6cd622141fb6c | 200 | py | Python | src/game/exceptions.py | UnBParadigmas/2020.1_G2_SMA_DarwInPython | 34cdc979a95f827f230bd4f13442f6c67d81ba2b | [
"MIT"
] | null | null | null | src/game/exceptions.py | UnBParadigmas/2020.1_G2_SMA_DarwInPython | 34cdc979a95f827f230bd4f13442f6c67d81ba2b | [
"MIT"
] | 1 | 2020-11-20T10:32:49.000Z | 2020-11-20T10:32:49.000Z | src/game/exceptions.py | UnBParadigmas/2020.1_G2_SMA_DarwInPython | 34cdc979a95f827f230bd4f13442f6c67d81ba2b | [
"MIT"
] | null | null | null | class InvalidMovementException(Exception):
pass
class InvalidMovementTargetException(InvalidMovementException):
pass
class InvalidMovimentOriginException(InvalidMovementException):
pass | 22.222222 | 63 | 0.84 | 12 | 200 | 14 | 0.5 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115 | 200 | 9 | 64 | 22.222222 | 0.949153 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
be629e4dd47b9de924dd51caddb573587b68e29b | 268 | py | Python | cracking_the_coding_interview_qs/10.4/find_x_in_listy_test.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | cracking_the_coding_interview_qs/10.4/find_x_in_listy_test.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | cracking_the_coding_interview_qs/10.4/find_x_in_listy_test.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | import unittest
from find_x_in_listy import find_x_in_listy, Listy
class Test_Case_Find_X_In_Listy(unittest.TestCase):
def test_case_find_x_in_listy(self):
listy = Listy(list(range(0, 1*10**8)))
self.assertEqual(find_x_in_listy(listy, 5678), 5678) | 38.285714 | 60 | 0.761194 | 47 | 268 | 3.93617 | 0.446809 | 0.135135 | 0.189189 | 0.324324 | 0.4 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0.056522 | 0.141791 | 268 | 7 | 60 | 38.285714 | 0.747826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
be7fa8fa9510f2347bc60a9ff146e619c5f6dc1c | 11,457 | py | Python | homeschool/students/tests/test_forms.py | brandonmcclure/homeschool | 6ba2e35014740e952222535e9492cde0d41338b4 | [
"MIT"
] | null | null | null | homeschool/students/tests/test_forms.py | brandonmcclure/homeschool | 6ba2e35014740e952222535e9492cde0d41338b4 | [
"MIT"
] | null | null | null | homeschool/students/tests/test_forms.py | brandonmcclure/homeschool | 6ba2e35014740e952222535e9492cde0d41338b4 | [
"MIT"
] | null | null | null | import datetime
from homeschool.courses.tests.factories import (
CourseFactory,
CourseTaskFactory,
GradedWorkFactory,
)
from homeschool.schools.tests.factories import GradeLevelFactory
from homeschool.students.forms import CourseworkForm, EnrollmentForm, GradeForm
from homeschool.students.models import Cou... | 36.141956 | 87 | 0.639696 | 1,251 | 11,457 | 5.614708 | 0.089528 | 0.09254 | 0.061503 | 0.031891 | 0.797978 | 0.78246 | 0.758827 | 0.742027 | 0.729784 | 0.729784 | 0 | 0.00284 | 0.262372 | 11,457 | 316 | 88 | 36.256329 | 0.828304 | 0.052806 | 0 | 0.679688 | 0 | 0 | 0.059827 | 0.002319 | 0 | 0 | 0 | 0 | 0.070313 | 1 | 0.054688 | false | 0 | 0.027344 | 0 | 0.09375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
be98084b654d84cf6a197790eaa2f280fb68a68e | 800 | py | Python | ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/_api/v2/compat/v2/train/experimental/__init__.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | 2 | 2020-09-30T00:11:09.000Z | 2021-10-04T13:00:38.000Z | ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/_api/v2/compat/v2/train/experimental/__init__.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | null | null | null | ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/_api/v2/compat/v2/train/experimental/__init__.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | 1 | 2021-01-28T01:57:41.000Z | 2021-01-28T01:57:41.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Public API for tf.train.experimental namespace.
"""
from __future__ import print_function as _print_function
import sys as _sys
from tensorflow.python.training.experimental.loss_scale ... | 44.444444 | 105 | 0.86875 | 104 | 800 | 6.432692 | 0.442308 | 0.167414 | 0.179372 | 0.251121 | 0.54559 | 0.54559 | 0.54559 | 0.54559 | 0 | 0 | 0 | 0 | 0.075 | 800 | 17 | 106 | 47.058824 | 0.904054 | 0.2175 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.888889 | 0 | 0.888889 | 0.222222 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
beb77481d7d9ef64134079c15cf78aedfbcf66f2 | 187 | py | Python | RainIt/rain_it/ric/Procedure.py | luisgepeto/RainItPi | 47cb7228e9c584c3c4489ebc78abf6de2096b770 | [
"MIT"
] | null | null | null | RainIt/rain_it/ric/Procedure.py | luisgepeto/RainItPi | 47cb7228e9c584c3c4489ebc78abf6de2096b770 | [
"MIT"
] | null | null | null | RainIt/rain_it/ric/Procedure.py | luisgepeto/RainItPi | 47cb7228e9c584c3c4489ebc78abf6de2096b770 | [
"MIT"
] | null | null | null | from ric.RainItComposite import RainItComposite
class Procedure(RainItComposite):
def __init__(self):
super().__init__()
def get_pickle_form(self):
return self
| 18.7 | 47 | 0.705882 | 20 | 187 | 6.1 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213904 | 187 | 9 | 48 | 20.777778 | 0.829932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
fe2bf5d430a026df243c522eca3e9b1d054d0492 | 45 | py | Python | remediar/modules/http/__init__.py | fabaff/remediar | 014d7733b00cd40a45881c2729c04df5584476e7 | [
"Apache-2.0"
] | null | null | null | remediar/modules/http/__init__.py | fabaff/remediar | 014d7733b00cd40a45881c2729c04df5584476e7 | [
"Apache-2.0"
] | null | null | null | remediar/modules/http/__init__.py | fabaff/remediar | 014d7733b00cd40a45881c2729c04df5584476e7 | [
"Apache-2.0"
] | null | null | null | """Support for HTTP or web server issues."""
| 22.5 | 44 | 0.688889 | 7 | 45 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 1 | 45 | 45 | 0.815789 | 0.844444 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fe4a3921bc3a55c6c61a10f07f322ae6a1bc443a | 12,719 | py | Python | pay-api/tests/unit/api/test_fee.py | saravanpa-aot/sbc-pay | fb9f61b99e506e43280bc69531ee107cc12cd92d | [
"Apache-2.0"
] | null | null | null | pay-api/tests/unit/api/test_fee.py | saravanpa-aot/sbc-pay | fb9f61b99e506e43280bc69531ee107cc12cd92d | [
"Apache-2.0"
] | null | null | null | pay-api/tests/unit/api/test_fee.py | saravanpa-aot/sbc-pay | fb9f61b99e506e43280bc69531ee107cc12cd92d | [
"Apache-2.0"
] | 5 | 2019-03-01T01:12:12.000Z | 2019-07-08T16:33:47.000Z | # Copyright © 2019 Province of British Columbia
#
# 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 agr... | 41.029032 | 112 | 0.679928 | 1,730 | 12,719 | 4.755491 | 0.115029 | 0.045703 | 0.040841 | 0.030996 | 0.753738 | 0.734533 | 0.734533 | 0.727483 | 0.70767 | 0.698554 | 0 | 0.016225 | 0.190738 | 12,719 | 309 | 113 | 41.161812 | 0.782959 | 0.130907 | 0 | 0.622727 | 0 | 0 | 0.19145 | 0.060376 | 0 | 0 | 0 | 0 | 0.163636 | 1 | 0.068182 | false | 0 | 0.027273 | 0 | 0.113636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
feb98f525f627b833eb5f7cdfb89e344a5f06574 | 103 | py | Python | src/jj_analyzer/__init__.py | ninetymiles/jj-logcat-analyzer | d4ae0fddfefc303ae9c17e6c9e08aad6a231e036 | [
"Apache-1.1"
] | null | null | null | src/jj_analyzer/__init__.py | ninetymiles/jj-logcat-analyzer | d4ae0fddfefc303ae9c17e6c9e08aad6a231e036 | [
"Apache-1.1"
] | null | null | null | src/jj_analyzer/__init__.py | ninetymiles/jj-logcat-analyzer | d4ae0fddfefc303ae9c17e6c9e08aad6a231e036 | [
"Apache-1.1"
] | null | null | null | #! /usr/bin/python
import sys
if sys.version_info[0] == 3:
from .__main__ import *
else:
pass | 12.875 | 28 | 0.640777 | 16 | 103 | 3.8125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.223301 | 103 | 8 | 29 | 12.875 | 0.7375 | 0.165049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
2290a77719ce3ea48bd13dc7fb8b6642fe413085 | 144 | py | Python | application/recommendations/__init__.py | QualiChain/qualichain_backend | cc6dbf1ae5d09e8d01cccde94326563b25d28b58 | [
"MIT"
] | null | null | null | application/recommendations/__init__.py | QualiChain/qualichain_backend | cc6dbf1ae5d09e8d01cccde94326563b25d28b58 | [
"MIT"
] | null | null | null | application/recommendations/__init__.py | QualiChain/qualichain_backend | cc6dbf1ae5d09e8d01cccde94326563b25d28b58 | [
"MIT"
] | null | null | null | from flask import Blueprint
recommendation_blueprint = Blueprint('recommendations', __name__)
from application.recommendations import routes | 20.571429 | 65 | 0.847222 | 14 | 144 | 8.357143 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 144 | 7 | 66 | 20.571429 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
22c8357e530d1406b6c30aa5078c53db167737b2 | 128 | py | Python | pichetprofile/__init__.py | jamenor/pichetprofile | 6633ea6eaa7473af9e10f34f6a19428c2db92465 | [
"MIT"
] | 2 | 2021-04-20T01:54:40.000Z | 2022-01-31T10:00:04.000Z | pichetprofile/__init__.py | jamenor/pichetprofile | 6633ea6eaa7473af9e10f34f6a19428c2db92465 | [
"MIT"
] | null | null | null | pichetprofile/__init__.py | jamenor/pichetprofile | 6633ea6eaa7473af9e10f34f6a19428c2db92465 | [
"MIT"
] | 2 | 2021-12-12T08:17:42.000Z | 2022-02-13T21:04:44.000Z | # -*- coding: utf-8 -*-
from oopschool.school import Student,Tesla,SpecialStudent,Teacher
from oopschool.newschool import Test | 42.666667 | 66 | 0.78125 | 16 | 128 | 6.25 | 0.8125 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.109375 | 128 | 3 | 67 | 42.666667 | 0.868421 | 0.164063 | 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 | 0 | 0 | 0 | 5 |
fe0a42ffd316cd292e323db6162852aaf54d8093 | 37 | py | Python | website/addons/forward/views/__init__.py | DanielSBrown/osf.io | 98dda2ac237377197acacce78274bc0a4ce8f303 | [
"Apache-2.0"
] | 1 | 2015-10-02T18:35:53.000Z | 2015-10-02T18:35:53.000Z | website/addons/forward/views/__init__.py | DanielSBrown/osf.io | 98dda2ac237377197acacce78274bc0a4ce8f303 | [
"Apache-2.0"
] | 13 | 2020-03-24T15:29:41.000Z | 2022-03-11T23:15:28.000Z | website/addons/forward/views/__init__.py | DanielSBrown/osf.io | 98dda2ac237377197acacce78274bc0a4ce8f303 | [
"Apache-2.0"
] | 1 | 2019-07-16T00:14:49.000Z | 2019-07-16T00:14:49.000Z | from . import config, widget # noqa
| 18.5 | 36 | 0.702703 | 5 | 37 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 37 | 1 | 37 | 37 | 0.896552 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fe0f496060ed3aa777376eab607ac140da6babfa | 1,400 | py | Python | horizon/forms/__init__.py | ameoba/horizon | ff9e367c98a8bb79f10914abffaaa04b0a461819 | [
"Apache-2.0"
] | 2 | 2019-12-29T09:20:13.000Z | 2020-01-01T13:12:34.000Z | horizon/forms/__init__.py | yongquanf/horizon | 9aad7fd6f66588fed7c27b720642e47a4a12854b | [
"Apache-2.0"
] | 10 | 2015-02-19T20:27:04.000Z | 2017-05-15T15:04:32.000Z | horizon/forms/__init__.py | yongquanf/horizon | 9aad7fd6f66588fed7c27b720642e47a4a12854b | [
"Apache-2.0"
] | 4 | 2015-05-05T08:17:28.000Z | 2020-02-05T10:47:06.000Z | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 Nebula, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# ... | 36.842105 | 78 | 0.784286 | 185 | 1,400 | 5.935135 | 0.513514 | 0.051002 | 0.102004 | 0.10929 | 0.193078 | 0.169399 | 0 | 0 | 0 | 0 | 0 | 0.00937 | 0.161429 | 1,400 | 37 | 79 | 37.837838 | 0.925894 | 0.542857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.470588 | 1 | 0 | true | 0 | 0.529412 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a3b0b5f68e1084bc860c329219fb7ebd7ec06dcc | 70 | py | Python | numberTheory/natural.py | ndarwin314/symbolicPy | ce2e48bf1557b5995db6c324ada9fbd4767df1e3 | [
"MIT"
] | null | null | null | numberTheory/natural.py | ndarwin314/symbolicPy | ce2e48bf1557b5995db6c324ada9fbd4767df1e3 | [
"MIT"
] | null | null | null | numberTheory/natural.py | ndarwin314/symbolicPy | ce2e48bf1557b5995db6c324ada9fbd4767df1e3 | [
"MIT"
] | null | null | null | # TODO: implement algorithms in c++ or something to make them fast
| 23.333333 | 67 | 0.728571 | 11 | 70 | 4.636364 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 70 | 2 | 68 | 35 | 0.927273 | 0.914286 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.5 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a3bf6d02c2f4e332e2c37541b89b9a4e5f82ec94 | 97 | py | Python | CH7_GitCmdAndCtrl/modules/environment.py | maxmac12/BlackHatPython | 60044c65ffc2f1216cbf92c2ec850a4e2e9ca5bf | [
"MIT"
] | null | null | null | CH7_GitCmdAndCtrl/modules/environment.py | maxmac12/BlackHatPython | 60044c65ffc2f1216cbf92c2ec850a4e2e9ca5bf | [
"MIT"
] | null | null | null | CH7_GitCmdAndCtrl/modules/environment.py | maxmac12/BlackHatPython | 60044c65ffc2f1216cbf92c2ec850a4e2e9ca5bf | [
"MIT"
] | null | null | null | import os
def run(**kwargs):
print("[*] In environment module.")
return str(os.environ) | 16.166667 | 39 | 0.639175 | 13 | 97 | 4.769231 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195876 | 97 | 6 | 40 | 16.166667 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0.265306 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
a3fc7e9736f8ff7c6e4924c0d8a73afdf2dd7f02 | 81 | py | Python | aiolookin/__init__.py | bachya/aiolookin | 553731047b6910b1cb74667fbb343faf9b8656ac | [
"MIT"
] | null | null | null | aiolookin/__init__.py | bachya/aiolookin | 553731047b6910b1cb74667fbb343faf9b8656ac | [
"MIT"
] | 3 | 2021-08-16T21:32:30.000Z | 2021-10-05T00:30:03.000Z | aiolookin/__init__.py | bachya/aiolookin | 553731047b6910b1cb74667fbb343faf9b8656ac | [
"MIT"
] | null | null | null | """Define the aiolookin package."""
from .device import async_get_device # noqa
| 27 | 44 | 0.753086 | 11 | 81 | 5.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 81 | 2 | 45 | 40.5 | 0.842857 | 0.432099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
430437fe39813c58d169d2be946182b08eb80151 | 200 | py | Python | hoover/site/wsgi.py | hoover/hoover | 84053b2479e966b0f639692c9e226261e3188709 | [
"MIT"
] | 15 | 2016-08-18T10:48:06.000Z | 2019-10-15T14:41:20.000Z | hoover/site/wsgi.py | hoover/hoover | 84053b2479e966b0f639692c9e226261e3188709 | [
"MIT"
] | 88 | 2019-10-28T14:55:16.000Z | 2021-05-14T12:42:52.000Z | hoover/site/wsgi.py | hoover/hoover | 84053b2479e966b0f639692c9e226261e3188709 | [
"MIT"
] | 14 | 2016-09-27T13:11:57.000Z | 2019-10-08T23:33:59.000Z | from . import events # noqa
from django.core.wsgi import get_wsgi_application
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "hoover.site.settings")
application = get_wsgi_application()
| 25 | 71 | 0.81 | 27 | 200 | 5.777778 | 0.592593 | 0.089744 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 200 | 7 | 72 | 28.571429 | 0.866667 | 0.02 | 0 | 0 | 0 | 0 | 0.216495 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
431f67abd21ada1dae45fd70ed84a4c58f410719 | 65 | py | Python | addons14/base_rest/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-06-10T14:59:13.000Z | 2021-06-10T14:59:13.000Z | addons14/base_rest/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | null | null | null | addons14/base_rest/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-04-09T09:44:44.000Z | 2021-04-09T09:44:44.000Z | from . import models
from . import components
from . import http
| 16.25 | 24 | 0.769231 | 9 | 65 | 5.555556 | 0.555556 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 3 | 25 | 21.666667 | 0.943396 | 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 | 0 | 0 | 0 | 5 |
433606583160b95b550e87a2119c5cb01f7c5b5a | 76 | py | Python | src/python/errors.py | Miravalier/canonfire | 7eeb93270ec3f3332fa039f3a9d0e8b3b2c86263 | [
"MIT"
] | 1 | 2020-01-30T16:36:04.000Z | 2020-01-30T16:36:04.000Z | src/python/errors.py | Miravalier/canonfire | 7eeb93270ec3f3332fa039f3a9d0e8b3b2c86263 | [
"MIT"
] | 9 | 2021-11-21T14:28:54.000Z | 2021-11-21T14:38:16.000Z | src/python/errors.py | Miravalier/canonfire | 7eeb93270ec3f3332fa039f3a9d0e8b3b2c86263 | [
"MIT"
] | null | null | null | class AuthError(Exception):
pass
class JsonError(Exception):
pass
| 10.857143 | 27 | 0.710526 | 8 | 76 | 6.75 | 0.625 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 76 | 6 | 28 | 12.666667 | 0.9 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
4a32ad81cfcc28f835805b24183250a1a290fdeb | 235 | py | Python | weibo_image_spider/exceptions.py | lonsty/weibo-pic-spider-hd | c7dae38b51209296cc8e71aa6fb80f094d549198 | [
"MIT"
] | null | null | null | weibo_image_spider/exceptions.py | lonsty/weibo-pic-spider-hd | c7dae38b51209296cc8e71aa6fb80f094d549198 | [
"MIT"
] | null | null | null | weibo_image_spider/exceptions.py | lonsty/weibo-pic-spider-hd | c7dae38b51209296cc8e71aa6fb80f094d549198 | [
"MIT"
] | null | null | null | # @AUTHOR : lonsty
# @DATE : 2020/3/28 18:01
class CookiesExpiredException(Exception):
pass
class NoImagesException(Exception):
pass
class ContentParserError(Exception):
pass
class UserNotFound(Exception):
pass
| 12.368421 | 41 | 0.719149 | 24 | 235 | 7.041667 | 0.625 | 0.307692 | 0.319527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057895 | 0.191489 | 235 | 18 | 42 | 13.055556 | 0.831579 | 0.170213 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 5 |
4a42d347c7abb078f1060ffec9bcd3fae7f3044c | 46 | py | Python | datajoint-workflow/{{cookiecutter.github_repo}}/src/{{cookiecutter.__pkg_import_name}}/version.py | Yambottle/dj-workflow-template | a47a354af2f9303c898ef403491e69cfc396d196 | [
"MIT"
] | null | null | null | datajoint-workflow/{{cookiecutter.github_repo}}/src/{{cookiecutter.__pkg_import_name}}/version.py | Yambottle/dj-workflow-template | a47a354af2f9303c898ef403491e69cfc396d196 | [
"MIT"
] | null | null | null | datajoint-workflow/{{cookiecutter.github_repo}}/src/{{cookiecutter.__pkg_import_name}}/version.py | Yambottle/dj-workflow-template | a47a354af2f9303c898ef403491e69cfc396d196 | [
"MIT"
] | 6 | 2022-02-18T20:19:04.000Z | 2022-03-05T05:29:23.000Z | __version__ = "{{cookiecutter._pkg_version}}"
| 23 | 45 | 0.76087 | 4 | 46 | 7.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.674419 | 0 | 0 | 0 | 0 | 0 | 0.630435 | 0.630435 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4a4d9078d162889cc7a0df9b67742f350806db8d | 13,952 | py | Python | stores/apps/inventory/migrations/0001_initial.py | diassor/CollectorCity-Market-Place | 892ad220b8cf1c0fc7433f625213fe61729522b2 | [
"Apache-2.0"
] | 135 | 2015-03-19T13:28:18.000Z | 2022-03-27T06:41:42.000Z | stores/apps/inventory/migrations/0001_initial.py | dfcoding/CollectorCity-Market-Place | e59acec3d600c049323397b17cae14fdcaaaec07 | [
"Apache-2.0"
] | null | null | null | stores/apps/inventory/migrations/0001_initial.py | dfcoding/CollectorCity-Market-Place | e59acec3d600c049323397b17cae14fdcaaaec07 | [
"Apache-2.0"
] | 83 | 2015-01-30T01:00:15.000Z | 2022-03-08T17:25:10.000Z | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'ProductType'
db.create_table('inventory_producttype', (
('id', self.gf('django... | 76.240437 | 181 | 0.573825 | 1,447 | 13,952 | 5.422944 | 0.111265 | 0.110106 | 0.190901 | 0.272716 | 0.786798 | 0.784631 | 0.747419 | 0.720403 | 0.661654 | 0.561361 | 0 | 0.012016 | 0.182841 | 13,952 | 182 | 182 | 76.659341 | 0.676256 | 0.01154 | 0 | 0.148148 | 0 | 0 | 0.542843 | 0.328013 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012346 | false | 0.006173 | 0.024691 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4a553a81b1d7bdf7e54e2eefdce19b67fef643fd | 138 | py | Python | cfdata/tabular/converters/__init__.py | carefree0910/carefree-data | ae0f4ea5724b4efd5d76f2a9d420acf3322c1d19 | [
"MIT"
] | 9 | 2020-10-25T11:52:34.000Z | 2022-01-23T02:45:41.000Z | cfdata/tabular/converters/__init__.py | carefree0910/carefree-data | ae0f4ea5724b4efd5d76f2a9d420acf3322c1d19 | [
"MIT"
] | 2 | 2020-08-02T01:58:48.000Z | 2021-02-26T11:24:19.000Z | cfdata/tabular/converters/__init__.py | carefree0910/carefree-data | ae0f4ea5724b4efd5d76f2a9d420acf3322c1d19 | [
"MIT"
] | 1 | 2021-11-04T14:34:13.000Z | 2021-11-04T14:34:13.000Z | from .base import *
from .string import *
from .categorical import *
from .numerical import *
__all__ = ["Converter", "converter_dict"]
| 17.25 | 41 | 0.724638 | 16 | 138 | 5.9375 | 0.5625 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 138 | 7 | 42 | 19.714286 | 0.818966 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4a752e0adb3dfdb8832eacdb68f81c47021fa651 | 378 | gyp | Python | deps/libgdal/gyp-formats/ogr_mem.gyp | khrushjing/node-gdal-async | 6546b0c8690f2db677d5385b40b407523503b314 | [
"Apache-2.0"
] | 42 | 2021-03-26T17:34:52.000Z | 2022-03-18T14:15:31.000Z | deps/libgdal/gyp-formats/ogr_mem.gyp | khrushjing/node-gdal-async | 6546b0c8690f2db677d5385b40b407523503b314 | [
"Apache-2.0"
] | 29 | 2021-06-03T14:24:01.000Z | 2022-03-23T15:43:58.000Z | deps/libgdal/gyp-formats/ogr_mem.gyp | khrushjing/node-gdal-async | 6546b0c8690f2db677d5385b40b407523503b314 | [
"Apache-2.0"
] | 8 | 2021-05-14T19:26:37.000Z | 2022-03-21T13:44:42.000Z | {
"includes": [
"../common.gypi"
],
"targets": [
{
"target_name": "libgdal_ogr_mem_frmt",
"type": "static_library",
"sources": [
"../gdal/ogr/ogrsf_frmts/mem/ogrmemdatasource.cpp",
"../gdal/ogr/ogrsf_frmts/mem/ogrmemlayer.cpp",
"../gdal/ogr/ogrsf_frmts/mem/ogrmemdriver.cpp"
],
"include... | 18.9 | 55 | 0.595238 | 42 | 378 | 5.119048 | 0.547619 | 0.130233 | 0.223256 | 0.316279 | 0.4 | 0.213953 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18254 | 378 | 19 | 56 | 19.894737 | 0.695793 | 0 | 0 | 0.105263 | 0 | 0 | 0.685185 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4a7ff589828eca63a17e67bce0eb8c34992e953a | 158 | py | Python | {{cookiecutter.project_name}}/{{cookiecutter.app_name}}/extensions.py | DevAerial/flask-api-template | 6d3f745f2dacb793c4bdc6aaaceb86eb472efe55 | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/{{cookiecutter.app_name}}/extensions.py | DevAerial/flask-api-template | 6d3f745f2dacb793c4bdc6aaaceb86eb472efe55 | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/{{cookiecutter.app_name}}/extensions.py | DevAerial/flask-api-template | 6d3f745f2dacb793c4bdc6aaaceb86eb472efe55 | [
"MIT"
] | null | null | null | from flask_marshmallow import Marshmallow{% if cookiecutter.use_celery == 'yes'%}
from celery import Celery
celery = Celery(){% endif %}
ma = Marshmallow()
| 22.571429 | 81 | 0.740506 | 19 | 158 | 6.052632 | 0.578947 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 158 | 6 | 82 | 26.333333 | 0.845588 | 0 | 0 | 0 | 0 | 0 | 0.019108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4397c55661379269054e0b0a47adf3a823197ee1 | 173 | py | Python | website/sites/admin.py | vnaskos/Website | 1c2adb0985f3932ddeca12025a2d216d2470cb63 | [
"MIT"
] | null | null | null | website/sites/admin.py | vnaskos/Website | 1c2adb0985f3932ddeca12025a2d216d2470cb63 | [
"MIT"
] | null | null | null | website/sites/admin.py | vnaskos/Website | 1c2adb0985f3932ddeca12025a2d216d2470cb63 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.]
from website.sites.models import Post
@admin.register(Post)
class TestAdmin2(admin.ModelAdmin):
pass | 15.727273 | 38 | 0.768786 | 23 | 173 | 5.782609 | 0.695652 | 0.195489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006803 | 0.150289 | 173 | 11 | 39 | 15.727273 | 0.897959 | 0.156069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
43ab43b6738516044ebfd16ee957b6dda20ddd01 | 161 | py | Python | python/test-deco-1-1.py | li-ma/homework | d75b1752a02bd028af0806683abe079c7b0a9b29 | [
"Apache-2.0"
] | null | null | null | python/test-deco-1-1.py | li-ma/homework | d75b1752a02bd028af0806683abe079c7b0a9b29 | [
"Apache-2.0"
] | null | null | null | python/test-deco-1-1.py | li-ma/homework | d75b1752a02bd028af0806683abe079c7b0a9b29 | [
"Apache-2.0"
] | null | null | null | def deco1(func):
print("before myfunc() called.")
func()
print("after myfunc() called.")
def myfunc():
print("myfunc() called.")
deco1(myfunc)
| 16.1 | 36 | 0.608696 | 19 | 161 | 5.157895 | 0.421053 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015504 | 0.198758 | 161 | 9 | 37 | 17.888889 | 0.744186 | 0 | 0 | 0 | 0 | 0 | 0.378882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.285714 | 0.428571 | 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 | 0 | 0 | 1 | 0 | 5 |
43b6c1b507adc1bb371518dff1d4802b73e3e1a5 | 434 | py | Python | py/multiple_dispatch_example.py | coalpha/coalpha.github.io | 8a620314a5c0bcbe2225d29f733379d181534430 | [
"Apache-2.0"
] | null | null | null | py/multiple_dispatch_example.py | coalpha/coalpha.github.io | 8a620314a5c0bcbe2225d29f733379d181534430 | [
"Apache-2.0"
] | 1 | 2020-04-12T07:48:18.000Z | 2020-04-12T07:49:29.000Z | py/multiple_dispatch_example.py | coalpha/coalpha.github.io | 8a620314a5c0bcbe2225d29f733379d181534430 | [
"Apache-2.0"
] | 1 | 2020-09-30T05:27:07.000Z | 2020-09-30T05:27:07.000Z | from typing import *
from multiple_dispatch import multiple_dispatch
@overload
@multiple_dispatch
def add(a: Literal[4, 6, 8], b):
raise TypeError("No adding 2, 4, 6, or 8!")
@overload
@multiple_dispatch
def add(a: int, b: str):
return f"int + str = {a} + {b}"
@overload
@multiple_dispatch
def add(a: int, b: in... | 18.083333 | 47 | 0.658986 | 72 | 434 | 3.888889 | 0.375 | 0.342857 | 0.271429 | 0.314286 | 0.442857 | 0.360714 | 0.25 | 0.25 | 0 | 0 | 0 | 0.022663 | 0.186636 | 434 | 23 | 48 | 18.869565 | 0.770538 | 0 | 0 | 0.388889 | 0 | 0 | 0.163594 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.166667 | 0.5 | 0.055556 | 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 | 0 | 0 | 0 | 5 |
43c8749a8ff42646c3b9643c7de460258d1664ae | 68 | py | Python | TTBenchmark/check_benchmark.py | yuqil725/benchmark_lib | f404ff829d7b3a8bb0f6b00689038cf533bba83e | [
"MIT"
] | null | null | null | TTBenchmark/check_benchmark.py | yuqil725/benchmark_lib | f404ff829d7b3a8bb0f6b00689038cf533bba83e | [
"MIT"
] | null | null | null | TTBenchmark/check_benchmark.py | yuqil725/benchmark_lib | f404ff829d7b3a8bb0f6b00689038cf533bba83e | [
"MIT"
] | null | null | null | def check_difference():
pass
def update_benchmark():
pass
| 9.714286 | 23 | 0.676471 | 8 | 68 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 68 | 6 | 24 | 11.333333 | 0.846154 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
43d8dcfde4fc817f885eb2d557c4f9603d6da4be | 86 | py | Python | src/FunctionApps/DevOps/tests/test_get_ip.py | CDCgov/prime-public-health-data-infrastructure | 7e4849c3a486a84e94765bf0023b80261c510c57 | [
"Apache-2.0"
] | 3 | 2022-02-24T18:16:39.000Z | 2022-03-29T20:21:41.000Z | src/FunctionApps/DevOps/tests/test_get_ip.py | CDCgov/prime-public-health-data-infrastructure | 7e4849c3a486a84e94765bf0023b80261c510c57 | [
"Apache-2.0"
] | 17 | 2022-02-08T17:13:55.000Z | 2022-03-28T16:49:00.000Z | src/FunctionApps/DevOps/tests/test_get_ip.py | CDCgov/prime-public-health-data-infrastructure | 7e4849c3a486a84e94765bf0023b80261c510c57 | [
"Apache-2.0"
] | 3 | 2022-02-27T23:12:50.000Z | 2022-03-17T04:51:47.000Z | def test_get_ip_placeholder():
"""placeholder so pytest does not fail"""
pass
| 21.5 | 45 | 0.697674 | 12 | 86 | 4.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197674 | 86 | 3 | 46 | 28.666667 | 0.826087 | 0.406977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
78efdc29bbe17ba841a42c2ad2e6e9e8b6de242a | 34 | py | Python | tests/functional/test_calculator.py | bellanov/calculator | a66e68a368a5212247aeff3291c9cb8b508e91be | [
"Apache-2.0"
] | null | null | null | tests/functional/test_calculator.py | bellanov/calculator | a66e68a368a5212247aeff3291c9cb8b508e91be | [
"Apache-2.0"
] | null | null | null | tests/functional/test_calculator.py | bellanov/calculator | a66e68a368a5212247aeff3291c9cb8b508e91be | [
"Apache-2.0"
] | 1 | 2021-05-26T16:54:17.000Z | 2021-05-26T16:54:17.000Z | """TODO: Move the Threads Here"""
| 17 | 33 | 0.647059 | 5 | 34 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 1 | 34 | 34 | 0.758621 | 0.794118 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.