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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2672e09e16970b490a70f003cb1d596e6d20b941 | 148 | py | Python | venv/Lib/site-packages/IPython/utils/jsonutil.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | venv/Lib/site-packages/IPython/utils/jsonutil.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | venv/Lib/site-packages/IPython/utils/jsonutil.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | from warnings import warn
warn("IPython.utils.jsonutil has moved to jupyter_client.jsonutil", stacklevel=2)
from jupyter_client.jsonutil import *
| 24.666667 | 81 | 0.817568 | 21 | 148 | 5.666667 | 0.666667 | 0.218487 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0.108108 | 148 | 5 | 82 | 29.6 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0.398649 | 0.304054 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
cd1eb116bcef1822402f413d70d4f7ef09472efd | 3,763 | py | Python | carbondesign/tests/test_date_picker.py | dozymoe/django-carbondesign | 34aed0cfdccfa90fcb5bf2bbd347229815f1417b | [
"MIT"
] | null | null | null | carbondesign/tests/test_date_picker.py | dozymoe/django-carbondesign | 34aed0cfdccfa90fcb5bf2bbd347229815f1417b | [
"MIT"
] | null | null | null | carbondesign/tests/test_date_picker.py | dozymoe/django-carbondesign | 34aed0cfdccfa90fcb5bf2bbd347229815f1417b | [
"MIT"
] | null | null | null | # pylint:disable=missing-module-docstring,missing-class-docstring,missing-function-docstring
from .base import compare_template, SimpleTestCase
class DatePickerTest(SimpleTestCase):
maxDiff = None
def test_rendered(self):
template = """
{% load carbondesign %}
{% DatePicker form.started_at %}
"""
... | 45.890244 | 222 | 0.644167 | 563 | 3,763 | 4.232682 | 0.197158 | 0.109106 | 0.080571 | 0.099874 | 0.86026 | 0.86026 | 0.86026 | 0.835921 | 0.835921 | 0.820814 | 0 | 0.110259 | 0.168483 | 3,763 | 81 | 223 | 46.45679 | 0.651326 | 0.023917 | 0 | 0.813333 | 0 | 0.12 | 0.85726 | 0.397167 | 0 | 0 | 0 | 0 | 0.026667 | 1 | 0.026667 | false | 0 | 0.013333 | 0 | 0.093333 | 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 |
cd30d123e9854a2b2d38e03cc6e2ff717596032d | 25,267 | py | Python | assemblyline/al_ui/apiv3/alert.py | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | 46 | 2017-05-15T11:15:08.000Z | 2018-07-02T03:32:52.000Z | assemblyline/al_ui/apiv3/alert.py | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | null | null | null | assemblyline/al_ui/apiv3/alert.py | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | 24 | 2017-05-17T03:26:17.000Z | 2018-07-09T07:00:50.000Z |
from flask import request
from assemblyline.al.common import forge, queue
from assemblyline.al.core.datastore import SearchException
from al_ui.apiv3 import core
from al_ui.config import STORAGE
from al_ui.api_base import api_login, make_api_response
from riak import RiakError
DATABASE_NUM = 4
SUB_API = 'alert'
QUEUE... | 31.58375 | 116 | 0.572446 | 3,052 | 25,267 | 4.608781 | 0.079292 | 0.037537 | 0.050121 | 0.068676 | 0.81857 | 0.793403 | 0.771292 | 0.771292 | 0.759775 | 0.733044 | 0 | 0.011414 | 0.316896 | 25,267 | 799 | 117 | 31.623279 | 0.803534 | 0 | 0 | 0.760417 | 0 | 0 | 0.170993 | 0.010303 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.018229 | null | null | 0.002604 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
cd3b0c5fa6fb95873e7b5d877b0eead3532f6137 | 23,178 | py | Python | DENT/utils/pgd_attack.py | jfc43/eval-transductive-robustness | 91aea64cc69be1e3f4d14f94de9ff976c8c307df | [
"Apache-2.0"
] | null | null | null | DENT/utils/pgd_attack.py | jfc43/eval-transductive-robustness | 91aea64cc69be1e3f4d14f94de9ff976c8c307df | [
"Apache-2.0"
] | null | null | null | DENT/utils/pgd_attack.py | jfc43/eval-transductive-robustness | 91aea64cc69be1e3f4d14f94de9ff976c8c307df | [
"Apache-2.0"
] | null | null | null |
from __future__ import print_function
import torch
import torch.nn as nn
import numpy as np
import utils.torch
class LinfConfPGDAttack:
"""
Confident PGD Attack with order=Linf
:param loss_func: loss function.
:param eps: maximum distortion.
:param nb_iter: number of iterations.
:param eps_i... | 35.603687 | 106 | 0.581845 | 3,087 | 23,178 | 4.147392 | 0.054098 | 0.040772 | 0.019527 | 0.019917 | 0.964071 | 0.96079 | 0.955557 | 0.950871 | 0.942982 | 0.937905 | 0 | 0.006615 | 0.315126 | 23,178 | 650 | 107 | 35.658462 | 0.799924 | 0.098412 | 0 | 0.917226 | 0 | 0 | 0.004102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064877 | false | 0 | 0.011186 | 0 | 0.123043 | 0.002237 | 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 |
2695d201a9f50a6d413abe2ea4c4aa9a45f0f8b8 | 12,157 | py | Python | python/test_surfacecorrections.py | GlenRice-NOAA/BAG | 19a79a14fdb1f38a51169ec009a72f68dfd6c054 | [
"BSD-3-Clause"
] | null | null | null | python/test_surfacecorrections.py | GlenRice-NOAA/BAG | 19a79a14fdb1f38a51169ec009a72f68dfd6c054 | [
"BSD-3-Clause"
] | null | null | null | python/test_surfacecorrections.py | GlenRice-NOAA/BAG | 19a79a14fdb1f38a51169ec009a72f68dfd6c054 | [
"BSD-3-Clause"
] | null | null | null | from bagPy import *
from math import isclose
import shutil, pathlib
import bagMetadataSamples, testUtils
import sys
# define constants used in multiple tests
datapath = str(pathlib.Path(__file__).parent.absolute()) + "/../examples/sample-data"
chunkSize = 100
compressionLevel = 6
# define the unit test methods:
pri... | 33.769444 | 91 | 0.746484 | 1,138 | 12,157 | 7.93761 | 0.182777 | 0.030112 | 0.05491 | 0.033654 | 0.801506 | 0.801506 | 0.79597 | 0.77394 | 0.762427 | 0.749917 | 0 | 0.018638 | 0.170272 | 12,157 | 359 | 92 | 33.86351 | 0.876871 | 0.152669 | 0 | 0.783186 | 0 | 0 | 0.008676 | 0.00234 | 0 | 0 | 0 | 0.002786 | 0.243363 | 1 | 0.035398 | false | 0 | 0.022124 | 0 | 0.057522 | 0.004425 | 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 |
26eb4031acf2f4af0ba5c4bc641125e3fbf60085 | 7,949 | py | Python | tests/routes/test_products.py | EZhivaikin/TrialPython | 2424b85faabc8eecea108cc5b16a4ec6b7a12cf1 | [
"BSD-2-Clause"
] | null | null | null | tests/routes/test_products.py | EZhivaikin/TrialPython | 2424b85faabc8eecea108cc5b16a4ec6b7a12cf1 | [
"BSD-2-Clause"
] | null | null | null | tests/routes/test_products.py | EZhivaikin/TrialPython | 2424b85faabc8eecea108cc5b16a4ec6b7a12cf1 | [
"BSD-2-Clause"
] | null | null | null | from flask import url_for, json
from app.models.products import Product
from app.settings import MAX_CATEGORIES_COUNT, MIN_CATEGORIES_COUNT
from tests.factories import ProductFactory, BrandFactory, CategoryFactory
class TestProducts:
def test_get_products(self, client):
response = client.get(url_for("products.ge... | 40.556122 | 105 | 0.777582 | 1,090 | 7,949 | 5.380734 | 0.089908 | 0.106394 | 0.042967 | 0.06087 | 0.88815 | 0.87792 | 0.868201 | 0.868201 | 0.868201 | 0.838704 | 0 | 0.017753 | 0.114228 | 7,949 | 195 | 106 | 40.764103 | 0.815225 | 0 | 0 | 0.725 | 0 | 0 | 0.117247 | 0.040257 | 0 | 0 | 0 | 0 | 0.3625 | 1 | 0.1125 | false | 0 | 0.025 | 0 | 0.1625 | 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 |
f8206bfc3dabc104e0f673f323914d0a2238e071 | 4,560 | py | Python | cities_light/south_migrations/0001_initial.py | suquant/django-cities-light | 786852c8372f24e6f05c9c9b2e03e12873a222b8 | [
"MIT"
] | 4 | 2015-10-05T09:20:35.000Z | 2019-07-30T17:47:03.000Z | cities_light/south_migrations/0001_initial.py | suquant/django-cities-light | 786852c8372f24e6f05c9c9b2e03e12873a222b8 | [
"MIT"
] | 1 | 2020-01-25T13:02:17.000Z | 2020-01-25T13:02:17.000Z | cities_light/south_migrations/0001_initial.py | suquant/django-cities-light | 786852c8372f24e6f05c9c9b2e03e12873a222b8 | [
"MIT"
] | 1 | 2018-10-12T16:16:01.000Z | 2018-10-12T16:16:01.000Z | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Country'
db.create_table('cities_light_country', (
('id', self.gf('django.db.mod... | 60.8 | 135 | 0.599342 | 534 | 4,560 | 4.958802 | 0.142322 | 0.081571 | 0.137462 | 0.196375 | 0.820997 | 0.784743 | 0.760574 | 0.732628 | 0.701662 | 0.699396 | 0 | 0.012372 | 0.184649 | 4,560 | 75 | 136 | 60.8 | 0.699839 | 0.052412 | 0 | 0.285714 | 0 | 0 | 0.449235 | 0.238989 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.071429 | 0 | 0.160714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6ef7529ed5d24c43053fdfa2c6d5bdc00ceb0c63 | 4,977 | py | Python | tests/expectations/core/test_expect_table_row_count_to_be_between.py | OmriBromberg/great_expectations | 60eb81ebfb08fef5d37d55c316dc962928beb165 | [
"Apache-2.0"
] | 6,451 | 2017-09-11T16:32:53.000Z | 2022-03-31T23:27:49.000Z | tests/expectations/core/test_expect_table_row_count_to_be_between.py | OmriBromberg/great_expectations | 60eb81ebfb08fef5d37d55c316dc962928beb165 | [
"Apache-2.0"
] | 3,892 | 2017-09-08T18:57:50.000Z | 2022-03-31T23:15:20.000Z | tests/expectations/core/test_expect_table_row_count_to_be_between.py | OmriBromberg/great_expectations | 60eb81ebfb08fef5d37d55c316dc962928beb165 | [
"Apache-2.0"
] | 1,023 | 2017-09-08T15:22:05.000Z | 2022-03-31T21:17:08.000Z | from great_expectations.core.batch import BatchRequest, RuntimeBatchRequest
from great_expectations.core.expectation_validation_result import (
ExpectationValidationResult,
)
from great_expectations.data_context import DataContext
def test_expect_table_row_count_to_be_between_runtime_custom_query_no_temp_table_sa... | 39.188976 | 143 | 0.687764 | 520 | 4,977 | 6 | 0.176923 | 0.031731 | 0.040385 | 0.054808 | 0.921154 | 0.921154 | 0.921154 | 0.909295 | 0.909295 | 0.909295 | 0 | 0.036078 | 0.231465 | 4,977 | 126 | 144 | 39.5 | 0.779608 | 0 | 0 | 0.716667 | 0 | 0 | 0.200121 | 0.085393 | 0 | 0 | 0 | 0 | 0.025 | 1 | 0.025 | false | 0.025 | 0.025 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3e12eb01e6fe956e7218020b30076064427c9af1 | 71 | py | Python | topic2_Python_DataStructure_And_Funnction/from_import.py | AbnerCui/Python_Lectures | 2004ed7901de9731c0715e25d4b63064369ea6ad | [
"MIT"
] | 2 | 2020-09-04T03:45:44.000Z | 2020-09-16T05:49:58.000Z | topic2_Python_DataStructure_And_Funnction/from_import.py | AbnerCui/Python_Lectures | 2004ed7901de9731c0715e25d4b63064369ea6ad | [
"MIT"
] | null | null | null | topic2_Python_DataStructure_And_Funnction/from_import.py | AbnerCui/Python_Lectures | 2004ed7901de9731c0715e25d4b63064369ea6ad | [
"MIT"
] | 7 | 2020-07-19T02:00:05.000Z | 2021-05-29T07:41:48.000Z | from support import print_func
import using_name
print_func("Jack")
| 10.142857 | 30 | 0.802817 | 11 | 71 | 4.909091 | 0.727273 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 71 | 6 | 31 | 11.833333 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
3e6b33c13e3b9f8c5144ed8326480f01d1499ac2 | 93 | py | Python | react_native.py | fellipecaetano/run-ios | cf38a36b22cbdfad680822c1d0eb188b3e2a5064 | [
"MIT"
] | null | null | null | react_native.py | fellipecaetano/run-ios | cf38a36b22cbdfad680822c1d0eb188b3e2a5064 | [
"MIT"
] | null | null | null | react_native.py | fellipecaetano/run-ios | cf38a36b22cbdfad680822c1d0eb188b3e2a5064 | [
"MIT"
] | null | null | null | import subprocess
def run_ios():
return subprocess.call('react-native run-ios'.split())
| 18.6 | 58 | 0.731183 | 13 | 93 | 5.153846 | 0.769231 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 93 | 4 | 59 | 23.25 | 0.82716 | 0 | 0 | 0 | 0 | 0 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
e4a3788fa08e508712317b93061949d07a96d89d | 8,607 | py | Python | tests/utils/format_tests.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 21 | 2017-12-12T20:38:43.000Z | 2019-04-14T12:46:10.000Z | tests/utils/format_tests.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 6 | 2018-01-06T13:32:23.000Z | 2018-09-14T15:09:11.000Z | tests/utils/format_tests.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 11 | 2017-12-12T20:38:46.000Z | 2018-07-19T03:12:03.000Z | """
Tests for the :mod:`regression_tests.utils.format` module.
"""
# The tests of format_age() and format_date() are taken from
# https://github.com/s3rvac/git-branch-viewer/blob/master/tests/format_tests.py
import datetime
import unittest
from regression_tests.utils.format import format_age
from regression_test... | 40.408451 | 86 | 0.73022 | 1,141 | 8,607 | 5.15688 | 0.099036 | 0.122366 | 0.171312 | 0.140721 | 0.855201 | 0.824609 | 0.809993 | 0.768865 | 0.730795 | 0.671652 | 0 | 0.023697 | 0.161613 | 8,607 | 212 | 87 | 40.599057 | 0.791713 | 0.045196 | 0 | 0.183099 | 0 | 0 | 0.049028 | 0.007825 | 0 | 0 | 0 | 0 | 0.338028 | 1 | 0.323944 | false | 0 | 0.042254 | 0 | 0.401408 | 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 |
e4c62563acf98c116797b9a6f9efb0554908492c | 2,833 | py | Python | integration_tests/test_11_ves.py | krasm/python-onapsdk | 87cd3017fc542a8afd3be51fbd89934ed87ed3a7 | [
"Apache-2.0"
] | 4 | 2020-06-13T04:51:27.000Z | 2021-01-06T15:00:51.000Z | integration_tests/test_11_ves.py | krasm/python-onapsdk | 87cd3017fc542a8afd3be51fbd89934ed87ed3a7 | [
"Apache-2.0"
] | 10 | 2021-09-20T15:42:47.000Z | 2021-09-23T12:49:51.000Z | integration_tests/test_11_ves.py | krasm/python-onapsdk | 87cd3017fc542a8afd3be51fbd89934ed87ed3a7 | [
"Apache-2.0"
] | 8 | 2020-08-28T10:56:02.000Z | 2022-02-11T17:06:03.000Z | # SPDX-License-Identifier: Apache-2.0
# Copyright 2020 Nokia
import pytest
import logging
import os
import requests
from onapsdk.configuration import settings
from onapsdk.utils.jinja import jinja_env
from onapsdk.ves.ves import Ves
from onapsdk.dmaap.dmaap import Dmaap
logging.basicConfig(level=os.environ.get("LOGLE... | 28.616162 | 113 | 0.674903 | 358 | 2,833 | 5.061453 | 0.226257 | 0.034768 | 0.056291 | 0.05298 | 0.817881 | 0.817881 | 0.817881 | 0.817881 | 0.817881 | 0.817881 | 0 | 0.021777 | 0.189552 | 2,833 | 98 | 114 | 28.908163 | 0.767422 | 0.042358 | 0 | 0.644068 | 0 | 0 | 0.183469 | 0.046701 | 0 | 0 | 0 | 0 | 0.101695 | 1 | 0.084746 | false | 0.101695 | 0.135593 | 0 | 0.220339 | 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 |
903a0d672750a9f97405c8c7c3d9f6abdbfe0249 | 149,808 | py | Python | teaser/data/bindings/opengis/citygml/raw/base.py | Ja98/TEASER | 1bb782a01ce1b38c4abecb9c6ecc4d59f1ba21a3 | [
"MIT"
] | 1 | 2018-10-22T07:21:15.000Z | 2018-10-22T07:21:15.000Z | teaser/data/bindings/opengis/citygml/raw/base.py | Ja98/TEASER | 1bb782a01ce1b38c4abecb9c6ecc4d59f1ba21a3 | [
"MIT"
] | null | null | null | teaser/data/bindings/opengis/citygml/raw/base.py | Ja98/TEASER | 1bb782a01ce1b38c4abecb9c6ecc4d59f1ba21a3 | [
"MIT"
] | null | null | null | # ./pyxb/bundles/opengis/citygml/raw/base.py
# -*- coding: utf-8 -*-
# PyXB bindings for NM:2e547b4e8cb671380833d3ecf742650e1bb66b5d
# Generated 2017-01-09 16:11:32.922479 by PyXB version 1.2.5 using Python 3.5.2.final.0
# Namespace http://www.opengis.net/citygml/2.0
from __future__ import unicode_literals
import pyxb... | 67.028188 | 465 | 0.765994 | 18,230 | 149,808 | 6.122436 | 0.039715 | 0.054833 | 0.060316 | 0.072573 | 0.82225 | 0.806965 | 0.792961 | 0.779513 | 0.740028 | 0.724537 | 0 | 0.023312 | 0.11235 | 149,808 | 2,234 | 466 | 67.058192 | 0.816021 | 0.130407 | 0 | 0.722494 | 1 | 0.124694 | 0.222274 | 0.183481 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007946 | false | 0 | 0.01467 | 0 | 0.16687 | 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 |
396d5d831016a67413db0154b942ec1537b5e76f | 284 | py | Python | build/lib/annotation_utils/ndds/structs/__init__.py | HienDT27/annotation_utils | 1f4e95f4cfa08de5bbab20f90a6a75fba66a69b9 | [
"MIT"
] | 13 | 2020-01-28T04:45:22.000Z | 2022-03-10T03:35:49.000Z | build/lib/annotation_utils/ndds/structs/__init__.py | HienDT27/annotation_utils | 1f4e95f4cfa08de5bbab20f90a6a75fba66a69b9 | [
"MIT"
] | 4 | 2020-02-14T08:56:03.000Z | 2021-05-21T10:38:30.000Z | build/lib/annotation_utils/ndds/structs/__init__.py | HienDT27/annotation_utils | 1f4e95f4cfa08de5bbab20f90a6a75fba66a69b9 | [
"MIT"
] | 7 | 2020-04-10T07:56:25.000Z | 2021-12-17T11:19:23.000Z | from .objects import NDDS_Annotation_Object, CameraData
from .handlers import NDDS_Annotation_Object_Handler
from .annotation import NDDS_Annotation
from .frame import NDDS_Frame, NDDS_Frame_Handler
from .settings import CameraConfig, ObjectSettings
from .dataset import NDDS_Dataset
| 40.571429 | 55 | 0.873239 | 37 | 284 | 6.432432 | 0.378378 | 0.210084 | 0.252101 | 0.218487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09507 | 284 | 6 | 56 | 47.333333 | 0.92607 | 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 |
397623e9ecc79b0307c1ce86dcee8e37ad7b5c18 | 406 | py | Python | imix/models/visual_dialog_model/__init__.py | linxi1158/iMIX | af87a17275f02c94932bb2e29f132a84db812002 | [
"Apache-2.0"
] | 23 | 2021-06-26T08:45:19.000Z | 2022-03-02T02:13:33.000Z | imix/models/visual_dialog_model/__init__.py | XChuanLee/iMIX | 99898de97ef8b45462ca1d6bf2542e423a73d769 | [
"Apache-2.0"
] | null | null | null | imix/models/visual_dialog_model/__init__.py | XChuanLee/iMIX | 99898de97ef8b45462ca1d6bf2542e423a73d769 | [
"Apache-2.0"
] | 9 | 2021-06-10T02:36:20.000Z | 2021-11-09T02:18:16.000Z | # from .vilbert_dialog import VisDiaBertEmbeddingsDialog, VisDiaBertImageEmbeddings, VisDiaBertEncoder, \
# VisDiaBertTextPooler, VisDiaBertImagePooler, VisDiaBertPreTrainingHeads
#
# __all__ = [
# 'VisDiaBertEmbeddingsDialog', 'VisDiaBertImageEmbeddings', 'VisDiaBertEncoder', 'VisDiaBertTextPooler',
# 'Vis... | 40.6 | 109 | 0.800493 | 21 | 406 | 15.190476 | 0.52381 | 0.068966 | 0.106583 | 0.144201 | 0.846395 | 0.846395 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108374 | 406 | 9 | 110 | 45.111111 | 0.881215 | 0.8867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
39eeca6aaffe58d2000b4f249c15a003d7e28fda | 15,472 | py | Python | src/repnano/test/evaluate.py | organic-chemistry/RepNano | 3f2e21f2006217f6438b16e6800b7f4f327c9210 | [
"MIT"
] | 5 | 2020-04-30T18:37:53.000Z | 2021-01-26T05:49:10.000Z | src/repnano/test/evaluate.py | organic-chemistry/RepNano | 3f2e21f2006217f6438b16e6800b7f4f327c9210 | [
"MIT"
] | 5 | 2020-04-29T10:30:57.000Z | 2022-01-24T15:29:28.000Z | src/repnano/test/evaluate.py | organic-chemistry/RepNano | 3f2e21f2006217f6438b16e6800b7f4f327c9210 | [
"MIT"
] | 3 | 2021-01-28T15:01:01.000Z | 2022-02-14T11:15:44.000Z | from ..models.predict_model import process
import os
import subprocess
import tensorflow as tf
import keras.backend.tensorflow_backend as KTF
S = tf.Session(config=tf.ConfigProto(intra_op_parallelism_threads=1))
KTF.set_session(S)
weights = "data/cluster/training/v9p5delta10-bis/my_model_weights-940.h5"
# weights =... | 46.323353 | 258 | 0.759501 | 2,320 | 15,472 | 4.859052 | 0.125862 | 0.086845 | 0.108046 | 0.156835 | 0.805553 | 0.760046 | 0.739998 | 0.675064 | 0.654307 | 0.614477 | 0 | 0.095935 | 0.090486 | 15,472 | 333 | 259 | 46.462462 | 0.705159 | 0.163392 | 0 | 0.210938 | 0 | 0.179688 | 0.700999 | 0.660237 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.054688 | 0.039063 | 0 | 0.039063 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
840180778d144669324b8fd32fdb16987f9981ea | 103 | py | Python | torchcv/models/ssd/__init__.py | CVHj/torchcv | 6291f3e1e4bbf6467fd6b1e79001d34a59481bb6 | [
"MIT"
] | 433 | 2017-11-30T15:46:58.000Z | 2022-01-16T08:06:11.000Z | torchcv/models/ssd/__init__.py | CVHj/torchcv | 6291f3e1e4bbf6467fd6b1e79001d34a59481bb6 | [
"MIT"
] | 51 | 2018-01-29T15:14:33.000Z | 2021-08-23T12:02:18.000Z | fpn-hoi/torchcv/models/ssd/__init__.py | TheFairBear/Box-Attention-SSD-HOI | 6101e209a709899c5645342784c8f451028ff46e | [
"MIT"
] | 92 | 2018-01-20T07:45:36.000Z | 2021-05-28T10:43:53.000Z | from torchcv.models.ssd.net import SSD300, SSD512
from torchcv.models.ssd.box_coder import SSDBoxCoder
| 34.333333 | 52 | 0.84466 | 16 | 103 | 5.375 | 0.6875 | 0.255814 | 0.395349 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0.087379 | 103 | 2 | 53 | 51.5 | 0.851064 | 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 |
84041676d8f6716501aee64c8590d14471c44408 | 8,999 | py | Python | CS/CSC384/A2/multiagent/submission_autograder.py | jerrysun103/uoft | 6264583d27c7db94596d29c73804e6d9155de191 | [
"MIT"
] | 2 | 2021-09-13T13:50:09.000Z | 2021-12-14T07:03:07.000Z | CS/CSC384/A2/multiagent/submission_autograder.py | jerrysun103/uoft | 6264583d27c7db94596d29c73804e6d9155de191 | [
"MIT"
] | null | null | null | CS/CSC384/A2/multiagent/submission_autograder.py | jerrysun103/uoft | 6264583d27c7db94596d29c73804e6d9155de191 | [
"MIT"
] | 2 | 2021-10-02T21:43:37.000Z | 2022-01-08T17:46:14.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
from codecs import open
import os, ssl
if (not os.environ.get('PYTHONHTTPSVERIFY', '') and getattr(ssl, '_create_unverified_context', None)):
ssl._create_default_https_context = ssl._create_unverified_context
"""
CS 188 Local Subm... | 290.290323 | 8,086 | 0.927436 | 266 | 8,999 | 31.135338 | 0.913534 | 0.00326 | 0.004588 | 0.006279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134349 | 0.022336 | 8,999 | 30 | 8,087 | 299.966667 | 0.807002 | 0.004667 | 0 | 0 | 0 | 0.142857 | 0.967113 | 0.96508 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0.142857 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
84106543b212b3205ee4c72dac437a76a2237a86 | 79 | py | Python | habu/lib/auth/__init__.py | vincentfer/https-github.com-fportantier-habu | f9b305b8d1e06eda07ea06c2f5535336fedd7a87 | [
"BSD-3-Clause"
] | 1 | 2020-08-16T05:49:37.000Z | 2020-08-16T05:49:37.000Z | habu/lib/auth/__init__.py | dolboBobo/habu | d9f2df6ac66b7527f7a731f943af07726ff7e2e2 | [
"BSD-3-Clause"
] | null | null | null | habu/lib/auth/__init__.py | dolboBobo/habu | d9f2df6ac66b7527f7a731f943af07726ff7e2e2 | [
"BSD-3-Clause"
] | 1 | 2020-05-14T23:35:11.000Z | 2020-05-14T23:35:11.000Z | from habu.lib.auth.ftp import FTPAuth
from habu.lib.auth.ftps import FTPSAuth
| 19.75 | 39 | 0.810127 | 14 | 79 | 4.571429 | 0.642857 | 0.25 | 0.34375 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 79 | 3 | 40 | 26.333333 | 0.914286 | 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 |
844b876f571bd26ffcf99026017b26bc41e9aae7 | 11,120 | py | Python | misc/dataLoader.py | roma-ghewari/visDial.pytorch | 03fe6e679170d54a985b6402f07fea4a5fb4dd73 | [
"MIT"
] | null | null | null | misc/dataLoader.py | roma-ghewari/visDial.pytorch | 03fe6e679170d54a985b6402f07fea4a5fb4dd73 | [
"MIT"
] | null | null | null | misc/dataLoader.py | roma-ghewari/visDial.pytorch | 03fe6e679170d54a985b6402f07fea4a5fb4dd73 | [
"MIT"
] | 2 | 2019-11-03T04:06:16.000Z | 2019-11-05T22:44:23.000Z | import torch.utils.data as data
from PIL import Image
import torch
import numpy as np
import h5py
import json
import pdb
import random
from misc.utils import repackage_hidden, clip_gradient, adjust_learning_rate, decode_txt
class train(data.Dataset) : # torch wrapper
def __init__(self, input_img_h5, input_ques_h... | 39.856631 | 139 | 0.598831 | 1,705 | 11,120 | 3.599413 | 0.080352 | 0.05475 | 0.046603 | 0.067786 | 0.890826 | 0.876487 | 0.859215 | 0.829233 | 0.792244 | 0.739938 | 0 | 0.01004 | 0.283453 | 11,120 | 278 | 140 | 40 | 0.760166 | 0.065018 | 0 | 0.785366 | 0 | 0 | 0.041365 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029268 | false | 0 | 0.043902 | 0.009756 | 0.102439 | 0.04878 | 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 |
845203c3d29266bc21334edd453839798d1bd931 | 74 | py | Python | tests/python/conftest.py | AntaresSimulatorTeam/antares-xpansion | 1aa5775e78d35dd07fc4bd6d0423ce534adf0816 | [
"Apache-2.0"
] | 5 | 2021-08-25T09:29:14.000Z | 2022-03-09T08:59:07.000Z | tests/python/conftest.py | AntaresSimulatorTeam/antares-xpansion | 1aa5775e78d35dd07fc4bd6d0423ce534adf0816 | [
"Apache-2.0"
] | 251 | 2020-10-30T09:49:29.000Z | 2022-03-31T12:28:48.000Z | tests/python/conftest.py | AntaresSimulatorTeam/antares-xpansion | 1aa5775e78d35dd07fc4bd6d0423ce534adf0816 | [
"Apache-2.0"
] | 5 | 2020-12-16T15:11:33.000Z | 2021-06-18T05:03:59.000Z | import sys
sys.path.insert(0, "../../src/python")
sys.path.insert(0, ".")
| 18.5 | 38 | 0.621622 | 12 | 74 | 3.833333 | 0.583333 | 0.304348 | 0.565217 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.081081 | 74 | 3 | 39 | 24.666667 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0.22973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
fff865695858af8f61a42c97bcea12feed82c4e6 | 33 | py | Python | j4j_proxy/__init__.py | FZJ-JSC/jupyter-jsc-jupyterhub-collection | 3fbb83da6e356df57bbdd24269157944f7fcd2a5 | [
"BSD-3-Clause"
] | null | null | null | j4j_proxy/__init__.py | FZJ-JSC/jupyter-jsc-jupyterhub-collection | 3fbb83da6e356df57bbdd24269157944f7fcd2a5 | [
"BSD-3-Clause"
] | null | null | null | j4j_proxy/__init__.py | FZJ-JSC/jupyter-jsc-jupyterhub-collection | 3fbb83da6e356df57bbdd24269157944f7fcd2a5 | [
"BSD-3-Clause"
] | null | null | null | from .j4j_proxy import J4J_Proxy
| 16.5 | 32 | 0.848485 | 6 | 33 | 4.333333 | 0.666667 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.121212 | 33 | 1 | 33 | 33 | 0.827586 | 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 |
084f5fcc90dca2f8a31a2c90f0cdfd63af6ec187 | 8,768 | py | Python | marsyas-vamp/marsyas/src/marsyas_python/osc_tests.py | jaouahbi/VampPlugins | 27c2248d1c717417fe4d448cdfb4cb882a8a336a | [
"Apache-2.0"
] | null | null | null | marsyas-vamp/marsyas/src/marsyas_python/osc_tests.py | jaouahbi/VampPlugins | 27c2248d1c717417fe4d448cdfb4cb882a8a336a | [
"Apache-2.0"
] | null | null | null | marsyas-vamp/marsyas/src/marsyas_python/osc_tests.py | jaouahbi/VampPlugins | 27c2248d1c717417fe4d448cdfb4cb882a8a336a | [
"Apache-2.0"
] | null | null | null | from marsyas import *
from marsyas_util import create
from synth_util import *
def main():
additive()
aliasing()
allpass()
blit()
dpw()
plucked()
waveguid()
def waveguide():
gen = ["Series/fmnet", ["ADSR/pitch","WaveguideOsc/waveguide","ADSR/adsr","Gain/gain","SoundFileSink/dest2"]]
... | 49.536723 | 113 | 0.733006 | 1,157 | 8,768 | 5.429559 | 0.096802 | 0.132601 | 0.043458 | 0.049666 | 0.864374 | 0.828717 | 0.809615 | 0.793537 | 0.780643 | 0.773002 | 0 | 0.01363 | 0.12979 | 8,768 | 176 | 114 | 49.818182 | 0.809699 | 0.128422 | 0 | 0.442748 | 0 | 0 | 0.458213 | 0.307359 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061069 | false | 0.053435 | 0.022901 | 0 | 0.083969 | 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 |
f24a05cd29b6a9ea1de56d0fea1c2ccfc8ec8ff8 | 14,113 | py | Python | lbpketappipig/MC_12_MagUp_lbpketappipig.py | Williams224/davinci-scripts | 730642d2ff13543eca4073a4ce0932631195de56 | [
"MIT"
] | null | null | null | lbpketappipig/MC_12_MagUp_lbpketappipig.py | Williams224/davinci-scripts | 730642d2ff13543eca4073a4ce0932631195de56 | [
"MIT"
] | null | null | null | lbpketappipig/MC_12_MagUp_lbpketappipig.py | Williams224/davinci-scripts | 730642d2ff13543eca4073a4ce0932631195de56 | [
"MIT"
] | null | null | null | #-- GAUDI jobOptions generated on Sun Feb 7 02:07:34 2016
#-- Contains event types :
#-- 15104201 - 151 files - 3002173 events - 906.80 GBytes
#-- Extra information about the data processing phases:
#-- Processing Pass Step-124834
#-- StepId : 124834
#-- StepName : Reco14a for MC
#-- ApplicationName : ... | 75.069149 | 215 | 0.814852 | 2,096 | 14,113 | 5.342557 | 0.11355 | 0.350598 | 0.121361 | 0.175299 | 0.829612 | 0.829612 | 0.829612 | 0.829612 | 0.829612 | 0.825505 | 0 | 0.368394 | 0.023879 | 14,113 | 187 | 216 | 75.470588 | 0.444469 | 0.078722 | 0 | 0 | 1 | 0.980519 | 0.942822 | 0.942514 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.012987 | 0 | 0.012987 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
f24c46b91ab7c58133fad860002aa12fe639c9a3 | 1,404 | py | Python | Python Files/maze.py | kaskrex/pythonexercises | 2afff8495529f9b1fc1d3f40c03d41227c1f253f | [
"MIT"
] | 1 | 2021-08-10T05:40:35.000Z | 2021-08-10T05:40:35.000Z | Python Files/maze.py | kaskrex/pythonexercises | 2afff8495529f9b1fc1d3f40c03d41227c1f253f | [
"MIT"
] | null | null | null | Python Files/maze.py | kaskrex/pythonexercises | 2afff8495529f9b1fc1d3f40c03d41227c1f253f | [
"MIT"
] | null | null | null | a = input("Choose between 2 doors")
if a == str(1):
print("Door #1 choosen")
elif a == str(2):
print("Door #2 choosen")
else:
print("Wrong door! Choose again!")
#if r = 1, restart counter
r = 1
while r == 1:
a = input("Choose between 2 doors")
if a == str(1):
... | 29.25 | 82 | 0.342593 | 147 | 1,404 | 3.272109 | 0.29932 | 0.024948 | 0.049896 | 0.079002 | 0.889813 | 0.856549 | 0.856549 | 0.856549 | 0.619543 | 0.619543 | 0 | 0.030498 | 0.556268 | 1,404 | 48 | 83 | 29.25 | 0.741573 | 0.017806 | 0 | 0.970588 | 0 | 0 | 0.271936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.323529 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f2b179aa228cb298e8c51dacd9bf810f88c49ab0 | 171 | py | Python | train.py | chiragjn/deep-char-cnn-lstm | d50d85742c1c1396dc199708683cdbf77a58425d | [
"MIT"
] | 20 | 2018-02-15T17:55:09.000Z | 2021-05-08T04:56:09.000Z | train.py | chiragjn/deep-char-cnn-lstm | d50d85742c1c1396dc199708683cdbf77a58425d | [
"MIT"
] | null | null | null | train.py | chiragjn/deep-char-cnn-lstm | d50d85742c1c1396dc199708683cdbf77a58425d | [
"MIT"
] | 6 | 2018-07-20T03:16:18.000Z | 2019-11-11T17:36:59.000Z | # TODO: Add loading utils
# TODO: Add preprocessing and padding utils
# TODO: Add batching utils
# TODO: Add model training code
# TODO: Add model continue-training code
| 24.428571 | 43 | 0.760234 | 25 | 171 | 5.2 | 0.48 | 0.269231 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 171 | 6 | 44 | 28.5 | 0.921986 | 0.929825 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.166667 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
29a1ac5fc74445cb4baee2f28966650dc3703ba5 | 202 | py | Python | vedro_pyppeteer/__init__.py | nikitanovosibirsk/vedro-pyppeteer | ff869659619410a2aa9e9c2bba677033cc4fce38 | [
"Apache-2.0"
] | null | null | null | vedro_pyppeteer/__init__.py | nikitanovosibirsk/vedro-pyppeteer | ff869659619410a2aa9e9c2bba677033cc4fce38 | [
"Apache-2.0"
] | null | null | null | vedro_pyppeteer/__init__.py | nikitanovosibirsk/vedro-pyppeteer | ff869659619410a2aa9e9c2bba677033cc4fce38 | [
"Apache-2.0"
] | null | null | null | from ._vedro_pyppeteer import Pyppeteer, PyppeteerPlugin, opened_browser, opened_browser_page
__version__ = "1.0.0"
__all__ = ("Pyppeteer", "PyppeteerPlugin", "opened_browser", "opened_browser_page",)
| 40.4 | 93 | 0.79703 | 23 | 202 | 6.304348 | 0.521739 | 0.358621 | 0.413793 | 0.510345 | 0.744828 | 0.744828 | 0.744828 | 0 | 0 | 0 | 0 | 0.016216 | 0.084158 | 202 | 4 | 94 | 50.5 | 0.767568 | 0 | 0 | 0 | 0 | 0 | 0.306931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
29d03e3a161a02c127ef42a0f8b9aef7c95c094b | 200 | py | Python | fractal_ml/__init__.py | EleutherAI/fractal-ml | 531fe34b165d728be7ac9a7ab3080dfddbb6395d | [
"MIT"
] | 2 | 2021-03-01T18:25:16.000Z | 2021-10-12T06:38:59.000Z | fractal_ml/__init__.py | StellaAthena/fractal-ml | 2fbf58631a07df32e24dc4a19453b4e2321b3c19 | [
"MIT"
] | null | null | null | fractal_ml/__init__.py | StellaAthena/fractal-ml | 2fbf58631a07df32e24dc4a19453b4e2321b3c19 | [
"MIT"
] | 3 | 2020-06-03T19:48:33.000Z | 2021-03-05T21:57:44.000Z | from .fractal_ml import generate_direction, approx_box_counting, generate_labeled_dust
__all__ = ["generate_direction", "generate_labeled_direction","approx_box_counting", "generate_labeled_dust"]
| 33.333333 | 109 | 0.845 | 24 | 200 | 6.333333 | 0.5 | 0.296053 | 0.236842 | 0.342105 | 0.592105 | 0.592105 | 0.592105 | 0 | 0 | 0 | 0 | 0 | 0.07 | 200 | 5 | 110 | 40 | 0.817204 | 0 | 0 | 0 | 1 | 0 | 0.424242 | 0.237374 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
29eaf415ae4bd1696f66200ea4cbaaa33d331c9c | 26,705 | py | Python | L1Trigger/L1CaloTrigger/test/test_Phase1L1TJets_cfg.py | thesps/cmssw | ad5315934948ce96699b29cc1d5b03a59f99634f | [
"Apache-2.0"
] | null | null | null | L1Trigger/L1CaloTrigger/test/test_Phase1L1TJets_cfg.py | thesps/cmssw | ad5315934948ce96699b29cc1d5b03a59f99634f | [
"Apache-2.0"
] | null | null | null | L1Trigger/L1CaloTrigger/test/test_Phase1L1TJets_cfg.py | thesps/cmssw | ad5315934948ce96699b29cc1d5b03a59f99634f | [
"Apache-2.0"
] | null | null | null | import FWCore.ParameterSet.Config as cms
from math import pi
process = cms.Process("TEST")
process.load("FWCore.MessageService.MessageLogger_cfi")
process.MessageLogger.cerr.FwkReport.reportEvery = 1
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
process.source = process.source = cms.Sour... | 95.375 | 103 | 0.83329 | 3,837 | 26,705 | 5.405786 | 0.080792 | 0.241057 | 0.144634 | 0.229004 | 0.90377 | 0.90377 | 0.90377 | 0.90377 | 0.90377 | 0.90377 | 0 | 0.17375 | 0.050215 | 26,705 | 280 | 104 | 95.375 | 0.644023 | 0 | 0 | 0 | 0 | 0 | 0.902943 | 0.899648 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007353 | 0 | 0.007353 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
29ef83cf05dcbbb9fee0cf81db871bb57178cf8a | 6,086 | py | Python | tests/system/presenter/test_get_users.py | FinnStutzenstein/openslides-backend | fffc152f79d3446591e07a6913d9fdf30b46f577 | [
"MIT"
] | null | null | null | tests/system/presenter/test_get_users.py | FinnStutzenstein/openslides-backend | fffc152f79d3446591e07a6913d9fdf30b46f577 | [
"MIT"
] | null | null | null | tests/system/presenter/test_get_users.py | FinnStutzenstein/openslides-backend | fffc152f79d3446591e07a6913d9fdf30b46f577 | [
"MIT"
] | null | null | null | from .base import BasePresenterTestCase
class TestGetUsers(BasePresenterTestCase):
def test_temporary_filter_pagenation(self) -> None:
self.set_models(
{
"meeting/1": {"name": "meeting1"},
"user/2": {
"username": "florian",
... | 32.72043 | 83 | 0.350969 | 428 | 6,086 | 4.787383 | 0.14486 | 0.09224 | 0.057101 | 0.074671 | 0.847243 | 0.847243 | 0.847243 | 0.847243 | 0.847243 | 0.821864 | 0 | 0.023364 | 0.507723 | 6,086 | 185 | 84 | 32.897297 | 0.660547 | 0 | 0 | 0.625698 | 0 | 0 | 0.234144 | 0 | 0 | 0 | 0 | 0 | 0.055866 | 1 | 0.027933 | false | 0 | 0.005587 | 0 | 0.039106 | 0 | 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 |
4b071f50c8cb8b6dfafba7684cf6e8bfc81f59d3 | 54,160 | py | Python | ProjectIoT/Consultas/views.py | caiki/iot-proyecto | 2cf9af70ab95ecdb19afc69c38cd634cd07fa5d8 | [
"Apache-2.0"
] | null | null | null | ProjectIoT/Consultas/views.py | caiki/iot-proyecto | 2cf9af70ab95ecdb19afc69c38cd634cd07fa5d8 | [
"Apache-2.0"
] | null | null | null | ProjectIoT/Consultas/views.py | caiki/iot-proyecto | 2cf9af70ab95ecdb19afc69c38cd634cd07fa5d8 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from django.shortcuts import render, render_to_response, RequestContext
from django.contrib.auth.decorators import login_required, permission_required
from django.contrib.auth.models import User, Group
from django.db.models import Sum,Q,Avg,Count
from django.http import HttpResponseRedirect
from... | 34.807198 | 330 | 0.698948 | 6,973 | 54,160 | 5.332568 | 0.070701 | 0.018718 | 0.029367 | 0.01775 | 0.799995 | 0.781384 | 0.765168 | 0.75277 | 0.734187 | 0.714097 | 0 | 0.007723 | 0.1274 | 54,160 | 1,556 | 331 | 34.807198 | 0.779073 | 0.044701 | 0 | 0.751553 | 0 | 0 | 0.166795 | 0.002181 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.013975 | null | null | 0.007764 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4b10d7bcc06cee2a8edcf285c944b01aa7888f50 | 6,536 | py | Python | tests/test_message_api.py | nelfin/pylint-protobuf | dbdfaecfbf248ccc75f6cdef4b29e4fb6a21e70e | [
"MIT"
] | 25 | 2018-09-21T13:21:25.000Z | 2021-12-30T06:00:57.000Z | tests/test_message_api.py | nelfin/pylint-protobuf | dbdfaecfbf248ccc75f6cdef4b29e4fb6a21e70e | [
"MIT"
] | 48 | 2019-01-26T10:10:43.000Z | 2021-07-27T02:23:19.000Z | tests/test_message_api.py | nelfin/pylint-protobuf | dbdfaecfbf248ccc75f6cdef4b29e4fb6a21e70e | [
"MIT"
] | 12 | 2018-09-27T09:19:58.000Z | 2021-02-12T17:17:07.000Z | import pytest
import pylint_protobuf
from conftest import CheckerTestCase
@pytest.fixture
def proto2_example(proto_builder):
return proto_builder("""
message Example {
message Inner {
required int32 sub_count = 1;
}
required int32 count = 1;
... | 47.708029 | 124 | 0.617503 | 719 | 6,536 | 5.421419 | 0.15299 | 0.036942 | 0.036942 | 0.052335 | 0.82863 | 0.82863 | 0.82863 | 0.777835 | 0.777835 | 0.777835 | 0 | 0.00897 | 0.249541 | 6,536 | 136 | 125 | 48.058824 | 0.785729 | 0.121022 | 0 | 0.739496 | 0 | 0 | 0.430823 | 0.118564 | 0 | 0 | 0 | 0.007353 | 0.067227 | 1 | 0.05042 | false | 0 | 0.058824 | 0.008403 | 0.159664 | 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 |
4b260d90887db9f32400e48b7cb524813e0f2cfc | 4,665 | py | Python | tests/utils/test_qos.py | ovh/depc | ce428b6ba790ee4a2e7150b4cb68fdcbfdfae2f4 | [
"BSD-3-Clause"
] | 77 | 2019-01-30T10:12:36.000Z | 2021-10-19T16:25:53.000Z | tests/utils/test_qos.py | ovh/depc | ce428b6ba790ee4a2e7150b4cb68fdcbfdfae2f4 | [
"BSD-3-Clause"
] | 13 | 2019-02-20T16:57:57.000Z | 2022-03-01T23:10:26.000Z | tests/utils/test_qos.py | ovh/depc | ce428b6ba790ee4a2e7150b4cb68fdcbfdfae2f4 | [
"BSD-3-Clause"
] | 10 | 2019-01-30T13:30:39.000Z | 2021-08-02T05:55:18.000Z | import pandas as pd
from deepdiff import DeepDiff
from depc.utils.qos import OperationTypes
from depc.utils.qos import _compute_qos
DEFAULT_ARGS = {"agg_op": OperationTypes.AND, "auto_fill": True, "float_decimal": 3}
def test_compute_qos_empty():
expected = {
"qos": None,
"bools_dps": {},
... | 32.395833 | 85 | 0.615863 | 532 | 4,665 | 5.18985 | 0.12406 | 0.076059 | 0.078233 | 0.061572 | 0.905831 | 0.876132 | 0.865266 | 0.850779 | 0.80623 | 0.80623 | 0 | 0.210334 | 0.236656 | 4,665 | 143 | 86 | 32.622378 | 0.56501 | 0 | 0 | 0.644628 | 0 | 0 | 0.055305 | 0 | 0 | 0 | 0 | 0 | 0.082645 | 1 | 0.082645 | false | 0 | 0.033058 | 0 | 0.115702 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 |
4b282ec6f60127cf8b82a36d0c7739879be7776c | 14,949 | py | Python | azure-graphrbac/azure/graphrbac/operations/application_operations_operations.py | HydAu/AzureSDKForPython | 5cbe34e9e0b8ea1faacc9f205633ccc0b885c0f3 | [
"Apache-2.0"
] | null | null | null | azure-graphrbac/azure/graphrbac/operations/application_operations_operations.py | HydAu/AzureSDKForPython | 5cbe34e9e0b8ea1faacc9f205633ccc0b885c0f3 | [
"Apache-2.0"
] | null | null | null | azure-graphrbac/azure/graphrbac/operations/application_operations_operations.py | HydAu/AzureSDKForPython | 5cbe34e9e0b8ea1faacc9f205633ccc0b885c0f3 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft and contributors. 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 ... | 43.205202 | 144 | 0.656097 | 1,600 | 14,949 | 5.95375 | 0.125 | 0.04304 | 0.035902 | 0.037791 | 0.832983 | 0.832983 | 0.832983 | 0.810938 | 0.800441 | 0.800441 | 0 | 0.005821 | 0.241555 | 14,949 | 345 | 145 | 43.330435 | 0.834362 | 0.304301 | 0 | 0.760479 | 0 | 0 | 0.141202 | 0.078753 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041916 | false | 0 | 0.023952 | 0 | 0.125749 | 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 |
8a25bd6b5b76095c7d7bf6453e1ae2d75c29fb4c | 5,212 | py | Python | tests/bundles/security/views/security_controller/test_change_password.py | achiang/flask-unchained | 12788a6e618904a25ff2b571eb05ff1dc8f1840f | [
"MIT"
] | 69 | 2018-10-10T01:59:11.000Z | 2022-03-29T17:29:30.000Z | tests/bundles/security/views/security_controller/test_change_password.py | achiang/flask-unchained | 12788a6e618904a25ff2b571eb05ff1dc8f1840f | [
"MIT"
] | 18 | 2018-11-17T12:42:02.000Z | 2021-05-22T18:45:27.000Z | tests/bundles/security/views/security_controller/test_change_password.py | achiang/flask-unchained | 12788a6e618904a25ff2b571eb05ff1dc8f1840f | [
"MIT"
] | 7 | 2018-10-12T16:20:25.000Z | 2021-10-06T12:18:21.000Z | import pytest
from flask_unchained.bundles.security import current_user
@pytest.mark.options(SECURITY_CHANGEABLE=True)
@pytest.mark.usefixtures('user')
class TestHtmlChangePassword:
def test_auth_required(self, client):
r = client.post('security_controller.change_password')
assert r.status_code =... | 44.169492 | 91 | 0.599962 | 588 | 5,212 | 5.07483 | 0.146259 | 0.117962 | 0.089142 | 0.053619 | 0.912869 | 0.874665 | 0.845174 | 0.790885 | 0.752011 | 0.727882 | 0 | 0.009418 | 0.307368 | 5,212 | 117 | 92 | 44.547009 | 0.817175 | 0 | 0 | 0.67 | 0 | 0 | 0.215848 | 0.094781 | 0 | 0 | 0 | 0 | 0.28 | 1 | 0.12 | false | 0.61 | 0.02 | 0 | 0.16 | 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 |
8a5bceafecadb5bcf946234a0f494423480ac9ed | 193 | py | Python | gammapy/shower/tests/test_hillas.py | joleroi/gammapy | c4e0c4bd74c79d30e0837559d18b7a1a269f70d9 | [
"BSD-3-Clause"
] | null | null | null | gammapy/shower/tests/test_hillas.py | joleroi/gammapy | c4e0c4bd74c79d30e0837559d18b7a1a269f70d9 | [
"BSD-3-Clause"
] | null | null | null | gammapy/shower/tests/test_hillas.py | joleroi/gammapy | c4e0c4bd74c79d30e0837559d18b7a1a269f70d9 | [
"BSD-3-Clause"
] | null | null | null | # Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function, division
from ...shower import hillas_parameters
def test_hillas_parameters():
pass
| 24.125 | 63 | 0.792746 | 27 | 193 | 5.37037 | 0.814815 | 0.22069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006098 | 0.150259 | 193 | 7 | 64 | 27.571429 | 0.878049 | 0.316062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0.25 | 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 |
8ad573e5deccd20fe3864f8c71020edc13a192b6 | 64,127 | py | Python | nicos/devices/tas/spacegroups.py | jkrueger1/nicos | 5f4ce66c312dedd78995f9d91e8a6e3c891b262b | [
"CC-BY-3.0",
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | nicos/devices/tas/spacegroups.py | jkrueger1/nicos | 5f4ce66c312dedd78995f9d91e8a6e3c891b262b | [
"CC-BY-3.0",
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | nicos/devices/tas/spacegroups.py | jkrueger1/nicos | 5f4ce66c312dedd78995f9d91e8a6e3c891b262b | [
"CC-BY-3.0",
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | # -*- coding: utf-8 -*-
# *****************************************************************************
# NICOS, the Networked Instrument Control System of the MLZ
# Copyright (c) 2009-2022 by the NICOS contributors (see AUTHORS)
#
# This program is free software; you can redistribute it and/or modify it under
# the t... | 43.00939 | 79 | 0.321518 | 14,983 | 64,127 | 1.363679 | 0.054862 | 0.545027 | 0.686717 | 0.75881 | 0.678641 | 0.659505 | 0.641934 | 0.635718 | 0.63102 | 0.621672 | 0 | 0.410504 | 0.364885 | 64,127 | 1,490 | 80 | 43.038255 | 0.091166 | 0.025153 | 0 | 0.005559 | 0 | 0 | 0.049183 | 0 | 0 | 0 | 0 | 0 | 0.000695 | 1 | 0.002085 | false | 0 | 0.000695 | 0 | 0.026407 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0a0575f78d502bd62aaf392832829cd6f870513b | 2,388 | py | Python | data2sql/data2sql.py | rongxinyin/pge-adr | db4b993a3e634bbb9d59c319eeab4058ec9935e7 | [
"BSD-2-Clause"
] | 1 | 2019-02-10T05:53:11.000Z | 2019-02-10T05:53:11.000Z | data2sql/data2sql.py | rongxinyin/pge-adr | db4b993a3e634bbb9d59c319eeab4058ec9935e7 | [
"BSD-2-Clause"
] | null | null | null | data2sql/data2sql.py | rongxinyin/pge-adr | db4b993a3e634bbb9d59c319eeab4058ec9935e7 | [
"BSD-2-Clause"
] | null | null | null |
from __future__ import division
import os.path
import pandas as pd
import numpy as np
import csv
import glob
#import matplotlib.pyplot as plt
#import seaborn as sns
#import datetime
customers = pd.read_csv('../../pge/D1977customers.csv',delimiter=',')
df_said = customers[['SAID','ZIPCODE','sublap']]
count = 0
for... | 35.117647 | 91 | 0.595059 | 352 | 2,388 | 3.963068 | 0.198864 | 0.103226 | 0.063082 | 0.037276 | 0.800717 | 0.800717 | 0.787097 | 0.787097 | 0.712545 | 0.712545 | 0 | 0.054382 | 0.206868 | 2,388 | 68 | 92 | 35.117647 | 0.682154 | 0.028057 | 0 | 0.692308 | 0 | 0 | 0.204487 | 0.089733 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.115385 | null | null | 0.076923 | 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 |
6a65cb420573f08e1a98bb4254983e24f68491e9 | 2,815 | py | Python | tests_project/homepage/tests/test_router.py | wynnw/django-mako-plus | 8a33eb3911fc84ddddd590152f475fd78c6a501f | [
"Apache-2.0"
] | 79 | 2015-01-21T23:29:16.000Z | 2021-08-22T03:38:20.000Z | tests_project/homepage/tests/test_router.py | wynnw/django-mako-plus | 8a33eb3911fc84ddddd590152f475fd78c6a501f | [
"Apache-2.0"
] | 34 | 2015-01-08T03:11:07.000Z | 2021-09-07T15:04:43.000Z | tests_project/homepage/tests/test_router.py | wynnw/django-mako-plus | 8a33eb3911fc84ddddd590152f475fd78c6a501f | [
"Apache-2.0"
] | 23 | 2015-01-08T03:11:26.000Z | 2021-05-22T11:12:24.000Z | from django.test import TestCase
class Tester(TestCase):
def test_view_function_get(self):
# GET method
resp = self.client.get('/homepage/index.basic/1/2/3/')
self.assertEqual(resp.status_code, 200)
req = resp.wsgi_request
self.assertEqual(req.dmp.urlparams[0], '1')
... | 34.329268 | 81 | 0.642629 | 386 | 2,815 | 4.554404 | 0.124352 | 0.230375 | 0.1843 | 0.215017 | 0.837315 | 0.837315 | 0.837315 | 0.798635 | 0.76223 | 0.76223 | 0 | 0.040669 | 0.213854 | 2,815 | 81 | 82 | 34.753086 | 0.753728 | 0.042629 | 0 | 0.566038 | 0 | 0 | 0.12621 | 0.119509 | 0 | 0 | 0 | 0 | 0.509434 | 1 | 0.169811 | false | 0 | 0.018868 | 0 | 0.207547 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
6a88e3f755607cacf47415ebe48443ebb0d82f59 | 19,041 | py | Python | Toolkits/Discovery/meta/searx/tests/unit/engines/test_btdigg.py | roscopecoltran/SniperKit-Core | 4600dffe1cddff438b948b6c22f586d052971e04 | [
"MIT"
] | 4 | 2018-09-07T15:35:24.000Z | 2019-03-27T09:48:12.000Z | Toolkits/Discovery/meta/searx/tests/unit/engines/test_btdigg.py | roscopecoltran/SniperKit-Core | 4600dffe1cddff438b948b6c22f586d052971e04 | [
"MIT"
] | 371 | 2020-03-04T21:51:56.000Z | 2022-03-31T20:59:11.000Z | Toolkits/Discovery/meta/searx/tests/unit/engines/test_btdigg.py | roscopecoltran/SniperKit-Core | 4600dffe1cddff438b948b6c22f586d052971e04 | [
"MIT"
] | 3 | 2019-06-18T19:57:17.000Z | 2020-11-06T03:55:08.000Z | # -*- coding: utf-8 -*-
from collections import defaultdict
import mock
from searx.engines import btdigg
from searx.testing import SearxTestCase
class TestBtdiggEngine(SearxTestCase):
def test_request(self):
query = 'test_query'
dicto = defaultdict(dict)
dicto['pageno'] = 0
params... | 49.457143 | 111 | 0.32971 | 1,455 | 19,041 | 4.232302 | 0.084536 | 0.105229 | 0.151997 | 0.075999 | 0.914095 | 0.893472 | 0.893147 | 0.893147 | 0.893147 | 0.893147 | 0 | 0.01644 | 0.555958 | 19,041 | 384 | 112 | 49.585938 | 0.711886 | 0.001103 | 0 | 0.893333 | 0 | 0.048 | 0.878904 | 0.17068 | 0 | 0 | 0 | 0 | 0.088 | 1 | 0.005333 | false | 0 | 0.010667 | 0 | 0.018667 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
6a905e283fb472b0060229fcb3229c3f2a9cc994 | 1,062 | py | Python | python/testData/inspections/PyTypeCheckerInspection/AsyncComprehensionsOverGenerator.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/inspections/PyTypeCheckerInspection/AsyncComprehensionsOverGenerator.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyTypeCheckerInspection/AsyncComprehensionsOverGenerator.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def gen():
yield 10
async def run():
{i async for i in <warning descr="Expected 'collections.AsyncIterable', got 'Generator[int, Any, None]' instead">gen()</warning>}
[i async for i in <warning descr="Expected 'collections.AsyncIterable', got 'Generator[int, Any, None]' instead">gen()</warning>]
{i: i *... | 88.5 | 148 | 0.679849 | 140 | 1,062 | 5.157143 | 0.192857 | 0.077562 | 0.135734 | 0.213296 | 0.897507 | 0.897507 | 0.897507 | 0.897507 | 0.897507 | 0.897507 | 0 | 0.004505 | 0.163842 | 1,062 | 12 | 149 | 88.5 | 0.808559 | 0 | 0 | 0 | 0 | 0 | 0.507056 | 0.184384 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 8 |
6ae9fd768074344fdb535e88e86c03122f60cfc0 | 959 | py | Python | proteus/config/__init__.py | robertsawko/proteus | 6f1e4c2ca1af85a906b35a5162430006f0343861 | [
"NASA-1.3"
] | null | null | null | proteus/config/__init__.py | robertsawko/proteus | 6f1e4c2ca1af85a906b35a5162430006f0343861 | [
"NASA-1.3"
] | null | null | null | proteus/config/__init__.py | robertsawko/proteus | 6f1e4c2ca1af85a906b35a5162430006f0343861 | [
"NASA-1.3"
] | null | null | null | import os
if 'PROTEUS_ARCH' in os.environ and os.environ['PROTEUS_ARCH'].startswith('garnet'):
from garnet import *
elif 'PROTEUS_ARCH' in os.environ and os.environ['PROTEUS_ARCH'].startswith('spirit'):
from spirit import *
elif 'PROTEUS_ARCH' in os.environ and os.environ['PROTEUS_ARCH'].startswith('stampede')... | 45.666667 | 91 | 0.743483 | 134 | 959 | 5.201493 | 0.156716 | 0.252511 | 0.149211 | 0.172166 | 0.731707 | 0.731707 | 0.731707 | 0.731707 | 0.731707 | 0.731707 | 0 | 0 | 0.129301 | 959 | 20 | 92 | 47.95 | 0.834731 | 0 | 0 | 0 | 0 | 0 | 0.261731 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.526316 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
0a806f420f4fb2540feb3cffcc81910a2e11fa8d | 275 | py | Python | src/transforms/mnist_transforms.py | AlexeyVatolin/lightning-hydra-template | 7e9cf910a512297dfb1f8f219227822fe7786f22 | [
"MIT"
] | 1 | 2021-12-03T02:33:29.000Z | 2021-12-03T02:33:29.000Z | src/transforms/mnist_transforms.py | AlexeyVatolin/lightning-hydra-template | 7e9cf910a512297dfb1f8f219227822fe7786f22 | [
"MIT"
] | null | null | null | src/transforms/mnist_transforms.py | AlexeyVatolin/lightning-hydra-template | 7e9cf910a512297dfb1f8f219227822fe7786f22 | [
"MIT"
] | null | null | null | from torchvision import transforms
mnist_train_transforms = transforms.Compose(
[transforms.ToTensor(), transforms.Normalize((0.1307,), (0.3081,))]
)
mnist_test_transforms = transforms.Compose(
[transforms.ToTensor(), transforms.Normalize((0.1307,), (0.3081,))]
)
| 25 | 71 | 0.734545 | 30 | 275 | 6.6 | 0.433333 | 0.20202 | 0.272727 | 0.373737 | 0.747475 | 0.747475 | 0.747475 | 0.747475 | 0.747475 | 0.747475 | 0 | 0.081301 | 0.105455 | 275 | 10 | 72 | 27.5 | 0.723577 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 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 | 8 |
0a9175825eb737921b4c7ccbde1fa134cdcf89ae | 142,449 | py | Python | tests/test_edgeql_functions.py | TomFaulkner/edgedb | 911f18468790e27168449f452e3e999bb5a78ee5 | [
"Apache-2.0"
] | null | null | null | tests/test_edgeql_functions.py | TomFaulkner/edgedb | 911f18468790e27168449f452e3e999bb5a78ee5 | [
"Apache-2.0"
] | null | null | null | tests/test_edgeql_functions.py | TomFaulkner/edgedb | 911f18468790e27168449f452e3e999bb5a78ee5 | [
"Apache-2.0"
] | null | null | null | #
# This source file is part of the EdgeDB open source project.
#
# Copyright 2017-present MagicStack Inc. and the EdgeDB 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... | 29.901134 | 79 | 0.463155 | 14,907 | 142,449 | 4.228014 | 0.043939 | 0.102242 | 0.15184 | 0.202453 | 0.908547 | 0.899186 | 0.880575 | 0.835943 | 0.788963 | 0.730005 | 0 | 0.094596 | 0.391621 | 142,449 | 4,763 | 80 | 29.907411 | 0.632669 | 0.017866 | 0 | 0.644057 | 0 | 0.000306 | 0.10649 | 0.024934 | 0 | 0 | 0 | 0.00021 | 0.219982 | 1 | 0 | false | 0 | 0.001833 | 0 | 0.00275 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0aaeec6476f8dee5f8e98ba3d7defabd378a4acc | 472,279 | py | Python | ofagent/indigo/submodules/loxigen-artifacts/pyloxi/loxi/of13/message.py | lanpinguo/apple-sauce | b16e7b78e58d0d17ad7f05476f38704a6b519ece | [
"Apache-2.0"
] | 1 | 2021-05-14T15:33:21.000Z | 2021-05-14T15:33:21.000Z | ofagent/indigo/submodules/loxigen-artifacts/pyloxi/loxi/of13/message.py | lanpinguo/apple-sauce | b16e7b78e58d0d17ad7f05476f38704a6b519ece | [
"Apache-2.0"
] | null | null | null | ofagent/indigo/submodules/loxigen-artifacts/pyloxi/loxi/of13/message.py | lanpinguo/apple-sauce | b16e7b78e58d0d17ad7f05476f38704a6b519ece | [
"Apache-2.0"
] | 2 | 2019-07-13T06:58:33.000Z | 2022-03-23T03:02:57.000Z | # Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
# Copyright (c) 2011, 2012 Open Networking Foundation
# Copyright (c) 2012, 2013 Big Switch Networks, Inc.
# See the file LICENSE.pyloxi which should have been included in the source distribution
# Automatically generated by LOXI from ... | 33.847846 | 298 | 0.524108 | 57,749 | 472,279 | 4.134617 | 0.006009 | 0.040457 | 0.087825 | 0.107342 | 0.956196 | 0.941806 | 0.933266 | 0.920472 | 0.912724 | 0.90957 | 0 | 0.018316 | 0.332522 | 472,279 | 13,952 | 299 | 33.850272 | 0.739116 | 0.01226 | 0 | 0.894605 | 0 | 0 | 0.037607 | 0.005994 | 0 | 0 | 0 | 0 | 0.041846 | 1 | 0.061832 | false | 0 | 0.001015 | 0 | 0.168553 | 0.012335 | 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 |
0abda42b690c606229130ada00fdc16a0c5165c8 | 1,727 | py | Python | tracker/person_/pre_img/preprocess.py | msadegh97/tracker-person | 0e2f8378546981b280be42853bb6d2ed9cbc9137 | [
"MIT"
] | null | null | null | tracker/person_/pre_img/preprocess.py | msadegh97/tracker-person | 0e2f8378546981b280be42853bb6d2ed9cbc9137 | [
"MIT"
] | null | null | null | tracker/person_/pre_img/preprocess.py | msadegh97/tracker-person | 0e2f8378546981b280be42853bb6d2ed9cbc9137 | [
"MIT"
] | null | null | null | import PIL
from PIL import Image
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import os
for i in os.listdir('/home/msadegh/workspace/embedded_project/tracker/person_/precarious_dataset/trainAno/'):
annotation = open('/home/msadegh/workspace/embedded_project/tracker/person_/precarious_dat... | 47.972222 | 130 | 0.666474 | 239 | 1,727 | 4.665272 | 0.213389 | 0.086099 | 0.143498 | 0.200897 | 0.886099 | 0.873543 | 0.868161 | 0.868161 | 0.868161 | 0.819731 | 0 | 0.032123 | 0.170816 | 1,727 | 35 | 131 | 49.342857 | 0.746508 | 0 | 0 | 0.6 | 0 | 0 | 0.38564 | 0.372901 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e40867f58dd3e0859c485ca342b2eca0965b0bfd | 33,562 | py | Python | wavefront_api_client/api/saved_traces_search_group_api.py | httpsgithu/python-client | f85a530367cdabe458a11919ad35609b9bc0606b | [
"Apache-2.0"
] | null | null | null | wavefront_api_client/api/saved_traces_search_group_api.py | httpsgithu/python-client | f85a530367cdabe458a11919ad35609b9bc0606b | [
"Apache-2.0"
] | null | null | null | wavefront_api_client/api/saved_traces_search_group_api.py | httpsgithu/python-client | f85a530367cdabe458a11919ad35609b9bc0606b | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Wavefront REST API Documentation
<p>The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.</p><p>When you make REST API calls outside the W... | 40.387485 | 409 | 0.61075 | 3,835 | 33,562 | 5.066232 | 0.052934 | 0.05394 | 0.048999 | 0.043028 | 0.954604 | 0.95306 | 0.948325 | 0.940759 | 0.937053 | 0.930825 | 0 | 0.017532 | 0.299803 | 33,562 | 830 | 410 | 40.436145 | 0.809234 | 0.317383 | 0 | 0.82167 | 0 | 0 | 0.186325 | 0.077418 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038375 | false | 0 | 0.009029 | 0 | 0.103837 | 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 |
7c5495ab735c72fca7c48e25af60c2ac749f364a | 286 | py | Python | amazon_products/__init__.py | joshloyal/pydata-amazon-products | fdfe4d0cd49b12fa5a74b05f5d862bb13e7bd72d | [
"MIT"
] | 34 | 2017-04-03T03:52:34.000Z | 2020-12-27T18:48:56.000Z | amazon_products/__init__.py | joshloyal/pydata-amazon-products | fdfe4d0cd49b12fa5a74b05f5d862bb13e7bd72d | [
"MIT"
] | 1 | 2017-08-18T07:05:54.000Z | 2017-08-18T07:05:54.000Z | amazon_products/__init__.py | joshloyal/pydata-amazon-products | fdfe4d0cd49b12fa5a74b05f5d862bb13e7bd72d | [
"MIT"
] | 8 | 2017-04-04T15:24:37.000Z | 2019-05-20T08:56:53.000Z | from amazon_products import image_utils
from amazon_products import image_features
from amazon_products import resnet
from amazon_products import text_generators
from amazon_products import image_generators
from amazon_products import text_plots
from amazon_products import bokeh_plots
| 35.75 | 44 | 0.902098 | 41 | 286 | 5.97561 | 0.292683 | 0.285714 | 0.514286 | 0.685714 | 0.665306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097902 | 286 | 7 | 45 | 40.857143 | 0.949612 | 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 |
7c8efc966b970c85604f3ea3225d710e17fa0d94 | 50,172 | py | Python | apps/DBspeedTest/_mds_id.py | jeonghoonkang/BerePi | e04283a94a6a0487ab0049dc3e514d6c5dda39cc | [
"BSD-2-Clause"
] | 22 | 2015-06-03T06:28:27.000Z | 2022-03-18T08:02:45.000Z | apps/DBspeedTest/_mds_id.py | jeonghoonkang/BerePi | e04283a94a6a0487ab0049dc3e514d6c5dda39cc | [
"BSD-2-Clause"
] | 14 | 2015-06-08T01:31:53.000Z | 2020-08-30T02:19:15.000Z | apps/DBspeedTest/_mds_id.py | jeonghoonkang/BerePi | e04283a94a6a0487ab0049dc3e514d6c5dda39cc | [
"BSD-2-Clause"
] | 26 | 2015-05-12T09:33:55.000Z | 2021-08-30T05:41:00.000Z | mds_id_list = ['00-250068136', '00-250071518', '00-250102669', '00-250124842', '00-250071520', '00-250068182', '00-250071525', '06-25-0068185', '00-250071427', '01223192096-0001', '00-360000221', '00-450083432', '00-360000201', '01223187332-0001', '00-250068169', '00-250068178', '00-250059834', '00-250070991', '00-2500... | 2,787.333333 | 10,020 | 0.675995 | 7,020 | 50,172 | 4.829772 | 0.089886 | 0.074915 | 0.002212 | 0.002507 | 0.968589 | 0.947618 | 0.932871 | 0.901578 | 0.888217 | 0.859431 | 0 | 0.718808 | 0.061947 | 50,172 | 17 | 10,021 | 2,951.294118 | 0.001594 | 0 | 0 | 0 | 0 | 0 | 0.752966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
7cae8af3ecf6ad14544e7ffca886edbec399e2ab | 143,383 | py | Python | vb2py/test_at_scale/testbadcodes.py | ceprio/xl_vb2py | 899fec0301140fd8bd313e8c80b3fa839b3f5ee4 | [
"BSD-3-Clause"
] | null | null | null | vb2py/test_at_scale/testbadcodes.py | ceprio/xl_vb2py | 899fec0301140fd8bd313e8c80b3fa839b3f5ee4 | [
"BSD-3-Clause"
] | null | null | null | vb2py/test_at_scale/testbadcodes.py | ceprio/xl_vb2py | 899fec0301140fd8bd313e8c80b3fa839b3f5ee4 | [
"BSD-3-Clause"
] | null | null | null |
import unittest
from vb2py.test_at_scale import file_tester
class Test_badcodes(file_tester.FileTester):
def test0(self):
self._testFile('/Users/paul/Workspace/sandbox/vb2py-git-files/badcodes/[Template]/Interface/IDestructor.cls')
def test1(self):
self._testFile('/Users/paul/Workspace/sandbox/vb2py-git-file... | 43.647793 | 130 | 0.78291 | 18,728 | 143,383 | 5.931546 | 0.100545 | 0.117855 | 0.166961 | 0.206246 | 0.79199 | 0.791558 | 0.791558 | 0.791558 | 0.791558 | 0.791558 | 0 | 0.032439 | 0.053779 | 143,383 | 3,284 | 131 | 43.661084 | 0.786345 | 0.003264 | 0 | 0.001373 | 0 | 0.497483 | 0.679015 | 0.676104 | 0 | 0 | 0 | 0 | 0 | 1 | 0.498856 | false | 0.001373 | 0.000915 | 0 | 0.500229 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 11 |
6b42bcf91a44693809233d5779f906fa852a52bd | 17,609 | py | Python | indicators/tests/test_indicator_create_update.py | Falliatcom-sa/falliatcom | 39fb926de072c296ed32d50cccfb8003ca870739 | [
"Apache-2.0"
] | null | null | null | indicators/tests/test_indicator_create_update.py | Falliatcom-sa/falliatcom | 39fb926de072c296ed32d50cccfb8003ca870739 | [
"Apache-2.0"
] | 5 | 2021-02-08T20:42:48.000Z | 2022-03-12T00:19:38.000Z | indicators/tests/test_indicator_create_update.py | Falliatcom-sa/falliatcom | 39fb926de072c296ed32d50cccfb8003ca870739 | [
"Apache-2.0"
] | null | null | null | import datetime
import json
import uuid
from django.test import RequestFactory, TestCase
from django.urls import reverse_lazy
from factories import ResultFactory
from indicators.models import Indicator, PeriodicTarget
from indicators.views.views_indicators import PeriodicTargetJsonValidationError
from tola.test.base_... | 39.131111 | 133 | 0.642512 | 2,063 | 17,609 | 5.305381 | 0.095492 | 0.082229 | 0.020557 | 0.034171 | 0.805573 | 0.792325 | 0.778164 | 0.769027 | 0.754408 | 0.736409 | 0 | 0.030154 | 0.225964 | 17,609 | 449 | 134 | 39.218263 | 0.772854 | 0.069623 | 0 | 0.702797 | 0 | 0 | 0.136581 | 0.005706 | 0 | 0 | 0 | 0 | 0.237762 | 1 | 0.083916 | false | 0 | 0.031469 | 0.003497 | 0.136364 | 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 |
6b47d6e794053c0463436d9e2cfaf7d961488613 | 201 | py | Python | stable_baselines/her/__init__.py | TreeKid/stable-baselines | 129c1958160b95962b887c312cd2273aed35df60 | [
"MIT"
] | 3,681 | 2018-07-02T16:07:58.000Z | 2022-03-31T12:29:00.000Z | stable_baselines/her/__init__.py | TreeKid/stable-baselines | 129c1958160b95962b887c312cd2273aed35df60 | [
"MIT"
] | 1,088 | 2018-07-09T11:36:45.000Z | 2022-03-31T23:50:35.000Z | stable_baselines/her/__init__.py | TreeKid/stable-baselines | 129c1958160b95962b887c312cd2273aed35df60 | [
"MIT"
] | 910 | 2018-07-23T12:16:47.000Z | 2022-03-28T09:39:06.000Z | from stable_baselines.her.her import HER
from stable_baselines.her.replay_buffer import GoalSelectionStrategy, HindsightExperienceReplayWrapper
from stable_baselines.her.utils import HERGoalEnvWrapper
| 50.25 | 102 | 0.900498 | 23 | 201 | 7.695652 | 0.478261 | 0.169492 | 0.322034 | 0.372881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064677 | 201 | 3 | 103 | 67 | 0.941489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
86375f6e038f6ed1afd136a336f08be507a38533 | 23,127 | py | Python | CovNTF/beta_nmf_np.py | TeunKrikke/SourceSeparationNMF | cb5ffb9665c5117f7ba382254ada84ef8d5ae4e0 | [
"MIT"
] | null | null | null | CovNTF/beta_nmf_np.py | TeunKrikke/SourceSeparationNMF | cb5ffb9665c5117f7ba382254ada84ef8d5ae4e0 | [
"MIT"
] | null | null | null | CovNTF/beta_nmf_np.py | TeunKrikke/SourceSeparationNMF | cb5ffb9665c5117f7ba382254ada84ef8d5ae4e0 | [
"MIT"
] | null | null | null | """
Contains an error which makes the soundlevels go down.
"""
import time
import numpy as np
from librosa import load, stft, istft, resample
from librosa.output import write_wav
from sklearn.cluster import MiniBatchKMeans, FeatureAgglomeration
from sklearn import datasets
# import matplotlib.pyplot as plt
import ... | 42.049091 | 142 | 0.5347 | 3,639 | 23,127 | 3.175048 | 0.032701 | 0.076597 | 0.045179 | 0.039813 | 0.95283 | 0.952484 | 0.948243 | 0.947983 | 0.942098 | 0.942098 | 0 | 0.025044 | 0.286937 | 23,127 | 549 | 143 | 42.125683 | 0.675581 | 0.131102 | 0 | 0.837079 | 0 | 0 | 0.040258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.101124 | false | 0.002809 | 0.030899 | 0 | 0.230337 | 0.033708 | 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 |
86504e3771debc2ebe45d8bceaec1cad0f41cd73 | 93 | py | Python | meiduo_mall/celery_tasks/config.py | bapewing/MeiduoMall | 2b1634de2b7bc9eec80716770894824d668ec314 | [
"MIT"
] | null | null | null | meiduo_mall/celery_tasks/config.py | bapewing/MeiduoMall | 2b1634de2b7bc9eec80716770894824d668ec314 | [
"MIT"
] | null | null | null | meiduo_mall/celery_tasks/config.py | bapewing/MeiduoMall | 2b1634de2b7bc9eec80716770894824d668ec314 | [
"MIT"
] | null | null | null | BROKER_URL = 'redis://127.0.0.1:6379/14'
CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/15'
| 31 | 51 | 0.698925 | 19 | 93 | 3.263158 | 0.631579 | 0.258065 | 0.290323 | 0.322581 | 0.483871 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0.275862 | 0.064516 | 93 | 2 | 52 | 46.5 | 0.436782 | 0 | 0 | 0 | 0 | 0 | 0.537634 | 0.537634 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
865acf55c2ecd5ba2e65f948503d9064facce9ff | 10,523 | py | Python | block.py | LiewMK/Pygame-SpriteGame-ProjectileMotion | 784675223d865764d7e1dc574efc3b5b53b33405 | [
"CC0-1.0"
] | null | null | null | block.py | LiewMK/Pygame-SpriteGame-ProjectileMotion | 784675223d865764d7e1dc574efc3b5b53b33405 | [
"CC0-1.0"
] | null | null | null | block.py | LiewMK/Pygame-SpriteGame-ProjectileMotion | 784675223d865764d7e1dc574efc3b5b53b33405 | [
"CC0-1.0"
] | null | null | null | import pygame
class block():
blockmove = [pygame.image.load('Block1.png'), pygame.image.load('Block1.png'),
pygame.image.load('Block1.png'), pygame.image.load('Block1.png'),
pygame.image.load('Block1.png'), pygame.image.load('Block1.png'),
pygame.image.load('B... | 60.131429 | 85 | 0.553454 | 1,288 | 10,523 | 4.515528 | 0.053571 | 0.399072 | 0.544188 | 0.637552 | 0.963549 | 0.948246 | 0.948246 | 0.948246 | 0.948246 | 0.948246 | 0 | 0.041128 | 0.265229 | 10,523 | 174 | 86 | 60.477011 | 0.711071 | 0 | 0 | 0.865854 | 0 | 0 | 0.197604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054878 | false | 0 | 0.006098 | 0.012195 | 0.115854 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 10 |
8663dff19294427227830b69efc86478a4a0b3a6 | 37,393 | py | Python | UltronRoBo/modules/logo.py | UltronRoBo/UltronRoBoAssistant | 874dcf725d453ffabd85543533d2a07676af4d65 | [
"MIT"
] | null | null | null | UltronRoBo/modules/logo.py | UltronRoBo/UltronRoBoAssistant | 874dcf725d453ffabd85543533d2a07676af4d65 | [
"MIT"
] | null | null | null | UltronRoBo/modules/logo.py | UltronRoBo/UltronRoBoAssistant | 874dcf725d453ffabd85543533d2a07676af4d65 | [
"MIT"
] | null | null | null | """
MIT License
Copyright (c) 2021 UltronRoBo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, di... | 42.686073 | 131 | 0.556655 | 4,512 | 37,393 | 4.535683 | 0.056294 | 0.03225 | 0.048375 | 0.0473 | 0.887173 | 0.883655 | 0.883655 | 0.881163 | 0.881163 | 0.881163 | 0 | 0.027766 | 0.318081 | 37,393 | 875 | 132 | 42.734857 | 0.773952 | 0 | 0 | 0.891791 | 0 | 0 | 0.200793 | 0.040836 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.054726 | 0.007463 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
86ad1266df74d7cde96e71e4f3dca21567a6cdd5 | 10,253 | py | Python | maskrcnn_benchmark/nas/modeling/micro_heads.py | DominickZhang/NAS-FCOS | 1f7281478430eaed028e2cc2dfa8be226c63939b | [
"BSD-2-Clause"
] | 187 | 2019-07-04T08:48:52.000Z | 2022-03-16T09:17:59.000Z | maskrcnn_benchmark/nas/modeling/micro_heads.py | DominickZhang/NAS-FCOS | 1f7281478430eaed028e2cc2dfa8be226c63939b | [
"BSD-2-Clause"
] | 10 | 2019-07-09T03:08:55.000Z | 2022-01-15T13:45:39.000Z | maskrcnn_benchmark/nas/modeling/micro_heads.py | DominickZhang/NAS-FCOS | 1f7281478430eaed028e2cc2dfa8be226c63939b | [
"BSD-2-Clause"
] | 35 | 2019-07-20T00:05:24.000Z | 2022-03-30T03:56:32.000Z | import math
import copy
import torch
import torch.nn as nn
import torch.nn.functional as F
from .layer_factory import HEAD_OPS, AGG_OPS
from ..rl.genotypes import HEAD_OP_NAMES, HEAD_AGG_NAMES
from maskrcnn_benchmark.layers import Scale
class MicroHead_v2(nn.Module):
"""
Simplified head arch which is used to... | 37.01444 | 92 | 0.596411 | 1,297 | 10,253 | 4.365459 | 0.11488 | 0.027199 | 0.04804 | 0.051925 | 0.848817 | 0.829566 | 0.829566 | 0.816849 | 0.816849 | 0.803073 | 0 | 0.008838 | 0.326831 | 10,253 | 277 | 93 | 37.01444 | 0.811504 | 0.086219 | 0 | 0.751323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021164 | 1 | 0.021164 | false | 0 | 0.042328 | 0 | 0.084656 | 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 |
86d473a44d208ad792cadffca97ef0846a555be9 | 6,907 | py | Python | problems/the_travelling_salesman_problem.py | eppica/Simplex-Method | 02f2c9da195993905ae4480c3048b43cf0e76fc7 | [
"MIT"
] | null | null | null | problems/the_travelling_salesman_problem.py | eppica/Simplex-Method | 02f2c9da195993905ae4480c3048b43cf0e76fc7 | [
"MIT"
] | 4 | 2021-03-21T21:52:41.000Z | 2021-03-21T22:03:11.000Z | problems/the_travelling_salesman_problem.py | eppica/Simplex-Method | 02f2c9da195993905ae4480c3048b43cf0e76fc7 | [
"MIT"
] | null | null | null | M = 9999
base_variables = ['x12', 'x13', 'x14', 'x15', 'x21', 'x23', 'x24', 'x25', 'x31', 'x32', 'x34', 'x35', 'x41', 'x42', 'x43', 'x45', 'x51', 'x52', 'x53', 'x54', 'f1', 'f2', 'f3', 'f4', 'f5', 'f6', 'f7', 'f8', 'f9', 'f10', 'f11', 'f12', 'f13', 'f14', 'f15', 'f16', 'f17', 'f18', 'f19', 'f20', 'f21', 'f22', 'f23', ... | 135.431373 | 384 | 0.345302 | 2,139 | 6,907 | 1.113137 | 0.038336 | 1.409492 | 1.959261 | 2.410752 | 0.908862 | 0.908862 | 0.908862 | 0.908862 | 0.908862 | 0.900462 | 0 | 0.46199 | 0.308672 | 6,907 | 50 | 385 | 138.14 | 0.036649 | 0 | 0 | 0 | 0 | 0 | 0.033879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
86e796167486656a3c752d113deb6881f8b9bf52 | 1,613 | py | Python | test/functional/test_evaluator.py | fedden/pluribus | 73fb394b26623c897459ffa3e66d7a5cb47e9962 | [
"MIT"
] | 2 | 2020-01-12T07:59:56.000Z | 2020-01-13T10:04:26.000Z | test/functional/test_evaluator.py | fedden/pluribus | 73fb394b26623c897459ffa3e66d7a5cb47e9962 | [
"MIT"
] | null | null | null | test/functional/test_evaluator.py | fedden/pluribus | 73fb394b26623c897459ffa3e66d7a5cb47e9962 | [
"MIT"
] | null | null | null | import pytest
@pytest.mark.parametrize("suit", ["c", "d", "h", "s"])
def test_evaluator_royal_flush(suit):
from poker_ai.poker.evaluation.eval_card import EvaluationCard
from poker_ai.poker.evaluation.evaluator import Evaluator
board = [
EvaluationCard.new(f"A{suit}"),
EvaluationCard.new(f... | 35.065217 | 75 | 0.675139 | 210 | 1,613 | 4.995238 | 0.219048 | 0.162059 | 0.171592 | 0.125834 | 0.943756 | 0.943756 | 0.943756 | 0.943756 | 0.943756 | 0.943756 | 0 | 0.003849 | 0.194668 | 1,613 | 45 | 76 | 35.844444 | 0.803695 | 0 | 0 | 0.780488 | 0 | 0 | 0.070676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.121951 | 0 | 0.170732 | 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 |
86faedc7afbce6caf1574da895be7b0aefe43b33 | 202,548 | py | Python | huaweicloud-sdk-rds/huaweicloudsdkrds/v3/rds_client.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 64 | 2020-06-12T07:05:07.000Z | 2022-03-30T03:32:50.000Z | huaweicloud-sdk-rds/huaweicloudsdkrds/v3/rds_client.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 11 | 2020-07-06T07:56:54.000Z | 2022-01-11T11:14:40.000Z | huaweicloud-sdk-rds/huaweicloudsdkrds/v3/rds_client.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 24 | 2020-06-08T11:42:13.000Z | 2022-03-04T06:44:08.000Z | # coding: utf-8
from __future__ import absolute_import
import datetime
import re
import importlib
import six
from huaweicloudsdkcore.client import Client, ClientBuilder
from huaweicloudsdkcore.exceptions import exceptions
from huaweicloudsdkcore.utils import http_utils
from huaweicloudsdkcore.sdk_stream_request imp... | 31.170822 | 125 | 0.626474 | 20,350 | 202,548 | 5.815037 | 0.027322 | 0.054624 | 0.095592 | 0.041779 | 0.93843 | 0.926616 | 0.910281 | 0.889357 | 0.874434 | 0.727454 | 0 | 0.000684 | 0.285513 | 202,548 | 6,497 | 126 | 31.17562 | 0.817017 | 0.100174 | 0 | 0.857895 | 0 | 0 | 0.122593 | 0.045811 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050789 | false | 0.000263 | 0.002632 | 0 | 0.105 | 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 |
81138e45320d8978fa823b2a50372432fa5abb64 | 15,195 | py | Python | backend/tests/baserow/contrib/database/api/export/test_export_views.py | cjh0613/baserow | 62871f5bf53c9d25446976031aacb706c0abe584 | [
"MIT"
] | null | null | null | backend/tests/baserow/contrib/database/api/export/test_export_views.py | cjh0613/baserow | 62871f5bf53c9d25446976031aacb706c0abe584 | [
"MIT"
] | 1 | 2021-09-13T06:04:12.000Z | 2021-09-13T06:04:12.000Z | backend/tests/baserow/contrib/database/api/export/test_export_views.py | cjh0613/baserow | 62871f5bf53c9d25446976031aacb706c0abe584 | [
"MIT"
] | 2 | 2021-09-20T15:38:30.000Z | 2021-09-28T09:45:22.000Z | from unittest.mock import patch
import pytest
from django.core.files.storage import FileSystemStorage
from django.urls import reverse
from django.utils.dateparse import parse_datetime
from django.utils.timezone import utc, make_aware
from django_capture_on_commit_callbacks import capture_on_commit_callbacks
from freez... | 36.881068 | 88 | 0.595986 | 1,740 | 15,195 | 4.881034 | 0.113218 | 0.060874 | 0.076063 | 0.03391 | 0.925704 | 0.918757 | 0.913929 | 0.909926 | 0.888261 | 0.888261 | 0 | 0.01905 | 0.291807 | 15,195 | 411 | 89 | 36.970803 | 0.770189 | 0.019546 | 0 | 0.792553 | 0 | 0 | 0.177466 | 0.051568 | 0 | 0 | 0 | 0 | 0.06117 | 1 | 0.023936 | false | 0 | 0.029255 | 0 | 0.053191 | 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 |
d4912dc7e5ea6a960cb48402034ff1a21b2d9d04 | 9,042 | py | Python | train_attention.py | ivandrej/checkmatte | 48992e9eb777b609eab32e58d918f1fb41ca51f1 | [
"MIT"
] | null | null | null | train_attention.py | ivandrej/checkmatte | 48992e9eb777b609eab32e58d918f1fb41ca51f1 | [
"MIT"
] | null | null | null | train_attention.py | ivandrej/checkmatte | 48992e9eb777b609eab32e58d918f1fb41ca51f1 | [
"MIT"
] | null | null | null | """
Example usage:
To train a resolution 227 x 128 F3 model:
python train_attention.py --model-variant mobilenetv3 --dataset videomatte --resolution-lr 128 --seq-length-lr 15
--learning-rate-backbone 0.0001 --learning-rate-aspp 0.0002 --learning-rate-decoder 0.0002 --learning-rate-refiner 0
... | 71.19685 | 124 | 0.561823 | 925 | 9,042 | 5.273514 | 0.131892 | 0.093481 | 0.123001 | 0.164002 | 0.807298 | 0.773268 | 0.773268 | 0.757278 | 0.757278 | 0.740057 | 0 | 0.018672 | 0.318845 | 9,042 | 126 | 125 | 71.761905 | 0.77334 | 0.133709 | 0 | 0.631579 | 0 | 0 | 0.051279 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021053 | false | 0 | 0.042105 | 0 | 0.073684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d4d4f54baf5b4398a962219168068042562e28c9 | 2,399 | py | Python | azcam_osu4k/detector_sta0500_osu4k.py | mplesser/azcam-osu4k | 09ffcd06b1b5782a6ace6d4043a09e4bda0e735c | [
"MIT"
] | null | null | null | azcam_osu4k/detector_sta0500_osu4k.py | mplesser/azcam-osu4k | 09ffcd06b1b5782a6ace6d4043a09e4bda0e735c | [
"MIT"
] | null | null | null | azcam_osu4k/detector_sta0500_osu4k.py | mplesser/azcam-osu4k | 09ffcd06b1b5782a6ace6d4043a09e4bda0e735c | [
"MIT"
] | null | null | null | detector_sta0500 = {
"name": "STA0500",
"description": "STA STA0500 CCD",
"ref_pixel": [2032, 2032],
"format": [4064, 3, 0, 20, 4064, 0, 0, 0, 0],
"focalplane": [1, 1, 2, 2, "0000"],
"amp_cfg": [0, 0, 0, 0],
"roi": [1, 4064, 1, 4064, 1, 1],
"ext_position": [[1, 1], [1, 2], [2, 1], [2, 2]... | 31.565789 | 68 | 0.466028 | 384 | 2,399 | 2.765625 | 0.106771 | 0.105461 | 0.107345 | 0.109228 | 0.833333 | 0.798493 | 0.752354 | 0.733522 | 0.678908 | 0.645009 | 0 | 0.206498 | 0.243018 | 2,399 | 75 | 69 | 31.986667 | 0.378304 | 0.006253 | 0 | 0.5 | 0 | 0 | 0.300588 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d4f4c4574b9f50c8e1e94da2f3207ec87f868649 | 104 | py | Python | tfcoreml/__init__.py | drush-apple/tf-coreml | 1da1d0f45fca018c08119fd2e6e8e7583e0c7243 | [
"Apache-2.0"
] | 481 | 2018-04-15T15:32:10.000Z | 2021-11-12T13:47:47.000Z | tfcoreml/__init__.py | drush-apple/tf-coreml | 1da1d0f45fca018c08119fd2e6e8e7583e0c7243 | [
"Apache-2.0"
] | 7 | 2018-06-14T03:14:22.000Z | 2021-11-11T18:46:52.000Z | tfcoreml/__init__.py | drush-apple/tf-coreml | 1da1d0f45fca018c08119fd2e6e8e7583e0c7243 | [
"Apache-2.0"
] | 81 | 2018-06-02T01:36:22.000Z | 2021-05-21T02:03:43.000Z | from ._tf_coreml_converter import convert
from .optimizations._optimize_nn_spec import optimize_nn_spec
| 34.666667 | 61 | 0.894231 | 15 | 104 | 5.666667 | 0.666667 | 0.235294 | 0.329412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 104 | 2 | 62 | 52 | 0.885417 | 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 |
be08e61235ec1e6de61a8a30fb497932ac728f03 | 4,631 | py | Python | bdd_tests/mocks/insights-content-service/content_server.py | RedHatInsights/ccx-notification-service | 2f7702fb3124228b043f826fa4835cd3db0c2111 | [
"Apache-2.0"
] | 1 | 2021-04-19T10:42:26.000Z | 2021-04-19T10:42:26.000Z | bdd_tests/mocks/insights-content-service/content_server.py | RedHatInsights/ccx-notification-service | 2f7702fb3124228b043f826fa4835cd3db0c2111 | [
"Apache-2.0"
] | 51 | 2021-04-12T07:39:10.000Z | 2022-03-08T14:15:44.000Z | bdd_tests/mocks/insights-content-service/content_server.py | RedHatInsights/ccx-notification-service | 2f7702fb3124228b043f826fa4835cd3db0c2111 | [
"Apache-2.0"
] | 7 | 2021-04-02T06:21:59.000Z | 2022-03-23T16:29:32.000Z | import json
from fastapi import FastAPI, Response
import pygob
app = FastAPI()
"""
This is the data and format returned
{
Config: {
Impact: map [
Data Loss:4
Hung Task:3
Application Failure:2
Hardening:1
]
}
Rules: map[
test_rule: {... | 67.115942 | 746 | 0.687109 | 612 | 4,631 | 5.133987 | 0.197712 | 0.057288 | 0.105029 | 0.02387 | 0.802673 | 0.802673 | 0.802673 | 0.802673 | 0.802673 | 0.802673 | 0 | 0.025198 | 0.237314 | 4,631 | 68 | 747 | 68.102941 | 0.864383 | 0 | 0 | 0.181818 | 0 | 0 | 0.196481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.272727 | 0.090909 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
076dc33958a93b35cfc3119b1f237767cfd4a79a | 5,405 | py | Python | python/dynamic_graph/sot/torque_control/talos/joint_pos_ctrl_gains_sim.py | Hugo-L3174/talos-torque-control | 14faafcc06c93b57c972e92c1684b006667ff32e | [
"BSD-2-Clause"
] | 3 | 2020-06-12T15:36:32.000Z | 2021-04-07T20:12:11.000Z | python/dynamic_graph/sot/torque_control/talos/joint_pos_ctrl_gains_sim.py | Hugo-L3174/talos-torque-control | 14faafcc06c93b57c972e92c1684b006667ff32e | [
"BSD-2-Clause"
] | 5 | 2018-07-20T08:22:37.000Z | 2020-07-31T14:41:42.000Z | python/dynamic_graph/sot/torque_control/talos/joint_pos_ctrl_gains_sim.py | Hugo-L3174/talos-torque-control | 14faafcc06c93b57c972e92c1684b006667ff32e | [
"BSD-2-Clause"
] | 4 | 2018-07-02T12:34:53.000Z | 2020-05-25T12:46:28.000Z | # -*- coding: utf-8 -*-
"""
Created on Mon Feb 9 13:55:16 2015
Position control PID gains stored according to the controller time step (1, 2, 5 or 10 ms).
@author: adelpret
"""
from joint_pos_ctrl_gains import *
key = round(0.001,3);
# kp_pos[key] = np.array(
# (1000., 1000., 1000., 1300., 750., 750.,
# 100... | 33.78125 | 91 | 0.453099 | 960 | 5,405 | 2.503125 | 0.21875 | 0.052434 | 0.076155 | 0.098211 | 0.853516 | 0.841448 | 0.786517 | 0.775697 | 0.702871 | 0.676238 | 0 | 0.475952 | 0.334505 | 5,405 | 159 | 92 | 33.993711 | 0.192105 | 0.124514 | 0 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022222 | 0 | 0.022222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
07741823732aee3c0434588f527ecfb14f48c47b | 80 | py | Python | bfgame/factories/__init__.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | 3 | 2017-10-28T11:28:38.000Z | 2018-09-12T09:47:00.000Z | bfgame/factories/__init__.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | null | null | null | bfgame/factories/__init__.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | null | null | null | from bfgame.factories import recipes
from bfgame.factories.facade import Facade
| 26.666667 | 42 | 0.8625 | 11 | 80 | 6.272727 | 0.545455 | 0.289855 | 0.550725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 2 | 43 | 40 | 0.958333 | 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 |
ed16aa8d5371202b0cb5e8bd15bcc2377240f82c | 10,130 | py | Python | system_node_only/indy-node-tests/TestAuditSuite.py | udosson/indy-test-automation | e79f4b6a88ff8c6181c758be52475c7cbf79ee74 | [
"Apache-2.0"
] | null | null | null | system_node_only/indy-node-tests/TestAuditSuite.py | udosson/indy-test-automation | e79f4b6a88ff8c6181c758be52475c7cbf79ee74 | [
"Apache-2.0"
] | null | null | null | system_node_only/indy-node-tests/TestAuditSuite.py | udosson/indy-test-automation | e79f4b6a88ff8c6181c758be52475c7cbf79ee74 | [
"Apache-2.0"
] | null | null | null | import pytest
import asyncio
from system.utils import *
import logging
logger = logging.getLogger(__name__)
@pytest.mark.usefixtures('docker_setup_and_teardown')
class TestAuditSuite:
@pytest.mark.asyncio
async def test_case_restart_one_node(
self, pool_handler, wallet_handler, get_... | 53.315789 | 113 | 0.717374 | 1,317 | 10,130 | 5.090357 | 0.096431 | 0.090245 | 0.139469 | 0.196897 | 0.835024 | 0.825477 | 0.824881 | 0.819511 | 0.806533 | 0.799224 | 0 | 0.014518 | 0.211254 | 10,130 | 189 | 114 | 53.597884 | 0.824531 | 0.012537 | 0 | 0.662722 | 0 | 0 | 0.047197 | 0.002548 | 0 | 0 | 0 | 0 | 0.005917 | 1 | 0 | false | 0 | 0.023669 | 0 | 0.029586 | 0.047337 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ed28f9fa00dcdc689c720461e192e51edb3c7b48 | 122 | py | Python | src/python/fundamentals/regressions/problems/c.py | kevmo314/transformers | 0370daeb5d1f9ef2fd98a5ed28d7b457befac517 | [
"MIT"
] | 1 | 2020-08-02T19:28:25.000Z | 2020-08-02T19:28:25.000Z | src/python/fundamentals/regressions/problems/c.py | kevmo314/transformers | 0370daeb5d1f9ef2fd98a5ed28d7b457befac517 | [
"MIT"
] | null | null | null | src/python/fundamentals/regressions/problems/c.py | kevmo314/transformers | 0370daeb5d1f9ef2fd98a5ed28d7b457befac517 | [
"MIT"
] | null | null | null | import numpy
def linear_regression(data: List[Tuple[float, float]]) -> Tuple[float, float]:
pass # Implement this.
| 20.333333 | 78 | 0.704918 | 16 | 122 | 5.3125 | 0.75 | 0.235294 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 122 | 5 | 79 | 24.4 | 0.833333 | 0.122951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 8 |
ed31727504b27b116254797170bcadecfe95fee5 | 255,253 | py | Python | var/assets/clients/gen-py/clause/Serving.py | gagaboy/clause | f98f0c551baead034736591cad30eda2c2ce895c | [
"Apache-2.0"
] | 344 | 2019-09-09T11:23:43.000Z | 2022-03-25T17:36:33.000Z | var/assets/clients/gen-py/clause/Serving.py | huangweiboy/clause | 7553deea9857a93b733e9771b3649741c0dc3cb9 | [
"Apache-2.0"
] | 41 | 2019-09-05T02:16:46.000Z | 2021-12-13T10:49:10.000Z | var/assets/clients/gen-py/clause/Serving.py | huangweiboy/clause | 7553deea9857a93b733e9771b3649741c0dc3cb9 | [
"Apache-2.0"
] | 112 | 2019-09-11T07:20:06.000Z | 2022-03-17T07:03:30.000Z | #
# Autogenerated by Thrift Compiler (0.12.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
from thrift.protocol.TProtocol import TProtocolException
from thrift.TRecursive impo... | 31.854861 | 134 | 0.588643 | 26,094 | 255,253 | 5.506208 | 0.007396 | 0.016112 | 0.029002 | 0.014031 | 0.916557 | 0.890513 | 0.855838 | 0.84141 | 0.84141 | 0.84141 | 0 | 0.00217 | 0.308647 | 255,253 | 8,012 | 135 | 31.858837 | 0.812013 | 0.016905 | 0 | 0.856838 | 1 | 0 | 0.037949 | 0.00017 | 0 | 0 | 0 | 0 | 0 | 1 | 0.131657 | false | 0.006903 | 0.001315 | 0.04142 | 0.244247 | 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 |
ed351f79340c8cfb209e4c4cfaa7af66886fd466 | 883 | py | Python | tests/stats_benchmark_params/continuous_categorical.py | fossabot/many | 7f79b0bf1007e2fd412db9f5f5df29f487ebf2ae | [
"MIT"
] | 3 | 2020-09-10T05:06:19.000Z | 2021-10-02T18:42:44.000Z | tests/stats_benchmark_params/continuous_categorical.py | fossabot/many | 7f79b0bf1007e2fd412db9f5f5df29f487ebf2ae | [
"MIT"
] | 21 | 2020-10-29T18:32:46.000Z | 2022-03-24T10:19:41.000Z | tests/stats_benchmark_params/continuous_categorical.py | fossabot/many | 7f79b0bf1007e2fd412db9f5f5df29f487ebf2ae | [
"MIT"
] | 2 | 2020-10-29T18:02:50.000Z | 2021-10-02T18:42:45.000Z | import many
b_num_cols = [8, 16, 32, 64, 128, 256, 512, 1024, 2048]
params = []
for b_num_col in b_num_cols:
params.append(
[
many.stats.mat_mwu_naive,
many.stats.mat_mwu,
1000,
100,
b_num_col,
"continuous",
"binary",
... | 19.622222 | 55 | 0.423556 | 88 | 883 | 3.988636 | 0.409091 | 0.079772 | 0.079772 | 0.17094 | 0.854701 | 0.854701 | 0.854701 | 0.854701 | 0.854701 | 0.854701 | 0 | 0.079832 | 0.460929 | 883 | 44 | 56 | 20.068182 | 0.657563 | 0 | 0 | 0.702703 | 0 | 0 | 0.115515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.027027 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 8 |
ed35d74fb3d8769757a2f169a5b031f3d18bbf0c | 94 | py | Python | tests/common/context.py | tobse80/rof-helpers | d6fa4bbb641c82bb69b73b8c9f06587a0d7bdd97 | [
"MIT"
] | null | null | null | tests/common/context.py | tobse80/rof-helpers | d6fa4bbb641c82bb69b73b8c9f06587a0d7bdd97 | [
"MIT"
] | null | null | null | tests/common/context.py | tobse80/rof-helpers | d6fa4bbb641c82bb69b73b8c9f06587a0d7bdd97 | [
"MIT"
] | null | null | null | # For testing a local package, import it via tests.context
import tests.context
import common
| 23.5 | 58 | 0.808511 | 15 | 94 | 5.066667 | 0.733333 | 0.315789 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 94 | 3 | 59 | 31.333333 | 0.95 | 0.595745 | 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 |
ed49d8716dc80323b0c148a2c51240883e8202ee | 1,462 | py | Python | tests/test_textutils.py | lsst-sqre/templatekit | 10d9e64056aa7e103d91ec78a4d3feb70c3eb5e2 | [
"MIT"
] | 1 | 2020-02-06T18:26:51.000Z | 2020-02-06T18:26:51.000Z | tests/test_textutils.py | lsst-sqre/templatekit | 10d9e64056aa7e103d91ec78a4d3feb70c3eb5e2 | [
"MIT"
] | 6 | 2019-04-16T18:34:21.000Z | 2022-03-15T22:36:32.000Z | tests/test_textutils.py | lsst-sqre/templatekit | 10d9e64056aa7e103d91ec78a4d3feb70c3eb5e2 | [
"MIT"
] | null | null | null | """Tests for the templatekit.textutils module.
"""
from templatekit.textutils import reformat_content_lines
def test_reformat_content_lines() -> None:
"""Test reformatting text (a Python comment block)."""
sample = "Line 1\n" "Line 2\n"
expected = "# Line 1\n" "# Line 2\n"
result = reformat_content_l... | 34 | 79 | 0.649795 | 192 | 1,462 | 4.739583 | 0.21875 | 0.181319 | 0.241758 | 0.087912 | 0.806593 | 0.776923 | 0.763736 | 0.763736 | 0.763736 | 0.763736 | 0 | 0.01371 | 0.201778 | 1,462 | 42 | 80 | 34.809524 | 0.766067 | 0.252394 | 0 | 0.761905 | 0 | 0 | 0.182868 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.190476 | false | 0 | 0.047619 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 8 |
ed6bbfcada349062b9c36c879ae8a56086f8637d | 45 | py | Python | careless/models/priors/__init__.py | JBGreisman/careless | 8f6c0859973757d11b26b65d9dc51d443030aa70 | [
"MIT"
] | 5 | 2021-02-08T16:34:38.000Z | 2022-03-25T19:16:09.000Z | careless/models/priors/__init__.py | JBGreisman/careless | 8f6c0859973757d11b26b65d9dc51d443030aa70 | [
"MIT"
] | 28 | 2021-01-15T21:31:40.000Z | 2022-03-30T21:06:54.000Z | careless/models/priors/__init__.py | JBGreisman/careless | 8f6c0859973757d11b26b65d9dc51d443030aa70 | [
"MIT"
] | 5 | 2021-02-12T18:43:58.000Z | 2022-02-02T21:38:56.000Z | from . import empirical
from . import wilson
| 15 | 23 | 0.777778 | 6 | 45 | 5.833333 | 0.666667 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 24 | 22.5 | 0.945946 | 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 |
9c0c15bcea43f2dee40c6ff8945df5ead39447f3 | 41,348 | py | Python | mlonmcu/feature/features.py | PhilippvK/mlonmcu | 6b5ed9b2abe8d3caa18c20a604547513e8097b49 | [
"Apache-2.0"
] | null | null | null | mlonmcu/feature/features.py | PhilippvK/mlonmcu | 6b5ed9b2abe8d3caa18c20a604547513e8097b49 | [
"Apache-2.0"
] | null | null | null | mlonmcu/feature/features.py | PhilippvK/mlonmcu | 6b5ed9b2abe8d3caa18c20a604547513e8097b49 | [
"Apache-2.0"
] | null | null | null | #
# Copyright (c) 2022 TUM Department of Electrical and Computer Engineering.
#
# This file is part of MLonMCU.
# See https://github.com/tum-ei-eda/mlonmcu.git for further info.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You m... | 33.0784 | 120 | 0.64049 | 4,775 | 41,348 | 5.343246 | 0.084188 | 0.045465 | 0.017245 | 0.026652 | 0.910559 | 0.906522 | 0.897037 | 0.895861 | 0.894528 | 0.891589 | 0 | 0.000823 | 0.236239 | 41,348 | 1,249 | 121 | 33.104884 | 0.807093 | 0.144263 | 0 | 0.869203 | 0 | 0 | 0.23259 | 0.083899 | 0 | 0 | 0 | 0.000801 | 0.054697 | 1 | 0.191439 | false | 0.011891 | 0.003567 | 0.067776 | 0.401903 | 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 |
9c3d231a0e07bc8b89b413da5771856f7cb54acf | 66,591 | py | Python | test/integration/component/test_accounts.py | lafferty/cshv3 | ee0ff7ac240bd24e19db6bd3fb9869dd087442ba | [
"Apache-2.0"
] | 2 | 2015-05-19T05:04:30.000Z | 2016-09-07T00:33:17.000Z | test/integration/component/test_accounts.py | lafferty/cshv3 | ee0ff7ac240bd24e19db6bd3fb9869dd087442ba | [
"Apache-2.0"
] | null | null | null | test/integration/component/test_accounts.py | lafferty/cshv3 | ee0ff7ac240bd24e19db6bd3fb9869dd087442ba | [
"Apache-2.0"
] | 2 | 2017-07-07T14:49:03.000Z | 2018-07-31T06:38:42.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 39.755821 | 115 | 0.445406 | 5,438 | 66,591 | 5.373299 | 0.076499 | 0.034702 | 0.023409 | 0.024127 | 0.820842 | 0.787953 | 0.776865 | 0.757084 | 0.746612 | 0.714921 | 0 | 0.009452 | 0.486823 | 66,591 | 1,674 | 116 | 39.77957 | 0.845609 | 0.112222 | 0 | 0.731839 | 0 | 0.000773 | 0.118924 | 0.000815 | 0 | 0 | 0 | 0 | 0.047141 | 1 | 0.03864 | false | 0.003864 | 0.006182 | 0 | 0.090417 | 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 |
1335240cee24e04e7556524f53b1b51cffb3db6e | 6,126 | py | Python | nova/tests/unit/scheduler/filters/test_io_ops_filters.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/scheduler/filters/test_io_ops_filters.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/scheduler/filters/test_io_ops_filters.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'
comment|'# a copy of the License at'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# http://www.apache.org/licenses/L... | 13.202586 | 88 | 0.62145 | 937 | 6,126 | 3.927428 | 0.140875 | 0.164674 | 0.089674 | 0.075 | 0.789674 | 0.779891 | 0.766576 | 0.748641 | 0.715489 | 0.692663 | 0 | 0.003806 | 0.099412 | 6,126 | 463 | 89 | 13.231102 | 0.663223 | 0 | 0 | 0.937365 | 0 | 0 | 0.399445 | 0.057623 | 0 | 0 | 0 | 0 | 0.015119 | 0 | null | null | 0.015119 | 0.010799 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
137fd3fb880be9a30fafd38ccf31e9d770579e23 | 7,075 | py | Python | authors/apps/articles/tests/api/test_comments.py | C3real-kill3r/binary-jungle-backend | 5333138fbce901e75accf5487b10990979afa571 | [
"MIT"
] | null | null | null | authors/apps/articles/tests/api/test_comments.py | C3real-kill3r/binary-jungle-backend | 5333138fbce901e75accf5487b10990979afa571 | [
"MIT"
] | 8 | 2020-02-12T03:04:07.000Z | 2022-03-12T00:07:31.000Z | authors/apps/articles/tests/api/test_comments.py | C3real-kill3r/binary-jungle-backend | 5333138fbce901e75accf5487b10990979afa571 | [
"MIT"
] | null | null | null | from rest_framework import status
from rest_framework.reverse import reverse
from authors.apps.articles.tests.api.test_articles import BaseArticlesTestCase
import json
class TestArticleComment(BaseArticlesTestCase):
"""This class tests for comment article"""
def setUp(self):
super().setUp()
s... | 35.375 | 91 | 0.542756 | 706 | 7,075 | 5.332861 | 0.124646 | 0.058433 | 0.070651 | 0.067198 | 0.838247 | 0.792563 | 0.792563 | 0.773971 | 0.755113 | 0.694555 | 0 | 0.009864 | 0.326502 | 7,075 | 199 | 92 | 35.552764 | 0.780273 | 0.048763 | 0 | 0.79661 | 0 | 0 | 0.122232 | 0.003291 | 0 | 0 | 0 | 0 | 0.045198 | 1 | 0.050847 | false | 0.00565 | 0.022599 | 0 | 0.079096 | 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 |
1397af718e3e329ed4686b2d81d3af32c9402f0d | 19,104 | py | Python | official/vision/beta/projects/volumetric_models/modeling/nn_blocks_3d.py | juinquok/models | c0e374b87e829cde45553ab27346e00c5970ceb9 | [
"Apache-2.0"
] | 3 | 2022-03-05T10:46:52.000Z | 2022-03-22T06:00:05.000Z | official/vision/beta/projects/volumetric_models/modeling/nn_blocks_3d.py | juinquok/models | c0e374b87e829cde45553ab27346e00c5970ceb9 | [
"Apache-2.0"
] | 4 | 2021-07-17T23:59:03.000Z | 2021-07-21T10:18:14.000Z | official/vision/beta/projects/volumetric_models/modeling/nn_blocks_3d.py | juinquok/models | c0e374b87e829cde45553ab27346e00c5970ceb9 | [
"Apache-2.0"
] | 2 | 2021-08-17T22:07:17.000Z | 2021-12-25T12:25:47.000Z | # Copyright 2021 The TensorFlow Authors. 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 applica... | 37.606299 | 80 | 0.679596 | 2,300 | 19,104 | 5.343043 | 0.12 | 0.027342 | 0.01538 | 0.029945 | 0.834405 | 0.807796 | 0.791765 | 0.781105 | 0.770038 | 0.752787 | 0 | 0.008109 | 0.238327 | 19,104 | 507 | 81 | 37.680473 | 0.836437 | 0.25513 | 0 | 0.815126 | 0 | 0 | 0.043892 | 0.005405 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033613 | false | 0 | 0.011204 | 0 | 0.070028 | 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 |
13d2950d9fc78300debc4dd00cf64c7838a2403d | 25,591 | py | Python | Game_alpha_0.06.py | artem-bondar/simple-walking-game | 83e6cfb3a91039dde9230c1b799434d0b90be3ee | [
"Unlicense"
] | null | null | null | Game_alpha_0.06.py | artem-bondar/simple-walking-game | 83e6cfb3a91039dde9230c1b799434d0b90be3ee | [
"Unlicense"
] | null | null | null | Game_alpha_0.06.py | artem-bondar/simple-walking-game | 83e6cfb3a91039dde9230c1b799434d0b90be3ee | [
"Unlicense"
] | null | null | null | from tkinter import *
root = Tk()
#Глобальные переменные
hero_position = [0,0,0,'N']
HeroUp = PhotoImage(file="textures/HeroUp.png")
HeroDown = PhotoImage(file="textures/HeroDown.png")
HeroLeft = PhotoImage(file="textures/HeroLeft.png")
HeroRight = PhotoImage(file="textures/HeroRight.png")
HeroPositionImage = {'N':Hero... | 78.021341 | 2,075 | 0.58798 | 3,779 | 25,591 | 3.8534 | 0.074623 | 0.469716 | 0.698393 | 0.923774 | 0.672847 | 0.656847 | 0.654031 | 0.642769 | 0.632125 | 0.615918 | 0 | 0.214934 | 0.160056 | 25,591 | 327 | 2,076 | 78.259939 | 0.462526 | 0.005588 | 0 | 0.178571 | 0 | 0 | 0.180024 | 0.002516 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051948 | false | 0 | 0.003247 | 0 | 0.064935 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
13df6f13ec523138df0ccfeca2d2289950179536 | 5,432 | py | Python | modules/cli/helpers.py | anouarbensaad/VulnX | 2f9f46e59f28ceb6d5cf3bfacd9810d43b4b25cb | [
"MIT"
] | 10 | 2019-05-10T04:43:54.000Z | 2019-05-16T00:45:46.000Z | modules/cli/helpers.py | anouarbensaad/VulnX | 2f9f46e59f28ceb6d5cf3bfacd9810d43b4b25cb | [
"MIT"
] | null | null | null | modules/cli/helpers.py | anouarbensaad/VulnX | 2f9f46e59f28ceb6d5cf3bfacd9810d43b4b25cb | [
"MIT"
] | 8 | 2019-05-13T04:25:11.000Z | 2019-05-15T02:47:49.000Z | class Helpers():
@staticmethod
def _general_help():
print("""
Command Description
-------- -------------
help/? Show this help menu.
clear/cls clear the vulnx screen
use <Variable> Use an vari... | 46.827586 | 101 | 0.490059 | 486 | 5,432 | 5.427984 | 0.1893 | 0.042456 | 0.042456 | 0.071645 | 0.800986 | 0.800986 | 0.76232 | 0.76232 | 0.76232 | 0.726687 | 0 | 0 | 0.448454 | 5,432 | 115 | 102 | 47.234783 | 0.880507 | 0.004418 | 0 | 0.783019 | 0 | 0.009434 | 0.899926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066038 | true | 0 | 0.066038 | 0 | 0.141509 | 0.066038 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
13f8c8490d864bc990046035fa997bc826bc005b | 152 | py | Python | flash/tabular/regression/__init__.py | Actis92/lightning-flash | 49972268cfc0f95f1bd2b8fbf25036970cc44b59 | [
"Apache-2.0"
] | 1,457 | 2021-01-28T20:40:16.000Z | 2022-03-31T06:22:05.000Z | flash/tabular/regression/__init__.py | Actis92/lightning-flash | 49972268cfc0f95f1bd2b8fbf25036970cc44b59 | [
"Apache-2.0"
] | 1,123 | 2021-01-28T20:37:56.000Z | 2022-03-31T19:34:44.000Z | flash/tabular/regression/__init__.py | Actis92/lightning-flash | 49972268cfc0f95f1bd2b8fbf25036970cc44b59 | [
"Apache-2.0"
] | 170 | 2021-01-29T00:41:39.000Z | 2022-03-29T16:09:52.000Z | from flash.tabular.regression.data import TabularRegressionData # noqa: F401
from flash.tabular.regression.model import TabularRegressor # noqa: F401
| 50.666667 | 77 | 0.828947 | 18 | 152 | 7 | 0.611111 | 0.142857 | 0.253968 | 0.412698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 0.105263 | 152 | 2 | 78 | 76 | 0.882353 | 0.138158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b917dc26ea37dc7f08d2c3bd1fa8e749878da59d | 2,350 | py | Python | api/tests/tests_api_utils.py | Nels885/csd_dashboard | aa5a3b970c50a2a93af722f962bd87c3728f233c | [
"MIT"
] | null | null | null | api/tests/tests_api_utils.py | Nels885/csd_dashboard | aa5a3b970c50a2a93af722f962bd87c3728f233c | [
"MIT"
] | null | null | null | api/tests/tests_api_utils.py | Nels885/csd_dashboard | aa5a3b970c50a2a93af722f962bd87c3728f233c | [
"MIT"
] | null | null | null | from dashboard.tests.base import UnitTest
from tools.models import ThermalChamber
from ..utils import thermal_chamber_use
class ApiUtilsTestCase(UnitTest):
def setUp(self):
super(ApiUtilsTestCase, self).setUp()
ThermalChamber.objects.create(operating_mode="FROID", xelon_number="A123456789", crea... | 40.517241 | 113 | 0.698723 | 287 | 2,350 | 5.473868 | 0.202091 | 0.106938 | 0.129854 | 0.106938 | 0.812858 | 0.716104 | 0.716104 | 0.716104 | 0.716104 | 0.703374 | 0 | 0.018737 | 0.205106 | 2,350 | 57 | 114 | 41.22807 | 0.819058 | 0 | 0 | 0.702128 | 0 | 0 | 0.040426 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 1 | 0.085106 | false | 0 | 0.06383 | 0 | 0.170213 | 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 |
b972490af82d6e6b93e85b0091c66f94d23873fd | 1,987 | py | Python | catalyst_rl/utils/tests/test_metric_manager.py | rhololkeolke/catalyst-rl | ec18ff4a58b6d00652f772231db8de86debb4b3d | [
"Apache-2.0"
] | 46 | 2020-03-27T20:12:32.000Z | 2021-11-21T19:08:51.000Z | catalyst_rl/utils/tests/test_metric_manager.py | rhololkeolke/catalyst-rl | ec18ff4a58b6d00652f772231db8de86debb4b3d | [
"Apache-2.0"
] | 2 | 2020-04-06T10:43:04.000Z | 2020-07-01T18:26:10.000Z | catalyst_rl/utils/tests/test_metric_manager.py | rhololkeolke/catalyst-rl | ec18ff4a58b6d00652f772231db8de86debb4b3d | [
"Apache-2.0"
] | 5 | 2020-04-17T14:09:53.000Z | 2021-05-10T08:58:29.000Z | import numpy as np
from catalyst_rl.utils import tools
def test_to_value():
tools.MetricManager._to_single_value(np.float32(1.0))
def test_epoch_metrics():
metrics = tools.MetricManager("valid", "test", True)
metrics.begin_epoch()
metrics.begin_loader("train")
metrics.begin_batch()
metric... | 21.597826 | 57 | 0.691998 | 259 | 1,987 | 5.007722 | 0.146718 | 0.17579 | 0.104857 | 0.148034 | 0.844256 | 0.818042 | 0.818042 | 0.811103 | 0.811103 | 0.747109 | 0 | 0.010442 | 0.180674 | 1,987 | 91 | 58 | 21.835165 | 0.786241 | 0 | 0 | 0.770492 | 0 | 0 | 0.05385 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 1 | 0.04918 | false | 0 | 0.032787 | 0 | 0.081967 | 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 |
b9a3f4e147d29f780193a84bcfca5e7ea2b4b680 | 31,176 | py | Python | azure-mgmt-web/azure/mgmt/web/operations/recommendations_operations.py | NMijat1024/azure-sdk-for-python | c49e1d6d797dceaca81813cafb1a486d67185182 | [
"MIT"
] | null | null | null | azure-mgmt-web/azure/mgmt/web/operations/recommendations_operations.py | NMijat1024/azure-sdk-for-python | c49e1d6d797dceaca81813cafb1a486d67185182 | [
"MIT"
] | 1 | 2018-11-29T14:46:42.000Z | 2018-11-29T14:46:42.000Z | azure-mgmt-web/azure/mgmt/web/operations/recommendations_operations.py | NMijat1024/azure-sdk-for-python | c49e1d6d797dceaca81813cafb1a486d67185182 | [
"MIT"
] | 1 | 2018-08-28T14:36:47.000Z | 2018-08-28T14:36:47.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 48.7125 | 196 | 0.662336 | 3,447 | 31,176 | 5.791703 | 0.071657 | 0.02755 | 0.025546 | 0.032458 | 0.91104 | 0.901523 | 0.881286 | 0.876177 | 0.85574 | 0.840313 | 0 | 0.00573 | 0.238677 | 31,176 | 639 | 197 | 48.788732 | 0.835391 | 0.299525 | 0 | 0.786184 | 0 | 0.013158 | 0.15789 | 0.083493 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042763 | false | 0 | 0.013158 | 0 | 0.115132 | 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 |
6a16d6d61863081ab76bcf343edb92cf4313cc75 | 7,371 | py | Python | sdk/python/pulumi_proxmoxve/permission/outputs.py | muhlba91/pulumi-proxmoxve | f17723c42b46c004be43ea0d39ff30ea176dd529 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_proxmoxve/permission/outputs.py | muhlba91/pulumi-proxmoxve | f17723c42b46c004be43ea0d39ff30ea176dd529 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2021-11-23T07:11:46.000Z | 2022-02-10T09:18:13.000Z | sdk/python/pulumi_proxmoxve/permission/outputs.py | muhlba91/pulumi-proxmoxve | f17723c42b46c004be43ea0d39ff30ea176dd529 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 27.710526 | 130 | 0.586759 | 867 | 7,371 | 4.693195 | 0.106113 | 0.043008 | 0.070288 | 0.102728 | 0.828213 | 0.802654 | 0.795036 | 0.736053 | 0.732121 | 0.732121 | 0 | 0.000191 | 0.288699 | 7,371 | 265 | 131 | 27.815094 | 0.775892 | 0.024013 | 0 | 0.751174 | 1 | 0.014085 | 0.111157 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173709 | false | 0 | 0.023474 | 0.103286 | 0.356808 | 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 | 1 | 0 | 0 | 0 | 9 |
e06dd96e75fcb6625fd86ce3cd96170940051c46 | 6,413 | py | Python | avalanche/benchmarks/utils/data_loader.py | ryanlindeborg/avalanche | 32333776e729bad22f369f8923bc32416c9edcf9 | [
"MIT"
] | 12 | 2021-04-16T15:49:59.000Z | 2022-02-27T18:04:58.000Z | avalanche/benchmarks/utils/data_loader.py | ryanlindeborg/avalanche | 32333776e729bad22f369f8923bc32416c9edcf9 | [
"MIT"
] | null | null | null | avalanche/benchmarks/utils/data_loader.py | ryanlindeborg/avalanche | 32333776e729bad22f369f8923bc32416c9edcf9 | [
"MIT"
] | 2 | 2021-06-22T04:11:52.000Z | 2021-11-12T03:27:18.000Z | ################################################################################
# Copyright (c) 2021 ContinualAI. #
# Copyrights licensed under the MIT License. #
# See the accompanying LICENSE file for terms. ... | 45.161972 | 80 | 0.52877 | 690 | 6,413 | 4.749275 | 0.230435 | 0.034178 | 0.067135 | 0.025633 | 0.808666 | 0.800732 | 0.79585 | 0.79585 | 0.763503 | 0.763503 | 0 | 0.004049 | 0.383752 | 6,413 | 141 | 81 | 45.48227 | 0.825152 | 0.399813 | 0 | 0.873239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084507 | false | 0 | 0.028169 | 0.028169 | 0.197183 | 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 |
0ee5058e5c6e0fe21ec1151c15860fe8b550ac3b | 29,678 | py | Python | python_msx_sdk/api/template_assignments_api.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | python_msx_sdk/api/template_assignments_api.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | python_msx_sdk/api/template_assignments_api.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | """
MSX SDK
MSX SDK client. # noqa: E501
The version of the OpenAPI document: 1.0.9
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from python_msx_sdk.api_client import ApiClient, Endpoint as _Endpoint
from python_msx_sdk.model_utils import ( # n... | 35.973333 | 107 | 0.454983 | 2,454 | 29,678 | 5.236756 | 0.084352 | 0.029414 | 0.024278 | 0.025212 | 0.834176 | 0.809587 | 0.795736 | 0.775426 | 0.763443 | 0.75784 | 0 | 0.003192 | 0.461588 | 29,678 | 824 | 108 | 36.01699 | 0.801051 | 0.307534 | 0 | 0.627907 | 1 | 0 | 0.21788 | 0.057653 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012522 | false | 0 | 0.0161 | 0 | 0.041145 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1663369b901311891266a11647f1ecf9db3f8131 | 168 | py | Python | pysit/solvers/variable_density_acoustic/time/scalar/__init__.py | zfang-slim/pysit | 8fca42b9749841abc302d1f8195a1437fad7ae4d | [
"BSD-3-Clause"
] | 64 | 2015-09-08T06:23:27.000Z | 2022-03-09T23:35:24.000Z | pysit/solvers/variable_density_acoustic/time/scalar/__init__.py | zfang-slim/pysit | 8fca42b9749841abc302d1f8195a1437fad7ae4d | [
"BSD-3-Clause"
] | 23 | 2015-10-08T01:14:24.000Z | 2021-07-15T11:37:05.000Z | pysit/solvers/variable_density_acoustic/time/scalar/__init__.py | zfang-slim/pysit | 8fca42b9749841abc302d1f8195a1437fad7ae4d | [
"BSD-3-Clause"
] | 48 | 2015-06-25T14:48:22.000Z | 2021-12-06T19:50:25.000Z | from .variable_density_acoustic_time_scalar_1D import *
from .variable_density_acoustic_time_scalar_2D import *
from .variable_density_acoustic_time_scalar_3D import *
| 42 | 55 | 0.892857 | 24 | 168 | 5.625 | 0.416667 | 0.266667 | 0.422222 | 0.6 | 0.911111 | 0.911111 | 0.637037 | 0 | 0 | 0 | 0 | 0.019231 | 0.071429 | 168 | 3 | 56 | 56 | 0.846154 | 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 | 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 | 10 |
1680e1e481adedde5c6a8fb13ebdb68039b0c585 | 14,166 | py | Python | desdeo_emo/utilities/plotlyanimate.py | gialmisi/desdeo-emo | 4835084824f6478c63513cb5b22380d9b27c3a9a | [
"MIT"
] | 3 | 2021-05-02T17:42:39.000Z | 2022-02-16T05:22:56.000Z | desdeo_emo/utilities/plotlyanimate.py | gialmisi/desdeo-emo | 4835084824f6478c63513cb5b22380d9b27c3a9a | [
"MIT"
] | 32 | 2019-10-30T08:33:13.000Z | 2022-03-12T00:54:02.000Z | desdeo_emo/utilities/plotlyanimate.py | gialmisi/desdeo-emo | 4835084824f6478c63513cb5b22380d9b27c3a9a | [
"MIT"
] | 12 | 2019-10-16T10:00:47.000Z | 2022-03-17T13:31:41.000Z | from typing import Union
import numpy as np
import pandas as pd
import plotly.graph_objs as go
from plotly.offline.offline import plot
def animate_init_(data: Union[np.ndarray, pd.DataFrame, list], filename: str) -> dict:
"""Plot the first (or zeroth) iteration of a population.
Intended as a frames object. ... | 28.503018 | 86 | 0.552379 | 1,572 | 14,166 | 4.910941 | 0.134224 | 0.025648 | 0.022798 | 0.037306 | 0.88342 | 0.852202 | 0.832642 | 0.799093 | 0.795078 | 0.771503 | 0 | 0.027965 | 0.298249 | 14,166 | 496 | 87 | 28.560484 | 0.748617 | 0.217775 | 0 | 0.735562 | 0 | 0 | 0.166856 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030395 | false | 0 | 0.015198 | 0 | 0.069909 | 0.009119 | 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 |
168b19fb0e17706cde06a8dd135eb049bb872626 | 18,336 | py | Python | UnitTests/test_MemberLoad_test.py | r0m30d4c/DlubalRFEM6 | 4bd0d744007bdc27d86d6ce535a507cdc81552ca | [
"MIT"
] | null | null | null | UnitTests/test_MemberLoad_test.py | r0m30d4c/DlubalRFEM6 | 4bd0d744007bdc27d86d6ce535a507cdc81552ca | [
"MIT"
] | null | null | null | UnitTests/test_MemberLoad_test.py | r0m30d4c/DlubalRFEM6 | 4bd0d744007bdc27d86d6ce535a507cdc81552ca | [
"MIT"
] | null | null | null | import sys
sys.path.append(".")
from RFEM.Loads.surfaceLoad import *
from RFEM.Loads.memberLoad import *
from RFEM.Loads.nodalLoad import *
from RFEM.LoadCasesAndCombinations.loadCase import *
from RFEM.LoadCasesAndCombinations.staticAnalysisSettings import *
from RFEM.TypesForMembers.memberHinge import *
from RFEM.Typ... | 65.72043 | 252 | 0.775196 | 2,265 | 18,336 | 6.026049 | 0.087417 | 0.147703 | 0.068723 | 0.176203 | 0.80973 | 0.80907 | 0.800791 | 0.784087 | 0.678804 | 0.62979 | 0 | 0.05682 | 0.122709 | 18,336 | 278 | 253 | 65.956835 | 0.791682 | 0.230748 | 0 | 0 | 0 | 0 | 0.01172 | 0.003328 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00885 | true | 0 | 0.212389 | 0 | 0.221239 | 0.00885 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
16ca7e93193da41c98ac9662cc9318be6b22657a | 7,166 | py | Python | src/services/cell_printer.py | Thealoe/ParametrizedMazeGen | 33bd42508ca1b866143c8a3d56bcd7047171dfa3 | [
"MIT"
] | null | null | null | src/services/cell_printer.py | Thealoe/ParametrizedMazeGen | 33bd42508ca1b866143c8a3d56bcd7047171dfa3 | [
"MIT"
] | null | null | null | src/services/cell_printer.py | Thealoe/ParametrizedMazeGen | 33bd42508ca1b866143c8a3d56bcd7047171dfa3 | [
"MIT"
] | null | null | null | class CellPrinter():
def __init__(self):
pass
def get_print_string(self, cell_type, row):
if cell_type == 0:
if row == 0:
return "🟫🟫🟫"
if row == 1:
return "🟫🟫🟫"
if row == 2:
return "🟫🟫🟫"
if cell... | 24.37415 | 64 | 0.309936 | 763 | 7,166 | 3.003932 | 0.069463 | 0.222513 | 0.148342 | 0.17801 | 0.918412 | 0.918412 | 0.918412 | 0.918412 | 0.890052 | 0.873473 | 0 | 0.048693 | 0.572984 | 7,166 | 293 | 65 | 24.457338 | 0.649673 | 0 | 0 | 0.933333 | 0 | 0 | 0.04326 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031373 | false | 0.003922 | 0 | 0.015686 | 0.454902 | 0.007843 | 0 | 0 | 0 | null | 1 | 0 | 1 | 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 | 10 |
16e5c4e44af6767e286067fe7cf4395f1ef4ceb4 | 3,831 | py | Python | userbot/modules/lyrics.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/lyrics.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/lyrics.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #Encript Marshal By XVenom
#https://github.com/xvenom15
import marshal
exec(marshal.loads(b'\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00@\x00\x00\x00sx\x00\x00\x00d\x00d\x01l\x00Z\x00d\x00d\x01l\x01Z\x01d\x00d\x02l\x02m\x03Z\x03\x01\x00d\x00d\x03l\x04m\x05Z\x05m\x06Z\x06m\x07Z\x0... | 957.75 | 3,760 | 0.758288 | 793 | 3,831 | 3.649433 | 0.287516 | 0.155494 | 0.118176 | 0.099516 | 0.193849 | 0.171389 | 0.149274 | 0.100207 | 0.050104 | 0.027989 | 0 | 0.309429 | 0.017228 | 3,831 | 4 | 3,760 | 957.75 | 0.45923 | 0.013573 | 0 | 0 | 0 | 0.5 | 0.988883 | 0.897565 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
bc66f038bffcca87827d10b44873fa89c5aa6436 | 35,201 | py | Python | saleor/graphql/attribute/tests/mutations/test_attribute_create.py | fairhopeweb/saleor | 9ac6c22652d46ba65a5b894da5f1ba5bec48c019 | [
"CC-BY-4.0"
] | 15,337 | 2015-01-12T02:11:52.000Z | 2021-10-05T19:19:29.000Z | saleor/graphql/attribute/tests/mutations/test_attribute_create.py | fairhopeweb/saleor | 9ac6c22652d46ba65a5b894da5f1ba5bec48c019 | [
"CC-BY-4.0"
] | 7,486 | 2015-02-11T10:52:13.000Z | 2021-10-06T09:37:15.000Z | saleor/graphql/attribute/tests/mutations/test_attribute_create.py | fairhopeweb/saleor | 9ac6c22652d46ba65a5b894da5f1ba5bec48c019 | [
"CC-BY-4.0"
] | 5,864 | 2015-01-16T14:52:54.000Z | 2021-10-05T23:01:15.000Z | import pytest
from django.utils.text import slugify
from .....attribute.error_codes import AttributeErrorCode
from ....core.enums import MeasurementUnitsEnum
from ....tests.utils import get_graphql_content
from ...enums import AttributeEntityTypeEnum, AttributeInputTypeEnum, AttributeTypeEnum
CREATE_ATTRIBUTE_MUTATIO... | 30.503466 | 88 | 0.629812 | 3,341 | 35,201 | 6.392098 | 0.046693 | 0.06209 | 0.074733 | 0.056378 | 0.922645 | 0.900496 | 0.888884 | 0.880642 | 0.860695 | 0.836486 | 0 | 0.00295 | 0.258459 | 35,201 | 1,153 | 89 | 30.529922 | 0.815194 | 0.035027 | 0 | 0.767417 | 0 | 0.001072 | 0.235841 | 0.036508 | 0 | 0 | 0 | 0 | 0.158628 | 1 | 0.02358 | false | 0 | 0.006431 | 0 | 0.030011 | 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 |
bcb48076815bacc2b38ca1ae9db58d4659e7f7b4 | 9,023 | py | Python | integration_tests/test_feegrant.py | macong-cdc/chain-main | 3158a195d4ce787af2f5abea5cbfa6ba686ca89d | [
"Apache-2.0"
] | 311 | 2021-02-23T16:38:21.000Z | 2022-03-31T17:08:36.000Z | integration_tests/test_feegrant.py | macong-cdc/chain-main | 3158a195d4ce787af2f5abea5cbfa6ba686ca89d | [
"Apache-2.0"
] | 344 | 2021-02-23T01:30:58.000Z | 2022-03-30T20:06:06.000Z | integration_tests/test_feegrant.py | macong-cdc/chain-main | 3158a195d4ce787af2f5abea5cbfa6ba686ca89d | [
"Apache-2.0"
] | 196 | 2021-02-25T17:28:03.000Z | 2022-03-29T20:49:48.000Z | import datetime
import pytest
from dateutil.parser import isoparse
from .utils import (
BASECRO_DENOM,
SUCCESS_CODE,
grant_fee_allowance,
query_block_info,
revoke_fee_grant,
transfer,
wait_for_block,
wait_for_block_time,
)
pytestmark = pytest.mark.normal
def test_basic_fee_allowance... | 31.439024 | 88 | 0.69744 | 1,054 | 9,023 | 5.591082 | 0.093928 | 0.078059 | 0.103852 | 0.074665 | 0.846598 | 0.846258 | 0.843713 | 0.819956 | 0.810792 | 0.777193 | 0 | 0.006355 | 0.215228 | 9,023 | 286 | 89 | 31.548951 | 0.825872 | 0.045883 | 0 | 0.72093 | 0 | 0 | 0.051192 | 0 | 0 | 0 | 0 | 0 | 0.088372 | 1 | 0.027907 | false | 0 | 0.018605 | 0 | 0.046512 | 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 |
4c12180cc5e4007eef35149d812a1c662453b628 | 90,316 | py | Python | temperature_scaling.py | liorfrenkel1992/focal_calibration | cdfba52eb35b5bc3acc21532861f75940a933b1c | [
"MIT"
] | null | null | null | temperature_scaling.py | liorfrenkel1992/focal_calibration | cdfba52eb35b5bc3acc21532861f75940a933b1c | [
"MIT"
] | null | null | null | temperature_scaling.py | liorfrenkel1992/focal_calibration | cdfba52eb35b5bc3acc21532861f75940a933b1c | [
"MIT"
] | null | null | null | '''
Code to perform temperature scaling. Adapted from https://github.com/gpleiss/temperature_scaling
'''
from numpy.core.numeric import cross
import torch
import numpy as np
from torch import nn, optim
from torch.nn import functional as F
import math
from Metrics.metrics import test_classification_net_logits
from Metr... | 46.244752 | 143 | 0.546836 | 10,520 | 90,316 | 4.411977 | 0.027662 | 0.034688 | 0.038889 | 0.024648 | 0.897531 | 0.867691 | 0.840845 | 0.81999 | 0.799522 | 0.779765 | 0 | 0.019694 | 0.360191 | 90,316 | 1,952 | 144 | 46.268443 | 0.783525 | 0.075114 | 0 | 0.834607 | 0 | 0 | 0.032283 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020848 | false | 0 | 0.006254 | 0 | 0.054204 | 0.066713 | 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 |
4c1947c64c0c2be625984290e3b3258901ff06f7 | 34,129 | py | Python | fonts/vga2_bold_16x16.py | eldan-dex/ESP32-corona-tracker | 0fee95c191cb6a5c18dbd2b97d37224f44a95d07 | [
"MIT"
] | 1 | 2021-01-25T18:50:05.000Z | 2021-01-25T18:50:05.000Z | fonts/vga2_bold_16x16.py | eldan-dex/ESP32-corona-tracker | 0fee95c191cb6a5c18dbd2b97d37224f44a95d07 | [
"MIT"
] | null | null | null | fonts/vga2_bold_16x16.py | eldan-dex/ESP32-corona-tracker | 0fee95c191cb6a5c18dbd2b97d37224f44a95d07 | [
"MIT"
] | null | null | null | WIDTH = 16
HEIGHT = 16
FIRST = 0
LAST = 255
_FONT = \
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x3f\xfc\x60\x06\xc0\x03\xcc\x33\xc0\x03\xc0\x03\xcf\xf3\xc3\xc3\xc0\x03\x60\x06\x3f\xfc\x00\x00\x00\x00\x00\x00'\
... | 128.304511 | 132 | 0.729116 | 8,460 | 34,129 | 2.941135 | 0.006856 | 0.698336 | 0.871353 | 0.955872 | 0.945422 | 0.933124 | 0.913713 | 0.903545 | 0.880637 | 0.862993 | 0 | 0.366448 | 0.008116 | 34,129 | 265 | 133 | 128.788679 | 0.368575 | 0 | 0 | 0.007634 | 0 | 0.977099 | 0.960178 | 0.960178 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 16 |
d5d8c0ca531aac6ef633c8e6f1ca3ffbb03bd739 | 12,481 | py | Python | test/test_galkin.py | LBJ-Wade/galkin | 35dc2a190df74716544831887c8f2f8334b36d8f | [
"MIT"
] | 1 | 2018-04-02T07:45:03.000Z | 2018-04-02T07:45:03.000Z | test/test_galkin.py | LBJ-Wade/galkin | 35dc2a190df74716544831887c8f2f8334b36d8f | [
"MIT"
] | 1 | 2017-10-16T20:29:18.000Z | 2017-10-17T01:28:16.000Z | test/test_galkin.py | sibirrer/galkin | 35dc2a190df74716544831887c8f2f8334b36d8f | [
"MIT"
] | null | null | null | """
Tests for `galkin` module.
"""
import pytest
import numpy.testing as npt
import numpy as np
import scipy.integrate as integrate
from galkin.galkin_old import GalKin_old
from galkin.galkin import Galkin
from galkin.light_profile import LightProfile
from galkin.LOS_dispersion import Velocity_dispersion
class TestGa... | 46.225926 | 416 | 0.640974 | 1,626 | 12,481 | 4.624846 | 0.109471 | 0.044681 | 0.042553 | 0.026596 | 0.842819 | 0.813697 | 0.788564 | 0.773537 | 0.745745 | 0.738431 | 0 | 0.079326 | 0.24349 | 12,481 | 270 | 417 | 46.225926 | 0.717115 | 0.097188 | 0 | 0.610169 | 0 | 0 | 0.091597 | 0 | 0 | 0 | 0 | 0 | 0.056497 | 0 | null | null | 0.00565 | 0.045198 | null | null | 0.045198 | 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 |
d5ed2cb5c1f89171e8b4b2e5b0c11c6fb3d0791d | 16,181 | py | Python | msgraph/cli/command_modules/notes/azext_notes/generated/_client_factory.py | microsoftgraph/msgraph-cli-archived | 489f70bf4ede1ce67b84bfb31e66da3e4db76062 | [
"MIT"
] | null | null | null | msgraph/cli/command_modules/notes/azext_notes/generated/_client_factory.py | microsoftgraph/msgraph-cli-archived | 489f70bf4ede1ce67b84bfb31e66da3e4db76062 | [
"MIT"
] | 22 | 2022-03-29T22:54:37.000Z | 2022-03-29T22:55:27.000Z | msgraph/cli/command_modules/notes/azext_notes/generated/_client_factory.py | microsoftgraph/msgraph-cli-archived | 489f70bf4ede1ce67b84bfb31e66da3e4db76062 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incor... | 35.878049 | 104 | 0.850009 | 2,455 | 16,181 | 4.894094 | 0.030957 | 0.108864 | 0.081648 | 0.108864 | 0.963129 | 0.958718 | 0.956388 | 0.948231 | 0.917187 | 0.867749 | 0 | 0 | 0.0851 | 16,181 | 450 | 105 | 35.957778 | 0.811605 | 0.027131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.488789 | false | 0 | 0.008969 | 0.484305 | 0.986547 | 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 | 1 | 0 | 0 | 0 | 8 |
910513912fd130bf9a44c4fcd707e46988a79bd7 | 129 | py | Python | src/browserist/factory/__init__.py | jakob-bagterp/browserist | 76bd916dd217b7da3759fd6ec3374191002dc091 | [
"Apache-2.0"
] | 2 | 2022-02-20T10:03:19.000Z | 2022-03-22T11:17:10.000Z | src/browserist/factory/__init__.py | jakob-bagterp/browserist | 76bd916dd217b7da3759fd6ec3374191002dc091 | [
"Apache-2.0"
] | null | null | null | src/browserist/factory/__init__.py | jakob-bagterp/browserist | 76bd916dd217b7da3759fd6ec3374191002dc091 | [
"Apache-2.0"
] | null | null | null | __all__ = ["chromium", "get", "internet_explorer", "safari", "set"]
from . import chromium, get, internet_explorer, safari, set
| 32.25 | 67 | 0.705426 | 15 | 129 | 5.666667 | 0.6 | 0.258824 | 0.447059 | 0.635294 | 0.847059 | 0.847059 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124031 | 129 | 3 | 68 | 43 | 0.752212 | 0 | 0 | 0 | 0 | 0 | 0.286822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.