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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a6b299f687521e9506c7bc84d8ea2cf5f5924c8d | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/distlib/database.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/distlib/database.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/distlib/database.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/2a/5d/18/bcf40a73839ca558bb939705ce2c9d335c4e2bc8aa7712c65e06d91d5e | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a6cb5f29b8b8369b8983dd50fb5ade7ddd5da6a5 | 14,593 | py | Python | build/PureCloudPlatformClientV2/apis/geolocation_api.py | cjohnson-ctl/platform-client-sdk-python | 38ce53bb8012b66e8a43cc8bd6ff00cf6cc99100 | [
"MIT"
] | 10 | 2019-02-22T00:27:08.000Z | 2021-09-12T23:23:44.000Z | libs/PureCloudPlatformClientV2/apis/geolocation_api.py | rocketbot-cl/genesysCloud | dd9d9b5ebb90a82bab98c0d88b9585c22c91f333 | [
"MIT"
] | 5 | 2018-06-07T08:32:00.000Z | 2021-07-28T17:37:26.000Z | libs/PureCloudPlatformClientV2/apis/geolocation_api.py | rocketbot-cl/genesysCloud | dd9d9b5ebb90a82bab98c0d88b9585c22c91f333 | [
"MIT"
] | 6 | 2020-04-09T17:43:07.000Z | 2022-02-17T08:48:05.000Z | # coding: utf-8
"""
GeolocationApi.py
Copyright 2016 SmartBear Software
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 requir... | 39.228495 | 634 | 0.564997 | 1,501 | 14,593 | 5.322452 | 0.146569 | 0.03605 | 0.024409 | 0.023032 | 0.799224 | 0.785705 | 0.777694 | 0.769433 | 0.769433 | 0.760671 | 0 | 0.002225 | 0.35332 | 14,593 | 371 | 635 | 39.334232 | 0.844336 | 0.31008 | 0 | 0.797872 | 0 | 0 | 0.177869 | 0.038998 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026596 | false | 0 | 0.037234 | 0 | 0.090426 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5bc5967311beff40ca03d56610b3e3da5b243505 | 196 | py | Python | match/admin.py | ivyleavedtoadflax/address-matcher | fdd1f1827fb7f0d8a9d6474a6d2e25eb3733a7f1 | [
"MIT"
] | 3 | 2017-01-20T15:01:21.000Z | 2017-02-18T12:26:52.000Z | match/admin.py | ivyleavedtoadflax/address-matcher | fdd1f1827fb7f0d8a9d6474a6d2e25eb3733a7f1 | [
"MIT"
] | 5 | 2017-02-16T15:02:42.000Z | 2021-06-10T19:16:25.000Z | match/admin.py | ivyleavedtoadflax/address-matcher | fdd1f1827fb7f0d8a9d6474a6d2e25eb3733a7f1 | [
"MIT"
] | 3 | 2016-11-08T17:20:36.000Z | 2021-04-11T08:29:27.000Z | from django.contrib import admin
from .models import Address, User, Match, AppInfo
admin.site.register(Address)
admin.site.register(User)
admin.site.register(Match)
admin.site.register(AppInfo)
| 21.777778 | 49 | 0.806122 | 28 | 196 | 5.642857 | 0.428571 | 0.227848 | 0.43038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086735 | 196 | 8 | 50 | 24.5 | 0.882682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5be0fe45173d538895a4582b392697b42c10701e | 2,042 | py | Python | country/migrations/0031_auto_20210401_0421.py | bikramtuladhar/covid-19-procurement-explorer-admin | 9bba473c8b83c8651e3178b6fba01af74d8b27dc | [
"BSD-3-Clause"
] | null | null | null | country/migrations/0031_auto_20210401_0421.py | bikramtuladhar/covid-19-procurement-explorer-admin | 9bba473c8b83c8651e3178b6fba01af74d8b27dc | [
"BSD-3-Clause"
] | null | null | null | country/migrations/0031_auto_20210401_0421.py | bikramtuladhar/covid-19-procurement-explorer-admin | 9bba473c8b83c8651e3178b6fba01af74d8b27dc | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 3.1.7 on 2021-04-01 04:21
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('country', '0030_auto_20210331_1526'),
]
operations = [
migrations.RemoveField(
model_name='country',
name='covid19_preparedn... | 27.594595 | 54 | 0.550441 | 176 | 2,042 | 6.039773 | 0.335227 | 0.296331 | 0.366886 | 0.42333 | 0.750706 | 0.750706 | 0.750706 | 0.47413 | 0.361242 | 0 | 0 | 0.039127 | 0.349167 | 2,042 | 73 | 55 | 27.972603 | 0.760722 | 0.022037 | 0 | 0.671642 | 1 | 0 | 0.241604 | 0.14787 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014925 | 0 | 0.059701 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
75463b197a95c7360acf7f2ef7792a361c176f45 | 790 | py | Python | packages/markblocks/markblocks/lex/headinglexer.py | stattikcms/stattik | 5c96d600d105461edb95a11d8050dee3c32edd1e | [
"MIT"
] | 1 | 2021-11-05T06:24:28.000Z | 2021-11-05T06:24:28.000Z | packages/markblocks/markblocks/lex/headinglexer.py | stattikcms/stattik | 5c96d600d105461edb95a11d8050dee3c32edd1e | [
"MIT"
] | null | null | null | packages/markblocks/markblocks/lex/headinglexer.py | stattikcms/stattik | 5c96d600d105461edb95a11d8050dee3c32edd1e | [
"MIT"
] | null | null | null | from .lexer import Lexer
class HeadingLexer(Lexer):
#tokens = { H3, H2, H1 }
tokens = Lexer.tokens
fingerprints = [
(r'(?P<H3>^###( +)?)', 'H3'),
(r'(?P<H2>^##( +)?)', 'H2'),
(r'(?P<H1>^#( +)?)', 'H1'),
(r'(?P<H1U>^==( +)?)', 'H1U'),
(r'(?P<H2U>^--( +)?)', 'H2U'),
... | 18.372093 | 38 | 0.365823 | 91 | 790 | 3.010989 | 0.252747 | 0.127737 | 0.281022 | 0.306569 | 0.350365 | 0.350365 | 0 | 0 | 0 | 0 | 0 | 0.034816 | 0.34557 | 790 | 42 | 39 | 18.809524 | 0.495164 | 0.029114 | 0 | 0.212121 | 0 | 0 | 0.186684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242424 | false | 0 | 0.030303 | 0.212121 | 0.575758 | 0.030303 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f387ccf4c3676c06e4295e3be9843e799cc30f29 | 2,670 | py | Python | time_series_experiments/nbeats/stacks/_stacks.py | vikua/time-series-experiments | 2f9d3fa842866c39c8c1a9906c8c5d4870a6f7da | [
"MIT"
] | null | null | null | time_series_experiments/nbeats/stacks/_stacks.py | vikua/time-series-experiments | 2f9d3fa842866c39c8c1a9906c8c5d4870a6f7da | [
"MIT"
] | 4 | 2020-10-11T15:14:48.000Z | 2022-02-10T02:28:07.000Z | time_series_experiments/nbeats/stacks/_stacks.py | vikua/time-series-experiments | 2f9d3fa842866c39c8c1a9906c8c5d4870a6f7da | [
"MIT"
] | null | null | null | from ._base import Stack
class DRESSStack(Stack):
""" Doubly REsidual Stacking approach from the paper.
"""
def call(self, inputs):
backcast = inputs
forecast = None
for i in range(len(self.block_types)):
block = getattr(self, "block_{}".format(i))
b, f =... | 21.885246 | 66 | 0.545318 | 280 | 2,670 | 5.142857 | 0.160714 | 0.075 | 0.083333 | 0.095833 | 0.780556 | 0.780556 | 0.780556 | 0.780556 | 0.780556 | 0.749306 | 0 | 0 | 0.357303 | 2,670 | 121 | 67 | 22.066116 | 0.839161 | 0.119101 | 0 | 0.80303 | 0 | 0 | 0.020779 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.015152 | 0 | 0.287879 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
340987d695bc48b9207bf867c3f6c061e38c8ba8 | 142 | py | Python | cdn/utilities/objects/__init__.py | Axelancerr/cdn | 9fe1dba9b61ca011beb207b8f21b43aa6e64de1b | [
"MIT"
] | 4 | 2021-11-05T04:57:44.000Z | 2022-03-28T11:28:52.000Z | cdn/utilities/objects/__init__.py | Axelancerr/cdn | 9fe1dba9b61ca011beb207b8f21b43aa6e64de1b | [
"MIT"
] | null | null | null | cdn/utilities/objects/__init__.py | Axelancerr/cdn | 9fe1dba9b61ca011beb207b8f21b43aa6e64de1b | [
"MIT"
] | null | null | null | # Future
from __future__ import annotations
# My stuff
from utilities.objects.account import Account
from utilities.objects.file import File
| 20.285714 | 45 | 0.830986 | 19 | 142 | 6 | 0.526316 | 0.22807 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 142 | 6 | 46 | 23.666667 | 0.919355 | 0.105634 | 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 |
342623a7570e7100e0710429cfa0da0be65c09c8 | 8,183 | py | Python | tests/test_run_build.py | naveenpajjuri/opensearch-build | 855f0296b36ba32b18cf4fc40b096659b5b3f1f0 | [
"Apache-2.0"
] | 62 | 2021-05-14T04:06:09.000Z | 2022-03-23T03:30:13.000Z | tests/test_run_build.py | naveenpajjuri/opensearch-build | 855f0296b36ba32b18cf4fc40b096659b5b3f1f0 | [
"Apache-2.0"
] | 1,590 | 2021-05-07T20:21:19.000Z | 2022-03-31T23:57:53.000Z | tests/test_run_build.py | mch2/opensearch-build | 39464ae1ded2b628d5b6cacb22064b715906520d | [
"Apache-2.0"
] | 134 | 2021-05-07T19:27:56.000Z | 2022-03-24T23:06:17.000Z | # SPDX-License-Identifier: Apache-2.0
#
# The OpenSearch Contributors require contributions made to
# this file be licensed under the Apache-2.0 license or a
# compatible open source license.
import os
import tempfile
import unittest
from unittest.mock import MagicMock, patch
import pytest
from manifests.input_manif... | 50.202454 | 147 | 0.72174 | 1,016 | 8,183 | 5.483268 | 0.130906 | 0.082929 | 0.056004 | 0.056004 | 0.824628 | 0.806139 | 0.798241 | 0.787471 | 0.746904 | 0.737749 | 0 | 0.006476 | 0.1508 | 8,183 | 162 | 148 | 50.512346 | 0.795222 | 0.026885 | 0 | 0.585185 | 0 | 0 | 0.201357 | 0.107969 | 0 | 0 | 0 | 0 | 0.259259 | 1 | 0.088889 | false | 0 | 0.051852 | 0 | 0.177778 | 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 |
34361305311e69515cf1737709c7c030e43d78b9 | 5,017 | py | Python | test/unit/test_tasks_key_get.py | cyberkov/puppet-st2 | 5985c58323896f37d942590ca97825ec47ad778a | [
"Apache-2.0"
] | 21 | 2015-01-14T20:47:01.000Z | 2022-03-06T09:04:36.000Z | test/unit/test_tasks_key_get.py | cyberkov/puppet-st2 | 5985c58323896f37d942590ca97825ec47ad778a | [
"Apache-2.0"
] | 187 | 2015-01-27T18:36:12.000Z | 2022-03-23T05:42:41.000Z | test/unit/test_tasks_key_get.py | cyberkov/puppet-st2 | 5985c58323896f37d942590ca97825ec47ad778a | [
"Apache-2.0"
] | 31 | 2015-01-14T15:22:15.000Z | 2021-11-12T13:20:55.000Z | from test.unit.st2_test_case import St2TestCase
import mock
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'files'))
from st2_task_base import St2TaskBase
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'tasks'))
from key_get import St2KeyGet
class St2Ke... | 34.363014 | 91 | 0.546143 | 559 | 5,017 | 4.631485 | 0.109123 | 0.054075 | 0.063731 | 0.097335 | 0.865585 | 0.853225 | 0.81151 | 0.788722 | 0.751255 | 0.723445 | 0 | 0.008394 | 0.287622 | 5,017 | 145 | 92 | 34.6 | 0.716004 | 0.010763 | 0 | 0.568807 | 0 | 0 | 0.170032 | 0.026252 | 0 | 0 | 0 | 0 | 0.155963 | 1 | 0.110092 | false | 0 | 0.055046 | 0 | 0.183486 | 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 |
344bd9f60adae94423a6db386c5e98a3c7ab81b5 | 129 | py | Python | source/settings.py | devsagul/MC-lector | 3eb80d27eb9c7fbb948c5b605c9bf5fb3a75dbcf | [
"WTFPL"
] | null | null | null | source/settings.py | devsagul/MC-lector | 3eb80d27eb9c7fbb948c5b605c9bf5fb3a75dbcf | [
"WTFPL"
] | null | null | null | source/settings.py | devsagul/MC-lector | 3eb80d27eb9c7fbb948c5b605c9bf5fb3a75dbcf | [
"WTFPL"
] | 1 | 2021-08-11T19:16:45.000Z | 2021-08-11T19:16:45.000Z | host = "PASTE_YOUR_HOST_URL_HERE"
asrkey = 'PASTE_YOUR_ASR_API_KEY_HERE'
ttskey = 'PASTE_YOUR_TTS_API_KEY_HERE'
speaker = "nick"
| 25.8 | 38 | 0.813953 | 22 | 129 | 4.136364 | 0.590909 | 0.296703 | 0.21978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 129 | 4 | 39 | 32.25 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.635659 | 0.604651 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3459ac79ae97e2e182c8fa466cf0673a855d4fab | 12,051 | py | Python | mayan/apps/document_signatures/tests/test_api.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 1 | 2021-02-24T15:03:23.000Z | 2021-02-24T15:03:23.000Z | mayan/apps/document_signatures/tests/test_api.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 10 | 2021-03-20T00:01:17.000Z | 2022-03-12T00:48:43.000Z | mayan/apps/document_signatures/tests/test_api.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 1 | 2021-04-30T09:44:14.000Z | 2021-04-30T09:44:14.000Z | from rest_framework import status
from mayan.apps.django_gpg.permissions import permission_key_sign
from mayan.apps.django_gpg.tests.literals import TEST_KEY_PUBLIC_ID
from mayan.apps.django_gpg.tests.mixins import KeyTestMixin
from mayan.apps.documents.tests.mixins import DocumentTestMixin
from mayan.apps.rest_api.te... | 35.236842 | 79 | 0.725998 | 1,326 | 12,051 | 6.08371 | 0.058824 | 0.148754 | 0.104128 | 0.086277 | 0.921036 | 0.893021 | 0.880873 | 0.874427 | 0.873435 | 0.870956 | 0 | 0.006928 | 0.209443 | 12,051 | 341 | 80 | 35.340176 | 0.839824 | 0 | 0 | 0.691406 | 0 | 0 | 0.003153 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 1 | 0.078125 | false | 0 | 0.035156 | 0 | 0.128906 | 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 |
caa0531eaa70b41f7740a334efaf41266a444ffc | 19,005 | py | Python | tests/test_main_output.py | thunderbirdtr/mailmerge | a47465a78bbb089f3e2f135e7aecaf5e12259e56 | [
"MIT"
] | null | null | null | tests/test_main_output.py | thunderbirdtr/mailmerge | a47465a78bbb089f3e2f135e7aecaf5e12259e56 | [
"MIT"
] | null | null | null | tests/test_main_output.py | thunderbirdtr/mailmerge | a47465a78bbb089f3e2f135e7aecaf5e12259e56 | [
"MIT"
] | null | null | null | """
System tests focused on CLI output.
Andrew DeOrio <awdeorio@umich.edu>
pytest tmpdir docs:
http://doc.pytest.org/en/latest/tmpdir.html#the-tmpdir-fixture
"""
import copy
import os
import re
import textwrap
from pathlib import Path
import click.testing
from mailmerge.__main__ import main
def test_stdout(tmpdir):... | 29.648986 | 91 | 0.624152 | 2,323 | 19,005 | 5.03616 | 0.128713 | 0.020942 | 0.034704 | 0.043081 | 0.773827 | 0.759638 | 0.747671 | 0.727242 | 0.719207 | 0.706984 | 0 | 0.018349 | 0.254407 | 19,005 | 640 | 92 | 29.695313 | 0.806634 | 0.145383 | 0 | 0.785388 | 0 | 0.018265 | 0.586869 | 0.112429 | 0 | 0 | 0 | 0 | 0.089041 | 1 | 0.020548 | false | 0 | 0.015982 | 0 | 0.03653 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cacad72500ae87bea2c7fbcef5111701913394af | 111 | py | Python | classic_framework/mujoco/__init__.py | Yucheng-Tang/SimulationFrameworkPublic | 3a65cbc0f18ac4b04f8aef7e6e2f9ad9790179c6 | [
"MIT"
] | 3 | 2020-11-16T09:01:56.000Z | 2021-12-21T09:24:45.000Z | classic_framework/mujoco/__init__.py | Yucheng-Tang/SimulationFrameworkPublic | 3a65cbc0f18ac4b04f8aef7e6e2f9ad9790179c6 | [
"MIT"
] | null | null | null | classic_framework/mujoco/__init__.py | Yucheng-Tang/SimulationFrameworkPublic | 3a65cbc0f18ac4b04f8aef7e6e2f9ad9790179c6 | [
"MIT"
] | 8 | 2020-11-24T15:59:01.000Z | 2022-02-18T15:15:26.000Z | from .mujoco_utils import *
from .MujocoRobot import *
from .MujocoScene import *
from .Mujoco_Camera import *
| 22.2 | 28 | 0.783784 | 14 | 111 | 6.071429 | 0.5 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 111 | 4 | 29 | 27.75 | 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 |
cad8e6a099535d18b92944c85aec5288bbbe0840 | 138 | py | Python | emails/django_.py | MrTango/python-emails | 9c4a48a9ba2215105d196d37bff15cf9168f4b83 | [
"Apache-2.0"
] | 348 | 2015-02-15T19:15:42.000Z | 2022-03-08T17:25:54.000Z | emails/django_.py | MrTango/python-emails | 9c4a48a9ba2215105d196d37bff15cf9168f4b83 | [
"Apache-2.0"
] | 128 | 2015-02-21T02:07:25.000Z | 2022-03-02T14:55:52.000Z | emails/django_.py | MrTango/python-emails | 9c4a48a9ba2215105d196d37bff15cf9168f4b83 | [
"Apache-2.0"
] | 52 | 2015-01-07T04:09:49.000Z | 2022-03-10T06:34:52.000Z | # encoding: utf-8
import warnings
warnings.warn("emails.django_ module moved to emails.django", DeprecationWarning)
from .django import * | 27.6 | 81 | 0.797101 | 18 | 138 | 6.055556 | 0.722222 | 0.220183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.108696 | 138 | 5 | 82 | 27.6 | 0.878049 | 0.108696 | 0 | 0 | 0 | 0 | 0.360656 | 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 |
1b9f0b794047fdeb6913fe08b6d725fb83fcb781 | 2,880 | py | Python | python/anyascii/_data/_1f9.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_1f9.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_1f9.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b=' :white_heart: :brown_heart: :pinching_hand: :zipper_mouth: :money_mouth: :thermometer_face: :nerd: :thinking: :head_bandage: :robot: :hugging: :metal: :call_me: :raised_back_of_hand: :left_facing_fist: :right_facing_fist: :handshake: :fingers_crossed: :love_you_gesture: :cowboy: :clown: :nauseated_face:... | 2,880 | 2,880 | 0.753472 | 368 | 2,880 | 5.513587 | 0.807065 | 0.019714 | 0.011828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000381 | 0.088542 | 2,880 | 1 | 2,880 | 2,880 | 0.772571 | 0 | 0 | 0 | 0 | 1 | 0.998264 | 0.127039 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
94265e883da1bb6d47f16351d520a5cb4454cf38 | 9,243 | py | Python | amico/util.py | cookpa/AMICO | f371be3388acac0f3c699806be09319aac6f698c | [
"BSD-3-Clause"
] | 68 | 2015-02-07T04:30:14.000Z | 2022-02-20T18:10:55.000Z | amico/util.py | cookpa/AMICO | f371be3388acac0f3c699806be09319aac6f698c | [
"BSD-3-Clause"
] | 104 | 2015-03-12T22:30:58.000Z | 2022-03-31T18:48:12.000Z | amico/util.py | cookpa/AMICO | f371be3388acac0f3c699806be09319aac6f698c | [
"BSD-3-Clause"
] | 59 | 2015-03-10T16:15:21.000Z | 2022-03-28T12:04:24.000Z | from __future__ import absolute_import, division, print_function
import numpy as np
import os.path
from os import EX_USAGE
from sys import exit
def LOG( msg, prefix='' ):
print( prefix+"\033[0;32m%s\033[0m" % msg )
def NOTE( msg, prefix='' ):
print( prefix+"\033[0;30;44m[ NOTE ]\033[0;34m %s\033[0m" % msg )... | 46.681818 | 241 | 0.630856 | 1,359 | 9,243 | 4.260486 | 0.148639 | 0.014508 | 0.01399 | 0.011399 | 0.831779 | 0.820035 | 0.794819 | 0.774093 | 0.717098 | 0.717098 | 0 | 0.027466 | 0.247647 | 9,243 | 198 | 242 | 46.681818 | 0.805148 | 0.265606 | 0 | 0.606557 | 0 | 0.02459 | 0.193316 | 0.016484 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04918 | false | 0 | 0.040984 | 0 | 0.106557 | 0.090164 | 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 |
945eae17a8ec415f3e7892131403ca38790f073f | 36 | py | Python | ml/graph/kmeans/__init__.py | LaureDas/ml | ed08ef8e2cd517e25447557e00efc0b690f12cfb | [
"MIT"
] | 21 | 2018-09-03T18:34:32.000Z | 2022-01-23T02:18:21.000Z | ml/graph/kmeans/__init__.py | LaureDas/ml | ed08ef8e2cd517e25447557e00efc0b690f12cfb | [
"MIT"
] | 6 | 2020-01-06T07:25:24.000Z | 2022-02-09T23:51:19.000Z | ml/graph/kmeans/__init__.py | LaureDas/ml | ed08ef8e2cd517e25447557e00efc0b690f12cfb | [
"MIT"
] | 7 | 2018-11-01T21:47:39.000Z | 2021-12-18T16:36:53.000Z | from ml.graph.kmeans.graph import *
| 18 | 35 | 0.777778 | 6 | 36 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.875 | 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 |
847947f03cee2e837283812be71e615aa3068e17 | 44 | py | Python | tests/test_reaction_set.py | bigboyabhisthi/reaction-network | b84f16b7261ecd62d7aa8e2681907f6ea0c35565 | [
"BSD-3-Clause-LBNL"
] | 1 | 2022-02-22T23:09:47.000Z | 2022-02-22T23:09:47.000Z | tests/test_reaction_set.py | bigboyabhisthi/reaction-network | b84f16b7261ecd62d7aa8e2681907f6ea0c35565 | [
"BSD-3-Clause-LBNL"
] | null | null | null | tests/test_reaction_set.py | bigboyabhisthi/reaction-network | b84f16b7261ecd62d7aa8e2681907f6ea0c35565 | [
"BSD-3-Clause-LBNL"
] | null | null | null | """ Tests for ReactionSet."""
import pytest
| 14.666667 | 29 | 0.704545 | 5 | 44 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 2 | 30 | 22 | 0.815789 | 0.5 | 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 |
848b7bf3dff45e10ce14698dccaa1f9391c69654 | 43 | py | Python | os2d/utils/__init__.py | MenshovSergey/DetectChess | 1baea0d688723b2624d83be001b00870cf1ae634 | [
"MIT"
] | 144 | 2020-03-17T06:22:11.000Z | 2022-03-31T01:58:07.000Z | os2d/utils/__init__.py | MenshovSergey/DetectChess | 1baea0d688723b2624d83be001b00870cf1ae634 | [
"MIT"
] | 27 | 2020-04-13T11:14:45.000Z | 2022-03-25T10:03:52.000Z | os2d/utils/__init__.py | MenshovSergey/DetectChess | 1baea0d688723b2624d83be001b00870cf1ae634 | [
"MIT"
] | 34 | 2020-03-17T07:29:24.000Z | 2022-03-31T01:55:48.000Z | from .utils import *
from .logger import *
| 14.333333 | 21 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 22 | 21.5 | 0.885714 | 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 |
170832be64ecc811ef94853a0ce93e0683dcf005 | 573 | py | Python | muscari/math/estimators.py | mkashifn/ann | cdae607f79cab0f13c0bfaa6ca94fbc502d79940 | [
"MIT"
] | null | null | null | muscari/math/estimators.py | mkashifn/ann | cdae607f79cab0f13c0bfaa6ca94fbc502d79940 | [
"MIT"
] | null | null | null | muscari/math/estimators.py | mkashifn/ann | cdae607f79cab0f13c0bfaa6ca94fbc502d79940 | [
"MIT"
] | null | null | null | #!/bin/python
import numpy as np
class Estimator:
def __init__(self):
pass
def __call__(self, A, B):
return 0
class MSE(Estimator):
def __init__(self):
pass
def __call__(self, A, B):
#print ("A:", A, "B:", B, "Diff:", np.subtract(A, B), "SqDiff:", np.square(np.subtract(A, B)), "MSE:", np.squar... | 26.045455 | 143 | 0.600349 | 98 | 573 | 3.346939 | 0.336735 | 0.067073 | 0.20122 | 0.219512 | 0.560976 | 0.560976 | 0.5 | 0.426829 | 0.426829 | 0.22561 | 0 | 0.006494 | 0.193717 | 573 | 22 | 144 | 26.045455 | 0.703463 | 0.291449 | 0 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0.117647 | 0.058824 | 0.176471 | 0.764706 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
ca6788bccb39e6a8270d204d3b7abc6d6cd379fd | 25 | py | Python | altair_matplotlib/__init__.py | Aniket-Pradhan/altair_matplotlib | 5e532e37fc00369279057f75c02cffc29fb11b83 | [
"BSD-3-Clause"
] | 6 | 2016-11-04T02:03:02.000Z | 2019-01-11T03:01:44.000Z | altair_matplotlib/__init__.py | Jhongesell/altair_matplotlib | 531daf18cd71c59fb4690dc09d42d8ff0075a1bb | [
"BSD-3-Clause"
] | 4 | 2016-11-05T04:17:08.000Z | 2019-03-09T02:58:26.000Z | altair_matplotlib/__init__.py | Jhongesell/altair_matplotlib | 531daf18cd71c59fb4690dc09d42d8ff0075a1bb | [
"BSD-3-Clause"
] | 10 | 2016-11-04T03:38:04.000Z | 2019-03-28T03:35:54.000Z | from .core import render
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ca77aef5e43b047963a5beefbff2585c88293c4f | 77 | py | Python | tests/test_demo.py | AntonyMilneQB/kedro-dvc | 6edb7eb951d6dfcad09030ab331c81b76dd94126 | [
"MIT"
] | null | null | null | tests/test_demo.py | AntonyMilneQB/kedro-dvc | 6edb7eb951d6dfcad09030ab331c81b76dd94126 | [
"MIT"
] | null | null | null | tests/test_demo.py | AntonyMilneQB/kedro-dvc | 6edb7eb951d6dfcad09030ab331c81b76dd94126 | [
"MIT"
] | null | null | null | import kedro_dvc
def test_demo(dvc_repo):
assert kedro_dvc is not None
| 12.833333 | 32 | 0.766234 | 14 | 77 | 3.928571 | 0.785714 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194805 | 77 | 5 | 33 | 15.4 | 0.887097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ca9a88d02a79bcaa41d90b91470737fdbd5c3ea7 | 134 | py | Python | exercises/chapter_02/exercise_02_05/exercise_02_05.py | HenrikSamuelsson/python-crash-course | 0550343d413e4636f402a66041860bc1a319fc8f | [
"MIT"
] | 1 | 2017-04-30T18:05:26.000Z | 2017-04-30T18:05:26.000Z | exercises/chapter_02/exercise_02_05/exercise_02_05.py | HenrikSamuelsson/python-crash-course | 0550343d413e4636f402a66041860bc1a319fc8f | [
"MIT"
] | null | null | null | exercises/chapter_02/exercise_02_05/exercise_02_05.py | HenrikSamuelsson/python-crash-course | 0550343d413e4636f402a66041860bc1a319fc8f | [
"MIT"
] | null | null | null | # 2-5 Famous Quote
print('"Success is a lousy teacher. It seduces smart \npeople into thinking they can not lose." \n\n\tBill Gates')
| 44.666667 | 114 | 0.738806 | 24 | 134 | 4.125 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.156716 | 134 | 2 | 115 | 67 | 0.858407 | 0.119403 | 0 | 0 | 0 | 1 | 0.905172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0466116607f5661b200b824d17462868e256e749 | 2,951 | py | Python | config_files/wsd_task_preset.py | s-mizuki-nlp/word_sense_disambiguation | e920b37f879e8db8f2b2d7a55e7997bb8b61ff1a | [
"Apache-2.0"
] | null | null | null | config_files/wsd_task_preset.py | s-mizuki-nlp/word_sense_disambiguation | e920b37f879e8db8f2b2d7a55e7997bb8b61ff1a | [
"Apache-2.0"
] | null | null | null | config_files/wsd_task_preset.py | s-mizuki-nlp/word_sense_disambiguation | e920b37f879e8db8f2b2d7a55e7997bb8b61ff1a | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding:utf-8 -*-
from .wsd_task import CreateWSDTaskDataset, cfg_task_dataset
from . import sense_annotated_corpus, monosemous_corpus, lexical_knowledge_datasets
### pre-defined datasets ###
wsd_eval_bert_large_cased = CreateWSDTaskDataset(
cfg_bert_embeddings=sense_annotated_corpus.c... | 47.596774 | 102 | 0.784819 | 350 | 2,951 | 6.211429 | 0.177143 | 0.095676 | 0.143514 | 0.149034 | 0.825207 | 0.808188 | 0.808188 | 0.808188 | 0.778749 | 0.778749 | 0 | 0.008785 | 0.112843 | 2,951 | 61 | 103 | 48.377049 | 0.82162 | 0.037276 | 0 | 0.361702 | 0 | 0 | 0.232698 | 0.210099 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.042553 | 0 | 0.042553 | 0.021277 | 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 |
04b3c59d194df33a547e16c4e00b19319da9a939 | 8,136 | py | Python | tests/st/control/inner/test_002_single_for.py | PowerOlive/mindspore | bda20724a94113cedd12c3ed9083141012da1f15 | [
"Apache-2.0"
] | 3,200 | 2020-02-17T12:45:41.000Z | 2022-03-31T20:21:16.000Z | tests/st/control/inner/test_002_single_for.py | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | 176 | 2020-02-12T02:52:11.000Z | 2022-03-28T22:15:55.000Z | tests/st/control/inner/test_002_single_for.py | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | 621 | 2020-03-09T01:31:41.000Z | 2022-03-30T03:43:19.000Z | # Copyright 2021 Huawei Technologies Co., Ltd
#
# 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 to... | 31.657588 | 116 | 0.622665 | 1,106 | 8,136 | 4.340868 | 0.140145 | 0.073318 | 0.056238 | 0.043741 | 0.799417 | 0.778796 | 0.767548 | 0.715268 | 0.715268 | 0.686524 | 0 | 0.02666 | 0.248525 | 8,136 | 256 | 117 | 31.78125 | 0.758587 | 0.085177 | 0 | 0.742105 | 0 | 0 | 0.000808 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0.136842 | false | 0 | 0.047368 | 0.026316 | 0.294737 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
04c14a80fc533ad701c55073e057296ac3272f01 | 160 | py | Python | xeasy_ml/xes_ml_arch/src/ml_utils/__init__.py | jiayanduo456/xeasy-ml | ac5532b24d6c31e9494475470b6088283a433a81 | [
"MIT"
] | 10 | 2021-07-28T09:09:22.000Z | 2022-03-14T02:22:48.000Z | xeasy_ml/xes_ml_arch/src/ml_utils/__init__.py | jiayanduo456/xeasy-ml | ac5532b24d6c31e9494475470b6088283a433a81 | [
"MIT"
] | null | null | null | xeasy_ml/xes_ml_arch/src/ml_utils/__init__.py | jiayanduo456/xeasy-ml | ac5532b24d6c31e9494475470b6088283a433a81 | [
"MIT"
] | 1 | 2021-08-06T03:33:52.000Z | 2021-08-06T03:33:52.000Z | # -*-coding:utf-8-*-
# @version: 0.0.1
# License: MIT
from . import pre_utils
from . import runstatus
from . import global_pre
from . import feature_processor
| 17.777778 | 31 | 0.71875 | 24 | 160 | 4.666667 | 0.666667 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02963 | 0.15625 | 160 | 8 | 32 | 20 | 0.8 | 0.29375 | 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 |
04f535a5201e599b37d04b9210790fdf8b3db14a | 23 | py | Python | IPregexo/__init__.py | omarthe95/IPregex | 1329e0931eff1b58d8642e66a31799f0b94a6342 | [
"MIT"
] | 1 | 2020-06-12T02:18:17.000Z | 2020-06-12T02:18:17.000Z | IPregexo/__init__.py | omarthe95/IPregex | 1329e0931eff1b58d8642e66a31799f0b94a6342 | [
"MIT"
] | null | null | null | IPregexo/__init__.py | omarthe95/IPregex | 1329e0931eff1b58d8642e66a31799f0b94a6342 | [
"MIT"
] | 1 | 2020-06-12T02:21:09.000Z | 2020-06-12T02:21:09.000Z | from IPregexo import *
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b6cabe9399521f590dfdf14899d2f966a4524988 | 27 | py | Python | Hello World Programs/Python/helloworldpython.py | TeacherManoj0131/HacktoberFest2020-Contributions | c7119202fdf211b8a6fc1eadd0760dbb706a679b | [
"MIT"
] | 256 | 2020-09-30T19:31:34.000Z | 2021-11-20T18:09:15.000Z | Hello World Programs/Python/helloworldpython.py | TeacherManoj0131/HacktoberFest2020-Contributions | c7119202fdf211b8a6fc1eadd0760dbb706a679b | [
"MIT"
] | 293 | 2020-09-30T19:14:54.000Z | 2021-06-06T02:34:47.000Z | Hello World Programs/Python/helloworldpython.py | TeacherManoj0131/HacktoberFest2020-Contributions | c7119202fdf211b8a6fc1eadd0760dbb706a679b | [
"MIT"
] | 1,620 | 2020-09-30T18:37:44.000Z | 2022-03-03T20:54:22.000Z | print("Hello There World")
| 13.5 | 26 | 0.740741 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.833333 | 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 |
b6d0e6e55758ecd55dc52981adc0b885d452a94f | 15,123 | py | Python | src/flare/nn/lstm.py | mountain/planetarium | 14c5a75f9ac0be36f28d059c7bf7a77635d617da | [
"MIT"
] | 1 | 2018-03-03T18:58:01.000Z | 2018-03-03T18:58:01.000Z | src/flare/nn/lstm.py | mountain/planetarium | 14c5a75f9ac0be36f28d059c7bf7a77635d617da | [
"MIT"
] | null | null | null | src/flare/nn/lstm.py | mountain/planetarium | 14c5a75f9ac0be36f28d059c7bf7a77635d617da | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import torch as th
import torch.nn as nn
from flare.nn.sequential import Sequential3
from torch.autograd import Variable
class ConvLSTM(th.nn.Module):
def __init__(self, d_in, d_out, ksize, padding=0, bsize=1, width=511, height=511):
super(ConvLSTM, self).__init__()
ch_ou... | 37.526055 | 187 | 0.629108 | 2,120 | 15,123 | 4.308019 | 0.056604 | 0.049272 | 0.064491 | 0.024198 | 0.844191 | 0.828096 | 0.799737 | 0.789554 | 0.772911 | 0.747071 | 0 | 0.012584 | 0.243338 | 15,123 | 402 | 188 | 37.619403 | 0.785546 | 0.022152 | 0 | 0.660839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.118881 | false | 0 | 0.013986 | 0 | 0.206294 | 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 |
b6d9df77e3e59a3e72609793fb67534e03c83792 | 70 | py | Python | yc157/487.py | c-yan/yukicoder | cdbbd65402177225dd989df7fe01f67908484a69 | [
"MIT"
] | null | null | null | yc157/487.py | c-yan/yukicoder | cdbbd65402177225dd989df7fe01f67908484a69 | [
"MIT"
] | null | null | null | yc157/487.py | c-yan/yukicoder | cdbbd65402177225dd989df7fe01f67908484a69 | [
"MIT"
] | null | null | null | M = int(input())
print((2017 + pow((2017 * 2017) % M, 2017, M)) % M)
| 17.5 | 51 | 0.514286 | 12 | 70 | 3 | 0.5 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290909 | 0.214286 | 70 | 3 | 52 | 23.333333 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8e225699626d4ea198cc8899b44cf270b897d335 | 202 | py | Python | libtbx/command_line/create_installer.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | 155 | 2016-11-23T12:52:16.000Z | 2022-03-31T15:35:44.000Z | libtbx/command_line/create_installer.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | 590 | 2016-12-10T11:31:18.000Z | 2022-03-30T23:10:09.000Z | libtbx/command_line/create_installer.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | 115 | 2016-11-15T08:17:28.000Z | 2022-02-09T15:30:14.000Z | from __future__ import absolute_import, division, print_function
import sys
if (__name__ == "__main__"):
from libtbx.auto_build import create_installer
sys.exit(create_installer.run(sys.argv[1:]))
| 28.857143 | 64 | 0.792079 | 28 | 202 | 5.107143 | 0.714286 | 0.20979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005556 | 0.108911 | 202 | 6 | 65 | 33.666667 | 0.788889 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f3d7667ffa34a67fce7f2de1a61a21e38b348b7b | 291 | py | Python | Scripts/copy_plugin.py | buddyfavors/CoCSharp | 48fc3f8be4ab80bffdc02fc16d8848649ba04218 | [
"MIT"
] | null | null | null | Scripts/copy_plugin.py | buddyfavors/CoCSharp | 48fc3f8be4ab80bffdc02fc16d8848649ba04218 | [
"MIT"
] | null | null | null | Scripts/copy_plugin.py | buddyfavors/CoCSharp | 48fc3f8be4ab80bffdc02fc16d8848649ba04218 | [
"MIT"
] | null | null | null | import shutil
def main():
print('Copying plugin...')
shutil.copyfile('../CoCSharp.Client.ExamplePlugin/bin/Debug/CoCSharp.Client.ExamplePlugin.dll', '../CoCSharp.Client/bin/Debug/plugins/CoCSharp.Client.ExamplePlugin.dll')
print('Done!')
if __name__ == "__main__":
main()
| 26.454545 | 173 | 0.707904 | 33 | 291 | 6 | 0.545455 | 0.282828 | 0.409091 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 291 | 10 | 174 | 29.1 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0.604811 | 0.501718 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 0.285714 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f3eefa0fc0e0916e7969d41ae31028e387885fcc | 4,291 | py | Python | src/models/conversational/evaluator.py | Neronuser/EmoCourseChat | 51b9b48b1a35913d0a0f807f52edb9131ae552cd | [
"MIT"
] | 1 | 2018-08-07T12:50:05.000Z | 2018-08-07T12:50:05.000Z | src/models/conversational/evaluator.py | Neronuser/EmoCourseChat | 51b9b48b1a35913d0a0f807f52edb9131ae552cd | [
"MIT"
] | null | null | null | src/models/conversational/evaluator.py | Neronuser/EmoCourseChat | 51b9b48b1a35913d0a0f807f52edb9131ae552cd | [
"MIT"
] | null | null | null | import torch
import torchtext
from src.models.conversational.emotion_dialogue_dataset import UTTERANCE_FIELD_NAME, RESPONSE_FIELD_NAME, \
EMOTION_FIELD_NAME
from src.models.conversational.loss import NLLLoss
from src.models.conversational.utils import PAD_INDEX
class Evaluator(object):
"""Evaluate models wit... | 35.172131 | 136 | 0.613144 | 495 | 4,291 | 5.151515 | 0.214141 | 0.035294 | 0.029804 | 0.040784 | 0.793333 | 0.793333 | 0.767843 | 0.767843 | 0.767843 | 0.767843 | 0 | 0.009235 | 0.293405 | 4,291 | 121 | 137 | 35.46281 | 0.831794 | 0.185038 | 0 | 0.8 | 0 | 0 | 0.006595 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042857 | false | 0 | 0.071429 | 0 | 0.171429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f3f9ce890a585f07ab93375e12f8a3cb2e6902c2 | 2,438 | py | Python | tests/unit/nurestlogin_controller/test_get_authentication_header.py | pdellaert/bambou | f140fda6374a3151792a2dfbc6826749779c6c16 | [
"BSD-3-Clause"
] | 8 | 2015-08-21T00:06:41.000Z | 2018-01-08T22:46:45.000Z | tests/unit/nurestlogin_controller/test_get_authentication_header.py | pdellaert/bambou | f140fda6374a3151792a2dfbc6826749779c6c16 | [
"BSD-3-Clause"
] | 27 | 2015-08-29T23:47:57.000Z | 2021-06-08T02:31:23.000Z | tests/unit/nurestlogin_controller/test_get_authentication_header.py | pdellaert/bambou | f140fda6374a3151792a2dfbc6826749779c6c16 | [
"BSD-3-Clause"
] | 18 | 2015-08-29T23:37:55.000Z | 2019-03-06T07:51:28.000Z | from unittest import TestCase
from mock import patch
from bambou import NURESTLoginController
class GetAuthenticationHeader(TestCase):
def test_get_authentication_header_as_string(self):
""" Get authentication header as string """
controller = NURESTLoginController()
controller.user = 'u... | 35.852941 | 119 | 0.710829 | 232 | 2,438 | 7.237069 | 0.176724 | 0.182251 | 0.246575 | 0.128648 | 0.870161 | 0.795712 | 0.773079 | 0.679571 | 0.655747 | 0.655747 | 0 | 0.017045 | 0.205906 | 2,438 | 67 | 120 | 36.38806 | 0.850207 | 0.102953 | 0 | 0.625 | 0 | 0 | 0.13355 | 0.046533 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.15 | false | 0.175 | 0.075 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
6d5e0d8033e845b1dd8fefce9d21c828d90367e9 | 16,744 | py | Python | generate_ml_projects_list.py | jaswdr/notebooks | 6ee2b2627de6d3865dc8008334286e10b2988942 | [
"MIT"
] | null | null | null | generate_ml_projects_list.py | jaswdr/notebooks | 6ee2b2627de6d3865dc8008334286e10b2988942 | [
"MIT"
] | null | null | null | generate_ml_projects_list.py | jaswdr/notebooks | 6ee2b2627de6d3865dc8008334286e10b2988942 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
list_of_links = [
'https://thecleverprogrammer.com/2020/07/20/next-word-prediction-model/',
'https://thecleverprogrammer.com/2020/07/22/image-segmentation/',
'https://thecleverprogrammer.com/2020/05/23/data-science-project-dna-sequencing-with-machine-learning/',
'https://thecleve... | 78.610329 | 127 | 0.757704 | 2,120 | 16,744 | 5.975472 | 0.163208 | 0.339122 | 0.381512 | 0.438033 | 0.75371 | 0.721898 | 0.66664 | 0.536707 | 0.293338 | 0.191822 | 0 | 0.092073 | 0.062052 | 16,744 | 212 | 128 | 78.981132 | 0.71455 | 0.024546 | 0 | 0.091371 | 0 | 0.548223 | 0.874135 | 0.00147 | 0 | 0 | 0 | 0 | 0.010152 | 1 | 0 | false | 0 | 0.020305 | 0 | 0.020305 | 0.005076 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed8e726baf7cb29ced52f28b72b70250c155b0ee | 57 | py | Python | bnofluxlite/__init__.py | iotfablab/bnofluxlite | 6621024837c4dde17bb86456b7a1aee8398c8a3a | [
"MIT"
] | null | null | null | bnofluxlite/__init__.py | iotfablab/bnofluxlite | 6621024837c4dde17bb86456b7a1aee8398c8a3a | [
"MIT"
] | null | null | null | bnofluxlite/__init__.py | iotfablab/bnofluxlite | 6621024837c4dde17bb86456b7a1aee8398c8a3a | [
"MIT"
] | null | null | null | from .bnofluxlite import main
from .calibrate import main | 28.5 | 29 | 0.842105 | 8 | 57 | 6 | 0.625 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 57 | 2 | 30 | 28.5 | 0.96 | 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 |
edeb70035aed3f3f8b2bad3bd3a87b180be74685 | 55 | py | Python | pupa/reports/__init__.py | azban/pupa | 158378e19bcc322796aa4fb766784cbd4fd08413 | [
"BSD-3-Clause"
] | 62 | 2015-01-08T05:46:46.000Z | 2022-01-31T03:27:14.000Z | pupa/reports/__init__.py | azban/pupa | 158378e19bcc322796aa4fb766784cbd4fd08413 | [
"BSD-3-Clause"
] | 199 | 2015-01-10T03:19:37.000Z | 2021-05-21T20:34:58.000Z | pupa/reports/__init__.py | azban/pupa | 158378e19bcc322796aa4fb766784cbd4fd08413 | [
"BSD-3-Clause"
] | 35 | 2015-03-09T19:41:42.000Z | 2021-06-22T20:01:35.000Z | from .session import generate_session_report # noqa
| 27.5 | 54 | 0.8 | 7 | 55 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 55 | 1 | 55 | 55 | 0.913043 | 0.072727 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
edece99352c2d2b8d78ce65230f3ba7f42e68ad8 | 139 | py | Python | team/admin.py | anshsrtv/data-collection-platform | 96b19ce182dd976ee1556bd57197be90de267547 | [
"MIT"
] | null | null | null | team/admin.py | anshsrtv/data-collection-platform | 96b19ce182dd976ee1556bd57197be90de267547 | [
"MIT"
] | null | null | null | team/admin.py | anshsrtv/data-collection-platform | 96b19ce182dd976ee1556bd57197be90de267547 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Team , Registered_task
admin.site.register(Team)
admin.site.register(Registered_task) | 27.8 | 42 | 0.834532 | 20 | 139 | 5.7 | 0.55 | 0.245614 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086331 | 139 | 5 | 43 | 27.8 | 0.897638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
b622f185f3a82f83af85844161172cfec5ebb322 | 3,029 | py | Python | cpovc_main/migrations/0002_initial.py | TimzOwen/cpims-ovc-3.0 | 41e65175e8a72b2a6bd61555ecc97e45409f5170 | [
"Apache-2.0"
] | 2 | 2022-02-26T14:04:40.000Z | 2022-03-23T17:33:32.000Z | cpovc_main/migrations/0002_initial.py | TimzOwen/cpims-ovc-3.0 | 41e65175e8a72b2a6bd61555ecc97e45409f5170 | [
"Apache-2.0"
] | null | null | null | cpovc_main/migrations/0002_initial.py | TimzOwen/cpims-ovc-3.0 | 41e65175e8a72b2a6bd61555ecc97e45409f5170 | [
"Apache-2.0"
] | 19 | 2022-02-26T13:44:58.000Z | 2022-03-26T17:20:22.000Z | # Generated by Django 4.0.2 on 2022-04-25 12:11
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('cpovc_registry', '0001_initial'),
('cpovc_main', '0001_initial'),
]
operations = [
... | 42.069444 | 152 | 0.649719 | 296 | 3,029 | 6.445946 | 0.206081 | 0.050314 | 0.080713 | 0.126834 | 0.789832 | 0.775681 | 0.724843 | 0.724843 | 0.724843 | 0.607442 | 0 | 0.009901 | 0.23308 | 3,029 | 71 | 153 | 42.661972 | 0.811451 | 0.014856 | 0 | 0.546875 | 1 | 0 | 0.25285 | 0.10161 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.09375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b63aec57b36a2fd9d635ee147778d9cc4de42ca4 | 20 | py | Python | glance/maps/__init__.py | filonik/glance | 053e5e9567c76774b56597dfa854fd29efaf48fd | [
"MIT"
] | null | null | null | glance/maps/__init__.py | filonik/glance | 053e5e9567c76774b56597dfa854fd29efaf48fd | [
"MIT"
] | null | null | null | glance/maps/__init__.py | filonik/glance | 053e5e9567c76774b56597dfa854fd29efaf48fd | [
"MIT"
] | null | null | null | from .maps import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 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 |
b656ab5431393026b46ac95dd3fbb1ba629b21e7 | 392 | py | Python | chromie/commands/__init__.py | Sandersland/chromie | a5dea618d788974fc5ee393b7602d204456c139d | [
"MIT"
] | null | null | null | chromie/commands/__init__.py | Sandersland/chromie | a5dea618d788974fc5ee393b7602d204456c139d | [
"MIT"
] | 1 | 2020-07-21T15:48:36.000Z | 2020-07-21T19:16:12.000Z | chromie/commands/__init__.py | Sandersland/chromie | a5dea618d788974fc5ee393b7602d204456c139d | [
"MIT"
] | null | null | null | from chromie.commands.init import init as do_init
from chromie.commands.package import package as do_pack
from chromie.commands.preview import preview as do_preview
from chromie.commands.config import config as do_config
from chromie.commands.upload import upload as do_upload
from chromie.commands.update import update ... | 49 | 58 | 0.857143 | 63 | 392 | 5.222222 | 0.222222 | 0.234043 | 0.404255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 392 | 7 | 59 | 56 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 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 |
b67d819c0143f06bd05a8d797a21b37e4d8d68d9 | 3,096 | py | Python | classes/Walker.py | nclslbrn/blender_script | 19f8809826e9cfdc79422d815614f0834fa95930 | [
"MIT"
] | 2 | 2019-11-29T23:44:05.000Z | 2019-11-30T11:16:28.000Z | classes/Walker.py | nclslbrn/blender_script | 19f8809826e9cfdc79422d815614f0834fa95930 | [
"MIT"
] | null | null | null | classes/Walker.py | nclslbrn/blender_script | 19f8809826e9cfdc79422d815614f0834fa95930 | [
"MIT"
] | null | null | null | from math import sin, cos, pi
from random import choice
quarterPi = pi / 4
class Walker:
def __init__(self, x, y, z):
self.x = x
self.y = y
self.z = z
self.size = 1
def setSize(self, size):
self.size = size
# MOOVE FUNCTIONS
def NN(self, distance):
s... | 23.815385 | 48 | 0.511951 | 364 | 3,096 | 4.343407 | 0.137363 | 0.151803 | 0.182163 | 0.182163 | 0.713472 | 0.713472 | 0.713472 | 0.713472 | 0.56926 | 0.56926 | 0 | 0.001531 | 0.367248 | 3,096 | 129 | 49 | 24 | 0.805513 | 0.004845 | 0 | 0.417476 | 0 | 0 | 0.011692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.203884 | false | 0 | 0.019417 | 0 | 0.417476 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fce22b231448284114b98b09431fa134cf011da4 | 6,433 | py | Python | scikit/regreesionTest.py | tanyong8520/tushare | d9dc8ef02b6d27f5956cbe86d8fd4b83ee2ebf72 | [
"MIT"
] | null | null | null | scikit/regreesionTest.py | tanyong8520/tushare | d9dc8ef02b6d27f5956cbe86d8fd4b83ee2ebf72 | [
"MIT"
] | null | null | null | scikit/regreesionTest.py | tanyong8520/tushare | d9dc8ef02b6d27f5956cbe86d8fd4b83ee2ebf72 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#波士顿房价数据
from sklearn.datasets import load_boston
# 数据分割
from sklearn.model_selection import train_test_split
#数据标准化
from sklearn.preprocessing import StandardScaler
#回归器测试
#线性回归器
def LinearRegressionTest():
from sklearn.linear_model import LinearRegression
bosto... | 36.140449 | 116 | 0.722835 | 986 | 6,433 | 4.439148 | 0.103448 | 0.045693 | 0.031528 | 0.058259 | 0.765593 | 0.740005 | 0.735207 | 0.705735 | 0.705735 | 0.705735 | 0 | 0.01128 | 0.17317 | 6,433 | 177 | 117 | 36.344633 | 0.811619 | 0.207524 | 0 | 0.616162 | 0 | 0 | 0.12186 | 0.013254 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.131313 | null | null | 0.121212 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fcea0e46b253a62a3b83feca1ee961c7727bfd97 | 11,065 | py | Python | methods/dataprocess_predict.py | Mario-Medvedovic/deepPhosAPI | 1c2f4bd238aca6b51923e2b50820358e9e12c36f | [
"MIT"
] | null | null | null | methods/dataprocess_predict.py | Mario-Medvedovic/deepPhosAPI | 1c2f4bd238aca6b51923e2b50820358e9e12c36f | [
"MIT"
] | 4 | 2020-09-26T00:52:10.000Z | 2022-02-10T01:14:45.000Z | methods/dataprocess_predict.py | Mario-Medvedovic/deepPhosAPI | 1c2f4bd238aca6b51923e2b50820358e9e12c36f | [
"MIT"
] | null | null | null | import csv
import io
import numpy as np
import keras.utils.np_utils as kutils
import re
import urllib
import json
#input format label,proteinName, postion,sites, shortsequence,
#input must be a .csv file
#positive_position_file_name is an csv file
def getMatrixInputFromJson(inputText, organism, window_size=51, emp... | 29.824798 | 109 | 0.521735 | 1,259 | 11,065 | 4.439237 | 0.139793 | 0.033816 | 0.032206 | 0.01825 | 0.773305 | 0.773305 | 0.76239 | 0.76239 | 0.76239 | 0.76239 | 0 | 0.026505 | 0.345323 | 11,065 | 370 | 110 | 29.905405 | 0.74503 | 0.130411 | 0 | 0.771654 | 0 | 0 | 0.037041 | 0.00858 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011811 | false | 0 | 0.027559 | 0 | 0.051181 | 0.059055 | 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 |
1e62ab5e11ca7f7653aaf2ffcbacd0480d308b87 | 143 | py | Python | dvc/dependency/ssh.py | sandeep937/dvc | b3df249c9f9ae0ff2b54f58845d7c2479be86232 | [
"Apache-2.0"
] | null | null | null | dvc/dependency/ssh.py | sandeep937/dvc | b3df249c9f9ae0ff2b54f58845d7c2479be86232 | [
"Apache-2.0"
] | null | null | null | dvc/dependency/ssh.py | sandeep937/dvc | b3df249c9f9ae0ff2b54f58845d7c2479be86232 | [
"Apache-2.0"
] | null | null | null | from dvc.output.ssh import OutputSSH
from dvc.dependency.base import DependencyBase
class DependencySSH(DependencyBase, OutputSSH):
pass
| 20.428571 | 47 | 0.818182 | 17 | 143 | 6.882353 | 0.705882 | 0.119658 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125874 | 143 | 6 | 48 | 23.833333 | 0.936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1e6c9b3d82340557aa71b096f0d3f04caebf9695 | 6,700 | py | Python | func.py | Joseph1337/CRC-Bot | 818bcf14acae2089d2b6171958be819d976eb294 | [
"MIT"
] | null | null | null | func.py | Joseph1337/CRC-Bot | 818bcf14acae2089d2b6171958be819d976eb294 | [
"MIT"
] | null | null | null | func.py | Joseph1337/CRC-Bot | 818bcf14acae2089d2b6171958be819d976eb294 | [
"MIT"
] | null | null | null | import requests
from datetime import datetime, timedelta
from lxml import html
from bs4 import BeautifulSoup as bs
import json
s = requests.Session()
def login(username, password):
url = "https://mycrc.gatech.edu/Account/Login"
# tokenUrl = 'https://mycrc.gatech.edu/Account/GetLoginOptions'
# query_params = {
... | 48.905109 | 550 | 0.751642 | 741 | 6,700 | 6.724696 | 0.25641 | 0.019266 | 0.028898 | 0.034317 | 0.797913 | 0.772828 | 0.772828 | 0.745736 | 0.745736 | 0.745736 | 0 | 0.155472 | 0.088955 | 6,700 | 136 | 551 | 49.264706 | 0.660878 | 0.06 | 0 | 0.425926 | 0 | 0.083333 | 0.651925 | 0.345371 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0.018519 | 0.046296 | 0.018519 | 0.157407 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1e7bb991dd716f516df55c11c355e78709d9f077 | 29 | py | Python | wandb/superagent/__init__.py | nbardy/client | dfd6345d6a39f20252ac2107652e0f530fc67c98 | [
"MIT"
] | 1 | 2021-05-29T10:45:46.000Z | 2021-05-29T10:45:46.000Z | wandb/superagent/__init__.py | jiaqianjing/client | 41fa2443b9fa28682cbf4ddde85e04df6f9cd9a8 | [
"MIT"
] | 1 | 2021-04-27T20:13:45.000Z | 2021-04-27T20:13:45.000Z | wandb/superagent/__init__.py | jiaqianjing/client | 41fa2443b9fa28682cbf4ddde85e04df6f9cd9a8 | [
"MIT"
] | null | null | null | from .agent import run_agent
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1ea36b134e3b7c7439ee3a8591b27234fb4233e4 | 222 | py | Python | tests/test_A181391.py | danielsimonney/oeis | 16c1dd6e058e49b629f695acb82ec55dd5f052f9 | [
"MIT"
] | null | null | null | tests/test_A181391.py | danielsimonney/oeis | 16c1dd6e058e49b629f695acb82ec55dd5f052f9 | [
"MIT"
] | null | null | null | tests/test_A181391.py | danielsimonney/oeis | 16c1dd6e058e49b629f695acb82ec55dd5f052f9 | [
"MIT"
] | null | null | null | from oeis import A181391
def test_sequence():
assert A181391() == [0, 0, 1, 0, 2, 0, 2, 2, 1, 6, 0, 5, 0, 2, 6, 5, 4, 0, 5, 3]
assert A181391(20) == [0, 3, 2, 9, 0, 4, 9, 3, 6, 14, 0, 6, 3, 5, 15, 0, 5, 3, 5, 2]
| 31.714286 | 88 | 0.481982 | 52 | 222 | 2.038462 | 0.365385 | 0.056604 | 0.056604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3875 | 0.279279 | 222 | 6 | 89 | 37 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
94c952cf9827ad25d19807e829478bdd12426a48 | 12,153 | py | Python | cyder/cydhcp/lib/tests/intr_from_domain.py | ngokevin/chili | 36c354ac567471d5e36dccf9eea5096c6b02d4b9 | [
"BSD-3-Clause"
] | 2 | 2019-03-16T00:47:09.000Z | 2022-03-04T14:39:08.000Z | cyder/cydhcp/lib/tests/intr_from_domain.py | ngokevin/chili | 36c354ac567471d5e36dccf9eea5096c6b02d4b9 | [
"BSD-3-Clause"
] | 1 | 2020-04-24T08:24:55.000Z | 2020-04-24T08:24:55.000Z | cyder/cydhcp/lib/tests/intr_from_domain.py | ngokevin/chili | 36c354ac567471d5e36dccf9eea5096c6b02d4b9 | [
"BSD-3-Clause"
] | null | null | null | from django.test import TestCase
from cyder.cydhcp.vlan.models import Vlan
from cyder.cydhcp.site.models import Site
from cyder.cydhcp.range.models import Range
from cyder.cydhcp.network.models import Network
from cyder.cydhcp.interface.static_intr.models import StaticInterface
from cyder.cydhcp.lib.utils import *
fr... | 39.976974 | 78 | 0.593434 | 1,712 | 12,153 | 4.025701 | 0.07535 | 0.085607 | 0.102728 | 0.154092 | 0.864771 | 0.822983 | 0.797591 | 0.736071 | 0.723302 | 0.658445 | 0 | 0.061105 | 0.255328 | 12,153 | 303 | 79 | 40.108911 | 0.700442 | 0.002551 | 0 | 0.565385 | 0 | 0 | 0.137706 | 0.018894 | 0 | 0 | 0 | 0 | 0.161538 | 1 | 0.05 | false | 0 | 0.034615 | 0 | 0.088462 | 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 |
bf44a815af4c87adf1bd29eb56d56f5dd82c2058 | 67 | py | Python | orderable_inlines/__init__.py | FundersClub/django-orderable-inlines | 2b168a4438a09a6efcfe44a6bd4a3401f9726b06 | [
"BSD-2-Clause"
] | 1 | 2017-12-22T08:51:02.000Z | 2017-12-22T08:51:02.000Z | orderable_inlines/__init__.py | elijahr/django-orderable-inlines | f5060607ae8bf170178aaac0efe635d0c0ceef0c | [
"BSD-2-Clause"
] | null | null | null | orderable_inlines/__init__.py | elijahr/django-orderable-inlines | f5060607ae8bf170178aaac0efe635d0c0ceef0c | [
"BSD-2-Clause"
] | null | null | null | from .inlines import OrderableStackedInline, OrderableTabularInline | 67 | 67 | 0.910448 | 5 | 67 | 12.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 67 | 1 | 67 | 67 | 0.968254 | 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 |
bf79281bc5530e5c3b0db2389ef0967d712a62c2 | 179 | py | Python | test_input/test103.py | peternewman/pychecker | 725fcd43ec0fd324641b6a29a81155cf8a8698b7 | [
"BSD-3-Clause"
] | 18 | 2015-07-21T12:29:58.000Z | 2021-06-06T10:06:03.000Z | test_input/test103.py | peternewman/pychecker | 725fcd43ec0fd324641b6a29a81155cf8a8698b7 | [
"BSD-3-Clause"
] | 1 | 2016-12-06T13:56:04.000Z | 2016-12-06T13:56:04.000Z | test_input/test103.py | peternewman/pychecker | 725fcd43ec0fd324641b6a29a81155cf8a8698b7 | [
"BSD-3-Clause"
] | 11 | 2015-06-17T08:40:22.000Z | 2022-03-21T01:00:43.000Z | """Multiple generator expresstions should not cause a redefinition warning."""
def foo():
print ' '.join(str(x) for x in range(10))
print ' '.join(str(x) for x in range(10))
| 29.833333 | 78 | 0.675978 | 29 | 179 | 4.172414 | 0.655172 | 0.14876 | 0.198347 | 0.214876 | 0.429752 | 0.429752 | 0.429752 | 0.429752 | 0.429752 | 0 | 0 | 0.026846 | 0.167598 | 179 | 5 | 79 | 35.8 | 0.785235 | 0 | 0 | 0.666667 | 0 | 0 | 0.019802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
782eb733242d5965869ab2e8309fae8bfc39cef7 | 160 | py | Python | profiles_api/views.py | zarif007/SM-BackEnd-API- | 6e9b96748b7df77d7072cd541779771e67ba744f | [
"MIT"
] | 1 | 2021-11-02T19:05:11.000Z | 2021-11-02T19:05:11.000Z | profiles_api/views.py | zarif007/SM-BackEnd-API- | 6e9b96748b7df77d7072cd541779771e67ba744f | [
"MIT"
] | null | null | null | profiles_api/views.py | zarif007/SM-BackEnd-API- | 6e9b96748b7df77d7072cd541779771e67ba744f | [
"MIT"
] | null | null | null | from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView
from profiles_api import serializers
| 20 | 44 | 0.86875 | 22 | 160 | 6.136364 | 0.5 | 0.177778 | 0.377778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11875 | 160 | 7 | 45 | 22.857143 | 0.957447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
78a055e99e06cc4097a471916c2e11cb6a471fd0 | 260 | py | Python | arekit/common/data/input/providers/instances/base.py | nicolay-r/AREk | 19c39ec0dc9a17464cade03b9c4da0c6d1d21191 | [
"MIT"
] | 18 | 2019-12-14T18:43:11.000Z | 2022-03-21T05:55:36.000Z | arekit/common/data/input/providers/instances/base.py | nicolay-r/AREk | 19c39ec0dc9a17464cade03b9c4da0c6d1d21191 | [
"MIT"
] | 284 | 2020-08-08T20:52:44.000Z | 2022-03-31T05:26:20.000Z | arekit/common/data/input/providers/instances/base.py | nicolay-r/AREk | 19c39ec0dc9a17464cade03b9c4da0c6d1d21191 | [
"MIT"
] | 1 | 2021-08-07T13:17:43.000Z | 2021-08-07T13:17:43.000Z | class BaseTextOpinionsLinkageInstancesProvider(object):
def iter_instances(self, text_opinion_linkage):
raise NotImplementedError()
@staticmethod
def provide_label(text_opinion_linkage):
return text_opinion_linkage.First.Sentiment | 32.5 | 55 | 0.784615 | 25 | 260 | 7.84 | 0.72 | 0.168367 | 0.27551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157692 | 260 | 8 | 56 | 32.5 | 0.894977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
152a849fa4ac11162eeb749cc0fce7fab7a16ad9 | 4,731 | py | Python | grafeas/models/__init__.py | nyc/client-python | e73eab8953abf239305080673f7c96a54b776f72 | [
"Apache-2.0"
] | null | null | null | grafeas/models/__init__.py | nyc/client-python | e73eab8953abf239305080673f7c96a54b776f72 | [
"Apache-2.0"
] | null | null | null | grafeas/models/__init__.py | nyc/client-python | e73eab8953abf239305080673f7c96a54b776f72 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
Grafeas API
An API to insert and retrieve annotations on cloud artifacts. # noqa: E501
OpenAPI spec version: v1alpha1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
# import models into model pack... | 58.407407 | 107 | 0.900233 | 557 | 4,731 | 7.393178 | 0.29982 | 0.168286 | 0.260078 | 0.165129 | 0.225352 | 0.038368 | 0 | 0 | 0 | 0 | 0 | 0.001587 | 0.067639 | 4,731 | 80 | 108 | 59.1375 | 0.931988 | 0.052209 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.015625 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
158c7c7b518591560455913281997ba3bd092132 | 14,036 | py | Python | tests/integration/query_test.py | shahin/sqltxt | 1fff7ada65396086e2b2643def2b30c84eced87c | [
"MIT"
] | 2 | 2015-07-13T08:20:22.000Z | 2016-05-12T08:23:05.000Z | tests/integration/query_test.py | shahin/sqltxt | 1fff7ada65396086e2b2643def2b30c84eced87c | [
"MIT"
] | 3 | 2016-01-31T19:38:55.000Z | 2016-01-31T19:38:55.000Z | tests/integration/query_test.py | shahin/sqltxt | 1fff7ada65396086e2b2643def2b30c84eced87c | [
"MIT"
] | null | null | null | import unittest
import os
from sqltxt.table import Table
from sqltxt.query import Query, condition_applies, stage_columns, stage_conditions
from sqltxt.column import Column, ColumnName, AmbiguousColumnNameError
from sqltxt.expression import Expression, AndList, OrList
import subprocess
class QueryTest(unittest.TestCas... | 39.538028 | 231 | 0.549516 | 1,750 | 14,036 | 4.090286 | 0.069143 | 0.071249 | 0.05658 | 0.055742 | 0.841716 | 0.827047 | 0.808885 | 0.801481 | 0.788628 | 0.760129 | 0 | 0.009266 | 0.28491 | 14,036 | 354 | 232 | 39.649718 | 0.703896 | 0.005058 | 0 | 0.593103 | 0 | 0.017241 | 0.219151 | 0.001504 | 0 | 0 | 0 | 0.002825 | 0.086207 | 1 | 0.048276 | false | 0 | 0.024138 | 0 | 0.075862 | 0.010345 | 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 |
bf1e41551e7e4c01b17aedb06a0e69b6324b95ca | 19 | py | Python | db/__init__.py | chenxiaoli/ethereum-watch | 27104b3486f20e78b596b93ff38948715e26db67 | [
"MIT"
] | 3 | 2019-10-24T02:25:30.000Z | 2019-11-07T14:23:30.000Z | db/__init__.py | chenxiaoli/ethereum-watch | 27104b3486f20e78b596b93ff38948715e26db67 | [
"MIT"
] | null | null | null | db/__init__.py | chenxiaoli/ethereum-watch | 27104b3486f20e78b596b93ff38948715e26db67 | [
"MIT"
] | null | null | null | from . import conn
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1729650975ece7569ad9eba04e8980e22cd19cf3 | 67 | py | Python | employees/forms.py | rcdosado/URO-MIS | 84834048ad747b4355b354d9d9ddfa814cd4365f | [
"MIT"
] | null | null | null | employees/forms.py | rcdosado/URO-MIS | 84834048ad747b4355b354d9d9ddfa814cd4365f | [
"MIT"
] | null | null | null | employees/forms.py | rcdosado/URO-MIS | 84834048ad747b4355b354d9d9ddfa814cd4365f | [
"MIT"
] | null | null | null | from django import forms
class LogoutForm(forms.Form):
pass
| 9.571429 | 29 | 0.731343 | 9 | 67 | 5.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208955 | 67 | 6 | 30 | 11.166667 | 0.924528 | 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 |
1771bca327c98033fab7c67f95ef20d1fe4db1ce | 20 | py | Python | autocfr/vanilla_cfr/__init__.py | rpSebastian/AutoCFR | 71fd4ce6e64580c11328b9fe75f79de3fae18af3 | [
"MIT"
] | 1 | 2022-03-21T09:31:02.000Z | 2022-03-21T09:31:02.000Z | autocfr/vanilla_cfr/__init__.py | rpSebastian/AutoCFR | 71fd4ce6e64580c11328b9fe75f79de3fae18af3 | [
"MIT"
] | null | null | null | autocfr/vanilla_cfr/__init__.py | rpSebastian/AutoCFR | 71fd4ce6e64580c11328b9fe75f79de3fae18af3 | [
"MIT"
] | null | null | null | from .cfr import *
| 6.666667 | 18 | 0.65 | 3 | 20 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 20 | 2 | 19 | 10 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
17880e28c211792434c83306a1b75d4a2df59309 | 33 | py | Python | propel_loss/__init__.py | masaddev/PROPEL | d09da11b8d58a4378b1c3b1b5e3443b4e2a134cf | [
"BSD-3-Clause"
] | 5 | 2021-05-06T15:08:32.000Z | 2022-01-14T16:50:32.000Z | propel_loss/__init__.py | masaddev/PROPEL | d09da11b8d58a4378b1c3b1b5e3443b4e2a134cf | [
"BSD-3-Clause"
] | null | null | null | propel_loss/__init__.py | masaddev/PROPEL | d09da11b8d58a4378b1c3b1b5e3443b4e2a134cf | [
"BSD-3-Clause"
] | null | null | null | from propel_loss.propel import *
| 16.5 | 32 | 0.818182 | 5 | 33 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bd68af009ad6293a777ada34c25a43cab1b1f8c7 | 12,983 | py | Python | regression/daily/systest_pte.py | SunHaoli/fabric-test | 15ad4464514b4bb4b2e6ad04e2445a57ab8a9033 | [
"Apache-2.0"
] | null | null | null | regression/daily/systest_pte.py | SunHaoli/fabric-test | 15ad4464514b4bb4b2e6ad04e2445a57ab8a9033 | [
"Apache-2.0"
] | null | null | null | regression/daily/systest_pte.py | SunHaoli/fabric-test | 15ad4464514b4bb4b2e6ad04e2445a57ab8a9033 | [
"Apache-2.0"
] | null | null | null | # Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
######################################################################
# To execute:
# Install: sudo apt-get install python python-pytest
# Run on command line: py.test -v --junitxml results_systest_pte.xml ./systest_pte.py
import un... | 47.039855 | 138 | 0.640992 | 1,668 | 12,983 | 4.941247 | 0.124101 | 0.047561 | 0.06115 | 0.064062 | 0.933026 | 0.931085 | 0.931085 | 0.931085 | 0.930114 | 0.926232 | 0 | 0.044923 | 0.242163 | 12,983 | 275 | 139 | 47.210909 | 0.792763 | 0.394362 | 0 | 0.625 | 0 | 0.041667 | 0.202181 | 0.102417 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.041667 | false | 0.010417 | 0.020833 | 0 | 0.083333 | 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 |
bd9a7ced5175e968d4387a6ebc26c733d84a8d60 | 40,657 | py | Python | bayesoptlib.py | dinesh-krishnamoorthy/Federated-BayesOpt | 11e697d775597822963f0ade7e9d4c152f132f84 | [
"Apache-2.0"
] | 1 | 2021-08-09T07:14:49.000Z | 2021-08-09T07:14:49.000Z | bayesoptlib.py | dinesh-krishnamoorthy/Federated-BayesOpt | 11e697d775597822963f0ade7e9d4c152f132f84 | [
"Apache-2.0"
] | null | null | null | bayesoptlib.py | dinesh-krishnamoorthy/Federated-BayesOpt | 11e697d775597822963f0ade7e9d4c152f132f84 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
from scipy.optimize import minimize
from scipy.stats import norm
import matplotlib.gridspec as gridspec
from matplotlib import cm
import matplotlib as mpl
from mpl_toolkits.mplot3d import Axes3D
import GPy
from sklearn.preprocessing import MinMaxScaler
scaler = MinMa... | 39.7818 | 147 | 0.554837 | 5,693 | 40,657 | 3.829967 | 0.059722 | 0.038984 | 0.029307 | 0.014309 | 0.806549 | 0.782655 | 0.752247 | 0.705926 | 0.68515 | 0.67107 | 0 | 0.028129 | 0.312714 | 40,657 | 1,021 | 148 | 39.820764 | 0.752174 | 0.093809 | 0 | 0.711819 | 0 | 0 | 0.038341 | 0 | 0 | 0 | 0 | 0 | 0.021248 | 1 | 0.088977 | false | 0 | 0.01328 | 0.007968 | 0.185923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bdd1bbc4e0762b246ab7c1e07aaef92dedc9e49c | 39 | py | Python | sabueso/cards/notebooks/__init__.py | dprada/sabueso | 14843cf3522b5b89db5b61c1541a7015f114dd53 | [
"MIT"
] | null | null | null | sabueso/cards/notebooks/__init__.py | dprada/sabueso | 14843cf3522b5b89db5b61c1541a7015f114dd53 | [
"MIT"
] | 2 | 2022-01-31T21:22:17.000Z | 2022-02-04T20:20:12.000Z | sabueso/cards/notebooks/__init__.py | dprada/sabueso | 14843cf3522b5b89db5b61c1541a7015f114dd53 | [
"MIT"
] | 1 | 2021-07-20T15:01:14.000Z | 2021-07-20T15:01:14.000Z | from .protein import protein_notebook
| 13 | 37 | 0.846154 | 5 | 39 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 2 | 38 | 19.5 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da339e2e5094c927859e20b1a8eaa4a9a1f5781d | 202 | py | Python | bcftbx/__init__.py | fls-bioinformatics-core/genomics | 1cd012faf69fff284f8f68ede050ffe30ac3327d | [
"AFL-3.0"
] | 49 | 2015-01-03T17:09:10.000Z | 2022-03-17T19:28:08.000Z | bcftbx/__init__.py | burkesquires/genomics | 9dd93a23e6401bcaa2d2ac17e319d72b0c80a410 | [
"AFL-3.0"
] | 59 | 2015-04-16T14:21:04.000Z | 2022-03-15T11:56:33.000Z | bcftbx/__init__.py | burkesquires/genomics | 9dd93a23e6401bcaa2d2ac17e319d72b0c80a410 | [
"AFL-3.0"
] | 29 | 2015-01-29T08:50:44.000Z | 2021-08-19T02:15:44.000Z | # Current version of the bcftbx package
__version__ = '1.11.1'
def get_version():
"""Returns a string with the current version of the bcftbx package (e.g., "0.2.0")
"""
return __version__
| 22.444444 | 86 | 0.673267 | 31 | 202 | 4.096774 | 0.612903 | 0.220472 | 0.251969 | 0.299213 | 0.503937 | 0.503937 | 0 | 0 | 0 | 0 | 0 | 0.04375 | 0.207921 | 202 | 8 | 87 | 25.25 | 0.75 | 0.613861 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
da837325366cf01ffeae1e7084e06b32848435fa | 56 | py | Python | Lista6/Lista6ex9.py | hugo-paiva/IntroducaoCienciasDaComputacao | a563f2fd5b773acbffaf4c858b86423b1130ae1f | [
"MIT"
] | null | null | null | Lista6/Lista6ex9.py | hugo-paiva/IntroducaoCienciasDaComputacao | a563f2fd5b773acbffaf4c858b86423b1130ae1f | [
"MIT"
] | null | null | null | Lista6/Lista6ex9.py | hugo-paiva/IntroducaoCienciasDaComputacao | a563f2fd5b773acbffaf4c858b86423b1130ae1f | [
"MIT"
] | null | null | null | M = [[1,2,3,4,5],[6,7,8,9,10],[11,12,13,14,15]]
print(M) | 28 | 47 | 0.5 | 18 | 56 | 1.555556 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.396226 | 0.053571 | 56 | 2 | 48 | 28 | 0.132075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
16f2450d0fb1d1d692fd4449ac79971ec9c28217 | 268 | py | Python | src/app/sentry_exception_handler.py | denkasyanov/education-backend | c796b6f2f1cc1cd09f83cab2ca0cc45344906ef5 | [
"MIT"
] | 151 | 2020-04-21T09:58:57.000Z | 2021-09-12T09:01:21.000Z | src/app/sentry_exception_handler.py | denkasyanov/education-backend | c796b6f2f1cc1cd09f83cab2ca0cc45344906ef5 | [
"MIT"
] | 163 | 2020-05-29T20:52:00.000Z | 2021-09-11T12:44:56.000Z | src/app/sentry_exception_handler.py | boochamoocha/education-backend | c6ffb0c00bc066c8f1e0a8c0ffe4d0215c7c416a | [
"MIT"
] | 39 | 2020-04-21T12:28:16.000Z | 2021-09-12T15:33:47.000Z | import sentry_sdk
from rest_framework.views import exception_handler
def sentry_exception_handler(exc, context):
"""Log all DRF exceptions to sentry, including ValidationErrors"""
sentry_sdk.capture_exception(exc)
return exception_handler(exc, context)
| 26.8 | 70 | 0.798507 | 34 | 268 | 6.058824 | 0.617647 | 0.23301 | 0.184466 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 268 | 9 | 71 | 29.777778 | 0.887931 | 0.223881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
16fd2dd4411e6cc27f59f055484da97363c45ce9 | 30 | py | Python | libreco/embedding/__init__.py | daniel-bru/LibRecommender | b9afe7b36e9c6666f8d709d054413b3a1aa10517 | [
"MIT"
] | 142 | 2019-11-25T15:13:14.000Z | 2022-03-25T23:31:06.000Z | libreco/embedding/__init__.py | bochuxt/LibRecommender | 3758c906ba6483019e31fbd4748020be75e6b43c | [
"MIT"
] | 65 | 2020-07-07T07:48:58.000Z | 2022-03-18T14:53:27.000Z | libreco/embedding/__init__.py | bochuxt/LibRecommender | 3758c906ba6483019e31fbd4748020be75e6b43c | [
"MIT"
] | 39 | 2019-11-25T15:13:15.000Z | 2022-03-18T16:35:36.000Z | from .item2vec import Item2Vec | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.1 | 30 | 1 | 30 | 30 | 0.888889 | 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 |
e5675d3740ae01927b60d053d9ee33c41de930fa | 1,067 | py | Python | bazel-skip_thoughts/external/local_config_cc/make_hashed_objlist.py | xiaoyu-liu/deepPixel | 84b3da8e41095f06b618e0d9879c7be4f29727c9 | [
"Apache-2.0"
] | null | null | null | bazel-skip_thoughts/external/local_config_cc/make_hashed_objlist.py | xiaoyu-liu/deepPixel | 84b3da8e41095f06b618e0d9879c7be4f29727c9 | [
"Apache-2.0"
] | null | null | null | bazel-skip_thoughts/external/local_config_cc/make_hashed_objlist.py | xiaoyu-liu/deepPixel | 84b3da8e41095f06b618e0d9879c7be4f29727c9 | [
"Apache-2.0"
] | null | null | null | XSym
0109
d54f197c104f6ff4b35ac431844346ae
/private/var/tmp/_bazel_Yang/400fa182461fe17cc77f5038eddf02de/external/local_config_cc/make_hashed_objlist.py
... | 213.4 | 914 | 0.131209 | 17 | 1,067 | 7.882353 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.295302 | 0.860356 | 1,067 | 5 | 914 | 213.4 | 0.604027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e568bd897f98a404429c3bbf3c37cabeeb8aeee3 | 77 | py | Python | pineboolib/qt3_widgets/qmessagebox.py | deavid/pineboo | acc96ab6d5b8bb182990af6dea4bf0986af15549 | [
"MIT"
] | 2 | 2015-09-19T16:54:49.000Z | 2016-09-12T08:06:29.000Z | pineboolib/qt3_widgets/qmessagebox.py | deavid/pineboo | acc96ab6d5b8bb182990af6dea4bf0986af15549 | [
"MIT"
] | 1 | 2017-08-14T17:07:14.000Z | 2017-08-15T00:22:47.000Z | pineboolib/qt3_widgets/qmessagebox.py | deavid/pineboo | acc96ab6d5b8bb182990af6dea4bf0986af15549 | [
"MIT"
] | 9 | 2015-01-15T18:15:42.000Z | 2019-05-05T18:53:00.000Z | from .messagebox import MessageBox
class QMessageBox(MessageBox):
pass
| 12.833333 | 34 | 0.779221 | 8 | 77 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 5 | 35 | 15.4 | 0.9375 | 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 |
e58f2fef46e5506672a0785390b34c47dfa316e2 | 202 | py | Python | morse/tests/test_encrypt_decrypt.py | vitorueno/morse-translater | e20269e4826c7f7608cf044fe8307b8cb1a7f9a4 | [
"MIT"
] | 3 | 2020-05-28T15:49:04.000Z | 2021-05-20T19:35:19.000Z | morse/tests/test_encrypt_decrypt.py | vitorueno/morse-translater | e20269e4826c7f7608cf044fe8307b8cb1a7f9a4 | [
"MIT"
] | null | null | null | morse/tests/test_encrypt_decrypt.py | vitorueno/morse-translater | e20269e4826c7f7608cf044fe8307b8cb1a7f9a4 | [
"MIT"
] | null | null | null | from ..encrypt import encrypt
from morse.decrypt import decrypt
def test_encrypt_decrypt():
assert decrypt(encrypt('OI')) == 'OI '
assert decrypt(encrypt('PYTHON-PROGRAM')) == 'PYTHON-PROGRAM ' | 33.666667 | 66 | 0.722772 | 25 | 202 | 5.76 | 0.44 | 0.180556 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138614 | 202 | 6 | 66 | 33.666667 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.167488 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e5b4b02f6b089023e5b105dabd5bbb383c77d5ac | 34 | py | Python | deeppavlov/skills/aiml_skill/__init__.py | xbodx/DeepPavlov | 4b60bf162df4294b8b0db3b72786cdd699c674fa | [
"Apache-2.0"
] | 5,893 | 2018-02-01T18:13:20.000Z | 2022-03-31T19:22:21.000Z | deeppavlov/skills/aiml_skill/__init__.py | xbodx/DeepPavlov | 4b60bf162df4294b8b0db3b72786cdd699c674fa | [
"Apache-2.0"
] | 749 | 2018-01-31T11:36:02.000Z | 2022-03-30T07:24:22.000Z | deeppavlov/skills/aiml_skill/__init__.py | xbodx/DeepPavlov | 4b60bf162df4294b8b0db3b72786cdd699c674fa | [
"Apache-2.0"
] | 1,155 | 2018-02-01T10:52:15.000Z | 2022-03-29T02:12:15.000Z | from .aiml_skill import AIMLSkill
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e5edf5078aa43936a82eb5d67e837170883da761 | 287 | py | Python | gymfc/envs/__init__.py | moneystarmoon/gymfc | 0c60ec21809b0029faa2cb07c6013219c80620f1 | [
"MIT"
] | 2 | 2019-07-12T14:16:15.000Z | 2019-11-26T11:19:30.000Z | gymfc/envs/__init__.py | moneystarmoon/gymfc | 0c60ec21809b0029faa2cb07c6013219c80620f1 | [
"MIT"
] | null | null | null | gymfc/envs/__init__.py | moneystarmoon/gymfc | 0c60ec21809b0029faa2cb07c6013219c80620f1 | [
"MIT"
] | null | null | null | from gymfc.envs.attitude_control_env import GyroErrorFeedbackEnv
from gymfc.envs.attitude_control_env import GyroErrorESCVelocityFeedbackEnv
from gymfc.envs.attitude_control_env import GyroErrorESCVelocityFeedbackContinuousEnv
from gymfc.envs.attitude_control_env import GoToPositionEnv
| 57.4 | 85 | 0.916376 | 32 | 287 | 7.96875 | 0.34375 | 0.141176 | 0.203922 | 0.329412 | 0.580392 | 0.580392 | 0.580392 | 0 | 0 | 0 | 0 | 0 | 0.055749 | 287 | 4 | 86 | 71.75 | 0.940959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0075099009fb14238b7fb2e251ddd1b475aaff34 | 122 | py | Python | heuristics/__init__.py | gabrielcipriano/trabalho-IA-2020-2 | 6a2bb1a64959b5f0a00cfd873fbdc184d804fad0 | [
"MIT"
] | null | null | null | heuristics/__init__.py | gabrielcipriano/trabalho-IA-2020-2 | 6a2bb1a64959b5f0a00cfd873fbdc184d804fad0 | [
"MIT"
] | null | null | null | heuristics/__init__.py | gabrielcipriano/trabalho-IA-2020-2 | 6a2bb1a64959b5f0a00cfd873fbdc184d804fad0 | [
"MIT"
] | null | null | null | '''__init__'''
from .grasp import grasp
from .simulated_annealing import simulated_annealing
from .genetic import genetic
| 24.4 | 52 | 0.819672 | 15 | 122 | 6.266667 | 0.466667 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106557 | 122 | 4 | 53 | 30.5 | 0.862385 | 0.065574 | 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 |
008ae6557470f455952d2b4325491a110fc8a57a | 35 | py | Python | WordRPG/engine/gui/__init__.py | ChristopherLBruce/WordRPG | e545cf313afc430e8191a7c813db9ee9759a6fd4 | [
"Apache-2.0"
] | 2 | 2018-12-15T15:06:35.000Z | 2022-02-09T00:19:28.000Z | WordRPG/engine/gui/__init__.py | ChristopherLBruce/WordRPG | e545cf313afc430e8191a7c813db9ee9759a6fd4 | [
"Apache-2.0"
] | null | null | null | WordRPG/engine/gui/__init__.py | ChristopherLBruce/WordRPG | e545cf313afc430e8191a7c813db9ee9759a6fd4 | [
"Apache-2.0"
] | null | null | null | from . import cursor, font, screen
| 17.5 | 34 | 0.742857 | 5 | 35 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 1 | 35 | 35 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
00904ff7ed8ccdfefbe7d710a22551b3d837e931 | 47 | py | Python | Python/tarun.py | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 1,428 | 2018-10-03T15:15:17.000Z | 2019-03-31T18:38:36.000Z | Python/tarun.py | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 1,162 | 2018-10-03T15:05:49.000Z | 2018-10-18T14:17:52.000Z | Python/tarun.py | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 3,909 | 2018-10-03T15:07:19.000Z | 2019-03-31T18:39:08.000Z | print("apun ashwadhama hai..kbhi nhi mrega!!")
| 23.5 | 46 | 0.723404 | 7 | 47 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.787234 | 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 |
009d2a6985cc8136cd203c95c20565cb910c1110 | 96 | py | Python | HW7/mashavskih/will_you_make_it.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | null | null | null | HW7/mashavskih/will_you_make_it.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | null | null | null | HW7/mashavskih/will_you_make_it.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | 6 | 2022-02-22T22:30:49.000Z | 2022-03-28T12:51:19.000Z | def zero_fuel(distance_to_pump, mpg, fuel_left):
return mpg * fuel_left >= distance_to_pump
| 32 | 48 | 0.770833 | 16 | 96 | 4.1875 | 0.5625 | 0.298507 | 0.41791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 96 | 2 | 49 | 48 | 0.817073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
00d1e3f5a145259906a48af93bb73baab23e121a | 188 | py | Python | polyaxon/config_manager/uri_spec.py | gzcf/polyaxon | 77ac8838c6444a36541e6c28aba7ae42de392fee | [
"MIT"
] | null | null | null | polyaxon/config_manager/uri_spec.py | gzcf/polyaxon | 77ac8838c6444a36541e6c28aba7ae42de392fee | [
"MIT"
] | null | null | null | polyaxon/config_manager/uri_spec.py | gzcf/polyaxon | 77ac8838c6444a36541e6c28aba7ae42de392fee | [
"MIT"
] | null | null | null | from collections import namedtuple
class UriSpec(namedtuple("UriSpec", "user password host")):
"""
A specification for uris configuration supported by Polyaxon.
"""
pass
| 20.888889 | 65 | 0.707447 | 20 | 188 | 6.65 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202128 | 188 | 8 | 66 | 23.5 | 0.886667 | 0.324468 | 0 | 0 | 0 | 0 | 0.225225 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.666667 | 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 |
00da90d6bfdc68d43ea2462dddf9aacb0ac9f0f7 | 29 | py | Python | gym_game/__init__.py | shakedzy/gym_game | 8b65fededfdf84b6a57d5dbbfc85d6a6b312abff | [
"MIT"
] | null | null | null | gym_game/__init__.py | shakedzy/gym_game | 8b65fededfdf84b6a57d5dbbfc85d6a6b312abff | [
"MIT"
] | null | null | null | gym_game/__init__.py | shakedzy/gym_game | 8b65fededfdf84b6a57d5dbbfc85d6a6b312abff | [
"MIT"
] | null | null | null | from gym_game.gym import Game | 29 | 29 | 0.862069 | 6 | 29 | 4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
daa121c17da12958113368ac488e7bddaa8005e2 | 21 | py | Python | tests/t35.py | jplevyak/pyc | 9f4bc49be78ba29427841460945ce63826fcd857 | [
"BSD-3-Clause"
] | 3 | 2019-08-21T22:01:35.000Z | 2021-07-25T00:21:28.000Z | tests/t35.py | jplevyak/pyc | 9f4bc49be78ba29427841460945ce63826fcd857 | [
"BSD-3-Clause"
] | null | null | null | tests/t35.py | jplevyak/pyc | 9f4bc49be78ba29427841460945ce63826fcd857 | [
"BSD-3-Clause"
] | null | null | null | print 1 . __add__(2)
| 10.5 | 20 | 0.666667 | 4 | 21 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.190476 | 21 | 1 | 21 | 21 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
dab6ac7a6fb1bff077400ed645e5031ec4a60528 | 48 | py | Python | src/keys_server/OM/__init__.py | dholdaway/MiltonKeynes_Wind | c5c955492b81a965f902e352176e36dc2ec06c9c | [
"BSD-2-Clause"
] | null | null | null | src/keys_server/OM/__init__.py | dholdaway/MiltonKeynes_Wind | c5c955492b81a965f902e352176e36dc2ec06c9c | [
"BSD-2-Clause"
] | null | null | null | src/keys_server/OM/__init__.py | dholdaway/MiltonKeynes_Wind | c5c955492b81a965f902e352176e36dc2ec06c9c | [
"BSD-2-Clause"
] | null | null | null | from .utils import *
from .OMKeysLookup import * | 24 | 27 | 0.770833 | 6 | 48 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 27 | 24 | 0.902439 | 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 |
9706b3667fee9a265a4b9907711043898b1b1395 | 9,853 | py | Python | testing/test_utility.py | arielbro/attractor_learning | 33693847f319d294a61a00f0d5c2c6457270fbfe | [
"MIT"
] | null | null | null | testing/test_utility.py | arielbro/attractor_learning | 33693847f319d294a61a00f0d5c2c6457270fbfe | [
"MIT"
] | null | null | null | testing/test_utility.py | arielbro/attractor_learning | 33693847f319d294a61a00f0d5c2c6457270fbfe | [
"MIT"
] | null | null | null | from unittest import TestCase
import utility
import random
import graphs
import stochastic
import random
import sympy
import os
import attractors
class TestUtility(TestCase):
def test_attractor_sets_equality(self):
for test in range(50):
n = random.randint(1, 6)
G = graphs.Network... | 57.958824 | 115 | 0.665178 | 1,092 | 9,853 | 5.698718 | 0.084249 | 0.139804 | 0.08099 | 0.074241 | 0.875462 | 0.844127 | 0.838824 | 0.799936 | 0.779206 | 0.779206 | 0 | 0.015052 | 0.258297 | 9,853 | 170 | 116 | 57.958824 | 0.836481 | 0.009439 | 0 | 0.697183 | 0 | 0 | 0.00041 | 0 | 0 | 0 | 0 | 0 | 0.267606 | 1 | 0.028169 | false | 0 | 0.06338 | 0 | 0.098592 | 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 |
9733b172aa633a8a647da7acf6ce6b5846ec415f | 2,231 | py | Python | services/api/tests/data/test_user.py | k0mmsussert0d/sf-microblog | df5255976ce960383dcca025e33aef543c490fa4 | [
"MIT"
] | null | null | null | services/api/tests/data/test_user.py | k0mmsussert0d/sf-microblog | df5255976ce960383dcca025e33aef543c490fa4 | [
"MIT"
] | null | null | null | services/api/tests/data/test_user.py | k0mmsussert0d/sf-microblog | df5255976ce960383dcca025e33aef543c490fa4 | [
"MIT"
] | null | null | null | def test_get_basic_user_details__return_details_if_user_exists(cognito_user, test_data):
from microblog.data.user import get_basic_user_details
user = test_data['users'][0]
res = get_basic_user_details(user['sub'])
assert res.username == user['preferred_username']
if user['avatar']:
asser... | 28.240506 | 99 | 0.760197 | 340 | 2,231 | 4.532353 | 0.1 | 0.068138 | 0.077872 | 0.110967 | 0.87865 | 0.864374 | 0.847502 | 0.826736 | 0.80013 | 0.765737 | 0 | 0.002658 | 0.15688 | 2,231 | 78 | 100 | 28.602564 | 0.816587 | 0 | 0 | 0.695652 | 0 | 0 | 0.085612 | 0.018826 | 0 | 0 | 0 | 0 | 0.282609 | 1 | 0.173913 | false | 0 | 0.173913 | 0 | 0.347826 | 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 |
973a52a8d71c52d89ad0953050f84d04a7f8ec12 | 3,947 | py | Python | tests/test_Common_IP.py | KronosKoderS/Concorde | 30c5c8d9818e937a88d33f19c7907f8394a1ab3b | [
"MIT"
] | 23 | 2017-09-07T21:54:15.000Z | 2019-09-16T20:31:20.000Z | tests/test_Common_IP.py | KronosKoderS/Concorde | 30c5c8d9818e937a88d33f19c7907f8394a1ab3b | [
"MIT"
] | 90 | 2017-08-26T06:00:51.000Z | 2020-07-17T12:00:45.000Z | tests/test_Common_IP.py | KronoSKoderS/Concorde | 30c5c8d9818e937a88d33f19c7907f8394a1ab3b | [
"MIT"
] | 5 | 2017-11-11T22:39:40.000Z | 2021-03-29T16:39:45.000Z | import unittest
import struct
from calpack.common.ip import *
from calpack.utils import PYPY
class Test_UDP_HEADER(unittest.TestCase):
def test_udp_header_native(self):
"""
This test verifies the proper structuring of the UDP Header Packet for native endian
formatting.
"""
... | 26.313333 | 92 | 0.525462 | 431 | 3,947 | 4.563805 | 0.174014 | 0.061007 | 0.042705 | 0.064057 | 0.903406 | 0.87392 | 0.87392 | 0.824098 | 0.737672 | 0.737672 | 0 | 0.0825 | 0.391943 | 3,947 | 149 | 93 | 26.489933 | 0.737083 | 0.048898 | 0 | 0.669643 | 0 | 0 | 0.017339 | 0 | 0 | 0 | 0.057708 | 0 | 0.053571 | 1 | 0.053571 | false | 0 | 0.035714 | 0 | 0.142857 | 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 |
974058ba5a8c21fcd0b4ec410e86c65f4baf6443 | 41,367 | py | Python | torch_model/BU_Transformer.py | LuMelon/Rumor_RvNN | 939831b6338ab48ec1754bc915512f1de07b5486 | [
"MIT"
] | 4 | 2019-09-22T13:49:32.000Z | 2020-07-08T09:23:14.000Z | torch_model/BU_Transformer.py | LuMelon/Rumor_RvNN | 939831b6338ab48ec1754bc915512f1de07b5486 | [
"MIT"
] | null | null | null | torch_model/BU_Transformer.py | LuMelon/Rumor_RvNN | 939831b6338ab48ec1754bc915512f1de07b5486 | [
"MIT"
] | null | null | null | #-*- encoding: utf8
__doc__ = """Tree GRU aka Recursive Neural Networks."""
import sys
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
import Transformer_Utils
import math
import copy
class Node_tweet(object):
def __init__(self, idx=None):
self.children ... | 49.541317 | 262 | 0.621727 | 5,992 | 41,367 | 4.040721 | 0.057076 | 0.051297 | 0.06282 | 0.073352 | 0.826532 | 0.805303 | 0.792293 | 0.776846 | 0.763506 | 0.748678 | 0 | 0.01655 | 0.249208 | 41,367 | 835 | 263 | 49.541317 | 0.763024 | 0.06319 | 0 | 0.652582 | 0 | 0 | 0.003841 | 0 | 0 | 0 | 0 | 0 | 0.015649 | 1 | 0.107981 | false | 0 | 0.01252 | 0.021909 | 0.228482 | 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 |
9751bc73f7312c19f5d6da59918774e2bd01c01c | 45 | py | Python | azf_wsgi/__init__.py | jaycle/azf-wsgi | ed78664803cee152fabaf0e105df0a0536604ff6 | [
"MIT"
] | 11 | 2019-01-07T04:56:42.000Z | 2021-05-27T15:32:37.000Z | azf_wsgi/__init__.py | jaycle/azf-wsgi | ed78664803cee152fabaf0e105df0a0536604ff6 | [
"MIT"
] | 3 | 2019-01-12T19:06:55.000Z | 2020-02-12T15:21:08.000Z | azf_wsgi/__init__.py | jaycle/azf-wsgi | ed78664803cee152fabaf0e105df0a0536604ff6 | [
"MIT"
] | 3 | 2019-03-12T18:58:30.000Z | 2020-03-12T06:44:56.000Z | from .wsgi_adapter import AzureFunctionsWsgi
| 22.5 | 44 | 0.888889 | 5 | 45 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.95122 | 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 |
c139e18ed4c8faf1cfd4cdb4e37eaaaf40502795 | 115 | py | Python | api/create_database_if_it_doesnt_exist.py | Lulla-App/data_access | c8ebe473465d91d70f70ed2151e3ec7fa4ac5b0c | [
"MIT"
] | null | null | null | api/create_database_if_it_doesnt_exist.py | Lulla-App/data_access | c8ebe473465d91d70f70ed2151e3ec7fa4ac5b0c | [
"MIT"
] | null | null | null | api/create_database_if_it_doesnt_exist.py | Lulla-App/data_access | c8ebe473465d91d70f70ed2151e3ec7fa4ac5b0c | [
"MIT"
] | null | null | null | from ..models import Base, engine
def create_database_if_it_doesnt_exist():
Base.metadata.create_all(engine)
| 19.166667 | 41 | 0.791304 | 17 | 115 | 5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121739 | 115 | 5 | 42 | 23 | 0.841584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c1e63ed5216bed4e85c4805d5fe1c5cfea31e701 | 29 | py | Python | db/sc/__init__.py | Vikort/neo4j-platform | 03e838673db98e2595293c9052dec02cbd630826 | [
"MIT"
] | null | null | null | db/sc/__init__.py | Vikort/neo4j-platform | 03e838673db98e2595293c9052dec02cbd630826 | [
"MIT"
] | 4 | 2021-10-11T18:26:28.000Z | 2021-11-02T11:43:06.000Z | db/sc/__init__.py | Vikort/neo4j-platform | 03e838673db98e2595293c9052dec02cbd630826 | [
"MIT"
] | 2 | 2021-10-10T20:29:08.000Z | 2021-10-12T23:39:23.000Z | from sc.memory import Memory
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e7205a937b30fa116b61401b2a2e55340dfbc655 | 15,772 | py | Python | learning/migrations/0001_initial.py | dbcaturra/django-koala-azure | 7b79b7484e3530513b97ed148333ba0778f38a3e | [
"MIT"
] | null | null | null | learning/migrations/0001_initial.py | dbcaturra/django-koala-azure | 7b79b7484e3530513b97ed148333ba0778f38a3e | [
"MIT"
] | null | null | null | learning/migrations/0001_initial.py | dbcaturra/django-koala-azure | 7b79b7484e3530513b97ed148333ba0778f38a3e | [
"MIT"
] | null | null | null | # Generated by Django 2.2 on 2019-06-05 20:53
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import learning.models
import learning.permissions
import taggit.managers
class Migration(migrations.Migration):
initial = True
dependencies = [
(... | 114.289855 | 2,019 | 0.589779 | 1,643 | 15,772 | 5.541083 | 0.218503 | 0.067663 | 0.031415 | 0.021749 | 0.75692 | 0.730558 | 0.70804 | 0.686511 | 0.67333 | 0.67333 | 0 | 0.00505 | 0.17138 | 15,772 | 137 | 2,020 | 115.124088 | 0.69156 | 0.002726 | 0 | 0.507692 | 1 | 0 | 0.372163 | 0.003752 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046154 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e720e30cf9f62e9cb23356445fd5f8e647c6c572 | 144 | py | Python | super_button_test.py | Denexapp/mannequin | 400918ac77baa8c2a9b93d96ae12a5d5955275bc | [
"MIT"
] | null | null | null | super_button_test.py | Denexapp/mannequin | 400918ac77baa8c2a9b93d96ae12a5d5955275bc | [
"MIT"
] | null | null | null | super_button_test.py | Denexapp/mannequin | 400918ac77baa8c2a9b93d96ae12a5d5955275bc | [
"MIT"
] | null | null | null | import RPi.GPIO as GPIO
import time
import super_button
super_button_object = super_button.SuperButton()
super_button_object.activate_button()
| 20.571429 | 48 | 0.854167 | 21 | 144 | 5.52381 | 0.47619 | 0.37931 | 0.293103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090278 | 144 | 6 | 49 | 24 | 0.885496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 |
e755415b8512234d6ad7baf0128226bd76b31211 | 11,672 | py | Python | src/data-client/src/test/test_conductor_api.py | jdeyton/forge-keeper | 6e95aed62f77353c365fa4ae8c2c01192a7b2c2e | [
"MIT"
] | null | null | null | src/data-client/src/test/test_conductor_api.py | jdeyton/forge-keeper | 6e95aed62f77353c365fa4ae8c2c01192a7b2c2e | [
"MIT"
] | 4 | 2020-08-09T03:28:05.000Z | 2020-08-13T18:48:43.000Z | src/data-client/src/test/test_conductor_api.py | jdeyton/forge-keeper | 6e95aed62f77353c365fa4ae8c2c01192a7b2c2e | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Forge Keeper - Conductor
This API focuses on managing data archives and drones that submit data to
them.
The version of the OpenAPI document: 1.0.0
Contact: not@vailable
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
from datetime ... | 32.15427 | 264 | 0.648132 | 1,339 | 11,672 | 5.467513 | 0.109037 | 0.031553 | 0.050266 | 0.046442 | 0.878295 | 0.872832 | 0.811091 | 0.793881 | 0.779948 | 0.75782 | 0 | 0.027324 | 0.2506 | 11,672 | 362 | 265 | 32.243094 | 0.809649 | 0.13194 | 0 | 0.61244 | 0 | 0.009569 | 0.149091 | 0.086867 | 0 | 0 | 0 | 0 | 0.076555 | 1 | 0.086124 | false | 0.004785 | 0.057416 | 0 | 0.148325 | 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 |
e76d607dbedb6788878bb716d1431bdd5a860ecd | 391 | py | Python | autograd_forward/__init__.py | BB-UCL/autograd-forward | bf5be940a21af52b111a79416c27c8be29b1e6b6 | [
"MIT"
] | 30 | 2017-05-28T19:35:22.000Z | 2020-01-21T08:18:24.000Z | autograd_forward/__init__.py | BB-UCL/autograd-forward | bf5be940a21af52b111a79416c27c8be29b1e6b6 | [
"MIT"
] | null | null | null | autograd_forward/__init__.py | BB-UCL/autograd-forward | bf5be940a21af52b111a79416c27c8be29b1e6b6 | [
"MIT"
] | 3 | 2017-06-20T01:35:28.000Z | 2020-07-24T14:57:09.000Z | from __future__ import absolute_import
from autograd_forward.convenience_wrappers import (jacobian_vector_product,
hessian_vector_product,
forward_derivative)
import autograd_forward.numpy
import autograd_forward.scip... | 39.1 | 75 | 0.667519 | 36 | 391 | 6.777778 | 0.5 | 0.307377 | 0.344262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.309463 | 391 | 9 | 76 | 43.444444 | 0.903704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 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 | 1 | 0 | 0 | 6 |
e779009643770f46b8aa6211ac72da98c438c982 | 29 | py | Python | tofu/tests/tests05_nist/__init__.py | WinstonLHS/tofu | c95b2eb6aedcf4bac5676752b9635b78f31af6ca | [
"MIT"
] | 6 | 2016-09-15T17:01:19.000Z | 2017-03-06T22:53:10.000Z | tofu/tests/tests05_nist/__init__.py | WinstonLHS/tofu | c95b2eb6aedcf4bac5676752b9635b78f31af6ca | [
"MIT"
] | 9 | 2016-09-14T17:23:52.000Z | 2017-04-13T07:30:07.000Z | tofu/tests/tests05_nist/__init__.py | Didou09/tofu | 4a4e1f058bab8e7556ed9d518f90807cec605476 | [
"MIT"
] | null | null | null |
from . import test_03_core
| 7.25 | 26 | 0.758621 | 5 | 29 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.206897 | 29 | 3 | 27 | 9.666667 | 0.782609 | 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 |
e7906a706f2e5ffe81218a4e52e369ab704e735f | 245 | py | Python | pyleecan/Methods/Slot/SlotCirc/check.py | Eomys/Pyleecan | 4d7f0cbabf0311006963e7a2f435db2ecd901118 | [
"Apache-2.0"
] | 4 | 2017-11-27T10:14:34.000Z | 2018-09-20T11:30:32.000Z | pyleecan/Methods/Slot/SlotCirc/check.py | Eomys/Pyleecan | 4d7f0cbabf0311006963e7a2f435db2ecd901118 | [
"Apache-2.0"
] | null | null | null | pyleecan/Methods/Slot/SlotCirc/check.py | Eomys/Pyleecan | 4d7f0cbabf0311006963e7a2f435db2ecd901118 | [
"Apache-2.0"
] | null | null | null | from ....Methods.Slot.Slot import SlotCheckError
def check(self):
"""Check that the SlotCirc object is correct
Parameters
----------
self : SlotCirc
A SlotCirc object
Returns
-------
None
"""
pass
| 14.411765 | 48 | 0.563265 | 25 | 245 | 5.52 | 0.76 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302041 | 245 | 16 | 49 | 15.3125 | 0.807018 | 0.506122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e7a6660a106b271551f0645da1bb352dc7ee6ac7 | 33 | py | Python | src/channel/__init__.py | andyandreolli/channel_pytools | 3268b92aebd0d8859358a0610865559308a2cb01 | [
"MIT"
] | null | null | null | src/channel/__init__.py | andyandreolli/channel_pytools | 3268b92aebd0d8859358a0610865559308a2cb01 | [
"MIT"
] | null | null | null | src/channel/__init__.py | andyandreolli/channel_pytools | 3268b92aebd0d8859358a0610865559308a2cb01 | [
"MIT"
] | null | null | null | from channel.convenience import * | 33 | 33 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
99e23d17aca79b1f0081ca98903b81efb9c85a80 | 7,066 | py | Python | torchlu_anim.py | aycatakmaz/packnet-sfm | d89cae81290133f136f6a1d1e288affc67eed1f7 | [
"MIT"
] | null | null | null | torchlu_anim.py | aycatakmaz/packnet-sfm | d89cae81290133f136f6a1d1e288affc67eed1f7 | [
"MIT"
] | null | null | null | torchlu_anim.py | aycatakmaz/packnet-sfm | d89cae81290133f136f6a1d1e288affc67eed1f7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Sep 4 08:28:37 2020
@author: aycatakmaz
"""
'''
def save_depth_video(self, save_embeddings=False):
#self.set_eval()
root_anim_dir = '' #self.opt.anim_dir + '/' + self.model_name_temp[-24:] + '/'
seq_depths_plasma = np.zeros((100,self.... | 43.888199 | 239 | 0.553354 | 955 | 7,066 | 3.851309 | 0.167539 | 0.051387 | 0.044861 | 0.053834 | 0.79391 | 0.72621 | 0.715606 | 0.715606 | 0.707722 | 0.68298 | 0 | 0.033968 | 0.279224 | 7,066 | 161 | 240 | 43.888199 | 0.688199 | 0.006085 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 0 | null | null | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
99e4c14d4e0ee1263fea4b9317d4a456db561ab2 | 26 | py | Python | mf2web/mt3d/__init__.py | jlarsen-usgs/mf2web | 57e2c65ee84d678245ca7853feca981950a2f662 | [
"BSD-3-Clause"
] | 1 | 2019-03-28T02:22:56.000Z | 2019-03-28T02:22:56.000Z | mf2web/mt3d/__init__.py | jlarsen-usgs/mf2web | 57e2c65ee84d678245ca7853feca981950a2f662 | [
"BSD-3-Clause"
] | null | null | null | mf2web/mt3d/__init__.py | jlarsen-usgs/mf2web | 57e2c65ee84d678245ca7853feca981950a2f662 | [
"BSD-3-Clause"
] | null | null | null | from .mt3d import Mt3dms
| 13 | 25 | 0.769231 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.192308 | 26 | 1 | 26 | 26 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4144df93161311e24a762b30500a5480eb1475aa | 54 | py | Python | pyqt_windows_buttons_widget/__init__.py | yjg30737/pyqt-windows-min-max-close-buttons-widget | 3b1acebee8c2db8016994b62ab9f64e73736147d | [
"MIT"
] | null | null | null | pyqt_windows_buttons_widget/__init__.py | yjg30737/pyqt-windows-min-max-close-buttons-widget | 3b1acebee8c2db8016994b62ab9f64e73736147d | [
"MIT"
] | null | null | null | pyqt_windows_buttons_widget/__init__.py | yjg30737/pyqt-windows-min-max-close-buttons-widget | 3b1acebee8c2db8016994b62ab9f64e73736147d | [
"MIT"
] | null | null | null | from .windowsButtonsWidget import WindowsButtonsWidget | 54 | 54 | 0.925926 | 4 | 54 | 12.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 54 | 1 | 54 | 54 | 0.980392 | 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 |
419fb2c2bce09f7f375cba9922544df69cae970e | 127 | py | Python | tests/test_montecarlo.py | SciFin-Team/SciFin | e4e3d1a32e060c911e43d89df833b3ad078ba6df | [
"MIT"
] | 9 | 2020-08-07T02:58:44.000Z | 2021-10-05T16:37:07.000Z | tests/test_montecarlo.py | SciFin-Team/SciFin | e4e3d1a32e060c911e43d89df833b3ad078ba6df | [
"MIT"
] | 9 | 2020-08-30T09:55:23.000Z | 2020-10-15T20:06:36.000Z | tests/test_montecarlo.py | SciFin-Team/SciFin | e4e3d1a32e060c911e43d89df833b3ad078ba6df | [
"MIT"
] | 5 | 2020-08-17T10:35:26.000Z | 2020-11-13T17:46:33.000Z | from scifin import montecarlo as mc
class TestMonteCarlo:
"""
Tests the functions in montecarlo.py.
"""
pass
| 14.111111 | 41 | 0.661417 | 15 | 127 | 5.6 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267717 | 127 | 8 | 42 | 15.875 | 0.903226 | 0.291339 | 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 |
41a2515bd2496c4e06785fc758d1c80d417833c0 | 100 | py | Python | structural/adapter/adaptee.py | pascalweiss/gof_design_patterns | d142ebf21bb1a1e7925b0e7915eb6d857df58299 | [
"Apache-2.0"
] | null | null | null | structural/adapter/adaptee.py | pascalweiss/gof_design_patterns | d142ebf21bb1a1e7925b0e7915eb6d857df58299 | [
"Apache-2.0"
] | null | null | null | structural/adapter/adaptee.py | pascalweiss/gof_design_patterns | d142ebf21bb1a1e7925b0e7915eb6d857df58299 | [
"Apache-2.0"
] | null | null | null | class UserTarget:
@staticmethod
def get_response():
return "Response by UserTarget"
| 20 | 39 | 0.68 | 10 | 100 | 6.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 100 | 4 | 40 | 25 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6b966d5b1c552f81567fc1f0230f0ea39ed3ce4d | 154 | py | Python | mtPytorchTest/test_modulated_deconv.py | bingchengzhou/mtTest | 8bd72cfbf6acb11322960d199c8ae44919ae0f2f | [
"MIT"
] | null | null | null | mtPytorchTest/test_modulated_deconv.py | bingchengzhou/mtTest | 8bd72cfbf6acb11322960d199c8ae44919ae0f2f | [
"MIT"
] | null | null | null | mtPytorchTest/test_modulated_deconv.py | bingchengzhou/mtTest | 8bd72cfbf6acb11322960d199c8ae44919ae0f2f | [
"MIT"
] | null | null | null | import torch
import time
import musa_torch_extension
from utils.diff import diff_cpu
from utils.save import save_torch_to_txt
def make_data():
pass
| 15.4 | 40 | 0.818182 | 26 | 154 | 4.576923 | 0.615385 | 0.151261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149351 | 154 | 9 | 41 | 17.111111 | 0.908397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0.142857 | 0.714286 | 0 | 0.857143 | 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 |
6ba131ae45a44f2ffe0143bed1ca907b46376629 | 2,622 | py | Python | algorithm/string/common_child/solution_test.py | delaanthonio/hackerrank | b1f2e1e93b3260be90eb3b8cb8e86e9a700acf27 | [
"MIT"
] | 1 | 2017-07-02T01:35:39.000Z | 2017-07-02T01:35:39.000Z | algorithm/string/common_child/solution_test.py | delaanthonio/hackerrank | b1f2e1e93b3260be90eb3b8cb8e86e9a700acf27 | [
"MIT"
] | null | null | null | algorithm/string/common_child/solution_test.py | delaanthonio/hackerrank | b1f2e1e93b3260be90eb3b8cb8e86e9a700acf27 | [
"MIT"
] | 1 | 2018-04-03T15:11:56.000Z | 2018-04-03T15:11:56.000Z | import pytest
from common_child import lcs
sample_case_1 = ("AA", "BB", 0)
sample_case_2 = ("ABC", "ACB", 2)
sample_case_3 = ("HARRY", "SALLY", 2)
sample_case_4 = ("SHINCHAN", "NOHARAAA", 3)
sample_case_5 = ("ABCDEF", "FBDAMN", 2)
case_6 = ("WEWOUCUIDGCGTRMEZEPXZFEJWISRSBBSYXAYDFEJJDLEBVHHKS",
"FDAGCXGKCTKW... | 100.846154 | 1,007 | 0.920671 | 83 | 2,622 | 28.771084 | 0.481928 | 0.041876 | 0.013819 | 0.01005 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009566 | 0.043097 | 2,622 | 25 | 1,008 | 104.88 | 0.942208 | 0 | 0 | 0 | 0 | 0 | 0.723192 | 0.685786 | 0 | 1 | 0 | 0 | 0.052632 | 1 | 0.052632 | false | 0 | 0.105263 | 0 | 0.157895 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.