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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
928586b123142b29512b2ac9896000655598f128 | 16,171 | py | Python | tests/units/fastsync/commons/test_fastsync_tap_mysql.py | epoch8/pipelinewise | 4de979f9b581dadc92ab3b2ef8f1596ae82fdabe | [
"Apache-2.0"
] | null | null | null | tests/units/fastsync/commons/test_fastsync_tap_mysql.py | epoch8/pipelinewise | 4de979f9b581dadc92ab3b2ef8f1596ae82fdabe | [
"Apache-2.0"
] | null | null | null | tests/units/fastsync/commons/test_fastsync_tap_mysql.py | epoch8/pipelinewise | 4de979f9b581dadc92ab3b2ef8f1596ae82fdabe | [
"Apache-2.0"
] | null | null | null | import pymysql
from unittest import TestCase
from unittest.mock import patch, call, Mock
from pipelinewise.fastsync.commons import tap_mysql
from pipelinewise.fastsync.commons.tap_mysql import FastSyncTapMySql, MARIADB_ENGINE
class FastSyncTapMySqlMock(FastSyncTapMySql):
"""
Mocked FastSyncTapMySql class
... | 38.049412 | 118 | 0.613567 | 1,833 | 16,171 | 5.10802 | 0.114566 | 0.050945 | 0.064082 | 0.042294 | 0.83061 | 0.809463 | 0.793549 | 0.753818 | 0.725729 | 0.721884 | 0 | 0.01056 | 0.291448 | 16,171 | 424 | 119 | 38.139151 | 0.806598 | 0.108899 | 0 | 0.59364 | 0 | 0 | 0.146839 | 0.013013 | 0 | 0 | 0 | 0 | 0.14841 | 1 | 0.063604 | false | 0.021201 | 0.017668 | 0 | 0.091873 | 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 |
92b266720034b2fbaad6d5b06e9b0a04a3d9bde5 | 58 | py | Python | postnl_api/__init__.py | eavanvalkenburg/python-postnl-api | 4d3d9eb43f50b00bfcd25ae30cd10168b4324bf4 | [
"MIT"
] | 22 | 2018-06-01T14:37:09.000Z | 2022-02-19T10:22:52.000Z | postnl_api/__init__.py | eavanvalkenburg/python-postnl-api | 4d3d9eb43f50b00bfcd25ae30cd10168b4324bf4 | [
"MIT"
] | 13 | 2018-02-04T19:45:29.000Z | 2021-12-31T13:18:19.000Z | postnl_api/__init__.py | eavanvalkenburg/python-postnl-api | 4d3d9eb43f50b00bfcd25ae30cd10168b4324bf4 | [
"MIT"
] | 13 | 2018-01-23T14:10:12.000Z | 2021-06-16T18:39:31.000Z | from .postnl_api import PostNL_API, UnauthorizedException
| 29 | 57 | 0.87931 | 7 | 58 | 7 | 0.714286 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 58 | 1 | 58 | 58 | 0.924528 | 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 |
2b99f578e50ade47bbe7f6a06a966d7df1df0c99 | 193 | py | Python | backtester/statistics/__init__.py | unbalancedparentheses/backtester_options | 46efd30e405f360c560f8eae8b2ee7d26f4532db | [
"MIT"
] | 91 | 2020-01-31T10:15:35.000Z | 2022-03-27T19:15:12.000Z | backtester/statistics/__init__.py | unbalancedparentheses/backtester_options | 46efd30e405f360c560f8eae8b2ee7d26f4532db | [
"MIT"
] | 38 | 2019-05-12T02:00:46.000Z | 2019-12-06T14:54:25.000Z | backtester/statistics/__init__.py | unbalancedparentheses/backtester_options | 46efd30e405f360c560f8eae8b2ee7d26f4532db | [
"MIT"
] | 20 | 2020-06-12T08:21:30.000Z | 2022-03-28T05:52:59.000Z | from .charts import monthly_returns_heatmap, returns_histogram, returns_chart
from .stats import summary
__all__ = ['monthly_returns_heatmap', 'returns_histogram', 'returns_chart', 'summary']
| 38.6 | 86 | 0.818653 | 23 | 193 | 6.347826 | 0.478261 | 0.191781 | 0.287671 | 0.383562 | 0.671233 | 0.671233 | 0.671233 | 0 | 0 | 0 | 0 | 0 | 0.088083 | 193 | 4 | 87 | 48.25 | 0.829545 | 0 | 0 | 0 | 0 | 0 | 0.310881 | 0.119171 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2bb76de740a46b0084692ec3d6df55d6b8eb8528 | 11,529 | py | Python | code/reasoningtool/kg-construction/tests/UpdateNodesInfoDescTests.py | andrewsu/RTX | dd1de262d0817f7e6d2f64e5bec7d5009a3a2740 | [
"MIT"
] | 31 | 2018-03-05T20:01:10.000Z | 2022-02-01T03:31:22.000Z | code/reasoningtool/kg-construction/tests/UpdateNodesInfoDescTests.py | andrewsu/RTX | dd1de262d0817f7e6d2f64e5bec7d5009a3a2740 | [
"MIT"
] | 1,774 | 2018-03-06T01:55:03.000Z | 2022-03-31T03:09:04.000Z | code/reasoningtool/kg-construction/tests/UpdateNodesInfoDescTests.py | andrewsu/RTX | dd1de262d0817f7e6d2f64e5bec7d5009a3a2740 | [
"MIT"
] | 19 | 2018-05-10T00:43:19.000Z | 2022-03-08T19:26:16.000Z | import unittest
import json
import random
import os,sys
parentdir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0,parentdir)
from Neo4jConnection import Neo4jConnection
from QueryEBIOLS import QueryEBIOLS
from QueryOMIM import QueryOMIM
from QueryMyGene import QueryMyGene
from QueryMyC... | 36.951923 | 119 | 0.62564 | 1,333 | 11,529 | 5.202551 | 0.083271 | 0.039654 | 0.085652 | 0.076136 | 0.79553 | 0.793655 | 0.793655 | 0.785004 | 0.785004 | 0.785004 | 0 | 0.01362 | 0.261254 | 11,529 | 311 | 120 | 37.07074 | 0.800634 | 0.076763 | 0 | 0.616915 | 0 | 0 | 0.051287 | 0 | 0 | 0 | 0 | 0 | 0.273632 | 1 | 0.059701 | false | 0.054726 | 0.069652 | 0 | 0.144279 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2bc5e4715668dbd81dc2dbe3b9c79324b54c3e88 | 1,468 | py | Python | api_tests/logs/views/test_log_contributors.py | sf2ne/Playground | 95b2d222d7ac43baca0249acbfc34e043d6a95b3 | [
"Apache-2.0"
] | null | null | null | api_tests/logs/views/test_log_contributors.py | sf2ne/Playground | 95b2d222d7ac43baca0249acbfc34e043d6a95b3 | [
"Apache-2.0"
] | 13 | 2020-03-24T15:29:41.000Z | 2022-03-11T23:15:28.000Z | api_tests/logs/views/test_log_contributors.py | sf2ne/Playground | 95b2d222d7ac43baca0249acbfc34e043d6a95b3 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import httplib as http
from nose.tools import * # noqa
from test_log_nodes_list import LogsTestCase
class TestLogContributors(LogsTestCase):
def test_log_detail_private_logged_in_contributor_can_access_logs(self):
res = self.app.get(self.private_log_contribs_url, auth=self.user.... | 41.942857 | 102 | 0.737057 | 223 | 1,468 | 4.452915 | 0.242152 | 0.072508 | 0.050352 | 0.080564 | 0.81571 | 0.734139 | 0.734139 | 0.734139 | 0.734139 | 0.734139 | 0 | 0.01541 | 0.160082 | 1,468 | 34 | 103 | 43.176471 | 0.789943 | 0.017711 | 0 | 0.36 | 0 | 0 | 0.012509 | 0 | 0 | 0 | 0 | 0 | 0.32 | 1 | 0.2 | false | 0 | 0.12 | 0 | 0.36 | 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 |
a6273360ab0f4043d4e8c469a5b8e90c2f8af159 | 61 | py | Python | test/run/t286.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t286.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t286.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | print "Yes" if True else "No"
print "Yes" if False else "No"
| 20.333333 | 30 | 0.672131 | 12 | 61 | 3.416667 | 0.583333 | 0.390244 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 61 | 2 | 31 | 30.5 | 0.836735 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a63b95d67c397c392424d3857b19286459314527 | 42 | py | Python | pysherasync/__init__.py | araa47/pysherasync | a3aafff7bb81a9887fe48a45810d2fdc10a25331 | [
"MIT"
] | 8 | 2019-02-16T16:56:51.000Z | 2021-07-28T17:19:11.000Z | pysherasync/__init__.py | araa47/pysherasync | a3aafff7bb81a9887fe48a45810d2fdc10a25331 | [
"MIT"
] | 2 | 2020-08-11T01:50:37.000Z | 2020-09-14T01:44:46.000Z | pysherasync/__init__.py | araa47/pysherasync | a3aafff7bb81a9887fe48a45810d2fdc10a25331 | [
"MIT"
] | 1 | 2019-05-20T06:16:15.000Z | 2019-05-20T06:16:15.000Z | from .pysherasync import PusherAsyncClient | 42 | 42 | 0.904762 | 4 | 42 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.974359 | 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 |
a6ece1869263e493cd077191daf1be7fa5daab86 | 12,075 | py | Python | mamba/blockchain/update_folder/commands.py | ninhpham0902/akc-mamba | 3454b8365d69a4c5f543f71760a495296fa0a5e8 | [
"MIT"
] | 7 | 2020-04-22T02:35:24.000Z | 2022-01-16T17:14:01.000Z | mamba/blockchain/update_folder/commands.py | ninhpham0902/akc-mamba | 3454b8365d69a4c5f543f71760a495296fa0a5e8 | [
"MIT"
] | 9 | 2020-04-07T09:11:08.000Z | 2020-12-29T02:35:12.000Z | mamba/blockchain/update_folder/commands.py | ninhpham0902/akc-mamba | 3454b8365d69a4c5f543f71760a495296fa0a5e8 | [
"MIT"
] | 7 | 2020-07-30T02:27:14.000Z | 2022-02-13T09:58:55.000Z | import click
import os
from settings import settings
from os import path
from shutil import copyfile
from utils import hiss, util
def update_folder():
hiss.rattle('Update folder crt in EFS')
# Find efs pod
pods = settings.k8s.find_pod(namespace="default", keyword="test-efs")
if not pods:
retu... | 83.275862 | 258 | 0.640745 | 1,421 | 12,075 | 5.415201 | 0.068262 | 0.14347 | 0.134633 | 0.159064 | 0.884211 | 0.883171 | 0.875893 | 0.869786 | 0.8564 | 0.823002 | 0 | 0.007568 | 0.157433 | 12,075 | 144 | 259 | 83.854167 | 0.748771 | 0.007288 | 0 | 0.096774 | 0 | 0 | 0.545242 | 0.327796 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016129 | false | 0 | 0.048387 | 0 | 0.080645 | 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 |
4712d4a398852bf9464bfb726a4829d433094475 | 210 | py | Python | simple_steganography/decorators/__init__.py | karafra/steg-utility | 04eef24d7c6baff636522764fc7c8e39f0d2f743 | [
"Apache-2.0"
] | 1 | 2022-01-26T01:07:25.000Z | 2022-01-26T01:07:25.000Z | simple_steganography/decorators/__init__.py | karafra/steg-utility | 04eef24d7c6baff636522764fc7c8e39f0d2f743 | [
"Apache-2.0"
] | 8 | 2022-01-24T14:11:27.000Z | 2022-03-28T08:55:19.000Z | simple_steganography/decorators/__init__.py | karafra/steg-utility | 04eef24d7c6baff636522764fc7c8e39f0d2f743 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
"""Module storing all decorators
------------
Version: 1.0
------------
----------
Since: 1.0
----------
---------------
Author: Karafra
---------------
"""
from .notNone import NotNone | 14 | 32 | 0.452381 | 20 | 210 | 4.75 | 0.85 | 0.042105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026882 | 0.114286 | 210 | 15 | 33 | 14 | 0.483871 | 0.819048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5b2ff826c06ba479c23e27511e6e034ac403a7ce | 80 | py | Python | src/threads/__init__.py | remvo/zstt-fira | 79d237369fe5d516ac3a6086ea050ece763beec6 | [
"MIT"
] | null | null | null | src/threads/__init__.py | remvo/zstt-fira | 79d237369fe5d516ac3a6086ea050ece763beec6 | [
"MIT"
] | null | null | null | src/threads/__init__.py | remvo/zstt-fira | 79d237369fe5d516ac3a6086ea050ece763beec6 | [
"MIT"
] | null | null | null | from .camera_thread import CameraThread
from .serial_thread import SerialThread
| 26.666667 | 39 | 0.875 | 10 | 80 | 6.8 | 0.7 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 2 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
5b536fbbf0d431e562974941df31825e3b12225d | 72 | py | Python | audio_converter/blueprints/multilingual/__init__.py | mac641/audio-converter | abd9584a7a6b76285654f5647455e37776045d0c | [
"MIT"
] | null | null | null | audio_converter/blueprints/multilingual/__init__.py | mac641/audio-converter | abd9584a7a6b76285654f5647455e37776045d0c | [
"MIT"
] | null | null | null | audio_converter/blueprints/multilingual/__init__.py | mac641/audio-converter | abd9584a7a6b76285654f5647455e37776045d0c | [
"MIT"
] | null | null | null | from audio_converter.blueprints.multilingual.routes import multilingual
| 36 | 71 | 0.902778 | 8 | 72 | 8 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 72 | 1 | 72 | 72 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
5b609e82a1d097ebe5868042cfea1a4271d47e3b | 15,425 | py | Python | triangles.py | Nicolas-Reyland/Marching-Cubes | 98743e3acf5e15d3f9bacb251f7e3c53e1a25841 | [
"MIT"
] | 2 | 2021-01-15T14:43:50.000Z | 2021-01-15T15:21:44.000Z | triangles.py | Nicolas-Reyland/Marching-Cubes | 98743e3acf5e15d3f9bacb251f7e3c53e1a25841 | [
"MIT"
] | null | null | null | triangles.py | Nicolas-Reyland/Marching-Cubes | 98743e3acf5e15d3f9bacb251f7e3c53e1a25841 | [
"MIT"
] | null | null | null | from ascii_enc_dec import dec as decode
def get_triangles(inside_nodes_index):
""" Returns the associated triangle from inside-nodes index' """
# empty list of '0's
binary = ['0'] * 8
# fill list with inside index'
for index in inside_nodes_index:
binary[index] = '1'
# string from reversed list (the index' ... | 55.089286 | 97 | 0.319287 | 4,186 | 15,425 | 1.173435 | 0.012661 | 0.582655 | 0.732899 | 0.795603 | 0.621539 | 0.608103 | 0.547638 | 0.46987 | 0.457044 | 0.369707 | 0 | 0.401069 | 0.272285 | 15,425 | 280 | 98 | 55.089286 | 0.036526 | 0.01731 | 0 | 0 | 0 | 0 | 0.000132 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003759 | false | 0 | 0.003759 | 0 | 0.011278 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5bc3eab7dce91ca5755a0ec673204ac5334ef2ea | 104 | py | Python | jtalk_py/__init__.py | tos-kamiya/jtalk.py | b291fc335380c1acb00ff91a146ce92f210605b2 | [
"Unlicense"
] | null | null | null | jtalk_py/__init__.py | tos-kamiya/jtalk.py | b291fc335380c1acb00ff91a146ce92f210605b2 | [
"Unlicense"
] | null | null | null | jtalk_py/__init__.py | tos-kamiya/jtalk.py | b291fc335380c1acb00ff91a146ce92f210605b2 | [
"Unlicense"
] | null | null | null | import importlib.metadata
__version__ = importlib.metadata.version('jtalk.py')
from .jtalk import main
| 20.8 | 52 | 0.807692 | 13 | 104 | 6.153846 | 0.615385 | 0.425 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 104 | 4 | 53 | 26 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5bdec0aa5a65178b04388c7a3745f20c8cc9ec0c | 97 | py | Python | tests/datastructure_example.py | mad-skull/DataStructure | 789bea320d1e3745722cb91e2e17cb621fa27879 | [
"MIT"
] | 1 | 2021-08-29T17:55:37.000Z | 2021-08-29T17:55:37.000Z | tests/datastructure_example.py | mad-skull/EasyDSA | 789bea320d1e3745722cb91e2e17cb621fa27879 | [
"MIT"
] | null | null | null | tests/datastructure_example.py | mad-skull/EasyDSA | 789bea320d1e3745722cb91e2e17cb621fa27879 | [
"MIT"
] | null | null | null | from EasyDSA import BinarySearchTree
from EasyDSA import HashMap
from EasyDSA import LinkedList
| 19.4 | 36 | 0.865979 | 12 | 97 | 7 | 0.5 | 0.392857 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 97 | 4 | 37 | 24.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
750b7fe20b4f75dc678e1477ebba791e247b1936 | 29 | py | Python | pyspeed/cpp_pyb11/__init__.py | chr1st1ank/python-metrics | f8e445994a5f81d4a6e861d6b6f3a5b8676a5894 | [
"MIT"
] | 1 | 2022-01-04T06:08:11.000Z | 2022-01-04T06:08:11.000Z | pyspeed/cpp_pyb11/__init__.py | chr1st1ank/python-metrics | f8e445994a5f81d4a6e861d6b6f3a5b8676a5894 | [
"MIT"
] | null | null | null | pyspeed/cpp_pyb11/__init__.py | chr1st1ank/python-metrics | f8e445994a5f81d4a6e861d6b6f3a5b8676a5894 | [
"MIT"
] | null | null | null | from .pyspeed_pyb11 import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.137931 | 29 | 1 | 29 | 29 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
751847bdb1e443df741881fb297d9192f6b31740 | 36 | py | Python | src/segmantic/i2i/__init__.py | dyollb/segmantic | 8fe47340ff0f67812918f7070e3d6080e5d228ac | [
"MIT"
] | null | null | null | src/segmantic/i2i/__init__.py | dyollb/segmantic | 8fe47340ff0f67812918f7070e3d6080e5d228ac | [
"MIT"
] | 3 | 2021-09-24T20:32:23.000Z | 2022-03-14T10:54:13.000Z | src/segmantic/i2i/__init__.py | dyollb/segmantic | 8fe47340ff0f67812918f7070e3d6080e5d228ac | [
"MIT"
] | 2 | 2021-09-24T11:54:52.000Z | 2021-10-01T13:01:55.000Z | from .translate import translate_3d
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.111111 | 36 | 1 | 36 | 36 | 0.90625 | 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 |
753f741d7e70cf39f54f4571b02bd677a0d18601 | 102 | py | Python | ambra_sdk/service/entrypoints/tag.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | ambra_sdk/service/entrypoints/tag.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | ambra_sdk/service/entrypoints/tag.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | from ambra_sdk.service.entrypoints.generated.tag import Tag as GTag
class Tag(GTag):
"""Tag."""
| 17 | 67 | 0.715686 | 15 | 102 | 4.8 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 5 | 68 | 20.4 | 0.827586 | 0.039216 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
755190507af692cae8ccce57f694f98af01ee109 | 105 | py | Python | candle/metrics/__init__.py | ynop/candle | 1e0687e1f6a9b622033fbd141674d1de964f4465 | [
"MIT"
] | null | null | null | candle/metrics/__init__.py | ynop/candle | 1e0687e1f6a9b622033fbd141674d1de964f4465 | [
"MIT"
] | null | null | null | candle/metrics/__init__.py | ynop/candle | 1e0687e1f6a9b622033fbd141674d1de964f4465 | [
"MIT"
] | null | null | null | from .base import Metric
from .accuracy import BinaryAccuracy
from .accuracy import CategoricalAccuracy
| 21 | 41 | 0.847619 | 12 | 105 | 7.416667 | 0.583333 | 0.269663 | 0.404494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 105 | 4 | 42 | 26.25 | 0.967391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f33d0eea3272f12108b15c157032de9a105edca5 | 39 | py | Python | virtual/walt/virtual/node/__init__.py | drakkar-lig/walt-python-packages | b778992e241d54b684f54715d83c4aff98a01db7 | [
"BSD-3-Clause"
] | 4 | 2020-01-14T09:12:56.000Z | 2022-03-14T14:35:11.000Z | virtual/walt/virtual/node/__init__.py | drakkar-lig/walt-python-packages | b778992e241d54b684f54715d83c4aff98a01db7 | [
"BSD-3-Clause"
] | 73 | 2016-04-29T13:17:26.000Z | 2022-03-01T15:06:48.000Z | virtual/walt/virtual/node/__init__.py | drakkar-lig/walt-python-packages | b778992e241d54b684f54715d83c4aff98a01db7 | [
"BSD-3-Clause"
] | 3 | 2019-03-18T14:27:56.000Z | 2021-06-03T12:07:02.000Z | from walt.virtual.node.node import run
| 19.5 | 38 | 0.820513 | 7 | 39 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 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 |
f389417cb71316580287cbfaf5b356adf76525e0 | 33 | py | Python | sentiment_analyzer.py | JonLMyers/Inb4-Danger | 5d6cdbb00d655cf0f91b1313227171fa20d4fea1 | [
"MIT"
] | 1 | 2019-04-09T02:10:40.000Z | 2019-04-09T02:10:40.000Z | sentiment_analyzer.py | JonLMyers/inb4-Danger | 5d6cdbb00d655cf0f91b1313227171fa20d4fea1 | [
"MIT"
] | 1 | 2018-06-28T20:00:18.000Z | 2018-06-28T20:00:18.000Z | sentiment_analyzer.py | JonLMyers/inb4-Danger | 5d6cdbb00d655cf0f91b1313227171fa20d4fea1 | [
"MIT"
] | null | null | null | def analyze_sentiment():
pass | 16.5 | 24 | 0.727273 | 4 | 33 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 33 | 2 | 25 | 16.5 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f38b5dc0f9a2d6e4d812a59cbe73c2230062c32d | 29 | py | Python | __init__.py | andytwoods/pychonk | 5d657e82a474cd9efe74da5c84f3d3423b5fc3a0 | [
"MIT"
] | null | null | null | __init__.py | andytwoods/pychonk | 5d657e82a474cd9efe74da5c84f3d3423b5fc3a0 | [
"MIT"
] | 1 | 2020-06-16T12:54:43.000Z | 2020-07-09T11:36:10.000Z | __init__.py | andytwoods/pychonk | 5d657e82a474cd9efe74da5c84f3d3423b5fc3a0 | [
"MIT"
] | null | null | null | from src.pychonk import chonk | 29 | 29 | 0.862069 | 5 | 29 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f3b310de98e0d5cf0bcc800c7c09c0f3f6833b5d | 434 | py | Python | python/kyu-5/human-readable-time/test_human_readable_time.py | ledwindra/codewars | 0552669a69e801cfe5f9a3696a4d98be63a96951 | [
"WTFPL"
] | 1 | 2020-11-13T16:55:04.000Z | 2020-11-13T16:55:04.000Z | python/kyu-5/human-readable-time/test_human_readable_time.py | ledwindra/codewars | 0552669a69e801cfe5f9a3696a4d98be63a96951 | [
"WTFPL"
] | 1 | 2020-01-28T15:48:17.000Z | 2020-01-28T15:48:17.000Z | python/kyu-5/human-readable-time/test_human_readable_time.py | ledwindra/codewars | 0552669a69e801cfe5f9a3696a4d98be63a96951 | [
"WTFPL"
] | null | null | null | from human_readable_time import make_readable
class TestHumanReadableTime:
def test_0(self):
assert make_readable(0) == "00:00:00"
def test_1(self):
assert make_readable(5) == "00:00:05"
def test_2(self):
assert make_readable(60) == "00:01:00"
def test_3(self):
a... | 24.111111 | 50 | 0.629032 | 64 | 434 | 4.0625 | 0.421875 | 0.276923 | 0.269231 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151976 | 0.241935 | 434 | 18 | 50 | 24.111111 | 0.638298 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 1 | 0.416667 | false | 0 | 0.083333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
f3c72671539c978bafbe0d628964804ec0d27255 | 224 | py | Python | exporters/export_formatter/__init__.py | scrapinghub/exporters | b14f70530826bbbd6163d9e56e74345e762a9189 | [
"BSD-3-Clause"
] | 41 | 2016-06-16T15:29:39.000Z | 2021-08-06T03:29:13.000Z | exporters/export_formatter/__init__.py | bbotella/fluxo | c9fb01db1771ada4672bbffd67cb46e1f7802ab9 | [
"BSD-3-Clause"
] | 52 | 2016-06-20T12:46:57.000Z | 2018-02-08T12:22:03.000Z | exporters/export_formatter/__init__.py | bbotella/fluxo | c9fb01db1771ada4672bbffd67cb46e1f7802ab9 | [
"BSD-3-Clause"
] | 10 | 2016-06-23T08:49:36.000Z | 2018-01-13T10:12:10.000Z | from .json_export_formatter import JsonExportFormatter
from .xml_export_formatter import XMLExportFormatter # NOQA
from .csv_export_formatter import CSVExportFormatter # NOQA
DEFAULT_FORMATTER_CLASS = JsonExportFormatter
| 37.333333 | 60 | 0.875 | 24 | 224 | 7.833333 | 0.541667 | 0.239362 | 0.335106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098214 | 224 | 5 | 61 | 44.8 | 0.930693 | 0.040179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
45e8d791ce7ee6e1cc6abca54d09c9449d485363 | 40 | py | Python | goldencheetahlib/__init__.py | AartGoossens/goldencheetahlib | ebe57de7d94280674c8440a81f53ac02f0b4eb43 | [
"MIT"
] | 1 | 2018-09-15T00:46:18.000Z | 2018-09-15T00:46:18.000Z | goldencheetahlib/__init__.py | AartGoossens/goldencheetahlib | ebe57de7d94280674c8440a81f53ac02f0b4eb43 | [
"MIT"
] | 8 | 2016-08-17T08:02:03.000Z | 2017-11-06T18:42:21.000Z | goldencheetahlib/__init__.py | AartGoossens/goldencheetahlib | ebe57de7d94280674c8440a81f53ac02f0b4eb43 | [
"MIT"
] | 1 | 2019-10-15T13:28:29.000Z | 2019-10-15T13:28:29.000Z | from .client import GoldenCheetahClient
| 20 | 39 | 0.875 | 4 | 40 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.972222 | 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 |
45fde292ffc6b3f334fc88f75e7ff38c070ec8c1 | 19,355 | py | Python | tests/redis_list_tests.py | musabhusaini/aioredis-models | 8f868f4bf65e1068f8e8412fcc322ccfb65c1ea3 | [
"MIT"
] | null | null | null | tests/redis_list_tests.py | musabhusaini/aioredis-models | 8f868f4bf65e1068f8e8412fcc322ccfb65c1ea3 | [
"MIT"
] | null | null | null | tests/redis_list_tests.py | musabhusaini/aioredis-models | 8f868f4bf65e1068f8e8412fcc322ccfb65c1ea3 | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import MagicMock, AsyncMock, call
from aioredis_models.redis_list import RedisList
class RedisListTests(unittest.IsolatedAsyncioTestCase):
def test_init_succeeds(self):
redis_list = RedisList(MagicMock(), MagicMock())
self.assertIsInstance(redis_list, RedisList)... | 35.383912 | 117 | 0.65425 | 2,289 | 19,355 | 5.279598 | 0.061162 | 0.066281 | 0.067025 | 0.09607 | 0.927431 | 0.91055 | 0.887547 | 0.831527 | 0.774266 | 0.745552 | 0 | 0.007961 | 0.247171 | 19,355 | 546 | 118 | 35.448718 | 0.821426 | 0 | 0 | 0.620773 | 0 | 0 | 0.00868 | 0 | 0 | 0 | 0 | 0 | 0.193237 | 1 | 0.002415 | false | 0.002415 | 0.007246 | 0 | 0.012077 | 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 |
45ffb4c59e5b64c897c693a1ae3c5e74bc5be8fc | 77 | py | Python | model_zoo/utils/data/__init__.py | samuelstanton/model-zoo | 77bb52e4a74d0601f13ad5f9e04457f3ed6cb10f | [
"MIT"
] | 4 | 2021-05-31T23:21:11.000Z | 2021-06-03T22:20:17.000Z | model_zoo/utils/data/__init__.py | samuelstanton/model-zoo | 77bb52e4a74d0601f13ad5f9e04457f3ed6cb10f | [
"MIT"
] | null | null | null | model_zoo/utils/data/__init__.py | samuelstanton/model-zoo | 77bb52e4a74d0601f13ad5f9e04457f3ed6cb10f | [
"MIT"
] | null | null | null | from .dataset import Dataset
from .seq_dataset import SeqDataset, format_seqs | 38.5 | 48 | 0.857143 | 11 | 77 | 5.818182 | 0.636364 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 2 | 48 | 38.5 | 0.927536 | 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 |
345e88ef182032b586494dc6d164c5637541e7d5 | 324 | py | Python | elasticapm/transport/http_urllib3.py | lyrixderaven/apm-agent-python | e21b306da70995ca1582666378b7059495ff1bee | [
"BSD-3-Clause"
] | 2 | 2019-02-15T20:23:39.000Z | 2019-02-15T20:26:06.000Z | elasticapm/transport/http_urllib3.py | lyrixderaven/apm-agent-python | e21b306da70995ca1582666378b7059495ff1bee | [
"BSD-3-Clause"
] | null | null | null | elasticapm/transport/http_urllib3.py | lyrixderaven/apm-agent-python | e21b306da70995ca1582666378b7059495ff1bee | [
"BSD-3-Clause"
] | null | null | null | import warnings
from elasticapm.transport.http import AsyncTransport as AsyncUrllib3Transport # noqa F401
from elasticapm.transport.http import Transport as Urllib3Transport # noqa F401
warnings.warn(
"The elasticapm.transport.http_urllib3 module has been renamed to elasticapm.transport.http", DeprecationWarnin... | 36 | 116 | 0.830247 | 38 | 324 | 7.052632 | 0.552632 | 0.283582 | 0.343284 | 0.201493 | 0.246269 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031579 | 0.12037 | 324 | 8 | 117 | 40.5 | 0.908772 | 0.058642 | 0 | 0 | 0 | 0 | 0.298013 | 0.192053 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cab3ca78ce53bcd311c1d15e5f4ad875c3b9c9ad | 49 | py | Python | monstro/management/templates/project/modules/core/models.py | bindlock/monstro | f7715426a0933f9ad3d0df73095ef735b20861fc | [
"MIT"
] | null | null | null | monstro/management/templates/project/modules/core/models.py | bindlock/monstro | f7715426a0933f9ad3d0df73095ef735b20861fc | [
"MIT"
] | 6 | 2016-08-31T09:15:55.000Z | 2017-05-13T12:01:40.000Z | monstro/management/templates/project/modules/core/models.py | pyvim/monstro | f7715426a0933f9ad3d0df73095ef735b20861fc | [
"MIT"
] | null | null | null | from monstro import db
# Create your model here
| 12.25 | 24 | 0.77551 | 8 | 49 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 49 | 3 | 25 | 16.333333 | 0.974359 | 0.44898 | 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 |
cad1af4b6fdf1e4ae8e1ca72bf0490a3e602d391 | 10,346 | py | Python | src/models/nn.py | ngruver/decon-hnn | 6e6c7e9962568214e1708fb933b715a39328fc7b | [
"Apache-2.0"
] | 6 | 2022-02-14T04:52:59.000Z | 2022-03-08T05:11:34.000Z | src/models/nn.py | ngruver/decon-hnn | 6e6c7e9962568214e1708fb933b715a39328fc7b | [
"Apache-2.0"
] | null | null | null | src/models/nn.py | ngruver/decon-hnn | 6e6c7e9962568214e1708fb933b715a39328fc7b | [
"Apache-2.0"
] | null | null | null | import sys
import torch
import torch.nn as nn
from torchdiffeq import odeint
from .utils import FCsoftplus,FCtanh, Linear, CosSin
from typing import Tuple, Union
class NN(nn.Module):
def __init__(
self,
G,
dof_ndim: int = 1,
hidden_size: int = 256,
num_layers: int = 2,
... | 38.036765 | 99 | 0.564469 | 1,497 | 10,346 | 3.808283 | 0.118904 | 0.018418 | 0.033152 | 0.00842 | 0.820207 | 0.81056 | 0.803543 | 0.794247 | 0.78495 | 0.778635 | 0 | 0.024415 | 0.323023 | 10,346 | 271 | 100 | 38.177122 | 0.789549 | 0.32602 | 0 | 0.695364 | 0 | 0 | 0.029366 | 0 | 0 | 0 | 0 | 0 | 0.066225 | 1 | 0.10596 | false | 0 | 0.039735 | 0.006623 | 0.245033 | 0.039735 | 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 |
cae2c5ebb18de56abf4f674a025ff0c488c35dd3 | 46,316 | py | Python | jdcloud_cli/controllers/services/jcq.py | Tanc009/jdcloud-cli | 4e11de77c68501f44e7026c0ad1c24e5d043197e | [
"Apache-2.0"
] | 95 | 2018-06-05T10:49:32.000Z | 2019-12-31T11:07:36.000Z | jdcloud_cli/controllers/services/jcq.py | Tanc009/jdcloud-cli | 4e11de77c68501f44e7026c0ad1c24e5d043197e | [
"Apache-2.0"
] | 22 | 2018-06-05T10:58:59.000Z | 2020-07-31T12:13:19.000Z | jdcloud_cli/controllers/services/jcq.py | Tanc009/jdcloud-cli | 4e11de77c68501f44e7026c0ad1c24e5d043197e | [
"Apache-2.0"
] | 21 | 2018-06-04T12:50:27.000Z | 2020-11-05T10:55:28.000Z | # coding=utf8
# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | 50.179848 | 667 | 0.596964 | 4,765 | 46,316 | 5.726548 | 0.069675 | 0.042804 | 0.039506 | 0.024041 | 0.792905 | 0.78268 | 0.773665 | 0.770147 | 0.763111 | 0.753143 | 0 | 0.00373 | 0.235988 | 46,316 | 922 | 668 | 50.234273 | 0.767394 | 0.013689 | 0 | 0.738182 | 0 | 0.041212 | 0.336406 | 0.093792 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031515 | false | 0 | 0.069091 | 0 | 0.133333 | 0.092121 | 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 |
1b0cfdd372833842e780c3b97429e4836cb7a7ed | 27,202 | py | Python | tests/test_block_blob.py | yozik04/azure-storage-python | bc985392407459717634b46eda7d8f66b7ffb4dc | [
"Apache-2.0"
] | 1 | 2020-07-29T15:04:40.000Z | 2020-07-29T15:04:40.000Z | tests/test_block_blob.py | yozik04/azure-storage-python | bc985392407459717634b46eda7d8f66b7ffb4dc | [
"Apache-2.0"
] | 7 | 2017-01-18T00:10:27.000Z | 2017-02-15T04:24:08.000Z | tests/test_block_blob.py | yozik04/azure-storage-python | bc985392407459717634b46eda7d8f66b7ffb4dc | [
"Apache-2.0"
] | 2 | 2016-08-05T08:41:38.000Z | 2020-12-12T21:11:32.000Z | # coding: utf-8
#-------------------------------------------------------------------------
# Copyright (c) Microsoft. 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
# ... | 37.110505 | 117 | 0.647048 | 3,348 | 27,202 | 4.938172 | 0.074373 | 0.060485 | 0.091514 | 0.110506 | 0.867235 | 0.859493 | 0.833122 | 0.807355 | 0.763624 | 0.763624 | 0 | 0.006223 | 0.249724 | 27,202 | 732 | 118 | 37.161202 | 0.803861 | 0.114624 | 0 | 0.644028 | 0 | 0 | 0.018635 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 1 | 0.112412 | false | 0.004684 | 0.01171 | 0.004684 | 0.177986 | 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 |
1b2a15737590b3f95ed6b66ea9f56d8e9439f675 | 170 | py | Python | tbats/tbats/ParamsOptimizer.py | series-temporais/tbats | 1f2e0b5e769250c8ec0604fd75ef08ebbe251d37 | [
"MIT"
] | 1 | 2019-07-21T15:38:12.000Z | 2019-07-21T15:38:12.000Z | tbats/tbats/ParamsOptimizer.py | arita37/tbats | 4e726919f08e39e74dd70a592b5258dfc7b25953 | [
"MIT"
] | null | null | null | tbats/tbats/ParamsOptimizer.py | arita37/tbats | 4e726919f08e39e74dd70a592b5258dfc7b25953 | [
"MIT"
] | null | null | null | from ..abstract import ParamsOptimizer as AbstractParamsOptimizer
class ParamsOptimizer(AbstractParamsOptimizer):
"""See parent class for documentation"""
pass
| 24.285714 | 65 | 0.794118 | 15 | 170 | 9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 170 | 6 | 66 | 28.333333 | 0.924658 | 0.2 | 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 |
1b35ed499ef89f707969b69e70d8f6f5fb674ee2 | 34 | py | Python | src/envs/lbforaging/__init__.py | LAMDA-RL/MAIC | 715ab22b531f9a6867276f85e1d8c1342d8b6d00 | [
"Apache-2.0"
] | 7 | 2022-02-23T10:41:29.000Z | 2022-03-16T07:01:58.000Z | src/envs/lbforaging/__init__.py | LAMDA-RL/MAIC | 715ab22b531f9a6867276f85e1d8c1342d8b6d00 | [
"Apache-2.0"
] | null | null | null | src/envs/lbforaging/__init__.py | LAMDA-RL/MAIC | 715ab22b531f9a6867276f85e1d8c1342d8b6d00 | [
"Apache-2.0"
] | 4 | 2022-02-22T13:59:19.000Z | 2022-03-30T16:23:23.000Z | from .foraging import ForagingEnv
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 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 |
1b3c716408bc6d9eae78c2f5e2b5c485e151e0ab | 168 | py | Python | src/punits/consts/__init__.py | ju-sh/punits | a3a82d276e0545a89e6505cf3324788a3c067118 | [
"MIT"
] | null | null | null | src/punits/consts/__init__.py | ju-sh/punits | a3a82d276e0545a89e6505cf3324788a3c067118 | [
"MIT"
] | null | null | null | src/punits/consts/__init__.py | ju-sh/punits | a3a82d276e0545a89e6505cf3324788a3c067118 | [
"MIT"
] | null | null | null | """
Makes CONVERSIONS and LABELS visible directly from consts sub-module
"""
from punits.consts.conversions import CONVERSIONS
from punits.consts.labels import LABELS
| 24 | 68 | 0.815476 | 22 | 168 | 6.227273 | 0.545455 | 0.145985 | 0.233577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 168 | 6 | 69 | 28 | 0.925676 | 0.404762 | 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 |
1bd76f926d7ad9c7a18ad82037ce08df6f6b07bb | 28,291 | py | Python | src/tests/unit/enterprise_edr/test_enterprise_edr_process.py | avanbrunt-cb/carbon-black-cloud-sdk-python | f737ceaf6c69c1efea128d8dfb219c738cc7fc33 | [
"MIT"
] | null | null | null | src/tests/unit/enterprise_edr/test_enterprise_edr_process.py | avanbrunt-cb/carbon-black-cloud-sdk-python | f737ceaf6c69c1efea128d8dfb219c738cc7fc33 | [
"MIT"
] | null | null | null | src/tests/unit/enterprise_edr/test_enterprise_edr_process.py | avanbrunt-cb/carbon-black-cloud-sdk-python | f737ceaf6c69c1efea128d8dfb219c738cc7fc33 | [
"MIT"
] | null | null | null | """Testing Process and Tree objects of cbc_sdk.enterprise_edr"""
import pytest
import logging
from cbc_sdk.enterprise_edr import Process, Tree, Event, Query, AsyncProcessQuery
from cbc_sdk.rest_api import CBCloudAPI
from cbc_sdk.errors import ObjectNotFoundError, ApiError
from tests.unit.fixtures.CBCSDKMock import CBC... | 50.072566 | 180 | 0.637517 | 3,005 | 28,291 | 5.721797 | 0.079867 | 0.041875 | 0.028847 | 0.068047 | 0.846691 | 0.827033 | 0.807375 | 0.775852 | 0.772246 | 0.753635 | 0 | 0.089283 | 0.252943 | 28,291 | 564 | 181 | 50.161348 | 0.724249 | 0.107808 | 0 | 0.684706 | 0 | 0 | 0.282613 | 0.188635 | 0 | 0 | 0 | 0 | 0.108235 | 1 | 0.063529 | false | 0 | 0.016471 | 0 | 0.084706 | 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 |
1bd8a1ee2e1c7c3be80463ce86a5b7d04f486354 | 305 | py | Python | timet.py | Tjccs/College-Python | 66186f898a5c3b23763f3110c9423427236ca4a5 | [
"MIT"
] | null | null | null | timet.py | Tjccs/College-Python | 66186f898a5c3b23763f3110c9423427236ca4a5 | [
"MIT"
] | null | null | null | timet.py | Tjccs/College-Python | 66186f898a5c3b23763f3110c9423427236ca4a5 | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
import time
while True:
print( "########################################################################")
print time.gmtime().tm_year, time.gmtime().tm_mon, time.gmtime().tm_mday
print time.gmtime().tm_hour, time.gmtime().tm_min, time.gmtime().tm_sec
time.sleep(1)
| 38.125 | 86 | 0.501639 | 37 | 305 | 3.972973 | 0.486486 | 0.408163 | 0.489796 | 0.231293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.114754 | 305 | 7 | 87 | 43.571429 | 0.537037 | 0.068852 | 0 | 0 | 0 | 0 | 0.254417 | 0.254417 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9446f5fcad55282baef23797edf756b7e8726deb | 10,945 | py | Python | tests/test_Conv2d_Custom.py | neonithinar/hexagdly | dcd15bfb7bdabb4f6280f0598f2cf0b923924a81 | [
"MIT"
] | 67 | 2018-02-10T13:54:16.000Z | 2022-01-31T05:41:40.000Z | tests/test_Conv2d_Custom.py | neonithinar/hexagdly | dcd15bfb7bdabb4f6280f0598f2cf0b923924a81 | [
"MIT"
] | 4 | 2018-02-21T16:28:38.000Z | 2020-05-02T17:01:01.000Z | tests/test_Conv2d_Custom.py | neonithinar/hexagdly | dcd15bfb7bdabb4f6280f0598f2cf0b923924a81 | [
"MIT"
] | 17 | 2018-05-25T12:30:19.000Z | 2021-07-19T05:48:47.000Z | import numpy as np
import torch
import hexagdly as hex
import pytest
class TestConv2d(object):
def get_in_array(self):
return np.array(
[
[
[
[0, 0, 0, 0, 1, 0],
[0, 0, 1, 0, 0, 0],
[0, ... | 27.56927 | 88 | 0.568387 | 1,347 | 10,945 | 4.265033 | 0.048998 | 0.139252 | 0.167102 | 0.087032 | 0.884943 | 0.880244 | 0.853264 | 0.824891 | 0.810444 | 0.780853 | 0 | 0.040935 | 0.354957 | 10,945 | 396 | 89 | 27.638889 | 0.772805 | 0.005847 | 0 | 0.581169 | 0 | 0 | 0.002298 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 1 | 0.103896 | false | 0 | 0.012987 | 0.022727 | 0.146104 | 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 |
94589d9bebe96029d84ed3a2086a96d584c01dca | 138 | py | Python | tkdet/data/datasets/__init__.py | tkhe/tkdetection | 54e6c112ef2930e755f457e38449736f5743a9ea | [
"MIT"
] | 1 | 2020-10-09T02:27:13.000Z | 2020-10-09T02:27:13.000Z | tkdet/data/datasets/__init__.py | tkhe/tkdetection | 54e6c112ef2930e755f457e38449736f5743a9ea | [
"MIT"
] | null | null | null | tkdet/data/datasets/__init__.py | tkhe/tkdetection | 54e6c112ef2930e755f457e38449736f5743a9ea | [
"MIT"
] | null | null | null | from . import builtin
from .cityscapes import *
from .coco import *
from .lvis import *
from .pascal_voc import *
from .visdrone import *
| 19.714286 | 25 | 0.746377 | 19 | 138 | 5.368421 | 0.473684 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 138 | 6 | 26 | 23 | 0.894737 | 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 |
94846e6efaf0adc91e7abdc01b09360372e6d185 | 27 | py | Python | roles/create-secrets/files/test.py | thescouser89/ansible-port-louis | 510de63315cf0f5542f3d80ae316a64221f3d71d | [
"MIT"
] | 1 | 2016-05-27T14:29:52.000Z | 2016-05-27T14:29:52.000Z | roles/create-secrets/files/test.py | thescouser89/ansible-port-louis | 510de63315cf0f5542f3d80ae316a64221f3d71d | [
"MIT"
] | null | null | null | roles/create-secrets/files/test.py | thescouser89/ansible-port-louis | 510de63315cf0f5542f3d80ae316a64221f3d71d | [
"MIT"
] | null | null | null | print("I am running here")
| 13.5 | 26 | 0.703704 | 5 | 27 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 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 |
948ac61b9f552ccc2e8c2e34fe2afad2891b4563 | 56,497 | py | Python | polymer_network_3D.py | pkhandag/polymer_network | 1597c8c69c274a3d16fba7e1cd195590edd21a15 | [
"MIT"
] | null | null | null | polymer_network_3D.py | pkhandag/polymer_network | 1597c8c69c274a3d16fba7e1cd195590edd21a15 | [
"MIT"
] | null | null | null | polymer_network_3D.py | pkhandag/polymer_network | 1597c8c69c274a3d16fba7e1cd195590edd21a15 | [
"MIT"
] | null | null | null | """
Created in: 2021
Purpose: obtain average segment density and total free energy of polymer network with nonlocal inter-segment interactions (using 4-chain model) in 2D
Contact: Pratik Khandagale (pkhandag@andrew.cmu.edu)
"""
#imports
from __future__ import print_function
from fenics import *
from ufl import *
fro... | 35.443538 | 925 | 0.594297 | 8,652 | 56,497 | 3.578363 | 0.052589 | 0.059916 | 0.021124 | 0.024645 | 0.813857 | 0.79677 | 0.769929 | 0.756008 | 0.747674 | 0.737242 | 0 | 0.041098 | 0.204099 | 56,497 | 1,593 | 926 | 35.465788 | 0.647423 | 0.203144 | 0 | 0.678526 | 0 | 0.002541 | 0.036324 | 0.002365 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017789 | false | 0 | 0.034308 | 0.005083 | 0.066074 | 0.069886 | 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 |
849a34ea7a8b9cec92a22de8754495b9d89211d7 | 6,351 | py | Python | tests/parsers/winreg_plugins/run.py | Defense-Cyber-Crime-Center/plaso | 4f3a85fbea10637c1cdbf0cde9fc539fdcea9c47 | [
"Apache-2.0"
] | 2 | 2016-02-18T12:46:29.000Z | 2022-03-13T03:04:59.000Z | tests/parsers/winreg_plugins/run.py | Defense-Cyber-Crime-Center/plaso | 4f3a85fbea10637c1cdbf0cde9fc539fdcea9c47 | [
"Apache-2.0"
] | null | null | null | tests/parsers/winreg_plugins/run.py | Defense-Cyber-Crime-Center/plaso | 4f3a85fbea10637c1cdbf0cde9fc539fdcea9c47 | [
"Apache-2.0"
] | 6 | 2016-12-18T08:05:36.000Z | 2021-04-06T14:19:11.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""Tests for the Run Windows Registry plugin."""
import unittest
from plaso.formatters import winreg as _ # pylint: disable=unused-import
from plaso.parsers.winreg_plugins import run
from tests.parsers.winreg_plugins import test_lib
class RunNtuserPlugintest(test_lib.Regi... | 38.490909 | 80 | 0.734058 | 800 | 6,351 | 5.59125 | 0.175 | 0.040241 | 0.046501 | 0.069752 | 0.882182 | 0.855578 | 0.848424 | 0.823161 | 0.811759 | 0.797451 | 0 | 0.036789 | 0.152574 | 6,351 | 164 | 81 | 38.72561 | 0.794314 | 0.198866 | 0 | 0.67033 | 0 | 0 | 0.14377 | 0.065895 | 0 | 0 | 0 | 0 | 0.186813 | 1 | 0.087912 | false | 0 | 0.043956 | 0 | 0.175824 | 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 |
849ad094c038970eb85fee42f96b69d38518c241 | 6,914 | py | Python | main.py | ysb06/boostcamp-p1-image | 031ec206e3fd67354eda297196e2b62fa1b60a0a | [
"MIT"
] | null | null | null | main.py | ysb06/boostcamp-p1-image | 031ec206e3fd67354eda297196e2b62fa1b60a0a | [
"MIT"
] | null | null | null | main.py | ysb06/boostcamp-p1-image | 031ec206e3fd67354eda297196e2b62fa1b60a0a | [
"MIT"
] | null | null | null | import random
import numpy as np
import torch
from torch import optim
from mask_detector.combined_predictor import Predictor_G1, Predictor_M2, Predictor_M3, Predictor_M4
from mask_detector.dataset import (DatasetType, generate_test_datasets,
generate_train_datasets)
from mask_detect... | 35.096447 | 105 | 0.728522 | 922 | 6,914 | 5.151844 | 0.139913 | 0.180632 | 0.071158 | 0.087579 | 0.818316 | 0.804842 | 0.797474 | 0.785684 | 0.775579 | 0.739789 | 0 | 0.025583 | 0.174573 | 6,914 | 196 | 106 | 35.27551 | 0.806729 | 0.095458 | 0 | 0.517731 | 0 | 0 | 0.042174 | 0.003368 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06383 | false | 0 | 0.06383 | 0 | 0.12766 | 0.028369 | 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 |
84bd48b4e1d18ac26a0e797bb30f628d5ef286b6 | 26 | py | Python | __init__.py | makikaka/covid19 | d0b028ef12b9da13d78490bacf4771d557148111 | [
"WTFPL"
] | null | null | null | __init__.py | makikaka/covid19 | d0b028ef12b9da13d78490bacf4771d557148111 | [
"WTFPL"
] | null | null | null | __init__.py | makikaka/covid19 | d0b028ef12b9da13d78490bacf4771d557148111 | [
"WTFPL"
] | null | null | null | import first_project.py
| 6.5 | 23 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 3 | 24 | 8.666667 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ca43835d4bc826606a9e0a7f61e34f4493d4914e | 163 | py | Python | delimitapp/views.py | fmariv/delimitapp | ac328c73dd249284cd1c9411e766cb39ab329de7 | [
"MIT"
] | null | null | null | delimitapp/views.py | fmariv/delimitapp | ac328c73dd249284cd1c9411e766cb39ab329de7 | [
"MIT"
] | null | null | null | delimitapp/views.py | fmariv/delimitapp | ac328c73dd249284cd1c9411e766cb39ab329de7 | [
"MIT"
] | null | null | null | # Create your views here.
from django.shortcuts import render, redirect
def index(request):
return render(request, '../../delimitapp/templates/index.html')
| 20.375 | 67 | 0.736196 | 20 | 163 | 6 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134969 | 163 | 7 | 68 | 23.285714 | 0.851064 | 0.141104 | 0 | 0 | 0 | 0 | 0.270073 | 0.270073 | 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 |
ca630d26d516b01f572de17de3e4e86fe1d04e8a | 132 | py | Python | test/test_seasonal_water_yield.py | phargogh/invest-natcap.invest-3 | ee96055a4fa034d9a95fa8ccc6259ab03264e6c1 | [
"BSD-3-Clause"
] | null | null | null | test/test_seasonal_water_yield.py | phargogh/invest-natcap.invest-3 | ee96055a4fa034d9a95fa8ccc6259ab03264e6c1 | [
"BSD-3-Clause"
] | null | null | null | test/test_seasonal_water_yield.py | phargogh/invest-natcap.invest-3 | ee96055a4fa034d9a95fa8ccc6259ab03264e6c1 | [
"BSD-3-Clause"
] | null | null | null | from invest_natcap.seasonal_water_yield import seasonal_water_yield
if __name__ == '__main__':
seasonal_water_yield.main()
| 26.4 | 68 | 0.795455 | 17 | 132 | 5.294118 | 0.588235 | 0.433333 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 132 | 4 | 69 | 33 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 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 |
04a58e97a12b9693b27bed2508d71cdbae657cc9 | 39 | py | Python | python/setup.py | szul/botbuilder-config | fb9381a06648c7697bf6cb2dc0a350598caaa076 | [
"MIT"
] | 1 | 2018-07-23T11:06:05.000Z | 2018-07-23T11:06:05.000Z | python/setup.py | szul/botbuilder-config | fb9381a06648c7697bf6cb2dc0a350598caaa076 | [
"MIT"
] | 9 | 2018-07-14T22:22:59.000Z | 2018-08-24T17:42:38.000Z | python/setup.py | szul/botbuilder-config | fb9381a06648c7697bf6cb2dc0a350598caaa076 | [
"MIT"
] | null | null | null | import os
from setuptools import setup
| 13 | 28 | 0.846154 | 6 | 39 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 2 | 29 | 19.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b6c2a170b00663354e9cf569b8cea9d3478d9716 | 10,566 | py | Python | src/models.py | akhilpandey95/scholarlyimpact | 215ae832c90f0564fa0301e4c3f1c99525617625 | [
"MIT"
] | null | null | null | src/models.py | akhilpandey95/scholarlyimpact | 215ae832c90f0564fa0301e4c3f1c99525617625 | [
"MIT"
] | 18 | 2020-02-20T23:40:26.000Z | 2020-10-20T04:05:43.000Z | src/models.py | akhilpandey95/scholarlyimpact | 215ae832c90f0564fa0301e4c3f1c99525617625 | [
"MIT"
] | null | null | null | # This Source Code Form is subject to the terms of the MIT
# License. If a copy of the same was not distributed with this
# file, You can obtain one at
# https://github.com/akhilpandey95/scholarlyimpact/blob/master/LICENSE.
import tensorflow.keras as keras
from tensorflow.keras import Model
from tensorflow.keras.layer... | 33.865385 | 136 | 0.602593 | 1,230 | 10,566 | 5.086179 | 0.155285 | 0.04172 | 0.05179 | 0.038043 | 0.892583 | 0.883632 | 0.870045 | 0.870045 | 0.870045 | 0.863012 | 0 | 0.016098 | 0.318001 | 10,566 | 311 | 137 | 33.974277 | 0.852068 | 0.457221 | 0 | 0.694444 | 0 | 0 | 0.046953 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.055556 | 0 | 0.263889 | 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 |
b6ce61ffa936b83f56a0eb7796b1c57d4620c96c | 32 | py | Python | commands/operations/__init__.py | evandrocoan/Javatar | b38d4f9d852565d6dcecb236386628b4e56d9d09 | [
"MIT"
] | 142 | 2015-01-11T19:43:17.000Z | 2021-11-15T11:44:56.000Z | commands/operations/__init__.py | evandroforks/Javatar | b38d4f9d852565d6dcecb236386628b4e56d9d09 | [
"MIT"
] | 46 | 2015-01-02T20:29:37.000Z | 2018-09-15T05:12:52.000Z | commands/operations/__init__.py | evandroforks/Javatar | b38d4f9d852565d6dcecb236386628b4e56d9d09 | [
"MIT"
] | 25 | 2015-01-16T01:33:39.000Z | 2022-01-07T11:12:43.000Z | from .organize_imports import *
| 16 | 31 | 0.8125 | 4 | 32 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b6f7ac43bd2831f951ec1d436acca6cfd55a4147 | 240 | py | Python | jterritory/exceptions/request.py | jameysharp/jterritory | b41e53ce04fe63db8a5943d2808e4fa9f9b15b32 | [
"Apache-2.0"
] | 5 | 2021-05-14T18:50:11.000Z | 2021-05-23T03:08:55.000Z | jterritory/exceptions/request.py | jameysharp/jterritory | b41e53ce04fe63db8a5943d2808e4fa9f9b15b32 | [
"Apache-2.0"
] | null | null | null | jterritory/exceptions/request.py | jameysharp/jterritory | b41e53ce04fe63db8a5943d2808e4fa9f9b15b32 | [
"Apache-2.0"
] | null | null | null | from __future__ import annotations
from . import RequestError
class UnknownCapability(RequestError):
pass
class NotJSON(RequestError):
pass
class NotRequest(RequestError):
pass
class Limit(RequestError):
limit: str
| 12 | 38 | 0.75 | 24 | 240 | 7.333333 | 0.5 | 0.272727 | 0.357955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191667 | 240 | 19 | 39 | 12.631579 | 0.907216 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.3 | 0.2 | 0 | 0.7 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
8e0ca5fbf1affbfc26bbeae7cc776e29130b9e64 | 11,349 | py | Python | tests/unit/facters/test_sitemap.py | scorphus/holmes-api | 6b3c76d4299fecf2d8799d7b5c3c6a6442cacd59 | [
"MIT"
] | null | null | null | tests/unit/facters/test_sitemap.py | scorphus/holmes-api | 6b3c76d4299fecf2d8799d7b5c3c6a6442cacd59 | [
"MIT"
] | null | null | null | tests/unit/facters/test_sitemap.py | scorphus/holmes-api | 6b3c76d4299fecf2d8799d7b5c3c6a6442cacd59 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
from mock import Mock, call
from preggy import expect
from holmes.config import Config
from holmes.reviewer import Reviewer
from holmes.facters.sitemap import SitemapFacter
from tests.unit.base import FacterTestCase
from tests.fixtures import PageFactory
class TestSitemapFa... | 38.212121 | 157 | 0.624813 | 1,419 | 11,349 | 4.832276 | 0.077519 | 0.087502 | 0.099752 | 0.075543 | 0.860289 | 0.843955 | 0.80735 | 0.782266 | 0.758203 | 0.696077 | 0 | 0.032584 | 0.223896 | 11,349 | 296 | 158 | 38.341216 | 0.745913 | 0.003348 | 0 | 0.574468 | 0 | 0 | 0.209921 | 0.026704 | 0 | 0 | 0 | 0 | 0.008511 | 1 | 0.042553 | false | 0 | 0.029787 | 0 | 0.076596 | 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 |
8e305bb6e28c73d6cdba83972d677f423496c38f | 27 | py | Python | test1.py | tjdbsrud/test | fabf74f1fa12ef9654101dd0fc6683e9b11c9c8a | [
"MIT"
] | null | null | null | test1.py | tjdbsrud/test | fabf74f1fa12ef9654101dd0fc6683e9b11c9c8a | [
"MIT"
] | null | null | null | test1.py | tjdbsrud/test | fabf74f1fa12ef9654101dd0fc6683e9b11c9c8a | [
"MIT"
] | null | null | null | print("This is really YK")
| 13.5 | 26 | 0.703704 | 5 | 27 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 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 |
f3cbc98c170a0654e554fcdf5cb2e1abffbfa3ef | 18,317 | py | Python | tests/test_status_checker.py | mbhall88/lsf | 3e179d02441f39dbffb601404708b6c4f9244d9e | [
"MIT"
] | 9 | 2019-08-08T09:34:36.000Z | 2020-07-15T09:19:23.000Z | tests/test_status_checker.py | mbhall88/lsf | 3e179d02441f39dbffb601404708b6c4f9244d9e | [
"MIT"
] | 19 | 2020-08-25T00:02:41.000Z | 2022-03-29T10:20:45.000Z | tests/test_status_checker.py | mbhall88/lsf | 3e179d02441f39dbffb601404708b6c4f9244d9e | [
"MIT"
] | 6 | 2020-11-10T23:56:17.000Z | 2022-03-15T10:28:55.000Z | import unittest
from subprocess import CalledProcessError
from unittest.mock import patch, call
from tests.src.OSLayer import OSLayer, TailError
from tests.src.lsf_status import (
StatusChecker,
BjobsError,
UNKNOWN,
ZOMBIE,
)
def assert_called_n_times_with_same_args(mock, n, args):
assert mock.ca... | 42.011468 | 88 | 0.696238 | 2,295 | 18,317 | 4.977342 | 0.064488 | 0.07091 | 0.088243 | 0.068546 | 0.925851 | 0.919286 | 0.906767 | 0.898188 | 0.864484 | 0.836033 | 0 | 0.017339 | 0.219141 | 18,317 | 435 | 89 | 42.108046 | 0.781305 | 0 | 0 | 0.658163 | 0 | 0 | 0.06999 | 0 | 0 | 0 | 0 | 0 | 0.168367 | 1 | 0.079082 | false | 0 | 0.012755 | 0 | 0.102041 | 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 |
6d1d3ba8210ad4937fe83f033fb1784b8849c0ba | 176 | py | Python | schemas.py | vnurhaqiqi/indonesian-text-summarization-fastapi | 7742555fd4afe90508280b9492eb876a357f342c | [
"MIT"
] | null | null | null | schemas.py | vnurhaqiqi/indonesian-text-summarization-fastapi | 7742555fd4afe90508280b9492eb876a357f342c | [
"MIT"
] | null | null | null | schemas.py | vnurhaqiqi/indonesian-text-summarization-fastapi | 7742555fd4afe90508280b9492eb876a357f342c | [
"MIT"
] | null | null | null | from pydantic import BaseModel
from typing import Optional
class Corpus(BaseModel):
text: str
num_words: Optional[int] = None
num_sentences: Optional[int] = None
| 19.555556 | 39 | 0.738636 | 23 | 176 | 5.565217 | 0.652174 | 0.171875 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193182 | 176 | 8 | 40 | 22 | 0.901408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 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 |
ed8e736948796c3bc2676eac20b82dff154d15a3 | 923 | py | Python | Tests/Plot/LamWind/__init__.py | IrakozeFD/pyleecan | 5a93bd98755d880176c1ce8ac90f36ca1b907055 | [
"Apache-2.0"
] | 95 | 2019-01-23T04:19:45.000Z | 2022-03-17T18:22:10.000Z | Tests/Plot/LamWind/__init__.py | IrakozeFD/pyleecan | 5a93bd98755d880176c1ce8ac90f36ca1b907055 | [
"Apache-2.0"
] | 366 | 2019-02-20T07:15:08.000Z | 2022-03-31T13:37:23.000Z | Tests/Plot/LamWind/__init__.py | IrakozeFD/pyleecan | 5a93bd98755d880176c1ce8ac90f36ca1b907055 | [
"Apache-2.0"
] | 74 | 2019-01-24T01:47:31.000Z | 2022-02-25T05:44:42.000Z | # -*- coding: utf-8 -*-
from numpy import zeros, array
# User defined winding matrix for plot test (Nrad=2, Ntan=2)
wind_mat = zeros((2, 2, 6, 4)) # Nrad, Ntan, Zs, qs
wind_mat[0, 0, :, :] = array(
[[1, 0, 1, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, -1, -1, 0], [0, -1, 0, 0, 0, 1]]
).T
wind_mat[1, 0, :, :] = arr... | 28.84375 | 87 | 0.404117 | 208 | 923 | 1.754808 | 0.144231 | 0.361644 | 0.336986 | 0.284932 | 0.493151 | 0.424658 | 0.413699 | 0.364384 | 0.309589 | 0.221918 | 0 | 0.233728 | 0.267606 | 923 | 31 | 88 | 29.774194 | 0.306213 | 0.127844 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.047619 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
edb8a8b13cd64f1d686aff3cb249685039d73c20 | 44,023 | py | Python | examples/plotter.py | Guo-Jian-Wang/cmbNNCS | cd55e0a2344aa5182d099cf559bc986ae0351cb7 | [
"MIT"
] | null | null | null | examples/plotter.py | Guo-Jian-Wang/cmbNNCS | cd55e0a2344aa5182d099cf559bc986ae0351cb7 | [
"MIT"
] | null | null | null | examples/plotter.py | Guo-Jian-Wang/cmbNNCS | cd55e0a2344aa5182d099cf559bc986ae0351cb7 | [
"MIT"
] | null | null | null | import sys
sys.path.append('..')
sys.path.append('../..')
sys.path.append('../../..')
import coplot.plots as pl
import coplot.plot_settings as pls
import cmbnncs.simulator as simulator
import cmbnncs.utils as utils
import cmbnncs.spherical as spherical
import loader
import numpy as np
import matplotlib.pyplot as plt
im... | 43.287119 | 188 | 0.595416 | 6,731 | 44,023 | 3.685931 | 0.072352 | 0.007416 | 0.006771 | 0.014027 | 0.80133 | 0.765256 | 0.74603 | 0.729504 | 0.721 | 0.69738 | 0 | 0.034761 | 0.268769 | 44,023 | 1,016 | 189 | 43.329724 | 0.735951 | 0.092611 | 0 | 0.645833 | 0 | 0 | 0.05712 | 0.02365 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088542 | false | 0 | 0.018229 | 0.015625 | 0.177083 | 0.007813 | 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 |
edd26f5f903907de0efc4ffb5d58429d869980dd | 119 | py | Python | example/test_gcd.py | terencehonles/pyannotate | cbc58558a94f89aa4cbe289e5f11ffed123406f4 | [
"Apache-2.0"
] | 1,363 | 2017-11-13T23:46:52.000Z | 2022-03-31T17:23:58.000Z | example/test_gcd.py | terencehonles/pyannotate | cbc58558a94f89aa4cbe289e5f11ffed123406f4 | [
"Apache-2.0"
] | 91 | 2017-11-14T18:48:00.000Z | 2022-03-10T09:21:27.000Z | example/test_gcd.py | terencehonles/pyannotate | cbc58558a94f89aa4cbe289e5f11ffed123406f4 | [
"Apache-2.0"
] | 65 | 2017-11-16T05:38:02.000Z | 2022-02-11T15:38:21.000Z | # Tests for gcd function.
from gcd import gcd
def test_gcd():
assert gcd(5, 10) == 5
assert gcd(12, 45) == 3
| 14.875 | 27 | 0.613445 | 21 | 119 | 3.428571 | 0.666667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 0.260504 | 119 | 7 | 28 | 17 | 0.715909 | 0.193277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
612d91b8add5537e149f5a086c8cace5b256cb99 | 93 | py | Python | res/scripts/client/gui/mods/mod_ScoreViewTools.py | JoshuaEN/World-of-Tanks-ScoreViewTools-Data-Export-Mods | fb424b5bfa3a1e212ef39805f9b3afb750cec82f | [
"MIT"
] | null | null | null | res/scripts/client/gui/mods/mod_ScoreViewTools.py | JoshuaEN/World-of-Tanks-ScoreViewTools-Data-Export-Mods | fb424b5bfa3a1e212ef39805f9b3afb750cec82f | [
"MIT"
] | null | null | null | res/scripts/client/gui/mods/mod_ScoreViewTools.py | JoshuaEN/World-of-Tanks-ScoreViewTools-Data-Export-Mods | fb424b5bfa3a1e212ef39805f9b3afb750cec82f | [
"MIT"
] | null | null | null | import ScoreViewTools
import ScoreViewTools_Init
print "SVT Loaded!"
def init():
pass
| 11.625 | 26 | 0.752688 | 11 | 93 | 6.272727 | 0.727273 | 0.57971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182796 | 93 | 7 | 27 | 13.285714 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.2 | 0.4 | null | null | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
b61646078ecd31e5c32fc86639d3475556ae9c0e | 28 | py | Python | mesh/__init__.py | ThierryBleau/mesh-python-client | 9193cf6952ad4a3bc72ed778e549909e5687f238 | [
"BSD-3-Clause"
] | null | null | null | mesh/__init__.py | ThierryBleau/mesh-python-client | 9193cf6952ad4a3bc72ed778e549909e5687f238 | [
"BSD-3-Clause"
] | null | null | null | mesh/__init__.py | ThierryBleau/mesh-python-client | 9193cf6952ad4a3bc72ed778e549909e5687f238 | [
"BSD-3-Clause"
] | null | null | null | from .mesh import MeshClient | 28 | 28 | 0.857143 | 4 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 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 |
b62cf581de0c5248442058189e2514f2f4b7cf9e | 151 | py | Python | mmdeploy/codebase/mmdet/core/post_processing/__init__.py | aegis-rider/mmdeploy | 230596bad92fafadb36cf0a69c57d80522cc7c60 | [
"Apache-2.0"
] | 746 | 2021-12-27T10:50:28.000Z | 2022-03-31T13:34:14.000Z | mmdeploy/codebase/mmdet/core/post_processing/__init__.py | aegis-rider/mmdeploy | 230596bad92fafadb36cf0a69c57d80522cc7c60 | [
"Apache-2.0"
] | 253 | 2021-12-28T05:59:13.000Z | 2022-03-31T18:22:25.000Z | mmdeploy/codebase/mmdet/core/post_processing/__init__.py | aegis-rider/mmdeploy | 230596bad92fafadb36cf0a69c57d80522cc7c60 | [
"Apache-2.0"
] | 147 | 2021-12-27T10:50:33.000Z | 2022-03-30T10:44:20.000Z | # Copyright (c) OpenMMLab. All rights reserved.
from .bbox_nms import _multiclass_nms, multiclass_nms
__all__ = ['multiclass_nms', '_multiclass_nms']
| 30.2 | 53 | 0.788079 | 19 | 151 | 5.684211 | 0.578947 | 0.481481 | 0.425926 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112583 | 151 | 4 | 54 | 37.75 | 0.80597 | 0.298013 | 0 | 0 | 0 | 0 | 0.278846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1e52edc05cdf68e3a48c5b0d9fd7df5a948f4723 | 28,174 | py | Python | test/core/gen/test_gen.py | bcdev/xcube | 9d275ef3baef8fbcea5c1fbbfb84c3d0164aecd3 | [
"MIT"
] | 97 | 2018-06-26T13:02:55.000Z | 2022-03-26T21:03:13.000Z | test/core/gen/test_gen.py | bcdev/xcube | 9d275ef3baef8fbcea5c1fbbfb84c3d0164aecd3 | [
"MIT"
] | 524 | 2018-11-09T12:00:08.000Z | 2022-03-31T17:00:13.000Z | test/core/gen/test_gen.py | bcdev/xcube | 9d275ef3baef8fbcea5c1fbbfb84c3d0164aecd3 | [
"MIT"
] | 15 | 2019-07-09T08:46:03.000Z | 2022-02-07T18:47:34.000Z | import os
import unittest
from typing import Any, Dict, Optional, Sequence, Tuple
import numpy as np
import xarray as xr
from test.core.gen.helpers import get_inputdata_path
from xcube.core.dsio import rimraf
from xcube.core.gen.config import get_config_dict
from xcube.core.gen.gen import gen_cube
def clean_up():
... | 61.649891 | 118 | 0.582097 | 3,437 | 28,174 | 4.523713 | 0.079139 | 0.033188 | 0.04425 | 0.040455 | 0.833355 | 0.810844 | 0.778364 | 0.770903 | 0.764857 | 0.754438 | 0 | 0.105314 | 0.299319 | 28,174 | 456 | 119 | 61.785088 | 0.682286 | 0.002627 | 0 | 0.625592 | 0 | 0.094787 | 0.26227 | 0.132719 | 0 | 0 | 0 | 0 | 0.248815 | 1 | 0.049763 | false | 0 | 0.021327 | 0 | 0.075829 | 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 |
1e597eeef2253c62865af1f6c60eb132aca49b67 | 80 | py | Python | voc_xml/__init__.py | JasonDoingGreat/voc_xml | 3972cab23bb130a4992479898478ec82eecd95ef | [
"MIT"
] | null | null | null | voc_xml/__init__.py | JasonDoingGreat/voc_xml | 3972cab23bb130a4992479898478ec82eecd95ef | [
"MIT"
] | null | null | null | voc_xml/__init__.py | JasonDoingGreat/voc_xml | 3972cab23bb130a4992479898478ec82eecd95ef | [
"MIT"
] | null | null | null | from .gen_label_file import gen_labels
from .insert_labels import insert_labels
| 26.666667 | 40 | 0.875 | 13 | 80 | 5 | 0.538462 | 0.369231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 2 | 41 | 40 | 0.902778 | 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 |
1e6863abec24014d76854c495d8427471678d43d | 188 | py | Python | fizzbuzz.py | james-prior/dojo-20180118-tdd-practice-jessie-fizzbuzz | 8ba5774b24d04212d004faaef567a0aa8b0a971f | [
"MIT"
] | null | null | null | fizzbuzz.py | james-prior/dojo-20180118-tdd-practice-jessie-fizzbuzz | 8ba5774b24d04212d004faaef567a0aa8b0a971f | [
"MIT"
] | null | null | null | fizzbuzz.py | james-prior/dojo-20180118-tdd-practice-jessie-fizzbuzz | 8ba5774b24d04212d004faaef567a0aa8b0a971f | [
"MIT"
] | null | null | null | class Fizzbuzz:
def __init__(self, max_number):
self.max_number = max_number
def all(self):
if self.max_number == 1:
return (1,)
return (1, 2)
| 20.888889 | 36 | 0.553191 | 25 | 188 | 3.84 | 0.48 | 0.375 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.340426 | 188 | 8 | 37 | 23.5 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.714286 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
1e70fed889e9fc1db45a0ff61368f9c216443670 | 140 | py | Python | pystibmivb/service/__init__.py | danito/pystibmivb-1 | e14f9b7b0c6c5578003d354b81542da586c27d29 | [
"CC-BY-4.0"
] | null | null | null | pystibmivb/service/__init__.py | danito/pystibmivb-1 | e14f9b7b0c6c5578003d354b81542da586c27d29 | [
"CC-BY-4.0"
] | null | null | null | pystibmivb/service/__init__.py | danito/pystibmivb-1 | e14f9b7b0c6c5578003d354b81542da586c27d29 | [
"CC-BY-4.0"
] | null | null | null | from .STIBService import STIBService, InvalidLineFilterException, NoScheduleFromAPIException
from .ShapefileService import ShapefileService
| 46.666667 | 92 | 0.9 | 10 | 140 | 12.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 140 | 2 | 93 | 70 | 0.969231 | 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 |
1e92fc11823ccc3a96d9bcda92b2e4080abb687d | 9,733 | py | Python | src/draw_plots.py | Adeon18/AlgorithmEfficiencyComparison | d905595098239847003432e567ad7bd8d1edd7b6 | [
"MIT"
] | null | null | null | src/draw_plots.py | Adeon18/AlgorithmEfficiencyComparison | d905595098239847003432e567ad7bd8d1edd7b6 | [
"MIT"
] | null | null | null | src/draw_plots.py | Adeon18/AlgorithmEfficiencyComparison | d905595098239847003432e567ad7bd8d1edd7b6 | [
"MIT"
] | null | null | null | """
This module draws plots using the data from the final_results.json file.
Basically a bunch of hardcoded plots - bad code warning!!!!
"""
import json
import matplotlib.pyplot as plt
plt.rcParams.update({'font.size': 22})
def read_json(path):
"""
Read the json file from the path and turn it into dict.
... | 36.453184 | 95 | 0.66105 | 1,423 | 9,733 | 4.32045 | 0.080112 | 0.070267 | 0.062459 | 0.083279 | 0.937541 | 0.889232 | 0.827424 | 0.805303 | 0.805303 | 0.805303 | 0 | 0.028206 | 0.173122 | 9,733 | 267 | 96 | 36.453184 | 0.735711 | 0.0674 | 0 | 0.632768 | 0 | 0 | 0.221279 | 0.010271 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033898 | false | 0 | 0.011299 | 0 | 0.050847 | 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 |
94da728e2099f522d30d80fb79a178704bfdc1e5 | 95 | py | Python | ds_util/__init__.py | airportpeople/dstools | 00207fa8edd8695b308c4b4a6e022176357b1c83 | [
"MIT"
] | null | null | null | ds_util/__init__.py | airportpeople/dstools | 00207fa8edd8695b308c4b4a6e022176357b1c83 | [
"MIT"
] | null | null | null | ds_util/__init__.py | airportpeople/dstools | 00207fa8edd8695b308c4b4a6e022176357b1c83 | [
"MIT"
] | null | null | null | from ._data_eng import *
from ._pysup import *
from ._segment import *
from ._requests import * | 23.75 | 24 | 0.757895 | 13 | 95 | 5.153846 | 0.538462 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 4 | 25 | 23.75 | 0.8375 | 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 |
a21621ddaef19f762cf23bbddd288eab757fe2d8 | 23,196 | py | Python | fbpic/boundaries/field_buffer_handling.py | lauridsj/fbpic | f253ab8814748ea9a703f4dff2ccf743729c35ef | [
"BSD-3-Clause-LBNL"
] | 2 | 2020-11-21T07:39:05.000Z | 2020-11-21T14:00:32.000Z | fbpic/boundaries/field_buffer_handling.py | lauridsj/fbpic | f253ab8814748ea9a703f4dff2ccf743729c35ef | [
"BSD-3-Clause-LBNL"
] | null | null | null | fbpic/boundaries/field_buffer_handling.py | lauridsj/fbpic | f253ab8814748ea9a703f4dff2ccf743729c35ef | [
"BSD-3-Clause-LBNL"
] | null | null | null | # Copyright 2016, FBPIC contributors
# Authors: Remi Lehe, Manuel Kirchen
# License: 3-Clause-BSD-LBNL
"""
This file is part of the Fourier-Bessel Particle-In-Cell code (FB-PIC)
It defines the structure necessary to handle mpi buffers for the fields
"""
import numpy as np
# Check if CUDA is available, then import CUDA ... | 46.207171 | 82 | 0.506725 | 3,021 | 23,196 | 3.681893 | 0.084078 | 0.036501 | 0.023285 | 0.030208 | 0.847523 | 0.821811 | 0.812281 | 0.805538 | 0.795739 | 0.777308 | 0 | 0.013492 | 0.405673 | 23,196 | 501 | 83 | 46.299401 | 0.793341 | 0.293973 | 0 | 0.638376 | 0 | 0 | 0.011637 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01107 | false | 0 | 0.01476 | 0 | 0.02952 | 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 |
a2255d4e5465ab92063c784cba4c5bbd008fde3e | 132 | py | Python | app/config/settings.py | SLB974/GrandPyBot-dev | 7a0268d4ffa58c37eed37253c6afb00874dbabe4 | [
"MIT"
] | null | null | null | app/config/settings.py | SLB974/GrandPyBot-dev | 7a0268d4ffa58c37eed37253c6afb00874dbabe4 | [
"MIT"
] | null | null | null | app/config/settings.py | SLB974/GrandPyBot-dev | 7a0268d4ffa58c37eed37253c6afb00874dbabe4 | [
"MIT"
] | null | null | null | from decouple import config
GOOGLE_API_KEY = config("GOOGLE_API_KEY")
FLASK_DEBUG = config("FLASK_DEBUG", default=True, cast=bool)
| 26.4 | 60 | 0.795455 | 20 | 132 | 4.95 | 0.65 | 0.242424 | 0.30303 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098485 | 132 | 4 | 61 | 33 | 0.831933 | 0 | 0 | 0 | 0 | 0 | 0.189394 | 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 |
bf40a7b284f1a558500a7aaf7953f012d2934715 | 3,573 | py | Python | tests/test_quests/test_monster.py | Xelaadryth/Xelabot | 89c1833a4d357d185ee96538e71fbd883d437227 | [
"MIT"
] | 1 | 2017-02-16T15:35:01.000Z | 2017-02-16T15:35:01.000Z | tests/test_quests/test_monster.py | xelaadryth/Xelabot | 89c1833a4d357d185ee96538e71fbd883d437227 | [
"MIT"
] | null | null | null | tests/test_quests/test_monster.py | xelaadryth/Xelabot | 89c1833a4d357d185ee96538e71fbd883d437227 | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import patch
from quest.quests import monster
import settings
from tests.test_quests.base_class import TestBase
class TestMonster(TestBase):
quest_constructor = monster.Monster
num_start_players = 1
def test_timeout(self):
self.quest_manager.start_quest(self.qu... | 44.111111 | 119 | 0.735236 | 466 | 3,573 | 5.349785 | 0.143777 | 0.079422 | 0.09627 | 0.140393 | 0.815483 | 0.815483 | 0.815483 | 0.815483 | 0.79984 | 0.781789 | 0 | 0.008364 | 0.163448 | 3,573 | 80 | 120 | 44.6625 | 0.825694 | 0.019312 | 0 | 0.351852 | 0 | 0 | 0.055397 | 0.042262 | 0 | 0 | 0 | 0 | 0.259259 | 1 | 0.12963 | false | 0 | 0.092593 | 0 | 0.277778 | 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 |
bf573aaeb708df700e59eff31afd6777a2a2da17 | 30 | py | Python | app/__init__.py | iliadmitriev/auth-api | efa885b0054a3b3c6394d692a9655614652da147 | [
"MIT"
] | 3 | 2021-12-26T00:24:22.000Z | 2022-03-24T05:05:34.000Z | app/__init__.py | iliadmitriev/auth-api | efa885b0054a3b3c6394d692a9655614652da147 | [
"MIT"
] | 113 | 2021-08-19T11:57:49.000Z | 2022-03-31T17:24:49.000Z | app/__init__.py | iliadmitriev/auth-api | efa885b0054a3b3c6394d692a9655614652da147 | [
"MIT"
] | 1 | 2021-11-16T16:00:51.000Z | 2021-11-16T16:00:51.000Z | from app.auth import init_app
| 15 | 29 | 0.833333 | 6 | 30 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bf5f3eeecac67935210bfc52ae1f992428c9fa56 | 2,169 | py | Python | whats_in_the_cupboard/search/sample_data/__init__.py | brandonholderman/whats_in_the_cupboard | 8f8b0abe8b94547fa488db689261a4f475a24779 | [
"MIT"
] | null | null | null | whats_in_the_cupboard/search/sample_data/__init__.py | brandonholderman/whats_in_the_cupboard | 8f8b0abe8b94547fa488db689261a4f475a24779 | [
"MIT"
] | 10 | 2020-02-11T23:36:20.000Z | 2022-03-11T23:57:52.000Z | whats_in_the_cupboard/search/sample_data/__init__.py | brandonholderman/whats_in_the_cupboard | 8f8b0abe8b94547fa488db689261a4f475a24779 | [
"MIT"
] | null | null | null | MOCK_DATA = [{
"id": "1",
"label": "Chicken and Avocado Salad",
"favorites": True,
"image_url": "static/assets/img/chicken_salad.png",
"directions_url": "2014-01-22",
"ingredients": ["Chicken", "Avocado", "Lettuce", "Beans", "Corn", "Lemon", "Olive Oil"],
"calories": 120.0,
},
{
... | 38.052632 | 96 | 0.569387 | 226 | 2,169 | 5.380531 | 0.176991 | 0.108553 | 0.074013 | 0.108553 | 0.980263 | 0.980263 | 0.980263 | 0.980263 | 0.980263 | 0.980263 | 0 | 0.022606 | 0.224988 | 2,169 | 56 | 97 | 38.732143 | 0.700773 | 0 | 0 | 0.636364 | 0 | 0 | 0.586906 | 0.096819 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
bf8ddcaf693d215dc06a19d87c8273e707b8f05b | 1,451 | py | Python | evasao/Rewards.py | lmlima/DropoutRL | 00db2e901c320cf12c60c5039561999d45591bd1 | [
"BSD-3-Clause"
] | null | null | null | evasao/Rewards.py | lmlima/DropoutRL | 00db2e901c320cf12c60c5039561999d45591bd1 | [
"BSD-3-Clause"
] | null | null | null | evasao/Rewards.py | lmlima/DropoutRL | 00db2e901c320cf12c60c5039561999d45591bd1 | [
"BSD-3-Clause"
] | null | null | null | class SparsePReward:
"""
SparsePReward
Recompensa esparsa com retorno apenas positivo, depende apenas do estado atual.
Retorna 1.0 no último estado do episódio, caso o aluno tenha concluido o curso;
Retorna 0.0 para todos os demais estados.
"""
@staticmethod
def reward... | 33.744186 | 114 | 0.636802 | 199 | 1,451 | 4.482412 | 0.286432 | 0.110987 | 0.044843 | 0.078475 | 0.779148 | 0.779148 | 0.752242 | 0.752242 | 0.752242 | 0.713004 | 0 | 0.020794 | 0.270848 | 1,451 | 42 | 115 | 34.547619 | 0.822306 | 0.375603 | 0 | 0.631579 | 0 | 0 | 0.098644 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 1 | 0.105263 | false | 0 | 0 | 0 | 0.473684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bfa9c93763a00161c8d74e93e3a6113f9f7c2ef1 | 59 | py | Python | py_tdlib/constructors/log_out.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/log_out.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/log_out.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Method
class logOut(Method):
pass
| 9.833333 | 28 | 0.745763 | 8 | 59 | 5.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 59 | 5 | 29 | 11.8 | 0.897959 | 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 |
44a00d5d8c0a542ddad8e1067e8c9698446439b3 | 110,808 | py | Python | gs1/constants/ai_table.py | TrustCodes/gs1-compression | 74c20141ab57025bda21092fbfaa922f8ca0a7ec | [
"Apache-2.0"
] | 3 | 2021-03-11T23:35:21.000Z | 2021-08-04T04:16:12.000Z | gs1/constants/ai_table.py | TrustCodes/gs1-compression | 74c20141ab57025bda21092fbfaa922f8ca0a7ec | [
"Apache-2.0"
] | null | null | null | gs1/constants/ai_table.py | TrustCodes/gs1-compression | 74c20141ab57025bda21092fbfaa922f8ca0a7ec | [
"Apache-2.0"
] | null | null | null | """list of all GS1 Application Identifiers as defined in
GS1 General Specifications v18."""
import re
AI_TABLE = [{"title": "Serial Shipping Container Code (SSCC) ", "label": "SSCC",
"shortcode": "sscc", "ai": "00", "format": "N18", "type": "I",
"fixedLength": True, "checkDigit": "L", "regex... | 70.354286 | 121 | 0.464317 | 11,954 | 110,808 | 4.296052 | 0.072528 | 0.044494 | 0.14207 | 0.134359 | 0.866556 | 0.858397 | 0.851913 | 0.846675 | 0.840152 | 0.836316 | 0 | 0.059179 | 0.282958 | 110,808 | 1,574 | 122 | 70.398983 | 0.58717 | 0.000884 | 0 | 0.566366 | 0 | 0.045747 | 0.529711 | 0.046695 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003222 | false | 0 | 0.000644 | 0.001933 | 0.007088 | 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 |
44ad3cb9ea4912758e3487784da6f1dd05117bfa | 29 | py | Python | pytclfirmware/__init__.py | mpata/pytclfirmware | 841d982e5ad93df51e05cec69fd31c4c7ce7ac2f | [
"BSD-2-Clause"
] | 1 | 2021-03-16T15:29:51.000Z | 2021-03-16T15:29:51.000Z | pytclfirmware/__init__.py | mpata/pytclfirmware | 841d982e5ad93df51e05cec69fd31c4c7ce7ac2f | [
"BSD-2-Clause"
] | null | null | null | pytclfirmware/__init__.py | mpata/pytclfirmware | 841d982e5ad93df51e05cec69fd31c4c7ce7ac2f | [
"BSD-2-Clause"
] | null | null | null | from tclfirmware import main
| 14.5 | 28 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
44c2c4ef85e25643833660798c47e43ee5df00f2 | 109 | py | Python | descqa/__init__.py | adam-broussard/descqa | d9681bd393553c31882ec7e28e6c1c7b6e482dd3 | [
"BSD-3-Clause"
] | 4 | 2017-11-14T03:33:57.000Z | 2021-06-05T16:35:40.000Z | descqa/__init__.py | adam-broussard/descqa | d9681bd393553c31882ec7e28e6c1c7b6e482dd3 | [
"BSD-3-Clause"
] | 136 | 2017-11-06T16:02:58.000Z | 2021-11-11T18:20:23.000Z | descqa/__init__.py | adam-broussard/descqa | d9681bd393553c31882ec7e28e6c1c7b6e482dd3 | [
"BSD-3-Clause"
] | 31 | 2017-11-06T19:55:35.000Z | 2020-12-15T13:53:53.000Z | """
DESCQA Validation Tests
"""
from .register import *
from .base import *
from .version import __version__
| 15.571429 | 32 | 0.743119 | 13 | 109 | 5.923077 | 0.615385 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155963 | 109 | 6 | 33 | 18.166667 | 0.836957 | 0.211009 | 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 |
44d76c61902075027e29fe1b55566d8ca3de6379 | 340 | py | Python | challenges/fifo-animal-shelter-dir/conftest.py | tyler-fishbone/data-structures-and-algorithms | 29790f2672d3ddb0aadf62725f28180b092f4568 | [
"MIT"
] | null | null | null | challenges/fifo-animal-shelter-dir/conftest.py | tyler-fishbone/data-structures-and-algorithms | 29790f2672d3ddb0aadf62725f28180b092f4568 | [
"MIT"
] | 4 | 2018-03-22T19:19:11.000Z | 2018-04-11T00:35:26.000Z | challenges/fifo-animal-shelter-dir/conftest.py | tyler-fishbone/data-structures-and-algorithms | 29790f2672d3ddb0aadf62725f28180b092f4568 | [
"MIT"
] | null | null | null | import pytest
# from node import Node
from fifo_animal_shelter import AnimalShelter
@pytest.fixture
def three_cats_two_dogs_queue():
return AnimalShelter(['cat', 'dog', 'dog', 'cat', 'dog'])
@pytest.fixture
def empty_shelter_queue():
return AnimalShelter([])
@pytest.fixture
def one_cat_queue():
return An... | 22.666667 | 61 | 0.741176 | 44 | 340 | 5.5 | 0.454545 | 0.161157 | 0.198347 | 0.239669 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 340 | 15 | 62 | 22.666667 | 0.817568 | 0.061765 | 0 | 0.272727 | 0 | 0 | 0.056604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | true | 0 | 0.181818 | 0.272727 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
44e913cdc095b3c4ab58bb273e5d7b2a919819af | 15,328 | py | Python | monitor_provider/app.py | bento-dbaas/monitor-provider | 247a26c3c1c5795d94ef203662c404d45274ea7a | [
"BSD-3-Clause"
] | null | null | null | monitor_provider/app.py | bento-dbaas/monitor-provider | 247a26c3c1c5795d94ef203662c404d45274ea7a | [
"BSD-3-Clause"
] | 4 | 2021-08-31T13:08:16.000Z | 2022-03-04T17:15:23.000Z | monitor_provider/app.py | bento-dbaas/monitor-provider | 247a26c3c1c5795d94ef203662c404d45274ea7a | [
"BSD-3-Clause"
] | null | null | null | import logging
import json
from bson import json_util
from traceback import print_exc
from flask import Flask, request, jsonify, make_response
from flask_httpauth import HTTPBasicAuth
from mongoengine import connect
from monitor_provider.providers.constants import VALID_DBMS
from monitor_provider.providers import get_p... | 31.091278 | 81 | 0.70257 | 1,932 | 15,328 | 5.29089 | 0.065735 | 0.093915 | 0.064567 | 0.079437 | 0.812855 | 0.789865 | 0.774799 | 0.768343 | 0.713168 | 0.670906 | 0 | 0.001447 | 0.188674 | 15,328 | 492 | 82 | 31.154472 | 0.820521 | 0.004371 | 0 | 0.646489 | 0 | 0.002421 | 0.121592 | 0.100944 | 0 | 0 | 0 | 0.002033 | 0 | 1 | 0.077482 | false | 0.009685 | 0.024213 | 0.007264 | 0.27845 | 0.062954 | 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 |
7847458e3464dc1457d950b5e42bda20b8cf9493 | 98 | py | Python | mock applications/mock/mock/ecom/admin.py | SuryaVamsiKrishna/Inner-Pieces | deb9e83af891dac58966230446a5a32fe10e86f2 | [
"MIT"
] | 1 | 2021-02-17T06:06:50.000Z | 2021-02-17T06:06:50.000Z | mock applications/mock/mock/ecom/admin.py | SuryaVamsiKrishna/Inner-Pieces | deb9e83af891dac58966230446a5a32fe10e86f2 | [
"MIT"
] | null | null | null | mock applications/mock/mock/ecom/admin.py | SuryaVamsiKrishna/Inner-Pieces | deb9e83af891dac58966230446a5a32fe10e86f2 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import User_info
admin.site.register(User_info)
| 12.25 | 32 | 0.806122 | 15 | 98 | 5.133333 | 0.666667 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 98 | 7 | 33 | 14 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
788a17b872f97d4b8b49d8c263387fbdbffc3643 | 44 | py | Python | dataloader/__init__.py | lucamocerino/Binary-Neural-Networks-PyTorch-1.0 | aa62f5449e4f64bc821aea4d9921572e8dca8037 | [
"MIT"
] | 22 | 2020-09-15T12:59:49.000Z | 2022-02-12T15:56:32.000Z | dataloader/__init__.py | lucamocerino/Binary-Neural-Networks-PyTorch-1.0 | aa62f5449e4f64bc821aea4d9921572e8dca8037 | [
"MIT"
] | 3 | 2021-08-07T15:50:13.000Z | 2022-01-27T09:46:19.000Z | dataloader/__init__.py | lucamocerino/Binary-Neural-Networks-PyTorch-1.0 | aa62f5449e4f64bc821aea4d9921572e8dca8037 | [
"MIT"
] | 2 | 2021-07-19T06:34:55.000Z | 2022-03-22T18:06:03.000Z | from .cifar10 import *
from .mnist import *
| 14.666667 | 22 | 0.727273 | 6 | 44 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.181818 | 44 | 2 | 23 | 22 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15a7ac3cb0ee6367aa863bd5bc307604fa12b7cc | 81 | py | Python | pyinpoly/__init__.py | mvonlanthen/pyinpoly | 32d71af9f22366d49edf1ffc8c164434ca734623 | [
"MIT"
] | null | null | null | pyinpoly/__init__.py | mvonlanthen/pyinpoly | 32d71af9f22366d49edf1ffc8c164434ca734623 | [
"MIT"
] | null | null | null | pyinpoly/__init__.py | mvonlanthen/pyinpoly | 32d71af9f22366d49edf1ffc8c164434ca734623 | [
"MIT"
] | null | null | null | from .py_core import pts_in_polygon, pts_in_polygon_py
# from .rs_core import *
| 20.25 | 54 | 0.802469 | 15 | 81 | 3.866667 | 0.533333 | 0.344828 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 81 | 3 | 55 | 27 | 0.828571 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ec64cbb7a6059fc6411f009a12371dd6dc7a19b5 | 134 | py | Python | rubin_sim/maf/maps/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | rubin_sim/maf/maps/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | rubin_sim/maf/maps/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | from .baseMap import *
from .dustMap import *
from .galCoordsMap import *
from .stellarDensityMap import *
from .trilegalMap import *
| 22.333333 | 32 | 0.776119 | 15 | 134 | 6.933333 | 0.466667 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 134 | 5 | 33 | 26.8 | 0.912281 | 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 |
01c23c34ab59b0b4f5dbb504a8616f8adb0b484b | 2,682 | py | Python | tests/unit/converters/test_defaults_converters.py | FlyingBird95/openapi_generator | df4649b9723eb89fa370b02220356b7596794069 | [
"MIT"
] | 3 | 2022-01-10T12:43:36.000Z | 2022-01-13T18:08:15.000Z | tests/unit/converters/test_defaults_converters.py | FlyingBird95/openapi_generator | df4649b9723eb89fa370b02220356b7596794069 | [
"MIT"
] | 6 | 2022-02-06T19:00:05.000Z | 2022-03-22T14:22:21.000Z | tests/unit/converters/test_defaults_converters.py | FlyingBird95/openapi-builder | df4649b9723eb89fa370b02220356b7596794069 | [
"MIT"
] | 2 | 2021-12-17T17:26:06.000Z | 2021-12-17T17:39:00.000Z | import enum
import pytest
from marshmallow import fields
@pytest.mark.parametrize(
"marshmallow_fields",
[
{"field": fields.String(dump_default="abc")},
{"field": fields.String(load_default="abc")},
],
)
@pytest.mark.usefixtures("get_with_marshmallow_schema")
def test_vanilla_converter(ht... | 36.243243 | 88 | 0.738628 | 285 | 2,682 | 6.663158 | 0.154386 | 0.052659 | 0.094787 | 0.126382 | 0.875197 | 0.875197 | 0.875197 | 0.849394 | 0.849394 | 0.767246 | 0 | 0 | 0.10701 | 2,682 | 73 | 89 | 36.739726 | 0.792902 | 0 | 0 | 0.490909 | 0 | 0 | 0.284489 | 0.102535 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.090909 | false | 0 | 0.054545 | 0 | 0.2 | 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 |
01d0a30188cb6c88d7f05715ea2d1544aeb02a64 | 106 | py | Python | django-like/app_one/views.py | mirokrastev/flask-structures | fb7ad464c3df85be2e66229b2fd99a8da903b3c9 | [
"MIT"
] | 1 | 2021-05-06T09:04:36.000Z | 2021-05-06T09:04:36.000Z | django-like/app_one/views.py | mirokrastev/flask-structures | fb7ad464c3df85be2e66229b2fd99a8da903b3c9 | [
"MIT"
] | null | null | null | django-like/app_one/views.py | mirokrastev/flask-structures | fb7ad464c3df85be2e66229b2fd99a8da903b3c9 | [
"MIT"
] | null | null | null | def app_one_index():
return 'App One Index works!'
def main_index():
return 'Main Index works!'
| 15.142857 | 33 | 0.669811 | 16 | 106 | 4.25 | 0.4375 | 0.176471 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216981 | 106 | 6 | 34 | 17.666667 | 0.819277 | 0 | 0 | 0 | 0 | 0 | 0.349057 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
01d36f3f09bd6ccb3209827e385ae45a8eb0b3bd | 263 | py | Python | waves_litecoin_gateway/test/__init__.py | jansenmarc/WavesGatewayLTCExample | 14aaf9de5740ce32d175efa413f0060561421c93 | [
"MIT"
] | 8 | 2018-03-04T02:09:04.000Z | 2020-03-01T08:09:27.000Z | waves_litecoin_gateway/test/__init__.py | jansenmarc/WavesGatewayLTCExample | 14aaf9de5740ce32d175efa413f0060561421c93 | [
"MIT"
] | 6 | 2018-04-22T09:40:02.000Z | 2019-09-16T08:33:51.000Z | waves_litecoin_gateway/test/__init__.py | jansenmarc/WavesGatewayLTCExample | 14aaf9de5740ce32d175efa413f0060561421c93 | [
"MIT"
] | 12 | 2018-05-02T16:06:25.000Z | 2020-11-25T16:52:02.000Z | """WavesGatewayLTCExample Tests"""
from .test_litecoin_gateway import *
from .test_litecoin_chain_query_service import *
from .test_litecoin_gateway import *
from .test_litecoin_integer_converter_service import *
from .test_litecoin_transaction_service import *
| 32.875 | 54 | 0.851711 | 32 | 263 | 6.53125 | 0.40625 | 0.191388 | 0.382775 | 0.421053 | 0.631579 | 0.430622 | 0.430622 | 0.430622 | 0 | 0 | 0 | 0 | 0.087452 | 263 | 7 | 55 | 37.571429 | 0.870833 | 0.106464 | 0 | 0.4 | 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 |
bf1ba2388b9f9b460c81cf746f12eabc3d87f520 | 14,959 | py | Python | tests/app/views/test_suppliers.py | pebblecode/cirrus-buyer-frontend | 506c45eab09fa9538c0eb05643e24feecdcca56f | [
"MIT"
] | null | null | null | tests/app/views/test_suppliers.py | pebblecode/cirrus-buyer-frontend | 506c45eab09fa9538c0eb05643e24feecdcca56f | [
"MIT"
] | null | null | null | tests/app/views/test_suppliers.py | pebblecode/cirrus-buyer-frontend | 506c45eab09fa9538c0eb05643e24feecdcca56f | [
"MIT"
] | null | null | null | # coding: utf-8
import mock
from nose.tools import assert_equal, assert_true, assert_false
from ...helpers import BaseApplicationTest
from dmapiclient import APIError
class TestSuppliersPage(BaseApplicationTest):
def setup(self):
super(TestSuppliersPage, self).setup()
self._data_api_client = mock... | 48.099678 | 279 | 0.649843 | 2,005 | 14,959 | 4.587531 | 0.105736 | 0.035877 | 0.070124 | 0.044357 | 0.844858 | 0.829746 | 0.814416 | 0.787997 | 0.772451 | 0.756795 | 0 | 0.010811 | 0.22087 | 14,959 | 310 | 280 | 48.254839 | 0.778207 | 0.007554 | 0 | 0.484733 | 0 | 0.133588 | 0.41082 | 0.236981 | 0 | 0 | 0 | 0 | 0.217557 | 1 | 0.076336 | false | 0 | 0.015267 | 0 | 0.09542 | 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 |
175029925396a5dc7295af6c34143fd78920b3bb | 34 | py | Python | ScoutingWebsite/Scouting2016/models.py | ArcticWarriors/scouting-app | 3411dfc6ddca3728889460cc372716847fff5939 | [
"MIT"
] | 4 | 2017-03-20T21:29:14.000Z | 2018-02-20T17:52:49.000Z | ScoutingWebsite/Scouting2016/models.py | ArcticWarriors/scouting-app | 3411dfc6ddca3728889460cc372716847fff5939 | [
"MIT"
] | 9 | 2016-03-04T01:09:41.000Z | 2016-09-29T00:04:53.000Z | ScoutingWebsite/Scouting2016/models.py | ArcticWarriors/scouting-app | 3411dfc6ddca3728889460cc372716847fff5939 | [
"MIT"
] | 3 | 2016-02-23T03:28:17.000Z | 2016-05-12T13:12:49.000Z |
from Scouting2016.model import *
| 11.333333 | 32 | 0.794118 | 4 | 34 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 0.147059 | 34 | 2 | 33 | 17 | 0.793103 | 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 |
1764faa2867d123cc063ee9062c708402e06d673 | 89 | py | Python | extlibs/freetype-2.5.2/src/tools/PaxHeaders.20920/chktrcmp.py | halak/bibim | ad01efa8aac4f074f64bf033ac0f1ed382060334 | [
"curl"
] | 3 | 2016-08-28T06:48:11.000Z | 2019-12-04T13:04:34.000Z | extlibs/freetype-2.5.2/src/tools/PaxHeaders.20920/chktrcmp.py | Darkttd/Bibim | 9dec24529ef89536f7686abc1245ea5fc7fa9474 | [
"curl"
] | 8 | 2016-04-24T13:07:28.000Z | 2016-06-01T10:04:42.000Z | extlibs/freetype-2.5.2/src/tools/PaxHeaders.20920/chktrcmp.py | Darkttd/Bibim | 9dec24529ef89536f7686abc1245ea5fc7fa9474 | [
"curl"
] | 1 | 2016-08-28T06:47:43.000Z | 2016-08-28T06:47:43.000Z | 30 mtime=1384255857.233983368
29 atime=1386526222.15050211
30 ctime=1384255857.233983368
| 22.25 | 29 | 0.865169 | 12 | 89 | 6.416667 | 0.75 | 0.493506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.746988 | 0.067416 | 89 | 3 | 30 | 29.666667 | 0.180723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 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 | 0 | 0 | 6 |
bd60ea080bf8aeb228b2b913a747537eb5631098 | 1,529 | py | Python | xarrayutils/test/test_build_grids.py | cspencerjones/xarrayutils | 6c33e83b830b7586693366c520a54c1122194d50 | [
"MIT"
] | 40 | 2019-02-05T17:06:47.000Z | 2021-11-05T17:52:28.000Z | xarrayutils/test/test_build_grids.py | cspencerjones/xarrayutils | 6c33e83b830b7586693366c520a54c1122194d50 | [
"MIT"
] | 88 | 2017-03-20T15:53:06.000Z | 2022-03-16T02:31:10.000Z | xarrayutils/test/test_build_grids.py | cspencerjones/xarrayutils | 6c33e83b830b7586693366c520a54c1122194d50 | [
"MIT"
] | 14 | 2017-04-24T18:58:12.000Z | 2021-12-02T18:38:42.000Z | import pytest
xgcm = pytest.importorskip("xgcm")
from xarrayutils.build_grids import rebuild_grid
from numpy.testing import assert_allclose
from .datasets import datagrid_dimtest, datagrid_dimtest_ll
@pytest.mark.parametrize(
"test_coord",
["i", "j", "i_g", "j_g", "XC", "XG", "YC", "YG", "dxC", "dxG", "dyC",... | 39.205128 | 81 | 0.686723 | 254 | 1,529 | 3.948819 | 0.291339 | 0.107677 | 0.03988 | 0.04985 | 0.789631 | 0.739781 | 0.739781 | 0.739781 | 0.739781 | 0.739781 | 0 | 0.012559 | 0.166776 | 1,529 | 38 | 82 | 40.236842 | 0.774725 | 0.152387 | 0 | 0.551724 | 0 | 0 | 0.071263 | 0 | 0 | 0 | 0 | 0.026316 | 0.172414 | 1 | 0.068966 | false | 0 | 0.172414 | 0 | 0.241379 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bdda90522cb67974c7cdb832fc86f3d4987d72bf | 226 | py | Python | PC/ContextualAssistance/InputOutput/Speak.py | limvi-licef/GoalFormulationAssistanceAR | ed9c33c874a555b1b9e6638ac08d449a685488bc | [
"Apache-2.0"
] | null | null | null | PC/ContextualAssistance/InputOutput/Speak.py | limvi-licef/GoalFormulationAssistanceAR | ed9c33c874a555b1b9e6638ac08d449a685488bc | [
"Apache-2.0"
] | null | null | null | PC/ContextualAssistance/InputOutput/Speak.py | limvi-licef/GoalFormulationAssistanceAR | ed9c33c874a555b1b9e6638ac08d449a685488bc | [
"Apache-2.0"
] | 1 | 2020-08-14T06:40:28.000Z | 2020-08-14T06:40:28.000Z | # coding: utf-8
import InputOutput as io
############################################################################
class Speak(io.Output):
"""
Speak output that inherits from Output class.
"""
pass | 16.142857 | 76 | 0.402655 | 19 | 226 | 4.789474 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005525 | 0.199115 | 226 | 14 | 77 | 16.142857 | 0.497238 | 0.265487 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
bdf33276fff846e5432b955d99253c0a9a8db878 | 592 | py | Python | aula11a.py | marvincosmo/Python-Curso-em-Video | 47ee3dd6423835e7bca159ffd7ee796423569176 | [
"MIT"
] | null | null | null | aula11a.py | marvincosmo/Python-Curso-em-Video | 47ee3dd6423835e7bca159ffd7ee796423569176 | [
"MIT"
] | null | null | null | aula11a.py | marvincosmo/Python-Curso-em-Video | 47ee3dd6423835e7bca159ffd7ee796423569176 | [
"MIT"
] | null | null | null | """ Teste de cores no terminal"""
print('\33[30;41m Teste \33[m', end=' ')
print('\33[4;33;44m Teste \33[m', end=' ')
print('\33[1;35;43m Teste \33[m', end=' ')
print('\33[30;42m Teste \33[m', end=' ')
print('\33[m Teste ', end=' ')
print('\33[37;107m Teste \33[m', end=' ')
print('\33[7;30m Teste \33[m', end=' ')
prin... | 37 | 48 | 0.560811 | 117 | 592 | 2.837607 | 0.247863 | 0.274096 | 0.198795 | 0.331325 | 0.683735 | 0.683735 | 0.391566 | 0.13253 | 0 | 0 | 0 | 0.199226 | 0.126689 | 592 | 15 | 49 | 39.466667 | 0.44294 | 0.043919 | 0 | 0 | 0 | 0 | 0.592129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
da1bbfe97ad25b77f45f2af9a2ac7acfe7b388cd | 21,657 | py | Python | tests/test_predefined_dynamical_decoupling.py | robo2323/python-open-controls | bdd499c3c04cd0485d7804dbdc2f83cdf6984f0e | [
"Apache-2.0"
] | null | null | null | tests/test_predefined_dynamical_decoupling.py | robo2323/python-open-controls | bdd499c3c04cd0485d7804dbdc2f83cdf6984f0e | [
"Apache-2.0"
] | null | null | null | tests/test_predefined_dynamical_decoupling.py | robo2323/python-open-controls | bdd499c3c04cd0485d7804dbdc2f83cdf6984f0e | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Q-CTRL Pty Ltd & Q-CTRL Inc
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... | 37.147513 | 97 | 0.682227 | 2,706 | 21,657 | 5.132299 | 0.072801 | 0.02765 | 0.091014 | 0.021889 | 0.806668 | 0.78737 | 0.769657 | 0.7518 | 0.728471 | 0.706005 | 0 | 0.02191 | 0.211802 | 21,657 | 582 | 98 | 37.21134 | 0.791681 | 0.078173 | 0 | 0.685504 | 0 | 0 | 0.000607 | 0 | 0 | 0 | 0 | 0 | 0.194103 | 1 | 0.027027 | false | 0 | 0.012285 | 0 | 0.039312 | 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 |
da62732ab8cafe6f3dc3a826eec094e383270dcc | 117 | py | Python | Hackerrank-Solutions/Hackerrank-Python-Solutions/Numpy/Floor, Ceil and Rint.py | HetDaftary/Competitive-Coding-Solutions | a683fa11895410c6eef07b1a68054f3e90aa596b | [
"MIT"
] | null | null | null | Hackerrank-Solutions/Hackerrank-Python-Solutions/Numpy/Floor, Ceil and Rint.py | HetDaftary/Competitive-Coding-Solutions | a683fa11895410c6eef07b1a68054f3e90aa596b | [
"MIT"
] | null | null | null | Hackerrank-Solutions/Hackerrank-Python-Solutions/Numpy/Floor, Ceil and Rint.py | HetDaftary/Competitive-Coding-Solutions | a683fa11895410c6eef07b1a68054f3e90aa596b | [
"MIT"
] | null | null | null | import numpy
numpy.set_printoptions(sign=' ')
a =
print(numpy.floor(a))
print(numpy.ceil(a))
print(numpy.rint(a)) | 13 | 32 | 0.709402 | 19 | 117 | 4.315789 | 0.526316 | 0.219512 | 0.402439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 117 | 9 | 33 | 13 | 0.780952 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e5bda1362919be958c9ed6e5b41a6803a83faa77 | 92 | py | Python | app/main/blueprint.py | ds-vologdin/market-form-flask | 28a46e4cb9077f6b3f7bc0e2727bb51d401fd68c | [
"MIT"
] | 13 | 2019-05-24T20:52:31.000Z | 2022-02-02T10:27:54.000Z | app/main/blueprint.py | ds-vologdin/market-form-flask | 28a46e4cb9077f6b3f7bc0e2727bb51d401fd68c | [
"MIT"
] | null | null | null | app/main/blueprint.py | ds-vologdin/market-form-flask | 28a46e4cb9077f6b3f7bc0e2727bb51d401fd68c | [
"MIT"
] | 7 | 2019-11-05T09:25:41.000Z | 2021-11-16T15:48:37.000Z | from flask import Blueprint
blueprint = Blueprint('main', __name__)
from . import routes
| 13.142857 | 39 | 0.76087 | 11 | 92 | 6 | 0.636364 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 6 | 40 | 15.333333 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 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 |
f912886fc01c5c7999d40ab7acd01f5feb703e57 | 1,227 | py | Python | user/vistas/widgets/contact-form.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | user/vistas/widgets/contact-form.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | user/vistas/widgets/contact-form.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
doc+="""<section class="well1"> <div class="container"> <h2>Feedback</h2> <form method="post" action="bat/rd-mailform.php" class="mailform off2"> <input type="hidden" name="form-type" value="contact"> <fieldset class="row... | 409 | 1,185 | 0.511002 | 118 | 1,227 | 5.271186 | 0.449153 | 0.057878 | 0.090032 | 0.072347 | 0.226688 | 0.170418 | 0.170418 | 0.170418 | 0.118971 | 0 | 0 | 0.014493 | 0.325183 | 1,227 | 3 | 1,185 | 409 | 0.736715 | 0.03097 | 0 | 0 | 0 | 1 | 0.988215 | 0.1633 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
006db3dc66eca7b96cae38d9c15e5556d1337947 | 191 | py | Python | aws_admin/scripts.py | crccheck/django-aws-admin | c53252cacb0d983454441a6eb299f39845a0108f | [
"Apache-2.0"
] | null | null | null | aws_admin/scripts.py | crccheck/django-aws-admin | c53252cacb0d983454441a6eb299f39845a0108f | [
"Apache-2.0"
] | null | null | null | aws_admin/scripts.py | crccheck/django-aws-admin | c53252cacb0d983454441a6eb299f39845a0108f | [
"Apache-2.0"
] | null | null | null | from aws_admin.utils import pull_vpcs, pull_ec2, pull_security_groups
if __name__ == '__main__':
import django; django.setup()
pull_vpcs()
pull_ec2()
pull_security_groups()
| 21.222222 | 69 | 0.727749 | 26 | 191 | 4.692308 | 0.576923 | 0.131148 | 0.196721 | 0.245902 | 0.540984 | 0.540984 | 0.540984 | 0 | 0 | 0 | 0 | 0.012739 | 0.17801 | 191 | 8 | 70 | 23.875 | 0.764331 | 0 | 0 | 0 | 0 | 0 | 0.041885 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
008dc627e3f13ae5991ef6695f47e8356e0ff4b4 | 3,091 | py | Python | apis/event_type_api.py | tacklebox-webhooks/python | d2581110ab701467f5d584d0fd8ebb5f4c43a7aa | [
"MIT"
] | null | null | null | apis/event_type_api.py | tacklebox-webhooks/python | d2581110ab701467f5d584d0fd8ebb5f4c43a7aa | [
"MIT"
] | null | null | null | apis/event_type_api.py | tacklebox-webhooks/python | d2581110ab701467f5d584d0fd8ebb5f4c43a7aa | [
"MIT"
] | null | null | null | from .error import *
from .http_request import HttpRequest
from .http_client import HttpClient
class EventTypeApi:
def __init__(self, config):
self.base_url = config['base_url']
self.http_client = HttpClient(config['api_key'])
self.validator = Validation()
def list_event_types(self, ... | 44.797101 | 142 | 0.649951 | 398 | 3,091 | 4.743719 | 0.153266 | 0.100106 | 0.058263 | 0.070445 | 0.809322 | 0.805614 | 0.805614 | 0.770127 | 0.770127 | 0.726695 | 0 | 0 | 0.27208 | 3,091 | 68 | 143 | 45.455882 | 0.839111 | 0 | 0 | 0.508475 | 0 | 0 | 0.314461 | 0.053057 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084746 | false | 0 | 0.050847 | 0 | 0.338983 | 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 |
00cc2c93140f953d3bf806475ac9310bfbe6b27c | 81 | py | Python | toolkit_cxc/path.py | XiaochenCui/toolkit_cxc | d89ab835b8ae3329f70516488e145c403091d844 | [
"MIT"
] | null | null | null | toolkit_cxc/path.py | XiaochenCui/toolkit_cxc | d89ab835b8ae3329f70516488e145c403091d844 | [
"MIT"
] | null | null | null | toolkit_cxc/path.py | XiaochenCui/toolkit_cxc | d89ab835b8ae3329f70516488e145c403091d844 | [
"MIT"
] | null | null | null | import os
import sys
def add_current_path():
sys.path.append(os.getcwd())
| 10.125 | 32 | 0.703704 | 13 | 81 | 4.230769 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 81 | 7 | 33 | 11.571429 | 0.820896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dadb34553a2ee60197172a219f755595a5468a65 | 95 | py | Python | abnorm/adapters/django3p1.py | trashnroll/django-abnorm | aa94e895c1b692d0122d2e7ad3f7d37e09e6febe | [
"MIT"
] | 12 | 2018-04-05T09:00:28.000Z | 2020-01-21T13:31:45.000Z | abnorm/adapters/django3p1.py | trashnroll/django-abnorm | aa94e895c1b692d0122d2e7ad3f7d37e09e6febe | [
"MIT"
] | 6 | 2018-06-25T03:49:34.000Z | 2019-12-28T12:14:20.000Z | abnorm/adapters/django3p1.py | trashnroll/django-abnorm | aa94e895c1b692d0122d2e7ad3f7d37e09e6febe | [
"MIT"
] | 2 | 2018-06-06T18:09:03.000Z | 2018-10-11T14:21:10.000Z | from .django3p0 import SpecificDjango as Django3p0
class SpecificDjango(Django3p0):
pass
| 15.833333 | 50 | 0.8 | 10 | 95 | 7.6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0.157895 | 95 | 5 | 51 | 19 | 0.875 | 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 |
dae67d341309fbdb620c4da94c85daac4f3d92e8 | 129 | py | Python | pages/themes/beginners/practicalities/examples/nonPEP8_styled.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | pages/themes/beginners/practicalities/examples/nonPEP8_styled.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | pages/themes/beginners/practicalities/examples/nonPEP8_styled.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | def print_list(my_list):
for i in my_list:
print(i)
my_list = [
1, 2, 3,
4, 5, 6,]
print_list(my_list) | 16.125 | 24 | 0.534884 | 24 | 129 | 2.625 | 0.541667 | 0.380952 | 0.349206 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.333333 | 129 | 8 | 25 | 16.125 | 0.662791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 0.428571 | 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 |
97215e661d483c7047606fe418b2fe866c1f30f8 | 7,437 | py | Python | alarconpy/create_map.py | apalarcon/alarconpy | 1decf4bbec562e654038367439f5ac6345ebfdd4 | [
"MIT"
] | 2 | 2020-06-20T01:30:22.000Z | 2022-03-26T22:54:45.000Z | alarconpy/create_map.py | apalarcon/alarconpy | 1decf4bbec562e654038367439f5ac6345ebfdd4 | [
"MIT"
] | null | null | null | alarconpy/create_map.py | apalarcon/alarconpy | 1decf4bbec562e654038367439f5ac6345ebfdd4 | [
"MIT"
] | 2 | 2020-11-05T21:37:10.000Z | 2021-12-07T00:43:07.000Z | """
Autor: Albenis Pérez Alarcón
Last Update: abril 19, 2019
apalarcon1991@gmail.com
"""
import cartopy.crs as ccrs
import cartopy.feature as cfeature
import matplotlib.pyplot as plt
from cartopy.mpl.gridliner import LONGITUDE_FORMATTER, LATITUDE_FORMATTER
import matplotlib.ticker as mticker
import matplotlib.gridspec... | 28.714286 | 171 | 0.726772 | 1,151 | 7,437 | 4.56212 | 0.179844 | 0.015235 | 0.018854 | 0.025138 | 0.807084 | 0.804799 | 0.793373 | 0.793373 | 0.793373 | 0.781565 | 0 | 0.030806 | 0.14885 | 7,437 | 258 | 172 | 28.825581 | 0.798736 | 0.277128 | 0 | 0.685315 | 0 | 0 | 0.154253 | 0.004537 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013986 | false | 0 | 0.076923 | 0 | 0.104895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.