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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ec20433a7e0cd45d819304cb2359f472e8ae5d77 | 153 | py | Python | UTKFace/UTKFace_64x64/cGAN-concat/models/__init__.py | asatk/improved_CcGAN | 29a58e6e2a03e56c2ad80ae1a2ebbd0710e026f3 | [
"MIT"
] | 1 | 2022-02-26T00:07:37.000Z | 2022-02-26T00:07:37.000Z | UTKFace/UTKFace_64x64/cGAN-concat/models/__init__.py | asatk/improved_CcGAN | 29a58e6e2a03e56c2ad80ae1a2ebbd0710e026f3 | [
"MIT"
] | null | null | null | UTKFace/UTKFace_64x64/cGAN-concat/models/__init__.py | asatk/improved_CcGAN | 29a58e6e2a03e56c2ad80ae1a2ebbd0710e026f3 | [
"MIT"
] | null | null | null | from .DCGAN import *
from .SNGAN import *
from .ResNet_regre import *
from .ResNet_embed import *
from .ResNet_class import *
from .autoencoder import *
| 21.857143 | 27 | 0.764706 | 21 | 153 | 5.428571 | 0.428571 | 0.438596 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 153 | 6 | 28 | 25.5 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
ec2313048745a9ce34c7da0e2f7ca68c14230a65 | 96 | py | Python | models/incoming_phone_numbers.py | arfrank/Fake-Twilio-Api | 3ed180d8ea81747f8afaba92af8f47e4397de480 | [
"Unlicense"
] | 6 | 2015-06-22T19:32:08.000Z | 2021-03-19T05:14:14.000Z | models/incoming_phone_numbers.py | arfrank/Fake-Twilio-Api | 3ed180d8ea81747f8afaba92af8f47e4397de480 | [
"Unlicense"
] | null | null | null | models/incoming_phone_numbers.py | arfrank/Fake-Twilio-Api | 3ed180d8ea81747f8afaba92af8f47e4397de480 | [
"Unlicense"
] | 2 | 2016-04-13T14:44:32.000Z | 2021-04-12T14:41:24.000Z | from models import phone_numbers
class Incoming_Phone_Number(phone_numbers.Phone_Number):
pass | 24 | 56 | 0.875 | 14 | 96 | 5.642857 | 0.642857 | 0.303797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 96 | 4 | 57 | 24 | 0.897727 | 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 |
6b705b80ae29068fa04c256314281b4c59a227b2 | 8,072 | py | Python | py/HW3/option_models/sabr.py | cy-wang15/ASP | 68a512fbbe0a36feab7eaee5118ea815ec0444de | [
"MIT"
] | 1 | 2021-05-17T02:17:54.000Z | 2021-05-17T02:17:54.000Z | py/HW3/option_models/sabr.py | cy-wang15/ASP | 68a512fbbe0a36feab7eaee5118ea815ec0444de | [
"MIT"
] | null | null | null | py/HW3/option_models/sabr.py | cy-wang15/ASP | 68a512fbbe0a36feab7eaee5118ea815ec0444de | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue Oct 10
@author: jaehyuk
"""
import numpy as np
import scipy.stats as ss
import scipy.optimize as sopt
from . import normal
from . import bsm
import pyfeng as pf
'''
MC model class for Beta=1
'''
class ModelBsmMC:
beta = 1.0 # fixed (not used)
vov, rho = 0.0, 0... | 31.40856 | 108 | 0.52837 | 1,173 | 8,072 | 3.56607 | 0.121057 | 0.010041 | 0.009563 | 0.034425 | 0.886445 | 0.877839 | 0.877839 | 0.863017 | 0.863017 | 0.854889 | 0 | 0.032209 | 0.342294 | 8,072 | 257 | 109 | 31.40856 | 0.755698 | 0.173067 | 0 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078431 | false | 0 | 0.039216 | 0 | 0.248366 | 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 |
6bc54f40c2131aad1358e1eb757d91b6d775197f | 134 | py | Python | src/github_secret_finder/core/github/__init__.py | gsoft-inc/github-secret-finder | 07e85fbc84773dfe9e921d2e7a3c0372cb936177 | [
"Apache-2.0"
] | 4 | 2019-10-22T20:03:41.000Z | 2020-11-18T18:00:56.000Z | src/github_secret_finder/core/github/__init__.py | mlefebvre/github-secret-finder | 07e85fbc84773dfe9e921d2e7a3c0372cb936177 | [
"Apache-2.0"
] | null | null | null | src/github_secret_finder/core/github/__init__.py | mlefebvre/github-secret-finder | 07e85fbc84773dfe9e921d2e7a3c0372cb936177 | [
"Apache-2.0"
] | 1 | 2021-03-30T16:28:57.000Z | 2021-03-30T16:28:57.000Z | from .github_api_client import GithubApiClient
from .github_search_client import GithubSearchClient
from .github_api import GithubApi
| 33.5 | 52 | 0.88806 | 17 | 134 | 6.705882 | 0.529412 | 0.263158 | 0.22807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 134 | 3 | 53 | 44.666667 | 0.934426 | 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 |
6bec6aab35d861c939c924fbb9a36f93c94e9e3e | 132 | py | Python | knx_stack/encode/usb_hid/report_header/__init__.py | majamassarini/knx-stack | 11a9baac6b7600649b5fbca43c93b200b23676b4 | [
"MIT"
] | 2 | 2021-07-28T07:42:28.000Z | 2022-01-25T18:56:05.000Z | knx_stack/encode/usb_hid/report_header/__init__.py | majamassarini/knx-stack | 11a9baac6b7600649b5fbca43c93b200b23676b4 | [
"MIT"
] | 6 | 2021-07-25T21:36:01.000Z | 2022-02-20T21:11:31.000Z | knx_stack/encode/usb_hid/report_header/__init__.py | majamassarini/knx-stack | 11a9baac6b7600649b5fbca43c93b200b23676b4 | [
"MIT"
] | null | null | null | from knx_stack.encode.usb_hid.report_header import packet_info
from knx_stack.encode.usb_hid.report_header import report_identifier
| 44 | 68 | 0.893939 | 22 | 132 | 5 | 0.545455 | 0.127273 | 0.218182 | 0.327273 | 0.763636 | 0.763636 | 0.763636 | 0.763636 | 0.763636 | 0 | 0 | 0 | 0.060606 | 132 | 2 | 69 | 66 | 0.887097 | 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 | 1 | 1 | 1 | 1 | 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 | 11 |
6bf6833625ae8761aa0f49774275623e8016045e | 164 | py | Python | api/admin.py | smtr42/p13_atmosberry2 | 9fde605ad32c72741657ef2ae7a939966664b769 | [
"MIT"
] | null | null | null | api/admin.py | smtr42/p13_atmosberry2 | 9fde605ad32c72741657ef2ae7a939966664b769 | [
"MIT"
] | null | null | null | api/admin.py | smtr42/p13_atmosberry2 | 9fde605ad32c72741657ef2ae7a939966664b769 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Address, Device, Sensor
admin.site.register(Sensor)
admin.site.register(Address)
admin.site.register(Device)
| 20.5 | 43 | 0.810976 | 23 | 164 | 5.782609 | 0.478261 | 0.203008 | 0.383459 | 0.345865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091463 | 164 | 7 | 44 | 23.428571 | 0.892617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
6bf7e11cb213d94cb972352ff9ffc027d5f710ea | 31,086 | py | Python | read_xml_all/calcul_matrix_je_le_qui_dans_de_192_matrix_try1.py | daniel20162016/my-first | f9554dd476302b26e8a296393025f150922f349c | [
"MIT"
] | null | null | null | read_xml_all/calcul_matrix_je_le_qui_dans_de_192_matrix_try1.py | daniel20162016/my-first | f9554dd476302b26e8a296393025f150922f349c | [
"MIT"
] | null | null | null | read_xml_all/calcul_matrix_je_le_qui_dans_de_192_matrix_try1.py | daniel20162016/my-first | f9554dd476302b26e8a296393025f150922f349c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Oct 31 15:45:22 2016
@author: wang
"""
#from matplotlib import pylab as plt
#from numpy import fft, fromstring, int16, linspace
#import wave
from read_wav_xml_good_1 import*
from matrix_24_2 import*
from max_matrix_norm import*
import numpy as np
# open a wave file
filename... | 44.663793 | 184 | 0.491958 | 4,978 | 31,086 | 2.634793 | 0.019888 | 0.035453 | 0.04384 | 0.128088 | 0.962794 | 0.957838 | 0.926121 | 0.924291 | 0.922385 | 0.922385 | 0 | 0.065991 | 0.124011 | 31,086 | 696 | 184 | 44.663793 | 0.415666 | 0.397928 | 0 | 0.905077 | 0 | 0 | 0.005857 | 0.004447 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.00883 | null | null | 0.002208 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d40cf0a6971b1d4e07c7769350f3a812613bab4b | 3,895 | py | Python | ctft/souper.py | bajatin/ctft | 71e5e42f42d0910b310331c4d19a38ccf0745870 | [
"MIT"
] | 5 | 2020-08-14T13:20:57.000Z | 2022-01-09T00:44:22.000Z | ctft/souper.py | bajatin/ctft | 71e5e42f42d0910b310331c4d19a38ccf0745870 | [
"MIT"
] | null | null | null | ctft/souper.py | bajatin/ctft | 71e5e42f42d0910b310331c4d19a38ccf0745870 | [
"MIT"
] | null | null | null | import random
import requests
import aiohttp
import asyncio
from bs4 import BeautifulSoup
user_agent_list = [
'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1',
'Mozilla/5.0 (Windows NT 6.3; rv:36.0) Gecko/20100101 Firefox/36.0',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10; rv:3... | 66.016949 | 128 | 0.689602 | 700 | 3,895 | 3.81 | 0.161429 | 0.071241 | 0.104612 | 0.131984 | 0.781027 | 0.774653 | 0.750281 | 0.709786 | 0.667042 | 0.64117 | 0 | 0.214134 | 0.15353 | 3,895 | 58 | 129 | 67.155172 | 0.594783 | 0 | 0 | 0.117647 | 0 | 0.607843 | 0.748074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.098039 | 0 | 0.137255 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
00faa9f8df630a887ca74689348c7c8bf3549ee7 | 12,427 | py | Python | configlines/tests/test_parsers.py | benfogle/configlines | 7167593d73218b073a822d7ed7b1140587847c6b | [
"MIT"
] | 1 | 2018-05-06T20:09:54.000Z | 2018-05-06T20:09:54.000Z | configlines/tests/test_parsers.py | benfogle/configlines | 7167593d73218b073a822d7ed7b1140587847c6b | [
"MIT"
] | null | null | null | configlines/tests/test_parsers.py | benfogle/configlines | 7167593d73218b073a822d7ed7b1140587847c6b | [
"MIT"
] | null | null | null | from unittest import TestCase
import sys
import six
from six.moves import configparser
from pkg_resources import resource_filename
import configlines
class ConfigTest(TestCase):
def test_simple(self):
cfg = configlines.ConfigParser()
path = resource_filename(__name__, 'data1.cfg')
cfg.rea... | 41.149007 | 71 | 0.598455 | 1,524 | 12,427 | 4.744751 | 0.067585 | 0.110358 | 0.271332 | 0.316554 | 0.878993 | 0.856037 | 0.753699 | 0.709999 | 0.647075 | 0.631448 | 0 | 0.012786 | 0.213326 | 12,427 | 301 | 72 | 41.285714 | 0.726882 | 0.003541 | 0 | 0.645299 | 0 | 0 | 0.111793 | 0 | 0 | 0 | 0.000808 | 0 | 0.589744 | 1 | 0.059829 | false | 0.004274 | 0.025641 | 0.004274 | 0.102564 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2e14029b05698a98078095dbfb57457b6cc2ce2e | 142 | py | Python | Home/forms.py | Piotr95/Yummy_Pies | a5101b41caa932a69a7c9eda59aef237cf6a69a8 | [
"MIT"
] | null | null | null | Home/forms.py | Piotr95/Yummy_Pies | a5101b41caa932a69a7c9eda59aef237cf6a69a8 | [
"MIT"
] | null | null | null | Home/forms.py | Piotr95/Yummy_Pies | a5101b41caa932a69a7c9eda59aef237cf6a69a8 | [
"MIT"
] | null | null | null | from django import forms
from django.contrib.auth.forms import UserCreationForm
from django.contrib.auth.models import User
import datetime
| 20.285714 | 54 | 0.84507 | 20 | 142 | 6 | 0.5 | 0.25 | 0.283333 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 142 | 6 | 55 | 23.666667 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
2e84b206539a6313384618deb524872e21bc0563 | 787 | py | Python | calculus.py | jordandll/XMath | 27c355656f783ac68737e67ac56fd312b101073a | [
"MIT"
] | null | null | null | calculus.py | jordandll/XMath | 27c355656f783ac68737e67ac56fd312b101073a | [
"MIT"
] | null | null | null | calculus.py | jordandll/XMath | 27c355656f783ac68737e67ac56fd312b101073a | [
"MIT"
] | null | null | null | def int_exp_sin(a, w):
""" Finds the primitive integral of the function,
f(t | a, w) := C e^(at + b) sin(wt + p)
where C, b, and p are arbitrary constants. Said primitive integral, hencforth 'A_f', has the general form:
A_f = Ce^(at + b)(A sin(wt + p) + B cos(wt + p)).
Returns 'A' and 'B' found in the above ide... | 31.48 | 108 | 0.576874 | 156 | 787 | 2.858974 | 0.25641 | 0.040359 | 0.040359 | 0.047085 | 0.869955 | 0.847534 | 0.847534 | 0.847534 | 0.847534 | 0.847534 | 0 | 0.010084 | 0.243964 | 787 | 24 | 109 | 32.791667 | 0.739496 | 0.766201 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 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 |
cf59367e4f8c906270bbfcf8e9c5234e6e662dce | 5,987 | py | Python | fonts/ami-ega_8x14.py | ccccmagicboy/st7735_mpy | b15f1bde69fbe6e0eb4931c57e71c136d8e7f024 | [
"MIT"
] | 6 | 2020-07-11T16:59:19.000Z | 2021-07-16T19:32:49.000Z | ports/esp32/user_modules/st7735_mpy/fonts/ami-ega_8x14.py | d4niele/micropython | a1f7b37d392bf46b28045ce215ae899fda8d8c38 | [
"MIT"
] | 1 | 2020-04-14T03:14:45.000Z | 2020-04-14T03:14:45.000Z | fonts/ami-ega_8x14.py | ccccmagicboy/st7735_mpy | b15f1bde69fbe6e0eb4931c57e71c136d8e7f024 | [
"MIT"
] | null | null | null | """converted from ..\fonts\ami-ega__8x14.bin """
WIDTH = 8
HEIGHT = 14
FIRST = 0x20
LAST = 0x7f
_FONT =\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x18\x18\x18\x18\x18\x18\x00\x18\x18\x00\x00\x00'\
b'\x00\xcc\xcc\xcc\x48\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x36\x6c\x6c\xfe\x6c\x... | 57.019048 | 60 | 0.704192 | 1,459 | 5,987 | 2.886909 | 0.045922 | 0.591168 | 0.49359 | 0.316239 | 0.841643 | 0.761871 | 0.724359 | 0.631292 | 0.503324 | 0.40717 | 0 | 0.375192 | 0.019709 | 5,987 | 104 | 61 | 57.567308 | 0.342477 | 0.006514 | 0 | 0 | 0 | 0.941176 | 0.905203 | 0.905203 | 0 | 1 | 0.001347 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
d87b9ab43709962c2e411f2b68eb78fee32f5f19 | 4,581 | py | Python | tests/ParserTest.py | nok/redis-resp | ec4e5180b83921a35b3408547de580804257873c | [
"MIT"
] | null | null | null | tests/ParserTest.py | nok/redis-resp | ec4e5180b83921a35b3408547de580804257873c | [
"MIT"
] | null | null | null | tests/ParserTest.py | nok/redis-resp | ec4e5180b83921a35b3408547de580804257873c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import subprocess
from unittest import TestCase
from resp.Parser import Parser
class ParserTest(TestCase):
def setUp(self):
super(ParserTest, self).setUp()
current_dir = os.path.dirname(os.path.realpath(__file__))
self.data_dir = os... | 47.71875 | 79 | 0.534599 | 820 | 4,581 | 2.891463 | 0.10122 | 0.080978 | 0.060734 | 0.080978 | 0.850696 | 0.83973 | 0.83973 | 0.83973 | 0.811472 | 0.751582 | 0 | 0.042286 | 0.251473 | 4,581 | 95 | 80 | 48.221053 | 0.649169 | 0.009168 | 0 | 0.634146 | 0 | 0.292683 | 0.349129 | 0.246418 | 0 | 0 | 0 | 0 | 0.085366 | 1 | 0.097561 | false | 0 | 0.109756 | 0 | 0.219512 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2b26b5956613b962554ab6447760a9497fa7e2f6 | 155 | py | Python | umigame/datasets/__init__.py | penguinwang96825/Umigame | 98d647ab6f40df08fe31d6b3bc444afe229a914e | [
"Apache-2.0"
] | null | null | null | umigame/datasets/__init__.py | penguinwang96825/Umigame | 98d647ab6f40df08fe31d6b3bc444afe229a914e | [
"Apache-2.0"
] | null | null | null | umigame/datasets/__init__.py | penguinwang96825/Umigame | 98d647ab6f40df08fe31d6b3bc444afe229a914e | [
"Apache-2.0"
] | 1 | 2021-11-01T14:35:32.000Z | 2021-11-01T14:35:32.000Z | from .crypto import fetch_crypto
from .stock import fetch_usstock
from .text import fetch_twitter
from .text import fetch_news
from .text import fetch_text | 31 | 32 | 0.845161 | 25 | 155 | 5.04 | 0.36 | 0.436508 | 0.333333 | 0.452381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122581 | 155 | 5 | 33 | 31 | 0.926471 | 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 |
993e737510b66ecb431a3a6f8e97c350e64978c7 | 3,708 | py | Python | AutomationFramework/tests/hardware/test_hw_cpu.py | sbarguil/Testing-framework | f3ef69f1c4f0aeafd02e222d846162c711783b15 | [
"Apache-2.0"
] | 1 | 2020-04-23T15:22:16.000Z | 2020-04-23T15:22:16.000Z | AutomationFramework/tests/hardware/test_hw_cpu.py | sbarguil/Testing-framework | f3ef69f1c4f0aeafd02e222d846162c711783b15 | [
"Apache-2.0"
] | 44 | 2020-08-13T19:35:41.000Z | 2021-03-01T09:08:00.000Z | AutomationFramework/tests/hardware/test_hw_cpu.py | sbarguil/Testing-framework | f3ef69f1c4f0aeafd02e222d846162c711783b15 | [
"Apache-2.0"
] | 6 | 2020-04-23T15:29:38.000Z | 2022-03-03T14:23:38.000Z | import pytest
from AutomationFramework.page_objects.hardware.hardware import Hardware
from AutomationFramework.tests.base_test import BaseTest
class TestHardwareCPU(BaseTest):
test_case_file = 'hw_cpu.yml'
@pytest.mark.parametrize('create_page_object_arg', [{'test_case_file': test_case_file,
... | 65.052632 | 106 | 0.628641 | 422 | 3,708 | 4.921801 | 0.092417 | 0.165624 | 0.26962 | 0.107848 | 0.898893 | 0.898893 | 0.898893 | 0.898893 | 0.848339 | 0.771305 | 0 | 0 | 0.294498 | 3,708 | 56 | 107 | 66.214286 | 0.79396 | 0 | 0 | 0.595745 | 0 | 0 | 0.153182 | 0.041532 | 0 | 0 | 0 | 0 | 0.148936 | 1 | 0.148936 | false | 0 | 0.06383 | 0 | 0.255319 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
99659c29885112050104992cd94fb81f49525c41 | 13,010 | py | Python | nps_client/nationalparks.py | yifeitung/nps_client | d66b453a03eab2f74d9f3e95f229fe0893b602a7 | [
"MIT"
] | null | null | null | nps_client/nationalparks.py | yifeitung/nps_client | d66b453a03eab2f74d9f3e95f229fe0893b602a7 | [
"MIT"
] | null | null | null | nps_client/nationalparks.py | yifeitung/nps_client | d66b453a03eab2f74d9f3e95f229fe0893b602a7 | [
"MIT"
] | null | null | null | import requests
class NPS():
"""
This is a class for making HTTP requests for National Park Service API.
Parameters
----------
API_KEY: str
a string that you get from National Park Service Developer portal.
"""
def __init__(self, API_KEY):
self.base_url = "https://develop... | 31.199041 | 79 | 0.509224 | 1,342 | 13,010 | 4.877049 | 0.134128 | 0.036669 | 0.029794 | 0.035294 | 0.818029 | 0.801375 | 0.783346 | 0.779374 | 0.772651 | 0.747288 | 0 | 0.010345 | 0.398155 | 13,010 | 416 | 80 | 31.274038 | 0.825543 | 0.267948 | 0 | 0.876068 | 0 | 0 | 0.083483 | 0.002635 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042735 | false | 0.047009 | 0.004274 | 0 | 0.115385 | 0.025641 | 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 |
99aa6f7799d0700b5fbdc5882204c8643ea3181b | 346 | py | Python | src/constants/coins.py | prodesert22/pangolin-chart-api | 4567f1460ec28c607a969162e66c8d7a4c148fae | [
"MIT"
] | null | null | null | src/constants/coins.py | prodesert22/pangolin-chart-api | 4567f1460ec28c607a969162e66c8d7a4c148fae | [
"MIT"
] | null | null | null | src/constants/coins.py | prodesert22/pangolin-chart-api | 4567f1460ec28c607a969162e66c8d7a4c148fae | [
"MIT"
] | null | null | null | WAVAX = "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7"
PNG = "0x60781c2586d68229fde47564546784ab3faca982"
WETH = "0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab" # WETH.e
DAI = "0xd586e7f844cea2f87f50152665bcbc2c279d8d70" # DAI.e
USDC = "0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664" # USDC.e
USDT = "0xc7198437980c041c805a1edcb... | 49.428571 | 60 | 0.849711 | 20 | 346 | 14.7 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.48125 | 0.075145 | 346 | 6 | 61 | 57.666667 | 0.4375 | 0.075145 | 0 | 0 | 0 | 0 | 0.8 | 0.8 | 0 | 0 | 0.8 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
852cb8de01ccbd12b51481246c1980ddc6c397df | 34,963 | py | Python | looker_client_31/api/config_api.py | ContrastingSounds/looker_sdk_31 | f973434049fff1b605b10086ab8b84f2f62e3489 | [
"MIT"
] | null | null | null | looker_client_31/api/config_api.py | ContrastingSounds/looker_sdk_31 | f973434049fff1b605b10086ab8b84f2f62e3489 | [
"MIT"
] | null | null | null | looker_client_31/api/config_api.py | ContrastingSounds/looker_sdk_31 | f973434049fff1b605b10086ab8b84f2f62e3489 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Experimental Looker API 3.1 Preview
This API 3.1 is in active development. Breaking changes are likely to occur to some API functions in future Looker releases until API 3.1 is officially launched and upgraded to beta status. If you have time and interest to experiment with new or modifie... | 38.761641 | 518 | 0.610846 | 3,856 | 34,963 | 5.304461 | 0.060944 | 0.053193 | 0.024641 | 0.031681 | 0.953065 | 0.951843 | 0.946025 | 0.939718 | 0.936443 | 0.922607 | 0 | 0.017626 | 0.300604 | 34,963 | 901 | 519 | 38.804661 | 0.818836 | 0.058405 | 0 | 0.82881 | 0 | 0 | 0.170304 | 0.04815 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.008351 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5184d0161aea91229d845f24bc5e40026756eea2 | 6,396 | py | Python | src/m2_extra.py | brutchjd/99-CapstoneProject-201920 | 1208252bab3aeb95fca0529f3f983854ac9efd89 | [
"MIT"
] | null | null | null | src/m2_extra.py | brutchjd/99-CapstoneProject-201920 | 1208252bab3aeb95fca0529f3f983854ac9efd89 | [
"MIT"
] | null | null | null | src/m2_extra.py | brutchjd/99-CapstoneProject-201920 | 1208252bab3aeb95fca0529f3f983854ac9efd89 | [
"MIT"
] | null | null | null | """
Capstone Project. Code to call functions for sprint 3.
Authors: Your professors (for the framework)
and Nathaniel Craan
Winter term, 2018-2019.
"""
import rosebot
import time
#import tkinter
#from tkinter import ttk
#import m2_run_this_on_laptop as m2L
def m2_pickup_beep(rate):
robot = rosebo... | 39.481481 | 127 | 0.599124 | 790 | 6,396 | 4.541772 | 0.140506 | 0.097547 | 0.156076 | 0.070234 | 0.878763 | 0.878763 | 0.872352 | 0.853122 | 0.801282 | 0.746934 | 0 | 0.021141 | 0.312226 | 6,396 | 161 | 128 | 39.726708 | 0.794499 | 0.066448 | 0 | 0.818182 | 0 | 0 | 0.002018 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057851 | false | 0 | 0.016529 | 0 | 0.07438 | 0.041322 | 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 |
51c2d0a71d3bc4b147839ea7ea39d280618c757f | 2,284 | py | Python | Iris>LightServer/test.py | rrbutani/Iris | e3a61530a763387e99fd3107a90fdb3d160f6ead | [
"Unlicense"
] | null | null | null | Iris>LightServer/test.py | rrbutani/Iris | e3a61530a763387e99fd3107a90fdb3d160f6ead | [
"Unlicense"
] | 1 | 2021-02-08T20:15:49.000Z | 2021-02-08T20:15:49.000Z | Iris>LightServer/test.py | rrbutani/Iris | e3a61530a763387e99fd3107a90fdb3d160f6ead | [
"Unlicense"
] | 1 | 2016-05-23T17:09:28.000Z | 2016-05-23T17:09:28.000Z | from flask import Flask, request
import effects
import lights
import json
print lights.strip.numPixels()
#print json.loads('[16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 16777215, 1677... | 57.1 | 1,211 | 0.765762 | 267 | 2,284 | 6.47191 | 0.191011 | 1.287037 | 1.902778 | 2.5 | 0.663194 | 0.663194 | 0.663194 | 0.663194 | 0.663194 | 0.663194 | 0 | 0.563083 | 0.108144 | 2,284 | 39 | 1,212 | 58.564103 | 0.285223 | 0.72373 | 0 | 0 | 0 | 0 | 0.088853 | 0.035541 | 0 | 0 | 0.012924 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.05 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
51e9ed7cd6fdaded1114be0c4addf10bc513a6b3 | 9,590 | py | Python | activelearning/datareduction/ani_data_reduction.py | plin1112/ANI-Tools | 76280c918fc79fee8c266b8bc9ab57f86104ec99 | [
"MIT"
] | 8 | 2018-10-30T16:48:44.000Z | 2021-03-08T01:44:41.000Z | activelearning/datareduction/ani_data_reduction.py | plin1112/ANI-Tools | 76280c918fc79fee8c266b8bc9ab57f86104ec99 | [
"MIT"
] | null | null | null | activelearning/datareduction/ani_data_reduction.py | plin1112/ANI-Tools | 76280c918fc79fee8c266b8bc9ab57f86104ec99 | [
"MIT"
] | 5 | 2018-04-05T15:51:12.000Z | 2019-05-23T21:38:31.000Z | import pyanitrainer as atr
import os
# Network 1 Files
wkdir = '/home/jujuman/Research/DataReductionMethods/model_9.0.5_reduce/train/'
cnstf = 'rHCNO-4.6A_16-3.1A_a4-8.params'
saenf = 'sae_6-31gd.dat'
nfdir = 'networks/'
opt = 'active_output.opt'
# Data Dir
datadir = '/home/jujuman/Research/DataReductionMethods/mod... | 51.55914 | 131 | 0.663191 | 1,427 | 9,590 | 4.192011 | 0.155571 | 0.101137 | 0.174691 | 0.182548 | 0.801739 | 0.778168 | 0.778168 | 0.740221 | 0.727516 | 0.703611 | 0 | 0.119841 | 0.189051 | 9,590 | 185 | 132 | 51.837838 | 0.649351 | 0.040667 | 0 | 0.169014 | 0 | 0.239437 | 0.607587 | 0.550796 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014085 | 0 | 0.014085 | 0.021127 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
a400ea67456922121b72684564d665fa4da0f1de | 156 | py | Python | src/utils/extractors.py | abdellatifLabr/social-media-stocks-tracker | b54f1db488d8b26e292ec025d1af7f8d4b5a94da | [
"MIT"
] | null | null | null | src/utils/extractors.py | abdellatifLabr/social-media-stocks-tracker | b54f1db488d8b26e292ec025d1af7f8d4b5a94da | [
"MIT"
] | null | null | null | src/utils/extractors.py | abdellatifLabr/social-media-stocks-tracker | b54f1db488d8b26e292ec025d1af7f8d4b5a94da | [
"MIT"
] | null | null | null | import re
def extract_tickers(text, stock_symbol_length, *args, **kwargs):
return re.findall('([$][A-Za-z]{' + stock_symbol_length + '})[\S]*', text)
| 26 | 78 | 0.653846 | 22 | 156 | 4.409091 | 0.772727 | 0.226804 | 0.350515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 156 | 5 | 79 | 31.2 | 0.713235 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 7 |
32263a3ab6072475de7cd528895f9bbf02dc912b | 168 | py | Python | predavanje3/uvjetna_naredba_if.py | Miillky/uvod_u_programiranje | 209611e38c8fe84c727649df4b868a4278eb77c3 | [
"MIT"
] | null | null | null | predavanje3/uvjetna_naredba_if.py | Miillky/uvod_u_programiranje | 209611e38c8fe84c727649df4b868a4278eb77c3 | [
"MIT"
] | null | null | null | predavanje3/uvjetna_naredba_if.py | Miillky/uvod_u_programiranje | 209611e38c8fe84c727649df4b868a4278eb77c3 | [
"MIT"
] | null | null | null | if 5<6:
print('Linija1')
print('Linija2')
print("Linija3")
print("Linija4")
if 5>6:
print("Linija1")
print("Linija2")
print("Linija3")
print("Linija4") | 15.272727 | 20 | 0.619048 | 22 | 168 | 4.727273 | 0.363636 | 0.057692 | 0.076923 | 0.173077 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0.085714 | 0.166667 | 168 | 11 | 21 | 15.272727 | 0.657143 | 0 | 0 | 0.4 | 0 | 0 | 0.331361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.8 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 10 |
5c6c0fbb192964514a73f3f96708e09288d0f48b | 21,542 | py | Python | hanibal/ans_reporte/crear_informe_orden_pago_excel.py | Christian-Castro/castro_odoo8 | 8247fdb20aa39e043b6fa0c4d0af509462ab3e00 | [
"Unlicense"
] | null | null | null | hanibal/ans_reporte/crear_informe_orden_pago_excel.py | Christian-Castro/castro_odoo8 | 8247fdb20aa39e043b6fa0c4d0af509462ab3e00 | [
"Unlicense"
] | null | null | null | hanibal/ans_reporte/crear_informe_orden_pago_excel.py | Christian-Castro/castro_odoo8 | 8247fdb20aa39e043b6fa0c4d0af509462ab3e00 | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
import openpyxl
from openpyxl import Workbook
import openpyxl.worksheet
import unicodedata
from copy import deepcopy
from openpyxl.chart import (
Reference,
Series,
BarChart
)
from openpyxl.chart.marker import DataPoint
from openpyxl.drawing.fill import PatternFillProperties, ColorCh... | 40.492481 | 140 | 0.642977 | 2,910 | 21,542 | 4.664261 | 0.078351 | 0.04229 | 0.091505 | 0.107419 | 0.92102 | 0.92102 | 0.912252 | 0.912252 | 0.912252 | 0.912252 | 0 | 0.028911 | 0.163448 | 21,542 | 531 | 141 | 40.568738 | 0.724266 | 0.056587 | 0 | 0.881517 | 0 | 0 | 0.130955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021327 | false | 0 | 0.035545 | 0 | 0.066351 | 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 |
7a37c50e10d0df75ac16aa637a34d516b3dd4403 | 120 | py | Python | olpxek_bot/cogs/__init__.py | kexplo/olpxek-bot | d4ec11d97ea906651a2df225081f33a235e9bd65 | [
"MIT"
] | 7 | 2020-08-18T22:07:24.000Z | 2022-01-01T07:32:20.000Z | olpxek_bot/cogs/__init__.py | kexplo/olpxek_bot | 2fe5352ab1e584f877ba5445ff5af2d179c9b2c8 | [
"MIT"
] | null | null | null | olpxek_bot/cogs/__init__.py | kexplo/olpxek_bot | 2fe5352ab1e584f877ba5445ff5af2d179c9b2c8 | [
"MIT"
] | null | null | null | from olpxek_bot.cogs.finance import FinanceCog
from olpxek_bot.cogs.py import PyCog
__all__ = ["FinanceCog", "PyCog"]
| 20 | 46 | 0.783333 | 17 | 120 | 5.176471 | 0.588235 | 0.227273 | 0.295455 | 0.386364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 120 | 5 | 47 | 24 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0.125 | 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 |
7a8163b45e947b87b03c39c6279a130a163164b7 | 1,608 | py | Python | lx_test/test_data.py | lxjlu/highway-env | b360ed3f4f7fca950294c82b04c55464624d5626 | [
"MIT"
] | null | null | null | lx_test/test_data.py | lxjlu/highway-env | b360ed3f4f7fca950294c82b04c55464624d5626 | [
"MIT"
] | null | null | null | lx_test/test_data.py | lxjlu/highway-env | b360ed3f4f7fca950294c82b04c55464624d5626 | [
"MIT"
] | null | null | null | import gym
import highway_env
import time
import pprint
import matplotlib.pyplot as plt
"""
# 直线
v_lane_id = ("a", "b", 1)
v_target_id = ("a", "b", 0)
x = 100.0
y = 0.0
h = 0.0
s = 10.0
target_s = 20.0
env = gym.make("myenv-c1-v0")
env.config["v_lane_id"] = v_lane_id
env.config["v_target_id"] = v_target_id
env.config[... | 22.333333 | 51 | 0.668532 | 308 | 1,608 | 3.275974 | 0.178571 | 0.258672 | 0.138751 | 0.047572 | 0.808722 | 0.808722 | 0.808722 | 0.808722 | 0.808722 | 0.808722 | 0 | 0.038905 | 0.136816 | 1,608 | 71 | 52 | 22.647887 | 0.68804 | 0.009328 | 0 | 0 | 0 | 0 | 0.170286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.028571 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8fb0b79b8c69cb4e341e064aaeb00d8905f30df2 | 125 | py | Python | exception/argument_not_instance_of_exception.py | joaoteixeira88/pyguard | e9bdcb58034fd0db254121f71ac9bd76c7dec973 | [
"MIT"
] | 2 | 2021-03-11T22:09:40.000Z | 2022-01-09T16:16:43.000Z | exception/argument_not_instance_of_exception.py | joaoteixeira88/pyguard | e9bdcb58034fd0db254121f71ac9bd76c7dec973 | [
"MIT"
] | 3 | 2021-03-11T08:20:43.000Z | 2021-03-30T07:34:38.000Z | exception/argument_not_instance_of_exception.py | joaoteixeira88/python-guard | e9bdcb58034fd0db254121f71ac9bd76c7dec973 | [
"MIT"
] | null | null | null | from exception.base_exception import BaseGuardException
class ArgumentNotInstanceOfException(BaseGuardException):
pass
| 20.833333 | 57 | 0.864 | 10 | 125 | 10.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104 | 125 | 5 | 58 | 25 | 0.955357 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
8ff4604fc29bc4f2e89f58b37098b2cb0aeb5085 | 68,496 | py | Python | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_rr/cmp_bzip2/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_rr/cmp_bzip2/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_rr/cmp_bzip2/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 74.940919 | 124 | 0.681558 | 8,082 | 68,496 | 5.770354 | 0.064464 | 0.123853 | 0.113217 | 0.093662 | 0.943563 | 0.935672 | 0.922249 | 0.897826 | 0.869307 | 0.850566 | 0 | 0.130101 | 0.224699 | 68,496 | 914 | 125 | 74.940919 | 0.748084 | 0 | 0 | 0.664114 | 0 | 0 | 0.658496 | 0.048177 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
64f8d1d8f46c3ae075198a6f1e9a1ed15be8949c | 968 | py | Python | tests/usecase/test_deprecations.py | pommi/cf-mendix-buildpack | 26bfa2aeb94edcb2974e717d18628d2e59fc30ad | [
"Apache-2.0"
] | null | null | null | tests/usecase/test_deprecations.py | pommi/cf-mendix-buildpack | 26bfa2aeb94edcb2974e717d18628d2e59fc30ad | [
"Apache-2.0"
] | null | null | null | tests/usecase/test_deprecations.py | pommi/cf-mendix-buildpack | 26bfa2aeb94edcb2974e717d18628d2e59fc30ad | [
"Apache-2.0"
] | null | null | null | import basetest
class TestCaseDeprecationMx5MPK(basetest.BaseTest):
def setUp(self):
super().setUp()
self.setUpCF(
"mx5.3.2_app.mpk",
env_vars={
"DEPLOY_PASSWORD": self.mx_password,
"DEVELOPMENT_MODE": True,
},
)
def ... | 25.473684 | 55 | 0.559917 | 102 | 968 | 5.078431 | 0.401961 | 0.069498 | 0.073359 | 0.092664 | 0.833977 | 0.833977 | 0.833977 | 0.833977 | 0.833977 | 0.833977 | 0 | 0.018868 | 0.342975 | 968 | 37 | 56 | 26.162162 | 0.795597 | 0 | 0 | 0.580645 | 0 | 0 | 0.179752 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 1 | 0.129032 | false | 0.064516 | 0.032258 | 0 | 0.225806 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
64fc04fa72c055c888cc6c2e06ad02b2964a1c0f | 472 | py | Python | pypy/module/_string/formatter.py | yxzoro/pypy | 6e47b3d3e5513d9639a21554963a6ace172ccfee | [
"Apache-2.0",
"OpenSSL"
] | null | null | null | pypy/module/_string/formatter.py | yxzoro/pypy | 6e47b3d3e5513d9639a21554963a6ace172ccfee | [
"Apache-2.0",
"OpenSSL"
] | null | null | null | pypy/module/_string/formatter.py | yxzoro/pypy | 6e47b3d3e5513d9639a21554963a6ace172ccfee | [
"Apache-2.0",
"OpenSSL"
] | null | null | null | def formatter_parser(space, w_unicode):
from pypy.objspace.std.newformat import unicode_template_formatter
tformat = unicode_template_formatter(space, space.unicode_w(w_unicode))
return tformat.formatter_parser()
def formatter_field_name_split(space, w_unicode):
from pypy.objspace.std.newformat import ... | 42.909091 | 75 | 0.817797 | 62 | 472 | 5.870968 | 0.290323 | 0.087912 | 0.263736 | 0.093407 | 0.824176 | 0.824176 | 0.824176 | 0.824176 | 0.824176 | 0.824176 | 0 | 0 | 0.110169 | 472 | 10 | 76 | 47.2 | 0.866667 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
64fd8657213ab2da2c5e7df1c8f28209f10849ca | 2,545 | py | Python | tests/test_layers_gdn.py | tallamjr/NeuralCompression | 21d05ec0d9f8c52d8742fde36f569b4dad2842a5 | [
"MIT"
] | 233 | 2021-07-19T18:50:21.000Z | 2022-03-30T22:06:40.000Z | tests/test_layers_gdn.py | tallamjr/NeuralCompression | 21d05ec0d9f8c52d8742fde36f569b4dad2842a5 | [
"MIT"
] | 79 | 2021-07-22T13:33:45.000Z | 2022-02-09T16:38:42.000Z | tests/test_layers_gdn.py | tallamjr/NeuralCompression | 21d05ec0d9f8c52d8742fde36f569b4dad2842a5 | [
"MIT"
] | 21 | 2021-07-29T18:27:59.000Z | 2022-02-28T02:32:53.000Z | # Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import pytest
import torch
from neuralcompression.layers import SimplifiedGDN, SimplifiedInverseGDN
@pytest.mark.parametrize(
"shape"... | 27.074468 | 79 | 0.656582 | 365 | 2,545 | 4.512329 | 0.232877 | 0.054645 | 0.068002 | 0.063145 | 0.863388 | 0.823315 | 0.823315 | 0.823315 | 0.823315 | 0.823315 | 0 | 0.052088 | 0.200393 | 2,545 | 93 | 80 | 27.365591 | 0.757248 | 0.166601 | 0 | 0.721311 | 0 | 0 | 0.009479 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 1 | 0.065574 | false | 0 | 0.04918 | 0 | 0.114754 | 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 |
8f7b91660a2d5e48d2cdbaefa23bd0e0d138c04b | 4,752 | py | Python | play_sound.py | dareekun/mybell | 76bd61d8e7314276f5a5835d8950b13773c89456 | [
"MIT"
] | null | null | null | play_sound.py | dareekun/mybell | 76bd61d8e7314276f5a5835d8950b13773c89456 | [
"MIT"
] | null | null | null | play_sound.py | dareekun/mybell | 76bd61d8e7314276f5a5835d8950b13773c89456 | [
"MIT"
] | null | null | null | # PLAY_sound
# play bell sound
# the pygame library is used as it is more compatible with the raspberry pi's sound output
import pygame
from tkinter import *
import time
def PLAY_1():
pygame.init()
pygame.mixer.init()
pygame.mixer.music.load("/home/pi/public/sound/1.ogg")
pygame.mixer.music.play()
... | 39.272727 | 97 | 0.694865 | 722 | 4,752 | 4.530471 | 0.083102 | 0.104249 | 0.146744 | 0.096301 | 0.931519 | 0.931519 | 0.931519 | 0.931519 | 0.752675 | 0.740141 | 0 | 0.023889 | 0.180766 | 4,752 | 120 | 98 | 39.6 | 0.816337 | 0.40362 | 0 | 0.478723 | 0 | 0 | 0.255 | 0.146786 | 0 | 0 | 0 | 0 | 0 | 1 | 0.159574 | true | 0 | 0.031915 | 0 | 0.191489 | 0.159574 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
710575e9bb6e00a53d6fd173d769767580e1864f | 223,512 | py | Python | trait_browser/management/commands/test_import_db.py | UW-GAC/pie | 89ae277f5ba1357580d78c3527f26200686308a6 | [
"MIT"
] | null | null | null | trait_browser/management/commands/test_import_db.py | UW-GAC/pie | 89ae277f5ba1357580d78c3527f26200686308a6 | [
"MIT"
] | 3 | 2020-01-02T20:17:06.000Z | 2020-01-04T21:13:09.000Z | trait_browser/management/commands/test_import_db.py | UW-GAC/pie | 89ae277f5ba1357580d78c3527f26200686308a6 | [
"MIT"
] | 1 | 2021-10-29T22:15:27.000Z | 2021-10-29T22:15:27.000Z | """Test the classes and functions in the populate_source_traits management command.
This test module won't run with the usual Django test command, because it's
in an unusual location. Instead, you must specify the path containing this
test module to get these tests to run.
Usage:
./manage.py test trait_browser/manage... | 55.2837 | 154 | 0.677919 | 28,104 | 223,512 | 5.076502 | 0.028644 | 0.025177 | 0.022457 | 0.021574 | 0.85758 | 0.826369 | 0.798689 | 0.781713 | 0.769468 | 0.757615 | 0 | 0.008617 | 0.22376 | 223,512 | 4,042 | 155 | 55.297378 | 0.813693 | 0.168362 | 0 | 0.732847 | 0 | 0.000331 | 0.122504 | 0.041252 | 0.001326 | 0 | 0 | 0.000247 | 0.09115 | 1 | 0.053696 | false | 0.000663 | 0.053033 | 0 | 0.115015 | 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 |
71107c9dd33dfd5408c87690cd80285a19ddd011 | 101 | py | Python | datasets/__init__.py | bigvideoresearch/SCC | f26cdb6aaf248b5112812dbdac1f1b5086aebccc | [
"MIT"
] | 5 | 2021-09-15T21:48:55.000Z | 2022-03-22T11:21:58.000Z | datasets/__init__.py | bigvideoresearch/SCC | f26cdb6aaf248b5112812dbdac1f1b5086aebccc | [
"MIT"
] | null | null | null | datasets/__init__.py | bigvideoresearch/SCC | f26cdb6aaf248b5112812dbdac1f1b5086aebccc | [
"MIT"
] | 1 | 2021-08-20T08:40:15.000Z | 2021-08-20T08:40:15.000Z | from .imagename_dataset import *
from .online_labeler_dataset import *
from .pseudo_dataset import *
| 25.25 | 37 | 0.821782 | 13 | 101 | 6.076923 | 0.538462 | 0.493671 | 0.43038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 101 | 3 | 38 | 33.666667 | 0.88764 | 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 |
7117f93b498f378ecee7b37deabe0485e5cfbf46 | 4,643 | py | Python | yaojikai/mypant/enemy.py | python20180319howmework/homework | c826d7aa4c52f8d22f739feb134d20f0b2c217cd | [
"Apache-2.0"
] | null | null | null | yaojikai/mypant/enemy.py | python20180319howmework/homework | c826d7aa4c52f8d22f739feb134d20f0b2c217cd | [
"Apache-2.0"
] | null | null | null | yaojikai/mypant/enemy.py | python20180319howmework/homework | c826d7aa4c52f8d22f739feb134d20f0b2c217cd | [
"Apache-2.0"
] | null | null | null | import pygame
from random import *
class SmallEnemy(pygame.sprite.Sprite):
def __init__(self, screen):
pygame.sprite.Sprite.__init__(self)
self.image = pygame.image.load("./images/enemy1.png").convert_alpha()
self.destroy_images = []
self.destroy_images.extend([\
pygame... | 37.747967 | 85 | 0.571398 | 547 | 4,643 | 4.711152 | 0.115174 | 0.083818 | 0.116414 | 0.16298 | 0.922002 | 0.864571 | 0.854094 | 0.854094 | 0.640667 | 0.615056 | 0 | 0.025316 | 0.285376 | 4,643 | 122 | 86 | 38.057377 | 0.751356 | 0 | 0 | 0.705882 | 0 | 0 | 0.103039 | 0.094848 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088235 | false | 0 | 0.019608 | 0 | 0.156863 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
713a5c5920a183561878da2a9dd5b20faae575fc | 94 | py | Python | contrib/EzTemplate/Lib/__init__.py | xylar/cdat | 8a5080cb18febfde365efc96147e25f51494a2bf | [
"BSD-3-Clause"
] | 62 | 2018-03-30T15:46:56.000Z | 2021-12-08T23:30:24.000Z | contrib/EzTemplate/Lib/__init__.py | xylar/cdat | 8a5080cb18febfde365efc96147e25f51494a2bf | [
"BSD-3-Clause"
] | 114 | 2018-03-21T01:12:43.000Z | 2021-07-05T12:29:54.000Z | contrib/EzTemplate/Lib/__init__.py | CDAT/uvcdat | 5133560c0c049b5c93ee321ba0af494253b44f91 | [
"BSD-3-Clause"
] | 14 | 2018-06-06T02:42:47.000Z | 2021-11-26T03:27:00.000Z | import vcsaddons
from vcsaddons.EzTemplate import Multi
from vcsaddons.EzTemplate import oneD
| 23.5 | 38 | 0.87234 | 12 | 94 | 6.833333 | 0.5 | 0.317073 | 0.560976 | 0.707317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 94 | 3 | 39 | 31.333333 | 0.97619 | 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 |
713abef86742a93710bac0615051c03ee515948d | 263 | py | Python | lib/yamlfuture/xxx.py | yaml/pyyaml-future | 289983cbe8ffc49540fe2c02b2f118a46629146b | [
"MIT"
] | 1 | 2021-07-06T03:29:11.000Z | 2021-07-06T03:29:11.000Z | lib/yamlfuture/xxx.py | yaml/pyyaml-future | 289983cbe8ffc49540fe2c02b2f118a46629146b | [
"MIT"
] | null | null | null | lib/yamlfuture/xxx.py | yaml/pyyaml-future | 289983cbe8ffc49540fe2c02b2f118a46629146b | [
"MIT"
] | null | null | null | def YYY(o):
import yaml
print(yaml.dump(o, explicit_start=True, explicit_end=True, sort_keys=False))
return o
def XXX(o):
import yaml
print(yaml.dump(o, explicit_start=True, explicit_end=True, sort_keys=False))
import sys
sys.exit(1)
| 23.909091 | 80 | 0.692015 | 43 | 263 | 4.093023 | 0.44186 | 0.079545 | 0.125 | 0.181818 | 0.795455 | 0.795455 | 0.795455 | 0.795455 | 0.795455 | 0.795455 | 0 | 0.004695 | 0.190114 | 263 | 10 | 81 | 26.3 | 0.821596 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.666667 | 0.222222 | 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 | 1 | 0 | 0 | 0 | 0 | 8 |
a47afe6fa23b216f1b075eec5abffcc93b31f12e | 217 | py | Python | output/models/ms_data/identity_constraint/id_f029_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/ms_data/identity_constraint/id_f029_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/ms_data/identity_constraint/id_f029_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.ms_data.identity_constraint.id_f029_xsd.id_f029 import (
Root,
T,
)
from output.models.ms_data.identity_constraint.id_f029_xsd.id_f029a import R
__all__ = [
"Root",
"T",
"R",
]
| 18.083333 | 76 | 0.700461 | 33 | 217 | 4.181818 | 0.484848 | 0.130435 | 0.231884 | 0.26087 | 0.73913 | 0.73913 | 0.73913 | 0.73913 | 0.73913 | 0.73913 | 0 | 0.067416 | 0.179724 | 217 | 11 | 77 | 19.727273 | 0.707865 | 0 | 0 | 0 | 0 | 0 | 0.02765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 |
a4a684080fa89a37c94e50538abe492660a03f8b | 3,312 | py | Python | tests/test_profiler.py | lizeyan/pyprof | d33168594ffabc628636858ae3873d092b2ba9e7 | [
"MIT"
] | 6 | 2021-07-11T16:01:01.000Z | 2022-02-10T05:59:30.000Z | tests/test_profiler.py | lizeyan/pyprof | d33168594ffabc628636858ae3873d092b2ba9e7 | [
"MIT"
] | null | null | null | tests/test_profiler.py | lizeyan/pyprof | d33168594ffabc628636858ae3873d092b2ba9e7 | [
"MIT"
] | null | null | null | import random
# noinspection PyProtectedMember
import time
import numpy as np
from concurrent.futures import ThreadPoolExecutor
from pyprof import clean, Profiler, report
from .test_utils import close
def test_snippet_context_manager():
clean()
# noinspection PyProtectedMember
from pyprof.pyprof import _... | 32.470588 | 72 | 0.608092 | 462 | 3,312 | 4.244589 | 0.179654 | 0.048955 | 0.066293 | 0.069352 | 0.803672 | 0.803672 | 0.803672 | 0.803672 | 0.803672 | 0.803672 | 0 | 0.057526 | 0.233696 | 3,312 | 101 | 73 | 32.792079 | 0.71513 | 0.027778 | 0 | 0.758621 | 0 | 0 | 0.026741 | 0 | 0 | 0 | 0 | 0 | 0.505747 | 1 | 0.022989 | false | 0 | 0.091954 | 0 | 0.114943 | 0.045977 | 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 |
f105a4fdcb647f0f074bd85c14d8f39fa5c80b60 | 2,807 | py | Python | tests/event/beforeafter/test_beforeafter.py | da-h/miniflask | d5e594153cca4ce4d30db01b1d06d05afa9e7aaa | [
"MIT"
] | 5 | 2020-02-17T12:14:36.000Z | 2020-02-27T12:09:05.000Z | tests/event/beforeafter/test_beforeafter.py | da-h/miniflask | d5e594153cca4ce4d30db01b1d06d05afa9e7aaa | [
"MIT"
] | 69 | 2020-04-03T08:16:35.000Z | 2021-12-21T15:46:29.000Z | tests/event/beforeafter/test_beforeafter.py | da-h/miniflask | d5e594153cca4ce4d30db01b1d06d05afa9e7aaa | [
"MIT"
] | 1 | 2020-04-02T15:46:39.000Z | 2020-04-02T15:46:39.000Z | from pathlib import Path
import miniflask # noqa: E402
def test_beforeafter_setup(capsys):
mf = miniflask.init(
module_dirs=str(Path(__file__).parent / "modules"),
debug=True
)
mf.load("setup")
mf.parse_args([])
captured = capsys.readouterr()
mf.event.main()
captured = cap... | 25.288288 | 82 | 0.662985 | 334 | 2,807 | 5.386228 | 0.146707 | 0.093385 | 0.160089 | 0.070039 | 0.896609 | 0.856587 | 0.856587 | 0.856587 | 0.76876 | 0.76876 | 0 | 0.017723 | 0.195939 | 2,807 | 110 | 83 | 25.518182 | 0.779353 | 0.003563 | 0 | 0.765306 | 0 | 0 | 0.285868 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 1 | 0.061224 | false | 0 | 0.020408 | 0 | 0.081633 | 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 |
f14cfdb772b4b909013a0dc01b721fafbd2e6547 | 40,919 | py | Python | tests/test_tzolkin.py | Release-Candidate/tzolkin-calendar | 6dc9722381adda22750988b09905d1da88fc1ed5 | [
"MIT"
] | null | null | null | tests/test_tzolkin.py | Release-Candidate/tzolkin-calendar | 6dc9722381adda22750988b09905d1da88fc1ed5 | [
"MIT"
] | 2 | 2021-03-23T21:59:05.000Z | 2021-03-25T17:22:31.000Z | tests/test_tzolkin.py | Release-Candidate/tzolkin-calendar | 6dc9722381adda22750988b09905d1da88fc1ed5 | [
"MIT"
] | null | null | null | # SPDX-License-Identifier: MIT
# Copyright (C) 2021 Roland Csaszar
#
# Project: tzolkin-calendar
# File: test_tzolkin.py
# Date: 21.Mar.2021
###############################################################################
"""Test tzolkin module."""
from __future__ import annotations
import datetime
import py... | 37.097915 | 86 | 0.549916 | 4,973 | 40,919 | 4.386688 | 0.037603 | 0.153381 | 0.20816 | 0.066422 | 0.889617 | 0.88187 | 0.87504 | 0.854412 | 0.844144 | 0.836489 | 0 | 0.191476 | 0.243139 | 40,919 | 1,102 | 87 | 37.131579 | 0.512916 | 0.031868 | 0 | 0.857143 | 0 | 0 | 0.202138 | 0 | 0 | 0 | 0 | 0 | 0.041247 | 1 | 0.024145 | false | 0 | 0.008048 | 0 | 0.032193 | 0.001006 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
74e30aa7b5127ad9c144ab287ebe19ae8353d417 | 6,979 | py | Python | tests/analysis/test_anom_seq_model.py | kubajir/msticpy | 7b319b71b191b5f75dcf9afd87492523a74b5ad7 | [
"MIT"
] | 820 | 2019-05-16T07:24:34.000Z | 2022-03-31T09:18:10.000Z | tests/analysis/test_anom_seq_model.py | kubajir/msticpy | 7b319b71b191b5f75dcf9afd87492523a74b5ad7 | [
"MIT"
] | 205 | 2019-06-24T19:24:19.000Z | 2022-03-30T23:13:46.000Z | tests/analysis/test_anom_seq_model.py | kubajir/msticpy | 7b319b71b191b5f75dcf9afd87492523a74b5ad7 | [
"MIT"
] | 171 | 2019-06-23T13:53:12.000Z | 2022-03-29T18:22:46.000Z | import unittest
from msticpy.analysis.anomalous_sequence.utils.data_structures import Cmd
from msticpy.analysis.anomalous_sequence.model import Model
from msticpy.common.exceptions import MsticpyException
class TestModel(unittest.TestCase):
def setUp(self) -> None:
self.sessions1 = [
["Set-Us... | 39.88 | 87 | 0.64995 | 835 | 6,979 | 5.215569 | 0.100599 | 0.167164 | 0.183238 | 0.195408 | 0.876234 | 0.83031 | 0.770838 | 0.736625 | 0.6907 | 0.626177 | 0 | 0.00686 | 0.24803 | 6,979 | 174 | 88 | 40.109195 | 0.82298 | 0 | 0 | 0.529412 | 0 | 0 | 0.043846 | 0 | 0 | 0 | 0 | 0 | 0.405229 | 1 | 0.052288 | false | 0 | 0.026144 | 0 | 0.084967 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
74fef52e65af6b2e2da81eef2f283c35a83e60c8 | 408 | py | Python | python/yt_videos_list/download/selenium_linux.py | Shail-Shouryya/automate_YouTube-Channel-Videos-List | b63bbebb7caacc5e99ebf5dc95387d505069953d | [
"Apache-2.0"
] | null | null | null | python/yt_videos_list/download/selenium_linux.py | Shail-Shouryya/automate_YouTube-Channel-Videos-List | b63bbebb7caacc5e99ebf5dc95387d505069953d | [
"Apache-2.0"
] | null | null | null | python/yt_videos_list/download/selenium_linux.py | Shail-Shouryya/automate_YouTube-Channel-Videos-List | b63bbebb7caacc5e99ebf5dc95387d505069953d | [
"Apache-2.0"
] | null | null | null | def verify_browser_exists(browser):
raise RuntimeError('Browser detection and automatic selenium updates are not yet available for Linux distributions!\nPlease update your selenium driver manually.')
def get_browser_version(browser):
raise RuntimeError('Browser version detection and automatic selenium updates are not... | 81.6 | 172 | 0.840686 | 53 | 408 | 6.396226 | 0.471698 | 0.070796 | 0.141593 | 0.182891 | 0.672566 | 0.672566 | 0.672566 | 0.672566 | 0.672566 | 0.672566 | 0 | 0 | 0.110294 | 408 | 4 | 173 | 102 | 0.933884 | 0 | 0 | 0 | 0 | 0.5 | 0.710784 | 0.107843 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2d1021c32729a7a9fa5c037ceb56f6ed74e064c5 | 3,974 | py | Python | supports/proxyPool/scrapy/RandomUserAgentMiddleware.py | LuckyNicky/pycrawler | 4b3fe2f6e8e51f236d95a64a89a44199e4e97743 | [
"Apache-2.0"
] | 1 | 2020-04-02T17:03:39.000Z | 2020-04-02T17:03:39.000Z | supports/proxyPool/scrapy/RandomUserAgentMiddleware.py | LuckyNicky/pycrawler | 4b3fe2f6e8e51f236d95a64a89a44199e4e97743 | [
"Apache-2.0"
] | null | null | null | supports/proxyPool/scrapy/RandomUserAgentMiddleware.py | LuckyNicky/pycrawler | 4b3fe2f6e8e51f236d95a64a89a44199e4e97743 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# coding=utf-8
import random
"""
随机更换 User-agent 的中间件
@Author monkey
@Date 2017-12-16
"""
class RandomUserAgentMiddleware(object):
UserAgent_List = [
"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36",
"Mozilla/5.0 (M... | 68.517241 | 130 | 0.660795 | 709 | 3,974 | 3.686883 | 0.174894 | 0.082249 | 0.10329 | 0.176741 | 0.761285 | 0.731064 | 0.707728 | 0.690513 | 0.656465 | 0.603673 | 0 | 0.227148 | 0.1769 | 3,974 | 57 | 131 | 69.719298 | 0.571996 | 0.014092 | 0 | 0.047619 | 0 | 0.785714 | 0.811912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02381 | false | 0 | 0.02381 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2d467aee6e6d0847d50d877cd5e31e2b59ed6f9c | 13,206 | py | Python | kme/models/text_featurenets.py | phineasng/FLAN | 84c0fb7ea57d5730eb19fdaa25d705a4ec7490c9 | [
"Apache-2.0"
] | null | null | null | kme/models/text_featurenets.py | phineasng/FLAN | 84c0fb7ea57d5730eb19fdaa25d705a4ec7490c9 | [
"Apache-2.0"
] | null | null | null | kme/models/text_featurenets.py | phineasng/FLAN | 84c0fb7ea57d5730eb19fdaa25d705a4ec7490c9 | [
"Apache-2.0"
] | null | null | null | import torch
from torch import nn
from kme.models.base import create_sinusoidal_positional_embeddings
from kme.data.text_classification import PAD_TOKEN
from kme.models.base import FeatureNetBase
class TextFeatNet1(FeatureNetBase):
"""
Basic text feature network
"""
def __init__(self, emb_dim, latent... | 34.752632 | 88 | 0.595184 | 1,686 | 13,206 | 4.297153 | 0.048043 | 0.052174 | 0.066253 | 0.034783 | 0.941891 | 0.929331 | 0.927674 | 0.926294 | 0.921187 | 0.912629 | 0 | 0.022146 | 0.292216 | 13,206 | 379 | 89 | 34.844327 | 0.752969 | 0.051567 | 0 | 0.826087 | 0 | 0 | 0.002182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065217 | false | 0 | 0.018116 | 0 | 0.148551 | 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 |
740f279d3f1d871db45a018bda605fa7b5d1c1d4 | 43,523 | py | Python | data/typing/pandas.core.indexing.py | vfdev-5/python-record-api | 006faf0bba9cd4cb55fbacc13d2bbda365f5bf0b | [
"MIT"
] | null | null | null | data/typing/pandas.core.indexing.py | vfdev-5/python-record-api | 006faf0bba9cd4cb55fbacc13d2bbda365f5bf0b | [
"MIT"
] | null | null | null | data/typing/pandas.core.indexing.py | vfdev-5/python-record-api | 006faf0bba9cd4cb55fbacc13d2bbda365f5bf0b | [
"MIT"
] | null | null | null | from typing import *
class IndexingError:
pass
class _LocIndexer:
@overload
def __getitem__(self, _0: cftime._cftime.DatetimeNoLeap, /):
"""
usage.xarray: 2
"""
...
@overload
def __getitem__(self, _0: Literal["0001"], /):
"""
usage.xarray: 2
... | 20.844349 | 88 | 0.428417 | 3,965 | 43,523 | 4.374023 | 0.029004 | 0.071499 | 0.194545 | 0.208441 | 0.936574 | 0.924869 | 0.896442 | 0.889581 | 0.882373 | 0.862884 | 0 | 0.02739 | 0.383429 | 43,523 | 2,087 | 89 | 20.854336 | 0.618893 | 0.089769 | 0 | 0.788641 | 0 | 0 | 0.023301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230912 | true | 0.000931 | 0.000931 | 0 | 0.234637 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
7416ebb11958aa383b7967ee2befb60d71e48d24 | 7,278 | py | Python | rl_bakery/operation/test_train_agent_operation.py | pzhongp/rl-bakery | cf0887be7ca424ed81b48e5f9a304d9c6b201fe2 | [
"Apache-2.0"
] | null | null | null | rl_bakery/operation/test_train_agent_operation.py | pzhongp/rl-bakery | cf0887be7ca424ed81b48e5f9a304d9c6b201fe2 | [
"Apache-2.0"
] | null | null | null | rl_bakery/operation/test_train_agent_operation.py | pzhongp/rl-bakery | cf0887be7ca424ed81b48e5f9a304d9c6b201fe2 | [
"Apache-2.0"
] | null | null | null | from rl_bakery.applications.tf_rl_application import MockRLApplication
from rl_bakery.data_manager.data_manager import DATANAME
from rl_bakery.engine.abstract_engine_config import MockEngineConfig
from rl_bakery.operation.train_agent_operation import TrainAgentOperation
from rl_bakery.replay_buffer.replay_buffer_abstra... | 40.209945 | 103 | 0.676972 | 916 | 7,278 | 4.946507 | 0.124454 | 0.043699 | 0.039726 | 0.026264 | 0.874862 | 0.874862 | 0.868241 | 0.868241 | 0.868241 | 0.868241 | 0 | 0.011828 | 0.233306 | 7,278 | 180 | 104 | 40.433333 | 0.800179 | 0 | 0 | 0.813793 | 0 | 0 | 0.110745 | 0.05496 | 0 | 0 | 0 | 0 | 0.110345 | 1 | 0.068966 | false | 0.013793 | 0.055172 | 0 | 0.193103 | 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 |
744c73982afb7700b93319a1589e8c024c0bf543 | 198 | py | Python | src/labster/infrastructure/repositories/inmemory/__init__.py | jean3108/labandco | 4317e7d3875f10d76076ad5fc68c1ba3c12badba | [
"Apache-2.0"
] | 2 | 2019-11-11T22:09:58.000Z | 2020-01-20T19:44:30.000Z | src/labster/infrastructure/repositories/inmemory/__init__.py | jean3108/labandco | 4317e7d3875f10d76076ad5fc68c1ba3c12badba | [
"Apache-2.0"
] | 15 | 2020-03-31T10:58:37.000Z | 2022-01-22T09:14:49.000Z | src/labster/infrastructure/repositories/inmemory/__init__.py | jean3108/labandco | 4317e7d3875f10d76076ad5fc68c1ba3c12badba | [
"Apache-2.0"
] | 2 | 2021-05-28T12:20:24.000Z | 2021-09-08T11:27:57.000Z | # from __future__ import annotations
#
# from .profile_repository import InmemoryProfileRepository
# from .structure_repository import InmemoryStructureRepository
from __future__ import annotations
| 33 | 63 | 0.868687 | 18 | 198 | 9 | 0.5 | 0.123457 | 0.197531 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 198 | 5 | 64 | 39.6 | 0.910112 | 0.777778 | 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 |
77e052f8b073c4eb8e980c0f4fb54d4aea432c11 | 1,733 | py | Python | old/Data/Map.py | emeric254/ISOT | 51011da320eed6d9092e93e9ba4838ff84e62e86 | [
"MIT"
] | 1 | 2015-01-13T16:23:20.000Z | 2015-01-13T16:23:20.000Z | old/Data/Map.py | emeric254/ISOT | 51011da320eed6d9092e93e9ba4838ff84e62e86 | [
"MIT"
] | null | null | null | old/Data/Map.py | emeric254/ISOT | 51011da320eed6d9092e93e9ba4838ff84e62e86 | [
"MIT"
] | null | null | null | import Data.Utils
class Map:
"""Map """
def __init__(self):
"""Initialize"""
self.carte = [
[
[Data.Utils.load_image("cube.png", -1), Data.Utils.load_image("cube.png", -1), Data.Utils.load_image("cube.png", -1), Data.Utils.load_image("cube.png", -1)],
... | 46.837838 | 173 | 0.507213 | 226 | 1,733 | 3.725664 | 0.079646 | 0.320665 | 0.447743 | 0.619952 | 0.900238 | 0.900238 | 0.900238 | 0.900238 | 0.900238 | 0.900238 | 0 | 0.026549 | 0.282747 | 1,733 | 36 | 174 | 48.138889 | 0.650845 | 0.008656 | 0 | 0.580645 | 0 | 0 | 0.135911 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.032258 | 0.032258 | 0.16129 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
bb057347f8a3b12e9881e357c11f74ff4b9687af | 3,014 | py | Python | tests/utils/test_VectorRecipeParser.py | ankitshah009/dcase_util | 738571ce78faf60b0fdfa1d59fd42f42c8944f3d | [
"MIT"
] | 122 | 2017-11-10T16:51:04.000Z | 2022-03-28T07:04:34.000Z | tests/utils/test_VectorRecipeParser.py | gpinyero/dcase_util | 298b2db13a2ffce7791f4de9d374616793564816 | [
"MIT"
] | 18 | 2018-03-29T01:14:35.000Z | 2022-03-30T11:21:17.000Z | tests/utils/test_VectorRecipeParser.py | gpinyero/dcase_util | 298b2db13a2ffce7791f4de9d374616793564816 | [
"MIT"
] | 39 | 2017-11-16T14:34:26.000Z | 2022-03-27T06:27:52.000Z | """ Unit tests for VectorRecipeParser """
import nose.tools
from dcase_util.utils import VectorRecipeParser
def test_parse():
parser = VectorRecipeParser()
# Test #1
test_recipe = 'mel'
parsed_recipe = parser.parse(recipe=test_recipe)
# correct amount of items
nose.tools.eq_(len(parsed_rec... | 33.865169 | 90 | 0.668547 | 433 | 3,014 | 4.468822 | 0.120092 | 0.223256 | 0.170543 | 0.219638 | 0.842377 | 0.829974 | 0.817571 | 0.817571 | 0.810336 | 0.766408 | 0 | 0.025088 | 0.153616 | 3,014 | 88 | 91 | 34.25 | 0.733438 | 0.139681 | 0 | 0.6 | 0 | 0 | 0.176356 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 1 | 0.022222 | false | 0 | 0.044444 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
bb1b6b88309bc5b257921790116928044e5cf2f8 | 68 | py | Python | tests-example/now.py | saada/tilt-example-nodejs | a2c58ea65dd40f50903bded3f22b9fd36a91bc15 | [
"Apache-2.0"
] | 10 | 2021-03-30T12:36:46.000Z | 2022-01-02T22:25:40.000Z | tests-example/now.py | saada/tilt-example-nodejs | a2c58ea65dd40f50903bded3f22b9fd36a91bc15 | [
"Apache-2.0"
] | 3 | 2020-08-28T17:15:49.000Z | 2021-06-10T22:10:53.000Z | tests-example/now.py | saada/tilt-example-nodejs | a2c58ea65dd40f50903bded3f22b9fd36a91bc15 | [
"Apache-2.0"
] | 8 | 2020-08-15T03:10:52.000Z | 2021-09-15T10:53:16.000Z | import time
print("%d" % (float(time.time()) * 1000 * 1000 * 1000)) | 22.666667 | 55 | 0.602941 | 10 | 68 | 4.1 | 0.6 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0.161765 | 68 | 3 | 55 | 22.666667 | 0.508772 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 7 |
bb4d8e87cff8a60a7cef20e90f630478125e1e6b | 22,329 | py | Python | tests/expected/RSA2048_3certs.py | castrapel/pyjks | f32dd209437f748949053be70f57ab1e80b5a7e3 | [
"MIT"
] | 92 | 2016-10-03T07:54:39.000Z | 2022-03-29T00:38:45.000Z | tests/expected/RSA2048_3certs.py | castrapel/pyjks | f32dd209437f748949053be70f57ab1e80b5a7e3 | [
"MIT"
] | 46 | 2016-09-09T03:13:40.000Z | 2022-03-10T22:54:12.000Z | tests/expected/RSA2048_3certs.py | castrapel/pyjks | f32dd209437f748949053be70f57ab1e80b5a7e3 | [
"MIT"
] | 30 | 2016-10-07T16:12:11.000Z | 2022-02-04T21:34:03.000Z | public_key = b"\x30\x82\x01\x22\x30\x0d\x06\x09\x2a\x86\x48\x86\xf7\x0d\x01\x01\x01\x05\x00\x03\x82\x01\x0f\x00\x30\x82\x01\x0a\x02\x82\x01\x01" + \
b"\x00\xc0\x86\x99\x9a\x76\x74\x9a\xf5\x04\xb8\x48\xf0\x7e\x67\xc3\x90\x51\x17\xe6\xcd\xb3\x97\x6b\x41\xbc\x4e\x4e\x0c\x30\xff\x57" + \
b"\xf1\x4... | 144.993506 | 153 | 0.652649 | 4,954 | 22,329 | 2.940856 | 0.052887 | 0.010708 | 0.007413 | 0.009884 | 0.83156 | 0.83156 | 0.754067 | 0.754067 | 0.754067 | 0.754067 | 0 | 0.319315 | 0.105468 | 22,329 | 153 | 154 | 145.941176 | 0.410083 | 0 | 0 | 0.248366 | 0 | 0.980392 | 0.858614 | 0.858435 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
2475732e2a87ac11704ba2758df551c5ba82b68a | 64 | py | Python | Python/1. Introduction/03 - Arithmetic Operators.py | rosiejh/HackerRank | bfb07b8add04d3f3b67a61754db483f88a79e5a5 | [
"Apache-2.0"
] | null | null | null | Python/1. Introduction/03 - Arithmetic Operators.py | rosiejh/HackerRank | bfb07b8add04d3f3b67a61754db483f88a79e5a5 | [
"Apache-2.0"
] | null | null | null | Python/1. Introduction/03 - Arithmetic Operators.py | rosiejh/HackerRank | bfb07b8add04d3f3b67a61754db483f88a79e5a5 | [
"Apache-2.0"
] | null | null | null | a, b = int(input()), int(input())
print(a+b, a-b, a*b, sep='\n') | 32 | 33 | 0.515625 | 15 | 64 | 2.2 | 0.466667 | 0.242424 | 0.181818 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 2 | 34 | 32 | 0.589286 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 7 |
24bcbe1dcf936db362fb7408a9568d35cc6c7f87 | 3,049 | py | Python | src/cli/options/docker_repository_options.py | SimonDudanski/integration-test-docker-environment | 3ea81172248f770596d81ff378772677ab5656ea | [
"MIT"
] | 4 | 2020-06-25T20:47:31.000Z | 2021-09-10T15:22:51.000Z | src/cli/options/docker_repository_options.py | SimonDudanski/integration-test-docker-environment | 3ea81172248f770596d81ff378772677ab5656ea | [
"MIT"
] | 113 | 2020-06-02T08:51:08.000Z | 2022-03-31T08:47:41.000Z | src/cli/options/docker_repository_options.py | SimonDudanski/integration-test-docker-environment | 3ea81172248f770596d81ff378772677ab5656ea | [
"MIT"
] | 2 | 2020-05-19T10:57:47.000Z | 2020-06-22T13:32:20.000Z | import click
docker_repository_options = [
click.option('--source-docker-repository-name', type=str,
default="exasol/script-language-container",
show_default=True,
help="Name of the docker repository for pulling cached stages. "
"The reposito... | 57.528302 | 100 | 0.595933 | 344 | 3,049 | 5.25 | 0.162791 | 0.093023 | 0.065891 | 0.063123 | 0.894241 | 0.830011 | 0.830011 | 0.830011 | 0.830011 | 0.830011 | 0 | 0 | 0.309282 | 3,049 | 52 | 101 | 58.634615 | 0.85755 | 0 | 0 | 0.5 | 0 | 0 | 0.541817 | 0.157429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.12 | 0.02 | 0 | 0.02 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
7009e1e9467c6a8e146408a6c67960d19e4dfc62 | 46 | py | Python | tutorial4.py | camelCasedAdi/Python-Programming-Tutorials | 65aa7092a90b3c0cad7b35584714570231305d37 | [
"MIT"
] | null | null | null | tutorial4.py | camelCasedAdi/Python-Programming-Tutorials | 65aa7092a90b3c0cad7b35584714570231305d37 | [
"MIT"
] | null | null | null | tutorial4.py | camelCasedAdi/Python-Programming-Tutorials | 65aa7092a90b3c0cad7b35584714570231305d37 | [
"MIT"
] | null | null | null | print(15 != 15)
print(10 > 11)
print(10 > 9) | 9.2 | 15 | 0.565217 | 9 | 46 | 2.888889 | 0.555556 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.305556 | 0.217391 | 46 | 5 | 16 | 9.2 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
7072c54759066c86ec241bb3f367a970099e43c9 | 111 | py | Python | backend/ui-fulfillment/fulfillment_service/utils/tests.py | m0ps/gcp-fsi-design-pattern-ipre | 391fc03c70bd7e2fb38605980d25e32ede6c7d27 | [
"Apache-2.0"
] | 7 | 2021-06-23T08:09:42.000Z | 2022-01-16T05:17:07.000Z | backend/ui-fulfillment/fulfillment_service/utils/tests.py | skylinepro/gcp-fsi-design-pattern-ipre | 7a933e742b29a4b1b9acde2c2a03ff29bf61e600 | [
"Apache-2.0"
] | null | null | null | backend/ui-fulfillment/fulfillment_service/utils/tests.py | skylinepro/gcp-fsi-design-pattern-ipre | 7a933e742b29a4b1b9acde2c2a03ff29bf61e600 | [
"Apache-2.0"
] | 3 | 2021-06-29T12:53:09.000Z | 2021-12-14T01:34:50.000Z | def lists_equal(left, right, sort_by=None):
return sorted(left, key=sort_by) == sorted(right, key=sort_by)
| 37 | 66 | 0.72973 | 19 | 111 | 4.052632 | 0.578947 | 0.233766 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126126 | 111 | 2 | 67 | 55.5 | 0.793814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
56457c59734ae192bc859356095eadb6d1420e25 | 90 | py | Python | rman/app/routes/api_0_0/rm_task/__init__.py | RockFeng0/rtsf-manager | e11458364ca004a7fdee8be801ada72ec3ac3ce2 | [
"MIT"
] | null | null | null | rman/app/routes/api_0_0/rm_task/__init__.py | RockFeng0/rtsf-manager | e11458364ca004a7fdee8be801ada72ec3ac3ce2 | [
"MIT"
] | null | null | null | rman/app/routes/api_0_0/rm_task/__init__.py | RockFeng0/rtsf-manager | e11458364ca004a7fdee8be801ada72ec3ac3ce2 | [
"MIT"
] | 1 | 2019-04-14T03:02:38.000Z | 2019-04-14T03:02:38.000Z | from flask import Blueprint
rm_task = Blueprint('rm_task', __name__)
from . import views
| 18 | 40 | 0.777778 | 13 | 90 | 4.923077 | 0.615385 | 0.34375 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 90 | 4 | 41 | 22.5 | 0.831169 | 0 | 0 | 0 | 0 | 0 | 0.077778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
566f718ed13ef2ed3fa8587c240a2bce03b5b31f | 2,186 | py | Python | tests/test_q0203.py | mirzadm/ctci-5th-py | ba2f4de0aba4c7c04d7e0ddf3120ce312d9e5d66 | [
"MIT"
] | null | null | null | tests/test_q0203.py | mirzadm/ctci-5th-py | ba2f4de0aba4c7c04d7e0ddf3120ce312d9e5d66 | [
"MIT"
] | 1 | 2018-07-04T23:10:20.000Z | 2018-07-04T23:10:20.000Z | tests/test_q0203.py | mirzadm/ctci-5th-py | ba2f4de0aba4c7c04d7e0ddf3120ce312d9e5d66 | [
"MIT"
] | null | null | null | """Unit tests for q0203.py."""
import unittest
from src.utils.linkedlist import LinkedList
from src.q0203 import del_intermediate_node
class TestDelIntermediateNode(unittest.TestCase):
"""Tests for del_intermediate_node."""
def test_del_intermediate_node(self):
self.assertFalse(del_intermediate_node(... | 35.258065 | 66 | 0.682983 | 290 | 2,186 | 4.768966 | 0.134483 | 0.245842 | 0.138829 | 0.156182 | 0.802603 | 0.761388 | 0.761388 | 0.733189 | 0.704266 | 0.644252 | 0 | 0.022016 | 0.21043 | 2,186 | 61 | 67 | 35.836066 | 0.779258 | 0.026075 | 0 | 0.75 | 0 | 0 | 0.003777 | 0 | 0 | 0 | 0 | 0 | 0.354167 | 1 | 0.020833 | false | 0 | 0.0625 | 0 | 0.104167 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
56829a15f0900b813742072c0108f7ebc58a24bc | 88 | py | Python | onmt/multiprocessing/__init__.py | esalesky/NMTGMinor | b6eafff21f5aabb874720e6df30cd6b91c339a7c | [
"MIT"
] | 5 | 2020-05-25T01:11:51.000Z | 2021-02-18T08:55:43.000Z | onmt/multiprocessing/__init__.py | esalesky/NMTGMinor | b6eafff21f5aabb874720e6df30cd6b91c339a7c | [
"MIT"
] | 2 | 2021-09-14T03:18:12.000Z | 2022-01-25T16:19:51.000Z | onmt/multiprocessing/__init__.py | esalesky/NMTGMinor | b6eafff21f5aabb874720e6df30cd6b91c339a7c | [
"MIT"
] | 1 | 2019-09-15T17:22:58.000Z | 2019-09-15T17:22:58.000Z | import onmt.multiprocessing.nccl
import onmt.multiprocessing.multiprocessing_event_loop
| 29.333333 | 54 | 0.909091 | 10 | 88 | 7.8 | 0.6 | 0.25641 | 0.641026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 88 | 2 | 55 | 44 | 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 | 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 |
8e61ca46fc6535192aee57d6709ffc9e282026bb | 66 | py | Python | fpgrowth_py/__init__.py | ablarry/fpgrowth_py | d7671ab87d885a5cbc79e6111a89620061351789 | [
"MIT"
] | 51 | 2020-10-25T19:12:35.000Z | 2022-02-22T01:40:25.000Z | fpgrowth_py/__init__.py | ablarry/fpgrowth_py | d7671ab87d885a5cbc79e6111a89620061351789 | [
"MIT"
] | 4 | 2020-12-22T08:45:50.000Z | 2021-09-12T08:53:27.000Z | fpgrowth_py/__init__.py | ablarry/fpgrowth_py | d7671ab87d885a5cbc79e6111a89620061351789 | [
"MIT"
] | 20 | 2020-12-01T12:59:14.000Z | 2022-03-23T13:26:55.000Z | from fpgrowth_py.fpgrowth import *
from fpgrowth_py.utils import * | 33 | 34 | 0.833333 | 10 | 66 | 5.3 | 0.5 | 0.45283 | 0.528302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 66 | 2 | 35 | 33 | 0.898305 | 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 |
8ed0087f59bba1708d55020e336326c897c58410 | 5,721 | py | Python | carball/analysis/constants/dropshot.py | unitedroguegg/carball | 4767f2c5d195b7d5d60e6a5575415262803acef7 | [
"Apache-2.0"
] | 119 | 2018-09-14T02:14:19.000Z | 2022-03-06T05:06:54.000Z | carball/analysis/constants/dropshot.py | unitedroguegg/carball | 4767f2c5d195b7d5d60e6a5575415262803acef7 | [
"Apache-2.0"
] | 207 | 2018-09-06T18:53:06.000Z | 2022-02-12T22:39:36.000Z | carball/analysis/constants/dropshot.py | unitedroguegg/carball | 4767f2c5d195b7d5d60e6a5575415262803acef7 | [
"Apache-2.0"
] | 44 | 2018-09-10T16:54:13.000Z | 2022-02-19T03:07:50.000Z | from typing import Optional, Tuple, List
# taken from https://github.com/RLBot/RLBot/wiki/Dropshot
TILE_DIAMETER = 886.82
CORE_707_TILES_POSITIONS = (
# BLUE
(2304.0, -4117.4287109375, 2.5),
(1536.0, -4117.4287109375, 2.5),
(768.0, -4117.4287109375, 2.5),
(-0.0, -4117.4287109375, 2.5),
(-768.... | 33.852071 | 66 | 0.573152 | 921 | 5,721 | 3.539631 | 0.076004 | 0.08589 | 0.154601 | 0.132515 | 0.88773 | 0.88773 | 0.883742 | 0.882515 | 0.866564 | 0.866564 | 0 | 0.632595 | 0.194546 | 5,721 | 168 | 67 | 34.053571 | 0.07487 | 0.011711 | 0 | 0 | 0 | 0 | 0.004602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012821 | false | 0 | 0.00641 | 0.00641 | 0.044872 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d96489b668cc30ed0c4974324fed7778390273e5 | 1,553 | py | Python | tests/test_haproxy.py | markfink/korg | 6a123031b69896f61fe0007f4a1d5f6f064b6ad9 | [
"MIT"
] | null | null | null | tests/test_haproxy.py | markfink/korg | 6a123031b69896f61fe0007f4a1d5f6f064b6ad9 | [
"MIT"
] | 2 | 2020-01-18T10:32:13.000Z | 2020-01-18T10:34:17.000Z | tests/test_haproxy.py | markfink/korg | 6a123031b69896f61fe0007f4a1d5f6f064b6ad9 | [
"MIT"
] | null | null | null | from korg import LineGrokker, PatternRepo
pr = PatternRepo()
def test_haproxy():
lg = LineGrokker('%{HAPROXYHTTP}', pr)
match = lg.grok('Dec 9 13:01:26 localhost haproxy[28029]: 127.0.0.1:39759 [09/Dec/2013:12:59:46.633] loadbalancer default/instance8 0/51536/1/48082/99627 200 83285 - - ---- 87/87/87/1/0 ... | 41.972973 | 252 | 0.658081 | 254 | 1,553 | 3.968504 | 0.267717 | 0.152778 | 0.029762 | 0.035714 | 0.830357 | 0.830357 | 0.830357 | 0.756944 | 0.756944 | 0.756944 | 0 | 0.215103 | 0.155827 | 1,553 | 36 | 253 | 43.138889 | 0.553776 | 0 | 0 | 0.64 | 0 | 0.12 | 0.546684 | 0.10689 | 0 | 0 | 0 | 0 | 0.56 | 1 | 0.12 | false | 0 | 0.04 | 0 | 0.16 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
79a7db380cd793d775d8ec80c037549586a0af24 | 25,046 | py | Python | baselines/her/her_sampler.py | ekwyss/baselines | 3ee276fd3be5d330aaacaa3d478929ead4cb1d34 | [
"MIT"
] | null | null | null | baselines/her/her_sampler.py | ekwyss/baselines | 3ee276fd3be5d330aaacaa3d478929ead4cb1d34 | [
"MIT"
] | null | null | null | baselines/her/her_sampler.py | ekwyss/baselines | 3ee276fd3be5d330aaacaa3d478929ead4cb1d34 | [
"MIT"
] | null | null | null | import numpy as np
import pickle
# TODO: have both sampler run on every episode and compare
# also check place where it decides whether to update or not
def make_sample_her_transitions(replay_strategy, replay_k, reward_fun, policy_index):
"""Creates a sample function that can be used for HER experience repla... | 45.871795 | 161 | 0.61962 | 3,282 | 25,046 | 4.502438 | 0.085009 | 0.04507 | 0.025986 | 0.034242 | 0.971645 | 0.964539 | 0.956892 | 0.956892 | 0.956892 | 0.956892 | 0 | 0.008086 | 0.264314 | 25,046 | 545 | 162 | 45.955963 | 0.793878 | 0.82596 | 0 | 0.044444 | 0 | 0 | 0.00871 | 0 | 0 | 0 | 0 | 0.00367 | 0.022222 | 1 | 0.044444 | false | 0 | 0.044444 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
79af0e8fdecfc8e568a82ab1b06855e242bc6b3a | 135 | py | Python | pyOSA/__init__.py | gregmoille/InstrumentControl | 4cc8477e36f7c4ad4bf4f54036fdd8dd985b4133 | [
"MIT"
] | 3 | 2018-05-02T20:14:15.000Z | 2020-10-18T03:57:09.000Z | pyOSA/__init__.py | gregmoille/InstrumentControl | 4cc8477e36f7c4ad4bf4f54036fdd8dd985b4133 | [
"MIT"
] | 1 | 2019-05-23T15:21:08.000Z | 2019-05-23T15:21:08.000Z | pyOSA/__init__.py | gregmoille/InstrumentControl | 4cc8477e36f7c4ad4bf4f54036fdd8dd985b4133 | [
"MIT"
] | 2 | 2019-05-16T20:36:25.000Z | 2020-09-22T18:26:49.000Z | from .yokogawa import Yokogawa
# from .yokogawa import Yokogawa
from ._ui_OSAjupyter import uiOSA
from ._OSA_Jupyter import OSAjupyter
| 27 | 36 | 0.837037 | 18 | 135 | 6.055556 | 0.444444 | 0.220183 | 0.330275 | 0.477064 | 0.513761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125926 | 135 | 4 | 37 | 33.75 | 0.923729 | 0.222222 | 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 |
30e3518d8bdb2f1459aa3df9dd7436b0eee48297 | 29,516 | py | Python | dataloaders.py | utcsilab/csgm-mri-langevin | 91e0a5ac658feaf6460045706ef16dd140894374 | [
"MIT"
] | 32 | 2021-08-08T00:45:03.000Z | 2022-03-16T08:26:42.000Z | dataloaders.py | d-dimos/csgm-mri-langevin | 91e0a5ac658feaf6460045706ef16dd140894374 | [
"MIT"
] | 2 | 2021-11-18T17:59:48.000Z | 2022-03-05T14:49:49.000Z | dataloaders.py | d-dimos/csgm-mri-langevin | 91e0a5ac658feaf6460045706ef16dd140894374 | [
"MIT"
] | 4 | 2021-09-24T00:02:42.000Z | 2022-03-25T00:07:36.000Z | from scipy.ndimage.interpolation import rotate,zoom
from torch.utils.data import Dataset, DataLoader
import glob
import os
import numpy as np
import torch
from tqdm import tqdm
import h5py
import sigpy as sp
from utils import get_mvue
import pickle as pkl
from xml.etree import ElementTree as ET
import sys
class MVU... | 38.734908 | 128 | 0.559527 | 3,869 | 29,516 | 4.095115 | 0.075989 | 0.024615 | 0.018935 | 0.025625 | 0.919149 | 0.899773 | 0.885256 | 0.874085 | 0.864681 | 0.84745 | 0 | 0.017085 | 0.329753 | 29,516 | 761 | 129 | 38.785808 | 0.783804 | 0.330838 | 0 | 0.776382 | 0 | 0 | 0.036089 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055276 | false | 0 | 0.032663 | 0.012563 | 0.143216 | 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 |
30f4e51e9457320f48033005baae3d7aa65016b1 | 21,442 | py | Python | test/transforms.py | DefTruth/landmarksaug | 71d978a062e4a7c8fe90ca62c8dff109ea7718e7 | [
"MIT"
] | 56 | 2022-02-08T06:45:02.000Z | 2022-03-27T14:03:08.000Z | test/transforms.py | DefTruth/pylandmarks | 71d978a062e4a7c8fe90ca62c8dff109ea7718e7 | [
"MIT"
] | 9 | 2022-02-15T12:32:34.000Z | 2022-03-31T14:12:06.000Z | test/transforms.py | DefTruth/pylandmarks | 71d978a062e4a7c8fe90ca62c8dff109ea7718e7 | [
"MIT"
] | 8 | 2022-02-15T09:17:51.000Z | 2022-03-27T14:03:08.000Z | import cv2
import numpy as np
import torchvision
# import albumentations
from torch import Tensor
from typing import Tuple
import torchlm
def callable_array_noop(
img: np.ndarray,
landmarks: np.ndarray
) -> Tuple[np.ndarray, np.ndarray]:
# Do some transform here ...
return img.astype(np.uint3... | 34.752026 | 100 | 0.682725 | 2,843 | 21,442 | 4.931762 | 0.066479 | 0.05991 | 0.07988 | 0.049925 | 0.852935 | 0.827402 | 0.803937 | 0.797375 | 0.795806 | 0.795806 | 0 | 0.032434 | 0.18613 | 21,442 | 616 | 101 | 34.808442 | 0.771016 | 0.119345 | 0 | 0.765403 | 0 | 0 | 0.080143 | 0.043932 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037915 | false | 0 | 0.014218 | 0.004739 | 0.056872 | 0.035545 | 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 |
a5034ae6f6a1d127e8a12fff5c192ed23781b96d | 13,077 | py | Python | tests/unit/data.py | a113n/bcbio-nextgen | 1d4afef27ad2e84a4ecb6145ccc5058f2abb4616 | [
"MIT"
] | 418 | 2015-01-01T18:21:17.000Z | 2018-03-02T07:26:28.000Z | tests/unit/data.py | ahmedelhosseiny/bcbio-nextgen | b5618f3c100a1a5c04bd5c8acad8f96d0587e41c | [
"MIT"
] | 1,634 | 2015-01-04T11:43:43.000Z | 2018-03-05T18:06:39.000Z | tests/unit/data.py | ahmedelhosseiny/bcbio-nextgen | b5618f3c100a1a5c04bd5c8acad8f96d0587e41c | [
"MIT"
] | 218 | 2015-01-26T05:58:18.000Z | 2018-03-03T05:50:05.000Z | NAMES = {
'lane': 'Test1',
'lb': None,
'pu': 'Test1',
'sample': 'Test1',
'rg': 'Test1',
'pl': 'illumina'
}
DATA = {
'files': [
'/bcbio-nextgen/tests/test_automated_output/trimmed/1_1_Test1.trimmed.fq.gz',
'/bcbio-nextgen/tests/test_automated_output/trimmed/1_2_Test1.trimmed.... | 52.94332 | 145 | 0.522826 | 1,261 | 13,077 | 5.289453 | 0.164948 | 0.151124 | 0.214093 | 0.201499 | 0.832534 | 0.815292 | 0.795802 | 0.763418 | 0.763418 | 0.750225 | 0 | 0.040013 | 0.31391 | 13,077 | 246 | 146 | 53.158537 | 0.703411 | 0 | 0 | 0.438525 | 0 | 0.07377 | 0.57062 | 0.406668 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a5103818918178054e89e2f1e45e4a4e9274ca84 | 986 | py | Python | es_luigi/es_luigi.py | chrisheckler/pipeline_dev | 3dbf40dc0865f5b96ac559e942b40060e9d83aba | [
"MIT"
] | null | null | null | es_luigi/es_luigi.py | chrisheckler/pipeline_dev | 3dbf40dc0865f5b96ac559e942b40060e9d83aba | [
"MIT"
] | null | null | null | es_luigi/es_luigi.py | chrisheckler/pipeline_dev | 3dbf40dc0865f5b96ac559e942b40060e9d83aba | [
"MIT"
] | 1 | 2019-12-01T22:42:52.000Z | 2019-12-01T22:42:52.000Z | #!/usr/bin/env python3
import luigi
import json
class Stage0(luigi.Task):
input_file = luigi.Parameter()
def requires(self):
return
def output(self):
return
def run(self):
return
class Stage1(luigi.Task):
input_file = luigi.Parameter()
def requires(self):
... | 15.40625 | 34 | 0.570994 | 113 | 986 | 4.867257 | 0.230089 | 0.272727 | 0.236364 | 0.163636 | 0.836364 | 0.836364 | 0.836364 | 0.836364 | 0.836364 | 0.836364 | 0 | 0.009077 | 0.329615 | 986 | 63 | 35 | 15.650794 | 0.822995 | 0.021298 | 0 | 0.795455 | 0 | 0 | 0.008316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.340909 | false | 0 | 0.045455 | 0.340909 | 0.954545 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 13 |
eb5ef5c9cd4af15d249d14b5c048fdeb73375c19 | 9,371 | py | Python | tests/common/test_wrappers_bo_function.py | jungtaekkim/bayeso | d11c9ff8037cf7fd3f9b41362eaab120f1224c71 | [
"MIT"
] | 76 | 2018-01-18T03:03:14.000Z | 2022-02-07T06:41:41.000Z | tests/common/test_wrappers_bo_function.py | POSTECH-CVLab/bayeso | d11c9ff8037cf7fd3f9b41362eaab120f1224c71 | [
"MIT"
] | 20 | 2018-06-29T16:48:03.000Z | 2021-04-19T00:30:57.000Z | tests/common/test_wrappers_bo_function.py | POSTECH-CVLab/bayeso | d11c9ff8037cf7fd3f9b41362eaab120f1224c71 | [
"MIT"
] | 4 | 2020-01-07T06:24:17.000Z | 2021-06-11T06:21:42.000Z | #
# author: Jungtaek Kim (jtkim@postech.ac.kr)
# last updated: July 9, 2021
#
"""test_wrappers_bo_function"""
import typing
import pytest
import numpy as np
from bayeso import bo
from bayeso.wrappers import wrappers_bo_function as package_target
def test_run_single_round_with_all_initial_information_typing():
a... | 50.654054 | 180 | 0.74197 | 1,465 | 9,371 | 4.379522 | 0.060751 | 0.058915 | 0.091646 | 0.123441 | 0.956359 | 0.951995 | 0.946384 | 0.940461 | 0.922849 | 0.903834 | 0 | 0.014134 | 0.154413 | 9,371 | 184 | 181 | 50.929348 | 0.795558 | 0.010244 | 0 | 0.658385 | 0 | 0 | 0.033564 | 0.007123 | 0 | 0 | 0 | 0 | 0.521739 | 1 | 0.037267 | false | 0 | 0.031056 | 0 | 0.068323 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
eb8080ca016d89fd596bd2ca83cf64aee487c36e | 16,248 | py | Python | run_radiativetransfer.py | sukritranjan/ranjanwordsworthsasselov2016 | bd5de2cb081b129bfd6b3b5bc173ca4e9ce7702b | [
"MIT"
] | 1 | 2017-12-14T03:48:22.000Z | 2017-12-14T03:48:22.000Z | run_radiativetransfer.py | sukritranjan/ranjanwordsworthsasselov2016 | bd5de2cb081b129bfd6b3b5bc173ca4e9ce7702b | [
"MIT"
] | null | null | null | run_radiativetransfer.py | sukritranjan/ranjanwordsworthsasselov2016 | bd5de2cb081b129bfd6b3b5bc173ca4e9ce7702b | [
"MIT"
] | null | null | null | # -*- coding: iso-8859-1 -*-
"""
Purpose of this file is to run the uv_radtrans function from radiativetransfer.py to generate the surface radiance calculations used to derive the results in our paper.
This script: run for the Mars-approximate case (A=desert)
"""
import radiativetransfer as rt
import numpy as np
impo... | 90.77095 | 797 | 0.730244 | 2,070 | 16,248 | 5.456522 | 0.11256 | 0.029748 | 0.02479 | 0.042851 | 0.845064 | 0.779371 | 0.772466 | 0.753431 | 0.745374 | 0.726605 | 0 | 0.081209 | 0.053422 | 16,248 | 178 | 798 | 91.280899 | 0.653186 | 0.186915 | 0 | 0.571429 | 1 | 0 | 0.340792 | 0.306487 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.042857 | 0 | 0.042857 | 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 |
eb8846485d7496b50877c22a79df52aca65d4286 | 580 | py | Python | eval_covid20cases_timm-regnetx_002_ElasticTransform.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | eval_covid20cases_timm-regnetx_002_ElasticTransform.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | eval_covid20cases_timm-regnetx_002_ElasticTransform.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | import os
ls=["python main.py --configs configs/eval_covid20cases_unetplusplus_timm-regnetx_002_0_ElasticTransform.yml",
"python main.py --configs configs/eval_covid20cases_unetplusplus_timm-regnetx_002_1_ElasticTransform.yml",
"python main.py --configs configs/eval_covid20cases_unetplusplus_timm-regnetx_002_2_Elastic... | 52.727273 | 110 | 0.856897 | 80 | 580 | 5.8375 | 0.3 | 0.107066 | 0.12848 | 0.203426 | 0.890792 | 0.890792 | 0.890792 | 0.890792 | 0.890792 | 0.890792 | 0 | 0.054645 | 0.053448 | 580 | 11 | 111 | 52.727273 | 0.795993 | 0 | 0 | 0 | 0 | 0 | 0.886403 | 0.671256 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
eba33faac807b8deddf2ba0e0ac4c8fe96fbf9a6 | 5,345 | py | Python | tests/test_handler.py | delta-accelerator/channel_access.server | 21a7707da1f3421ed38773095e577f48b798daac | [
"MIT"
] | null | null | null | tests/test_handler.py | delta-accelerator/channel_access.server | 21a7707da1f3421ed38773095e577f48b798daac | [
"MIT"
] | null | null | null | tests/test_handler.py | delta-accelerator/channel_access.server | 21a7707da1f3421ed38773095e577f48b798daac | [
"MIT"
] | null | null | null | import pytest
import threading
import channel_access.common as ca
import channel_access.server as cas
from . import common
def test_write_handler(server):
executed = False
def handler(pv, value, timestamp, context):
nonlocal executed
executed = True
return (value, timestamp)
pv =... | 26.859296 | 91 | 0.647521 | 640 | 5,345 | 5.326563 | 0.089063 | 0.049281 | 0.056322 | 0.066882 | 0.912878 | 0.897037 | 0.87973 | 0.86389 | 0.840422 | 0.812262 | 0 | 0.008376 | 0.240599 | 5,345 | 198 | 92 | 26.994949 | 0.831486 | 0 | 0 | 0.786585 | 0 | 0 | 0.041534 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 1 | 0.164634 | false | 0 | 0.030488 | 0 | 0.262195 | 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 |
ccd97ab53b81dc4d98a325c48720219d74417d70 | 6,834 | py | Python | tests/test_fritzhometemplate.py | mib1185/python-fritzhome | c0017738b365b4dea5a54d01add66fd606229cd2 | [
"MIT"
] | 33 | 2017-10-25T20:13:35.000Z | 2022-03-27T09:21:19.000Z | tests/test_fritzhometemplate.py | mib1185/python-fritzhome | c0017738b365b4dea5a54d01add66fd606229cd2 | [
"MIT"
] | 49 | 2017-11-05T05:52:45.000Z | 2022-03-27T09:21:04.000Z | tests/test_fritzhometemplate.py | mib1185/python-fritzhome | c0017738b365b4dea5a54d01add66fd606229cd2 | [
"MIT"
] | 33 | 2018-05-05T21:52:08.000Z | 2022-03-27T08:24:00.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from nose.tools import eq_, assert_true, assert_false
from unittest.mock import MagicMock
from .helper import Helper
from pyfritzhome import Fritzhome
class TestFritzhomeTemplate(object):
def setup(self):
self.mock = MagicMock()
self.fritz = Fritzho... | 40.678571 | 88 | 0.734416 | 811 | 6,834 | 5.762022 | 0.108508 | 0.250374 | 0.329339 | 0.416007 | 0.826664 | 0.804194 | 0.804194 | 0.795848 | 0.795848 | 0.677723 | 0 | 0.036856 | 0.190079 | 6,834 | 167 | 89 | 40.922156 | 0.807407 | 0.006146 | 0 | 0.604478 | 0 | 0 | 0.051694 | 0.003387 | 0 | 0 | 0 | 0 | 0.679104 | 1 | 0.097015 | false | 0.007463 | 0.029851 | 0 | 0.134328 | 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 |
ccdde8ac40fc96cfc99a746ebf4348c6e42984e0 | 2,496 | py | Python | src/encoded/tests/test_audit_replicate.py | procha2/encoded | e9f122362b71f3b8641023b8d2d5ad531d3484b7 | [
"MIT"
] | 102 | 2015-05-20T01:17:43.000Z | 2022-03-07T06:03:55.000Z | src/encoded/tests/test_audit_replicate.py | procha2/encoded | e9f122362b71f3b8641023b8d2d5ad531d3484b7 | [
"MIT"
] | 901 | 2015-01-07T23:11:57.000Z | 2022-03-18T13:56:12.000Z | src/encoded/tests/test_audit_replicate.py | procha2/encoded | e9f122362b71f3b8641023b8d2d5ad531d3484b7 | [
"MIT"
] | 65 | 2015-02-06T23:00:26.000Z | 2022-01-22T07:58:44.000Z | import pytest
def test_audit_status_replicate(testapp, rep1):
res = testapp.get(rep1['@id'] + '@@index-data')
errors = res.json['audit']
errors_list = []
for error_type in errors:
errors_list.extend(errors[error_type])
assert any(error['category'] == 'mismatched status' for error in errors... | 44.571429 | 93 | 0.604968 | 269 | 2,496 | 5.360595 | 0.223048 | 0.062413 | 0.07767 | 0.035368 | 0.879334 | 0.879334 | 0.879334 | 0.879334 | 0.779473 | 0.779473 | 0 | 0.009559 | 0.245593 | 2,496 | 55 | 94 | 45.381818 | 0.75624 | 0 | 0 | 0.729167 | 0 | 0 | 0.182292 | 0.016827 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.0625 | false | 0 | 0.020833 | 0 | 0.083333 | 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 |
15ce56f0be7b921cd2969b5a04f6078306327267 | 249 | py | Python | ML_utils/__init__.py | MaximeRedstone/UnstructuredCAE-DA | b54bd53540c11aa1b70e5160751905141f463217 | [
"MIT"
] | null | null | null | ML_utils/__init__.py | MaximeRedstone/UnstructuredCAE-DA | b54bd53540c11aa1b70e5160751905141f463217 | [
"MIT"
] | null | null | null | ML_utils/__init__.py | MaximeRedstone/UnstructuredCAE-DA | b54bd53540c11aa1b70e5160751905141f463217 | [
"MIT"
] | null | null | null | from UnstructuredCAEDA.ML_utils.helpers import set_seeds, load_AE, get_device
from UnstructuredCAEDA.ML_utils.helpers import load_model_from_settings, load_model_and_settings_from_dir
from UnstructuredCAEDA.ML_utils.convolution import ConvScheduler
| 62.25 | 105 | 0.903614 | 35 | 249 | 6.028571 | 0.514286 | 0.298578 | 0.327014 | 0.398104 | 0.388626 | 0.388626 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060241 | 249 | 3 | 106 | 83 | 0.901709 | 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 |
c631bc60f5c8e65d2f5a8a93bac9b505c577fa9b | 14,537 | py | Python | scripts/list_tfrecords.py | cybertronai/Megatron-LM | 4c766958a5b41ea1d7e472afa98a0a1a45aed865 | [
"Apache-2.0"
] | 14 | 2019-04-30T06:11:53.000Z | 2021-04-16T09:26:48.000Z | scripts/list_tfrecords.py | cybertronai/Megatron-LM | 4c766958a5b41ea1d7e472afa98a0a1a45aed865 | [
"Apache-2.0"
] | null | null | null | scripts/list_tfrecords.py | cybertronai/Megatron-LM | 4c766958a5b41ea1d7e472afa98a0a1a45aed865 | [
"Apache-2.0"
] | 5 | 2019-05-05T22:56:11.000Z | 2021-04-16T09:30:27.000Z | #!/usr/bin/env python
# Result is
# /ncluster/data/bookcorpus.tfrecords/final_tfrecords_sharded/tf_examples.tfrecord0000 /ncluster/data/bookcorpus.tfrecords/final_tfrecords_sharded/tf_examples.tfrecord0001 /ncluster/data/bookcorpus.tfrecords/final_tfrecords_sharded/tf_examples.tfrecord0002 /ncluster/data/bookcorpus.tf... | 855.117647 | 14,246 | 0.903281 | 1,689 | 14,537 | 7.480166 | 0.115453 | 0.15767 | 0.289061 | 0.407314 | 0.813836 | 0.813836 | 0.813836 | 0.80972 | 0.80972 | 0 | 0 | 0.061418 | 0.014377 | 14,537 | 16 | 14,247 | 908.5625 | 0.820352 | 0.981977 | 0 | 0 | 0 | 0 | 0.267442 | 0.228682 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.125 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
c6440e1ff0ccfa608884f09f3edbb4df6bf50163 | 502,222 | py | Python | universal-dimmer-python/service/model/InflexibleControllerEfi20/xsd.py | flexiblepower/defpi-tutorial | 59b57290444cf01ee4094bfac00c061c9474882a | [
"Apache-2.0"
] | 1 | 2021-04-13T00:34:35.000Z | 2021-04-13T00:34:35.000Z | universal-dimmer-python/service/model/InflexibleControllerEfi20/xsd.py | flexiblepower/defpi-tutorial | 59b57290444cf01ee4094bfac00c061c9474882a | [
"Apache-2.0"
] | 1 | 2018-10-01T13:21:50.000Z | 2018-10-06T08:14:01.000Z | universal-dimmer-python/service/model/InflexibleControllerEfi20/xsd.py | flexiblepower/defpi-tutorial | 59b57290444cf01ee4094bfac00c061c9474882a | [
"Apache-2.0"
] | 3 | 2020-02-16T11:46:40.000Z | 2021-06-15T12:56:13.000Z | # service/model/InflexibleControllerEfi20/xsd.py
# -*- coding: utf-8 -*-
# PyXB bindings for NM:b550fb16b19cc058aca9062a23ea1ae456ced48d
# Generated 2018-08-10 09:57:06.989505 by PyXB version 1.2.6 using Python 3.6.6.final.0
# Namespace http://www.flexiblepower.org/efi-2
from __future__ import unicode_literals
import ... | 60.031317 | 414 | 0.775798 | 55,450 | 502,222 | 6.797151 | 0.019946 | 0.028689 | 0.037018 | 0.055335 | 0.874705 | 0.862272 | 0.832699 | 0.826302 | 0.795236 | 0.784435 | 0 | 0.021829 | 0.111192 | 502,222 | 8,365 | 415 | 60.038494 | 0.822525 | 0.131758 | 0 | 0.663902 | 1 | 0 | 0.200804 | 0.171155 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014342 | false | 0 | 0.015725 | 0 | 0.256437 | 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 |
c6499f819501950939bd7e70ddf612cbf8b95613 | 189,635 | py | Python | pirates/leveleditor/worldData/GABES_ravensCoveIsland.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/GABES_ravensCoveIsland.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/GABES_ravensCoveIsland.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3, Vec4, Vec3
objectStruct = {'Adj Table': {'1271349069.91akelts': [],'1271349163.04akelts': [],'1271349193.8akelts': [],'1271349238.13akelts': [],'1271349357.21akelts': [],'1271349715.76akelts': [],'1271349813.4akelts': ['1271349871.68akelts'],'1271349871.68akelts': ['12713... | 63,211.666667 | 188,672 | 0.671358 | 26,823 | 189,635 | 4.656079 | 0.069232 | 0.021411 | 0.023421 | 0.021523 | 0.717015 | 0.567379 | 0.532685 | 0.501689 | 0.468284 | 0.432076 | 0 | 0.253741 | 0.049817 | 189,635 | 3 | 188,673 | 63,211.666667 | 0.439369 | 0 | 0 | 0 | 0 | 1.666667 | 0.564582 | 0.275401 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
d6d1ba393ab2c81ba3aa528da1951896eab44b3c | 184 | py | Python | project_name/views.py | the-falc0n/django-react-boilerplate | 5fd4e72e576c03415c933e8b4aa32b2521407e68 | [
"MIT"
] | null | null | null | project_name/views.py | the-falc0n/django-react-boilerplate | 5fd4e72e576c03415c933e8b4aa32b2521407e68 | [
"MIT"
] | null | null | null | project_name/views.py | the-falc0n/django-react-boilerplate | 5fd4e72e576c03415c933e8b4aa32b2521407e68 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def homepage( request ):
return render( request, 'Home/index.html' )
def blogpage( request ):
return render( request, 'Blog/index.html' )
| 23 | 47 | 0.711957 | 23 | 184 | 5.695652 | 0.608696 | 0.198473 | 0.290076 | 0.396947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 184 | 7 | 48 | 26.285714 | 0.861842 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
d6f7535dfdd76b50e868d3c379c14e3b002caab6 | 141 | py | Python | script.xbmcbackup/resources/lib/dropbox/pkg_resources.py | parser4life/tantrumrepo | 3b37145f4772409e538cbddb0b7aa23be525772a | [
"Beerware"
] | 1 | 2021-05-09T19:55:51.000Z | 2021-05-09T19:55:51.000Z | script.xbmcbackup/resources/lib/dropbox/pkg_resources.py | Reapercrew666/crypt | e1e0994f5323c6b454ac0f65fb2e579f7bea8e5a | [
"Beerware"
] | null | null | null | script.xbmcbackup/resources/lib/dropbox/pkg_resources.py | Reapercrew666/crypt | e1e0994f5323c6b454ac0f65fb2e579f7bea8e5a | [
"Beerware"
] | 2 | 2020-04-01T22:11:12.000Z | 2020-05-07T23:54:52.000Z | import resources.lib.utils as utils
def resource_filename(*args):
return utils.addon_dir() + "/resources/lib/dropbox/trusted-certs.crt"
| 28.2 | 73 | 0.765957 | 20 | 141 | 5.3 | 0.8 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 141 | 4 | 74 | 35.25 | 0.84127 | 0 | 0 | 0 | 0 | 0 | 0.283688 | 0.283688 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 7 |
ba30b0d5e69101600946b902428f5436af52fa9d | 35 | py | Python | crypto/Broadcast/secret.py | Enigmatrix/hats-ctf-2019 | 0dc1b9a5a4583c81b5f1b7bce0cbb9bd0fd2b192 | [
"MIT"
] | 5 | 2019-10-04T07:20:37.000Z | 2021-06-15T21:34:07.000Z | crypto/Broadcast/secret.py | Enigmatrix/hats-ctf-2019 | 0dc1b9a5a4583c81b5f1b7bce0cbb9bd0fd2b192 | [
"MIT"
] | null | null | null | crypto/Broadcast/secret.py | Enigmatrix/hats-ctf-2019 | 0dc1b9a5a4583c81b5f1b7bce0cbb9bd0fd2b192 | [
"MIT"
] | null | null | null | flag='HATS{3xp0n3n7_700_5m41l!!!}'
| 17.5 | 34 | 0.742857 | 5 | 35 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 0.028571 | 35 | 1 | 35 | 35 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0.771429 | 0.771429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ba67b095cbbd210533cf5c8f5a348640da53fb77 | 307 | py | Python | experiments/provenance/__init__.py | humm/experiments | 44770110e51349cc5e2a225322f57ede4f9fdfa7 | [
"OML"
] | null | null | null | experiments/provenance/__init__.py | humm/experiments | 44770110e51349cc5e2a225322f57ede4f9fdfa7 | [
"OML"
] | null | null | null | experiments/provenance/__init__.py | humm/experiments | 44770110e51349cc5e2a225322f57ede4f9fdfa7 | [
"OML"
] | 1 | 2018-05-10T21:15:02.000Z | 2018-05-10T21:15:02.000Z | from .provenance import platform_info
from .provenance import py_package_info
from .provenance import PkgDesc, PkgInfo, ProvenanceData, ProvenanceAccumulator
# from .provenance import check_dirty
# from .provenance import git_commit, git_dirty
# from .provenance import gather_provenance, check_provenance
| 38.375 | 79 | 0.846906 | 37 | 307 | 6.810811 | 0.432432 | 0.333333 | 0.47619 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107492 | 307 | 7 | 80 | 43.857143 | 0.919708 | 0.459283 | 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 |
bab7a54e3a6acfcc98bf074f945d3475b9fcb00c | 358,811 | py | Python | pyVmomi/_typeinfo_dp.py | xweichu/pyvmomi | 77aedef02974a63517a079c482e49fd9890c09a4 | [
"Apache-2.0"
] | null | null | null | pyVmomi/_typeinfo_dp.py | xweichu/pyvmomi | 77aedef02974a63517a079c482e49fd9890c09a4 | [
"Apache-2.0"
] | null | null | null | pyVmomi/_typeinfo_dp.py | xweichu/pyvmomi | 77aedef02974a63517a079c482e49fd9890c09a4 | [
"Apache-2.0"
] | null | null | null | # ******* WARNING - AUTO GENERATED CODE - DO NOT EDIT *******
from .VmomiSupport import CreateDataType, CreateManagedType
from .VmomiSupport import CreateEnumType
from .VmomiSupport import AddVersion, AddVersionParent
from .VmomiSupport import AddBreakingChangesInfo
from .VmomiSupport import F_LINK, F_LINKABLE
from .Vm... | 76.359013 | 2,514 | 0.815153 | 42,975 | 358,811 | 6.619756 | 0.012379 | 0.263108 | 0.366671 | 0.053876 | 0.96687 | 0.956331 | 0.757726 | 0.595316 | 0.436404 | 0.214047 | 0 | 0.036482 | 0.029358 | 358,811 | 4,698 | 2,515 | 76.375266 | 0.78035 | 0.000164 | 0 | 0 | 1 | 0 | 0.660728 | 0.433982 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.001704 | 0 | 0.001704 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
79f08b430a59bbb58547868268f8a33630753836 | 92 | py | Python | test2.py | Ambareezh/pyneta | a64a2c213847bdec0af4064730c2c6f1d47575c7 | [
"Apache-2.0"
] | null | null | null | test2.py | Ambareezh/pyneta | a64a2c213847bdec0af4064730c2c6f1d47575c7 | [
"Apache-2.0"
] | null | null | null | test2.py | Ambareezh/pyneta | a64a2c213847bdec0af4064730c2c6f1d47575c7 | [
"Apache-2.0"
] | null | null | null | print("Hai")
print("Hai")
print("Hai")
print("Hai")
print("Hai")
print("Hai")
print("Hai")
| 10.222222 | 12 | 0.608696 | 14 | 92 | 4 | 0.142857 | 1 | 1.392857 | 1.714286 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.086957 | 92 | 8 | 13 | 11.5 | 0.666667 | 0 | 0 | 1 | 0 | 0 | 0.228261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 14 |
79f1edbb88a6a6afd2bb91b0da8def96b8a50377 | 4,325 | py | Python | readCounters.py | szabogtamas/commonNFnodes | 1244328723c1e32a98e7d194bce3bf1028822eaa | [
"MIT"
] | null | null | null | readCounters.py | szabogtamas/commonNFnodes | 1244328723c1e32a98e7d194bce3bf1028822eaa | [
"MIT"
] | null | null | null | readCounters.py | szabogtamas/commonNFnodes | 1244328723c1e32a98e7d194bce3bf1028822eaa | [
"MIT"
] | null | null | null | from nodePrototypes import nextflowCmdProcess
class countWithFeatureCounts(nextflowCmdProcess):
"Count reads with FeatureCounts, using general settings."
def directives(self):
return {"publishDir": "'../tables', mode: 'copy'", "label": "'manycpu'"}
def customize_features(self):
self.inpu... | 40.046296 | 106 | 0.574566 | 428 | 4,325 | 5.745327 | 0.175234 | 0.102887 | 0.082961 | 0.065067 | 0.807645 | 0.806832 | 0.806832 | 0.806832 | 0.767792 | 0.716958 | 0 | 0 | 0.28763 | 4,325 | 107 | 107 | 40.420561 | 0.798117 | 0.080694 | 0 | 0.724138 | 0 | 0 | 0.500352 | 0.054264 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114943 | false | 0 | 0.011494 | 0.057471 | 0.298851 | 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 |
031bb2a444a04924385f6f1cc40279d134378e0c | 940 | py | Python | pwn/mission-control/solve.py | zeyu2001/STANDCON-Challenges | ba302a01e0f644c7fc84ca6c64f24ad5b4a082e0 | [
"MIT"
] | 3 | 2021-07-25T11:01:21.000Z | 2022-03-28T13:31:36.000Z | pwn/mission-control/solve.py | zeyu2001/STANDCON-Challenges | ba302a01e0f644c7fc84ca6c64f24ad5b4a082e0 | [
"MIT"
] | null | null | null | pwn/mission-control/solve.py | zeyu2001/STANDCON-Challenges | ba302a01e0f644c7fc84ca6c64f24ad5b4a082e0 | [
"MIT"
] | null | null | null | from pwn import *
# Bruteforce the index of the buffer
conn = remote("localhost", 50000)
print(conn.recv())
conn.send("I am not a robotBBAAAA%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x.%x... | 33.571429 | 451 | 0.543617 | 229 | 940 | 2.227074 | 0.170306 | 0.537255 | 0.8 | 1.058824 | 0.756863 | 0.641176 | 0.641176 | 0.641176 | 0.641176 | 0.641176 | 0 | 0.032147 | 0.073404 | 940 | 27 | 452 | 34.814815 | 0.553387 | 0.11383 | 0 | 0.642857 | 0 | 0.142857 | 0.657005 | 0.560386 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0.428571 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
0358eae2f48244ea38079cd899289776007b52c3 | 11,080 | py | Python | checkpoint_sand_blast/komand_checkpoint_sand_blast/actions/upload/schema.py | xhennessy-r7/insightconnect-plugins | 59268051313d67735b5dd3a30222eccb92aca8e9 | [
"MIT"
] | null | null | null | checkpoint_sand_blast/komand_checkpoint_sand_blast/actions/upload/schema.py | xhennessy-r7/insightconnect-plugins | 59268051313d67735b5dd3a30222eccb92aca8e9 | [
"MIT"
] | null | null | null | checkpoint_sand_blast/komand_checkpoint_sand_blast/actions/upload/schema.py | xhennessy-r7/insightconnect-plugins | 59268051313d67735b5dd3a30222eccb92aca8e9 | [
"MIT"
] | null | null | null | # GENERATED BY KOMAND SDK - DO NOT EDIT
import komand
import json
class Input:
FILE_BYTES = "file_bytes"
FILE_NAME = "file_name"
FILE_TYPE = "file_type"
class Output:
RESULTS = "results"
class UploadInput(komand.Input):
schema = json.loads("""
{
"type": "object",
"title": "Varia... | 23.524416 | 58 | 0.314982 | 661 | 11,080 | 5.208775 | 0.111952 | 0.095847 | 0.139413 | 0.063898 | 0.812082 | 0.812082 | 0.812082 | 0.763869 | 0.735405 | 0.735405 | 0 | 0.010833 | 0.516787 | 11,080 | 470 | 59 | 23.574468 | 0.632238 | 0.003339 | 0 | 0.679739 | 1 | 0 | 0.959877 | 0.024454 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004357 | false | 0 | 0.004357 | 0 | 0.030501 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
036113fce85ec1a10b88458b5eac5cad8a658ca0 | 12,850 | py | Python | tests/test_csv.py | klee229/CS179J-Smart-Water-Station-Project | 7568c23dc7cd4108ca42c27bf77e18a2a74aa36f | [
"MIT"
] | null | null | null | tests/test_csv.py | klee229/CS179J-Smart-Water-Station-Project | 7568c23dc7cd4108ca42c27bf77e18a2a74aa36f | [
"MIT"
] | null | null | null | tests/test_csv.py | klee229/CS179J-Smart-Water-Station-Project | 7568c23dc7cd4108ca42c27bf77e18a2a74aa36f | [
"MIT"
] | 2 | 2021-09-03T20:23:32.000Z | 2021-11-28T21:49:36.000Z | import unittest
import csv
import pandas as pd
class TestCSVFile(unittest.TestCase):
# NOTE: all items in user_data converted to str from int or float, this way we compare string to string for testing
def test_open_write_read_close(self):
# example users for testing
columns = ['card_uid', 'r... | 45.40636 | 120 | 0.481245 | 1,546 | 12,850 | 3.85705 | 0.129366 | 0.022807 | 0.027168 | 0.032199 | 0.87456 | 0.871373 | 0.866007 | 0.857622 | 0.857622 | 0.857622 | 0 | 0.154779 | 0.313697 | 12,850 | 282 | 121 | 45.567376 | 0.521374 | 0.083346 | 0 | 0.73913 | 0 | 0 | 0.285824 | 0.028931 | 0 | 0 | 0 | 0 | 0.05314 | 1 | 0.028986 | false | 0 | 0.014493 | 0 | 0.048309 | 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 |
0377ea243b69ee749031fa3206a18401ccb44a0f | 3,470 | py | Python | scripts_gpio/therm.py | BertrandFreylin/WeatherStation | 4ab6f5af2af02a83c109ecb79498e4c92e5af5d2 | [
"Apache-2.0"
] | null | null | null | scripts_gpio/therm.py | BertrandFreylin/WeatherStation | 4ab6f5af2af02a83c109ecb79498e4c92e5af5d2 | [
"Apache-2.0"
] | null | null | null | scripts_gpio/therm.py | BertrandFreylin/WeatherStation | 4ab6f5af2af02a83c109ecb79498e4c92e5af5d2 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
import ADC0834
import time
import math
def setup_files(number_of_lines):
num_lines_temp = sum(1 for line in open('/home/bertrand/workspace/rasp/static/data/therm_inside.csv'))
if num_lines_temp > number_of_lines:
to_delete = int(num_lines_temp - number_of_lines)
with ope... | 44.487179 | 106 | 0.665994 | 507 | 3,470 | 4.390533 | 0.149901 | 0.071878 | 0.143756 | 0.224618 | 0.86478 | 0.86478 | 0.86478 | 0.831536 | 0.820755 | 0.820755 | 0 | 0.020622 | 0.175504 | 3,470 | 77 | 107 | 45.064935 | 0.757427 | 0.006052 | 0 | 0.712121 | 0 | 0 | 0.338167 | 0.323086 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.045455 | 0 | 0.136364 | 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 |
30577d70a1c1522176a05c9c572d66e6b86822a0 | 87,419 | py | Python | test/user18_time.py | time-track-tool/time-track-tool | a1c280f32a7766e460c862633b748fa206256f24 | [
"MIT"
] | null | null | null | test/user18_time.py | time-track-tool/time-track-tool | a1c280f32a7766e460c862633b748fa206256f24 | [
"MIT"
] | 1 | 2019-07-03T13:32:38.000Z | 2019-07-03T13:32:38.000Z | test/user18_time.py | time-track-tool/time-track-tool | a1c280f32a7766e460c862633b748fa206256f24 | [
"MIT"
] | 1 | 2019-05-15T16:01:31.000Z | 2019-05-15T16:01:31.000Z | from roundup import date
def import_data_18 (db, user, dep, olo) :
sd = dict (months = 1.0, required_overtime = 1, weekly = 0)
otp = db.overtime_period.filter (None, sd)
assert len (otp) == 1
otp = otp [0]
db.user_dynamic.create \
( hours_fri = 7.5
, hours_sun = 0.... | 28.879749 | 64 | 0.408435 | 9,166 | 87,419 | 3.739363 | 0.01331 | 0.145062 | 0.094179 | 0.141269 | 0.991335 | 0.989322 | 0.987805 | 0.987688 | 0.983866 | 0.981152 | 0 | 0.127115 | 0.467885 | 87,419 | 3,026 | 65 | 28.889293 | 0.609713 | 0.000252 | 0 | 0.775463 | 0 | 0 | 0.079009 | 0 | 0 | 0 | 0 | 0 | 0.000661 | 1 | 0.000331 | false | 0 | 0.000661 | 0 | 0.000992 | 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 |
0686fff069deb82b8d08160d4b0a878dc045e130 | 6,003 | py | Python | tests/test_etlskel_full.py | slouchart/pyetllib | 133df36a1628f413cd60a86e4c7eac2738844d17 | [
"MIT"
] | 2 | 2020-04-01T10:08:02.000Z | 2021-03-07T15:18:14.000Z | tests/test_etlskel_full.py | slouchart/pyetllib | 133df36a1628f413cd60a86e4c7eac2738844d17 | [
"MIT"
] | null | null | null | tests/test_etlskel_full.py | slouchart/pyetllib | 133df36a1628f413cd60a86e4c7eac2738844d17 | [
"MIT"
] | 1 | 2020-10-13T13:23:02.000Z | 2020-10-13T13:23:02.000Z | from unittest import TestCase
from unittest import main as run_tests
from pathlib import Path
from click.testing import CliRunner
from src.pyetllib.etlskel.cli import etlskel
class TestEndToEndEtlSkel(TestCase):
def setUp(self):
self.runner = CliRunner()
self.root_dir = 'to_be_removed'
def ... | 41.6875 | 77 | 0.613693 | 637 | 6,003 | 5.587127 | 0.120879 | 0.157348 | 0.216353 | 0.334083 | 0.834223 | 0.831413 | 0.787862 | 0.760326 | 0.759764 | 0.759764 | 0 | 0.00023 | 0.274863 | 6,003 | 143 | 78 | 41.979021 | 0.817367 | 0 | 0 | 0.576 | 0 | 0 | 0.09995 | 0.009662 | 0 | 0 | 0 | 0 | 0.472 | 1 | 0.104 | false | 0.008 | 0.04 | 0.016 | 0.168 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
233ba1d3c7699ecb7452ec267a443083c7565517 | 15,702 | py | Python | data_steward/analytics/rt_cdr_qc/cdr_deid_qa_report4_dateshift.py | lrwb-aou/curation | e80447e56d269dc2c9c8bc79e78218d4b0dc504c | [
"MIT"
] | 16 | 2017-06-30T20:05:05.000Z | 2022-03-08T21:03:19.000Z | data_steward/analytics/rt_cdr_qc/cdr_deid_qa_report4_dateshift.py | lrwb-aou/curation | e80447e56d269dc2c9c8bc79e78218d4b0dc504c | [
"MIT"
] | 342 | 2017-06-23T21:37:40.000Z | 2022-03-30T16:44:16.000Z | data_steward/analytics/rt_cdr_qc/cdr_deid_qa_report4_dateshift.py | lrwb-aou/curation | e80447e56d269dc2c9c8bc79e78218d4b0dc504c | [
"MIT"
] | 33 | 2017-07-01T00:12:20.000Z | 2022-01-26T18:06:53.000Z | # ---
# jupyter:
# jupytext:
# text_representation:
# extension: .py
# format_name: light
# format_version: '1.5'
# jupytext_version: 1.7.1
# kernelspec:
# display_name: Python 3
# language: python
# name: python3
# ---
# + [markdown] papermill={"duration": 0.024011, "end_ti... | 34.893333 | 184 | 0.703223 | 2,493 | 15,702 | 4.225431 | 0.093061 | 0.050408 | 0.046896 | 0.028194 | 0.808715 | 0.784128 | 0.753275 | 0.713404 | 0.677425 | 0.607936 | 0 | 0.045785 | 0.150108 | 15,702 | 449 | 185 | 34.971047 | 0.743574 | 0.260986 | 0 | 0.623881 | 0 | 0.032836 | 0.700477 | 0.341309 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.119403 | 0.00597 | 0 | 0.00597 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
88f96c727c174f8ff8b1df34ccf4ee09c4f27ad0 | 374 | py | Python | test/test_gcd.py | neo0057/Algorithms | 75300184665d71a0fc1248448c509e14b51e05a0 | [
"WTFPL"
] | 4 | 2018-09-18T09:02:03.000Z | 2019-11-27T08:29:43.000Z | test/test_gcd.py | neo0057/Algorithms | 75300184665d71a0fc1248448c509e14b51e05a0 | [
"WTFPL"
] | 4 | 2018-10-12T13:32:43.000Z | 2018-10-24T16:39:02.000Z | test/test_gcd.py | neo0057/Algorithms | 75300184665d71a0fc1248448c509e14b51e05a0 | [
"WTFPL"
] | 9 | 2018-10-12T14:11:26.000Z | 2019-10-04T08:16:02.000Z | import pytest
import fractions
from misc import GCD
def test_gcd():
assert fractions.gcd(30,50) == GCD.greatest_common_divisor(30,50)
assert fractions.gcd(55555,123450) == GCD.greatest_common_divisor(55555,123450)
assert fractions.gcd(-30,-50) == GCD.greatest_common_divisor(-30,-50)
assert fractions.gcd(-1... | 37.4 | 81 | 0.762032 | 55 | 374 | 5.018182 | 0.309091 | 0.217391 | 0.26087 | 0.347826 | 0.492754 | 0.492754 | 0.492754 | 0.492754 | 0.492754 | 0.492754 | 0 | 0.161677 | 0.106952 | 374 | 9 | 82 | 41.555556 | 0.664671 | 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 |
000728ad494d547b467929484ab896b11b09fb47 | 201 | py | Python | scopus/utils/__init__.py | mbrcic/scopus | 570fa6a3e670c9dbf1fee732af49c820b23edd1a | [
"MIT"
] | 2 | 2018-10-09T21:19:31.000Z | 2018-10-10T12:41:26.000Z | scopus/utils/__init__.py | mbrcic/scopus | 570fa6a3e670c9dbf1fee732af49c820b23edd1a | [
"MIT"
] | null | null | null | scopus/utils/__init__.py | mbrcic/scopus | 570fa6a3e670c9dbf1fee732af49c820b23edd1a | [
"MIT"
] | null | null | null | from scopus.utils.create_config import *
from scopus.utils.get_content import *
from scopus.utils.get_encoded_text import *
from scopus.utils.startup import *
from scopus.utils.detect_id_type import *
| 33.5 | 43 | 0.825871 | 31 | 201 | 5.16129 | 0.451613 | 0.3125 | 0.46875 | 0.525 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099502 | 201 | 5 | 44 | 40.2 | 0.883978 | 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 |
cc456ed9fa4a75fe205b73258c3f5d315de4a347 | 2,523 | py | Python | tests/convert_points.py | airportyh/cpython | e3cb54bdfcafb8493a936ba50d53e496f98f9222 | [
"0BSD"
] | null | null | null | tests/convert_points.py | airportyh/cpython | e3cb54bdfcafb8493a936ba50d53e496f98f9222 | [
"0BSD"
] | null | null | null | tests/convert_points.py | airportyh/cpython | e3cb54bdfcafb8493a936ba50d53e496f98f9222 | [
"0BSD"
] | null | null | null | def c3():
global x1
global y1
global x2
global y2
global x3
global y3
global x4
global y4
x1=float(input("What are your x1?"))
y1=float(input("What are your y1?"))
x2=float(input("What are your x2?"))
y2=float(input("What are your y2?"))
x3=float(input("What are your x3?"))
y3=float(input("W... | 17.520833 | 43 | 0.520809 | 446 | 2,523 | 2.946188 | 0.103139 | 0.136986 | 0.149163 | 0.181126 | 0.896499 | 0.864536 | 0.864536 | 0.864536 | 0.864536 | 0.864536 | 0 | 0.130933 | 0.273484 | 2,523 | 144 | 44 | 17.520833 | 0.585925 | 0 | 0 | 0.873239 | 0 | 0 | 0.208003 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014085 | false | 0 | 0 | 0 | 0.014085 | 0.105634 | 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 |
aeabbe5f1fb6b9ae690a2222955b9802d9cb5603 | 147 | py | Python | pybpodapi/protocol/__init__.py | ckarageorgkaneen/pybpod-api | ebccef800ae1abf3b6a643ff33166fab2096c780 | [
"MIT"
] | 1 | 2021-01-18T08:18:22.000Z | 2021-01-18T08:18:22.000Z | pybpodapi/protocol/__init__.py | ckarageorgkaneen/pybpod-api | ebccef800ae1abf3b6a643ff33166fab2096c780 | [
"MIT"
] | 1 | 2020-09-18T20:46:11.000Z | 2020-12-29T14:55:20.000Z | pybpodapi/protocol/__init__.py | ckarageorgkaneen/pybpod-api | ebccef800ae1abf3b6a643ff33166fab2096c780 | [
"MIT"
] | 3 | 2020-09-12T15:32:11.000Z | 2022-03-11T23:08:03.000Z | from pybpodapi.bpod import Bpod
from pybpodapi.state_machine import StateMachine
from pybpodapi.bpod.hardware.output_channels import OutputChannel
| 36.75 | 65 | 0.884354 | 19 | 147 | 6.736842 | 0.578947 | 0.304688 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 147 | 3 | 66 | 49 | 0.948148 | 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 |
aecd29a848ed2fc79f3bdd58691b93d7d31925ca | 190 | py | Python | postpost/api/models/__init__.py | PiterPy-Meetup/postpost | a0b7f3b8005015335953af5dba7ee4722dcfbfb9 | [
"MIT"
] | 6 | 2018-12-21T18:18:26.000Z | 2019-02-23T11:20:53.000Z | postpost/api/models/__init__.py | JaradC42/postpost | a0b7f3b8005015335953af5dba7ee4722dcfbfb9 | [
"MIT"
] | 78 | 2019-03-02T11:52:45.000Z | 2020-03-11T02:25:28.000Z | postpost/api/models/__init__.py | JaradC42/postpost | a0b7f3b8005015335953af5dba7ee4722dcfbfb9 | [
"MIT"
] | 2 | 2019-05-06T08:17:50.000Z | 2019-10-18T03:23:25.000Z | from api.models.attachments import Attachment # noqa: F401
from api.models.platform_settings import PlatformPost # noqa: F401
from api.models.publications import Publication # noqa: F401
| 47.5 | 67 | 0.810526 | 25 | 190 | 6.12 | 0.52 | 0.137255 | 0.254902 | 0.196078 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054217 | 0.126316 | 190 | 3 | 68 | 63.333333 | 0.86747 | 0.168421 | 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 |
4e1bca777757939170e9e4b14993ce21aaf0b6b6 | 79 | py | Python | firstturtlepythonrun.py | SmashedFrenzy16/square | 7c3d800a23291d74afd65c057f2e9b01a18803d0 | [
"Apache-2.0"
] | null | null | null | firstturtlepythonrun.py | SmashedFrenzy16/square | 7c3d800a23291d74afd65c057f2e9b01a18803d0 | [
"Apache-2.0"
] | null | null | null | firstturtlepythonrun.py | SmashedFrenzy16/square | 7c3d800a23291d74afd65c057f2e9b01a18803d0 | [
"Apache-2.0"
] | null | null | null | from turtle import *
fd(100)
rt(90)
fd(50)
rt(80)
rt(10)
fd(100)
rt(90)
fd(50)
| 7.9 | 20 | 0.632911 | 19 | 79 | 2.631579 | 0.526316 | 0.2 | 0.28 | 0.36 | 0.52 | 0.52 | 0 | 0 | 0 | 0 | 0 | 0.268657 | 0.151899 | 79 | 9 | 21 | 8.777778 | 0.477612 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4e347026aac844642062524c564ed75e6f3cc5c3 | 1,429 | py | Python | data-structures/union_rank/union_rank.py | sanchezg/coursera-algorithms | 8d3922011873737c18f9b6fa49b45a28b796a34c | [
"MIT"
] | null | null | null | data-structures/union_rank/union_rank.py | sanchezg/coursera-algorithms | 8d3922011873737c18f9b6fa49b45a28b796a34c | [
"MIT"
] | null | null | null | data-structures/union_rank/union_rank.py | sanchezg/coursera-algorithms | 8d3922011873737c18f9b6fa49b45a28b796a34c | [
"MIT"
] | null | null | null | class SetUnionRank:
def __init__(self, arr):
self.parents = arr
self.ranks = [0] * self.size
@property
def size(self):
return len(self.parents)
def find(self, i):
while i != self.parents[i - 1]:
i = self.parents[i - 1]
return i
def union(self, ... | 25.981818 | 64 | 0.496851 | 214 | 1,429 | 3.158879 | 0.107477 | 0.227811 | 0.142012 | 0.115385 | 0.890533 | 0.766272 | 0.766272 | 0.766272 | 0.766272 | 0.766272 | 0 | 0.026637 | 0.369489 | 1,429 | 54 | 65 | 26.462963 | 0.72364 | 0 | 0 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0 | 0.045455 | 0.363636 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9de9c361ca2ab17edf94290aef0d1ffb329ae41d | 2,452 | py | Python | src/nn/para.py | BoxMars/MachineLearningProject | 9a124369f6b3eaac3a55b156e50003f222107c56 | [
"MIT"
] | null | null | null | src/nn/para.py | BoxMars/MachineLearningProject | 9a124369f6b3eaac3a55b156e50003f222107c56 | [
"MIT"
] | null | null | null | src/nn/para.py | BoxMars/MachineLearningProject | 9a124369f6b3eaac3a55b156e50003f222107c56 | [
"MIT"
] | null | null | null |
import numpy as np
from matplotlib import pyplot as plt
from sklearn import tree
from sklearn.ensemble import RandomForestClassifier
from sklearn.model_selection import cross_val_score
from src.data import Data
import time
from sklearn import neural_network
from sklearn.metrics import classification_report, accuracy... | 32.693333 | 86 | 0.707586 | 367 | 2,452 | 4.525886 | 0.269755 | 0.062613 | 0.065021 | 0.075858 | 0.852498 | 0.815172 | 0.815172 | 0.773028 | 0.732089 | 0.732089 | 0 | 0.027079 | 0.156607 | 2,452 | 74 | 87 | 33.135135 | 0.776112 | 0.459625 | 0 | 0.0625 | 0 | 0 | 0.072981 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.34375 | 0 | 0.34375 | 0.03125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.