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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6804131892366427752e2b2eac4fe7939de253c5 | 2,621 | py | Python | src/euler_python_package/euler_python/easiest/p023.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/easiest/p023.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/easiest/p023.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | """
A perfect number is a number for which the sum of its proper divisors is
exactly equal to the number. For example, the sum of the proper divisors
of 28 would be 1 + 2 + 4 + 7 + 14 = 28, which means that 28 is a perfect
number.
A number n is called deficient if the sum of its proper divisors is less
than n and it i... | 36.402778 | 107 | 0.68905 | 451 | 2,621 | 3.964523 | 0.208426 | 0.053691 | 0.071588 | 0.044743 | 0.826622 | 0.826622 | 0.807606 | 0.807606 | 0.807606 | 0.807606 | 0 | 0.03868 | 0.260206 | 2,621 | 71 | 108 | 36.915493 | 0.883445 | 0.718428 | 0 | 0 | 0 | 0 | 0.012384 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0 | 0 | 0.210526 | 0.052632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8921a06eadcb2e48cea20666e005a04d1e4d241 | 89,017 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ncs5500_coherent_node_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ncs5500_coherent_node_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ncs5500_coherent_node_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | """ Cisco_IOS_XR_ncs5500_coherent_node_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR ncs5500\-coherent\-node package operational data.
This module contains definitions
for the following management objects\:
coherent\: Coherent node operational data
Copyright (c) 2013\-2016 by Cisco... | 37.449306 | 246 | 0.390083 | 6,980 | 89,017 | 4.759169 | 0.035244 | 0.028899 | 0.037117 | 0.051025 | 0.813059 | 0.777657 | 0.732804 | 0.689244 | 0.638069 | 0.604443 | 0 | 0.028507 | 0.547996 | 89,017 | 2,376 | 247 | 37.465067 | 0.797097 | 0.206579 | 0 | 0.701994 | 0 | 0.007345 | 0.090614 | 0.062927 | 0 | 0 | 0 | 0 | 0 | 1 | 0.131165 | false | 0 | 0.03148 | 0.002099 | 0.465897 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8945d2f7fabbe2f3982e91539028d9e36eb5351 | 30 | py | Python | pymysquery/__init__.py | mkeneqa/pysquery | 2007bc7a6d41353360bdc40fccafc96fc94f5678 | [
"MIT"
] | null | null | null | pymysquery/__init__.py | mkeneqa/pysquery | 2007bc7a6d41353360bdc40fccafc96fc94f5678 | [
"MIT"
] | 5 | 2020-07-16T18:48:50.000Z | 2020-12-08T04:17:18.000Z | pymysquery/__init__.py | mkeneqa/pysquery | 2007bc7a6d41353360bdc40fccafc96fc94f5678 | [
"MIT"
] | 1 | 2020-12-01T20:22:52.000Z | 2020-12-01T20:22:52.000Z | from .mysql import DB as MyDB
| 15 | 29 | 0.766667 | 6 | 30 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 30 | 1 | 30 | 30 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a89a8913c0c7c5f81f0c7d74706d86f8a7c14485 | 91 | py | Python | pin.py | ptdzung/beacons | 5395a71f5fe38cb2862e0381f0ed777681744f2a | [
"MIT"
] | null | null | null | pin.py | ptdzung/beacons | 5395a71f5fe38cb2862e0381f0ed777681744f2a | [
"MIT"
] | null | null | null | pin.py | ptdzung/beacons | 5395a71f5fe38cb2862e0381f0ed777681744f2a | [
"MIT"
] | null | null | null | def parser(x, y):
y = 522 - y*100*225/242
x = 95 + x*100*225/242
return [x,y]
| 15.166667 | 27 | 0.505495 | 19 | 91 | 2.421053 | 0.526316 | 0.086957 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.365079 | 0.307692 | 91 | 5 | 28 | 18.2 | 0.365079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8c7e1339ba2f32850b379c07be70dea8f3aeff2 | 74 | py | Python | SuperSaaS/Models/Appointment.py | fluxility/supersaas-python-api-client | 96cfc4e6151f8ee73cb6a486788a89dbd22e93d2 | [
"MIT"
] | 2 | 2020-04-07T04:00:49.000Z | 2021-08-15T19:21:17.000Z | SuperSaaS/Models/Appointment.py | fluxility/supersaas-python-api-client | 96cfc4e6151f8ee73cb6a486788a89dbd22e93d2 | [
"MIT"
] | 9 | 2018-10-15T09:46:14.000Z | 2020-04-11T06:37:38.000Z | SuperSaaS/Models/Appointment.py | fluxility/supersaas-python-api-client | 96cfc4e6151f8ee73cb6a486788a89dbd22e93d2 | [
"MIT"
] | 6 | 2018-05-17T08:31:48.000Z | 2021-07-27T03:19:03.000Z | from .BaseModel import BaseModel
class Appointment(BaseModel):
pass
| 12.333333 | 32 | 0.77027 | 8 | 74 | 7.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 5 | 33 | 14.8 | 0.934426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
765dd38f5f8a6ba3a25d8cc7bab2a5016fde67c9 | 36,775 | py | Python | dashboard/views.py | alienmasterrace/clouditam.com | dab312d3ab4f09845d8355580a3806bfd4b9cbf4 | [
"Unlicense"
] | null | null | null | dashboard/views.py | alienmasterrace/clouditam.com | dab312d3ab4f09845d8355580a3806bfd4b9cbf4 | [
"Unlicense"
] | null | null | null | dashboard/views.py | alienmasterrace/clouditam.com | dab312d3ab4f09845d8355580a3806bfd4b9cbf4 | [
"Unlicense"
] | null | null | null | from django.contrib.auth.decorators import login_required
from django.shortcuts import render, redirect, get_object_or_404
from django.utils.decorators import method_decorator
from django.views.generic import View
from dashboard.forms import AssetForm, CompanyForm, ManufacturerForm, SupplierForm, SoftwareForm, DashUser... | 39.929425 | 137 | 0.655201 | 4,250 | 36,775 | 5.516 | 0.055765 | 0.048799 | 0.081048 | 0.07883 | 0.826601 | 0.813207 | 0.768033 | 0.761677 | 0.737363 | 0.71403 | 0 | 0.006888 | 0.230129 | 36,775 | 920 | 138 | 39.972826 | 0.821136 | 0.041251 | 0 | 0.682451 | 0 | 0.020891 | 0.114576 | 0.027977 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097493 | false | 0.004178 | 0.011142 | 0.002786 | 0.384401 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4f23802fac61ebd492c88c4251ca405ffa40dc22 | 179 | py | Python | ABC/ABC130/abc130_a.py | yatabis/AtCoder-in-Python3 | cc2948853b549a6b8f39df5685c9e84cda81499d | [
"MIT"
] | null | null | null | ABC/ABC130/abc130_a.py | yatabis/AtCoder-in-Python3 | cc2948853b549a6b8f39df5685c9e84cda81499d | [
"MIT"
] | null | null | null | ABC/ABC130/abc130_a.py | yatabis/AtCoder-in-Python3 | cc2948853b549a6b8f39df5685c9e84cda81499d | [
"MIT"
] | null | null | null | # 問題URL: https://atcoder.jp/contests/abc130/tasks/abc130_a
# 解答URL: https://atcoder.jp/contests/abc130/submissions/16221091
x, a = map(int, input().split())
print(10 * (x >= a))
| 29.833333 | 64 | 0.698324 | 27 | 179 | 4.592593 | 0.666667 | 0.193548 | 0.225806 | 0.354839 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117284 | 0.094972 | 179 | 5 | 65 | 35.8 | 0.648148 | 0.664804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4f30c26ec755fd754d95c0422548fba348ab2760 | 304 | py | Python | Python Developer/Image Project/images6.py | gabrielajachs/courses | b96d7c3bad974b24213af0b37ae35e58145a559c | [
"MIT"
] | null | null | null | Python Developer/Image Project/images6.py | gabrielajachs/courses | b96d7c3bad974b24213af0b37ae35e58145a559c | [
"MIT"
] | null | null | null | Python Developer/Image Project/images6.py | gabrielajachs/courses | b96d7c3bad974b24213af0b37ae35e58145a559c | [
"MIT"
] | null | null | null | from PIL import Image, ImageFilter
img = Image.open('/home/gabrielajachs/Documents/GitHub/courses/Python Developer/image-playground/Pokedex/astro.jpg')
img.thumbnail((400, 400))
img.save("/home/gabrielajachs/Documents/GitHub/courses/Python Developer/image-playground/resize_astro2.jpg")
print(img.size) | 43.428571 | 116 | 0.8125 | 41 | 304 | 6 | 0.609756 | 0.138211 | 0.211382 | 0.260163 | 0.560976 | 0.560976 | 0.560976 | 0.560976 | 0.560976 | 0 | 0 | 0.024221 | 0.049342 | 304 | 7 | 117 | 43.428571 | 0.82699 | 0 | 0 | 0 | 0 | 0.4 | 0.629508 | 0.622951 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4f466cdd02d5752d69b17474f1b6b2eb38f93753 | 62 | py | Python | serpantin/dojoforms/__init__.py | ainomugish/serpantin | 1ae39733d9fb8f5c1c326e2b6ade48351e9956cc | [
"BSD-3-Clause"
] | null | null | null | serpantin/dojoforms/__init__.py | ainomugish/serpantin | 1ae39733d9fb8f5c1c326e2b6ade48351e9956cc | [
"BSD-3-Clause"
] | null | null | null | serpantin/dojoforms/__init__.py | ainomugish/serpantin | 1ae39733d9fb8f5c1c326e2b6ade48351e9956cc | [
"BSD-3-Clause"
] | null | null | null | from util import *
from widgets import *
from fields import *
| 15.5 | 21 | 0.758065 | 9 | 62 | 5.222222 | 0.555556 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 62 | 3 | 22 | 20.666667 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
96f2784c1f5915cc878acdafb44f2a92cce845df | 174 | py | Python | PythonCodenation/urls.py | FabianaRibas/Codenation | 34fe778f75ddcb25e2207406216cb0074642eaef | [
"MIT"
] | null | null | null | PythonCodenation/urls.py | FabianaRibas/Codenation | 34fe778f75ddcb25e2207406216cb0074642eaef | [
"MIT"
] | 7 | 2021-03-30T14:19:43.000Z | 2021-09-22T19:38:14.000Z | PythonCodenation/urls.py | FabianaRibas/Codenation | 34fe778f75ddcb25e2207406216cb0074642eaef | [
"MIT"
] | null | null | null | api_get_url = 'https://api.codenation.dev/v1/challenge/dev-ps/generate-data?token={}'
api_post_url = 'https://api.codenation.dev/v1/challenge/dev-ps/submit-solution?token={}' | 87 | 88 | 0.764368 | 28 | 174 | 4.607143 | 0.535714 | 0.124031 | 0.170543 | 0.325581 | 0.620155 | 0.620155 | 0.620155 | 0.620155 | 0.620155 | 0 | 0 | 0.011834 | 0.028736 | 174 | 2 | 88 | 87 | 0.751479 | 0 | 0 | 0 | 1 | 1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8c08aca96a655296e9ea7515bfb8337e2c9e371e | 12,875 | py | Python | tests/unit_tests/test_tethys_apps/test_harvester.py | msouff/tethys | 45795d1e6561d5db8fddd838f4d1ae1d91dbb837 | [
"BSD-2-Clause"
] | 79 | 2015-10-05T13:13:28.000Z | 2022-02-01T12:30:33.000Z | tests/unit_tests/test_tethys_apps/test_harvester.py | msouff/tethys | 45795d1e6561d5db8fddd838f4d1ae1d91dbb837 | [
"BSD-2-Clause"
] | 542 | 2015-08-12T22:11:32.000Z | 2022-03-29T22:18:08.000Z | tests/unit_tests/test_tethys_apps/test_harvester.py | msouff/tethys | 45795d1e6561d5db8fddd838f4d1ae1d91dbb837 | [
"BSD-2-Clause"
] | 71 | 2016-01-16T01:03:41.000Z | 2022-03-31T17:55:54.000Z | import io
import unittest
from unittest import mock
from django.core.exceptions import ObjectDoesNotExist
from django.db.utils import ProgrammingError
from tethys_apps.harvester import SingletonHarvester
from tethys_apps.base.testing.environment import set_testing_environment
class HarvesterTest(unittest.TestCase):
... | 40.487421 | 120 | 0.695379 | 1,498 | 12,875 | 5.676903 | 0.09279 | 0.048213 | 0.02587 | 0.024577 | 0.84031 | 0.806914 | 0.777399 | 0.751646 | 0.739064 | 0.718838 | 0 | 0.000496 | 0.217243 | 12,875 | 317 | 121 | 40.615142 | 0.843322 | 0.24233 | 0 | 0.64881 | 0 | 0 | 0.160098 | 0.071254 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.095238 | false | 0 | 0.065476 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8c3f1e1bbec2dfefcba237bf25c491e4e9bf0b24 | 25 | py | Python | app/content/admin/__init__.py | TIHLDE/Lepton | 60ec0793381f1c1b222f305586e8c2d4345fb566 | [
"MIT"
] | 7 | 2021-03-04T18:49:12.000Z | 2021-03-08T18:25:51.000Z | elementalcms/admin/__init__.py | paranoid-software/elemental-cms | 7f09f9cd5498577d23fa70d1a51497b9de232598 | [
"MIT"
] | 251 | 2021-03-04T19:19:14.000Z | 2022-03-31T14:47:53.000Z | app/content/admin/__init__.py | tihlde/Lepton | 5cab3522c421b76373a5c25f49267cfaef7b826a | [
"MIT"
] | 3 | 2021-10-05T19:03:04.000Z | 2022-02-25T13:32:09.000Z | from .admin import admin
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c48dd789194350f773bd8d5f262ffe35e5f70dd | 61 | py | Python | discord/slash/__init__.py | MhmCats/discord.py | 49ba330e3264a17bc17b27b27192a138afd53a88 | [
"MIT"
] | null | null | null | discord/slash/__init__.py | MhmCats/discord.py | 49ba330e3264a17bc17b27b27192a138afd53a88 | [
"MIT"
] | null | null | null | discord/slash/__init__.py | MhmCats/discord.py | 49ba330e3264a17bc17b27b27192a138afd53a88 | [
"MIT"
] | null | null | null | from .bot import *
from .command import *
from .cog import *
| 15.25 | 22 | 0.704918 | 9 | 61 | 4.777778 | 0.555556 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 61 | 3 | 23 | 20.333333 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c4d9143a197f8f3fd80056235de442f0e0e25f6 | 35 | py | Python | stravalib/__init__.py | johnewart/stravalib | 8c06216a9c47e11793b0ce2c95462c3485559c03 | [
"Apache-2.0"
] | 1 | 2015-01-06T07:16:12.000Z | 2015-01-06T07:16:12.000Z | stravalib/__init__.py | johnewart/stravalib | 8c06216a9c47e11793b0ce2c95462c3485559c03 | [
"Apache-2.0"
] | null | null | null | stravalib/__init__.py | johnewart/stravalib | 8c06216a9c47e11793b0ce2c95462c3485559c03 | [
"Apache-2.0"
] | null | null | null | from stravalib.client import Client | 35 | 35 | 0.885714 | 5 | 35 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c560fd139f1739dd95c8066303da11f4f10ec2b | 49 | py | Python | testing/example_scripts/config/collect_pytest_prefix/test_foo.py | tinkerlin/pytest | bed3918cbc800682681a26c163f4cb0868b3a612 | [
"MIT"
] | 5,079 | 2015-01-01T03:39:46.000Z | 2022-03-31T07:38:22.000Z | testing/example_scripts/config/collect_pytest_prefix/test_foo.py | tinkerlin/pytest | bed3918cbc800682681a26c163f4cb0868b3a612 | [
"MIT"
] | 1,623 | 2015-01-01T08:06:24.000Z | 2022-03-30T19:48:52.000Z | testing/example_scripts/config/collect_pytest_prefix/test_foo.py | tinkerlin/pytest | bed3918cbc800682681a26c163f4cb0868b3a612 | [
"MIT"
] | 2,033 | 2015-01-04T07:18:02.000Z | 2022-03-28T19:55:47.000Z | # -*- coding: utf-8 -*-
def test_foo():
pass
| 12.25 | 23 | 0.510204 | 7 | 49 | 3.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.244898 | 49 | 3 | 24 | 16.333333 | 0.621622 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8b0d427a373c1d831a87c318b4b70e8812ecaa8d | 11,410 | py | Python | code/utils.py | CCChenhao997/EMCGCN-ASTE | b00221d717e6aef27270bb80824502915e19301e | [
"Apache-2.0"
] | null | null | null | code/utils.py | CCChenhao997/EMCGCN-ASTE | b00221d717e6aef27270bb80824502915e19301e | [
"Apache-2.0"
] | null | null | null | code/utils.py | CCChenhao997/EMCGCN-ASTE | b00221d717e6aef27270bb80824502915e19301e | [
"Apache-2.0"
] | null | null | null | import numpy as np
from sklearn import metrics
from data import label2id, id2label
def get_aspects(tags, length, token_range, ignore_index=-1):
spans = []
start, end = -1, -1
for i in range(length):
l, r = token_range[i]
if tags[l][l] == ignore_index:
continue
label = i... | 45.64 | 145 | 0.562401 | 1,463 | 11,410 | 4.183185 | 0.077922 | 0.019608 | 0.054902 | 0.055556 | 0.806863 | 0.789542 | 0.774837 | 0.761765 | 0.74085 | 0.74085 | 0 | 0.015885 | 0.315863 | 11,410 | 250 | 146 | 45.64 | 0.768127 | 0.010429 | 0 | 0.6621 | 0 | 0 | 0.011957 | 0.002214 | 0 | 0 | 0 | 0 | 0.018265 | 1 | 0.050228 | false | 0 | 0.013699 | 0 | 0.109589 | 0.031963 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8b142dd3df88528ae21c9931ee7c7c73c156dc91 | 26 | py | Python | src/viggy_utilities/__init__.py | vigneshpai2003/viggy-utilities | 7c95e61c3ff363ebcfc1da7334886d1f3c14dc13 | [
"MIT"
] | null | null | null | src/viggy_utilities/__init__.py | vigneshpai2003/viggy-utilities | 7c95e61c3ff363ebcfc1da7334886d1f3c14dc13 | [
"MIT"
] | null | null | null | src/viggy_utilities/__init__.py | vigneshpai2003/viggy-utilities | 7c95e61c3ff363ebcfc1da7334886d1f3c14dc13 | [
"MIT"
] | null | null | null | from .timing import Timer
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8b4199aae9ccff77b5fabcfa9d02e6b46b5c434d | 42 | py | Python | mdstudio/mdstudio/compat/__init__.py | NLeSC/LIEStudio | 03c163b4a2590b4e2204621e1c941c28a9624887 | [
"Apache-2.0"
] | 10 | 2017-09-14T07:26:15.000Z | 2021-04-01T09:33:03.000Z | mdstudio/mdstudio/compat/__init__.py | NLeSC/LIEStudio | 03c163b4a2590b4e2204621e1c941c28a9624887 | [
"Apache-2.0"
] | 117 | 2017-09-13T08:09:48.000Z | 2019-10-03T12:19:13.000Z | mdstudio/mdstudio/compat/__init__.py | NLeSC/LIEStudio | 03c163b4a2590b4e2204621e1c941c28a9624887 | [
"Apache-2.0"
] | 1 | 2018-09-26T09:40:51.000Z | 2018-09-26T09:40:51.000Z | from twisted.python.compat import unicode
| 21 | 41 | 0.857143 | 6 | 42 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c6f36bc427d6163df3d758f5ae067e1884ce8f7 | 79 | py | Python | mist_api/__init__.py | interlegis/mist-api | dc8b3b868eafa6bb90e713d40e5da02f86fe5acf | [
"Apache-2.0"
] | null | null | null | mist_api/__init__.py | interlegis/mist-api | dc8b3b868eafa6bb90e713d40e5da02f86fe5acf | [
"Apache-2.0"
] | null | null | null | mist_api/__init__.py | interlegis/mist-api | dc8b3b868eafa6bb90e713d40e5da02f86fe5acf | [
"Apache-2.0"
] | null | null | null | from .mist_api import hash_password, get_challenge, send_request, execute_cmd
| 26.333333 | 77 | 0.848101 | 12 | 79 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 79 | 2 | 78 | 39.5 | 0.873239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
8c87f1691e540a8282e37107aa4026e28ea64290 | 34 | py | Python | main/pkgu/cls.py | chaosannals/trial-python | 740b91fa4b1b1b9839b7524515995a6d417612ca | [
"MIT"
] | null | null | null | main/pkgu/cls.py | chaosannals/trial-python | 740b91fa4b1b1b9839b7524515995a6d417612ca | [
"MIT"
] | 8 | 2020-12-26T07:48:15.000Z | 2022-03-12T00:25:14.000Z | main/pkgu/cls.py | chaosannals/trial-python | 740b91fa4b1b1b9839b7524515995a6d417612ca | [
"MIT"
] | null | null | null | from p.a import A
a = A()
a.m1()
| 6.8 | 17 | 0.529412 | 9 | 34 | 2 | 0.555556 | 0.333333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.264706 | 34 | 4 | 18 | 8.5 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 1 | 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 | 6 |
8cbde2a73289685730c036a1e053f221ef616585 | 37 | py | Python | models/__init__.py | OneStepReachSky/fuwu_prcv2019 | fb3616b8bffdb17cfb7369edf186e0440507e4a3 | [
"MIT"
] | 175 | 2019-04-03T11:23:45.000Z | 2022-03-16T15:06:36.000Z | models/__init__.py | OneStepReachSky/fuwu_prcv2019 | fb3616b8bffdb17cfb7369edf186e0440507e4a3 | [
"MIT"
] | 18 | 2019-04-09T03:34:44.000Z | 2022-03-17T03:31:30.000Z | models/__init__.py | OneStepReachSky/fuwu_prcv2019 | fb3616b8bffdb17cfb7369edf186e0440507e4a3 | [
"MIT"
] | 55 | 2019-04-03T14:45:00.000Z | 2022-03-19T09:40:51.000Z | from .msdnet import MSDNet as msdnet
| 18.5 | 36 | 0.810811 | 6 | 37 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 1 | 37 | 37 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8cc53c23bb6cc486ee7670638a3558d968bb1b43 | 187 | py | Python | simplemooc/core/views/practice.py | DiegoBrian/Eureka | 27cf952b27af7fc8cfcc797dffc43a92c9a16d15 | [
"MIT"
] | null | null | null | simplemooc/core/views/practice.py | DiegoBrian/Eureka | 27cf952b27af7fc8cfcc797dffc43a92c9a16d15 | [
"MIT"
] | null | null | null | simplemooc/core/views/practice.py | DiegoBrian/Eureka | 27cf952b27af7fc8cfcc797dffc43a92c9a16d15 | [
"MIT"
] | null | null | null | from django.shortcuts import render, get_object_or_404, redirect
from django.contrib.auth.decorators import login_required
from django.contrib import messages
from core.models import *
| 26.714286 | 64 | 0.84492 | 27 | 187 | 5.703704 | 0.666667 | 0.194805 | 0.220779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017964 | 0.106952 | 187 | 6 | 65 | 31.166667 | 0.904192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
50dbd923797f69dffc15e04c5704368a9ed9bffa | 42 | py | Python | synbio/__init__.py | jecalles/synbio | 8fb89c32166be1ce8b7ec47e1ffd69e5f04a054d | [
"MIT"
] | null | null | null | synbio/__init__.py | jecalles/synbio | 8fb89c32166be1ce8b7ec47e1ffd69e5f04a054d | [
"MIT"
] | null | null | null | synbio/__init__.py | jecalles/synbio | 8fb89c32166be1ce8b7ec47e1ffd69e5f04a054d | [
"MIT"
] | null | null | null | from synbio import codes, polymers, utils
| 21 | 41 | 0.809524 | 6 | 42 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 1 | 42 | 42 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
50e8001e2c7d6b686d6f89b47b79df08ed0a0bd9 | 25 | py | Python | FakeRobot/__init__.py | SConaway/py-FakeRobot | c27a9da922ab8402a46d1718047c9d36025bbbe5 | [
"MIT"
] | 1 | 2021-04-21T17:13:49.000Z | 2021-04-21T17:13:49.000Z | FakeRobot/__init__.py | SConaway/py-FakeRobot | c27a9da922ab8402a46d1718047c9d36025bbbe5 | [
"MIT"
] | null | null | null | FakeRobot/__init__.py | SConaway/py-FakeRobot | c27a9da922ab8402a46d1718047c9d36025bbbe5 | [
"MIT"
] | null | null | null | from .FakeRobot import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0fd03ddf12a6e48f76fc917e317042d806e96e56 | 31,275 | py | Python | brainex/experiments/harvest_setup.py | ebuntel/BrainExTemp | 991038155a6e9289af90da3d800210841ef23ff1 | [
"MIT"
] | 1 | 2020-09-04T16:15:26.000Z | 2020-09-04T16:15:26.000Z | brainex/experiments/harvest_setup.py | ebuntel/Brainextemp | 991038155a6e9289af90da3d800210841ef23ff1 | [
"MIT"
] | null | null | null | brainex/experiments/harvest_setup.py | ebuntel/Brainextemp | 991038155a6e9289af90da3d800210841ef23ff1 | [
"MIT"
] | null | null | null | import math
import os
import random
import shutil
import time
from datetime import datetime
from logging import warning
import numpy as np
import pandas as pd
# spark_location = '/Users/Leo/spark-2.4.3-bin-hadoop2.7' # Set your own
# java8_location = '/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/... | 49.642857 | 122 | 0.597218 | 4,183 | 31,275 | 4.152522 | 0.080564 | 0.026713 | 0.013817 | 0.013702 | 0.814565 | 0.784571 | 0.765976 | 0.74928 | 0.741623 | 0.728037 | 0 | 0.005981 | 0.278241 | 31,275 | 629 | 123 | 49.721781 | 0.763523 | 0.074724 | 0 | 0.675403 | 0 | 0 | 0.177758 | 0.005622 | 0 | 0 | 0 | 0.00159 | 0.014113 | 1 | 0.018145 | false | 0 | 0.022177 | 0 | 0.050403 | 0.193548 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0fdf909de3245b8ba915236c4ec324f9c9801403 | 4,010 | py | Python | pyteal/ast/while_test.py | CiottiGiorgio/pyteal | 9646a1aa479786c1e80d6a3821d5db1e6c4a16e2 | [
"MIT"
] | null | null | null | pyteal/ast/while_test.py | CiottiGiorgio/pyteal | 9646a1aa479786c1e80d6a3821d5db1e6c4a16e2 | [
"MIT"
] | 1 | 2022-03-04T14:57:57.000Z | 2022-03-04T14:57:57.000Z | pyteal/ast/while_test.py | CiottiGiorgio/pyteal | 9646a1aa479786c1e80d6a3821d5db1e6c4a16e2 | [
"MIT"
] | null | null | null | import pytest
import pyteal as pt
options = pt.CompileOptions()
def test_while_compiles():
i = pt.ScratchVar()
expr = pt.While(pt.Int(2)).Do(pt.Seq([i.store(pt.Int(0))]))
assert expr.type_of() == pt.TealType.none
assert not expr.has_return()
expr.__teal__(options)
def test_nested_whiles_compi... | 26.556291 | 88 | 0.634414 | 533 | 4,010 | 4.598499 | 0.118199 | 0.051 | 0.058344 | 0.04896 | 0.862913 | 0.835169 | 0.835169 | 0.835169 | 0.816809 | 0.802938 | 0 | 0.012817 | 0.202244 | 4,010 | 150 | 89 | 26.733333 | 0.75336 | 0 | 0 | 0.697248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 1 | 0.06422 | false | 0 | 0.018349 | 0 | 0.082569 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e84168b736fec81d2bc2787320b437cba29c2b0c | 226 | py | Python | tests/test_general.py | Plot-Twist-Short-Film/plottwist-bootstrap | 4c350a6378d54283c10b6dd86926737d1a1dc79e | [
"MIT"
] | null | null | null | tests/test_general.py | Plot-Twist-Short-Film/plottwist-bootstrap | 4c350a6378d54283c10b6dd86926737d1a1dc79e | [
"MIT"
] | null | null | null | tests/test_general.py | Plot-Twist-Short-Film/plottwist-bootstrap | 4c350a6378d54283c10b6dd86926737d1a1dc79e | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
Module that contains tests for plottwist-bootstrap
"""
import pytest
from plottwist.bootstrap import __version__
def test_version():
assert __version__.get_version()
| 15.066667 | 50 | 0.721239 | 28 | 226 | 5.464286 | 0.785714 | 0.235294 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005236 | 0.154867 | 226 | 14 | 51 | 16.142857 | 0.795812 | 0.415929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e869f55d03feb929cae6d4b54d85edb7b7a50fa5 | 17 | py | Python | serial_scripts/xmpp/__init__.py | atsgen/tf-test | 2748fcd81491450c75dadc71849d2a1c11061029 | [
"Apache-2.0"
] | 5 | 2020-09-29T00:36:57.000Z | 2022-02-16T06:51:32.000Z | serial_scripts/xmpp/__init__.py | vkolli/contrail-test-perf | db04b8924a2c330baabe3059788b149d957a7d67 | [
"Apache-2.0"
] | 27 | 2019-11-02T02:18:34.000Z | 2022-02-24T18:49:08.000Z | serial_scripts/xmpp/__init__.py | vkolli/contrail-test-perf | db04b8924a2c330baabe3059788b149d957a7d67 | [
"Apache-2.0"
] | 20 | 2019-11-28T16:02:25.000Z | 2022-01-06T05:56:58.000Z | "Test XMPP auth"
| 8.5 | 16 | 0.705882 | 3 | 17 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.857143 | 0.823529 | 0 | 0 | 0 | 0 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e87b5695c2ac77814289b00428860e08ddca7c33 | 49 | py | Python | dwio/nyu/recurrence/__init__.py | danielwalt-io/nyu-python | be706940eb06d69dd331cf96d3327bbd5963d28b | [
"MIT"
] | null | null | null | dwio/nyu/recurrence/__init__.py | danielwalt-io/nyu-python | be706940eb06d69dd331cf96d3327bbd5963d28b | [
"MIT"
] | null | null | null | dwio/nyu/recurrence/__init__.py | danielwalt-io/nyu-python | be706940eb06d69dd331cf96d3327bbd5963d28b | [
"MIT"
] | null | null | null | from dwio.nyu.recurrence.closed import Recurrence | 49 | 49 | 0.877551 | 7 | 49 | 6.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 1 | 49 | 49 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e89237d98d3c1c1ac2d869b90ade578c7bf886df | 12,438 | py | Python | src/test/python/thalesians/tsa/testsimulation.py | saarahrasheed/tsa | e4460f707eeecb737663c48d8fc3245f0acb124c | [
"Apache-2.0"
] | 117 | 2017-06-30T14:29:32.000Z | 2022-02-10T00:54:35.000Z | src/test/python/thalesians/tsa/testsimulation.py | saarahrasheed/tsa | e4460f707eeecb737663c48d8fc3245f0acb124c | [
"Apache-2.0"
] | 2 | 2017-09-01T11:42:14.000Z | 2017-11-29T20:00:19.000Z | src/test/python/thalesians/tsa/testsimulation.py | saarahrasheed/tsa | e4460f707eeecb737663c48d8fc3245f0acb124c | [
"Apache-2.0"
] | 37 | 2017-07-05T19:51:10.000Z | 2021-04-27T00:11:18.000Z | import collections
import datetime as dt
import unittest
import numpy as np
import numpy.testing as npt
import pandas as pd
import pandas.util.testing as pdt
import thalesians.tsa.numpyutils as npu
import thalesians.tsa.simulation as sim
import thalesians.tsa.processes as proc
import thalesians.tsa.randomness as rnd
... | 69.486034 | 156 | 0.563837 | 2,031 | 12,438 | 3.434269 | 0.127523 | 0.10681 | 0.216774 | 0.232258 | 0.756989 | 0.733333 | 0.702222 | 0.672832 | 0.592401 | 0.551111 | 0 | 0.249337 | 0.242242 | 12,438 | 179 | 157 | 69.486034 | 0.490716 | 0.010693 | 0 | 0.202614 | 0 | 0 | 0.00065 | 0 | 0 | 0 | 0 | 0 | 0.326797 | 1 | 0.026144 | false | 0 | 0.071895 | 0 | 0.104575 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 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 | 6 |
e8c4347bbf097374f560042d0960220f38068342 | 323 | py | Python | hubspot/crm/tickets/api/__init__.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 117 | 2020-04-06T08:22:53.000Z | 2022-03-18T03:41:29.000Z | hubspot/crm/tickets/api/__init__.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 62 | 2020-04-06T16:21:06.000Z | 2022-03-17T16:50:44.000Z | hubspot/crm/tickets/api/__init__.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 45 | 2020-04-06T16:13:52.000Z | 2022-03-30T21:33:17.000Z | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from hubspot.crm.tickets.api.associations_api import AssociationsApi
from hubspot.crm.tickets.api.basic_api import BasicApi
from hubspot.crm.tickets.api.batch_api import BatchApi
from hubspot.crm.tickets.api.search_api import SearchA... | 32.3 | 68 | 0.845201 | 48 | 323 | 5.5 | 0.4375 | 0.166667 | 0.212121 | 0.318182 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003425 | 0.095975 | 323 | 9 | 69 | 35.888889 | 0.900685 | 0.126935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa3a1125d48244fdbfdb0f4b1ba505d56da03a31 | 152 | py | Python | panda/tests/automated/0_builds.py | 919bot/Tessa | 9b48ff9020e8fb6992fc78271f2720fd19e01093 | [
"MIT"
] | 85 | 2019-06-14T17:51:31.000Z | 2022-02-09T22:18:20.000Z | panda/tests/automated/0_builds.py | 919bot/Tessa | 9b48ff9020e8fb6992fc78271f2720fd19e01093 | [
"MIT"
] | 4 | 2018-12-08T19:02:06.000Z | 2019-09-01T13:54:26.000Z | panda/tests/automated/0_builds.py | 919bot/Tessa | 9b48ff9020e8fb6992fc78271f2720fd19e01093 | [
"MIT"
] | 73 | 2018-12-03T19:34:42.000Z | 2020-07-27T05:10:23.000Z | from panda import build_st
def test_build_panda():
build_st("obj/panda.bin")
def test_build_bootstub_panda():
build_st("obj/bootstub.panda.bin")
| 16.888889 | 36 | 0.763158 | 25 | 152 | 4.32 | 0.4 | 0.194444 | 0.222222 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111842 | 152 | 8 | 37 | 19 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.231788 | 0.145695 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fa4519da413e0773dd71814ec773d8460e7f58b8 | 71 | py | Python | sbankensheets/gsheets/__init__.py | anbergem/sbanken-sheets | e40c86bc991e742d07cea1c85cb5c82ec438d5d2 | [
"MIT"
] | 4 | 2019-02-19T20:54:56.000Z | 2019-03-19T22:25:58.000Z | sbankensheets/gsheets/__init__.py | anbergem/sbanken-sheets | e40c86bc991e742d07cea1c85cb5c82ec438d5d2 | [
"MIT"
] | 12 | 2018-08-22T14:21:50.000Z | 2021-04-30T20:36:37.000Z | sbankensheets/gsheets/__init__.py | anbergem/sbanken-sheets | e40c86bc991e742d07cea1c85cb5c82ec438d5d2 | [
"MIT"
] | null | null | null | from ._helpers import *
from .a1 import *
from .google_sheets import *
| 17.75 | 28 | 0.746479 | 10 | 71 | 5.1 | 0.6 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.169014 | 71 | 3 | 29 | 23.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d735d82be3d934b7f245ba1ce0edf5afa4af6612 | 178 | py | Python | arke/tests/test_basic.py | dennissergeev/arke | b1eeeaf78c22354cba69ccae1ecd2185a691313f | [
"MIT"
] | null | null | null | arke/tests/test_basic.py | dennissergeev/arke | b1eeeaf78c22354cba69ccae1ecd2185a691313f | [
"MIT"
] | 2 | 2017-09-13T17:50:55.000Z | 2017-12-10T13:49:22.000Z | arke/tests/test_basic.py | dennissergeev/arke | b1eeeaf78c22354cba69ccae1ecd2185a691313f | [
"MIT"
] | null | null | null | import os.path as op
import numpy as np
from numpy.testing import assert_equal
import arke
def test_something():
""" """
pass
# assert_equal(F.predict(x), target_y)
| 17.8 | 42 | 0.702247 | 28 | 178 | 4.321429 | 0.75 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196629 | 178 | 9 | 43 | 19.777778 | 0.846154 | 0.202247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | true | 0.166667 | 0.666667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d74ea4dbd1d07870cf6317e13dcc850246c1aef9 | 66 | py | Python | src/ch06/syspath.py | jashburn8020/the-python-tutorial | 025e2b93b3a297411374e1198497ff7d14467051 | [
"Apache-2.0"
] | null | null | null | src/ch06/syspath.py | jashburn8020/the-python-tutorial | 025e2b93b3a297411374e1198497ff7d14467051 | [
"Apache-2.0"
] | null | null | null | src/ch06/syspath.py | jashburn8020/the-python-tutorial | 025e2b93b3a297411374e1198497ff7d14467051 | [
"Apache-2.0"
] | null | null | null | """Diplay contents of `sys.path`."""
import sys
print(sys.path)
| 11 | 36 | 0.666667 | 10 | 66 | 4.4 | 0.7 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 66 | 5 | 37 | 13.2 | 0.77193 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
ad0d5076c8b92bffbedfa802679f665758fd30b4 | 96 | py | Python | venv/lib/python3.8/site-packages/pycparser/_ast_gen.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pycparser/_ast_gen.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pycparser/_ast_gen.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/d0/94/55/9c35be270fb7223565a3c8def6b6c0729e8aa3bb681c09c1e738bb8744 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ad10ad5ecbbe7e8d7d7b486a65a244f3cb945941 | 311 | py | Python | mlearn/__init__.py | EequalsMCsquare/mlearn | bee79618fb80568b99bc2eefcd97dab33967ee12 | [
"MIT"
] | 2 | 2019-12-13T16:06:24.000Z | 2020-01-04T13:44:08.000Z | mlearn/__init__.py | EequalsMCsquare/mlearn | bee79618fb80568b99bc2eefcd97dab33967ee12 | [
"MIT"
] | null | null | null | mlearn/__init__.py | EequalsMCsquare/mlearn | bee79618fb80568b99bc2eefcd97dab33967ee12 | [
"MIT"
] | null | null | null | from .autograd.tensor import zeros, zeros_like, randn, ones
from .functional.layers import *
from .functional.activation import *
from .functional.math import *
from .functional.loss_func import *
from .optimizers import *
from .layers import *
from .Loss import *
from .autograd.tensor import Tensor as tensor
| 31.1 | 59 | 0.787781 | 42 | 311 | 5.785714 | 0.380952 | 0.288066 | 0.246914 | 0.197531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131833 | 311 | 9 | 60 | 34.555556 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ad5e8eaef4f9d2f6d38d7aba6528da008c3d12f0 | 89 | py | Python | hestia.py | lordgape/hestia | 46641230ca466b7c3d478581db744e08ad8ecb1a | [
"MIT"
] | null | null | null | hestia.py | lordgape/hestia | 46641230ca466b7c3d478581db744e08ad8ecb1a | [
"MIT"
] | null | null | null | hestia.py | lordgape/hestia | 46641230ca466b7c3d478581db744e08ad8ecb1a | [
"MIT"
] | null | null | null | from hestia_earth.utils.table import pivot_csv
import sys
print(pivot_csv(sys.argv[1]))
| 17.8 | 46 | 0.808989 | 16 | 89 | 4.3125 | 0.75 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.089888 | 89 | 4 | 47 | 22.25 | 0.839506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad630a5480f70e71a9bf1a4de13aba29ff043e4c | 9,920 | py | Python | models/decoders.py | IIT-PAVIS/Acoustic-Image-Generation | a31c32ed6c3fe96d82b715833b7d32c87575e62b | [
"MIT"
] | null | null | null | models/decoders.py | IIT-PAVIS/Acoustic-Image-Generation | a31c32ed6c3fe96d82b715833b7d32c87575e62b | [
"MIT"
] | null | null | null | models/decoders.py | IIT-PAVIS/Acoustic-Image-Generation | a31c32ed6c3fe96d82b715833b7d32c87575e62b | [
"MIT"
] | null | null | null | import tensorflow as tf
import tensorflow.contrib.slim as slim
from collections import OrderedDict
flags = tf.app.flags
FLAGS = flags.FLAGS
class DecoderVideo(object):
def __init__(self, input_shape=None, num_frames=12, embedding=True):
self.scope = 'DecoderVideo'
self.num_frames = num_frames
... | 45.504587 | 126 | 0.59375 | 1,193 | 9,920 | 4.700754 | 0.122381 | 0.048146 | 0.03709 | 0.045649 | 0.881241 | 0.844508 | 0.844508 | 0.825606 | 0.82418 | 0.775678 | 0 | 0.035196 | 0.298286 | 9,920 | 218 | 127 | 45.504587 | 0.770435 | 0.093448 | 0 | 0.619403 | 0 | 0 | 0.052398 | 0.00786 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089552 | false | 0 | 0.022388 | 0 | 0.156716 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ad6dd23814e8f97bcc4731b832e8e37cd0057fda | 195 | py | Python | src/synamic/core/contracts/site.py | SabujXi/SynamicX | 13773409ae5ed9b953b3531e23ce87166c041b79 | [
"MIT"
] | 7 | 2017-10-15T16:58:47.000Z | 2020-07-02T01:08:21.000Z | src/synamic/core/contracts/site.py | SabujXi/SynamicX | 13773409ae5ed9b953b3531e23ce87166c041b79 | [
"MIT"
] | 5 | 2021-03-18T20:30:32.000Z | 2022-03-11T23:20:09.000Z | src/synamic/core/contracts/site.py | SabujXi/SynamicX | 13773409ae5ed9b953b3531e23ce87166c041b79 | [
"MIT"
] | 2 | 2018-02-04T14:03:38.000Z | 2018-02-04T15:25:59.000Z | from abc import abstractmethod, ABC
from .host import HostContract
class SiteContract(ABC, HostContract):
"""Contract for site."""
# TODO: define abstract methods and properties
| 24.375 | 51 | 0.723077 | 22 | 195 | 6.409091 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 195 | 7 | 52 | 27.857143 | 0.903846 | 0.328205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad96767b7cb5f8ca647e81edd54c4aef20ffb4e6 | 76,802 | py | Python | pirates/leveleditor/worldData/WildIslandF.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/WildIslandF.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/WildIslandF.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.WildIslandF
from pandac.PandaModules import Point3, VBase3, Vec4
objectStruct = {'Objects': {'1164135492.8... | 10,971.714286 | 76,398 | 0.664358 | 10,758 | 76,802 | 4.694274 | 0.12019 | 0.023089 | 0.023762 | 0.019881 | 0.594503 | 0.477812 | 0.391477 | 0.320707 | 0.299836 | 0.292846 | 0 | 0.30907 | 0.069855 | 76,802 | 7 | 76,399 | 10,971.714286 | 0.397861 | 0.002825 | 0 | 0 | 0 | 0 | 0.515363 | 0.268056 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a8ec6c520fbc32adfda5dca2f2b3abb2b3fee473 | 31 | py | Python | examples/openapi3/methodresolver/api/__init__.py | engsas/connexion | abb43a42fb62ef56cb1e0f06c2167cca2f5b9f96 | [
"Apache-2.0"
] | 4,084 | 2015-05-20T11:28:51.000Z | 2022-02-07T13:04:23.000Z | examples/openapi3/methodresolver/api/__init__.py | engsas/connexion | abb43a42fb62ef56cb1e0f06c2167cca2f5b9f96 | [
"Apache-2.0"
] | 1,393 | 2015-06-03T14:17:08.000Z | 2022-02-07T14:11:34.000Z | examples/openapi3/methodresolver/api/__init__.py | engsas/connexion | abb43a42fb62ef56cb1e0f06c2167cca2f5b9f96 | [
"Apache-2.0"
] | 854 | 2015-07-06T14:50:27.000Z | 2022-02-05T02:02:41.000Z | from .petsview import PetsView
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a8ee7c4bc6019fea02a662de9ffaea425546258b | 19,084 | py | Python | emgfit/emg_funcs.py | RobbenRoll/emgfit | 780482a61f4dc080590c0036e9b729c0429530df | [
"BSD-3-Clause"
] | null | null | null | emgfit/emg_funcs.py | RobbenRoll/emgfit | 780482a61f4dc080590c0036e9b729c0429530df | [
"BSD-3-Clause"
] | null | null | null | emgfit/emg_funcs.py | RobbenRoll/emgfit | 780482a61f4dc080590c0036e9b729c0429530df | [
"BSD-3-Clause"
] | 1 | 2021-07-22T21:32:19.000Z | 2021-07-22T21:32:19.000Z | ################################################################################
##### Module with numerically robust implementation of the hyper-exponentially-
##### modified Gaussian probability density function
##### Author: Stefan Paul
##### Import packages
import numpy as np
import lmfit as fit
from numpy import ... | 38.631579 | 137 | 0.646772 | 2,921 | 19,084 | 4.026018 | 0.097227 | 0.02551 | 0.015306 | 0.031293 | 0.856973 | 0.848129 | 0.817857 | 0.809014 | 0.804932 | 0.773895 | 0 | 0.022561 | 0.212639 | 19,084 | 493 | 138 | 38.709939 | 0.760083 | 0.626336 | 0 | 0.359155 | 0 | 0 | 0.06239 | 0.009842 | 0 | 0 | 0 | 0 | 0 | 1 | 0.091549 | false | 0 | 0.06338 | 0.028169 | 0.246479 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d1189a21f93bf060fe236a7e3216afcd95e6ab90 | 3,884 | py | Python | dignity/api.py | PawanMeh/custom-dig | 775053a9989dc22e613e5bd5774929ce5f19a072 | [
"MIT"
] | null | null | null | dignity/api.py | PawanMeh/custom-dig | 775053a9989dc22e613e5bd5774929ce5f19a072 | [
"MIT"
] | null | null | null | dignity/api.py | PawanMeh/custom-dig | 775053a9989dc22e613e5bd5774929ce5f19a072 | [
"MIT"
] | null | null | null | import frappe
import json
from frappe.utils.pdf import get_pdf
import pdfkit
import os
@frappe.whitelist()
def bulk_print_memberships(names):
if not frappe.has_permission("Dignity Senior Citizen", "write"):
frappe.throw(_("Not permitted"), frappe.PermissionError)
if len(names) == 0:
frappe.msgprint("No rows s... | 29.424242 | 125 | 0.707003 | 541 | 3,884 | 4.890943 | 0.251386 | 0.024943 | 0.043084 | 0.036281 | 0.78836 | 0.773998 | 0.718065 | 0.718065 | 0.718065 | 0.648526 | 0 | 0.008812 | 0.152678 | 3,884 | 132 | 126 | 29.424242 | 0.795199 | 0.029609 | 0 | 0.631579 | 0 | 0 | 0.271038 | 0.050703 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.052632 | null | null | 0.126316 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d1292a79951063c034a0fcca5a55fa32dbc1d276 | 26 | py | Python | SimPEG/SEIS/__init__.py | kimjaed/simpeg | b8d716f86a4ea07ba3085fabb24c2bc974788040 | [
"MIT"
] | 3 | 2020-11-27T03:18:28.000Z | 2022-03-18T01:29:58.000Z | SimPEG/SEIS/__init__.py | kimjaed/simpeg | b8d716f86a4ea07ba3085fabb24c2bc974788040 | [
"MIT"
] | null | null | null | SimPEG/SEIS/__init__.py | kimjaed/simpeg | b8d716f86a4ea07ba3085fabb24c2bc974788040 | [
"MIT"
] | 1 | 2019-12-27T15:58:49.000Z | 2019-12-27T15:58:49.000Z | from . import StraightRay
| 13 | 25 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d169878931f861ceafce07b93142d792f4a2a746 | 69 | py | Python | python/helpers/pycharm/nose_helper/_2.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/helpers/pycharm/nose_helper/_2.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/helpers/pycharm/nose_helper/_2.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def reraise(exc_class, exc_val, tb):
raise exc_class, exc_val, tb | 34.5 | 36 | 0.73913 | 13 | 69 | 3.615385 | 0.538462 | 0.340426 | 0.468085 | 0.595745 | 0.680851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 69 | 2 | 37 | 34.5 | 0.810345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d16ceb37b24829c4cfd5b347c8c53bd835be7f13 | 2,449 | py | Python | ood_regularizer/experiment/datasets/constant.py | chenwenxiao/DOI | 14bdedd0b1b886efe77737cfb62695f03ee17c58 | [
"MIT"
] | 1 | 2021-08-13T22:14:10.000Z | 2021-08-13T22:14:10.000Z | ood_regularizer/experiment/datasets/constant.py | chenwenxiao/DOI | 14bdedd0b1b886efe77737cfb62695f03ee17c58 | [
"MIT"
] | null | null | null | ood_regularizer/experiment/datasets/constant.py | chenwenxiao/DOI | 14bdedd0b1b886efe77737cfb62695f03ee17c58 | [
"MIT"
] | null | null | null | '''
load lsun dataset as numpy array
usage:
import lsun
(test_x, test_y) = load_lsun_test()
'''
import tarfile
from PIL import Image
from scipy.ndimage import filters
import os
import tensorflow as tf
import numpy as np
import io
TRAIN_X_ARR_PATH = '/home/cwx17/new_data/constant/train.npy'
TEST_X_ARR_PATH... | 29.865854 | 128 | 0.657411 | 386 | 2,449 | 3.935233 | 0.227979 | 0.036208 | 0.04345 | 0.071099 | 0.809085 | 0.800527 | 0.800527 | 0.800527 | 0.728111 | 0.680711 | 0 | 0.037254 | 0.232748 | 2,449 | 81 | 129 | 30.234568 | 0.771155 | 0.532871 | 0 | 0.296296 | 0 | 0 | 0.162745 | 0.154902 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.259259 | 0 | 0.407407 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0f2decb00b1acb4ab14d9ea85a32d311d506fe05 | 33 | py | Python | mrrt/mri/operators/bench/__init__.py | mritools/mrrt.mri | 00829032f6d19d078a23d006b73f1028b3ec3902 | [
"BSD-3-Clause"
] | 5 | 2020-02-01T22:06:32.000Z | 2021-06-29T14:18:58.000Z | mrrt/mri/operators/bench/__init__.py | mritools/mrrt.mri | 00829032f6d19d078a23d006b73f1028b3ec3902 | [
"BSD-3-Clause"
] | null | null | null | mrrt/mri/operators/bench/__init__.py | mritools/mrrt.mri | 00829032f6d19d078a23d006b73f1028b3ec3902 | [
"BSD-3-Clause"
] | 1 | 2020-03-31T11:53:40.000Z | 2020-03-31T11:53:40.000Z | from .bench_mri import * # noqa
| 16.5 | 32 | 0.69697 | 5 | 33 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 1 | 33 | 33 | 0.846154 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7eb344933a545c5f5f3bf08f1d6b6ea1f413c2fd | 99 | py | Python | packages/grid/apps/worker/src/main/core/infrastructure/providers/__init__.py | exityan/PySyft | 35166c487a5be57f9ad28929ed88a8ba6bdd5aeb | [
"Apache-2.0"
] | 425 | 2019-09-22T06:14:53.000Z | 2022-03-30T02:17:34.000Z | packages/grid/apps/worker/src/main/core/infrastructure/providers/__init__.py | Metrix1010/PySyft | 6477f64b63dc285059c3766deab3993653cead2e | [
"Apache-2.0"
] | 352 | 2019-09-17T15:32:51.000Z | 2022-03-12T01:07:35.000Z | packages/grid/apps/worker/src/main/core/infrastructure/providers/__init__.py | Metrix1010/PySyft | 6477f64b63dc285059c3766deab3993653cead2e | [
"Apache-2.0"
] | 208 | 2019-09-18T18:32:10.000Z | 2022-03-24T01:10:11.000Z | # grid relative
from .aws import *
from .azure import *
from .gcp import *
from .provider import *
| 16.5 | 23 | 0.717172 | 14 | 99 | 5.071429 | 0.571429 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191919 | 99 | 5 | 24 | 19.8 | 0.8875 | 0.131313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e56539a152f0ce0c215e9d5dc73f241e3579a0e | 34 | py | Python | interpreter/install.py | xyalan/build-interpreter | 78dd00f93f915976f7def859f3c36f7e0de4f1f4 | [
"Apache-2.0"
] | null | null | null | interpreter/install.py | xyalan/build-interpreter | 78dd00f93f915976f7def859f3c36f7e0de4f1f4 | [
"Apache-2.0"
] | null | null | null | interpreter/install.py | xyalan/build-interpreter | 78dd00f93f915976f7def859f3c36f7e0de4f1f4 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
import subprocess
| 8.5 | 17 | 0.764706 | 5 | 34 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.147059 | 34 | 3 | 18 | 11.333333 | 0.862069 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e69652017a809cead95e5728b1f83e9526d81aa | 49 | py | Python | Part_13_Debugging_Hello_World/main.py | 655rvbnv/Python-For-Kids | 0f9762e834f2f1dbe787cc72094234278ad77b62 | [
"Apache-2.0"
] | null | null | null | Part_13_Debugging_Hello_World/main.py | 655rvbnv/Python-For-Kids | 0f9762e834f2f1dbe787cc72094234278ad77b62 | [
"Apache-2.0"
] | null | null | null | Part_13_Debugging_Hello_World/main.py | 655rvbnv/Python-For-Kids | 0f9762e834f2f1dbe787cc72094234278ad77b62 | [
"Apache-2.0"
] | null | null | null | import pdb;pdb.set_trace()
print('Hello, World!') | 24.5 | 26 | 0.734694 | 8 | 49 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 2 | 27 | 24.5 | 0.76087 | 0 | 0 | 0 | 0 | 0 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
0e80108db1a7d752f23a5343725f2750950e738b | 56 | py | Python | server/app/services/__init__.py | brulejr/flask-vue-crud | be4a1281184be7330c76e3d1dd3e936c8e07a7fe | [
"MIT"
] | null | null | null | server/app/services/__init__.py | brulejr/flask-vue-crud | be4a1281184be7330c76e3d1dd3e936c8e07a7fe | [
"MIT"
] | null | null | null | server/app/services/__init__.py | brulejr/flask-vue-crud | be4a1281184be7330c76e3d1dd3e936c8e07a7fe | [
"MIT"
] | null | null | null | from .auth_service import *
from .book_service import *
| 18.666667 | 27 | 0.785714 | 8 | 56 | 5.25 | 0.625 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e95fd599996d74dbc4e0ddb27652d700db2fb2f | 44,894 | py | Python | functions/reading/utils.py | hsokooti/RegNet | 28a8b6132677bb58e9fc811c0dd15d78913c7e86 | [
"Apache-2.0"
] | 187 | 2018-01-08T11:37:12.000Z | 2022-03-03T06:26:43.000Z | functions/reading/utils.py | hsokooti/RegNet | 28a8b6132677bb58e9fc811c0dd15d78913c7e86 | [
"Apache-2.0"
] | 15 | 2018-01-27T07:12:41.000Z | 2021-08-22T12:37:30.000Z | functions/reading/utils.py | hsokooti/RegNet | 28a8b6132677bb58e9fc811c0dd15d78913c7e86 | [
"Apache-2.0"
] | 60 | 2018-01-09T13:00:32.000Z | 2021-06-15T03:02:36.000Z | import copy
import functions.setting.setting_utils as su
from joblib import Parallel, delayed
import json
import logging
import multiprocessing
import numpy as np
import os
import time
def search_indices(dvf, c, class_balanced, margin, dim_im, torso):
"""
This function searches for voxels based on the ClassBa... | 63.951567 | 196 | 0.569341 | 6,199 | 44,894 | 3.895467 | 0.063559 | 0.014908 | 0.018221 | 0.01938 | 0.824499 | 0.783626 | 0.760726 | 0.736873 | 0.711239 | 0.691113 | 0 | 0.025026 | 0.294182 | 44,894 | 701 | 197 | 64.042796 | 0.737053 | 0.19076 | 0 | 0.557809 | 0 | 0 | 0.060159 | 0.001386 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028398 | false | 0 | 0.018256 | 0 | 0.077079 | 0.002028 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7ebc805226dd8a6502fc754ab547d817d67b858e | 5,648 | py | Python | carball/tests/stats/kickoff_test.py | unitedroguegg/carball | 4767f2c5d195b7d5d60e6a5575415262803acef7 | [
"Apache-2.0"
] | 119 | 2018-09-14T02:14:19.000Z | 2022-03-06T05:06:54.000Z | carball/tests/stats/kickoff_test.py | unitedroguegg/carball | 4767f2c5d195b7d5d60e6a5575415262803acef7 | [
"Apache-2.0"
] | 207 | 2018-09-06T18:53:06.000Z | 2022-02-12T22:39:36.000Z | carball/tests/stats/kickoff_test.py | unitedroguegg/carball | 4767f2c5d195b7d5d60e6a5575415262803acef7 | [
"Apache-2.0"
] | 44 | 2018-09-10T16:54:13.000Z | 2022-02-19T03:07:50.000Z | from carball.analysis.analysis_manager import AnalysisManager
from carball.tests.utils import run_analysis_test_on_replay, get_raw_replays
class Test_Kickoff():
def test_0_kickoffs(self):
def test(analysis: AnalysisManager):
proto_game = analysis.get_protobuf_data()
kickoffs = p... | 41.837037 | 85 | 0.648017 | 694 | 5,648 | 4.864553 | 0.090778 | 0.149289 | 0.078199 | 0.101303 | 0.91173 | 0.856635 | 0.829976 | 0.821979 | 0.792654 | 0.745261 | 0 | 0.012509 | 0.278152 | 5,648 | 134 | 86 | 42.149254 | 0.815551 | 0 | 0 | 0.572816 | 0 | 0 | 0.020361 | 0.003718 | 0 | 0 | 0 | 0 | 0.330097 | 1 | 0.135922 | false | 0 | 0.019417 | 0 | 0.165049 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7ee610860134b77cbf38c732c6c184f56c814977 | 148 | py | Python | recaptcha_form/account_backend/forms.py | ntucker/django-recaptcha-form | 7d803d5ad7efb3cfa6b65b0c3a8a1289fefbcd9b | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | recaptcha_form/account_backend/forms.py | ntucker/django-recaptcha-form | 7d803d5ad7efb3cfa6b65b0c3a8a1289fefbcd9b | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | recaptcha_form/account_backend/forms.py | ntucker/django-recaptcha-form | 7d803d5ad7efb3cfa6b65b0c3a8a1289fefbcd9b | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from recaptcha_form.forms import RecaptchaForm
from account.forms import SignupForm
class RecaptchaSignupForm(RecaptchaForm, SignupForm):
pass | 24.666667 | 53 | 0.844595 | 16 | 148 | 7.75 | 0.6875 | 0.177419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114865 | 148 | 6 | 54 | 24.666667 | 0.946565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
7d0c628462cb91b238bab31414a310219d610dba | 2,520 | py | Python | tests/analyzers/test_meter.py | bookj/SplitComponentOfWord | 535350b97c50fd44261947e2dc5afac686410144 | [
"MIT"
] | 1 | 2016-08-15T13:20:49.000Z | 2016-08-15T13:20:49.000Z | tests/analyzers/test_meter.py | bookj/SplitComponentOfWord | 535350b97c50fd44261947e2dc5afac686410144 | [
"MIT"
] | null | null | null | tests/analyzers/test_meter.py | bookj/SplitComponentOfWord | 535350b97c50fd44261947e2dc5afac686410144 | [
"MIT"
] | null | null | null | import unittest
from thws.analyzers import meter
class SeparateWords(unittest.TestCase):
def setUp(self):
self.az = meter.MeterAnalyzer()
def test_given_sunthorn_phu_sentence_1(self):
sentence = ("ถึงม้วยดินสิ้นฟ้ามหาสมุทร")
output = ["ถึง", "ม้วย", "ดิน", "สิ้น", "ฟ้า", "มหาสมุทร"]
... | 31.898734 | 71 | 0.643254 | 458 | 2,520 | 3.646288 | 0.203057 | 0.014371 | 0.064671 | 0.145509 | 0.798802 | 0.795808 | 0.773054 | 0.732934 | 0.712575 | 0.712575 | 0 | 0.001002 | 0.20754 | 2,520 | 78 | 72 | 32.307692 | 0.778167 | 0 | 0 | 0.490566 | 0 | 0 | 0.1842 | 0.15006 | 0 | 0 | 0 | 0 | 0.169811 | 1 | 0.207547 | false | 0 | 0.037736 | 0 | 0.283019 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d272d0da2e56cef58ea8e041993dc47ea26acf5 | 13,339 | py | Python | canopy/openapi/models/__init__.py | CanopySimulations/canopy-python | 9ec37e674e65d6fbef0402ac0c612c163d55631e | [
"MIT"
] | null | null | null | canopy/openapi/models/__init__.py | CanopySimulations/canopy-python | 9ec37e674e65d6fbef0402ac0c612c163d55631e | [
"MIT"
] | 1 | 2022-01-31T10:18:08.000Z | 2022-01-31T10:18:08.000Z | canopy/openapi/models/__init__.py | CanopySimulations/canopy-python | 9ec37e674e65d6fbef0402ac0c612c163d55631e | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
Canopy.Api
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
# i... | 78.005848 | 140 | 0.912137 | 1,556 | 13,339 | 7.537918 | 0.197301 | 0.131298 | 0.223207 | 0.301987 | 0.419388 | 0.260039 | 0.103845 | 0.033421 | 0.018416 | 0.010231 | 0 | 0.000474 | 0.050903 | 13,339 | 170 | 141 | 78.464706 | 0.925987 | 0.020916 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.012903 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d331fb4c61e7528168c8cc8827e878bdf377b81 | 23 | py | Python | urls/project/prod.py | hoatle/django-boilerplate | 12a4ac7d663196a8a860f51ca34039bc5c00bad6 | [
"BSD-3-Clause"
] | null | null | null | urls/project/prod.py | hoatle/django-boilerplate | 12a4ac7d663196a8a860f51ca34039bc5c00bad6 | [
"BSD-3-Clause"
] | null | null | null | urls/project/prod.py | hoatle/django-boilerplate | 12a4ac7d663196a8a860f51ca34039bc5c00bad6 | [
"BSD-3-Clause"
] | null | null | null | from urls.prod import * | 23 | 23 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d3f32a86c4370f6a239f96f900e7249d9a3dda5 | 90 | py | Python | setup.py | Cologler/click-easylog-python | 0644c6f7ec7080c1c753c884e27c9ca80f9deef9 | [
"MIT"
] | null | null | null | setup.py | Cologler/click-easylog-python | 0644c6f7ec7080c1c753c884e27c9ca80f9deef9 | [
"MIT"
] | null | null | null | setup.py | Cologler/click-easylog-python | 0644c6f7ec7080c1c753c884e27c9ca80f9deef9 | [
"MIT"
] | null | null | null | # auto generated by setupmeta_builder
from setupmeta_builder import setup_it
setup_it()
| 15 | 38 | 0.833333 | 13 | 90 | 5.461538 | 0.692308 | 0.450704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 90 | 5 | 39 | 18 | 0.910256 | 0.388889 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
add8f62cfc272b241c70d942c4ecfa22f71a417d | 169 | py | Python | jdetr/models/__init__.py | dsuess/detr.jax | 9bb8127725d553944a553cd240071fd979b3144d | [
"Apache-2.0"
] | 1 | 2022-03-14T10:55:19.000Z | 2022-03-14T10:55:19.000Z | jdetr/models/__init__.py | dsuess/detr.jax | 9bb8127725d553944a553cd240071fd979b3144d | [
"Apache-2.0"
] | null | null | null | jdetr/models/__init__.py | dsuess/detr.jax | 9bb8127725d553944a553cd240071fd979b3144d | [
"Apache-2.0"
] | null | null | null | from . import backbone, detr, positional_encoding, transformer
from .backbone import *
from .detr import *
from .positional_encoding import *
from .transformer import *
| 28.166667 | 62 | 0.792899 | 20 | 169 | 6.6 | 0.35 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136095 | 169 | 5 | 63 | 33.8 | 0.90411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
adebc3d2e2617c3fc09f244fe6d9e1fddb33ca0d | 175 | py | Python | core/views.py | mitrofun/skeletonWSGI | 74477c77c0f0d2e18e6c206a41ebf1d2fa7eff9a | [
"MIT"
] | null | null | null | core/views.py | mitrofun/skeletonWSGI | 74477c77c0f0d2e18e6c206a41ebf1d2fa7eff9a | [
"MIT"
] | null | null | null | core/views.py | mitrofun/skeletonWSGI | 74477c77c0f0d2e18e6c206a41ebf1d2fa7eff9a | [
"MIT"
] | null | null | null | from core.context import render_content_by_view_name
def index(view_name, environ):
context = dict()
return render_content_by_view_name(view_name, environ, context)
| 25 | 67 | 0.794286 | 26 | 175 | 4.961538 | 0.538462 | 0.248062 | 0.232558 | 0.294574 | 0.356589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137143 | 175 | 6 | 68 | 29.166667 | 0.854305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc0813051f357f01161629749dd0e7c135374019 | 6,034 | py | Python | tests/test_grouping_transform.py | lukaspanni/ImageCopy | 5d2ca83164ffed28881bd5ce1faefc3717ef2380 | [
"MIT"
] | 1 | 2020-06-05T07:12:52.000Z | 2020-06-05T07:12:52.000Z | tests/test_grouping_transform.py | lukaspanni/ImageCopy | 5d2ca83164ffed28881bd5ce1faefc3717ef2380 | [
"MIT"
] | 21 | 2020-05-03T18:18:42.000Z | 2022-03-01T18:00:42.000Z | tests/test_grouping_transform.py | lukaspanni/ImageCopy | 5d2ca83164ffed28881bd5ce1faefc3717ef2380 | [
"MIT"
] | null | null | null | """
Tests for Grouping
"""
import time
from pathlib import Path
from random import randrange, seed
import pytest
from ImageCopy.Transformers.grouping_transform import GroupingTransform
from ImageCopy.Transformers.grouping_transform import GroupBy
from ImageCopy.image_file import ImageFile
def create_time():
retu... | 47.511811 | 115 | 0.643189 | 716 | 6,034 | 5.213687 | 0.129888 | 0.064291 | 0.081436 | 0.107152 | 0.803375 | 0.794267 | 0.759443 | 0.701848 | 0.701848 | 0.693276 | 0 | 0.007599 | 0.236659 | 6,034 | 126 | 116 | 47.888889 | 0.802866 | 0.006795 | 0 | 0.580952 | 0 | 0 | 0.074539 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.104762 | false | 0 | 0.066667 | 0.009524 | 0.209524 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc0e704660c06ff18a877d4020b7c7dcf29ea226 | 9,851 | py | Python | migrations/versions/1e3c17deb66b_more_ytk_tables3.py | charlestondance/amoslims | c1d051db3e88a92644446744a9027c5699f52b02 | [
"MIT"
] | null | null | null | migrations/versions/1e3c17deb66b_more_ytk_tables3.py | charlestondance/amoslims | c1d051db3e88a92644446744a9027c5699f52b02 | [
"MIT"
] | 7 | 2020-03-24T15:56:29.000Z | 2022-01-13T00:48:15.000Z | migrations/versions/1e3c17deb66b_more_ytk_tables3.py | charlestondance/amoslims | c1d051db3e88a92644446744a9027c5699f52b02 | [
"MIT"
] | null | null | null | """more ytk tables3
Revision ID: 1e3c17deb66b
Revises: f078a88d4092
Create Date: 2017-03-05 20:40:11.690716
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '1e3c17deb66b'
down_revision = 'f078a88d4092'
branch_labels = None
depends_on = None
def upgrade():
... | 67.937931 | 129 | 0.750178 | 1,540 | 9,851 | 4.41039 | 0.05974 | 0.090106 | 0.090695 | 0.064782 | 0.95053 | 0.933451 | 0.892226 | 0.861749 | 0.825383 | 0.734541 | 0 | 0.014199 | 0.092072 | 9,851 | 144 | 130 | 68.409722 | 0.745192 | 0.030251 | 0 | 0.15873 | 0 | 0 | 0.364334 | 0.179908 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015873 | false | 0 | 0.015873 | 0 | 0.031746 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc136eb3dbc4c536b598a25f297b87b21ba5d737 | 32 | py | Python | src/data/__init__.py | clin366/airpollutionnowcast | f9152583eebc4ad747c8d0510460334a5fb23ff9 | [
"MIT"
] | null | null | null | src/data/__init__.py | clin366/airpollutionnowcast | f9152583eebc4ad747c8d0510460334a5fb23ff9 | [
"MIT"
] | 9 | 2020-03-24T18:12:45.000Z | 2022-02-10T00:36:57.000Z | src/data/__init__.py | clin366/airpollutionnowcast | f9152583eebc4ad747c8d0510460334a5fb23ff9 | [
"MIT"
] | null | null | null | from .utils import read_raw_data | 32 | 32 | 0.875 | 6 | 32 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
70d3708c2929dfb30f0b8bf2538b473ab370d9fa | 58 | py | Python | inst/python/my_function.py | harryahlas/reticulateInteractionExamples | 1ee1a9db6e1d16fc934e737738bfa02a1008425a | [
"MIT"
] | null | null | null | inst/python/my_function.py | harryahlas/reticulateInteractionExamples | 1ee1a9db6e1d16fc934e737738bfa02a1008425a | [
"MIT"
] | null | null | null | inst/python/my_function.py | harryahlas/reticulateInteractionExamples | 1ee1a9db6e1d16fc934e737738bfa02a1008425a | [
"MIT"
] | null | null | null | import sys
def my_function():
print("Hello dear.")
| 11.6 | 23 | 0.637931 | 8 | 58 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224138 | 58 | 4 | 24 | 14.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb0f4a771f18365e30f3f3b8e09605de83daf4f0 | 40 | py | Python | ecosound/visualization/__init__.py | xaviermouy/ecosound | 25d333807e090e737b3ac910c2dcf8e5850b91b4 | [
"BSD-3-Clause"
] | 3 | 2020-06-05T19:09:05.000Z | 2021-02-20T22:16:03.000Z | ecosound/visualization/__init__.py | xaviermouy/ecosound | 25d333807e090e737b3ac910c2dcf8e5850b91b4 | [
"BSD-3-Clause"
] | 8 | 2020-09-02T17:27:45.000Z | 2022-02-21T16:00:30.000Z | ecosound/visualization/__init__.py | xaviermouy/ecosound | 25d333807e090e737b3ac910c2dcf8e5850b91b4 | [
"BSD-3-Clause"
] | null | null | null | from .sound_plotter import SoundPlotter
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cbbaa2a162a4358291c959c4eb879d94efda0102 | 5,075 | py | Python | cyt/ignore_list.py | azmatt/chasing_your_tail | b29b2cb076287c1c9fa4c6069771eae0d78436e8 | [
"MIT"
] | 2 | 2022-02-06T16:39:21.000Z | 2022-02-07T21:54:26.000Z | cyt/ignore_list.py | azmatt/chasing_your_tail | b29b2cb076287c1c9fa4c6069771eae0d78436e8 | [
"MIT"
] | null | null | null | cyt/ignore_list.py | azmatt/chasing_your_tail | b29b2cb076287c1c9fa4c6069771eae0d78436e8 | [
"MIT"
] | null | null | null | ignore_list = ['01:F0:66:6C:5D:45', '04:D2:89:D9:E3:BF', '0E:49:23:28:08:70', '10:2B:41:1D:A4:09', '12:0B:8A:40:FE:BA', '1A:AB:D8:BC:51:F5', '1D:2E:80:36:0A:7B', '23:5A:1E:2A:13:08', '26:DF:D8:EA:9E:1F', '2C:83:08:EC:8A:7D', '3D:54:8A:5F:8D:D4', '3D:5E:07:F7:56:38', '43:E9:AF:C2:21:2F', '44:2D:6A:FF:E5:92', '49:92:4A:E... | 5,075 | 5,075 | 0.57202 | 1,448 | 5,075 | 2.004144 | 0.172652 | 0.028946 | 0.043418 | 0.057891 | 0.281875 | 0.01654 | 0 | 0 | 0 | 0 | 0 | 0.378647 | 0.047685 | 5,075 | 1 | 5,075 | 5,075 | 0.221808 | 0 | 0 | 0 | 0 | 0 | 0.807132 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cbdbef40d7bd66919156a119a8374b4f7baa52bb | 4,560 | py | Python | libya_elections/tests/test_models.py | SmartElect/SmartElect | d6d35f2fa8f60e756ad5247f8f0a5f05830e92f8 | [
"Apache-2.0"
] | 23 | 2015-10-28T14:08:23.000Z | 2021-09-11T21:38:41.000Z | libya_elections/tests/test_models.py | SmartElect/SmartElect | d6d35f2fa8f60e756ad5247f8f0a5f05830e92f8 | [
"Apache-2.0"
] | 4 | 2019-12-05T20:36:10.000Z | 2020-06-05T18:41:54.000Z | libya_elections/tests/test_models.py | SmartElect/SmartElect | d6d35f2fa8f60e756ad5247f8f0a5f05830e92f8 | [
"Apache-2.0"
] | 11 | 2015-10-28T15:49:56.000Z | 2021-09-14T14:18:36.000Z | from django.apps import apps
from django.test import TestCase
class FieldVerboseNameTest(TestCase):
"""Ensure that all of our model fields have the verbose_name attr populated."""
# We ignore 3rd party modules
IGNORE_THESE_MODULES = [
'captcha',
'django',
'rapidsms',
'regis... | 47.5 | 99 | 0.587061 | 526 | 4,560 | 4.908745 | 0.237643 | 0.106507 | 0.030984 | 0.023238 | 0.808675 | 0.786212 | 0.764911 | 0.764911 | 0.764911 | 0.764911 | 0 | 0.002639 | 0.335088 | 4,560 | 95 | 100 | 48 | 0.848945 | 0.310307 | 0 | 0.526316 | 0 | 0 | 0.157267 | 0.056719 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.035088 | false | 0 | 0.035088 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1dc8770bb877428a97769ea905539e2a0df04c6a | 17,770 | py | Python | qcengine/programs/tests/standard_suite_contracts.py | psi-rking/QCEngine | d1b18c8135f87c3e95f3eb2fe4cc954411e56474 | [
"BSD-3-Clause"
] | null | null | null | qcengine/programs/tests/standard_suite_contracts.py | psi-rking/QCEngine | d1b18c8135f87c3e95f3eb2fe4cc954411e56474 | [
"BSD-3-Clause"
] | null | null | null | qcengine/programs/tests/standard_suite_contracts.py | psi-rking/QCEngine | d1b18c8135f87c3e95f3eb2fe4cc954411e56474 | [
"BSD-3-Clause"
] | null | null | null | # This file consolidates the expectations of what properties/QCVariables
# a method should produce and what in practice a QC program does produce.
from typing import Any, Tuple
from qcengine.programs.qcvar_identities_resources import qcvars_to_atomicproperties
def query_qcvar(obj: Any, pv: str) -> Any:
"""Unif... | 37.970085 | 141 | 0.571469 | 2,087 | 17,770 | 4.819358 | 0.093436 | 0.062537 | 0.054285 | 0.032313 | 0.819248 | 0.807318 | 0.790614 | 0.768344 | 0.762875 | 0.728276 | 0 | 0.004326 | 0.323635 | 17,770 | 467 | 142 | 38.051392 | 0.832515 | 0.395385 | 0 | 0.508065 | 0 | 0 | 0.261368 | 0 | 0 | 0 | 0 | 0.004283 | 0 | 1 | 0.03629 | false | 0 | 0.008065 | 0 | 0.052419 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1dd174d7f25893a3db44d7a88d7d991073216a31 | 146 | py | Python | mavisetc/sources/__init__.py | jtmendel/mavisetc | 4cd6800a7c4462f9a8063060c41e19719d35c5ee | [
"MIT"
] | null | null | null | mavisetc/sources/__init__.py | jtmendel/mavisetc | 4cd6800a7c4462f9a8063060c41e19719d35c5ee | [
"MIT"
] | null | null | null | mavisetc/sources/__init__.py | jtmendel/mavisetc | 4cd6800a7c4462f9a8063060c41e19719d35c5ee | [
"MIT"
] | null | null | null | from .line_models import *
from .template_models import *
from .flat_models import *
__all__ = ["line_source", "template_source", "flat_source"]
| 24.333333 | 59 | 0.760274 | 19 | 146 | 5.315789 | 0.421053 | 0.356436 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 146 | 5 | 60 | 29.2 | 0.789063 | 0 | 0 | 0 | 0 | 0 | 0.253425 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
383b772b7fd9c6aa5f79bcb4c2ed630b65178898 | 149 | py | Python | colosseumrl/envs/tictactoe/__init__.py | carletonz/colosseumrl | 878f0459731511d716672aee8a5adafcb96cf0a7 | [
"MIT"
] | 8 | 2019-06-04T00:22:30.000Z | 2022-02-14T15:27:17.000Z | colosseumrl/envs/tictactoe/__init__.py | carletonz/colosseumrl | 878f0459731511d716672aee8a5adafcb96cf0a7 | [
"MIT"
] | 1 | 2019-07-23T03:32:59.000Z | 2019-07-23T06:16:35.000Z | colosseumrl/envs/tictactoe/__init__.py | carletonz/colosseumrl | 878f0459731511d716672aee8a5adafcb96cf0a7 | [
"MIT"
] | 3 | 2020-01-13T08:09:27.000Z | 2021-11-14T01:30:25.000Z | from .tictactoe_2p_env import TicTacToe2PlayerEnv
from .tictactoe_3p_env import TicTacToe3PlayerEnv
from .tictactoe_4p_env import TicTacToe4PlayerEnv | 49.666667 | 49 | 0.90604 | 18 | 149 | 7.166667 | 0.555556 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.073826 | 149 | 3 | 50 | 49.666667 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
383e6181fbf44617912787ee2f709558c3e7e9f6 | 19 | py | Python | emitime/parser/__init__.py | rilshok/emitime | 3218f719ace49007d66b57c8f76e72a362261af9 | [
"MIT"
] | 2 | 2020-11-09T13:46:13.000Z | 2022-01-30T21:06:56.000Z | ram/__init__.py | cyber-murmel/nmigen-wishbone-examples | 72abdfb0f525d75cac6a7d068a9f1f7534f67c3e | [
"BSD-2-Clause"
] | 1 | 2022-02-09T09:25:07.000Z | 2022-02-09T10:35:53.000Z | ram/__init__.py | cyber-murmel/nmigen-wishbone-examples | 72abdfb0f525d75cac6a7d068a9f1f7534f67c3e | [
"BSD-2-Clause"
] | 2 | 2021-11-19T07:57:14.000Z | 2022-02-08T14:17:55.000Z | from .ram import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6977528794b9959cb6abaf1aea45ae766b43cf1c | 10,031 | py | Python | tests/cpu/test_runtime_api.py | JudeDavis1/intel-extension-for-pytorch | 364e34cb4917a709f5108c07d4005bf82f3d5067 | [
"Apache-2.0"
] | null | null | null | tests/cpu/test_runtime_api.py | JudeDavis1/intel-extension-for-pytorch | 364e34cb4917a709f5108c07d4005bf82f3d5067 | [
"Apache-2.0"
] | null | null | null | tests/cpu/test_runtime_api.py | JudeDavis1/intel-extension-for-pytorch | 364e34cb4917a709f5108c07d4005bf82f3d5067 | [
"Apache-2.0"
] | null | null | null | import unittest, copy
import torch
import torch.nn as nn
import intel_extension_for_pytorch as ipex
from common_utils import TestCase
from torch.testing._internal.jit_utils import JitTestCase
import time, sys
from test_jit_llga_utils import JitLlgaTestCase, run_tests, LLGA_FUSION_GROUP
import torch.fx.experimental.opti... | 39.183594 | 136 | 0.658359 | 1,400 | 10,031 | 4.488571 | 0.097143 | 0.049013 | 0.098027 | 0.037874 | 0.869669 | 0.859962 | 0.841502 | 0.820019 | 0.803151 | 0.803151 | 0 | 0.024961 | 0.237165 | 10,031 | 255 | 137 | 39.337255 | 0.796262 | 0.06759 | 0 | 0.684211 | 0 | 0 | 0.061334 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.094737 | false | 0 | 0.047368 | 0.010526 | 0.189474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
69b94cb53ae9b557bdfe353d3cf6bf74e9c053b5 | 30 | py | Python | src/wAsciiArt/__init__.py | witrdotnet/wAsciiArt | 8480d93980af13a8b2856f94665c5237a4a169e8 | [
"MIT"
] | null | null | null | src/wAsciiArt/__init__.py | witrdotnet/wAsciiArt | 8480d93980af13a8b2856f94665c5237a4a169e8 | [
"MIT"
] | null | null | null | src/wAsciiArt/__init__.py | witrdotnet/wAsciiArt | 8480d93980af13a8b2856f94665c5237a4a169e8 | [
"MIT"
] | null | null | null | from wAsciiArt.Waa import Waa
| 15 | 29 | 0.833333 | 5 | 30 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
69cec9052b0e0071486c12ecc296675f074d7bd6 | 4,956 | py | Python | pynetest/pyne_test_collector.py | Avvir/pyne | 864885a8fb632b72c00af164f150b1daa38a346f | [
"MIT"
] | 4 | 2018-08-10T20:05:10.000Z | 2019-07-24T15:29:32.000Z | pynetest/pyne_test_collector.py | Avvir/pyne | 864885a8fb632b72c00af164f150b1daa38a346f | [
"MIT"
] | 6 | 2018-09-25T20:15:51.000Z | 2021-12-22T17:09:52.000Z | pynetest/pyne_test_collector.py | Avvir/pyne | 864885a8fb632b72c00af164f150b1daa38a346f | [
"MIT"
] | null | null | null | from pynetest.lib.pyne_test_blocks import AfterEachBlock, BeforeEachBlock, DescribeBlock, ItBlock
def no_tests():
raise Exception("No tests to run.")
class PyneTestCollector:
def __init__(self):
self.top_level_describe = DescribeBlock(None, "All Tests", no_tests)
self.current_describe = self... | 34.657343 | 103 | 0.730024 | 550 | 4,956 | 6.18 | 0.12 | 0.136805 | 0.172992 | 0.238894 | 0.803472 | 0.770815 | 0.719035 | 0.719035 | 0.686378 | 0.651074 | 0 | 0 | 0.206416 | 4,956 | 142 | 104 | 34.901408 | 0.864226 | 0 | 0 | 0.48 | 0 | 0 | 0.00686 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.01 | 0 | 0.35 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
69ec4df03d88da20ab879c41b5885edcff99523b | 166 | py | Python | ksif/__init__.py | MingyoJung/ksif | ccb96cc8c0fd4588ddb3e2ee65596691af914f86 | [
"MIT"
] | 2 | 2018-07-31T07:45:42.000Z | 2018-09-07T07:01:54.000Z | ksif/__init__.py | MingyoJung/ksif | ccb96cc8c0fd4588ddb3e2ee65596691af914f86 | [
"MIT"
] | 2 | 2018-07-30T10:48:31.000Z | 2018-08-02T11:33:24.000Z | ksif/__init__.py | MingyoJung/ksif | ccb96cc8c0fd4588ddb3e2ee65596691af914f86 | [
"MIT"
] | 1 | 2019-03-01T05:31:21.000Z | 2019-03-01T05:31:21.000Z | # -*- coding: utf-8 -*-
"""
:Author: Jaekyoung Kim
:Date: 2018. 7. 18.
"""
from .core.columns import *
from .core.frame import Portfolio
from .core.outcomes import *
| 18.444444 | 33 | 0.662651 | 23 | 166 | 4.782609 | 0.73913 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.156627 | 166 | 8 | 34 | 20.75 | 0.728571 | 0.391566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
69fcd2d1a53b98338aad29ee43c568948ceb4fde | 165 | py | Python | src/abaqus/Connector/ConnectorBehaviorOptionArray.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/Connector/ConnectorBehaviorOptionArray.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/Connector/ConnectorBehaviorOptionArray.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from .ConnectorBehaviorOption import ConnectorBehaviorOption
class ConnectorBehaviorOptionArray(list[ConnectorBehaviorOption]):
def findAt(self):
pass
| 23.571429 | 66 | 0.806061 | 12 | 165 | 11.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139394 | 165 | 6 | 67 | 27.5 | 0.93662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
386f6da28d780ed7a45ca0947059e556da81f06b | 170 | py | Python | doc/groktut/a_view_for_a_model/src/sample/app.py | zopefoundation/groktoolkit | 6d295997510139b0588b2401d5f54fca8234a15e | [
"ZPL-2.1"
] | 2 | 2015-12-05T05:46:55.000Z | 2017-07-03T17:39:32.000Z | doc/groktut/a_view_for_a_model/src/sample/app.py | zopefoundation/groktoolkit | 6d295997510139b0588b2401d5f54fca8234a15e | [
"ZPL-2.1"
] | 7 | 2017-07-06T15:07:31.000Z | 2021-04-20T14:38:21.000Z | doc/groktut/a_view_for_a_model/src/sample/app.py | zopefoundation/groktoolkit | 6d295997510139b0588b2401d5f54fca8234a15e | [
"ZPL-2.1"
] | 2 | 2016-03-20T18:03:15.000Z | 2018-01-11T04:33:40.000Z | import grok
class Sample(grok.Application, grok.Container):
def information(self):
return "This is important information!"
class Index(grok.View):
pass
| 18.888889 | 47 | 0.711765 | 21 | 170 | 5.761905 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194118 | 170 | 8 | 48 | 21.25 | 0.883212 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0.166667 | 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 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 6 |
387fc2809d66caf622ca6d877a41439bb25c4621 | 127 | py | Python | autodiff/__init__.py | ceisenach/torchkit | f2b9fe3ca1c13a34f0435c7b2871b6fad8bc4f37 | [
"MIT"
] | 3 | 2019-04-19T16:14:12.000Z | 2020-09-01T11:08:15.000Z | autodiff/__init__.py | ceisenach/torchkit | f2b9fe3ca1c13a34f0435c7b2871b6fad8bc4f37 | [
"MIT"
] | null | null | null | autodiff/__init__.py | ceisenach/torchkit | f2b9fe3ca1c13a34f0435c7b2871b6fad8bc4f37 | [
"MIT"
] | null | null | null |
from . import core as core
from . import util as util
from . import functional as functional
from . import modules as modules
| 21.166667 | 38 | 0.771654 | 20 | 127 | 4.9 | 0.35 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19685 | 127 | 5 | 39 | 25.4 | 0.960784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa989662a2cb75f2026295fa5b99aa12fa4e02cb | 64 | py | Python | pybotic/__init__.py | robo-bootcamp/pyBot | f29fb8df3897ee4c2b641d3eb29b331f66d7d8bf | [
"MIT"
] | 1 | 2020-07-30T00:51:40.000Z | 2020-07-30T00:51:40.000Z | pybotic/__init__.py | robo-bootcamp/pyBot | f29fb8df3897ee4c2b641d3eb29b331f66d7d8bf | [
"MIT"
] | 14 | 2020-06-13T01:52:42.000Z | 2020-06-18T11:15:50.000Z | pybotic/__init__.py | robo-bootcamp/pyBotic | f29fb8df3897ee4c2b641d3eb29b331f66d7d8bf | [
"MIT"
] | null | null | null | from . import worlds
from . import utils
from . import geometry
| 16 | 22 | 0.765625 | 9 | 64 | 5.444444 | 0.555556 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 23 | 21.333333 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aabf83954228a53e2f5eb23368f443bb870d7081 | 29 | py | Python | gridwidget/__init__.py | jdfreder/ipython-gridwidget | 2bf5aab00dd03872608241479e47d6ea161183bf | [
"MIT"
] | 2 | 2015-06-04T16:01:15.000Z | 2015-09-24T13:15:21.000Z | gridwidget/__init__.py | jdfreder/ipython-gridwidget | 2bf5aab00dd03872608241479e47d6ea161183bf | [
"MIT"
] | 1 | 2015-02-18T00:54:56.000Z | 2016-02-12T09:25:43.000Z | gridwidget/__init__.py | jdfreder/ipython-gridwidget | 2bf5aab00dd03872608241479e47d6ea161183bf | [
"MIT"
] | null | null | null | from .grid import GridWidget
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2ae43cbba7666ff85997332c099da7903e3ab713 | 39 | py | Python | D02/list/nilai_sum.py | shdx8/dtwrhs | 108decb8056931fc7601ed455a72ef0d65983ab0 | [
"MIT"
] | null | null | null | D02/list/nilai_sum.py | shdx8/dtwrhs | 108decb8056931fc7601ed455a72ef0d65983ab0 | [
"MIT"
] | null | null | null | D02/list/nilai_sum.py | shdx8/dtwrhs | 108decb8056931fc7601ed455a72ef0d65983ab0 | [
"MIT"
] | null | null | null | list1=[2,1,5,8,6,7,4]
print(sum(list1)) | 19.5 | 21 | 0.641026 | 11 | 39 | 2.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 0.025641 | 39 | 2 | 22 | 19.5 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 6 |
630a336b2efda41951df407abff57e704078f39b | 44 | py | Python | projects/python/import/a/index.py | SunDawning/sundawning.github.io | ac70ed49c41cb544f1c49e4217808acb7373ca47 | [
"MIT"
] | null | null | null | projects/python/import/a/index.py | SunDawning/sundawning.github.io | ac70ed49c41cb544f1c49e4217808acb7373ca47 | [
"MIT"
] | 20 | 2017-03-28T11:42:51.000Z | 2017-09-29T13:15:31.000Z | projects/python/import/a/index.py | SunDawning/sundawning.github.io | ac70ed49c41cb544f1c49e4217808acb7373ca47 | [
"MIT"
] | null | null | null | def fromA():
print("from a")
return
| 11 | 19 | 0.545455 | 6 | 44 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.295455 | 44 | 3 | 20 | 14.666667 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.666667 | 0.333333 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
6321e21333143ccc6331371613646ed8c51ca9c1 | 154 | py | Python | blender/arm/logicnode/logic/__init__.py | niacdoial/armory | 3f9b633fbf772017c576a3f77695a6c28d9956e1 | [
"Zlib"
] | 2,583 | 2016-07-27T08:25:47.000Z | 2022-03-31T10:42:17.000Z | blender/arm/logicnode/logic/__init__.py | niacdoial/armory | 3f9b633fbf772017c576a3f77695a6c28d9956e1 | [
"Zlib"
] | 2,122 | 2016-07-31T14:20:04.000Z | 2022-03-31T20:44:14.000Z | blender/arm/logicnode/logic/__init__.py | niacdoial/armory | 3f9b633fbf772017c576a3f77695a6c28d9956e1 | [
"Zlib"
] | 451 | 2016-08-12T05:52:58.000Z | 2022-03-31T01:33:07.000Z | from arm.logicnode.arm_nodes import add_node_section
add_node_section(name='flow', category='Logic')
add_node_section(name='function', category='Logic')
| 30.8 | 52 | 0.811688 | 23 | 154 | 5.130435 | 0.565217 | 0.177966 | 0.355932 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058442 | 154 | 4 | 53 | 38.5 | 0.813793 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2d6c9047e88dfeb16d1dd17fb1670071dc3cd028 | 34 | py | Python | examples/coolmagic/__init__.py | VladimirKuzmin/werkzeug | 9efe8c00dcb2b6fc086961ba304729db01912652 | [
"BSD-3-Clause"
] | 4,200 | 2016-03-29T16:32:32.000Z | 2022-03-30T15:37:03.000Z | examples/coolmagic/__init__.py | VladimirKuzmin/werkzeug | 9efe8c00dcb2b6fc086961ba304729db01912652 | [
"BSD-3-Clause"
] | 1,203 | 2016-03-29T15:46:57.000Z | 2022-03-31T21:15:00.000Z | examples/coolmagic/__init__.py | corememltd/werkzeug | 3c5d3c9bd0d9ce64590f0af8997a38f3823b368d | [
"BSD-3-Clause"
] | 1,403 | 2016-03-29T16:50:37.000Z | 2022-03-29T09:18:38.000Z | from .application import make_app
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2d6ece3109576eb1be97b7ba869d30fdac389270 | 1,271 | py | Python | Catkin_PKG_Car/devel/lib/python2.7/dist-packages/drive_ros_msgs/msg/__init__.py | jessecha/OPCAS | 2b51543b4ad1ee37dba2e45a0c7d0b872309d418 | [
"MIT"
] | 1 | 2021-02-28T05:58:50.000Z | 2021-02-28T05:58:50.000Z | Catkin_PKG_Car/devel/lib/python2.7/dist-packages/drive_ros_msgs/msg/__init__.py | jessecha/OPCAS | 2b51543b4ad1ee37dba2e45a0c7d0b872309d418 | [
"MIT"
] | null | null | null | Catkin_PKG_Car/devel/lib/python2.7/dist-packages/drive_ros_msgs/msg/__init__.py | jessecha/OPCAS | 2b51543b4ad1ee37dba2e45a0c7d0b872309d418 | [
"MIT"
] | null | null | null | from ._EncoderLinear import *
from ._Homography import *
from ._Obstacle import *
from ._ObstacleArray import *
from ._RoadLane import *
from ._RoadLine import *
from ._TimeCompare import *
from ._VehicleEncoder import *
from ._mav_RAW_DATA import *
from ._mav_cc16_COMMAND import *
from ._mav_cc16_CONFIG import *
from ... | 35.305556 | 47 | 0.834776 | 188 | 1,271 | 5.015957 | 0.196809 | 0.360551 | 0.372216 | 0.468717 | 0.601273 | 0.382821 | 0.177094 | 0 | 0 | 0 | 0 | 0.045977 | 0.110149 | 1,271 | 35 | 48 | 36.314286 | 0.787798 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2da7da7014da24eee22d89dfa7a7455ea497b088 | 502 | py | Python | src/training/Core2/Chapter15RegularExpressions/exercise15_19.py | MagicForest/Python | 8af56e9384061504f05b229467c922ba71a433cb | [
"Apache-2.0"
] | null | null | null | src/training/Core2/Chapter15RegularExpressions/exercise15_19.py | MagicForest/Python | 8af56e9384061504f05b229467c922ba71a433cb | [
"Apache-2.0"
] | null | null | null | src/training/Core2/Chapter15RegularExpressions/exercise15_19.py | MagicForest/Python | 8af56e9384061504f05b229467c922ba71a433cb | [
"Apache-2.0"
] | null | null | null | import re
def match_time(a_string):
# yyyy-MM-dd HH:mm:ss
return re.findall('\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}', a_string)
if __name__ == '__main__':
assert ['2017-12-19 10:10:10'] == match_time('abc2017-12-19 10:10:10x')
assert ['2017-12-19 10:10:10', '2016-11-11 11:11:11'] == match_time... | 33.466667 | 118 | 0.593625 | 95 | 502 | 2.978947 | 0.368421 | 0.113074 | 0.127208 | 0.169611 | 0.59364 | 0.522968 | 0.522968 | 0.212014 | 0 | 0 | 0 | 0.277778 | 0.175299 | 502 | 14 | 119 | 35.857143 | 0.405797 | 0.037849 | 0 | 0 | 0 | 0.111111 | 0.467811 | 0.077253 | 0 | 0 | 0 | 0 | 0.444444 | 0 | null | null | 0.111111 | 0.111111 | null | null | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9339e75d61d74e1c04384b4c5b20a60223b89998 | 9,337 | py | Python | simp_py_examples/m5stack/ex011_christmas_mix2.py | kcfkwok2003/Simp_py | f75e66da01b45dc8688dda602f8b33d4258f0c31 | [
"MIT"
] | null | null | null | simp_py_examples/m5stack/ex011_christmas_mix2.py | kcfkwok2003/Simp_py | f75e66da01b45dc8688dda602f8b33d4258f0c31 | [
"MIT"
] | null | null | null | simp_py_examples/m5stack/ex011_christmas_mix2.py | kcfkwok2003/Simp_py | f75e66da01b45dc8688dda602f8b33d4258f0c31 | [
"MIT"
] | null | null | null | # ex_christmas.py
# author: C.F.Kwok
# date: 2017-12-12
from array import array
from simp_py import tft
DUTY_ON=5
DUTY_OFF=0
PIEZO_PIN=25
#note
C=2441
D=2741
E=3048
F=3225
G=3654
A=4058
B=4562
C2=4882
SONG=array('H', [E,E,E,E,E,E,E,G,C,D,E,F,F,F,F,F,E,E,E,E,D,D,E,D,G])
NOTE_LEN=bytearray([1,1,2,1,1,2,1,1,1,1,4,1,1,1,1... | 48.128866 | 87 | 0.599657 | 1,488 | 9,337 | 3.708333 | 0.140457 | 0.700254 | 0.954694 | 1.174339 | 0.53552 | 0.486589 | 0.467198 | 0.429503 | 0.417905 | 0.389634 | 0 | 0.417001 | 0.252865 | 9,337 | 193 | 88 | 48.378238 | 0.373997 | 0.005676 | 0 | 0.230769 | 0 | 0 | 0.00097 | 0 | 0 | 0 | 0.436948 | 0 | 0 | 1 | 0.021978 | false | 0 | 0.032967 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9340c4411014ace6856fde56ba64b242ab50df93 | 219 | py | Python | jesse/strategies/TestCanRunWithoutShorting/__init__.py | b1nhm1nh/jesse-ctf | 98e519ba6a08af5dd8dd5bae09617a6056f3b5e4 | [
"MIT"
] | 3 | 2021-09-26T15:55:00.000Z | 2022-01-17T08:04:21.000Z | jesse/strategies/TestCanRunWithoutShorting/__init__.py | b1nhm1nh/jesse-ctf | 98e519ba6a08af5dd8dd5bae09617a6056f3b5e4 | [
"MIT"
] | 26 | 2021-10-31T07:04:04.000Z | 2022-03-24T04:24:21.000Z | jesse/strategies/TestCanRunWithoutShorting/__init__.py | b1nhm1nh/jesse | 98e519ba6a08af5dd8dd5bae09617a6056f3b5e4 | [
"MIT"
] | null | null | null | from jesse.strategies import Strategy
class TestCanRunWithoutShorting(Strategy):
def should_long(self):
return False
def should_cancel(self):
return False
def go_long(self):
pass
| 16.846154 | 42 | 0.680365 | 25 | 219 | 5.84 | 0.64 | 0.123288 | 0.205479 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260274 | 219 | 12 | 43 | 18.25 | 0.901235 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.125 | 0.125 | 0.25 | 0.875 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
9356437ccff343f5f054741815fadb7b00cb66ad | 281 | py | Python | src/quicknlp/data/__init__.py | dailai/quick-nlp | d27ae90c0788d0899af7f45b323ca64ed0c33868 | [
"MIT"
] | null | null | null | src/quicknlp/data/__init__.py | dailai/quick-nlp | d27ae90c0788d0899af7f45b323ca64ed0c33868 | [
"MIT"
] | null | null | null | src/quicknlp/data/__init__.py | dailai/quick-nlp | d27ae90c0788d0899af7f45b323ca64ed0c33868 | [
"MIT"
] | null | null | null | from .datasets import TabularDatasetFromFiles, TabularDatasetFromDataFrame
from .s2s_model_data_loader import S2SModelData
from .hierarchical_model_data_loader import HierarchicalModelData
from .spacy_tokenizer import SpacyTokenizer
from .dialogue_analysis import DialogueAnalysis
| 46.833333 | 74 | 0.903915 | 29 | 281 | 8.482759 | 0.62069 | 0.073171 | 0.121951 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.074733 | 281 | 5 | 75 | 56.2 | 0.938462 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9361d0d4e7449ef7ccd63b634f38a1be77d580da | 195 | py | Python | blog/utils.py | zhique-design/zhique-service | cbfef7e92b3aeff2f67dd9e5f352c6cfa2beaef9 | [
"Apache-2.0"
] | null | null | null | blog/utils.py | zhique-design/zhique-service | cbfef7e92b3aeff2f67dd9e5f352c6cfa2beaef9 | [
"Apache-2.0"
] | null | null | null | blog/utils.py | zhique-design/zhique-service | cbfef7e92b3aeff2f67dd9e5f352c6cfa2beaef9 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
from django.template.defaultfilters import truncatechars_html
def truncate_content(content, length=300):
return truncatechars_html(content, length) | 27.857143 | 61 | 0.769231 | 24 | 195 | 6.125 | 0.791667 | 0.231293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.107692 | 195 | 7 | 62 | 27.857143 | 0.821839 | 0.194872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
936f43e3b748699bd8f38fc5cc897fbcef3af623 | 19 | py | Python | .backup/Time_Activity_Curves/__init__.py | APPIAN-PET/PyPA | 316c9675e6049443dd06556b046c79e5a82e5d3e | [
"MIT"
] | 26 | 2017-10-20T22:45:19.000Z | 2022-02-10T14:41:28.000Z | .backup/Time_Activity_Curves/__init__.py | APPIAN-PET/PyPA | 316c9675e6049443dd06556b046c79e5a82e5d3e | [
"MIT"
] | 15 | 2019-02-06T16:30:23.000Z | 2021-09-17T05:17:15.000Z | .backup/Time_Activity_Curves/__init__.py | APPIAN-PET/PyPA | 316c9675e6049443dd06556b046c79e5a82e5d3e | [
"MIT"
] | 15 | 2017-09-14T21:30:30.000Z | 2021-11-05T13:29:04.000Z | from .TAC import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9383e3217750bc3d5bb266160e795b483ba00d16 | 20 | py | Python | foo/__init__.py | seignovert/test-gitlab-ci | bc1f154c254d05dd650fc41034e9e7ed0fe78879 | [
"MIT"
] | 1 | 2020-06-01T12:43:36.000Z | 2020-06-01T12:43:36.000Z | foo/__init__.py | seignovert/test-gitlab-ci | bc1f154c254d05dd650fc41034e9e7ed0fe78879 | [
"MIT"
] | null | null | null | foo/__init__.py | seignovert/test-gitlab-ci | bc1f154c254d05dd650fc41034e9e7ed0fe78879 | [
"MIT"
] | null | null | null | from .foo import foo | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa7bc53a3a8d0e1d66dace6dea4bc9fdae04bd79 | 202 | py | Python | baseStation/src/timer/domain/iChronometer.py | olgam4/design3 | 6e05d123a24deae7dda646df535844a158ef5cc0 | [
"WTFPL"
] | null | null | null | baseStation/src/timer/domain/iChronometer.py | olgam4/design3 | 6e05d123a24deae7dda646df535844a158ef5cc0 | [
"WTFPL"
] | null | null | null | baseStation/src/timer/domain/iChronometer.py | olgam4/design3 | 6e05d123a24deae7dda646df535844a158ef5cc0 | [
"WTFPL"
] | null | null | null | class IChronometer:
def start(self) -> None:
pass
def stop(self) -> None:
pass
def reset(self) -> None:
pass
def get_current_time(self) -> float:
pass
| 15.538462 | 40 | 0.534653 | 24 | 202 | 4.416667 | 0.541667 | 0.226415 | 0.339623 | 0.424528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.361386 | 202 | 12 | 41 | 16.833333 | 0.821705 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.444444 | 0 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
fa7d5568cba46f91e02bbfb2b13b86de07368e28 | 174 | py | Python | agefromname/__init__.py | JasonKessler/agefromname | 0d49dd7183f0c22f80122379aaebc6e0cb0e2622 | [
"Apache-2.0"
] | 51 | 2017-01-26T01:52:01.000Z | 2022-03-13T21:54:04.000Z | agefromname/__init__.py | JasonKessler/agefromname | 0d49dd7183f0c22f80122379aaebc6e0cb0e2622 | [
"Apache-2.0"
] | 6 | 2017-12-24T15:32:09.000Z | 2020-11-13T02:08:30.000Z | agefromname/__init__.py | JasonKessler/agefromname | 0d49dd7183f0c22f80122379aaebc6e0cb0e2622 | [
"Apache-2.0"
] | 9 | 2017-01-26T01:52:18.000Z | 2022-03-13T21:54:06.000Z | from agefromname.age_from_name import AgeFromName
from agefromname.generation_from_name import GenerationFromName, InvalidGenerationBirthYearDefinition
__version__ = '0.0.8' | 43.5 | 101 | 0.885057 | 19 | 174 | 7.684211 | 0.578947 | 0.205479 | 0.191781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.068966 | 174 | 4 | 102 | 43.5 | 0.882716 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fad43f6a693b7e22ceaa9a57aba7e4a48a7ac6f4 | 47 | py | Python | test_module.py | LittleLebowskiUrbanAchievers/Machine-Learning-Engine | af2b339d8ec09fdcc62b5b80fb41a7f2db24c905 | [
"MIT"
] | null | null | null | test_module.py | LittleLebowskiUrbanAchievers/Machine-Learning-Engine | af2b339d8ec09fdcc62b5b80fb41a7f2db24c905 | [
"MIT"
] | 4 | 2017-01-25T22:13:45.000Z | 2017-01-26T23:30:23.000Z | test_module.py | LittleLebowskiUrbanAchievers/Machine-Learning-Engine | af2b339d8ec09fdcc62b5b80fb41a7f2db24c905 | [
"MIT"
] | null | null | null | from UFCML import ufcml
print(ufcml.predict()) | 15.666667 | 23 | 0.787234 | 7 | 47 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 3 | 24 | 15.666667 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
877ca268673ac4d79b5f786fd48e5619bdbb277c | 196 | py | Python | alvacc/__init__.py | zrsmithson/alvacc | e28529261a3ae7aa98da9a9cb2c57fc316d3aee4 | [
"MIT"
] | null | null | null | alvacc/__init__.py | zrsmithson/alvacc | e28529261a3ae7aa98da9a9cb2c57fc316d3aee4 | [
"MIT"
] | null | null | null | alvacc/__init__.py | zrsmithson/alvacc | e28529261a3ae7aa98da9a9cb2c57fc316d3aee4 | [
"MIT"
] | null | null | null | """ Wrapper to include the main library modules """
from .locations import Availability, sort_avail, Location, get_locations
__all__ = ["Availability", "sort_avail", "Location", "get_locations"]
| 39.2 | 72 | 0.760204 | 23 | 196 | 6.130435 | 0.695652 | 0.22695 | 0.297872 | 0.411348 | 0.58156 | 0.58156 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117347 | 196 | 4 | 73 | 49 | 0.815029 | 0.219388 | 0 | 0 | 0 | 0 | 0.296552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
87b9446654705acba705100693330ab87c92e963 | 29 | py | Python | barchaos/experiments/__init__.py | adrn/BarChaos | 1f6619763efb7d4425df8633e6425b18232efbb0 | [
"MIT"
] | null | null | null | barchaos/experiments/__init__.py | adrn/BarChaos | 1f6619763efb7d4425df8633e6425b18232efbb0 | [
"MIT"
] | null | null | null | barchaos/experiments/__init__.py | adrn/BarChaos | 1f6619763efb7d4425df8633e6425b18232efbb0 | [
"MIT"
] | null | null | null | from .freqmap import FreqMap
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87e64f1421d4739bc9b4ceadcb02287abec00bdf | 68 | py | Python | kw_tests/common_class.py | alex-kalanis/kw_rules | 659b79d16067dda15044484428569fb5b24c7554 | [
"BSD-3-Clause"
] | null | null | null | kw_tests/common_class.py | alex-kalanis/kw_rules | 659b79d16067dda15044484428569fb5b24c7554 | [
"BSD-3-Clause"
] | null | null | null | kw_tests/common_class.py | alex-kalanis/kw_rules | 659b79d16067dda15044484428569fb5b24c7554 | [
"BSD-3-Clause"
] | null | null | null | import unittest
class CommonTestClass(unittest.TestCase):
pass | 13.6 | 41 | 0.794118 | 7 | 68 | 7.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 68 | 5 | 42 | 13.6 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
358b48f148dff1ac3a717a0ab1db67e28476c06a | 16,635 | py | Python | tests/executor/test_serial.py | Intsights/sergeant | 4dba959cafb22e117cb579e322c2635fa089f8ee | [
"MIT"
] | 152 | 2020-04-05T08:45:37.000Z | 2022-02-24T06:10:06.000Z | tests/executor/test_serial.py | Intsights/sergeant | 4dba959cafb22e117cb579e322c2635fa089f8ee | [
"MIT"
] | 29 | 2020-05-26T10:13:20.000Z | 2022-03-31T10:52:39.000Z | tests/executor/test_serial.py | Intsights/sergeant | 4dba959cafb22e117cb579e322c2635fa089f8ee | [
"MIT"
] | 10 | 2020-06-03T12:30:26.000Z | 2022-02-24T06:10:08.000Z | import os
import time
import unittest
import unittest.mock
import sergeant.config
import sergeant.executor
import sergeant.killer
import sergeant.worker
class SerialTestCase(
unittest.TestCase,
):
def setUp(
self,
):
self.worker = unittest.mock.MagicMock()
self.worker.config = ser... | 31.093458 | 73 | 0.590141 | 1,711 | 16,635 | 5.467563 | 0.065459 | 0.14217 | 0.095778 | 0.083271 | 0.858685 | 0.816676 | 0.758846 | 0.743453 | 0.715553 | 0.709033 | 0 | 0.002372 | 0.31584 | 16,635 | 534 | 74 | 31.151685 | 0.819612 | 0 | 0 | 0.596311 | 0 | 0 | 0.021761 | 0.001803 | 0 | 0 | 0 | 0 | 0.229508 | 1 | 0.036885 | false | 0 | 0.016393 | 0 | 0.055328 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.