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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f8666535801afc7a1264045e6023bc80f373588d | 25 | py | Python | src/boost/__init__.py | robgrzel/Eigen_Boost_OpenMPI_GoogleTests_Examples | 40e5eb9385ae216529d39b314925106c5766a674 | [
"BSD-2-Clause"
] | null | null | null | src/boost/__init__.py | robgrzel/Eigen_Boost_OpenMPI_GoogleTests_Examples | 40e5eb9385ae216529d39b314925106c5766a674 | [
"BSD-2-Clause"
] | null | null | null | src/boost/__init__.py | robgrzel/Eigen_Boost_OpenMPI_GoogleTests_Examples | 40e5eb9385ae216529d39b314925106c5766a674 | [
"BSD-2-Clause"
] | null | null | null | from .hello_ext import *
| 12.5 | 24 | 0.76 | 4 | 25 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f87160d20360b989402e51e64bcfa7f1800676ad | 4,858 | py | Python | temboo/core/Library/Basecamp/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Basecamp/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Basecamp/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Basecamp.CompleteEntry import CompleteEntry, CompleteEntryInputSet, CompleteEntryResultSet, CompleteEntryChoreographyExecution
from temboo.Library.Basecamp.CompleteItem import CompleteItem, CompleteItemInputSet, CompleteItemResultSet, CompleteItemChoreographyExecution
from temboo.Library.Basecamp.Cr... | 138.8 | 196 | 0.909016 | 340 | 4,858 | 12.988235 | 0.414706 | 0.076993 | 0.130888 | 0.192482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048991 | 4,858 | 34 | 197 | 142.882353 | 0.955844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f8858360082e2f74cbb6440cfeec498af4c67422 | 44 | py | Python | Figure_4/biomass/analysis/reaction/__init__.py | SHMAKI/2021_TamoxifenResistance | 637a3e30222983d9bcb9881544ec613a7a2a99a3 | [
"MIT"
] | null | null | null | Figure_4/biomass/analysis/reaction/__init__.py | SHMAKI/2021_TamoxifenResistance | 637a3e30222983d9bcb9881544ec613a7a2a99a3 | [
"MIT"
] | null | null | null | Figure_4/biomass/analysis/reaction/__init__.py | SHMAKI/2021_TamoxifenResistance | 637a3e30222983d9bcb9881544ec613a7a2a99a3 | [
"MIT"
] | null | null | null | from .sensitivity import ReactionSensitivity | 44 | 44 | 0.909091 | 4 | 44 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.97561 | 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 |
3e3a54e7b54324d07f42dba5482f7f57b550488e | 27 | py | Python | test/files/getting_links_in_a_directory/first_link.py | neelkamath/link-checker | 9d9bf70874764a8643f3e05aa163011be1e35e2a | [
"MIT"
] | 1 | 2019-09-07T10:17:55.000Z | 2019-09-07T10:17:55.000Z | test/files/getting_links_in_a_directory/first_link.py | neelkamath/link-checker | 9d9bf70874764a8643f3e05aa163011be1e35e2a | [
"MIT"
] | null | null | null | test/files/getting_links_in_a_directory/first_link.py | neelkamath/link-checker | 9d9bf70874764a8643f3e05aa163011be1e35e2a | [
"MIT"
] | null | null | null | print('https://google.com') | 27 | 27 | 0.703704 | 4 | 27 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 27 | 1 | 27 | 27 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3e3ca20cde80b847842bee9705215c69c5d85978 | 11,531 | py | Python | ooiservices/app/m2m/help_data_12575.py | asascience-open/ooi-ui-services | a3254b612b5831e5e34beaf93000228826c1ed5a | [
"Apache-2.0"
] | 2 | 2015-02-28T00:20:30.000Z | 2015-04-30T12:40:31.000Z | ooiservices/app/m2m/help_data_12575.py | asascience-open/ooi-ui-services | a3254b612b5831e5e34beaf93000228826c1ed5a | [
"Apache-2.0"
] | 266 | 2015-01-02T21:29:25.000Z | 2020-01-23T16:00:11.000Z | ooiservices/app/m2m/help_data_12575.py | oceanobservatories/ooi-ui-services | a3254b612b5831e5e34beaf93000228826c1ed5a | [
"Apache-2.0"
] | 13 | 2015-02-04T21:13:34.000Z | 2016-10-18T14:39:36.000Z | #!/usr/bin/env python
def get_help_data_12575():
"""
Sensor Inventory help.
Data store of information to be presented when a help request is made for port 12576.
Returns a list of dictionaries associated with various requests supported on that port.
"""
help_data = [
{
... | 63.707182 | 112 | 0.212297 | 433 | 11,531 | 5.457275 | 0.277136 | 0.027931 | 0.024122 | 0.034278 | 0.760474 | 0.746085 | 0.73339 | 0.73339 | 0.73339 | 0.643673 | 0 | 0.026637 | 0.723268 | 11,531 | 180 | 113 | 64.061111 | 0.713883 | 0.018819 | 0 | 0.690058 | 0 | 0 | 0.191497 | 0.014438 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005848 | false | 0 | 0 | 0 | 0.011696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3e7b8b8e80b8a91d768c0db14af82dd1d1574446 | 46 | py | Python | codes/course8/b2.py | BigShuang/big-shuang-python-introductory-course | c4fd1343c4c539567180072c749b68bda7c28075 | [
"MIT"
] | null | null | null | codes/course8/b2.py | BigShuang/big-shuang-python-introductory-course | c4fd1343c4c539567180072c749b68bda7c28075 | [
"MIT"
] | null | null | null | codes/course8/b2.py | BigShuang/big-shuang-python-introductory-course | c4fd1343c4c539567180072c749b68bda7c28075 | [
"MIT"
] | null | null | null | from b1 import show_first
show_first("kind")
| 11.5 | 25 | 0.782609 | 8 | 46 | 4.25 | 0.75 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.130435 | 46 | 3 | 26 | 15.333333 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e47b84f702a08c7587d6eddb781bbf662a853518 | 4,189 | py | Python | tests/validation_unit_tests.py | aivora-beamng/tool-competition-av | 4dbff979b6f3bc8a510f508f0073876117ca2f8c | [
"MIT"
] | 18 | 2020-12-09T08:07:25.000Z | 2022-02-28T09:22:52.000Z | tests/validation_unit_tests.py | aivora-beamng/tool-competition-av | 4dbff979b6f3bc8a510f508f0073876117ca2f8c | [
"MIT"
] | 84 | 2020-11-17T06:04:52.000Z | 2022-02-26T14:27:54.000Z | tests/validation_unit_tests.py | aivora-beamng/tool-competition-av | 4dbff979b6f3bc8a510f508f0073876117ca2f8c | [
"MIT"
] | 25 | 2020-12-16T17:18:59.000Z | 2022-03-17T13:34:18.000Z | import unittest
from code_pipeline.validation import TestValidator
from code_pipeline.tests_generation import RoadTestFactory
import inspect
class ValidationTest(unittest.TestCase):
def test_road_that_stars_outside_the_map(self):
"""
creates a road that start from outside the map. By convention th... | 28.304054 | 91 | 0.636429 | 511 | 4,189 | 4.931507 | 0.135029 | 0.130952 | 0.120635 | 0.057143 | 0.807143 | 0.790476 | 0.790476 | 0.790476 | 0.787698 | 0.75754 | 0 | 0.035737 | 0.258534 | 4,189 | 148 | 92 | 28.304054 | 0.775596 | 0.117212 | 0 | 0.653333 | 0 | 0 | 0.02649 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 1 | 0.093333 | false | 0 | 0.053333 | 0 | 0.16 | 0.093333 | 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 |
e48843613c9d9368ae2b53a1f9ba75211fe5aeca | 197 | py | Python | Exercises/quadrilatero.py | JeffersonOliveira/Exercises--OO_Fundamentals_with_Python | f55a7205c922413c442ca020fe744ce26887cdc3 | [
"MIT"
] | null | null | null | Exercises/quadrilatero.py | JeffersonOliveira/Exercises--OO_Fundamentals_with_Python | f55a7205c922413c442ca020fe744ce26887cdc3 | [
"MIT"
] | null | null | null | Exercises/quadrilatero.py | JeffersonOliveira/Exercises--OO_Fundamentals_with_Python | f55a7205c922413c442ca020fe744ce26887cdc3 | [
"MIT"
] | null | null | null |
class Quadrilatero:
def __init__(self, lado1, lado2):
self.__lado1 = lado1
self.__lado2 = lado2
def retangulo():
pass
def retangulo():
pass
def retangulo():
pass | 14.071429 | 37 | 0.619289 | 22 | 197 | 5.181818 | 0.409091 | 0.315789 | 0.421053 | 0.333333 | 0.421053 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.284264 | 197 | 14 | 38 | 14.071429 | 0.765957 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.3 | 0 | 0 | 0.5 | 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 |
e4b499f471f3740c925f834b160149becea9fac3 | 154 | py | Python | tests/Keywords.py | yhu-insight/python-toolkit | e53b2b4a63b455ca88955f18a2c00512a6de494b | [
"Apache-2.0"
] | null | null | null | tests/Keywords.py | yhu-insight/python-toolkit | e53b2b4a63b455ca88955f18a2c00512a6de494b | [
"Apache-2.0"
] | null | null | null | tests/Keywords.py | yhu-insight/python-toolkit | e53b2b4a63b455ca88955f18a2c00512a6de494b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Print Python keyword List.
# Author - yucheng.hu@insight.com
import keyword
print(keyword.kwlist)
print(len(keyword.kwlist))
| 15.4 | 33 | 0.707792 | 21 | 154 | 5.190476 | 0.714286 | 0.238532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.136364 | 154 | 9 | 34 | 17.111111 | 0.81203 | 0.519481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 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 |
e4f97fd72cb2953a1333bad70fc765b748c1b210 | 32 | py | Python | cheez/__init__.py | kcsaff/cheez | 7259e9d4a9540ba1d9f1c8928fbf9257b2d7194e | [
"MIT"
] | null | null | null | cheez/__init__.py | kcsaff/cheez | 7259e9d4a9540ba1d9f1c8928fbf9257b2d7194e | [
"MIT"
] | null | null | null | cheez/__init__.py | kcsaff/cheez | 7259e9d4a9540ba1d9f1c8928fbf9257b2d7194e | [
"MIT"
] | null | null | null | from cheez.commands import main
| 16 | 31 | 0.84375 | 5 | 32 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9049f4c346f27158318e20e71ab7fa183ae47847 | 47 | py | Python | deepnade/buml/Data/utils/__init__.py | vlimant/NADE | e2446c73250a99979c8710a8acbb14823a54bce0 | [
"BSD-3-Clause"
] | 43 | 2017-06-19T21:19:55.000Z | 2022-02-06T01:21:48.000Z | deepnade/buml/Data/utils/__init__.py | vlimant/NADE | e2446c73250a99979c8710a8acbb14823a54bce0 | [
"BSD-3-Clause"
] | 1 | 2017-08-29T14:09:49.000Z | 2017-09-08T12:34:19.000Z | deepnade/buml/Data/utils/__init__.py | vlimant/NADE | e2446c73250a99979c8710a8acbb14823a54bce0 | [
"BSD-3-Clause"
] | 12 | 2017-09-12T07:56:13.000Z | 2021-09-19T19:11:41.000Z | from utils import *
from filter_speech import * | 23.5 | 27 | 0.808511 | 7 | 47 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 27 | 23.5 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5f41f78e5b1a8eaaf76b6df12459b28d29bc355b | 57 | py | Python | list processing.py | Varanasi-Software-Junction/Python-repository-for-basics | 01128ccb91866cb1abb6d8abf035213f722f5750 | [
"MIT"
] | 2 | 2021-07-14T11:01:58.000Z | 2021-07-14T11:02:01.000Z | list processing.py | Maurya232Abhishek/Python-repository-for-basics | 3dcec5c529a0847df07c9dcc1424675754ce6376 | [
"MIT"
] | 4 | 2021-04-09T10:14:06.000Z | 2021-04-13T10:25:58.000Z | list processing.py | Maurya232Abhishek/Python-repository-for-basics | 3dcec5c529a0847df07c9dcc1424675754ce6376 | [
"MIT"
] | 2 | 2021-07-11T08:17:30.000Z | 2021-07-14T11:10:58.000Z | l=[]
print(l)
l.append(10)
print(l)
l.append(11)
print(l) | 9.5 | 12 | 0.649123 | 13 | 57 | 2.846154 | 0.384615 | 0.486486 | 0.378378 | 0.702703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.087719 | 57 | 6 | 13 | 9.5 | 0.634615 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5f8f9530978a5a68c5b035cb693f9e927911e7d3 | 67 | py | Python | audio/test.py | amoh-godwin/SwiftMultimedia | 441a5b6b2e83fd414dbfbc74c401c02220827eb7 | [
"MIT"
] | null | null | null | audio/test.py | amoh-godwin/SwiftMultimedia | 441a5b6b2e83fd414dbfbc74c401c02220827eb7 | [
"MIT"
] | 4 | 2020-03-22T18:58:13.000Z | 2020-03-25T09:37:19.000Z | audio/test.py | amoh-godwin/SwiftMultimedia | 441a5b6b2e83fd414dbfbc74c401c02220827eb7 | [
"MIT"
] | null | null | null | import pytest
from __init__ import Audio
def test_play():
pass | 13.4 | 26 | 0.761194 | 10 | 67 | 4.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 67 | 5 | 27 | 13.4 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | 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 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
5fa0cd89fceeff24d83e8ff68bce01a54bfd2cd9 | 266 | py | Python | bomber_monkey/features/bomb/bomb.py | MonkeyPatchIo/bomber-monkey | 8a351ef1a0ef18e9d98ad72d7274c41f02c0ed1b | [
"MIT"
] | null | null | null | bomber_monkey/features/bomb/bomb.py | MonkeyPatchIo/bomber-monkey | 8a351ef1a0ef18e9d98ad72d7274c41f02c0ed1b | [
"MIT"
] | null | null | null | bomber_monkey/features/bomb/bomb.py | MonkeyPatchIo/bomber-monkey | 8a351ef1a0ef18e9d98ad72d7274c41f02c0ed1b | [
"MIT"
] | null | null | null | from python_ecs.ecs import Component
class Bomb(Component):
def __init__(self, explosion_size: int) -> None:
super().__init__()
self.explosion_size = explosion_size
def __repr__(self):
return 'Bomb({})'.format(self.explosion_size)
| 24.181818 | 53 | 0.676692 | 32 | 266 | 5.09375 | 0.5625 | 0.319018 | 0.312883 | 0.257669 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206767 | 266 | 10 | 54 | 26.6 | 0.772512 | 0 | 0 | 0 | 0 | 0 | 0.030075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
397613e4c03c3288b4b0f89857aa5a0604cc1995 | 127 | py | Python | lagom/core/multiprocessing/__init__.py | dkorduban/lagom | 84d90902e70ed15a541406b7423a2d4ef74366e3 | [
"MIT"
] | null | null | null | lagom/core/multiprocessing/__init__.py | dkorduban/lagom | 84d90902e70ed15a541406b7423a2d4ef74366e3 | [
"MIT"
] | null | null | null | lagom/core/multiprocessing/__init__.py | dkorduban/lagom | 84d90902e70ed15a541406b7423a2d4ef74366e3 | [
"MIT"
] | null | null | null | from .base_worker import BaseWorker
from .base_master import BaseMaster
from .base_iterative_master import BaseIterativeMaster
| 31.75 | 54 | 0.88189 | 16 | 127 | 6.75 | 0.5625 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094488 | 127 | 3 | 55 | 42.333333 | 0.93913 | 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 |
39ab1a1f0a3700ca160a45c15fca689b6fdc4268 | 59,225 | py | Python | GameBoyEmulator/Tests/TestTemplates.py | CarlosLint/GameBoyEmulator | 42f4ff49bffea446d99e7a846d4a6ecf35ee5cef | [
"Apache-2.0"
] | 4 | 2018-06-27T17:09:55.000Z | 2019-08-01T14:04:57.000Z | GameBoyEmulator/Tests/TestTemplates.py | CarlosLint/GameBoyEmulator | 42f4ff49bffea446d99e7a846d4a6ecf35ee5cef | [
"Apache-2.0"
] | null | null | null | GameBoyEmulator/Tests/TestTemplates.py | CarlosLint/GameBoyEmulator | 42f4ff49bffea446d99e7a846d4a6ecf35ee5cef | [
"Apache-2.0"
] | 2 | 2019-08-04T23:51:01.000Z | 2021-06-03T17:18:51.000Z | #!/usr/bin/env python
'''
Test Templates
'''
regList = ["A", "B", "C", "D", "E", "F", "H", "L", "HL", "PC", "SP"]
cpuTestFile = '''
namespace GameBoyEmulator.Desktop.Tests {
[TestFixture]
public class CPUTest {
private const int RUN_CYCLES = 10;
{TESTS}
}
}
'''
baseTestTemplate = '''
... | 32.205003 | 182 | 0.58168 | 6,903 | 59,225 | 4.977111 | 0.033319 | 0.118578 | 0.064674 | 0.053643 | 0.912536 | 0.910411 | 0.904066 | 0.898594 | 0.898594 | 0.896324 | 0 | 0.002689 | 0.26531 | 59,225 | 1,838 | 183 | 32.222524 | 0.786909 | 0.006703 | 0 | 0.680986 | 0 | 0 | 0.289525 | 0.056242 | 0 | 0 | 0 | 0 | 0.351408 | 1 | 0.06831 | false | 0 | 0 | 0.000704 | 0.138732 | 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 |
39b12532a8a3d470cb5315aa3096b9674fa9ca46 | 166 | py | Python | django-project/npr_api/general/__init__.py | KBIAnews/PodCastle | 39d8fd10802b2e37fea846be33ff046b161a4540 | [
"MIT"
] | null | null | null | django-project/npr_api/general/__init__.py | KBIAnews/PodCastle | 39d8fd10802b2e37fea846be33ff046b161a4540 | [
"MIT"
] | 6 | 2020-02-24T19:11:26.000Z | 2021-05-07T13:44:56.000Z | django-project/npr_api/general/__init__.py | KBIAnews/PodCastle | 39d8fd10802b2e37fea846be33ff046b161a4540 | [
"MIT"
] | 1 | 2018-07-31T16:13:42.000Z | 2018-07-31T16:13:42.000Z | """
General tools for API use.
"""
from json_request import get_url_json_to_dict
from query_string import merge_params_to_query_string, merge_stem_with_query_string
| 23.714286 | 83 | 0.849398 | 28 | 166 | 4.535714 | 0.678571 | 0.259843 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10241 | 166 | 6 | 84 | 27.666667 | 0.852349 | 0.156627 | 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 |
f2dad73775e8f8c56e6bf5eda25d5f8320d36f7a | 83 | py | Python | index.py | soundofhorizon/kgx | 97f2ad9d080b473c4e7e4b94f72b70734f5fa454 | [
"MIT"
] | null | null | null | index.py | soundofhorizon/kgx | 97f2ad9d080b473c4e7e4b94f72b70734f5fa454 | [
"MIT"
] | null | null | null | index.py | soundofhorizon/kgx | 97f2ad9d080b473c4e7e4b94f72b70734f5fa454 | [
"MIT"
] | null | null | null | from bottle import route
@route("/")
def hello():
return "hello world"
| 11.857143 | 25 | 0.60241 | 10 | 83 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26506 | 83 | 6 | 26 | 13.833333 | 0.819672 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
842376f5051570eb0ab9f93e264be1508e0c774e | 273 | py | Python | src/huggingface/forte/huggingface/__init__.py | jzpang/forte-wrappers | 9abe5188a5b47f7d5f50a08ae46a42ec95c0bd9d | [
"Apache-2.0"
] | null | null | null | src/huggingface/forte/huggingface/__init__.py | jzpang/forte-wrappers | 9abe5188a5b47f7d5f50a08ae46a42ec95c0bd9d | [
"Apache-2.0"
] | null | null | null | src/huggingface/forte/huggingface/__init__.py | jzpang/forte-wrappers | 9abe5188a5b47f7d5f50a08ae46a42ec95c0bd9d | [
"Apache-2.0"
] | null | null | null | from forte.huggingface.bio_ner_predictor import *
from forte.huggingface.transformers_processor import *
from forte.huggingface.question_and_answering_single import *
from forte.huggingface.zero_shot_classifier import *
from forte.huggingface.token_classification import *
| 45.5 | 61 | 0.871795 | 34 | 273 | 6.735294 | 0.529412 | 0.196507 | 0.436681 | 0.454148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07326 | 273 | 5 | 62 | 54.6 | 0.905138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
843835ba5f1d6c11a05261aeb46ffecc75d9b4ee | 88 | py | Python | aida/__init__.py | mediatechlab/aida-lib | 8ec94e3843945937b63503a2e5a69ef52520cfef | [
"MIT"
] | 9 | 2020-02-14T15:18:53.000Z | 2021-05-06T13:46:54.000Z | aida/__init__.py | mediatechlab/aida-lib | 8ec94e3843945937b63503a2e5a69ef52520cfef | [
"MIT"
] | null | null | null | aida/__init__.py | mediatechlab/aida-lib | 8ec94e3843945937b63503a2e5a69ef52520cfef | [
"MIT"
] | 1 | 2021-03-25T21:56:05.000Z | 2021-03-25T21:56:05.000Z | from .core import *
from .branching import *
from .choices import *
from .lang import *
| 17.6 | 24 | 0.727273 | 12 | 88 | 5.333333 | 0.5 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 4 | 25 | 22 | 0.888889 | 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 |
844239986db80de822fc35f5bf47b5ba30cf09b4 | 13,416 | py | Python | test/unit/test_check_phenotype_data.py | KnowEnG/Data_Cleanup_Pipeline | d3534a32860762e0f6c64ad6c9e56353e255aaa3 | [
"MIT"
] | 1 | 2020-07-31T03:19:40.000Z | 2020-07-31T03:19:40.000Z | test/unit/test_check_phenotype_data.py | KnowEnG/Data_Cleanup_Pipeline | d3534a32860762e0f6c64ad6c9e56353e255aaa3 | [
"MIT"
] | 1 | 2017-03-22T22:21:39.000Z | 2017-03-22T22:21:39.000Z | test/unit/test_check_phenotype_data.py | KnowEnG/Data_Cleanup_Pipeline | d3534a32860762e0f6c64ad6c9e56353e255aaa3 | [
"MIT"
] | 2 | 2017-01-03T17:44:52.000Z | 2017-09-12T16:38:16.000Z | import unittest
import numpy as np
import pandas as pd
from utils.check_util import CheckUtil
import utils.log_util as logger
from utils.transformation_util import TransformationUtil
class Testcheck_phenotype_data(unittest.TestCase):
def setUp(self):
logger.init()
def tearDown(self):
pass
... | 44.423841 | 99 | 0.418977 | 1,381 | 13,416 | 3.874004 | 0.07386 | 0.053271 | 0.056075 | 0.131589 | 0.808411 | 0.79028 | 0.762617 | 0.752336 | 0.721682 | 0.695701 | 0 | 0.062037 | 0.406455 | 13,416 | 301 | 100 | 44.571429 | 0.60982 | 0 | 0 | 0.337979 | 0 | 0 | 0.094812 | 0 | 0 | 0 | 0 | 0 | 0.027875 | 1 | 0.027875 | false | 0.003484 | 0.020906 | 0 | 0.052265 | 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 |
845df4d915b72876ddfde1510003efdc1d688653 | 114 | py | Python | office365/sharepoint/tenant/administration/secondary_administrators_info.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | null | null | null | office365/sharepoint/tenant/administration/secondary_administrators_info.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | null | null | null | office365/sharepoint/tenant/administration/secondary_administrators_info.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | null | null | null | from office365.runtime.client_value import ClientValue
class SecondaryAdministratorsInfo(ClientValue):
pass
| 19 | 54 | 0.842105 | 11 | 114 | 8.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 0.114035 | 114 | 5 | 55 | 22.8 | 0.910891 | 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 |
fff2a80c03bdbc98b68cffdda83a4c7f50750079 | 151 | py | Python | fastapi/utils/hooks.py | zhangnian/fastapi | 65eb49ec58041fb1212c3e867d19a405d7e40662 | [
"MIT"
] | 33 | 2017-08-14T09:39:12.000Z | 2021-09-11T14:54:28.000Z | fastapi/utils/hooks.py | zhangnian/fastapi | 65eb49ec58041fb1212c3e867d19a405d7e40662 | [
"MIT"
] | null | null | null | fastapi/utils/hooks.py | zhangnian/fastapi | 65eb49ec58041fb1212c3e867d19a405d7e40662 | [
"MIT"
] | 9 | 2017-12-05T11:54:01.000Z | 2020-11-10T08:03:35.000Z | from fastapi.utils.stats import add_request
def before_request_handler():
add_request()
def after_request_handler(response):
return response | 18.875 | 43 | 0.794702 | 20 | 151 | 5.7 | 0.65 | 0.175439 | 0.22807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139073 | 151 | 8 | 44 | 18.875 | 0.876923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fffbc3cd11371b3cc018ad6e723a729daeaea8a1 | 161 | py | Python | pyqc/environment/__init__.py | shunzgim/PyQC | 8bcbb5b6c5990cac578b2645c558a1fdac29bc1f | [
"MIT"
] | null | null | null | pyqc/environment/__init__.py | shunzgim/PyQC | 8bcbb5b6c5990cac578b2645c558a1fdac29bc1f | [
"MIT"
] | null | null | null | pyqc/environment/__init__.py | shunzgim/PyQC | 8bcbb5b6c5990cac578b2645c558a1fdac29bc1f | [
"MIT"
] | null | null | null | import numpy
from pyqc.environment.environment import Environment,simType
from pyqc.environment.quantum_circuit import QuantumCircuit,VariationalQuantumCircuit
| 32.2 | 85 | 0.89441 | 17 | 161 | 8.411765 | 0.588235 | 0.111888 | 0.265734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068323 | 161 | 4 | 86 | 40.25 | 0.953333 | 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 |
083e1d780a3557a84e28531418cba913534018d1 | 92 | py | Python | Operators/ExampleFaceAlignmentOperator/__init__.py | Caius-Lu/Savior | 47c22e06c38cc9b5f7007d79f791015c8b2b76aa | [
"BSD-2-Clause"
] | 108 | 2021-03-19T03:45:48.000Z | 2022-03-29T12:19:38.000Z | Operators/ExampleFaceAlignmentOperator/__init__.py | Caius-Lu/Savior | 47c22e06c38cc9b5f7007d79f791015c8b2b76aa | [
"BSD-2-Clause"
] | 2 | 2021-05-12T07:26:21.000Z | 2021-07-16T12:53:52.000Z | Operators/ExampleFaceAlignmentOperator/__init__.py | Caius-Lu/Savior | 47c22e06c38cc9b5f7007d79f791015c8b2b76aa | [
"BSD-2-Clause"
] | 27 | 2021-03-19T05:50:26.000Z | 2021-12-28T07:13:09.000Z | from Operators.ExampleFaceAlignmentOperator.FaceAlignmentOperator import GeneralLandmark106p | 92 | 92 | 0.945652 | 6 | 92 | 14.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0.032609 | 92 | 1 | 92 | 92 | 0.94382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
085a367fd4a48d74d7dbf77b6adbd76ba500b7c9 | 177 | py | Python | events/admin.py | losolio/website | 5b983e9dfaf604212aab87c51d8904ffc29527a3 | [
"MIT"
] | 10 | 2015-12-18T16:41:33.000Z | 2018-11-11T08:36:46.000Z | events/admin.py | losolio/website | 5b983e9dfaf604212aab87c51d8904ffc29527a3 | [
"MIT"
] | 96 | 2015-07-14T22:45:56.000Z | 2017-07-25T19:59:48.000Z | events/admin.py | losolio/website | 5b983e9dfaf604212aab87c51d8904ffc29527a3 | [
"MIT"
] | 9 | 2015-07-28T14:38:43.000Z | 2019-01-04T17:38:42.000Z | from django.contrib import admin
from . import models
admin.site.register(models.EventPage)
admin.site.register(models.EventListPage)
admin.site.register(models.Organization)
| 22.125 | 41 | 0.830508 | 23 | 177 | 6.391304 | 0.478261 | 0.183673 | 0.346939 | 0.469388 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073446 | 177 | 7 | 42 | 25.285714 | 0.896341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4b496ad18037620eb9b8f9b7737d7dfebde3bb6f | 54 | py | Python | test/__init__.py | RosettaCommons/jade2 | 40affc7c4e0f1f6ee07030e72de284e3484946e7 | [
"BSD-3-Clause"
] | 1 | 2019-12-23T21:52:23.000Z | 2019-12-23T21:52:23.000Z | test/__init__.py | RosettaCommons/jade2 | 40affc7c4e0f1f6ee07030e72de284e3484946e7 | [
"BSD-3-Clause"
] | null | null | null | test/__init__.py | RosettaCommons/jade2 | 40affc7c4e0f1f6ee07030e72de284e3484946e7 | [
"BSD-3-Clause"
] | 2 | 2021-11-13T01:34:15.000Z | 2021-11-13T01:34:34.000Z | from .test_path import *
from .test_nnmetrics import * | 27 | 29 | 0.796296 | 8 | 54 | 5.125 | 0.625 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 2 | 29 | 27 | 0.87234 | 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 |
4b8248d0b6a914f7585d1bba0cf3bfa87d47a5f7 | 213 | py | Python | sts-automation/scripts/lib/confluence.py | cihatyildiz/vm-scripts | 53aec327dce3327aa2610b6b703ad2bebab9c8ff | [
"Apache-2.0"
] | null | null | null | sts-automation/scripts/lib/confluence.py | cihatyildiz/vm-scripts | 53aec327dce3327aa2610b6b703ad2bebab9c8ff | [
"Apache-2.0"
] | null | null | null | sts-automation/scripts/lib/confluence.py | cihatyildiz/vm-scripts | 53aec327dce3327aa2610b6b703ad2bebab9c8ff | [
"Apache-2.0"
] | null | null | null | import sys, os, requests, json, time
from requests.auth import HTTPBasicAuth
from datetime import datetime
def createAConfluencePage(confluence_creds, page_data):
# TODO: do some research aboout this
pass | 30.428571 | 55 | 0.793427 | 28 | 213 | 5.964286 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 213 | 7 | 56 | 30.428571 | 0.927778 | 0.159624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0.2 | false | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4b9093b6663b86682dc39cbf6ccc9d076ba22984 | 79 | py | Python | nameko/__main__.py | mohamedmehdigara/nameko | 6f803fac122813022fc2ab68c35cebe88f99ec36 | [
"Apache-2.0"
] | 3,425 | 2016-11-10T17:12:42.000Z | 2022-03-31T19:07:49.000Z | nameko/__main__.py | mohamedmehdigara/nameko | 6f803fac122813022fc2ab68c35cebe88f99ec36 | [
"Apache-2.0"
] | 311 | 2016-11-10T20:58:16.000Z | 2022-03-26T09:03:22.000Z | nameko/__main__.py | mohamedmehdigara/nameko | 6f803fac122813022fc2ab68c35cebe88f99ec36 | [
"Apache-2.0"
] | 420 | 2016-11-17T05:46:42.000Z | 2022-03-23T12:36:06.000Z | import nameko.cli.main
if __name__ == "__main__":
nameko.cli.main.main()
| 13.166667 | 26 | 0.683544 | 11 | 79 | 4.181818 | 0.545455 | 0.391304 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 79 | 5 | 27 | 15.8 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4b1ceca654478249932e55fbea17c43e4630de69 | 45 | py | Python | cuttlefs/__init__.py | WiscADSL/cuttlefs | 8ddc684d4fc9167778bfe1cddfbbae8a3eabe15e | [
"MIT"
] | 11 | 2020-07-13T09:59:23.000Z | 2022-01-20T21:17:36.000Z | cuttlefs/__init__.py | WiscADSL/cuttlefs | 8ddc684d4fc9167778bfe1cddfbbae8a3eabe15e | [
"MIT"
] | null | null | null | cuttlefs/__init__.py | WiscADSL/cuttlefs | 8ddc684d4fc9167778bfe1cddfbbae8a3eabe15e | [
"MIT"
] | null | null | null | from .client import CuttleFSForegroundRunner
| 22.5 | 44 | 0.888889 | 4 | 45 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.97561 | 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 |
d9a539681a7a683b2742f4354908b361aaacc82b | 18 | py | Python | tmc-langs/tests/data/some_course/PythonExercise/src/__init__.py | Robustic/tmc-langs-rust | fd7d689a5f898a728787123966b8a5d8eb0f0c5b | [
"Apache-2.0",
"MIT"
] | 7 | 2021-11-16T06:01:41.000Z | 2022-03-30T21:09:14.000Z | tmc-langs/tests/data/some_course/PythonExercise/src/__init__.py | Robustic/tmc-langs-rust | fd7d689a5f898a728787123966b8a5d8eb0f0c5b | [
"Apache-2.0",
"MIT"
] | 110 | 2020-05-04T13:44:28.000Z | 2022-03-09T12:21:40.000Z | tmc-langs/tests/data/some_course/PythonExercise/src/__init__.py | Robustic/tmc-langs-rust | fd7d689a5f898a728787123966b8a5d8eb0f0c5b | [
"Apache-2.0",
"MIT"
] | 9 | 2020-05-05T03:05:53.000Z | 2021-04-29T13:13:52.000Z | from src import *
| 9 | 17 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d9f86bbd2191feda5fe7acccc9c920c4a5789877 | 476 | py | Python | delira/models/backends/__init__.py | gedoensmax/delira | 545e2ccbe56ed382d300cf3d00317e9a0e3ab5f6 | [
"BSD-2-Clause"
] | 1 | 2019-10-03T21:00:20.000Z | 2019-10-03T21:00:20.000Z | delira/models/backends/__init__.py | gedoensmax/delira | 545e2ccbe56ed382d300cf3d00317e9a0e3ab5f6 | [
"BSD-2-Clause"
] | null | null | null | delira/models/backends/__init__.py | gedoensmax/delira | 545e2ccbe56ed382d300cf3d00317e9a0e3ab5f6 | [
"BSD-2-Clause"
] | null | null | null | from delira import get_backends as _get_backends
if "CHAINER" in _get_backends():
from delira.models.backends.chainer import *
if "SKLEARN" in _get_backends():
from delira.models.backends.sklearn import *
if "TF" in _get_backends():
from delira.models.backends.tf_eager import *
from delira.models.bac... | 29.75 | 52 | 0.752101 | 66 | 476 | 5.227273 | 0.242424 | 0.202899 | 0.278261 | 0.417391 | 0.614493 | 0.428986 | 0.428986 | 0 | 0 | 0 | 0 | 0 | 0.155462 | 476 | 15 | 53 | 31.733333 | 0.858209 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.636364 | 0 | 0.636364 | 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 |
d9fe71dbad74e2e5f0adf04778d7f5e85d20942f | 36 | py | Python | src/spyd/protocol/__init__.py | fdChasm/spyd | 38e070d10290c2da1e9e5c2226aace871e4dcc59 | [
"Zlib"
] | 4 | 2015-05-05T16:44:42.000Z | 2020-10-27T09:45:23.000Z | src/spyd/protocol/__init__.py | fdChasm/spyd | 38e070d10290c2da1e9e5c2226aace871e4dcc59 | [
"Zlib"
] | null | null | null | src/spyd/protocol/__init__.py | fdChasm/spyd | 38e070d10290c2da1e9e5c2226aace871e4dcc59 | [
"Zlib"
] | 2 | 2016-12-13T22:21:08.000Z | 2020-03-14T16:44:20.000Z | from server_write_helper import swh
| 18 | 35 | 0.888889 | 6 | 36 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 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 |
8a27a65a2111fd8a88cb429f4ce720e015055fd8 | 46 | py | Python | __init__.py | kprussing/scons-pandoc | 0919a7008cd35be1c062148cae141f54331a3f25 | [
"BSD-2-Clause"
] | null | null | null | __init__.py | kprussing/scons-pandoc | 0919a7008cd35be1c062148cae141f54331a3f25 | [
"BSD-2-Clause"
] | 4 | 2019-01-17T14:43:01.000Z | 2021-03-16T17:11:01.000Z | __init__.py | kprussing/scons-pandoc | 0919a7008cd35be1c062148cae141f54331a3f25 | [
"BSD-2-Clause"
] | null | null | null | from .sconscontrib.SCons.Tool.pandoc import *
| 23 | 45 | 0.804348 | 6 | 46 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.880952 | 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 |
8a48c32d0be22cb4d8f5c12c43db569072b83753 | 63,141 | py | Python | test/parallel/base_test_mxnet.py | ashahab/horovod | d6de12d6883150f7d52245706dde65bc22fb00a9 | [
"Apache-2.0"
] | 7,676 | 2019-02-12T02:57:22.000Z | 2022-03-31T21:05:40.000Z | test/parallel/base_test_mxnet.py | ashahab/horovod | d6de12d6883150f7d52245706dde65bc22fb00a9 | [
"Apache-2.0"
] | 2,431 | 2019-02-12T01:34:21.000Z | 2022-03-31T21:43:38.000Z | test/parallel/base_test_mxnet.py | ashahab/horovod | d6de12d6883150f7d52245706dde65bc22fb00a9 | [
"Apache-2.0"
] | 1,557 | 2019-02-12T07:52:15.000Z | 2022-03-31T21:05:43.000Z | # Copyright 2018 Uber Technologies, Inc. All Rights Reserved.
# Modifications copyright (C) 2020, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# ... | 40.920933 | 132 | 0.558955 | 7,602 | 63,141 | 4.523678 | 0.071823 | 0.009189 | 0.010817 | 0.010468 | 0.798889 | 0.776818 | 0.760243 | 0.749019 | 0.733345 | 0.717206 | 0 | 0.032658 | 0.333666 | 63,141 | 1,542 | 133 | 40.947471 | 0.784708 | 0.12971 | 0 | 0.71441 | 0 | 0.008734 | 0.09647 | 0.004472 | 0 | 0 | 0 | 0 | 0.059389 | 1 | 0.041921 | false | 0.0131 | 0.014847 | 0 | 0.062009 | 0.024454 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8abe2f4d7542a2ac08c6bf3a0d507a5790595d43 | 29,437 | py | Python | pybind/slxos/v17r_1_01a/cfm_state/slm/slm_session_brief/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_1_01a/cfm_state/slm/slm_session_brief/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_1_01a/cfm_state/slm/slm_session_brief/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 60.694845 | 471 | 0.735469 | 4,029 | 29,437 | 5.104989 | 0.04964 | 0.045702 | 0.057176 | 0.059802 | 0.840043 | 0.819574 | 0.808538 | 0.801391 | 0.794487 | 0.788263 | 0 | 0.010994 | 0.137922 | 29,437 | 484 | 472 | 60.820248 | 0.799503 | 0.180317 | 0 | 0.477941 | 0 | 0.036765 | 0.346856 | 0.192438 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121324 | false | 0 | 0.029412 | 0 | 0.264706 | 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 |
8ad215d4afe96cf8ee3fd9e3cd11680a0f972089 | 12,115 | py | Python | tests/testcases/solr/solr_task1_tests.py | sashakames/esgf-pid | c78305c1a6c3b80f551008e8f7c35d52808a8234 | [
"Apache-2.0"
] | null | null | null | tests/testcases/solr/solr_task1_tests.py | sashakames/esgf-pid | c78305c1a6c3b80f551008e8f7c35d52808a8234 | [
"Apache-2.0"
] | null | null | null | tests/testcases/solr/solr_task1_tests.py | sashakames/esgf-pid | c78305c1a6c3b80f551008e8f7c35d52808a8234 | [
"Apache-2.0"
] | null | null | null | import unittest
import mock
import logging
import json
import esgfpid.solr.solr
import esgfpid.solr.tasks.filehandles_same_dataset as task
import tests.resources.responsemock
import tests.utils
import tests.resources
# Logging:
LOGGER = logging.getLogger(__name__)
LOGGER.addHandler(logging.NullHandler())
# Test resou... | 39.851974 | 173 | 0.655056 | 1,416 | 12,115 | 5.366525 | 0.137006 | 0.032504 | 0.035005 | 0.038689 | 0.837215 | 0.825372 | 0.824319 | 0.79971 | 0.79971 | 0.79971 | 0 | 0.021246 | 0.250186 | 12,115 | 303 | 174 | 39.983498 | 0.81528 | 0.202641 | 0 | 0.641509 | 0 | 0 | 0.157658 | 0.054158 | 0 | 0 | 0 | 0 | 0.144654 | 1 | 0.113208 | false | 0 | 0.069182 | 0.006289 | 0.238994 | 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 |
76d6033bcc79e3ded6d096876a65ee6a153324bd | 168 | py | Python | tasks/R2R/models/__init__.py | BenjaPrograma/proyecto-IA | 2cc1ff078cbfeb2c467758594bcb749211f0342b | [
"MIT"
] | null | null | null | tasks/R2R/models/__init__.py | BenjaPrograma/proyecto-IA | 2cc1ff078cbfeb2c467758594bcb749211f0342b | [
"MIT"
] | null | null | null | tasks/R2R/models/__init__.py | BenjaPrograma/proyecto-IA | 2cc1ff078cbfeb2c467758594bcb749211f0342b | [
"MIT"
] | null | null | null | from models.encoder import EncoderRNN
from models.modules import PositionalEncoding
from models.policy_model import Regretful, SelfMonitoring, SpeakerFollowerBaseline | 56 | 82 | 0.880952 | 18 | 168 | 8.166667 | 0.666667 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 168 | 3 | 82 | 56 | 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 |
0a0a79a7f86adf48504962bc3af6715bd0c67aa0 | 6,828 | py | Python | src/prefect/contrib/tasks/mysql/mysql.py | nathaniel-md/prefect | 467bc5b1dcd83716bd896eff549f6bceb59da8cf | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/prefect/contrib/tasks/mysql/mysql.py | nathaniel-md/prefect | 467bc5b1dcd83716bd896eff549f6bceb59da8cf | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/prefect/contrib/tasks/mysql/mysql.py | nathaniel-md/prefect | 467bc5b1dcd83716bd896eff549f6bceb59da8cf | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | from prefect import Task
from prefect.utilities.tasks import defaults_from_attrs
import pymysql.cursors
import logging
from typing import Any
class MySQLExecute(Task):
"""
Task for executing a query against a MySQL database.
Args:
- db_name (str): name of MySQL database
- user (str): use... | 33.307317 | 130 | 0.553749 | 758 | 6,828 | 4.935356 | 0.170185 | 0.032077 | 0.032077 | 0.022454 | 0.791767 | 0.785352 | 0.770382 | 0.770382 | 0.749532 | 0.712644 | 0 | 0.00913 | 0.358377 | 6,828 | 204 | 131 | 33.470588 | 0.844784 | 0.392501 | 0 | 0.710744 | 0 | 0.008264 | 0.07839 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033058 | false | 0.049587 | 0.041322 | 0 | 0.107438 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a497b6af17ee5abf683f9ddceb6cc0d792c5fbd | 32 | py | Python | build/lib/birdysis/download/__init__.py | sweeneyngo/birdysis | 136c75769d07410b74c74d9df353616e615d4f21 | [
"MIT"
] | null | null | null | build/lib/birdysis/download/__init__.py | sweeneyngo/birdysis | 136c75769d07410b74c74d9df353616e615d4f21 | [
"MIT"
] | null | null | null | build/lib/birdysis/download/__init__.py | sweeneyngo/birdysis | 136c75769d07410b74c74d9df353616e615d4f21 | [
"MIT"
] | null | null | null | from .tweepydl import download
| 10.666667 | 30 | 0.8125 | 4 | 32 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 2 | 31 | 16 | 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 |
0a5f09f1ac1b2d2a80c57e1900cd9bd46b71a63b | 2,346 | py | Python | Reconstruct Itnerary.py | frank0215/Leetcode_python | 9428ded4f9abd347b12bfef8aa1dd2d177f3afea | [
"MIT"
] | null | null | null | Reconstruct Itnerary.py | frank0215/Leetcode_python | 9428ded4f9abd347b12bfef8aa1dd2d177f3afea | [
"MIT"
] | null | null | null | Reconstruct Itnerary.py | frank0215/Leetcode_python | 9428ded4f9abd347b12bfef8aa1dd2d177f3afea | [
"MIT"
] | null | null | null | def dfs(tickets, path, isUsed):
if len(tickets) + 1 == len(path):
print(path)
return path
currAirport = path[-1]
for i in range(len(tickets)):
if isUsed[i]:
continue
fromAirport, toAirport = tickets[i]
if fromAirport == currAirport:
... | 26.965517 | 67 | 0.516198 | 243 | 2,346 | 4.983539 | 0.152263 | 0.082576 | 0.069364 | 0.099092 | 0.848059 | 0.761354 | 0.733278 | 0.733278 | 0.630884 | 0.630884 | 0 | 0.006798 | 0.372975 | 2,346 | 87 | 68 | 26.965517 | 0.816451 | 0.002984 | 0 | 0.753623 | 0 | 0 | 0.003849 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0 | 0 | 0.304348 | 0.043478 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a70f03b34b292ee49a3b071641ca3887e8d2caf | 215 | py | Python | PyBasics/operators/arithmeticoperators.py | dvco-xx/Python-Basics | 388a0f85dd49260cb4a23169cb36bf485c89999e | [
"MIT"
] | null | null | null | PyBasics/operators/arithmeticoperators.py | dvco-xx/Python-Basics | 388a0f85dd49260cb4a23169cb36bf485c89999e | [
"MIT"
] | null | null | null | PyBasics/operators/arithmeticoperators.py | dvco-xx/Python-Basics | 388a0f85dd49260cb4a23169cb36bf485c89999e | [
"MIT"
] | null | null | null | a, b = 10, 5
print("Add: a+b = ", a+b)
print("Sub: a-b = ", a-b)
print("Mul: a*b = ", a*b)
print("Div: a/b = ", a/b)
print("Mod: a%b = ", a%b)
print("Exp: a**b = ", a**b)
print("Floored Div: a//b = ", a//b) | 23.888889 | 35 | 0.446512 | 47 | 215 | 2.042553 | 0.255319 | 0.3125 | 0.21875 | 0.291667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018072 | 0.227907 | 215 | 9 | 35 | 23.888889 | 0.560241 | 0 | 0 | 0 | 0 | 0 | 0.418269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.875 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
6a4f287f1650774d0ef10d1110c1b5db1f9b285c | 9,255 | py | Python | services/app/src/blueprints/test_users.py | chimailo/livia | 82447871a2ad0dc5e964b6298140409b27b12a7b | [
"MIT"
] | null | null | null | services/app/src/blueprints/test_users.py | chimailo/livia | 82447871a2ad0dc5e964b6298140409b27b12a7b | [
"MIT"
] | null | null | null | services/app/src/blueprints/test_users.py | chimailo/livia | 82447871a2ad0dc5e964b6298140409b27b12a7b | [
"MIT"
] | null | null | null | import json
from app import create_app
from app.models import User
app = create_app()
def test_users(client):
"""
Ensure the '/users/ping' route behaves correctly.
GIVEN a Flask application
WHEN the ping() route is requested (GET)
THEN check the response is valid
"""
response = client.g... | 30.444079 | 75 | 0.627337 | 1,174 | 9,255 | 4.839864 | 0.097104 | 0.035199 | 0.032911 | 0.065822 | 0.873636 | 0.830165 | 0.809398 | 0.803766 | 0.784935 | 0.734425 | 0 | 0.009767 | 0.247758 | 9,255 | 303 | 76 | 30.544554 | 0.806377 | 0.238034 | 0 | 0.611111 | 0 | 0 | 0.21905 | 0.003305 | 0 | 0 | 0 | 0 | 0.216667 | 1 | 0.094444 | false | 0.038889 | 0.016667 | 0 | 0.111111 | 0.011111 | 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 |
6a5c6981b2bfe09674526b902aed3eb7dd5a0b0d | 43 | py | Python | basic/package/usePackage01.py | gwaysoft/python | a74a0b553dfca9606083a41ab6d03801e67d2467 | [
"Apache-2.0"
] | null | null | null | basic/package/usePackage01.py | gwaysoft/python | a74a0b553dfca9606083a41ab6d03801e67d2467 | [
"Apache-2.0"
] | null | null | null | basic/package/usePackage01.py | gwaysoft/python | a74a0b553dfca9606083a41ab6d03801e67d2467 | [
"Apache-2.0"
] | null | null | null | from settings import size
print(size.width) | 21.5 | 25 | 0.837209 | 7 | 43 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 2 | 26 | 21.5 | 0.923077 | 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 |
6a7af1566fd79b48cc2e3b5dbbc73675edb4720b | 138 | py | Python | setup/fusion/scripts/Comp/avalon/loader.py | bumpybox/core | 5a24640484f19e48dc12682dae979adc6d41dc0b | [
"MIT"
] | 168 | 2017-06-23T15:50:43.000Z | 2022-02-27T10:48:45.000Z | setup/fusion/scripts/Comp/avalon/loader.py | bumpybox/core | 5a24640484f19e48dc12682dae979adc6d41dc0b | [
"MIT"
] | 366 | 2017-06-22T08:38:45.000Z | 2021-06-19T07:29:06.000Z | setup/fusion/scripts/Comp/avalon/loader.py | bumpybox/core | 5a24640484f19e48dc12682dae979adc6d41dc0b | [
"MIT"
] | 42 | 2017-06-23T15:27:26.000Z | 2021-09-29T17:28:18.000Z | import avalon.api
import avalon.fusion
import avalon.tools.loader as tool
avalon.api.install(avalon.fusion)
tool.show(use_context=True)
| 17.25 | 34 | 0.818841 | 22 | 138 | 5.090909 | 0.590909 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 138 | 7 | 35 | 19.714286 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 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 |
6ac08a24d9ea3ce691bbba9a9ee7b30a57e4a52a | 1,303 | py | Python | libs/modifiDisplay.py | mirandaalex/BooleanFunction | 6f27454c5a8d921163c0982375e488dfdfbbb2b5 | [
"MIT"
] | null | null | null | libs/modifiDisplay.py | mirandaalex/BooleanFunction | 6f27454c5a8d921163c0982375e488dfdfbbb2b5 | [
"MIT"
] | null | null | null | libs/modifiDisplay.py | mirandaalex/BooleanFunction | 6f27454c5a8d921163c0982375e488dfdfbbb2b5 | [
"MIT"
] | null | null | null | #FUNCTION TEXT
def AddCharA(char,lista,z):
x=0
for y in lista[0]:
if y=="|":
break
else:
x+=1
x+=1
if x==len(lista[0]):
lista[0]=lista[0][:len(lista[0])-1]+char+"|"
elif x==1:
lista[0]=char+lista[0][:]
else:
lista[0]=lista[0][:x-1]+char+lista[0][x-1:]
print(char)
print(lista)
z[0].configure(t... | 17.373333 | 58 | 0.52264 | 258 | 1,303 | 2.639535 | 0.096899 | 0.370044 | 0.154185 | 0.193833 | 0.82232 | 0.79442 | 0.79442 | 0.676946 | 0.676946 | 0.572687 | 0 | 0.073543 | 0.19647 | 1,303 | 74 | 59 | 17.608108 | 0.576886 | 0.009977 | 0 | 0.73913 | 0 | 0 | 0.01474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057971 | false | 0 | 0 | 0 | 0.057971 | 0.130435 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6acc2f961d20d85511366a4269bc744945a5a463 | 207 | py | Python | main/about.py | Dongmin-Sim/web-board-with-flask | c1e66b02889af8b48645d557ac4ce4da8385b296 | [
"MIT"
] | 1 | 2021-12-09T11:58:52.000Z | 2021-12-09T11:58:52.000Z | main/about.py | donghyeon95/web-board-with-flask | 069506bf330732aae843980c4495e24e97abb26a | [
"MIT"
] | 9 | 2021-12-10T07:24:58.000Z | 2021-12-17T10:18:20.000Z | main/about.py | donghyeon95/web-board-with-flask | 069506bf330732aae843980c4495e24e97abb26a | [
"MIT"
] | 1 | 2021-12-08T02:11:15.000Z | 2021-12-08T02:11:15.000Z | from flask import Blueprint
from flask import render_template, request, redirect
about_bp = Blueprint('about', __name__)
@about_bp.route('/about')
def get_docs():
return render_template('about.html')
| 20.7 | 52 | 0.763285 | 28 | 207 | 5.321429 | 0.607143 | 0.120805 | 0.201342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125604 | 207 | 9 | 53 | 23 | 0.823204 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
0a722bb8c11153f3b2968d366279624267886899 | 86,728 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_asr9k_np_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_asr9k_np_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_asr9k_np_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
import re
import collections
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI... | 53.502776 | 254 | 0.54129 | 8,370 | 86,728 | 5.397372 | 0.021266 | 0.082345 | 0.102931 | 0.121525 | 0.959536 | 0.95595 | 0.950483 | 0.94548 | 0.940566 | 0.916394 | 0 | 0.030986 | 0.315319 | 86,728 | 1,620 | 255 | 53.535802 | 0.729796 | 0 | 0 | 0.641274 | 0 | 0.000693 | 0.483384 | 0.387784 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00554 | 0 | 0.00554 | 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 |
0a84ec82e529284f85addadaf1e14d30f18c1fec | 77 | py | Python | tests/test_autoschema.py | fractaloop/autoschema | 838256946f9926ee75e58b9abcb2c674f7e48258 | [
"MIT"
] | null | null | null | tests/test_autoschema.py | fractaloop/autoschema | 838256946f9926ee75e58b9abcb2c674f7e48258 | [
"MIT"
] | null | null | null | tests/test_autoschema.py | fractaloop/autoschema | 838256946f9926ee75e58b9abcb2c674f7e48258 | [
"MIT"
] | null | null | null |
from autoschema.cli import main
def test_main():
assert main([]) == 0
| 11 | 31 | 0.649351 | 11 | 77 | 4.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.220779 | 77 | 6 | 32 | 12.833333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a95d4a1567f2240b60061ccfe32a3b346555780 | 57 | py | Python | p97.py | brandonpelfrey/project-euler | 2004720e1545e554bdefc0de3898f6dbddf731f8 | [
"MIT"
] | null | null | null | p97.py | brandonpelfrey/project-euler | 2004720e1545e554bdefc0de3898f6dbddf731f8 | [
"MIT"
] | null | null | null | p97.py | brandonpelfrey/project-euler | 2004720e1545e554bdefc0de3898f6dbddf731f8 | [
"MIT"
] | null | null | null | n = 28433 * pow(2,7830457,10**10) + 1
print str(n)[-10:]
| 19 | 37 | 0.578947 | 12 | 57 | 2.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0.157895 | 57 | 2 | 38 | 28.5 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0acc81d7e605da25be349223f775b1152ef3f834 | 24,529 | py | Python | tests/compute/test_subgraph.py | lfchener/dgl | 77f4287a4118db64c46f4f413a426e1419a09d53 | [
"Apache-2.0"
] | 9,516 | 2018-12-08T22:11:31.000Z | 2022-03-31T13:04:33.000Z | tests/compute/test_subgraph.py | lfchener/dgl | 77f4287a4118db64c46f4f413a426e1419a09d53 | [
"Apache-2.0"
] | 2,494 | 2018-12-08T22:43:00.000Z | 2022-03-31T21:16:27.000Z | tests/compute/test_subgraph.py | lfchener/dgl | 77f4287a4118db64c46f4f413a426e1419a09d53 | [
"Apache-2.0"
] | 2,529 | 2018-12-08T22:56:14.000Z | 2022-03-31T13:07:41.000Z | import numpy as np
import networkx as nx
import unittest
import scipy.sparse as ssp
import dgl
import backend as F
from test_utils import parametrize_dtype
D = 5
def generate_graph(grad=False, add_data=True):
g = dgl.DGLGraph().to(F.ctx())
g.add_nodes(10)
# create a graph where 0 is the source and 9 is t... | 41.087102 | 114 | 0.570671 | 3,966 | 24,529 | 3.409228 | 0.052698 | 0.033651 | 0.052363 | 0.074181 | 0.801864 | 0.750758 | 0.731011 | 0.714148 | 0.695067 | 0.689964 | 0 | 0.036658 | 0.228179 | 24,529 | 596 | 115 | 41.15604 | 0.67753 | 0.03396 | 0 | 0.639344 | 1 | 0 | 0.059611 | 0 | 0 | 0 | 0 | 0 | 0.377049 | 1 | 0.036885 | false | 0.002049 | 0.014344 | 0 | 0.055328 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c16c603536ae482c12c4f33cbb43a33380d0aa9 | 7,822 | py | Python | smbprotocol/query_info.py | martinhoefling/smbprotocol | 8a4f08244a53a7a818cccc81866cfa62439c0125 | [
"MIT"
] | null | null | null | smbprotocol/query_info.py | martinhoefling/smbprotocol | 8a4f08244a53a7a818cccc81866cfa62439c0125 | [
"MIT"
] | null | null | null | smbprotocol/query_info.py | martinhoefling/smbprotocol | 8a4f08244a53a7a818cccc81866cfa62439c0125 | [
"MIT"
] | null | null | null | import smbprotocol.open
from smbprotocol.structure import BytesField, DateTimeField, \
FlagField, IntField, Structure
try:
from collections import OrderedDict
except ImportError: # pragma: no cover
from ordereddict import OrderedDict
class FileBothDirectoryInformation(Structure):
"""
[MS-FSCC] 2... | 35.880734 | 71 | 0.541805 | 765 | 7,822 | 5.290196 | 0.118954 | 0.118606 | 0.073882 | 0.108723 | 0.784038 | 0.758834 | 0.758834 | 0.711391 | 0.711391 | 0.711391 | 0 | 0.025766 | 0.315265 | 7,822 | 217 | 72 | 36.046083 | 0.729836 | 0.078497 | 0 | 0.867052 | 0 | 0 | 0.170591 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034682 | false | 0 | 0.028902 | 0 | 0.098266 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c3059aec1988c148d9b81620d49845d43489abf | 72 | py | Python | CodeWars/7 Kyu/Cogs.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Cogs.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Cogs.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def cog_RPM(cogs):
return cogs[0] / cogs[-1] * (-1) ** len(cogs+[1]) | 36 | 53 | 0.541667 | 13 | 72 | 2.923077 | 0.615385 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.180556 | 72 | 2 | 53 | 36 | 0.576271 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7c3ed11ca6b29347ffa78f0b4996275ee16d21bb | 5,314 | py | Python | test_autolens/point/fit_point/test_point_dict.py | Jammy2211/AutoLens | bc132a21d1a52248f08f198474e29f985e365d85 | [
"MIT"
] | null | null | null | test_autolens/point/fit_point/test_point_dict.py | Jammy2211/AutoLens | bc132a21d1a52248f08f198474e29f985e365d85 | [
"MIT"
] | 10 | 2017-12-22T11:39:33.000Z | 2018-01-30T09:13:16.000Z | test_autolens/point/fit_point/test_point_dict.py | Jammy2211/AutoLens | bc132a21d1a52248f08f198474e29f985e365d85 | [
"MIT"
] | null | null | null | import pytest
import autolens as al
def test__fits_dataset__positions_only():
point_source = al.ps.Point(centre=(0.1, 0.1))
galaxy_point_source = al.Galaxy(redshift=1.0, point_0=point_source)
tracer = al.Tracer.from_galaxies(
galaxies=[al.Galaxy(redshift=0.5), galaxy_point_source]
... | 34.960526 | 89 | 0.677644 | 738 | 5,314 | 4.596206 | 0.088076 | 0.038915 | 0.042453 | 0.053066 | 0.892099 | 0.846403 | 0.846403 | 0.839328 | 0.834316 | 0.834316 | 0 | 0.049953 | 0.193828 | 5,314 | 151 | 90 | 35.192053 | 0.74183 | 0 | 0 | 0.648148 | 0 | 0 | 0.037962 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 1 | 0.027778 | false | 0 | 0.018519 | 0 | 0.046296 | 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 |
7c807f849911a331775d7bb8dd2921df09405d00 | 12,555 | py | Python | tests/oauth2/rfc6749/grant_types/test_openid_connect.py | jandd/oauthlib | 67f973ff7f98bb3d892a33eda67ba1dab3bddead | [
"BSD-3-Clause"
] | 1 | 2021-07-09T19:17:47.000Z | 2021-07-09T19:17:47.000Z | tests/oauth2/rfc6749/grant_types/test_openid_connect.py | jandd/oauthlib | 67f973ff7f98bb3d892a33eda67ba1dab3bddead | [
"BSD-3-Clause"
] | null | null | null | tests/oauth2/rfc6749/grant_types/test_openid_connect.py | jandd/oauthlib | 67f973ff7f98bb3d892a33eda67ba1dab3bddead | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from ....unittest import TestCase
import json
import mock
from oauthlib.common import Request
from oauthlib.oauth2.rfc6749.grant_types import OpenIDConnectAuthCode
from oauthlib.oauth2.rfc6749.grant_types import OpenIDConnectImplicit
from... | 44.521277 | 153 | 0.70227 | 1,534 | 12,555 | 5.559322 | 0.097784 | 0.073523 | 0.067777 | 0.03166 | 0.827978 | 0.8125 | 0.803823 | 0.774742 | 0.748241 | 0.734991 | 0 | 0.008941 | 0.189327 | 12,555 | 281 | 154 | 44.679715 | 0.828945 | 0.041975 | 0 | 0.672986 | 0 | 0.028436 | 0.143286 | 0.01891 | 0 | 0 | 0 | 0 | 0.227488 | 1 | 0.075829 | false | 0 | 0.056872 | 0.004739 | 0.184834 | 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 |
7c8837338048e82aa59359e5d8ecbf20f2c0f49b | 90 | py | Python | dtale_desktop/default_sources/dft_excel/get_data.py | dennislwm/dtale-desktop | 1a034d505f6b45c1ece4c18b83af6ae367d16824 | [
"MIT"
] | 154 | 2020-10-27T00:33:51.000Z | 2022-02-19T13:16:36.000Z | dtale_desktop/default_sources/dft_excel/get_data.py | dennislwm/dtale-desktop | 1a034d505f6b45c1ece4c18b83af6ae367d16824 | [
"MIT"
] | 9 | 2020-10-26T23:48:38.000Z | 2021-02-18T04:13:42.000Z | dtale_desktop/default_sources/dft_excel/get_data.py | dennislwm/dtale-desktop | 1a034d505f6b45c1ece4c18b83af6ae367d16824 | [
"MIT"
] | 15 | 2021-01-31T01:11:20.000Z | 2022-02-17T11:41:27.000Z | import pandas as pd
def main(path: str) -> pd.DataFrame:
return pd.read_excel(path)
| 15 | 36 | 0.7 | 15 | 90 | 4.133333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188889 | 90 | 5 | 37 | 18 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
7c9c0c52142778f93098f355c5880d391f934785 | 65 | py | Python | symneqsys/tests/test_neqsys.py | bjodah/symneqsys | 677307d6b94e452262f7ffe944ec2bed6314d34b | [
"BSD-2-Clause"
] | 1 | 2015-01-10T09:00:04.000Z | 2015-01-10T09:00:04.000Z | symneqsys/tests/test_neqsys.py | bjodah/symneqsys | 677307d6b94e452262f7ffe944ec2bed6314d34b | [
"BSD-2-Clause"
] | null | null | null | symneqsys/tests/test_neqsys.py | bjodah/symneqsys | 677307d6b94e452262f7ffe944ec2bed6314d34b | [
"BSD-2-Clause"
] | null | null | null |
def test_NEQSys():
pass
def test_SimpleNEQSys():
pass
| 8.125 | 24 | 0.646154 | 8 | 65 | 5 | 0.625 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261538 | 65 | 7 | 25 | 9.285714 | 0.833333 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7cc4dea1b9300745f995a218e64b21cb9042c46d | 21,725 | py | Python | pybind/slxos/v17s_1_02/interface/management/ip/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17s_1_02/interface/management/ip/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17s_1_02/interface/management/ip/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 67.260062 | 626 | 0.739102 | 2,923 | 21,725 | 5.261375 | 0.065344 | 0.040315 | 0.047337 | 0.043696 | 0.85051 | 0.82203 | 0.811236 | 0.807335 | 0.802523 | 0.785292 | 0 | 0.001326 | 0.132244 | 21,725 | 322 | 627 | 67.468944 | 0.814449 | 0.161059 | 0 | 0.443299 | 0 | 0.030928 | 0.378487 | 0.146294 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108247 | false | 0 | 0.072165 | 0 | 0.298969 | 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 |
7cce7655eb1663eac3a0ddd1fb24b03bb32501f1 | 189 | py | Python | lms_aadi_postgres/Address/address_controllers/address_create.py | hcmuleva/personal-profile | 051b5a2f36b927951691f48abe584beb8bc25440 | [
"MIT"
] | null | null | null | lms_aadi_postgres/Address/address_controllers/address_create.py | hcmuleva/personal-profile | 051b5a2f36b927951691f48abe584beb8bc25440 | [
"MIT"
] | 3 | 2020-07-13T17:46:32.000Z | 2020-07-26T10:30:59.000Z | lms_aadi_postgres/Address/address_controllers/address_create.py | hcmuleva/personal-profile | 051b5a2f36b927951691f48abe584beb8bc25440 | [
"MIT"
] | null | null | null | from Address.address_modules import create_address
to_create = create_address.CreateAddress()
create = to_create.create_address(1, 116, "praksah_nagar", "indore", "indore", "M_P", 452001)
| 37.8 | 93 | 0.78836 | 26 | 189 | 5.423077 | 0.576923 | 0.276596 | 0.198582 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 0.089947 | 189 | 4 | 94 | 47.25 | 0.761628 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 |
7cd08e0561743e89a967955e5a068544bb768239 | 37,885 | py | Python | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/56.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/56.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/56.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3219
passenger_arriving = (
(3, 9, 5, 2, 1, 0, 9, 5, 5, 7, 1, 0), # 0
(5, 5, 5, 8, 2, 0, 5, 8, 3, 4, 3, 0), # 1
(5, 12, 6, 3, 0, 0, 9, 6, 3, 9, 3, 0), # 2
(3, 5, 6, 2, 3, 0, 3, 5, 11, 6, 3, 0), # 3
(6, 9, 9, 3, 4, 0, 3, 9, 3, 3, 1, 0), # 4
(5, 7, 9, 6, 4, 0, 5, 8, 6, 7, ... | 113.089552 | 212 | 0.729075 | 5,147 | 37,885 | 5.36429 | 0.227511 | 0.31293 | 0.247736 | 0.469395 | 0.329265 | 0.327925 | 0.327925 | 0.327925 | 0.327925 | 0.327925 | 0 | 0.819005 | 0.11915 | 37,885 | 334 | 213 | 113.428144 | 0.008361 | 0.031965 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b1eb96c9cca6e7c31ca38bd0d403c3f0eb3c1d3 | 29 | py | Python | web/slas-web/util/type/__init__.py | chyla/slas | c0c222e55571a7f8b2cb0b68b3e4900dbff9a986 | [
"MIT"
] | 1 | 2016-03-03T13:04:57.000Z | 2016-03-03T13:04:57.000Z | web/slas-web/util/type/__init__.py | chyla/slas | c0c222e55571a7f8b2cb0b68b3e4900dbff9a986 | [
"MIT"
] | null | null | null | web/slas-web/util/type/__init__.py | chyla/slas | c0c222e55571a7f8b2cb0b68b3e4900dbff9a986 | [
"MIT"
] | null | null | null | from classification import *
| 14.5 | 28 | 0.827586 | 3 | 29 | 8 | 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 |
863cc4cf0d654acaffd27b302dfe52951e64a721 | 19,918 | py | Python | tests/test_pipelines_table_question_answering.py | Ankur3107/transformers-1 | 68f13efac50cefcbeac25f8b068e44e11d1fabcd | [
"Apache-2.0"
] | null | null | null | tests/test_pipelines_table_question_answering.py | Ankur3107/transformers-1 | 68f13efac50cefcbeac25f8b068e44e11d1fabcd | [
"Apache-2.0"
] | null | null | null | tests/test_pipelines_table_question_answering.py | Ankur3107/transformers-1 | 68f13efac50cefcbeac25f8b068e44e11d1fabcd | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | 46 | 121 | 0.517773 | 1,828 | 19,918 | 5.575492 | 0.126915 | 0.043564 | 0.042386 | 0.051217 | 0.82084 | 0.794741 | 0.78748 | 0.76825 | 0.76825 | 0.760498 | 0 | 0.050516 | 0.328145 | 19,918 | 432 | 122 | 46.106481 | 0.711104 | 0.037855 | 0 | 0.667513 | 0 | 0 | 0.350551 | 0.010446 | 0 | 0 | 0 | 0 | 0.093909 | 1 | 0.01269 | false | 0 | 0.010152 | 0 | 0.027919 | 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 |
864b91cbe62fc87e95bfa23d0be762c5a2fccc0c | 5,761 | py | Python | tests/test_train.py | anutkk/kraken | 6ba69cccd5506a32f1383f96c00eb2f864558228 | [
"Apache-2.0"
] | 394 | 2015-04-13T18:27:52.000Z | 2022-03-30T13:07:22.000Z | tests/test_train.py | anutkk/kraken | 6ba69cccd5506a32f1383f96c00eb2f864558228 | [
"Apache-2.0"
] | 306 | 2015-05-20T06:34:52.000Z | 2022-03-31T09:01:13.000Z | tests/test_train.py | anutkk/kraken | 6ba69cccd5506a32f1383f96c00eb2f864558228 | [
"Apache-2.0"
] | 96 | 2015-12-15T13:02:24.000Z | 2022-02-22T03:07:42.000Z | # -*- coding: utf-8 -*-
import unittest
import json
import os
import kraken
from os import path
from kraken.lib import xml
from kraken.lib.train import KrakenTrainer
thisfile = os.path.abspath(os.path.dirname(__file__))
resources = os.path.abspath(os.path.join(thisfile, 'resources'))
class TestKrakenTrainer(unitt... | 52.372727 | 173 | 0.567957 | 587 | 5,761 | 5.359455 | 0.16184 | 0.091545 | 0.080102 | 0.076287 | 0.824857 | 0.769231 | 0.72918 | 0.713605 | 0.713605 | 0.713605 | 0 | 0.032325 | 0.334143 | 5,761 | 109 | 174 | 52.853211 | 0.7878 | 0.044957 | 0 | 0.674699 | 0 | 0.024096 | 0.057781 | 0.004431 | 0 | 0 | 0 | 0 | 0.216867 | 1 | 0.096386 | false | 0 | 0.084337 | 0 | 0.192771 | 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 |
869e121f4dffc68c5b340dddeb81243554e00ad9 | 173 | py | Python | mayan/apps/lock_manager/conf/settings.py | Dave360-crypto/mayan-edms | 9cd37537461347f79ff0429e4b8b16fd2446798d | [
"Apache-2.0"
] | 3 | 2020-02-03T11:58:51.000Z | 2020-10-20T03:52:21.000Z | mayan/apps/lock_manager/conf/settings.py | Dave360-crypto/mayan-edms | 9cd37537461347f79ff0429e4b8b16fd2446798d | [
"Apache-2.0"
] | null | null | null | mayan/apps/lock_manager/conf/settings.py | Dave360-crypto/mayan-edms | 9cd37537461347f79ff0429e4b8b16fd2446798d | [
"Apache-2.0"
] | 2 | 2020-10-24T11:10:06.000Z | 2021-03-03T20:05:38.000Z | from django.conf import settings
DEFAULT_LOCK_TIMEOUT_VALUE = 30
DEFAULT_LOCK_TIMEOUT = getattr(settings, 'LOCK_MANAGER_DEFAULT_LOCK_TIMEOUT', DEFAULT_LOCK_TIMEOUT_VALUE)
| 28.833333 | 105 | 0.867052 | 24 | 173 | 5.75 | 0.5 | 0.318841 | 0.521739 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012579 | 0.080925 | 173 | 5 | 106 | 34.6 | 0.855346 | 0 | 0 | 0 | 0 | 0 | 0.190751 | 0.190751 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 |
86cac9382864f1cbb7e5bd13e0bea3c67137a83d | 10,780 | py | Python | Main.py | rschwa6308/Reddit-API-Wrapper | 2278e9fc4b5edbd4ac9bb0fd4f3483c381ca8e68 | [
"MIT"
] | 2 | 2020-03-21T20:16:59.000Z | 2020-03-31T00:00:29.000Z | Main.py | rschwa6308/Reddit-API-Wrapper | 2278e9fc4b5edbd4ac9bb0fd4f3483c381ca8e68 | [
"MIT"
] | null | null | null | Main.py | rschwa6308/Reddit-API-Wrapper | 2278e9fc4b5edbd4ac9bb0fd4f3483c381ca8e68 | [
"MIT"
] | null | null | null | # --- Wrapper functions for accessing the pushshift.io Reddit API --- #
from datetime import datetime, timedelta
import concurrent.futures
from RedditAPIWrapper.Utilities import fetch_data
# API-related Constants
NUM_RESULTS_PER_CALL = 1000 # limit set by API on max number of results returned per call
NUM_RESULT... | 63.786982 | 357 | 0.719388 | 1,468 | 10,780 | 5.083787 | 0.104905 | 0.062709 | 0.034839 | 0.030953 | 0.903122 | 0.889991 | 0.868284 | 0.861048 | 0.846844 | 0.846844 | 0 | 0.00477 | 0.163822 | 10,780 | 168 | 358 | 64.166667 | 0.823164 | 0.177644 | 0 | 0.598131 | 0 | 0 | 0.155553 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074766 | false | 0 | 0.028037 | 0 | 0.214953 | 0.242991 | 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 |
86cd1299e1c52e7d1831d9985726f7005b819a59 | 8,447 | py | Python | plugins/proofpoint_tap/unit_test/test_get_permitted_clicks.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/proofpoint_tap/unit_test/test_get_permitted_clicks.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/proofpoint_tap/unit_test/test_get_permitted_clicks.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | import sys
import os
from unittest.mock import patch
from komand_proofpoint_tap.actions.get_permitted_clicks import GetPermittedClicks
from komand_proofpoint_tap.actions.get_permitted_clicks.schema import Input
from unit_test.test_util import Util
from unittest import TestCase
sys.path.append(os.path.abspath("../"))
... | 43.541237 | 93 | 0.469634 | 675 | 8,447 | 5.774815 | 0.164444 | 0.06157 | 0.053874 | 0.03335 | 0.908928 | 0.904053 | 0.895331 | 0.895331 | 0.86942 | 0.858389 | 0 | 0.153073 | 0.399077 | 8,447 | 193 | 94 | 43.766839 | 0.614854 | 0 | 0 | 0.668478 | 0 | 0 | 0.343791 | 0.099444 | 0 | 0 | 0 | 0 | 0.027174 | 1 | 0.032609 | false | 0 | 0.038043 | 0 | 0.076087 | 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 |
813e22400a6b8fb9b5c98a297b0c7753a9a34e31 | 10,281 | py | Python | languages/python/cp857_7x7.py | ercanersoy/font-library | 7d71b41bddea9d87c230afbaec1a92412ebd7ad9 | [
"CC0-1.0"
] | 1 | 2019-03-30T13:34:24.000Z | 2019-03-30T13:34:24.000Z | languages/python/cp857_7x7.py | ercanersoy/font-library | 7d71b41bddea9d87c230afbaec1a92412ebd7ad9 | [
"CC0-1.0"
] | null | null | null | languages/python/cp857_7x7.py | ercanersoy/font-library | 7d71b41bddea9d87c230afbaec1a92412ebd7ad9 | [
"CC0-1.0"
] | null | null | null | # cp857_7x7.py - CP857 7x7 font file for Python
#
# Copyright (c) 2019-2022 Ercan Ersoy
# This file is written by Ercan Ersoy.
# This file is licensed under CC0-1.0 Universal License.
cp857_7x7 = [
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x5F, 0x00, 0x00, 0x00,
0x00, 0x00, 0x03, 0x00, 0x03... | 44.124464 | 56 | 0.624258 | 1,602 | 10,281 | 4.004994 | 0.072409 | 0.372818 | 0.332918 | 0.236908 | 0.440773 | 0.241272 | 0.072319 | 0.050499 | 0.045511 | 0.034289 | 0 | 0.566413 | 0.221574 | 10,281 | 232 | 57 | 44.314655 | 0.235287 | 0.016827 | 0 | 0.039823 | 0 | 0 | 0 | 0 | 0 | 0 | 0.620867 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 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 |
d4c18a5dba0605839bcf60e10654ec44ea80e6d4 | 21,969 | py | Python | pirates/piratesbase/PDialogStringsEnglish.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/piratesbase/PDialogStringsEnglish.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/piratesbase/PDialogStringsEnglish.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pirates.piratesbase import EmoteGlobals as EG
DialogStringDict = {'rc.1visitJack.after': {0: {'dialog': "Ahh, I was just talking about you. Well not you in particular but someone much like you. I need help, mate. If ye pirate enough, eh?\x07Here's the skinny... seems that Jolly Roger has created a situation to dra... | 10,984.5 | 21,918 | 0.720242 | 3,913 | 21,969 | 4.016867 | 0.214925 | 0.045871 | 0.065339 | 0.01336 | 0.216694 | 0.170887 | 0.146584 | 0.140603 | 0.137422 | 0.119354 | 0 | 0.020889 | 0.141427 | 21,969 | 2 | 21,918 | 10,984.5 | 0.812427 | 0 | 0 | 0 | 0 | 31.5 | 0.814474 | 0.051661 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d4dea0b1bf2be1f4d21ad5c117b348189bbc6f24 | 41,794 | py | Python | l8/l88.py | dominique120/12-steps-navier-stokes | 3e195bf7f7895f83f5f2248ef48dc13b76e8b5de | [
"MIT"
] | null | null | null | l8/l88.py | dominique120/12-steps-navier-stokes | 3e195bf7f7895f83f5f2248ef48dc13b76e8b5de | [
"MIT"
] | null | null | null | l8/l88.py | dominique120/12-steps-navier-stokes | 3e195bf7f7895f83f5f2248ef48dc13b76e8b5de | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import matplotlib
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
import numpy as np
import matplotlib.cm as cm
matplotlib.rcParams["font.family"] = "Serif"
matplotlib.rcParams["font.size"] = 10
matplotlib.rcParams["axes.labelsize"] = 10
matplotlib.rcParams["xtick.labelsi... | 1,306.0625 | 39,170 | 0.863641 | 5,490 | 41,794 | 6.573953 | 0.172495 | 0.139813 | 0.425591 | 0.423014 | 0.537863 | 0.524563 | 0.524563 | 0.523455 | 0.521709 | 0.521709 | 0 | 0.803423 | 0.001914 | 41,794 | 31 | 39,171 | 1,348.193548 | 0.061778 | 0.000479 | 0 | 0 | 0 | 0 | 0.002777 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.217391 | 0 | 0.217391 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d4df6f472c408ce0b7e54d66afe7a17d24dd08db | 28,933 | py | Python | tests/selenium/alarms_test/Alarms_Menu_Select_Columns_test.py | sivaanil/laravel | 14900b071a514379f0161c5fd7bea05300dee083 | [
"MIT"
] | 1 | 2021-11-16T08:07:07.000Z | 2021-11-16T08:07:07.000Z | tests/selenium/alarms_test/Alarms_Menu_Select_Columns_test.py | sivaanil/laravel | 14900b071a514379f0161c5fd7bea05300dee083 | [
"MIT"
] | null | null | null | tests/selenium/alarms_test/Alarms_Menu_Select_Columns_test.py | sivaanil/laravel | 14900b071a514379f0161c5fd7bea05300dee083 | [
"MIT"
] | null | null | null | __author__ = 'andrew.bascom'
# -*- coding: utf-8 -*-
import sys
sys.path.append("..")
import c2_test_case
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expecte... | 55.855212 | 146 | 0.691702 | 3,718 | 28,933 | 5.145777 | 0.091178 | 0.045526 | 0.065545 | 0.021169 | 0.812774 | 0.780002 | 0.74885 | 0.734842 | 0.727106 | 0.706199 | 0 | 0.006243 | 0.241558 | 28,933 | 518 | 147 | 55.855212 | 0.865612 | 0.271178 | 0 | 0.694079 | 0 | 0 | 0.106942 | 0.051159 | 0 | 0 | 0 | 0 | 0.032895 | 1 | 0.046053 | false | 0 | 0.029605 | 0 | 0.082237 | 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 |
d4fc85e2028958df745b0219d21e7910a478b399 | 87 | py | Python | backend/app/user/__init__.py | vpaliy/react-chat | 883934b4983136380e4569e7f65722bf7e9fd628 | [
"MIT"
] | 1 | 2018-12-03T05:53:48.000Z | 2018-12-03T05:53:48.000Z | backend/app/user/__init__.py | vpaliy/react-chat | 883934b4983136380e4569e7f65722bf7e9fd628 | [
"MIT"
] | null | null | null | backend/app/user/__init__.py | vpaliy/react-chat | 883934b4983136380e4569e7f65722bf7e9fd628 | [
"MIT"
] | null | null | null | from flask import Blueprint
users = Blueprint('users', __name__)
from views import *
| 14.5 | 36 | 0.758621 | 11 | 87 | 5.636364 | 0.636364 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16092 | 87 | 5 | 37 | 17.4 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
0783501b68552f21e6d3d7dcfd427289f965c160 | 7,283 | py | Python | tests/test_integration/test_data_interpretation.py | andreasCastor/castoredc_api | ef0bd4eb8ac2efaa7e98e8462de7e5a7aa65a7f0 | [
"MIT"
] | null | null | null | tests/test_integration/test_data_interpretation.py | andreasCastor/castoredc_api | ef0bd4eb8ac2efaa7e98e8462de7e5a7aa65a7f0 | [
"MIT"
] | null | null | null | tests/test_integration/test_data_interpretation.py | andreasCastor/castoredc_api | ef0bd4eb8ac2efaa7e98e8462de7e5a7aa65a7f0 | [
"MIT"
] | null | null | null | from datetime import time
import pytest
class TestDataInterpretation:
"""Tests the transformation of string values to the proper data format for analysis."""
@pytest.fixture(scope="class")
def integration_study_optiongroups(self, integration_study):
integration_study.map_data()
return in... | 38.739362 | 91 | 0.658794 | 849 | 7,283 | 5.415783 | 0.189635 | 0.132231 | 0.213136 | 0.22923 | 0.772292 | 0.72401 | 0.72401 | 0.72401 | 0.713571 | 0.57612 | 0 | 0.092503 | 0.263765 | 7,283 | 187 | 92 | 38.946524 | 0.765013 | 0.194837 | 0 | 0.298246 | 0 | 0 | 0.186639 | 0.109676 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.157895 | false | 0 | 0.017544 | 0 | 0.192982 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
079860315a88fadfef698be5edfb3d0fe0fdd709 | 163 | py | Python | providers/a4kScrapers/en/__init__.py | newt-sc/btScraper | aa2e0bd24e77b8498739937059847d1f9f0e7742 | [
"MIT"
] | 91 | 2019-03-09T07:22:17.000Z | 2022-03-24T13:50:04.000Z | providers/a4kScrapers/en/__init__.py | newt-sc/btScraper | aa2e0bd24e77b8498739937059847d1f9f0e7742 | [
"MIT"
] | 22 | 2020-03-29T03:37:01.000Z | 2020-10-06T05:31:35.000Z | providers/a4kScrapers/en/__init__.py | newt-sc/btScraper | aa2e0bd24e77b8498739937059847d1f9f0e7742 | [
"MIT"
] | 29 | 2019-04-10T22:22:17.000Z | 2022-03-18T20:39:46.000Z | # -*- coding: utf-8 -*-
from . import torrent
from . import hosters
def get_torrent():
return torrent.__all__
def get_hosters():
return hosters.__all__
| 14.818182 | 26 | 0.687117 | 21 | 163 | 4.857143 | 0.52381 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.196319 | 163 | 10 | 27 | 16.3 | 0.770992 | 0.128834 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
07e413c1554579e59e6fe716ed8e96743193fd2e | 112 | py | Python | models/locopingresponse.py | jujinesy/Empier_PythonKakaoBot | 80d2951955002b1a0b5d77b5c2830bc8def63ea3 | [
"MIT"
] | 3 | 2017-03-30T15:20:18.000Z | 2018-01-04T12:46:05.000Z | models/locopingresponse.py | skdltmxn/kakaobot | e738b4a8d994fc4125bbd471bd48378a11a8d371 | [
"MIT"
] | 1 | 2020-08-06T08:13:22.000Z | 2020-08-06T08:13:22.000Z | models/locopingresponse.py | skdltmxn/kakaobot | e738b4a8d994fc4125bbd471bd48378a11a8d371 | [
"MIT"
] | 5 | 2020-08-06T08:18:02.000Z | 2021-02-28T03:59:45.000Z | # -*- coding: utf-8 -*-
from locoresponse import LocoResponse
class LocoPingResponse(LocoResponse):
pass
| 14 | 37 | 0.723214 | 11 | 112 | 7.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.169643 | 112 | 7 | 38 | 16 | 0.860215 | 0.1875 | 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 |
ed208bc68464990c1a7660c45b7042440d455a3b | 175 | py | Python | is_wordpress/cli.py | bahadorfarahani/is_wordpress | b168bb248f1ec17705b5edde9e3a377667c94834 | [
"MIT"
] | 18 | 2019-02-16T11:23:50.000Z | 2022-03-03T21:36:00.000Z | is_wordpress/cli.py | bahadorfarahani/is_wordpress | b168bb248f1ec17705b5edde9e3a377667c94834 | [
"MIT"
] | 5 | 2019-02-16T09:35:27.000Z | 2019-10-26T08:50:09.000Z | is_wordpress/cli.py | bahadorfarahani/is_wordpress | b168bb248f1ec17705b5edde9e3a377667c94834 | [
"MIT"
] | 5 | 2019-02-18T12:43:39.000Z | 2021-07-08T21:52:23.000Z | # Copyright (c) 2019 amirhossein
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
from . import run
def main():
print(run.run()) | 25 | 50 | 0.714286 | 25 | 175 | 5 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027211 | 0.16 | 175 | 7 | 51 | 25 | 0.823129 | 0.662857 | 0 | 0 | 0 | 0 | 0 | 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 |
ed3ee7601d0b443aed0627a7b401a33c1f0c002f | 39 | py | Python | mobiletrans/settings/__init__.py | JoeJasinski/WindyTransit | b883c7eebe618923ecc7b1914a696543d8864215 | [
"MIT"
] | 1 | 2015-04-28T14:48:27.000Z | 2015-04-28T14:48:27.000Z | mobiletrans/settings/__init__.py | JoeJasinski/WindyTransit | b883c7eebe618923ecc7b1914a696543d8864215 | [
"MIT"
] | null | null | null | mobiletrans/settings/__init__.py | JoeJasinski/WindyTransit | b883c7eebe618923ecc7b1914a696543d8864215 | [
"MIT"
] | null | null | null | from mobiletrans.settings.main import * | 39 | 39 | 0.846154 | 5 | 39 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.916667 | 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 |
ed7680962b9efd80cc2889a0da70caec02d4da27 | 33 | py | Python | keywordextraction/__init__.py | aassumpcao/keywordextraction | 3eee89194a628e9e4ae11d3f4fb6383c51aaa322 | [
"MIT"
] | 1 | 2020-12-26T03:02:01.000Z | 2020-12-26T03:02:01.000Z | keywordextraction/__init__.py | aassumpcao/keywordextraction | 3eee89194a628e9e4ae11d3f4fb6383c51aaa322 | [
"MIT"
] | null | null | null | keywordextraction/__init__.py | aassumpcao/keywordextraction | 3eee89194a628e9e4ae11d3f4fb6383c51aaa322 | [
"MIT"
] | null | null | null | from .keywordextraction import *
| 16.5 | 32 | 0.818182 | 3 | 33 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed7882b6d52bfe7324ef2ff3188c8813b6ad262c | 117,686 | py | Python | heat/core/tests/test_manipulations.py | sebimarkgraf/heat | 9638e384f52c9bade75590963b9d57e080692da4 | [
"MIT"
] | null | null | null | heat/core/tests/test_manipulations.py | sebimarkgraf/heat | 9638e384f52c9bade75590963b9d57e080692da4 | [
"MIT"
] | null | null | null | heat/core/tests/test_manipulations.py | sebimarkgraf/heat | 9638e384f52c9bade75590963b9d57e080692da4 | [
"MIT"
] | null | null | null | import numpy as np
import torch
import heat as ht
from .test_suites.basic_test import TestCase
class TestManipulations(TestCase):
def test_column_stack(self):
# test local column_stack, 2-D arrays
a = np.arange(10, dtype=np.float32).reshape(5, 2)
b = np.arange(15, dtype=np.float32).reshap... | 38.147812 | 111 | 0.552071 | 15,629 | 117,686 | 4.06072 | 0.020603 | 0.07965 | 0.032049 | 0.027732 | 0.922477 | 0.892035 | 0.862081 | 0.838336 | 0.812322 | 0.789112 | 0 | 0.043001 | 0.283483 | 117,686 | 3,084 | 112 | 38.160182 | 0.709632 | 0.061715 | 0 | 0.680363 | 0 | 0 | 0.005457 | 0 | 0 | 0 | 0 | 0 | 0.367647 | 1 | 0.011678 | false | 0 | 0.00173 | 0 | 0.013841 | 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 |
9c17d6a3a2e3a46e1a5743ad509e1aa0377ab737 | 17,095 | py | Python | emeval/viz/eval_view.py | hariv/e-mission-eval-public-data | fd8ad98e0ef3d88292a0e7cd3c58b6a46cb20b85 | [
"BSD-3-Clause"
] | null | null | null | emeval/viz/eval_view.py | hariv/e-mission-eval-public-data | fd8ad98e0ef3d88292a0e7cd3c58b6a46cb20b85 | [
"BSD-3-Clause"
] | null | null | null | emeval/viz/eval_view.py | hariv/e-mission-eval-public-data | fd8ad98e0ef3d88292a0e7cd3c58b6a46cb20b85 | [
"BSD-3-Clause"
] | null | null | null | import pandas as pd
import re
import geojson as gj
import folium
import folium
import folium.features as fof
import folium.plugins as fpl
import folium.utilities as ful
import branca.colormap as bcm
import matplotlib.cm as mcm
import matplotlib.colors as mco
def get_row_count(n_maps, cols):
rows = int(n_maps / c... | 57.558923 | 187 | 0.569582 | 2,166 | 17,095 | 4.182825 | 0.106648 | 0.025166 | 0.030464 | 0.02936 | 0.845475 | 0.816336 | 0.795475 | 0.784437 | 0.768212 | 0.740066 | 0 | 0.008677 | 0.325826 | 17,095 | 296 | 188 | 57.753378 | 0.77744 | 0.042878 | 0 | 0.699248 | 0 | 0.037594 | 0.145243 | 0.00153 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026316 | false | 0 | 0.041353 | 0 | 0.086466 | 0.180451 | 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 |
92cb3d8bda1d522739ee3e323e8f796d3e754bb9 | 292 | py | Python | Sea/adapter/subsystems/__init__.py | FRidh/Sea | b474e93a449570a9ba3b915c4d80f814feee2545 | [
"BSD-3-Clause"
] | 2 | 2015-07-02T13:34:09.000Z | 2015-09-28T09:07:52.000Z | Sea/adapter/subsystems/__init__.py | FRidh/Sea | b474e93a449570a9ba3b915c4d80f814feee2545 | [
"BSD-3-Clause"
] | null | null | null | Sea/adapter/subsystems/__init__.py | FRidh/Sea | b474e93a449570a9ba3b915c4d80f814feee2545 | [
"BSD-3-Clause"
] | 1 | 2022-01-22T03:01:54.000Z | 2022-01-22T03:01:54.000Z |
from SubsystemCavityLong import SubsystemCavityLong
from SubsystemStructuralLong import SubsystemStructuralLong
from SubsystemStructuralBend import SubsystemStructuralBend
from SubsystemStructuralShear import SubsystemStructuralShear
from ViewProviderSubsystem import ViewProviderSubsystem | 36.5 | 61 | 0.924658 | 20 | 292 | 13.5 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075342 | 292 | 8 | 62 | 36.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
92fa07d2c399bf5519827d3d3aec127e8bd2843f | 7,203 | py | Python | tests/test_ge.py | clintonjwang/dicom2nifti | 6f7533cccb587d63423c6f77824a60776c8d5b5d | [
"MIT"
] | null | null | null | tests/test_ge.py | clintonjwang/dicom2nifti | 6f7533cccb587d63423c6f77824a60776c8d5b5d | [
"MIT"
] | null | null | null | tests/test_ge.py | clintonjwang/dicom2nifti | 6f7533cccb587d63423c6f77824a60776c8d5b5d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
dicom2nifti
@author: abrys
"""
import os
import shutil
import tempfile
import unittest
import nibabel
import numpy
import tests.test_data as test_data
import dicom2nifti.convert_ge as convert_ge
from dicom2nifti.common import read_dicom_directory
from tests.test_tools import assert_comp... | 52.576642 | 116 | 0.645287 | 837 | 7,203 | 5.151732 | 0.100358 | 0.061224 | 0.062616 | 0.102041 | 0.849026 | 0.837662 | 0.825139 | 0.798701 | 0.746753 | 0.733998 | 0 | 0.007907 | 0.26253 | 7,203 | 136 | 117 | 52.963235 | 0.80384 | 0.006942 | 0 | 0.5625 | 0 | 0 | 0.036669 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.0625 | false | 0 | 0.089286 | 0 | 0.160714 | 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 |
92fbe5b9f791cadd021daa9e2978df5223f9a263 | 37,939 | py | Python | tests/local/test_playback.py | malonezi/mopidy | d0e4e8e35dfdbe531caeb302eeb3b8a32c76d55d | [
"Apache-2.0"
] | null | null | null | tests/local/test_playback.py | malonezi/mopidy | d0e4e8e35dfdbe531caeb302eeb3b8a32c76d55d | [
"Apache-2.0"
] | null | null | null | tests/local/test_playback.py | malonezi/mopidy | d0e4e8e35dfdbe531caeb302eeb3b8a32c76d55d | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import, unicode_literals
import time
import unittest
import mock
import pykka
from mopidy import core
from mopidy.core import PlaybackState
from mopidy.internal import deprecation
from mopidy.local import actor
from mopidy.models import TlTrack, Track
from tests import dummy_audio, ... | 35.825307 | 79 | 0.685759 | 4,931 | 37,939 | 4.961063 | 0.057189 | 0.108409 | 0.065405 | 0.096145 | 0.857703 | 0.823284 | 0.792789 | 0.754323 | 0.728856 | 0.683726 | 0 | 0.006981 | 0.207096 | 37,939 | 1,058 | 80 | 35.859168 | 0.80623 | 0.041224 | 0 | 0.664242 | 0 | 0 | 0.015881 | 0.005532 | 0 | 0 | 0 | 0.000945 | 0.242424 | 1 | 0.173333 | false | 0 | 0.014545 | 0 | 0.192727 | 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 |
13178b18febbfd96166026ce94a4369010450ed8 | 4,296 | py | Python | donation.py | djbooth007/pyblock | 32d6caa9d8f2fd6d7b948067ee543ee289bb785a | [
"MIT"
] | null | null | null | donation.py | djbooth007/pyblock | 32d6caa9d8f2fd6d7b948067ee543ee289bb785a | [
"MIT"
] | null | null | null | donation.py | djbooth007/pyblock | 32d6caa9d8f2fd6d7b948067ee543ee289bb785a | [
"MIT"
] | null | null | null | #Developer: Curly60e
#PyBLOCK its a clock of the Bitcoin blockchain.
#Version: 0.6.0
import requests
import qrcode
import pickle
from nodeconnection import *
#Dev PayNym
def donationPN():
qr = qrcode.QRCode(
version=1,
error_correction=qrcode.constants.ERROR_CORRECT_L,
box_size=10,
border=4,
)... | 28.832215 | 128 | 0.609404 | 526 | 4,296 | 4.874525 | 0.237643 | 0.037442 | 0.032761 | 0.049142 | 0.797192 | 0.797192 | 0.797192 | 0.797192 | 0.797192 | 0.797192 | 0 | 0.064417 | 0.241155 | 4,296 | 148 | 129 | 29.027027 | 0.722086 | 0.056331 | 0 | 0.820896 | 0 | 0 | 0.215434 | 0.049468 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044776 | false | 0 | 0.029851 | 0 | 0.074627 | 0.208955 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1344f017a826b28eaa14a8d93b249305d87af4f3 | 70,588 | py | Python | src/tests/unit/platform/test_platform_process.py | fslds/carbon-black-cloud-sdk-python | 248a3c63d6b36d6fcdbcb3f51fb7751f062ed372 | [
"MIT"
] | 24 | 2020-10-16T22:07:38.000Z | 2022-03-24T14:58:03.000Z | src/tests/unit/platform/test_platform_process.py | fslds/carbon-black-cloud-sdk-python | 248a3c63d6b36d6fcdbcb3f51fb7751f062ed372 | [
"MIT"
] | 63 | 2020-10-26T18:26:15.000Z | 2022-03-31T17:31:02.000Z | src/tests/unit/platform/test_platform_process.py | fslds/carbon-black-cloud-sdk-python | 248a3c63d6b36d6fcdbcb3f51fb7751f062ed372 | [
"MIT"
] | 10 | 2020-11-09T11:54:23.000Z | 2022-03-24T20:44:00.000Z | """Testing Process and Tree objects of cbc_sdk.platform"""
import pytest
import logging
from cbc_sdk.platform import Process, ProcessFacet, Event, AsyncProcessQuery, SummaryQuery
from cbc_sdk.base import FacetQuery, Query
from cbc_sdk.rest_api import CBCloudAPI
from cbc_sdk.errors import ApiError, TimeoutError
from te... | 52.954239 | 142 | 0.626863 | 7,769 | 70,588 | 5.417428 | 0.050972 | 0.048707 | 0.041247 | 0.06187 | 0.863619 | 0.829833 | 0.812108 | 0.793338 | 0.778132 | 0.759813 | 0 | 0.093847 | 0.270882 | 70,588 | 1,332 | 143 | 52.993994 | 0.72392 | 0.107072 | 0 | 0.663107 | 0 | 0.008738 | 0.304612 | 0.23294 | 0 | 0 | 0 | 0 | 0.08932 | 1 | 0.040777 | false | 0 | 0.007767 | 0 | 0.050485 | 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 |
134de6bde7080832a393f4fb6218a8284e8d0d3e | 3,067 | py | Python | gwlfe/BMPs/AgAnimal/NFEN.py | mudkipmaster/gwlf-e | 9e058445537dd32d1916f76c4b73ca64261771cd | [
"Apache-2.0"
] | null | null | null | gwlfe/BMPs/AgAnimal/NFEN.py | mudkipmaster/gwlf-e | 9e058445537dd32d1916f76c4b73ca64261771cd | [
"Apache-2.0"
] | 6 | 2018-07-24T22:46:28.000Z | 2018-07-29T19:13:09.000Z | gwlfe/BMPs/AgAnimal/NFEN.py | mudkipmaster/gwlf-e | 9e058445537dd32d1916f76c4b73ca64261771cd | [
"Apache-2.0"
] | 1 | 2018-07-24T18:22:01.000Z | 2018-07-24T18:22:01.000Z | from numpy import zeros
from gwlfe.Input.LandUse.Ag.AGSTRM import AGSTRM
from gwlfe.Input.LandUse.Ag.AGSTRM import AGSTRM_f
from gwlfe.Output.Loading.StreamBankN import StreamBankN
from gwlfe.Output.Loading.StreamBankN import StreamBankN_f
def NFEN(NYrs, DaysMonth, Temp, InitSnow_0, Prec, NRur, NUrb, Area,
... | 55.763636 | 102 | 0.616563 | 314 | 3,067 | 5.89172 | 0.232484 | 0.019459 | 0.036757 | 0.054054 | 0.831351 | 0.831351 | 0.831351 | 0.777297 | 0.732973 | 0.732973 | 0 | 0.035897 | 0.30062 | 3,067 | 54 | 103 | 56.796296 | 0.826573 | 0 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.104167 | 0 | 0.208333 | 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 |
13769dfac3c8955928cdde99ca6bd0164aa4d845 | 147,853 | py | Python | test/test_imgaug.py | dynamicguy/imgaug | f58c06323eb04416c76de1f18952ca5875caf883 | [
"MIT"
] | 4 | 2018-11-24T15:31:36.000Z | 2020-06-23T02:52:45.000Z | test/test_imgaug.py | LU-K-Brant/imgaug | f58c06323eb04416c76de1f18952ca5875caf883 | [
"MIT"
] | null | null | null | test/test_imgaug.py | LU-K-Brant/imgaug | f58c06323eb04416c76de1f18952ca5875caf883 | [
"MIT"
] | null | null | null | from __future__ import print_function, division, absolute_import
import time
import matplotlib
matplotlib.use('Agg') # fix execution of tests involving matplotlib on travis
import numpy as np
import six.moves as sm
import cv2
import shapely
import shapely.geometry
import imgaug as ia
from imgaug.testutils import re... | 36.390106 | 120 | 0.589247 | 24,032 | 147,853 | 3.479569 | 0.025424 | 0.021358 | 0.015391 | 0.012246 | 0.860346 | 0.822078 | 0.786932 | 0.754404 | 0.712142 | 0.688368 | 0 | 0.099771 | 0.242924 | 147,853 | 4,062 | 121 | 36.399065 | 0.647272 | 0.042028 | 0 | 0.610992 | 0 | 0.00307 | 0.015333 | 0.001574 | 0 | 0 | 0 | 0.000246 | 0.360147 | 1 | 0.026405 | false | 0.003684 | 0.00307 | 0 | 0.032238 | 0.000614 | 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 |
137f1cb43d13ca6fb6b824ab3e8a5e06426b65cc | 3,798 | py | Python | hw2/hw2.py | Cate-Lukner/csc321 | 77887ed689fced266c2cfd443776d9b0f4e31e64 | [
"MIT"
] | null | null | null | hw2/hw2.py | Cate-Lukner/csc321 | 77887ed689fced266c2cfd443776d9b0f4e31e64 | [
"MIT"
] | null | null | null | hw2/hw2.py | Cate-Lukner/csc321 | 77887ed689fced266c2cfd443776d9b0f4e31e64 | [
"MIT"
] | null | null | null | import netifaces as ni
import ipaddress
def get_interfaces():
"""Return a list of all the interfaces on this host
Args: None
Returns: (list) List of interfaces for this host
"""
return ni.interfaces()
def get_mac(interface: str):
"""For the given interface string, return the MAC address as a... | 30.142857 | 72 | 0.623486 | 511 | 3,798 | 4.563601 | 0.166341 | 0.03259 | 0.077187 | 0.092624 | 0.783019 | 0.783019 | 0.783019 | 0.783019 | 0.758148 | 0.745712 | 0 | 0.051826 | 0.243023 | 3,798 | 125 | 73 | 30.384 | 0.759304 | 0.418641 | 0 | 0.734694 | 0 | 0 | 0.035485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102041 | false | 0 | 0.040816 | 0 | 0.367347 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1388aeb3c3e0a3a93f17212210d12abf2b2151fc | 12,739 | py | Python | colour/biochemistry/tests/test_michaelis_menten.py | soma2000-lang/colour | bb7ee23ac65e09613af78bd18dd98dffb1a2904a | [
"BSD-3-Clause"
] | 1 | 2022-02-12T06:28:15.000Z | 2022-02-12T06:28:15.000Z | colour/biochemistry/tests/test_michaelis_menten.py | soma2000-lang/colour | bb7ee23ac65e09613af78bd18dd98dffb1a2904a | [
"BSD-3-Clause"
] | null | null | null | colour/biochemistry/tests/test_michaelis_menten.py | soma2000-lang/colour | bb7ee23ac65e09613af78bd18dd98dffb1a2904a | [
"BSD-3-Clause"
] | null | null | null | """
Defines the unit tests for the :mod:`colour.biochemistry.michaelis_menten`
module.
"""
import numpy as np
import unittest
from itertools import permutations
from colour.biochemistry import (
reaction_rate_MichaelisMenten_Michaelis1913,
substrate_concentration_MichaelisMenten_Michaelis1913,
reaction_ra... | 30.549161 | 89 | 0.60044 | 1,421 | 12,739 | 5.092189 | 0.078818 | 0.024323 | 0.126866 | 0.016584 | 0.841625 | 0.839138 | 0.838861 | 0.793947 | 0.788834 | 0.717247 | 0 | 0.094227 | 0.301044 | 12,739 | 416 | 90 | 30.622596 | 0.718441 | 0.163357 | 0 | 0.664336 | 0 | 0 | 0.037174 | 0.021856 | 0 | 0 | 0 | 0 | 0.083916 | 1 | 0.041958 | false | 0 | 0.017483 | 0 | 0.073427 | 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 |
138d66b02aa8492cfa7346770fc9df38b31e0931 | 4,958 | py | Python | hubconf.py | oucxlw/silero-vad | a5650348beaf25e1e5432a6c9065edd73c3a0480 | [
"MIT"
] | null | null | null | hubconf.py | oucxlw/silero-vad | a5650348beaf25e1e5432a6c9065edd73c3a0480 | [
"MIT"
] | null | null | null | hubconf.py | oucxlw/silero-vad | a5650348beaf25e1e5432a6c9065edd73c3a0480 | [
"MIT"
] | null | null | null | dependencies = ['torch', 'torchaudio']
import torch
import json
from utils_vad import (init_jit_model,
get_speech_ts,
get_speech_ts_adaptive,
get_number_ts,
get_language,
get_language_and_group,
... | 32.194805 | 108 | 0.642194 | 648 | 4,958 | 4.609568 | 0.104938 | 0.0693 | 0.102444 | 0.050218 | 0.856043 | 0.856043 | 0.854034 | 0.806495 | 0.806495 | 0.805156 | 0 | 0.010269 | 0.273296 | 4,958 | 154 | 109 | 32.194805 | 0.818762 | 0.219242 | 0 | 0.670213 | 0 | 0 | 0.167159 | 0.162597 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085106 | false | 0 | 0.031915 | 0 | 0.202128 | 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 |
13ce8627b9b91e10f7d349071ec58475cbe176b9 | 16,028 | py | Python | pydvma/file.py | torebutlin/pydvma | 20e941b0834cbf034d5c7002a3862d4ca335ba12 | [
"BSD-3-Clause"
] | 4 | 2019-03-01T14:09:21.000Z | 2021-11-08T10:50:31.000Z | pydvma/file.py | torebutlin/pydvma | 20e941b0834cbf034d5c7002a3862d4ca335ba12 | [
"BSD-3-Clause"
] | null | null | null | pydvma/file.py | torebutlin/pydvma | 20e941b0834cbf034d5c7002a3862d4ca335ba12 | [
"BSD-3-Clause"
] | 1 | 2018-12-07T23:37:34.000Z | 2018-12-07T23:37:34.000Z | # -*- coding: utf-8 -*-
"""
Created on Mon Aug 27 14:32:35 2018
@author: tb267
"""
import os.path
import numpy as np
import scipy.io as io
from pyqtgraph.Qt import QtGui, QtWidgets
def load_data(filename=None):
'''
Loads dataset from filename, or displays a dialog if no argument provided.
'''
if fi... | 32.379798 | 138 | 0.597517 | 2,190 | 16,028 | 4.189954 | 0.105936 | 0.040976 | 0.047951 | 0.026155 | 0.800131 | 0.788143 | 0.780296 | 0.748801 | 0.710767 | 0.67949 | 0 | 0.011928 | 0.293861 | 16,028 | 495 | 139 | 32.379798 | 0.798816 | 0.194223 | 0 | 0.697183 | 0 | 0 | 0.077946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021127 | false | 0 | 0.014085 | 0 | 0.098592 | 0.077465 | 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 |
13cf97c79e54cf106d82020407884282cd062ce7 | 42 | py | Python | templatelite/__init__.py | TonyFlury/templating | 0264277e982b001fbbac0efec8f87fa583181b4d | [
"MIT"
] | 2 | 2018-02-26T02:41:13.000Z | 2020-10-17T16:05:28.000Z | templatelite/__init__.py | TonyFlury/templating | 0264277e982b001fbbac0efec8f87fa583181b4d | [
"MIT"
] | 7 | 2019-04-08T23:24:03.000Z | 2019-09-30T00:49:41.000Z | templatelite/__init__.py | TonyFlury/templating | 0264277e982b001fbbac0efec8f87fa583181b4d | [
"MIT"
] | null | null | null | # coding=utf-8
from .templatelite import * | 21 | 27 | 0.761905 | 6 | 42 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.119048 | 42 | 2 | 27 | 21 | 0.837838 | 0.285714 | 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 |
13e2ca1cf4cc71749f10dfc4c020729655aa16be | 66 | py | Python | modules/__init__.py | hiraqdev/base-fabric | 520cb4581adadf2d34dff796c6b91be8964ec242 | [
"MIT"
] | null | null | null | modules/__init__.py | hiraqdev/base-fabric | 520cb4581adadf2d34dff796c6b91be8964ec242 | [
"MIT"
] | null | null | null | modules/__init__.py | hiraqdev/base-fabric | 520cb4581adadf2d34dff796c6b91be8964ec242 | [
"MIT"
] | null | null | null | from .basic import *
from .ubuntu import *
from .docker import * | 22 | 22 | 0.712121 | 9 | 66 | 5.222222 | 0.555556 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 66 | 3 | 22 | 22 | 0.886792 | 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 |
13f86bdae7b6fb13f2f58ee6fce610e165c3d971 | 116 | py | Python | examples/happy_birthday.py | aj-923/HBD | 6d5323e3ea9809d2926feb0c954812dbbc7db9f6 | [
"MIT"
] | null | null | null | examples/happy_birthday.py | aj-923/HBD | 6d5323e3ea9809d2926feb0c954812dbbc7db9f6 | [
"MIT"
] | null | null | null | examples/happy_birthday.py | aj-923/HBD | 6d5323e3ea9809d2926feb0c954812dbbc7db9f6 | [
"MIT"
] | null | null | null | #writing happy birthday in morse code
print(".... .- .--. .--. -.-- ....... -... .. .-. - .... -.. .- -.-- -.-.--")
| 38.666667 | 77 | 0.310345 | 7 | 116 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181034 | 116 | 2 | 78 | 58 | 0.378947 | 0.310345 | 0 | 0 | 0 | 0 | 0.860759 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b911827a86683b7c50b9c7f6d386ad8bdf239ade | 210 | py | Python | api/src/wt/fields/tags/__init__.py | sedlar/work-tracking | 78917ff8200829eb674142ce43b503d8e892d7eb | [
"BSD-2-Clause"
] | null | null | null | api/src/wt/fields/tags/__init__.py | sedlar/work-tracking | 78917ff8200829eb674142ce43b503d8e892d7eb | [
"BSD-2-Clause"
] | null | null | null | api/src/wt/fields/tags/__init__.py | sedlar/work-tracking | 78917ff8200829eb674142ce43b503d8e892d7eb | [
"BSD-2-Clause"
] | null | null | null | from wt.fields.tags._error import DuplicateTagReceived
from wt.fields.tags._model import TagsModel
from wt.fields.tags._obj import Tag
from wt.fields.tags._serialization import TagsDeserializer, TagsSerializer
| 42 | 74 | 0.857143 | 29 | 210 | 6.068966 | 0.482759 | 0.136364 | 0.272727 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080952 | 210 | 4 | 75 | 52.5 | 0.911917 | 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 | 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 |
b9492a7ad70929f16b595a1a4fa2fc5a396c4738 | 16,518 | py | Python | libcst/_nodes/tests/test_try.py | hauntsaninja/LibCST | c023fa7c4caff3fd2b3946080f9a58b539b10363 | [
"Apache-2.0"
] | 1 | 2021-01-18T09:50:29.000Z | 2021-01-18T09:50:29.000Z | libcst/_nodes/tests/test_try.py | hauntsaninja/LibCST | c023fa7c4caff3fd2b3946080f9a58b539b10363 | [
"Apache-2.0"
] | null | null | null | libcst/_nodes/tests/test_try.py | hauntsaninja/LibCST | c023fa7c4caff3fd2b3946080f9a58b539b10363 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
from typing import Any
import libcst as cst
from libcst import parse_statement
from libcst._nodes.tests.base import CSTNodeTest, DummyIndente... | 43.354331 | 121 | 0.393086 | 1,145 | 16,518 | 5.593013 | 0.133624 | 0.056839 | 0.194878 | 0.224859 | 0.821518 | 0.741568 | 0.708307 | 0.647564 | 0.647564 | 0.599001 | 0 | 0.00627 | 0.488255 | 16,518 | 380 | 122 | 43.468421 | 0.751331 | 0.035416 | 0 | 0.661064 | 0 | 0.002801 | 0.106384 | 0.002828 | 0 | 0 | 0 | 0 | 0.002801 | 1 | 0.005602 | false | 0.229692 | 0.022409 | 0 | 0.030812 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b97a82d8b41a902b79b41223e5e1c49a98cfd905 | 26 | py | Python | pylib/__init__.py | martin2250/udaq_analysis_lib | 0b767f2b2824a6b663ee01ed5e52de8d2e9b8f91 | [
"MIT"
] | null | null | null | pylib/__init__.py | martin2250/udaq_analysis_lib | 0b767f2b2824a6b663ee01ed5e52de8d2e9b8f91 | [
"MIT"
] | null | null | null | pylib/__init__.py | martin2250/udaq_analysis_lib | 0b767f2b2824a6b663ee01ed5e52de8d2e9b8f91 | [
"MIT"
] | 1 | 2021-08-09T12:45:40.000Z | 2021-08-09T12:45:40.000Z | from . import fletcher_16
| 13 | 25 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.153846 | 26 | 1 | 26 | 26 | 0.818182 | 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 |
6a0d12dadc2179f732be709910c41a8a98907692 | 1,332 | py | Python | Chapter 15/changesInMoleculeNumber.py | hsauro/PathwayModelingBook | 7faff28e2b79a6e2dc017be6f8e8270aaf31478b | [
"Apache-2.0"
] | 2 | 2020-04-24T00:43:26.000Z | 2020-10-13T12:27:12.000Z | Chapter 15/changesInMoleculeNumber.py | hsauro/PathwayModelingBook | 7faff28e2b79a6e2dc017be6f8e8270aaf31478b | [
"Apache-2.0"
] | null | null | null | Chapter 15/changesInMoleculeNumber.py | hsauro/PathwayModelingBook | 7faff28e2b79a6e2dc017be6f8e8270aaf31478b | [
"Apache-2.0"
] | 1 | 2020-04-24T00:43:31.000Z | 2020-04-24T00:43:31.000Z | import tellurium as te
import matplotlib.pyplot as plt
import roadrunner
rr = te.loada ('''
A -> B; k1*A;
B -> A; k2*B;
k1 = 0.2; k2 = 0.4;
''')
starting = 6000 # 10 zepto molar 10^(-21) = 6000 molecules
rr.model["init(A)"] = starting
rr.model["init(B)"] = 0
plt.subplot(221)
plt.title("A = 6000")
m1 = rr.g... | 19.304348 | 58 | 0.611111 | 237 | 1,332 | 3.434599 | 0.185654 | 0.137592 | 0.216216 | 0.117936 | 0.701474 | 0.701474 | 0.701474 | 0.701474 | 0.701474 | 0.701474 | 0 | 0.098505 | 0.146396 | 1,332 | 68 | 59 | 19.588235 | 0.617414 | 0.03003 | 0 | 0.62963 | 0 | 0 | 0.177519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a2b03b80768d94eb563a5ba652a512a5d9ab9d2 | 163 | py | Python | babel/views.py | tuub/jper | 1a723a36617b2c27b0fc43dd4cb9a0f5fe811f37 | [
"Apache-2.0"
] | null | null | null | babel/views.py | tuub/jper | 1a723a36617b2c27b0fc43dd4cb9a0f5fe811f37 | [
"Apache-2.0"
] | null | null | null | babel/views.py | tuub/jper | 1a723a36617b2c27b0fc43dd4cb9a0f5fe811f37 | [
"Apache-2.0"
] | null | null | null | from babel import babel
from config import LANGUAGES
@babel.localeselector
def get_locale():
return request.accept_languages.best_match(LANGUAGES.keys()) | 27.166667 | 64 | 0.791411 | 21 | 163 | 6 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134969 | 163 | 6 | 64 | 27.166667 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
6a42517b77ddf804cfa49d801e013ee884e1539a | 2,400 | py | Python | settings.py | yoskmr/firebase-orm | a7175975e65a976c2880988868767cae48645e0b | [
"MIT"
] | 4 | 2020-05-20T12:04:53.000Z | 2022-02-06T14:47:09.000Z | settings.py | yoskmr/firebase-orm | a7175975e65a976c2880988868767cae48645e0b | [
"MIT"
] | null | null | null | settings.py | yoskmr/firebase-orm | a7175975e65a976c2880988868767cae48645e0b | [
"MIT"
] | 9 | 2020-02-21T19:38:57.000Z | 2021-12-03T17:05:14.000Z | CERTIFICATE = {
"type": "service_account",
"project_id": "fir-orm-python",
"private_key_id": "47246fe582a99774f4daf19fad21b97a09df8c70",
"private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDMp79d08KEZPrn\nN0xZGULfM/eZwAJ+MytsPQhs+LVSqtx1c/oGHpQC5GiW9xwgnMpEh7xfX5NNjp6x... | 160 | 1,756 | 0.888333 | 165 | 2,400 | 12.818182 | 0.69697 | 0.017021 | 0.017021 | 0.025532 | 0.088889 | 0.06052 | 0.06052 | 0 | 0 | 0 | 0 | 0.124787 | 0.021667 | 2,400 | 14 | 1,757 | 171.428571 | 0.77598 | 0 | 0 | 0 | 0 | 0.153846 | 0.94375 | 0.77 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e018e82ccf63efd3b6485539fc10260475b34db6 | 76 | py | Python | lab1/src/utils/utils.py | pavponn/optimization-methods | 00db08c1b28a1ffad781fb918869247a4f2ab329 | [
"MIT"
] | null | null | null | lab1/src/utils/utils.py | pavponn/optimization-methods | 00db08c1b28a1ffad781fb918869247a4f2ab329 | [
"MIT"
] | null | null | null | lab1/src/utils/utils.py | pavponn/optimization-methods | 00db08c1b28a1ffad781fb918869247a4f2ab329 | [
"MIT"
] | null | null | null | import inspect
# TODO
def get_lambda_str(foo):
return "Some function"
| 10.857143 | 26 | 0.723684 | 11 | 76 | 4.818182 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197368 | 76 | 6 | 27 | 12.666667 | 0.868852 | 0.052632 | 0 | 0 | 0 | 0 | 0.185714 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.