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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
48ed0bf1cef48d3b167627f0947b85e155fcb919 | 191 | py | Python | _src/Section 1/Scripts_1_3/Immutable.py | paullewallencom/functional-programming-978-1-7889-9029-5 | 2f68defe03335bd8339810105e03c842b022e690 | [
"Apache-2.0"
] | 12 | 2019-01-03T14:53:16.000Z | 2021-10-04T04:52:51.000Z | _src/Section 1/Scripts_1_3/Immutable.py | paullewallencom/functional-programming-978-1-7889-9029-5 | 2f68defe03335bd8339810105e03c842b022e690 | [
"Apache-2.0"
] | 1 | 2019-02-08T10:14:26.000Z | 2019-02-08T10:14:26.000Z | _src/Section 1/Scripts_1_3/Immutable.py | paullewallencom/functional-programming-978-1-7889-9029-5 | 2f68defe03335bd8339810105e03c842b022e690 | [
"Apache-2.0"
] | 5 | 2019-02-06T09:27:34.000Z | 2020-06-15T13:18:38.000Z | x = 123
print "Unique Id of x is", id(x)
y = 123
print "Unique Id of y is", id(y)
print "\n\n After Update\n"
y = y + 1
print "Unique Id of x is", id(x)
print "Unique Id of y is", id(y) | 13.642857 | 32 | 0.596859 | 45 | 191 | 2.533333 | 0.266667 | 0.385965 | 0.45614 | 0.526316 | 0.789474 | 0.736842 | 0.736842 | 0.736842 | 0 | 0 | 0 | 0.048951 | 0.251309 | 191 | 14 | 33 | 13.642857 | 0.748252 | 0 | 0 | 0.5 | 0 | 0 | 0.453125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.625 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
48ee25bdfb54edb5a2e1a5129a735e9550cdb0f4 | 44 | py | Python | experiments_dikower/controllers/drlbox/evaluator/__init__.py | prokhn/onti-2019-bigdata | b9296141958f544177388be94072efce7bdc7814 | [
"MIT"
] | null | null | null | experiments_dikower/controllers/drlbox/evaluator/__init__.py | prokhn/onti-2019-bigdata | b9296141958f544177388be94072efce7bdc7814 | [
"MIT"
] | null | null | null | experiments_dikower/controllers/drlbox/evaluator/__init__.py | prokhn/onti-2019-bigdata | b9296141958f544177388be94072efce7bdc7814 | [
"MIT"
] | null | null | null |
from .make_evaluator import make_evaluator
| 14.666667 | 42 | 0.863636 | 6 | 44 | 6 | 0.666667 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 2 | 43 | 22 | 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 | 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 | 7 |
48fb2d0e67d0491afc9b83be38ccbccf8942d951 | 7,860 | py | Python | component/replay.py | G-Flor/deeprl | aeae2c5d585e5853dc638968b1f090eb60abd351 | [
"Apache-2.0"
] | 4 | 2019-04-09T13:17:29.000Z | 2020-04-25T03:45:11.000Z | component/replay.py | G-Flor/deeprl | aeae2c5d585e5853dc638968b1f090eb60abd351 | [
"Apache-2.0"
] | null | null | null | component/replay.py | G-Flor/deeprl | aeae2c5d585e5853dc638968b1f090eb60abd351 | [
"Apache-2.0"
] | 3 | 2018-02-07T18:22:18.000Z | 2019-06-25T08:01:17.000Z | #######################################################################
# Copyright (C) 2017 Shangtong Zhang(zhangshangtong.cpp@gmail.com) #
# Permission given to modify the code as long as you keep this #
# declaration at the top #
################################... | 34.933333 | 99 | 0.604707 | 963 | 7,860 | 4.764278 | 0.093458 | 0.102441 | 0.12816 | 0.05558 | 0.827158 | 0.807977 | 0.765693 | 0.746513 | 0.739538 | 0.720357 | 0 | 0.005605 | 0.273664 | 7,860 | 224 | 100 | 35.089286 | 0.798038 | 0.020356 | 0 | 0.737143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12 | false | 0 | 0.022857 | 0.005714 | 0.234286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
5b23f6c801ce1ede222da9e90c7955bf2a9c3b6a | 42 | py | Python | build/lib/Football_Pitch/__init__.py | Ailihamu/Package_exp | e5bda7b06f11b5bdffb070f2a48a42f7dc33309f | [
"MIT"
] | 1 | 2020-06-17T01:21:32.000Z | 2020-06-17T01:21:32.000Z | build/lib/Football_Pitch/__init__.py | Ailihamu/Package_exp | e5bda7b06f11b5bdffb070f2a48a42f7dc33309f | [
"MIT"
] | null | null | null | build/lib/Football_Pitch/__init__.py | Ailihamu/Package_exp | e5bda7b06f11b5bdffb070f2a48a42f7dc33309f | [
"MIT"
] | null | null | null | from .Football_Pitch import Football_Pitch | 42 | 42 | 0.904762 | 6 | 42 | 6 | 0.666667 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 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 | 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 | 7 |
d2b75c5d109e5fb348c6d5bd3a3c1b9a3c6e1699 | 4,556 | py | Python | home/migrations/0019_auto_20200515_1717.py | IATI/new-website | b90783e32d19ac4c821c5ea018a52997a11b5286 | [
"MIT"
] | 4 | 2019-03-28T06:42:17.000Z | 2021-06-06T13:10:51.000Z | home/migrations/0019_auto_20200515_1717.py | IATI/new-website | b90783e32d19ac4c821c5ea018a52997a11b5286 | [
"MIT"
] | 177 | 2018-09-28T14:21:56.000Z | 2022-03-30T21:45:26.000Z | home/migrations/0019_auto_20200515_1717.py | IATI/new-website | b90783e32d19ac4c821c5ea018a52997a11b5286 | [
"MIT"
] | 8 | 2018-10-25T20:43:10.000Z | 2022-03-17T14:19:27.000Z | # Generated by Django 2.2.12 on 2020-05-15 17:17
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('home', '0018_remove_homepage_use_legacy_template'),
]
operations = [
migrations.AlterField(
model_name='homepage',
... | 51.191011 | 175 | 0.65957 | 517 | 4,556 | 5.663443 | 0.119923 | 0.102459 | 0.128074 | 0.148566 | 0.941598 | 0.941598 | 0.941598 | 0.927254 | 0.927254 | 0.927254 | 0 | 0.018895 | 0.244952 | 4,556 | 88 | 176 | 51.772727 | 0.832267 | 0.010097 | 0 | 0.841463 | 1 | 0 | 0.377107 | 0.068101 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012195 | 0 | 0.04878 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9614a47566fb6f92c846189613d82687c0335403 | 77,008 | py | Python | TrainingExtensions/torch/test/python/test_quantsim_config.py | aaronkjones/aimet | 08feb34573281f87c53301935652a02f8d573858 | [
"BSD-3-Clause"
] | null | null | null | TrainingExtensions/torch/test/python/test_quantsim_config.py | aaronkjones/aimet | 08feb34573281f87c53301935652a02f8d573858 | [
"BSD-3-Clause"
] | null | null | null | TrainingExtensions/torch/test/python/test_quantsim_config.py | aaronkjones/aimet | 08feb34573281f87c53301935652a02f8d573858 | [
"BSD-3-Clause"
] | null | null | null | # -*- mode: python -*-
# =============================================================================
# @@-COPYRIGHT-START-@@
#
# Copyright (c) 2020, Qualcomm Innovation Center, Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided t... | 40.939926 | 136 | 0.482327 | 6,745 | 77,008 | 5.299629 | 0.066271 | 0.059923 | 0.042802 | 0.052314 | 0.866251 | 0.850305 | 0.828848 | 0.816791 | 0.809126 | 0.801069 | 0 | 0.013798 | 0.423073 | 77,008 | 1,880 | 137 | 40.961702 | 0.790785 | 0.137466 | 0 | 0.70915 | 0 | 0 | 0.131534 | 0.03532 | 0 | 0 | 0 | 0 | 0.098039 | 1 | 0.024183 | false | 0.004575 | 0.013725 | 0 | 0.041176 | 0.001961 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
826c267c6f0e4c8fb3a779811a655bcb0a0e3dfb | 218 | py | Python | main.py | TiesWestendorp/MTG-Deck-Organizer | 409185c1bcfc8bf70c441d3242ed10c7c41f9d90 | [
"MIT"
] | null | null | null | main.py | TiesWestendorp/MTG-Deck-Organizer | 409185c1bcfc8bf70c441d3242ed10c7c41f9d90 | [
"MIT"
] | null | null | null | main.py | TiesWestendorp/MTG-Deck-Organizer | 409185c1bcfc8bf70c441d3242ed10c7c41f9d90 | [
"MIT"
] | null | null | null | from commands import cards_not_in_decks
from commands import disjoint_bases
from commands import inventory_sum_decklists
from commands import inventory_union_decklists
from commands import simultaneously_constructible
| 36.333333 | 49 | 0.908257 | 29 | 218 | 6.517241 | 0.517241 | 0.31746 | 0.47619 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091743 | 218 | 5 | 50 | 43.6 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 8 |
827f78838e906c745628bfceb8e5c660408759b9 | 22,808 | py | Python | mlfinlab/tests/test_run_data_structures.py | scibol/mlfinlab | 3c80f269bc68b8cb9bcf863ceb3dc77fc14b6984 | [
"BSD-3-Clause"
] | 8 | 2020-04-19T08:09:34.000Z | 2022-03-30T20:49:40.000Z | mlfinlab/tests/test_run_data_structures.py | scibol/mlfinlab | 3c80f269bc68b8cb9bcf863ceb3dc77fc14b6984 | [
"BSD-3-Clause"
] | 1 | 2019-07-24T17:52:30.000Z | 2019-07-24T17:52:30.000Z | mlfinlab/tests/test_run_data_structures.py | scibol/mlfinlab | 3c80f269bc68b8cb9bcf863ceb3dc77fc14b6984 | [
"BSD-3-Clause"
] | 8 | 2020-08-09T02:25:04.000Z | 2022-03-20T15:08:11.000Z | """
Tests the financial data structures
"""
import unittest
import os
import numpy as np
import pandas as pd
from mlfinlab.data_structures import run_data_structures as ds
class TestDataStructures(unittest.TestCase):
"""
Test the various financial data structures:
1. Run Dollar bars
2. Run Volume ba... | 50.348786 | 112 | 0.573439 | 2,856 | 22,808 | 4.317927 | 0.056723 | 0.040869 | 0.064223 | 0.07663 | 0.940399 | 0.935209 | 0.914937 | 0.907395 | 0.904882 | 0.902368 | 0 | 0.060224 | 0.318572 | 22,808 | 452 | 113 | 50.460177 | 0.733239 | 0.098606 | 0 | 0.786667 | 0 | 0 | 0.033384 | 0.001775 | 0 | 0 | 0 | 0 | 0.46 | 1 | 0.03 | false | 0 | 0.016667 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7d6cd140c30864ce1cdf005b63ddcbbd8e689f66 | 4,727 | py | Python | dataactcore/migrations/versions/2ae156c8f46d_update_d1_and_d2_for_daims_v1_1.py | brianherman/data-act-broker-backend | 80eb055b9d245046192f7ad4fd0be7d0e11d2dec | [
"CC0-1.0"
] | 1 | 2019-06-22T21:53:16.000Z | 2019-06-22T21:53:16.000Z | dataactcore/migrations/versions/2ae156c8f46d_update_d1_and_d2_for_daims_v1_1.py | brianherman/data-act-broker-backend | 80eb055b9d245046192f7ad4fd0be7d0e11d2dec | [
"CC0-1.0"
] | 3 | 2021-08-22T11:47:45.000Z | 2022-03-29T22:06:49.000Z | dataactcore/migrations/versions/2ae156c8f46d_update_d1_and_d2_for_daims_v1_1.py | brianherman/data-act-broker-backend | 80eb055b9d245046192f7ad4fd0be7d0e11d2dec | [
"CC0-1.0"
] | 1 | 2020-07-17T23:50:56.000Z | 2020-07-17T23:50:56.000Z | """update d1 and d2 for daims v1.1
Revision ID: 2ae156c8f46d
Revises: 4b1ee78268fb
Create Date: 2017-08-28 15:16:00.926683
"""
# revision identifiers, used by Alembic.
revision = '2ae156c8f46d'
down_revision = '4b1ee78268fb'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
def... | 58.358025 | 124 | 0.78168 | 656 | 4,727 | 5.20122 | 0.129573 | 0.112544 | 0.09027 | 0.110785 | 0.88306 | 0.880129 | 0.860199 | 0.840563 | 0.828253 | 0.763775 | 0 | 0.012076 | 0.089063 | 4,727 | 80 | 125 | 59.0875 | 0.780307 | 0.065369 | 0 | 0 | 0 | 0 | 0.493157 | 0.404197 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.037037 | 0 | 0.111111 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7d891439bed408c68a6815646024fc4d6d381f1a | 23,241 | py | Python | applied_python/applied_python/lib/python2.7/site-packages/pysnmp/hlapi/asyncore/sync/cmdgen.py | mith1979/ansible_automation | 013dfa67c6d91720b787fadb21de574b6e023a26 | [
"Apache-2.0"
] | null | null | null | applied_python/applied_python/lib/python2.7/site-packages/pysnmp/hlapi/asyncore/sync/cmdgen.py | mith1979/ansible_automation | 013dfa67c6d91720b787fadb21de574b6e023a26 | [
"Apache-2.0"
] | null | null | null | applied_python/applied_python/lib/python2.7/site-packages/pysnmp/hlapi/asyncore/sync/cmdgen.py | mith1979/ansible_automation | 013dfa67c6d91720b787fadb21de574b6e023a26 | [
"Apache-2.0"
] | null | null | null | #
# This file is part of pysnmp software.
#
# Copyright (c) 2005-2016, Ilya Etingof <ilya@glas.net>
# License: http://pysnmp.sf.net/license.html
#
from sys import version_info
from pysnmp.hlapi.asyncore import cmdgen
from pysnmp.hlapi.varbinds import *
from pysnmp.proto.rfc1905 import endOfMibView
from pysnmp.proto imp... | 38.735 | 138 | 0.615937 | 2,321 | 23,241 | 6.161999 | 0.128824 | 0.016641 | 0.030905 | 0.030206 | 0.874983 | 0.857083 | 0.84212 | 0.828695 | 0.81541 | 0.805901 | 0 | 0.016738 | 0.287939 | 23,241 | 599 | 139 | 38.799666 | 0.847483 | 0.533927 | 0 | 0.754808 | 0 | 0 | 0.057043 | 0.00453 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043269 | false | 0 | 0.028846 | 0.004808 | 0.105769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
7db9761ee09127ca552ff6ad6a83819c07a6feda | 41 | py | Python | basis/trimesh/interfaces/__init__.py | takuya-ki/wrs | f6e1009b94332504042fbde9b39323410394ecde | [
"MIT"
] | 23 | 2021-04-02T09:02:04.000Z | 2022-03-22T05:31:03.000Z | basis/trimesh/interfaces/__init__.py | takuya-ki/wrs | f6e1009b94332504042fbde9b39323410394ecde | [
"MIT"
] | 35 | 2021-04-12T09:41:05.000Z | 2022-03-26T13:32:46.000Z | basis/trimesh/interfaces/__init__.py | takuya-ki/wrs | f6e1009b94332504042fbde9b39323410394ecde | [
"MIT"
] | 16 | 2021-03-30T11:55:45.000Z | 2022-03-30T07:10:59.000Z | from . import scad
from . import blender
| 13.666667 | 21 | 0.756098 | 6 | 41 | 5.166667 | 0.666667 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 22 | 20.5 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
81cb296b65166efb84ac449409d405b98a6c996e | 2,286 | py | Python | math/standard_deviation.py | IvoryLu/data-processing | 65d91537dea777d037e9a419a355a0c8493aa19c | [
"BSD-3-Clause"
] | null | null | null | math/standard_deviation.py | IvoryLu/data-processing | 65d91537dea777d037e9a419a355a0c8493aa19c | [
"BSD-3-Clause"
] | null | null | null | math/standard_deviation.py | IvoryLu/data-processing | 65d91537dea777d037e9a419a355a0c8493aa19c | [
"BSD-3-Clause"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
from data import nba_data, okcupid_data
nba_mean = np.mean(nba_data)
okcupid_mean = np.mean(okcupid_data)
#Change this variable to your height (in inches)!
your_height = 65
nba_standard_deviation = np.std(nba_data)
okcupid_standard_deviation = np.std(okcupid_data)
... | 35.169231 | 134 | 0.757655 | 320 | 2,286 | 5.2375 | 0.165625 | 0.095465 | 0.21957 | 0.229117 | 0.778043 | 0.778043 | 0.778043 | 0.736277 | 0.736277 | 0.736277 | 0 | 0.041366 | 0.090551 | 2,286 | 64 | 135 | 35.71875 | 0.764791 | 0.020997 | 0 | 0.210526 | 0 | 0 | 0.140877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.078947 | 0 | 0.078947 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
81d2dc816f6cc2393790151bec57ceda055cc66b | 1,035 | py | Python | 9.1 name fire sequence test.py | asadava/NameSong | 133b5ff107940ae7571c53de8a6cf89621f15f6c | [
"MIT"
] | null | null | null | 9.1 name fire sequence test.py | asadava/NameSong | 133b5ff107940ae7571c53de8a6cf89621f15f6c | [
"MIT"
] | null | null | null | 9.1 name fire sequence test.py | asadava/NameSong | 133b5ff107940ae7571c53de8a6cf89621f15f6c | [
"MIT"
] | null | null | null | import time
print("🏪🛒🛒 ")
time.sleep(.2)
print("🏪🛒🛒 🔥🔥")
time.sleep(.2)
print("🏪🛒🛒🔥🔥")
time.sleep(.2)
print("🏪🛒🔥🔥")
time.sleep(.2)
print("🏪🔥🔥🌫")
time.sleep(.2)
print("🔥🔥🌫🌫")
time.sleep(0.2)
print("🔥🌫🌫🌫")
time.sleep(0.2)
print("🌫🌫🌫🌫")
time.sleep(1)
print("🌫🌫🌫🌫 ... | 17.844828 | 27 | 0.417391 | 175 | 1,035 | 3.76 | 0.154286 | 0.382979 | 0.319149 | 0.478723 | 0.727964 | 0.463526 | 0.31155 | 0.31155 | 0.31155 | 0.31155 | 0 | 0.034208 | 0.152657 | 1,035 | 58 | 28 | 17.844828 | 0.458381 | 0 | 0 | 0.719298 | 0 | 0 | 0.27477 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.017544 | 0 | 0.017544 | 0.491228 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
c48c271670a6f96890a4bcf5c7863664bf8c97b2 | 110 | py | Python | telemetry/loggers/__init__.py | trevorgrayson/telemetry | efeca1b2062f40a2557f2c030dc687f546f3c60b | [
"MIT"
] | 3 | 2020-03-20T20:04:37.000Z | 2021-08-23T20:11:10.000Z | telemetry/loggers/__init__.py | trevorgrayson/telemetry | efeca1b2062f40a2557f2c030dc687f546f3c60b | [
"MIT"
] | 2 | 2019-06-10T08:02:05.000Z | 2019-06-10T08:02:22.000Z | telemetry/loggers/__init__.py | trevorgrayson/telemetry | efeca1b2062f40a2557f2c030dc687f546f3c60b | [
"MIT"
] | null | null | null | from telemetry.clients.pagerduty import PagerDutyTelemeter
from telemetry.clients.slack import SlackTelemeter
| 36.666667 | 58 | 0.890909 | 12 | 110 | 8.166667 | 0.666667 | 0.265306 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 110 | 2 | 59 | 55 | 0.960784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 7 |
484c22950d92c4719af57441dbe6aaf1bb31e0cb | 15,382 | py | Python | guitar-package/guitar/tests/patcher_test.py | django-stars/guitar | 9bddfd2d7b555c97dd9470b458a5f43bd805b026 | [
"MIT"
] | null | null | null | guitar-package/guitar/tests/patcher_test.py | django-stars/guitar | 9bddfd2d7b555c97dd9470b458a5f43bd805b026 | [
"MIT"
] | null | null | null | guitar-package/guitar/tests/patcher_test.py | django-stars/guitar | 9bddfd2d7b555c97dd9470b458a5f43bd805b026 | [
"MIT"
] | null | null | null | import unittest
import shutil
import os
from guitar.patcher import Patcher, SettingsPatcher, MiddlewarePatcher, AppsPatcher, UrlsPatcher
class TestPatcher(unittest.TestCase):
settings_py_path = 'tests/settings_py_copy.txt'
settings_py_expect_path = 'tests/settings_py_expect.txt'
def setUp(self):
... | 33.150862 | 144 | 0.690482 | 1,756 | 15,382 | 5.823462 | 0.071185 | 0.104244 | 0.038138 | 0.040876 | 0.912674 | 0.894778 | 0.887542 | 0.879718 | 0.875122 | 0.866419 | 0 | 0.001003 | 0.157197 | 15,382 | 463 | 145 | 33.222462 | 0.787797 | 0.002926 | 0 | 0.778947 | 0 | 0 | 0.658211 | 0.392005 | 0 | 0 | 0 | 0 | 0.044737 | 1 | 0.042105 | false | 0 | 0.036842 | 0 | 0.110526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4851095d0bf0da7ca3630d8d44a7884f95b46325 | 34,846 | py | Python | src/pyrad_proc/pyrad/flow/flow_control.py | MeteoSwiss/pyrad | f733179075fdf3fcff475a5af8b6b71e9ac4379d | [
"BSD-3-Clause"
] | 9 | 2021-02-22T15:34:37.000Z | 2022-03-29T13:16:25.000Z | src/pyrad_proc/pyrad/flow/flow_control.py | MeteoSwiss/pyrad | f733179075fdf3fcff475a5af8b6b71e9ac4379d | [
"BSD-3-Clause"
] | 15 | 2021-02-08T10:16:41.000Z | 2022-03-31T09:26:26.000Z | src/pyrad_proc/pyrad/flow/flow_control.py | MeteoSwiss/pyrad | f733179075fdf3fcff475a5af8b6b71e9ac4379d | [
"BSD-3-Clause"
] | 2 | 2021-02-08T09:44:40.000Z | 2021-03-24T14:56:31.000Z | """
pyrad.flow.flow_control
=======================
functions to control the Pyrad data processing flow
.. autosummary::
:toctree: generated/
main
main_rt
main_cosmo
main_cosmo_rt
main_gecsx
"""
from __future__ import print_function
import warnings
from warnings import warn
import traceback
i... | 35.520897 | 109 | 0.613987 | 3,997 | 34,846 | 5.178634 | 0.102077 | 0.026378 | 0.008261 | 0.007971 | 0.786705 | 0.779651 | 0.766607 | 0.758829 | 0.744964 | 0.740036 | 0 | 0.00305 | 0.303736 | 34,846 | 980 | 110 | 35.557143 | 0.850095 | 0.231016 | 0 | 0.736577 | 1 | 0 | 0.115207 | 0 | 0.008389 | 0 | 0 | 0 | 0 | 1 | 0.008389 | false | 0.008389 | 0.050336 | 0 | 0.062081 | 0.083893 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6f7d0c16bcd4756a36c52dc85e6d2621f63eaa23 | 18,255 | py | Python | tests/test_sprites_package.py | fabricejumel/python-aturtle | 008f71a5e506cb58465f85ee9dc8ea1bffa6fc49 | [
"MIT"
] | 3 | 2019-12-23T15:25:39.000Z | 2022-02-25T22:09:49.000Z | tests/test_sprites_package.py | fabricejumel/python-aturtle | 008f71a5e506cb58465f85ee9dc8ea1bffa6fc49 | [
"MIT"
] | 55 | 2019-12-27T14:05:02.000Z | 2020-02-01T09:53:42.000Z | tests/test_sprites_package.py | fabricejumel/python-aturtle | 008f71a5e506cb58465f85ee9dc8ea1bffa6fc49 | [
"MIT"
] | 1 | 2020-02-25T08:18:51.000Z | 2020-02-25T08:18:51.000Z | # ----------------------------------------------------------------------------
# Python A-Turtle
# ----------------------------------------------------------------------------
# Copyright (c) Tiago Montes.
# See LICENSE for details.
# ----------------------------------------------------------------------------
import ... | 27.40991 | 80 | 0.572227 | 2,001 | 18,255 | 4.977511 | 0.070465 | 0.052209 | 0.048193 | 0.060241 | 0.932731 | 0.923494 | 0.923494 | 0.923494 | 0.92008 | 0.915562 | 0 | 0.016282 | 0.333826 | 18,255 | 665 | 81 | 27.451128 | 0.80273 | 0.122816 | 0 | 0.844639 | 0 | 0 | 0.040205 | 0.028056 | 0 | 0 | 0 | 0 | 0.085339 | 1 | 0.059081 | false | 0.004376 | 0.013129 | 0 | 0.089716 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6fa2372dd80da91db80b4b19c17c2c66e55230b7 | 1,910 | py | Python | test/group_tests/test_edit_group.py | katghe/main | 1d3b9e666a84c49d335d46eb62f27bf04aca519a | [
"Apache-2.0"
] | 3 | 2020-04-21T10:58:42.000Z | 2021-05-31T17:14:02.000Z | test/group_tests/test_edit_group.py | katghe/main | 1d3b9e666a84c49d335d46eb62f27bf04aca519a | [
"Apache-2.0"
] | null | null | null | test/group_tests/test_edit_group.py | katghe/main | 1d3b9e666a84c49d335d46eb62f27bf04aca519a | [
"Apache-2.0"
] | null | null | null | from model.group import Group
import random
def test_edit_group_name(app, db, check_ui):
if len(db.get_group_list()) == 0:
app.group.create(Group(name="sdfsdf"))
old_groups = db.get_group_list()
group = random.choice(old_groups)
new_group_data = Group(name="Group21")
app.group.edit_group_by... | 41.521739 | 113 | 0.71623 | 316 | 1,910 | 3.996835 | 0.120253 | 0.083135 | 0.114014 | 0.114014 | 0.901821 | 0.901821 | 0.901821 | 0.901821 | 0.901821 | 0.901821 | 0 | 0.005562 | 0.15288 | 1,910 | 45 | 114 | 42.444444 | 0.775031 | 0 | 0 | 0.710526 | 0 | 0 | 0.021466 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 1 | 0.078947 | false | 0 | 0.052632 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6fae228b8f3ad47814aa7fe198d54e0967acca04 | 11,487 | py | Python | ADR_pt/mytrain.py | tuananhbui89/Adversarial-Divergence-Reduction | 7304fa514b6c044aa19afce87c3794f9619e9665 | [
"Apache-1.1"
] | 13 | 2020-12-17T11:44:41.000Z | 2021-08-20T02:22:02.000Z | ADR_pt/mytrain.py | tuananhbui89/Adversarial-Divergence-Reduction | 7304fa514b6c044aa19afce87c3794f9619e9665 | [
"Apache-1.1"
] | null | null | null | ADR_pt/mytrain.py | tuananhbui89/Adversarial-Divergence-Reduction | 7304fa514b6c044aa19afce87c3794f9619e9665 | [
"Apache-1.1"
] | 1 | 2020-12-17T11:45:39.000Z | 2020-12-17T11:45:39.000Z | import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.utils.data import Dataset, DataLoader, TensorDataset
from torch.autograd import Variable
import torch.optim as optim
from functools import partial
from trades import trades_loss
from pgd import pgd_loss, pgd_attack, pg... | 38.676768 | 103 | 0.586663 | 1,419 | 11,487 | 4.524313 | 0.110641 | 0.056075 | 0.030374 | 0.046729 | 0.817601 | 0.803427 | 0.788006 | 0.777259 | 0.777259 | 0.774922 | 0 | 0.00798 | 0.290938 | 11,487 | 296 | 104 | 38.807432 | 0.780233 | 0.016279 | 0 | 0.721992 | 0 | 0 | 0.059079 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037344 | false | 0 | 0.049793 | 0 | 0.141079 | 0.033195 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6fb5f84ba9d0fb43bdb320c5a8b2fe7670f7120d | 195,239 | py | Python | toontown/battle/ParticleDefs.py | LittleNed/toontown-stride | 1252a8f9a8816c1810106006d09c8bdfe6ad1e57 | [
"Apache-2.0"
] | 1 | 2018-06-16T23:06:38.000Z | 2018-06-16T23:06:38.000Z | toontown/battle/ParticleDefs.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | null | null | null | toontown/battle/ParticleDefs.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | 4 | 2019-06-20T23:45:23.000Z | 2020-10-14T20:30:15.000Z | from direct.particles import Particles, ForceGroup
from pandac.PandaModules import *
ParticleTable = {}
def particle(func):
ParticleTable[func.func_name] = func
@particle
def gearExplosion(self):
self.reset()
self.setPos(0.000, 0.000, 4.600)
self.setHpr(0.000, 0.000, 0.000)
self.setScale(1.000, 1... | 37.640062 | 207 | 0.726515 | 23,778 | 195,239 | 5.96194 | 0.021322 | 0.043559 | 0.032378 | 0.0261 | 0.948788 | 0.939124 | 0.925044 | 0.92316 | 0.913899 | 0.897251 | 0 | 0.138925 | 0.145985 | 195,239 | 5,186 | 208 | 37.64732 | 0.711294 | 0.081142 | 0 | 0.857209 | 0 | 0 | 0.053354 | 0.022376 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01907 | false | 0 | 0.000465 | 0 | 0.019535 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
82ed17dbe78d72616b8b39524372b799ce6630b4 | 63,814 | py | Python | regular_language/unit_tests/test_common_substring_reducer.py | ShoYamanishi/nlpregex | 795b36d5a2fad8bc25264b2093ffa9c3723b282b | [
"MIT"
] | 1 | 2021-12-03T07:20:18.000Z | 2021-12-03T07:20:18.000Z | regular_language/unit_tests/test_common_substring_reducer.py | ShoYamanishi/nlpregex | 795b36d5a2fad8bc25264b2093ffa9c3723b282b | [
"MIT"
] | null | null | null | regular_language/unit_tests/test_common_substring_reducer.py | ShoYamanishi/nlpregex | 795b36d5a2fad8bc25264b2093ffa9c3723b282b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
""" Unit Tests for common_substring_reducer.py."""
import unittest
import nlpregex.regular_language.ast
import nlpregex.regular_language.sse_forrest
import nlpregex.regular_language.common_substring_reducer
from nlpregex.regular_language.unit_tests.test_sse_asf... | 35.139868 | 108 | 0.636208 | 7,917 | 63,814 | 4.784767 | 0.025262 | 0.103746 | 0.061297 | 0.029619 | 0.938993 | 0.913862 | 0.889866 | 0.884956 | 0.876983 | 0.868958 | 0 | 0.127543 | 0.278904 | 63,814 | 1,815 | 109 | 35.159229 | 0.695671 | 0.014683 | 0 | 0.788197 | 0 | 0 | 0.131943 | 0 | 0 | 0 | 0 | 0 | 0.210186 | 1 | 0.041229 | false | 0 | 0.004042 | 0 | 0.049313 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
82f3394ab945bb44bf29b7f0311a195be2c507b7 | 10,966 | py | Python | data/migrations/0002_auto_20211221_2104.py | neversay4ever/herb | 2309129607b3b09428d3930af5f3f5a76c4689e1 | [
"MIT"
] | null | null | null | data/migrations/0002_auto_20211221_2104.py | neversay4ever/herb | 2309129607b3b09428d3930af5f3f5a76c4689e1 | [
"MIT"
] | null | null | null | data/migrations/0002_auto_20211221_2104.py | neversay4ever/herb | 2309129607b3b09428d3930af5f3f5a76c4689e1 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.10 on 2021-12-21 13:04
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('data', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='assembly',
name='gene_id',
... | 34.923567 | 80 | 0.553711 | 1,052 | 10,966 | 5.551331 | 0.119772 | 0.205479 | 0.256849 | 0.297945 | 0.903596 | 0.901884 | 0.727226 | 0.596918 | 0.433904 | 0.23887 | 0 | 0.026947 | 0.323181 | 10,966 | 313 | 81 | 35.035144 | 0.759903 | 0.004195 | 0 | 0.677524 | 1 | 0 | 0.111925 | 0.010716 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003257 | 0 | 0.013029 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 7 |
968cb4959cdd188d5c9e75379e7587eb339a99c5 | 76 | py | Python | pyvi/modes/__init__.py | Julian/PyVi | 5e9e087146e0baffbe791bacccbfd4b840cdeb5f | [
"MIT"
] | 3 | 2018-07-26T09:52:31.000Z | 2019-07-02T14:29:31.000Z | pyvi/modes/__init__.py | Julian/PyVi | 5e9e087146e0baffbe791bacccbfd4b840cdeb5f | [
"MIT"
] | null | null | null | pyvi/modes/__init__.py | Julian/PyVi | 5e9e087146e0baffbe791bacccbfd4b840cdeb5f | [
"MIT"
] | null | null | null | from pyvi.modes._insert import insert
from pyvi.modes._normal import normal
| 25.333333 | 37 | 0.842105 | 12 | 76 | 5.166667 | 0.5 | 0.258065 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 2 | 38 | 38 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
73a8423f3cd7762e10e4b23bc84ca3973db17257 | 7,761 | py | Python | authors/apps/articles/tests/test_like_articles.py | andela/Ah-backend-valkyrie | f0eb64c27e1fe37d5c81e4b9a8762dcf3c336a79 | [
"BSD-3-Clause"
] | null | null | null | authors/apps/articles/tests/test_like_articles.py | andela/Ah-backend-valkyrie | f0eb64c27e1fe37d5c81e4b9a8762dcf3c336a79 | [
"BSD-3-Clause"
] | 46 | 2019-01-08T13:16:41.000Z | 2021-04-30T20:47:08.000Z | authors/apps/articles/tests/test_like_articles.py | andela/Ah-backend-valkyrie | f0eb64c27e1fe37d5c81e4b9a8762dcf3c336a79 | [
"BSD-3-Clause"
] | 3 | 2019-01-07T08:21:59.000Z | 2019-09-20T06:43:18.000Z | import json
from rest_framework.reverse import reverse
from rest_framework import status
from authors.apps.authentication.tests.base import BaseTestMethods
from authors.apps.articles.models import Article, LikeArticle
from authors.apps.authentication.models import User
class TestLikeArticle(BaseTestMethods):
de... | 38.231527 | 74 | 0.622085 | 931 | 7,761 | 5.01826 | 0.105263 | 0.064212 | 0.059932 | 0.046233 | 0.903896 | 0.891695 | 0.891695 | 0.876712 | 0.861301 | 0.861301 | 0 | 0.004028 | 0.26427 | 7,761 | 202 | 75 | 38.420792 | 0.814186 | 0.085556 | 0 | 0.775641 | 0 | 0 | 0.083646 | 0.029038 | 0 | 0 | 0 | 0 | 0.108974 | 1 | 0.064103 | false | 0 | 0.038462 | 0 | 0.108974 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
73d2c95d062fcbf3cbf16ee2dec442430b6bb168 | 11,819 | py | Python | proxyscraper.py | ErsterImChat/Proxy-Scraper | 73a76cb3dae325530299e5ce0d3a5e9f607c35c3 | [
"Unlicense"
] | 1 | 2021-09-23T17:57:12.000Z | 2021-09-23T17:57:12.000Z | proxyscraper.py | ErsterImChat/Proxy-Scraper | 73a76cb3dae325530299e5ce0d3a5e9f607c35c3 | [
"Unlicense"
] | null | null | null | proxyscraper.py | ErsterImChat/Proxy-Scraper | 73a76cb3dae325530299e5ce0d3a5e9f607c35c3 | [
"Unlicense"
] | null | null | null | import json
import os
import requests
import time
scrapeortest = input("Scrape, Test or both? (1, 2 or 3) ")
if scrapeortest == str(1):
# Executing Status Request
ProxyStatus = requests.get("https://api.proxyscrape.com/v2/?request=proxyinfo&simplified=true")
OnlyPS = input("Do you wa... | 29.400498 | 175 | 0.557408 | 1,385 | 11,819 | 4.628159 | 0.143682 | 0.047738 | 0.030577 | 0.028081 | 0.965991 | 0.965367 | 0.958346 | 0.958346 | 0.958346 | 0.958346 | 0 | 0.009296 | 0.31737 | 11,819 | 401 | 176 | 29.473815 | 0.785201 | 0.083087 | 0 | 0.957529 | 0 | 0.007722 | 0.198386 | 0.011048 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03861 | false | 0 | 0.069498 | 0 | 0.131274 | 0.081081 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
fb6d50e9a81c14ff9526a67855d2a7eab876019c | 50,129 | py | Python | openapi-python-client/openapi_client/api/task_variable_api.py | yanavasileva/camunda-bpm-examples | 051f8f28c62845e68ce4059ab64264c5a0bdc009 | [
"Apache-2.0"
] | null | null | null | openapi-python-client/openapi_client/api/task_variable_api.py | yanavasileva/camunda-bpm-examples | 051f8f28c62845e68ce4059ab64264c5a0bdc009 | [
"Apache-2.0"
] | null | null | null | openapi-python-client/openapi_client/api/task_variable_api.py | yanavasileva/camunda-bpm-examples | 051f8f28c62845e68ce4059ab64264c5a0bdc009 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Camunda BPM REST API
OpenApi Spec for Camunda BPM REST API. # noqa: E501
The version of the OpenAPI document: 7.13.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
i... | 54.310943 | 923 | 0.624269 | 6,180 | 50,129 | 4.867638 | 0.046926 | 0.0367 | 0.054917 | 0.020943 | 0.969749 | 0.969051 | 0.968453 | 0.966425 | 0.965428 | 0.963932 | 0 | 0.013856 | 0.304614 | 50,129 | 922 | 924 | 54.369848 | 0.849106 | 0.534102 | 0 | 0.748315 | 1 | 0 | 0.177877 | 0.042629 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033708 | false | 0 | 0.011236 | 0 | 0.078652 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fbb680616f5e113ad0cf9e3983e44ae261650b7a | 85,381 | py | Python | vmware_nsxlib/tests/unit/v3/policy/test_lb_resources.py | salv-orlando/vmware-nsxlib | 283eff2881b99c57b3908d03fb1c91da7dbdf46e | [
"Apache-2.0"
] | null | null | null | vmware_nsxlib/tests/unit/v3/policy/test_lb_resources.py | salv-orlando/vmware-nsxlib | 283eff2881b99c57b3908d03fb1c91da7dbdf46e | [
"Apache-2.0"
] | null | null | null | vmware_nsxlib/tests/unit/v3/policy/test_lb_resources.py | salv-orlando/vmware-nsxlib | 283eff2881b99c57b3908d03fb1c91da7dbdf46e | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 VMware, Inc.
# All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by a... | 42.733233 | 79 | 0.574495 | 8,989 | 85,381 | 5.091668 | 0.043943 | 0.02742 | 0.062226 | 0.041513 | 0.900872 | 0.88112 | 0.873408 | 0.849767 | 0.833097 | 0.805523 | 0 | 0.00797 | 0.343109 | 85,381 | 1,997 | 80 | 42.754632 | 0.80808 | 0.006992 | 0 | 0.827222 | 0 | 0 | 0.059044 | 0.012882 | 0 | 0 | 0 | 0 | 0.098333 | 1 | 0.072778 | false | 0 | 0.004444 | 0 | 0.085 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
837ab812280828bce0a9d700540813ff60bfb218 | 41,910 | py | Python | solver.py | philipschw/mlpSolver | 2f499b8fce0ec368dc2e76c633bab8c425db3982 | [
"MIT"
] | 1 | 2021-12-21T20:09:59.000Z | 2021-12-21T20:09:59.000Z | solver.py | philipschw/mlpSolver | 2f499b8fce0ec368dc2e76c633bab8c425db3982 | [
"MIT"
] | null | null | null | solver.py | philipschw/mlpSolver | 2f499b8fce0ec368dc2e76c633bab8c425db3982 | [
"MIT"
] | null | null | null | import logging
import os
import time
import numpy as np
import multiprocessing
try:
from generateSamples import load_mlp_generateSamples
except ModuleNotFoundError:
pass
class MLPSolver(object):
"""The MLP approximation algorithm for semilinear parabolic PDEs."""
def __init__(self, config, mlp):... | 55.583554 | 193 | 0.486543 | 4,914 | 41,910 | 4.020554 | 0.063085 | 0.047831 | 0.02961 | 0.029154 | 0.853065 | 0.838994 | 0.826998 | 0.81313 | 0.805892 | 0.791922 | 0 | 0.016927 | 0.413601 | 41,910 | 753 | 194 | 55.657371 | 0.786987 | 0.239203 | 0 | 0.727711 | 1 | 0.00241 | 0.011193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021687 | false | 0.00241 | 0.014458 | 0 | 0.06506 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
83cbf328038856a6fe5fedc04da5420b54ba6d82 | 160 | py | Python | __init__.py | Tauag/SPass | bbaba575d2922930ec4730f68e83adff4ab060ac | [
"MIT"
] | 2 | 2018-04-27T17:52:10.000Z | 2018-04-27T19:36:13.000Z | __init__.py | Tauag/SPass | bbaba575d2922930ec4730f68e83adff4ab060ac | [
"MIT"
] | 2 | 2018-04-27T13:56:53.000Z | 2018-04-27T21:46:01.000Z | __init__.py | Tauag/SPass | bbaba575d2922930ec4730f68e83adff4ab060ac | [
"MIT"
] | 1 | 2018-04-27T20:55:39.000Z | 2018-04-27T20:55:39.000Z | from spass.generators import generate_random_password, generate_passphrase
from spass.exceptions import ParameterError
from spass.mapper import update_word_map
| 40 | 74 | 0.89375 | 21 | 160 | 6.571429 | 0.666667 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08125 | 160 | 3 | 75 | 53.333333 | 0.938776 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
f7a8dcf43a6accff0679bc55f95631958e573ba7 | 6,384 | py | Python | tests/genetic_algorithm/test_chromosome.py | y-tetsu/othello | 73eabfe22d6b44bbfa0b436e6287e3e7356620f4 | [
"MIT"
] | 10 | 2020-07-24T22:04:51.000Z | 2022-03-25T06:09:48.000Z | tests/genetic_algorithm/test_chromosome.py | y-tetsu/othello | 73eabfe22d6b44bbfa0b436e6287e3e7356620f4 | [
"MIT"
] | 12 | 2021-04-30T09:53:18.000Z | 2022-02-25T04:16:02.000Z | tests/genetic_algorithm/test_chromosome.py | y-tetsu/othello | 73eabfe22d6b44bbfa0b436e6287e3e7356620f4 | [
"MIT"
] | 1 | 2021-11-25T13:12:32.000Z | 2021-11-25T13:12:32.000Z | """Tests of chromosome.py
"""
import unittest
from reversi.genetic_algorithm import Chromosome
class TestChromosome(unittest.TestCase):
"""chromosome
"""
def test_chromosome(self):
Chromosome.fitness("self")
Chromosome.reset_fitness("self")
Chromosome.is_optimal("self")
C... | 24.45977 | 48 | 0.441259 | 541 | 6,384 | 5.092421 | 0.05915 | 0.104174 | 0.107804 | 0.09147 | 0.874773 | 0.874773 | 0.874773 | 0.85735 | 0.85735 | 0.85735 | 0 | 0 | 0.469925 | 6,384 | 260 | 49 | 24.553846 | 0.814125 | 0.005952 | 0 | 0.935484 | 0 | 0 | 0.039943 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 1 | 0.268817 | false | 0.268817 | 0.010753 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
f7b1cecb08c0ddb5c25b481117391c4bac7b25cb | 7,013 | py | Python | tests/cases/test_anm_export.py | clayne/blender-xray | 84d5d52049ec9e22c85ba8544995bd39c3a83e55 | [
"BSD-2-Clause"
] | null | null | null | tests/cases/test_anm_export.py | clayne/blender-xray | 84d5d52049ec9e22c85ba8544995bd39c3a83e55 | [
"BSD-2-Clause"
] | null | null | null | tests/cases/test_anm_export.py | clayne/blender-xray | 84d5d52049ec9e22c85ba8544995bd39c3a83e55 | [
"BSD-2-Clause"
] | null | null | null | import re
import bpy
from tests import utils
class TestAnmExport(utils.XRayTestCase):
def test_yxz(self):
# Arrange
obj = self._create_active_object()
act = bpy.data.actions.new('tact')
obj.animation_data_create().action = act
# Act
bpy.ops.xray_export.anm(filepa... | 29.590717 | 95 | 0.563667 | 857 | 7,013 | 4.43874 | 0.098016 | 0.069401 | 0.107256 | 0.14511 | 0.86409 | 0.86409 | 0.86409 | 0.854627 | 0.854627 | 0.854627 | 0 | 0.016264 | 0.316127 | 7,013 | 236 | 96 | 29.716102 | 0.776897 | 0.02367 | 0 | 0.738095 | 0 | 0 | 0.078164 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 1 | 0.071429 | false | 0 | 0.017857 | 0 | 0.10119 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
f7c6c10f2f5b80e140035ee3e4f3e9b75afc73e0 | 30 | py | Python | tests/tes_okex_ws_spot_client.py | hhstore/py-crypto-exchange-apis | 5164dc01de5691f10a521f037028032e3128e5e0 | [
"MIT"
] | 4 | 2018-09-20T09:49:41.000Z | 2020-04-08T23:27:12.000Z | tests/tes_okex_ws_spot_client.py | hhstore/py-crypto-exchange-apis | 5164dc01de5691f10a521f037028032e3128e5e0 | [
"MIT"
] | 1 | 2021-05-14T15:29:01.000Z | 2021-05-14T15:29:01.000Z | tests/tes_okex_ws_spot_client.py | hhstore/py-crypto-exchange-apis | 5164dc01de5691f10a521f037028032e3128e5e0 | [
"MIT"
] | 2 | 2021-05-14T15:28:58.000Z | 2021-05-17T06:11:21.000Z | from pprint import pprint
| 5 | 25 | 0.733333 | 4 | 30 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 30 | 5 | 26 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
f75c3dd62939d647ef1c79a9023e4238aa9dc3d5 | 157 | py | Python | flask-microservice/api/util/backup_handlers.py | sashaobucina/coronatracker | 236a1130977987eb90cf15973e4367d5f079dc7d | [
"MIT"
] | 9 | 2020-04-29T16:31:39.000Z | 2021-12-19T01:18:21.000Z | flask-microservice/api/util/backup_handlers.py | sashaobucina/coronatracker | 236a1130977987eb90cf15973e4367d5f079dc7d | [
"MIT"
] | 7 | 2020-04-29T16:43:17.000Z | 2022-02-19T07:04:59.000Z | flask-microservice/api/util/backup_handlers.py | sashaobucina/coronatracker | 236a1130977987eb90cf15973e4367d5f079dc7d | [
"MIT"
] | 2 | 2020-05-18T05:25:37.000Z | 2020-08-07T09:02:33.000Z | def load_from_backup():
"""
"""
# TODO
pass
def save_to_backup():
"""
"""
# TODO
pass
if __name__ == "__main__":
pass | 9.8125 | 26 | 0.471338 | 16 | 157 | 3.875 | 0.6875 | 0.322581 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.369427 | 157 | 16 | 27 | 9.8125 | 0.626263 | 0.057325 | 0 | 0.5 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0.333333 | true | 0.5 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
f75e11209704b4c1ca00d10b546afdd97cf2b6e8 | 1,618 | py | Python | tests/test_scan.py | eruvanos/dynafile | 207425b073a963b01c677b697e74842b429c004a | [
"MIT"
] | null | null | null | tests/test_scan.py | eruvanos/dynafile | 207425b073a963b01c677b697e74842b429c004a | [
"MIT"
] | null | null | null | tests/test_scan.py | eruvanos/dynafile | 207425b073a963b01c677b697e74842b429c004a | [
"MIT"
] | null | null | null | from _operator import itemgetter
from dynafile import Dynafile
def test_scan_all_items(tmp_path):
db = Dynafile(tmp_path / "db")
aa = {
"PK": "1",
"SK": "aa",
}
ab = {
"PK": "1",
"SK": "ab",
}
ac = {
"PK": "1",
"SK": "ac",
}
ba = {
... | 17.212766 | 90 | 0.434487 | 213 | 1,618 | 3.150235 | 0.159624 | 0.089419 | 0.160954 | 0.232489 | 0.789866 | 0.764531 | 0.710879 | 0.710879 | 0.710879 | 0.710879 | 0 | 0.011374 | 0.34796 | 1,618 | 93 | 91 | 17.397849 | 0.624645 | 0 | 0 | 0.716216 | 0 | 0 | 0.079728 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 1 | 0.040541 | false | 0 | 0.027027 | 0 | 0.067568 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
e3ac9a9ddb455964e828dc6fcf1722aed5bbcca6 | 103,716 | py | Python | tests/unit/test_validators.py | dshabin/superannotate-python-sdk | 3f2d7c5eed1fd7bb2990fcb0041a36803b10a115 | [
"MIT"
] | 26 | 2020-09-25T06:25:06.000Z | 2022-01-30T16:44:07.000Z | tests/unit/test_validators.py | dshabin/superannotate-python-sdk | 3f2d7c5eed1fd7bb2990fcb0041a36803b10a115 | [
"MIT"
] | 12 | 2020-12-21T19:59:48.000Z | 2022-01-21T10:32:07.000Z | tests/unit/test_validators.py | dshabin/superannotate-python-sdk | 3f2d7c5eed1fd7bb2990fcb0041a36803b10a115 | [
"MIT"
] | 11 | 2020-09-17T13:39:19.000Z | 2022-03-02T18:12:29.000Z | import json
import os
from os.path import dirname
import tempfile
import src.superannotate as sa
from tests.utils.helpers import catch_prints
from src.superannotate.lib.core.entities.utils import TimedBaseModel
from src.superannotate.lib.core.entities.pixel import PixelAnnotationPart
from pydantic import ValidationErro... | 51.041339 | 544 | 0.221567 | 4,304 | 103,716 | 5.182388 | 0.093169 | 0.036046 | 0.042591 | 0.058283 | 0.91002 | 0.883389 | 0.858373 | 0.846581 | 0.820534 | 0.794082 | 0 | 0.12345 | 0.702196 | 103,716 | 2,031 | 545 | 51.06647 | 0.598698 | 0 | 0 | 0.484848 | 0 | 0.013468 | 0.335666 | 0.203917 | 0 | 0 | 0 | 0 | 0.074074 | 1 | 0.084175 | false | 0 | 0.03367 | 0.006734 | 0.148148 | 0.043771 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
541f563557f6ecd72d9f9322643666a415388f59 | 8,112 | py | Python | branch1/lib/model/rpn/edge_box_layer_tf.py | ChengZY/Train_Defect_Detection | 2e9dc0e63c04f4fddb599b4d473bd509c4acf021 | [
"MIT"
] | 23 | 2019-02-08T01:40:08.000Z | 2022-03-18T02:22:22.000Z | branch1/lib/model/rpn/edge_box_layer_tf.py | ChengZY/Train_Defect_Detection | 2e9dc0e63c04f4fddb599b4d473bd509c4acf021 | [
"MIT"
] | null | null | null | branch1/lib/model/rpn/edge_box_layer_tf.py | ChengZY/Train_Defect_Detection | 2e9dc0e63c04f4fddb599b4d473bd509c4acf021 | [
"MIT"
] | 4 | 2019-02-12T07:46:13.000Z | 2021-08-31T04:59:47.000Z | # --------------------------------------------------------
# Faster R-CNN
# Copyright (c) 2015 Microsoft
# Licensed under The MIT License [see LICENSE for details]
# Written by Ross Girshick and Sean Bell
# --------------------------------------------------------
import numpy as np
import math
import torch
DEBUG = F... | 30.156134 | 107 | 0.425419 | 1,211 | 8,112 | 2.76796 | 0.099917 | 0.073091 | 0.062649 | 0.023866 | 0.856205 | 0.855012 | 0.844869 | 0.844869 | 0.844869 | 0.844869 | 0 | 0.100173 | 0.357618 | 8,112 | 269 | 108 | 30.156134 | 0.543082 | 0.302268 | 0 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027586 | false | 0 | 0.02069 | 0 | 0.075862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
548ad8d1602e22cc0e7021f926b86a1f2ed09a21 | 199 | py | Python | platform/radio/efr32_multiphy_configurator/pylib_multi_phy_model/protocol_reference_files/parts/nixi/z_wave_RU_validation_testing.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/radio/efr32_multiphy_configurator/pylib_multi_phy_model/protocol_reference_files/parts/nixi/z_wave_RU_validation_testing.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pylib_multi_phy_model/protocol_reference_files/parts/nixi/z_wave_RU_validation_testing.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | from ..nerio.z_wave_RU_validation_testing import z_wave_RU_validation_testing as z_wave_RU_validation_testing_nerio
class z_wave_RU_validation_testing(z_wave_RU_validation_testing_nerio):
pass
| 33.166667 | 115 | 0.894472 | 33 | 199 | 4.727273 | 0.333333 | 0.160256 | 0.224359 | 0.544872 | 0.833333 | 0.371795 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075377 | 199 | 5 | 116 | 39.8 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 0 | 0 | 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 | 8 |
54a017f3920cf3cbd410463750a17c09b3e238fa | 15 | py | Python | code/sample_2-1-12.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | 1 | 2022-03-29T13:50:12.000Z | 2022-03-29T13:50:12.000Z | code/sample_2-1-12.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | code/sample_2-1-12.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | print(10**9+7)
| 7.5 | 14 | 0.6 | 4 | 15 | 2.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.066667 | 15 | 1 | 15 | 15 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
54c58fff4207eabc7238b8cfa5cd0ae1acd75357 | 99,923 | py | Python | tools/model_vgg.py | abenbihi/elf | fb63b7ca316a4da93e75421abbb05663d1c5fe7e | [
"BSD-2-Clause"
] | 25 | 2019-08-30T06:39:47.000Z | 2021-11-22T12:32:32.000Z | tools/model_vgg.py | abenbihi/elf | fb63b7ca316a4da93e75421abbb05663d1c5fe7e | [
"BSD-2-Clause"
] | 10 | 2019-12-13T02:16:18.000Z | 2022-02-09T23:31:05.000Z | tools/model_vgg.py | abenbihi/elf | fb63b7ca316a4da93e75421abbb05663d1c5fe7e | [
"BSD-2-Clause"
] | 6 | 2019-08-15T16:02:17.000Z | 2021-11-24T11:57:10.000Z |
"""
- netmork model
- loss
- optimizer
- summary
"""
# pylint: disable=missing-docstring
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import gzip
import os
import re
import sys
import tarfile
from six.moves import urllib
import tensorflow as tf
from ma... | 50.799695 | 143 | 0.640483 | 14,797 | 99,923 | 4.110901 | 0.025073 | 0.083003 | 0.046853 | 0.009469 | 0.925315 | 0.920712 | 0.910898 | 0.9047 | 0.893883 | 0.888129 | 0 | 0.071498 | 0.201455 | 99,923 | 1,966 | 144 | 50.825534 | 0.690838 | 0.373968 | 0 | 0.833 | 0 | 0 | 0.059548 | 0.00116 | 0 | 0 | 0 | 0.000509 | 0 | 1 | 0.01 | false | 0 | 0.015 | 0 | 0.035 | 0.103 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
49a841d3faee167848d174ee806e9b2223d4869b | 156 | py | Python | tests/croston/croston_test_1_legacy_linear_trend.py | shaido987/pyaf | b9afd089557bed6b90b246d3712c481ae26a1957 | [
"BSD-3-Clause"
] | 377 | 2016-10-13T20:52:44.000Z | 2022-03-29T18:04:14.000Z | tests/croston/croston_test_1_legacy_linear_trend.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 160 | 2016-10-13T16:11:53.000Z | 2022-03-28T04:21:34.000Z | tests/croston/croston_test_1_legacy_linear_trend.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 63 | 2017-03-09T14:51:18.000Z | 2022-03-27T20:52:57.000Z | # from .croston import croston_tests as crost
import tests.croston.croston_tests as crost
crost.create_model(N = 365 , croston_type = None, iTrend = True)
| 31.2 | 64 | 0.782051 | 24 | 156 | 4.916667 | 0.583333 | 0.20339 | 0.237288 | 0.322034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022388 | 0.141026 | 156 | 4 | 65 | 39 | 0.858209 | 0.275641 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
b702763e3b7667148cb5f2e2bf0aba32402878e9 | 157 | py | Python | tests/test_files_exist.py | maxachis/food-access-map-data | 40fbb7bbb2434f0a177237dd2fee1e9f36138a12 | [
"MIT"
] | null | null | null | tests/test_files_exist.py | maxachis/food-access-map-data | 40fbb7bbb2434f0a177237dd2fee1e9f36138a12 | [
"MIT"
] | null | null | null | tests/test_files_exist.py | maxachis/food-access-map-data | 40fbb7bbb2434f0a177237dd2fee1e9f36138a12 | [
"MIT"
] | 1 | 2021-01-24T16:18:49.000Z | 2021-01-24T16:18:49.000Z | #test_files_exist.py
import os.path
from os import path
def test_merge_duplicates_exists():
assert path.isfile("data_prep_scripts/auto_merge_duplicates.R") | 26.166667 | 64 | 0.840764 | 26 | 157 | 4.730769 | 0.730769 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076433 | 157 | 6 | 64 | 26.166667 | 0.848276 | 0.121019 | 0 | 0 | 0 | 0 | 0.297101 | 0.297101 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b71a6d0a3a3a4a238c2b2d25c9c762ce19b4653e | 1,332 | py | Python | python3/lib/python3.6/site-packages/tensorflow/_api/v1/spectral/__init__.py | TruongThuyLiem/keras2tensorflow | 726f2370160701081cb43fbd8b56154c10d7ad63 | [
"MIT"
] | 3 | 2020-10-12T15:47:01.000Z | 2022-01-14T19:51:26.000Z | python3/lib/python3.6/site-packages/tensorflow/_api/v1/spectral/__init__.py | TruongThuyLiem/keras2tensorflow | 726f2370160701081cb43fbd8b56154c10d7ad63 | [
"MIT"
] | null | null | null | python3/lib/python3.6/site-packages/tensorflow/_api/v1/spectral/__init__.py | TruongThuyLiem/keras2tensorflow | 726f2370160701081cb43fbd8b56154c10d7ad63 | [
"MIT"
] | 2 | 2020-08-03T13:02:06.000Z | 2020-11-04T03:15:44.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Public API for tf.spectral namespace.
"""
from __future__ import print_function as _print_function
from tensorflow.python.ops.gen_spectral_ops import fft
from tensorflow.python.ops.gen_... | 42.967742 | 83 | 0.843093 | 196 | 1,332 | 5.454082 | 0.280612 | 0.239476 | 0.280636 | 0.301216 | 0.654818 | 0.654818 | 0.654818 | 0.654818 | 0.106642 | 0 | 0 | 0.006579 | 0.087087 | 1,332 | 30 | 84 | 44.4 | 0.872533 | 0.123123 | 0 | 0 | 1 | 0 | 0.006897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.809524 | 0 | 0.809524 | 0.095238 | 0 | 0 | 0 | null | 1 | 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 | 7 |
3fb036a6f63afd6163209a65c5ec2bdc774c1a91 | 15,016 | py | Python | tests/test_elastictranscoder/test_elastictranscoder.py | oakbramble/moto | 6350d8ec4c59eaf12b83385b6acd386e5c2f5593 | [
"Apache-2.0"
] | null | null | null | tests/test_elastictranscoder/test_elastictranscoder.py | oakbramble/moto | 6350d8ec4c59eaf12b83385b6acd386e5c2f5593 | [
"Apache-2.0"
] | 1 | 2021-09-13T04:39:03.000Z | 2021-09-13T04:39:03.000Z | tests/test_elastictranscoder/test_elastictranscoder.py | oakbramble/moto | 6350d8ec4c59eaf12b83385b6acd386e5c2f5593 | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
from botocore.exceptions import ClientError
import boto3
import sure # noqa
import pytest
from moto import mock_elastictranscoder
from moto.core import ACCOUNT_ID
@mock_elastictranscoder
def test_create_simple_pipeline():
region = "us-east-1"
client = boto3.client("el... | 37.446384 | 166 | 0.685802 | 1,613 | 15,016 | 6.282703 | 0.081215 | 0.078942 | 0.102625 | 0.111901 | 0.924314 | 0.91494 | 0.905664 | 0.881093 | 0.881093 | 0.87162 | 0 | 0.007351 | 0.157499 | 15,016 | 400 | 167 | 37.54 | 0.793692 | 0.000266 | 0 | 0.755952 | 0 | 0.005952 | 0.269154 | 0.02072 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050595 | false | 0 | 0.020833 | 0.002976 | 0.074405 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
3fbaf2bdfdaab2f7c2ecc78999b877d18a05bfa2 | 941 | py | Python | logger.py | mike-nguyen/openshift-log-test | b7148012daa9dfbfe1bef9b0478a791cc80202b8 | [
"Apache-2.0"
] | null | null | null | logger.py | mike-nguyen/openshift-log-test | b7148012daa9dfbfe1bef9b0478a791cc80202b8 | [
"Apache-2.0"
] | null | null | null | logger.py | mike-nguyen/openshift-log-test | b7148012daa9dfbfe1bef9b0478a791cc80202b8 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
for i in range(9223372036854775807):
print "%d long log message long log message long log message long log message long log message long log message long log message long log message long log message long log message long log message long log message long log message long log message long log messa... | 188.2 | 884 | 0.81084 | 164 | 941 | 4.652439 | 0.079268 | 0.46789 | 0.93578 | 1.179554 | 0.93578 | 0.93578 | 0.93578 | 0.93578 | 0.93578 | 0.93578 | 0 | 0.024516 | 0.176408 | 941 | 4 | 885 | 235.25 | 0.96 | 0.017003 | 0 | 0 | 0 | 0.5 | 0.941558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 15 |
b7b2cbc7252e59c1bfaa9252b561fd2b26d4d739 | 24,074 | py | Python | anchore_engine/services/catalog/api/controllers/default_controller.py | jasonwilk/anchore-engine | 3b587a597be985cf5895f4a249418855d4be3fae | [
"Apache-2.0"
] | null | null | null | anchore_engine/services/catalog/api/controllers/default_controller.py | jasonwilk/anchore-engine | 3b587a597be985cf5895f4a249418855d4be3fae | [
"Apache-2.0"
] | null | null | null | anchore_engine/services/catalog/api/controllers/default_controller.py | jasonwilk/anchore-engine | 3b587a597be985cf5895f4a249418855d4be3fae | [
"Apache-2.0"
] | null | null | null | import connexion
import time
from anchore_engine import db
import anchore_engine.services.catalog.catalog_impl
import anchore_engine.services.common
from anchore_engine.subsys import logger
import anchore_engine.configuration.localconfig
import anchore_engine.subsys.servicestatus
from anchore_engine.subsys.metrics im... | 40.80339 | 257 | 0.707651 | 2,750 | 24,074 | 5.923636 | 0.044727 | 0.092818 | 0.108287 | 0.072192 | 0.852056 | 0.847759 | 0.845365 | 0.840516 | 0.83051 | 0.818355 | 0 | 0.00671 | 0.201421 | 24,074 | 589 | 258 | 40.872666 | 0.840624 | 0.039586 | 0 | 0.760095 | 0 | 0 | 0.018658 | 0.001039 | 0 | 0 | 0 | 0 | 0 | 1 | 0.099762 | false | 0 | 0.026128 | 0 | 0.225653 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b7d27a5ce2c9279fcdaf133039661b711364c355 | 10,625 | py | Python | src/retrievers.py | M-Puig/Erato | 97f7cf913c54aacc55bbc76f4eadc55641a44c2d | [
"MIT"
] | null | null | null | src/retrievers.py | M-Puig/Erato | 97f7cf913c54aacc55bbc76f4eadc55641a44c2d | [
"MIT"
] | null | null | null | src/retrievers.py | M-Puig/Erato | 97f7cf913c54aacc55bbc76f4eadc55641a44c2d | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
#Bi-encoder
class RetrieverBiencoder(nn.Module):
def __init__(self, bert):
super().__init__()
self.bert = bert
def score(self, context, context_mask, responses, responses_mask):
context_vec = self.bert(context... | 43.016194 | 147 | 0.646118 | 1,366 | 10,625 | 4.836018 | 0.106149 | 0.032698 | 0.032698 | 0.023009 | 0.90115 | 0.887981 | 0.87148 | 0.864668 | 0.855283 | 0.816228 | 0 | 0.011107 | 0.262776 | 10,625 | 247 | 148 | 43.016194 | 0.832248 | 0.272282 | 0 | 0.761538 | 0 | 0 | 0.001908 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084615 | false | 0 | 0.023077 | 0 | 0.192308 | 0.015385 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
4d2ced5e97cc035d17294a83dd2a2034a7d4d031 | 121,784 | py | Python | gs_api_client/swagger/api/usage_api.py | gridscale/gridscale_api_client_python | 755b8e8a017784a4f5c6b3a577338ff988c41a9a | [
"MIT"
] | 7 | 2019-07-12T13:59:45.000Z | 2021-03-16T08:46:20.000Z | gs_api_client/swagger/api/usage_api.py | gridscale/gridscale_api_client_python | 755b8e8a017784a4f5c6b3a577338ff988c41a9a | [
"MIT"
] | 13 | 2020-01-23T07:50:29.000Z | 2022-03-21T14:32:40.000Z | gs_api_client/swagger/api/usage_api.py | gridscale/gridscale_api_client_python | 755b8e8a017784a4f5c6b3a577338ff988c41a9a | [
"MIT"
] | null | null | null | # coding: utf-8
"""
API Specification
# Introduction Welcome to gridscales API documentation. A REST API is a programming interface that allows you to access and send data directly to our systems using HTTPS requests, without the need to use a web GUI. All the functionality you are already familiar with in y... | 49.165927 | 12,787 | 0.645126 | 14,917 | 121,784 | 5.020446 | 0.046591 | 0.044759 | 0.029964 | 0.021151 | 0.885045 | 0.882254 | 0.878609 | 0.876699 | 0.87475 | 0.873227 | 0 | 0.015585 | 0.267638 | 121,784 | 2,476 | 12,788 | 49.185784 | 0.824083 | 0.41131 | 0 | 0.860798 | 0 | 0 | 0.22374 | 0.055469 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03386 | false | 0 | 0.00301 | 0 | 0.087284 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4d342dc12a5d1c6bb072aaafcb237efac6cc5826 | 153 | py | Python | eagerx_ode/__init__.py | eager-dev/eagerx_ode | 2f8f2f0726816f7b794369758c626a8c16742e87 | [
"Apache-2.0"
] | 1 | 2022-03-24T10:32:30.000Z | 2022-03-24T10:32:30.000Z | eagerx_ode/__init__.py | eager-dev/eagerx_ode | 2f8f2f0726816f7b794369758c626a8c16742e87 | [
"Apache-2.0"
] | null | null | null | eagerx_ode/__init__.py | eager-dev/eagerx_ode | 2f8f2f0726816f7b794369758c626a8c16742e87 | [
"Apache-2.0"
] | null | null | null | __version__ = "0.1.12"
import eagerx_ode.engine # noqa: F401
import eagerx_ode.engine_nodes # noqa: F401
import eagerx_ode.engine_states # noqa: F401
| 30.6 | 45 | 0.771242 | 24 | 153 | 4.541667 | 0.5 | 0.330275 | 0.412844 | 0.577982 | 0.53211 | 0.53211 | 0 | 0 | 0 | 0 | 0 | 0.098485 | 0.137255 | 153 | 4 | 46 | 38.25 | 0.727273 | 0.20915 | 0 | 0 | 0 | 0 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4d60dfd090478d73216c52cb67c93755fca1c55b | 8,772 | py | Python | src/genie/libs/parser/iosxe/tests/ShowIpBgpNeighborsAdvertisedRoutes/cli/equal/golden_output3_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowIpBgpNeighborsAdvertisedRoutes/cli/equal/golden_output3_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowIpBgpNeighborsAdvertisedRoutes/cli/equal/golden_output3_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | null | null | null | expected_output = {
"vrf": {
"default": {
"neighbor": {
"192.168.2.65": {
"address_family": {
"ipv4 unicast": {
"advertised": {
"0.0.0.0": {
... | 51 | 77 | 0.141587 | 336 | 8,772 | 3.571429 | 0.190476 | 0.06 | 0.12 | 0.17 | 0.805833 | 0.805833 | 0.786667 | 0.7175 | 0.7175 | 0.7175 | 0 | 0.204728 | 0.77337 | 8,772 | 172 | 78 | 51 | 0.398893 | 0 | 0 | 0.569767 | 0 | 0 | 0.141457 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
4d8d98b3d63b2f13648e3d38b392a7e9ff36ccb4 | 16,016 | py | Python | hazma/pseudo_scalar_mediator/_pseudo_scalar_mediator_msqrd_rambo.py | LoganAMorrison/Hazma | e9612729767ff48d5ce50633393f81ee021242d2 | [
"MIT"
] | 6 | 2019-07-30T18:14:43.000Z | 2020-10-25T04:58:44.000Z | hazma/pseudo_scalar_mediator/_pseudo_scalar_mediator_msqrd_rambo.py | LoganAMorrison/Hazma | e9612729767ff48d5ce50633393f81ee021242d2 | [
"MIT"
] | 8 | 2017-12-19T08:06:59.000Z | 2021-04-22T02:15:26.000Z | hazma/pseudo_scalar_mediator/_pseudo_scalar_mediator_msqrd_rambo.py | LoganAMorrison/Hazma | e9612729767ff48d5ce50633393f81ee021242d2 | [
"MIT"
] | 1 | 2020-04-01T11:08:49.000Z | 2020-04-01T11:08:49.000Z | from hazma.field_theory_helper_functions.common_functions import minkowski_dot as MDot
from hazma.parameters import charged_pion_mass as mpi
from hazma.parameters import neutral_pion_mass as mpi0
from hazma.parameters import up_quark_mass as muq
from hazma.parameters import down_quark_mass as mdq
from hazma.parameters... | 29.824953 | 88 | 0.309191 | 1,601 | 16,016 | 3.073704 | 0.073704 | 0.057305 | 0.040642 | 0.043894 | 0.888844 | 0.880919 | 0.871774 | 0.855314 | 0.855314 | 0.855314 | 0 | 0.087688 | 0.573489 | 16,016 | 536 | 89 | 29.880597 | 0.632704 | 0.111701 | 0 | 0.828829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006757 | false | 0 | 0.015766 | 0 | 0.031532 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4dc6eb289c66675b7794288a953e6bdd0abc9d87 | 27,641 | py | Python | tests/test_meta_learners.py | lleiou/causalml | 2d3cacacad5ed3b0e57b593803a33c61c554f3b2 | [
"Apache-2.0"
] | 1 | 2021-03-22T20:09:18.000Z | 2021-03-22T20:09:18.000Z | tests/test_meta_learners.py | lleiou/causalml | 2d3cacacad5ed3b0e57b593803a33c61c554f3b2 | [
"Apache-2.0"
] | null | null | null | tests/test_meta_learners.py | lleiou/causalml | 2d3cacacad5ed3b0e57b593803a33c61c554f3b2 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import pandas as pd
from sklearn.linear_model import LinearRegression
from sklearn.linear_model import LogisticRegression
from sklearn.model_selection import train_test_split
from xgboost import XGBRegressor
from xgboost import XGBClassifier
from causalml.dataset import synthetic_data
from causalml... | 41.071322 | 111 | 0.61293 | 3,465 | 27,641 | 4.673593 | 0.043001 | 0.018031 | 0.033963 | 0.044461 | 0.915463 | 0.900333 | 0.89527 | 0.895023 | 0.895023 | 0.892985 | 0 | 0.005145 | 0.282732 | 27,641 | 672 | 112 | 41.13244 | 0.811661 | 0.134221 | 0 | 0.829268 | 0 | 0 | 0.059894 | 0 | 0 | 0 | 0 | 0 | 0.14878 | 1 | 0.056098 | false | 0 | 0.039024 | 0 | 0.095122 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
4deaa8ea32633490934f75618441c7732c737f9a | 129 | py | Python | federatedscope/core/proto/__init__.py | alibaba/FederatedScope | fcf6d237624769ea094cfd68803901622f14fc23 | [
"Apache-2.0"
] | 9 | 2022-03-24T07:59:37.000Z | 2022-03-31T06:47:52.000Z | federatedscope/core/proto/__init__.py | alibaba/FederatedScope | fcf6d237624769ea094cfd68803901622f14fc23 | [
"Apache-2.0"
] | 1 | 2022-03-28T13:52:17.000Z | 2022-03-28T13:52:17.000Z | federatedscope/core/proto/__init__.py | alibaba/FederatedScope | fcf6d237624769ea094cfd68803901622f14fc23 | [
"Apache-2.0"
] | null | null | null | from federatedscope.core.proto.gRPC_comm_manager_pb2 import *
from federatedscope.core.proto.gRPC_comm_manager_pb2_grpc import *
| 43 | 66 | 0.875969 | 19 | 129 | 5.578947 | 0.473684 | 0.339623 | 0.415094 | 0.509434 | 0.849057 | 0.849057 | 0.849057 | 0.849057 | 0 | 0 | 0 | 0.016529 | 0.062016 | 129 | 2 | 67 | 64.5 | 0.859504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 11 |
12a8182398011c90e7fe6569f807b5fc6cc416b7 | 22,756 | py | Python | sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_generated/operations/_configuration_client_operations.py | kushan2018/azure-sdk-for-python | 08a9296207281f4e90e23cf7a30173863accc867 | [
"MIT"
] | null | null | null | sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_generated/operations/_configuration_client_operations.py | kushan2018/azure-sdk-for-python | 08a9296207281f4e90e23cf7a30173863accc867 | [
"MIT"
] | 1 | 2020-03-06T05:57:16.000Z | 2020-03-06T05:57:16.000Z | sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_generated/operations/_configuration_client_operations.py | kushan2018/azure-sdk-for-python | 08a9296207281f4e90e23cf7a30173863accc867 | [
"MIT"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from ... | 41.299456 | 127 | 0.627922 | 2,448 | 22,756 | 5.643791 | 0.071895 | 0.048639 | 0.0304 | 0.014186 | 0.919079 | 0.895266 | 0.888752 | 0.860162 | 0.857701 | 0.848726 | 0 | 0.00513 | 0.271928 | 22,756 | 550 | 128 | 41.374545 | 0.828766 | 0.236421 | 0 | 0.802721 | 1 | 0 | 0.079756 | 0.015023 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.013605 | 0 | 0.176871 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
12d5c90612534b025b3d4ce25cccec9db67e488b | 12 | py | Python | HW1/test.py | JusperLee/Deep-Learning | 47c5829502a8b35aee10a00de4579a7f6b2a6fa7 | [
"Apache-2.0"
] | 7 | 2019-05-04T15:32:22.000Z | 2020-03-24T03:52:31.000Z | HW1/test.py | JusperLee/Deep-Learning | 47c5829502a8b35aee10a00de4579a7f6b2a6fa7 | [
"Apache-2.0"
] | null | null | null | HW1/test.py | JusperLee/Deep-Learning | 47c5829502a8b35aee10a00de4579a7f6b2a6fa7 | [
"Apache-2.0"
] | null | null | null | print(2//18) | 12 | 12 | 0.666667 | 3 | 12 | 2.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 12 | 1 | 12 | 12 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
42099c062f2b8751d42492acc8e021500da4db51 | 68 | py | Python | l10n_ar_reports/models/__init__.py | odoo-mastercore/odoo-argentina | 58cdfe8610bae42f69ddb9d652a28eb3245f6a04 | [
"MIT"
] | 1 | 2021-01-25T15:57:58.000Z | 2021-01-25T15:57:58.000Z | l10n_ar_reports/models/__init__.py | odoo-mastercore/odoo-argentina | 58cdfe8610bae42f69ddb9d652a28eb3245f6a04 | [
"MIT"
] | null | null | null | l10n_ar_reports/models/__init__.py | odoo-mastercore/odoo-argentina | 58cdfe8610bae42f69ddb9d652a28eb3245f6a04 | [
"MIT"
] | 2 | 2020-10-17T16:36:02.000Z | 2021-01-24T10:20:05.000Z | from . import account_vat_ledger
from . import account_vat_ledger_rg | 34 | 35 | 0.867647 | 11 | 68 | 4.909091 | 0.545455 | 0.37037 | 0.62963 | 0.740741 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 68 | 2 | 35 | 34 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 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 | 9 |
4220cc29a54571b7a9733b333a6899a277027421 | 5,285 | py | Python | CLIP-ViL/src/lxrt/adapters/config.py | ylsung/VL_adapter | 287409f383f89a11764fc45806864693a4d3e498 | [
"MIT"
] | 41 | 2021-12-14T02:50:16.000Z | 2022-03-30T07:41:19.000Z | CLIP-ViL/src/lxrt/adapters/config.py | ylsung/VL_adapter | 287409f383f89a11764fc45806864693a4d3e498 | [
"MIT"
] | 1 | 2022-01-07T03:31:47.000Z | 2022-03-25T00:31:53.000Z | CLIP-ViL/src/lxrt/adapters/config.py | ylsung/VL_adapter | 287409f383f89a11764fc45806864693a4d3e498 | [
"MIT"
] | 2 | 2021-12-14T03:10:18.000Z | 2022-03-29T04:59:23.000Z | from dataclasses import dataclass
@dataclass
class AdapterConfig(object):
"""Implements the adapter configuration proposed by Houlsby et. al, 2019
in https://arxiv.org/abs/1902.00751."""
add_layer_norm_before_adapter: bool = False
add_layer_norm_after_adapter: bool = False
non_linearity: str = "ge... | 30.2 | 83 | 0.721476 | 696 | 5,285 | 5.182471 | 0.211207 | 0.023288 | 0.019961 | 0.022179 | 0.763793 | 0.763793 | 0.756307 | 0.756307 | 0.756307 | 0.756307 | 0 | 0.020818 | 0.227436 | 5,285 | 175 | 84 | 30.2 | 0.862601 | 0.271145 | 0 | 0.794872 | 0 | 0 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008547 | 0 | 0.974359 | 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 | 1 | 0 | 0 | 7 |
42537388ec7e03f73a9b2449d5cac52c2ab7a6d0 | 31 | py | Python | src/bugu_bot/__init__.py | Sclock/bugu_bot | e2c4a7844b3f162d6a5d229c19be7deda5b251b5 | [
"MIT"
] | null | null | null | src/bugu_bot/__init__.py | Sclock/bugu_bot | e2c4a7844b3f162d6a5d229c19be7deda5b251b5 | [
"MIT"
] | null | null | null | src/bugu_bot/__init__.py | Sclock/bugu_bot | e2c4a7844b3f162d6a5d229c19be7deda5b251b5 | [
"MIT"
] | 1 | 2021-08-31T14:07:41.000Z | 2021-08-31T14:07:41.000Z | from .bugu_bot import bugu_bot
| 15.5 | 30 | 0.83871 | 6 | 31 | 4 | 0.666667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 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 | 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 | 7 |
4254231b38c7aa31b3d05cc1ca5f311ba550e884 | 12,138 | py | Python | vision/rgb_camera/makeboard.py | takuya-ki/wrs | f6e1009b94332504042fbde9b39323410394ecde | [
"MIT"
] | 23 | 2021-04-02T09:02:04.000Z | 2022-03-22T05:31:03.000Z | vision/rgb_camera/makeboard.py | takuya-ki/wrs | f6e1009b94332504042fbde9b39323410394ecde | [
"MIT"
] | 35 | 2021-04-12T09:41:05.000Z | 2022-03-26T13:32:46.000Z | vision/rgb_camera/makeboard.py | takuya-ki/wrs | f6e1009b94332504042fbde9b39323410394ecde | [
"MIT"
] | 16 | 2021-03-30T11:55:45.000Z | 2022-03-30T07:10:59.000Z | import numpy as np
from PIL import Image
from cv2 import aruco
def makearucoboard(nrow, ncolumn, markerdict=aruco.DICT_6X6_250, startid = 0, markersize=25, savepath='./', name='test',
paperwidth=210, paperheight=297, dpi = 600, framesize = None):
"""
create aruco board
the paper is in po... | 40.46 | 126 | 0.66815 | 1,460 | 12,138 | 5.531507 | 0.119863 | 0.020802 | 0.028603 | 0.021793 | 0.824542 | 0.797053 | 0.797053 | 0.797053 | 0.771545 | 0.759782 | 0 | 0.062658 | 0.218982 | 12,138 | 300 | 127 | 40.46 | 0.789241 | 0.162877 | 0 | 0.789189 | 0 | 0 | 0.074239 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021622 | false | 0 | 0.016216 | 0 | 0.07027 | 0.081081 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
4279498e67d79c6745c05b69f4c8a282ec499cb2 | 165 | py | Python | tests/parser/builtin_safety.1.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/builtin_safety.1.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/builtin_safety.1.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
a(X) :- f(X), X<Y, g(Y).
a(X) :- f(X), X<Y.
a(X) :- X<Y, g(Y).
"""
output = """
a(X) :- f(X), X<Y, g(Y).
a(X) :- f(X), X<Y.
a(X) :- X<Y, g(Y).
"""
| 15 | 25 | 0.309091 | 42 | 165 | 1.214286 | 0.166667 | 0.235294 | 0.352941 | 0.313725 | 0.784314 | 0.784314 | 0.784314 | 0.784314 | 0.784314 | 0.784314 | 0 | 0 | 0.242424 | 165 | 10 | 26 | 16.5 | 0.408 | 0 | 0 | 0.8 | 0 | 0 | 0.805031 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
4283a06fd9be07d1c3d98653ccc827adb50629af | 1,403 | py | Python | tests/mixins/location_tests.py | StuartMacKay/ebird-api | 14b5c777548416a58abec05e25cd4b9a8e22f210 | [
"MIT"
] | 9 | 2020-05-16T20:26:33.000Z | 2021-11-02T06:24:46.000Z | tests/mixins/location_tests.py | StuartMacKay/ebird-api | 14b5c777548416a58abec05e25cd4b9a8e22f210 | [
"MIT"
] | 17 | 2019-06-22T09:41:22.000Z | 2020-09-11T06:25:21.000Z | tests/mixins/location_tests.py | ProjectBabbler/ebird-api | 14b5c777548416a58abec05e25cd4b9a8e22f210 | [
"MIT"
] | null | null | null | from tests.mixins.base import BaseMixin
class LocationTestsMixin(BaseMixin):
def test_location_is_comma_separated_string(self):
query = self.api_call(locations="L001,L002")[1]
self.assertTrue(query["r"], "L001,L002")
def test_location_string_whitespace_is_removed(self):
query = self.a... | 36.921053 | 70 | 0.698503 | 186 | 1,403 | 4.930108 | 0.225806 | 0.076336 | 0.098146 | 0.124318 | 0.814613 | 0.778626 | 0.749182 | 0.749182 | 0.749182 | 0.629226 | 0 | 0.059126 | 0.168211 | 1,403 | 37 | 71 | 37.918919 | 0.72665 | 0 | 0 | 0.269231 | 0 | 0 | 0.072701 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.384615 | false | 0 | 0.038462 | 0 | 0.461538 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4287dcc89cdc905b662bd4dd2a719dfa973ed3c2 | 80 | py | Python | scripts/validate/__init__.py | AjmalShajahan/public-apis | 831ff0378fb0ba5a779e6caaa89b73766c59449e | [
"MIT"
] | 59,333 | 2016-03-21T00:05:34.000Z | 2022-03-31T20:25:44.000Z | scripts/validate/__init__.py | dcollis92/public-apis | 831ff0378fb0ba5a779e6caaa89b73766c59449e | [
"MIT"
] | 717 | 2016-03-21T06:24:54.000Z | 2019-06-03T22:30:29.000Z | scripts/validate/__init__.py | dcollis92/public-apis | 831ff0378fb0ba5a779e6caaa89b73766c59449e | [
"MIT"
] | 6,587 | 2016-03-21T00:24:25.000Z | 2022-03-30T03:14:38.000Z | # -*- coding: utf-8 -*-
from validate import format
from validate import links
| 16 | 27 | 0.7125 | 11 | 80 | 5.181818 | 0.727273 | 0.421053 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.175 | 80 | 4 | 28 | 20 | 0.848485 | 0.2625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 7 |
35ec8e5e3d7b12852155934c3fc1848053b8b6a5 | 7,090 | py | Python | lib/axon/test/test_datetime10.py | intellimath/pyaxon | fcadf741bedd71fdb21d6e8b865da2a22f2bd1fb | [
"MIT"
] | 19 | 2015-03-02T19:38:51.000Z | 2021-11-16T13:48:04.000Z | lib/axon/test/test_datetime10.py | intellimath/pyaxon | fcadf741bedd71fdb21d6e8b865da2a22f2bd1fb | [
"MIT"
] | null | null | null | lib/axon/test/test_datetime10.py | intellimath/pyaxon | fcadf741bedd71fdb21d6e8b865da2a22f2bd1fb | [
"MIT"
] | 4 | 2015-02-07T13:29:43.000Z | 2020-01-01T19:20:53.000Z | # coding: utf-8
from __future__ import unicode_literals
import unittest
from axon import loads, dumps
from datetime import date, time, datetime, tzinfo
class DateTime10TestCase(unittest.TestCase):
def setUp(self):
pass
def test_date1(self):
v = loads('^2010-12-01')[0]
self.assertEqua... | 33.923445 | 64 | 0.569676 | 983 | 7,090 | 4.077314 | 0.081384 | 0.265719 | 0.06487 | 0.129741 | 0.847305 | 0.832335 | 0.818862 | 0.81487 | 0.792665 | 0.786677 | 0 | 0.14248 | 0.252609 | 7,090 | 208 | 65 | 34.086538 | 0.613889 | 0.001834 | 0 | 0.494318 | 0 | 0 | 0.124557 | 0.063839 | 0 | 0 | 0 | 0 | 0.494318 | 1 | 0.159091 | false | 0.005682 | 0.022727 | 0 | 0.193182 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c42d383aeb5469d6edd6c6a01a11e1625c720775 | 121 | py | Python | tests/test_pyramid_helloworld.py | mardiros/pyramid-helloworld | 15455f2e3ca2f5e3efb6f0482b78302078f1ce2c | [
"BSD-3-Clause"
] | null | null | null | tests/test_pyramid_helloworld.py | mardiros/pyramid-helloworld | 15455f2e3ca2f5e3efb6f0482b78302078f1ce2c | [
"BSD-3-Clause"
] | null | null | null | tests/test_pyramid_helloworld.py | mardiros/pyramid-helloworld | 15455f2e3ca2f5e3efb6f0482b78302078f1ce2c | [
"BSD-3-Clause"
] | null | null | null | from pyramid_helloworld import hello_world
def test_hello_world():
assert hello_world(None).text == "Hello World!"
| 20.166667 | 51 | 0.768595 | 17 | 121 | 5.176471 | 0.647059 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140496 | 121 | 5 | 52 | 24.2 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
670e65530c18122225169e922b2fa4c9585dcad8 | 792 | py | Python | lib/logo.py | buchin1337/mbf-fb | 7512c948e36e89e0beb507f21004259b62fedbd4 | [
"Apache-2.0"
] | 1 | 2020-08-13T08:41:17.000Z | 2020-08-13T08:41:17.000Z | lib/logo.py | buchin1337/mbf-fb | 7512c948e36e89e0beb507f21004259b62fedbd4 | [
"Apache-2.0"
] | null | null | null | lib/logo.py | buchin1337/mbf-fb | 7512c948e36e89e0beb507f21004259b62fedbd4 | [
"Apache-2.0"
] | null | null | null | #Coded by ./Buchin1337
import base64
exec(base64.b64decode('aW1wb3J0IG9zDQp3ID0gJ1x4MWJbMTszN20nDQpiID0gJ1x4MWJbMTszNm0nDQpnID0gJ1x4MWJbMTszMm0nDQp5ID0gJ1x4MWJbMTszM20nDQpyID0gJ1x4MWJbMTszMW0nDQoNCmRlZiBiYW5uZXIoKToNCglvcy5zeXN0ZW0oJ2NsZWFyJykNCglwcmludChmJycne3l9ICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqDQp7cn0g4oCmLi5f... | 198 | 754 | 0.977273 | 10 | 792 | 77.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160305 | 0.007576 | 792 | 3 | 755 | 264 | 0.824427 | 0.026515 | 0 | 0 | 0 | 0 | 0.945455 | 0.945455 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
6727bcd870b9b1dbf8194546ee2c1f34ba1d2589 | 11,007 | py | Python | Assignments/Assignment_03/ekf/solution/measurementmodels.py | chrstrom/TTK4250 | f453c3a59597d3fe6cff7d35b790689919798b94 | [
"Unlicense"
] | null | null | null | Assignments/Assignment_03/ekf/solution/measurementmodels.py | chrstrom/TTK4250 | f453c3a59597d3fe6cff7d35b790689919798b94 | [
"Unlicense"
] | null | null | null | Assignments/Assignment_03/ekf/solution/measurementmodels.py | chrstrom/TTK4250 | f453c3a59597d3fe6cff7d35b790689919798b94 | [
"Unlicense"
] | null | null | null | __pyarmor__(__name__, __file__, b'\x50\x59\x41\x52\x4d\x4f\x52\x00\x00\x03\x09\x00\x61\x0d\x0d\x0a\x07\x2c\xa0\x01\x00\x00\x00\x00\x01\x00\x00\x00\x40\x00\x00\x00\x76\x0a\x00\x00\x00\x00\x00\x10\xe1\x0b\x7e\xde\xfa\xc2\xb6\x4c\x15\x4c\xba\x53\xd6\xeb\x8b\x12\x00\x00\x00\x00\x00\x00\x00\x00\x19\x1b\x9a\x62\xc3\xab\xc9\x... | 11,007 | 11,007 | 0.749977 | 2,747 | 11,007 | 3.000728 | 0.095013 | 0.01383 | 0.014194 | 0.011646 | 0.004731 | 0.002912 | 0.002912 | 0 | 0 | 0 | 0 | 0.315158 | 0.000273 | 11,007 | 1 | 11,007 | 11,007 | 0.433933 | 0 | 0 | 0 | 0 | 1 | 0.996366 | 0.996366 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
674866089ba3f98932590afa9c2af0e8b44255d5 | 201 | py | Python | balsam/launcher/exceptions.py | Larofeticus/balsam | 6d646ebe87a21bca5934bbd0b5fdc68a1baea09b | [
"BSD-3-Clause"
] | null | null | null | balsam/launcher/exceptions.py | Larofeticus/balsam | 6d646ebe87a21bca5934bbd0b5fdc68a1baea09b | [
"BSD-3-Clause"
] | null | null | null | balsam/launcher/exceptions.py | Larofeticus/balsam | 6d646ebe87a21bca5934bbd0b5fdc68a1baea09b | [
"BSD-3-Clause"
] | null | null | null | class BalsamLauncherError(Exception): pass
class BalsamTransitionError(Exception): pass
class TransitionNotFoundError(BalsamTransitionError, ValueError): pass
class MPIEnsembleError(Exception): pass
| 28.714286 | 70 | 0.860697 | 17 | 201 | 10.176471 | 0.470588 | 0.225434 | 0.208092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 201 | 6 | 71 | 33.5 | 0.930108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
67c716f6c92bf1ac8842ef28a1c1859d2a1fe501 | 47,584 | py | Python | zadarapy/vpsa/remote_object_storage.py | Stratoscale/zadarapy | 9df5cabf5f8f251cdda82024b363f3873e6e764d | [
"Apache-2.0"
] | null | null | null | zadarapy/vpsa/remote_object_storage.py | Stratoscale/zadarapy | 9df5cabf5f8f251cdda82024b363f3873e6e764d | [
"Apache-2.0"
] | null | null | null | zadarapy/vpsa/remote_object_storage.py | Stratoscale/zadarapy | 9df5cabf5f8f251cdda82024b363f3873e6e764d | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Zadara Storage, Inc.
# Originally authored by Jeremy Brown - https://github.com/jwbrown77
#
# 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... | 39.886002 | 79 | 0.683675 | 6,318 | 47,584 | 4.96692 | 0.059987 | 0.049712 | 0.027341 | 0.02817 | 0.826232 | 0.788758 | 0.769765 | 0.743826 | 0.714031 | 0.693923 | 0 | 0.008742 | 0.245124 | 47,584 | 1,192 | 80 | 39.919463 | 0.864894 | 0.612685 | 0 | 0.551095 | 0 | 0 | 0.136865 | 0.078163 | 0 | 0 | 0 | 0 | 0 | 1 | 0.094891 | false | 0.062044 | 0.00365 | 0 | 0.193431 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
67da3e2f0060615cd7645759b7475494b930e4a6 | 5,801 | py | Python | sandbox/lib/jumpscale/JumpscaleLibs/clients/gitea/client/teams_service.py | threefoldtech/threebot_prebuilt | 1f0e1c65c14cef079cd80f73927d7c8318755c48 | [
"Apache-2.0"
] | 2 | 2019-05-09T07:21:25.000Z | 2019-08-05T06:37:53.000Z | sandbox/lib/jumpscale/JumpscaleLibs/clients/gitea/client/teams_service.py | threefoldtech/threebot_prebuilt | 1f0e1c65c14cef079cd80f73927d7c8318755c48 | [
"Apache-2.0"
] | 664 | 2018-12-19T12:43:44.000Z | 2019-08-23T04:24:42.000Z | Jumpscale/clients/gitea/client/teams_service.py | threefoldtech/jumpscale10 | 5fb073a82aeb0e66fc7d9660c45a1e31bc094bfa | [
"Apache-2.0"
] | 7 | 2019-05-03T07:14:37.000Z | 2019-08-05T12:36:52.000Z | # DO NOT EDIT THIS FILE. This file will be overwritten when re-running go-raml.
from .Repository import Repository
from .Team import Team
from .User import User
from .unhandled_api_error import UnhandledAPIError
from .unmarshall_error import UnmarshallError
class TeamsService:
def __init__(self, client):
... | 41.733813 | 118 | 0.611619 | 694 | 5,801 | 5.020173 | 0.14121 | 0.057405 | 0.04822 | 0.046498 | 0.849024 | 0.849024 | 0.8407 | 0.80023 | 0.768083 | 0.758324 | 0 | 0.002872 | 0.279779 | 5,801 | 138 | 119 | 42.036232 | 0.83102 | 0.121358 | 0 | 0.732558 | 1 | 0 | 0.071206 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.116279 | false | 0.011628 | 0.05814 | 0 | 0.290698 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
67df25abf8299bcac0581594bc887fbdde4c3e8a | 22,238 | py | Python | spandex/targets/tests/test_synthesis.py | UDST/spandex | 2f485b190d521bc84e9a66d71c8161b5214570d8 | [
"BSD-3-Clause"
] | 21 | 2015-09-24T08:20:13.000Z | 2020-08-10T16:15:03.000Z | spandex/targets/tests/test_synthesis.py | UDST/spandex | 2f485b190d521bc84e9a66d71c8161b5214570d8 | [
"BSD-3-Clause"
] | 3 | 2018-05-22T21:04:48.000Z | 2018-05-30T20:40:44.000Z | spandex/targets/tests/test_synthesis.py | UDST/spandex | 2f485b190d521bc84e9a66d71c8161b5214570d8 | [
"BSD-3-Clause"
] | 14 | 2015-09-21T17:59:02.000Z | 2020-05-06T05:12:40.000Z | import numpy as np
import pandas as pd
import pandas.util.testing as pdt
import pytest
from spandex.targets import synthesis as syn
@pytest.fixture
def seed(request):
current = np.random.get_state()
def fin():
np.random.set_state(current)
request.addfinalizer(fin)
np.random.seed(0)
@pytes... | 29.376486 | 79 | 0.594073 | 2,979 | 22,238 | 4.200403 | 0.040953 | 0.071046 | 0.077439 | 0.014065 | 0.906497 | 0.880524 | 0.849996 | 0.82722 | 0.803804 | 0.791577 | 0 | 0.020322 | 0.263153 | 22,238 | 756 | 80 | 29.415344 | 0.743317 | 0.005576 | 0 | 0.768959 | 0 | 0 | 0.027 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 1 | 0.091711 | false | 0 | 0.008818 | 0.014109 | 0.116402 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
db35bebae58e3c096f83118941d808f5719cf3d7 | 59,497 | py | Python | horserace_source.py | snowingforest/wcbot | 6496a6947d924b44729c757f06f367e375d90d78 | [
"Apache-2.0"
] | null | null | null | horserace_source.py | snowingforest/wcbot | 6496a6947d924b44729c757f06f367e375d90d78 | [
"Apache-2.0"
] | null | null | null | horserace_source.py | snowingforest/wcbot | 6496a6947d924b44729c757f06f367e375d90d78 | [
"Apache-2.0"
] | null | null | null | import pymysql
from DBUtils.PooledDB import PooledDB
import random
from basefunction import get_nick_name
from config import *
def calculate_damage(attack, defense, damage_fix):
dmg = attack + damage_fix - defense
if dmg > 0:
base_move = dmg // 6
extra_move = dmg % 6
r = ra... | 53.89221 | 167 | 0.520833 | 7,555 | 59,497 | 3.92998 | 0.039709 | 0.153009 | 0.056987 | 0.057829 | 0.869051 | 0.85888 | 0.853929 | 0.84534 | 0.833081 | 0.824526 | 0 | 0.030338 | 0.352909 | 59,497 | 1,104 | 168 | 53.89221 | 0.740494 | 0 | 0 | 0.738889 | 0 | 0.012037 | 0.153712 | 0.025841 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001852 | false | 0.000926 | 0.00463 | 0 | 0.023148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
221809e7a9e86b1ea6f5156df3a4a63147d41920 | 34,065 | py | Python | blender/2.79/scripts/addons/rigify/metarigs/Basic/basic_human.py | uzairakbar/bpy2.79 | 3a3e0004ac6783c4e4b89d939e4432de99026a85 | [
"MIT"
] | 2 | 2019-11-27T09:05:42.000Z | 2020-02-20T01:25:23.000Z | rigify/metarigs/Basic/basic_human.py | 1-MillionParanoidTterabytes/blender-addons-master | acc8fc23a38e6e89099c3e5079bea31ce85da06a | [
"Unlicense"
] | null | null | null | rigify/metarigs/Basic/basic_human.py | 1-MillionParanoidTterabytes/blender-addons-master | acc8fc23a38e6e89099c3e5079bea31ce85da06a | [
"Unlicense"
] | 4 | 2020-02-19T20:02:26.000Z | 2022-02-11T18:47:56.000Z | import bpy
from mathutils import Color
def create(obj):
# generated by rigify.utils.write_metarig
bpy.ops.object.mode_set(mode='EDIT')
arm = obj.data
for i in range(6):
arm.rigify_colors.add()
arm.rigify_colors[0].name = "Root"
arm.rigify_colors[0].active = Color((0.549000024795532... | 49.802632 | 270 | 0.664641 | 4,964 | 34,065 | 4.456285 | 0.04311 | 0.576827 | 0.754713 | 0.858912 | 0.90778 | 0.814158 | 0.808101 | 0.786538 | 0.756476 | 0.740202 | 0 | 0.073222 | 0.184941 | 34,065 | 684 | 271 | 49.802632 | 0.723501 | 0.001145 | 0 | 0.481315 | 1 | 0 | 0.04529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001495 | false | 0.023916 | 0.00299 | 0 | 0.004484 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 10 |
2277be39f191bc8f598df136ae1c02cc560453b5 | 12,007 | py | Python | tests/test_scheduler.py | apple/ml-cvnets | 84d992f413e52c0468f86d23196efd9dad885e6f | [
"AML"
] | 209 | 2021-10-30T08:32:10.000Z | 2022-03-31T16:18:03.000Z | tests/test_scheduler.py | apple/ml-cvnets | 84d992f413e52c0468f86d23196efd9dad885e6f | [
"AML"
] | 12 | 2021-12-04T10:47:11.000Z | 2022-03-31T15:39:40.000Z | tests/test_scheduler.py | apple/ml-cvnets | 84d992f413e52c0468f86d23196efd9dad885e6f | [
"AML"
] | 50 | 2021-11-01T08:15:02.000Z | 2022-03-29T08:17:34.000Z | #
# For licensing see accompanying LICENSE file.
# Copyright (C) 2022 Apple Inc. All Rights Reserved.
#
import numpy as np
import random
from pprint import pprint
from tqdm import tqdm
from typing import Optional, Union, List
import sys
sys.path.append("..")
from options.opts import get_training_arguments
from optim... | 36.384848 | 98 | 0.592155 | 1,397 | 12,007 | 4.84252 | 0.096636 | 0.071101 | 0.100517 | 0.020399 | 0.880414 | 0.867997 | 0.867997 | 0.862232 | 0.862232 | 0.862232 | 0 | 0.016887 | 0.319397 | 12,007 | 329 | 99 | 36.495441 | 0.81094 | 0.038478 | 0 | 0.713768 | 0 | 0 | 0.170209 | 0.067667 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018116 | false | 0.130435 | 0.032609 | 0 | 0.054348 | 0.047101 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
3f2610204b2a11fc63eaacbc48199a38be50acb1 | 144 | py | Python | appbundler/__init__.py | mab4058/appbundler | e1c3cb747ba3a23d517ec5ba73e26328845fa703 | [
"MIT"
] | null | null | null | appbundler/__init__.py | mab4058/appbundler | e1c3cb747ba3a23d517ec5ba73e26328845fa703 | [
"MIT"
] | null | null | null | appbundler/__init__.py | mab4058/appbundler | e1c3cb747ba3a23d517ec5ba73e26328845fa703 | [
"MIT"
] | null | null | null | from .__version__ import __version__
from .appbundler import AppBundler
from .appbundler import Config
from .appbundler import SupplementalData
| 28.8 | 40 | 0.861111 | 16 | 144 | 7.25 | 0.375 | 0.362069 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 144 | 4 | 41 | 36 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3f53f4581d01ca58b4285f339130830c9675143d | 96 | py | Python | stattools/datasets/__init__.py | artemmavrin/SLTools | 04525b5d6777be3ccdc6ad44e4cbfe24a8875933 | [
"MIT"
] | 2 | 2018-07-10T22:16:23.000Z | 2019-10-08T00:12:44.000Z | stattools/datasets/__init__.py | artemmavrin/SLTools | 04525b5d6777be3ccdc6ad44e4cbfe24a8875933 | [
"MIT"
] | null | null | null | stattools/datasets/__init__.py | artemmavrin/SLTools | 04525b5d6777be3ccdc6ad44e4cbfe24a8875933 | [
"MIT"
] | 4 | 2019-05-17T23:06:07.000Z | 2021-03-22T14:04:24.000Z | """Some small datasets."""
from .load import load_lsat_gpa
from .load import load_old_faithful
| 19.2 | 35 | 0.78125 | 15 | 96 | 4.733333 | 0.666667 | 0.225352 | 0.394366 | 0.507042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 96 | 4 | 36 | 24 | 0.845238 | 0.208333 | 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 | 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 | 8 |
3f67ef1cb9e1592edf7123de7afa8b5785777832 | 8,299 | py | Python | tests/data_structures/test_semistatic_map.py | TinkerBoard-Android/external-google-fruit | 57123c8a2477a4d99cb68c53d195e9fb428dd535 | [
"Apache-2.0"
] | 1,666 | 2015-01-04T08:52:43.000Z | 2022-03-28T11:06:19.000Z | tests/data_structures/test_semistatic_map.py | TinkerBoard-Android/external-google-fruit | 57123c8a2477a4d99cb68c53d195e9fb428dd535 | [
"Apache-2.0"
] | 135 | 2015-02-19T11:35:07.000Z | 2022-03-29T05:00:42.000Z | tests/data_structures/test_semistatic_map.py | TinkerBoard-Android/external-google-fruit | 57123c8a2477a4d99cb68c53d195e9fb428dd535 | [
"Apache-2.0"
] | 253 | 2015-01-14T08:15:10.000Z | 2022-03-24T07:49:53.000Z | #!/usr/bin/env python3
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | 38.24424 | 112 | 0.498373 | 891 | 8,299 | 4.547699 | 0.156004 | 0.135489 | 0.13154 | 0.088845 | 0.779862 | 0.773939 | 0.773939 | 0.773939 | 0.773939 | 0.735439 | 0 | 0.021964 | 0.34715 | 8,299 | 216 | 113 | 38.421296 | 0.725914 | 0.071454 | 0 | 0.744565 | 0 | 0.081522 | 0.811102 | 0.054732 | 0 | 0 | 0 | 0 | 0.331522 | 1 | 0.043478 | false | 0 | 0.01087 | 0 | 0.059783 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
58b7bbd64779424c3b4dc8b6f59680992279e01a | 13,008 | py | Python | cornelltest.py | JeffreyTsang/Brickbreaker | 37f0d143e9f937027fc281aef1511d0e9c804b8b | [
"MIT"
] | null | null | null | cornelltest.py | JeffreyTsang/Brickbreaker | 37f0d143e9f937027fc281aef1511d0e9c804b8b | [
"MIT"
] | null | null | null | cornelltest.py | JeffreyTsang/Brickbreaker | 37f0d143e9f937027fc281aef1511d0e9c804b8b | [
"MIT"
] | null | null | null | # cornelltest.py
# Walker M. White (wmw2), Lillian Lee (LJL2), Steve Marschner (srm2)
# August 20, 2015
"""Unit test support functions
This module provides function-level unit testing tools. It is a replacement for
the built-in Python package unittest, which is much less user friendly and requires
an understanding ... | 37.704348 | 100 | 0.652675 | 1,733 | 13,008 | 4.810156 | 0.124639 | 0.023752 | 0.03275 | 0.036468 | 0.861324 | 0.853167 | 0.836012 | 0.81406 | 0.763076 | 0.744842 | 0 | 0.003719 | 0.276445 | 13,008 | 345 | 101 | 37.704348 | 0.881959 | 0.017066 | 0 | 0.638655 | 0 | 0 | 0.232472 | 0.068873 | 0 | 0 | 0 | 0 | 0.235294 | 0 | null | null | 0 | 0.016807 | null | null | 0.02521 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
58e58a3dbbe9af64219d4b94431e463fd2160fe7 | 1,514 | py | Python | tests/features/test_sqlserver.py | alexgarzao/beeweb | c67d024c2d43c6bb2da7ba6877c1648e8760f036 | [
"MIT"
] | 5 | 2017-11-10T12:48:10.000Z | 2018-02-21T21:29:52.000Z | tests/features/test_sqlserver.py | alexgarzao/beeweb | c67d024c2d43c6bb2da7ba6877c1648e8760f036 | [
"MIT"
] | 1 | 2018-04-22T00:08:16.000Z | 2018-04-22T00:08:16.000Z | tests/features/test_sqlserver.py | alexgarzao/beeweb | c67d024c2d43c6bb2da7ba6877c1648e8760f036 | [
"MIT"
] | 2 | 2017-11-10T17:06:34.000Z | 2017-11-11T03:27:46.000Z | from .context import SqlServer
def test_query_with_many_fields():
q = SqlServer()
q.server_address = '10.64.100.213'
q.username = 'cob_user'
q.user_password = 'tecnocred'
q.database_name = 'COB_IS_3'
q.sql = """
SELECT top 1 ben.nm_beneficiario, vc.ds_variacao_carteira, c.ds_carteira
... | 35.209302 | 78 | 0.649934 | 206 | 1,514 | 4.470874 | 0.257282 | 0.156352 | 0.078176 | 0.034745 | 0.857763 | 0.807818 | 0.807818 | 0.807818 | 0.807818 | 0.807818 | 0 | 0.032345 | 0.264861 | 1,514 | 42 | 79 | 36.047619 | 0.795148 | 0 | 0 | 0.842105 | 0 | 0 | 0.703435 | 0.184941 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0.052632 | false | 0.052632 | 0.026316 | 0 | 0.078947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
4530934cb88a0314da46a5b36e24ed4a92573217 | 276 | py | Python | python/try.py | wjiec/packages | 4ccaf8f717265a1f8a9af533f9a998b935efb32a | [
"MIT"
] | null | null | null | python/try.py | wjiec/packages | 4ccaf8f717265a1f8a9af533f9a998b935efb32a | [
"MIT"
] | 1 | 2016-09-15T07:06:15.000Z | 2016-09-15T07:06:15.000Z | python/try.py | wjiec/packages | 4ccaf8f717265a1f8a9af533f9a998b935efb32a | [
"MIT"
] | null | null | null | #!/bin/env python3
try:
invalid = 10 / 0
except ZeroDivisionError as e:
print('catch except: ', e)
finally:
print('finally...')
try:
invalid = 10 / 1
except ZeroDivisionError as e:
print('catch except: ', e)
finally:
print('finally...') | 18.4 | 31 | 0.59058 | 33 | 276 | 4.939394 | 0.454545 | 0.122699 | 0.147239 | 0.319018 | 0.760736 | 0.760736 | 0.760736 | 0.760736 | 0.760736 | 0.760736 | 0 | 0.034483 | 0.264493 | 276 | 15 | 32 | 18.4 | 0.768473 | 0.061594 | 0 | 0.833333 | 0 | 0 | 0.195918 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
18d16473d15ff59cf6350585ba3622682cc43a86 | 173 | py | Python | smartva/__main__.py | rileyhazard/SmartVA-Analyze-1 | 0573eeff27d03f54e7506db4f1631c0cd9f54bbb | [
"MIT"
] | 4 | 2019-01-23T12:57:47.000Z | 2020-04-18T17:13:08.000Z | smartva/__main__.py | rileyhazard/SmartVA-Analyze-1 | 0573eeff27d03f54e7506db4f1631c0cd9f54bbb | [
"MIT"
] | 4 | 2019-01-09T22:10:07.000Z | 2022-02-16T04:57:06.000Z | smartva/__main__.py | rileyhazard/SmartVA-Analyze-1 | 0573eeff27d03f54e7506db4f1631c0cd9f54bbb | [
"MIT"
] | 11 | 2018-12-11T22:01:13.000Z | 2022-01-07T11:38:02.000Z | import sys
if __name__ == '__main__':
if len(sys.argv) > 1:
from smartva import va_cli as app
else:
from smartva import va_ui as app
app.main()
| 19.222222 | 41 | 0.612717 | 27 | 173 | 3.555556 | 0.592593 | 0.229167 | 0.354167 | 0.395833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.306358 | 173 | 8 | 42 | 21.625 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.046243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
18f0e3a4faebcad3be13c771b1d79c841c45f250 | 372,273 | py | Python | src/oci/waas/waas_client.py | LaudateCorpus1/oci-python-sdk | b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/waas/waas_client.py | LaudateCorpus1/oci-python-sdk | b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/waas/waas_client.py | LaudateCorpus1/oci-python-sdk | b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c... | 52.8872 | 440 | 0.664875 | 47,854 | 372,273 | 4.994504 | 0.017762 | 0.057873 | 0.019096 | 0.00577 | 0.934362 | 0.921981 | 0.913747 | 0.907429 | 0.900647 | 0.88889 | 0 | 0.000916 | 0.257827 | 372,273 | 7,038 | 441 | 52.894714 | 0.86414 | 0.466821 | 0 | 0.847921 | 0 | 0 | 0.158323 | 0.031389 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018326 | false | 0.000547 | 0.002462 | 0 | 0.057166 | 0.003556 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
7a09da78813ff89c8d5f7ca2f4db554184b32a9c | 221 | py | Python | genomat/stats/__init__.py | Aluriak/Genomat | fda307949b7192018b8ab19566cb505e984d5e56 | [
"Unlicense"
] | null | null | null | genomat/stats/__init__.py | Aluriak/Genomat | fda307949b7192018b8ab19566cb505e984d5e56 | [
"Unlicense"
] | null | null | null | genomat/stats/__init__.py | Aluriak/Genomat | fda307949b7192018b8ab19566cb505e984d5e56 | [
"Unlicense"
] | null | null | null | import genomat.stats.stats
import genomat.stats.networks
import genomat.stats.profiles
#import genomat.stats.stats as stats
#import genomat.stats.networks as networks
#import genomat.stats.profiles as profiles
| 31.571429 | 43 | 0.800905 | 30 | 221 | 5.9 | 0.2 | 0.440678 | 0.610169 | 0.259887 | 0.689266 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131222 | 221 | 6 | 44 | 36.833333 | 0.921875 | 0.547511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e14bc6a4b9f6351adf390a8b335edd5fdf93e207 | 5,948 | py | Python | TransferLearning_AuthorshipID/data.py | aman7895/DeepLearningResearch | de7bc777f8253e164e2658e816a9c6a45f3e93e7 | [
"MIT"
] | null | null | null | TransferLearning_AuthorshipID/data.py | aman7895/DeepLearningResearch | de7bc777f8253e164e2658e816a9c6a45f3e93e7 | [
"MIT"
] | null | null | null | TransferLearning_AuthorshipID/data.py | aman7895/DeepLearningResearch | de7bc777f8253e164e2658e816a9c6a45f3e93e7 | [
"MIT"
] | null | null | null |
# coding: utf-8
# In[ ]:
#generate graphs with chunk_size, batch size
import psycopg2
import pandas as pd
import nltk
import re #This is to parse the HTML code from the given text
from sshtunnel import SSHTunnelForwarder #This is to connect to the local Database
def getCharAuthorData(authors, doc, tdoc, documentTab... | 32.326087 | 104 | 0.421822 | 560 | 5,948 | 4.417857 | 0.241071 | 0.006467 | 0.021019 | 0.029103 | 0.826597 | 0.813662 | 0.775667 | 0.775667 | 0.752627 | 0.752627 | 0 | 0.030103 | 0.463853 | 5,948 | 183 | 105 | 32.502732 | 0.745688 | 0.049092 | 0 | 0.857143 | 1 | 0 | 0.111897 | 0.007617 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015038 | false | 0.030075 | 0.037594 | 0 | 0.067669 | 0.097744 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e16688f8fea4c7921401b7718654817095487056 | 360 | py | Python | networkx/linalg/__init__.py | Tscheik/networkx | 19a8d540afac21eced23cf06a47f496f164039e9 | [
"BSD-3-Clause"
] | 1 | 2018-08-09T14:29:43.000Z | 2018-08-09T14:29:43.000Z | networkx/linalg/__init__.py | Tscheik/networkx | 19a8d540afac21eced23cf06a47f496f164039e9 | [
"BSD-3-Clause"
] | null | null | null | networkx/linalg/__init__.py | Tscheik/networkx | 19a8d540afac21eced23cf06a47f496f164039e9 | [
"BSD-3-Clause"
] | null | null | null | from networkx.linalg.attrmatrix import *
import networkx.linalg.attrmatrix
from networkx.linalg.spectrum import *
import networkx.linalg.spectrum
from networkx.linalg.graphmatrix import *
import networkx.linalg.graphmatrix
from networkx.linalg.laplacianmatrix import *
import networkx.linalg.laplacianmatrix
from network... | 36 | 51 | 0.858333 | 41 | 360 | 7.536585 | 0.219512 | 0.407767 | 0.291262 | 0.33657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077778 | 360 | 9 | 52 | 40 | 0.930723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e1b61b5be0c0a54ea11d84d31c075649bdda1be0 | 33 | py | Python | src/vaulter_py/__init__.py | Shreejan-35/VAULTERPY | 91823a880b406b8958eb4bb91ee311671c39eae2 | [
"MIT"
] | 2 | 2022-03-27T21:56:18.000Z | 2022-03-30T09:06:29.000Z | src/vaulter_py/__init__.py | Shreejan-35/PYVAULT | 91823a880b406b8958eb4bb91ee311671c39eae2 | [
"MIT"
] | null | null | null | src/vaulter_py/__init__.py | Shreejan-35/PYVAULT | 91823a880b406b8958eb4bb91ee311671c39eae2 | [
"MIT"
] | null | null | null | from .passvault import Passvault
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
e1c5c2e15a0c102fb655c54f8954d23780fbad38 | 5,059 | py | Python | contracts/tests/test_channel_delegate.py | andrevmatos/microraiden | 2d51e78afaf3c0a8ddab87e59a5260c0064cdbdd | [
"MIT"
] | 417 | 2017-09-19T19:06:23.000Z | 2021-11-28T05:39:23.000Z | contracts/tests/test_channel_delegate.py | andrevmatos/microraiden | 2d51e78afaf3c0a8ddab87e59a5260c0064cdbdd | [
"MIT"
] | 259 | 2017-09-19T20:42:57.000Z | 2020-11-18T01:31:41.000Z | contracts/tests/test_channel_delegate.py | andrevmatos/microraiden | 2d51e78afaf3c0a8ddab87e59a5260c0064cdbdd | [
"MIT"
] | 126 | 2017-09-19T17:11:39.000Z | 2020-12-17T17:05:27.000Z | import pytest
from ethereum import tester
def test_channel_erc223_create_delegate(
owner,
get_accounts,
uraiden_instance,
token_instance,
delegate_instance,
get_block):
(sender, receiver) = get_accounts(2)
deposit = 1000
txdata = bytes.fromhex(sender[2:] + r... | 31.228395 | 98 | 0.699545 | 562 | 5,059 | 6.049822 | 0.13879 | 0.098824 | 0.070588 | 0.074412 | 0.857353 | 0.848824 | 0.848824 | 0.837941 | 0.831471 | 0.759412 | 0 | 0.0214 | 0.214865 | 5,059 | 161 | 99 | 31.42236 | 0.834592 | 0.136391 | 0 | 0.720721 | 0 | 0 | 0.01104 | 0 | 0 | 0 | 0 | 0 | 0.126126 | 1 | 0.045045 | false | 0 | 0.018018 | 0 | 0.063063 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
becf06596a00df56f753962b24ed1f5eafd162d0 | 6,603 | py | Python | benchmarks/tables/mix-files.py | vsahil/influence-duplicate | ae5bc77be6dcb7d69054a520733c373d833552da | [
"MIT"
] | null | null | null | benchmarks/tables/mix-files.py | vsahil/influence-duplicate | ae5bc77be6dcb7d69054a520733c373d833552da | [
"MIT"
] | null | null | null | benchmarks/tables/mix-files.py | vsahil/influence-duplicate | ae5bc77be6dcb7d69054a520733c373d833552da | [
"MIT"
] | 1 | 2021-11-03T06:53:18.000Z | 2021-11-03T06:53:18.000Z | import sys, os
def min_discm_mix(scientific_notation):
print(scientific_notation)
if scientific_notation:
file1 = "min-discm_scientific.tex"
else:
file1 = "min-discm_floating.tex"
with open(file1, "r") as f1:
content_min_discm = f1.readlines()
with open("test_accuracy_for... | 34.212435 | 101 | 0.529759 | 776 | 6,603 | 4.351804 | 0.104381 | 0.021321 | 0.029316 | 0.040865 | 0.948475 | 0.923601 | 0.890435 | 0.859046 | 0.859046 | 0.859046 | 0 | 0.038589 | 0.317129 | 6,603 | 193 | 102 | 34.212435 | 0.710357 | 0.092079 | 0 | 0.818182 | 0 | 0 | 0.160101 | 0.092372 | 0 | 0 | 0 | 0 | 0.041958 | 1 | 0.020979 | false | 0 | 0.048951 | 0 | 0.06993 | 0.041958 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
bef9d3b7e06ff1065b8cec7b0f33e0fc00081e1e | 2,528 | py | Python | python/equityplot.py | lich666dead/ml-framework | e8c42ec610e907f263f03f5c776a48a553dd7c28 | [
"MIT"
] | 3 | 2017-10-28T14:50:18.000Z | 2017-11-12T13:35:05.000Z | python/equityplot.py | lich666dead/ml-framework | e8c42ec610e907f263f03f5c776a48a553dd7c28 | [
"MIT"
] | null | null | null | python/equityplot.py | lich666dead/ml-framework | e8c42ec610e907f263f03f5c776a48a553dd7c28 | [
"MIT"
] | 2 | 2017-10-28T14:51:46.000Z | 2018-08-05T10:36:38.000Z | from matplotlib.dates import YearLocator, MonthLocator, DateFormatter
import datetime
import matplotlib.pyplot as plt
import numpy as np
def plotequity_pred(pred, res, title, dataformat="%Y-%m-%d"):
mydpi = 96
plt.close("all")
pos = np.where( pred > 0, 1, np.where( pred <-0, -1, 0 ) )
eq = np.cumsum( ... | 30.829268 | 97 | 0.651108 | 355 | 2,528 | 4.560563 | 0.24507 | 0.034589 | 0.03706 | 0.03706 | 0.809141 | 0.741198 | 0.741198 | 0.741198 | 0.741198 | 0.741198 | 0 | 0.027573 | 0.196598 | 2,528 | 82 | 98 | 30.829268 | 0.769572 | 0.017801 | 0 | 0.725806 | 0 | 0 | 0.032271 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048387 | false | 0 | 0.064516 | 0 | 0.112903 | 0.016129 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8339cee41f31c8370b1be36cd34369a947fce05d | 69 | py | Python | paz/backend/image/__init__.py | dema-software-solutions/paz-1 | e75ab1ba5b0980ee76ae6bd95545497665d69304 | [
"MIT"
] | null | null | null | paz/backend/image/__init__.py | dema-software-solutions/paz-1 | e75ab1ba5b0980ee76ae6bd95545497665d69304 | [
"MIT"
] | null | null | null | paz/backend/image/__init__.py | dema-software-solutions/paz-1 | e75ab1ba5b0980ee76ae6bd95545497665d69304 | [
"MIT"
] | null | null | null | from .opencv_image import *
from .image import *
from .draw import *
| 17.25 | 27 | 0.73913 | 10 | 69 | 5 | 0.5 | 0.44 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 3 | 28 | 23 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3603cd26868e12093e1d6f88d01d546328685a69 | 140 | py | Python | construct_hou/menus.py | construct-org/construct_hou | 7c323c176ce238681f64cbf61ddd7ed5a9a81100 | [
"MIT"
] | null | null | null | construct_hou/menus.py | construct-org/construct_hou | 7c323c176ce238681f64cbf61ddd7ed5a9a81100 | [
"MIT"
] | null | null | null | construct_hou/menus.py | construct-org/construct_hou | 7c323c176ce238681f64cbf61ddd7ed5a9a81100 | [
"MIT"
] | 1 | 2020-02-15T12:16:21.000Z | 2020-02-15T12:16:21.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
def setup_construct_menu():
'''Setup Construct Action menu'''
pass
| 17.5 | 38 | 0.685714 | 17 | 140 | 5.235294 | 0.764706 | 0.314607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.185714 | 140 | 7 | 39 | 20 | 0.77193 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
3629e761fb241df6774d351cc8cb855d2680577b | 80,711 | py | Python | openapi_client/api/feeds_api.py | hi-artem/twistlock-py | 9888e905f5b9d3cc00f9b84244588c0992f8e4f4 | [
"RSA-MD"
] | null | null | null | openapi_client/api/feeds_api.py | hi-artem/twistlock-py | 9888e905f5b9d3cc00f9b84244588c0992f8e4f4 | [
"RSA-MD"
] | null | null | null | openapi_client/api/feeds_api.py | hi-artem/twistlock-py | 9888e905f5b9d3cc00f9b84244588c0992f8e4f4 | [
"RSA-MD"
] | null | null | null | # coding: utf-8
"""
Prisma Cloud Compute API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 21.04.439
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_impor... | 42.479474 | 124 | 0.5977 | 8,903 | 80,711 | 5.104347 | 0.025609 | 0.030455 | 0.044054 | 0.038025 | 0.979139 | 0.978215 | 0.977401 | 0.976873 | 0.976675 | 0.975002 | 0 | 0.012379 | 0.338405 | 80,711 | 1,899 | 125 | 42.501843 | 0.838664 | 0.511293 | 0 | 0.76625 | 1 | 0 | 0.158072 | 0.068941 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03875 | false | 0 | 0.00625 | 0 | 0.08375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3697e1f7749a490836d40c6eb5f61922453e4d3a | 1,662 | py | Python | main.py | hyperstore2020/AntiSpamBot | c349542d9ccd9f59339caadda5aa6412a65d40aa | [
"MIT"
] | null | null | null | main.py | hyperstore2020/AntiSpamBot | c349542d9ccd9f59339caadda5aa6412a65d40aa | [
"MIT"
] | 1 | 2020-05-08T12:31:11.000Z | 2020-05-08T12:31:11.000Z | main.py | hyperstore2020/AntiSpamBot | c349542d9ccd9f59339caadda5aa6412a65d40aa | [
"MIT"
] | null | null | null | import base64
token = "yourtokenhere"
raw_code = b"ZGVmIGNyZWF0ZSh0b2tlbik6CiAgICBpbXBvcnQgZGlzY29yZAogICAgZnJvbSBkaXNjb3JkLmV4dCBpbXBvcnQgY29tbWFuZHMKICAgIGltcG9ydCByYW5kb20KICAgIGltcG9ydCBhc3luY2lvCgogICAgY2xpZW50ID0gY29tbWFuZHMuQm90KCIhIikKICAgIGNvb2xkb3ducyA9IFtdCgogICAgQGNsaWVudC5jb21tYW5kKCkKICAgIGFzeW5jIGRlZiBr... | 237.428571 | 1,534 | 0.973526 | 21 | 1,662 | 76.952381 | 0.714286 | 0.008663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119004 | 0.009025 | 1,662 | 6 | 1,535 | 277 | 0.862174 | 0 | 0 | 0 | 0 | 0 | 0.936823 | 0.914561 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
369835cd150a41d17d6f6398dc98e07332143429 | 126 | py | Python | tests/individually/module1/handler1.py | martinpfannemueller-syntax/serverless-python-requirements | 1c65b98607c1b862a8c5da9ef7e7622d2cee1c65 | [
"MIT"
] | 919 | 2016-12-15T01:58:03.000Z | 2021-10-04T14:52:22.000Z | tests/individually/module1/handler1.py | martinpfannemueller-syntax/serverless-python-requirements | 1c65b98607c1b862a8c5da9ef7e7622d2cee1c65 | [
"MIT"
] | 540 | 2016-12-15T02:13:19.000Z | 2021-11-02T03:20:36.000Z | tests/individually/module1/handler1.py | martinpfannemueller-syntax/serverless-python-requirements | 1c65b98607c1b862a8c5da9ef7e7622d2cee1c65 | [
"MIT"
] | 253 | 2017-01-06T15:26:54.000Z | 2021-11-02T03:03:17.000Z | import boto3
def hello(event, context):
return {"status": 200}
def hello2(event, context):
return {"status": 200}
| 12.6 | 27 | 0.650794 | 16 | 126 | 5.125 | 0.625 | 0.292683 | 0.439024 | 0.585366 | 0.658537 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.206349 | 126 | 9 | 28 | 14 | 0.74 | 0 | 0 | 0.4 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
36f5201bbcf52e2505a6ef0c776455dc0db8c0e0 | 198 | py | Python | deep_learning/optimizers.py | SaadChaouki/ml-eli5-cli5 | 625a69edadf4737e41c58193873cf8a54273d7f0 | [
"MIT"
] | 1 | 2021-05-04T19:53:12.000Z | 2021-05-04T19:53:12.000Z | deep_learning/optimizers.py | SaadChaouki/ml-eli5-cli5 | 625a69edadf4737e41c58193873cf8a54273d7f0 | [
"MIT"
] | null | null | null | deep_learning/optimizers.py | SaadChaouki/ml-eli5-cli5 | 625a69edadf4737e41c58193873cf8a54273d7f0 | [
"MIT"
] | null | null | null | import numpy as np
class StochasticGradientDescent(object):
def __init__(self, learning_rate):
self.learning_rate = learning_rate
def update(self, weights, gradients):
pass | 24.75 | 42 | 0.717172 | 23 | 198 | 5.869565 | 0.695652 | 0.266667 | 0.237037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 198 | 8 | 43 | 24.75 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
7fd660726fb22e6091e3cb398516cdbb2b593c86 | 231 | py | Python | vixDiskLib/vixExceptions.py | xuru/vixDiskLib | 77a80ed4147055f7903f913296f808f14bed74e0 | [
"MIT"
] | 8 | 2015-02-01T13:57:25.000Z | 2021-06-22T10:13:51.000Z | vixDiskLib/vixExceptions.py | xuru/vixDiskLib | 77a80ed4147055f7903f913296f808f14bed74e0 | [
"MIT"
] | 2 | 2017-02-08T18:10:53.000Z | 2017-10-24T21:08:33.000Z | vixDiskLib/vixExceptions.py | xuru/vixDiskLib | 77a80ed4147055f7903f913296f808f14bed74e0 | [
"MIT"
] | 6 | 2017-06-19T07:27:43.000Z | 2022-03-13T16:13:48.000Z | from exceptions import Exception
class VixDiskLibError(Exception):
""" VixDiskLib exception class """
pass
class VixDiskUnimplemented(Exception):
""" VixDiskLib exception class for unimplemented features """
pass
| 23.1 | 65 | 0.744589 | 21 | 231 | 8.190476 | 0.571429 | 0.244186 | 0.325581 | 0.383721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177489 | 231 | 9 | 66 | 25.666667 | 0.905263 | 0.350649 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
1814fbacb79fcb464fa78bab6241cac56c0beff8 | 19,097 | py | Python | showcase/signals.py | aseufert/sporttechiq | 90812142bedf63fed9d1e5f3b246b78299aa45f7 | [
"MIT"
] | null | null | null | showcase/signals.py | aseufert/sporttechiq | 90812142bedf63fed9d1e5f3b246b78299aa45f7 | [
"MIT"
] | null | null | null | showcase/signals.py | aseufert/sporttechiq | 90812142bedf63fed9d1e5f3b246b78299aa45f7 | [
"MIT"
] | null | null | null | from django.db.models.signals import post_save
from django.dispatch import receiver
from django.db.models import Avg
from showcase.models import PlayerScorecard, Team, Club
@receiver(post_save, sender=PlayerScorecard)
def calculateAvgs(sender, signal, instance, **kwargs):
control_thigh_avg = PlayerScorecard.objec... | 84.875556 | 149 | 0.752369 | 3,082 | 19,097 | 4.101233 | 0.019468 | 0.120253 | 0.146677 | 0.092801 | 0.95356 | 0.925949 | 0.881329 | 0.859889 | 0.841377 | 0.812025 | 0 | 0.022319 | 0.131906 | 19,097 | 224 | 150 | 85.254464 | 0.740138 | 0.001728 | 0 | 0.478469 | 0 | 0 | 0.171127 | 0.04228 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004785 | false | 0.248804 | 0.019139 | 0 | 0.023923 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
1873e34e2dfd1d729f8344fa760196abcfd554b5 | 209 | py | Python | fintech_ibkr/__init__.py | wangangi/hw-3-2 | 274bf13ecf9a2729aaf3b483246632c6735cf6fd | [
"MIT"
] | null | null | null | fintech_ibkr/__init__.py | wangangi/hw-3-2 | 274bf13ecf9a2729aaf3b483246632c6735cf6fd | [
"MIT"
] | null | null | null | fintech_ibkr/__init__.py | wangangi/hw-3-2 | 274bf13ecf9a2729aaf3b483246632c6735cf6fd | [
"MIT"
] | 25 | 2022-03-15T22:14:51.000Z | 2022-03-17T17:02:24.000Z | from fintech_ibkr.synchronous_functions import fetch_managed_accounts
from fintech_ibkr.synchronous_functions import fetch_historical_data
from fintech_ibkr.synchronous_functions import fetch_contract_details
| 52.25 | 69 | 0.92823 | 27 | 209 | 6.740741 | 0.481481 | 0.181319 | 0.247253 | 0.428571 | 0.758242 | 0.758242 | 0.758242 | 0 | 0 | 0 | 0 | 0 | 0.057416 | 209 | 3 | 70 | 69.666667 | 0.923858 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 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 | 9 |
a13b59b726cb5a37b7f1f293c674171a1fe8651b | 13,077 | py | Python | sklearn_evaluation/tests/test_metrics.py | afcarl/sklearn-evaluation | 86ff18d9e2057628bca83d70d81267036abce90e | [
"MIT"
] | 1 | 2019-04-22T16:39:56.000Z | 2019-04-22T16:39:56.000Z | sklearn_evaluation/tests/test_metrics.py | afcarl/sklearn-evaluation | 86ff18d9e2057628bca83d70d81267036abce90e | [
"MIT"
] | null | null | null | sklearn_evaluation/tests/test_metrics.py | afcarl/sklearn-evaluation | 86ff18d9e2057628bca83d70d81267036abce90e | [
"MIT"
] | null | null | null | from unittest import TestCase
from sklearn_evaluation.metrics import (precision_at, labels_at,
tp_at, fp_at)
from sklearn_evaluation.metrics import __threshold_at as threshold_at
from sklearn_evaluation.metrics import __binarize_scores_at as binarize_scores_at
import numpy as n... | 40.99373 | 81 | 0.584002 | 2,510 | 13,077 | 2.874104 | 0.033466 | 0.03715 | 0.034516 | 0.034932 | 0.943721 | 0.910452 | 0.878431 | 0.854034 | 0.810507 | 0.777655 | 0 | 0.126518 | 0.244475 | 13,077 | 318 | 82 | 41.122642 | 0.603644 | 0 | 0 | 0.598394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228916 | 1 | 0.220884 | false | 0 | 0.028112 | 0 | 0.273092 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a142384310a68db7dae77c0e7eabc09efec8d874 | 162,170 | py | Python | sijuiacion_lang/parser.py | RemuLang/sijuiacion-lang | e3b5be79fb7afadc0790311e612ddd430b3f0b9d | [
"MIT"
] | 21 | 2019-10-13T14:11:32.000Z | 2021-12-14T02:42:12.000Z | sijuiacion_lang/parser.py | RemuLang/sijuiacion-lang | e3b5be79fb7afadc0790311e612ddd430b3f0b9d | [
"MIT"
] | 1 | 2020-01-07T13:14:46.000Z | 2020-01-09T16:58:07.000Z | sijuiacion_lang/parser.py | RemuLang/sijuiacion-lang | e3b5be79fb7afadc0790311e612ddd430b3f0b9d | [
"MIT"
] | 1 | 2020-08-13T16:17:09.000Z | 2020-08-13T16:17:09.000Z | # this file is auto-generated by RBNF.hs and the Python package rbnf-rts
from rbnf_rts.rbnf_linker import link
from rbnf_rts.utils import ImmutableMap
from rbnf_rts.lexical import *
__all__ = ['lexicals', 'run_lexer', 'mk_parser']
(lexicals, run_lexer) = lexer(r(PY='#([^\\\\#]+|\\\\.)*?#'), r(INT='\\d+'), r(ID='[-$\\.... | 48.714329 | 2,057 | 0.361479 | 16,453 | 162,170 | 2.956482 | 0.010576 | 0.048846 | 0.073083 | 0.043562 | 0.961187 | 0.952038 | 0.941348 | 0.926814 | 0.923524 | 0.920646 | 0 | 0.076475 | 0.586354 | 162,170 | 3,328 | 2,058 | 48.728966 | 0.648664 | 0.000432 | 0 | 0.926195 | 1 | 0.000302 | 0.018402 | 0.000679 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005445 | false | 0 | 0.00121 | 0 | 0.012099 | 0.000302 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
b8105f044bd0c345fcc7906e6aad85e8cd9fcd89 | 19,850 | py | Python | tests/test_resource_profile_goal.py | andraune/Run4IT_BackEnd | a481427a0d1189a1f08c42e7ac1b452af6bbfc8d | [
"MIT"
] | 1 | 2022-03-29T06:11:20.000Z | 2022-03-29T06:11:20.000Z | tests/test_resource_profile_goal.py | andraune/run4it_backend | a481427a0d1189a1f08c42e7ac1b452af6bbfc8d | [
"MIT"
] | null | null | null | tests/test_resource_profile_goal.py | andraune/run4it_backend | a481427a0d1189a1f08c42e7ac1b452af6bbfc8d | [
"MIT"
] | null | null | null | import pytest
import datetime as dt
from run4it.api.goal import ProfileGoalListResource, ProfileGoalResource, GoalCategoryModel, GoalModel
from .helpers import get_response_json, register_confirmed_user, register_and_login_confirmed_user, get_authorization_header
@pytest.mark.usefixtures('db')
class TestProfileGoalLi... | 54.98615 | 193 | 0.735466 | 2,751 | 19,850 | 5.095238 | 0.061796 | 0.09674 | 0.064208 | 0.027395 | 0.909253 | 0.876222 | 0.876079 | 0.868089 | 0.861383 | 0.851537 | 0 | 0.023451 | 0.104181 | 19,850 | 360 | 194 | 55.138889 | 0.764818 | 0.006448 | 0 | 0.714286 | 0 | 0 | 0.130827 | 0.021001 | 0 | 0 | 0 | 0 | 0.276398 | 1 | 0.10559 | false | 0 | 0.012422 | 0 | 0.124224 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b810d7b14e79d097babae397b040fe60dce893e6 | 27,340 | py | Python | On_Combining_Bags_to_Better_Learn_from_Label_Proportions/Code/PythCode/heartloops.py | gunpowder78/google-research | d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5 | [
"Apache-2.0"
] | 1 | 2022-03-13T21:48:52.000Z | 2022-03-13T21:48:52.000Z | On_Combining_Bags_to_Better_Learn_from_Label_Proportions/Code/PythCode/heartloops.py | gunpowder78/google-research | d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5 | [
"Apache-2.0"
] | null | null | null | On_Combining_Bags_to_Better_Learn_from_Label_Proportions/Code/PythCode/heartloops.py | gunpowder78/google-research | d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5 | [
"Apache-2.0"
] | 1 | 2022-03-30T07:20:29.000Z | 2022-03-30T07:20:29.000Z | # coding=utf-8
# Copyright 2022 The Google Research Authors.
#
# 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 applicab... | 28.870116 | 124 | 0.611339 | 3,354 | 27,340 | 4.640429 | 0.073942 | 0.042406 | 0.054613 | 0.03598 | 0.947314 | 0.93954 | 0.93954 | 0.927204 | 0.927204 | 0.927204 | 0 | 0.015141 | 0.268032 | 27,340 | 946 | 125 | 28.900634 | 0.762592 | 0.100585 | 0 | 0.92775 | 0 | 0 | 0.076631 | 0.011023 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004926 | false | 0 | 0.011494 | 0.004926 | 0.022989 | 0.361248 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.