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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a310360f9994b9d898a30fcbc8f3e5ffd70919a6 | 178 | py | Python | scenario/blackjack/cards_deck/__init__.py | tomasruizt/Reinforcement-Learning-Scenarios | 660175318bbecc7de51596740ddc5aa7ab993595 | [
"Apache-2.0"
] | null | null | null | scenario/blackjack/cards_deck/__init__.py | tomasruizt/Reinforcement-Learning-Scenarios | 660175318bbecc7de51596740ddc5aa7ab993595 | [
"Apache-2.0"
] | null | null | null | scenario/blackjack/cards_deck/__init__.py | tomasruizt/Reinforcement-Learning-Scenarios | 660175318bbecc7de51596740ddc5aa7ab993595 | [
"Apache-2.0"
] | null | null | null | from scenario.blackjack.cards_deck.card import Card
from scenario.blackjack.cards_deck.hand import Hand
from scenario.blackjack.cards_deck.poker_cards_deck import PokerCardsDeck
| 44.5 | 73 | 0.882022 | 26 | 178 | 5.846154 | 0.384615 | 0.236842 | 0.414474 | 0.513158 | 0.592105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067416 | 178 | 3 | 74 | 59.333333 | 0.915663 | 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 |
a351cfd92f9585e3cf4eeabff9251c58e587a911 | 17,934 | py | Python | pytpp/api/websdk/endpoints/metadata.py | Venafi/pytpp | 42af655b2403b8c9447c86962abd4aaa0201f646 | [
"MIT"
] | 4 | 2022-02-04T23:58:55.000Z | 2022-02-15T18:53:08.000Z | pytpp/api/websdk/endpoints/metadata.py | Venafi/pytpp | 42af655b2403b8c9447c86962abd4aaa0201f646 | [
"MIT"
] | null | null | null | pytpp/api/websdk/endpoints/metadata.py | Venafi/pytpp | 42af655b2403b8c9447c86962abd4aaa0201f646 | [
"MIT"
] | null | null | null | from typing import List
from pytpp.api.api_base import API, APIResponse, api_response_property
from pytpp.properties.response_objects.metadata import Metadata
from pytpp.properties.response_objects.config import Config
class _Metadata(API):
def __init__(self, api_obj):
super().__init__(api_obj=api_obj, u... | 33.458955 | 97 | 0.513605 | 1,699 | 17,934 | 5.018835 | 0.047087 | 0.061921 | 0.111411 | 0.155154 | 0.815527 | 0.763457 | 0.763457 | 0.744811 | 0.738478 | 0.738478 | 0 | 0 | 0.386751 | 17,934 | 535 | 98 | 33.521495 | 0.775323 | 0 | 0 | 0.731415 | 0 | 0 | 0.043995 | 0.008085 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242206 | false | 0 | 0.009592 | 0.117506 | 0.494005 | 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 | 1 | 0 | 0 | 0 | 9 |
a3a18d64b4778213ff2635c83bc539bc0eff8adf | 45,300 | py | Python | optimization.py | mcmahon-lab/error_mitigation_vqe | 6507daa78dfab01cdc5932892e2305750595b60a | [
"CC-BY-4.0"
] | 6 | 2021-06-23T17:25:57.000Z | 2022-03-16T04:57:53.000Z | optimization.py | mcmahon-lab/error_mitigation_vqe | 6507daa78dfab01cdc5932892e2305750595b60a | [
"CC-BY-4.0"
] | null | null | null | optimization.py | mcmahon-lab/error_mitigation_vqe | 6507daa78dfab01cdc5932892e2305750595b60a | [
"CC-BY-4.0"
] | null | null | null | import numpy as np
from copy import deepcopy
from scipy.optimize import minimize
import csv
import os
import re
import os.path
from os import path
from math import isnan
import time
from library import *
from datetime import datetime
# if you use a gpu, change this to set which gpu you use
global whichGPU
whichGPU = ... | 32.519742 | 276 | 0.680905 | 8,445 | 45,300 | 3.457075 | 0.039195 | 0.110293 | 0.043158 | 0.044597 | 0.885563 | 0.863744 | 0.844973 | 0.821853 | 0.803288 | 0.793252 | 0 | 0.027129 | 0.151302 | 45,300 | 1,392 | 277 | 32.543103 | 0.732248 | 0.051214 | 0 | 0.772358 | 0 | 0 | 0.046332 | 0.0306 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030714 | false | 0.00271 | 0.023487 | 0 | 0.102078 | 0.009033 | 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 |
a3a2a824f056a27e0d57907e9e9ad8f94db25dd4 | 131 | py | Python | rlgym/utils/reward_functions/common_rewards/__init__.py | Rolv-Arild/rocket-league-gym | f1200c161fdd4f720c52b0f962907298587102a5 | [
"Apache-2.0"
] | 63 | 2021-03-07T00:00:09.000Z | 2022-03-27T16:11:26.000Z | rlgym/utils/reward_functions/common_rewards/__init__.py | Rolv-Arild/rocket-league-gym | f1200c161fdd4f720c52b0f962907298587102a5 | [
"Apache-2.0"
] | 21 | 2021-03-12T16:02:30.000Z | 2022-03-29T01:59:32.000Z | rlgym/utils/reward_functions/common_rewards/__init__.py | Rolv-Arild/rocket-league-gym | f1200c161fdd4f720c52b0f962907298587102a5 | [
"Apache-2.0"
] | 23 | 2021-03-12T16:04:35.000Z | 2022-03-28T15:49:24.000Z | from .ball_goal_rewards import *
from .conditional_rewards import *
from .misc_rewards import *
from .player_ball_rewards import *
| 26.2 | 34 | 0.816794 | 18 | 131 | 5.611111 | 0.444444 | 0.514851 | 0.504951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122137 | 131 | 4 | 35 | 32.75 | 0.878261 | 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 |
6ed0d8d43166551421447915edcf0b873ed43a16 | 5,161 | py | Python | test.py | philbarker/ocxmd | c6374a24e9616bed647020bb9cfebfe1794523b9 | [
"Apache-2.0"
] | 8 | 2019-01-26T17:39:18.000Z | 2022-01-21T09:34:41.000Z | test.py | philbarker/ocxmd | c6374a24e9616bed647020bb9cfebfe1794523b9 | [
"Apache-2.0"
] | 4 | 2019-02-01T17:18:32.000Z | 2019-08-16T14:03:23.000Z | test.py | philbarker/ocxmd | c6374a24e9616bed647020bb9cfebfe1794523b9 | [
"Apache-2.0"
] | 1 | 2020-02-20T14:11:33.000Z | 2020-02-20T14:11:33.000Z | import markdown, pytest
from ocxmd import OCXMetadata
TESTINPUT_1_1 = """---
"@context": "http://schema.org/"
"@id": "#lesson1"
"@type": "CreativeWork"
---
#YAML to JSON-LD test
I started with some YAML and turned it into JSON-LD
"""
TESTINPUT_1_2 = """---
"@id": "#lesson1"
"@type": "CreativeWork"
---
#YAML to JSON-LD... | 32.055901 | 395 | 0.591165 | 587 | 5,161 | 5.148211 | 0.120954 | 0.05096 | 0.078756 | 0.092654 | 0.915619 | 0.896095 | 0.896095 | 0.895764 | 0.864659 | 0.844474 | 0 | 0.022175 | 0.187367 | 5,161 | 160 | 396 | 32.25625 | 0.698379 | 0 | 0 | 0.613139 | 0 | 0.036496 | 0.64503 | 0.068398 | 0 | 0 | 0 | 0 | 0.058394 | 1 | 0.029197 | false | 0 | 0.014599 | 0 | 0.043796 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
42fda4f0bc95578e4d9d4e26c33b3502b39da8ff | 46 | pyw | Python | make_gui_exe/text2qti_tk.pyw | firasm/text2qti | 588b54aab40df406a7ba24f93876d5db2c7a4757 | [
"BSD-3-Clause"
] | 98 | 2020-04-02T18:28:56.000Z | 2022-03-23T23:23:26.000Z | make_gui_exe/text2qti_tk.pyw | firasm/text2qti | 588b54aab40df406a7ba24f93876d5db2c7a4757 | [
"BSD-3-Clause"
] | 50 | 2020-04-25T02:09:09.000Z | 2022-03-11T00:29:39.000Z | make_gui_exe/text2qti_tk.pyw | firasm/text2qti | 588b54aab40df406a7ba24f93876d5db2c7a4757 | [
"BSD-3-Clause"
] | 35 | 2020-04-07T06:45:58.000Z | 2022-01-02T10:45:51.000Z | import text2qti.gui.tk
text2qti.gui.tk.main()
| 15.333333 | 22 | 0.782609 | 8 | 46 | 4.5 | 0.625 | 0.611111 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.065217 | 46 | 2 | 23 | 23 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 7 |
6e45756a8bd1da17ba6b4f096a69de3075d42b92 | 2,600 | py | Python | AdventOfCode2016/Day8/Day8.py | MattTitmas/AdventOfCode | 36be4f6bf973f77ff93b08dc69c977bb11951f27 | [
"MIT"
] | null | null | null | AdventOfCode2016/Day8/Day8.py | MattTitmas/AdventOfCode | 36be4f6bf973f77ff93b08dc69c977bb11951f27 | [
"MIT"
] | null | null | null | AdventOfCode2016/Day8/Day8.py | MattTitmas/AdventOfCode | 36be4f6bf973f77ff93b08dc69c977bb11951f27 | [
"MIT"
] | null | null | null | def part1():
values = [i.split(" ") for i in open("input.txt").read().split("\n")]
lights = [[False]*50 ,[False]*50,[False]*50,[False]*50,[False]*50,[False]*50]
for command in values:
if command[0] == "rect":
length, height = (int(i) for i in command[1].split("x"))
for i in ... | 35.616438 | 81 | 0.46 | 333 | 2,600 | 3.57958 | 0.141141 | 0.040268 | 0.060403 | 0.11745 | 0.885906 | 0.855705 | 0.855705 | 0.855705 | 0.855705 | 0.855705 | 0 | 0.04911 | 0.373462 | 2,600 | 73 | 82 | 35.616438 | 0.682627 | 0 | 0 | 0.818182 | 0 | 0 | 0.041138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0.030303 | 0 | 0 | 0.060606 | 0.045455 | 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 |
2883c403e81d4955bffeb33ffc1e00b4297b627f | 6,416 | py | Python | tests/full_wlm/test_generic_orc_launch_batch.py | MattToast/SmartSim | 4bd5e231445abd9b888561930db859062708678a | [
"BSD-2-Clause"
] | null | null | null | tests/full_wlm/test_generic_orc_launch_batch.py | MattToast/SmartSim | 4bd5e231445abd9b888561930db859062708678a | [
"BSD-2-Clause"
] | null | null | null | tests/full_wlm/test_generic_orc_launch_batch.py | MattToast/SmartSim | 4bd5e231445abd9b888561930db859062708678a | [
"BSD-2-Clause"
] | null | null | null | import os.path as osp
import time
import pytest
from smartsim import Experiment, status
# retrieved from pytest fixtures
if pytest.test_launcher not in pytest.wlm_options:
pytestmark = pytest.mark.skip(reason="Not testing WLM integrations")
def test_launch_orc_auto_batch(fileutils, wlmutils):
"""test singl... | 36.248588 | 88 | 0.70293 | 913 | 6,416 | 4.738226 | 0.142388 | 0.049931 | 0.083218 | 0.087841 | 0.860379 | 0.83657 | 0.83657 | 0.814841 | 0.814841 | 0.814841 | 0 | 0.015202 | 0.200281 | 6,416 | 176 | 89 | 36.454545 | 0.827909 | 0.179551 | 0 | 0.75 | 0 | 0 | 0.071989 | 0.03542 | 0 | 0 | 0 | 0.005682 | 0.068966 | 1 | 0.034483 | false | 0 | 0.034483 | 0 | 0.068966 | 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 |
95964216fccf50a510ca018e7e742904c1ef2d4b | 275,172 | py | Python | final_code/cosy_utils.py | madokast/cctpy | b02c64220ea533a4fc9cad0b882d1be6edadf1c0 | [
"MIT"
] | 1 | 2021-12-27T13:20:43.000Z | 2021-12-27T13:20:43.000Z | final_code/cosy_utils.py | madokast/cctpy | b02c64220ea533a4fc9cad0b882d1be6edadf1c0 | [
"MIT"
] | null | null | null | final_code/cosy_utils.py | madokast/cctpy | b02c64220ea533a4fc9cad0b882d1be6edadf1c0 | [
"MIT"
] | null | null | null | """
CCT 建模优化代码
COSY 扩展代码
作者:赵润晓
日期:2021年6月3日
"""
import multiprocessing # 多线程计算
import time # 统计计算时长
from typing import Callable, Dict, Generic, Iterable, List, NoReturn, Optional, Tuple, TypeVar, Union
import matplotlib.pyplot as plt
import math
import random # 随机数
import sys
import os # 查看CPU核心数
import numpy
fr... | 73.184043 | 196 | 0.711493 | 50,002 | 275,172 | 3.909164 | 0.223391 | 0.375948 | 0.459492 | 0.322614 | 0.514749 | 0.500957 | 0.454519 | 0.323611 | 0.186805 | 0.184267 | 0 | 0.755554 | 0.160452 | 275,172 | 3,760 | 197 | 73.184043 | 0.090546 | 0.006232 | 0 | 0.040503 | 0 | 0.838547 | 0.955243 | 0.188415 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002514 | false | 0 | 0.006704 | 0 | 0.014525 | 0.001955 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
95a1068fd47b73c0ea6441eef0e4f661f0778f44 | 459 | py | Python | test/test_move_resource.py | MoveOnLibra/libra-core | 3b04fd86d263a22e323cca873c13e6397a560f8b | [
"MIT"
] | 5 | 2020-01-06T08:31:23.000Z | 2020-10-17T19:24:30.000Z | test/test_move_resource.py | MoveOnLibra/libra-core | 3b04fd86d263a22e323cca873c13e6397a560f8b | [
"MIT"
] | 1 | 2020-04-08T10:35:48.000Z | 2020-04-08T10:35:48.000Z | test/test_move_resource.py | MoveOnLibra/libra-core | 3b04fd86d263a22e323cca873c13e6397a560f8b | [
"MIT"
] | 1 | 2020-04-07T11:19:59.000Z | 2020-04-07T11:19:59.000Z | from libra.move_resource import MoveResource
from libra.libra_timestamp import *
import pytest
def test_move_resource():
assert LibraTimestampResource.struct_identifier() == LibraTimestampResource.STRUCT_NAME
assert LibraTimestampResource.type_params() == []
assert LibraTimestampResource.struct_tag(... | 45.9 | 92 | 0.810458 | 44 | 459 | 8.204545 | 0.431818 | 0.387812 | 0.282548 | 0.204986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 459 | 9 | 93 | 51 | 0.891358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.125 | true | 0 | 0.375 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
95a4e3b4afc2442d1deaafbd510be38e658b3178 | 81 | py | Python | tests/test_src.py | he0119/action-test | 5e50ecb824cda6b5d81b67ea4ac3862aa236c355 | [
"MIT"
] | 1 | 2021-12-10T01:10:48.000Z | 2021-12-10T01:10:48.000Z | tests/test_src.py | he0119/action-test | 5e50ecb824cda6b5d81b67ea4ac3862aa236c355 | [
"MIT"
] | 23 | 2020-12-26T04:03:38.000Z | 2022-03-29T14:22:29.000Z | tests/test_src.py | he0119/action-test | 5e50ecb824cda6b5d81b67ea4ac3862aa236c355 | [
"MIT"
] | null | null | null | from src import need_test
def test_need_test():
assert need_test() is True
| 13.5 | 30 | 0.740741 | 14 | 81 | 4 | 0.642857 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197531 | 81 | 5 | 31 | 16.2 | 0.861538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
250575e005e965609f685ee366b8660a2274ab10 | 4,868 | py | Python | multiscale/msi/node_to_node.py | bowang-lab/gcn-drug-repurposing | acf6162d38528c76e5570d47a046c52c6e42624b | [
"MIT"
] | null | null | null | multiscale/msi/node_to_node.py | bowang-lab/gcn-drug-repurposing | acf6162d38528c76e5570d47a046c52c6e42624b | [
"MIT"
] | null | null | null | multiscale/msi/node_to_node.py | bowang-lab/gcn-drug-repurposing | acf6162d38528c76e5570d47a046c52c6e42624b | [
"MIT"
] | 1 | 2021-12-02T23:43:21.000Z | 2021-12-02T23:43:21.000Z | import pandas as pd
import os
import networkx as nx
class DrugToIndication():
def __init__(self, directed, file_path, sep="\t"):
self.file_path = file_path
self.directed = directed
self.sep = sep
self.load()
def load_df(self):
df = pd.read_csv(self.file_path, sep=self.... | 32.671141 | 77 | 0.590592 | 608 | 4,868 | 4.524671 | 0.113487 | 0.043621 | 0.047256 | 0.043621 | 0.934206 | 0.934206 | 0.87968 | 0.87968 | 0.87968 | 0.87968 | 0 | 0.032835 | 0.299302 | 4,868 | 148 | 78 | 32.891892 | 0.773673 | 0.020748 | 0 | 0.887097 | 0 | 0 | 0.035684 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 1 | 0.16129 | false | 0 | 0.024194 | 0 | 0.217742 | 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 |
251943d42599cc0b1b67fe6d8ed3b5cc9180aff6 | 10,740 | py | Python | test/manual/test_popsize.py | kaspermunch/argweaver | 7191343c1d43c02de04e4e0a150d77b0612728c6 | [
"MIT"
] | 31 | 2015-01-23T07:26:04.000Z | 2022-03-23T04:46:42.000Z | test/manual/test_popsize.py | kaspermunch/argweaver | 7191343c1d43c02de04e4e0a150d77b0612728c6 | [
"MIT"
] | 14 | 2015-06-21T07:09:18.000Z | 2022-02-01T21:25:46.000Z | test/manual/test_popsize.py | kaspermunch/argweaver | 7191343c1d43c02de04e4e0a150d77b0612728c6 | [
"MIT"
] | 7 | 2016-05-20T13:56:55.000Z | 2021-05-28T14:01:41.000Z |
import unittest, random
import arghmm
from rasmus.common import *
from rasmus import stats, hmm
from rasmus.testing import *
from compbio import coal, arglib, fasta
#=============================================================================
def mle_popsize_coal_times(k, times, mintime):
s = 0
i = k
... | 32.059701 | 78 | 0.48352 | 1,303 | 10,740 | 3.882579 | 0.124328 | 0.049812 | 0.023127 | 0.030836 | 0.800751 | 0.793042 | 0.792449 | 0.77031 | 0.715754 | 0.685906 | 0 | 0.058362 | 0.382588 | 10,740 | 334 | 79 | 32.155689 | 0.704569 | 0.10121 | 0 | 0.656109 | 0 | 0 | 0.013746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.027149 | null | null | 0.027149 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
255c96bfc06ed86d6d177261d55c0d0f5b5251ab | 58 | py | Python | tests/test_foo.py | pearlfranz20/AL_Core | 6592079330c7ec3ca264b86f8414970ddab06c0e | [
"MIT"
] | 10 | 2019-11-01T01:09:57.000Z | 2022-02-17T09:15:12.000Z | tests/test_foo.py | pearlfranz20/AL_Core | 6592079330c7ec3ca264b86f8414970ddab06c0e | [
"MIT"
] | 40 | 2019-08-06T18:01:31.000Z | 2021-07-15T12:38:56.000Z | tests/test_foo.py | pearlfranz20/AL_Core | 6592079330c7ec3ca264b86f8414970ddab06c0e | [
"MIT"
] | 6 | 2019-08-15T01:45:19.000Z | 2021-06-01T19:54:29.000Z | from apprentice import *
def test_placeholder():
pass | 14.5 | 24 | 0.741379 | 7 | 58 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 58 | 4 | 25 | 14.5 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
c2771fa2c248ea3908cb93602bab68267e9af5a1 | 49 | py | Python | src/game.py | half-potato/worldsim | 248726f39f4c5ec0debf248bb5bcf5b27ff6fa76 | [
"MIT"
] | null | null | null | src/game.py | half-potato/worldsim | 248726f39f4c5ec0debf248bb5bcf5b27ff6fa76 | [
"MIT"
] | 1 | 2018-01-25T03:44:41.000Z | 2018-01-25T08:09:21.000Z | src/game.py | half-potato/worldsim | 248726f39f4c5ec0debf248bb5bcf5b27ff6fa76 | [
"MIT"
] | 2 | 2018-01-26T10:12:25.000Z | 2020-10-29T21:24:21.000Z | world_time = 0
def time():
return world_time
| 12.25 | 21 | 0.693878 | 8 | 49 | 4 | 0.625 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.22449 | 49 | 3 | 22 | 16.333333 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
6c66e3e104023260b2e8399500e2f2e01d0e4984 | 200 | py | Python | HAN/__init__.py | JasperHG90/PyTorch-HAN | 6af2c9d01b2fa0cc16c31ac0a1f5d3887421a44e | [
"MIT"
] | 1 | 2020-09-17T06:54:14.000Z | 2020-09-17T06:54:14.000Z | HAN/__init__.py | JasperHG90/HAN.py | 6af2c9d01b2fa0cc16c31ac0a1f5d3887421a44e | [
"MIT"
] | null | null | null | HAN/__init__.py | JasperHG90/HAN.py | 6af2c9d01b2fa0cc16c31ac0a1f5d3887421a44e | [
"MIT"
] | null | null | null | from HAN.pytorch.model import HAN
from HAN.utils.predict import predict_HAN
from HAN.utils.train import train_HAN
from HAN.utils.preprocess import Vectorizer
from HAN.utils.preprocess import segmenter | 40 | 43 | 0.855 | 32 | 200 | 5.28125 | 0.34375 | 0.207101 | 0.284024 | 0.266272 | 0.331361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095 | 200 | 5 | 44 | 40 | 0.933702 | 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 |
66636a261a617aee1eccef54d9484dbd34614c84 | 25,763 | py | Python | mpf/tests/test_BallDeviceSwitchConfirmation.py | Scottacus64/mpf | fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a | [
"MIT"
] | 163 | 2015-01-25T02:19:50.000Z | 2022-03-26T12:00:28.000Z | mpf/tests/test_BallDeviceSwitchConfirmation.py | Scottacus64/mpf | fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a | [
"MIT"
] | 1,086 | 2015-03-23T19:53:17.000Z | 2022-03-24T20:46:11.000Z | mpf/tests/test_BallDeviceSwitchConfirmation.py | Scottacus64/mpf | fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a | [
"MIT"
] | 148 | 2015-01-28T02:31:39.000Z | 2022-03-22T13:54:01.000Z | from mpf.tests.MpfTestCase import MpfTestCase
from unittest.mock import MagicMock
class TestBallDeviceSwitchConfirmation(MpfTestCase):
def __init__(self, test_map):
super().__init__(test_map)
self._captured = 0
self._enter = -1
self._missing = 0
self._requesting = 0
... | 38.683183 | 88 | 0.651244 | 3,073 | 25,763 | 5.213147 | 0.056622 | 0.118914 | 0.048689 | 0.058427 | 0.930462 | 0.919975 | 0.89819 | 0.886891 | 0.870225 | 0.836142 | 0 | 0.027554 | 0.259015 | 25,763 | 665 | 89 | 38.741353 | 0.811629 | 0.067772 | 0 | 0.88866 | 0 | 0 | 0.087047 | 0.039392 | 0 | 0 | 0 | 0.001504 | 0.449485 | 1 | 0.028866 | false | 0 | 0.004124 | 0.004124 | 0.039175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
66ab0ecc2bd7e7fcbbbffc51c751372ae5c555db | 120 | py | Python | pycspr/serialisation/json/deploy/__init__.py | hboshnak/casper-python-sdk | 19db9bf3b4720d5b4e133463e5a32fd64f1c33ed | [
"Apache-2.0"
] | null | null | null | pycspr/serialisation/json/deploy/__init__.py | hboshnak/casper-python-sdk | 19db9bf3b4720d5b4e133463e5a32fd64f1c33ed | [
"Apache-2.0"
] | null | null | null | pycspr/serialisation/json/deploy/__init__.py | hboshnak/casper-python-sdk | 19db9bf3b4720d5b4e133463e5a32fd64f1c33ed | [
"Apache-2.0"
] | null | null | null | from pycspr.serialisation.json.deploy.decoder import decode
from pycspr.serialisation.json.deploy.encoder import encode
| 40 | 59 | 0.866667 | 16 | 120 | 6.5 | 0.625 | 0.192308 | 0.442308 | 0.519231 | 0.634615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 120 | 2 | 60 | 60 | 0.928571 | 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 |
66b917252d2082fd5ad755642f9eb67097330191 | 2,422 | py | Python | tests/test_validation.py | kpdemetriou/newhope-cffi | f6e8c8cd1649ea2fbc1afff601e7aa9fce2e7a89 | [
"BSD-3-Clause"
] | 1 | 2021-08-04T18:32:45.000Z | 2021-08-04T18:32:45.000Z | tests/test_validation.py | kpdemetriou/newhope-cffi | f6e8c8cd1649ea2fbc1afff601e7aa9fce2e7a89 | [
"BSD-3-Clause"
] | null | null | null | tests/test_validation.py | kpdemetriou/newhope-cffi | f6e8c8cd1649ea2fbc1afff601e7aa9fce2e7a89 | [
"BSD-3-Clause"
] | null | null | null | import pytest
import newhope.cca
import newhope.cpa
@pytest.mark.parametrize("variant", [newhope.cca, newhope.cpa])
def test_encrypt_public_key_type(variant):
pk, sk = variant.generate_keypair()
with pytest.raises(TypeError):
variant.encrypt("0" * len(pk))
@pytest.mark.parametrize("variant", [newho... | 29.536585 | 63 | 0.71924 | 300 | 2,422 | 5.663333 | 0.106667 | 0.058858 | 0.111242 | 0.148323 | 0.956445 | 0.947028 | 0.947028 | 0.947028 | 0.937022 | 0.908181 | 0 | 0.004346 | 0.144922 | 2,422 | 81 | 64 | 29.901235 | 0.816031 | 0 | 0 | 0.648148 | 1 | 0 | 0.029728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.055556 | 0 | 0.222222 | 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 |
66ed6b9e3ac2b0921f982c43897623714cc35dde | 121 | py | Python | src/kaggle_web_traffic_forecasting/data_processing/__init__.py | DSmmartin/KaggleTimeSeries | 54a6627487070b28b2eea4e27bcb35c48acedf19 | [
"MIT"
] | null | null | null | src/kaggle_web_traffic_forecasting/data_processing/__init__.py | DSmmartin/KaggleTimeSeries | 54a6627487070b28b2eea4e27bcb35c48acedf19 | [
"MIT"
] | null | null | null | src/kaggle_web_traffic_forecasting/data_processing/__init__.py | DSmmartin/KaggleTimeSeries | 54a6627487070b28b2eea4e27bcb35c48acedf19 | [
"MIT"
] | null | null | null | """ Module to encapsulate data processing requieremnts
"""
from .dataset_train_transpose import dataset_train_transpose
| 24.2 | 60 | 0.834711 | 14 | 121 | 6.928571 | 0.785714 | 0.247423 | 0.43299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107438 | 121 | 4 | 61 | 30.25 | 0.898148 | 0.413223 | 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 |
dd4828866561d98a805fab89c485ac285146427a | 8,153 | py | Python | models/switchable_LIQ_wn_qsam.py | zhuang-group/SAQ | 594e9c74944999766e119e7137f50583aeedf52b | [
"Apache-2.0"
] | 22 | 2021-11-24T23:19:26.000Z | 2022-03-10T12:08:32.000Z | models/switchable_LIQ_wn_qsam.py | zip-group/SAQ | 594e9c74944999766e119e7137f50583aeedf52b | [
"Apache-2.0"
] | null | null | null | models/switchable_LIQ_wn_qsam.py | zip-group/SAQ | 594e9c74944999766e119e7137f50583aeedf52b | [
"Apache-2.0"
] | 4 | 2021-11-29T04:10:32.000Z | 2021-12-03T03:08:19.000Z | import torch
import torch.nn as nn
from quan_models.LIQ import normalization_on_weights, quantization, quantize_activation
from torch.nn import functional as F
class SwitchableQConv2d(nn.Conv2d):
"""
custom convolutional layers for quantization with sam
"""
def __init__(
self,
... | 33.413934 | 88 | 0.54434 | 945 | 8,153 | 4.428571 | 0.111111 | 0.060215 | 0.066906 | 0.060215 | 0.864994 | 0.834887 | 0.834887 | 0.798566 | 0.798566 | 0.798566 | 0 | 0.018094 | 0.362811 | 8,153 | 243 | 89 | 33.55144 | 0.787488 | 0.01202 | 0 | 0.792627 | 0 | 0 | 0.034443 | 0.007069 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.018433 | 0 | 0.147465 | 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 |
dd51ff26edcef7a5d2bcdc19b9c8d8d9bf0b7175 | 211 | py | Python | utilities/strings.py | codeEmitter/token-hunter | 46809c64074b68bb819ea50911bc65f246425106 | [
"BSD-3-Clause"
] | 35 | 2021-01-06T08:26:38.000Z | 2022-01-18T21:18:46.000Z | utilities/strings.py | codeEmitter/token-hunter | 46809c64074b68bb819ea50911bc65f246425106 | [
"BSD-3-Clause"
] | null | null | null | utilities/strings.py | codeEmitter/token-hunter | 46809c64074b68bb819ea50911bc65f246425106 | [
"BSD-3-Clause"
] | 13 | 2020-11-04T05:37:43.000Z | 2022-01-12T10:22:59.000Z | from utilities import constants
def truncate(target):
return (target[:constants.Strings.max_string_length()] + "...") \
if len(target) > constants.Strings.max_string_length() \
else target
| 26.375 | 69 | 0.682464 | 24 | 211 | 5.833333 | 0.625 | 0.214286 | 0.314286 | 0.357143 | 0.528571 | 0.528571 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189573 | 211 | 7 | 70 | 30.142857 | 0.818713 | 0 | 0 | 0 | 0 | 0 | 0.014218 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
dd59b5931e2a88699381bbc0c6d5c233ecbec835 | 48 | py | Python | pysac/mhs_atmosphere/save_atmos/__init__.py | SolarDrew/pysac | 9fd86dd03966b7e7f90653a47a2ccca7964c83bc | [
"BSD-2-Clause"
] | null | null | null | pysac/mhs_atmosphere/save_atmos/__init__.py | SolarDrew/pysac | 9fd86dd03966b7e7f90653a47a2ccca7964c83bc | [
"BSD-2-Clause"
] | null | null | null | pysac/mhs_atmosphere/save_atmos/__init__.py | SolarDrew/pysac | 9fd86dd03966b7e7f90653a47a2ccca7964c83bc | [
"BSD-2-Clause"
] | null | null | null | #from mhs_snapshot import *
import mhs_snapshot
| 16 | 27 | 0.833333 | 7 | 48 | 5.428571 | 0.571429 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 2 | 28 | 24 | 0.904762 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7c03563b23ef11d50ee88655b3e455b173fffa1f | 42 | py | Python | webapp/core/context_processors/__init__.py | PoCDAB/cfns-webapp | 69637efa2046a04172898d3f41520e060efb77f5 | [
"MIT"
] | null | null | null | webapp/core/context_processors/__init__.py | PoCDAB/cfns-webapp | 69637efa2046a04172898d3f41520e060efb77f5 | [
"MIT"
] | null | null | null | webapp/core/context_processors/__init__.py | PoCDAB/cfns-webapp | 69637efa2046a04172898d3f41520e060efb77f5 | [
"MIT"
] | null | null | null | from .header_context import header_context | 42 | 42 | 0.904762 | 6 | 42 | 6 | 0.666667 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b04b4f98a1dfc99235097f1291e58404158498a5 | 4,019 | py | Python | test/x86_64/encoding/test_mask.py | lemire/PeachPy | 650a4d866bd67d007371effdc7c096788f0acf20 | [
"BSD-2-Clause"
] | 1 | 2016-01-13T20:41:42.000Z | 2016-01-13T20:41:42.000Z | test/x86_64/encoding/test_mask.py | lemire/PeachPy | 650a4d866bd67d007371effdc7c096788f0acf20 | [
"BSD-2-Clause"
] | null | null | null | test/x86_64/encoding/test_mask.py | lemire/PeachPy | 650a4d866bd67d007371effdc7c096788f0acf20 | [
"BSD-2-Clause"
] | 1 | 2019-04-20T12:55:12.000Z | 2019-04-20T12:55:12.000Z | # This file is auto-generated by /codegen/x86_64_test_encoding.py
# Reference opcodes are generated by:
# GNU assembler (GNU Binutils) 2.25
from peachpy.x86_64 import *
import unittest
class TestKADDB(unittest.TestCase):
def runTest(self):
pass
class TestKADDW(unittest.TestCase):
def runTest(se... | 15.223485 | 65 | 0.65887 | 438 | 4,019 | 6.03653 | 0.184932 | 0.308623 | 0.36649 | 0.501513 | 0.750378 | 0.750378 | 0.737519 | 0 | 0 | 0 | 0 | 0.003645 | 0.249067 | 4,019 | 263 | 66 | 15.281369 | 0.872432 | 0.034088 | 0 | 0.658065 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.329032 | false | 0.329032 | 0.012903 | 0 | 0.670968 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 9 |
c6b8c6b83a2e644e213e34c20a0f2192aabd005a | 3,035 | py | Python | edr/audiofeedback.py | blacksurgeon/edr | 809b30a0247961f6b92a968696afa4383c867b5e | [
"Apache-2.0"
] | 74 | 2018-01-30T10:44:20.000Z | 2022-03-24T23:13:30.000Z | edr/audiofeedback.py | blacksurgeon/edr | 809b30a0247961f6b92a968696afa4383c867b5e | [
"Apache-2.0"
] | 329 | 2017-11-20T12:18:21.000Z | 2022-03-31T22:21:49.000Z | edr/audiofeedback.py | blacksurgeon/edr | 809b30a0247961f6b92a968696afa4383c867b5e | [
"Apache-2.0"
] | 15 | 2018-02-08T09:22:46.000Z | 2022-03-27T13:05:54.000Z | from __future__ import absolute_import
from sys import platform
import os.path
import utils2to3
if platform == 'darwin':
from AppKit import NSSound
class AudioFeedback(object):
def __init__(self):
self.snd_warn = NSSound.alloc().initWithContentsOfFile_byReference_(utils2to3.abspathmake... | 37.469136 | 155 | 0.674465 | 335 | 3,035 | 5.659701 | 0.116418 | 0.088608 | 0.237342 | 0.294304 | 0.811709 | 0.784283 | 0.778481 | 0.778481 | 0.772679 | 0.756329 | 0 | 0.01666 | 0.208896 | 3,035 | 80 | 156 | 37.9375 | 0.773011 | 0 | 0 | 0.653846 | 0 | 0 | 0.127842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.288462 | false | 0 | 0.134615 | 0 | 0.480769 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
05c9071cf71c2364132fe0892d113f0b3bd9f5a7 | 86 | py | Python | exercises/practice/prime-number/prime.py | exercism-bot/z3 | 5e32374acd1fa31f15919aa09880f04f1f17f975 | [
"MIT"
] | 6 | 2021-02-16T18:12:57.000Z | 2021-03-18T16:44:26.000Z | exercises/practice/prime-number/prime.py | exercism-bot/z3 | 5e32374acd1fa31f15919aa09880f04f1f17f975 | [
"MIT"
] | 38 | 2021-02-16T15:17:49.000Z | 2021-08-24T07:28:39.000Z | exercises/practice/prime-number/prime.py | exercism-bot/z3 | 5e32374acd1fa31f15919aa09880f04f1f17f975 | [
"MIT"
] | 7 | 2021-02-17T14:04:33.000Z | 2021-06-01T08:16:50.000Z | from z3 import *
def prime_number(x):
# TODO: Write your code here
pass | 12.285714 | 32 | 0.616279 | 13 | 86 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.313953 | 86 | 7 | 33 | 12.285714 | 0.864407 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0.333333 | false | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
af3c35622a8c302280352e599199c1ec78983300 | 264 | py | Python | trimtuner/trimtuner/__init__.py | pedrogbmendes/TrimTuner | a9dec1f1ac610e6ec6d54cfaf5f9c93bc4f80f97 | [
"MIT"
] | null | null | null | trimtuner/trimtuner/__init__.py | pedrogbmendes/TrimTuner | a9dec1f1ac610e6ec6d54cfaf5f9c93bc4f80f97 | [
"MIT"
] | null | null | null | trimtuner/trimtuner/__init__.py | pedrogbmendes/TrimTuner | a9dec1f1ac610e6ec6d54cfaf5f9c93bc4f80f97 | [
"MIT"
] | 1 | 2021-03-11T14:46:24.000Z | 2021-03-11T14:46:24.000Z | from .trimtuner import trimtuner
from .incumbent_estimation import incumbent_estimation_cea
from .incumbent_estimation import incumbent_estimation
from .incumbent_estimation import incumbent_estimation_noconstraints
from .initial_sampling import initial_sampling
| 37.714286 | 68 | 0.901515 | 30 | 264 | 7.6 | 0.3 | 0.5 | 0.302632 | 0.381579 | 0.631579 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 264 | 6 | 69 | 44 | 0.938272 | 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 |
af612954b17904d574cfb25d491c764c449f3de0 | 77 | py | Python | www/apps/portal/views/__init__.py | un33k/outsourcefactor | c48dbd11b74ba5fb72b85f05c431a16287f62507 | [
"MIT"
] | 2 | 2018-12-23T04:14:32.000Z | 2018-12-23T15:02:08.000Z | www/apps/portal/views/__init__.py | un33k/outsourcefactor | c48dbd11b74ba5fb72b85f05c431a16287f62507 | [
"MIT"
] | null | null | null | www/apps/portal/views/__init__.py | un33k/outsourcefactor | c48dbd11b74ba5fb72b85f05c431a16287f62507 | [
"MIT"
] | 1 | 2019-11-17T19:53:07.000Z | 2019-11-17T19:53:07.000Z | from talent_view import *
from job_view import *
from business_view import *
| 19.25 | 27 | 0.805195 | 12 | 77 | 4.916667 | 0.5 | 0.508475 | 0.474576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 77 | 3 | 28 | 25.666667 | 0.907692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
af8241ae44753bdd4f39b693868628fad8c2d77c | 42,734 | py | Python | dashboard/cloop/utils.py | looptool/download | 3f471e6c8ac2ad65d8659163a3f5e4fb36bdd093 | [
"CC0-1.0"
] | 9 | 2016-10-04T21:57:03.000Z | 2019-10-07T15:01:39.000Z | dashboard/cloop/utils.py | looptool/download | 3f471e6c8ac2ad65d8659163a3f5e4fb36bdd093 | [
"CC0-1.0"
] | 10 | 2016-07-21T09:26:31.000Z | 2017-03-15T07:29:43.000Z | dashboard/cloop/utils.py | looptool/download | 3f471e6c8ac2ad65d8659163a3f5e4fb36bdd093 | [
"CC0-1.0"
] | 3 | 2017-03-11T23:50:00.000Z | 2018-03-05T20:02:02.000Z | """
Loop Dashboard utils
Contains methods to process data for dashboards dynamically
Todo:
- Pandas has bug that is stopping the database from being connected to using a connection string from the settings.py file
"""
from django.db import connections
from datetime import datetime, date, timedelta
i... | 48.950745 | 409 | 0.662751 | 6,226 | 42,734 | 4.372149 | 0.064247 | 0.045259 | 0.012343 | 0.010029 | 0.809265 | 0.794423 | 0.78568 | 0.773447 | 0.753169 | 0.727637 | 0 | 0.008642 | 0.203889 | 42,734 | 872 | 410 | 49.006881 | 0.791482 | 0.012075 | 0 | 0.676985 | 0 | 0.0821 | 0.3258 | 0.062723 | 0.001346 | 0 | 0 | 0.00344 | 0 | 0 | null | null | 0.002692 | 0.012113 | null | null | 0.004038 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
af838ba79021336d95ebcdf3796b45bbdae8a663 | 49,478 | py | Python | utils/tests/test_outline_complete.py | rafsaf/Plemiona_Planer | 1a0e2da0c4b18f1abd1df876f688c6442cba17ce | [
"Apache-2.0"
] | 2 | 2020-11-15T12:50:07.000Z | 2020-11-17T21:54:54.000Z | utils/tests/test_outline_complete.py | rafsaf/Plemiona_Planer | 1a0e2da0c4b18f1abd1df876f688c6442cba17ce | [
"Apache-2.0"
] | 21 | 2021-11-01T14:04:19.000Z | 2022-03-25T06:31:03.000Z | utils/tests/test_outline_complete.py | rafsaf/Tribal-Wars-Planer | 083af9b1efe814be3abe975b9ac8faccc00ebb09 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Rafał Safin (rafsaf). All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | 46.854167 | 97 | 0.666862 | 6,428 | 49,478 | 5.011357 | 0.047293 | 0.298016 | 0.428895 | 0.12138 | 0.90569 | 0.873778 | 0.857449 | 0.815478 | 0.807842 | 0.804955 | 0 | 0.069893 | 0.202757 | 49,478 | 1,055 | 98 | 46.898578 | 0.746742 | 0.031529 | 0 | 0.77234 | 0 | 0 | 0.015121 | 0.000877 | 0 | 0 | 0 | 0 | 0.697872 | 1 | 0.02234 | false | 0 | 0.012766 | 0.001064 | 0.038298 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
bb84e919b80e3910f2e1c0fbb67610f9e8d0b9d2 | 8,241 | py | Python | python/sklearn/linear-regression/back/extract_data.py | lijiansong/lang | e255709da2b12e09dea45f86d54f77a19b96f13b | [
"WTFPL"
] | 1 | 2020-01-09T03:22:09.000Z | 2020-01-09T03:22:09.000Z | python/sklearn/linear-regression/back/extract_data.py | lijiansong/lang | e255709da2b12e09dea45f86d54f77a19b96f13b | [
"WTFPL"
] | null | null | null | python/sklearn/linear-regression/back/extract_data.py | lijiansong/lang | e255709da2b12e09dea45f86d54f77a19b96f13b | [
"WTFPL"
] | null | null | null | #!/usr/bin/env python3
import sys
import re
import os
import collections
def extract_end2end_fps(end2end_file_path):
file_reader = open(end2end_file_path, 'r')
prefix = os.getcwd().split("/")[-2]
file_writer = open(prefix + '-end2end_fps.txt', 'w')
data_list = []
sparse_round_count = {}
try:
... | 41.832487 | 170 | 0.608421 | 1,130 | 8,241 | 4.099115 | 0.10531 | 0.094991 | 0.079447 | 0.043178 | 0.834629 | 0.788212 | 0.778066 | 0.767271 | 0.744603 | 0.744603 | 0 | 0.015923 | 0.268414 | 8,241 | 196 | 171 | 42.045918 | 0.752364 | 0.078874 | 0 | 0.729032 | 0 | 0 | 0.024732 | 0.003042 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025806 | false | 0 | 0.025806 | 0 | 0.051613 | 0.109677 | 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 |
bbb68b7a72e84662300bafb2dad9de321d542a31 | 5,209 | py | Python | List/LvupStats.py | 1234567890num/KH2Randomizer | 2722b2f8f324246300d9c16637243c942adf14d1 | [
"Apache-2.0"
] | 7 | 2021-09-04T03:04:16.000Z | 2022-02-04T17:57:22.000Z | List/LvupStats.py | 1234567890num/KH2Randomizer | 2722b2f8f324246300d9c16637243c942adf14d1 | [
"Apache-2.0"
] | 48 | 2021-05-26T11:59:11.000Z | 2022-03-30T01:59:23.000Z | List/LvupStats.py | 1234567890num/KH2Randomizer | 2722b2f8f324246300d9c16637243c942adf14d1 | [
"Apache-2.0"
] | 15 | 2021-04-10T18:31:47.000Z | 2022-03-31T17:32:45.000Z | class Stats:
def getLevelStats():
return [
"Str",
"Str",
"Str",
"Str",
"Str",
"Str",
"Str",
"Str",
"Str",
"Str",
"Str",
"Str",
"Str",
"Str",... | 17.900344 | 126 | 0.118065 | 222 | 5,209 | 2.77027 | 0.117117 | 0.585366 | 0.868293 | 1.144715 | 0.788618 | 0.788618 | 0.788618 | 0.788618 | 0.788618 | 0.788618 | 0 | 0.00466 | 0.711653 | 5,209 | 291 | 126 | 17.900344 | 0.404794 | 0.007295 | 0 | 0.975694 | 0 | 0 | 0.098453 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010417 | true | 0 | 0 | 0.010417 | 0.024306 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
a5223ad5b0b8dc0ef1dbe9c526990796a322f233 | 3,526 | py | Python | Python/markdownTableOfContents/test/test_markdown_toc.py | toddnguyen47/utility-files | de7d9839b5265c10d7ec017f8e08dfb8d6caac2a | [
"MIT"
] | null | null | null | Python/markdownTableOfContents/test/test_markdown_toc.py | toddnguyen47/utility-files | de7d9839b5265c10d7ec017f8e08dfb8d6caac2a | [
"MIT"
] | 1 | 2021-04-20T22:01:09.000Z | 2021-04-20T22:01:09.000Z | Python/markdownTableOfContents/test/test_markdown_toc.py | toddnguyen47/utility-files | de7d9839b5265c10d7ec017f8e08dfb8d6caac2a | [
"MIT"
] | 1 | 2021-03-18T03:42:03.000Z | 2021-03-18T03:42:03.000Z | import unittest
import markdown_toc
class TestMarkdownToc(unittest.TestCase):
"""
Unit test class. Run with the following command:
`python -m unittest discover ./test/`
"""
def setUp(self) -> None:
self.filepath = "test.md"
self.markdown_toc_obj = markdown_toc.MarkdownToc(self.file... | 51.101449 | 111 | 0.697107 | 456 | 3,526 | 5.019737 | 0.164474 | 0.177807 | 0.229358 | 0.275229 | 0.760157 | 0.750546 | 0.736566 | 0.734819 | 0.712538 | 0.674967 | 0 | 0.00561 | 0.191151 | 3,526 | 68 | 112 | 51.852941 | 0.796985 | 0.02439 | 0 | 0.545455 | 0 | 0.036364 | 0.205323 | 0.054109 | 0 | 0 | 0 | 0 | 0.345455 | 1 | 0.127273 | false | 0 | 0.036364 | 0 | 0.181818 | 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 |
a53077dccce47d64255d8325493c04c484ad64e6 | 116 | py | Python | static/py/findPidName.py | jayhsieh/Django-based-stock-trading-platform | eefcfff8e895065345a7a2e73fb8722194f8339f | [
"MIT"
] | 3 | 2019-10-26T05:10:23.000Z | 2022-01-31T21:26:37.000Z | static/py/findPidName.py | ajmal017/Django-based-stock-trading-platform | eefcfff8e895065345a7a2e73fb8722194f8339f | [
"MIT"
] | null | null | null | static/py/findPidName.py | ajmal017/Django-based-stock-trading-platform | eefcfff8e895065345a7a2e73fb8722194f8339f | [
"MIT"
] | 10 | 2020-01-18T13:33:14.000Z | 2022-03-16T18:42:50.000Z | import os
import psutil
def find_procs_by_name(pid):
p = psutil.Process(pid)
find_procs_by_name(12988)
| 14.5 | 29 | 0.724138 | 19 | 116 | 4.105263 | 0.631579 | 0.230769 | 0.282051 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053763 | 0.198276 | 116 | 7 | 30 | 16.571429 | 0.784946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a5861887ef775c7c8f1a3e7c26ce1c008f064ce5 | 183 | py | Python | test.py | snyxan/ParlAI | 521e893c2cbe50682d5f0db03f235787cc383d0f | [
"MIT"
] | 1 | 2021-12-13T10:30:44.000Z | 2021-12-13T10:30:44.000Z | test.py | snyxan/ParlAI | 521e893c2cbe50682d5f0db03f235787cc383d0f | [
"MIT"
] | null | null | null | test.py | snyxan/ParlAI | 521e893c2cbe50682d5f0db03f235787cc383d0f | [
"MIT"
] | null | null | null | print('aaa')
print('adaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa11aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
| 61 | 169 | 0.945355 | 4 | 183 | 43.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01105 | 0.010929 | 183 | 2 | 170 | 91.5 | 0.944751 | 0 | 0 | 0 | 0 | 0 | 0.89071 | 0.874317 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
3c0686a2b56f1750fcf9278e4a7915d9d4789160 | 278 | py | Python | python/anyascii/_data/_11e.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_11e.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_11e.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b=" k g ng p b m t d n c j ny y r l w s ' i u e o . *" | 278 | 278 | 0.086331 | 22 | 278 | 1.090909 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.892086 | 278 | 1 | 278 | 278 | 0.8 | 0 | 0 | 0 | 0 | 1 | 0.982079 | 0 | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3c0eb310236b04c490776b835a2124b615898e63 | 1,422 | py | Python | tests/test_csr_utils.py | narges-rzv/csr_utils | 9a643b4a7ab2ccc889664ea63e9bff764f8cbc8b | [
"MIT"
] | null | null | null | tests/test_csr_utils.py | narges-rzv/csr_utils | 9a643b4a7ab2ccc889664ea63e9bff764f8cbc8b | [
"MIT"
] | null | null | null | tests/test_csr_utils.py | narges-rzv/csr_utils | 9a643b4a7ab2ccc889664ea63e9bff764f8cbc8b | [
"MIT"
] | null | null | null | import pytest
import csr_utils
def test_csr_utils_import():
x = csr_utils.csr_matrix(csr_utils.np.array([[1, 0], [3, 0], [2, 2]], dtype=float))
assert len(x.shape) == 2
assert x.shape == (3,2)
def test_csr_utils_normed_single_observation():
x = csr_utils.csr_matrix(csr_utils.np.array([[1, 0], [3, 0], ... | 45.870968 | 98 | 0.680028 | 246 | 1,422 | 3.699187 | 0.142276 | 0.272527 | 0.208791 | 0.164835 | 0.889011 | 0.889011 | 0.83956 | 0.76044 | 0.76044 | 0.76044 | 0 | 0.053279 | 0.142053 | 1,422 | 30 | 99 | 47.4 | 0.692623 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 1 | 0.166667 | false | 0 | 0.125 | 0 | 0.291667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
3c69ac5bfc90fc24c04db9a82d85ecd3077b5088 | 6,890 | py | Python | tests/integration/tree/test_covarying_evolutionary_rates_integration.py | yuzhenpeng/PhyKIT | 167b9dfe0dd0bddd4b23492d9a3dc34e56debbd7 | [
"MIT"
] | 26 | 2020-10-28T10:33:33.000Z | 2022-02-04T14:59:22.000Z | tests/integration/tree/test_covarying_evolutionary_rates_integration.py | yuzhenpeng/PhyKIT | 167b9dfe0dd0bddd4b23492d9a3dc34e56debbd7 | [
"MIT"
] | 4 | 2021-03-28T22:05:39.000Z | 2022-03-22T00:33:01.000Z | tests/integration/tree/test_covarying_evolutionary_rates_integration.py | JLSteenwyk/PhyKIT | 0b3194d1bb5c189993b256fe96011cce48b9bbb4 | [
"MIT"
] | 4 | 2020-11-06T11:58:25.000Z | 2021-08-17T16:57:51.000Z | import pytest
import sys
from math import isclose
from mock import patch, call
from pathlib import Path
from textwrap import dedent
from phykit.phykit import Phykit
here = Path(__file__)
@pytest.mark.integration
class TestCovaryingEvolutionaryRates(object):
@patch("builtins.print")
def test_covarying_evolut... | 37.650273 | 94 | 0.614078 | 827 | 6,890 | 4.859734 | 0.114873 | 0.179149 | 0.08211 | 0.126897 | 0.901468 | 0.898731 | 0.895745 | 0.895745 | 0.895745 | 0.870863 | 0 | 0.03711 | 0.260813 | 6,890 | 182 | 95 | 37.857143 | 0.752013 | 0 | 0 | 0.723926 | 0 | 0 | 0.348041 | 0.269521 | 0 | 0 | 0 | 0 | 0.09816 | 1 | 0.06135 | false | 0 | 0.042945 | 0 | 0.110429 | 0.147239 | 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 |
b1ecfaed956213cb559476669bc978d1f15c3ac4 | 9,149 | py | Python | tests/test_series/test_get.py | bearsh/raccoon | bd7a59c3dcf7ad7b995194a4a49631759d9e565c | [
"MIT"
] | 62 | 2016-07-11T01:23:15.000Z | 2022-01-14T17:42:17.000Z | tests/test_series/test_get.py | bearsh/raccoon | bd7a59c3dcf7ad7b995194a4a49631759d9e565c | [
"MIT"
] | 13 | 2016-07-11T01:24:02.000Z | 2021-05-17T14:51:58.000Z | tests/test_series/test_get.py | bearsh/raccoon | bd7a59c3dcf7ad7b995194a4a49631759d9e565c | [
"MIT"
] | 14 | 2017-03-22T17:23:02.000Z | 2021-05-08T05:16:30.000Z | import pytest
import raccoon as rc
from raccoon.utils import assert_series_equal
def test_get_cell():
actual = rc.Series([1, 2, 3], index=[10, 11, 13], sort=False)
assert actual.get(10) == 1
assert actual.get(11) == 2
assert actual.get(13) == 3
# test items not in index raise errors
with py... | 35.324324 | 92 | 0.609575 | 1,556 | 9,149 | 3.442802 | 0.050771 | 0.095576 | 0.174538 | 0.179205 | 0.893971 | 0.846183 | 0.828635 | 0.790741 | 0.746127 | 0.711779 | 0 | 0.074879 | 0.185485 | 9,149 | 258 | 93 | 35.46124 | 0.643988 | 0.055416 | 0 | 0.339744 | 0 | 0 | 0.011136 | 0 | 0 | 0 | 0 | 0 | 0.551282 | 1 | 0.089744 | false | 0 | 0.019231 | 0 | 0.108974 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
594d3c9bd6b8ec63e69aca0d00761e2b0bc27d98 | 83 | py | Python | camiseta/__init__.py | adrien4g/camiseta | c07a470de8a11705f63b0bb7df67f5df781b15a1 | [
"MIT"
] | null | null | null | camiseta/__init__.py | adrien4g/camiseta | c07a470de8a11705f63b0bb7df67f5df781b15a1 | [
"MIT"
] | null | null | null | camiseta/__init__.py | adrien4g/camiseta | c07a470de8a11705f63b0bb7df67f5df781b15a1 | [
"MIT"
] | null | null | null | from camiseta.tag import *
from camiseta.utils import *
from camiseta.info import * | 27.666667 | 28 | 0.795181 | 12 | 83 | 5.5 | 0.5 | 0.545455 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 83 | 3 | 29 | 27.666667 | 0.916667 | 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 |
3cbe34b8351829c7ae9cd837efaffc32facfcf8a | 23,077 | py | Python | eeauditor/auditors/aws/Amazon_Elasticache_Redis_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 442 | 2020-03-15T20:56:36.000Z | 2022-03-31T22:13:07.000Z | eeauditor/auditors/aws/Amazon_Elasticache_Redis_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 57 | 2020-03-15T22:09:56.000Z | 2022-03-31T13:17:06.000Z | eeauditor/auditors/aws/Amazon_Elasticache_Redis_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 59 | 2020-03-15T21:19:10.000Z | 2022-03-31T15:01:31.000Z | #This file is part of ElectricEye.
#SPDX-License-Identifier: Apache-2.0
#Licensed to the Apache Software Foundation (ASF) under one
#or more contributor license agreements. See the NOTICE file
#distributed with this work for additional information
#regarding copyright ownership. The ASF licenses this file
#to you un... | 51.975225 | 216 | 0.461758 | 1,824 | 23,077 | 5.832237 | 0.143092 | 0.021433 | 0.032149 | 0.039293 | 0.899135 | 0.893025 | 0.892743 | 0.890299 | 0.879207 | 0.87413 | 0 | 0.050702 | 0.438489 | 23,077 | 444 | 217 | 51.975225 | 0.770258 | 0.0585 | 0 | 0.838308 | 0 | 0.032338 | 0.383878 | 0.065163 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007463 | false | 0.014925 | 0.007463 | 0 | 0.014925 | 0.004975 | 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 |
a719cd95f8a7c4cbd9eb3b01b6aab05cc564f0f4 | 131 | py | Python | pyaniml/utility/__init__.py | FAIRChemistry/pyAnIML | f324b13691514f1ea2972ca4a890a67fb4bef316 | [
"MIT"
] | null | null | null | pyaniml/utility/__init__.py | FAIRChemistry/pyAnIML | f324b13691514f1ea2972ca4a890a67fb4bef316 | [
"MIT"
] | 3 | 2022-03-19T13:12:26.000Z | 2022-03-20T19:25:52.000Z | pyaniml/utility/__init__.py | FAIRChemistry/pyAnIML | f324b13691514f1ea2972ca4a890a67fb4bef316 | [
"MIT"
] | null | null | null | from pyaniml.utility.utils import attribute
from pyaniml.utility.utils import element
from pyaniml.utility.utils import SchemaBase
| 32.75 | 44 | 0.862595 | 18 | 131 | 6.277778 | 0.444444 | 0.292035 | 0.477876 | 0.610619 | 0.769912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 131 | 3 | 45 | 43.666667 | 0.94958 | 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 |
5959d372854096b787e072f74fc484e5364eac31 | 1,772 | py | Python | tests/test_csv_formatter.py | nmrazvan/vaccinare-covid-api | aa7e4ecdb1c7cf5da2a80e89bd8f809b2b7b6557 | [
"MIT"
] | 5 | 2021-01-22T12:45:16.000Z | 2021-03-12T07:03:44.000Z | tests/test_csv_formatter.py | nmrazvan/vaccinare-covid-api | aa7e4ecdb1c7cf5da2a80e89bd8f809b2b7b6557 | [
"MIT"
] | 1 | 2021-01-19T08:12:43.000Z | 2021-01-19T11:26:04.000Z | tests/test_csv_formatter.py | nmrazvan/vaccinare-covid-api | aa7e4ecdb1c7cf5da2a80e89bd8f809b2b7b6557 | [
"MIT"
] | 1 | 2021-03-12T17:29:25.000Z | 2021-03-12T17:29:25.000Z | from datetime import datetime
from vaccinare_covid_api.formatters import CsvFormatter
from io import StringIO
def test_csv_formatter_with_simple_header():
s = StringIO()
csv = CsvFormatter(s, {"centre.id": "ID", "slot.startTime.date": "Date"})
csv.start()
csv.write({"id": 76}, {"startTime": datetime.... | 39.377778 | 103 | 0.613995 | 295 | 1,772 | 3.630508 | 0.169492 | 0.078431 | 0.065359 | 0.189542 | 0.888889 | 0.867414 | 0.824463 | 0.824463 | 0.824463 | 0.78338 | 0 | 0.120158 | 0.140519 | 1,772 | 44 | 104 | 40.272727 | 0.58306 | 0 | 0 | 0.705882 | 0 | 0.058824 | 0.326749 | 0.094244 | 0 | 0 | 0 | 0 | 0.088235 | 1 | 0.088235 | false | 0 | 0.088235 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
59b88148137d8b2b10f751c53813640ff71ca31f | 193 | py | Python | mentoriacompartilhada/hello/models.py | mentoriacompartilhada/paulushcgcj-python-v0 | e7ead91b063be4db7486c82bb33d0a1f2839fcee | [
"Apache-2.0"
] | null | null | null | mentoriacompartilhada/hello/models.py | mentoriacompartilhada/paulushcgcj-python-v0 | e7ead91b063be4db7486c82bb33d0a1f2839fcee | [
"Apache-2.0"
] | null | null | null | mentoriacompartilhada/hello/models.py | mentoriacompartilhada/paulushcgcj-python-v0 | e7ead91b063be4db7486c82bb33d0a1f2839fcee | [
"Apache-2.0"
] | null | null | null | from django.db import models
class Pessoa(models.Model):
nome = models.CharField(max_length=255)
email = models.CharField(max_length=60)
password = models.CharField(max_length=40)
| 27.571429 | 46 | 0.751295 | 27 | 193 | 5.259259 | 0.62963 | 0.316901 | 0.380282 | 0.507042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042424 | 0.145078 | 193 | 6 | 47 | 32.166667 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
59e30f9f959b2c66b401761370f2411c0209c528 | 175 | py | Python | africanus/model/shape/__init__.py | JoshVStaden/codex-africanus | 4a38994431d51510b1749fa0e4b8b6190b8b530f | [
"BSD-3-Clause"
] | 13 | 2018-04-06T09:36:13.000Z | 2021-04-13T13:11:00.000Z | africanus/model/shape/__init__.py | JoshVStaden/codex-africanus | 4a38994431d51510b1749fa0e4b8b6190b8b530f | [
"BSD-3-Clause"
] | 153 | 2018-03-28T14:13:48.000Z | 2022-02-03T07:49:17.000Z | africanus/model/shape/__init__.py | JoshVStaden/codex-africanus | 4a38994431d51510b1749fa0e4b8b6190b8b530f | [
"BSD-3-Clause"
] | 14 | 2018-03-29T13:30:52.000Z | 2021-06-12T02:56:55.000Z | __all__ = ["gaussian", "shapelet", "shapelet_1d"]
from africanus.model.shape.gaussian_shape import gaussian
from africanus.model.shape.shapelets import shapelet, shapelet_1d
| 35 | 65 | 0.811429 | 22 | 175 | 6.136364 | 0.454545 | 0.237037 | 0.266667 | 0.340741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.085714 | 175 | 4 | 66 | 43.75 | 0.83125 | 0 | 0 | 0 | 0 | 0 | 0.154286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f9f4ca1baf2499f3c5e5d70800f7df201fe8a71a | 5,385 | py | Python | support/generators/generate_vm_opcodes.py | Drarok/saffire | 38315853acd87bf1ca7d150ab929f8b515b77a1c | [
"BSD-3-Clause"
] | 24 | 2015-01-04T13:13:39.000Z | 2022-02-08T12:18:35.000Z | support/generators/generate_vm_opcodes.py | Drarok/saffire | 38315853acd87bf1ca7d150ab929f8b515b77a1c | [
"BSD-3-Clause"
] | 56 | 2015-02-27T16:00:28.000Z | 2019-09-17T08:55:01.000Z | support/generators/generate_vm_opcodes.py | Drarok/saffire | 38315853acd87bf1ca7d150ab929f8b515b77a1c | [
"BSD-3-Clause"
] | 8 | 2015-02-26T08:29:00.000Z | 2019-08-22T16:36:48.000Z | """
This script creates a vmopcodes.h include file from our vm_codes template. This is needed because we need to have
a few different kind of accessing the opcodes. Either by a define, or through an array (by hexidecimal code).
"""
import textwrap
import sys
import re
#
# Read opcodes
#
opcodes = {}
for line in ope... | 31.491228 | 114 | 0.723677 | 815 | 5,385 | 4.723926 | 0.274847 | 0.036364 | 0.016623 | 0.016364 | 0.79013 | 0.776364 | 0.767532 | 0.767532 | 0.753506 | 0.753506 | 0 | 0.010847 | 0.178273 | 5,385 | 170 | 115 | 31.676471 | 0.859209 | 0.016899 | 0 | 0.669565 | 0 | 0 | 0.720571 | 0.027348 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.026087 | null | null | 0.008696 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e60e84c28bec7ba0fad6e17f061be225e0bd43d1 | 164 | py | Python | tests/mdown/examples/header/header.py | looking-for-a-job/mdown.py | 75733ceaf4c6970d0e631b6efdfcd422098cea65 | [
"Unlicense"
] | 1 | 2020-10-09T22:57:20.000Z | 2020-10-09T22:57:20.000Z | tests/mdown/examples/header/header.py | looking-for-a-job/mdown.py | 75733ceaf4c6970d0e631b6efdfcd422098cea65 | [
"Unlicense"
] | null | null | null | tests/mdown/examples/header/header.py | looking-for-a-job/mdown.py | 75733ceaf4c6970d0e631b6efdfcd422098cea65 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
import mdown
string = '# Title'
assert string == mdown.header("Title", 1)
string = '###### Title'
assert string == mdown.header("Title", 6)
| 18.222222 | 41 | 0.646341 | 22 | 164 | 4.818182 | 0.545455 | 0.207547 | 0.320755 | 0.433962 | 0.735849 | 0.735849 | 0.735849 | 0 | 0 | 0 | 0 | 0.014286 | 0.146341 | 164 | 8 | 42 | 20.5 | 0.742857 | 0.121951 | 0 | 0 | 0 | 0 | 0.202797 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e66151a042479f492d7a0194b8d1f09adf73bc33 | 161 | py | Python | __tests__/__init__.py | brtkev/binance-wrapper | d32bb4d76fe189859dd0c5b1fa9d70ae769fa1c2 | [
"MIT"
] | null | null | null | __tests__/__init__.py | brtkev/binance-wrapper | d32bb4d76fe189859dd0c5b1fa9d70ae769fa1c2 | [
"MIT"
] | null | null | null | __tests__/__init__.py | brtkev/binance-wrapper | d32bb4d76fe189859dd0c5b1fa9d70ae769fa1c2 | [
"MIT"
] | null | null | null |
from __tests__.testUtils import *
from __tests__.testInfo import *
from __tests__.testMargin import *
from __tests__.spot import *
from __tests__.extra import * | 26.833333 | 34 | 0.813665 | 20 | 161 | 5.55 | 0.4 | 0.405405 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124224 | 161 | 6 | 35 | 26.833333 | 0.787234 | 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 |
050eb7cf42ab54d8ce9e017058eaeed543354e73 | 162 | py | Python | RSSINav/eval.py | bytemaster-0xff/playground | bf038c2d9c62519a5310aba4f65e56e6cb2eb20e | [
"MIT"
] | 1 | 2017-05-01T07:25:45.000Z | 2017-05-01T07:25:45.000Z | RSSINav/eval.py | bytemaster-0xff/playground | bf038c2d9c62519a5310aba4f65e56e6cb2eb20e | [
"MIT"
] | null | null | null | RSSINav/eval.py | bytemaster-0xff/playground | bf038c2d9c62519a5310aba4f65e56e6cb2eb20e | [
"MIT"
] | null | null | null | import csv
import numpy as np
import converter as js
#import torch
#from torch.autograd import Variable
#import torch.nn as nn
#import torch.nn.functional as F
| 16.2 | 36 | 0.790123 | 28 | 162 | 4.571429 | 0.5 | 0.257813 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 162 | 9 | 37 | 18 | 0.941176 | 0.611111 | 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 |
052e525079ebfccc3a00495d95c5d3053e06e08d | 217 | py | Python | test/cli/test_insiders.py | AramKoorn/TenBagger | cc207b1e288b1ff7345ccb7802218bee28bc2245 | [
"Apache-2.0"
] | 52 | 2021-07-15T12:26:38.000Z | 2022-03-10T03:05:14.000Z | test/cli/test_insiders.py | AramKoorn/TenBagger | cc207b1e288b1ff7345ccb7802218bee28bc2245 | [
"Apache-2.0"
] | 7 | 2021-07-16T06:39:04.000Z | 2021-11-14T20:57:12.000Z | test/cli/test_insiders.py | AramKoorn/TenBagger | cc207b1e288b1ff7345ccb7802218bee28bc2245 | [
"Apache-2.0"
] | 3 | 2021-07-28T05:46:33.000Z | 2021-11-08T04:48:50.000Z | import pytest
import subprocess
def test_insiders_company():
subprocess.call("python3 cli/insiders.py SONO", shell=True)
def test_insiders_overview():
subprocess.call("python3 cli/purchases.py", shell=True)
| 19.727273 | 62 | 0.774194 | 29 | 217 | 5.655172 | 0.551724 | 0.085366 | 0.182927 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.115207 | 217 | 10 | 63 | 21.7 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0.239631 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0595dd9ffa65ae1eb57912298418c6e6f8316011 | 69 | py | Python | convokit/lengthTracker/__init__.py | maubinle/Cornell-Conversational-Analysis-Toolkit | 5339c2b9bd3f147d3f44f3d1456607f01f46af54 | [
"MIT"
] | 1 | 2021-12-24T13:56:20.000Z | 2021-12-24T13:56:20.000Z | convokit/lengthTracker/__init__.py | maubinle/Cornell-Conversational-Analysis-Toolkit | 5339c2b9bd3f147d3f44f3d1456607f01f46af54 | [
"MIT"
] | null | null | null | convokit/lengthTracker/__init__.py | maubinle/Cornell-Conversational-Analysis-Toolkit | 5339c2b9bd3f147d3f44f3d1456607f01f46af54 | [
"MIT"
] | null | null | null | from .lengthTracker import *
from .lengthTracker import LengthTracker | 34.5 | 40 | 0.855072 | 7 | 69 | 8.428571 | 0.428571 | 0.576271 | 0.779661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 69 | 2 | 40 | 34.5 | 0.951613 | 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 |
55b234ae6ccb28116667461799f4ee7f27eefe38 | 4,195 | py | Python | tests/api_tests/test_api_list_patching.py | IlyaKozlov/dedoc | aa25a8868b5fd61314a32de2e22871a6d10fa3be | [
"Apache-2.0"
] | null | null | null | tests/api_tests/test_api_list_patching.py | IlyaKozlov/dedoc | aa25a8868b5fd61314a32de2e22871a6d10fa3be | [
"Apache-2.0"
] | null | null | null | tests/api_tests/test_api_list_patching.py | IlyaKozlov/dedoc | aa25a8868b5fd61314a32de2e22871a6d10fa3be | [
"Apache-2.0"
] | null | null | null | from tests.api_tests.abstrac_api_test import AbstractTestApiDocReader
class TestApiDocReader(AbstractTestApiDocReader):
def test_list_patching(self) -> None:
file_name = "docx/13_moloko_1_polug.docx"
result = self._send_request(file_name, data={"structure_type": "tree"})
content = result[... | 58.263889 | 113 | 0.660072 | 481 | 4,195 | 5.686071 | 0.091476 | 0.37075 | 0.255942 | 0.374771 | 0.897258 | 0.866179 | 0.865448 | 0.865448 | 0.73894 | 0.73894 | 0 | 0.040788 | 0.152563 | 4,195 | 71 | 114 | 59.084507 | 0.728551 | 0.030036 | 0 | 0.666667 | 0 | 0 | 0.322676 | 0.020413 | 0 | 0 | 0 | 0 | 0.592593 | 1 | 0.055556 | false | 0 | 0.018519 | 0 | 0.092593 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
e966a39f23489bde8ad89920be2f6089a89b035d | 127 | py | Python | Loss_Function/load_loss_function.py | Encyclomen/Neural-Machine-Translation | c3cd7883c7cf907ab65625e8de7ca9dd23ba2b82 | [
"MIT"
] | 2 | 2018-12-10T15:40:29.000Z | 2019-03-28T09:57:40.000Z | Loss_Function/load_loss_function.py | Encyclomen/Neural-Machine-Translation | c3cd7883c7cf907ab65625e8de7ca9dd23ba2b82 | [
"MIT"
] | null | null | null | Loss_Function/load_loss_function.py | Encyclomen/Neural-Machine-Translation | c3cd7883c7cf907ab65625e8de7ca9dd23ba2b82 | [
"MIT"
] | null | null | null | def load_loss_function(loss_class, *args, **kwargs):
loss_function = loss_class(*args, **kwargs)
return loss_function
| 25.4 | 52 | 0.732283 | 17 | 127 | 5.117647 | 0.470588 | 0.413793 | 0.367816 | 0.482759 | 0.712644 | 0.712644 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149606 | 127 | 4 | 53 | 31.75 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
e979b4bae6e180bd9922812fb93e820cfd52be58 | 442 | py | Python | pietoolbelt/metrics/cpu/regression.py | kitkat52/pietoolbelt | 0e0b5859662fcb43b008218746cc3e76cc66b6b8 | [
"MIT"
] | 1 | 2021-05-30T08:21:12.000Z | 2021-05-30T08:21:12.000Z | pietoolbelt/metrics/cpu/regression.py | kitkat52/pietoolbelt | 0e0b5859662fcb43b008218746cc3e76cc66b6b8 | [
"MIT"
] | 7 | 2020-07-07T21:04:08.000Z | 2021-12-13T10:08:17.000Z | pietoolbelt/metrics/cpu/regression.py | kitkat52/pietoolbelt | 0e0b5859662fcb43b008218746cc3e76cc66b6b8 | [
"MIT"
] | 1 | 2021-06-17T09:21:39.000Z | 2021-06-17T09:21:39.000Z | import numpy as np
def rmse(predict: np.ndarray, target: np.ndarray) -> float:
return float(np.mean(np.sqrt(np.mean((predict - target) ** 2, axis=0))))
def amad(predict: np.ndarray, target: np.ndarray) -> float:
return float(np.mean(np.mean(np.abs(predict - target), axis=0)))
def relative(predict: np.ndar... | 31.571429 | 86 | 0.671946 | 71 | 442 | 4.183099 | 0.309859 | 0.181818 | 0.13468 | 0.222222 | 0.703704 | 0.703704 | 0.703704 | 0.703704 | 0.703704 | 0.703704 | 0 | 0.015873 | 0.144796 | 442 | 13 | 87 | 34 | 0.769841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
e97d834dfa715cbee84ebcc35c77b0a9a3b8be1d | 405 | py | Python | Advanced/Exercises/Functions_Advanced_Lab/2_person_info.py | tankishev/Python | 60e511fc901f136b88c681f77f209fe2f8c46447 | [
"MIT"
] | 2 | 2022-03-04T11:39:03.000Z | 2022-03-13T07:13:23.000Z | Advanced/Exercises/Functions_Advanced_Lab/2_person_info.py | tankishev/Python | 60e511fc901f136b88c681f77f209fe2f8c46447 | [
"MIT"
] | null | null | null | Advanced/Exercises/Functions_Advanced_Lab/2_person_info.py | tankishev/Python | 60e511fc901f136b88c681f77f209fe2f8c46447 | [
"MIT"
] | null | null | null | # Write a function called get_info that receives a name, an age, and a town and returns a string in the format:
# "This is {name} from {town} and he is {age} years old". Use dictionary unpacking when testing your function. Submit only the function in the judge system.
def get_info(**kwargs):
return f"This is {kw... | 57.857143 | 156 | 0.718519 | 71 | 405 | 4.070423 | 0.535211 | 0.072664 | 0.062284 | 0.076125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 405 | 6 | 157 | 67.5 | 0.862687 | 0.654321 | 0 | 0 | 0 | 0.5 | 0.686131 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
756c6b802e9e43288683380d69f94d755e4bcb46 | 10,120 | py | Python | environments/gym_pycolab/envs/pycolab_grid_worlds_env.py | braemt/attentive-multi-task-deep-reinforcement-learning | 921feefce98076f88c892f0b7e6db8572f596763 | [
"MIT"
] | 12 | 2019-04-07T02:04:48.000Z | 2022-03-22T12:57:47.000Z | environments/gym_pycolab/envs/pycolab_grid_worlds_env.py | braemt/attentive-multi-task-deep-reinforcement-learning | 921feefce98076f88c892f0b7e6db8572f596763 | [
"MIT"
] | null | null | null | environments/gym_pycolab/envs/pycolab_grid_worlds_env.py | braemt/attentive-multi-task-deep-reinforcement-learning | 921feefce98076f88c892f0b7e6db8572f596763 | [
"MIT"
] | 7 | 2019-04-07T02:04:49.000Z | 2020-12-28T10:30:27.000Z | # THIS FILE IS NEW OR MODIFIED COMPARED TO https://github.com/deepmind/pycolab
import random
import numpy as np
from gym import spaces
from gym_pycolab.envs.pycolab_env import PycolabEnv
from gym_pycolab.worlds import grid_worlds as grid_worlds
from gym_pycolab.worlds import connect_four
WALL_LEVEL = [' # ',
... | 32.332268 | 120 | 0.686957 | 1,135 | 10,120 | 5.651982 | 0.096035 | 0.07233 | 0.049727 | 0.06781 | 0.795168 | 0.78145 | 0.78145 | 0.767732 | 0.742479 | 0.742479 | 0 | 0.022681 | 0.21581 | 10,120 | 313 | 121 | 32.332268 | 0.78566 | 0.00751 | 0 | 0.658986 | 0 | 0 | 0.006373 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.02765 | 0 | 0.589862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
759cdb2dc66624e5bc8d22dcd25ecbe544e048dd | 4,657 | py | Python | tests/test_cache.py | udatsnoi/Flask-CacheControl | 55c5d40106e2dd81d56efa253698210a6c63fcf4 | [
"BSD-3-Clause"
] | 18 | 2016-10-04T10:26:32.000Z | 2021-04-26T15:40:18.000Z | tests/test_cache.py | udatsnoi/Flask-CacheControl | 55c5d40106e2dd81d56efa253698210a6c63fcf4 | [
"BSD-3-Clause"
] | 4 | 2017-03-01T13:28:44.000Z | 2021-02-27T12:20:13.000Z | tests/test_cache.py | udatsnoi/Flask-CacheControl | 55c5d40106e2dd81d56efa253698210a6c63fcf4 | [
"BSD-3-Clause"
] | 6 | 2016-01-26T18:23:50.000Z | 2021-02-19T08:34:42.000Z | import pytest
from flask import Flask, Response
from flask_cachecontrol import FlaskCacheControl, cache_for, cache, dont_cache, ResponseIsSuccessful, Always
app = Flask(__name__)
flask_cache_control = FlaskCacheControl(app)
@app.route('/cache_for/on_success/<int:status_code>')
@cache_for(only_if=ResponseIsSuccessfu... | 32.795775 | 108 | 0.739102 | 713 | 4,657 | 4.551192 | 0.075736 | 0.088752 | 0.101695 | 0.097072 | 0.896764 | 0.85886 | 0.835131 | 0.743297 | 0.73621 | 0.651772 | 0 | 0.015644 | 0.13528 | 4,657 | 141 | 109 | 33.028369 | 0.790166 | 0 | 0 | 0.351064 | 0 | 0 | 0.246081 | 0.12347 | 0 | 0 | 0 | 0 | 0.180851 | 1 | 0.234043 | false | 0 | 0.031915 | 0.074468 | 0.340426 | 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 |
759da48e6bb6f7cd631d38881a702f72b6d31eb6 | 777 | py | Python | pontoon/base/__init__.py | sudheesh001/pontoon | 046bb50113a76ff278de73036db395ea726cab43 | [
"BSD-3-Clause"
] | 1 | 2017-04-04T06:55:46.000Z | 2017-04-04T06:55:46.000Z | pontoon/base/__init__.py | zbraniecki/pontoon | d559316783938bc66d5d9a52dcdb01137475c259 | [
"BSD-3-Clause"
] | null | null | null | pontoon/base/__init__.py | zbraniecki/pontoon | d559316783938bc66d5d9a52dcdb01137475c259 | [
"BSD-3-Clause"
] | null | null | null | """Application base, containing global templates."""
default_app_config = 'pontoon.base.apps.BaseConfig'
MOZILLA_REPOS = (
'ssh://hg.mozilla.org/users/m_owca.info/firefox-beta/',
'ssh://hg.mozilla.org/users/m_owca.info/firefox-for-android-beta/',
'ssh://hg.mozilla.org/users/m_owca.info/thunderbird-beta/',... | 45.705882 | 73 | 0.710425 | 118 | 777 | 4.567797 | 0.237288 | 0.092764 | 0.222635 | 0.278293 | 0.816327 | 0.816327 | 0.816327 | 0.816327 | 0.816327 | 0.252319 | 0 | 0 | 0.082368 | 777 | 16 | 74 | 48.5625 | 0.755961 | 0.059202 | 0 | 0 | 0 | 0.153846 | 0.824828 | 0.824828 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
75c1fcb5205ab2e797300258118f4de97112730a | 75,746 | py | Python | heat/tests/test_neutron.py | NeCTAR-RC/heat | b152817f192a7b46514793633ddc968c1fe1ebf8 | [
"Apache-2.0"
] | 1 | 2015-02-26T03:23:23.000Z | 2015-02-26T03:23:23.000Z | heat/tests/test_neutron.py | NeCTAR-RC/heat | b152817f192a7b46514793633ddc968c1fe1ebf8 | [
"Apache-2.0"
] | null | null | null | heat/tests/test_neutron.py | NeCTAR-RC/heat | b152817f192a7b46514793633ddc968c1fe1ebf8 | [
"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
# ... | 36.539315 | 79 | 0.56564 | 7,181 | 75,746 | 5.800028 | 0.05988 | 0.067059 | 0.038031 | 0.047539 | 0.862377 | 0.835822 | 0.779616 | 0.733974 | 0.706819 | 0.684946 | 0 | 0.113648 | 0.29929 | 75,746 | 2,072 | 80 | 36.55695 | 0.671075 | 0.014588 | 0 | 0.712222 | 0 | 0.001111 | 0.321248 | 0.142187 | 0 | 0 | 0 | 0 | 0.05 | 1 | 0.023889 | false | 0.000556 | 0.011111 | 0 | 0.042778 | 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 |
f97b6c1f2930606e7664d2c982eade16b7bd39a0 | 6,474 | py | Python | run_twd.py | AndrzejTunkiel/Tape | 1f6a7c337d9f3557452cb5c80c2dfc4d99085be3 | [
"MIT"
] | null | null | null | run_twd.py | AndrzejTunkiel/Tape | 1f6a7c337d9f3557452cb5c80c2dfc4d99085be3 | [
"MIT"
] | null | null | null | run_twd.py | AndrzejTunkiel/Tape | 1f6a7c337d9f3557452cb5c80c2dfc4d99085be3 | [
"MIT"
] | 1 | 2021-11-15T01:21:22.000Z | 2021-11-15T01:21:22.000Z | # -*- coding: utf-8 -*-
"""
Created on Thu Feb 25 10:23:34 2021
@author: Andrzej T. Tunkiel
andrzej.t.tunkiel@uis.no
"""
from sens_tape import tape
import pandas as pd
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
data = pd.read_csv('f9ad.csv')
drops = ['Unnamed: 0', 'Unnamed: 0.1', 'RH... | 31.427184 | 87 | 0.505715 | 689 | 6,474 | 4.612482 | 0.155298 | 0.075519 | 0.090623 | 0.105727 | 0.864695 | 0.864695 | 0.864695 | 0.864695 | 0.864695 | 0.864695 | 0 | 0.013042 | 0.384152 | 6,474 | 205 | 88 | 31.580488 | 0.784048 | 0.018381 | 0 | 0.875 | 0 | 0 | 0.104715 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.006579 | 0.032895 | 0 | 0.032895 | 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 |
f9a5512d8e3b44e02bb77d36727dee3d6a9a9045 | 18,667 | py | Python | testcases/generated/jmr_test.py | Tanc009/jdcloud-cli | 4e11de77c68501f44e7026c0ad1c24e5d043197e | [
"Apache-2.0"
] | null | null | null | testcases/generated/jmr_test.py | Tanc009/jdcloud-cli | 4e11de77c68501f44e7026c0ad1c24e5d043197e | [
"Apache-2.0"
] | null | null | null | testcases/generated/jmr_test.py | Tanc009/jdcloud-cli | 4e11de77c68501f44e7026c0ad1c24e5d043197e | [
"Apache-2.0"
] | null | null | null | # coding=utf8
# Copyright 2018 JDCLOUD.COM
#
# 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 ... | 32.464348 | 173 | 0.579525 | 2,368 | 18,667 | 4.483108 | 0.074747 | 0.040222 | 0.074699 | 0.097683 | 0.868124 | 0.853994 | 0.849849 | 0.787962 | 0.729371 | 0.698003 | 0 | 0.001041 | 0.279209 | 18,667 | 574 | 174 | 32.520906 | 0.78796 | 0.033964 | 0 | 0.707657 | 0 | 0.041763 | 0.220649 | 0.026644 | 0 | 0 | 0 | 0 | 0.141531 | 0 | null | null | 0 | 0.006961 | null | null | 0.141531 | 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 |
ddcceb2fc466736a31afc19bb389153b5ab762f9 | 90 | py | Python | src/context/db.py | hvuhsg/OpenAPIGateway | 76413c69e2f35a2febf899f161ddc4da4b0ea354 | [
"MIT"
] | 1 | 2022-01-29T17:50:38.000Z | 2022-01-29T17:50:38.000Z | src/context/db.py | hvuhsg/OpenAPIGateway | 76413c69e2f35a2febf899f161ddc4da4b0ea354 | [
"MIT"
] | null | null | null | src/context/db.py | hvuhsg/OpenAPIGateway | 76413c69e2f35a2febf899f161ddc4da4b0ea354 | [
"MIT"
] | null | null | null | from db.mongo import MongoDB
def get_db() -> MongoDB:
return MongoDB.get_instance()
| 15 | 33 | 0.722222 | 13 | 90 | 4.846154 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 90 | 5 | 34 | 18 | 0.851351 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
ddebc4c329e8f2dde5a1e176b430a423b27dd09c | 50,878 | py | Python | PyTests/Violet/overridden_static_methods.py | LiarPrincess/Violet | 0a4268649b0eec3ab631d19015d7043394c6571e | [
"MIT"
] | null | null | null | PyTests/Violet/overridden_static_methods.py | LiarPrincess/Violet | 0a4268649b0eec3ab631d19015d7043394c6571e | [
"MIT"
] | 6 | 2021-10-14T15:55:16.000Z | 2022-03-31T14:04:02.000Z | PyTests/Violet/overridden_static_methods.py | LiarPrincess/Violet | 0a4268649b0eec3ab631d19015d7043394c6571e | [
"MIT"
] | null | null | null | # ==================================================================================================
# Automatically generated from: ./PyTests/Violet/generate_overridden_static_methods_test/__main__.py
# DO NOT EDIT!
# ==================================================================================================
'... | 24.507707 | 100 | 0.618244 | 5,915 | 50,878 | 4.37481 | 0.037363 | 0.116899 | 0.099007 | 0.056884 | 0.844495 | 0.809715 | 0.785331 | 0.76253 | 0.70526 | 0.650887 | 0 | 0.005823 | 0.240517 | 50,878 | 2,075 | 101 | 24.519518 | 0.663854 | 0.039821 | 0 | 0.708091 | 1 | 0 | 0.152289 | 0 | 0 | 0 | 0 | 0 | 0.265372 | 1 | 0.207767 | false | 0 | 0.003236 | 0.137864 | 0.462783 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 10 |
ddf52c09d985bef76422c99b84e9be3ad1461ecc | 34,586 | py | Python | tests/model/api/test_convenience.py | stklik/CREST | 7fd97c50b0c6c923e1c477105bed4f0ea032bb99 | [
"MIT"
] | 14 | 2019-08-06T10:17:46.000Z | 2022-03-13T12:50:59.000Z | tests/model/api/test_convenience.py | stklik/CREST | 7fd97c50b0c6c923e1c477105bed4f0ea032bb99 | [
"MIT"
] | 16 | 2018-01-20T00:54:24.000Z | 2019-07-24T15:43:42.000Z | tests/model/api/test_convenience.py | stklik/CREST | 7fd97c50b0c6c923e1c477105bed4f0ea032bb99 | [
"MIT"
] | 1 | 2021-02-01T15:33:24.000Z | 2021-02-01T15:33:24.000Z | import unittest
import crestdsl.model as crest
import crestdsl.model.api as api
import copy
class ConvenienceAPI_AddTest(unittest.TestCase):
"""
The following tests are related to issue #15 https://github.com/crestdsl/CREST/issues/15
It's about overriding crest objects that are already used in trans... | 52.009023 | 158 | 0.663477 | 4,295 | 34,586 | 5.140396 | 0.042375 | 0.030438 | 0.074735 | 0.032612 | 0.94601 | 0.937313 | 0.924721 | 0.918561 | 0.909004 | 0.902074 | 0 | 0.012967 | 0.246342 | 34,586 | 665 | 159 | 52.009023 | 0.834037 | 0.030388 | 0 | 0.738359 | 0 | 0.011086 | 0.18704 | 0.000928 | 0 | 0 | 0 | 0 | 0.31929 | 1 | 0.168514 | false | 0.004435 | 0.008869 | 0 | 0.283814 | 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 |
fb264320106b8eb6a6612ec115ceb60c233f5571 | 208 | py | Python | data/__init__.py | XiaotaoChen/resnet.mxnet | a44b04d33d77ea4ab3e5b24644ec391214658b8e | [
"MIT"
] | null | null | null | data/__init__.py | XiaotaoChen/resnet.mxnet | a44b04d33d77ea4ab3e5b24644ec391214658b8e | [
"MIT"
] | null | null | null | data/__init__.py | XiaotaoChen/resnet.mxnet | a44b04d33d77ea4ab3e5b24644ec391214658b8e | [
"MIT"
] | null | null | null | from .imagenet import imagenet_iterator
from .imagenet import multiple_imagenet_iterator
from .cifar10 import cifar10_iterator
from .cifar10 import cifar100_iterator
# from dali_imagenet import get_dali_iter
| 34.666667 | 48 | 0.875 | 28 | 208 | 6.214286 | 0.357143 | 0.275862 | 0.206897 | 0.287356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048128 | 0.100962 | 208 | 5 | 49 | 41.6 | 0.882353 | 0.1875 | 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 |
fb26c62f2146e4a5b537b7425a3468fc93694bef | 63 | py | Python | build/lib/arcus/azureml/version.py | Mcalewaert/arcus.azureml | ae6d8810dbf708f23c295bd3272cf0a2e655fa09 | [
"MIT"
] | 2 | 2020-10-30T13:03:32.000Z | 2021-11-23T08:29:17.000Z | build/lib/arcus/azureml/version.py | Mcalewaert/arcus.azureml | ae6d8810dbf708f23c295bd3272cf0a2e655fa09 | [
"MIT"
] | 142 | 2020-03-12T12:50:37.000Z | 2022-03-29T20:32:29.000Z | build/lib/arcus/azureml/version.py | Mcalewaert/arcus.azureml | ae6d8810dbf708f23c295bd3272cf0a2e655fa09 | [
"MIT"
] | 4 | 2020-03-12T15:40:01.000Z | 2021-08-05T13:46:31.000Z | import arcus
def output() -> str:
return arcus.__version__ | 15.75 | 28 | 0.714286 | 8 | 63 | 5.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 4 | 28 | 15.75 | 0.803922 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
34d9009f618fa3f673811b870a1a8d6ca6bef074 | 25,842 | py | Python | automo/images.py | aliaafee/automo | 53ef9398cb9a424dd081a8884cb306d1c691179d | [
"Unlicense"
] | 2 | 2019-05-07T06:01:33.000Z | 2021-05-31T14:31:18.000Z | automo/images.py | aliaafee/automo | 53ef9398cb9a424dd081a8884cb306d1c691179d | [
"Unlicense"
] | 1 | 2018-02-15T02:10:12.000Z | 2021-06-04T04:13:50.000Z | automo/images.py | aliaafee/automo | 53ef9398cb9a424dd081a8884cb306d1c691179d | [
"Unlicense"
] | null | null | null | """
Images used in the app, all images encoded in base 64
"""
import cStringIO
import base64
import wx
def bitmap_from_base64(str_base64):
""" Converts a base64 bitmap into a wx.Bitmap """
image = base64.b64decode(str_base64)
stream = cStringIO.StringIO(image)
return wx.BitmapFromImage(wx.ImageFromSt... | 574.266667 | 9,031 | 0.95666 | 903 | 25,842 | 27.335548 | 0.885936 | 0.02212 | 0.000567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140242 | 0.00445 | 25,842 | 44 | 9,032 | 587.318182 | 0.819217 | 0.003715 | 0 | 0 | 0 | 0.619048 | 0.977926 | 0.977926 | 0 | 1 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.142857 | 0 | 0.238095 | 0.238095 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9b56452c71c0f80609d4226ce739a77fdfaa5c94 | 33,328 | py | Python | tests/client/test_renderer.py | plastr/extrasolar-game | 1aad5971556d498e3617afe75f27e2f4132d4668 | [
"MIT",
"Unlicense"
] | null | null | null | tests/client/test_renderer.py | plastr/extrasolar-game | 1aad5971556d498e3617afe75f27e2f4132d4668 | [
"MIT",
"Unlicense"
] | null | null | null | tests/client/test_renderer.py | plastr/extrasolar-game | 1aad5971556d498e3617afe75f27e2f4132d4668 | [
"MIT",
"Unlicense"
] | null | null | null | # Copyright (c) 2010-2011 Lazy 8 Studios, LLC.
# All rights reserved.
# Emulate the calls that the renderer would make to the Web Services module.
from front import Constants
from front.lib import db, utils
from front.data import scene
from front.models import chips
from front.tests import base
from front.tests.base i... | 62.646617 | 135 | 0.713244 | 4,518 | 33,328 | 4.988048 | 0.08278 | 0.049343 | 0.023074 | 0.029286 | 0.797036 | 0.781106 | 0.757233 | 0.744986 | 0.74006 | 0.732961 | 0 | 0.002759 | 0.195301 | 33,328 | 531 | 136 | 62.764595 | 0.837541 | 0.268543 | 0 | 0.729231 | 0 | 0 | 0.069256 | 0.001816 | 0 | 0 | 0 | 0 | 0.436923 | 1 | 0.036923 | false | 0 | 0.018462 | 0 | 0.058462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9ba7247203b167136fc01c5b99b8dfddf7395290 | 23,192 | py | Python | services/traction/acapy_client/api/credential_definition_api.py | Open-Earth-Foundation/traction | 908b555a7f408a88541b7692d3730e37a297c919 | [
"Apache-2.0"
] | 12 | 2022-01-29T20:30:03.000Z | 2022-03-29T11:46:14.000Z | services/traction/acapy_client/api/credential_definition_api.py | Open-Earth-Foundation/traction | 908b555a7f408a88541b7692d3730e37a297c919 | [
"Apache-2.0"
] | 38 | 2021-11-22T17:52:50.000Z | 2022-03-31T17:52:00.000Z | services/traction/acapy_client/api/credential_definition_api.py | Open-Earth-Foundation/traction | 908b555a7f408a88541b7692d3730e37a297c919 | [
"Apache-2.0"
] | 9 | 2021-11-22T18:05:48.000Z | 2022-03-29T11:25:08.000Z | """
Aries Cloud Agent
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v0.7.2
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from acapy_cli... | 44.685934 | 238 | 0.549026 | 2,254 | 23,192 | 5.370453 | 0.104703 | 0.026601 | 0.034201 | 0.027757 | 0.834366 | 0.815696 | 0.778934 | 0.763486 | 0.745064 | 0.733664 | 0 | 0.013279 | 0.357063 | 23,192 | 518 | 239 | 44.772201 | 0.798538 | 0.364997 | 0 | 0.550955 | 1 | 0.009554 | 0.312183 | 0.123918 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015924 | false | 0 | 0.025478 | 0 | 0.057325 | 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 |
fd5845c59e3d42037db690124a1023b3a940160c | 2,040 | py | Python | Spiral Array.py | cacciatora/LintCode | 8aef1c13346fef95f2a8710efc0447462506d534 | [
"MIT"
] | null | null | null | Spiral Array.py | cacciatora/LintCode | 8aef1c13346fef95f2a8710efc0447462506d534 | [
"MIT"
] | null | null | null | Spiral Array.py | cacciatora/LintCode | 8aef1c13346fef95f2a8710efc0447462506d534 | [
"MIT"
] | null | null | null | import copy
class Solution:
"""
@param n: a Integer
@return: a spiral array
"""
def spiralArray(self, n):
# write your code here
spiral = [[0 for col in range(n)] for row in range(n)]
spiral[0] = range(1,n+1)
if n % 2 :
i, j = (n-1)/2, (n-1)/2
... | 34.576271 | 62 | 0.326471 | 218 | 2,040 | 3.055046 | 0.165138 | 0.126126 | 0.12012 | 0.225225 | 0.726727 | 0.711712 | 0.711712 | 0.63964 | 0.63964 | 0.63964 | 0 | 0.056911 | 0.577941 | 2,040 | 59 | 63 | 34.576271 | 0.716609 | 0.031863 | 0 | 0.792453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0 | 1 | 0.018868 | false | 0 | 0.018868 | 0 | 0.075472 | 0.018868 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fd5dadf5cef5995940e07c0fe38a2632db00d850 | 61,737 | py | Python | qgis_polygon.py | ismailsunni/scripts | 723678f5db37b1e32756e8877d146bb06efce1a2 | [
"MIT"
] | 2 | 2015-05-08T19:25:20.000Z | 2015-05-30T07:09:14.000Z | qgis_polygon.py | ismailsunni/scripts | 723678f5db37b1e32756e8877d146bb06efce1a2 | [
"MIT"
] | null | null | null | qgis_polygon.py | ismailsunni/scripts | 723678f5db37b1e32756e8877d146bb06efce1a2 | [
"MIT"
] | 1 | 2015-05-30T08:00:52.000Z | 2015-05-30T08:00:52.000Z | # Declare polygon
poly_1_wkt = 'POLYGON((124.46672000000000935 -9.50772999999998092,124.46742000000006101 -9.50810999999993101,124.46815000000003693 -9.50854999999995698,124.46875999900009901 -9.50891000099994699,124.46939000000008946 -9.5091099999999642,124.47046000000011645 -9.50918999999993275,124.47179000000005544 ... | 1,371.933333 | 20,772 | 0.87957 | 5,818 | 61,737 | 9.325541 | 0.186662 | 0.005161 | 0.005419 | 0.004202 | 0.917373 | 0.91682 | 0.91682 | 0.915678 | 0.915678 | 0.915678 | 0 | 0.886708 | 0.025204 | 61,737 | 44 | 20,773 | 1,403.113636 | 0.014839 | 0.001442 | 0 | 0.0625 | 0 | 0.09375 | 0.982577 | 0.958633 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
b5c8e31d2bcf7d38a562601791a233c9a9da9349 | 112,410 | py | Python | Geocoding_QA.py | jida-wang/georeferencing-ICOLD-dams-and-reservoirs | 8a59d4712241e5f53d52d8f0e1b92d5829ba3f22 | [
"MIT"
] | 3 | 2021-03-04T06:46:56.000Z | 2021-05-21T19:59:57.000Z | Geocoding_QA.py | surf-hydro/georeferencing-ICOLD-dams-and-reservoirs | 0c95286618ede725c19498e4eaf3b6e36cc5f304 | [
"MIT"
] | null | null | null | Geocoding_QA.py | surf-hydro/georeferencing-ICOLD-dams-and-reservoirs | 0c95286618ede725c19498e4eaf3b6e36cc5f304 | [
"MIT"
] | 1 | 2021-12-16T02:33:32.000Z | 2021-12-16T02:33:32.000Z | # [Description] ------------------------------
# Module name "Geocoding_ICOLD_QA.py"
# This module loops through all geocoding solutions for each ICOLD WRD record (output of Geocoding_ICOLD.py)
# and rank them based on their corresponding QA levels (see Table 5 in Wang et al. (2021). For each unique
# ICOLD WRD re... | 75.040053 | 215 | 0.538707 | 12,732 | 112,410 | 4.417766 | 0.048618 | 0.073924 | 0.085125 | 0.056323 | 0.817715 | 0.807083 | 0.801874 | 0.795509 | 0.792113 | 0.788913 | 0 | 0.012772 | 0.384957 | 112,410 | 1,497 | 216 | 75.09018 | 0.800772 | 0.118299 | 0 | 0.814132 | 0 | 0 | 0.053552 | 0.001314 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.149002 | 0.00384 | null | null | 0.003072 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
1fae8c06111a0c5b03ab60e9159af5bd93fd04d8 | 31,187 | py | Python | tests/test_unused_import.py | semakaratas/unimport | 7fa133a539bbb457f861b50379e9af87a11e1df0 | [
"MIT"
] | null | null | null | tests/test_unused_import.py | semakaratas/unimport | 7fa133a539bbb457f861b50379e9af87a11e1df0 | [
"MIT"
] | null | null | null | tests/test_unused_import.py | semakaratas/unimport | 7fa133a539bbb457f861b50379e9af87a11e1df0 | [
"MIT"
] | null | null | null | import codeop
import lib2to3.fixer_util
import lib2to3.pgen2.token
import lib2to3.pytree
import os
import pathlib
import re
import unittest
from unimport.session import Session
class UnusedTestCase(unittest.TestCase):
maxDiff = None
include_star_import = False
def setUp(self):
self.session = Ses... | 27.746441 | 79 | 0.348735 | 2,342 | 31,187 | 4.50854 | 0.059351 | 0.079269 | 0.13202 | 0.127758 | 0.848186 | 0.843641 | 0.807747 | 0.754996 | 0.717019 | 0.709537 | 0 | 0.010004 | 0.522429 | 31,187 | 1,123 | 80 | 27.771149 | 0.698939 | 0.004297 | 0 | 0.664799 | 0 | 0 | 0.196102 | 0 | 0 | 0 | 0 | 0 | 0.033613 | 1 | 0.033613 | false | 0.004669 | 0.186741 | 0 | 0.230626 | 0.012138 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1fbdf7642a047223a72d42d819fbe69ce82831ae | 672 | py | Python | libs/yowsup/yowsup/layers/protocol_media/protocolentities/__init__.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 22 | 2017-07-14T20:01:17.000Z | 2022-03-08T14:22:39.000Z | libs/yowsup/yowsup/layers/protocol_media/protocolentities/__init__.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 6 | 2017-07-14T21:03:50.000Z | 2021-06-10T19:08:32.000Z | libs/yowsup/yowsup/layers/protocol_media/protocolentities/__init__.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 13 | 2017-07-14T20:13:14.000Z | 2020-11-12T08:06:05.000Z | from .message_media import MediaMessageProtocolEntity
from .message_media_downloadable import DownloadableMediaMessageProtocolEntity
from .message_media_downloadable_image import ImageDownloadableMediaMessageProtocolEntity
from .message_media_downloadable_audio import AudioDownloadableMediaMessageProtocolEntity
from .m... | 67.2 | 89 | 0.933036 | 55 | 672 | 11.054545 | 0.4 | 0.126645 | 0.184211 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 672 | 9 | 90 | 74.666667 | 0.955975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 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 |
1fe1aec9c9772ecbb600ce43b6ce42d0c18efa97 | 14,628 | py | Python | cnn/models/butterfly_conv.py | sfox14/butterfly | 13cc15cee5bdb7adaf376219aaf20fab0459e9ef | [
"Apache-2.0"
] | 52 | 2020-08-05T08:32:24.000Z | 2022-03-27T21:56:34.000Z | cnn/models/butterfly_conv.py | sfox14/butterfly | 13cc15cee5bdb7adaf376219aaf20fab0459e9ef | [
"Apache-2.0"
] | 13 | 2020-09-14T23:34:32.000Z | 2022-02-15T10:51:03.000Z | cnn/models/butterfly_conv.py | sfox14/butterfly | 13cc15cee5bdb7adaf376219aaf20fab0459e9ef | [
"Apache-2.0"
] | 11 | 2020-10-15T07:03:25.000Z | 2022-03-25T12:03:49.000Z | import torch
from torch import nn
import torch.nn.functional as F
from butterfly import Butterfly
from butterfly.butterfly import ButterflyBmm
from butterfly.butterfly_multiply import butterfly_mult_conv2d, butterfly_mult_conv2d_svd, bbt_mult_conv2d
import math
class Butterfly1x1Conv(Butterfly):
"""Product of lo... | 59.706122 | 214 | 0.610131 | 2,012 | 14,628 | 4.287276 | 0.096421 | 0.075354 | 0.076281 | 0.038256 | 0.822281 | 0.809413 | 0.801762 | 0.797705 | 0.794227 | 0.794227 | 0 | 0.021607 | 0.281788 | 14,628 | 244 | 215 | 59.95082 | 0.799448 | 0.357875 | 0 | 0.466667 | 0 | 0 | 0.00425 | 0 | 0 | 0 | 0 | 0.016393 | 0 | 1 | 0.058333 | false | 0 | 0.058333 | 0 | 0.183333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1ff6e8c58910df896731d8db5c0aafb501b744ea | 18,554 | py | Python | coredis/commands/_key_spec.py | alisaifee/coredis | e72f5d7c665b53e6a1d41e1a7fb9e400858a8b19 | [
"MIT"
] | 9 | 2022-01-07T07:42:08.000Z | 2022-03-21T15:54:09.000Z | coredis/commands/_key_spec.py | alisaifee/coredis | e72f5d7c665b53e6a1d41e1a7fb9e400858a8b19 | [
"MIT"
] | 30 | 2022-01-15T23:33:36.000Z | 2022-03-30T22:39:53.000Z | coredis/commands/_key_spec.py | alisaifee/coredis | e72f5d7c665b53e6a1d41e1a7fb9e400858a8b19 | [
"MIT"
] | 3 | 2022-01-13T06:11:13.000Z | 2022-02-21T11:19:33.000Z | from __future__ import annotations
from coredis.typing import Callable, ClassVar, Dict, Tuple, ValueT
class KeySpec:
READONLY: ClassVar[
Dict[bytes, Callable[[Tuple[ValueT, ...]], Tuple[ValueT, ...]]]
] = {
b"BITCOUNT": lambda args: ((args[1],)),
b"BITFIELD_RO": lambda args: ((args[1]... | 45.812346 | 86 | 0.478765 | 2,336 | 18,554 | 3.793664 | 0.109589 | 0.338524 | 0.467615 | 0.42654 | 0.86933 | 0.756601 | 0.722975 | 0.680998 | 0.657752 | 0.619838 | 0 | 0.031221 | 0.292228 | 18,554 | 404 | 87 | 45.925743 | 0.643619 | 0 | 0 | 0.545226 | 0 | 0 | 0.132963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002513 | false | 0 | 0.005025 | 0 | 0.025126 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1f1625e77c12b6a905551b498a0f80fdf36ce91a | 6,355 | py | Python | tests/unit/app/test_exceptions.py | datphan/moviecrab | e3bcff700b994388f1ded68d268a960b10d57a81 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/app/test_exceptions.py | datphan/moviecrab | e3bcff700b994388f1ded68d268a960b10d57a81 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/app/test_exceptions.py | datphan/moviecrab | e3bcff700b994388f1ded68d268a960b10d57a81 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""tests for app.exceptions"""
from tests.unit import UnitTestCase
from app.exceptions import (ApplicationException, BadRequestException, UnauthorizedException,
ForbiddenException, NotFoundException)
class ApplicationExceptionTestCase(UnitTestCase):
def test_... | 41 | 95 | 0.636035 | 580 | 6,355 | 6.781034 | 0.093103 | 0.146453 | 0.16476 | 0.24714 | 0.819222 | 0.743199 | 0.723875 | 0.700483 | 0.648614 | 0.635393 | 0 | 0.018008 | 0.257278 | 6,355 | 154 | 96 | 41.266234 | 0.815254 | 0.007396 | 0 | 0.584746 | 0 | 0 | 0.167248 | 0.013329 | 0 | 0 | 0 | 0 | 0.40678 | 1 | 0.050847 | false | 0 | 0.016949 | 0 | 0.110169 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1f31f0c9903a3e594736cdf1d00722070bf3ac27 | 7,382 | py | Python | third_party/libSBML-5.9.0-Source/examples/python/fbc/fbc_example1.py | 0u812/roadrunner | f464c2649e388fa1f5a015592b0b29b65cc84b4b | [
"Apache-2.0"
] | null | null | null | third_party/libSBML-5.9.0-Source/examples/python/fbc/fbc_example1.py | 0u812/roadrunner | f464c2649e388fa1f5a015592b0b29b65cc84b4b | [
"Apache-2.0"
] | null | null | null | third_party/libSBML-5.9.0-Source/examples/python/fbc/fbc_example1.py | 0u812/roadrunner | f464c2649e388fa1f5a015592b0b29b65cc84b4b | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#
# @file fbc_example1.py
# @brief SBML FBC example
# @author Frank Bergmann
#
# This file is part of libSBML. Please visit http:# sbml.org for more
# information about SBML, and the latest version of libSBML.
#
from libsbml import *
sbmlns = SBMLNamespaces(3,1,"fbc... | 27.442379 | 72 | 0.760092 | 702 | 7,382 | 7.990028 | 0.155271 | 0.057764 | 0.052951 | 0.06864 | 0.82742 | 0.813692 | 0.805491 | 0.805491 | 0.805491 | 0.805491 | 0 | 0.011987 | 0.095909 | 7,382 | 268 | 73 | 27.544776 | 0.828439 | 0.047684 | 0 | 0.733645 | 0 | 0 | 0.05292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004673 | 0 | 0.004673 | 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 |
1f4201f86bb9d7735918785fefbc399b7241c047 | 5,819 | py | Python | rpython/translator/mu/test_impl/test_convop.py | wdv4758h/mu-client-pypy | d2fcc01f0b4fe3ffa232762124e3e6d38ed3a0cf | [
"Apache-2.0",
"OpenSSL"
] | null | null | null | rpython/translator/mu/test_impl/test_convop.py | wdv4758h/mu-client-pypy | d2fcc01f0b4fe3ffa232762124e3e6d38ed3a0cf | [
"Apache-2.0",
"OpenSSL"
] | null | null | null | rpython/translator/mu/test_impl/test_convop.py | wdv4758h/mu-client-pypy | d2fcc01f0b4fe3ffa232762124e3e6d38ed3a0cf | [
"Apache-2.0",
"OpenSSL"
] | null | null | null | from impl_test_util import impl_jit_test
def test_trunc(cmdopt):
def build_test_bundle(bldr, rmu):
"""
Builds the following test bundle.
.typedef @i64 = int<64>
.typedef @i32 = int<32>
.const @0x6d9f9c1d58324b55_i64 <@i64> = 0x6d9f9c1d58324b55
.funcsi... | 35.699387 | 95 | 0.569686 | 770 | 5,819 | 3.968831 | 0.087013 | 0.103076 | 0.098168 | 0.076571 | 0.858966 | 0.85373 | 0.845877 | 0.845877 | 0.835079 | 0.825589 | 0 | 0.127183 | 0.301426 | 5,819 | 163 | 96 | 35.699387 | 0.6246 | 0.272384 | 0 | 0.787234 | 0 | 0 | 0.10271 | 0.022194 | 0 | 0 | 0.021677 | 0 | 0.031915 | 1 | 0.06383 | false | 0 | 0.010638 | 0 | 0.106383 | 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 |
1f71243752e00cd2d867722d91394cd00789e761 | 292 | py | Python | andhra/config.py | Jalend15/electoral_rolls | da170c6d07c5d5f19fdc88ab4b72359da2d31661 | [
"MIT"
] | null | null | null | andhra/config.py | Jalend15/electoral_rolls | da170c6d07c5d5f19fdc88ab4b72359da2d31661 | [
"MIT"
] | null | null | null | andhra/config.py | Jalend15/electoral_rolls | da170c6d07c5d5f19fdc88ab4b72359da2d31661 | [
"MIT"
] | 2 | 2021-08-24T05:57:38.000Z | 2021-08-24T09:13:22.000Z |
ANDHRA_TRACK_DIR = '/Users/jalend15/PycharmProjects/electoral_rolls/andhra/andhra_pdfs'
ANDHRA_PDF_ENGLISH_DIR = '/Users/jalend15/PycharmProjects/electoral_rolls/andhra/andhra_pdfs/english'
ANDHRA_PDF_TELUGU_DIR = '/Users/jalend15/PycharmProjects/electoral_rolls/andhra/andhra_pdfs/telugu' | 48.666667 | 101 | 0.863014 | 37 | 292 | 6.432432 | 0.324324 | 0.10084 | 0.201681 | 0.390756 | 0.768908 | 0.768908 | 0.768908 | 0.768908 | 0.768908 | 0 | 0 | 0.021352 | 0.037671 | 292 | 6 | 102 | 48.666667 | 0.825623 | 0 | 0 | 0 | 0 | 0 | 0.734483 | 0.734483 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
2f055ffd170aa70d84bb0c8b2ccb36531771c1ab | 29 | py | Python | catprinter/__init__.py | thyme4soup/catprinter | 9f4e2acbc0f4fb48e7132e0848201c74aa5a66ee | [
"MIT"
] | null | null | null | catprinter/__init__.py | thyme4soup/catprinter | 9f4e2acbc0f4fb48e7132e0848201c74aa5a66ee | [
"MIT"
] | null | null | null | catprinter/__init__.py | thyme4soup/catprinter | 9f4e2acbc0f4fb48e7132e0848201c74aa5a66ee | [
"MIT"
] | null | null | null | from catprinter import print
| 14.5 | 28 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
2f1a585a2d0161218124df07993f8c1eb7e97ce9 | 154 | py | Python | python/common/fileIO/__init__.py | CountZer0/PipelineConstructionSet | 0aa73a8a63c72989b2d1c677efd78dad4388d335 | [
"BSD-3-Clause"
] | 21 | 2015-04-27T05:01:36.000Z | 2021-11-22T13:45:14.000Z | python/common/fileIO/__init__.py | 0xb1dd1e/PipelineConstructionSet | 621349da1b6d1437e95d0c9e48ee9f36d59f19fd | [
"BSD-3-Clause"
] | null | null | null | python/common/fileIO/__init__.py | 0xb1dd1e/PipelineConstructionSet | 621349da1b6d1437e95d0c9e48ee9f36d59f19fd | [
"BSD-3-Clause"
] | 7 | 2015-04-11T11:37:19.000Z | 2020-05-22T09:49:04.000Z | """
Import file utilities modules
*Author:*
* Jason.Parks, jason@continuityai.com, 1/8/14 4:46 PM
"""
print "common.fileIO.__init__ imported" | 19.25 | 58 | 0.675325 | 21 | 154 | 4.761905 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.181818 | 154 | 8 | 59 | 19.25 | 0.738095 | 0 | 0 | 0 | 0 | 0 | 0.738095 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 1 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
2f63fc5a81bac6f4d9c7ca1dac8ebe6d2f442d84 | 19,674 | py | Python | chul/tests/test_updates.py | Jenks18/mfl_api | ecbb8954053be06bbcac7e1132811d73534c78d9 | [
"MIT"
] | 19 | 2015-04-16T09:37:08.000Z | 2022-02-10T11:50:30.000Z | chul/tests/test_updates.py | Jenks18/mfl_api | ecbb8954053be06bbcac7e1132811d73534c78d9 | [
"MIT"
] | 125 | 2015-03-26T14:05:49.000Z | 2020-05-14T08:16:50.000Z | chul/tests/test_updates.py | Jenks18/mfl_api | ecbb8954053be06bbcac7e1132811d73534c78d9 | [
"MIT"
] | 39 | 2015-04-15T09:17:33.000Z | 2022-03-28T18:08:16.000Z | from django.core.urlresolvers import reverse
from common.tests.test_views import LoginMixin
from common.models import ContactType, Contact
from rest_framework.test import APITestCase
from model_mommy import mommy
from facilities.models import Facility
from ..models import (
CommunityHealthUnit,
ChuUpdateBuf... | 38.500978 | 78 | 0.609434 | 1,989 | 19,674 | 5.850176 | 0.055807 | 0.097628 | 0.051564 | 0.039532 | 0.90495 | 0.885442 | 0.866535 | 0.862839 | 0.844276 | 0.832932 | 0 | 0.018394 | 0.281539 | 19,674 | 510 | 79 | 38.576471 | 0.804811 | 0 | 0 | 0.719486 | 0 | 0 | 0.078479 | 0.003355 | 0 | 0 | 0 | 0 | 0.235546 | 1 | 0.025696 | false | 0 | 0.014989 | 0 | 0.042827 | 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 |
2f6aba83bacf0a33a44da07f67ca51863d4794df | 16,528 | py | Python | tests/test_instruction_packet.py | PMGrobotics/pyax12 | a5d53094ab7dd8c2cace1ac3d3fa1f86cc13c28c | [
"MIT"
] | 15 | 2015-08-21T19:37:32.000Z | 2021-12-11T08:40:27.000Z | tests/test_instruction_packet.py | lvic/pyAX12andMX64 | c759b0524079bc57ae3c89d276cd01f9d92c86cf | [
"MIT"
] | 7 | 2015-08-26T20:57:22.000Z | 2020-06-29T11:41:36.000Z | tests/test_instruction_packet.py | lvic/pyAX12andMX64 | c759b0524079bc57ae3c89d276cd01f9d92c86cf | [
"MIT"
] | 8 | 2017-10-19T03:21:13.000Z | 2021-03-25T11:03:33.000Z | #!/usr/bin/env python3
# -*- coding : utf-8 -*-
# PyAX-12
# The MIT License
#
# Copyright (c) 2010,2015 Jeremie DECOCK (http://www.jdhp.org)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Softwar... | 34.505219 | 80 | 0.630506 | 1,852 | 16,528 | 5.50216 | 0.137689 | 0.082041 | 0.072718 | 0.105986 | 0.805005 | 0.785967 | 0.773602 | 0.761923 | 0.726791 | 0.695976 | 0 | 0.01551 | 0.286121 | 16,528 | 478 | 81 | 34.577406 | 0.848123 | 0.320305 | 0 | 0.726872 | 0 | 0 | 0.025179 | 0 | 0 | 0 | 0.009583 | 0.002092 | 0.145374 | 1 | 0.079295 | false | 0 | 0.013216 | 0 | 0.096916 | 0.013216 | 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 |
2f7f3c25ccb751d7e276b0bdaa3648a8069896e6 | 3,811 | py | Python | eqb/scripts/hmac-sha256.py | cryptotechguru/tesseract | 9b64c61483710c94390404c3d920c1059cbfcda7 | [
"MIT"
] | null | null | null | eqb/scripts/hmac-sha256.py | cryptotechguru/tesseract | 9b64c61483710c94390404c3d920c1059cbfcda7 | [
"MIT"
] | 45 | 2019-02-05T17:17:18.000Z | 2019-07-20T17:21:02.000Z | eqb/scripts/hmac-sha256.py | cryptotechguru/tesseract | 9b64c61483710c94390404c3d920c1059cbfcda7 | [
"MIT"
] | 6 | 2019-02-01T12:30:48.000Z | 2019-03-01T20:33:14.000Z | #!/usr/bin/env python
# Generate test data for crypto_tests/hmac_sha3_testvectors
import hashlib
import hmac
def TestHMACSHA256(key, message, expected):
m = hmac.new(bytearray.fromhex(key), bytearray.fromhex(message), hashlib.sha256)
result = m.hexdigest()
print(key, message)
print(expected)
prin... | 59.546875 | 84 | 0.773025 | 122 | 3,811 | 24.122951 | 0.540984 | 0.260958 | 0.260958 | 0.015291 | 0.20897 | 0.187564 | 0 | 0 | 0 | 0 | 0 | 0.449312 | 0.17948 | 3,811 | 64 | 85 | 59.546875 | 0.491845 | 0.05038 | 0 | 0.309091 | 1 | 0 | 0.684371 | 0.673859 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018182 | false | 0 | 0.036364 | 0 | 0.054545 | 0.072727 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
85d070c4ac18a762e7c0c4642a9c37d2f616484e | 588 | py | Python | lists_slicing_protists.py | julencosme/python-crash-course | 6b37d7346e235273c266110932207cd67ce4eb0e | [
"MIT"
] | null | null | null | lists_slicing_protists.py | julencosme/python-crash-course | 6b37d7346e235273c266110932207cd67ce4eb0e | [
"MIT"
] | null | null | null | lists_slicing_protists.py | julencosme/python-crash-course | 6b37d7346e235273c266110932207cd67ce4eb0e | [
"MIT"
] | null | null | null | protists_chlorophyta = ["volvox", "actinastrum", "hydrodictyon", "spirogyra"]
print("The first three items in the list are:")
for protist in protists_chlorophyta[:3]:
print(protist.title())
protists_chlorophyta = ["volvox", "actinastrum", "hydrodictyon", "spirogyra"]
print("The items in the middle of the list are:... | 36.75 | 77 | 0.731293 | 74 | 588 | 5.72973 | 0.297297 | 0.268868 | 0.176887 | 0.254717 | 0.933962 | 0.933962 | 0.933962 | 0.933962 | 0.683962 | 0.683962 | 0 | 0.007767 | 0.12415 | 588 | 15 | 78 | 39.2 | 0.815534 | 0 | 0 | 0.5 | 0 | 0 | 0.389456 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
c8387d86da85605282bd29843e7873e685bf8274 | 148 | py | Python | spider/concurrent/__init__.py | Foristkirito/PSpider | 1393576180e25cdc59b495d1988afef38962758f | [
"BSD-2-Clause"
] | 1,894 | 2016-10-17T17:11:18.000Z | 2022-03-30T19:20:04.000Z | spider/concurrent/__init__.py | yiyuebitian/PSpider | 7cb5b073d37499392d562ef9a112df085729f963 | [
"BSD-2-Clause"
] | 32 | 2016-11-30T08:47:39.000Z | 2022-02-20T04:46:10.000Z | spider/concurrent/__init__.py | yiyuebitian/PSpider | 7cb5b073d37499392d562ef9a112df085729f963 | [
"BSD-2-Clause"
] | 638 | 2016-10-18T01:23:27.000Z | 2022-03-21T07:05:30.000Z | # _*_ coding: utf-8 _*_
"""
define ThreadPool as WebSpider
"""
from .threads_inst import TPEnum
from .threads_pool import ThreadPool as WebSpider
| 16.444444 | 49 | 0.756757 | 19 | 148 | 5.578947 | 0.684211 | 0.226415 | 0.396226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.155405 | 148 | 8 | 50 | 18.5 | 0.84 | 0.358108 | 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 |
c09caf5aa86e63d6dddd085bfcaee6b5ac7f6648 | 27,534 | py | Python | HLC/dense_rewardDDPG_HER.py | LM095/Multi-Subtask-DRL-for-Pick-and-Place-Task | b0fd58e086289adf1cc3930431db09c985c498bf | [
"MIT"
] | 5 | 2021-02-15T19:54:38.000Z | 2021-06-21T15:41:42.000Z | HLC/dense_rewardDDPG_HER.py | LM095/DRL-for-Pick-and-Place-Task-subtasks | b0fd58e086289adf1cc3930431db09c985c498bf | [
"MIT"
] | 1 | 2021-11-14T09:36:25.000Z | 2021-11-14T11:22:51.000Z | HLC/dense_rewardDDPG_HER.py | LM095/Multi-Subtask-DRL-for-Pick-and-Place-Task | b0fd58e086289adf1cc3930431db09c985c498bf | [
"MIT"
] | 1 | 2021-06-21T15:41:43.000Z | 2021-06-21T15:41:43.000Z | import gym
import random
import numpy as np
import argparse
from arguments import get_args
from actorcritic import Actor, second, act, actor
import torch
from torch.autograd import Variable
import torch.nn.functional as F
import torch.optim as optim
import torch.cuda
import matplotlib.pyplot as plt
from torch.distribut... | 44.770732 | 173 | 0.578485 | 3,220 | 27,534 | 4.671429 | 0.081677 | 0.039489 | 0.02872 | 0.01795 | 0.860457 | 0.850419 | 0.84417 | 0.837721 | 0.832934 | 0.829079 | 0 | 0.019582 | 0.321167 | 27,534 | 614 | 174 | 44.843648 | 0.785191 | 0.085567 | 0 | 0.807339 | 0 | 0 | 0.028835 | 0.000916 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009174 | false | 0 | 0.043578 | 0 | 0.057339 | 0.002294 | 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 |
c0a7df68d19a9bdbb2b43ed2d150ffbb6e43d448 | 66 | py | Python | test/completion/import_tree/recurse_class2.py | mrclary/jedi | 803c3cb271ead297c4fe3ca916b54ed05a623459 | [
"MIT"
] | 4,213 | 2015-01-02T15:43:22.000Z | 2022-03-31T16:15:01.000Z | test/completion/import_tree/recurse_class2.py | mrclary/jedi | 803c3cb271ead297c4fe3ca916b54ed05a623459 | [
"MIT"
] | 1,392 | 2015-01-02T18:43:39.000Z | 2022-03-27T18:43:59.000Z | test/completion/import_tree/recurse_class2.py | PeterJCLaw/jedi | 070f191f550990c23220d7f209df076178307cf6 | [
"MIT"
] | 525 | 2015-01-02T19:07:31.000Z | 2022-03-13T02:03:20.000Z | from . import recurse_class1
class C(recurse_class1.C):
pass
| 13.2 | 28 | 0.742424 | 10 | 66 | 4.7 | 0.7 | 0.553191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.181818 | 66 | 4 | 29 | 16.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
c0ad1f20597303658147f4b1b8943c49719bc184 | 76 | py | Python | test/io_/video/test_video_reader.py | ControlNet/tensorneko | 70dfb2f6395e1703dbdf5d5adcfed7b1334efb8f | [
"MIT"
] | 9 | 2021-05-23T17:38:09.000Z | 2021-12-30T19:12:12.000Z | test/io_/video/test_video_reader.py | ControlNet/tensorneko | 70dfb2f6395e1703dbdf5d5adcfed7b1334efb8f | [
"MIT"
] | null | null | null | test/io_/video/test_video_reader.py | ControlNet/tensorneko | 70dfb2f6395e1703dbdf5d5adcfed7b1334efb8f | [
"MIT"
] | null | null | null | import unittest
class TestVideoReader(unittest.TestCase):
pass # TODO
| 12.666667 | 41 | 0.763158 | 8 | 76 | 7.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 76 | 5 | 42 | 15.2 | 0.920635 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 1 | 0 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
c0dc6589f9d70873de1367313e06dcd99af7c134 | 4,293 | py | Python | test/modules/test_misc.py | Ghost-Proxy/Voluspa | ba16065cc270b744a1eb302142fdd3b21a698505 | [
"MIT"
] | null | null | null | test/modules/test_misc.py | Ghost-Proxy/Voluspa | ba16065cc270b744a1eb302142fdd3b21a698505 | [
"MIT"
] | 12 | 2020-06-11T02:11:27.000Z | 2022-02-10T01:30:49.000Z | test/modules/test_misc.py | Ghost-Proxy/Voluspa | ba16065cc270b744a1eb302142fdd3b21a698505 | [
"MIT"
] | 1 | 2020-06-15T19:59:06.000Z | 2020-06-15T19:59:06.000Z | from unittest import TestCase
from modules.misc import merge_dicts
class DictMergeTestCase(TestCase):
def test_merges_dicts(self):
a = {
'a': 1,
'b': {
'b1': 2,
'b2': 3,
},
}
b = {
'a': 1,
'b': {
... | 27.170886 | 84 | 0.407174 | 513 | 4,293 | 3.255361 | 0.136452 | 0.155689 | 0.164671 | 0.179641 | 0.88024 | 0.837126 | 0.836527 | 0.836527 | 0.800599 | 0.756886 | 0 | 0.036836 | 0.443513 | 4,293 | 157 | 85 | 27.343949 | 0.662202 | 0.042628 | 0 | 0.635037 | 0 | 0 | 0.072634 | 0 | 0 | 0 | 0 | 0 | 0.167883 | 1 | 0.036496 | false | 0.029197 | 0.014599 | 0 | 0.058394 | 0.014599 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c0f9ad56c765d35657f1a5ce86873c3e696ff315 | 2,645 | py | Python | p3_collab-compet/model.py | TobiasSunderdiek/my-udacity-deep-reinforcement-learning-solutions | 14931252a0b14247ad926e3507dad19dcb811896 | [
"MIT"
] | null | null | null | p3_collab-compet/model.py | TobiasSunderdiek/my-udacity-deep-reinforcement-learning-solutions | 14931252a0b14247ad926e3507dad19dcb811896 | [
"MIT"
] | 8 | 2020-09-28T17:40:06.000Z | 2022-02-10T04:50:48.000Z | p3_collab-compet/model.py | TobiasSunderdiek/my-udacity-deep-reinforcement-learning-solutions | 14931252a0b14247ad926e3507dad19dcb811896 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
class Actor(nn.Module):
""" I got this from the description in the paper: https://arxiv.org/pdf/1509.02971.pdf
and from here: https://github.com/udacity/deep-reinforcement-learning/blob/master/ddpg-pendulum/model.py#L12
"""
def __in... | 50.865385 | 137 | 0.671456 | 440 | 2,645 | 3.922727 | 0.227273 | 0.05562 | 0.032445 | 0.044032 | 0.899768 | 0.899768 | 0.882387 | 0.858053 | 0.858053 | 0.807648 | 0 | 0.048745 | 0.216635 | 2,645 | 52 | 138 | 50.865385 | 0.784266 | 0.471078 | 0 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0 | 1 | 0.125 | false | 0 | 0.09375 | 0 | 0.34375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c0fa461d9122f5e0b53bc36a0deee590842d7c60 | 139 | py | Python | django_base/test.py | Windsooon/youtube-channels | 83ee3215cc5dff3dfd01979a7b5440d701029456 | [
"MIT"
] | 10 | 2017-11-12T19:14:36.000Z | 2019-08-05T08:07:55.000Z | django_base/test.py | Windsooon/youtube-channels | 83ee3215cc5dff3dfd01979a7b5440d701029456 | [
"MIT"
] | 3 | 2020-02-11T22:03:33.000Z | 2021-06-10T19:56:27.000Z | django_base/test.py | Windsooon/youtube-channels | 83ee3215cc5dff3dfd01979a7b5440d701029456 | [
"MIT"
] | 1 | 2019-12-26T19:30:21.000Z | 2019-12-26T19:30:21.000Z | class A(object):
def __init__(self):
pass
def _internal_use(self):
pass
def __method_name(self):
pass
| 15.444444 | 28 | 0.568345 | 17 | 139 | 4.117647 | 0.647059 | 0.342857 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.345324 | 139 | 8 | 29 | 17.375 | 0.769231 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
8d012d7d34d3cc1268c5bd937ddcb2af2c1c4c4c | 308,389 | gyp | Python | webkit/webkit.gyp | zachlatta/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | 1 | 2021-09-24T22:49:10.000Z | 2021-09-24T22:49:10.000Z | webkit/webkit.gyp | changbai1980/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | null | null | null | webkit/webkit.gyp | changbai1980/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'feature_defines': [
'ENABLE_CHANNEL_MESSAGING=1',
'ENABLE_DATABASE=1',
'ENABLE_DATAGRID=1',
'ENABLE_DASHB... | 62.80835 | 300 | 0.685884 | 32,465 | 308,389 | 6.375389 | 0.088187 | 0.177798 | 0.283626 | 0.394155 | 0.84678 | 0.829406 | 0.407528 | 0.240592 | 0.109964 | 0.052962 | 0 | 0.002643 | 0.153475 | 308,389 | 4,909 | 301 | 62.821145 | 0.790193 | 0.024395 | 0 | 0.129881 | 0 | 0.001698 | 0.795982 | 0.776664 | 0 | 0 | 0 | 0.000204 | 0.000424 | 1 | 0 | true | 0.001486 | 0.001061 | 0 | 0.001061 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2391968441c9e20eac6405364d69583c136f0c4f | 203 | py | Python | codedigger/user/response.py | jyothiprakashpanaik/Backend | 9ab1b57436a0a1a6197777c0b36c842e71121d3a | [
"Apache-2.0"
] | 17 | 2020-10-07T22:40:37.000Z | 2022-01-20T07:19:09.000Z | codedigger/user/response.py | jyothiprakashpanaik/Backend | 9ab1b57436a0a1a6197777c0b36c842e71121d3a | [
"Apache-2.0"
] | 42 | 2021-06-03T01:58:04.000Z | 2022-01-31T14:49:22.000Z | codedigger/user/response.py | jyothiprakashpanaik/Backend | 9ab1b57436a0a1a6197777c0b36c842e71121d3a | [
"Apache-2.0"
] | 25 | 2020-10-06T17:55:19.000Z | 2021-12-09T07:56:50.000Z | from rest_framework.response import Response
from rest_framework import status
def response(Data, Status=status.HTTP_200_OK):
return Response(data={'status': 'OK', 'result': Data}, status=Status)
| 25.375 | 73 | 0.768473 | 28 | 203 | 5.428571 | 0.464286 | 0.197368 | 0.223684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01676 | 0.118227 | 203 | 7 | 74 | 29 | 0.832402 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
23b3a28a0aeac86092ba9f4c83f6710b7085a977 | 5,716 | py | Python | toxic.py | TXVIRUS/TX_SMS | 6715eaeef7cb87e0399c6eff0cb0537a9cee528b | [
"MIT"
] | null | null | null | toxic.py | TXVIRUS/TX_SMS | 6715eaeef7cb87e0399c6eff0cb0537a9cee528b | [
"MIT"
] | null | null | null | toxic.py | TXVIRUS/TX_SMS | 6715eaeef7cb87e0399c6eff0cb0537a9cee528b | [
"MIT"
] | null | null | null | #Compiled By Mohammad Alamin
#https://github.com/AK27HBD/
import marshal
exec(marshal.loads(b'\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00@\x00\x00\x00s\x1a\x00\x00\x00d\x00d\x01l\x00Z\x00e\x01e\x00\xa0\x02d\x02\xa1\x01\x83\x01\x01\x00d\x01S\x00)\x03\xe9\x00\x00\x00\x00Ns\xee\x06... | 1,429 | 5,643 | 0.737229 | 1,300 | 5,716 | 3.237692 | 0.365385 | 0.039914 | 0.042766 | 0.042766 | 0.014968 | 0.011404 | 0.011404 | 0.011404 | 0.011404 | 0.011404 | 0 | 0.228842 | 0.001575 | 5,716 | 4 | 5,643 | 1,429 | 0.508674 | 0.009447 | 0 | 0 | 0 | 2.5 | 0.6702 | 0.670023 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
23ceee01cd43d88b331111e7f0a06381a7ba539a | 4,867 | py | Python | stdplugins/warnbun.py | dqanshi/PornHub | 162a7053ca7f2c0b3617b852559cfaf0502d94a7 | [
"Apache-2.0"
] | 55 | 2019-07-13T15:57:54.000Z | 2021-09-20T16:50:42.000Z | stdplugins/warnbun.py | dqanshi/PornHub | 162a7053ca7f2c0b3617b852559cfaf0502d94a7 | [
"Apache-2.0"
] | 3 | 2019-04-20T08:34:01.000Z | 2019-05-11T21:37:02.000Z | stdplugins/warnbun.py | dqanshi/PornHub | 162a7053ca7f2c0b3617b852559cfaf0502d94a7 | [
"Apache-2.0"
] | 450 | 2019-07-12T13:18:41.000Z | 2022-03-29T18:47:42.000Z | """Commands:
.warn0
.warn1
.warn2
.warn3
.gbun
.fw
.ocb"""
import asyncio
from telethon import events
from telethon.tl.types import ChannelParticipantsAdmins
from uniborg.util import admin_cmd
@borg.on(admin_cmd("warn1"))
async def _(event):
if event.fwd_from:
return
mentions = "__You Have__ **1/3** ... | 31.4 | 167 | 0.700021 | 631 | 4,867 | 5.147385 | 0.147385 | 0.086207 | 0.056034 | 0.030172 | 0.904865 | 0.904865 | 0.904865 | 0.904865 | 0.904865 | 0.892241 | 0 | 0.008429 | 0.195603 | 4,867 | 154 | 168 | 31.603896 | 0.821201 | 0.010684 | 0 | 0.888 | 0 | 0.032 | 0.144841 | 0.038453 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.16 | 0 | 0.216 | 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 |
f1bf40d181dbb6180d8b102d7f6e138c1ef8cbb4 | 287 | py | Python | tests/emulated_modules/sub_module_3/__init__.py | alisaifee/hiro | e93551b575c10729766b077bb1a79b1f87436a4e | [
"MIT"
] | 5 | 2017-03-16T06:55:38.000Z | 2021-04-07T15:42:23.000Z | tests/emulated_modules/sub_module_3/__init__.py | alisaifee/hiro | e93551b575c10729766b077bb1a79b1f87436a4e | [
"MIT"
] | 8 | 2017-01-12T12:26:58.000Z | 2020-05-26T02:20:57.000Z | tests/emulated_modules/sub_module_3/__init__.py | alisaifee/hiro | e93551b575c10729766b077bb1a79b1f87436a4e | [
"MIT"
] | 4 | 2016-06-20T11:32:14.000Z | 2019-06-27T07:14:44.000Z | from .sub_sample_3_1 import (
sub_sample_3_1_now, sub_sample_3_1_today, sub_sample_3_1_sleep,
sub_sample_3_1_time, sub_sample_3_1_gmtime
)
__all__ = [
"sub_sample_3_1_now", "sub_sample_3_1_today", "sub_sample_3_1_sleep",
"sub_sample_3_1_time", "sub_sample_3_1_gmtime"
]
| 28.7 | 73 | 0.790941 | 57 | 287 | 3.157895 | 0.210526 | 0.55 | 0.611111 | 0.672222 | 0.866667 | 0.866667 | 0.866667 | 0.866667 | 0.866667 | 0.866667 | 0 | 0.087649 | 0.125436 | 287 | 9 | 74 | 31.888889 | 0.629482 | 0 | 0 | 0 | 0 | 0 | 0.341463 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
f1d2c16ce3fc0642725a5a15e77aa680414e1ccb | 6,551 | py | Python | src/genie/libs/parser/iosxe/tests/ShowLoggingOnboardRpActiveTemperatureContinuous/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowLoggingOnboardRpActiveTemperatureContinuous/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowLoggingOnboardRpActiveTemperatureContinuous/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | null | null | null | expected_output = {
'application': 'TEMPERATURE',
'temperature_sensors': {
'CPU board': {
'id': 0,
'history': {
'11/10/2019 05:35:04': 51,
'11/10/2019 05:45:04': 51,
'11/10/2019 06:35:04': 49,
'11/10/2019 06:40:... | 29.376682 | 43 | 0.310182 | 811 | 6,551 | 2.472256 | 0.08508 | 0.191521 | 0.383042 | 0.239402 | 0.871322 | 0.871322 | 0.710723 | 0.626933 | 0.626933 | 0.626933 | 0 | 0.512512 | 0.518089 | 6,551 | 222 | 44 | 29.509009 | 0.122585 | 0 | 0 | 0.40724 | 0 | 0 | 0.347939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.