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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c5869ccce5e7d168d09e70b5ab2ec61392d5495e | 169 | py | Python | falmer/content/components/base.py | sussexstudent/services-api | ae735bd9d6177002c3d986e5c19a78102233308f | [
"MIT"
] | 2 | 2017-04-27T19:35:59.000Z | 2017-06-13T16:19:33.000Z | falmer/content/components/base.py | sussexstudent/falmer | ae735bd9d6177002c3d986e5c19a78102233308f | [
"MIT"
] | 975 | 2017-04-13T11:31:07.000Z | 2022-02-10T07:46:18.000Z | falmer/content/components/base.py | sussexstudent/services-api | ae735bd9d6177002c3d986e5c19a78102233308f | [
"MIT"
] | 3 | 2018-05-09T06:42:25.000Z | 2020-12-10T18:29:30.000Z | class Component:
def __init__(self, name, block):
self.name = name
self.block = block
def to_pair(self):
return self.name, self.block()
| 21.125 | 38 | 0.597633 | 22 | 169 | 4.363636 | 0.454545 | 0.25 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.295858 | 169 | 7 | 39 | 24.142857 | 0.806723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
c5c2588ea481ea360aaf182afb4b818168b79d31 | 52,204 | py | Python | bpm/dataset/__init__.py | TingtingAlice/MPM-LTL | b822d1b27493272459d9198dfc438a16f4a18733 | [
"MIT"
] | null | null | null | bpm/dataset/__init__.py | TingtingAlice/MPM-LTL | b822d1b27493272459d9198dfc438a16f4a18733 | [
"MIT"
] | null | null | null | bpm/dataset/__init__.py | TingtingAlice/MPM-LTL | b822d1b27493272459d9198dfc438a16f4a18733 | [
"MIT"
] | 1 | 2018-11-27T03:10:40.000Z | 2018-11-27T03:10:40.000Z | import numpy as np
import os.path as osp
ospj = osp.join
ospeu = osp.expanduser
from ..utils.utils import load_pickle
from ..utils.dataset_utils import parse_im_name
from .TrainSet import TrainSet
from .TestSet import TestSet
def create_dataset(
name='market1501',
part='trainval',
**kwargs)... | 75.113669 | 198 | 0.765497 | 8,137 | 52,204 | 4.453484 | 0.020892 | 0.054473 | 0.117446 | 0.124786 | 0.982781 | 0.981208 | 0.978531 | 0.977206 | 0.976047 | 0.974281 | 0 | 0.05227 | 0.107635 | 52,204 | 694 | 199 | 75.221902 | 0.72562 | 0.005344 | 0 | 0.84466 | 0 | 0.012945 | 0.674224 | 0.593084 | 0 | 0 | 0 | 0 | 0.009709 | 1 | 0.003236 | false | 0.003236 | 0.009709 | 0 | 0.016181 | 0.029126 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
6810df5330a0e45585e3ad36a65c881bd30519fa | 4,901 | py | Python | tests/psd_tools/psd/test_descriptor.py | mrstephenneal/psd-tools2 | fde1c9768b8d2a232e5afd5f1b58983ec675b960 | [
"MIT"
] | 19 | 2019-11-21T09:26:52.000Z | 2022-03-16T13:51:29.000Z | tests/psd_tools/psd/test_descriptor.py | sfneal/psd-tools3 | 61e780a2b8dd34b4d9be2d2ffea6274ab17d6051 | [
"MIT"
] | 1 | 2018-10-01T14:14:50.000Z | 2018-10-01T14:14:50.000Z | tests/psd_tools/psd/test_descriptor.py | mrstephenneal/psd-tools2 | fde1c9768b8d2a232e5afd5f1b58983ec675b960 | [
"MIT"
] | 1 | 2021-12-24T06:42:05.000Z | 2021-12-24T06:42:05.000Z | from __future__ import absolute_import, unicode_literals
import pytest
from psd_tools.constants import UnitFloatType
from psd_tools.psd.descriptor import (TYPES, Descriptor, Reference, Double, String, Bool, LargeInteger, Integer,
UnitFloat)
from ..utils import check_write_read, c... | 50.525773 | 112 | 0.680065 | 847 | 4,901 | 3.899646 | 0.126328 | 0.256131 | 0.19891 | 0.087193 | 0.485316 | 0.423554 | 0.381471 | 0.321829 | 0.284287 | 0.259764 | 0 | 0.306141 | 0.109569 | 4,901 | 96 | 113 | 51.052083 | 0.450733 | 0 | 0 | 0.120482 | 0 | 0.542169 | 0.658437 | 0.647011 | 0 | 0 | 0 | 0 | 0.048193 | 1 | 0.060241 | false | 0 | 0.060241 | 0 | 0.120482 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a840b752093b168d505b316937b99ad36edf9979 | 140 | py | Python | auxein/mutations/__init__.py | auxein/auxein | 5388cb572b65aecc282f915515c35dc3b987154c | [
"Apache-2.0"
] | 1 | 2019-05-08T14:53:27.000Z | 2019-05-08T14:53:27.000Z | auxein/mutations/__init__.py | auxein/auxein | 5388cb572b65aecc282f915515c35dc3b987154c | [
"Apache-2.0"
] | 2 | 2020-08-26T09:16:47.000Z | 2020-10-30T16:47:03.000Z | auxein/mutations/__init__.py | auxein/auxein | 5388cb572b65aecc282f915515c35dc3b987154c | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
from .core import Mutation
from .core import Uniform
from .core import FixedVariance
from .core import SelfAdaptiveSingleStep | 28 | 40 | 0.828571 | 18 | 140 | 6.444444 | 0.5 | 0.275862 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.128571 | 140 | 5 | 40 | 28 | 0.942623 | 0.085714 | 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 |
a8513ed46bc15200f1155270d6c475f74c9c1912 | 45,618 | py | Python | src/analysis/chunk_feature_dropping_pearson.py | Darilbii/Songbird_LFP_Paper | 20131134353ffc4702eed490fcc3fefec9b08e32 | [
"MIT"
] | null | null | null | src/analysis/chunk_feature_dropping_pearson.py | Darilbii/Songbird_LFP_Paper | 20131134353ffc4702eed490fcc3fefec9b08e32 | [
"MIT"
] | null | null | null | src/analysis/chunk_feature_dropping_pearson.py | Darilbii/Songbird_LFP_Paper | 20131134353ffc4702eed490fcc3fefec9b08e32 | [
"MIT"
] | null | null | null | import BirdSongToolbox.chunk_analysis_tools as cat
import matplotlib.pyplot as plt
import numpy as np
import scipy
import matplotlib.patches as mpatches
import random
from src.analysis.ml_pipeline_utilities import all_bad_channels, all_drop_temps, all_label_instructions
# Functions added for the Report
from sklearn.d... | 54.829327 | 121 | 0.624403 | 5,731 | 45,618 | 4.663235 | 0.084278 | 0.015566 | 0.012647 | 0.008082 | 0.891225 | 0.884453 | 0.876595 | 0.870608 | 0.865706 | 0.862077 | 0 | 0.023793 | 0.297032 | 45,618 | 831 | 122 | 54.895307 | 0.809592 | 0.238174 | 0 | 0.705628 | 0 | 0 | 0.035035 | 0.001784 | 0 | 0 | 0 | 0 | 0.004329 | 1 | 0.019481 | false | 0 | 0.038961 | 0 | 0.069264 | 0.034632 | 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 |
76867839e7ab4a668d0d6b6d78ab01544eafe4c5 | 61,790 | py | Python | openconfig/ydk/models/openconfig/openconfig_lldp.py | Maikor/ydk-py | b86c4a7c570ae3b2c5557d098420446df5de4929 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | openconfig/ydk/models/openconfig/openconfig_lldp.py | Maikor/ydk-py | b86c4a7c570ae3b2c5557d098420446df5de4929 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | openconfig/ydk/models/openconfig/openconfig_lldp.py | Maikor/ydk-py | b86c4a7c570ae3b2c5557d098420446df5de4929 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | """ openconfig_lldp
This module defines configuration and operational state data
for the LLDP protocol.
"""
from collections import OrderedDict
from ydk.types import Entity, EntityPath, Identity, Enum, YType, YLeaf, YLeafList, YList, LeafDataList, Bits, Empty, Decimal64
from ydk.filters import YFilter
from ydk.erro... | 47.825077 | 401 | 0.474688 | 5,220 | 61,790 | 5.421264 | 0.058238 | 0.041556 | 0.063394 | 0.065585 | 0.840878 | 0.815506 | 0.790876 | 0.766458 | 0.733878 | 0.70794 | 0 | 0.021947 | 0.430733 | 61,790 | 1,291 | 402 | 47.862122 | 0.782573 | 0.28681 | 0 | 0.719165 | 0 | 0 | 0.116113 | 0.020202 | 0.001898 | 0 | 0 | 0 | 0 | 1 | 0.075901 | false | 0 | 0.009488 | 0 | 0.13093 | 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 |
76a46fd744ad57d084380e6e9ffb9c696c6d5cd5 | 12,618 | py | Python | geotagged_weibo/download_picture.py | placeasmedia/kunming_urban_communities | d71e8be686ad3e8271dc13252ac15474e47fa736 | [
"MIT"
] | null | null | null | geotagged_weibo/download_picture.py | placeasmedia/kunming_urban_communities | d71e8be686ad3e8271dc13252ac15474e47fa736 | [
"MIT"
] | null | null | null | geotagged_weibo/download_picture.py | placeasmedia/kunming_urban_communities | d71e8be686ad3e8271dc13252ac15474e47fa736 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import sqlite3
import urllib
import os
import sys
import datetime
write_dir = '/scratch/users/cchang45/rural'
sqlite_file = 'geotag.sqlite'
def _retrieve_post():
conn = sqlite3.connect(write_dir + sqlite_file, timeout=75)
c = conn.cursor()
select_sql = "select images, post_id, cre... | 44.744681 | 101 | 0.565858 | 1,354 | 12,618 | 4.994092 | 0.120384 | 0.099379 | 0.091097 | 0.186335 | 0.769151 | 0.749335 | 0.740757 | 0.727448 | 0.720497 | 0.704821 | 0 | 0.056511 | 0.340862 | 12,618 | 281 | 102 | 44.903915 | 0.756523 | 0.05088 | 0 | 0.710744 | 0 | 0 | 0.034979 | 0.002427 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.012397 | 0.020661 | null | null | 0.020661 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
76ba333ecdf5f008737570dcda90b20ba132c6a7 | 144 | py | Python | aim/sdk/objects/__init__.py | osoblanco/aim | 5ed10e44ddf50da676db662d0de948c60aec5ac9 | [
"Apache-2.0"
] | null | null | null | aim/sdk/objects/__init__.py | osoblanco/aim | 5ed10e44ddf50da676db662d0de948c60aec5ac9 | [
"Apache-2.0"
] | null | null | null | aim/sdk/objects/__init__.py | osoblanco/aim | 5ed10e44ddf50da676db662d0de948c60aec5ac9 | [
"Apache-2.0"
] | null | null | null | from aim.sdk.objects.image import Image
from aim.sdk.objects.distribution import Distribution
from aim.sdk.objects.dictionary import Dictionary
| 36 | 53 | 0.854167 | 21 | 144 | 5.857143 | 0.380952 | 0.170732 | 0.243902 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 144 | 3 | 54 | 48 | 0.931818 | 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 |
4f351098c664dc6493db9cbf7ab8aba21212f605 | 68 | py | Python | generation/src/offset.py | cedric-demongivert/gl-tool-math | 603d96a6b41247460fe9a386f7320f231f1266d3 | [
"MIT"
] | null | null | null | generation/src/offset.py | cedric-demongivert/gl-tool-math | 603d96a6b41247460fe9a386f7320f231f1266d3 | [
"MIT"
] | null | null | null | generation/src/offset.py | cedric-demongivert/gl-tool-math | 603d96a6b41247460fe9a386f7320f231f1266d3 | [
"MIT"
] | null | null | null | def offset (column, row, columns) :
return column + row * columns
| 22.666667 | 35 | 0.691176 | 9 | 68 | 5.222222 | 0.666667 | 0.382979 | 0.680851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 68 | 2 | 36 | 34 | 0.87037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
4f3950512c515ecc4a1b64e0a09ff483a155097a | 6,269 | py | Python | tests/test_collection.py | kleon1024/ChainMore-API-Flask | 4fc5f2537ce9b648e37b1679c1af6f95a70d45bf | [
"Apache-2.0"
] | 1 | 2019-10-29T06:31:04.000Z | 2019-10-29T06:31:04.000Z | tests/test_collection.py | kleon1024/ChainMore-API-Flask | 4fc5f2537ce9b648e37b1679c1af6f95a70d45bf | [
"Apache-2.0"
] | null | null | null | tests/test_collection.py | kleon1024/ChainMore-API-Flask | 4fc5f2537ce9b648e37b1679c1af6f95a70d45bf | [
"Apache-2.0"
] | null | null | null | from flask import current_app
from tests.base import BaseTestCase
class CollectionTestCase(BaseTestCase):
def test_create_collection(self):
self.login()
response = self.get('/v1/resource/media_type',
query_string=dict(name='text'))
data = self.OK(response)
... | 42.646259 | 73 | 0.444409 | 568 | 6,269 | 4.741197 | 0.116197 | 0.115856 | 0.070553 | 0.106944 | 0.882659 | 0.882659 | 0.882659 | 0.847011 | 0.847011 | 0.815819 | 0 | 0.013667 | 0.439783 | 6,269 | 146 | 74 | 42.938356 | 0.753132 | 0 | 0 | 0.809524 | 0 | 0 | 0.124581 | 0.023449 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.02381 | false | 0 | 0.015873 | 0 | 0.047619 | 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 |
4f5c9048dd476ea8887e0957e1784c0c1a8ca13f | 59,174 | py | Python | tinkoff/invest/grpc/orders_pb2.py | forked-group/invest-python | 3398391f5bb4a52020c312855de175cfe8cdc021 | [
"Apache-2.0"
] | null | null | null | tinkoff/invest/grpc/orders_pb2.py | forked-group/invest-python | 3398391f5bb4a52020c312855de175cfe8cdc021 | [
"Apache-2.0"
] | null | null | null | tinkoff/invest/grpc/orders_pb2.py | forked-group/invest-python | 3398391f5bb4a52020c312855de175cfe8cdc021 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: tinkoff/invest/grpc/orders.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message... | 51.366319 | 6,798 | 0.779126 | 7,567 | 59,174 | 5.764372 | 0.049822 | 0.039432 | 0.07013 | 0.072629 | 0.812605 | 0.7864 | 0.780692 | 0.751966 | 0.740251 | 0.684656 | 0 | 0.036862 | 0.103728 | 59,174 | 1,151 | 6,799 | 51.410947 | 0.78558 | 0.024149 | 0 | 0.664804 | 1 | 0.001862 | 0.247549 | 0.206784 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006518 | 0 | 0.006518 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8c4630fc85fddffad672cbb85d3e3303b631f46f | 49 | py | Python | recipes/recipes_emscripten/future/test_import_future.py | emscripten-forge/recipes | 62cb3e146abc8945ac210f38e4e47c080698eae5 | [
"MIT"
] | 1 | 2022-03-10T16:50:56.000Z | 2022-03-10T16:50:56.000Z | recipes/recipes_emscripten/future/test_import_future.py | emscripten-forge/recipes | 62cb3e146abc8945ac210f38e4e47c080698eae5 | [
"MIT"
] | 9 | 2022-03-18T09:26:38.000Z | 2022-03-29T09:21:51.000Z | recipes/recipes_emscripten/future/test_import_future.py | emscripten-forge/recipes | 62cb3e146abc8945ac210f38e4e47c080698eae5 | [
"MIT"
] | null | null | null |
def test_import_future():
import future
| 12.25 | 25 | 0.673469 | 6 | 49 | 5.166667 | 0.666667 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265306 | 49 | 4 | 26 | 12.25 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
8c477ee9e508168b7fdfad27e9932756e083549e | 236 | py | Python | Server/Python/src/dbs/dao/MySQL/ProcessedDataset/GetID.py | vkuznet/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 8 | 2015-08-14T04:01:32.000Z | 2021-06-03T00:56:42.000Z | Server/Python/src/dbs/dao/MySQL/ProcessedDataset/GetID.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 162 | 2015-01-07T21:34:47.000Z | 2021-10-13T09:42:41.000Z | Server/Python/src/dbs/dao/MySQL/ProcessedDataset/GetID.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 16 | 2015-01-22T15:27:29.000Z | 2021-04-28T09:23:28.000Z | #!/usr/bin/env python
"""
This module provides ProcessedDataset.GetID data access object.
"""
from dbs.dao.Oracle.ProcessedDataset.GetID import GetID as OraProcessedDatasetGetID
class GetID(OraProcessedDatasetGetID):
pass
| 23.6 | 83 | 0.771186 | 26 | 236 | 7 | 0.807692 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144068 | 236 | 9 | 84 | 26.222222 | 0.90099 | 0.355932 | 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 |
4fcc20a7807a2a3dadd3ba701ae5dd8c7d7c9e33 | 47,556 | py | Python | hunter_douglas/pm_utils.py | thispl/hunter_douglas | 40ac85e9fba607ec8a9aa6a472b486f8b24f8600 | [
"MIT"
] | null | null | null | hunter_douglas/pm_utils.py | thispl/hunter_douglas | 40ac85e9fba607ec8a9aa6a472b486f8b24f8600 | [
"MIT"
] | null | null | null | hunter_douglas/pm_utils.py | thispl/hunter_douglas | 40ac85e9fba607ec8a9aa6a472b486f8b24f8600 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2017, VHRS and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe,os,base64
import requests
import datetime
import json,calendar
from datetime import datetime,timedelta,date,time
import datetime as dt
from frappe.... | 44.403361 | 149 | 0.570927 | 4,883 | 47,556 | 5.197215 | 0.042802 | 0.028371 | 0.014186 | 0.039404 | 0.928639 | 0.920522 | 0.909173 | 0.900071 | 0.895776 | 0.893687 | 0 | 0.014777 | 0.32549 | 47,556 | 1,071 | 150 | 44.403361 | 0.776382 | 0.084868 | 0 | 0.899787 | 0 | 0 | 0.244735 | 0.059859 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009595 | false | 0 | 0.010661 | 0 | 0.020256 | 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 |
4fd9e5b2aeb88a8117dc4d087072e1af258cd04c | 6,504 | py | Python | TSA/tests/test_AGNES.py | Boyne272/Thin_Section_Analsis | 91023267f96f709d62fa44d10ff5636d263e346c | [
"MIT"
] | 2 | 2020-01-15T09:02:04.000Z | 2020-01-15T09:02:30.000Z | TSA/tests/test_AGNES.py | msc-acse/acse-9-independent-research-project-Boyne272 | b6f52a189dbb1cfb53325793966e32ee39155e9e | [
"MIT"
] | null | null | null | TSA/tests/test_AGNES.py | msc-acse/acse-9-independent-research-project-Boyne272 | b6f52a189dbb1cfb53325793966e32ee39155e9e | [
"MIT"
] | 3 | 2019-08-27T12:44:14.000Z | 2020-01-15T09:02:41.000Z | import unittest
import numpy as np
import matplotlib.pyplot as plt
from TSA.merging import AGNES
class Test_AGNES(unittest.TestCase):
def test_2d_dummy(self):
"Generate 2d dummy data and test the whole functionality"
# generate dummy data with 6 regions
np.random.... | 36.745763 | 97 | 0.59056 | 835 | 6,504 | 4.467066 | 0.185629 | 0.043432 | 0.028954 | 0.045845 | 0.877748 | 0.849598 | 0.838606 | 0.838606 | 0.838606 | 0.838606 | 0 | 0.040027 | 0.316267 | 6,504 | 177 | 98 | 36.745763 | 0.798741 | 0.235547 | 0 | 0.714286 | 1 | 0 | 0.195755 | 0.005358 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.032967 | false | 0.010989 | 0.043956 | 0 | 0.087912 | 0.010989 | 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 |
8cb2c5104b81e4cb414ecc7a76afd6c494dabaea | 1,271 | py | Python | tests/test_rotate.py | tlambert-forks/pyclesperanto_prototype | aea964a75e691f19b7753040daa8b276d57ccf36 | [
"BSD-3-Clause"
] | 64 | 2020-03-18T12:11:22.000Z | 2022-03-31T08:19:18.000Z | tests/test_rotate.py | haesleinhuepf/pyclesperanto_prototype | 65bc3035d3b2b61a2722c93b95bae310bfbd190e | [
"BSD-3-Clause"
] | 148 | 2020-05-14T06:14:11.000Z | 2022-03-26T15:02:31.000Z | tests/test_rotate.py | haesleinhuepf/pyclesperanto_prototype | 65bc3035d3b2b61a2722c93b95bae310bfbd190e | [
"BSD-3-Clause"
] | 16 | 2020-05-31T00:53:44.000Z | 2022-03-23T13:20:57.000Z | import pyclesperanto_prototype as cle
import numpy as np
def test_affine_transform_rotate():
source = cle.push(np.asarray([[
[0, 0, 0, 1, 1],
[0, 0, 0, 0, 0],
[0, 0, 0, 0, 0],
[0, 0, 0, 0, 0],
[0, 0, 0, 0, 0],
]]))
reference = cle.push(np.asarray([[
... | 21.913793 | 91 | 0.467349 | 207 | 1,271 | 2.758454 | 0.173913 | 0.283713 | 0.37303 | 0.434326 | 0.805604 | 0.707531 | 0.707531 | 0.707531 | 0.658494 | 0.658494 | 0 | 0.126492 | 0.340677 | 1,271 | 57 | 92 | 22.298246 | 0.554893 | 0 | 0 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0.045455 | false | 0 | 0.045455 | 0 | 0.090909 | 0.090909 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
5066262dbeccf63b8dbf5f5a29e26a421aeb172f | 5,519 | py | Python | face_storage/upload.py | Face-Recognition-Learning-Group/face_service | c23a8519cbf0f0f6297d7b43a5db8077438c58dd | [
"Apache-2.0"
] | 6 | 2021-05-19T06:48:35.000Z | 2021-11-09T11:52:11.000Z | face_storage/upload.py | VSOURCE-Platform/VSOURCE_FACE_PLATFORM | c23a8519cbf0f0f6297d7b43a5db8077438c58dd | [
"Apache-2.0"
] | 1 | 2021-05-09T08:29:39.000Z | 2021-05-09T08:29:39.000Z | face_storage/upload.py | VSOURCE-Platform/VSOURCE_FACE_PLATFORM | c23a8519cbf0f0f6297d7b43a5db8077438c58dd | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# @Author : Ecohnoch(xcy)
# @File : upload.py
# @Function : TODO
from werkzeug.utils import secure_filename
from flask import Blueprint
from app import app
import traceback
import flask
import time
import os
upload_api = Blueprint('upload', __name__)
@upload_api.route('/face_upload', ... | 41.810606 | 121 | 0.641964 | 711 | 5,519 | 4.825598 | 0.129395 | 0.047217 | 0.061207 | 0.083941 | 0.904984 | 0.86826 | 0.86826 | 0.86826 | 0.86826 | 0.86826 | 0 | 0.011436 | 0.207828 | 5,519 | 131 | 122 | 42.129771 | 0.77333 | 0.036782 | 0 | 0.798077 | 0 | 0 | 0.14345 | 0.02771 | 0 | 0 | 0 | 0.007634 | 0 | 1 | 0.086538 | false | 0 | 0.067308 | 0.028846 | 0.326923 | 0.048077 | 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 |
50c66f0bfa8a555c41ba5a7de97a727f1697404c | 3,911 | py | Python | Tests/Elsevier_Test.py | PeterMorrison1/JournalPDFScraper | ca30112653da9a53c9be5dc742e1409d94f71708 | [
"MIT"
] | null | null | null | Tests/Elsevier_Test.py | PeterMorrison1/JournalPDFScraper | ca30112653da9a53c9be5dc742e1409d94f71708 | [
"MIT"
] | null | null | null | Tests/Elsevier_Test.py | PeterMorrison1/JournalPDFScraper | ca30112653da9a53c9be5dc742e1409d94f71708 | [
"MIT"
] | null | null | null | from unittest import TestCase
from pprint import pprint
from Scrapers.ElsevierScraper import ElsevierScraper
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
class Elsevier_pdf_Test(TestCase):
@classmethod
def setUpClass(cls):
options = webdriver.ChromeOption... | 41.168421 | 128 | 0.666837 | 479 | 3,911 | 5.296451 | 0.185804 | 0.069373 | 0.0473 | 0.069373 | 0.820654 | 0.820654 | 0.816713 | 0.814348 | 0.814348 | 0.814348 | 0 | 0.068439 | 0.230376 | 3,911 | 95 | 129 | 41.168421 | 0.774419 | 0 | 0 | 0.666667 | 0 | 0.15873 | 0.318252 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 1 | 0.15873 | false | 0.063492 | 0.079365 | 0 | 0.253968 | 0.015873 | 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 |
50e5d4ef11b2e91cca3833d0058f4ada2e8bc40a | 59,781 | py | Python | ssp/migrations/0001_initial.py | EOP-OMB/opal | 72db2700cdd7a766093d054372246714cb83d482 | [
"CC0-1.0"
] | 16 | 2021-04-21T20:12:20.000Z | 2022-03-28T13:00:15.000Z | ssp/migrations/0001_initial.py | EOP-OMB/opal | 72db2700cdd7a766093d054372246714cb83d482 | [
"CC0-1.0"
] | 16 | 2021-04-26T17:32:07.000Z | 2022-01-24T15:30:17.000Z | ssp/migrations/0001_initial.py | EOP-OMB/opal | 72db2700cdd7a766093d054372246714cb83d482 | [
"CC0-1.0"
] | 10 | 2021-04-21T20:12:25.000Z | 2022-03-15T18:09:58.000Z | # Generated by Django 3.2.9 on 2021-11-26 20:53
from django.db import migrations, models
import django.db.models.deletion
import model_clone.mixins.clone
import ssp.models.base_classes_and_fields
import uuid
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
... | 69.190972 | 585 | 0.624998 | 6,342 | 59,781 | 5.681804 | 0.051403 | 0.042959 | 0.051951 | 0.079925 | 0.884442 | 0.864073 | 0.843204 | 0.81165 | 0.790087 | 0.776655 | 0 | 0.010304 | 0.235342 | 59,781 | 863 | 586 | 69.271147 | 0.77798 | 0.000753 | 0 | 0.731308 | 1 | 0 | 0.206097 | 0.020926 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008178 | 0 | 0.01285 | 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 |
0fa568dfc2aac67c3d6dce1d7ddfeb411e5da3ea | 3,525 | py | Python | src/sage/repl/ipython_tests.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | null | null | null | src/sage/repl/ipython_tests.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | null | null | null | src/sage/repl/ipython_tests.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | 1 | 2020-07-24T12:20:37.000Z | 2020-07-24T12:20:37.000Z | '''
Tests for the IPython integration
First, test the pinfo magic for Python code. This is what IPython
calls when you ask for the single-questionmark help, like `foo?` ::
sage: from sage.repl.interpreter import get_test_shell
sage: shell = get_test_shell()
sage: shell.run_cell(u'from sage.repl.ipython_te... | 28.2 | 82 | 0.629787 | 420 | 3,525 | 5.154762 | 0.190476 | 0.049885 | 0.044342 | 0.059122 | 0.854503 | 0.819861 | 0.738106 | 0.738106 | 0.658661 | 0.618014 | 0 | 0.001928 | 0.264113 | 3,525 | 124 | 83 | 28.427419 | 0.832691 | 0.960851 | 0 | 0 | 0 | 0 | 0.301205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
0fc4f3b72e1d2572a6477269ae98e84ad3ab1b06 | 120 | py | Python | dq/qm.py | shuaigroup/dummy_qm | ddf0a580487e88da584ebb723e9bf920fbc2397e | [
"MIT"
] | null | null | null | dq/qm.py | shuaigroup/dummy_qm | ddf0a580487e88da584ebb723e9bf920fbc2397e | [
"MIT"
] | null | null | null | dq/qm.py | shuaigroup/dummy_qm | ddf0a580487e88da584ebb723e9bf920fbc2397e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
def scf(mol_name):
return len(mol_name)
def dft(mol_name):
return len(mol_name) - 2
| 12 | 28 | 0.608333 | 20 | 120 | 3.45 | 0.55 | 0.405797 | 0.376812 | 0.463768 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0.225 | 120 | 9 | 29 | 13.333333 | 0.72043 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
ba2b2907655e40bf85b18f956a1b4b765f9b3053 | 3,041 | py | Python | src/backtracking/tests/test_nqueens.py | seahrh/coding-interview | 517d19e7e88c02acec4aa6336bc20206ce3f1897 | [
"MIT"
] | null | null | null | src/backtracking/tests/test_nqueens.py | seahrh/coding-interview | 517d19e7e88c02acec4aa6336bc20206ce3f1897 | [
"MIT"
] | null | null | null | src/backtracking/tests/test_nqueens.py | seahrh/coding-interview | 517d19e7e88c02acec4aa6336bc20206ce3f1897 | [
"MIT"
] | null | null | null | from backtracking.nqueens import *
class TestNQueens:
def test_queens(self):
assert queens(1) == {(Position(0, 0),)}
assert queens(2) == set()
assert queens(3) == set()
assert queens(4) == {
(
Position(row=0, col=1),
Position(r... | 32.010526 | 48 | 0.352516 | 320 | 3,041 | 3.346875 | 0.065625 | 0.595705 | 0.134454 | 0.168067 | 0.867414 | 0.865546 | 0.865546 | 0.865546 | 0.865546 | 0.280112 | 0 | 0.082109 | 0.507399 | 3,041 | 94 | 49 | 32.351064 | 0.632844 | 0 | 0 | 0.76087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054348 | 1 | 0.01087 | false | 0 | 0.01087 | 0 | 0.032609 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 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 |
e864b30c6597ac2fa1f0d231e0f5b14a0682d533 | 63,079 | py | Python | datadotworld/client/_swagger/apis/datasets_api.py | DanialBetres/data.world-py | 0e3acf2be9a07c5ab62ecac9289eb662088d54c7 | [
"Apache-2.0"
] | 99 | 2017-01-23T16:24:18.000Z | 2022-03-30T22:51:58.000Z | datadotworld/client/_swagger/apis/datasets_api.py | DanialBetres/data.world-py | 0e3acf2be9a07c5ab62ecac9289eb662088d54c7 | [
"Apache-2.0"
] | 77 | 2017-01-26T04:33:06.000Z | 2022-03-11T09:39:50.000Z | datadotworld/client/_swagger/apis/datasets_api.py | DanialBetres/data.world-py | 0e3acf2be9a07c5ab62ecac9289eb662088d54c7 | [
"Apache-2.0"
] | 29 | 2017-01-25T16:55:23.000Z | 2022-01-31T01:44:15.000Z | # coding: utf-8
"""
data.world API
# data.world in a nutshell data.world is a productive, secure platform for modern data teamwork. We bring together your data practitioners, subject matter experts, and other stakeholders by removing costly barriers to data discovery, comprehension, integration, and sharing... | 53.007563 | 1,984 | 0.601658 | 7,262 | 63,079 | 5.088543 | 0.054117 | 0.043298 | 0.009093 | 0.033123 | 0.936379 | 0.927097 | 0.924228 | 0.914675 | 0.911347 | 0.905853 | 0 | 0.003992 | 0.300988 | 63,079 | 1,189 | 1,985 | 53.052145 | 0.834078 | 0.422771 | 0 | 0.779264 | 0 | 0.023411 | 0.221989 | 0.066423 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035117 | false | 0 | 0.011706 | 0 | 0.098662 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e886ce8a094b4f27ee9e8477879351a1dd662e5a | 28,579 | py | Python | docs/source/mmirheo/ParticleVectors/__init__.py | cselab/uDeviceX | 2ad5e9dd9f118e3998b291cbfc35ee91205bbef8 | [
"MIT"
] | 22 | 2019-07-17T13:06:41.000Z | 2021-12-15T14:45:24.000Z | docs/source/_mirheo/ParticleVectors/__init__.py | cselab/Mirheo | 21e797ae5bd91ad550bb6b39bccb5b861922beef | [
"MIT"
] | 63 | 2019-06-26T13:30:47.000Z | 2021-02-23T10:13:10.000Z | docs/source/mmirheo/ParticleVectors/__init__.py | dimaleks/uDeviceX | 2ad5e9dd9f118e3998b291cbfc35ee91205bbef8 | [
"MIT"
] | 9 | 2019-10-11T07:32:19.000Z | 2021-05-17T11:25:35.000Z | class DataManager:
r"""
A collection of channels in pinned memory.
"""
def __init__():
r"""Initialize self. See help(type(self)) for accurate signature.
"""
pass
class LocalParticleVector:
r"""
Particle local data storage, composed of particle channels.
... | 24.637069 | 258 | 0.561006 | 3,177 | 28,579 | 4.985836 | 0.07932 | 0.026515 | 0.024747 | 0.033333 | 0.868939 | 0.858712 | 0.837058 | 0.82721 | 0.817803 | 0.809912 | 0 | 0.009315 | 0.353931 | 28,579 | 1,159 | 259 | 24.658326 | 0.84857 | 0.671297 | 0 | 0.621212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.287879 | true | 0.287879 | 0 | 0 | 0.327273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
ad171d04bddce02ac07bc4d0d2a074145f6350a1 | 3,019 | py | Python | lct/secrets/secrets_provider.py | pathbreak/linode-cluster-toolkit | 280257436105703c9a122e7ed111a72efa79adfc | [
"MIT"
] | 11 | 2017-07-19T15:25:39.000Z | 2021-12-02T20:03:21.000Z | lct/secrets/secrets_provider.py | pathbreak/linode-cluster-toolkit | 280257436105703c9a122e7ed111a72efa79adfc | [
"MIT"
] | null | null | null | lct/secrets/secrets_provider.py | pathbreak/linode-cluster-toolkit | 280257436105703c9a122e7ed111a72efa79adfc | [
"MIT"
] | 1 | 2021-12-02T20:03:22.000Z | 2021-12-02T20:03:22.000Z | class SecretsProvider(object):
'''
Interface to be implemented by a secrets provider.
'''
def initialize(self, tk):
raise NotImplementedError('subclasses should override this')
def close(self):
raise NotImplementedError('subclasses should override this')
def get... | 29.891089 | 84 | 0.638953 | 306 | 3,019 | 6.045752 | 0.137255 | 0.259459 | 0.367568 | 0.432432 | 0.924324 | 0.85027 | 0.814054 | 0.722703 | 0.688649 | 0.568108 | 0 | 0.007092 | 0.299437 | 3,019 | 100 | 85 | 30.19 | 0.867612 | 0.016562 | 0 | 0.487805 | 0 | 0 | 0.209956 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.487805 | false | 0.097561 | 0 | 0 | 0.512195 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 10 |
0f0a8190420d4bda4492f92478a720af128f54ea | 9,178 | py | Python | cotiza/migrations/0011_auto_20201211_0110.py | crewxart/gestor-cicloverde | 3a1289649037f9d3420be8a98af4080ebeb7111e | [
"CC0-1.0"
] | null | null | null | cotiza/migrations/0011_auto_20201211_0110.py | crewxart/gestor-cicloverde | 3a1289649037f9d3420be8a98af4080ebeb7111e | [
"CC0-1.0"
] | null | null | null | cotiza/migrations/0011_auto_20201211_0110.py | crewxart/gestor-cicloverde | 3a1289649037f9d3420be8a98af4080ebeb7111e | [
"CC0-1.0"
] | null | null | null | # Generated by Django 3.1.4 on 2020-12-11 04:10
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('cotiza', '0010_auto_20201210_2225'),
]
operations = [
migrations.CreateModel(
name='todo',
fields=[
... | 39.390558 | 114 | 0.590325 | 842 | 9,178 | 6.212589 | 0.146081 | 0.165169 | 0.229402 | 0.284458 | 0.845154 | 0.834831 | 0.793921 | 0.793921 | 0.721659 | 0.721659 | 0 | 0.023872 | 0.297124 | 9,178 | 232 | 115 | 39.560345 | 0.78701 | 0.004903 | 0 | 0.699115 | 1 | 0 | 0.144453 | 0.032417 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004425 | 0 | 0.017699 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
7e2a3f6bb37faefd1dddcac23faa8151b77d0a8f | 590 | py | Python | test/test_modify_group.py | KlimenkovDM/Python_for_Test | 29ec28f4d424514a674ce1fccb69494095e2e300 | [
"Apache-2.0"
] | null | null | null | test/test_modify_group.py | KlimenkovDM/Python_for_Test | 29ec28f4d424514a674ce1fccb69494095e2e300 | [
"Apache-2.0"
] | null | null | null | test/test_modify_group.py | KlimenkovDM/Python_for_Test | 29ec28f4d424514a674ce1fccb69494095e2e300 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from model.group import Group
def test_modify_first_group(app):
app.session.login(username="admin", password="secret")
app.group.modify_first_group(Group(name='New group'))
app.session.logout()
def test_modify_first_group(app):
app.session.login(username="admin", password="secr... | 34.705882 | 60 | 0.730508 | 83 | 590 | 5.012048 | 0.277108 | 0.158654 | 0.230769 | 0.129808 | 0.776442 | 0.776442 | 0.776442 | 0.776442 | 0.776442 | 0.776442 | 0 | 0.001916 | 0.115254 | 590 | 17 | 61 | 34.705882 | 0.795019 | 0.035593 | 0 | 0.692308 | 0 | 0 | 0.109155 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.230769 | 0.076923 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
7e696355f7d76b69371a1b09e8fe536efe2d1970 | 12,136 | py | Python | src/generator/AutoRest.Python.Azure.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/subscription_in_credentials_operations.py | fhoering/autorest | b36c77ebb6a5c92aca72eea0894a683506af5817 | [
"MIT"
] | null | null | null | src/generator/AutoRest.Python.Azure.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/subscription_in_credentials_operations.py | fhoering/autorest | b36c77ebb6a5c92aca72eea0894a683506af5817 | [
"MIT"
] | null | null | null | src/generator/AutoRest.Python.Azure.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/subscription_in_credentials_operations.py | fhoering/autorest | b36c77ebb6a5c92aca72eea0894a683506af5817 | [
"MIT"
] | null | null | null | # 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 ... | 44.782288 | 140 | 0.675758 | 1,286 | 12,136 | 6.203733 | 0.119751 | 0.041364 | 0.030083 | 0.045124 | 0.886939 | 0.886939 | 0.886939 | 0.886939 | 0.886939 | 0.886939 | 0 | 0.016329 | 0.222891 | 12,136 | 270 | 141 | 44.948148 | 0.829605 | 0.327703 | 0 | 0.8 | 0 | 0.032 | 0.169677 | 0.116414 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048 | false | 0 | 0.024 | 0 | 0.12 | 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 |
7e6a04d3063fec61d0e49953695965a7284b18e3 | 5,994 | py | Python | GAN-pytorch-book/src/mnist.py | threecifanggen/data-science-learning | 3ca795c60f7abbce5ebd538cb25c1a54cac14d8a | [
"MIT"
] | null | null | null | GAN-pytorch-book/src/mnist.py | threecifanggen/data-science-learning | 3ca795c60f7abbce5ebd538cb25c1a54cac14d8a | [
"MIT"
] | null | null | null | GAN-pytorch-book/src/mnist.py | threecifanggen/data-science-learning | 3ca795c60f7abbce5ebd538cb25c1a54cac14d8a | [
"MIT"
] | null | null | null | from typing import NoReturn
import torch.nn as nn
import torch
import plotly.express as px
import pandas as pd
from .view import View
class MNISTDiscriminator(nn.Module):
"""判别器
"""
def __init__(self):
super().__init__()
self.model = nn.Sequential(
nn.Linear(784, 200),
... | 23.976 | 88 | 0.512679 | 638 | 5,994 | 4.711599 | 0.137931 | 0.05855 | 0.034597 | 0.021291 | 0.90519 | 0.892881 | 0.878244 | 0.845642 | 0.827013 | 0.827013 | 0 | 0.036107 | 0.362362 | 5,994 | 249 | 89 | 24.072289 | 0.750392 | 0.014348 | 0 | 0.805714 | 0 | 0 | 0.019119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.091429 | false | 0 | 0.034286 | 0.017143 | 0.171429 | 0.011429 | 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 |
7e8367a44dca2914110be84cabd9263c1719002f | 2,929 | py | Python | 2016/day/14/solution.py | iangregson/advent-of-code | e2a2dde30dcaed027a5ba78f9270f8a1976577f1 | [
"MIT"
] | null | null | null | 2016/day/14/solution.py | iangregson/advent-of-code | e2a2dde30dcaed027a5ba78f9270f8a1976577f1 | [
"MIT"
] | null | null | null | 2016/day/14/solution.py | iangregson/advent-of-code | e2a2dde30dcaed027a5ba78f9270f8a1976577f1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import os
import re
import hashlib
dir_path = os.path.dirname(os.path.realpath(__file__))
file = open(dir_path + "/input.txt", "r")
input_txt = 'ahsbgdzn'
# input_txt = 'abc'
print(input_txt)
hashes = {}
def mdee5(i):
if i in hashes:
return hashes[i]
m = hashlib.md5()
m... | 17.02907 | 60 | 0.519631 | 449 | 2,929 | 3.320713 | 0.167038 | 0.026828 | 0.04829 | 0.045607 | 0.879946 | 0.879946 | 0.879946 | 0.879946 | 0.879946 | 0.879946 | 0 | 0.035494 | 0.336292 | 2,929 | 171 | 61 | 17.128655 | 0.731481 | 0.100034 | 0 | 0.882883 | 0 | 0 | 0.034706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09009 | false | 0 | 0.027027 | 0 | 0.261261 | 0.027027 | 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 |
0e5b49e827e3f73586cb999abf759779cef607be | 835 | py | Python | MDRSREID/utils/data_utils/Similarity/torch_similarity/batch_hard.py | nickhuang1996/HJL-re-id | 107b25f31c961f360f69560cfddd78dfc0da3291 | [
"MIT"
] | 43 | 2020-09-20T09:40:04.000Z | 2022-03-29T11:25:22.000Z | MDRSREID/utils/data_utils/Similarity/torch_similarity/batch_hard.py | nickhuang1996/HJL-re-id | 107b25f31c961f360f69560cfddd78dfc0da3291 | [
"MIT"
] | 19 | 2020-10-05T05:35:38.000Z | 2021-12-10T03:17:31.000Z | MDRSREID/utils/data_utils/Similarity/torch_similarity/batch_hard.py | nickhuang1996/HJL-re-id | 107b25f31c961f360f69560cfddd78dfc0da3291 | [
"MIT"
] | 18 | 2020-10-01T14:41:53.000Z | 2021-09-02T06:57:57.000Z | import torch
def batch_hard(mat_distance, mat_similarity, more_similar):
if more_similar is 'smaller':
sorted_mat_distance, _ = torch.sort(mat_distance + (-9999999.) * (1 - mat_similarity), dim=1,descending=True)
hard_p = sorted_mat_distance[:, 0]
sorted_mat_distance, _ = torch.sort(mat_di... | 49.117647 | 117 | 0.686228 | 113 | 835 | 4.699115 | 0.238938 | 0.269303 | 0.256121 | 0.165725 | 0.806026 | 0.806026 | 0.806026 | 0.772128 | 0.772128 | 0.772128 | 0 | 0.057057 | 0.202395 | 835 | 16 | 118 | 52.1875 | 0.74024 | 0 | 0 | 0.428571 | 0 | 0 | 0.015569 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.071429 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
0ea8e4be6a6c8ada4eadc5cfc0bf1697ebf6fcf2 | 27,128 | py | Python | tests/unit/api/jira_server/test_API_Jira_To_Elastic.py | pbx-gs/OSBot-jira | 7677afee1f80398ddcccd6b45423bf6adc20b970 | [
"Apache-2.0"
] | 1 | 2021-04-02T05:58:23.000Z | 2021-04-02T05:58:23.000Z | tests/unit/api/jira_server/test_API_Jira_To_Elastic.py | pbx-gs/OSBot-jira | 7677afee1f80398ddcccd6b45423bf6adc20b970 | [
"Apache-2.0"
] | 1 | 2021-09-03T09:55:39.000Z | 2021-09-03T09:55:39.000Z | tests/unit/api/jira_server/test_API_Jira_To_Elastic.py | filetrust/OSBot-jira | d753fff59cf938cf94a51bf8bc7981691524b686 | [
"Apache-2.0"
] | 2 | 2021-04-02T05:58:29.000Z | 2021-09-03T09:43:29.000Z | from osbot_aws.helpers.Test_Helper import Test_Helper
from osbot_jira.api.jira_server.API_Jira_To_Elastic import API_Jira_To_Elastic
class test_API_Jira_To_Elastic(Test_Helper):
def setUp(self):
super().setUp()
self.api = API_Jira_To_Elastic()
def test_elastic(self):
self.result = se... | 542.56 | 8,607 | 0.732011 | 3,392 | 27,128 | 5.771226 | 0.096698 | 0.112638 | 0.063445 | 0.07172 | 0.913414 | 0.896864 | 0.89482 | 0.89482 | 0.892879 | 0.890223 | 0 | 0.133249 | 0.069928 | 27,128 | 49 | 8,608 | 553.632653 | 0.642265 | 0 | 0 | 0.138889 | 0 | 1.5 | 0.727219 | 0.03384 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.25 | false | 0 | 0.055556 | 0 | 0.333333 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
7ec606cea9fb5c6879ecbe2dbcb8f2eaf0d71410 | 8,339 | py | Python | benchmarks_FEM_active/HM/excavation/BoreholeExcavation/borehole_excav.py | GeoStat-Framework/ogs5py_benchmarks | 0b6db19b87cfad36459757f99ce2458f8e12b20b | [
"BSD-4-Clause"
] | 3 | 2019-01-15T17:38:11.000Z | 2020-01-07T23:44:12.000Z | benchmarks/HM/excavation/BoreholeExcavation/borehole_excav.py | GeoStat-Framework/ogs5py_benchmarks | 0b6db19b87cfad36459757f99ce2458f8e12b20b | [
"BSD-4-Clause"
] | 1 | 2020-05-12T09:18:09.000Z | 2020-05-12T10:48:32.000Z | benchmarks/HM/excavation/BoreholeExcavation/borehole_excav.py | GeoStat-Framework/ogs5py_benchmarks | 0b6db19b87cfad36459757f99ce2458f8e12b20b | [
"BSD-4-Clause"
] | 1 | 2020-01-08T13:28:50.000Z | 2020-01-08T13:28:50.000Z | # -*- coding: utf-8 -*-
from ogs5py import OGS
model = OGS(
task_root='borehole_excav_root',
task_id='borehole_excav',
output_dir='out',
)
model.msh.read_file('borehole_excav.msh')
model.gli.read_file('borehole_excav.gli')
model.pcs.add_block(
main_key='PROCESS',
PCS_TYPE='RICHARDS_FLOW',
BOUND... | 24.526471 | 81 | 0.601631 | 1,028 | 8,339 | 4.561284 | 0.160506 | 0.054596 | 0.081894 | 0.102367 | 0.865643 | 0.855833 | 0.850928 | 0.835359 | 0.825549 | 0.786522 | 0 | 0.060769 | 0.22053 | 8,339 | 339 | 82 | 24.59882 | 0.660615 | 0.002518 | 0 | 0.79822 | 0 | 0 | 0.258778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002967 | 0 | 0.002967 | 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 |
7edf123013bf013627c38708f4dac543fcb62feb | 36 | py | Python | src/eval/__init__.py | egillanton/ice-atis-nlu-evaluation | e80f44e2410c7b43b5a3674648564797c85ea0cd | [
"Apache-2.0"
] | null | null | null | src/eval/__init__.py | egillanton/ice-atis-nlu-evaluation | e80f44e2410c7b43b5a3674648564797c85ea0cd | [
"Apache-2.0"
] | null | null | null | src/eval/__init__.py | egillanton/ice-atis-nlu-evaluation | e80f44e2410c7b43b5a3674648564797c85ea0cd | [
"Apache-2.0"
] | null | null | null |
def ngram_model():
return True
| 9 | 18 | 0.666667 | 5 | 36 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 36 | 3 | 19 | 12 | 0.851852 | 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 |
7eee2cc2d184a3f874e258e7885006d43122c6cc | 44 | py | Python | Practice/config_updated.py | tanzich/World_Weather_Analysis | 67d65a736a24c6e3f3a75f1575bcc7260efca0af | [
"Apache-2.0"
] | null | null | null | Practice/config_updated.py | tanzich/World_Weather_Analysis | 67d65a736a24c6e3f3a75f1575bcc7260efca0af | [
"Apache-2.0"
] | null | null | null | Practice/config_updated.py | tanzich/World_Weather_Analysis | 67d65a736a24c6e3f3a75f1575bcc7260efca0af | [
"Apache-2.0"
] | null | null | null | api_key = 'b1746925006c7c4f67cbbd8d6254876a' | 44 | 44 | 0.886364 | 3 | 44 | 12.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 0.045455 | 44 | 1 | 44 | 44 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0.711111 | 0.711111 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
bc1d9f9d92769b4b6c2a134b3779569689f5c097 | 2,598 | py | Python | python-exercise300/281_290.py | sharebook-kr/learningspoons-bootcamp-finance | 0288f3f3b39f54420e4e9987f1de12892dc680ea | [
"MIT"
] | 9 | 2020-10-25T15:13:32.000Z | 2022-03-26T11:27:21.000Z | python-exercise300/281_290.py | sharebook-kr/learningspoons-bootcamp-finance | 0288f3f3b39f54420e4e9987f1de12892dc680ea | [
"MIT"
] | null | null | null | python-exercise300/281_290.py | sharebook-kr/learningspoons-bootcamp-finance | 0288f3f3b39f54420e4e9987f1de12892dc680ea | [
"MIT"
] | 7 | 2021-03-01T11:06:45.000Z | 2022-03-14T07:06:04.000Z | # 281
# class 차:
# def __init__(self, 바퀴, 가격):
# self.바퀴 = 바퀴
# self.가격 = 가격
#
#
# car = 차(2, 1000)
# print(car.바퀴)
# print(car.가격)
# 282
# class 차:
# def __init__(self, 바퀴, 가격):
# self.바퀴 = 바퀴
# self.가격 = 가격
#
#
# class 자전차(차):
# pass
# 283
# class 차:
# def __init__(... | 16.339623 | 38 | 0.467667 | 353 | 2,598 | 3.147309 | 0.113314 | 0.140414 | 0.178218 | 0.162016 | 0.814581 | 0.778578 | 0.778578 | 0.778578 | 0.744374 | 0.744374 | 0 | 0.032295 | 0.332564 | 2,598 | 159 | 39 | 16.339623 | 0.60842 | 0.881447 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
70c4e27bf4dfa9d90ac3811ef44d837327de11d3 | 6,491 | py | Python | src/preprocessors.py | astromid/pandemicdatahack-track3 | 0812dad4ed08c4bb952d80d0610b2fa92d27901a | [
"MIT"
] | 3 | 2020-12-20T10:16:30.000Z | 2022-03-24T04:39:25.000Z | src/preprocessors.py | astromid/pandemicdatahack-track3 | 0812dad4ed08c4bb952d80d0610b2fa92d27901a | [
"MIT"
] | null | null | null | src/preprocessors.py | astromid/pandemicdatahack-track3 | 0812dad4ed08c4bb952d80d0610b2fa92d27901a | [
"MIT"
] | 2 | 2020-12-20T10:16:34.000Z | 2020-12-20T15:18:01.000Z | from .base_preprocessor import BasePreprocessor
from category_encoders.cat_boost import CatBoostEncoder
import category_encoders as ce
import random
import numpy as np
import pandas as pd
SEED = 1377
N_FOLDS = 10
random.seed(SEED)
np.random.seed(SEED)
class CatPrep(BasePreprocessor):
def __init__(self, path):
... | 48.081481 | 109 | 0.650901 | 894 | 6,491 | 4.440716 | 0.105145 | 0.115617 | 0.065491 | 0.055416 | 0.80806 | 0.769521 | 0.748111 | 0.73602 | 0.722418 | 0.722418 | 0 | 0.00352 | 0.21214 | 6,491 | 134 | 110 | 48.440299 | 0.772781 | 0.57418 | 0 | 0.375 | 0 | 0 | 0.013319 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.232143 | false | 0 | 0.107143 | 0.035714 | 0.535714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
70cd3a781ecbd3d84802b4ca9e4b6acb93f00234 | 138 | py | Python | can_tools/scrapers/official/MD/__init__.py | jrybacek/can-scrapers | 1a32a45be6aa6630de4d100c56c2a8659a1b1025 | [
"MIT"
] | null | null | null | can_tools/scrapers/official/MD/__init__.py | jrybacek/can-scrapers | 1a32a45be6aa6630de4d100c56c2a8659a1b1025 | [
"MIT"
] | null | null | null | can_tools/scrapers/official/MD/__init__.py | jrybacek/can-scrapers | 1a32a45be6aa6630de4d100c56c2a8659a1b1025 | [
"MIT"
] | null | null | null | from can_tools.scrapers.official.MD.md_counties import MarylandCounties
from can_tools.scrapers.official.MD.md_state import MarylandState
| 46 | 71 | 0.884058 | 20 | 138 | 5.9 | 0.55 | 0.118644 | 0.20339 | 0.338983 | 0.542373 | 0.542373 | 0.542373 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 138 | 2 | 72 | 69 | 0.907692 | 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 |
cb325d57b49f79432870f56bc837c60633e7740e | 118,015 | py | Python | meta.py | weversonvn/mooneyFaceMetaExp | 88a78a2c0d95cda46eaea25715a2da1507dbc923 | [
"Apache-2.0"
] | null | null | null | meta.py | weversonvn/mooneyFaceMetaExp | 88a78a2c0d95cda46eaea25715a2da1507dbc923 | [
"Apache-2.0"
] | null | null | null | meta.py | weversonvn/mooneyFaceMetaExp | 88a78a2c0d95cda46eaea25715a2da1507dbc923 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This experiment was created using PsychoPy3 Experiment Builder (v3.2.3),
on ter 18 fev 2020 15:40:44 -03
If you publish work using this script the most relevant publication is:
Peirce J, Gray JR, Simpson S, MacAskill M, Höchenberger R, Sogo H, Kastman E, Linde... | 45.530478 | 135 | 0.6232 | 13,729 | 118,015 | 5.28021 | 0.04516 | 0.015064 | 0.012898 | 0.020347 | 0.901879 | 0.887091 | 0.85964 | 0.827871 | 0.783328 | 0.761022 | 0 | 0.016949 | 0.29009 | 118,015 | 2,591 | 136 | 45.548051 | 0.848305 | 0.291302 | 0 | 0.708013 | 0 | 0 | 0.04071 | 0.002297 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.006037 | 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 |
cb5a74126e1ebdc965f47d068582699e0002ebd5 | 5,325 | py | Python | envi/tests/msp430/ijumps.py | rnui2k/vivisect | b7b00f2d03defef28b4b8c912e3a8016e956c5f7 | [
"ECL-2.0",
"Apache-2.0"
] | 716 | 2015-01-01T14:41:11.000Z | 2022-03-28T06:51:50.000Z | envi/tests/msp430/ijumps.py | rnui2k/vivisect | b7b00f2d03defef28b4b8c912e3a8016e956c5f7 | [
"ECL-2.0",
"Apache-2.0"
] | 266 | 2015-01-01T15:07:27.000Z | 2022-03-30T15:19:26.000Z | envi/tests/msp430/ijumps.py | rnui2k/vivisect | b7b00f2d03defef28b4b8c912e3a8016e956c5f7 | [
"ECL-2.0",
"Apache-2.0"
] | 159 | 2015-01-01T16:19:44.000Z | 2022-03-21T21:55:34.000Z | from envi.archs.msp430.regs import *
checks = [
# JC / JHS
(
'JC #0x4410 (C=0)',
{ 'regs': [], 'flags': [(SR_N, 0), (SR_Z, 0), (SR_C, 0), (SR_V, 0)], 'code': "072c", 'data': "" },
{ 'regs': [(REG_PC, 0x4402)], 'flags': [(SR_N, 0), (SR_Z, 0), (SR_C, 0), (SR_V, 0)], 'code': "072c", 'data'... | 46.304348 | 121 | 0.388357 | 812 | 5,325 | 2.336207 | 0.050493 | 0.151819 | 0.160253 | 0.107538 | 0.938851 | 0.936215 | 0.936215 | 0.936215 | 0.933579 | 0.933579 | 0 | 0.133316 | 0.271737 | 5,325 | 114 | 122 | 46.710526 | 0.355854 | 0.009577 | 0 | 0.193878 | 0 | 0 | 0.216334 | 0 | 0 | 0 | 0.043305 | 0 | 0 | 1 | 0 | false | 0 | 0.010204 | 0 | 0.010204 | 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 |
cbaa4bab6dea599d9bc4ad0353d8a77cc9c194f0 | 119 | py | Python | recipe/run_test.py | conda-forge/django-debug-toolbar-feedstock | 8f5d5fde27bf1568da89ef820758625794ff215c | [
"BSD-3-Clause"
] | null | null | null | recipe/run_test.py | conda-forge/django-debug-toolbar-feedstock | 8f5d5fde27bf1568da89ef820758625794ff215c | [
"BSD-3-Clause"
] | 28 | 2016-04-02T11:46:43.000Z | 2021-12-15T23:36:09.000Z | recipe/run_test.py | conda-forge/django-debug-toolbar-feedstock | 8f5d5fde27bf1568da89ef820758625794ff215c | [
"BSD-3-Clause"
] | 5 | 2016-04-02T11:46:33.000Z | 2020-09-21T11:42:13.000Z | from django.conf import settings; settings.configure(DEBUG=True)
import debug_toolbar
import debug_toolbar.management
| 23.8 | 64 | 0.857143 | 16 | 119 | 6.25 | 0.625 | 0.22 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084034 | 119 | 4 | 65 | 29.75 | 0.917431 | 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 |
1db6e681f74db4f17d6f8bae5ab0b63b9cc62368 | 22,319 | py | Python | tests/integration/flex_api/v1/test_configuration.py | timgates42/twilio-python | ef29d03a4857b62b616df4a8f4f2b7c294afbb99 | [
"MIT"
] | 1 | 2020-10-29T19:28:25.000Z | 2020-10-29T19:28:25.000Z | tests/integration/flex_api/v1/test_configuration.py | CostantiniMatteo/twilio-python | 9eee1ca9e73790b12678e9a5660206ea44948d00 | [
"MIT"
] | 1 | 2020-08-25T15:27:57.000Z | 2020-08-25T15:27:57.000Z | tests/integration/flex_api/v1/test_configuration.py | CostantiniMatteo/twilio-python | 9eee1ca9e73790b12678e9a5660206ea44948d00 | [
"MIT"
] | 4 | 2021-03-25T09:00:08.000Z | 2021-08-05T06:54:23.000Z | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class ConfigurationTestCase(Int... | 40.802559 | 118 | 0.391729 | 1,224 | 22,319 | 6.88317 | 0.150327 | 0.016024 | 0.019228 | 0.014243 | 0.964392 | 0.957745 | 0.949792 | 0.949792 | 0.943858 | 0.938754 | 0 | 0.02368 | 0.498589 | 22,319 | 546 | 119 | 40.877289 | 0.729157 | 0.004884 | 0 | 0.583333 | 1 | 0 | 0.075983 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.125 | false | 0 | 0.083333 | 0 | 0.229167 | 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 |
1db746a28efcd554e3e7080c4577c8fec173a661 | 107 | py | Python | new_deeplab/utils/__init__.py | abhineet123/river_ice_segmentation | 24f0aa60b164fb21c00c269b2309172dbe7d22f4 | [
"CC-BY-3.0"
] | 10 | 2019-07-24T12:23:05.000Z | 2022-01-06T04:08:54.000Z | new_deeplab/utils/__init__.py | abhineet123/river_ice_segmentation | 24f0aa60b164fb21c00c269b2309172dbe7d22f4 | [
"CC-BY-3.0"
] | null | null | null | new_deeplab/utils/__init__.py | abhineet123/river_ice_segmentation | 24f0aa60b164fb21c00c269b2309172dbe7d22f4 | [
"CC-BY-3.0"
] | 7 | 2019-04-08T17:46:08.000Z | 2022-02-25T11:06:59.000Z | import os
def linux_path(*args, **kwargs):
return os.path.join(*args, **kwargs).replace(os.sep, '/')
| 17.833333 | 61 | 0.64486 | 16 | 107 | 4.25 | 0.6875 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 5 | 62 | 21.4 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 0 | 7 |
1df958f169940a78783ec5584c96077769516508 | 9,183 | py | Python | pytorch/sje.py | tchittesh/zsl-project | bfc99ccc0106ca5eebb5b674abf6fce793b26c12 | [
"MIT"
] | null | null | null | pytorch/sje.py | tchittesh/zsl-project | bfc99ccc0106ca5eebb5b674abf6fce793b26c12 | [
"MIT"
] | null | null | null | pytorch/sje.py | tchittesh/zsl-project | bfc99ccc0106ca5eebb5b674abf6fce793b26c12 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
from utils import normalizeFeaturesL2
class SJE_Original(nn.Module):
def __init__(self, img_feature_size, num_attributes, margin):
super(SJE_Original, self).__init__()
self.margin = margin
# copying initialization techniq... | 47.335052 | 104 | 0.665578 | 1,209 | 9,183 | 4.863524 | 0.085194 | 0.044898 | 0.036735 | 0.04898 | 0.929422 | 0.915136 | 0.915136 | 0.915136 | 0.901531 | 0.901531 | 0 | 0.014576 | 0.223021 | 9,183 | 193 | 105 | 47.580311 | 0.80953 | 0.251987 | 0 | 0.80315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133858 | false | 0 | 0.031496 | 0 | 0.330709 | 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 |
697503dd41cef46c1e1587c68964fa1318f1014c | 39,310 | py | Python | billforward/apis/notifications_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | 2 | 2016-11-23T17:32:37.000Z | 2022-02-24T05:13:20.000Z | billforward/apis/notifications_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | null | null | null | billforward/apis/notifications_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | 1 | 2016-12-30T20:02:48.000Z | 2016-12-30T20:02:48.000Z | # coding: utf-8
"""
BillForward REST API
OpenAPI spec version: 1.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
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... | 49.014963 | 253 | 0.620173 | 4,309 | 39,310 | 5.470179 | 0.064284 | 0.040728 | 0.025243 | 0.02257 | 0.949642 | 0.940181 | 0.931059 | 0.918035 | 0.90692 | 0.896568 | 0 | 0.000944 | 0.299008 | 39,310 | 801 | 254 | 49.076155 | 0.854442 | 0.422717 | 0 | 0.799465 | 1 | 0 | 0.210821 | 0.055329 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034759 | false | 0 | 0.018717 | 0 | 0.104278 | 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 |
69976f87d8a0a9f6dfac446f68d5f22ba3b8b9c5 | 6,005 | py | Python | mrio_common_metadata/conversion/exiobase_3_hybrid_io/version_config.py | brightway-lca/mrio_common_metadata | a9a7932b6eabd195f47e7fb0c4e5c071927c2f64 | [
"BSD-3-Clause"
] | null | null | null | mrio_common_metadata/conversion/exiobase_3_hybrid_io/version_config.py | brightway-lca/mrio_common_metadata | a9a7932b6eabd195f47e7fb0c4e5c071927c2f64 | [
"BSD-3-Clause"
] | 2 | 2020-03-03T12:42:26.000Z | 2021-09-30T18:00:28.000Z | mrio_common_metadata/conversion/exiobase_3_hybrid_io/version_config.py | brightway-lca/mrio_common_metadata | a9a7932b6eabd195f47e7fb0c4e5c071927c2f64 | [
"BSD-3-Clause"
] | 1 | 2020-03-03T10:34:46.000Z | 2020-03-03T10:34:46.000Z | VERSIONS = {
"3.3.17 hybrid": {
"nomenclature": {
"extensions": [
{
"filename": "Classifications_v_3_3_17.xlsx",
"worksheet": "Resources",
"mapping": {"Resource name": "name", "Unit": "unit"},
"kind":... | 36.174699 | 80 | 0.368526 | 408 | 6,005 | 5.102941 | 0.129902 | 0.013449 | 0.138329 | 0.144092 | 0.941403 | 0.933718 | 0.933718 | 0.915466 | 0.835735 | 0.835735 | 0 | 0.050819 | 0.501915 | 6,005 | 165 | 81 | 36.393939 | 0.645269 | 0 | 0 | 0.678788 | 0 | 0 | 0.378851 | 0.129226 | 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 | 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 |
3852753d030c286dd563a008ce30f809b9218873 | 178 | py | Python | ttyUSBID/__init__.py | quanghuyen1301/ttyusb_id | 5b82409bd84429944ea25c9eb21f2dc50d5cb005 | [
"Unlicense"
] | 1 | 2020-03-20T16:44:28.000Z | 2020-03-20T16:44:28.000Z | ttyUSBID/__init__.py | quanghuyen1301/ttyusb_id | 5b82409bd84429944ea25c9eb21f2dc50d5cb005 | [
"Unlicense"
] | null | null | null | ttyUSBID/__init__.py | quanghuyen1301/ttyusb_id | 5b82409bd84429944ea25c9eb21f2dc50d5cb005 | [
"Unlicense"
] | null | null | null | # __init__.py
from .__main__ import get_ttydata
from .__main__ import get_ttydata_ssh
from .__main__ import list_ttyusb
from .__main__ import tty2id
from .__main__ import id2tty
| 25.428571 | 37 | 0.837079 | 26 | 178 | 4.653846 | 0.461538 | 0.330579 | 0.578512 | 0.280992 | 0.396694 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.123596 | 178 | 6 | 38 | 29.666667 | 0.762821 | 0.061798 | 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 | 0 | 0 | 0 | 7 |
387895d0b39c944994e1cfc38a9efd06a6400b6b | 6,177 | py | Python | rlschool/metamaze/envs/maze_env.py | HaojieSHI98/RLSchool | 23c21c8028c8398a94dd7ed7aeb2624dc72f1160 | [
"Apache-2.0"
] | null | null | null | rlschool/metamaze/envs/maze_env.py | HaojieSHI98/RLSchool | 23c21c8028c8398a94dd7ed7aeb2624dc72f1160 | [
"Apache-2.0"
] | null | null | null | rlschool/metamaze/envs/maze_env.py | HaojieSHI98/RLSchool | 23c21c8028c8398a94dd7ed7aeb2624dc72f1160 | [
"Apache-2.0"
] | null | null | null | """
Gym Environment For Maze3D
"""
import numpy
import gym
import pygame
from gym import error, spaces, utils
from gym.utils import seeding
from rlschool.metamaze.envs.maze_gen import Textures, sample_task_config
from rlschool.metamaze.envs.maze_3d import MazeCore3D
from rlschool.metamaze.envs.maze_2d import MazeCore2... | 34.50838 | 123 | 0.598511 | 779 | 6,177 | 4.534018 | 0.18742 | 0.03624 | 0.05436 | 0.025481 | 0.807191 | 0.744054 | 0.722537 | 0.722537 | 0.722537 | 0.64496 | 0 | 0.026168 | 0.307107 | 6,177 | 178 | 124 | 34.702247 | 0.799065 | 0.056824 | 0 | 0.70068 | 0 | 0 | 0.021167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081633 | false | 0 | 0.054422 | 0.013605 | 0.190476 | 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 |
3890cc4211e40f811adcf26f09cacb1ddcb633d1 | 81,903 | py | Python | async_v20/interface/order.py | gshklover/async_v20 | 965346eafee09ee4ee510b22a064d3cf661b7aa4 | [
"MIT"
] | 23 | 2017-10-30T18:49:11.000Z | 2022-02-08T12:22:18.000Z | async_v20/interface/order.py | gshklover/async_v20 | 965346eafee09ee4ee510b22a064d3cf661b7aa4 | [
"MIT"
] | 23 | 2017-10-20T12:32:18.000Z | 2021-03-13T07:43:23.000Z | async_v20/interface/order.py | gshklover/async_v20 | 965346eafee09ee4ee510b22a064d3cf661b7aa4 | [
"MIT"
] | 12 | 2017-10-30T18:49:13.000Z | 2021-02-06T02:26:37.000Z | from .decorators import endpoint, shortcut
from ..definitions.types import ClientExtensions
from ..definitions.types import ClientID
from ..definitions.types import DateTime
from ..definitions.types import DecimalNumber
from ..definitions.types import InstrumentName
from ..definitions.types import LimitOrderRequest
fro... | 55.565129 | 129 | 0.617828 | 7,980 | 81,903 | 6.174937 | 0.030827 | 0.092743 | 0.120566 | 0.057513 | 0.939281 | 0.932462 | 0.916937 | 0.909997 | 0.903543 | 0.89776 | 0 | 0.019416 | 0.305776 | 81,903 | 1,473 | 130 | 55.602851 | 0.847219 | 0.660684 | 0 | 0.700599 | 0 | 0 | 0.00929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.062874 | false | 0.020958 | 0.092814 | 0 | 0.200599 | 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 |
2a1140115a553ffe64e515ee78059a2f961b3130 | 172 | py | Python | phenom/utils/__init__.py | LBJ-Wade/phenom | 8f0fdc14099dac09cb2eef36d825e577340a8421 | [
"MIT"
] | 1 | 2020-05-12T00:55:53.000Z | 2020-05-12T00:55:53.000Z | phenom/utils/__init__.py | LBJ-Wade/phenom | 8f0fdc14099dac09cb2eef36d825e577340a8421 | [
"MIT"
] | null | null | null | phenom/utils/__init__.py | LBJ-Wade/phenom | 8f0fdc14099dac09cb2eef36d825e577340a8421 | [
"MIT"
] | 1 | 2021-04-10T22:31:49.000Z | 2021-04-10T22:31:49.000Z | from phenom.utils.utils import *
from phenom.utils.remnant import *
from phenom.utils.swsh import *
from phenom.utils.formats import *
# from phenom.utils.QNMdata import *
| 28.666667 | 36 | 0.784884 | 25 | 172 | 5.4 | 0.32 | 0.37037 | 0.555556 | 0.622222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122093 | 172 | 5 | 37 | 34.4 | 0.89404 | 0.197674 | 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 |
aa9a2b1cd87e8e14e6f7346f87f81a214264a4f4 | 3,103 | py | Python | hawkeye_autotest/selenium/db.py | miaolujing/python_script | 57ccf89f53ce0ce551804b5693515d8a8db4ce78 | [
"Apache-2.0"
] | null | null | null | hawkeye_autotest/selenium/db.py | miaolujing/python_script | 57ccf89f53ce0ce551804b5693515d8a8db4ce78 | [
"Apache-2.0"
] | null | null | null | hawkeye_autotest/selenium/db.py | miaolujing/python_script | 57ccf89f53ce0ce551804b5693515d8a8db4ce78 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import config, re, MySQLdb, MySQLdb.cursors
#数据库查询数据--给screen建counter使用
def readtaskid(des):
db = MySQLdb.connect(config.mysqlhost,config.mysqluser,config.mysqlpw,config.mysqlssid)
cursor = db.cursor()
sql = "select taskid from scheduletask where description l... | 25.434426 | 95 | 0.619078 | 372 | 3,103 | 5.150538 | 0.201613 | 0.032881 | 0.058455 | 0.080376 | 0.83977 | 0.83977 | 0.83977 | 0.805846 | 0.747912 | 0.738518 | 0 | 0.00651 | 0.257493 | 3,103 | 121 | 96 | 25.644628 | 0.825087 | 0.035772 | 0 | 0.822222 | 0 | 0 | 0.126642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.011111 | null | null | 0.077778 | 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 |
aadd641fa6cd8d036d3a05ffeead0396bccc03e8 | 3,137 | py | Python | RecoJets/JetAnalyzers/python/QCD_GenJets_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoJets/JetAnalyzers/python/QCD_GenJets_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoJets/JetAnalyzers/python/QCD_GenJets_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring(
'dcap://cmsgridftp.fnal.gov:24125/pnfs/fnal.gov/usr/cms/WAX/resilient/rharris/MC/QCD_2_1_8/PYTHIA6_QCDpt_0_15_10TeV_GenJets_800Kevts_ptHatFiltered.root',
'dcap://cmsgridftp.fnal.gov:24125/pnfs/fnal.gov/usr... | 116.185185 | 153 | 0.843481 | 561 | 3,137 | 4.377897 | 0.098039 | 0.119707 | 0.153909 | 0.17956 | 0.888436 | 0.888436 | 0.888436 | 0.888436 | 0.888436 | 0.888436 | 0 | 0.136452 | 0.011795 | 3,137 | 26 | 154 | 120.653846 | 0.655806 | 0 | 0 | 0 | 0 | 0.84 | 0.939114 | 0.935926 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.04 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
2ac3c6dd216d10bfa0457e3dd9bdfac2da207db1 | 675 | py | Python | accounts/models.py | Shefin-CSE16/Course-Registration-Management | 18130fc474ab9b25363d7ae3a56ebaa97a302217 | [
"MIT"
] | null | null | null | accounts/models.py | Shefin-CSE16/Course-Registration-Management | 18130fc474ab9b25363d7ae3a56ebaa97a302217 | [
"MIT"
] | null | null | null | accounts/models.py | Shefin-CSE16/Course-Registration-Management | 18130fc474ab9b25363d7ae3a56ebaa97a302217 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Account(models.Model):
Id = models.IntegerField(default=1)
Name = models.CharField(max_length=255, null="true")
Email = models.CharField(max_length=255, null="true")
Department = models.CharField(max_length=255, null="true")
Verified = m... | 42.1875 | 63 | 0.733333 | 88 | 675 | 5.545455 | 0.329545 | 0.215164 | 0.258197 | 0.344262 | 0.735656 | 0.735656 | 0.735656 | 0.735656 | 0.735656 | 0.735656 | 0 | 0.037671 | 0.134815 | 675 | 16 | 64 | 42.1875 | 0.797945 | 0.035556 | 0 | 0.615385 | 0 | 0 | 0.043077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
2ae3d0963b949be063e2c91a8087566b1e670be2 | 642,560 | py | Python | examples/Python/ReconstructionSystem/output.py | KayChou/Open3D | 85fbd5bfab6b27cacfd1637385437f1c8c97a396 | [
"MIT"
] | null | null | null | examples/Python/ReconstructionSystem/output.py | KayChou/Open3D | 85fbd5bfab6b27cacfd1637385437f1c8c97a396 | [
"MIT"
] | null | null | null | examples/Python/ReconstructionSystem/output.py | KayChou/Open3D | 85fbd5bfab6b27cacfd1637385437f1c8c97a396 | [
"MIT"
] | null | null | null | ====================================
Configuration
====================================
template_global_mesh : scene/integrated.ply
max_depth : 3.0
depth_map_type : redwood
voxel_size : 0.05
preference_loo... | 61.027638 | 134 | 0.720275 | 102,939 | 642,560 | 4.491796 | 0.031388 | 0.133342 | 0.084508 | 0.123945 | 0.955742 | 0.950411 | 0.943882 | 0.849767 | 0.794038 | 0.584903 | 0 | 0.22725 | 0.176131 | 642,560 | 10,528 | 135 | 61.033435 | 0.64618 | 0 | 0 | 0.679806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2d5f08fc20ab9ad9defe3e95a20ca68b93071806 | 97 | py | Python | __init__.py | vonclites/el_sid | c82e4120afd9f3edd105105176f79a14fbf5001c | [
"MIT"
] | null | null | null | __init__.py | vonclites/el_sid | c82e4120afd9f3edd105105176f79a14fbf5001c | [
"MIT"
] | null | null | null | __init__.py | vonclites/el_sid | c82e4120afd9f3edd105105176f79a14fbf5001c | [
"MIT"
] | 1 | 2021-06-06T06:22:08.000Z | 2021-06-06T06:22:08.000Z | from syd.feature_extraction import random_sample
from syd.feature_extraction import dense_sample
| 32.333333 | 48 | 0.896907 | 14 | 97 | 5.928571 | 0.571429 | 0.168675 | 0.337349 | 0.578313 | 0.722892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 97 | 2 | 49 | 48.5 | 0.932584 | 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 |
9304e4355b9aa09da89300128501c54dbd6dbfc5 | 25,643 | py | Python | PHASEfilter/tests/test_vcf.py | ibigen/PHASEfilter | 669729f408b9c23d5db2ba72e74195b2228669da | [
"MIT"
] | null | null | null | PHASEfilter/tests/test_vcf.py | ibigen/PHASEfilter | 669729f408b9c23d5db2ba72e74195b2228669da | [
"MIT"
] | null | null | null | PHASEfilter/tests/test_vcf.py | ibigen/PHASEfilter | 669729f408b9c23d5db2ba72e74195b2228669da | [
"MIT"
] | null | null | null | '''
Created on 13/05/2020
@author: mmp
'''
import unittest, os
from PHASEfilter.lib.utils.util import Utils
from PHASEfilter.lib.utils.reference import Reference
from PHASEfilter.lib.utils.vcf_process import VcfProcess
from PHASEfilter.lib.utils.run_extra_software import RunExtraSoftware
from PHASEfilter.lib.utils.lif... | 48.110694 | 225 | 0.792185 | 4,192 | 25,643 | 4.382156 | 0.052481 | 0.036581 | 0.021339 | 0.018291 | 0.93718 | 0.934513 | 0.926619 | 0.921176 | 0.912412 | 0.908492 | 0 | 0.028586 | 0.101002 | 25,643 | 533 | 226 | 48.110694 | 0.768273 | 0.018017 | 0 | 0.807882 | 0 | 0.014778 | 0.128472 | 0.049133 | 0 | 0 | 0 | 0 | 0.295567 | 1 | 0.03202 | false | 0.004926 | 0.017241 | 0 | 0.051724 | 0.059113 | 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 |
935bd4076f369e4943196aa4fe47f5b76d3f22a3 | 5,854 | py | Python | daiquiri/auth/tests/test_accounts.py | agy-why/daiquiri | 4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d | [
"Apache-2.0"
] | 14 | 2018-12-23T18:35:02.000Z | 2021-12-15T04:55:12.000Z | daiquiri/auth/tests/test_accounts.py | agy-why/daiquiri | 4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d | [
"Apache-2.0"
] | 40 | 2018-12-20T12:44:05.000Z | 2022-03-21T11:35:20.000Z | daiquiri/auth/tests/test_accounts.py | agy-why/daiquiri | 4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d | [
"Apache-2.0"
] | 5 | 2019-05-16T08:03:35.000Z | 2021-08-23T20:03:11.000Z | from django.urls import reverse
from django.test import TestCase
from ..models import Profile
class AccountsTestCase(TestCase):
fixtures = (
'auth.json',
)
def test_login(self):
url = reverse('account_login')
response = self.client.post(url, {
'login': 'user',
... | 34.435294 | 97 | 0.617868 | 646 | 5,854 | 5.428793 | 0.134675 | 0.068435 | 0.087254 | 0.071856 | 0.845167 | 0.813801 | 0.81152 | 0.792415 | 0.746222 | 0.715426 | 0 | 0.008986 | 0.258627 | 5,854 | 169 | 98 | 34.639053 | 0.799078 | 0.051247 | 0 | 0.689922 | 0 | 0 | 0.179557 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 1 | 0.139535 | false | 0.116279 | 0.023256 | 0 | 0.178295 | 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 |
fa9343a73576efd2eed18acedcd1a48ad06eef80 | 30,705 | py | Python | tests/test_cfg_setup.py | KonnexionsGmbH/ocr_bench | 8f54b386c22b43a2f4e8f98dc6f7ac69edf7e0be | [
"CNRI-Python",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | tests/test_cfg_setup.py | KonnexionsGmbH/ocr_bench | 8f54b386c22b43a2f4e8f98dc6f7ac69edf7e0be | [
"CNRI-Python",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | tests/test_cfg_setup.py | KonnexionsGmbH/ocr_bench | 8f54b386c22b43a2f4e8f98dc6f7ac69edf7e0be | [
"CNRI-Python",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | # pylint: disable=unused-argument
"""Testing Module cfg.setup."""
import os
import cfg.glob
import cfg.setup
import pytest
# -----------------------------------------------------------------------------
# Constants & Globals.
# -----------------------------------------------------------------------------
# pylint: di... | 37.038601 | 115 | 0.53646 | 3,203 | 30,705 | 4.723072 | 0.040587 | 0.142054 | 0.183236 | 0.150714 | 0.966817 | 0.953001 | 0.937269 | 0.924379 | 0.896021 | 0.841883 | 0 | 0.000934 | 0.163296 | 30,705 | 828 | 116 | 37.083333 | 0.58791 | 0.252369 | 0 | 0.519763 | 0 | 0 | 0.079534 | 0.031401 | 0 | 0 | 0 | 0 | 0.086957 | 1 | 0.029644 | false | 0 | 0.007905 | 0 | 0.037549 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 |
faa7cf81b7a9c507c520661db87cfd39ad53b1e7 | 2,008 | py | Python | tests/test_1338.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | tests/test_1338.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | tests/test_1338.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import pytest
"""
Test 1338. Reduce Array Size to The Half
"""
@pytest.fixture(scope="session")
def init_variables_1338():
from src.leetcode_1338_reduce_array_size_to_the_half import Solution
solution = Solution()
def _init_variables_1338():
return solution
yield _in... | 26.773333 | 85 | 0.687251 | 300 | 2,008 | 4.3 | 0.143333 | 0.262016 | 0.342636 | 0.162791 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0.139163 | 0.191235 | 2,008 | 74 | 86 | 27.135135 | 0.655172 | 0.01992 | 0 | 1 | 0 | 0 | 0.007487 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 1 | 0.368421 | false | 0 | 0.105263 | 0.052632 | 0.578947 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 12 |
faab654c28dc13972f7d8127d5edede1559e747d | 4,199 | py | Python | tests/test_parser/test_variable_declaration.py | vbondarevsky/ones_analyzer | ab8bff875192db238ed17c20d61c9fa5b55c3fa8 | [
"MIT"
] | 12 | 2017-11-23T07:04:13.000Z | 2022-03-01T21:06:56.000Z | tests/test_parser/test_variable_declaration.py | vbondarevsky/analyzer_test | ab8bff875192db238ed17c20d61c9fa5b55c3fa8 | [
"MIT"
] | 2 | 2017-06-25T21:32:32.000Z | 2017-11-19T19:05:40.000Z | tests/test_parser/test_variable_declaration.py | vbondarevsky/analyzer_test | ab8bff875192db238ed17c20d61c9fa5b55c3fa8 | [
"MIT"
] | 5 | 2017-11-21T08:24:56.000Z | 2021-08-17T23:21:18.000Z | from analyzer.syntax_kind import SyntaxKind
from tests.utils import TestCaseParser
class TestParserVariableDeclaration(TestCaseParser):
def test_one_declaration_one_variable(self):
self.parse_source("Перем А")
self.assertNode(self.syntax_tree.declarations, [SyntaxKind.VariableDeclaration])
... | 66.650794 | 120 | 0.748988 | 457 | 4,199 | 6.676149 | 0.09628 | 0.156014 | 0.20059 | 0.267453 | 0.915765 | 0.915765 | 0.897083 | 0.876762 | 0.840708 | 0.816454 | 0 | 0.007861 | 0.151703 | 4,199 | 62 | 121 | 67.725806 | 0.848681 | 0 | 0 | 0.538462 | 0 | 0 | 0.013471 | 0 | 0 | 0 | 0 | 0 | 0.653846 | 1 | 0.115385 | false | 0 | 0.038462 | 0 | 0.173077 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
fad99017e0c17f991cb42ebcc68bde7c68627bac | 148 | py | Python | isopy/tb.py | mattias-ek/isopy | 96d5530034655c7f9559568ab9b0879b978ef566 | [
"MIT"
] | null | null | null | isopy/tb.py | mattias-ek/isopy | 96d5530034655c7f9559568ab9b0879b978ef566 | [
"MIT"
] | 1 | 2021-08-23T08:48:04.000Z | 2021-08-23T08:48:04.000Z | isopy/tb.py | mattias-ek/isopy | 96d5530034655c7f9559568ab9b0879b978ef566 | [
"MIT"
] | null | null | null | from isopy.toolbox.isotope import *
from isopy.toolbox.regress import *
from isopy.toolbox.plotting import *
from isopy.toolbox.doublespike import * | 37 | 39 | 0.817568 | 20 | 148 | 6.05 | 0.4 | 0.297521 | 0.528926 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101351 | 148 | 4 | 39 | 37 | 0.909774 | 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 | 0 | 0 | 0 | 7 |
fadea4a4be3e185a14c6a66c6f9f07b96fa88eae | 19,383 | py | Python | sdk/python/pulumi_azure/storage/container.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/storage/container.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/storage/container.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.000Z | # 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... | 45.076744 | 180 | 0.663778 | 2,261 | 19,383 | 5.439628 | 0.083149 | 0.077811 | 0.068298 | 0.050085 | 0.860151 | 0.829336 | 0.806814 | 0.780145 | 0.762582 | 0.748923 | 0 | 0.000203 | 0.239127 | 19,383 | 429 | 181 | 45.181818 | 0.83374 | 0.356188 | 0 | 0.64 | 1 | 0 | 0.113961 | 0.03737 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0.004444 | 0.022222 | 0 | 0.28 | 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 |
faf344ebe6fc3eeddab236b322b89b50a21d1522 | 124 | py | Python | minecraft/networking/types/__init__.py | Skelmis/PyMcBot | b74b4f344bbcc711974f2551f75da3ddb8874e6f | [
"Apache-2.0"
] | 2 | 2020-02-09T08:55:33.000Z | 2021-03-31T20:53:11.000Z | minecraft/networking/types/__init__.py | Skelmis/PyMcBot | b74b4f344bbcc711974f2551f75da3ddb8874e6f | [
"Apache-2.0"
] | 2 | 2020-08-20T14:32:49.000Z | 2021-02-07T03:28:45.000Z | minecraft/networking/types/__init__.py | Skelmis/PyMcBot | b74b4f344bbcc711974f2551f75da3ddb8874e6f | [
"Apache-2.0"
] | 3 | 2020-10-27T14:27:38.000Z | 2020-12-08T15:11:54.000Z | from .basic import * # noqa: F401, F403
from .enum import * # noqa: F401, F403
from .utility import * # noqa: F401, F403
| 31 | 42 | 0.66129 | 18 | 124 | 4.555556 | 0.444444 | 0.365854 | 0.512195 | 0.658537 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185567 | 0.217742 | 124 | 3 | 43 | 41.333333 | 0.659794 | 0.403226 | 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 |
faffd8541eeb0a32bdad3ab61427626de0864c04 | 3,643 | py | Python | 3.3.1/se34euca/se34euca/testcase/testcase_instance.py | eucalyptus/se34euca | af5da36754fccca84b7f260ba7605b8fdc30fa55 | [
"BSD-2-Clause"
] | 8 | 2015-01-08T21:06:08.000Z | 2019-10-26T13:17:16.000Z | 3.3.1/se34euca/se34euca/testcase/testcase_instance.py | eucalyptus/se34euca | af5da36754fccca84b7f260ba7605b8fdc30fa55 | [
"BSD-2-Clause"
] | null | null | null | 3.3.1/se34euca/se34euca/testcase/testcase_instance.py | eucalyptus/se34euca | af5da36754fccca84b7f260ba7605b8fdc30fa55 | [
"BSD-2-Clause"
] | 7 | 2016-08-31T07:02:21.000Z | 2020-07-18T00:10:36.000Z | from se34euca.testcase.testcase_base import *
class testcase_instance(testcase_base):
def launch_instance_basic(self):
print "=== runTest: Launch Instance Basic ==="
self.eucaUITester.base.test_ui_login()
self.eucaUITester.instance.test_ui_launch_instance_basic()
self.eucaUITester.... | 40.477778 | 94 | 0.717815 | 450 | 3,643 | 5.444444 | 0.106667 | 0.241633 | 0.195918 | 0.235102 | 0.872245 | 0.824898 | 0.79551 | 0.737143 | 0.704898 | 0.666531 | 0 | 0.001011 | 0.185287 | 3,643 | 89 | 95 | 40.932584 | 0.824461 | 0.007137 | 0 | 0.470588 | 0 | 0 | 0.170772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.014706 | null | null | 0.176471 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
87baf84248d99368169df0f25ec2eeabe7e9a264 | 3,599 | py | Python | api/metrics/escooter_metric.py | scarletstudio/transithealth | 408e6c1a063e46edb95040c26db93c2ff93c6d33 | [
"MIT"
] | 2 | 2021-05-18T15:34:19.000Z | 2021-10-07T01:29:31.000Z | api/metrics/escooter_metric.py | scarletstudio/transithealth | 408e6c1a063e46edb95040c26db93c2ff93c6d33 | [
"MIT"
] | 89 | 2021-05-21T18:31:04.000Z | 2021-08-16T01:13:02.000Z | api/metrics/escooter_metric.py | scarletstudio/transithealth | 408e6c1a063e46edb95040c26db93c2ff93c6d33 | [
"MIT"
] | 1 | 2021-06-15T10:28:26.000Z | 2021-06-15T10:28:26.000Z | from api.utils.database import rows_to_dicts
class EscooterMetric:
"""
Metrics for escooter travel metric
"""
def __init__(self, con):
self.con = con
def avg_distance_x_to_y(self):
"""
Returns the average distance riders take throughout
the city
""... | 28.338583 | 93 | 0.564879 | 414 | 3,599 | 4.647343 | 0.190821 | 0.08316 | 0.118503 | 0.058212 | 0.83264 | 0.81185 | 0.772349 | 0.772349 | 0.761435 | 0.685551 | 0 | 0.001736 | 0.359822 | 3,599 | 127 | 94 | 28.338583 | 0.833333 | 0.149486 | 0 | 0.797753 | 0 | 0 | 0.419558 | 0.130389 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089888 | false | 0 | 0.011236 | 0 | 0.191011 | 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 |
355c8d1ff873466166392d3d8c058a295098bd6f | 28 | py | Python | examples/NIPS/MNIST/noisy_sequence_detection/old_scenarios/scenario001/__init__.py | dais-ita/DeepProbCEP | 22790c1672c1cce49a59d18921c710f61cdde2f2 | [
"MIT"
] | 6 | 2020-09-10T03:40:53.000Z | 2021-05-26T07:30:20.000Z | examples/NIPS/MNIST/noisy_sequence_detection/old_scenarios/scenario001/__init__.py | dais-ita/DeepProbCEP | 22790c1672c1cce49a59d18921c710f61cdde2f2 | [
"MIT"
] | null | null | null | examples/NIPS/MNIST/noisy_sequence_detection/old_scenarios/scenario001/__init__.py | dais-ita/DeepProbCEP | 22790c1672c1cce49a59d18921c710f61cdde2f2 | [
"MIT"
] | 1 | 2020-11-23T15:55:57.000Z | 2020-11-23T15:55:57.000Z | from .generate_data import * | 28 | 28 | 0.821429 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.88 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
355e7c69921bf9d89759c9fe52e57fe844bd2a3b | 24,465 | py | Python | src/models.py | rinchieeeee/cnn-pipline-for-data-competition | d01ba3dcba292b06c23d2e8c7a68a4c15d005ea7 | [
"MIT"
] | null | null | null | src/models.py | rinchieeeee/cnn-pipline-for-data-competition | d01ba3dcba292b06c23d2e8c7a68a4c15d005ea7 | [
"MIT"
] | null | null | null | src/models.py | rinchieeeee/cnn-pipline-for-data-competition | d01ba3dcba292b06c23d2e8c7a68a4c15d005ea7 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
import timm
import yaml
from arcface import ArcFaceLayer
def adaptive_concat_avgmax_pool2d(x, output_size = 1):
x_avg = F.adaptive_avg_pool2d(x, output_size)
x_max = F.adaptive_max_pool2d(x, output_size)
return torch.cat((x_avg, x_max), dim... | 47.412791 | 114 | 0.565379 | 2,558 | 24,465 | 5.051212 | 0.059421 | 0.151536 | 0.073679 | 0.055723 | 0.883059 | 0.86371 | 0.858757 | 0.858602 | 0.856126 | 0.856126 | 0 | 0.007223 | 0.343593 | 24,465 | 516 | 115 | 47.412791 | 0.797372 | 0.03176 | 0 | 0.725061 | 0 | 0 | 0.08683 | 0.001776 | 0 | 0 | 0 | 0 | 0.002433 | 1 | 0.068127 | false | 0 | 0.014599 | 0.007299 | 0.150852 | 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 |
356d9ef823264b88690c6f360d68f2de9b09b4ed | 13,100 | py | Python | saleor/graphql/attribute/tests/queries/test_attribute_filtering_with_channels.py | greentornado/saleor | 7f58917957a23c4dd90b47214a4500c91c735dee | [
"CC-BY-4.0"
] | 1 | 2021-07-22T13:25:11.000Z | 2021-07-22T13:25:11.000Z | saleor/graphql/attribute/tests/queries/test_attribute_filtering_with_channels.py | greentornado/saleor | 7f58917957a23c4dd90b47214a4500c91c735dee | [
"CC-BY-4.0"
] | 111 | 2021-06-30T08:51:06.000Z | 2022-03-28T04:48:49.000Z | saleor/graphql/attribute/tests/queries/test_attribute_filtering_with_channels.py | IslamDEVO/es-saleor-nginx | a56a4aaf23fc308aad7b7489bc090fd4fcdb6315 | [
"CC-BY-4.0"
] | 6 | 2021-11-08T16:43:05.000Z | 2022-03-22T17:31:16.000Z | from decimal import Decimal
import graphene
import pytest
from .....attribute.models import Attribute, AttributeProduct, AttributeVariant
from .....product.models import (
Product,
ProductChannelListing,
ProductType,
ProductVariant,
ProductVariantChannelListing,
)
from ....tests.utils import asser... | 29.772727 | 85 | 0.660534 | 1,368 | 13,100 | 5.962719 | 0.097953 | 0.06473 | 0.055903 | 0.061787 | 0.845531 | 0.824936 | 0.795758 | 0.730661 | 0.712517 | 0.664215 | 0 | 0.005187 | 0.249466 | 13,100 | 439 | 86 | 29.840547 | 0.824451 | 0.014733 | 0 | 0.704918 | 0 | 0 | 0.102088 | 0.00163 | 0 | 0 | 0 | 0 | 0.046448 | 1 | 0.02459 | false | 0 | 0.016393 | 0 | 0.043716 | 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 |
35d59348248e0115522c78d130a17daff3eaff93 | 3,195 | py | Python | tests/test_search.py | eyllanesc/mkdocs-static-i18n | 283f9a080603904a581370bdae01d517977c9b51 | [
"MIT"
] | null | null | null | tests/test_search.py | eyllanesc/mkdocs-static-i18n | 283f9a080603904a581370bdae01d517977c9b51 | [
"MIT"
] | null | null | null | tests/test_search.py | eyllanesc/mkdocs-static-i18n | 283f9a080603904a581370bdae01d517977c9b51 | [
"MIT"
] | null | null | null | from mkdocs.commands.build import build
from mkdocs.config.base import load_config
def test_search_add_lang():
mkdocs_config = load_config(
"tests/mkdocs_base.yml",
theme={"name": "mkdocs"},
use_directory_urls=True,
docs_dir="../docs/",
site_url="http://localhost",
... | 29.045455 | 78 | 0.531768 | 302 | 3,195 | 5.317881 | 0.15894 | 0.119552 | 0.040473 | 0.068493 | 0.902864 | 0.902864 | 0.902864 | 0.902864 | 0.902864 | 0.902864 | 0 | 0.008174 | 0.310798 | 3,195 | 109 | 79 | 29.311927 | 0.721163 | 0 | 0 | 0.727273 | 0 | 0 | 0.196557 | 0.032864 | 0 | 0 | 0 | 0 | 0.050505 | 1 | 0.050505 | false | 0 | 0.020202 | 0 | 0.070707 | 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 |
ea2fd1ed3e21ac0ec6c9bb6f324c39f4465015e9 | 10,326 | py | Python | src/tests/withdraw_test.py | vitchor/stellar-anchor-server | 941eb4e2a265b2eacaa07b2eeaf088b6d72c8da7 | [
"Apache-2.0"
] | null | null | null | src/tests/withdraw_test.py | vitchor/stellar-anchor-server | 941eb4e2a265b2eacaa07b2eeaf088b6d72c8da7 | [
"Apache-2.0"
] | null | null | null | src/tests/withdraw_test.py | vitchor/stellar-anchor-server | 941eb4e2a265b2eacaa07b2eeaf088b6d72c8da7 | [
"Apache-2.0"
] | null | null | null | """This module tests the `/withdraw` endpoint."""
import codecs
import json
from unittest.mock import patch
import pytest
from helpers import format_memo_horizon
from transaction.models import Transaction
from withdraw.tasks import watch_stellar_withdraw
@pytest.mark.django_db
def test_withdraw_success(client, acc1_... | 35.730104 | 94 | 0.730002 | 1,221 | 10,326 | 5.886159 | 0.101556 | 0.021428 | 0.052038 | 0.08571 | 0.908585 | 0.893836 | 0.893836 | 0.879505 | 0.866147 | 0.853346 | 0 | 0.014546 | 0.161147 | 10,326 | 288 | 95 | 35.854167 | 0.81517 | 0.106624 | 0 | 0.715596 | 0 | 0 | 0.16755 | 0.110375 | 0 | 0 | 0 | 0.003472 | 0.178899 | 1 | 0.055046 | false | 0 | 0.03211 | 0 | 0.087156 | 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 |
57b190b7484446c0021f9dbd93e23d148c29284a | 297 | py | Python | machin/utils/__init__.py | lethaiq/machin | 7873cada457328952310394afeedcad4bb6a7c4a | [
"MIT"
] | null | null | null | machin/utils/__init__.py | lethaiq/machin | 7873cada457328952310394afeedcad4bb6a7c4a | [
"MIT"
] | null | null | null | machin/utils/__init__.py | lethaiq/machin | 7873cada457328952310394afeedcad4bb6a7c4a | [
"MIT"
] | null | null | null | from . import \
checker, conf, helper_classes, learning_rate, \
logging, media, prepare, save_env, tensor_board, \
visualize
__all__ = ["checker", "conf", "helper_classes", "learning_rate",
"logging", "media", "prepare", "save_env", "tensor_board",
"visualize"]
| 33 | 69 | 0.636364 | 31 | 297 | 5.709677 | 0.548387 | 0.124294 | 0.19209 | 0.271186 | 0.926554 | 0.926554 | 0.926554 | 0.926554 | 0.926554 | 0.926554 | 0 | 0 | 0.212121 | 297 | 8 | 70 | 37.125 | 0.75641 | 0 | 0 | 0 | 0 | 0 | 0.289562 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
57bd650f942195400b3de36be2424f272b0a975b | 60 | py | Python | drivers/vna_skrf/keysight_pna/__init__.py | pyvisa/pyvisa-drivers | a483cef18402e74a5e2521b295b953c14b5f58f0 | [
"MIT"
] | 10 | 2019-01-26T11:56:34.000Z | 2021-09-02T11:12:52.000Z | drivers/vna_skrf/keysight_pna/__init__.py | pyvisa/pyvisa-drivers | a483cef18402e74a5e2521b295b953c14b5f58f0 | [
"MIT"
] | 4 | 2018-03-31T14:13:14.000Z | 2019-06-26T18:41:23.000Z | drivers/vna_skrf/keysight_pna/__init__.py | pyvisa/pyvisa-drivers | a483cef18402e74a5e2521b295b953c14b5f58f0 | [
"MIT"
] | 5 | 2018-03-31T14:14:03.000Z | 2020-03-08T23:37:56.000Z | from .keysight_pna import PNA
from .keysight_pna import PNAX | 30 | 30 | 0.85 | 10 | 60 | 4.9 | 0.5 | 0.489796 | 0.612245 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 60 | 2 | 30 | 30 | 0.924528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
17b0d3eabca6d4b4c5fbe4c6d7881c32763b4001 | 4,668 | py | Python | PyraPose/uncertainty_pnp/un_pnp_utils.py | sThalham/RGBDPose | d2738aa5b229bd32cad60f4e6da1210945b258bc | [
"Apache-2.0"
] | 2 | 2020-12-03T03:02:45.000Z | 2022-01-13T17:50:41.000Z | PyraPose/uncertainty_pnp/un_pnp_utils.py | sThalham/RGBDPose | d2738aa5b229bd32cad60f4e6da1210945b258bc | [
"Apache-2.0"
] | 2 | 2021-02-08T16:14:40.000Z | 2021-03-25T09:04:09.000Z | PyraPose/uncertainty_pnp/un_pnp_utils.py | sThalham/RGBDPose | d2738aa5b229bd32cad60f4e6da1210945b258bc | [
"Apache-2.0"
] | null | null | null | from ..uncertainty_pnp._ext import lib, ffi
import numpy as np
import cv2
def uncertainty_pnp(points_2d, weights_2d, points_3d, camera_matrix):
'''
:param points_2d: [pn,2]
:param weights_2d: [pn,3] wxx,wxy,wyy
:param points_3d: [pn,3]
:param camera_matrix: [3,3]... | 38.262295 | 120 | 0.645458 | 680 | 4,668 | 4.180882 | 0.127941 | 0.07281 | 0.042209 | 0.067534 | 0.844179 | 0.841013 | 0.817446 | 0.80197 | 0.80197 | 0.80197 | 0 | 0.049657 | 0.219152 | 4,668 | 121 | 121 | 38.578512 | 0.730316 | 0.073265 | 0 | 0.746988 | 0 | 0 | 0.021117 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 1 | 0.024096 | false | 0 | 0.036145 | 0 | 0.108434 | 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 |
17d5157cfceccef3137ab29d13641f68c7cb4420 | 8,172 | py | Python | tests/libraries/position/test_notional.py | overlay-market/v1-core | e18fabd242f21c243a555712d3f08ca059941f41 | [
"MIT"
] | 3 | 2022-02-17T16:11:39.000Z | 2022-03-10T23:46:19.000Z | tests/libraries/position/test_notional.py | overlay-market/v1-core | e18fabd242f21c243a555712d3f08ca059941f41 | [
"MIT"
] | 10 | 2022-01-25T21:49:20.000Z | 2022-03-31T00:32:29.000Z | tests/libraries/position/test_notional.py | overlay-market/v1-core | e18fabd242f21c243a555712d3f08ca059941f41 | [
"MIT"
] | 2 | 2022-01-21T01:04:54.000Z | 2022-02-23T08:38:20.000Z | def test_notional_initial(position):
mid_price = 100000000000000000000 # 100
notional = 10000000000000000000 # 10
debt = 2000000000000000000 # 2
liquidated = False
# NOTE: mid_ratio tests in test_entry_price.py
oi = int((notional / mid_price) * 1000000000000000000) # 0.1
fraction = 1000... | 36.810811 | 79 | 0.691875 | 914 | 8,172 | 5.97046 | 0.088621 | 0.071468 | 0.035184 | 0.076965 | 0.919736 | 0.89683 | 0.89683 | 0.879971 | 0.871724 | 0.851933 | 0 | 0.223278 | 0.239843 | 8,172 | 221 | 80 | 36.977376 | 0.655184 | 0.154675 | 0 | 0.888158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 1 | 0.046053 | false | 0 | 0 | 0 | 0.046053 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 |
aa0fc02ef6b3f0244ef891804ca533e5f4a51455 | 137 | py | Python | telemetry/third_party/modulegraph/modulegraph/_compat.py | tingshao/catapult | a8fe19e0c492472a8ed5710be9077e24cc517c5c | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | telemetry/third_party/modulegraph/modulegraph/_compat.py | tingshao/catapult | a8fe19e0c492472a8ed5710be9077e24cc517c5c | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | telemetry/third_party/modulegraph/modulegraph/_compat.py | tingshao/catapult | a8fe19e0c492472a8ed5710be9077e24cc517c5c | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | import sys
if sys.version_info[0] == 2:
def Bchr(value):
return chr(value)
else:
def Bchr(value):
return value
| 13.7 | 28 | 0.591241 | 20 | 137 | 4 | 0.65 | 0.175 | 0.3 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.29927 | 137 | 9 | 29 | 15.222222 | 0.8125 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.714286 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
aa24caa620c061c86b362ac7980b4fae8c81aabb | 3,362 | py | Python | graph_embedding/vis_pca.py | myracheng/pronear | a92e97cd860900f3c535a72a1b867d8f5ad096ab | [
"Apache-2.0"
] | null | null | null | graph_embedding/vis_pca.py | myracheng/pronear | a92e97cd860900f3c535a72a1b867d8f5ad096ab | [
"Apache-2.0"
] | null | null | null | graph_embedding/vis_pca.py | myracheng/pronear | a92e97cd860900f3c535a72a1b867d8f5ad096ab | [
"Apache-2.0"
] | null | null | null | import numpy as np
a = np.load('acs.npy')
from sklearn.decomposition import PCA
import matplotlib.pyplot as plt
pca = PCA(n_components=3)
pca_result = pca.fit_transform(a)
print(np.shape(pca_result))
# df['pca-one'] = pca_result[:,0]
# df['pca-two'] = pca_result[:,1]
# df['pca-three'] = pca_result[:,2]
print('Explaine... | 90.864865 | 1,163 | 0.44884 | 910 | 3,362 | 1.638462 | 0.105495 | 0.725687 | 0.969819 | 1.156271 | 0.549966 | 0.497653 | 0.497653 | 0.497653 | 0.497653 | 0.497653 | 0 | 0.311535 | 0.267698 | 3,362 | 37 | 1,164 | 90.864865 | 0.29407 | 0.560381 | 0 | 0 | 0 | 0 | 0.091724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.166667 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a4c0487164c34cd090824d10cc7ba4e961dca37b | 19,922 | py | Python | search/views.py | Mateusz-Slisz/abme | 82d0bac56c644a9e3d8e6d5805e9b0b293985809 | [
"MIT"
] | 1 | 2017-07-15T23:03:00.000Z | 2017-07-15T23:03:00.000Z | search/views.py | Mateusz-Slisz/abme | 82d0bac56c644a9e3d8e6d5805e9b0b293985809 | [
"MIT"
] | null | null | null | search/views.py | Mateusz-Slisz/abme | 82d0bac56c644a9e3d8e6d5805e9b0b293985809 | [
"MIT"
] | null | null | null | from itertools import chain
from operator import attrgetter
from django.shortcuts import render, redirect, get_object_or_404
from django.db.models.functions import Coalesce
from django.db.models import Avg, Func, Count, Q
from django.contrib.auth.models import User
from api.models import Film, Serial, Person, Article
f... | 38.238004 | 97 | 0.621675 | 2,314 | 19,922 | 5.083405 | 0.050562 | 0.0329 | 0.044206 | 0.059849 | 0.901216 | 0.86041 | 0.858029 | 0.844087 | 0.844087 | 0.844087 | 0 | 0.005916 | 0.270354 | 19,922 | 521 | 98 | 38.238004 | 0.803316 | 0 | 0 | 0.7713 | 0 | 0 | 0.087537 | 0.001456 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011211 | false | 0 | 0.022422 | 0 | 0.05157 | 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 |
a4c14278831394ab70877398124500b7ced6d1f0 | 57,208 | py | Python | contentos_sdk/grpc_pb2/prototype/operation_pb2.py | brickgao/cos-python-sdk | 52d22553e83d0be5c73e8d71a63417e275a32c8e | [
"MIT"
] | null | null | null | contentos_sdk/grpc_pb2/prototype/operation_pb2.py | brickgao/cos-python-sdk | 52d22553e83d0be5c73e8d71a63417e275a32c8e | [
"MIT"
] | null | null | null | contentos_sdk/grpc_pb2/prototype/operation_pb2.py | brickgao/cos-python-sdk | 52d22553e83d0be5c73e8d71a63417e275a32c8e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: prototype/operation.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.... | 45.010228 | 5,352 | 0.76297 | 7,560 | 57,208 | 5.406085 | 0.042989 | 0.049719 | 0.040763 | 0.03817 | 0.883949 | 0.81243 | 0.76232 | 0.73357 | 0.718302 | 0.713384 | 0 | 0.040894 | 0.116033 | 57,208 | 1,270 | 5,353 | 45.045669 | 0.767293 | 0.027566 | 0 | 0.697615 | 1 | 0.005111 | 0.204514 | 0.167647 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005111 | 0 | 0.005111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3543351501d53fccf93b6cb0ca7f21ec31839998 | 31,111 | py | Python | swagger_client/api/topology_api.py | atlanticwave-sdx/sdx-lc-client | a442eb3efc327cd39b0d227329cef207ab1505e3 | [
"Apache-2.0"
] | null | null | null | swagger_client/api/topology_api.py | atlanticwave-sdx/sdx-lc-client | a442eb3efc327cd39b0d227329cef207ab1505e3 | [
"Apache-2.0"
] | null | null | null | swagger_client/api/topology_api.py | atlanticwave-sdx/sdx-lc-client | a442eb3efc327cd39b0d227329cef207ab1505e3 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
SDX LC
You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). # noqa: E501
OpenAPI spec version: 1.0.0
Contact: yxin@renci.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
... | 38.599256 | 156 | 0.605124 | 3,581 | 31,111 | 5.012008 | 0.054454 | 0.049031 | 0.024961 | 0.032093 | 0.963171 | 0.959494 | 0.955148 | 0.945565 | 0.93899 | 0.930577 | 0 | 0.015676 | 0.304908 | 31,111 | 805 | 157 | 38.647205 | 0.814289 | 0.324483 | 0 | 0.802752 | 0 | 0 | 0.182053 | 0.037682 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038991 | false | 0 | 0.009174 | 0 | 0.105505 | 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 |
354893a92c067cbd31ebd43c27f967c89b9c730b | 194 | py | Python | djangotango/djangotango/views.py | meghaggarwal/Django-Blog | 357667c028e0dd05cbf746a51969af35915aa748 | [
"MIT"
] | null | null | null | djangotango/djangotango/views.py | meghaggarwal/Django-Blog | 357667c028e0dd05cbf746a51969af35915aa748 | [
"MIT"
] | null | null | null | djangotango/djangotango/views.py | meghaggarwal/Django-Blog | 357667c028e0dd05cbf746a51969af35915aa748 | [
"MIT"
] | null | null | null | from django.http import HttpResponse
from django.shortcuts import render
def about(request):
return render(request, 'about.html')
def home(request):
return render(request, 'home.html')
| 19.4 | 38 | 0.757732 | 26 | 194 | 5.653846 | 0.5 | 0.136054 | 0.258503 | 0.353742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139175 | 194 | 10 | 39 | 19.4 | 0.88024 | 0 | 0 | 0 | 0 | 0 | 0.097436 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
1021c1899ae3389947d999b2de2180b977a1fd16 | 285 | py | Python | great_expectations/render/renderer/content_block/__init__.py | RoyalTS/great_expectations | 5ce4d499da2301d0c0497b243813a349837e95d7 | [
"Apache-2.0"
] | null | null | null | great_expectations/render/renderer/content_block/__init__.py | RoyalTS/great_expectations | 5ce4d499da2301d0c0497b243813a349837e95d7 | [
"Apache-2.0"
] | null | null | null | great_expectations/render/renderer/content_block/__init__.py | RoyalTS/great_expectations | 5ce4d499da2301d0c0497b243813a349837e95d7 | [
"Apache-2.0"
] | 1 | 2022-02-10T04:20:37.000Z | 2022-02-10T04:20:37.000Z | from .value_list_content_block import ValueListContentBlockRenderer
from .table_content_block import TableContentBlockRenderer
from .bullet_list_content_block import PrescriptiveBulletListContentBlockRenderer
from .exception_list_content_block import ExceptionListContentBlockRenderer
| 57 | 81 | 0.929825 | 27 | 285 | 9.407407 | 0.481481 | 0.188976 | 0.283465 | 0.259843 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05614 | 285 | 4 | 82 | 71.25 | 0.944238 | 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 |
106458d58bceb4d004cd8b2ae426f11b5e07e240 | 21,836 | py | Python | tests/testflows/extended_precision_data_types/tests/array_tuple_map.py | chalice19/ClickHouse | 2f38e7bc5c2113935ab86260439bb543a1737291 | [
"Apache-2.0"
] | 1 | 2022-02-27T15:21:20.000Z | 2022-02-27T15:21:20.000Z | tests/testflows/extended_precision_data_types/tests/array_tuple_map.py | chalice19/ClickHouse | 2f38e7bc5c2113935ab86260439bb543a1737291 | [
"Apache-2.0"
] | 16 | 2022-02-14T15:53:29.000Z | 2022-03-25T18:39:16.000Z | tests/testflows/extended_precision_data_types/tests/array_tuple_map.py | chalice19/ClickHouse | 2f38e7bc5c2113935ab86260439bb543a1737291 | [
"Apache-2.0"
] | null | null | null | import uuid
from extended_precision_data_types.requirements import *
from extended_precision_data_types.common import *
def get_table_name():
return "table" + "_" + str(uuid.uuid1()).replace("-", "_")
@TestOutline(Suite)
@Requirements(
RQ_SRS_020_ClickHouse_Extended_Precision_Arrays_Int_Supported("1.0"),
... | 36.947547 | 130 | 0.571442 | 2,859 | 21,836 | 4.095838 | 0.057363 | 0.269855 | 0.161913 | 0.215884 | 0.890436 | 0.869428 | 0.866781 | 0.822289 | 0.814091 | 0.794449 | 0 | 0.017592 | 0.286728 | 21,836 | 590 | 131 | 37.010169 | 0.734254 | 0.011678 | 0 | 0.548975 | 0 | 0.038724 | 0.466707 | 0.21999 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01139 | false | 0 | 0.006834 | 0.002278 | 0.020501 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
10a3e57fd9ba2f05578026bfc4e4b2d493b2fea5 | 114 | py | Python | tardis/io/atom_data/__init__.py | GOLoDovkA-A/tardis | 847b562022ccda2db2486549f739188ba48f172c | [
"BSD-3-Clause"
] | 1 | 2020-02-24T20:58:02.000Z | 2020-02-24T20:58:02.000Z | tardis/io/atom_data/__init__.py | GOLoDovkA-A/tardis | 847b562022ccda2db2486549f739188ba48f172c | [
"BSD-3-Clause"
] | null | null | null | tardis/io/atom_data/__init__.py | GOLoDovkA-A/tardis | 847b562022ccda2db2486549f739188ba48f172c | [
"BSD-3-Clause"
] | null | null | null | from tardis.io.atom_data.base import AtomData
from tardis.io.atom_data.atom_web_download import download_atom_data | 57 | 68 | 0.885965 | 20 | 114 | 4.75 | 0.5 | 0.252632 | 0.252632 | 0.336842 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061404 | 114 | 2 | 68 | 57 | 0.88785 | 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 |
52acc8d1530c39cdf478348c494b0f265010373e | 68 | py | Python | python_example/roles.py | ZedsArcade/ZBot | 0c9f059e30ea598556f67dce4cb5698d1b73d1c0 | [
"MIT"
] | 1 | 2018-11-24T12:50:51.000Z | 2018-11-24T12:50:51.000Z | zbot/roles.py | ZedsArcade/ZBot | 0c9f059e30ea598556f67dce4cb5698d1b73d1c0 | [
"MIT"
] | null | null | null | zbot/roles.py | ZedsArcade/ZBot | 0c9f059e30ea598556f67dce4cb5698d1b73d1c0 | [
"MIT"
] | null | null | null | car_role = [1,2,3,4,5,6,7,8,9,10]
car_team = [1,1,1,1,1,1,1,1,1,1]
| 17 | 33 | 0.544118 | 24 | 68 | 1.458333 | 0.541667 | 0.514286 | 0.685714 | 0.8 | 0.285714 | 0.285714 | 0.285714 | 0.285714 | 0.285714 | 0 | 0 | 0.344262 | 0.102941 | 68 | 3 | 34 | 22.666667 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
52b6cb8c8c1b71a608685c70853ffd5765fcd13c | 9,204 | py | Python | tests/src/Diksha_Reports/usage_by_course/check_with_course_collection_records.py | JalajaTR/cQube | 6bf58ab25f0c36709630987ab730bbd5d9192c03 | [
"MIT"
] | null | null | null | tests/src/Diksha_Reports/usage_by_course/check_with_course_collection_records.py | JalajaTR/cQube | 6bf58ab25f0c36709630987ab730bbd5d9192c03 | [
"MIT"
] | 2 | 2022-02-01T00:55:12.000Z | 2022-03-29T22:29:09.000Z | tests/src/Diksha_Reports/usage_by_course/check_with_course_collection_records.py | JalajaTR/cQube | 6bf58ab25f0c36709630987ab730bbd5d9192c03 | [
"MIT"
] | null | null | null | import csv
import os
import re
import time
from selenium.webdriver.support.select import Select
from Data.parameters import Data
from filenames import file_extention
from get_dir import pwd
from reuse_func import GetData
class course_records():
def __init__(self,driver):
self.driver = driver
def c... | 47.9375 | 89 | 0.489787 | 952 | 9,204 | 4.580882 | 0.114496 | 0.075671 | 0.057785 | 0.086677 | 0.92731 | 0.922036 | 0.922036 | 0.922036 | 0.922036 | 0.922036 | 0 | 0.008198 | 0.403629 | 9,204 | 192 | 90 | 47.9375 | 0.7863 | 0 | 0 | 0.88587 | 0 | 0 | 0.062792 | 0.009451 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021739 | false | 0 | 0.048913 | 0 | 0.092391 | 0.048913 | 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 |
eac05a5006d8f054dab6344562ef7cb06bc38544 | 1,066 | py | Python | Script/markov_chain.py | JLDevOps/Markov-Morse | d670b5987fc421d6c1acd209305e4572b4b4ad16 | [
"MIT"
] | 1 | 2017-10-17T23:05:24.000Z | 2017-10-17T23:05:24.000Z | Script/markov_chain.py | JLDevOps/Markov-Morse | d670b5987fc421d6c1acd209305e4572b4b4ad16 | [
"MIT"
] | null | null | null | Script/markov_chain.py | JLDevOps/Markov-Morse | d670b5987fc421d6c1acd209305e4572b4b4ad16 | [
"MIT"
] | null | null | null | import os
import markovify
def generate_markov_text(filename, file_format, number_lines):
sentence_list = []
dir = os.path.dirname(__file__)
file_path = 'text_files/' + str(filename) + "." + str(file_format)
filename = os.path.join(dir, file_path)
with open(filename) as f:
text = f.read()... | 30.457143 | 86 | 0.684803 | 143 | 1,066 | 4.797203 | 0.265734 | 0.104956 | 0.08309 | 0.06414 | 0.90379 | 0.874636 | 0.874636 | 0.760933 | 0.609329 | 0.609329 | 0 | 0 | 0.209193 | 1,066 | 34 | 87 | 31.352941 | 0.81376 | 0.021576 | 0 | 0.769231 | 1 | 0 | 0.023099 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f4ab38b6c48423fbdf66e124e6769046ccf28349 | 158 | py | Python | sources/viewgui/__init__.py | Groomsha/lan-map | 1c30819470f43f8521e98eb75c70da23939f8f06 | [
"Apache-2.0"
] | null | null | null | sources/viewgui/__init__.py | Groomsha/lan-map | 1c30819470f43f8521e98eb75c70da23939f8f06 | [
"Apache-2.0"
] | null | null | null | sources/viewgui/__init__.py | Groomsha/lan-map | 1c30819470f43f8521e98eb75c70da23939f8f06 | [
"Apache-2.0"
] | null | null | null | from .app_main_window.ui_app_main_window import *
from .form_new_device.ui_table_new_device_ import *
from .form_new_device.ui_interface_new_device import *
| 31.6 | 54 | 0.860759 | 27 | 158 | 4.444444 | 0.407407 | 0.3 | 0.216667 | 0.283333 | 0.416667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082278 | 158 | 4 | 55 | 39.5 | 0.827586 | 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 |
f4bd1d18f717d4923d948d5bee8a69edf3465ce6 | 3,559 | py | Python | pgkit/cli/commands/shellx.py | SadeghHayeri/pgk | 258c859f4e6c1ca7d515851552402a2e6bec80dc | [
"MIT"
] | 7 | 2021-06-14T07:22:50.000Z | 2021-12-15T14:25:49.000Z | pgkit/cli/commands/shellx.py | SadeghHayeri/pgkit | 258c859f4e6c1ca7d515851552402a2e6bec80dc | [
"MIT"
] | null | null | null | pgkit/cli/commands/shellx.py | SadeghHayeri/pgkit | 258c859f4e6c1ca7d515851552402a2e6bec80dc | [
"MIT"
] | null | null | null | import yaml
import click
from pgkit.application.db import DB
import pgkit.application.pg as PG
@click.command()
@click.argument('name', required=True)
@click.option('--replica', is_flag=True, default=False)
def shell(name, replica):
config = DB.get_config(name)
PG.shell(
config['name'],
confi... | 26.759398 | 101 | 0.611689 | 396 | 3,559 | 5.39899 | 0.156566 | 0.056127 | 0.052385 | 0.070159 | 0.871375 | 0.858279 | 0.847521 | 0.809635 | 0.786717 | 0.761459 | 0 | 0.002187 | 0.228997 | 3,559 | 132 | 102 | 26.962121 | 0.776968 | 0 | 0 | 0.760684 | 0 | 0 | 0.169149 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059829 | false | 0.051282 | 0.034188 | 0.008547 | 0.119658 | 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 |
76076c124b1e46cd8fcdb4bbd80c3e7d9d7a4076 | 6,419 | py | Python | model/model.py | MotJuMi/AlexNet | bab6623c345f2fe6c85db31623609cd5af4d0b5b | [
"MIT"
] | 1 | 2019-11-28T08:26:26.000Z | 2019-11-28T08:26:26.000Z | model/model.py | MotJuMi/AlexNet | bab6623c345f2fe6c85db31623609cd5af4d0b5b | [
"MIT"
] | null | null | null | model/model.py | MotJuMi/AlexNet | bab6623c345f2fe6c85db31623609cd5af4d0b5b | [
"MIT"
] | null | null | null | from base import BaseModel
import torch.nn as nn
import torch.nn.functional as F
from modules.LRN import LocalResponseNorm
import torch.utils.model_zoo as model_zoo
model_urls = {
'alexnet': 'https://download.pytorch.org/models/alexnet-owt-4df8aa71.pth'
}
class AlexNetModel(nn.Module):
def __init__(self, conf... | 33.259067 | 79 | 0.536065 | 746 | 6,419 | 4.426273 | 0.156836 | 0.036342 | 0.03937 | 0.063598 | 0.871593 | 0.871593 | 0.871593 | 0.871593 | 0.871593 | 0.871593 | 0 | 0.048254 | 0.357532 | 6,419 | 192 | 80 | 33.432292 | 0.752425 | 0.038168 | 0 | 0.767296 | 0 | 0 | 0.022712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.031447 | 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 |
5223c0b4ea15b40b138c9d353736a1a24f284a0c | 79,281 | py | Python | scripts/klf14_b6ntac_exp_0044_analysis_pipeline_cell_population_profiles.py | rcasero/cytometer | d76e58fa37f83f6a666d556ba061530d787fcfb2 | [
"Apache-2.0"
] | 1 | 2021-06-09T10:18:26.000Z | 2021-06-09T10:18:26.000Z | scripts/klf14_b6ntac_exp_0044_analysis_pipeline_cell_population_profiles.py | rcasero/cytometer | d76e58fa37f83f6a666d556ba061530d787fcfb2 | [
"Apache-2.0"
] | null | null | null | scripts/klf14_b6ntac_exp_0044_analysis_pipeline_cell_population_profiles.py | rcasero/cytometer | d76e58fa37f83f6a666d556ba061530d787fcfb2 | [
"Apache-2.0"
] | null | null | null | """
Areas computed in exp 0043. Reusing code to compute ground truth areas from exp 0038.
"""
"""
This file is part of Cytometer
Copyright 2021 Medical Research Council
SPDX-License-Identifier: Apache-2.0
Author: Ramon Casero <rcasero@gmail.com>
"""
# cross-platform home directory
from pathlib import Path
home = str(... | 46.336061 | 140 | 0.616478 | 10,746 | 79,281 | 4.270519 | 0.05509 | 0.101894 | 0.088558 | 0.023796 | 0.91713 | 0.907106 | 0.899218 | 0.896995 | 0.891155 | 0.877558 | 0 | 0.022288 | 0.231468 | 79,281 | 1,710 | 141 | 46.363158 | 0.730888 | 0.128492 | 0 | 0.881944 | 0 | 0 | 0.10971 | 0.030442 | 0 | 0 | 0 | 0 | 0.002976 | 1 | 0 | false | 0 | 0.017857 | 0 | 0.017857 | 0.006944 | 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 |
523e840b8f6597763df1e62ebc5e24dc41374dbe | 2,045 | py | Python | test.py | minhhn2910/QPyTorch | bb7e88b9004c18ae3df9a20b934f5a156a6ae557 | [
"MIT"
] | 4 | 2020-09-15T20:47:38.000Z | 2021-04-22T06:51:59.000Z | test.py | minhhn2910/QPyTorch | bb7e88b9004c18ae3df9a20b934f5a156a6ae557 | [
"MIT"
] | 3 | 2021-04-12T06:52:17.000Z | 2021-05-28T06:00:32.000Z | test.py | minhhn2910/QPyTorch | bb7e88b9004c18ae3df9a20b934f5a156a6ae557 | [
"MIT"
] | 5 | 2020-07-29T03:43:02.000Z | 2021-02-15T11:46:37.000Z | import torch
import qtorch
from qtorch.quant import posit_quantize, configurable_table_quantize
#full_precision_tensor = torch.rand(5).cuda()
import numpy as np
a = np.random.rand(10) * 20-10
table = np.array(range(-10,10))
table_tensor = torch.tensor(table,dtype=torch.float)
full_precision_tensor = torch.tensor(a,dtyp... | 49.878049 | 103 | 0.787775 | 299 | 2,045 | 5.107023 | 0.137124 | 0.324165 | 0.235756 | 0.194499 | 0.841519 | 0.777341 | 0.748527 | 0.748527 | 0.748527 | 0.745907 | 0 | 0.024724 | 0.070416 | 2,045 | 40 | 104 | 51.125 | 0.778538 | 0.021516 | 0 | 0 | 0 | 0 | 0.171327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.16 | 0 | 0.16 | 0.36 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
525aa41d5ed94b54ade13b392567d87e111f6908 | 12,364 | py | Python | tf_quant_finance/models/hull_white/zero_coupon_bond_option_test.py | jeorme/tf-quant-finance | 841d6134a1f594252bf23df214008b7dbadb0873 | [
"Apache-2.0"
] | 2 | 2021-09-22T18:31:28.000Z | 2022-03-17T23:32:22.000Z | tf_quant_finance/models/hull_white/zero_coupon_bond_option_test.py | Aarif1430/tf-quant-finance | 9372eb1ddf2b48cb1a3d4283bc67a10647ddc7a6 | [
"Apache-2.0"
] | null | null | null | tf_quant_finance/models/hull_white/zero_coupon_bond_option_test.py | Aarif1430/tf-quant-finance | 9372eb1ddf2b48cb1a3d4283bc67a10647ddc7a6 | [
"Apache-2.0"
] | 1 | 2021-02-16T12:08:41.000Z | 2021-02-16T12:08:41.000Z | # Lint as: python3
# 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 or agr... | 36.152047 | 95 | 0.649062 | 1,590 | 12,364 | 4.82956 | 0.128302 | 0.057299 | 0.093762 | 0.016669 | 0.827191 | 0.818726 | 0.818726 | 0.818596 | 0.805834 | 0.800104 | 0 | 0.059603 | 0.230589 | 12,364 | 341 | 96 | 36.258065 | 0.747609 | 0.087512 | 0 | 0.80756 | 0 | 0 | 0.073434 | 0 | 0 | 0 | 0 | 0 | 0.075601 | 1 | 0.034364 | false | 0 | 0.017182 | 0.003436 | 0.058419 | 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 |
871ab81fc0d01cd1852e1b528523696997dbff51 | 129 | py | Python | fbExceptionMeansSocketUnknownAddress.py | SkyLined/mTCPIPConnection | 52f6152a83a163c9f5a45c3fd6edc840c8e72a3b | [
"CC-BY-4.0"
] | 1 | 2021-01-30T07:26:59.000Z | 2021-01-30T07:26:59.000Z | fbExceptionMeansSocketUnknownAddress.py | SkyLined/mTCPIPConnection | 52f6152a83a163c9f5a45c3fd6edc840c8e72a3b | [
"CC-BY-4.0"
] | 1 | 2020-06-21T04:16:25.000Z | 2020-06-23T09:33:35.000Z | fbExceptionMeansSocketUnknownAddress.py | SkyLined/mTCPIPConnection | 52f6152a83a163c9f5a45c3fd6edc840c8e72a3b | [
"CC-BY-4.0"
] | null | null | null | import socket;
def fbExceptionMeansSocketHostnameCannotBeResolved(oException):
return isinstance(oException, socket.gaierror); | 32.25 | 63 | 0.860465 | 10 | 129 | 11.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 129 | 4 | 64 | 32.25 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
5e6b6875fa78c29e10b6d18a8dfc7e109cd4b56e | 25,024 | py | Python | stochoptim/stochprob/facility_location/facility_location_problem_multistage.py | julienkeutchayan/StochOptim | 925e1b6f2613d982439e4fd1939e0dd34c5ef59d | [
"MIT"
] | 9 | 2020-10-27T19:16:24.000Z | 2022-03-28T11:14:44.000Z | stochoptim/stochprob/facility_location/facility_location_problem_multistage.py | julienkeutchayan/StochOptim | 925e1b6f2613d982439e4fd1939e0dd34c5ef59d | [
"MIT"
] | null | null | null | stochoptim/stochprob/facility_location/facility_location_problem_multistage.py | julienkeutchayan/StochOptim | 925e1b6f2613d982439e4fd1939e0dd34c5ef59d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import numpy as np
from itertools import product
from .facility_location_solution import FacilityLocationSolution
from ..stochastic_problem_basis import StochasticProblemBasis
class FacilityLocationProblemMultistage(StochasticProblemBasis):
"""Three-Stage Facility Location Problem.
... | 44.926391 | 119 | 0.577006 | 3,341 | 25,024 | 4.17839 | 0.074828 | 0.041547 | 0.030086 | 0.018625 | 0.933238 | 0.916404 | 0.902436 | 0.890831 | 0.887249 | 0.887249 | 0 | 0.008499 | 0.304108 | 25,024 | 557 | 120 | 44.926391 | 0.793155 | 0.240889 | 0 | 0.864407 | 0 | 0 | 0.086051 | 0.024887 | 0 | 0 | 0 | 0 | 0 | 1 | 0.19774 | false | 0.025424 | 0.022599 | 0 | 0.367232 | 0.00565 | 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 |
5e8ec054a98be93544d62b479dabf577aaff22d6 | 14,489 | py | Python | tests/test_backoff.py | virtuald/pynsq | 40a637b02c28edfb7723373b81f7e7b9d5e364ed | [
"MIT"
] | null | null | null | tests/test_backoff.py | virtuald/pynsq | 40a637b02c28edfb7723373b81f7e7b9d5e364ed | [
"MIT"
] | null | null | null | tests/test_backoff.py | virtuald/pynsq | 40a637b02c28edfb7723373b81f7e7b9d5e364ed | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from __future__ import print_function
from __future__ import with_statement
from __future__ import unicode_literals
import os
import sys
import random
import time
from mock import call, patch, create_autospec
from tornado.ioloop import IOLoop
# shunt '..' into sys.path since we... | 29.211694 | 90 | 0.613293 | 2,100 | 14,489 | 3.999524 | 0.07619 | 0.06858 | 0.070008 | 0.074652 | 0.809977 | 0.791285 | 0.776521 | 0.769377 | 0.769377 | 0.748184 | 0 | 0.025125 | 0.283042 | 14,489 | 495 | 91 | 29.270707 | 0.783404 | 0.01546 | 0 | 0.759894 | 0 | 0 | 0.058498 | 0.002455 | 0 | 0 | 0 | 0 | 0.155673 | 1 | 0.031662 | false | 0 | 0.031662 | 0.002639 | 0.076517 | 0.01847 | 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 |
5e91c54dba01ef6e5197f33120872bac1121e22f | 37,641 | py | Python | meraki/controllers/clients_controller.py | meraki/meraki-python-sdk | 9894089eb013318243ae48869cc5130eb37f80c0 | [
"MIT"
] | 37 | 2019-04-24T14:01:33.000Z | 2022-01-28T01:37:21.000Z | meraki/controllers/clients_controller.py | ankita66666666/meraki-python-sdk | 9894089eb013318243ae48869cc5130eb37f80c0 | [
"MIT"
] | 10 | 2019-07-09T16:35:11.000Z | 2021-12-07T03:47:53.000Z | meraki/controllers/clients_controller.py | ankita66666666/meraki-python-sdk | 9894089eb013318243ae48869cc5130eb37f80c0 | [
"MIT"
] | 17 | 2019-04-30T23:53:21.000Z | 2022-02-07T22:57:44.000Z | # -*- coding: utf-8 -*-
"""
meraki
This file was automatically generated for meraki by APIMATIC v2.0 ( https://apimatic.io ).
"""
from meraki.api_helper import APIHelper
from meraki.configuration import Configuration
from meraki.controllers.base_controller import BaseController
from meraki.http.au... | 44.864124 | 173 | 0.588401 | 4,079 | 37,641 | 5.259868 | 0.072812 | 0.028898 | 0.021254 | 0.025728 | 0.913633 | 0.904731 | 0.898811 | 0.894337 | 0.893778 | 0.891634 | 0 | 0.003067 | 0.350442 | 37,641 | 838 | 174 | 44.917661 | 0.874438 | 0.506124 | 0 | 0.820789 | 1 | 0 | 0.12879 | 0.044916 | 0 | 0 | 0 | 0.02864 | 0 | 1 | 0.043011 | false | 0 | 0.014337 | 0 | 0.103943 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
5e99798f67eea4ab3a2f5e0bdc3b8049d48e7ac6 | 103 | py | Python | __init__.py | OpenTMI/opentmi-pyclient | 034c539d36fe13a2d6538ea421e4c01f00f5687d | [
"MIT"
] | null | null | null | __init__.py | OpenTMI/opentmi-pyclient | 034c539d36fe13a2d6538ea421e4c01f00f5687d | [
"MIT"
] | 36 | 2018-06-18T10:03:58.000Z | 2022-03-30T00:16:31.000Z | __init__.py | OpenTMI/opentmi-pyclient | 034c539d36fe13a2d6538ea421e4c01f00f5687d | [
"MIT"
] | 1 | 2019-04-17T08:49:24.000Z | 2019-04-17T08:49:24.000Z | #!/usr/bin/env python
from opentmi_client import opentmiclient_main
from opentmi_client import create
| 20.6 | 45 | 0.84466 | 15 | 103 | 5.6 | 0.733333 | 0.261905 | 0.404762 | 0.547619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106796 | 103 | 4 | 46 | 25.75 | 0.913043 | 0.194175 | 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 |
5e99deb5c5ed1f7007a9714063984f4712227776 | 94 | py | Python | braise/rebuild_vsm.py | alexandercrosson/braise | 91610a3f7fe47e5e5dd38acf1934ce86c0da113f | [
"MIT"
] | null | null | null | braise/rebuild_vsm.py | alexandercrosson/braise | 91610a3f7fe47e5e5dd38acf1934ce86c0da113f | [
"MIT"
] | null | null | null | braise/rebuild_vsm.py | alexandercrosson/braise | 91610a3f7fe47e5e5dd38acf1934ce86c0da113f | [
"MIT"
] | null | null | null | from doc_collector.doc_collector import get_cleaned_docs_from_db
get_cleaned_docs_from_db()
| 18.8 | 64 | 0.893617 | 16 | 94 | 4.625 | 0.5 | 0.324324 | 0.378378 | 0.486486 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074468 | 94 | 4 | 65 | 23.5 | 0.850575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
0dba2ed8db6d740931d697898f369d6a971c3bb3 | 2,667 | py | Python | tests/test_provider_e_breuninger_netbox.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | tests/test_provider_e_breuninger_netbox.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | tests/test_provider_e_breuninger_netbox.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # tests/test_provider_e-breuninger_netbox.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:22:23 UTC)
def test_provider_import():
import terrascript.provider.e_breuninger.netbox
def test_resource_import():
from terrascript.resource.e_breuninger.netbox import netbox_available_ip_address
... | 33.759494 | 84 | 0.813273 | 352 | 2,667 | 5.928977 | 0.224432 | 0.168663 | 0.252516 | 0.297556 | 0.791088 | 0.773838 | 0.724006 | 0.724006 | 0.396742 | 0.058457 | 0 | 0.006463 | 0.129734 | 2,667 | 78 | 85 | 34.192308 | 0.892719 | 0.191226 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0 | 1 | 0.096774 | true | 0 | 1 | 0 | 1.096774 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
0deb401ee3b5a1bf1577f83a41337796389dcf79 | 2,643 | py | Python | CodingInterview2/25_MergeSortedLists/test_merge_sorted_lists.py | hscspring/TheAlgorithms-Python | 5c2faea1d2d25a9a81a4786e053b0cc58ab46c6f | [
"MIT"
] | 10 | 2020-07-06T11:00:58.000Z | 2022-01-29T09:25:24.000Z | CodingInterview2/25_MergeSortedLists/test_merge_sorted_lists.py | hscspring/TheAlgorithms-Python | 5c2faea1d2d25a9a81a4786e053b0cc58ab46c6f | [
"MIT"
] | null | null | null | CodingInterview2/25_MergeSortedLists/test_merge_sorted_lists.py | hscspring/TheAlgorithms-Python | 5c2faea1d2d25a9a81a4786e053b0cc58ab46c6f | [
"MIT"
] | 3 | 2020-07-13T06:39:23.000Z | 2020-08-15T16:29:48.000Z | from merge_sorted_lists import merge, merge_recurision, merge2
from merge_sorted_lists import list2link, link2list
def test_no_repeat():
lst1 = [1, 3, 5]
lst2 = [2, 4, 6]
link1 = list2link(lst1)
link2 = list2link(lst2)
link = merge_recurision(link1, link2)
assert link2list(link) == [1, 2, 3, 4... | 26.969388 | 62 | 0.600076 | 361 | 2,643 | 4.33795 | 0.085873 | 0.114943 | 0.183908 | 0.239464 | 0.903576 | 0.84355 | 0.796296 | 0.796296 | 0.768838 | 0.740102 | 0 | 0.128114 | 0.25577 | 2,643 | 97 | 63 | 27.247423 | 0.668022 | 0 | 0 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 1 | 0.071429 | false | 0 | 0.02381 | 0 | 0.095238 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.