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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
42563137040a63ac1825149675ebdbdc98177c75 | 9,019 | py | Python | newsletter/tests/tests_post_update_view.py | hbuyse/dj-newsletter | 2c032466e648b3c844bea6aae379a5346d9ce677 | [
"MIT"
] | null | null | null | newsletter/tests/tests_post_update_view.py | hbuyse/dj-newsletter | 2c032466e648b3c844bea6aae379a5346d9ce677 | [
"MIT"
] | null | null | null | newsletter/tests/tests_post_update_view.py | hbuyse/dj-newsletter | 2c032466e648b3c844bea6aae379a5346d9ce677 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# coding=utf-8
"""Tests the modification view of a post."""
# Django
from django.contrib.auth import get_user_model
from django.contrib.auth.models import Permission
from django.test import TestCase, override_settings, tag
from django.urls import reverse
# Current django project
from newslette... | 41.562212 | 179 | 0.649074 | 1,108 | 9,019 | 5.150722 | 0.123646 | 0.037848 | 0.029788 | 0.056772 | 0.87419 | 0.87419 | 0.87419 | 0.850359 | 0.850359 | 0.850359 | 0 | 0.004284 | 0.197694 | 9,019 | 216 | 180 | 41.75463 | 0.784411 | 0.105777 | 0 | 0.785714 | 0 | 0 | 0.126292 | 0.05571 | 0 | 0 | 0 | 0 | 0.235714 | 1 | 0.114286 | false | 0.071429 | 0.042857 | 0 | 0.185714 | 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 |
42576335c0f6ef9464d52ec52b4c65d3223584ba | 155 | py | Python | examples/__init__.py | nprezant/GAlgorithm | 5259281fb7ed0efe1effcdc39ae1850c0a47b9a5 | [
"MIT"
] | 1 | 2021-12-18T23:25:12.000Z | 2021-12-18T23:25:12.000Z | examples/__init__.py | nprezant/GAlgorithm | 5259281fb7ed0efe1effcdc39ae1850c0a47b9a5 | [
"MIT"
] | 1 | 2022-03-12T01:04:13.000Z | 2022-03-12T01:04:13.000Z | examples/__init__.py | nprezant/GAlgorithm | 5259281fb7ed0efe1effcdc39ae1850c0a47b9a5 | [
"MIT"
] | null | null | null | from .knapsack import run as run_knapsack
from .sentences import run as run_sentences
from .tsp import run as run_tsp
from .tsp import plot_individual_csv
| 31 | 43 | 0.832258 | 27 | 155 | 4.592593 | 0.37037 | 0.217742 | 0.266129 | 0.33871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141935 | 155 | 4 | 44 | 38.75 | 0.932331 | 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 |
425b3d3b0191cb00f54e08a9c5379d86146c6d14 | 9,504 | py | Python | PICMI_Python/diagnostics.py | tsung1029/picmi | ca94beaec18759d0ed45d54ac4dd0917a7edd50f | [
"BSD-3-Clause-LBNL"
] | null | null | null | PICMI_Python/diagnostics.py | tsung1029/picmi | ca94beaec18759d0ed45d54ac4dd0917a7edd50f | [
"BSD-3-Clause-LBNL"
] | null | null | null | PICMI_Python/diagnostics.py | tsung1029/picmi | ca94beaec18759d0ed45d54ac4dd0917a7edd50f | [
"BSD-3-Clause-LBNL"
] | null | null | null | """Classes following the PICMI standard
These should be the base classes for Python implementation of the PICMI standard
The classes in the file are all diagnostics related
"""
from .base import _ClassWithInit
# ----------------------------
# Simulation frame diagnostics
# ----------------------------
class PICMI_F... | 40.442553 | 111 | 0.598906 | 1,149 | 9,504 | 4.793734 | 0.114012 | 0.029049 | 0.037763 | 0.023965 | 0.900871 | 0.898148 | 0.890886 | 0.871641 | 0.856935 | 0.849855 | 0 | 0.002331 | 0.322917 | 9,504 | 234 | 112 | 40.615385 | 0.853613 | 0.502841 | 0 | 0.905983 | 0 | 0 | 0.015493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042735 | false | 0 | 0.008547 | 0 | 0.094017 | 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 |
35f337cabf4e34a760d82d0a8d08836f379ad0fe | 9,884 | py | Python | userbot/modules/santet.py | bryanasfuk/Venom | 8ac37b718786f05a9ea63418509c41d148e3ec54 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/santet.py | bryanasfuk/Venom | 8ac37b718786f05a9ea63418509c41d148e3ec54 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/santet.py | bryanasfuk/Venom | 8ac37b718786f05a9ea63418509c41d148e3ec54 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | from time import sleep
from userbot import CMD_HELP
from userbot.events import register
@register(outgoing=True, pattern=r"^\.santet(?: |$)(.*)")
async def typewriter(typew):
typew.pattern_match.group(1)
await typew.edit("`Telah Mengaktifkan Perintah Mencolok Bool 😈`")
sleep(2)
await typew.edit("`Me... | 29.951515 | 78 | 0.490996 | 1,288 | 9,884 | 4.45264 | 0.118012 | 0.18483 | 0.258762 | 0.296425 | 0.783435 | 0.765475 | 0.765475 | 0.765475 | 0.765475 | 0.765475 | 0 | 0.055847 | 0.26811 | 9,884 | 329 | 79 | 30.042553 | 0.614598 | 0 | 0 | 0.62963 | 0 | 0 | 0.151963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009259 | 0 | 0.009259 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c452b1ea9d189c19299de37f7eaab4fc51b3c640 | 83 | py | Python | xoto3/utils/env.py | xoeye/xoto3 | ef91cde3cce81e1ded311389358271d5c8eba02b | [
"MIT"
] | 16 | 2020-05-23T15:23:38.000Z | 2022-03-18T19:28:37.000Z | xoto3/utils/env.py | xoeye/xoto3 | ef91cde3cce81e1ded311389358271d5c8eba02b | [
"MIT"
] | 9 | 2020-08-19T23:08:36.000Z | 2021-10-06T17:16:35.000Z | xoto3/utils/env.py | xoeye/xoto3 | ef91cde3cce81e1ded311389358271d5c8eba02b | [
"MIT"
] | 2 | 2020-12-12T08:23:53.000Z | 2021-09-03T20:25:54.000Z | import os
def is_aws_env() -> bool:
return "AWS_EXECUTION_ENV" in os.environ
| 13.833333 | 44 | 0.710843 | 14 | 83 | 3.928571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192771 | 83 | 5 | 45 | 16.6 | 0.820896 | 0 | 0 | 0 | 0 | 0 | 0.204819 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
c46bd91f5613b1afefdb1e03f00332e62a31b433 | 7,206 | py | Python | Source_Code/Python/conducted_script_testing.py | fenglwh/instruments | 7886158d1ed97fe6bfe372a55f4fca107e834311 | [
"MIT"
] | null | null | null | Source_Code/Python/conducted_script_testing.py | fenglwh/instruments | 7886158d1ed97fe6bfe372a55f4fca107e834311 | [
"MIT"
] | 3 | 2018-09-21T00:57:21.000Z | 2018-09-21T01:49:40.000Z | Source_Code/Python/conducted_script_testing.py | fenglwh/instruments | 7886158d1ed97fe6bfe372a55f4fca107e834311 | [
"MIT"
] | null | null | null | import time
from labinstrument.SS.CMW500.CMW500_WIFI.CMW500_WIFI import CMW_WIFI
import openpyxl
if __name__ == '__main__':
instrument=CMW_WIFI(17)
print(instrument.uddrate_mode)
print(instrument.DSSS_rate)
print(instrument.OFDM_rate)
print(instrument.OMCS_rate)
instrument.tx_modulation_form... | 45.898089 | 134 | 0.552179 | 826 | 7,206 | 4.645278 | 0.141646 | 0.059421 | 0.068022 | 0.062549 | 0.890018 | 0.864477 | 0.851446 | 0.842325 | 0.829033 | 0.829033 | 0 | 0.039004 | 0.331113 | 7,206 | 156 | 135 | 46.192308 | 0.757054 | 0.000278 | 0 | 0.753425 | 0 | 0 | 0.155074 | 0.077051 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020548 | 0 | 0.020548 | 0.054795 | 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 |
c47285f51b0eebea9f23fe5c6d51ad715495595f | 18,907 | py | Python | test/wecall_acceptance/single_sample_diploid/test_allele_bias.py | dylex/wecall | 35d24cefa4fba549e737cd99329ae1b17dd0156b | [
"MIT"
] | 8 | 2018-10-08T15:47:21.000Z | 2021-11-09T07:13:05.000Z | test/wecall_acceptance/single_sample_diploid/test_allele_bias.py | dylex/wecall | 35d24cefa4fba549e737cd99329ae1b17dd0156b | [
"MIT"
] | 4 | 2018-11-05T09:16:27.000Z | 2020-04-09T12:32:56.000Z | test/wecall_acceptance/single_sample_diploid/test_allele_bias.py | dylex/wecall | 35d24cefa4fba549e737cd99329ae1b17dd0156b | [
"MIT"
] | 4 | 2019-09-03T15:46:39.000Z | 2021-06-04T07:28:33.000Z | # All content Copyright (C) 2018 Genomics plc
from wecall.genomics.variant import Variant
from wecall_test_drivers.ascii_wecall_runner import AsciiWecallRunnerTest
from wecall_test_drivers.base_test import BaseTest
from wecall_test_drivers.svc_driver import SVCDriver
class TestAlleleBiasPValue(BaseTest):
def test... | 50.553476 | 120 | 0.238695 | 850 | 18,907 | 4.914118 | 0.158824 | 0.009097 | 0.043572 | 0.070385 | 0.819727 | 0.810151 | 0.804405 | 0.789562 | 0.774719 | 0.758918 | 0 | 0.01532 | 0.333686 | 18,907 | 373 | 121 | 50.689008 | 0.316241 | 0.005395 | 0 | 0.782991 | 0 | 0 | 0.509095 | 0.390171 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052786 | false | 0.02346 | 0.01173 | 0 | 0.073314 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
671b6f7c748a849f8f8b2bf9fabc9c8088ed2f5d | 7,044 | py | Python | benchmarks/benchmarks/bench_ecdsa.py | TheCrazyGM/bhive | 1494e90a99123ecfc5efbd927258f9ba59443e2e | [
"MIT"
] | 2 | 2020-03-21T23:50:22.000Z | 2020-03-25T19:10:48.000Z | benchmarks/benchmarks/bench_ecdsa.py | TheCrazyGM/bhive | 1494e90a99123ecfc5efbd927258f9ba59443e2e | [
"MIT"
] | null | null | null | benchmarks/benchmarks/bench_ecdsa.py | TheCrazyGM/bhive | 1494e90a99123ecfc5efbd927258f9ba59443e2e | [
"MIT"
] | 1 | 2020-03-21T23:50:25.000Z | 2020-03-21T23:50:25.000Z | # This Python file uses the following encoding: utf-8
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import hashlib
import ecdsa
from binascii import hexlify, unhexlify
from bhivegraphenebase.account import PrivateKey,... | 58.214876 | 215 | 0.704429 | 897 | 7,044 | 5.462653 | 0.230769 | 0.068571 | 0.041633 | 0.058776 | 0.830408 | 0.803469 | 0.803469 | 0.803469 | 0.803469 | 0.803469 | 0 | 0.186721 | 0.168228 | 7,044 | 120 | 216 | 58.7 | 0.649599 | 0.00724 | 0 | 0.737864 | 0 | 0.116505 | 0.475966 | 0.43176 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087379 | false | 0 | 0.174757 | 0 | 0.31068 | 0.009709 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
677b338c7e9b106a7535bd5623ff2fe5567d10f1 | 37,590 | py | Python | pytests/eventing/eventing_upgrade.py | GauthamBanasandra/testrunner | 98260a63d535b3fd52f31bfa7b964b4b7afc943a | [
"Apache-2.0"
] | null | null | null | pytests/eventing/eventing_upgrade.py | GauthamBanasandra/testrunner | 98260a63d535b3fd52f31bfa7b964b4b7afc943a | [
"Apache-2.0"
] | null | null | null | pytests/eventing/eventing_upgrade.py | GauthamBanasandra/testrunner | 98260a63d535b3fd52f31bfa7b964b4b7afc943a | [
"Apache-2.0"
] | null | null | null | import Queue
import copy
from TestInput import TestInputSingleton
from couchbase_helper.tuq_helper import N1QLHelper
from newupgradebasetest import NewUpgradeBaseTest
from membase.api.rest_client import RestHelper
from membase.helper.cluster_helper import ClusterOperationHelper
from pytests.basetestcase import BaseTes... | 55.606509 | 119 | 0.691194 | 4,869 | 37,590 | 5.043541 | 0.057301 | 0.045445 | 0.062711 | 0.074276 | 0.841552 | 0.82282 | 0.810482 | 0.801238 | 0.789958 | 0.779045 | 0 | 0.015058 | 0.217345 | 37,590 | 676 | 120 | 55.606509 | 0.819647 | 0.088481 | 0 | 0.73743 | 0 | 0.001862 | 0.088901 | 0.011047 | 0 | 0 | 0 | 0 | 0.005587 | 1 | 0.039106 | false | 0 | 0.096834 | 0 | 0.139665 | 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 |
67d03cf46cbeedac4fec6551e7b119e0d01bb6c8 | 7,130 | py | Python | medicine/src/Result.py | marinajacks/reptilian | 990cb371a551164828ad40e57df74ebdf5ebf25e | [
"MIT"
] | null | null | null | medicine/src/Result.py | marinajacks/reptilian | 990cb371a551164828ad40e57df74ebdf5ebf25e | [
"MIT"
] | null | null | null | medicine/src/Result.py | marinajacks/reptilian | 990cb371a551164828ad40e57df74ebdf5ebf25e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Dec 13 20:24:45 2018
这个程序专门用来
@author: hello
"""
import pandas as pd
import pymysql
sql0='''
select a.*,b.*,c.*
from
(
select * from docked where scores is not null ORDER BY SCORES
)a
left join target b on a.pdbi... | 38.75 | 119 | 0.649088 | 1,083 | 7,130 | 4.23084 | 0.111727 | 0.076822 | 0.043213 | 0.064164 | 0.879092 | 0.879092 | 0.870362 | 0.822348 | 0.822348 | 0.822348 | 0 | 0.009259 | 0.242637 | 7,130 | 184 | 120 | 38.75 | 0.839259 | 0.002945 | 0 | 0.611111 | 0 | 0.152778 | 0.853146 | 0.235762 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.006944 | 0.013889 | null | null | 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 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
67dbbe24bd6d01d7dde4d2b5b5091e9fd7d03b08 | 256 | py | Python | torchblocks/models/nn/__init__.py | lonePatient/TorchBlocks | 4a65d746cc8a396cb7df73ed4644d97ddf843e29 | [
"MIT"
] | 82 | 2020-06-23T05:51:08.000Z | 2022-03-29T08:11:08.000Z | torchblocks/models/nn/__init__.py | Raiselimit/TorchBlocks | a5baecb9a2470ff175087475630f2b7db3f7ef51 | [
"MIT"
] | null | null | null | torchblocks/models/nn/__init__.py | Raiselimit/TorchBlocks | a5baecb9a2470ff175087475630f2b7db3f7ef51 | [
"MIT"
] | 22 | 2020-06-23T05:51:10.000Z | 2022-03-18T07:01:43.000Z | from .bert_for_ner import *
from .bert_with_mdp import *
from .bert_for_multilabel import *
from .bert_for_siamese import *
from .bert_for_triple import BertForTripletNet
from .bert_for_attr import BertCRFForAttr
from .bert_for_relation import REBERT | 36.571429 | 47 | 0.828125 | 38 | 256 | 5.210526 | 0.394737 | 0.282828 | 0.333333 | 0.257576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128906 | 256 | 7 | 48 | 36.571429 | 0.887892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e1eeebc22e7fe20f6d1e19a51285e73163ed18c9 | 10,227 | py | Python | scripts/extract_feats_relations.py | opener-project/opinion_miner_deluxe | ec73ca3a593648a23a66752392fd869ac65e363d | [
"Apache-2.0"
] | 1 | 2015-05-13T20:38:12.000Z | 2015-05-13T20:38:12.000Z | scripts/extract_feats_relations.py | opener-project/opinion_miner_deluxe | ec73ca3a593648a23a66752392fd869ac65e363d | [
"Apache-2.0"
] | null | null | null | scripts/extract_feats_relations.py | opener-project/opinion_miner_deluxe | ec73ca3a593648a23a66752392fd869ac65e363d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import sys
def write_to_output(my_class,feats, output):
my_str = my_class
for name, value in feats:
my_str += '\t'+name+'='+value
output.write(my_str.encode('utf-8')+'\n')
#########################################################################
# EXTRACTION... | 34.550676 | 159 | 0.589811 | 1,372 | 10,227 | 4.044461 | 0.105685 | 0.030276 | 0.032438 | 0.011894 | 0.829699 | 0.817805 | 0.810236 | 0.802307 | 0.757434 | 0.744098 | 0 | 0.009172 | 0.30703 | 10,227 | 295 | 160 | 34.667797 | 0.773811 | 0.08194 | 0 | 0.702439 | 0 | 0 | 0.025825 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02439 | false | 0 | 0.004878 | 0 | 0.039024 | 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 |
e1f5399b6d3fd985c884c869bc58d025e5ba7f8f | 43,129 | py | Python | sdk/python/pulumi_digitalocean/database_cluster.py | pulumi/pulumi-digitalocean | b924205ec8f66f5240a755c91aa8642162038dfb | [
"ECL-2.0",
"Apache-2.0"
] | 53 | 2019-04-25T14:43:12.000Z | 2022-03-14T15:51:44.000Z | sdk/python/pulumi_digitalocean/database_cluster.py | pulumi/pulumi-digitalocean | b924205ec8f66f5240a755c91aa8642162038dfb | [
"ECL-2.0",
"Apache-2.0"
] | 158 | 2019-04-15T21:47:18.000Z | 2022-03-29T21:21:57.000Z | sdk/python/pulumi_digitalocean/database_cluster.py | pulumi/pulumi-digitalocean | b924205ec8f66f5240a755c91aa8642162038dfb | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2019-04-15T20:16:11.000Z | 2021-05-28T19:08:32.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 ... | 43.433031 | 252 | 0.636787 | 5,059 | 43,129 | 5.253212 | 0.05001 | 0.093957 | 0.074278 | 0.068709 | 0.90085 | 0.876881 | 0.843505 | 0.825105 | 0.817429 | 0.792106 | 0 | 0.003742 | 0.250272 | 43,129 | 992 | 253 | 43.476815 | 0.818154 | 0.356836 | 0 | 0.688433 | 1 | 0 | 0.099565 | 0.016508 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166045 | false | 0.026119 | 0.014925 | 0 | 0.283582 | 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 |
c01900793d8d4bd020a362d9e6a3ce77b4b3d4fa | 118 | py | Python | apps/coupon/models.py | jakejie/ShopPro | f0cec134ae77f4449f15a0219123d6a6bce2aad2 | [
"Apache-2.0"
] | 1 | 2019-04-20T16:58:02.000Z | 2019-04-20T16:58:02.000Z | apps/coupon/models.py | jakejie/ShopPro | f0cec134ae77f4449f15a0219123d6a6bce2aad2 | [
"Apache-2.0"
] | 6 | 2020-06-05T19:57:58.000Z | 2021-09-08T00:49:17.000Z | apps/coupon/models.py | jakejie/ShopPro | f0cec134ae77f4449f15a0219123d6a6bce2aad2 | [
"Apache-2.0"
] | 1 | 2021-09-10T18:29:28.000Z | 2021-09-10T18:29:28.000Z | from django.db import models
class SystemCoupon(models.Model):
pass
class StoreCoupon(models.Model):
pass
| 11.8 | 33 | 0.737288 | 15 | 118 | 5.8 | 0.666667 | 0.252874 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 118 | 9 | 34 | 13.111111 | 0.90625 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
c0460a6773ed1087a9f3340e96f25b8e9017b58e | 27,374 | py | Python | magnum/tests/unit/api/controllers/v1/test_container.py | mjbrewer/testIndex | 420dc071d4240a89b6f266e8d2575cedb39bfea0 | [
"Apache-2.0"
] | null | null | null | magnum/tests/unit/api/controllers/v1/test_container.py | mjbrewer/testIndex | 420dc071d4240a89b6f266e8d2575cedb39bfea0 | [
"Apache-2.0"
] | null | null | null | magnum/tests/unit/api/controllers/v1/test_container.py | mjbrewer/testIndex | 420dc071d4240a89b6f266e8d2575cedb39bfea0 | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distr... | 46.953688 | 79 | 0.641375 | 3,143 | 27,374 | 5.264715 | 0.074133 | 0.10999 | 0.039886 | 0.045869 | 0.877077 | 0.839488 | 0.817913 | 0.801958 | 0.779477 | 0.751556 | 0 | 0.013323 | 0.251443 | 27,374 | 582 | 80 | 47.034364 | 0.794202 | 0.028823 | 0 | 0.72973 | 0 | 0 | 0.156716 | 0.09016 | 0 | 0 | 0 | 0 | 0.193347 | 1 | 0.087318 | false | 0 | 0.018711 | 0.002079 | 0.114345 | 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 |
c060c3dbdb3ad597b7da6633cb2d7be265059c38 | 25,061 | py | Python | metarecord/migrations/0001_initial.py | kerkkoheiskanen/helerm | bdaf801a940d42325a1076b42bb0edef831fbac9 | [
"MIT"
] | 2 | 2017-04-21T15:36:23.000Z | 2020-12-04T09:32:39.000Z | metarecord/migrations/0001_initial.py | kerkkoheiskanen/helerm | bdaf801a940d42325a1076b42bb0edef831fbac9 | [
"MIT"
] | 168 | 2016-10-05T12:58:41.000Z | 2021-08-31T14:29:56.000Z | metarecord/migrations/0001_initial.py | kerkkoheiskanen/helerm | bdaf801a940d42325a1076b42bb0edef831fbac9 | [
"MIT"
] | 7 | 2016-10-13T12:51:36.000Z | 2021-01-21T13:05:04.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-04-13 20:37
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import uuid
class Migration(migrations.Migration):
initial = Tru... | 70.396067 | 238 | 0.662184 | 2,705 | 25,061 | 5.960444 | 0.042514 | 0.083235 | 0.052968 | 0.083235 | 0.922533 | 0.904918 | 0.900577 | 0.882342 | 0.879179 | 0.875581 | 0 | 0.003116 | 0.205938 | 25,061 | 355 | 239 | 70.594366 | 0.807085 | 0.002673 | 0 | 0.639769 | 1 | 0 | 0.204474 | 0.050818 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017291 | 0 | 0.028818 | 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 |
fbfdcef145348dbdc97530179e7a68b156247005 | 2,198 | py | Python | lib/systems/annulene.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | lib/systems/annulene.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | lib/systems/annulene.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | import pulsar as psr
def load_ref_system():
""" Returns annulene as found in the IQMol fragment library.
All credit to https://github.com/nutjunkie/IQmol
"""
return psr.make_system("""
C 2.59675 1.49923 0.00000
C 2.59675 -1.49923 0.00000
... | 49.954545 | 64 | 0.375341 | 281 | 2,198 | 2.925267 | 0.181495 | 0.291971 | 0.153285 | 0.077859 | 0.832117 | 0.832117 | 0.832117 | 0.832117 | 0.832117 | 0.816302 | 0 | 0.640316 | 0.539581 | 2,198 | 43 | 65 | 51.116279 | 0.171937 | 0.047771 | 0 | 0 | 0 | 0 | 0.959479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025 | true | 0 | 0.025 | 0 | 0.075 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
2202cd45f3b541bef25d702ef049e7fb4bc56f42 | 115,023 | py | Python | zun/tests/unit/api/controllers/v1/test_containers.py | ZhaiMengdong/zun | 2c76e26335a9fd8ffb6624563dd5015278b01da9 | [
"Apache-2.0"
] | 3 | 2018-09-07T02:31:05.000Z | 2018-10-17T10:30:47.000Z | zun/tests/unit/api/controllers/v1/test_containers.py | ZhaiMengdong/zun | 2c76e26335a9fd8ffb6624563dd5015278b01da9 | [
"Apache-2.0"
] | null | null | null | zun/tests/unit/api/controllers/v1/test_containers.py | ZhaiMengdong/zun | 2c76e26335a9fd8ffb6624563dd5015278b01da9 | [
"Apache-2.0"
] | 1 | 2018-09-07T02:26:23.000Z | 2018-09-07T02:26:23.000Z | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distr... | 49.685961 | 79 | 0.614242 | 12,710 | 115,023 | 5.246184 | 0.037451 | 0.07896 | 0.032394 | 0.027265 | 0.893955 | 0.868249 | 0.852187 | 0.827742 | 0.809445 | 0.795228 | 0 | 0.012096 | 0.272632 | 115,023 | 2,314 | 80 | 49.707433 | 0.78489 | 0.014006 | 0 | 0.708762 | 0 | 0 | 0.19813 | 0.106744 | 0 | 0 | 0 | 0.000432 | 0.17768 | 1 | 0.066569 | false | 0.001958 | 0.004895 | 0 | 0.07489 | 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 |
2203e391f57e7f400cc2cc55493f30b9bb268af6 | 4,826 | py | Python | src_graph/edges_all_MENT_per_MO_TOT_ST.py | sanja7s/SR_Twitter | 2eb499c9aa25ba6e9860cd77eac6832890d2c126 | [
"MIT"
] | null | null | null | src_graph/edges_all_MENT_per_MO_TOT_ST.py | sanja7s/SR_Twitter | 2eb499c9aa25ba6e9860cd77eac6832890d2c126 | [
"MIT"
] | null | null | null | src_graph/edges_all_MENT_per_MO_TOT_ST.py | sanja7s/SR_Twitter | 2eb499c9aa25ba6e9860cd77eac6832890d2c126 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
from the data of edge formation/deletion, find the persisting edges and their monthly REL ST
"""
from collections import defaultdict
import codecs
import os
import json
import numpy as np
from igraph import *
IN_DIR = "../../../DATA/General/"
os.chdir(IN_DIR)
F_IN = ... | 20.362869 | 98 | 0.629092 | 823 | 4,826 | 3.521264 | 0.162819 | 0.041408 | 0.027605 | 0.035887 | 0.857833 | 0.852312 | 0.837474 | 0.811939 | 0.811939 | 0.800207 | 0 | 0.012732 | 0.218815 | 4,826 | 236 | 99 | 20.449153 | 0.755968 | 0.055325 | 0 | 0.82659 | 0 | 0 | 0.117138 | 0.026208 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.034682 | null | null | 0.115607 | 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 |
223818086e1736153ffe37499d2cded0a4b4514e | 45 | py | Python | data/typing/numpy.random._pcg64.py | vfdev-5/python-record-api | 006faf0bba9cd4cb55fbacc13d2bbda365f5bf0b | [
"MIT"
] | 67 | 2020-08-17T11:53:26.000Z | 2021-11-08T20:16:06.000Z | data/typing/numpy.random._pcg64.py | vfdev-5/python-record-api | 006faf0bba9cd4cb55fbacc13d2bbda365f5bf0b | [
"MIT"
] | 36 | 2020-08-17T11:09:51.000Z | 2021-12-15T18:09:47.000Z | data/typing/numpy.random._pcg64.py | pydata-apis/python-api-record | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 7 | 2020-08-19T05:06:47.000Z | 2020-11-04T05:10:38.000Z | from typing import *
class PCG64:
pass
| 7.5 | 20 | 0.666667 | 6 | 45 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.288889 | 45 | 5 | 21 | 9 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
224a9d9e93611122a7f9d210d921ffa59f7873c1 | 174,352 | py | Python | TweakApi/apis/product_size_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | TweakApi/apis/product_size_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | TweakApi/apis/product_size_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
tweak-api
Tweak API to integrate with all the Tweak services. You can find out more about Tweak at <a href='https://www.tweak.com'>https://www.tweak.com</a>, #tweak.
OpenAPI spec version: 1.0.8-beta.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
... | 41.601527 | 165 | 0.566486 | 18,026 | 174,352 | 5.247143 | 0.015644 | 0.062589 | 0.038484 | 0.028165 | 0.987577 | 0.986287 | 0.985262 | 0.980695 | 0.977671 | 0.97543 | 0 | 0.00073 | 0.348301 | 174,352 | 4,190 | 166 | 41.611456 | 0.831701 | 0.311324 | 0 | 0.847243 | 0 | 0 | 0.187194 | 0.073436 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037936 | false | 0 | 0.003541 | 0 | 0.098128 | 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 |
22577442438a2350d5afcac3cedbaf633136177a | 262 | py | Python | acoular/demo/__init__.py | esarradj/acoular | ed73ab666f994421cfcf8d0b5310a563d99f5f40 | [
"BSD-3-Clause"
] | 2 | 2018-02-04T10:31:31.000Z | 2021-08-23T13:01:38.000Z | acoular/demo/__init__.py | haoshimaster/acoular | 3f630abde2ffbe1183aefceba2c4f7faa586656a | [
"BSD-3-Clause"
] | null | null | null | acoular/demo/__init__.py | haoshimaster/acoular | 3f630abde2ffbe1183aefceba2c4f7faa586656a | [
"BSD-3-Clause"
] | null | null | null | # coding=UTF-8
#------------------------------------------------------------------------------
# Copyright (c) 2007-2020, Acoular Development Team.
#------------------------------------------------------------------------------
from . import acoular_demo | 37.428571 | 80 | 0.274809 | 14 | 262 | 5.071429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0375 | 0.083969 | 262 | 7 | 81 | 37.428571 | 0.258333 | 0.835878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
226c779a1ca28c2fd888640a543824091ba57f50 | 9,915 | py | Python | tests/test_deploy/TestControllers.py | mukul-mehta/sample-platform | 0fa9345ea46e44ae97aaa4f421e262d5afeca235 | [
"0BSD"
] | null | null | null | tests/test_deploy/TestControllers.py | mukul-mehta/sample-platform | 0fa9345ea46e44ae97aaa4f421e262d5afeca235 | [
"0BSD"
] | null | null | null | tests/test_deploy/TestControllers.py | mukul-mehta/sample-platform | 0fa9345ea46e44ae97aaa4f421e262d5afeca235 | [
"0BSD"
] | null | null | null | import json
from tempfile import gettempdir
from flask import g
from mock import mock
from mod_deploy.controllers import requests
from tests.base import (BaseTestCase, generate_git_api_header,
generate_signature)
WSGI_ENVIRONMENT = {'REMOTE_ADDR': '0.0.0.0'}
@mock.patch.object(requests, 'ge... | 43.296943 | 110 | 0.656682 | 1,263 | 9,915 | 4.884402 | 0.110055 | 0.012644 | 0.061274 | 0.008429 | 0.825742 | 0.811315 | 0.793484 | 0.766899 | 0.753283 | 0.733668 | 0 | 0.013161 | 0.210691 | 9,915 | 228 | 111 | 43.486842 | 0.775109 | 0.048916 | 0 | 0.592105 | 1 | 0 | 0.135256 | 0.041626 | 0 | 0 | 0 | 0 | 0.197368 | 1 | 0.078947 | false | 0 | 0.046053 | 0 | 0.138158 | 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 |
3f6e78f93977eefdbfad80918679eec8b817dcc3 | 1,011 | py | Python | LocalitySensitiveHashing-1.0.1/LocalitySensitiveHashing/__init__.py | kanihal/CS631_pg_semantic_search | c394783dd2149045e358a47fa6e1313493e23510 | [
"BSD-3-Clause"
] | null | null | null | LocalitySensitiveHashing-1.0.1/LocalitySensitiveHashing/__init__.py | kanihal/CS631_pg_semantic_search | c394783dd2149045e358a47fa6e1313493e23510 | [
"BSD-3-Clause"
] | null | null | null | LocalitySensitiveHashing-1.0.1/LocalitySensitiveHashing/__init__.py | kanihal/CS631_pg_semantic_search | c394783dd2149045e358a47fa6e1313493e23510 | [
"BSD-3-Clause"
] | 1 | 2020-10-20T11:48:08.000Z | 2020-10-20T11:48:08.000Z | #!/usr/bin/env python
import sys
if sys.version_info[0] == 3:
from LocalitySensitiveHashing.LocalitySensitiveHashing import __version__
from LocalitySensitiveHashing.LocalitySensitiveHashing import __author__
from LocalitySensitiveHashing.LocalitySensitiveHashing import __date__
from LocalitySensitive... | 37.444444 | 90 | 0.85361 | 76 | 1,011 | 10.815789 | 0.25 | 0.476886 | 0.442822 | 0.493917 | 0.829684 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002268 | 0.127596 | 1,011 | 26 | 91 | 38.884615 | 0.929705 | 0.019782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.882353 | 0 | 0.882353 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
451714fed57fbe27dcfe6002bf953522128f161d | 148 | py | Python | exif/tests/get_file_baselines/__init__.py | ArgiesDario/exif | 62082954e9f7596f0911041b33d835e3df76e306 | [
"MIT"
] | null | null | null | exif/tests/get_file_baselines/__init__.py | ArgiesDario/exif | 62082954e9f7596f0911041b33d835e3df76e306 | [
"MIT"
] | null | null | null | exif/tests/get_file_baselines/__init__.py | ArgiesDario/exif | 62082954e9f7596f0911041b33d835e3df76e306 | [
"MIT"
] | null | null | null | """Baseline strings for test_get_file tests."""
from exif.tests.get_file_baselines.modified_noise_file_hex import MODIFIED_NOISE_FILE_HEX_BASELINE
| 37 | 98 | 0.864865 | 23 | 148 | 5.086957 | 0.608696 | 0.119658 | 0.290598 | 0.34188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 148 | 3 | 99 | 49.333333 | 0.847826 | 0.277027 | 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 |
1898d322db9077e258175f73e5d50784a6fa2c22 | 59,514 | py | Python | metal/models/bgp_api.py | displague/metal-python | 96e64e9ac41025d85ff6f61693165e29e1c366db | [
"MIT"
] | null | null | null | metal/models/bgp_api.py | displague/metal-python | 96e64e9ac41025d85ff6f61693165e29e1c366db | [
"MIT"
] | 3 | 2021-09-27T05:10:36.000Z | 2021-09-27T06:10:57.000Z | metal/models/bgp_api.py | displague/metal-python | 96e64e9ac41025d85ff6f61693165e29e1c366db | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Metal API
This is the API for Equinix Metal. The API allows you to programmatically interact with all of your Equinix Metal resources, including devices, networks, addresses, organizations, projects, and your user account. The official API docs are hosted at <https://metal.equinix.com/dev... | 44.380313 | 312 | 0.59171 | 6,719 | 59,514 | 4.993303 | 0.039887 | 0.037914 | 0.058838 | 0.028972 | 0.966438 | 0.960805 | 0.956274 | 0.94918 | 0.94152 | 0.935261 | 0 | 0.014347 | 0.337097 | 59,514 | 1,340 | 313 | 44.413433 | 0.836054 | 0.483785 | 0 | 0.762626 | 0 | 0 | 0.168898 | 0.03571 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031987 | false | 0 | 0.008418 | 0 | 0.072391 | 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 |
18a2a05748a7d49b475f56fc1588e7ce544d68d6 | 7,736 | py | Python | 1_SVG_converter_Plus.py | hirowgit/2B0_python_optmization_course | e1890a41d0daf9a44a4d1e0a6c5d775f8ab7691b | [
"MIT"
] | null | null | null | 1_SVG_converter_Plus.py | hirowgit/2B0_python_optmization_course | e1890a41d0daf9a44a4d1e0a6c5d775f8ab7691b | [
"MIT"
] | null | null | null | 1_SVG_converter_Plus.py | hirowgit/2B0_python_optmization_course | e1890a41d0daf9a44a4d1e0a6c5d775f8ab7691b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# In[93]:
from svg.path import parse_path
from svg.path.path import Line
from xml.dom import minidom
import numpy as np
import matplotlib.pyplot as plt
# Learned from
# https://python5.com/q/twovjmxc
# In[54]:
# read the SVG file
doc = minidom.parse('B_sample.svg')
path_str... | 23.950464 | 125 | 0.666882 | 1,294 | 7,736 | 3.779753 | 0.1051 | 0.055817 | 0.066244 | 0.058884 | 0.810468 | 0.779391 | 0.765488 | 0.765488 | 0.765488 | 0.757514 | 0 | 0.045834 | 0.148268 | 7,736 | 322 | 126 | 24.024845 | 0.696464 | 0.11789 | 0 | 0.756579 | 0 | 0 | 0.020393 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.032895 | null | null | 0.006579 | 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 |
18c0f8ab989cf3a9cb0ce31834a492c42eec765a | 139 | py | Python | jupyterlab_autoversion/tests/test_all.py | ceball/jupyterlab_autoversion | d337436e5e7573af71bc0cd111a72955126458f0 | [
"Apache-2.0"
] | 60 | 2018-08-30T02:07:57.000Z | 2022-03-03T15:00:39.000Z | jupyterlab_autoversion/tests/test_all.py | ceball/jupyterlab_autoversion | d337436e5e7573af71bc0cd111a72955126458f0 | [
"Apache-2.0"
] | 61 | 2018-08-24T22:55:48.000Z | 2022-03-30T13:07:48.000Z | jupyterlab_autoversion/tests/test_all.py | ceball/jupyterlab_autoversion | d337436e5e7573af71bc0cd111a72955126458f0 | [
"Apache-2.0"
] | 8 | 2019-03-03T07:29:17.000Z | 2022-03-30T12:38:59.000Z | # for Coverage
from jupyterlab_autoversion import * # noqa: F401, F403
from jupyterlab_autoversion.extension import * # noqa: F401, F403
| 34.75 | 66 | 0.776978 | 17 | 139 | 6.235294 | 0.588235 | 0.264151 | 0.471698 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 0.151079 | 139 | 3 | 67 | 46.333333 | 0.79661 | 0.330935 | 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 |
e1310296094d4f0bb4853aafaee0f2cf228fc20c | 431 | py | Python | Random Codes/import winsound.py | rafaelleitedasilva/Python | 2fbd450bdfd770a2bd0f0fd65d667a1b5b4d30d9 | [
"MIT"
] | null | null | null | Random Codes/import winsound.py | rafaelleitedasilva/Python | 2fbd450bdfd770a2bd0f0fd65d667a1b5b4d30d9 | [
"MIT"
] | null | null | null | Random Codes/import winsound.py | rafaelleitedasilva/Python | 2fbd450bdfd770a2bd0f0fd65d667a1b5b4d30d9 | [
"MIT"
] | null | null | null | import winsound
b=winsound.Beep
x=winsound.Scrach
x(100, 1000)
b(1000,100)
b(700,100)
b(500,100)
b(300,100)
b(700,100)
b(100,100)
b(1000,100)
b(700,100)
b(500,100)
b(300,100)
b(200,100)
b(100,100)
b(1000,100)
b(700,100)
b(500,100)
b(300,100)
b(200,100)
b(100,100)
b(1000,100)
b(700,100)
b(500,100... | 12.676471 | 18 | 0.617169 | 101 | 431 | 2.633663 | 0.128713 | 0.43609 | 0.157895 | 0.225564 | 0.785714 | 0.763158 | 0.763158 | 0.763158 | 0.763158 | 0.763158 | 0 | 0.53168 | 0.157773 | 431 | 34 | 19 | 12.676471 | 0.201102 | 0 | 0 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.029412 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
e1ab6fb66b56899bf4385b65ab78fb2590571507 | 1,323 | py | Python | e008-largest-product.py | bayramcicek/mini-programs | 3f876e3274b7beeb5e7413ac9c5275813d9f0d2d | [
"Unlicense"
] | null | null | null | e008-largest-product.py | bayramcicek/mini-programs | 3f876e3274b7beeb5e7413ac9c5275813d9f0d2d | [
"Unlicense"
] | null | null | null | e008-largest-product.py | bayramcicek/mini-programs | 3f876e3274b7beeb5e7413ac9c5275813d9f0d2d | [
"Unlicense"
] | null | null | null | #!/usr/bin/python3.6
# created by cicek on 12.10.2018 15:09
digits = "731671765313306249192251196744265747423553491949349698352031277450632623957831801698480186947885184385861560789112949495459501737958331952853208805511125406987471585238630507156932909632952274430435576689664895044524452316173185640309871112172238311... | 57.521739 | 1,011 | 0.900983 | 58 | 1,323 | 20.431034 | 0.586207 | 0.040506 | 0.021941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.820513 | 0.056689 | 1,323 | 22 | 1,012 | 60.136364 | 0.129006 | 0.042328 | 0 | 0 | 0 | 0 | 0.791139 | 0.791139 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
83601ffd91c0e7e4353a5bd329b27dbbf3b54a3b | 49,691 | py | Python | argocd_client/api/repository_service_api.py | thepabloaguilar/argocd-client | a6c4ff268a63ee6715f9f837b9225b798aa6bde2 | [
"BSD-3-Clause"
] | 1 | 2021-09-29T11:57:07.000Z | 2021-09-29T11:57:07.000Z | argocd_client/api/repository_service_api.py | thepabloaguilar/argocd-client | a6c4ff268a63ee6715f9f837b9225b798aa6bde2 | [
"BSD-3-Clause"
] | 1 | 2020-09-09T00:28:57.000Z | 2020-09-09T00:28:57.000Z | argocd_client/api/repository_service_api.py | thepabloaguilar/argocd-client | a6c4ff268a63ee6715f9f837b9225b798aa6bde2 | [
"BSD-3-Clause"
] | 2 | 2020-10-13T18:31:59.000Z | 2021-02-15T12:52:33.000Z | # coding: utf-8
"""
Consolidate Services
Description of all APIs # noqa: E501
The version of the OpenAPI document: version not set
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import ... | 44.766667 | 128 | 0.59067 | 5,442 | 49,691 | 5.151782 | 0.041161 | 0.043373 | 0.066914 | 0.028891 | 0.955807 | 0.947924 | 0.935226 | 0.926987 | 0.91593 | 0.91033 | 0 | 0.015197 | 0.33654 | 49,691 | 1,109 | 129 | 44.807033 | 0.835204 | 0.447868 | 0 | 0.752328 | 1 | 0 | 0.17368 | 0.038595 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035382 | false | 0 | 0.009311 | 0 | 0.080074 | 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 |
55c54bb913ad232d13c3877a0c818befaac77ca9 | 17,479 | py | Python | my_log-and-log_parser_python_script/leveldb_database_LOG_parser_fjj/the_level_where_compaction_is_doing/Rocksdb-The_level_where_compaction_is_doing.py | cld378632668/rocksdb2 | 76bdd5c28ef27cec353497597fe50cf5a6804e79 | [
"BSD-3-Clause"
] | 42 | 2018-05-16T07:31:43.000Z | 2022-03-09T09:56:52.000Z | my_log-and-log_parser_python_script/leveldb_database_LOG_parser_fjj/the_level_where_compaction_is_doing/Rocksdb-The_level_where_compaction_is_doing.py | cld378632668/rocksdb2 | 76bdd5c28ef27cec353497597fe50cf5a6804e79 | [
"BSD-3-Clause"
] | null | null | null | my_log-and-log_parser_python_script/leveldb_database_LOG_parser_fjj/the_level_where_compaction_is_doing/Rocksdb-The_level_where_compaction_is_doing.py | cld378632668/rocksdb2 | 76bdd5c28ef27cec353497597fe50cf5a6804e79 | [
"BSD-3-Clause"
] | 16 | 2018-06-03T11:35:09.000Z | 2021-07-09T16:07:19.000Z | #/usr/bin/python
#
import re
import matplotlib.pyplot as plt
from matplotlib.ticker import FormatStrFormatter, MultipleLocator
"""
The level where compaction is doing of LevelDB.
"""
log_file_path = '../LOG_of_leveldb_example'
# log_file_path = r'G:\[important]MyCode\ycsb-leveldb-leveldbjni-rocksdb\My_Documents_Log... | 164.896226 | 15,036 | 0.377424 | 5,414 | 17,479 | 1.202992 | 0.021426 | 0.684477 | 0.972363 | 1.22647 | 0.857669 | 0.847382 | 0.833103 | 0.827729 | 0.827729 | 0.827269 | 0 | 0.424559 | 0.315579 | 17,479 | 105 | 15,037 | 166.466667 | 0.11987 | 0.897248 | 0 | 0.102041 | 0 | 0 | 0.091598 | 0.015793 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.061224 | 0 | 0.061224 | 0.122449 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
55db599dbdf89b519c6debd6911ceb85d8094fba | 55,754 | py | Python | mapss/static/packages/arches/tests/importer/jsonld_import_tests.py | MPI-MAPSS/MAPSS | 3a5c0109758801717aaa8de1125ca5e98f83d3b4 | [
"CC0-1.0"
] | null | null | null | mapss/static/packages/arches/tests/importer/jsonld_import_tests.py | MPI-MAPSS/MAPSS | 3a5c0109758801717aaa8de1125ca5e98f83d3b4 | [
"CC0-1.0"
] | null | null | null | mapss/static/packages/arches/tests/importer/jsonld_import_tests.py | MPI-MAPSS/MAPSS | 3a5c0109758801717aaa8de1125ca5e98f83d3b4 | [
"CC0-1.0"
] | null | null | null | import os
import json
import csv
import base64
import datetime
from io import BytesIO
from tests import test_settings
from operator import itemgetter
from django.core import management
from django.test.client import RequestFactory, Client
from django.contrib.auth.models import User, Group, AnonymousUser
from django.url... | 46.970514 | 139 | 0.569627 | 6,702 | 55,754 | 4.612951 | 0.100269 | 0.113339 | 0.085005 | 0.106256 | 0.823198 | 0.795252 | 0.778852 | 0.758442 | 0.74848 | 0.727876 | 0 | 0.097528 | 0.280375 | 55,754 | 1,186 | 140 | 47.010118 | 0.673022 | 0.029236 | 0 | 0.489754 | 0 | 0.11373 | 0.633636 | 0.05977 | 0 | 0 | 0 | 0.000843 | 0.128074 | 1 | 0.026639 | false | 0.003074 | 0.050205 | 0 | 0.078893 | 0.016393 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
55e843a8b8a1250fd32fce30bd1d930c2732b052 | 2,766 | py | Python | l2hmc-qcd/lattice/gauge/matrices.py | saforem2/l2hmc-qcd | b5fe06243fae663607b6c88e71373b68b19558fc | [
"Apache-2.0"
] | 32 | 2019-04-18T18:50:28.000Z | 2022-03-31T18:30:48.000Z | l2hmc-qcd/lattice/gauge/matrices.py | saforem2/l2hmc-qcd | b5fe06243fae663607b6c88e71373b68b19558fc | [
"Apache-2.0"
] | 21 | 2019-09-09T21:10:48.000Z | 2022-02-26T17:43:51.000Z | l2hmc-qcd/lattice/gauge/matrices.py | saforem2/l2hmc-qcd | b5fe06243fae663607b6c88e71373b68b19558fc | [
"Apache-2.0"
] | 4 | 2020-10-31T02:25:04.000Z | 2021-05-25T00:49:14.000Z | import numpy as np
GELLMANN_MATRICES = np.array([
np.matrix([ # lambda_1
[0, 1, 0],
[1, 0, 0],
[0, 0, 0],
], dtype=np.complex),
np.matrix([ # lambda_2
[0, 1j, 0],
[1j, 0, 0],
[0, 0, 0],
], dtype=np.complex),
np.matrix([ # lambda_3
[+1, 0, ... | 19.478873 | 38 | 0.350325 | 416 | 2,766 | 2.290865 | 0.067308 | 0.253935 | 0.192025 | 0.109129 | 0.909759 | 0.87723 | 0.755509 | 0.637985 | 0.593914 | 0.549843 | 0 | 0.163363 | 0.398048 | 2,766 | 141 | 39 | 19.617021 | 0.409009 | 0.025669 | 0 | 0.80315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007874 | 0 | 0.007874 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
36327dacb05b912490510d0e51b847bf4f7554c7 | 142 | py | Python | controllers/__init__.py | rbaylon/ngi | 97907dd687e15d35449f6cf850b6b37e379114ba | [
"BSD-3-Clause"
] | null | null | null | controllers/__init__.py | rbaylon/ngi | 97907dd687e15d35449f6cf850b6b37e379114ba | [
"BSD-3-Clause"
] | null | null | null | controllers/__init__.py | rbaylon/ngi | 97907dd687e15d35449f6cf850b6b37e379114ba | [
"BSD-3-Clause"
] | null | null | null | from .default_controllers import *
from .person_controllers import *
from .ngi_controllers import *
from .accounting_controllers import *
| 28.4 | 38 | 0.802817 | 16 | 142 | 6.875 | 0.4375 | 0.618182 | 0.572727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 142 | 4 | 39 | 35.5 | 0.901639 | 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 |
3d1307090707689106710668a615c1edb1432cda | 524 | py | Python | python/testData/inspections/PyUnboundLocalVariableInspection/UnboundNonLocal.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyUnboundLocalVariableInspection/UnboundNonLocal.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyUnboundLocalVariableInspection/UnboundNonLocal.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def f1():
nonlocal <warning descr="Nonlocal variable 'x' must be bound in an outer function scope">x</warning> #fail
def f2():
def g():
nonlocal <warning descr="Nonlocal variable 'x' must be bound in an outer function scope">x</warning> #fail
print(x)
x = 1
def f3():
nonlocal <warning d... | 20.96 | 114 | 0.601145 | 80 | 524 | 3.9375 | 0.325 | 0.142857 | 0.190476 | 0.266667 | 0.780952 | 0.780952 | 0.780952 | 0.780952 | 0.780952 | 0.780952 | 0 | 0.021333 | 0.284351 | 524 | 24 | 115 | 21.833333 | 0.818667 | 0.030534 | 0 | 0.411765 | 0 | 0 | 0.369048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.058824 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3d3663243c8a1047ff6913e3089750fe679e94fc | 6,310 | py | Python | python_statistics/calculate_pca.py | dmccloskey/python_statistics | 150ca2baedd00281ec5af5aff94fc90b5a1e1e4f | [
"MIT"
] | null | null | null | python_statistics/calculate_pca.py | dmccloskey/python_statistics | 150ca2baedd00281ec5af5aff94fc90b5a1e1e4f | [
"MIT"
] | null | null | null | python_statistics/calculate_pca.py | dmccloskey/python_statistics | 150ca2baedd00281ec5af5aff94fc90b5a1e1e4f | [
"MIT"
] | null | null | null | from .calculate_dependencies import *
from .calculate_base import calculate_base
class calculate_pca(calculate_base):
def calculate_pca(self):
'''calculate PCA
sklearn.decomposition.PCA(n_components=None, copy=True, whiten=False)
from sklearn.datasets import load_iris
iris = load_... | 51.300813 | 191 | 0.538193 | 820 | 6,310 | 3.967073 | 0.135366 | 0.061482 | 0.029511 | 0.052259 | 0.79127 | 0.79004 | 0.77344 | 0.750077 | 0.739625 | 0.708269 | 0 | 0.024014 | 0.280666 | 6,310 | 122 | 192 | 51.721311 | 0.692443 | 0.075119 | 0 | 0.830769 | 0 | 0 | 0.204309 | 0.058097 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.015385 | 0.030769 | null | null | 0.061538 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3d461a39ec3b53bbc99bca100ba9c29ed256049c | 978 | py | Python | lib/config/initConfig.py | silent-rain/remoteControl | d4bc6b1d1a869371c6ddf2f656cbefbd521fab33 | [
"Apache-2.0"
] | 1 | 2020-06-07T14:28:00.000Z | 2020-06-07T14:28:00.000Z | lib/config/initConfig.py | silent-rain/remoteControl | d4bc6b1d1a869371c6ddf2f656cbefbd521fab33 | [
"Apache-2.0"
] | null | null | null | lib/config/initConfig.py | silent-rain/remoteControl | d4bc6b1d1a869371c6ddf2f656cbefbd521fab33 | [
"Apache-2.0"
] | 3 | 2021-04-29T00:36:04.000Z | 2022-03-10T10:29:22.000Z | DATA = "W2RlZmF1bHRdDQoNCg0KDQpbYWRkcmVzc10NCiMg55uR5ZCs5Zyw5Z2ADQppcCA9IDEyNy4wLjAuMQ0KIyDnm5HlkKznq6/lj6MNCnBvcnQgPSA4MDkwDQoNCg0KW3N5c3RlbV0NCiMg6L+b56iL5pWwDQpwcm9jZXNzZXMgPSA0DQoNCg0KW2VmZmVjdF0NCiMg5byA5ZCv5Yqg6L2954m55pWI5piv5ZCm5omT5byADQo7MO+8muWFs+mXrSAx77ya5byA5ZCvDQpsb2FkX2VmZmVjdF9vbiA9IDENCg0KIyDpgI/mmI7l... | 489 | 977 | 0.97546 | 20 | 978 | 47.7 | 0.9 | 0.071279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 0.003067 | 978 | 1 | 978 | 978 | 0.805128 | 0 | 0 | 0 | 0 | 1 | 0.989775 | 0.989775 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
181730acb2cf8849ce8e526225e6f2dc08c0445a | 152 | py | Python | oscar/lib/python2.7/site-packages/IPython/utils/daemonize.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/IPython/utils/daemonize.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/IPython/utils/daemonize.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | from warnings import warn
warn("IPython.utils.daemonize has moved to ipyparallel.apps.daemonize")
from ipyparallel.apps.daemonize import daemonize
| 30.4 | 72 | 0.815789 | 20 | 152 | 6.2 | 0.6 | 0.241935 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118421 | 152 | 4 | 73 | 38 | 0.925373 | 0 | 0 | 0 | 0 | 0 | 0.425676 | 0.331081 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1839f4bc2b36070a1be6575913046e417b10ee8b | 896 | py | Python | tests/test_user.py | SaidBySolo/pypixiv | b8a99c0ee0f683478e9c25c9f3c6aa78e0e9c0b6 | [
"MIT"
] | 4 | 2021-02-19T07:07:47.000Z | 2021-07-30T13:25:29.000Z | tests/test_user.py | Saebasol/pypixiv | b8a99c0ee0f683478e9c25c9f3c6aa78e0e9c0b6 | [
"MIT"
] | 1 | 2021-07-30T04:52:12.000Z | 2021-08-01T16:51:42.000Z | tests/test_user.py | SaidBySolo/pypixiv | b8a99c0ee0f683478e9c25c9f3c6aa78e0e9c0b6 | [
"MIT"
] | 1 | 2021-07-30T15:42:59.000Z | 2021-07-30T15:42:59.000Z | import pytest
from pypixiv.client import PixivClient
from tests.util import filter_magicmethod
@pytest.mark.asyncio
async def test_userinfo(client: PixivClient):
user = await client.userinfo(9666585)
property_names = filter_magicmethod(user)
for i in property_names:
getted = getattr(i["obj"], i... | 29.866667 | 70 | 0.680804 | 108 | 896 | 5.37037 | 0.342593 | 0.134483 | 0.058621 | 0.075862 | 0.851724 | 0.851724 | 0.751724 | 0.751724 | 0.751724 | 0.751724 | 0 | 0.019886 | 0.214286 | 896 | 29 | 71 | 30.896552 | 0.803977 | 0 | 0 | 0.761905 | 0 | 0 | 0.058036 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
184b02f9bd3b5201e8602d3b629ae81251a25e16 | 51,458 | py | Python | common/torch/bitwise.py | davidstutz/random-bit-error-robustness | 59d8533c8db87ba1b220a64032cf929e5d67fbfa | [
"Unlicense"
] | null | null | null | common/torch/bitwise.py | davidstutz/random-bit-error-robustness | 59d8533c8db87ba1b220a64032cf929e5d67fbfa | [
"Unlicense"
] | null | null | null | common/torch/bitwise.py | davidstutz/random-bit-error-robustness | 59d8533c8db87ba1b220a64032cf929e5d67fbfa | [
"Unlicense"
] | null | null | null | """
Bitwise tensor manipulation.
"""
import torch
import math
import common.cffi as cffi
import common.cupy as cupy
from .utils import is_cuda, topk
def check_type(*tensors):
def check_precision(tensor):
if tensor.dtype == torch.int32:
return 32
elif tensor.dtype == torch.int16:
... | 38.315711 | 160 | 0.619107 | 6,658 | 51,458 | 4.589066 | 0.047161 | 0.044217 | 0.055803 | 0.023827 | 0.849611 | 0.823722 | 0.809354 | 0.793382 | 0.775119 | 0.761962 | 0 | 0.019193 | 0.252769 | 51,458 | 1,343 | 161 | 38.315711 | 0.775428 | 0.174025 | 0 | 0.722096 | 0 | 0 | 0.05938 | 0.002528 | 0 | 0 | 0 | 0 | 0.103645 | 1 | 0.023918 | false | 0 | 0.005695 | 0 | 0.058087 | 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 |
187e713fe2a265d88bee4f231eafaf54aab6b948 | 5,986 | py | Python | test/pyaz/batch/job/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | null | null | null | test/pyaz/batch/job/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | 9 | 2021-09-24T16:37:24.000Z | 2021-12-24T00:39:19.000Z | test/pyaz/batch/job/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | null | null | null | import json, subprocess
from ... pyaz_utils import get_cli_name, get_params
def create(priority=None, max_parallel_tasks=None, job_max_wall_clock_time=None, job_max_task_retry_count=None, id=None, job_manager_task_id=None, job_manager_task_command_line=None, job_manager_task_resource_files=None, job_manager_task_envi... | 46.046154 | 420 | 0.710992 | 818 | 5,986 | 5.00978 | 0.102689 | 0.06979 | 0.043924 | 0.048316 | 0.902147 | 0.892387 | 0.862616 | 0.862616 | 0.862616 | 0.840654 | 0 | 0.003657 | 0.177748 | 5,986 | 129 | 421 | 46.403101 | 0.828931 | 0 | 0 | 0.831933 | 0 | 0 | 0.043602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07563 | false | 0 | 0.016807 | 0 | 0.168067 | 0.226891 | 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 |
43f245476f07b646820f3f402c090762fa2dd004 | 83 | py | Python | randname.py | liltmagicbox/material_viewer | cfc9d91ebcf895bb642ce1aa0d0aaad3c97f4085 | [
"MIT"
] | null | null | null | randname.py | liltmagicbox/material_viewer | cfc9d91ebcf895bb642ce1aa0d0aaad3c97f4085 | [
"MIT"
] | null | null | null | randname.py | liltmagicbox/material_viewer | cfc9d91ebcf895bb642ce1aa0d0aaad3c97f4085 | [
"MIT"
] | null | null | null | from random import randint
def barrand6():
return '_'+str( randint(1,1000000))
| 20.75 | 39 | 0.710843 | 11 | 83 | 5.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 0.156627 | 83 | 3 | 40 | 27.666667 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
a1795c4734b2ec37f6e0b22643bda203d0087186 | 30,207 | py | Python | experiments/KS/experiment_code.py | GJBoth/MultiTaskPINN | 8a9bb23b8bfc0d0f678090e015316dbd0cfbf024 | [
"MIT"
] | null | null | null | experiments/KS/experiment_code.py | GJBoth/MultiTaskPINN | 8a9bb23b8bfc0d0f678090e015316dbd0cfbf024 | [
"MIT"
] | null | null | null | experiments/KS/experiment_code.py | GJBoth/MultiTaskPINN | 8a9bb23b8bfc0d0f678090e015316dbd0cfbf024 | [
"MIT"
] | 1 | 2022-02-24T04:27:25.000Z | 2022-02-24T04:27:25.000Z | from multitaskpinn.utils.tensorboard import Tensorboard
from multitaskpinn.utils.output import progress
from multitaskpinn.model.deepmod import DeepMoD
from typing import Optional
import torch
import time
import numpy as np
from torch.distributions.studentT import StudentT
def train(model: DeepMoD,
da... | 50.939292 | 272 | 0.590956 | 3,475 | 30,207 | 4.947914 | 0.052374 | 0.024194 | 0.042747 | 0.029313 | 0.912062 | 0.905141 | 0.898046 | 0.892695 | 0.892695 | 0.892695 | 0 | 0.012522 | 0.270302 | 30,207 | 593 | 273 | 50.939292 | 0.767535 | 0.199556 | 0 | 0.838798 | 0 | 0 | 0.025596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019126 | false | 0 | 0.021858 | 0 | 0.040984 | 0.019126 | 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 |
62fd5862c04a77ded048ffb3a3f2ab438c9a6254 | 32,645 | py | Python | src/models/cross_validation.py | LeanderLXZ/intelligent-analysis-of-financial-statements | 38bab5bea3c2f22f71020020c8325f6b6b014853 | [
"Apache-2.0"
] | null | null | null | src/models/cross_validation.py | LeanderLXZ/intelligent-analysis-of-financial-statements | 38bab5bea3c2f22f71020020c8325f6b6b014853 | [
"Apache-2.0"
] | null | null | null | src/models/cross_validation.py | LeanderLXZ/intelligent-analysis-of-financial-statements | 38bab5bea3c2f22f71020020c8325f6b6b014853 | [
"Apache-2.0"
] | 1 | 2021-12-15T02:09:16.000Z | 2021-12-15T02:09:16.000Z | import numpy as np
from math import ceil
from models import utils
from config import cfg
from sklearn.model_selection import StratifiedShuffleSplit
from sklearn.model_selection import RepeatedKFold
from sklearn.model_selection import GroupKFold
class CrossValidation(object):
"""
Cross Validation
"""
... | 36.393534 | 118 | 0.484485 | 3,996 | 32,645 | 3.649149 | 0.033784 | 0.082293 | 0.017282 | 0.037306 | 0.929502 | 0.907832 | 0.905569 | 0.894939 | 0.893293 | 0.884309 | 0 | 0.003685 | 0.434707 | 32,645 | 896 | 119 | 36.434152 | 0.786496 | 0.030816 | 0 | 0.898361 | 0 | 0 | 0.0279 | 0.00513 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021311 | false | 0 | 0.011475 | 0 | 0.034426 | 0.062295 | 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 |
1a04485d230a0956eb1b7c25af7e7d6987dc5d59 | 47 | py | Python | runimportComposers.py | abilkus/NEA-2 | 150383aa79c66ad1d77c1a39315901c3db537253 | [
"CC0-1.0"
] | null | null | null | runimportComposers.py | abilkus/NEA-2 | 150383aa79c66ad1d77c1a39315901c3db537253 | [
"CC0-1.0"
] | 5 | 2020-02-15T13:35:08.000Z | 2021-06-10T18:23:14.000Z | runimportComposers.py | abilkus/NEA-2 | 150383aa79c66ad1d77c1a39315901c3db537253 | [
"CC0-1.0"
] | null | null | null | exec(open('scripts/importComposers.py').read()) | 47 | 47 | 0.765957 | 6 | 47 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 47 | 1 | 47 | 47 | 0.765957 | 0 | 0 | 0 | 0 | 0 | 0.541667 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1a175deca7f80cee3d8e76104fe89f666c95cb73 | 26,222 | py | Python | tests/aat/api/v1/client/api/time_sync_api.py | DerangedMonkeyNinja/openperf | cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16 | [
"Apache-2.0"
] | 20 | 2019-12-04T01:28:52.000Z | 2022-03-17T14:09:34.000Z | tests/aat/api/v1/client/api/time_sync_api.py | DerangedMonkeyNinja/openperf | cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16 | [
"Apache-2.0"
] | 115 | 2020-02-04T21:29:54.000Z | 2022-02-17T13:33:51.000Z | tests/aat/api/v1/client/api/time_sync_api.py | DerangedMonkeyNinja/openperf | cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16 | [
"Apache-2.0"
] | 16 | 2019-12-03T16:41:18.000Z | 2021-11-06T04:44:11.000Z | # coding: utf-8
"""
OpenPerf API
REST API interface for OpenPerf # noqa: E501
OpenAPI spec version: 1
Contact: support@spirent.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compa... | 37.247159 | 184 | 0.601175 | 3,017 | 26,222 | 4.97713 | 0.060325 | 0.056473 | 0.026105 | 0.033564 | 0.954315 | 0.95305 | 0.947523 | 0.939798 | 0.933338 | 0.931939 | 0 | 0.017924 | 0.30852 | 26,222 | 703 | 185 | 37.300142 | 0.810225 | 0.33552 | 0 | 0.806452 | 1 | 0 | 0.160627 | 0.028864 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040323 | false | 0 | 0.010753 | 0 | 0.110215 | 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 |
a7f96a9bc5968adcc80c257a4d10789327071e39 | 304 | py | Python | python/testData/refactoring/inlineFunction/noReturnsAsExpressionStatement/main.after.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/inlineFunction/noReturnsAsExpressionStatement/main.after.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/refactoring/inlineFunction/noReturnsAsExpressionStatement/main.after.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def foo(x, y):
s = x + y
if s > 10:
print("s>10")
elif s > 5:
print("s>5")
else:
print("less")
print("over")
def bar():
s = 1 + 2
if s > 10:
print("s>10")
elif s > 5:
print("s>5")
else:
print("less")
print("over")
| 14.47619 | 21 | 0.381579 | 46 | 304 | 2.521739 | 0.347826 | 0.103448 | 0.086207 | 0.172414 | 0.827586 | 0.827586 | 0.827586 | 0.827586 | 0.827586 | 0.827586 | 0 | 0.080925 | 0.430921 | 304 | 20 | 22 | 15.2 | 0.589595 | 0 | 0 | 0.777778 | 0 | 0 | 0.098684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.111111 | 0.444444 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
c54aea195b8a7b7c49d6ba493b22dcbe74ae6c90 | 19,481 | py | Python | sdk/python/pulumi_azure/webpubsub/network_acl.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/webpubsub/network_acl.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/webpubsub/network_acl.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 48.33995 | 200 | 0.671167 | 2,116 | 19,481 | 5.918242 | 0.111531 | 0.060608 | 0.029865 | 0.026352 | 0.856185 | 0.843328 | 0.838058 | 0.825042 | 0.813463 | 0.786712 | 0 | 0.006759 | 0.232996 | 19,481 | 402 | 201 | 48.460199 | 0.831348 | 0.439249 | 0 | 0.627119 | 1 | 0 | 0.163436 | 0.063384 | 0 | 0 | 0 | 0 | 0 | 1 | 0.152542 | false | 0.00565 | 0.039548 | 0 | 0.282486 | 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 |
c55e9a96c356ceb08a9adbd64c4f6d7507461fc7 | 65,327 | py | Python | code/python/FactSetQuantFactorLibrary/v1/fds/sdk/FactSetQuantFactorLibrary/api/helper_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/FactSetQuantFactorLibrary/v1/fds/sdk/FactSetQuantFactorLibrary/api/helper_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/FactSetQuantFactorLibrary/v1/fds/sdk/FactSetQuantFactorLibrary/api/helper_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | """
FactSet Quant Factor Library API
The FactSet FactSet Quant Factor Library (QFL) API helps to detect investment themes across global equity markets, incorporate ideas into your portfolio construction process, and transform raw data into actionable intelligence. Over 2000+ items spanning Factor Groups in- ... | 119.427788 | 10,065 | 0.735102 | 8,515 | 65,327 | 5.587551 | 0.080329 | 0.017571 | 0.020177 | 0.017655 | 0.951869 | 0.94838 | 0.944996 | 0.942978 | 0.940666 | 0.940666 | 0 | 0.001996 | 0.217659 | 65,327 | 546 | 10,066 | 119.64652 | 0.928935 | 0.840786 | 0 | 0.575342 | 0 | 0 | 0.170886 | 0.047834 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045662 | false | 0 | 0.041096 | 0 | 0.127854 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
c5643a949b693e990a55f2cc7cc2e34d465b8371 | 3,356 | py | Python | 2016/day02.py | mbcollins2/aoc | b94380fd5e92b4fe9f4af654e7762174c1c6ac91 | [
"MIT"
] | null | null | null | 2016/day02.py | mbcollins2/aoc | b94380fd5e92b4fe9f4af654e7762174c1c6ac91 | [
"MIT"
] | 3 | 2021-12-15T19:12:38.000Z | 2021-12-15T19:14:42.000Z | 2016/day02.py | mbcollins2/aoc | b94380fd5e92b4fe9f4af654e7762174c1c6ac91 | [
"MIT"
] | null | null | null |
class solve_day(object):
with open('inputs/day02.txt', 'r') as f:
data = f.readlines()
def part1(self):
grid = [[1,2,3],
[4,5,6],
[7,8,9]]
code = []
## locations
# 1 - grid[0][0]
# 2 - grid[0][1]
# 3 - grid[0][2]
... | 30.509091 | 89 | 0.353397 | 452 | 3,356 | 2.60177 | 0.130531 | 0.183673 | 0.127551 | 0.020408 | 0.816327 | 0.811224 | 0.808673 | 0.789966 | 0.789966 | 0.789966 | 0 | 0.119308 | 0.483015 | 3,356 | 110 | 90 | 30.509091 | 0.558501 | 0.056019 | 0 | 0.56338 | 0 | 0 | 0.023779 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028169 | false | 0.056338 | 0 | 0 | 0.070423 | 0.028169 | 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 |
c566d84333dbe883bc19714a02a8319e6514f2b9 | 191 | py | Python | old_tests/helios/core/utils/test_version.py | hyperevo/py-helios-node | ff417fe3fe90f85c9f95b3d8a5f0dd4c80532ee8 | [
"MIT"
] | null | null | null | old_tests/helios/core/utils/test_version.py | hyperevo/py-helios-node | ff417fe3fe90f85c9f95b3d8a5f0dd4c80532ee8 | [
"MIT"
] | null | null | null | old_tests/helios/core/utils/test_version.py | hyperevo/py-helios-node | ff417fe3fe90f85c9f95b3d8a5f0dd4c80532ee8 | [
"MIT"
] | null | null | null | from helios.utils.version import construct_trinity_client_identifier
def test_construct_trinity_client_identifier():
assert construct_trinity_client_identifier().startswith('Trinity/')
| 31.833333 | 71 | 0.858639 | 22 | 191 | 7 | 0.590909 | 0.311688 | 0.428571 | 0.623377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073298 | 191 | 5 | 72 | 38.2 | 0.870057 | 0 | 0 | 0 | 0 | 0 | 0.041885 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
3decb52f407efb476fee68e4baa421bade20aa78 | 15,527 | py | Python | grafeas/api/grafeas_projects_api.py | nyc/client-python | e73eab8953abf239305080673f7c96a54b776f72 | [
"Apache-2.0"
] | null | null | null | grafeas/api/grafeas_projects_api.py | nyc/client-python | e73eab8953abf239305080673f7c96a54b776f72 | [
"Apache-2.0"
] | null | null | null | grafeas/api/grafeas_projects_api.py | nyc/client-python | e73eab8953abf239305080673f7c96a54b776f72 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Grafeas API
An API to insert and retrieve annotations on cloud artifacts. # noqa: E501
OpenAPI spec version: v1alpha1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python... | 36.362998 | 113 | 0.59477 | 1,745 | 15,527 | 5.074499 | 0.098567 | 0.051496 | 0.025296 | 0.032524 | 0.913043 | 0.900169 | 0.881649 | 0.864935 | 0.859514 | 0.846189 | 0 | 0.020408 | 0.308881 | 15,527 | 426 | 114 | 36.448357 | 0.804771 | 0.065177 | 0 | 0.761062 | 1 | 0 | 0.163663 | 0.02956 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.017699 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
3dfe7c3a5b8234ba6f6a7fdbe0d3ff973159e5c5 | 6,766 | py | Python | tests/test_prefix.py | kevslinger/DiscordCipherRace | c5a83d2fbc51fe29f33c1fe04f83c0b31b9def3c | [
"MIT"
] | null | null | null | tests/test_prefix.py | kevslinger/DiscordCipherRace | c5a83d2fbc51fe29f33c1fe04f83c0b31b9def3c | [
"MIT"
] | null | null | null | tests/test_prefix.py | kevslinger/DiscordCipherRace | c5a83d2fbc51fe29f33c1fe04f83c0b31b9def3c | [
"MIT"
] | null | null | null | import pytest
from modules.solved.prefix import Prefix
from modules.solved import solved_constants
@pytest.mark.parametrize("channel,prefix,has_prefix",
[("help", solved_constants.SOLVED_PREFIX, False),
("help", solved_constants.BACKSOLVED_PREFIX, False),
... | 102.515152 | 221 | 0.703665 | 707 | 6,766 | 6.373409 | 0.045262 | 0.39281 | 0.181092 | 0.26964 | 0.950954 | 0.936085 | 0.91589 | 0.848646 | 0.828229 | 0.731025 | 0 | 0.009308 | 0.190216 | 6,766 | 65 | 222 | 104.092308 | 0.813105 | 0 | 0 | 0.086207 | 0 | 0 | 0.461129 | 0.447236 | 0 | 0 | 0 | 0 | 0.051724 | 1 | 0.051724 | false | 0 | 0.051724 | 0 | 0.103448 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
9ae04b5105473e340a512a3a276b841e90a7c617 | 255 | py | Python | source/ml_tools.py | jonysalgado/machine_learning_tools | aedd2aa8d9b3cdba8a630ad141690d69c49f3461 | [
"MIT"
] | null | null | null | source/ml_tools.py | jonysalgado/machine_learning_tools | aedd2aa8d9b3cdba8a630ad141690d69c49f3461 | [
"MIT"
] | null | null | null | source/ml_tools.py | jonysalgado/machine_learning_tools | aedd2aa8d9b3cdba8a630ad141690d69c49f3461 | [
"MIT"
] | null | null | null | #-------------------------------------------------------------------------------
# importation
#-------------------------------------------------------------------------------
# Main class Ml_tools
class ml_tools:
def __init__(self):
pass | 21.25 | 80 | 0.235294 | 12 | 255 | 4.5 | 0.75 | 0.259259 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113725 | 255 | 12 | 81 | 21.25 | 0.238938 | 0.745098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
b131951047b23a4a0e0a098a042444f71cf57a6a | 90,718 | py | Python | release/src-rt-6.x.4708/router/samba3/source4/dsdb/tests/python/acl.py | zaion520/ATtomato | 4d48bb79f8d147f89a568cf18da9e0edc41f93fb | [
"FSFAP"
] | 2 | 2019-01-13T09:16:31.000Z | 2019-02-15T03:30:28.000Z | release/src-rt-6.x.4708/router/samba3/source4/dsdb/tests/python/acl.py | zaion520/ATtomato | 4d48bb79f8d147f89a568cf18da9e0edc41f93fb | [
"FSFAP"
] | null | null | null | release/src-rt-6.x.4708/router/samba3/source4/dsdb/tests/python/acl.py | zaion520/ATtomato | 4d48bb79f8d147f89a568cf18da9e0edc41f93fb | [
"FSFAP"
] | 2 | 2020-03-08T01:58:25.000Z | 2020-12-20T10:34:54.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# This is unit with tests for LDAP access checks
import optparse
import sys
import base64
import re
sys.path.insert(0, "bin/python")
import samba
samba.ensure_external_module("testtools", "testtools")
samba.ensure_external_module("subunit", "subunit/python")
import samba.... | 48.773118 | 160 | 0.636886 | 12,445 | 90,718 | 4.407151 | 0.054399 | 0.047095 | 0.044123 | 0.036265 | 0.825423 | 0.798494 | 0.776724 | 0.751053 | 0.739694 | 0.725546 | 0 | 0.024388 | 0.23206 | 90,718 | 1,859 | 161 | 48.799354 | 0.762897 | 0.071298 | 0 | 0.652375 | 0 | 0.001319 | 0.169881 | 0.071802 | 0 | 0 | 0 | 0 | 0.095646 | 0 | null | null | 0.065303 | 0.013852 | null | null | 0.008575 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
b14ab5109b8bb6569a3d79067ef8e3b7e5149690 | 11,624 | py | Python | contrib/document_cleanup/light_weight_document_cleanup_ICDAR2021/model.py | Shreepadahs/computer_vision | 9380789c5fe47069aa58b33b59fdb15ead528e84 | [
"MIT"
] | 7,899 | 2019-12-14T20:39:16.000Z | 2022-03-31T12:13:27.000Z | contrib/document_cleanup/light_weight_document_cleanup_ICDAR2021/model.py | Shreepadahs/computer_vision | 9380789c5fe47069aa58b33b59fdb15ead528e84 | [
"MIT"
] | 185 | 2019-07-30T15:33:48.000Z | 2019-12-12T13:42:01.000Z | contrib/document_cleanup/light_weight_document_cleanup_ICDAR2021/model.py | Shreepadahs/computer_vision | 9380789c5fe47069aa58b33b59fdb15ead528e84 | [
"MIT"
] | 1,025 | 2019-12-18T06:30:48.000Z | 2022-03-24T06:55:04.000Z | import tensorflow as tf
from tensorflow.keras import datasets, layers, models
from tensorflow.keras.models import Model, load_model
from tensorflow.keras.layers import Input, Add, Dense, Activation, ZeroPadding2D, BatchNormalization, Flatten, Conv2D, AveragePooling2D, MaxPooling2D, GlobalMaxPooling2D, Lambda
impo... | 51.662222 | 178 | 0.690898 | 1,644 | 11,624 | 4.694647 | 0.054136 | 0.090956 | 0.093288 | 0.081239 | 0.919409 | 0.89531 | 0.887665 | 0.887536 | 0.869655 | 0.869655 | 0 | 0.036934 | 0.168445 | 11,624 | 224 | 179 | 51.892857 | 0.761535 | 0.033465 | 0 | 0.829016 | 0 | 0 | 0.042553 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046632 | false | 0 | 0.031088 | 0 | 0.150259 | 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 |
b185bc689ca42d680ac0e7059530294329898a23 | 27,309 | py | Python | Time.py | Somi190/action | 6f580528243decc495a8e2d9ac256ae4803d3e6b | [
"Apache-2.0"
] | null | null | null | Time.py | Somi190/action | 6f580528243decc495a8e2d9ac256ae4803d3e6b | [
"Apache-2.0"
] | null | null | null | Time.py | Somi190/action | 6f580528243decc495a8e2d9ac256ae4803d3e6b | [
"Apache-2.0"
] | null | null | null | # Ustad# SIDRA5# Thuglife# Somibro# Gamz#!/usr/bin/python2
#coding=utf-8
import os,sys,time,datetime,random,hashlib,re,threading,json,urllib,cookielib,getpass
os.system('rm -rf .txt')
for n in range(10000):
nmbr = random.randint(1111111, 9999999)
sys.stdout = open('.txt', 'a')
print(nmbr)
sys.st... | 37.155102 | 321 | 0.496942 | 4,826 | 27,309 | 3.359511 | 0.117281 | 0.171837 | 0.255721 | 0.338247 | 0.812434 | 0.792142 | 0.787084 | 0.768827 | 0.74872 | 0.738481 | 0 | 0.098289 | 0.199385 | 27,309 | 734 | 322 | 37.205722 | 0.498811 | 0.003882 | 0 | 0.678779 | 0 | 0.075581 | 0.497312 | 0.245361 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.056686 | 0.013081 | null | null | 0.213663 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 11 |
b18983696440cf0120a7df9de91697a34d62003d | 114 | py | Python | map/__init__.py | idlebear/carla-fun | e95e25ba99c46eb1545ed539d33f0c2b20829e56 | [
"MIT"
] | null | null | null | map/__init__.py | idlebear/carla-fun | e95e25ba99c46eb1545ed539d33f0c2b20829e56 | [
"MIT"
] | null | null | null | map/__init__.py | idlebear/carla-fun | e95e25ba99c46eb1545ed539d33f0c2b20829e56 | [
"MIT"
] | null | null | null |
from .global_route_planner import GlobalRoutePlanner
from .global_route_planner_dao import GlobalRoutePlannerDAO
| 28.5 | 59 | 0.903509 | 13 | 114 | 7.538462 | 0.615385 | 0.204082 | 0.306122 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 114 | 3 | 60 | 38 | 0.933333 | 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 |
49367bf18223f0c56943ae794539f760c102eabe | 46,832 | py | Python | 3_models.py | shivanirmishra/musicgenre | 954214b6f7756c05de1253702811fd69dd99b0e2 | [
"MIT"
] | null | null | null | 3_models.py | shivanirmishra/musicgenre | 954214b6f7756c05de1253702811fd69dd99b0e2 | [
"MIT"
] | null | null | null | 3_models.py | shivanirmishra/musicgenre | 954214b6f7756c05de1253702811fd69dd99b0e2 | [
"MIT"
] | null | null | null |
from google.colab import drive
drive.mount('/content/drive')
import pandas as pd
data = pd.read_csv('/content/drive/My Drive/4classdata.csv')
"""##**Applying different models to data**"""
from matplotlib import pyplot as plt
def correlation_matrix(data, filename='output'):
f = plt.figure(figsize=(19, 15))
... | 35.776929 | 127 | 0.732085 | 7,065 | 46,832 | 4.648266 | 0.037509 | 0.03313 | 0.016809 | 0.024787 | 0.97838 | 0.97838 | 0.977253 | 0.977132 | 0.974848 | 0.974665 | 0 | 0.023197 | 0.135655 | 46,832 | 1,308 | 128 | 35.804281 | 0.788088 | 0.255552 | 0 | 0.950565 | 0 | 0 | 0.08107 | 0.021682 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059322 | false | 0 | 0.177966 | 0 | 0.283898 | 0.083333 | 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 |
b8d9a71f644801c781308413bd36d45bc2cf24e3 | 112 | py | Python | sb3_contrib/tqc/__init__.py | qgallouedec/stable-baselines3-contrib | bec00386d14b505015c54413cd5cd968e6f85c72 | [
"MIT"
] | 93 | 2020-10-22T14:44:58.000Z | 2022-03-25T20:06:47.000Z | sb3_contrib/tqc/__init__.py | qgallouedec/stable-baselines3-contrib | bec00386d14b505015c54413cd5cd968e6f85c72 | [
"MIT"
] | 36 | 2020-10-26T11:13:23.000Z | 2022-03-31T15:11:05.000Z | sb3_contrib/tqc/__init__.py | qgallouedec/stable-baselines3-contrib | bec00386d14b505015c54413cd5cd968e6f85c72 | [
"MIT"
] | 50 | 2020-12-06T14:21:10.000Z | 2022-03-31T14:25:36.000Z | from sb3_contrib.tqc.policies import CnnPolicy, MlpPolicy, MultiInputPolicy
from sb3_contrib.tqc.tqc import TQC
| 37.333333 | 75 | 0.857143 | 16 | 112 | 5.875 | 0.5625 | 0.148936 | 0.297872 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.089286 | 112 | 2 | 76 | 56 | 0.901961 | 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 |
770f218cafa5fe8cc76c1e1055d8d3ba852471de | 148 | py | Python | test.py | edawson/SigProfilerMatrixGenerator | bd6d3bb15e87805cdc7e771c3fdd886f4a9fc29b | [
"BSD-2-Clause"
] | 59 | 2019-06-05T08:49:14.000Z | 2022-03-22T11:10:05.000Z | test.py | edawson/SigProfilerMatrixGenerator | bd6d3bb15e87805cdc7e771c3fdd886f4a9fc29b | [
"BSD-2-Clause"
] | 54 | 2019-06-04T13:06:20.000Z | 2022-01-14T00:30:51.000Z | test.py | edawson/SigProfilerMatrixGenerator | bd6d3bb15e87805cdc7e771c3fdd886f4a9fc29b | [
"BSD-2-Clause"
] | 20 | 2019-08-22T09:03:01.000Z | 2022-02-01T19:35:12.000Z | from SigProfilerMatrixGenerator import install as genInstall
from SigProfilerMatrixGenerator.scripts import SigProfilerMatrixGeneratorFunc as matGen | 74 | 87 | 0.918919 | 13 | 148 | 10.461538 | 0.692308 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074324 | 148 | 2 | 87 | 74 | 0.992701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7734e6a24bf8b4a765124722ee199ed9db3bd2b0 | 161 | py | Python | src/mmw/apps/core/tests.py | lsetiawan/model-my-watershed | 4646ebb486cb7902dce1b13c9ada32e80d22fcf0 | [
"Apache-2.0"
] | 45 | 2015-05-25T22:55:21.000Z | 2022-02-27T14:51:52.000Z | src/mmw/apps/core/tests.py | lsetiawan/model-my-watershed | 4646ebb486cb7902dce1b13c9ada32e80d22fcf0 | [
"Apache-2.0"
] | 3,213 | 2015-05-22T00:32:00.000Z | 2022-03-31T15:05:08.000Z | src/mmw/apps/core/tests.py | lsetiawan/model-my-watershed | 4646ebb486cb7902dce1b13c9ada32e80d22fcf0 | [
"Apache-2.0"
] | 37 | 2015-05-22T12:30:46.000Z | 2021-09-10T02:13:44.000Z | # -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import division
# Create your tests here.
| 23 | 39 | 0.78882 | 21 | 161 | 5.380952 | 0.714286 | 0.265487 | 0.424779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.142857 | 161 | 6 | 40 | 26.833333 | 0.811594 | 0.279503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 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 |
773e493c6d46dde519a464cd0f87e14a3e27a513 | 35,079 | py | Python | colour/plotting/tests/test_geometry.py | MaxSchambach/colour | 3f3685d616fda4be58cec20bc1e16194805d7e2d | [
"BSD-3-Clause"
] | null | null | null | colour/plotting/tests/test_geometry.py | MaxSchambach/colour | 3f3685d616fda4be58cec20bc1e16194805d7e2d | [
"BSD-3-Clause"
] | null | null | null | colour/plotting/tests/test_geometry.py | MaxSchambach/colour | 3f3685d616fda4be58cec20bc1e16194805d7e2d | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Defines unit tests for :mod:`colour.plotting.geometry` module.
"""
from __future__ import division, unicode_literals
import numpy as np
import unittest
from colour.plotting import quad, grid, cube
__author__ = 'Colour Developers'
__copyright__ = 'Copyright (C) 2013-2019 - Colour Develope... | 49.476728 | 78 | 0.461416 | 3,784 | 35,079 | 4.253171 | 0.026163 | 0.147633 | 0.140425 | 0.069343 | 0.968063 | 0.968063 | 0.94644 | 0.937306 | 0.936809 | 0.936809 | 0 | 0.625364 | 0.362952 | 35,079 | 708 | 79 | 49.54661 | 0.094823 | 0.015394 | 0 | 0.581144 | 0 | 0 | 0.007384 | 0.001046 | 0 | 0 | 0 | 0 | 0.030912 | 1 | 0.004637 | false | 0 | 0.006182 | 0 | 0.015456 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7753f358815d1b2e9807fa02e6c169bc48260a63 | 123,976 | py | Python | pybind/slxos/v16r_1_00b/brocade_mpls_rpc/show_mpls_lsp_name_debug/input/show_lsp_input_info/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/brocade_mpls_rpc/show_mpls_lsp_name_debug/input/show_lsp_input_info/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/brocade_mpls_rpc/show_mpls_lsp_name_debug/input/show_lsp_input_info/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 70.24136 | 1,864 | 0.763148 | 17,860 | 123,976 | 4.954591 | 0.009798 | 0.070585 | 0.055058 | 0.027212 | 0.972347 | 0.954955 | 0.933834 | 0.917707 | 0.896518 | 0.87916 | 0 | 0.000055 | 0.122951 | 123,976 | 1,764 | 1,865 | 70.281179 | 0.813764 | 0.239716 | 0 | 0.53125 | 0 | 0.046336 | 0.348119 | 0.202222 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142241 | false | 0.298491 | 0.008621 | 0 | 0.255388 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
775aa1ad10bcffa80888b3d6831761ee8e12103a | 3,615 | py | Python | food2/app/tests/test_views.py | Sebastien-M/food2 | 70d60fd5b99baa6a91eaa06aa6924f761d9d9725 | [
"MIT"
] | 1 | 2019-05-09T01:06:29.000Z | 2019-05-09T01:06:29.000Z | food2/app/tests/test_views.py | Sebastien-M/food2 | 70d60fd5b99baa6a91eaa06aa6924f761d9d9725 | [
"MIT"
] | 35 | 2019-05-09T01:07:06.000Z | 2021-06-10T17:59:49.000Z | food2/app/tests/test_views.py | Sebastien-M/food2 | 70d60fd5b99baa6a91eaa06aa6924f761d9d9725 | [
"MIT"
] | 1 | 2020-10-01T04:14:27.000Z | 2020-10-01T04:14:27.000Z | from django.contrib.auth.models import User
from django.test import Client, TestCase
from django.urls import reverse_lazy
class ViewsTestCase(TestCase):
def __init__(self, *args, **kwargs):
super(ViewsTestCase, self).__init__(*args, **kwargs)
self.client = Client()
def setUp(self):
U... | 51.642857 | 108 | 0.708714 | 460 | 3,615 | 5.345652 | 0.136957 | 0.084994 | 0.080521 | 0.109801 | 0.856852 | 0.856852 | 0.856852 | 0.856852 | 0.856852 | 0.856852 | 0 | 0.002341 | 0.172891 | 3,615 | 69 | 109 | 52.391304 | 0.820067 | 0.114246 | 0 | 0.382979 | 0 | 0 | 0.110589 | 0.023496 | 0 | 0 | 0 | 0 | 0.382979 | 1 | 0.234043 | false | 0.021277 | 0.06383 | 0 | 0.319149 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
91fdef67f0a2bb9f5a2930374e84bb8b769bac94 | 456 | py | Python | app_portfolio_skills/models.py | MichaelDoctor/Portfolio | 41d9104ef6d34f8eb146230b19038b445351c713 | [
"MIT"
] | null | null | null | app_portfolio_skills/models.py | MichaelDoctor/Portfolio | 41d9104ef6d34f8eb146230b19038b445351c713 | [
"MIT"
] | 4 | 2021-06-09T18:02:18.000Z | 2022-01-13T03:06:24.000Z | app_portfolio_skills/models.py | MichaelDoctor/Portfolio | 41d9104ef6d34f8eb146230b19038b445351c713 | [
"MIT"
] | null | null | null | from django.db import models
class Language(models.Model):
title = models.CharField(max_length=50)
icon = models.CharField(max_length=100)
class Meta:
ordering = ['id']
def __str__(self):
return self.title
class Framework(models.Model):
title = models.CharField(max_length=50)
... | 19 | 43 | 0.651316 | 57 | 456 | 5 | 0.403509 | 0.210526 | 0.252632 | 0.336842 | 0.821053 | 0.821053 | 0.821053 | 0.821053 | 0.821053 | 0.821053 | 0 | 0.028902 | 0.241228 | 456 | 23 | 44 | 19.826087 | 0.794798 | 0 | 0 | 0.8 | 0 | 0 | 0.008772 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.066667 | 0.133333 | 0.866667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 12 |
6211db5f98ad924845ac421e101da6f64069fb82 | 44,155 | py | Python | remodet_repository_wdh_part/Projects/DetPoseJoint/DAPNet.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_wdh_part/Projects/DetPoseJoint/DAPNet.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_wdh_part/Projects/DetPoseJoint/DAPNet.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import sys
import math
sys.dont_write_bytecode = True
import caffe
from caffe import layers as L
from caffe import params as P
from caffe.proto import caffe_pb2
sys.path.append('../')
from PyLib.LayerParam.MultiBoxLossLayerParam import *
from PyLib.NetLib.ConvBNLayer import *
from PyLi... | 57.870249 | 178 | 0.62104 | 5,843 | 44,155 | 4.277597 | 0.057162 | 0.076818 | 0.04321 | 0.057614 | 0.883252 | 0.869969 | 0.858326 | 0.844643 | 0.83336 | 0.823198 | 0 | 0.032391 | 0.251863 | 44,155 | 763 | 179 | 57.870249 | 0.724224 | 0.013339 | 0 | 0.751043 | 0 | 0 | 0.233096 | 0.087713 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.026426 | null | null | 0.002782 | 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 |
624119ae0cf70022bfe2ed0e3a69eca111c16835 | 17,706 | py | Python | tests/test_list_folders.py | fourniernicolas/canedge_browser | c35b0445692257ee574976624b8d1a615b4d6eac | [
"MIT"
] | null | null | null | tests/test_list_folders.py | fourniernicolas/canedge_browser | c35b0445692257ee574976624b8d1a615b4d6eac | [
"MIT"
] | null | null | null | tests/test_list_folders.py | fourniernicolas/canedge_browser | c35b0445692257ee574976624b8d1a615b4d6eac | [
"MIT"
] | null | null | null | import canedge_browser
import pytest
from datetime import datetime, timezone
from fsspec import AbstractFileSystem
from pathlib import Path
class TestListLogFiles(object):
@pytest.fixture()
def fs(self) -> AbstractFileSystem:
# Use the files already present in the examples section for testing.
... | 37.197479 | 117 | 0.607365 | 1,985 | 17,706 | 5.238791 | 0.084131 | 0.126935 | 0.155303 | 0.046158 | 0.910664 | 0.895855 | 0.884989 | 0.875757 | 0.863256 | 0.8446 | 0 | 0.246516 | 0.282673 | 17,706 | 475 | 118 | 37.275789 | 0.572238 | 0.120468 | 0 | 0.762048 | 0 | 0 | 0.294385 | 0.279325 | 0 | 0 | 0 | 0 | 0.063253 | 1 | 0.072289 | false | 0.006024 | 0.01506 | 0 | 0.165663 | 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 |
626322d69cda11071f3569293b3209bb2f3a9d5b | 25,103 | py | Python | test/specs.py | giuseppe/quay | a1b7e4b51974edfe86f66788621011eef2667e6a | [
"Apache-2.0"
] | 2,027 | 2019-11-12T18:05:48.000Z | 2022-03-31T22:25:04.000Z | test/specs.py | giuseppe/quay | a1b7e4b51974edfe86f66788621011eef2667e6a | [
"Apache-2.0"
] | 496 | 2019-11-12T18:13:37.000Z | 2022-03-31T10:43:45.000Z | test/specs.py | giuseppe/quay | a1b7e4b51974edfe86f66788621011eef2667e6a | [
"Apache-2.0"
] | 249 | 2019-11-12T18:02:27.000Z | 2022-03-22T12:19:19.000Z | import json
import hashlib
from flask import url_for
from base64 import b64encode
NO_REPO = None
PUBLIC = "public"
PUBLIC_REPO_NAME = "publicrepo"
PUBLIC_REPO = PUBLIC + "/" + PUBLIC_REPO_NAME
PRIVATE = "devtable"
PRIVATE_REPO_NAME = "shared"
PRIVATE_REPO = PRIVATE + "/" + PRIVATE_REPO_NAME
ORG = "buynlarge"
ORG_R... | 31.937659 | 100 | 0.553679 | 2,788 | 25,103 | 4.656743 | 0.058465 | 0.059616 | 0.056844 | 0.106293 | 0.820689 | 0.797813 | 0.779173 | 0.750751 | 0.731033 | 0.718786 | 0 | 0.11948 | 0.337848 | 25,103 | 785 | 101 | 31.978344 | 0.661593 | 0.012389 | 0 | 0.711354 | 0 | 0 | 0.127936 | 0.045242 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016416 | false | 0.008208 | 0.005472 | 0.005472 | 0.038304 | 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 |
627c9ad78030e4fa27721b044ee4518226e6cb90 | 8,526 | py | Python | PHASEfilter/tests/test_synchronization.py | ibigen/PHASEfilter | 669729f408b9c23d5db2ba72e74195b2228669da | [
"MIT"
] | null | null | null | PHASEfilter/tests/test_synchronization.py | ibigen/PHASEfilter | 669729f408b9c23d5db2ba72e74195b2228669da | [
"MIT"
] | null | null | null | PHASEfilter/tests/test_synchronization.py | ibigen/PHASEfilter | 669729f408b9c23d5db2ba72e74195b2228669da | [
"MIT"
] | null | null | null | '''
Created on 16/06/2020
@author: mmp
'''
import unittest, os
from PHASEfilter.lib.utils.util import Utils
from PHASEfilter.lib.utils.reference import Reference
from PHASEfilter.lib.utils.lift_over_simple import LiftOverLight
from PHASEfilter.lib.process.process_references import ProcessTwoReferences
from PHASEfilter... | 49.859649 | 129 | 0.7924 | 1,403 | 8,526 | 4.33856 | 0.079116 | 0.087399 | 0.068342 | 0.078199 | 0.847544 | 0.843765 | 0.841137 | 0.84048 | 0.84048 | 0.84048 | 0 | 0.03763 | 0.099226 | 8,526 | 171 | 130 | 49.859649 | 0.754948 | 0.02205 | 0 | 0.796875 | 0 | 0 | 0.053511 | 0.032828 | 0 | 0 | 0 | 0 | 0.296875 | 1 | 0.023438 | false | 0 | 0.046875 | 0 | 0.078125 | 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 |
6569a6e340724c91abd951ef2f5a99f54b9d871b | 1,628 | py | Python | mapping meteo croix lille calais.py | DacruzJonathan/Projet_carto_map | 78fac371a8e92e152dce78a47f01b3b150851fa3 | [
"CC0-1.0"
] | null | null | null | mapping meteo croix lille calais.py | DacruzJonathan/Projet_carto_map | 78fac371a8e92e152dce78a47f01b3b150851fa3 | [
"CC0-1.0"
] | null | null | null | mapping meteo croix lille calais.py | DacruzJonathan/Projet_carto_map | 78fac371a8e92e152dce78a47f01b3b150851fa3 | [
"CC0-1.0"
] | null | null | null | import requests
url = "http://api.openweathermap.org/data/2.5/weather?q=croix&appid=1b980eb95427e4049b7e9fdd2819958b""&units=metric"
weather_data = requests.get(url).json()
ville = weather_data['name']
print("Météo à %s" % (ville))
print(weather_data['main']['temp'], "°C")
print(weather_data['main']['humi... | 32.56 | 118 | 0.677518 | 211 | 1,628 | 5.127962 | 0.194313 | 0.243993 | 0.221811 | 0.166359 | 0.962107 | 0.962107 | 0.962107 | 0.962107 | 0.962107 | 0.962107 | 0 | 0.052561 | 0.088452 | 1,628 | 49 | 119 | 33.22449 | 0.674528 | 0.006757 | 0 | 0.870968 | 0 | 0.096774 | 0.420681 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.032258 | 0.677419 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 11 |
659105fd900dabc31b7d9e0f22c0134db43d6353 | 4,100 | py | Python | saved_searches/templatetags/saved_searches_tags.py | django-haystack/saved_searches | a2674f83c18d1053d724d879c67e882162328a4b | [
"BSD-3-Clause"
] | 13 | 2015-04-03T22:29:43.000Z | 2021-09-27T11:53:08.000Z | saved_searches/templatetags/saved_searches_tags.py | toastdriven/saved_searches | a2674f83c18d1053d724d879c67e882162328a4b | [
"BSD-3-Clause"
] | null | null | null | saved_searches/templatetags/saved_searches_tags.py | toastdriven/saved_searches | a2674f83c18d1053d724d879c67e882162328a4b | [
"BSD-3-Clause"
] | 11 | 2015-02-23T20:32:07.000Z | 2020-05-02T16:26:23.000Z | from django import template
from saved_searches.models import SavedSearch
register = template.Library()
class MostRecentNode(template.Node):
def __init__(self, varname, user=None, search_key=None, limit=10):
self.varname = varname
self.user = user
self.search_key = search_key
sel... | 30.597015 | 111 | 0.61561 | 509 | 4,100 | 4.756385 | 0.151277 | 0.141264 | 0.061958 | 0.074349 | 0.909542 | 0.834366 | 0.782321 | 0.782321 | 0.782321 | 0.722842 | 0 | 0.009599 | 0.288537 | 4,100 | 133 | 112 | 30.827068 | 0.820363 | 0.249512 | 0 | 0.857143 | 0 | 0 | 0.044746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.077922 | false | 0 | 0.025974 | 0 | 0.181818 | 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 |
65cce303cdb7ac0a4b1a47b8e1977de59c33754f | 21,554 | py | Python | radionets/dl_framework/architectures/filter_deep.py | Kevin2/radionets | 44e10a85a096f5cea8e9d83f96db65bdd4df9517 | [
"MIT"
] | 9 | 2021-06-17T10:12:28.000Z | 2022-03-23T23:04:19.000Z | radionets/dl_framework/architectures/filter_deep.py | radionets-project/radionets | 9b87ddbf704e78db55944e70071a7002f6213399 | [
"MIT"
] | 24 | 2021-02-12T13:57:11.000Z | 2022-03-03T08:00:31.000Z | radionets/dl_framework/architectures/filter_deep.py | Kevin2/radionets | 44e10a85a096f5cea8e9d83f96db65bdd4df9517 | [
"MIT"
] | 3 | 2020-01-08T09:01:09.000Z | 2020-10-19T18:53:13.000Z | from torch import nn
import torch
from radionets.dl_framework.model import (
Lambda,
LocallyConnected2d,
symmetry,
GeneralELU,
conv_phase,
conv_amp,
)
from functools import partial
from math import pi
from radionets.dl_framework.utils import round_odd, make_padding
class filter_deep_amp(nn.Mod... | 33.211094 | 88 | 0.499165 | 2,796 | 21,554 | 3.66166 | 0.036123 | 0.060168 | 0.058019 | 0.045712 | 0.966302 | 0.924106 | 0.911702 | 0.895683 | 0.869799 | 0.864915 | 0 | 0.096407 | 0.36332 | 21,554 | 648 | 89 | 33.262346 | 0.649639 | 0.02162 | 0 | 0.761468 | 0 | 0 | 0.000572 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014679 | false | 0 | 0.011009 | 0 | 0.040367 | 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 |
02b61172c00f8b2ce837e1a981fde072c1ea7473 | 27,017 | py | Python | cogs/eventmanagement.py | costaluu/sloth-bot | 48727aff5859ec96c48691a638b3b8c0a90c70f9 | [
"MIT"
] | null | null | null | cogs/eventmanagement.py | costaluu/sloth-bot | 48727aff5859ec96c48691a638b3b8c0a90c70f9 | [
"MIT"
] | null | null | null | cogs/eventmanagement.py | costaluu/sloth-bot | 48727aff5859ec96c48691a638b3b8c0a90c70f9 | [
"MIT"
] | null | null | null | import discord
from discord.ext import commands
from extra.menu import ConfirmSkill
from extra import utils
import os
from typing import Dict, Any
from extra.smartroom.event_rooms import EventRoomsTable
mod_role_id = int(os.getenv('MOD_ROLE_ID', 123))
senior_mod_role_id = int(os.getenv('SENIOR_MOD_ROLE_ID', 123))
admi... | 42.280125 | 139 | 0.628863 | 3,488 | 27,017 | 4.695241 | 0.069954 | 0.026012 | 0.031508 | 0.024608 | 0.820785 | 0.789949 | 0.787507 | 0.754228 | 0.746352 | 0.738963 | 0 | 0.006385 | 0.269571 | 27,017 | 638 | 140 | 42.346395 | 0.821678 | 0.047044 | 0 | 0.703463 | 0 | 0.004329 | 0.154096 | 0.020359 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004329 | false | 0.004329 | 0.015152 | 0 | 0.071429 | 0.02381 | 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 |
b89a69279beb1e36b11ce465d01b093a1f3b8966 | 8,776 | py | Python | z2/part2/interactive/jm/random_normal_1/534113920.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part2/interactive/jm/random_normal_1/534113920.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part2/interactive/jm/random_normal_1/534113920.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:45:13.000Z | 2020-06-09T19:18:31.000Z | from part1 import (
gamma_board,
gamma_busy_fields,
gamma_delete,
gamma_free_fields,
gamma_golden_move,
gamma_golden_possible,
gamma_move,
gamma_new,
)
"""
scenario: test_random_actions
uuid: 534113920
"""
"""
random actions, total chaos
"""
board = gamma_new(8, 7, 5, 8)
assert board is... | 34.415686 | 46 | 0.64984 | 1,654 | 8,776 | 3.298065 | 0.037485 | 0.383135 | 0.415215 | 0.553621 | 0.883776 | 0.880477 | 0.768836 | 0.486159 | 0.36462 | 0.36462 | 0 | 0.131502 | 0.182885 | 8,776 | 254 | 47 | 34.551181 | 0.629201 | 0 | 0 | 0.254237 | 0 | 0 | 0.024171 | 0 | 0 | 0 | 0 | 0 | 0.834746 | 1 | 0 | false | 0 | 0.004237 | 0 | 0.004237 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b8ae272b00c0cc898806d7f041057bf332d328e3 | 268 | py | Python | ramda/drop_last_test.py | Rafi993/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 1 | 2018-08-05T04:41:14.000Z | 2018-08-05T04:41:14.000Z | ramda/drop_last_test.py | Rafi993/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 3 | 2018-06-12T18:42:05.000Z | 2018-07-23T11:50:25.000Z | ramda/drop_last_test.py | slavaGanzin/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | null | null | null | from .drop_last import drop_last
from ramda.private.asserts import assert_iterables_equal
def drop_nocurry_test():
assert_iterables_equal(drop_last(2, [1, 2, 3, 4]), [1, 2])
def drop_curry_test():
assert_iterables_equal(drop_last(2)([1, 2, 3, 4]), [1, 2])
| 24.363636 | 62 | 0.720149 | 46 | 268 | 3.891304 | 0.391304 | 0.178771 | 0.335196 | 0.268156 | 0.435754 | 0.435754 | 0.435754 | 0.435754 | 0.435754 | 0.435754 | 0 | 0.060606 | 0.13806 | 268 | 10 | 63 | 26.8 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b240394b07c6a2b8d77b42bd10772d8393841dba | 561 | py | Python | curso python/exercicios/mundo-1/ex015/catetoehipotenusa.py | lucasrenandns/Python-3 | 284b93a5538b3978d57593b5a664b1d2d98c6e1a | [
"MIT"
] | 1 | 2022-02-09T19:05:05.000Z | 2022-02-09T19:05:05.000Z | curso python/exercicios/mundo-1/ex015/catetoehipotenusa.py | lucasrenandns/Python-3 | 284b93a5538b3978d57593b5a664b1d2d98c6e1a | [
"MIT"
] | null | null | null | curso python/exercicios/mundo-1/ex015/catetoehipotenusa.py | lucasrenandns/Python-3 | 284b93a5538b3978d57593b5a664b1d2d98c6e1a | [
"MIT"
] | null | null | null | from math import hypot
co = float(input("Digite o cateto oposto: "))
ca = float(input("Digite o cateto adjacente: "))
hi = hypot(co, ca)
print("A hipotenusa vai medir {:.2f}".format(hi))
'''co = float(input("Digite o cateto oposto: "))
ca = float(input("Digite o cateto adjacente: "))
hi = (co ** 2 + ca ** 2 ) ** (1/2)... | 35.0625 | 52 | 0.645276 | 88 | 561 | 4.113636 | 0.261364 | 0.165746 | 0.265193 | 0.281768 | 0.88674 | 0.88674 | 0.88674 | 0.88674 | 0.792818 | 0.792818 | 0 | 0.014675 | 0.149733 | 561 | 16 | 53 | 35.0625 | 0.744235 | 0 | 0 | 0 | 0 | 0 | 0.418848 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b27050ea010658548da412cae429eac1171d5a41 | 84,802 | py | Python | _build/jupyter_execute/.~Dirichlet Distribution.py | dudaspm/LDA_Bias_Data | ffbabb5765a878bf49bac68baaa083342243a616 | [
"BSD-3-Clause"
] | null | null | null | _build/jupyter_execute/.~Dirichlet Distribution.py | dudaspm/LDA_Bias_Data | ffbabb5765a878bf49bac68baaa083342243a616 | [
"BSD-3-Clause"
] | null | null | null | _build/jupyter_execute/.~Dirichlet Distribution.py | dudaspm/LDA_Bias_Data | ffbabb5765a878bf49bac68baaa083342243a616 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# # Dirichlet Distribution
# In[260]:
# In[261]:
# In[262]:
# In[1]:
from IPython.display import HTML
def load_d3_in_cell_output():
display(HTML("<script src='https://d3js.org/d3.v6.min.js'></script>"))
get_ipython().events.register('pre_run_cell', load_d3_in... | 261.734568 | 7,889 | 0.4521 | 11,928 | 84,802 | 3.214873 | 0.040409 | 0.06389 | 0.027382 | 0.023001 | 0.854226 | 0.837901 | 0.823637 | 0.816674 | 0.808955 | 0.786372 | 0 | 0.043631 | 0.306479 | 84,802 | 323 | 7,890 | 262.544892 | 0.606628 | 0.051496 | 0 | 0.190476 | 0 | 0.428571 | 0.975396 | 0.246696 | 0.047619 | 0 | 0 | 0 | 0 | 1 | 0.02381 | false | 0 | 0.119048 | 0 | 0.142857 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
a25a05132e09d85228137b957fe3561d9399893e | 8,197 | py | Python | findpeaks.py | toyjack/wbKiridashi | 3a2c49136615cb97965a374ba1ad404dccd92cb9 | [
"MIT"
] | null | null | null | findpeaks.py | toyjack/wbKiridashi | 3a2c49136615cb97965a374ba1ad404dccd92cb9 | [
"MIT"
] | null | null | null | findpeaks.py | toyjack/wbKiridashi | 3a2c49136615cb97965a374ba1ad404dccd92cb9 | [
"MIT"
] | null | null | null | import numpy as np
from matplotlib import pyplot
import peakutils
from scipy import signal
y=np.array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,6,7,9,10,11,13,15,17,19,21,22,24,25,31,37,46,48,51,53... | 292.75 | 7,582 | 0.648286 | 2,815 | 8,197 | 1.886679 | 0.053996 | 0.146865 | 0.20787 | 0.260591 | 0.145735 | 0.115986 | 0.10337 | 0.094333 | 0.086424 | 0.078893 | 0 | 0.599435 | 0.006832 | 8,197 | 28 | 7,583 | 292.75 | 0.052942 | 0 | 0 | 0 | 0 | 0 | 0.005977 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.1 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a2d2af1b461cbb566446ea40178c060b9ce6d442 | 10,108 | py | Python | make_plot.py | weinbe58/tfim_noise | 36e9e569eb92a9a48277eb53ffb24cc3dae8a9b1 | [
"BSD-3-Clause"
] | null | null | null | make_plot.py | weinbe58/tfim_noise | 36e9e569eb92a9a48277eb53ffb24cc3dae8a9b1 | [
"BSD-3-Clause"
] | null | null | null | make_plot.py | weinbe58/tfim_noise | 36e9e569eb92a9a48277eb53ffb24cc3dae8a9b1 | [
"BSD-3-Clause"
] | null | null | null | import matplotlib.pyplot as plt
import matplotlib.ticker as ticker
from matplotlib.lines import Line2D
import numpy as np
import glob,sys,os
def marker_style(i):
color = ['red','green','blue','fuchsia','yellow','orange','aqua','lime','teal']
n_color = len(color)
n_marker = len(Line2D.filled_markers)
markers = L... | 22.765766 | 106 | 0.639098 | 1,837 | 10,108 | 3.42896 | 0.101252 | 0.018257 | 0.013335 | 0.020003 | 0.806953 | 0.798063 | 0.786792 | 0.773932 | 0.758374 | 0.744721 | 0 | 0.054458 | 0.1389 | 10,108 | 444 | 107 | 22.765766 | 0.669233 | 0.090127 | 0 | 0.715302 | 0 | 0 | 0.093733 | 0.015477 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.017794 | null | null | 0.02847 | 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 |
0c569a0531019dbcb6916074d2eafce32a2c24ea | 33,558 | py | Python | consensus/poet/families/tests/test_tp_validator_registry.py | trust-tech/sawtooth-core | fcd66ff2f13dba51d7642049e0c0306dbee3b07d | [
"Apache-2.0"
] | 1 | 2017-08-04T10:31:00.000Z | 2017-08-04T10:31:00.000Z | consensus/poet/families/tests/test_tp_validator_registry.py | trust-tech/sawtooth-core | fcd66ff2f13dba51d7642049e0c0306dbee3b07d | [
"Apache-2.0"
] | null | null | null | consensus/poet/families/tests/test_tp_validator_registry.py | trust-tech/sawtooth-core | fcd66ff2f13dba51d7642049e0c0306dbee3b07d | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 37.748031 | 80 | 0.632696 | 3,477 | 33,558 | 5.81277 | 0.069313 | 0.071842 | 0.088318 | 0.053436 | 0.869428 | 0.857355 | 0.843303 | 0.838454 | 0.832665 | 0.810252 | 0 | 0.00988 | 0.26408 | 33,558 | 888 | 81 | 37.790541 | 0.808512 | 0.229275 | 0 | 0.809237 | 0 | 0 | 0.059488 | 0.01031 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034137 | false | 0 | 0.014056 | 0 | 0.050201 | 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 |
a7551d7e4e686681f6b2c1bf5241243c3eba8acd | 12 | py | Python | examples/Tests/Action/Python/file_parse_error.py | esayui/mworks | 0522e5afc1e30fdbf1e67cedd196ee50f7924499 | [
"MIT"
] | null | null | null | examples/Tests/Action/Python/file_parse_error.py | esayui/mworks | 0522e5afc1e30fdbf1e67cedd196ee50f7924499 | [
"MIT"
] | null | null | null | examples/Tests/Action/Python/file_parse_error.py | esayui/mworks | 0522e5afc1e30fdbf1e67cedd196ee50f7924499 | [
"MIT"
] | null | null | null | y = 1 - * 2
| 6 | 11 | 0.25 | 3 | 12 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.5 | 12 | 1 | 12 | 12 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a7636d7f00af992d470b5935badc5bd779a0a79a | 1,187 | py | Python | 0026_RemoveDuplicatesFromSortedArray/python/test_solution.py | jeffvswanson/LeetCode | 6bc7d6cad3c2b1bd6ccb2616ec081fb5eb51ccc8 | [
"MIT"
] | null | null | null | 0026_RemoveDuplicatesFromSortedArray/python/test_solution.py | jeffvswanson/LeetCode | 6bc7d6cad3c2b1bd6ccb2616ec081fb5eb51ccc8 | [
"MIT"
] | null | null | null | 0026_RemoveDuplicatesFromSortedArray/python/test_solution.py | jeffvswanson/LeetCode | 6bc7d6cad3c2b1bd6ccb2616ec081fb5eb51ccc8 | [
"MIT"
] | null | null | null | import pytest
import solution
@pytest.mark.parametrize(
"nums,expected_list,expected_k",
[
([1, 1, 2], [1, 2, 0], 2),
([0, 0, 1, 1, 1, 2, 2, 3, 3, 4], [0, 1, 2, 3, 4, 0, 0, 0, 0, 0], 5),
([], [], 0),
([1], [1], 1),
([1, 1], [1, 1], 1),
([1, 2], [1, 2], 2),
... | 26.977273 | 76 | 0.441449 | 200 | 1,187 | 2.52 | 0.13 | 0.142857 | 0.166667 | 0.174603 | 0.884921 | 0.884921 | 0.884921 | 0.884921 | 0.72619 | 0.72619 | 0 | 0.14742 | 0.314238 | 1,187 | 43 | 77 | 27.604651 | 0.471744 | 0 | 0 | 0.736842 | 0 | 0 | 0.048863 | 0.048863 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.052632 | false | 0.105263 | 0.052632 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
a7a640026a13714ccba9b56c21e8b0eb80e58270 | 8,220 | py | Python | filmes_bot.py | nananda26/pi20182 | 38a4dab5a9223d48552e0b6aeafaa389c238a412 | [
"MIT"
] | 1 | 2018-12-05T01:14:44.000Z | 2018-12-05T01:14:44.000Z | filmes_bot.py | nananda26/pi20182 | 38a4dab5a9223d48552e0b6aeafaa389c238a412 | [
"MIT"
] | 1 | 2018-12-06T22:45:17.000Z | 2018-12-06T22:45:17.000Z | filmes_bot.py | nananda26/pi20182 | 38a4dab5a9223d48552e0b6aeafaa389c238a412 | [
"MIT"
] | null | null | null | from errbot import BotPlugin, botcmd, botmatch
import pymongo
class FilmesBot(BotPlugin):
'Programacao de filmes'
@botcmd
def start(self, msg, args):
yield "Em qual shopping?"
yield "/Continente_Park_Shopping"
yield "/Shopping_Itaguacu"
yield "/Shopping_Via_Catarina"
... | 38.591549 | 95 | 0.642457 | 857 | 8,220 | 5.971995 | 0.085181 | 0.042204 | 0.051583 | 0.056272 | 0.903869 | 0.853849 | 0.835092 | 0.811645 | 0.792106 | 0.792106 | 0 | 0 | 0.238443 | 8,220 | 212 | 96 | 38.773585 | 0.817572 | 0.002555 | 0 | 0.784946 | 0 | 0 | 0.290546 | 0.057428 | 0 | 0 | 0 | 0 | 0 | 1 | 0.129032 | false | 0 | 0.010753 | 0 | 0.145161 | 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 |
a7ac189e00446e27a65f8001cd7e8b8b8688e313 | 12,065 | py | Python | objects/buttons/__init__.py | TheLokin/Kabalayn | 2034364e03e8eca909df11dcc393d70edd18493b | [
"MIT"
] | null | null | null | objects/buttons/__init__.py | TheLokin/Kabalayn | 2034364e03e8eca909df11dcc393d70edd18493b | [
"MIT"
] | null | null | null | objects/buttons/__init__.py | TheLokin/Kabalayn | 2034364e03e8eca909df11dcc393d70edd18493b | [
"MIT"
] | null | null | null | from .button import Button
from .button_action import ButtonAction
from .button_option import ButtonOption
from scripts import LanguageManager, SoundManager, Configuration as Config
class ButtonPlay(ButtonAction):
instances = {}
def __new__(cls, scene):
if scene not in cls.instances:
c... | 28.657957 | 113 | 0.621799 | 1,351 | 12,065 | 5.287195 | 0.087343 | 0.070559 | 0.072799 | 0.089598 | 0.803024 | 0.797004 | 0.775165 | 0.762285 | 0.750525 | 0.743805 | 0 | 0.016043 | 0.26639 | 12,065 | 421 | 114 | 28.657957 | 0.790984 | 0 | 0 | 0.797386 | 0 | 0 | 0.016327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.261438 | false | 0 | 0.013072 | 0 | 0.392157 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a7bc968f1052662832c05fcf86ffc0facbe5a759 | 15,283 | py | Python | tests/test_cx_validation.py | salilab/IHMValidation | ddf1a080a4b7f66c2f067312f5f4a5c6584848d1 | [
"MIT"
] | null | null | null | tests/test_cx_validation.py | salilab/IHMValidation | ddf1a080a4b7f66c2f067312f5f4a5c6584848d1 | [
"MIT"
] | 23 | 2020-12-09T22:27:29.000Z | 2022-03-30T18:01:43.000Z | tests/test_cx_validation.py | salilab/IHMValidation | ddf1a080a4b7f66c2f067312f5f4a5c6584848d1 | [
"MIT"
] | 1 | 2022-03-21T22:55:24.000Z | 2022-03-21T22:55:24.000Z | import os,sys
import unittest
from io import StringIO, BytesIO
sys.path.insert(0, "../master/pyext/src/")
from validation import get_input_information,utility
from validation.cx import cx_validation
import warnings
def ignore_warnings(test_func):
def do_test(self, *args, **kwargs):
with warnings.catch_warnings():... | 27.145648 | 87 | 0.787345 | 2,872 | 15,283 | 3.706128 | 0.067201 | 0.054867 | 0.054115 | 0.072153 | 0.897501 | 0.874859 | 0.828354 | 0.793311 | 0.777809 | 0.769448 | 0 | 0.046472 | 0.087614 | 15,283 | 562 | 88 | 27.19395 | 0.716867 | 0.010338 | 0 | 0.79619 | 0 | 0.011429 | 0.581512 | 0.359423 | 0 | 0 | 0 | 0 | 0.102857 | 1 | 0.038095 | false | 0 | 0.011429 | 0 | 0.053333 | 0.001905 | 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 |
ac1f5723d7fabd1670fe8946ed82a6eaa81db9a9 | 237,531 | py | Python | tests/functional/data/python/__init__.py | johnson2427/ape | e0dbce86d7ddb4574df109f443718f19dc183608 | [
"Apache-2.0"
] | null | null | null | tests/functional/data/python/__init__.py | johnson2427/ape | e0dbce86d7ddb4574df109f443718f19dc183608 | [
"Apache-2.0"
] | 1 | 2022-02-12T01:31:16.000Z | 2022-02-22T00:26:49.000Z | tests/functional/data/python/__init__.py | johnson2427/ape | e0dbce86d7ddb4574df109f443718f19dc183608 | [
"Apache-2.0"
] | null | null | null | from evm_trace import CallType
from evm_trace.display import DisplayableCallTreeNode
from hexbytes import HexBytes
from ape_ethereum.transactions import TransactionStatusEnum
LOCAL_CALL_TREE_DICT = {
"call_type": CallType.CALL,
"address": "a",
"value": 123,
"depth": 0,
"gas_limit": 492533,
"ga... | 75.767464 | 10,939 | 0.471223 | 7,770 | 237,531 | 14.326641 | 0.091377 | 0.116747 | 0.169946 | 0.219695 | 0.60717 | 0.603919 | 0.595807 | 0.564841 | 0.550755 | 0.548555 | 0 | 0.564434 | 0.470995 | 237,531 | 3,134 | 10,940 | 75.79164 | 0.321468 | 0.000042 | 0 | 0.776501 | 0 | 0.000958 | 0.41584 | 0.348642 | 0 | 1 | 0.311377 | 0 | 0 | 1 | 0 | false | 0 | 0.001277 | 0 | 0.001277 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ac3eed2a0f1b9b134fe546ec71b71a96c23079f0 | 85 | py | Python | smoke/config/__init__.py | dashidhy/SMOKE | 724876443db90bbdca8f942515e881993b3f47b2 | [
"MIT"
] | 5 | 2020-08-28T23:38:39.000Z | 2020-08-31T17:00:56.000Z | smoke/config/__init__.py | Jike-u/SMOKE | 724876443db90bbdca8f942515e881993b3f47b2 | [
"MIT"
] | null | null | null | smoke/config/__init__.py | Jike-u/SMOKE | 724876443db90bbdca8f942515e881993b3f47b2 | [
"MIT"
] | 3 | 2020-08-28T23:51:34.000Z | 2021-04-18T03:32:39.000Z | from .defaults_kitti import _C as cfg_kitti
from .defaults_nusc import _C as cfg_nusc | 42.5 | 43 | 0.847059 | 16 | 85 | 4.125 | 0.5 | 0.363636 | 0.272727 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 85 | 2 | 44 | 42.5 | 0.891892 | 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 |
3bb6c1a166bef5ff6590728e58cdfd2b3592a070 | 1,250 | py | Python | kvdroid/tools/network.py | kengoon/Kvdroid | a47ab614079b70f81031c2e16a2a04fba1d39677 | [
"MIT"
] | 1 | 2021-03-23T08:04:22.000Z | 2021-03-23T08:04:22.000Z | kvdroid/tools/network.py | kengoon/Kvdroid | a47ab614079b70f81031c2e16a2a04fba1d39677 | [
"MIT"
] | null | null | null | kvdroid/tools/network.py | kengoon/Kvdroid | a47ab614079b70f81031c2e16a2a04fba1d39677 | [
"MIT"
] | null | null | null | from kvdroid.jclass.android import Activity
from kvdroid import activity
def network_status():
from kvdroid.jclass.android import ConnectivityManager
ConnectivityManager = ConnectivityManager()
con_mgr = activity.getSystemService(Activity().CONNECTIVITY_SERVICE)
try:
return con_mgr.getNetworkI... | 36.764706 | 100 | 0.7464 | 110 | 1,250 | 8.327273 | 0.218182 | 0.045852 | 0.074236 | 0.104803 | 0.94214 | 0.89083 | 0.89083 | 0.89083 | 0.89083 | 0.89083 | 0 | 0 | 0.1872 | 1,250 | 33 | 101 | 37.878788 | 0.901575 | 0 | 0 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103448 | false | 0 | 0.172414 | 0 | 0.517241 | 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 | 1 | 0 | 0 | 8 |
3bf39160d270e85b87c028a1a56b4c833f35561e | 4,337 | py | Python | 3-semester/programming/lab3.py | Rakleed/rgpu | 47ab2a05a8398c15be7e41e9e98fafe5c2a36627 | [
"MIT"
] | null | null | null | 3-semester/programming/lab3.py | Rakleed/rgpu | 47ab2a05a8398c15be7e41e9e98fafe5c2a36627 | [
"MIT"
] | null | null | null | 3-semester/programming/lab3.py | Rakleed/rgpu | 47ab2a05a8398c15be7e41e9e98fafe5c2a36627 | [
"MIT"
] | null | null | null | """
Автор: Моисеенко Павел, группа № 1, подгруппа № 2.
Задание: вывести таблицу истинности для and, or, xor, equality.
Таблица введена с помощью символа "*", int и bool преведены к строкам, и выведены результаты для коньюнкции, дизюнкции, строгой дизъюнкции и эквиваленции.
"""
logical_false = 0
logical_... | 34.696 | 158 | 0.611944 | 553 | 4,337 | 4.567812 | 0.103074 | 0.15677 | 0.180523 | 0.199525 | 0.852336 | 0.852336 | 0.852336 | 0.852336 | 0.841251 | 0.841251 | 0 | 0.010161 | 0.183076 | 4,337 | 124 | 159 | 34.975806 | 0.701665 | 0.091769 | 0 | 0.705882 | 0 | 0 | 0.085313 | 0 | 0.047059 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.517647 | 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 | 1 | 0 | 10 |
ce314602c07ee9296c566b5ad7d82c1855a5da59 | 8,004 | py | Python | cluster/submit_firas.py | andrea0292/Dark-Photon-Perturbations | 7b54172176da5629b200b0bc5f8e93e7407c5a8d | [
"MIT"
] | 1 | 2020-08-24T22:20:46.000Z | 2020-08-24T22:20:46.000Z | cluster/submit_firas.py | andrea0292/Dark-Photon-Perturbations | 7b54172176da5629b200b0bc5f8e93e7407c5a8d | [
"MIT"
] | null | null | null | cluster/submit_firas.py | andrea0292/Dark-Photon-Perturbations | 7b54172176da5629b200b0bc5f8e93e7407c5a8d | [
"MIT"
] | 1 | 2021-04-21T09:21:21.000Z | 2021-04-21T09:21:21.000Z |
import sys, os
import random
import numpy as np
sys.path.append("../")
from grf.units import *
batch='''#!/bin/bash
#SBATCH -N 1 # node count
#SBATCH --ntasks-per-node=1
#SBATCH -t 10:00:00
#SBATCH --mem=4GB
##SBATCH --mail-type=begin
##SBATCH --mail-type=end
##SBATCH --mail-user=sm8383@nyu.edu
cd /home/sm8383/spe... | 46.265896 | 310 | 0.444528 | 919 | 8,004 | 3.5963 | 0.125136 | 0.031467 | 0.075643 | 0.102874 | 0.861725 | 0.858094 | 0.846899 | 0.846899 | 0.826626 | 0.826626 | 0 | 0.020598 | 0.423788 | 8,004 | 173 | 311 | 46.265896 | 0.69601 | 0.014118 | 0 | 0.769231 | 0 | 0 | 0.220066 | 0.035895 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030769 | 0 | 0.030769 | 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 |
ce404d09af046ff8cc5e92c1bf55a3f774d27bb9 | 34,735 | py | Python | sdk/datalake/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/operations/job_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 2,728 | 2015-01-09T10:19:32.000Z | 2022-03-31T14:50:33.000Z | sdk/datalake/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/operations/job_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 17,773 | 2015-01-05T15:57:17.000Z | 2022-03-31T23:50:25.000Z | sdk/datalake/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/operations/job_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1,916 | 2015-01-19T05:05:41.000Z | 2022-03-31T19:36:44.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 46.561662 | 157 | 0.663164 | 3,885 | 34,735 | 5.736422 | 0.07722 | 0.026025 | 0.019384 | 0.029077 | 0.856502 | 0.847124 | 0.830028 | 0.813515 | 0.795881 | 0.792426 | 0 | 0.003804 | 0.243184 | 34,735 | 745 | 158 | 46.624161 | 0.843959 | 0.296531 | 0 | 0.757033 | 0 | 0 | 0.124798 | 0.040886 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.015345 | 0 | 0.12532 | 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 |
0204e80840bd71bab0eb10f6170715ca6c1c6c5b | 170 | py | Python | api/secret_key.py | dima7a14/FamilyBudget-api | 871947b40c47a62198b9a5d6c524ee6d4fc93088 | [
"MIT"
] | null | null | null | api/secret_key.py | dima7a14/FamilyBudget-api | 871947b40c47a62198b9a5d6c524ee6d4fc93088 | [
"MIT"
] | 1 | 2021-04-08T19:28:42.000Z | 2021-04-08T19:28:42.000Z | api/secret_key.py | dima7a14/FamilyBudget-api | 871947b40c47a62198b9a5d6c524ee6d4fc93088 | [
"MIT"
] | null | null | null | from django.core.management.utils import get_random_secret_key
def generate_secret_key():
"""Generates secret key for django."""
return get_random_secret_key()
| 24.285714 | 62 | 0.776471 | 24 | 170 | 5.166667 | 0.625 | 0.290323 | 0.241935 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135294 | 170 | 6 | 63 | 28.333333 | 0.843537 | 0.188235 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
0289d1ec39be67c7780e2ec30f1215fbf70cc875 | 71 | py | Python | tests/test_decorer_ruuvi_v3.py | jollierfinbean/bleak_ruuvitag | 617ace8a3c06eb013b890a7f7c5de0beb90925a5 | [
"MIT"
] | null | null | null | tests/test_decorer_ruuvi_v3.py | jollierfinbean/bleak_ruuvitag | 617ace8a3c06eb013b890a7f7c5de0beb90925a5 | [
"MIT"
] | null | null | null | tests/test_decorer_ruuvi_v3.py | jollierfinbean/bleak_ruuvitag | 617ace8a3c06eb013b890a7f7c5de0beb90925a5 | [
"MIT"
] | null | null | null | from .context import bleak_ruuvitag
def test_create():
pass # TODO | 17.75 | 35 | 0.746479 | 10 | 71 | 5.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 71 | 4 | 36 | 17.75 | 0.87931 | 0.056338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
5a2a7f477511eabb8cfc95db9fc80985b57bd116 | 4,448 | py | Python | SensitivityStudy/LoadSensitivityStudyFileNames.py | Lucciola111/stream_autoencoder_windowing | 5456b07bd20220c987598db2cdb832d8195e1575 | [
"MIT"
] | 4 | 2021-09-16T05:50:25.000Z | 2021-12-31T07:04:55.000Z | SensitivityStudy/LoadSensitivityStudyFileNames.py | Lucciola111/stream_autoencoder_windowing | 5456b07bd20220c987598db2cdb832d8195e1575 | [
"MIT"
] | null | null | null | SensitivityStudy/LoadSensitivityStudyFileNames.py | Lucciola111/stream_autoencoder_windowing | 5456b07bd20220c987598db2cdb832d8195e1575 | [
"MIT"
] | 1 | 2021-12-16T06:53:08.000Z | 2021-12-16T06:53:08.000Z | def load_sensitivity_study_file_names(design):
"""
Parameters
----------
design: Name of design
Returns experiment files names of a design
-------
"""
file_names = {}
if design == 'NAE-IAW':
path = '../Files_Results/Sensitivity_Study/NAE-IAW/'
file_names['FILE_Mea... | 111.2 | 239 | 0.859712 | 545 | 4,448 | 6.425688 | 0.168807 | 0.058252 | 0.066819 | 0.083952 | 0.910337 | 0.90691 | 0.813821 | 0.776128 | 0.739577 | 0.739577 | 0 | 0.164053 | 0.068121 | 4,448 | 39 | 240 | 114.051282 | 0.68082 | 0.021583 | 0 | 0 | 0 | 0 | 0.84113 | 0.813803 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
5a3c38e4ef396a2e6f8a0d851b558b41e7143157 | 4,575 | py | Python | tests/test_uk.py | Semtexcz/invenio-oarepo-oai-pmh-harvester | 2866c7d7355f6885b4f443ee1e82baa24502b36e | [
"MIT"
] | null | null | null | tests/test_uk.py | Semtexcz/invenio-oarepo-oai-pmh-harvester | 2866c7d7355f6885b4f443ee1e82baa24502b36e | [
"MIT"
] | null | null | null | tests/test_uk.py | Semtexcz/invenio-oarepo-oai-pmh-harvester | 2866c7d7355f6885b4f443ee1e82baa24502b36e | [
"MIT"
] | null | null | null | from invenio_nusl_theses.proxies import nusl_theses
from invenio_oarepo_oai_pmh_harvester.models import OAIProvider
from invenio_db import db
from invenio_oarepo_oai_pmh_harvester.synchronization import OAISynchronizer
def test_uk_one_record(app, uk_db, schemas):
uk_provider = OAIProvider.query.filter_by(code="... | 34.398496 | 94 | 0.598907 | 487 | 4,575 | 5.437372 | 0.268994 | 0.037764 | 0.036254 | 0.016616 | 0.927492 | 0.927492 | 0.903323 | 0.903323 | 0.903323 | 0.903323 | 0 | 0.025799 | 0.254426 | 4,575 | 132 | 95 | 34.659091 | 0.750513 | 0 | 0 | 0.873016 | 0 | 0 | 0.375956 | 0.086557 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015873 | false | 0 | 0.031746 | 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 |
5a7a9128d3a85846426e2da96f80ff5c7ce97b4d | 11,908 | py | Python | a10sdk/core/cgnv6/cgnv6_fixed_nat_inside.py | deepfield/a10sdk-python | bfaa58099f51f085d5e91652d1d1a3fd5c529d5d | [
"Apache-2.0"
] | 16 | 2015-05-20T07:26:30.000Z | 2021-01-23T11:56:57.000Z | a10sdk/core/cgnv6/cgnv6_fixed_nat_inside.py | deepfield/a10sdk-python | bfaa58099f51f085d5e91652d1d1a3fd5c529d5d | [
"Apache-2.0"
] | 6 | 2015-03-24T22:07:11.000Z | 2017-03-28T21:31:18.000Z | a10sdk/core/cgnv6/cgnv6_fixed_nat_inside.py | deepfield/a10sdk-python | bfaa58099f51f085d5e91652d1d1a3fd5c529d5d | [
"Apache-2.0"
] | 23 | 2015-03-29T15:43:01.000Z | 2021-06-02T17:12:01.000Z | from a10sdk.common.A10BaseClass import A10BaseClass
class Inside(A10BaseClass):
"""Class Description::
Fixed NAT Inside Users.
Class inside supports CRUD Operations and inherits from `common/A10BaseClass`.
This class is the `"PARENT"` class for this module.`
:param iplist_list: {"minItems":... | 297.7 | 3,794 | 0.658885 | 1,484 | 11,908 | 5.277628 | 0.103774 | 0.055158 | 0.029877 | 0.02809 | 0.908069 | 0.878703 | 0.859678 | 0.859678 | 0.859678 | 0.852528 | 0 | 0.026038 | 0.116308 | 11,908 | 39 | 3,795 | 305.333333 | 0.718236 | 0.954484 | 0 | 0 | 0 | 0 | 0.079665 | 0.067086 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ce46596d3a133d297d8a17b580c6fc6447b58d97 | 3,146 | py | Python | CleaningBot_newcode.py | crazybiceps/Cleaning-Bot | c34606d12c74cdca026b6aa1b1f30f275cd49730 | [
"Apache-2.0"
] | null | null | null | CleaningBot_newcode.py | crazybiceps/Cleaning-Bot | c34606d12c74cdca026b6aa1b1f30f275cd49730 | [
"Apache-2.0"
] | null | null | null | CleaningBot_newcode.py | crazybiceps/Cleaning-Bot | c34606d12c74cdca026b6aa1b1f30f275cd49730 | [
"Apache-2.0"
] | null | null | null |
# Head ends here
def next_move(posr, posc, board):
p = 0
q = 0
dmin = 0
dmax = 0
position = 0
for i in range(5) :
count = 0
for j in range(5) :
if board[i][j] == "d" :
count += 1
if count == 1 :
dmax ... | 27.840708 | 60 | 0.327718 | 312 | 3,146 | 3.240385 | 0.153846 | 0.083086 | 0.035608 | 0.043521 | 0.973294 | 0.973294 | 0.963403 | 0.963403 | 0.963403 | 0.963403 | 0 | 0.032401 | 0.568341 | 3,146 | 112 | 61 | 28.089286 | 0.712077 | 0.030515 | 0 | 0.95 | 0 | 0 | 0.02629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025 | false | 0 | 0 | 0 | 0.025 | 0.15 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ce7d8511ca46810e745188dd99bc57f1ce317c91 | 49,357 | py | Python | stable_baselines/common/landmark_generator.py | spitis/stable-baselines | f62cd6698b2427c0fb5ac452b9059a59b22cde81 | [
"MIT"
] | null | null | null | stable_baselines/common/landmark_generator.py | spitis/stable-baselines | f62cd6698b2427c0fb5ac452b9059a59b22cde81 | [
"MIT"
] | 2 | 2018-11-14T22:53:17.000Z | 2018-11-15T00:06:40.000Z | stable_baselines/common/landmark_generator.py | spitis/stable-baselines | f62cd6698b2427c0fb5ac452b9059a59b22cde81 | [
"MIT"
] | null | null | null | import numpy as np, tensorflow as tf, os, cloudpickle
import tensorflow_probability as tfp
from stable_baselines.common.replay_buffer import ReplayBuffer
from stable_baselines.common import tf_util
from abc import ABC, abstractmethod
import faiss
class AbstractLandmarkGenerator(ABC):
"""
Defines interface for land... | 39.965182 | 193 | 0.67338 | 6,872 | 49,357 | 4.587602 | 0.054424 | 0.026962 | 0.024075 | 0.031466 | 0.893358 | 0.884254 | 0.871757 | 0.864937 | 0.86094 | 0.856277 | 0 | 0.010635 | 0.203679 | 49,357 | 1,234 | 194 | 39.997569 | 0.791472 | 0.099236 | 0 | 0.84642 | 0 | 0 | 0.069698 | 0.009856 | 0 | 0 | 0 | 0.001621 | 0.006928 | 1 | 0.073903 | false | 0.010393 | 0.006928 | 0.008083 | 0.120092 | 0.004619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.