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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4b6ddbc99f5a85b05aae984abf3efb6b53bb3dd1 | 118 | py | Python | gsfpy/gsfComment.py | irewolepeter/gsfpy_USM_Implementation | c4614ac3f7d833eb86ea38c7708108b130f96612 | [
"MIT"
] | 7 | 2020-07-01T07:12:19.000Z | 2022-01-20T20:39:57.000Z | gsfpy/gsfComment.py | irewolepeter/gsfpy_USM_Implementation | c4614ac3f7d833eb86ea38c7708108b130f96612 | [
"MIT"
] | 36 | 2020-06-23T09:10:15.000Z | 2022-03-22T10:27:58.000Z | gsfpy/gsfComment.py | irewolepeter/gsfpy_USM_Implementation | c4614ac3f7d833eb86ea38c7708108b130f96612 | [
"MIT"
] | 2 | 2021-02-07T13:21:52.000Z | 2021-06-24T19:16:16.000Z | from gsfpy import mirror_default_gsf_version_submodule
mirror_default_gsf_version_submodule(globals(), "gsfComment")
| 29.5 | 61 | 0.881356 | 15 | 118 | 6.4 | 0.666667 | 0.270833 | 0.333333 | 0.479167 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059322 | 118 | 3 | 62 | 39.333333 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
299b815a43ebff7d1b70b2bf5c803163226eee25 | 2,990 | py | Python | website/weather/utilities/test_email.py | T-Santos/django-weather-app | 79ee6ad67b861aaf27396965a1d45012deadca3b | [
"MIT"
] | null | null | null | website/weather/utilities/test_email.py | T-Santos/django-weather-app | 79ee6ad67b861aaf27396965a1d45012deadca3b | [
"MIT"
] | 2 | 2020-02-11T23:23:09.000Z | 2020-06-05T17:24:59.000Z | website/weather/utilities/test_email.py | T-Santos/django-weather-app | 79ee6ad67b861aaf27396965a1d45012deadca3b | [
"MIT"
] | null | null | null | """
Run tests for logic used to support the sending weather email functionality
$ ./manage.py test weather/utilities/
"""
from weather.utilities.email import is_warmer_than_avg, is_cooler_than_avg
def run_tests():
"""
Run tests to ensure the is warmer, is cooler calculation are correct
"""
# is warmer test
asse... | 39.342105 | 75 | 0.696321 | 655 | 2,990 | 2.937405 | 0.054962 | 0.087318 | 0.224532 | 0.202703 | 0.862786 | 0.862786 | 0.862786 | 0.862786 | 0.856549 | 0.850312 | 0 | 0.138434 | 0.08194 | 2,990 | 76 | 76 | 39.342105 | 0.562477 | 0.071237 | 0 | 0 | 0 | 0 | 0.122101 | 0 | 0 | 0 | 0 | 0 | 0.925926 | 1 | 0.018519 | true | 0 | 0.018519 | 0 | 0.037037 | 0.018519 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
29cd811e253fba9ad19c6dca11f35e8047c336e8 | 31,068 | py | Python | test/test_grib2.py | briandobbins/pynio | 1dd5fc0fc133f2b8d329ae68929bd3c6c1c5fa7c | [
"Apache-2.0"
] | null | null | null | test/test_grib2.py | briandobbins/pynio | 1dd5fc0fc133f2b8d329ae68929bd3c6c1c5fa7c | [
"Apache-2.0"
] | null | null | null | test/test_grib2.py | briandobbins/pynio | 1dd5fc0fc133f2b8d329ae68929bd3c6c1c5fa7c | [
"Apache-2.0"
] | null | null | null | import Nio
import numpy as np
import numpy.testing as nt
import os
import unittest as ut
file_to_test = '../ncarg/data/grib2/wafsgfs_L_t06z_intdsk60.grib2'
class Test(ut.TestCase):
def setUp(self):
self.f = Nio.open_file(os.path.realpath(os.path.join(os.path.dirname(__file__), file_to_test)))
def tes... | 320.28866 | 3,441 | 0.703167 | 4,627 | 31,068 | 4.448455 | 0.076507 | 0.072584 | 0.015547 | 0.023709 | 0.852645 | 0.804742 | 0.785648 | 0.778507 | 0.77666 | 0.77151 | 0 | 0.11991 | 0.102903 | 31,068 | 96 | 3,442 | 323.625 | 0.6186 | 0 | 0 | 0.111111 | 0 | 0 | 0.537981 | 0.086423 | 0 | 0 | 0 | 0 | 0.098765 | 1 | 0.123457 | false | 0 | 0.061728 | 0.012346 | 0.209877 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d99e87f0da96dadba520f690209307134d8f41f3 | 2,051 | py | Python | src/app/expression.py | kimrin/MW | 24513a8a81c62bb25b1fd50486447b0c286e1601 | [
"MIT"
] | null | null | null | src/app/expression.py | kimrin/MW | 24513a8a81c62bb25b1fd50486447b0c286e1601 | [
"MIT"
] | null | null | null | src/app/expression.py | kimrin/MW | 24513a8a81c62bb25b1fd50486447b0c286e1601 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import json
from pprint import pprint
class ExpressionGenerator(object):
def __init__(self):
pass
def codegen(self):
js = {}
js['Who creates MW?'] = 'Machine'
js['MW Creator name'] = 'class ExpressionGenerator'
jsmw = js['MW CU'] = {}
... | 35.362069 | 65 | 0.301804 | 155 | 2,051 | 3.96129 | 0.303226 | 0.130293 | 0.156352 | 0.169381 | 0.814332 | 0.814332 | 0.814332 | 0.814332 | 0.814332 | 0.814332 | 0 | 0.036264 | 0.556314 | 2,051 | 57 | 66 | 35.982456 | 0.638462 | 0.010239 | 0 | 0.844444 | 0 | 0 | 0.19428 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0.022222 | 0.044444 | 0 | 0.177778 | 0.111111 | 0 | 0 | 0 | null | 0 | 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 | 9 |
d9aeab66628f5f50adcb4d56ec1b914cf0383130 | 15,628 | py | Python | sdk/python/pulumi_aws/datasync/s3_location.py | aamir-locus/pulumi-aws | 3e234b050129bde35d8e072a88bd608562f02142 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/datasync/s3_location.py | aamir-locus/pulumi-aws | 3e234b050129bde35d8e072a88bd608562f02142 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/datasync/s3_location.py | aamir-locus/pulumi-aws | 3e234b050129bde35d8e072a88bd608562f02142 | [
"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... | 40.487047 | 147 | 0.637446 | 1,807 | 15,628 | 5.288323 | 0.097399 | 0.090938 | 0.074717 | 0.046044 | 0.80473 | 0.784115 | 0.752302 | 0.723838 | 0.718501 | 0.703223 | 0 | 0.018307 | 0.255503 | 15,628 | 385 | 148 | 40.592208 | 0.803008 | 0.315331 | 0 | 0.570755 | 1 | 0 | 0.102381 | 0.026362 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15566 | false | 0.004717 | 0.033019 | 0.009434 | 0.283019 | 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 |
d9e3e72f35c1e24cf71ac70cc3a1c212f079d24b | 372,331 | py | Python | com/vmware/vcenter/vm/hardware_client.py | adammillerio/vsphere-automation-sdk-python | c07e1be98615201139b26c28db3aa584c4254b66 | [
"MIT"
] | null | null | null | com/vmware/vcenter/vm/hardware_client.py | adammillerio/vsphere-automation-sdk-python | c07e1be98615201139b26c28db3aa584c4254b66 | [
"MIT"
] | null | null | null | com/vmware/vcenter/vm/hardware_client.py | adammillerio/vsphere-automation-sdk-python | c07e1be98615201139b26c28db3aa584c4254b66 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#---------------------------------------------------------------------------
# Copyright 2020 VMware, Inc. All rights reserved.
# AUTO GENERATED FILE -- DO NOT MODIFY!
#
# vAPI stub file for package com.vmware.vcenter.vm.hardware.
#--------------------------------------------------------------... | 43.731619 | 161 | 0.592653 | 39,615 | 372,331 | 5.424789 | 0.017544 | 0.053606 | 0.066239 | 0.081525 | 0.940136 | 0.926451 | 0.915888 | 0.902109 | 0.889057 | 0.881309 | 0 | 0.000447 | 0.31487 | 372,331 | 8,513 | 162 | 43.736756 | 0.841996 | 0.404197 | 0 | 0.781146 | 1 | 0 | 0.281729 | 0.205469 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031265 | false | 0.000947 | 0.002842 | 0 | 0.070583 | 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 |
d9fbec4f17a1495223392cad86815a9270129019 | 42,560 | py | Python | zarc/old/views_2017-05-20-14:26:21.py | nyimbi/caseke | ce4a0fa44cd383bc23900e42f81656f089c8fdd9 | [
"MIT"
] | 1 | 2019-06-03T16:20:35.000Z | 2019-06-03T16:20:35.000Z | zarc/old/views_2017-05-20-14:26:21.py | nyimbi/caseke | ce4a0fa44cd383bc23900e42f81656f089c8fdd9 | [
"MIT"
] | 20 | 2020-01-28T22:02:29.000Z | 2022-03-29T22:28:34.000Z | zarc/old/views_2017-05-20-14:26:21.py | nyimbi/caseke | ce4a0fa44cd383bc23900e42f81656f089c8fdd9 | [
"MIT"
] | 1 | 2019-06-10T17:20:48.000Z | 2019-06-10T17:20:48.000Z | # coding: utf-8
# AUTOGENERATED BY gen_script.sh from kpony3.py
# Copyright (C) Nyimbi Odero, Sat May 20 14:16:40 EAT 2017
import calendar
from flask import render_template
from flask.ext.appbuilder.models.sqla.interface import SQLAInterface
from flask_appbuilder.views import MasterDetailView, MultipleView, RestCRUDV... | 42.989899 | 136 | 0.751927 | 4,704 | 42,560 | 6.483418 | 0.053997 | 0.082628 | 0.039347 | 0.05902 | 0.885632 | 0.810283 | 0.810283 | 0.777231 | 0.777231 | 0.777231 | 0 | 0.000383 | 0.140249 | 42,560 | 989 | 137 | 43.033367 | 0.833101 | 0.480193 | 0 | 0.463636 | 1 | 0 | 0.147007 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004545 | false | 0 | 0.022727 | 0.004545 | 0.597727 | 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 | 1 | 0 | 0 | 8 |
8a0f98226d12758b8604c3945e02c6203be7ab23 | 15,858 | py | Python | draft/draft_at_work_bilal.py | elieahd/data-analytics-kmeans | df44da132cf0de00d870b8865781f4fd78113cfa | [
"MIT"
] | 2 | 2020-10-09T20:13:00.000Z | 2021-06-06T09:18:33.000Z | draft/draft_at_work_bilal.py | elieahd/data-analytics-kmeans | df44da132cf0de00d870b8865781f4fd78113cfa | [
"MIT"
] | null | null | null | draft/draft_at_work_bilal.py | elieahd/data-analytics-kmeans | df44da132cf0de00d870b8865781f4fd78113cfa | [
"MIT"
] | 2 | 2018-06-06T08:33:03.000Z | 2018-06-06T09:00:47.000Z | [
(0, (0,1.1)),
(1, (0,1.1)),
(2, (1,1.1)),
(3, (3,1.1)),
(4, (2,1.1)),
(5, (3,1.1)),
]
# (0, ([4.5, 2.3, 6.3, 5.1], (0,1.1)))
dataByCluster = finalResult.join(data).map(lambda (iPoint, (data, (iCentroid, dist))): (iCentroid, (data, dist)))
# (3, [([4.5, 2.3, 6.3, 5.1], 1.1), ([4.5, 2.3, 6.3, ... | 35.006623 | 136 | 0.659352 | 1,865 | 15,858 | 5.598928 | 0.096515 | 0.038786 | 0.045968 | 0.003448 | 0.871097 | 0.867171 | 0.862383 | 0.862383 | 0.840739 | 0.840739 | 0 | 0.038453 | 0.176756 | 15,858 | 452 | 137 | 35.084071 | 0.761394 | 0.160928 | 0 | 0.852459 | 0 | 0 | 0.010879 | 0.003626 | 0 | 0 | 0 | 0.002212 | 0 | 0 | null | null | 0 | 0.032787 | null | null | 0.006557 | 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 |
8a26bdf1406a19a688c5cf9a9fd2b039ad9252db | 2,382 | py | Python | second.py | thedognexttothetrashcan/taobao | c796ec1f61a5443406686f65badc1df6aaf7b711 | [
"Apache-2.0"
] | null | null | null | second.py | thedognexttothetrashcan/taobao | c796ec1f61a5443406686f65badc1df6aaf7b711 | [
"Apache-2.0"
] | 1 | 2020-12-05T15:32:37.000Z | 2020-12-05T15:32:37.000Z | second.py | xwh-p/taobao | c796ec1f61a5443406686f65badc1df6aaf7b711 | [
"Apache-2.0"
] | null | null | null | headers = {
'accept':'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'accept-encoding':'gzip, deflate, br',
'accept-language':'zh-CN,zh;q=0.9',
'cookie':'cna=gY5GE8vPMGACASvgLWesBpgg; _med=dw:1440&dh:900&pw:1440&ph:900&ist:0; l=bBgQUK1lvHlc2bE_BOCg5uI81fb9kIRPguPRwGoei_5Q-1T-JB_... | 264.666667 | 1,940 | 0.855164 | 266 | 2,382 | 7.552632 | 0.691729 | 0.01991 | 0.031359 | 0.041812 | 0.052265 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288975 | 0.025189 | 2,382 | 9 | 1,941 | 264.666667 | 0.576227 | 0 | 0 | 0 | 0 | 0.333333 | 0.973563 | 0.798154 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8a37cc4b89bb9f25c79f3f17813ad58518957bf5 | 9,683 | py | Python | export_readiness/migrations/0048_auto_20190206_1355.py | kaedroho/dit-directory-cms | 67c15eeed19e7b3583f1fce1969230ddf83b6813 | [
"MIT"
] | 6 | 2018-03-20T11:19:07.000Z | 2021-10-05T07:53:11.000Z | export_readiness/migrations/0048_auto_20190206_1355.py | kaedroho/dit-directory-cms | 67c15eeed19e7b3583f1fce1969230ddf83b6813 | [
"MIT"
] | 802 | 2018-02-05T14:16:13.000Z | 2022-02-10T10:59:21.000Z | export_readiness/migrations/0048_auto_20190206_1355.py | kaedroho/dit-directory-cms | 67c15eeed19e7b3583f1fce1969230ddf83b6813 | [
"MIT"
] | 6 | 2019-01-22T13:19:37.000Z | 2019-07-01T10:35:26.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.18 on 2019-02-06 13:55
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('export_readiness', '0047_allcontactpagespage'),
]
operations = [
migration... | 71.198529 | 269 | 0.647836 | 948 | 9,683 | 6.407173 | 0.078059 | 0.121008 | 0.102733 | 0.114587 | 0.888212 | 0.888212 | 0.888212 | 0.888212 | 0.888212 | 0.888212 | 0 | 0.011947 | 0.187442 | 9,683 | 135 | 270 | 71.725926 | 0.760041 | 0.007126 | 0 | 0.75 | 1 | 0 | 0.410155 | 0.02674 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015625 | 0 | 0.039063 | 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 |
8a7174674756882ecfd4890f855fd43f60e8269b | 126 | wsgi | Python | open-hackathon-tempUI/src/app.wsgi | SpAiNiOr/LABOSS | 32ad341821e9f30fecfa338b5669f574d32dd0fa | [
"Apache-2.0"
] | null | null | null | open-hackathon-tempUI/src/app.wsgi | SpAiNiOr/LABOSS | 32ad341821e9f30fecfa338b5669f574d32dd0fa | [
"Apache-2.0"
] | null | null | null | open-hackathon-tempUI/src/app.wsgi | SpAiNiOr/LABOSS | 32ad341821e9f30fecfa338b5669f574d32dd0fa | [
"Apache-2.0"
] | null | null | null | import sys
sys.path.append("/home/opentech/open-hackathon/open-hackathon-tempUI/src")
from hackathon import app as application | 42 | 74 | 0.825397 | 19 | 126 | 5.473684 | 0.736842 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 126 | 3 | 75 | 42 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0.433071 | 0.433071 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8a775a3e71b6b98696e4a13c319e729c332528ab | 43,509 | py | Python | tests/components/nest/test_climate_sdm.py | andersop91/core | 0e0ef0aa17073609eae7c974cf4c73306b7c414b | [
"Apache-2.0"
] | 4 | 2021-07-11T09:11:00.000Z | 2022-02-27T14:43:50.000Z | tests/components/nest/test_climate_sdm.py | andersop91/core | 0e0ef0aa17073609eae7c974cf4c73306b7c414b | [
"Apache-2.0"
] | 277 | 2021-10-04T06:39:33.000Z | 2021-12-28T22:04:17.000Z | tests/components/nest/test_climate_sdm.py | andersop91/core | 0e0ef0aa17073609eae7c974cf4c73306b7c414b | [
"Apache-2.0"
] | 1 | 2022-02-09T00:30:51.000Z | 2022-02-09T00:30:51.000Z | """
Test for Nest climate platform for the Smart Device Management API.
These tests fake out the subscriber/devicemanager, and are not using a real
pubsub subscriber.
"""
from google_nest_sdm.device import Device
from google_nest_sdm.event import EventMessage
import pytest
from homeassistant.components.climate.const... | 35.315747 | 84 | 0.624606 | 4,751 | 43,509 | 5.499474 | 0.04357 | 0.102878 | 0.107471 | 0.114819 | 0.929616 | 0.912699 | 0.901255 | 0.877564 | 0.855366 | 0.847405 | 0 | 0.012468 | 0.266336 | 43,509 | 1,231 | 85 | 35.344435 | 0.806052 | 0.017652 | 0 | 0.701336 | 0 | 0 | 0.187699 | 0.117364 | 0 | 0 | 0 | 0 | 0.278626 | 1 | 0 | false | 0 | 0.006679 | 0 | 0.007634 | 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 |
8a92427a1301fa50fbb4b53e3c0c371ba5ad8df4 | 11,421 | py | Python | VolumeFlux/vgrid.py | jvmcgovern/romstools_MI | 57c70c2f630a190fd23ac15ed2ce1b2fae949660 | [
"MIT"
] | 18 | 2015-03-02T14:27:00.000Z | 2021-12-16T05:53:08.000Z | VolumeFlux/vgrid.py | jvmcgovern/romstools_MI | 57c70c2f630a190fd23ac15ed2ce1b2fae949660 | [
"MIT"
] | 2 | 2016-08-08T12:21:45.000Z | 2021-02-03T22:40:52.000Z | VolumeFlux/vgrid.py | jvmcgovern/romstools_MI | 57c70c2f630a190fd23ac15ed2ce1b2fae949660 | [
"MIT"
] | 15 | 2015-10-05T15:36:28.000Z | 2022-01-28T16:46:54.000Z | # encoding: utf-8
'''
Various vertical coordinates
Presently, only ocean s-coordinates are supported. Future plans will be to
include all of the vertical coordinate systems defined by the CF conventions.
'''
__docformat__ = "restructuredtext en"
import numpy as np
import warnings
class s_coordinate(object):
""... | 31.549724 | 264 | 0.518956 | 1,735 | 11,421 | 3.237464 | 0.087608 | 0.0705 | 0.044508 | 0.034894 | 0.839594 | 0.825174 | 0.795264 | 0.787787 | 0.787075 | 0.752537 | 0 | 0.0204 | 0.347605 | 11,421 | 361 | 265 | 31.637119 | 0.733459 | 0.110148 | 0 | 0.715447 | 0 | 0.004065 | 0.023093 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081301 | false | 0 | 0.00813 | 0 | 0.121951 | 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 |
8abac7303404e26d5cdead26ffef112a5af72f41 | 13,913 | py | Python | research/slim/nets/vgg.py | thexa4/artificial-data-research-models | aa622469758a35ddaa8cf8af0cf14925a08293a2 | [
"Apache-2.0"
] | 1 | 2018-07-16T13:35:58.000Z | 2018-07-16T13:35:58.000Z | research/slim/nets/vgg.py | thexa4/artificial-data-research-models | aa622469758a35ddaa8cf8af0cf14925a08293a2 | [
"Apache-2.0"
] | null | null | null | research/slim/nets/vgg.py | thexa4/artificial-data-research-models | aa622469758a35ddaa8cf8af0cf14925a08293a2 | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 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 applicable ... | 45.917492 | 80 | 0.663121 | 2,016 | 13,913 | 4.440476 | 0.143849 | 0.035188 | 0.026139 | 0.02681 | 0.856568 | 0.853217 | 0.844727 | 0.844392 | 0.844392 | 0.839477 | 0 | 0.039748 | 0.236901 | 13,913 | 302 | 81 | 46.069536 | 0.803428 | 0.48293 | 0 | 0.744526 | 0 | 0 | 0.060958 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029197 | false | 0 | 0.007299 | 0 | 0.065693 | 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 |
0a0f1b01183541f1b735a9a3aaa21bf2ff9fe4cb | 11,025 | py | Python | python-client/cloudera/director/d6_0/server_config_api.py | daanknoope/director-sdk | a099fedd5afe365aedbb50daa75de048ef6f7ab4 | [
"Apache-2.0"
] | 24 | 2015-03-04T01:39:36.000Z | 2020-06-30T13:34:27.000Z | python-client/cloudera/director/d6_0/server_config_api.py | daanknoope/director-sdk | a099fedd5afe365aedbb50daa75de048ef6f7ab4 | [
"Apache-2.0"
] | 5 | 2015-11-04T08:18:47.000Z | 2019-01-05T11:12:19.000Z | python-client/cloudera/director/d6_0/server_config_api.py | daanknoope/director-sdk | a099fedd5afe365aedbb50daa75de048ef6f7ab4 | [
"Apache-2.0"
] | 26 | 2015-02-24T21:13:53.000Z | 2020-12-15T06:01:46.000Z | # coding: utf-8
"""
Licensed to Cloudera, Inc. under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. Cloudera, Inc. licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use thi... | 35 | 123 | 0.605533 | 1,244 | 11,025 | 5.152733 | 0.163987 | 0.046178 | 0.026209 | 0.033697 | 0.801716 | 0.78752 | 0.784243 | 0.773947 | 0.770515 | 0.74649 | 0 | 0.017379 | 0.30585 | 11,025 | 314 | 124 | 35.111465 | 0.820201 | 0.047982 | 0 | 0.753165 | 0 | 0 | 0.165302 | 0.059145 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.025316 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0a2dd0fb9364408df2c25da870a07ba3f4ed07c3 | 12,112 | py | Python | plugins/windows-agent-installer/windows_agent_installer/tests/test_init.py | konradxyz/dev_fileserver | 2c57520c447fc4bfda78668df575431be5c39276 | [
"Apache-2.0"
] | null | null | null | plugins/windows-agent-installer/windows_agent_installer/tests/test_init.py | konradxyz/dev_fileserver | 2c57520c447fc4bfda78668df575431be5c39276 | [
"Apache-2.0"
] | null | null | null | plugins/windows-agent-installer/windows_agent_installer/tests/test_init.py | konradxyz/dev_fileserver | 2c57520c447fc4bfda78668df575431be5c39276 | [
"Apache-2.0"
] | null | null | null | #########
# Copyright (c) 2013 GigaSpaces Technologies Ltd. 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... | 42.055556 | 106 | 0.670492 | 1,261 | 12,112 | 6.092784 | 0.146709 | 0.135364 | 0.06586 | 0.080177 | 0.815046 | 0.799167 | 0.76038 | 0.733047 | 0.70246 | 0.658076 | 0 | 0.006866 | 0.266513 | 12,112 | 287 | 107 | 42.202091 | 0.857947 | 0.154557 | 0 | 0.582474 | 0 | 0 | 0.072284 | 0.002062 | 0 | 0 | 0 | 0 | 0.123711 | 1 | 0.092784 | false | 0.051546 | 0.092784 | 0 | 0.195876 | 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 |
0a4953ff2255b93561600ddb5f650a5afb6f6e31 | 4,365 | py | Python | landlab/grid/unstructured/nodes.py | amanaster2/landlab | ea17f8314eb12e3fc76df66c9b6ff32078caa75c | [
"MIT"
] | 257 | 2015-01-13T16:01:21.000Z | 2022-03-29T22:37:43.000Z | landlab/grid/unstructured/nodes.py | amanaster2/landlab | ea17f8314eb12e3fc76df66c9b6ff32078caa75c | [
"MIT"
] | 1,222 | 2015-02-05T21:36:53.000Z | 2022-03-31T17:53:49.000Z | landlab/grid/unstructured/nodes.py | amanaster2/landlab | ea17f8314eb12e3fc76df66c9b6ff32078caa75c | [
"MIT"
] | 274 | 2015-02-11T19:56:08.000Z | 2022-03-28T23:31:07.000Z | import numpy as np
class NodeGrid(object):
"""__init__((coord0, coord1)) Create a grid of nodes.
Parameters
----------
coord0, coord1 : sequence of array-like
Coordinates of grid nodes
Returns
-------
NodeGrid :
A newly-created NodeGrid
Examples
--------
>>> ... | 24.522472 | 83 | 0.47079 | 483 | 4,365 | 4.175983 | 0.15528 | 0.034705 | 0.026772 | 0.019831 | 0.774913 | 0.765493 | 0.759544 | 0.735746 | 0.735746 | 0.735746 | 0 | 0.046445 | 0.358763 | 4,365 | 177 | 84 | 24.661017 | 0.674169 | 0.580527 | 0 | 0.393939 | 0 | 0 | 0.05638 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242424 | false | 0 | 0.030303 | 0.030303 | 0.515152 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
0a508c85f4c3a47fd9bcbc8a8de05775fb263ee8 | 19,645 | py | Python | pages.py | napaza147/Choice | d06e854c86df2999e04f9a81857fafbaf6853661 | [
"MIT"
] | 1 | 2021-11-03T04:40:23.000Z | 2021-11-03T04:40:23.000Z | pages.py | napaza147/Choices | d06e854c86df2999e04f9a81857fafbaf6853661 | [
"MIT"
] | null | null | null | pages.py | napaza147/Choices | d06e854c86df2999e04f9a81857fafbaf6853661 | [
"MIT"
] | null | null | null | import math
from otree.api import Currency as c, currency_range
from ._builtin import Page, WaitPage
from .models import Constants, Player, Group
import json
from django.conf import settings
import string
import random
import time
debug = True
#########################################################################
"... | 29.060651 | 160 | 0.623212 | 2,516 | 19,645 | 4.593005 | 0.053657 | 0.116822 | 0.075026 | 0.088266 | 0.919176 | 0.919176 | 0.91909 | 0.91658 | 0.913638 | 0.913638 | 0 | 0.030878 | 0.268058 | 19,645 | 675 | 161 | 29.103704 | 0.772794 | 0.001934 | 0 | 0.808765 | 0 | 0 | 0.057992 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.179283 | false | 0 | 0.017928 | 0.103586 | 0.476096 | 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 | 1 | 0 | 0 | 0 | 8 |
6a553a7e329bd4049ca3a06e61308c0a03bc046d | 27 | py | Python | src/loader.py | sinofseven/honmaru | 2148f3334f5afd243612e11ccfb3361496a7a843 | [
"MIT"
] | null | null | null | src/loader.py | sinofseven/honmaru | 2148f3334f5afd243612e11ccfb3361496a7a843 | [
"MIT"
] | null | null | null | src/loader.py | sinofseven/honmaru | 2148f3334f5afd243612e11ccfb3361496a7a843 | [
"MIT"
] | null | null | null | def tmp():
return True
| 9 | 15 | 0.592593 | 4 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 27 | 2 | 16 | 13.5 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
6a77248f7496d6c56846b20a26208d0946233405 | 3,128 | py | Python | Leak #5 - Lost In Translation/windows/Resources/Pc/PyScripts/Lib/pc/pc/cmd/appcompat/type_Params.py | bidhata/EquationGroupLeaks | 1ff4bc115cb2bd5bf2ed6bf769af44392926830c | [
"Unlicense"
] | 9 | 2019-11-22T04:58:40.000Z | 2022-02-26T16:47:28.000Z | Leak #5 - Lost In Translation/windows/Resources/Pc/PyScripts/Lib/pc/pc/cmd/appcompat/type_Params.py | bidhata/EquationGroupLeaks | 1ff4bc115cb2bd5bf2ed6bf769af44392926830c | [
"Unlicense"
] | null | null | null | Leak #5 - Lost In Translation/windows/Resources/Pc/PyScripts/Lib/pc/pc/cmd/appcompat/type_Params.py | bidhata/EquationGroupLeaks | 1ff4bc115cb2bd5bf2ed6bf769af44392926830c | [
"Unlicense"
] | 8 | 2017-09-27T10:31:18.000Z | 2022-01-08T10:30:46.000Z | # uncompyle6 version 2.9.10
# Python bytecode 2.7 (62211)
# Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10)
# [GCC 6.2.0 20161005]
# Embedded file name: type_Params.py
from types import *
class InstallParams:
def __init__(self):
self.__dict__['procname'] = ''
self.__dict__['remot... | 40.623377 | 100 | 0.671036 | 345 | 3,128 | 5.628986 | 0.22029 | 0.082389 | 0.07415 | 0.064882 | 0.895984 | 0.895984 | 0.869207 | 0.869207 | 0.859938 | 0.859938 | 0 | 0.01839 | 0.217711 | 3,128 | 77 | 101 | 40.623377 | 0.775235 | 0.055946 | 0 | 0.745763 | 0 | 0 | 0.132293 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.169492 | false | 0 | 0.084746 | 0 | 0.355932 | 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 |
6a824893d69f8e295916f3faced9c78cd3541acc | 1,709 | py | Python | day_17/run.py | aghontpi/AdventOfCode2020 | 43ee0415f8be0f8bf1abd4f746a9153ccc2e7406 | [
"MIT"
] | null | null | null | day_17/run.py | aghontpi/AdventOfCode2020 | 43ee0415f8be0f8bf1abd4f746a9153ccc2e7406 | [
"MIT"
] | null | null | null | day_17/run.py | aghontpi/AdventOfCode2020 | 43ee0415f8be0f8bf1abd4f746a9153ccc2e7406 | [
"MIT"
] | null | null | null | #! /usr/bin/python3
from collections import Counter
# game of life - 3d
inputs = open('input.txt', 'r').read()
inputs = inputs.split('\n')
processed = set()
for x, _line in enumerate(inputs):
for y, _char in enumerate(_line):
if _char == '#':
processed.add((x, y, 0))
loop = (-1, 0, 1)
for _ ... | 26.292308 | 63 | 0.499707 | 245 | 1,709 | 3.289796 | 0.244898 | 0.099256 | 0.055831 | 0.044665 | 0.80397 | 0.80397 | 0.784119 | 0.784119 | 0.784119 | 0.784119 | 0 | 0.021375 | 0.370392 | 1,709 | 64 | 64 | 26.703125 | 0.727695 | 0.033938 | 0 | 0.730769 | 0 | 0 | 0.037621 | 0.029126 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019231 | 0 | 0.019231 | 0.038462 | 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 |
6a843eea94494146b1eb3e6e9aafc1a23773c50f | 281 | py | Python | or_suite/agents/__init__.py | JasmineSamadi/ORSuite | e2b2b0a5b497ea6566e794dcef1f176081fca4ce | [
"MIT"
] | null | null | null | or_suite/agents/__init__.py | JasmineSamadi/ORSuite | e2b2b0a5b497ea6566e794dcef1f176081fca4ce | [
"MIT"
] | null | null | null | or_suite/agents/__init__.py | JasmineSamadi/ORSuite | e2b2b0a5b497ea6566e794dcef1f176081fca4ce | [
"MIT"
] | null | null | null | from or_suite.agents.agent import *
import or_suite.agents.rl
import or_suite.agents.ambulance
import or_suite.agents.resource_allocation
import or_suite.agents.rideshare
import or_suite.agents.airline_revenue_management
import or_suite.agents.inventory_control_multiple_suppliers
| 35.125 | 59 | 0.88968 | 42 | 281 | 5.642857 | 0.428571 | 0.206751 | 0.383966 | 0.481013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05694 | 281 | 7 | 60 | 40.142857 | 0.89434 | 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 |
6a9c54d2e5b238421d848b83420e2b0bed754e61 | 14 | py | Python | test_data/parse_retree/expected/quantifier/non_greedy/exactly_3/source.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 5 | 2021-12-29T12:55:34.000Z | 2022-03-01T17:57:21.000Z | test_data/parse_retree/expected/quantifier/non_greedy/exactly_3/source.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 10 | 2021-12-29T02:15:55.000Z | 2022-03-09T11:04:22.000Z | test_data/parse_retree/expected/quantifier/non_greedy/exactly_3/source.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 2 | 2021-12-29T01:42:12.000Z | 2022-02-15T13:46:33.000Z | "a{ \t3 \t}?"
| 7 | 13 | 0.285714 | 3 | 14 | 1.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.214286 | 14 | 1 | 14 | 14 | 0.272727 | 1.285714 | 0 | 0 | 0 | 0 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6aae0ab3518a278a3c3832591c4dbe7d205593c7 | 720 | py | Python | Gathered CTF writeups/2015-10-10-asisfin/crypto_175_bodu/solve.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | 1 | 2022-03-27T06:00:41.000Z | 2022-03-27T06:00:41.000Z | Gathered CTF writeups/2015-10-10-asisfin/crypto_175_bodu/solve.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | null | null | null | Gathered CTF writeups/2015-10-10-asisfin/crypto_175_bodu/solve.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | 1 | 2022-03-27T06:01:42.000Z | 2022-03-27T06:01:42.000Z | clearText = pow(0x025051c6c4e82266e0b9e8a47266531a01d484b0dc7ee629fb5a0588f15bf50281f46cf08be71e067ac7166580f144a6bdcc83a90206681c2409404e92474b37de67d92fd2fa4bc4bd119372b6d50c0377758fc8e946d203a040e04d6bfe41dfb898cd4e36e582f16ad475915ac2c6586d874dd397e7ed1cb2d3f2003586c257, 89508186630638564513494386415865407147609702... | 144 | 666 | 0.952778 | 13 | 720 | 52.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.787921 | 0.011111 | 720 | 4 | 667 | 180 | 0.175562 | 0 | 0 | 0 | 0 | 0 | 0.005571 | 0 | 0 | 1 | 0.359331 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
6ac74d919baf3b558f0a0d961a37960ed8b3b5fd | 6,036 | py | Python | piecewise/test/unit/test_classifier_set.py | jtbish/piecewise | d27e095e298698d83901bfd1236e0e0669261136 | [
"MIT"
] | 3 | 2019-12-04T02:28:08.000Z | 2022-02-02T13:13:36.000Z | piecewise/test/unit/test_classifier_set.py | jtbish/piecewise | d27e095e298698d83901bfd1236e0e0669261136 | [
"MIT"
] | 5 | 2020-01-15T04:33:36.000Z | 2021-03-26T14:58:47.000Z | piecewise/test/unit/test_classifier_set.py | jtbish/piecewise | d27e095e298698d83901bfd1236e0e0669261136 | [
"MIT"
] | 1 | 2020-06-04T08:55:27.000Z | 2020-06-04T08:55:27.000Z | import pytest
from piecewise.dtype import ClassifierSet
from piecewise.error.classifier_set_error import MemberNotFoundError
@pytest.fixture
def classifier_set():
return ClassifierSet()
class TestClassifierSetBaseViaClassifierSet:
def test_num_micros_single_microclassifier(self, classifier_set,
... | 45.727273 | 78 | 0.702783 | 604 | 6,036 | 6.604305 | 0.092715 | 0.221609 | 0.088243 | 0.088243 | 0.846578 | 0.782652 | 0.764101 | 0.757834 | 0.757834 | 0.755829 | 0 | 0.006575 | 0.244036 | 6,036 | 131 | 79 | 46.076336 | 0.867631 | 0 | 0 | 0.598131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214953 | 1 | 0.186916 | false | 0 | 0.028037 | 0.009346 | 0.242991 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0a7a83aee5efe607e19ec07553e00e4b85059d56 | 5,614 | py | Python | data.py | mglerner/PoGoQuizBot | d15e8d880e3d5f1b669df72014c71b941aa8df1f | [
"Apache-2.0"
] | null | null | null | data.py | mglerner/PoGoQuizBot | d15e8d880e3d5f1b669df72014c71b941aa8df1f | [
"Apache-2.0"
] | null | null | null | data.py | mglerner/PoGoQuizBot | d15e8d880e3d5f1b669df72014c71b941aa8df1f | [
"Apache-2.0"
] | null | null | null | # effectiveness[attacker][defender]
# key: neutral damage is a 1. super effective is a 2. not very effective is a 0.5. double resisted is a 0.
# The damage multiplipers are 1.6, 1, 0.62 and 0.39
effectiveness_to_words = {1:'neutral',2:'super effective',0.5:'not very effective',0:'double resisted'}
effectiveness = {
... | 62.377778 | 131 | 0.509084 | 1,076 | 5,614 | 2.650558 | 0.051115 | 0.143759 | 0.035764 | 0.067321 | 0.817321 | 0.8054 | 0.803647 | 0.755961 | 0.705119 | 0.695652 | 0 | 0.142827 | 0.168151 | 5,614 | 89 | 132 | 63.078652 | 0.467024 | 0.033488 | 0 | 0.02381 | 0 | 0 | 0.357433 | 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 | 0 | 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 |
0a86b9009320ee178acd5a6924de0a8b26868930 | 148 | py | Python | code/DeepDA/loss_funcs/__init__.py | puchapu/transferlearning | 88ceafe963a51a38ded22b709cfa44d4355112d2 | [
"MIT"
] | 2 | 2021-07-02T02:41:01.000Z | 2021-07-02T02:41:08.000Z | code/DeepDA/loss_funcs/__init__.py | xxlya/transferlearning | 1f14c192706db52e3982daae623b5bbabb31ab57 | [
"MIT"
] | null | null | null | code/DeepDA/loss_funcs/__init__.py | xxlya/transferlearning | 1f14c192706db52e3982daae623b5bbabb31ab57 | [
"MIT"
] | 1 | 2021-07-30T00:24:35.000Z | 2021-07-30T00:24:35.000Z | from loss_funcs.mmd import *
from loss_funcs.coral import *
from loss_funcs.adv import *
from loss_funcs.lmmd import *
from loss_funcs.daan import * | 29.6 | 30 | 0.804054 | 25 | 148 | 4.56 | 0.36 | 0.350877 | 0.570175 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128378 | 148 | 5 | 31 | 29.6 | 0.883721 | 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 |
0ac4eb8ad4093ddb8dbf34126f6f0e3be90ae659 | 13,095 | py | Python | graphql_compiler/tests/test_emit_output.py | yangsong97/graphql-compiler | 7b9e4b95fc8ae1bba07b635c89ba2c89cfb88763 | [
"Apache-2.0"
] | null | null | null | graphql_compiler/tests/test_emit_output.py | yangsong97/graphql-compiler | 7b9e4b95fc8ae1bba07b635c89ba2c89cfb88763 | [
"Apache-2.0"
] | null | null | null | graphql_compiler/tests/test_emit_output.py | yangsong97/graphql-compiler | 7b9e4b95fc8ae1bba07b635c89ba2c89cfb88763 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017-present Kensho Technologies, LLC.
import unittest
from graphql import GraphQLString
from ..compiler import emit_gremlin, emit_match
from ..compiler.blocks import (Backtrack, ConstructResult, Filter, GlobalOperationsStart,
MarkLocation, QueryRoot, Traverse)
from ..compil... | 36.783708 | 100 | 0.559985 | 1,230 | 13,095 | 5.538211 | 0.112195 | 0.066941 | 0.03303 | 0.038755 | 0.801967 | 0.784058 | 0.746036 | 0.725191 | 0.703171 | 0.680711 | 0 | 0.004413 | 0.342421 | 13,095 | 355 | 101 | 36.887324 | 0.786668 | 0.009698 | 0 | 0.731148 | 0 | 0.02623 | 0.298294 | 0.050166 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036066 | false | 0 | 0.036066 | 0 | 0.078689 | 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 |
0ae48d02d5960b657be6ffd223cc19dbba1736bf | 196 | py | Python | src/utils/__init__.py | wikimedia/research-reader-survey-analysis | fbf4d71eebaf5ac5205713b0271f4ea51ab388f8 | [
"MIT"
] | null | null | null | src/utils/__init__.py | wikimedia/research-reader-survey-analysis | fbf4d71eebaf5ac5205713b0271f4ea51ab388f8 | [
"MIT"
] | null | null | null | src/utils/__init__.py | wikimedia/research-reader-survey-analysis | fbf4d71eebaf5ac5205713b0271f4ea51ab388f8 | [
"MIT"
] | null | null | null | from .utils import exec_hive_stat2
from .utils import exec_mariadb_stat2
from .utils import user_hash
from .utils import download_dump_file
from .utils import read_redirects
from .config import * | 28 | 37 | 0.841837 | 31 | 196 | 5.064516 | 0.483871 | 0.286624 | 0.477707 | 0.242038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.122449 | 196 | 7 | 38 | 28 | 0.901163 | 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 |
0af11bafee5fcfbe53e9912738b97ae193a10b93 | 5,198 | py | Python | tests/registries/legacy/test_legacy_requires_finalizer.py | zakkg3/kopf | ea11b475f9b2c067a86760c308e97cc2c0a96fb9 | [
"MIT"
] | null | null | null | tests/registries/legacy/test_legacy_requires_finalizer.py | zakkg3/kopf | ea11b475f9b2c067a86760c308e97cc2c0a96fb9 | [
"MIT"
] | null | null | null | tests/registries/legacy/test_legacy_requires_finalizer.py | zakkg3/kopf | ea11b475f9b2c067a86760c308e97cc2c0a96fb9 | [
"MIT"
] | null | null | null | import pytest
import kopf
from kopf import GlobalRegistry
from kopf.structs.resources import Resource
OBJECT_BODY = {
'apiVersion': 'group/version',
'kind': 'singular',
'metadata': {
'name': 'test',
'labels': {
'key': 'value',
},
'annotations': {
'ke... | 32.4875 | 101 | 0.661023 | 529 | 5,198 | 6.355388 | 0.111531 | 0.141582 | 0.080309 | 0.04997 | 0.926234 | 0.926234 | 0.921773 | 0.921773 | 0.921773 | 0.91166 | 0 | 0.000715 | 0.193151 | 5,198 | 159 | 102 | 32.691824 | 0.800906 | 0 | 0 | 0.8125 | 0 | 0 | 0.147749 | 0 | 0 | 0 | 0 | 0 | 0.054688 | 1 | 0.117188 | false | 0.0625 | 0.03125 | 0 | 0.148438 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
7c1869b21d212f521cf8ada8684e569aca7c0244 | 35,068 | py | Python | openstack_dashboard/dashboards/project/routers/tests.py | rtpro/horizon | 654724dccc3bf5d224eba10fa8f1e45ef7762c95 | [
"Apache-2.0"
] | null | null | null | openstack_dashboard/dashboards/project/routers/tests.py | rtpro/horizon | 654724dccc3bf5d224eba10fa8f1e45ef7762c95 | [
"Apache-2.0"
] | null | null | null | openstack_dashboard/dashboards/project/routers/tests.py | rtpro/horizon | 654724dccc3bf5d224eba10fa8f1e45ef7762c95 | [
"Apache-2.0"
] | null | null | null | # Copyright 2012, Nachi Ueno, NTT MCL, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | 44.389873 | 79 | 0.58589 | 3,708 | 35,068 | 5.302589 | 0.075243 | 0.051368 | 0.069576 | 0.030923 | 0.811972 | 0.769759 | 0.750636 | 0.725765 | 0.710202 | 0.691639 | 0 | 0.00264 | 0.297935 | 35,068 | 789 | 80 | 44.446134 | 0.795979 | 0.01902 | 0 | 0.71471 | 0 | 0 | 0.11517 | 0.033562 | 0 | 0 | 0 | 0 | 0.078752 | 1 | 0.063893 | false | 0 | 0.013373 | 0 | 0.105498 | 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 |
7c6b12baa1d27bcae43ce0538dcfe34cb0e2d0da | 27,192 | py | Python | qmeq/tests/test_baths.py | M-Josefsson/qmeq | f4f08864fc778de7c14b198c0ffbaafe33ce18f6 | [
"BSD-2-Clause"
] | 1 | 2021-06-24T13:59:01.000Z | 2021-06-24T13:59:01.000Z | qmeq/tests/test_baths.py | M-Josefsson/qmeq | f4f08864fc778de7c14b198c0ffbaafe33ce18f6 | [
"BSD-2-Clause"
] | null | null | null | qmeq/tests/test_baths.py | M-Josefsson/qmeq | f4f08864fc778de7c14b198c0ffbaafe33ce18f6 | [
"BSD-2-Clause"
] | null | null | null | from numpy.linalg import norm
from qmeq.indexing import StateIndexing
from qmeq.baths import *
from qmeq.tests.test_leadstun import ParametersDoubleDotSpinful
EPS = 1e-14
class ParametersDoubleDotSpinfulElPh(ParametersDoubleDotSpinful):
def __init__(self):
ParametersDoubleDotSpinful.__init__(self)
... | 146.983784 | 3,018 | 0.458775 | 8,032 | 27,192 | 1.5 | 0.015438 | 0.88081 | 1.231574 | 1.538845 | 0.910608 | 0.904382 | 0.88911 | 0.883964 | 0.87998 | 0.878652 | 0 | 0.38434 | 0.219881 | 27,192 | 184 | 3,019 | 147.782609 | 0.183614 | 0.002464 | 0 | 0.621795 | 0 | 0 | 0.002213 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.038462 | false | 0 | 0.025641 | 0 | 0.070513 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
7cb46809d9482682d6f7984042c0387469906fe0 | 279 | py | Python | qtensor/optimisation/__init__.py | marwahaha/QTensor | 936d078825a6418f9d32d2c176332422d8a4c137 | [
"BSD-3-Clause"
] | 20 | 2020-09-08T20:32:44.000Z | 2022-03-18T11:27:57.000Z | qtensor/optimisation/__init__.py | marwahaha/QTensor | 936d078825a6418f9d32d2c176332422d8a4c137 | [
"BSD-3-Clause"
] | 21 | 2020-10-09T04:44:48.000Z | 2021-10-05T03:32:35.000Z | qtensor/optimisation/__init__.py | marwahaha/QTensor | 936d078825a6418f9d32d2c176332422d8a4c137 | [
"BSD-3-Clause"
] | 4 | 2020-12-18T01:37:10.000Z | 2021-07-26T21:24:20.000Z | from . RGreedy import RGreedyOptimizer
from qtensor.optimisation.Optimizer import TamakiTrimSlicing
from qtensor.optimisation.Optimizer import Optimizer
from qtensor.optimisation.Greedy import GreedyParvars
from qtensor.optimisation.late_parallelisation import LateParOptimizer
| 39.857143 | 70 | 0.888889 | 29 | 279 | 8.517241 | 0.448276 | 0.178138 | 0.37247 | 0.259109 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078853 | 279 | 6 | 71 | 46.5 | 0.961089 | 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 |
6b089f760047e032293ac41157ba1a4cb899ed26 | 11,594 | py | Python | xskillscore/tests/test_np_deterministic.py | kpegion/xskillscore | fbe875b563d50c659976b98fab615ae30c100d3f | [
"Apache-2.0"
] | 1 | 2020-07-16T12:40:11.000Z | 2020-07-16T12:40:11.000Z | xskillscore/tests/test_np_deterministic.py | kpegion/xskillscore | fbe875b563d50c659976b98fab615ae30c100d3f | [
"Apache-2.0"
] | null | null | null | xskillscore/tests/test_np_deterministic.py | kpegion/xskillscore | fbe875b563d50c659976b98fab615ae30c100d3f | [
"Apache-2.0"
] | null | null | null | import numpy as np
import pytest
from numpy.testing import assert_allclose
from scipy import stats
from sklearn.metrics import (
mean_absolute_error,
mean_squared_error,
median_absolute_error,
)
from xskillscore.core.np_deterministic import (
_mad,
_mae,
_mape,
_mse,
_pearson_r,
_pea... | 31.420054 | 78 | 0.523978 | 1,790 | 11,594 | 3.215642 | 0.042458 | 0.031272 | 0.093815 | 0.145935 | 0.920952 | 0.920952 | 0.917825 | 0.910528 | 0.909312 | 0.909312 | 0 | 0.017117 | 0.30464 | 11,594 | 368 | 79 | 31.505435 | 0.696849 | 0.003795 | 0 | 0.866044 | 0 | 0 | 0.000779 | 0 | 0 | 0 | 0 | 0 | 0.096573 | 1 | 0.037383 | false | 0 | 0.018692 | 0.006231 | 0.062305 | 0.006231 | 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 |
6b22d729b01b063de37b16eca49981ac746cc4e3 | 43,191 | py | Python | p_mine/utilities/barrier_certificates.py | The-chosen/MAPF-combination-decentralize-centralize | 9f0641cc9408091054ba386d13fce575214b7315 | [
"MIT"
] | null | null | null | p_mine/utilities/barrier_certificates.py | The-chosen/MAPF-combination-decentralize-centralize | 9f0641cc9408091054ba386d13fce575214b7315 | [
"MIT"
] | null | null | null | p_mine/utilities/barrier_certificates.py | The-chosen/MAPF-combination-decentralize-centralize | 9f0641cc9408091054ba386d13fce575214b7315 | [
"MIT"
] | null | null | null | from cvxopt import matrix
from cvxopt.blas import dot
from cvxopt.solvers import qp, options
from cvxopt import matrix, sparse
# Unused for now, will include later for speed.
# import quadprog as solver2
import itertools
import numpy as np
from scipy.special import comb
from utilities.transformations import *
# Dis... | 67.591549 | 419 | 0.69621 | 6,592 | 43,191 | 4.379248 | 0.050364 | 0.035229 | 0.036927 | 0.034225 | 0.952785 | 0.94603 | 0.93886 | 0.926666 | 0.909277 | 0.896772 | 0 | 0.025146 | 0.197124 | 43,191 | 638 | 420 | 67.697492 | 0.807336 | 0.142206 | 0 | 0.591781 | 0 | 0.213699 | 0.400441 | 0.095206 | 0 | 0 | 0 | 0 | 0.224658 | 1 | 0.043836 | false | 0 | 0.021918 | 0 | 0.109589 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6b3db1763252a184a80f2ba7d01a7fad3d9d0b45 | 29,959 | py | Python | server/followers/tests/tests_follower_list_endpoint.py | amy-xiang/CMPUT404_PROJECT | cbcea0cd164d6377ede397e934f960505e8f347a | [
"W3C-20150513"
] | 1 | 2021-04-06T22:35:53.000Z | 2021-04-06T22:35:53.000Z | server/followers/tests/tests_follower_list_endpoint.py | amy-xiang/CMPUT404_PROJECT | cbcea0cd164d6377ede397e934f960505e8f347a | [
"W3C-20150513"
] | null | null | null | server/followers/tests/tests_follower_list_endpoint.py | amy-xiang/CMPUT404_PROJECT | cbcea0cd164d6377ede397e934f960505e8f347a | [
"W3C-20150513"
] | null | null | null | from django.test import TestCase
from django.contrib.auth import get_user_model
from django.urls import reverse
from rest_framework.test import APIClient
from rest_framework import status
from main import models
import uuid
def create_author(**params):
"""Helper function to create author"""
return get_user_mo... | 38.21301 | 154 | 0.620181 | 3,254 | 29,959 | 5.568224 | 0.061156 | 0.03753 | 0.056295 | 0.058281 | 0.898173 | 0.875545 | 0.850047 | 0.839671 | 0.812683 | 0.805839 | 0 | 0.091238 | 0.261357 | 29,959 | 783 | 155 | 38.261814 | 0.727552 | 0.089522 | 0 | 0.672026 | 0 | 0.019293 | 0.295059 | 0.134913 | 0 | 0 | 0 | 0 | 0.069132 | 1 | 0.07074 | false | 0.057878 | 0.011254 | 0 | 0.093248 | 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 |
8626daaa12f3a86018de52b57a1014740ab3b9b6 | 52,261 | py | Python | UFOs/Type-FL/2HDM_CPC_Type-FL_NLO_cba_UFO/CT_couplings.py | ycwu1030/2HDM_FR | 599490fd785cb67e3e4ffad1fa7536906ac8bcd5 | [
"MIT"
] | 1 | 2019-09-04T01:44:29.000Z | 2019-09-04T01:44:29.000Z | UFOs/Type-FL/2HDM_CPC_Type-FL_NLO_cba_UFO/CT_couplings.py | ycwu1030/2HDM_FR | 599490fd785cb67e3e4ffad1fa7536906ac8bcd5 | [
"MIT"
] | null | null | null | UFOs/Type-FL/2HDM_CPC_Type-FL_NLO_cba_UFO/CT_couplings.py | ycwu1030/2HDM_FR | 599490fd785cb67e3e4ffad1fa7536906ac8bcd5 | [
"MIT"
] | null | null | null | # This file was automatically created by FeynRules 2.3.36
# Mathematica version: 11.3.0 for Mac OS X x86 (64-bit) (March 7, 2018)
# Date: Fri 13 Aug 2021 16:39:40
from object_library import all_couplings, Coupling
from function_library import complexconjugate, re, im, csc, sec, acsc, asec, cot
R2GC_161_1 = Coupli... | 63.11715 | 985 | 0.482157 | 8,959 | 52,261 | 2.715593 | 0.030695 | 0.136093 | 0.155535 | 0.1751 | 0.773604 | 0.772083 | 0.764314 | 0.746434 | 0.71273 | 0.693452 | 0 | 0.147007 | 0.243757 | 52,261 | 827 | 986 | 63.19347 | 0.468574 | 0.002985 | 0 | 0.332248 | 0 | 0.350163 | 0.545393 | 0.446545 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003257 | 0 | 0.003257 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
86b05b7f215033a977acf01467cbb5dea81eaa3d | 47,676 | py | Python | tests/swig/python/runtime/test_device_agent_creation.py | MILeach/FLAMEGPU2_dev | d1f25edae36992974259e2b80773cddbb7592d2d | [
"MIT"
] | null | null | null | tests/swig/python/runtime/test_device_agent_creation.py | MILeach/FLAMEGPU2_dev | d1f25edae36992974259e2b80773cddbb7592d2d | [
"MIT"
] | null | null | null | tests/swig/python/runtime/test_device_agent_creation.py | MILeach/FLAMEGPU2_dev | d1f25edae36992974259e2b80773cddbb7592d2d | [
"MIT"
] | null | null | null | import pytest
from unittest import TestCase
from pyflamegpu import *
# Agent arrays
AGENT_COUNT = 1024
class DeviceAgentCreationTest(TestCase):
MandatoryOutput = """
FLAMEGPU_AGENT_FUNCTION(MandatoryOutput, MsgNone, MsgNone) {
unsigned int id = FLAMEGPU->getVariable<unsigned int>("id") + 1;
... | 41.206569 | 125 | 0.613789 | 5,089 | 47,676 | 5.572804 | 0.034781 | 0.045487 | 0.047567 | 0.052468 | 0.950882 | 0.946544 | 0.935508 | 0.91964 | 0.919076 | 0.906559 | 0 | 0.024856 | 0.28356 | 47,676 | 1,156 | 126 | 41.242215 | 0.805428 | 0.067036 | 0 | 0.878953 | 0 | 0 | 0.103986 | 0.053121 | 0 | 0 | 0 | 0 | 0.138495 | 1 | 0.025082 | false | 0 | 0.003272 | 0 | 0.047983 | 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 |
86b92bddfa544cc668c3820a74fd60c48ad3add6 | 122 | py | Python | Chapter07/webapp/blog/__init__.py | jayakumardhananjayan/pythonwebtut | a7547473fec5b90a91aea5395131e6eff245b495 | [
"MIT"
] | 135 | 2018-10-31T11:52:35.000Z | 2022-03-23T12:23:04.000Z | Chapter07/webapp/blog/__init__.py | jayakumardhananjayan/pythonwebtut | a7547473fec5b90a91aea5395131e6eff245b495 | [
"MIT"
] | 6 | 2019-03-21T02:04:43.000Z | 2022-03-22T11:07:25.000Z | Chapter07/webapp/blog/__init__.py | jayakumardhananjayan/pythonwebtut | a7547473fec5b90a91aea5395131e6eff245b495 | [
"MIT"
] | 109 | 2018-10-30T22:26:23.000Z | 2022-03-24T14:53:13.000Z |
def create_module(app, **kwargs):
from .controllers import blog_blueprint
app.register_blueprint(blog_blueprint)
| 24.4 | 43 | 0.778689 | 15 | 122 | 6.066667 | 0.733333 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139344 | 122 | 4 | 44 | 30.5 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
86c1fe263062e78c274b9e49e765fa8917dc3242 | 83 | py | Python | models/__init__.py | FaithfulZhening/CNN-FCF-CVPR-2019 | f65f6577feb4a2cdaed3fb60cb14b8840e25e19c | [
"Apache-2.0"
] | 23 | 2019-06-18T22:12:05.000Z | 2021-01-28T00:07:04.000Z | models/__init__.py | FaithfulZhening/CNN-FCF-CVPR-2019 | f65f6577feb4a2cdaed3fb60cb14b8840e25e19c | [
"Apache-2.0"
] | 1 | 2020-07-11T09:27:48.000Z | 2020-07-11T09:27:48.000Z | models/__init__.py | FaithfulZhening/CNN-FCF-CVPR-2019 | f65f6577feb4a2cdaed3fb60cb14b8840e25e19c | [
"Apache-2.0"
] | 5 | 2019-07-18T12:41:24.000Z | 2020-01-07T04:28:01.000Z | from .modules import *
from .ResNet_CIFAR import *
from .ResNet_ImageNet import * | 27.666667 | 30 | 0.771084 | 11 | 83 | 5.636364 | 0.545455 | 0.322581 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 83 | 3 | 30 | 27.666667 | 0.885714 | 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 |
86f53617a33562b6819a3eb44f270b1c7583875d | 180 | py | Python | venv/lib/python3.8/site-packages/arch/compat/pandas.py | johncollinsai/post-high-frequency-data | 88533b0e0afc7e7f82fee1d3ca4b68abc30aaeb4 | [
"MIT"
] | 1 | 2022-03-29T22:12:54.000Z | 2022-03-29T22:12:54.000Z | venv/lib/python3.8/site-packages/arch/compat/pandas.py | johncollinsai/post-high-frequency-data | 88533b0e0afc7e7f82fee1d3ca4b68abc30aaeb4 | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/arch/compat/pandas.py | johncollinsai/post-high-frequency-data | 88533b0e0afc7e7f82fee1d3ca4b68abc30aaeb4 | [
"MIT"
] | null | null | null | try:
from pandas.api.types import is_datetime64_any_dtype
except ImportError:
from pandas.core.common import is_datetime64_any_dtype
__all__ = ["is_datetime64_any_dtype"]
| 25.714286 | 58 | 0.811111 | 26 | 180 | 5.115385 | 0.576923 | 0.270677 | 0.338346 | 0.451128 | 0.390977 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038217 | 0.127778 | 180 | 6 | 59 | 30 | 0.808917 | 0 | 0 | 0 | 0 | 0 | 0.127778 | 0.127778 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d4c73ce834ea9c2756092c34cad52d01b23158e9 | 7,002 | py | Python | src/bindings/python/src/compatibility/ngraph/opset9/__init__.py | artkuli/openvino | eb2fb5bf7df36ae55e3251816999b801ce053335 | [
"Apache-2.0"
] | 1,127 | 2018-10-15T14:36:58.000Z | 2020-04-20T09:29:44.000Z | src/bindings/python/src/compatibility/ngraph/opset9/__init__.py | artkuli/openvino | eb2fb5bf7df36ae55e3251816999b801ce053335 | [
"Apache-2.0"
] | 439 | 2018-10-20T04:40:35.000Z | 2020-04-19T05:56:25.000Z | src/bindings/python/src/compatibility/ngraph/opset9/__init__.py | tuxedcat/openvino | 5939cb1b363ebb56b73c2ad95d8899961a084677 | [
"Apache-2.0"
] | 414 | 2018-10-17T05:53:46.000Z | 2020-04-16T17:29:53.000Z | # Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
from ngraph.opset1.ops import absolute
from ngraph.opset1.ops import absolute as abs
from ngraph.opset1.ops import acos
from ngraph.opset4.ops import acosh
from ngraph.opset8.ops import adaptive_avg_pool
from ngraph.opset8.ops import ada... | 40.241379 | 61 | 0.850614 | 1,154 | 7,002 | 5.060659 | 0.184575 | 0.291096 | 0.257534 | 0.305822 | 0.811815 | 0.318493 | 0.116952 | 0 | 0 | 0 | 0 | 0.030606 | 0.0994 | 7,002 | 173 | 62 | 40.473988 | 0.895496 | 0.010997 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d4e035657d76b65ccbce7224b8997603f44dcd3e | 146 | py | Python | trick_sims/Ball/SIM_ball_L3/RUN_realtime/input.py | iamthad/trick | 88ac5b5990228e42a653347c9d7a103acea4d137 | [
"NASA-1.3"
] | 647 | 2015-05-07T16:08:16.000Z | 2022-03-30T02:33:21.000Z | trick_sims/Ball/SIM_ball_L3/RUN_realtime/input.py | tanglemontree/trick | f182c723495185708434e67789457eb29d52ad58 | [
"NASA-1.3"
] | 995 | 2015-04-30T19:44:31.000Z | 2022-03-31T20:14:44.000Z | trick_sims/Ball/SIM_ball_L3/RUN_realtime/input.py | tanglemontree/trick | f182c723495185708434e67789457eb29d52ad58 | [
"NASA-1.3"
] | 251 | 2015-05-15T09:24:34.000Z | 2022-03-22T20:39:05.000Z |
exec(open("Modified_data/data_record.dr").read())
exec(open("Modified_data/realtime.py").read())
exec(open("Modified_data/graphics.py").read())
| 24.333333 | 49 | 0.739726 | 22 | 146 | 4.727273 | 0.454545 | 0.230769 | 0.461538 | 0.576923 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034247 | 146 | 5 | 50 | 29.2 | 0.737589 | 0 | 0 | 0 | 0 | 0 | 0.541667 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d4ea03fb1fda14870ccd91c1ef3e5d610ab8fef4 | 34,967 | py | Python | tests/unit_test/server/test_ut_server_boot_order.py | CiscoUcs/ucsm_apis | 2537d0aa300adcfb6ebf8baf29c504ce2abe748c | [
"Apache-2.0"
] | 10 | 2017-03-24T13:49:40.000Z | 2021-07-09T15:51:00.000Z | tests/unit_test/server/test_ut_server_boot_order.py | CiscoUcs/ucsm_apis | 2537d0aa300adcfb6ebf8baf29c504ce2abe748c | [
"Apache-2.0"
] | 24 | 2017-03-16T04:49:00.000Z | 2018-06-26T03:17:27.000Z | tests/unit_test/server/test_ut_server_boot_order.py | CiscoUcs/ucsm_apis | 2537d0aa300adcfb6ebf8baf29c504ce2abe748c | [
"Apache-2.0"
] | 17 | 2017-03-01T03:56:02.000Z | 2019-08-08T12:30:52.000Z | from mock import Mock, patch
from nose.tools import assert_raises
from nose.tools import assert_equal
from ucsmsdk.ucshandle import UcsHandle
from ucsmsdk.ucsexception import UcsOperationError
from ucsmsdk.mometa.lsboot.LsbootPolicy import LsbootPolicy
from ucsm_apis.server.boot import *
handle = UcsHandle("10.10.10... | 35.607943 | 150 | 0.623931 | 4,160 | 34,967 | 4.89375 | 0.035577 | 0.046665 | 0.045682 | 0.028294 | 0.945967 | 0.930003 | 0.916839 | 0.898271 | 0.880784 | 0.869584 | 0 | 0.011596 | 0.267538 | 34,967 | 981 | 151 | 35.644241 | 0.783266 | 0.075042 | 0 | 0.772544 | 0 | 0.002692 | 0.249729 | 0.051583 | 0 | 0 | 0 | 0 | 0.086137 | 1 | 0.041723 | false | 0.001346 | 0.009421 | 0 | 0.051144 | 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 |
d4f98d8cdaa089f22c765a2abc3dcb9cd5f6ccab | 1,170 | py | Python | OpenGLCffi/GL/EXT/NV/present_video.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/NV/present_video.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/NV/present_video.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.GL import params
@params(api='gl', prms=['video_slot', 'minPresentTime', 'beginPresentTimeId', 'presentDurationId', 'type', 'target0', 'fill0', 'key0', 'target1', 'fill1', 'key1'])
def glPresentFrameKeyedNV(video_slot, minPresentTime, beginPresentTimeId, presentDurationId, type, target0, fill0, key0, ta... | 36.5625 | 187 | 0.723932 | 131 | 1,170 | 6.374046 | 0.244275 | 0.129341 | 0.134132 | 0.191617 | 0.831138 | 0.802395 | 0.802395 | 0.797605 | 0.797605 | 0.797605 | 0 | 0.030246 | 0.095727 | 1,170 | 31 | 188 | 37.741935 | 0.758979 | 0 | 0 | 0.526316 | 0 | 0 | 0.258562 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0.315789 | 0.052632 | 0 | 0.368421 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
be19281d89c8a83a966de2ab7f697944baf53ace | 773 | py | Python | webUpdates/test.py | PawanDinodia/personalNews | 5c56138b7faeb76cd21f2f4a78e4be23783c92a1 | [
"MIT"
] | null | null | null | webUpdates/test.py | PawanDinodia/personalNews | 5c56138b7faeb76cd21f2f4a78e4be23783c92a1 | [
"MIT"
] | null | null | null | webUpdates/test.py | PawanDinodia/personalNews | 5c56138b7faeb76cd21f2f4a78e4be23783c92a1 | [
"MIT"
] | null | null | null | import sqlite3
conn=sqlite3.connect("webUpdates.db")
crsr=conn.cursor()
query="SELECT * FROM webUpdates WHERE updateTitle='Medical Devices Alert on MiniMed 620G Insulin Pump/Pump Kits & MiniMed 640G Insulin Pump/Pump kit of India Medtronic Ltd' and updateDates='2021-Oct-11' and updateLink='https://cdsco.gov.in/opencms... | 96.625 | 334 | 0.800776 | 117 | 773 | 5.239316 | 0.478632 | 0.071778 | 0.097879 | 0.097879 | 0.792822 | 0.792822 | 0.792822 | 0.792822 | 0.792822 | 0.792822 | 0 | 0.042076 | 0.07762 | 773 | 8 | 335 | 96.625 | 0.817672 | 0.389392 | 0 | 0 | 0 | 0.166667 | 0.719745 | 0.053079 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
07be723b185a635381a45192a18f9bcf712554e9 | 2,801 | py | Python | tests/test_class_oelint_vars_listappend.py | skycaptain/oelint-adv | ff67d3149cf8b1de2b0b2d158a68f4e2cf5e9e46 | [
"BSD-2-Clause"
] | null | null | null | tests/test_class_oelint_vars_listappend.py | skycaptain/oelint-adv | ff67d3149cf8b1de2b0b2d158a68f4e2cf5e9e46 | [
"BSD-2-Clause"
] | null | null | null | tests/test_class_oelint_vars_listappend.py | skycaptain/oelint-adv | ff67d3149cf8b1de2b0b2d158a68f4e2cf5e9e46 | [
"BSD-2-Clause"
] | null | null | null | import pytest
from .base import TestBaseClass
class TestClassOelintVarsListAppend(TestBaseClass):
@pytest.mark.parametrize('id', ['oelint.vars.listappend'])
@pytest.mark.parametrize('occurrence', [1])
@pytest.mark.parametrize('input',
[
{
... | 43.092308 | 88 | 0.287397 | 151 | 2,801 | 5.05298 | 0.291391 | 0.117955 | 0.17038 | 0.196592 | 0.875491 | 0.875491 | 0.875491 | 0.875491 | 0.875491 | 0.875491 | 0 | 0.001871 | 0.618351 | 2,801 | 64 | 89 | 43.765625 | 0.71188 | 0 | 0 | 0.474576 | 0 | 0 | 0.188861 | 0.035702 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033898 | false | 0 | 0.033898 | 0 | 0.084746 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 8 |
07bf9a4936c2f4506e47673917d01db634095ba7 | 7,517 | py | Python | geo_similarity.py | liujtm/semantic_address_matching | 31f71dea84631eb269c2338c753878e3caf2da6e | [
"MIT"
] | null | null | null | geo_similarity.py | liujtm/semantic_address_matching | 31f71dea84631eb269c2338c753878e3caf2da6e | [
"MIT"
] | null | null | null | geo_similarity.py | liujtm/semantic_address_matching | 31f71dea84631eb269c2338c753878e3caf2da6e | [
"MIT"
] | 1 | 2021-10-13T11:22:10.000Z | 2021-10-13T11:22:10.000Z | import distance
from sklearn.feature_extraction.text import CountVectorizer
import numpy as np
# Levenshtein distance
def edit_distance(s1, s2):
return distance.levenshtein(s1, s2)
def Levenshtein_total():
d_sum = 0
count = 0
filename = 'data/preprocess_data/Address84474.txt'
output = 'data/prepro... | 36.490291 | 82 | 0.516695 | 957 | 7,517 | 3.910136 | 0.087774 | 0.025655 | 0.086585 | 0.067344 | 0.812934 | 0.812934 | 0.795297 | 0.795297 | 0.736772 | 0.736505 | 0 | 0.044015 | 0.353199 | 7,517 | 205 | 83 | 36.668293 | 0.725627 | 0.009179 | 0 | 0.75 | 0 | 0 | 0.162816 | 0.115261 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06383 | false | 0 | 0.015957 | 0.010638 | 0.095745 | 0.143617 | 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 |
07d77ae0bcc735b95d79700a02174a4d8c28c987 | 174 | py | Python | backend/views/default.py | gogaz/coach_royale | fc6b9f9021c2470a8bcd8aa27dffef8ec079364c | [
"MIT"
] | 10 | 2018-11-08T08:29:17.000Z | 2021-11-02T11:55:49.000Z | backend/views/default.py | gogaz/coach_royale | fc6b9f9021c2470a8bcd8aa27dffef8ec079364c | [
"MIT"
] | 138 | 2018-09-14T03:47:51.000Z | 2022-02-01T18:33:09.000Z | backend/views/default.py | gogaz/coach_royale | fc6b9f9021c2470a8bcd8aa27dffef8ec079364c | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request, 'application.html')
def manifest(request):
return render(request, 'manifest.json')
| 17.4 | 46 | 0.741379 | 21 | 174 | 6.142857 | 0.619048 | 0.20155 | 0.294574 | 0.403101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 174 | 9 | 47 | 19.333333 | 0.871622 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
07e254b4ba88e6110492245fba1e105253b96a93 | 37,709 | py | Python | api_tests/preprints/views/test_preprint_list.py | listinc/osf.io | b9a0357f3e9b6e905b732e750a16e9452c459d78 | [
"Apache-2.0"
] | null | null | null | api_tests/preprints/views/test_preprint_list.py | listinc/osf.io | b9a0357f3e9b6e905b732e750a16e9452c459d78 | [
"Apache-2.0"
] | null | null | null | api_tests/preprints/views/test_preprint_list.py | listinc/osf.io | b9a0357f3e9b6e905b732e750a16e9452c459d78 | [
"Apache-2.0"
] | null | null | null | import mock
from nose.tools import * # flake8: noqa
import pytest
from addons.github.models import GithubFile
from api.base.settings.defaults import API_BASE
from api_tests import utils as test_utils
from api_tests.preprints.filters.test_filters import PreprintsListFilteringMixin
from api_tests.preprints.views.test_p... | 34.312102 | 117 | 0.613222 | 3,998 | 37,709 | 5.474487 | 0.068534 | 0.038607 | 0.047517 | 0.026134 | 0.804679 | 0.779047 | 0.763467 | 0.747521 | 0.739297 | 0.719742 | 0 | 0.00437 | 0.296083 | 37,709 | 1,098 | 118 | 34.343352 | 0.820185 | 0.000318 | 0 | 0.743287 | 0 | 0 | 0.063404 | 0.016262 | 0 | 0 | 0 | 0 | 0.087003 | 1 | 0.116004 | false | 0 | 0.016112 | 0.061224 | 0.216971 | 0.220193 | 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 |
07e81a67a0746b6303dc66509a4397bf0142b37c | 98,771 | py | Python | tests/python-opcua/opcua/server/standard_address_space/standard_address_space_part10.py | iit-danieli-joint-lab/opcua-modeling-tool | f8c3d940a61334b0e6deda9099844a6b429d7c08 | [
"MIT"
] | 32 | 2018-03-27T12:25:24.000Z | 2022-01-11T21:20:06.000Z | tests/python-opcua/opcua/server/standard_address_space/standard_address_space_part10.py | iit-danieli-joint-lab/opcua-modeling-tool | f8c3d940a61334b0e6deda9099844a6b429d7c08 | [
"MIT"
] | 5 | 2018-04-09T07:35:54.000Z | 2020-03-10T11:04:45.000Z | tests/python-opcua/opcua/server/standard_address_space/standard_address_space_part10.py | iit-danieli-joint-lab/opcua-modeling-tool | f8c3d940a61334b0e6deda9099844a6b429d7c08 | [
"MIT"
] | 12 | 2018-06-04T20:06:06.000Z | 2021-07-02T22:09:53.000Z |
"""
DO NOT EDIT THIS FILE!
It is automatically generated from opcfoundation.org schemas.
"""
from opcua import ua
def create_standard_address_space_Part10(server):
node = ua.AddNodesItem()
node.RequestedNewNodeId = ua.NodeId.from_string("i=2391")
node.BrowseName = ua.QualifiedName.from_string("Pr... | 41.605307 | 146 | 0.706959 | 12,205 | 98,771 | 5.636051 | 0.023105 | 0.12822 | 0.140083 | 0.210124 | 0.972859 | 0.971289 | 0.938754 | 0.929784 | 0.929784 | 0.928243 | 0 | 0.031974 | 0.160249 | 98,771 | 2,373 | 147 | 41.62284 | 0.797367 | 0.00085 | 0 | 0.856455 | 1 | 0.000438 | 0.072924 | 0.007165 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000438 | false | 0 | 0.000438 | 0 | 0.000875 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
07ff827c5dbe4a43c23e9e28b303ddcb09ae629c | 62,669 | py | Python | vitrage/tests/unit/graph/test_graph_algo.py | HoonMinJeongUm/Hunmin-vitrage | 37d43d6b78e8b76fa6a2e83e5c739e9e4917a7b6 | [
"Apache-2.0"
] | null | null | null | vitrage/tests/unit/graph/test_graph_algo.py | HoonMinJeongUm/Hunmin-vitrage | 37d43d6b78e8b76fa6a2e83e5c739e9e4917a7b6 | [
"Apache-2.0"
] | null | null | null | vitrage/tests/unit/graph/test_graph_algo.py | HoonMinJeongUm/Hunmin-vitrage | 37d43d6b78e8b76fa6a2e83e5c739e9e4917a7b6 | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 - Alcatel-Lucent
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 44.4146 | 79 | 0.555043 | 6,757 | 62,669 | 4.813971 | 0.039367 | 0.060532 | 0.038275 | 0.028775 | 0.897411 | 0.872172 | 0.849053 | 0.815267 | 0.783971 | 0.755657 | 0 | 0.005042 | 0.338525 | 62,669 | 1,410 | 80 | 44.446099 | 0.779635 | 0.077471 | 0 | 0.748629 | 0 | 0 | 0.112654 | 0.001555 | 0 | 0 | 0 | 0 | 0.063071 | 1 | 0.007313 | false | 0 | 0.010969 | 0 | 0.019196 | 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 |
ed3eda028bd27771548d7a5ef003c2f5a541185c | 7,700 | py | Python | identify/metric_utils.py | TBiele/covid19-misinformation-telegram | 90ce38ef7061f019ddd096a5feadbd16910ab677 | [
"Apache-2.0"
] | 3 | 2021-11-26T23:13:13.000Z | 2022-03-10T02:33:36.000Z | identify/metric_utils.py | TBiele/covid19-misinformation-telegram | 90ce38ef7061f019ddd096a5feadbd16910ab677 | [
"Apache-2.0"
] | null | null | null | identify/metric_utils.py | TBiele/covid19-misinformation-telegram | 90ce38ef7061f019ddd096a5feadbd16910ab677 | [
"Apache-2.0"
] | 2 | 2022-02-16T11:06:47.000Z | 2022-03-09T12:04:56.000Z |
from collections import defaultdict
import numpy as np
import torch
def get_predictions(logits, threshold):
predictions = (logits.gt(threshold)).long()
return predictions
def compute_f1(logits, labels, threshold):
# [num_examples, num_misinfo]
predictions = get_predictions(logits, threshold)
# label is posit... | 28.205128 | 123 | 0.708312 | 1,355 | 7,700 | 3.700369 | 0.079705 | 0.030515 | 0.029916 | 0.020742 | 0.825688 | 0.776227 | 0.763263 | 0.746709 | 0.741923 | 0.741923 | 0 | 0.01452 | 0.168182 | 7,700 | 272 | 124 | 28.308824 | 0.768306 | 0.03039 | 0 | 0.705882 | 0 | 0 | 0.000536 | 0 | 0 | 0 | 0 | 0.003676 | 0 | 1 | 0.033613 | false | 0 | 0.012605 | 0 | 0.079832 | 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 |
ed87a9bea71b84b15f2ca3751d83db02fef9ca92 | 186,615 | py | Python | raffy/wigner3j.py | ClaudioZeni/Raffy | 50817af872f84c946a956c86aaa8bf352bd74fce | [
"Apache-2.0"
] | null | null | null | raffy/wigner3j.py | ClaudioZeni/Raffy | 50817af872f84c946a956c86aaa8bf352bd74fce | [
"Apache-2.0"
] | null | null | null | raffy/wigner3j.py | ClaudioZeni/Raffy | 50817af872f84c946a956c86aaa8bf352bd74fce | [
"Apache-2.0"
] | null | null | null | import numpy as np
# Wigner 3j coefficients generated for l = 1, 2, 3, 4 using sthe following code snippet:
# from sympy.physics.wigner import wigner_3j
# l_max = whatever
# m_max = 2*l_max-1
# w = np.zeros((l_max, l_max, l_max, m_max, m_max, m_max))
# for l1 in range(l_max):
# for l2 in range(l_max):
# ... | 40.22742 | 112 | 0.163304 | 26,250 | 186,615 | 1.16019 | 0.00259 | 1.639074 | 2.401379 | 3.126055 | 0.991463 | 0.988672 | 0.988672 | 0.988672 | 0.988376 | 0.988376 | 0 | 0.330398 | 0.511299 | 186,615 | 4,639 | 113 | 40.22742 | 0.003542 | 0.002883 | 0 | 0.953165 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000257 | 0 | 0.000257 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
71f7906923b17c3284fcb1a2e09309575ff1b3fa | 268 | py | Python | tests/basics/types3.py | MakeItZone/circuitpython | 7f803c0b51c333210ed267502422ed7bb28b9be7 | [
"Unlicense",
"BSD-3-Clause",
"MIT-0",
"MIT"
] | 3,010 | 2017-01-07T23:43:33.000Z | 2022-03-31T06:02:59.000Z | tests/basics/types3.py | MakeItZone/circuitpython | 7f803c0b51c333210ed267502422ed7bb28b9be7 | [
"Unlicense",
"BSD-3-Clause",
"MIT-0",
"MIT"
] | 4,478 | 2017-01-06T01:35:02.000Z | 2022-03-31T23:03:27.000Z | tests/basics/types3.py | MakeItZone/circuitpython | 7f803c0b51c333210ed267502422ed7bb28b9be7 | [
"Unlicense",
"BSD-3-Clause",
"MIT-0",
"MIT"
] | 1,149 | 2017-01-09T00:35:23.000Z | 2022-03-31T21:24:29.000Z | try:
type('abc', None, None)
except TypeError:
print(True)
else:
print(False)
try:
type('abc', (), None)
except TypeError:
print(True)
else:
print(False)
try:
type('abc', (1,), {})
except TypeError:
print(True)
else:
print(False)
| 12.761905 | 27 | 0.585821 | 34 | 268 | 4.617647 | 0.323529 | 0.133758 | 0.191083 | 0.458599 | 0.904459 | 0.904459 | 0.904459 | 0.66242 | 0.66242 | 0.66242 | 0 | 0.004926 | 0.242537 | 268 | 20 | 28 | 13.4 | 0.768473 | 0 | 0 | 0.833333 | 0 | 0 | 0.033582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9c1d5af45424a8d3d0f2082153697b422d15ffb0 | 2,504 | py | Python | tests/path/lvm_path_spec.py | Acidburn0zzz/dfvfs | 3db8c4e520e3e7527faffeea8f52187c861fa3b6 | [
"Apache-2.0"
] | 1 | 2019-08-28T23:47:16.000Z | 2019-08-28T23:47:16.000Z | tests/path/lvm_path_spec.py | Acidburn0zzz/dfvfs | 3db8c4e520e3e7527faffeea8f52187c861fa3b6 | [
"Apache-2.0"
] | null | null | null | tests/path/lvm_path_spec.py | Acidburn0zzz/dfvfs | 3db8c4e520e3e7527faffeea8f52187c861fa3b6 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for the LVM path specification implementation."""
from __future__ import unicode_literals
import unittest
from dfvfs.path import lvm_path_spec
from tests.path import test_lib
class LVMPathSpecTest(test_lib.PathSpecTestCase):
"""Tests for the LVM path specif... | 25.814433 | 65 | 0.692492 | 294 | 2,504 | 5.602041 | 0.187075 | 0.194293 | 0.073467 | 0.133576 | 0.835458 | 0.800243 | 0.800243 | 0.745598 | 0.738312 | 0.667881 | 0 | 0.006426 | 0.192093 | 2,504 | 96 | 66 | 26.083333 | 0.807711 | 0.097045 | 0 | 0.714286 | 0 | 0 | 0.082626 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.035714 | false | 0 | 0.071429 | 0 | 0.125 | 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 |
9c2ca988722691ce331da2b7ff1a47407a606f8d | 19,879 | py | Python | memsource_cli/api/sub_domain_api.py | unofficial-memsource/memsource-cli-client | a6639506b74e95476da87f4375953448b76ea90c | [
"Apache-2.0"
] | 16 | 2019-09-25T00:20:38.000Z | 2021-05-04T05:56:10.000Z | memsource_cli/api/sub_domain_api.py | zerodayz/memsource-cli-client | c2574f1467539a49e6637c874e88d75c7ef789b3 | [
"Apache-2.0"
] | 26 | 2019-09-30T14:00:03.000Z | 2021-05-12T11:15:18.000Z | memsource_cli/api/sub_domain_api.py | zerodayz/memsource-cli-client | c2574f1467539a49e6637c874e88d75c7ef789b3 | [
"Apache-2.0"
] | 1 | 2021-05-24T16:19:14.000Z | 2021-05-24T16:19:14.000Z | # coding: utf-8
"""
Memsource REST API
Welcome to Memsource's API documentation. To view our legacy APIs please [visit our documentation](https://wiki.memsource.com/wiki/Memsource_API) and for more information about our new APIs, [visit our blog](https://www.memsource.com/blog/2017/10/24/introducing-rest-apis... | 38.228846 | 421 | 0.609437 | 2,336 | 19,879 | 4.911815 | 0.087329 | 0.054384 | 0.043141 | 0.031375 | 0.916594 | 0.909012 | 0.898815 | 0.885219 | 0.885219 | 0.871361 | 0 | 0.020122 | 0.300015 | 19,879 | 519 | 422 | 38.302505 | 0.804456 | 0.318829 | 0 | 0.774545 | 0 | 0.010909 | 0.201125 | 0.034458 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.014545 | 0 | 0.112727 | 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 |
9c5662975828e0ee5833b7e7bc4697412aae95b3 | 8,366 | py | Python | tests/lib/fake_route53.py | cloud-gov/domain-broker | d1161cecd971202cb10449a29fedb83ef3cd83b0 | [
"CC0-1.0"
] | 5 | 2020-04-28T01:40:43.000Z | 2021-03-27T21:34:14.000Z | tests/lib/fake_route53.py | cloud-gov/external-domain-broker | 7136ac0c10f5950315b77eddca60512129d4078d | [
"CC0-1.0"
] | 124 | 2020-04-23T20:24:15.000Z | 2022-02-28T16:59:34.000Z | tests/lib/fake_route53.py | cloud-gov/domain-broker | d1161cecd971202cb10449a29fedb83ef3cd83b0 | [
"CC0-1.0"
] | 1 | 2020-06-10T02:43:21.000Z | 2020-06-10T02:43:21.000Z | from datetime import datetime, timezone
import pytest
from broker.aws import route53 as real_route53
from tests.lib.fake_aws import FakeAWS
class FakeRoute53(FakeAWS):
def expect_create_TXT_and_return_change_id(self, domain) -> str:
change_id = f"{domain} ID"
self.stubber.add_response(
... | 37.182222 | 100 | 0.351661 | 479 | 8,366 | 5.887265 | 0.19833 | 0.051064 | 0.08617 | 0.057447 | 0.823759 | 0.811702 | 0.787234 | 0.787234 | 0.739362 | 0.739362 | 0 | 0.007521 | 0.554984 | 8,366 | 224 | 101 | 37.348214 | 0.749933 | 0 | 0 | 0.545024 | 0 | 0 | 0.188979 | 0.019364 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042654 | false | 0 | 0.018957 | 0 | 0.080569 | 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 |
9c5e209987df025114cde6772f5db7e4bb0f0330 | 6,051 | py | Python | otsdc/rest/resources/account.py | masaar/unifonic-sdk | 438e94de20cc657fd25ec7c38c979188fe96bdf4 | [
"MIT"
] | null | null | null | otsdc/rest/resources/account.py | masaar/unifonic-sdk | 438e94de20cc657fd25ec7c38c979188fe96bdf4 | [
"MIT"
] | null | null | null | otsdc/rest/resources/account.py | masaar/unifonic-sdk | 438e94de20cc657fd25ec7c38c979188fe96bdf4 | [
"MIT"
] | null | null | null | import requests
from otsdc.url.url_creator import AccountUrl
from otsdc.rest.resources import resources_properties
from otsdc.rest.model.response_model import ResponseStatus, Balance, SenderID, SenderList
class AccountResource:
__appSid = ''
__accountUrl = None
payload = None
def __init__(self, a... | 44.167883 | 114 | 0.63097 | 547 | 6,051 | 6.855576 | 0.131627 | 0.0672 | 0.082133 | 0.0616 | 0.835733 | 0.835733 | 0.835733 | 0.835733 | 0.835733 | 0.835733 | 0 | 0.004764 | 0.271525 | 6,051 | 137 | 115 | 44.167883 | 0.845962 | 0 | 0 | 0.754098 | 0 | 0 | 0.07386 | 0.038169 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07377 | false | 0 | 0.032787 | 0 | 0.196721 | 0.057377 | 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 |
92ddd5046d73486d862dca402db4ca9c3f48cf1b | 5,816 | py | Python | tests/test_rotation_pyfect.py | UBC-MDS/picturepyfect | 0a9e292cdb6b974edb94b6c3d4e30964276e7ffb | [
"MIT"
] | null | null | null | tests/test_rotation_pyfect.py | UBC-MDS/picturepyfect | 0a9e292cdb6b974edb94b6c3d4e30964276e7ffb | [
"MIT"
] | 27 | 2021-02-25T23:25:52.000Z | 2021-03-26T06:55:13.000Z | tests/test_rotation_pyfect.py | UBC-MDS/DSCI_524_Group_2 | 0a9e292cdb6b974edb94b6c3d4e30964276e7ffb | [
"MIT"
] | 4 | 2021-02-26T06:44:32.000Z | 2021-07-19T21:16:56.000Z | from picturepyfect.rotate_pyfect import rotate_pyfect
import numpy as np
import pytest
# Generate random images for testing
np.random.seed(42)
test_image = np.random.rand(3, 4, 5)
test_image_2d = np.random.rand(2, 2)
test_image_1 = rotate_pyfect(test_image, 1)
test_image_2 = rotate_pyfect(test_image, 2)
test_image_3 =... | 38.263158 | 70 | 0.578748 | 848 | 5,816 | 3.726415 | 0.069575 | 0.318987 | 0.205063 | 0.290506 | 0.833544 | 0.781329 | 0.758861 | 0.735443 | 0.678797 | 0.659177 | 0 | 0.071891 | 0.203576 | 5,816 | 151 | 71 | 38.516556 | 0.61032 | 0.031465 | 0 | 0.458015 | 1 | 0 | 0.001244 | 0 | 0 | 0 | 0 | 0 | 0.358779 | 1 | 0.030534 | false | 0 | 0.022901 | 0 | 0.053435 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
92e3b4ac1bc05524e07d7af497fff5acf9dac5f6 | 123 | py | Python | FirstStepsInPython/Fundamentals/Exercice/Functions/01. Smallest of Three Numbers.py | Pittor052/SoftUni-Studies | 1ee6341082f6ccfa45b3e82824c37722bcf2fb31 | [
"MIT"
] | null | null | null | FirstStepsInPython/Fundamentals/Exercice/Functions/01. Smallest of Three Numbers.py | Pittor052/SoftUni-Studies | 1ee6341082f6ccfa45b3e82824c37722bcf2fb31 | [
"MIT"
] | null | null | null | FirstStepsInPython/Fundamentals/Exercice/Functions/01. Smallest of Three Numbers.py | Pittor052/SoftUni-Studies | 1ee6341082f6ccfa45b3e82824c37722bcf2fb31 | [
"MIT"
] | 1 | 2021-10-07T18:30:42.000Z | 2021-10-07T18:30:42.000Z | import timeit
def smallest(a, b, c):
return min(a, b, c)
print(smallest(int(input()), int(input()), int(input())))
| 13.666667 | 57 | 0.609756 | 20 | 123 | 3.75 | 0.6 | 0.32 | 0.08 | 0.426667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 123 | 8 | 58 | 15.375 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
92e68cffca3f16035da9e32a2c73b0d0149059a5 | 25,581 | py | Python | irrd/utils/tests/test_email.py | troy2914/irrd4 | 3e1391c40096b2f3fd0ffa606919789e79ec8a78 | [
"BSD-2-Clause"
] | null | null | null | irrd/utils/tests/test_email.py | troy2914/irrd4 | 3e1391c40096b2f3fd0ffa606919789e79ec8a78 | [
"BSD-2-Clause"
] | null | null | null | irrd/utils/tests/test_email.py | troy2914/irrd4 | 3e1391c40096b2f3fd0ffa606919789e79ec8a78 | [
"BSD-2-Clause"
] | null | null | null | # flake8: noqa: W291, W293
import pytest
import textwrap
from unittest.mock import Mock
from irrd.conf import get_setting
from ..email import EmailParser, send_email
class TestEmailParser:
# These tests do not mock utils.pgp.validate_pgp_signature, and have quite
# some overlap with the tests for that part.... | 44.957821 | 280 | 0.685079 | 2,637 | 25,581 | 6.578309 | 0.12135 | 0.037125 | 0.012798 | 0.015853 | 0.892546 | 0.881997 | 0.86868 | 0.859976 | 0.849369 | 0.844872 | 0 | 0.132958 | 0.223213 | 25,581 | 568 | 281 | 45.036972 | 0.739973 | 0.01204 | 0 | 0.846311 | 0 | 0.055328 | 0.834323 | 0.368123 | 0 | 0 | 0 | 0 | 0.07377 | 1 | 0.026639 | false | 0 | 0.010246 | 0 | 0.040984 | 0.032787 | 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 |
92f80008ac553c0efd17a4b782dd2c8364490d1a | 11,032 | py | Python | GA_bin_lib.py | nvejkan/GAbin | a12fc9835fb95378f1546190115abce8c769ed44 | [
"MIT"
] | null | null | null | GA_bin_lib.py | nvejkan/GAbin | a12fc9835fb95378f1546190115abce8c769ed44 | [
"MIT"
] | null | null | null | GA_bin_lib.py | nvejkan/GAbin | a12fc9835fb95378f1546190115abce8c769ed44 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed Apr 10 14:25:23 2019
@author: Asus
"""
import numpy as np
#load data
import pandas as pd
import matplotlib.pyplot as plt
def rand_max20(len_x):
len_x = len_x - 1 # n unique values, n-1 cutpoints
if len_x > 20:
a = np.random.randint(low=0,hig... | 38.041379 | 105 | 0.555022 | 1,867 | 11,032 | 3.02196 | 0.091591 | 0.023928 | 0.028713 | 0.039171 | 0.856079 | 0.835874 | 0.82843 | 0.809996 | 0.790854 | 0.790854 | 0 | 0.034456 | 0.308104 | 11,032 | 289 | 106 | 38.17301 | 0.704703 | 0.07723 | 0 | 0.722222 | 0 | 0 | 0.017364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.013889 | 0.009259 | 0.101852 | 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 |
92f84298ed5925dfc2d2af529db0164ceb538127 | 1,981 | py | Python | test.py | luyang1210/Mondrian-python | 94f813ac923efa168549666d073782fb215d1be1 | [
"MIT"
] | 4 | 2018-08-22T17:48:55.000Z | 2022-02-07T13:59:43.000Z | test.py | luyang1210/Mondrian-python | 94f813ac923efa168549666d073782fb215d1be1 | [
"MIT"
] | null | null | null | test.py | luyang1210/Mondrian-python | 94f813ac923efa168549666d073782fb215d1be1 | [
"MIT"
] | null | null | null | import unittest
from mondrian import mondrian
class functionTest(unittest.TestCase):
def test1_mondrian_strict(self):
data = [[6, 1, 'haha'],
[6, 1, 'test'],
[8, 2, 'haha'],
[8, 2, 'test'],
[4, 1, 'hha'],
[4, 2, 'hha'],
... | 29.567164 | 61 | 0.38213 | 233 | 1,981 | 3.128755 | 0.180258 | 0.065844 | 0.049383 | 0.057613 | 0.828532 | 0.806584 | 0.806584 | 0.73251 | 0.73251 | 0.73251 | 0 | 0.106594 | 0.441191 | 1,981 | 66 | 62 | 30.015152 | 0.551942 | 0.051994 | 0 | 0.784314 | 0 | 0 | 0.068486 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 1 | 0.078431 | false | 0 | 0.039216 | 0 | 0.137255 | 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 |
133eec8ed69f13391ecc6596e4a29d193cc17d6c | 3,517 | py | Python | polaris/polaris/migrations/0006_auto_20200129_2323.py | paysharesdev/django-polaris | cbbebed5623a92074071f59f4bca65e2b1c6571b | [
"Apache-2.0"
] | null | null | null | polaris/polaris/migrations/0006_auto_20200129_2323.py | paysharesdev/django-polaris | cbbebed5623a92074071f59f4bca65e2b1c6571b | [
"Apache-2.0"
] | null | null | null | polaris/polaris/migrations/0006_auto_20200129_2323.py | paysharesdev/django-polaris | cbbebed5623a92074071f59f4bca65e2b1c6571b | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.2.9 on 2020-01-29 23:23
import decimal
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("polaris", "0005_auto_20200121_1852"),
]
operations = [
migrations.AlterField(
model... | 31.972727 | 86 | 0.522604 | 312 | 3,517 | 5.705128 | 0.192308 | 0.134831 | 0.168539 | 0.195506 | 0.870225 | 0.870225 | 0.848876 | 0.827528 | 0.802247 | 0.802247 | 0 | 0.035649 | 0.377879 | 3,517 | 109 | 87 | 32.266055 | 0.777879 | 0.012795 | 0 | 0.796117 | 1 | 0 | 0.086455 | 0.025072 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029126 | 0 | 0.058252 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
13969cdba6d67bbff19e526dbab6438d9fc5ab5c | 233 | py | Python | problem_15.py | coderistan/projecteuler | d030a7e405d437502a6a8c4997e809781ad6302b | [
"MIT"
] | null | null | null | problem_15.py | coderistan/projecteuler | d030a7e405d437502a6a8c4997e809781ad6302b | [
"MIT"
] | null | null | null | problem_15.py | coderistan/projecteuler | d030a7e405d437502a6a8c4997e809781ad6302b | [
"MIT"
] | null | null | null | # coding: utf-8
# http://mathforum.org/advanced/robertd/manhattan.html
import math
def solution(dimension):
return math.factorial(dimension+dimension) / (math.factorial(dimension)*math.factorial(dimension))
print(solution(20)) | 25.888889 | 102 | 0.772532 | 29 | 233 | 6.206897 | 0.655172 | 0.216667 | 0.366667 | 0.344444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.085837 | 233 | 9 | 103 | 25.888889 | 0.830986 | 0.283262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
13de3d4266068be4c5bf539c417a62e9c89d5368 | 2,998 | py | Python | src/aws_environments/migrations/0027_auto_20200423_1352.py | chiliseed/hub | 83f29fbdd12e2260397e18e635f508459fa4990e | [
"Apache-2.0"
] | null | null | null | src/aws_environments/migrations/0027_auto_20200423_1352.py | chiliseed/hub | 83f29fbdd12e2260397e18e635f508459fa4990e | [
"Apache-2.0"
] | 4 | 2021-04-08T20:10:15.000Z | 2021-06-10T20:18:17.000Z | src/aws_environments/migrations/0027_auto_20200423_1352.py | chiliseed/hub | 83f29fbdd12e2260397e18e635f508459fa4990e | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.0.2 on 2020-04-23 13:52
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("aws_environments", "0026_auto_20200423_1102"),
]
operations = [
migrations.AddField(
model_name="environment",
name=... | 30.282828 | 56 | 0.548032 | 251 | 2,998 | 6.394422 | 0.195219 | 0.190654 | 0.243614 | 0.285981 | 0.897196 | 0.897196 | 0.781931 | 0.781931 | 0.752025 | 0.752025 | 0 | 0.015696 | 0.341227 | 2,998 | 98 | 57 | 30.591837 | 0.796962 | 0.01501 | 0 | 0.913043 | 1 | 0 | 0.138258 | 0.007794 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.01087 | 0 | 0.043478 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 10 |
b97c087e8960a10608b3ca3cf87252ce95dff0ff | 105 | py | Python | suricate/base/__init__.py | ogierpaul/suricate | fd43627e5d2a92fe4bf7b562f65ab89ec07ee49c | [
"MIT"
] | 1 | 2019-06-04T22:11:21.000Z | 2019-06-04T22:11:21.000Z | suricate/base/__init__.py | ogierpaul/wookie | fd43627e5d2a92fe4bf7b562f65ab89ec07ee49c | [
"MIT"
] | 4 | 2020-03-31T03:52:32.000Z | 2020-04-20T20:17:13.000Z | suricate/base/__init__.py | ogierpaul/wookie | fd43627e5d2a92fe4bf7b562f65ab89ec07ee49c | [
"MIT"
] | 1 | 2020-04-18T08:51:17.000Z | 2020-04-18T08:51:17.000Z | from suricate.base.connector import ConnectorMixin
from suricate.base.connector import multiindex21column | 52.5 | 54 | 0.895238 | 12 | 105 | 7.833333 | 0.583333 | 0.255319 | 0.340426 | 0.531915 | 0.659574 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.066667 | 105 | 2 | 54 | 52.5 | 0.938776 | 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 |
b98ec773bbe37673f35538a14ed1cafe394d26e0 | 14,619 | py | Python | mypy/visitor.py | evinism/mypy | d87d468ee80908a865c388a7743c84c1f5c917d7 | [
"PSF-2.0"
] | 12,496 | 2016-02-19T13:38:26.000Z | 2022-03-31T23:56:19.000Z | mypy/visitor.py | evinism/mypy | d87d468ee80908a865c388a7743c84c1f5c917d7 | [
"PSF-2.0"
] | 9,429 | 2016-02-19T13:41:32.000Z | 2022-03-31T23:29:38.000Z | mypy/visitor.py | Zeckie/baselinedmypy | 142c896a7ec0a10697375833fd897b293a748699 | [
"PSF-2.0"
] | 2,770 | 2016-02-19T16:18:19.000Z | 2022-03-31T08:12:49.000Z | """Generic abstract syntax tree node visitor"""
from abc import abstractmethod
from typing import TypeVar, Generic
from typing_extensions import TYPE_CHECKING
from mypy_extensions import trait, mypyc_attr
if TYPE_CHECKING:
# break import cycle only needed for mypy
import mypy.nodes
T = TypeVar('T')
@trait... | 25.874336 | 91 | 0.633491 | 1,855 | 14,619 | 4.82372 | 0.126685 | 0.147854 | 0.146848 | 0.228431 | 0.883996 | 0.794367 | 0.775257 | 0.775257 | 0.769781 | 0.769781 | 0 | 0 | 0.24605 | 14,619 | 564 | 92 | 25.920213 | 0.811831 | 0.046994 | 0 | 0.947507 | 0 | 0 | 0.224926 | 0.119951 | 0 | 0 | 0 | 0.003546 | 0.005249 | 1 | 0.383202 | false | 0.388451 | 0.028871 | 0 | 0.419948 | 0.005249 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
b99c8ea54da2e6941c384ea30258e74362001292 | 640 | py | Python | RAP_scripts/csv_to_txt.py | Ehsan-Yaghoubi/AttGAN-Tensorflow | 631beeb546a4341d652fd835b43fe869e765e85a | [
"MIT"
] | null | null | null | RAP_scripts/csv_to_txt.py | Ehsan-Yaghoubi/AttGAN-Tensorflow | 631beeb546a4341d652fd835b43fe869e765e85a | [
"MIT"
] | null | null | null | RAP_scripts/csv_to_txt.py | Ehsan-Yaghoubi/AttGAN-Tensorflow | 631beeb546a4341d652fd835b43fe869e765e85a | [
"MIT"
] | null | null | null | import csv
csv_file = "TEST_RAP_pandas_frame_data_format_1.csv"
txt_file = "TEST_RAP_pandas_frame_data_format_1.txt"
with open(txt_file, "w") as my_output_file:
with open(csv_file, "r") as my_input_file:
[ my_output_file.write(" ".join(row)+'\n') for row in csv.reader(my_input_file)]
my_output_file.clos... | 42.666667 | 88 | 0.745313 | 116 | 640 | 3.663793 | 0.241379 | 0.112941 | 0.169412 | 0.169412 | 0.964706 | 0.964706 | 0.964706 | 0.964706 | 0.903529 | 0.738824 | 0 | 0.007181 | 0.129688 | 640 | 14 | 89 | 45.714286 | 0.755835 | 0 | 0 | 0.615385 | 0 | 0 | 0.2625 | 0.246875 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 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 |
b9adba6cd688a4e5402205fee0cf8f30444495b8 | 257,154 | py | Python | sdk/python/pulumi_azure_native/network/v20160330/_inputs.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/network/v20160330/_inputs.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/network/v20160330/_inputs.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** 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 _utilities
fro... | 43.306501 | 555 | 0.666554 | 30,733 | 257,154 | 5.418247 | 0.021508 | 0.10391 | 0.11296 | 0.072929 | 0.926963 | 0.880536 | 0.836613 | 0.781677 | 0.754665 | 0.718729 | 0 | 0.000737 | 0.229279 | 257,154 | 5,937 | 556 | 43.313795 | 0.839445 | 0.265848 | 0 | 0.698762 | 1 | 0 | 0.13137 | 0.052057 | 0 | 0 | 0 | 0 | 0 | 1 | 0.203026 | false | 0.002201 | 0.001651 | 0.000825 | 0.312792 | 0.002201 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b9b4360eaf5049d27b7ef6b901433ba0e6cf5505 | 86 | py | Python | tests/functions.py | andybrice/Pypework | d71c46cd0dfb41660f776ce8d435bb6893466c25 | [
"MIT"
] | 3 | 2019-07-25T09:31:14.000Z | 2021-07-11T10:33:27.000Z | tests/functions.py | andybrice/pypework | d71c46cd0dfb41660f776ce8d435bb6893466c25 | [
"MIT"
] | null | null | null | tests/functions.py | andybrice/pypework | d71c46cd0dfb41660f776ce8d435bb6893466c25 | [
"MIT"
] | null | null | null | def increment(x): return x + 1
def double(x): return x + x
def add(a,b): return a + b
| 21.5 | 30 | 0.639535 | 19 | 86 | 2.894737 | 0.473684 | 0.254545 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.209302 | 86 | 3 | 31 | 28.666667 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
b9fc79061f62d460521ee532f0e92316c0e24127 | 31,025 | py | Python | tests/test_metered_mode_on_hw.py | Accelize/drm | 081ef761de50b526523b692c3a8decf290714ed0 | [
"Apache-2.0"
] | 4 | 2021-02-21T09:11:50.000Z | 2021-11-29T02:34:07.000Z | tests/test_metered_mode_on_hw.py | Accelize/drm | 081ef761de50b526523b692c3a8decf290714ed0 | [
"Apache-2.0"
] | null | null | null | tests/test_metered_mode_on_hw.py | Accelize/drm | 081ef761de50b526523b692c3a8decf290714ed0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Test metering and floating behaviors of DRM Library.
"""
import pytest
from time import sleep
from random import randint, choice
from datetime import datetime, timedelta
from re import search, findall
from os.path import realpath, isfile
from tests.conftest import wait_deadline, wait_func_t... | 41.03836 | 164 | 0.689057 | 3,866 | 31,025 | 5.222969 | 0.061821 | 0.087163 | 0.081121 | 0.051506 | 0.895206 | 0.870097 | 0.846969 | 0.829784 | 0.785806 | 0.755992 | 0 | 0.009639 | 0.217534 | 31,025 | 755 | 165 | 41.092715 | 0.822129 | 0.051668 | 0 | 0.831563 | 0 | 0 | 0.118523 | 0.017558 | 0 | 0 | 0 | 0 | 0.24431 | 1 | 0.019727 | false | 0 | 0.010622 | 0 | 0.030349 | 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 |
6a13bd981c33c753e693ff8cd48a9df0c11f51b6 | 3,367 | py | Python | jdaviz/configs/mosviz/tests/test_source_identifier_extract.py | check-spelling/jdaviz | bfd0514d13bdc6fa0b8c8536a603293409270337 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | jdaviz/configs/mosviz/tests/test_source_identifier_extract.py | check-spelling/jdaviz | bfd0514d13bdc6fa0b8c8536a603293409270337 | [
"MIT",
"BSD-3-Clause"
] | 3 | 2021-05-06T13:03:37.000Z | 2021-12-02T14:51:48.000Z | jdaviz/configs/mosviz/tests/test_source_identifier_extract.py | rosteen/jdaviz | e02c08d68ef71c5e40600785f46e65e5ae95e236 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2021-12-27T04:24:34.000Z | 2021-12-27T04:24:34.000Z | from astropy.io.fits import PrimaryHDU
from ..plugins.parsers import _get_source_identifiers_by_hdu, FALLBACK_NAME
def test_SOURCEID():
hdu = PrimaryHDU()
hdu.header['SOURCEID'] = 'Target 1 SOURCEID'
assert _get_source_identifiers_by_hdu([hdu]) == ['Target 1 SOURCEID']
hdu2 = PrimaryHDU()
hdu2.he... | 38.261364 | 100 | 0.626374 | 400 | 3,367 | 4.9575 | 0.095 | 0.060514 | 0.181543 | 0.199697 | 0.824508 | 0.79526 | 0.776097 | 0.747857 | 0.687342 | 0.687342 | 0 | 0.021493 | 0.239976 | 3,367 | 87 | 101 | 38.701149 | 0.753419 | 0 | 0 | 0.53125 | 0 | 0 | 0.239976 | 0.034749 | 0 | 0 | 0 | 0 | 0.265625 | 1 | 0.140625 | false | 0 | 0.03125 | 0 | 0.171875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6a2a02823e2b5c1ef028ec0b45ab94a84021f610 | 8,208 | py | Python | blog_pro/wp-content/themes/ngi/iearn_tech_new-prod/iearn_tech_new/materials.py | TheSilentNoise/NexGenSetup | 972a29dc7dfb54d59a1d458387c6804b27435097 | [
"Apache-2.0"
] | null | null | null | blog_pro/wp-content/themes/ngi/iearn_tech_new-prod/iearn_tech_new/materials.py | TheSilentNoise/NexGenSetup | 972a29dc7dfb54d59a1d458387c6804b27435097 | [
"Apache-2.0"
] | null | null | null | blog_pro/wp-content/themes/ngi/iearn_tech_new-prod/iearn_tech_new/materials.py | TheSilentNoise/NexGenSetup | 972a29dc7dfb54d59a1d458387c6804b27435097 | [
"Apache-2.0"
] | null | null | null | from flask import render_template,redirect,url_for,abort
from app import app
from models import *
from sqlalchemy import desc
from flask_login import login_required,current_user
####################################### course materials #######################################
############ python basics
@login_require... | 28.8 | 97 | 0.75 | 983 | 8,208 | 6.007121 | 0.063072 | 0.078239 | 0.078239 | 0.113802 | 0.813717 | 0.759695 | 0.731414 | 0.717697 | 0.70127 | 0.681964 | 0 | 0.000961 | 0.112451 | 8,208 | 285 | 98 | 28.8 | 0.809609 | 0.011818 | 0 | 0.48731 | 0 | 0 | 0.280475 | 0.24216 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162437 | true | 0 | 0.025381 | 0 | 0.51269 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
6a44d96462df021a546a724ac9a219fd1561e94a | 102 | py | Python | asana/resources/webhooks.py | shubhamdipt/python-asana | 8e05328fe8605638128be9fce449fbd34a646e01 | [
"MIT"
] | null | null | null | asana/resources/webhooks.py | shubhamdipt/python-asana | 8e05328fe8605638128be9fce449fbd34a646e01 | [
"MIT"
] | null | null | null | asana/resources/webhooks.py | shubhamdipt/python-asana | 8e05328fe8605638128be9fce449fbd34a646e01 | [
"MIT"
] | null | null | null |
from .gen.webhooks import _Webhooks
class Webhooks(_Webhooks):
"""Webhooks resource"""
pass
| 14.571429 | 35 | 0.705882 | 11 | 102 | 6.363636 | 0.636364 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186275 | 102 | 6 | 36 | 17 | 0.843373 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
dbecf0c9c8995e4636b70f5c8f207a23f0c2fcd6 | 44,257 | py | Python | tests/unit/gapic/v1/test_security_center_client_v1.py | tdh911/python-securitycenter | 54263c36adc26549933e0e9b1b8055b69eb81489 | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/v1/test_security_center_client_v1.py | tdh911/python-securitycenter | 54263c36adc26549933e0e9b1b8055b69eb81489 | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/v1/test_security_center_client_v1.py | tdh911/python-securitycenter | 54263c36adc26549933e0e9b1b8055b69eb81489 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright 2020 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 37.474174 | 88 | 0.668324 | 4,369 | 44,257 | 6.493706 | 0.058366 | 0.063234 | 0.022699 | 0.032427 | 0.890064 | 0.859998 | 0.821014 | 0.808748 | 0.776532 | 0.768778 | 0 | 0.02319 | 0.253632 | 44,257 | 1,180 | 89 | 37.505932 | 0.835705 | 0.061414 | 0 | 0.716312 | 0 | 0 | 0.102944 | 0.064467 | 0 | 0 | 0 | 0 | 0.088652 | 1 | 0.059102 | false | 0.003546 | 0.020095 | 0.001182 | 0.086288 | 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 |
dbfc0b9f79b944a624ed1d09219a8584104df482 | 440 | py | Python | RLE/RLE_pde/ImagesData.py | shirogin/Multimedia | ca685c29c617e8eb2aa0ceb3f46e945712b26c72 | [
"MIT"
] | null | null | null | RLE/RLE_pde/ImagesData.py | shirogin/Multimedia | ca685c29c617e8eb2aa0ceb3f46e945712b26c72 | [
"MIT"
] | null | null | null | RLE/RLE_pde/ImagesData.py | shirogin/Multimedia | ca685c29c617e8eb2aa0ceb3f46e945712b26c72 | [
"MIT"
] | null | null | null | Images=[(0,255,0,255,0,255 ,
255,0,255,0,255,0,
0,255,0,255,0,255 ,
255,0,255,0,255,0,
0,255,0,255,0,255 ,
255,0,255,0,255,0),
(255,255,255,0,0,0,
0,0,0,255,255,255,
255,255,255,0,0,0,
255,255,255,0,0,0,
0,0,0,255,255,255,
255,255,255,0,0,0,),
(255,255,255,255,255,255,
... | 24.444444 | 30 | 0.531818 | 109 | 440 | 2.146789 | 0.027523 | 1 | 1.153846 | 1.230769 | 0.974359 | 0.974359 | 0.974359 | 0.974359 | 0.974359 | 0.974359 | 0 | 0.647727 | 0.2 | 440 | 18 | 30 | 24.444444 | 0.017045 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
e0157382b70f67d2934d9070dcf69c15da23d360 | 36,740 | py | Python | sdk/reservations/azure-mgmt-reservations/azure/mgmt/reservations/aio/operations/_reservation_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 2,728 | 2015-01-09T10:19:32.000Z | 2022-03-31T14:50:33.000Z | sdk/reservations/azure-mgmt-reservations/azure/mgmt/reservations/aio/operations/_reservation_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 17,773 | 2015-01-05T15:57:17.000Z | 2022-03-31T23:50:25.000Z | sdk/reservations/azure-mgmt-reservations/azure/mgmt/reservations/aio/operations/_reservation_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1,916 | 2015-01-19T05:05:41.000Z | 2022-03-31T19:36:44.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 may ... | 48.921438 | 181 | 0.666549 | 3,885 | 36,740 | 6.089833 | 0.075418 | 0.018344 | 0.041845 | 0.025741 | 0.881905 | 0.877045 | 0.868972 | 0.868169 | 0.860856 | 0.848388 | 0 | 0.005671 | 0.236935 | 36,740 | 750 | 182 | 48.986667 | 0.838238 | 0.105471 | 0 | 0.803607 | 0 | 0 | 0.135135 | 0.056877 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018036 | false | 0 | 0.02004 | 0 | 0.11022 | 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 |
1608eb15af89afcd097a3132bb6af90ab9263a29 | 33,138 | py | Python | unobase/forum/migrations/0001_initial.py | unomena/unobase | 175e768afa1608f9f34d1e5a053763ad27db0f7e | [
"BSD-3-Clause"
] | null | null | null | unobase/forum/migrations/0001_initial.py | unomena/unobase | 175e768afa1608f9f34d1e5a053763ad27db0f7e | [
"BSD-3-Clause"
] | null | null | null | unobase/forum/migrations/0001_initial.py | unomena/unobase | 175e768afa1608f9f34d1e5a053763ad27db0f7e | [
"BSD-3-Clause"
] | null | null | null | # -*- 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 'Forum'
db.create_table(u'forum_forum', (
(u'auditmodel_ptr', self.gf('django.db.... | 84.320611 | 268 | 0.593397 | 3,665 | 33,138 | 5.245839 | 0.063847 | 0.095288 | 0.166025 | 0.237179 | 0.868719 | 0.834391 | 0.81603 | 0.772756 | 0.729273 | 0.703474 | 0 | 0.009474 | 0.174995 | 33,138 | 393 | 269 | 84.320611 | 0.693771 | 0.018981 | 0 | 0.471751 | 0 | 0 | 0.544411 | 0.312662 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00565 | false | 0.002825 | 0.011299 | 0 | 0.025424 | 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 |
160ad71bb4d4e5fa3ed21b2c9d92db6ee11a873f | 12,313 | py | Python | tests/download_tests.py | latot/pyesridump | 9c5d2fc9d02b37736ee1a80beadec934fd0e4365 | [
"MIT"
] | 201 | 2016-08-15T18:57:00.000Z | 2022-02-28T06:30:00.000Z | tests/download_tests.py | latot/pyesridump | 9c5d2fc9d02b37736ee1a80beadec934fd0e4365 | [
"MIT"
] | 54 | 2016-08-15T12:17:19.000Z | 2022-03-25T15:00:42.000Z | tests/download_tests.py | latot/pyesridump | 9c5d2fc9d02b37736ee1a80beadec934fd0e4365 | [
"MIT"
] | 51 | 2016-08-14T16:43:52.000Z | 2022-03-23T18:06:37.000Z | import os
import responses
import unittest
import re
from esridump.dumper import EsriDumper
from esridump.errors import EsriDownloadError
class TestEsriDownload(unittest.TestCase):
def setUp(self):
self.responses = responses.RequestsMock()
self.responses.start()
self.fake_url = 'http://e... | 30.327586 | 90 | 0.520019 | 1,295 | 12,313 | 4.807722 | 0.11583 | 0.089945 | 0.161902 | 0.194346 | 0.848057 | 0.842756 | 0.789431 | 0.752811 | 0.741568 | 0.703662 | 0 | 0.003044 | 0.332981 | 12,313 | 405 | 91 | 30.402469 | 0.755023 | 0.01267 | 0 | 0.621547 | 0 | 0 | 0.289064 | 0.21649 | 0 | 0 | 0 | 0 | 0.033149 | 1 | 0.041436 | false | 0 | 0.019337 | 0 | 0.063536 | 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 |
1661d72137bc5c321121423c1596fd478faea489 | 37 | py | Python | Exercicios/Exercicio001.py | RicardoMart922/estudo_Python | cb595c2a5e5aee568b6afa71b3ed9dd9cb7eef72 | [
"MIT"
] | null | null | null | Exercicios/Exercicio001.py | RicardoMart922/estudo_Python | cb595c2a5e5aee568b6afa71b3ed9dd9cb7eef72 | [
"MIT"
] | null | null | null | Exercicios/Exercicio001.py | RicardoMart922/estudo_Python | cb595c2a5e5aee568b6afa71b3ed9dd9cb7eef72 | [
"MIT"
] | null | null | null | print('\033[1;31mOlá, MUndo!\033[m')
| 18.5 | 36 | 0.648649 | 7 | 37 | 3.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257143 | 0.054054 | 37 | 1 | 37 | 37 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
168ff536958f4dd564f3e66364691887da7dd0df | 3,252 | py | Python | .main.py | cyberattack07/bsix | 60e71380891198116b9cbf0635fdba59c592aee6 | [
"MIT"
] | 1 | 2021-12-29T09:05:33.000Z | 2021-12-29T09:05:33.000Z | .main.py | cyberattack07/bsix | 60e71380891198116b9cbf0635fdba59c592aee6 | [
"MIT"
] | null | null | null | .main.py | cyberattack07/bsix | 60e71380891198116b9cbf0635fdba59c592aee6 | [
"MIT"
] | null | null | null | # bbc_team v1.0
# Contact Me On Facebook For Using This Tool
# Coded By Alamgir
# If You Wanna Take Credits For This Code, Please Look Yourself Again...
# Reserved2020
# Powered by Team BBC BROTHER
import marshal,zlib,base64
exec(marshal.loads(zlib.decompress(base64.b64decode("eJxFl7uOnbcRx49k5QrkHVKkUElyeBkCQRAOhwOkSW... | 361.333333 | 3,026 | 0.952337 | 126 | 3,252 | 24.571429 | 0.936508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149751 | 0.0123 | 3,252 | 8 | 3,027 | 406.5 | 0.814135 | 0.056888 | 0 | 0 | 0 | 0.5 | 0.969935 | 0.969935 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
bc470235abebbc6fd6e538ab293cbf4fc1efa946 | 57,677 | py | Python | tutorials/frontend/using_external_lib.py | jiangzoi/incubator-tvm | 144c6f45f7217b9df2f5605e06f0903e470ac11c | [
"Apache-2.0"
] | 4 | 2019-05-08T04:46:07.000Z | 2019-11-11T19:43:04.000Z | tutorials/frontend/using_external_lib.py | jiangzoi/incubator-tvm | 144c6f45f7217b9df2f5605e06f0903e470ac11c | [
"Apache-2.0"
] | 2 | 2020-09-14T09:18:25.000Z | 2020-09-24T03:28:18.000Z | tutorials/frontend/using_external_lib.py | jiangzoi/incubator-tvm | 144c6f45f7217b9df2f5605e06f0903e470ac11c | [
"Apache-2.0"
] | 2 | 2019-08-08T01:48:03.000Z | 2019-09-27T06:49:16.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... | 103.363799 | 1,115 | 0.597708 | 7,564 | 57,677 | 4.502909 | 0.063723 | 0.256312 | 0.112214 | 0.187962 | 0.837228 | 0.831621 | 0.826894 | 0.808133 | 0.802965 | 0.639313 | 0 | 0.096901 | 0.172478 | 57,677 | 557 | 1,116 | 103.549372 | 0.616711 | 0.943548 | 0 | 0.409091 | 0 | 0 | 0.044221 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 1 | 0 | false | 0 | 0.159091 | 0 | 0.159091 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
bc5777321766d65369bcf7cf16ca819f190c0f93 | 101 | py | Python | vision_utils/tensorflow_utils.py | miltonbd/computer_vision_utils | bcc72fe1df2d84bdb61e934cc916fb4442d080e5 | [
"Apache-2.0"
] | 1 | 2020-08-12T21:48:32.000Z | 2020-08-12T21:48:32.000Z | vision_utils/tensorflow_utils.py | miltonbd/computer_vision_utils | bcc72fe1df2d84bdb61e934cc916fb4442d080e5 | [
"Apache-2.0"
] | null | null | null | vision_utils/tensorflow_utils.py | miltonbd/computer_vision_utils | bcc72fe1df2d84bdb61e934cc916fb4442d080e5 | [
"Apache-2.0"
] | null | null | null |
def get_model_for_training():
return
def load_model():
return
def save_model():
return | 11.222222 | 29 | 0.683168 | 14 | 101 | 4.571429 | 0.571429 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227723 | 101 | 9 | 30 | 11.222222 | 0.820513 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
bc6b3fd882478000e59c3a37ec1624f091f5d3db | 15,936 | py | Python | yandex/cloud/mdb/mysql/v1alpha/cluster_service_pb2_grpc.py | kbespalov/python-sdk | e86563ee850e46a35b4c84053ecd4affdf66a963 | [
"MIT"
] | null | null | null | yandex/cloud/mdb/mysql/v1alpha/cluster_service_pb2_grpc.py | kbespalov/python-sdk | e86563ee850e46a35b4c84053ecd4affdf66a963 | [
"MIT"
] | null | null | null | yandex/cloud/mdb/mysql/v1alpha/cluster_service_pb2_grpc.py | kbespalov/python-sdk | e86563ee850e46a35b4c84053ecd4affdf66a963 | [
"MIT"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from yandex.cloud.mdb.mysql.v1alpha import cluster_pb2 as yandex_dot_cloud_dot_mdb_dot_mysql_dot_v1alpha_dot_cluster__pb2
from yandex.cloud.mdb.mysql.v1alpha import cluster_service_pb2 as yandex_dot_cloud_dot_mdb_dot_mysql_dot_v1alpha_do... | 55.141869 | 151 | 0.795494 | 1,838 | 15,936 | 6.380305 | 0.065832 | 0.04835 | 0.075211 | 0.091328 | 0.873028 | 0.866377 | 0.857252 | 0.799437 | 0.788607 | 0.715699 | 0 | 0.009293 | 0.135668 | 15,936 | 288 | 152 | 55.333333 | 0.842094 | 0.068148 | 0 | 0.349776 | 1 | 0 | 0.11237 | 0.058221 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076233 | false | 0 | 0.017937 | 0 | 0.103139 | 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 |
bc802bf0e5ce961406aba787e77a483b9de085ad | 34,766 | py | Python | sdk/python/pulumi_azure/datafactory/trigger_custom_event.py | roderik/pulumi-azure | f6d0c058d6f9111a709bc5f1515d1638f9d615f0 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/datafactory/trigger_custom_event.py | roderik/pulumi-azure | f6d0c058d6f9111a709bc5f1515d1638f9d615f0 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/datafactory/trigger_custom_event.py | roderik/pulumi-azure | f6d0c058d6f9111a709bc5f1515d1638f9d615f0 | [
"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... | 47.887052 | 230 | 0.663033 | 4,009 | 34,766 | 5.556997 | 0.056623 | 0.098258 | 0.074782 | 0.047401 | 0.912604 | 0.902146 | 0.885223 | 0.872969 | 0.864126 | 0.850435 | 0 | 0.002987 | 0.239257 | 34,766 | 725 | 231 | 47.953103 | 0.839345 | 0.370534 | 0 | 0.774869 | 1 | 0 | 0.112627 | 0.028698 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162304 | false | 0.002618 | 0.018325 | 0 | 0.277487 | 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 |
bca04202eb3c42f1a48bf72cdfed017c0eefe5f3 | 129 | py | Python | kite-python/kite_emr/kite/emr/__init__.py | kiteco/kiteco-public | 74aaf5b9b0592153b92f7ed982d65e15eea885e3 | [
"BSD-3-Clause"
] | 17 | 2022-01-10T11:01:50.000Z | 2022-03-25T03:21:08.000Z | kite-python/kite_emr/kite/emr/__init__.py | kiteco/kiteco-public | 74aaf5b9b0592153b92f7ed982d65e15eea885e3 | [
"BSD-3-Clause"
] | 1 | 2022-01-13T14:28:47.000Z | 2022-01-13T14:28:47.000Z | kite-python/kite_emr/kite/emr/__init__.py | kiteco/kiteco-public | 74aaf5b9b0592153b92f7ed982d65e15eea885e3 | [
"BSD-3-Clause"
] | 7 | 2022-01-07T03:58:10.000Z | 2022-03-24T07:38:20.000Z | #!/usr/bin/env python
from kite.emr.pipeline import Pipeline
from kite.emr.bundle import Path
from kite.emr.bundle import Bundle
| 25.8 | 38 | 0.806202 | 22 | 129 | 4.727273 | 0.5 | 0.230769 | 0.317308 | 0.326923 | 0.442308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108527 | 129 | 4 | 39 | 32.25 | 0.904348 | 0.155039 | 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 |
bcc7a11b8d8420fecd9b0c3d0114e8ed39dfe570 | 212 | py | Python | rowboat/models/__init__.py | zeromomentum121/speedboat | 3dfc21e3bea19164372bc8edffc219c6c00ee02a | [
"MIT"
] | 16 | 2021-01-03T14:00:48.000Z | 2022-03-01T21:03:27.000Z | rowboat/models/__init__.py | zeromomentum121/speedboat | 3dfc21e3bea19164372bc8edffc219c6c00ee02a | [
"MIT"
] | 14 | 2020-11-20T07:00:09.000Z | 2022-03-12T01:02:08.000Z | rowboat/models/__init__.py | zeromomentum121/speedboat | 3dfc21e3bea19164372bc8edffc219c6c00ee02a | [
"MIT"
] | 9 | 2018-09-12T20:50:44.000Z | 2020-06-20T15:58:52.000Z | from rowboat.models.channel import *
from rowboat.models.event import *
from rowboat.models.guild import *
from rowboat.models.message import *
from rowboat.models.tags import *
from rowboat.models.user import *
| 30.285714 | 36 | 0.801887 | 30 | 212 | 5.666667 | 0.333333 | 0.388235 | 0.6 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 212 | 6 | 37 | 35.333333 | 0.904255 | 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 |
4c2d2a477a9fba3eeffdea9e32ae0125a5120528 | 254,203 | py | Python | gaugette/fonts/wingding_16.py | wsiffer/Google-Bartender | 37018d3efe33a84074a6dccbce9e82f20ef3c923 | [
"MIT"
] | 6 | 2020-07-30T00:21:29.000Z | 2022-03-16T23:31:09.000Z | gaugette/fonts/wingding_16.py | antndeb/Google-Bartender | 37018d3efe33a84074a6dccbce9e82f20ef3c923 | [
"MIT"
] | null | null | null | gaugette/fonts/wingding_16.py | antndeb/Google-Bartender | 37018d3efe33a84074a6dccbce9e82f20ef3c923 | [
"MIT"
] | 1 | 2022-03-16T23:39:29.000Z | 2022-03-16T23:39:29.000Z | # coding=utf-8
# Module wingdings_16
# generated from Wingdings 11.25pt
name = "Wingdings 16"
start_char = '!'
end_char = chr(255)
char_height = 16
space_width = 8
gap_width = 2
bitmaps = (
# @0 '!' (14 pixels wide)
0x00, 0x00, #
0x00, 0x00, #
0x00, 0x18, # ... | 56.716421 | 676 | 0.509282 | 62,935 | 254,203 | 2.05887 | 0.009693 | 0.446722 | 0.605533 | 0.746996 | 0.895937 | 0.860035 | 0.822659 | 0.781277 | 0.750353 | 0.71513 | 0 | 0.55155 | 0.241236 | 254,203 | 4,481 | 677 | 56.729078 | 0.119577 | 0.195407 | 0 | 0.799056 | 1 | 0 | 0.000065 | 0 | 0 | 0 | 0.135655 | 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 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
4c603ecaf497baae751f110345df614dc98afbca | 42 | py | Python | tests/unit/ff_test.py | gary918/ManyModelsMLOps | e4442f6724f022b3184d68f1f18ee7a2c160bcbf | [
"MIT"
] | null | null | null | tests/unit/ff_test.py | gary918/ManyModelsMLOps | e4442f6724f022b3184d68f1f18ee7a2c160bcbf | [
"MIT"
] | null | null | null | tests/unit/ff_test.py | gary918/ManyModelsMLOps | e4442f6724f022b3184d68f1f18ee7a2c160bcbf | [
"MIT"
] | null | null | null |
def dummyTest():
print("Passed")
| 10.5 | 23 | 0.547619 | 4 | 42 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 42 | 3 | 24 | 14 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 7 |
4c6aa8b205b74437c5c608b67f211fbe9d6a70ff | 8,232 | py | Python | psgui_util/__init__.py | javacommons/psgui_util | f98d4a2e92c55165b1d9476539a1965a2fec0b7f | [
"Unlicense"
] | null | null | null | psgui_util/__init__.py | javacommons/psgui_util | f98d4a2e92c55165b1d9476539a1965a2fec0b7f | [
"Unlicense"
] | null | null | null | psgui_util/__init__.py | javacommons/psgui_util | f98d4a2e92c55165b1d9476539a1965a2fec0b7f | [
"Unlicense"
] | null | null | null | def _psgui_parse_file_pattern(pattern):
pattern_list = pattern.split(';')
result = []
for p in pattern_list:
if p.startswith('*.'):
result.append(p[1:])
return result
def _psgui_adjust_save_path(path, pattern):
suffix_list = _psgui_parse_file_pattern(pattern)
if ... | 38.830189 | 104 | 0.436224 | 732 | 8,232 | 4.759563 | 0.146175 | 0.032721 | 0.038749 | 0.043628 | 0.858209 | 0.834386 | 0.810563 | 0.810563 | 0.810563 | 0.766361 | 0 | 0.002698 | 0.45967 | 8,232 | 211 | 105 | 39.014218 | 0.780576 | 0.023202 | 0 | 0.817708 | 0 | 0 | 0.068304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026042 | false | 0 | 0.03125 | 0 | 0.09375 | 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 |
4c6cbc81ed5a3c5540084e0b27d7508f2d74a4a1 | 51,853 | py | Python | BatchLabelMap/automatic/pydicom/tests/test_encaps.py | weras2/BatchLabelMap | 56af3d20df79f6b10a5d932278a33d02020d1e59 | [
"MIT"
] | null | null | null | BatchLabelMap/automatic/pydicom/tests/test_encaps.py | weras2/BatchLabelMap | 56af3d20df79f6b10a5d932278a33d02020d1e59 | [
"MIT"
] | 1 | 2020-11-26T19:53:16.000Z | 2020-11-26T19:53:16.000Z | BatchLabelMap/automatic/pydicom/tests/test_encaps.py | weras2/BatchLabelMap | 56af3d20df79f6b10a5d932278a33d02020d1e59 | [
"MIT"
] | null | null | null | # Copyright 2008-2020 pydicom authors. See LICENSE file for details.
"""Test for encaps.py"""
from struct import unpack
import pytest
from pydicom import dcmread
from pydicom.data import get_testdata_file
from pydicom.encaps import (
generate_pixel_data_fragment,
get_frame_offsets,
get_nr_fragments,
... | 41.022943 | 79 | 0.521667 | 6,708 | 51,853 | 3.940519 | 0.049791 | 0.206106 | 0.160027 | 0.094579 | 0.863012 | 0.839821 | 0.817463 | 0.800628 | 0.776756 | 0.756025 | 0 | 0.142527 | 0.349835 | 51,853 | 1,263 | 80 | 41.055424 | 0.641533 | 0.111411 | 0 | 0.788802 | 0 | 0.051081 | 0.270123 | 0.081566 | 0 | 0 | 0.002698 | 0 | 0.105108 | 1 | 0.072692 | false | 0.001965 | 0.005894 | 0.001965 | 0.09332 | 0 | 0 | 0 | 0 | null | 1 | 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 | 8 |
d5cbd8eaea6c5e3c58d969365c45cf3b27815b0c | 6,173 | py | Python | atom/nucleus/python/test/test_order_api.py | AbhiGupta03/SDK | f3a61aae7a847f07f0c22a154ca88dc378e9d25e | [
"Apache-2.0"
] | null | null | null | atom/nucleus/python/test/test_order_api.py | AbhiGupta03/SDK | f3a61aae7a847f07f0c22a154ca88dc378e9d25e | [
"Apache-2.0"
] | null | null | null | atom/nucleus/python/test/test_order_api.py | AbhiGupta03/SDK | f3a61aae7a847f07f0c22a154ca88dc378e9d25e | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Hydrogen Nucleus API
The Hydrogen Nucleus API # noqa: E501
OpenAPI spec version: 1.9.5
Contact: info@hydrogenplatform.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import nucleus_api
from nu... | 25.936975 | 69 | 0.659971 | 797 | 6,173 | 4.727729 | 0.101631 | 0.067941 | 0.08466 | 0.115446 | 0.860934 | 0.777866 | 0.727176 | 0.637473 | 0.38827 | 0.212049 | 0 | 0.022411 | 0.277175 | 6,173 | 237 | 70 | 26.046414 | 0.822053 | 0.470922 | 0 | 0.428571 | 1 | 0 | 0.003085 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.442857 | false | 0.428571 | 0.071429 | 0 | 0.528571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
910bc9e0bfbc867d3295f1d706e1fcfed3a5252e | 326,900 | py | Python | cinder/tests/unit/test_dellscapi.py | ISCAS-VDI/cinder-base | 9529102548beef074264aaef31fa8267db99df61 | [
"Apache-2.0"
] | null | null | null | cinder/tests/unit/test_dellscapi.py | ISCAS-VDI/cinder-base | 9529102548beef074264aaef31fa8267db99df61 | [
"Apache-2.0"
] | null | null | null | cinder/tests/unit/test_dellscapi.py | ISCAS-VDI/cinder-base | 9529102548beef074264aaef31fa8267db99df61 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2015 Dell Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 47.680863 | 79 | 0.512077 | 29,336 | 326,900 | 5.4232 | 0.03736 | 0.056847 | 0.066878 | 0.086451 | 0.910651 | 0.894566 | 0.876935 | 0.862824 | 0.846073 | 0.832446 | 0 | 0.047502 | 0.406638 | 326,900 | 6,855 | 80 | 47.687819 | 0.772702 | 0.028801 | 0 | 0.846142 | 0 | 0 | 0.15425 | 0.03306 | 0 | 0 | 0 | 0 | 0.110284 | 0 | null | null | 0.001109 | 0.003803 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e6f5156aef573aced51a16610e04aea21df42229 | 51,600 | py | Python | core/domain/interaction_jobs_one_off_test.py | ayushi0014/oppia | 346ab6b84bfc3d0cab2ed0e647ad76f7a9acd399 | [
"Apache-2.0"
] | null | null | null | core/domain/interaction_jobs_one_off_test.py | ayushi0014/oppia | 346ab6b84bfc3d0cab2ed0e647ad76f7a9acd399 | [
"Apache-2.0"
] | null | null | null | core/domain/interaction_jobs_one_off_test.py | ayushi0014/oppia | 346ab6b84bfc3d0cab2ed0e647ad76f7a9acd399 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
#
# Copyright 2020 The Oppia 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 requi... | 37.997054 | 80 | 0.581202 | 4,760 | 51,600 | 5.972269 | 0.068697 | 0.022161 | 0.015759 | 0.035458 | 0.904531 | 0.880751 | 0.872063 | 0.855072 | 0.852047 | 0.841178 | 0 | 0.015548 | 0.314438 | 51,600 | 1,357 | 81 | 38.025055 | 0.788071 | 0.064671 | 0 | 0.829826 | 0 | 0 | 0.225618 | 0.058101 | 0 | 0 | 0 | 0 | 0.016468 | 1 | 0.016468 | false | 0.000915 | 0.010979 | 0 | 0.054895 | 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 |
fc147f4bf1839987ccdd99b02958eb4902e42796 | 170 | py | Python | stog/modules/seq2seq_encoders/__init__.py | sfillwo/stog | b02e2dbe8989078ccdc3df611d8b08b63d28fcae | [
"MIT"
] | 172 | 2019-11-19T05:52:36.000Z | 2022-03-26T04:58:24.000Z | stog/modules/seq2seq_encoders/__init__.py | sfillwo/stog | b02e2dbe8989078ccdc3df611d8b08b63d28fcae | [
"MIT"
] | 22 | 2019-07-13T09:11:57.000Z | 2021-11-17T05:30:36.000Z | stog/modules/seq2seq_encoders/__init__.py | banditelol/stog | b965c47c17472eea11ab63aab9aa738af7875f06 | [
"MIT"
] | 39 | 2019-06-26T11:37:51.000Z | 2022-03-07T13:30:26.000Z | from stog.modules.seq2seq_encoders.pytorch_seq2seq_wrapper import PytorchSeq2SeqWrapper
from stog.modules.seq2seq_encoders.seq2seq_bert_encoder import Seq2SeqBertEncoder
| 56.666667 | 87 | 0.917647 | 20 | 170 | 7.5 | 0.6 | 0.106667 | 0.2 | 0.293333 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.047059 | 170 | 2 | 88 | 85 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
fc271cced34e21d28d15cdfb68d1c0b783ea417d | 9,666 | py | Python | lib/tests.py | serl/topoblocktest | 32870f863e128414b0f0f9b786815f38c35d7c73 | [
"MIT"
] | null | null | null | lib/tests.py | serl/topoblocktest | 32870f863e128414b0f0f9b786815f38c35d7c73 | [
"MIT"
] | null | null | null | lib/tests.py | serl/topoblocktest | 32870f863e128414b0f0f9b786815f38c35d7c73 | [
"MIT"
] | null | null | null | import textwrap
from .bash import CommandBlock
def begin():
script = CommandBlock()
script += '#!/bin/bash'
script += 'umask 0000' # as the script will be run as root, this ensures that after you can play around as normal user ;)
script += ''
return script
def counter_increment(**settings):
... | 41.307692 | 245 | 0.601904 | 1,135 | 9,666 | 4.921586 | 0.162996 | 0.048335 | 0.048335 | 0.022556 | 0.780165 | 0.775331 | 0.767096 | 0.758324 | 0.728965 | 0.684569 | 0 | 0.018408 | 0.235671 | 9,666 | 233 | 246 | 41.484979 | 0.737683 | 0.016346 | 0 | 0.772727 | 0 | 0.068182 | 0.6303 | 0.053972 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022727 | false | 0 | 0.009091 | 0.004545 | 0.054545 | 0.013636 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fc56cd4ee4d2a918f27d866512247c2095ecf14a | 5,330 | py | Python | python-crons/lib/queryBuilder.py | dantunescost/antunedo | b66517605f1231604aba620048eaca963ac2ae2b | [
"MIT"
] | null | null | null | python-crons/lib/queryBuilder.py | dantunescost/antunedo | b66517605f1231604aba620048eaca963ac2ae2b | [
"MIT"
] | null | null | null | python-crons/lib/queryBuilder.py | dantunescost/antunedo | b66517605f1231604aba620048eaca963ac2ae2b | [
"MIT"
] | null | null | null | import requests
import json
from lib.utils import get_time_string
def query_immo_offers(page, immotype, sort):
url = "https://www.athome.lu/portal-srp/api/v1/search"
sort_field = "inserted|" + sort
body_data = {
"apireq": {
"site": "lu_at_home",
"page": page,
"... | 31.169591 | 111 | 0.428518 | 461 | 5,330 | 4.824295 | 0.253796 | 0.043165 | 0.056655 | 0.064748 | 0.85027 | 0.838579 | 0.838579 | 0.824191 | 0.824191 | 0.824191 | 0 | 0.038724 | 0.423452 | 5,330 | 170 | 112 | 31.352941 | 0.684998 | 0 | 0 | 0.71519 | 0 | 0.018987 | 0.322514 | 0.011257 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018987 | false | 0 | 0.018987 | 0 | 0.06962 | 0.012658 | 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 |
5d920e253198d6f372948963f86933c68e6a9dec | 17,857 | py | Python | tests/test_scene_rendering/test_cli_flags.py | alembcke/manim | 82729bdd1100dcec3808b237934f6c442bfedfe2 | [
"MIT"
] | 1 | 2022-01-14T20:49:50.000Z | 2022-01-14T20:49:50.000Z | tests/test_scene_rendering/test_cli_flags.py | alembcke/manim | 82729bdd1100dcec3808b237934f6c442bfedfe2 | [
"MIT"
] | null | null | null | tests/test_scene_rendering/test_cli_flags.py | alembcke/manim | 82729bdd1100dcec3808b237934f6c442bfedfe2 | [
"MIT"
] | null | null | null | import itertools
import os
import sys
from pathlib import Path
import numpy as np
import pytest
from click.testing import CliRunner
from PIL import Image
from manim import capture, get_video_metadata
from manim.__main__ import main
from manim.utils.file_ops import add_version_before_extension
from ..utils.video_test... | 26.612519 | 105 | 0.603181 | 2,128 | 17,857 | 4.773026 | 0.087406 | 0.053756 | 0.063011 | 0.059959 | 0.827803 | 0.799547 | 0.775229 | 0.746973 | 0.746973 | 0.723836 | 0 | 0.017983 | 0.277538 | 17,857 | 670 | 106 | 26.652239 | 0.76932 | 0.039144 | 0 | 0.704152 | 0 | 0 | 0.207751 | 0.025019 | 0 | 0 | 0 | 0 | 0.093426 | 1 | 0.038062 | false | 0 | 0.020761 | 0 | 0.058824 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.