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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8372f35cfe7b8d2f0e8b2a1fe2de15b6efba7ee1 | 16,079 | py | Python | code/DE.py | alexmill/covid19demographics-fall | b53708883a0c091f7e4eaef3d270153d88fe11f9 | [
"MIT"
] | null | null | null | code/DE.py | alexmill/covid19demographics-fall | b53708883a0c091f7e4eaef3d270153d88fe11f9 | [
"MIT"
] | null | null | null | code/DE.py | alexmill/covid19demographics-fall | b53708883a0c091f7e4eaef3d270153d88fe11f9 | [
"MIT"
] | 2 | 2020-09-24T01:01:11.000Z | 2020-10-06T19:17:43.000Z | # https://coronavirus.delaware.gov/ (scroll down)
import csv
from datetime import datetime
import json
import os
import requests
from urllib.request import urlopen, Request
from selenium import webdriver
from selenium.webdriver import ActionChains
from selenium.webdriver.common.by import By
from selenium.webdriver.sup... | 48.87234 | 197 | 0.598109 | 2,172 | 16,079 | 4.286372 | 0.09116 | 0.06058 | 0.038346 | 0.037594 | 0.80043 | 0.754135 | 0.721053 | 0.709237 | 0.692803 | 0.690011 | 0 | 0.016477 | 0.211145 | 16,079 | 328 | 198 | 49.021341 | 0.717518 | 0.091735 | 0 | 0.518672 | 0 | 0.087137 | 0.286087 | 0.163105 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004149 | false | 0 | 0.053942 | 0 | 0.058091 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8379c680284b537579386ee212f227c6bde821aa | 208 | py | Python | zadanie_1.py | Anya3002/Lab_7 | 59bc5e4aeecb13c93832606bc4f72e7f64d55e81 | [
"MIT"
] | null | null | null | zadanie_1.py | Anya3002/Lab_7 | 59bc5e4aeecb13c93832606bc4f72e7f64d55e81 | [
"MIT"
] | null | null | null | zadanie_1.py | Anya3002/Lab_7 | 59bc5e4aeecb13c93832606bc4f72e7f64d55e81 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import mymodule
if __name__ == '__main__':
print(mymodule.first(list)('8 7 6 5 4 3 2 1 '))
print(mymodule.first(tuple)(' 1 2 3 4 5 6 7 8'))
| 23.111111 | 53 | 0.572115 | 36 | 208 | 3.083333 | 0.638889 | 0.234234 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0.25 | 208 | 9 | 54 | 23.111111 | 0.596154 | 0.206731 | 0 | 0 | 0 | 0 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.5 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
83825ec76edfef09db7326ddd41a58fa008458cf | 171 | py | Python | nifpga/__init__.py | auchter/nifpga-python | d24ac338ec9b9d1bb94f1c8b8d06643670289e9e | [
"MIT"
] | null | null | null | nifpga/__init__.py | auchter/nifpga-python | d24ac338ec9b9d1bb94f1c8b8d06643670289e9e | [
"MIT"
] | null | null | null | nifpga/__init__.py | auchter/nifpga-python | d24ac338ec9b9d1bb94f1c8b8d06643670289e9e | [
"MIT"
] | 1 | 2020-09-19T15:44:08.000Z | 2020-09-19T15:44:08.000Z | from .status import *
from .statuscheckedlibrary import FunctionInfo, StatusCheckedLibrary
from .nifpga import *
from .session import Session
from .bitfile import Bitfile
| 28.5 | 68 | 0.830409 | 19 | 171 | 7.473684 | 0.421053 | 0.140845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 171 | 5 | 69 | 34.2 | 0.946667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
838a72a3ee0bf2b0700744c6d283670f875d3a67 | 1,257 | py | Python | hackerrank/python/String_Fomatting.py | carlosgit2016/scripts_util | 0d8cda5ee66e2381f7f8d66abe39b0f7b2ee1958 | [
"MIT"
] | null | null | null | hackerrank/python/String_Fomatting.py | carlosgit2016/scripts_util | 0d8cda5ee66e2381f7f8d66abe39b0f7b2ee1958 | [
"MIT"
] | null | null | null | hackerrank/python/String_Fomatting.py | carlosgit2016/scripts_util | 0d8cda5ee66e2381f7f8d66abe39b0f7b2ee1958 | [
"MIT"
] | 1 | 2020-11-04T05:36:09.000Z | 2020-11-04T05:36:09.000Z | def print_formatted(number):
b = convert_from_dec_to_bin(number)
for i in range(number):
maxB = get_spaces(len(str(b)) - len(str(i + 1)))
fN = maxB + str(i + 1)
print(print_with_space(i + 1, b), print_with_space(convert_from_dec_to_octa(i + 1), b), print_with_space(convert_from_dec_to_h... | 29.232558 | 201 | 0.653142 | 210 | 1,257 | 3.619048 | 0.214286 | 0.159211 | 0.202632 | 0.231579 | 0.486842 | 0.356579 | 0.268421 | 0.268421 | 0.130263 | 0.130263 | 0 | 0.015198 | 0.214797 | 1,257 | 42 | 202 | 29.928571 | 0.754813 | 0 | 0 | 0 | 0 | 0 | 0.003182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.264706 | false | 0 | 0 | 0.117647 | 0.558824 | 0.147059 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
83a5c91a42f9717092225ea3c5fff4b580aea95d | 97,545 | py | Python | mitsubishi/const.py | chomupashchuk/broadlink-mitsubishi-srk20zm-home-assistant | beb7ea1578aaedf23782801a2724a01cd28a4af1 | [
"MIT"
] | null | null | null | mitsubishi/const.py | chomupashchuk/broadlink-mitsubishi-srk20zm-home-assistant | beb7ea1578aaedf23782801a2724a01cd28a4af1 | [
"MIT"
] | null | null | null | mitsubishi/const.py | chomupashchuk/broadlink-mitsubishi-srk20zm-home-assistant | beb7ea1578aaedf23782801a2724a01cd28a4af1 | [
"MIT"
] | null | null | null | """Constants for Ariston component."""
from homeassistant.components.climate.const import (
CURRENT_HVAC_COOL,
CURRENT_HVAC_DRY,
CURRENT_HVAC_FAN,
CURRENT_HVAC_HEAT,
CURRENT_HVAC_OFF,
HVAC_MODE_COOL,
HVAC_MODE_DRY,
HVAC_MODE_FAN_ONLY,
HVAC_MODE_HEAT,
HVAC_MODE_HEAT_COOL,
HVAC... | 322.996689 | 447 | 0.943811 | 844 | 97,545 | 108.944313 | 0.324645 | 0.00174 | 0.000783 | 0.000489 | 0.003502 | 0.003197 | 0.002371 | 0.002371 | 0.002371 | 0.001675 | 0 | 0.10471 | 0.035143 | 97,545 | 302 | 448 | 322.996689 | 0.872255 | 0.000328 | 0 | 0.051195 | 0 | 0 | 0.940282 | 0.930549 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003413 | 0 | 0.003413 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
83ca2a14dbc3251694a11e4cccb71d5960c0ab91 | 64 | py | Python | cride/circles/models/__init__.py | manuelitod/cride-platzi | e50d2c67a22324e83170faae6a2d555953c9259d | [
"MIT"
] | null | null | null | cride/circles/models/__init__.py | manuelitod/cride-platzi | e50d2c67a22324e83170faae6a2d555953c9259d | [
"MIT"
] | 5 | 2021-04-08T21:35:51.000Z | 2022-02-10T12:32:17.000Z | cride/circles/models/__init__.py | manuelitod/cride-platzi | e50d2c67a22324e83170faae6a2d555953c9259d | [
"MIT"
] | null | null | null | from .circles import Circle
from .memberships import Membership
| 21.333333 | 35 | 0.84375 | 8 | 64 | 6.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 2 | 36 | 32 | 0.964286 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
83d9ec6370447bfd93dcf82b4e4ea656abbad180 | 44 | py | Python | atomphys/constants.py | wipfli/atomphys | 76335a89ae384552e304f85add6f417607173485 | [
"MIT"
] | 3 | 2021-10-07T11:33:43.000Z | 2022-03-16T13:27:17.000Z | atomphys/constants.py | wipfli/atomphys | 76335a89ae384552e304f85add6f417607173485 | [
"MIT"
] | 2 | 2021-10-07T14:49:36.000Z | 2021-10-21T20:36:36.000Z | atomphys/constants.py | wipfli/atomphys | 76335a89ae384552e304f85add6f417607173485 | [
"MIT"
] | null | null | null | gs = 2.00231930436256
α = 1 / 137.035999206
| 14.666667 | 21 | 0.704545 | 7 | 44 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.777778 | 0.181818 | 44 | 2 | 22 | 22 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
83df4eb5a35f93d99140afc1eb8808b841d85b94 | 1,992 | py | Python | flask-api/api/models.py | bessongjunior/flask-react-auth-dashboard | 41f7646a5ee1ac8560ba836688cebcef61b9d5e6 | [
"MIT"
] | null | null | null | flask-api/api/models.py | bessongjunior/flask-react-auth-dashboard | 41f7646a5ee1ac8560ba836688cebcef61b9d5e6 | [
"MIT"
] | null | null | null | flask-api/api/models.py | bessongjunior/flask-react-auth-dashboard | 41f7646a5ee1ac8560ba836688cebcef61b9d5e6 | [
"MIT"
] | null | null | null | '''
Author : junior Bessong
'''
from datetime import datetime
import json
from werkzeug.security import generate_password_hash, check_password_hash
from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
class Users(db.Model):
id = db.Column(db.Integer(), primary_key=True)
username = db.Column(db.Strin... | 24.592593 | 73 | 0.669177 | 267 | 1,992 | 4.775281 | 0.269663 | 0.056471 | 0.070588 | 0.037647 | 0.156863 | 0.128627 | 0.128627 | 0.128627 | 0.128627 | 0.128627 | 0 | 0.004487 | 0.216867 | 1,992 | 81 | 74 | 24.592593 | 0.812821 | 0.011546 | 0 | 0.230769 | 1 | 0 | 0.034166 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269231 | false | 0.115385 | 0.076923 | 0.134615 | 0.711538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
f7b3765263c8fd77efbf7b2cfe29a04c34babfac | 89 | py | Python | questao3.py | JoeVictor22/CG_transformacoes_em_3d | a2d95bef2db1ee5ce73029bd1d6a8d0622a79b2a | [
"MIT"
] | null | null | null | questao3.py | JoeVictor22/CG_transformacoes_em_3d | a2d95bef2db1ee5ce73029bd1d6a8d0622a79b2a | [
"MIT"
] | null | null | null | questao3.py | JoeVictor22/CG_transformacoes_em_3d | a2d95bef2db1ee5ce73029bd1d6a8d0622a79b2a | [
"MIT"
] | null | null | null | from programa import terceira_questao
if __name__ == "__main__":
terceira_questao()
| 17.8 | 37 | 0.764045 | 10 | 89 | 5.8 | 0.8 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157303 | 89 | 4 | 38 | 22.25 | 0.773333 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f7efc5780778adf0fdce15f1f8fb0a737c795663 | 24 | py | Python | src/dolphindb/version.py | premprabhat/api-python-cpp | 8543c91ba6b0ea26e07dd27e9a0f6a8654384a03 | [
"Apache-2.0"
] | 1 | 2021-08-28T04:02:12.000Z | 2021-08-28T04:02:12.000Z | src/dolphindb/version.py | premprabhat/api-python-cpp | 8543c91ba6b0ea26e07dd27e9a0f6a8654384a03 | [
"Apache-2.0"
] | null | null | null | src/dolphindb/version.py | premprabhat/api-python-cpp | 8543c91ba6b0ea26e07dd27e9a0f6a8654384a03 | [
"Apache-2.0"
] | 1 | 2022-01-27T11:11:12.000Z | 2022-01-27T11:11:12.000Z | __version__ = "0.1.15.9" | 24 | 24 | 0.666667 | 5 | 24 | 2.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0.083333 | 24 | 1 | 24 | 24 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0.32 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
792583e0a20d253d512f5275df5b98566fa5cb34 | 49 | py | Python | ssseg/modules/models/segmentors/lrasppnet/__init__.py | zhizhangxian/sssegmentation | 90613f6e0abf4cdd729cf382ab2a915e106d8649 | [
"MIT"
] | 411 | 2020-10-22T02:24:57.000Z | 2022-03-31T11:19:17.000Z | ssseg/modules/models/segmentors/lrasppnet/__init__.py | zhizhangxian/sssegmentation | 90613f6e0abf4cdd729cf382ab2a915e106d8649 | [
"MIT"
] | 24 | 2020-12-21T03:53:54.000Z | 2022-03-17T06:50:00.000Z | ssseg/modules/models/segmentors/lrasppnet/__init__.py | zhizhangxian/sssegmentation | 90613f6e0abf4cdd729cf382ab2a915e106d8649 | [
"MIT"
] | 59 | 2020-12-04T03:40:12.000Z | 2022-03-30T09:12:47.000Z | '''initialize'''
from .lrasppnet import LRASPPNet | 24.5 | 32 | 0.77551 | 5 | 49 | 7.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 2 | 32 | 24.5 | 0.844444 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
792bc535116bb85186176028d8aba04055dd4401 | 147 | py | Python | api_app/admin.py | Venkatavaradan-R/poke_api | cd19d45d85fe209449539b097446d3665287d44d | [
"MIT"
] | null | null | null | api_app/admin.py | Venkatavaradan-R/poke_api | cd19d45d85fe209449539b097446d3665287d44d | [
"MIT"
] | 7 | 2021-03-19T08:16:32.000Z | 2022-03-12T00:36:14.000Z | api_app/admin.py | Venkatavaradan-R/poke_api | cd19d45d85fe209449539b097446d3665287d44d | [
"MIT"
] | null | null | null | from django.contrib import admin
from api_app.models import *
# Register your models here.
admin.site.register(pokemon)
admin.site.register(moves) | 24.5 | 32 | 0.809524 | 22 | 147 | 5.363636 | 0.636364 | 0.152542 | 0.288136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 147 | 6 | 33 | 24.5 | 0.893939 | 0.176871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f72f348a5b9935ce6a4cb36600f5af78d9693402 | 4,948 | py | Python | 01_process_reads/at_combo_lib_ex58/01_usearch_merge.py | ddingding/coevolution_mechanism | 4a03f7a105a2606e812dd8a4fa88272519ddab86 | [
"MIT"
] | 1 | 2022-01-16T09:32:33.000Z | 2022-01-16T09:32:33.000Z | 01_process_reads/at_combo_lib_ex58/01_usearch_merge.py | ddingding/coevolution_mechanism | 4a03f7a105a2606e812dd8a4fa88272519ddab86 | [
"MIT"
] | null | null | null | 01_process_reads/at_combo_lib_ex58/01_usearch_merge.py | ddingding/coevolution_mechanism | 4a03f7a105a2606e812dd8a4fa88272519ddab86 | [
"MIT"
] | null | null | null | '''
## using flash 1.2.11 to merge paired end reads
# at combo mutant files
# the sample identified is in the middle of the filename: 'D21-169', refer to ex58_config.csv for description of that
# sample
# each paired end read are split in the files ending in '1_sequence.fastq' and '2_sequence.fastq'
"210105Lau_D21-169... | 55.595506 | 119 | 0.818108 | 798 | 4,948 | 4.671679 | 0.170426 | 0.359174 | 0.566524 | 0.643777 | 0.746781 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260456 | 0.086702 | 4,948 | 88 | 120 | 56.227273 | 0.564505 | 0.833468 | 0 | 0 | 0 | 0 | 0.161194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 5 |
f7300d0ecc7c55bf1cf645207acdfe80dd0197b9 | 40 | py | Python | GAN-man/__init__.py | shauray8/GameGAN-stuff | 54eec30e839279b697166d7ad1bbcf0d342f62b3 | [
"MIT"
] | null | null | null | GAN-man/__init__.py | shauray8/GameGAN-stuff | 54eec30e839279b697166d7ad1bbcf0d342f62b3 | [
"MIT"
] | null | null | null | GAN-man/__init__.py | shauray8/GameGAN-stuff | 54eec30e839279b697166d7ad1bbcf0d342f62b3 | [
"MIT"
] | null | null | null | ## right now i know nothing about this
| 20 | 39 | 0.725 | 7 | 40 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225 | 40 | 1 | 40 | 40 | 0.935484 | 0.875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f73faeda80c60f6feda0845bca9461177db00247 | 102 | py | Python | manage.py | kamujun/flask-vue-experiments | 057cb25a481ffa0ea9b1b27b131d3d8bf814dfe7 | [
"MIT"
] | 1 | 2018-09-07T00:00:58.000Z | 2018-09-07T00:00:58.000Z | manage.py | kamujun/flask-vue-experiments | 057cb25a481ffa0ea9b1b27b131d3d8bf814dfe7 | [
"MIT"
] | null | null | null | manage.py | kamujun/flask-vue-experiments | 057cb25a481ffa0ea9b1b27b131d3d8bf814dfe7 | [
"MIT"
] | null | null | null | from server.app import create_app
app = create_app()
app.run(host='127.0.0.1', port=5000, debug=True) | 25.5 | 48 | 0.735294 | 20 | 102 | 3.65 | 0.7 | 0.246575 | 0.328767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 0.098039 | 102 | 4 | 48 | 25.5 | 0.684783 | 0 | 0 | 0 | 0 | 0 | 0.087379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f754555bc986b02847e530d99d54c978f834e444 | 117 | py | Python | wafw00f/plugins/wallarm.py | wizard531/wafw00f | dce0d0616db0f970013432c520b51aeef62d387f | [
"BSD-3-Clause"
] | 10 | 2015-08-31T10:38:24.000Z | 2021-09-30T06:39:13.000Z | wafw00f/plugins/wallarm.py | wizard531/wafw00f | dce0d0616db0f970013432c520b51aeef62d387f | [
"BSD-3-Clause"
] | null | null | null | wafw00f/plugins/wallarm.py | wizard531/wafw00f | dce0d0616db0f970013432c520b51aeef62d387f | [
"BSD-3-Clause"
] | 17 | 2015-07-24T20:40:23.000Z | 2021-01-08T19:41:18.000Z | #!/usr/bin/env python
NAME = 'Wallarm'
def is_waf(self):
return self.matchheader(('server', "nginx-wallarm"))
| 14.625 | 56 | 0.666667 | 16 | 117 | 4.8125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145299 | 117 | 7 | 57 | 16.714286 | 0.77 | 0.17094 | 0 | 0 | 0 | 0 | 0.273684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
f75bf2f6ceae045991603d81f001d682a79dff21 | 7,447 | py | Python | test/components/event.py | cblanquera/cradlepy | 1634fe38a0cc58f92dbfc2b0c84ace9d16821c3c | [
"MIT"
] | null | null | null | test/components/event.py | cblanquera/cradlepy | 1634fe38a0cc58f92dbfc2b0c84ace9d16821c3c | [
"MIT"
] | null | null | null | test/components/event.py | cblanquera/cradlepy | 1634fe38a0cc58f92dbfc2b0c84ace9d16821c3c | [
"MIT"
] | null | null | null | import unittest
from cradlepy.components.event import *
class EventStub(EventTrait):
pass
class EventHandlerStub(EventHandler):
pass
class TestEventObserver(unittest.TestCase):
def setUp(self):
def callback(self):
return self
self.instance = EventObserver(callback)
def ... | 31.689362 | 77 | 0.595676 | 763 | 7,447 | 5.761468 | 0.094364 | 0.098271 | 0.10646 | 0.047316 | 0.792994 | 0.742721 | 0.701774 | 0.650136 | 0.608053 | 0.600546 | 0 | 0.020098 | 0.285081 | 7,447 | 234 | 78 | 31.824786 | 0.805597 | 0.026319 | 0 | 0.722222 | 0 | 0 | 0.06207 | 0 | 0 | 0 | 0 | 0 | 0.483333 | 1 | 0.133333 | false | 0.011111 | 0.011111 | 0.011111 | 0.188889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 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 | 5 |
f760382b25862998c2a6f1f8a21ae7cb990cf4bb | 907 | py | Python | selfcare/ecommerce/form.py | Edmar-Sousa/selfcare | 86982a055089840c2d39b3acab6869cf682b147c | [
"MIT"
] | null | null | null | selfcare/ecommerce/form.py | Edmar-Sousa/selfcare | 86982a055089840c2d39b3acab6869cf682b147c | [
"MIT"
] | null | null | null | selfcare/ecommerce/form.py | Edmar-Sousa/selfcare | 86982a055089840c2d39b3acab6869cf682b147c | [
"MIT"
] | null | null | null | from django import forms
from .models import UserModel
choices = [('vendedor', 'vendedor'), ('cliente', 'cliente')]
class RegisterUser(forms.Form):
imageuser = forms.ImageField()
username = forms.CharField(max_length=255)
email = forms.EmailField()
password = forms.CharField()
status = f... | 30.233333 | 76 | 0.693495 | 99 | 907 | 6.282828 | 0.373737 | 0.202572 | 0.191318 | 0.258842 | 0.318328 | 0.109325 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.189636 | 907 | 29 | 77 | 31.275862 | 0.817687 | 0.033076 | 0 | 0.2 | 0 | 0 | 0.034286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.1 | 0.1 | 0 | 0.95 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
f77c387d27eb9ec50ff49e2357242988b3eb00a9 | 125 | py | Python | db_connector/db_credentials.py | Anthony-ferrari/paper_recommendation_system | 14a2717262fb56622c1c632819d79eb60a15814a | [
"MIT"
] | null | null | null | db_connector/db_credentials.py | Anthony-ferrari/paper_recommendation_system | 14a2717262fb56622c1c632819d79eb60a15814a | [
"MIT"
] | 1 | 2021-03-28T03:15:11.000Z | 2021-03-28T03:15:11.000Z | db_connector/db_credentials.py | Anthony-ferrari/paper_recommendation_system | 14a2717262fb56622c1c632819d79eb60a15814a | [
"MIT"
] | 1 | 2021-04-02T14:13:25.000Z | 2021-04-02T14:13:25.000Z | host = "database-2.crrxsiyyabpk.us-east-2.rds.amazonaws.com"
user = "admin"
passwd = "j79m2xW2boiNvSyjDjvp"
db = "papeles"
| 17.857143 | 60 | 0.728 | 16 | 125 | 5.6875 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.112 | 125 | 6 | 61 | 20.833333 | 0.765766 | 0 | 0 | 0 | 0 | 0 | 0.674797 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
f7851cdb37462d94af4398a6a5af8f873c280d68 | 17,664 | py | Python | src/annalist_root/annalist_manager/am_runserver.py | gklyne/annalist | 82e7ef2d56a400325e7618fa9e590072ee8a71d3 | [
"MIT"
] | 18 | 2015-02-20T23:09:13.000Z | 2020-11-13T06:06:43.000Z | src/annalist_root/annalist_manager/am_runserver.py | gklyne/annalist | 82e7ef2d56a400325e7618fa9e590072ee8a71d3 | [
"MIT"
] | 30 | 2015-01-03T09:56:28.000Z | 2021-06-10T20:58:55.000Z | src/annalist_root/annalist_manager/am_runserver.py | gklyne/annalist | 82e7ef2d56a400325e7618fa9e590072ee8a71d3 | [
"MIT"
] | 5 | 2015-02-02T09:01:23.000Z | 2018-06-14T20:05:28.000Z | """
Run Annalist server.
"""
from __future__ import unicode_literals
from __future__ import absolute_import, division, print_function
__author__ = "Graham Klyne (GK@ACM.ORG)"
__copyright__ = "Copyright 2014, G. Klyne"
__license__ = "MIT (http://opensource.org/licenses/MIT)"
import os, os.path
import sys
i... | 42.873786 | 112 | 0.674479 | 2,239 | 17,664 | 5.22778 | 0.101385 | 0.028022 | 0.034173 | 0.045451 | 0.795216 | 0.777787 | 0.776079 | 0.764118 | 0.743443 | 0.743443 | 0 | 0.003805 | 0.241282 | 17,664 | 411 | 113 | 42.978102 | 0.869572 | 0.328465 | 0 | 0.677686 | 0 | 0 | 0.123669 | 0.004841 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049587 | false | 0.008264 | 0.107438 | 0 | 0.322314 | 0.177686 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e3905cbf5b28a0c97cacddd0c39f623ff0a68401 | 35 | py | Python | blitsh/__main__.py | Nicals/blitsh | 8ed97842e99ddf87c0f9336215255bf446e5db49 | [
"MIT"
] | null | null | null | blitsh/__main__.py | Nicals/blitsh | 8ed97842e99ddf87c0f9336215255bf446e5db49 | [
"MIT"
] | null | null | null | blitsh/__main__.py | Nicals/blitsh | 8ed97842e99ddf87c0f9336215255bf446e5db49 | [
"MIT"
] | null | null | null | from blitsh.cli import cli
cli()
| 7 | 26 | 0.714286 | 6 | 35 | 4.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 4 | 27 | 8.75 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e3d5d6e7521122dcd8d8a1020b4f02c1f3d93ad2 | 53 | py | Python | html_to_url/generateurl.py | mahendra-suthar/html-to-url | e8e41ef498234403e4d65a12eab0f1ef5f8007cf | [
"MIT"
] | null | null | null | html_to_url/generateurl.py | mahendra-suthar/html-to-url | e8e41ef498234403e4d65a12eab0f1ef5f8007cf | [
"MIT"
] | null | null | null | html_to_url/generateurl.py | mahendra-suthar/html-to-url | e8e41ef498234403e4d65a12eab0f1ef5f8007cf | [
"MIT"
] | null | null | null | def print_something(something):
print(something)
| 17.666667 | 31 | 0.773585 | 6 | 53 | 6.666667 | 0.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 2 | 32 | 26.5 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
e3dc11c63b6ab4700bdb734febe6f69b1e0c96de | 108 | py | Python | bigsi/utils/__init__.py | Phelimb/bfg | bf34abbb9d6f72a9f0c64c40eefc44d810a2502e | [
"MIT"
] | 109 | 2017-12-13T12:25:40.000Z | 2021-08-18T08:35:44.000Z | bigsi/utils/__init__.py | Phelimb/bfg | bf34abbb9d6f72a9f0c64c40eefc44d810a2502e | [
"MIT"
] | 25 | 2017-12-14T04:03:46.000Z | 2021-11-04T11:50:34.000Z | bigsi/utils/__init__.py | Phelimb/bfg | bf34abbb9d6f72a9f0c64c40eefc44d810a2502e | [
"MIT"
] | 20 | 2017-12-22T02:14:13.000Z | 2021-02-01T02:49:02.000Z | from bigsi.utils.fncts import *
import os
DEFAULT_LOGGING_LEVEL = os.environ.get("LOGGING_LEVEL", "DEBUG")
| 21.6 | 64 | 0.777778 | 16 | 108 | 5.0625 | 0.75 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 108 | 4 | 65 | 27 | 0.835052 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
580f40f216f7d7cfdd5208919e892972c2dad293 | 422 | py | Python | labelbox/schema/__init__.py | bearpelican/labelbox-python | 77eae7e1764ed7e76a6061a832d3d9d9c044d6c8 | [
"Apache-2.0"
] | null | null | null | labelbox/schema/__init__.py | bearpelican/labelbox-python | 77eae7e1764ed7e76a6061a832d3d9d9c044d6c8 | [
"Apache-2.0"
] | null | null | null | labelbox/schema/__init__.py | bearpelican/labelbox-python | 77eae7e1764ed7e76a6061a832d3d9d9c044d6c8 | [
"Apache-2.0"
] | null | null | null | import labelbox.schema.asset_metadata
import labelbox.schema.benchmark
import labelbox.schema.data_row
import labelbox.schema.dataset
import labelbox.schema.label
import labelbox.schema.labeling_frontend
import labelbox.schema.organization
import labelbox.schema.project
import labelbox.schema.review
import labelbox.sch... | 30.142857 | 40 | 0.876777 | 55 | 422 | 6.672727 | 0.345455 | 0.495913 | 0.708447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061611 | 422 | 13 | 41 | 32.461538 | 0.926768 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
583ea51ea175d1d47934596083c25606a53199ac | 191 | py | Python | tests/test_placeholder.py | jasonb5/pcmdi_metrics | 0c23d8d247da24d0ab9deb04d8db9619af628680 | [
"BSD-3-Clause"
] | null | null | null | tests/test_placeholder.py | jasonb5/pcmdi_metrics | 0c23d8d247da24d0ab9deb04d8db9619af628680 | [
"BSD-3-Clause"
] | null | null | null | tests/test_placeholder.py | jasonb5/pcmdi_metrics | 0c23d8d247da24d0ab9deb04d8db9619af628680 | [
"BSD-3-Clause"
] | null | null | null | """
Placeholder to to suppress `Error: Process completed with exit code 5`,
which occurs when no tests run. Remove this file when real tests are added.
"""
def test_placeholder():
pass
| 21.222222 | 75 | 0.732984 | 29 | 191 | 4.793103 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.188482 | 191 | 8 | 76 | 23.875 | 0.890323 | 0.769634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
544c410f32763988721929fedb6e1334d6a3800a | 11,997 | py | Python | geode/exact/test_exact.py | jjqcat/geode | 157cc904c113cc5e29a1ffe7c091a83b8ec2cf8e | [
"BSD-3-Clause"
] | 75 | 2015-02-08T22:04:31.000Z | 2022-02-26T14:31:43.000Z | geode/exact/test_exact.py | bantamtools/geode | d906f1230b14953b68af63aeec2f7b0418d5fdfd | [
"BSD-3-Clause"
] | 15 | 2015-01-08T15:11:38.000Z | 2021-09-05T13:27:22.000Z | geode/exact/test_exact.py | bantamtools/geode | d906f1230b14953b68af63aeec2f7b0418d5fdfd | [
"BSD-3-Clause"
] | 22 | 2015-03-11T16:43:13.000Z | 2021-02-15T09:37:51.000Z | #!/usr/bin/env python
from __future__ import division
from geode import *
import sys
def test_fast_exact():
fast_exact_tests()
def test_interval():
interval_tests(1024)
def test_predicates():
predicate_tests()
def test_constructions():
construction_tests()
def test_delaunay(benchmark=False,cgal=False,orig... | 99.975 | 7,155 | 0.729599 | 1,592 | 11,997 | 5.449121 | 0.420854 | 0.004842 | 0.006225 | 0.002421 | 0.030663 | 0.023285 | 0.023285 | 0.014294 | 0.014294 | 0 | 0 | 0.557211 | 0.077019 | 11,997 | 119 | 7,156 | 100.815126 | 0.226226 | 0.023172 | 0 | 0.057692 | 0 | 0 | 0.022029 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | null | null | 0 | 0.048077 | null | null | 0.086538 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5451f5c9bfc7c5a140191dbe6b3824fefc764f94 | 573 | py | Python | django/views/generic/__init__.py | egenerat/gae-django | f12379483cf3917ed3cb46ca5ff0b94daf89fc50 | [
"MIT"
] | 3 | 2016-07-08T23:49:32.000Z | 2018-04-15T22:55:01.000Z | django/views/generic/__init__.py | egenerat/gae-django | f12379483cf3917ed3cb46ca5ff0b94daf89fc50 | [
"MIT"
] | 27 | 2017-02-05T15:57:04.000Z | 2018-04-15T22:57:26.000Z | django/views/generic/__init__.py | egenerat/gae-django | f12379483cf3917ed3cb46ca5ff0b94daf89fc50 | [
"MIT"
] | null | null | null | from django.views.generic.base import View, TemplateView, RedirectView
from django.views.generic.dates import (ArchiveIndexView, YearArchiveView, MonthArchiveView,
WeekArchiveView, DayArchiveView, TodayArchiveView,
DateDetailView)
from django... | 44.076923 | 93 | 0.699825 | 55 | 573 | 7.290909 | 0.581818 | 0.124688 | 0.187032 | 0.274314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235602 | 573 | 12 | 94 | 47.75 | 0.915525 | 0.048866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.111111 | 0.555556 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
54577787650bd7da2d58592441442f3c0e0e5c13 | 581 | py | Python | django_docutils/lib/roles/url.py | tony/django-docutils | ed3e089728507a0f579a62bcb182f283bc59929c | [
"MIT"
] | 10 | 2017-04-28T00:19:10.000Z | 2020-07-22T15:27:09.000Z | django_docutils/lib/roles/url.py | tony/django-docutils | ed3e089728507a0f579a62bcb182f283bc59929c | [
"MIT"
] | 231 | 2017-01-17T04:47:51.000Z | 2022-03-30T03:03:42.000Z | django_docutils/lib/roles/url.py | tony/django-docutils | ed3e089728507a0f579a62bcb182f283bc59929c | [
"MIT"
] | 1 | 2019-01-25T14:42:15.000Z | 2019-01-25T14:42:15.000Z | from .common import generic_url_role
def url_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
"""Role for linking to url articles.
:url:`https://google.com` ->
link: https://google.com
text: https://google.com
:url:`Google <https://google.com>` ->
link: https://g... | 23.24 | 75 | 0.598967 | 73 | 581 | 4.671233 | 0.369863 | 0.225806 | 0.28739 | 0.158358 | 0.369501 | 0.369501 | 0.369501 | 0.369501 | 0.26393 | 0.26393 | 0 | 0 | 0.237522 | 581 | 24 | 76 | 24.208333 | 0.769752 | 0.528399 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
547a98abb71964b64ba883b30754b2957698d783 | 10,700 | py | Python | tests/test_sequence_generator.py | blufb/fairseq | dc028c5289ff33c31a6c05cbfa4199dc2409c3d9 | [
"BSD-3-Clause"
] | 307 | 2019-09-30T03:19:09.000Z | 2022-03-13T13:56:28.000Z | tests/test_sequence_generator.py | rycolab/cpsbs | 413c207957e57ac4f44086c9a0c25bef9f60a936 | [
"BSD-3-Clause"
] | 62 | 2019-10-18T08:51:31.000Z | 2022-03-30T08:46:03.000Z | tests/test_sequence_generator.py | rycolab/cpsbs | 413c207957e57ac4f44086c9a0c25bef9f60a936 | [
"BSD-3-Clause"
] | 102 | 2019-09-26T10:24:39.000Z | 2022-02-05T23:49:13.000Z | # Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the license found in the LICENSE file in
# the root directory of this source tree. An additional grant of patent rights
# can be found in the PATENTS file in the same directory.
import argparse
import unittest
i... | 41.472868 | 96 | 0.576636 | 1,499 | 10,700 | 4.046698 | 0.100734 | 0.020112 | 0.115397 | 0.124629 | 0.796241 | 0.75239 | 0.745302 | 0.711177 | 0.68546 | 0.636334 | 0 | 0.07708 | 0.265234 | 10,700 | 257 | 97 | 41.634241 | 0.69448 | 0.101869 | 0 | 0.531073 | 0 | 0 | 0.019671 | 0 | 0 | 0 | 0 | 0 | 0.468927 | 1 | 0.096045 | false | 0 | 0.028249 | 0 | 0.135593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 5 |
548b0f7bf656af75ee8460db8a31db2e99abaf24 | 729 | py | Python | sample_project/env/lib/python3.9/site-packages/qtpy/tests/test_qthelp.py | Istiakmorsalin/ML-Data-Science | 681e68059b146343ef55b0671432dc946970730d | [
"MIT"
] | 4 | 2021-11-19T03:25:13.000Z | 2022-02-24T15:32:30.000Z | sample_project/env/lib/python3.9/site-packages/qtpy/tests/test_qthelp.py | Istiakmorsalin/ML-Data-Science | 681e68059b146343ef55b0671432dc946970730d | [
"MIT"
] | null | null | null | sample_project/env/lib/python3.9/site-packages/qtpy/tests/test_qthelp.py | Istiakmorsalin/ML-Data-Science | 681e68059b146343ef55b0671432dc946970730d | [
"MIT"
] | 3 | 2020-08-04T02:48:32.000Z | 2020-08-17T01:20:09.000Z | """Test for QtHelp namespace."""
from __future__ import absolute_import
import pytest
def test_qthelp():
"""Test the qtpy.QtHelp namespace."""
from qtpy import QtHelp
assert QtHelp.QHelpContentItem is not None
assert QtHelp.QHelpContentModel is not None
assert QtHelp.QHelpContentWi... | 31.695652 | 54 | 0.748971 | 89 | 729 | 6.067416 | 0.303371 | 0.244444 | 0.183333 | 0.277778 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211248 | 729 | 22 | 55 | 33.136364 | 0.93913 | 0.079561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.733333 | 1 | 0.066667 | true | 0 | 0.2 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
549456cc47a95d8eadefb462a438ab3408f02a03 | 8,864 | py | Python | thrift/compiler/test/fixtures/complex-union/gen-python/module/lite_types.py | donsbot/fbthrift | 11e343118082583eb4326d51ff19c343c61ed3cb | [
"Apache-2.0"
] | null | null | null | thrift/compiler/test/fixtures/complex-union/gen-python/module/lite_types.py | donsbot/fbthrift | 11e343118082583eb4326d51ff19c343c61ed3cb | [
"Apache-2.0"
] | null | null | null | thrift/compiler/test/fixtures/complex-union/gen-python/module/lite_types.py | donsbot/fbthrift | 11e343118082583eb4326d51ff19c343c61ed3cb | [
"Apache-2.0"
] | null | null | null | #
# Autogenerated by Thrift
#
# DO NOT EDIT
# @generated
#
import folly.iobuf as _fbthrift_iobuf
import thrift.py3lite.types as _fbthrift_py3lite_types
import thrift.py3lite.exceptions as _fbthrift_py3lite_exceptions
class ComplexUnion(metaclass=_fbthrift_py3lite_types.UnionMeta):
_fbthrift_SPEC = (
(
... | 27.442724 | 147 | 0.618682 | 782 | 8,864 | 6.47954 | 0.120205 | 0.097099 | 0.157884 | 0.110519 | 0.74028 | 0.72765 | 0.718966 | 0.644366 | 0.631735 | 0.631735 | 0 | 0.013207 | 0.3081 | 8,864 | 322 | 148 | 27.52795 | 0.812979 | 0.109319 | 0 | 0.613027 | 1 | 0 | 0.039913 | 0.009369 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122605 | false | 0 | 0.015326 | 0.122605 | 0.321839 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
54aa02d612fd2d2f90023d7bbc893c3d5ce49b84 | 132 | py | Python | ligm.editor/ligm/demos/editor/tests/__init__.py | ligm74/LiGM | f22f91a4fcfd7707664935bdf1e2cd41704c8e15 | [
"MIT"
] | 2 | 2019-11-08T18:10:04.000Z | 2019-11-08T18:10:36.000Z | ligm.editor/ligm/demos/editor/tests/__init__.py | ligm74/LiGM | f22f91a4fcfd7707664935bdf1e2cd41704c8e15 | [
"MIT"
] | null | null | null | ligm.editor/ligm/demos/editor/tests/__init__.py | ligm74/LiGM | f22f91a4fcfd7707664935bdf1e2cd41704c8e15 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Tests : Demos : Text editor (2.6.0)
"""Tests for demo of embedded text editor."""
| 22 | 45 | 0.613636 | 21 | 132 | 3.857143 | 0.857143 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045872 | 0.174242 | 132 | 5 | 46 | 26.4 | 0.697248 | 0.901515 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
49abdcc5e01e5080da94154e1ab766b9fc061afe | 7,913 | py | Python | resources/lib/theintercept.py | leopheard/TheIntercept | c36195f7e1980083df09bf9925fb488f0a8447be | [
"MIT"
] | null | null | null | resources/lib/theintercept.py | leopheard/TheIntercept | c36195f7e1980083df09bf9925fb488f0a8447be | [
"MIT"
] | null | null | null | resources/lib/theintercept.py | leopheard/TheIntercept | c36195f7e1980083df09bf9925fb488f0a8447be | [
"MIT"
] | null | null | null | import requests
import re
from bs4 import BeautifulSoup
def get_soup0(url0):
page = requests.get(url0)
soup0 = BeautifulSoup(page.text, 'html.parser')
print("type: ", type(soup0))
return soup0
def get_soup1(url1):
page = requests.get(url1)
soup1 = BeautifulSoup(page.text, 'html.parser')
pri... | 31.27668 | 116 | 0.541388 | 764 | 7,913 | 5.515707 | 0.106021 | 0.057428 | 0.036308 | 0.033223 | 0.78524 | 0.755577 | 0.755577 | 0.755577 | 0.692928 | 0.692928 | 0 | 0.012128 | 0.333123 | 7,913 | 252 | 117 | 31.400794 | 0.786432 | 0.033616 | 0 | 0.719665 | 0 | 0.008368 | 0.133045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083682 | false | 0 | 0.012552 | 0 | 0.179916 | 0.054393 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 5 |
b71c6ebca35272adfd4a12d5cae4a5558c70bc49 | 204 | py | Python | verify.py | nickjalbert/acme-test | 5bcfa449298f42934e31f5dcaa820418f0ce45bc | [
"MIT"
] | null | null | null | verify.py | nickjalbert/acme-test | 5bcfa449298f42934e31f5dcaa820418f0ce45bc | [
"MIT"
] | null | null | null | verify.py | nickjalbert/acme-test | 5bcfa449298f42934e31f5dcaa820418f0ce45bc | [
"MIT"
] | null | null | null | import tensorflow as tf
import sonnet as snt
print(tf.reduce_sum(tf.random.normal([1000, 1000])))
print("TensorFlow version {}".format(tf.__version__))
print("Sonnet version {}".format(snt.__version__))
| 29.142857 | 53 | 0.759804 | 29 | 204 | 5.034483 | 0.482759 | 0.178082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042781 | 0.083333 | 204 | 6 | 54 | 34 | 0.737968 | 0 | 0 | 0 | 0 | 0 | 0.186275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0.6 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
b721fed0f61f0f40e0aa12aab1ff58ca93ab4b36 | 90 | py | Python | tracki/src/infrastructure/repositories/__init__.py | rok-povsic/Tracki | f92fec62fa66e87fa6feb509142f09cd548c570a | [
"MIT"
] | null | null | null | tracki/src/infrastructure/repositories/__init__.py | rok-povsic/Tracki | f92fec62fa66e87fa6feb509142f09cd548c570a | [
"MIT"
] | null | null | null | tracki/src/infrastructure/repositories/__init__.py | rok-povsic/Tracki | f92fec62fa66e87fa6feb509142f09cd548c570a | [
"MIT"
] | null | null | null | from tracki.src.infrastructure.repositories.shift import FileShiftRepository # noqa F401
| 45 | 89 | 0.855556 | 10 | 90 | 7.7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.088889 | 90 | 1 | 90 | 90 | 0.902439 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3f7a8da27a345f9023d66f287b80ad8a07fbe8b5 | 177 | py | Python | neovim/api/__init__.py | timgates42/pynvim | bc85d13b9675c45d93a847cfcb8c43e998000cde | [
"Apache-2.0"
] | 581 | 2018-11-19T17:07:41.000Z | 2022-03-30T21:18:24.000Z | neovim/api/__init__.py | timgates42/pynvim | bc85d13b9675c45d93a847cfcb8c43e998000cde | [
"Apache-2.0"
] | 262 | 2015-01-02T22:07:07.000Z | 2018-11-18T09:37:54.000Z | neovim/api/__init__.py | timgates42/pynvim | bc85d13b9675c45d93a847cfcb8c43e998000cde | [
"Apache-2.0"
] | 88 | 2015-01-15T16:02:00.000Z | 2018-11-17T15:10:48.000Z | """Nvim API subpackage.
This is a transition package. New projects should instead import pynvim.api.
"""
from pynvim import api
from pynvim.api import *
__all__ = api.__all__
| 19.666667 | 76 | 0.762712 | 26 | 177 | 4.884615 | 0.615385 | 0.141732 | 0.204724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158192 | 177 | 8 | 77 | 22.125 | 0.852349 | 0.553672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3f8ff9ff3b3c46df6545918d3becee6b8dcaacac | 1,738 | py | Python | company/migrations/0103_auto_20200212_1629.py | uktrade/directory-api | 45a9024a7ecc2842895201cbb51420ba9e57a168 | [
"MIT"
] | 2 | 2017-06-02T09:09:08.000Z | 2021-01-18T10:26:53.000Z | company/migrations/0103_auto_20200212_1629.py | uktrade/directory-api | 45a9024a7ecc2842895201cbb51420ba9e57a168 | [
"MIT"
] | 629 | 2016-10-10T09:35:52.000Z | 2022-03-25T15:04:04.000Z | company/migrations/0103_auto_20200212_1629.py | uktrade/directory-api | 45a9024a7ecc2842895201cbb51420ba9e57a168 | [
"MIT"
] | 5 | 2017-06-22T10:02:22.000Z | 2022-03-14T17:55:21.000Z | # Generated by Django 2.2.8 on 2020-02-12 16:29
import django.contrib.postgres.fields.jsonb
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('company', '0102_remove_collaborationinvite_requestor'),
]
operations = [
migrations.AlterField(
... | 34.76 | 91 | 0.621404 | 167 | 1,738 | 6.365269 | 0.287425 | 0.097836 | 0.158043 | 0.203198 | 0.766698 | 0.736595 | 0.736595 | 0.644403 | 0.644403 | 0.644403 | 0 | 0.014879 | 0.265247 | 1,738 | 49 | 92 | 35.469388 | 0.817541 | 0.025892 | 0 | 0.627907 | 1 | 0 | 0.133057 | 0.040213 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046512 | 0 | 0.116279 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3fac8b242497d62e4993ae0dbba95af05b406386 | 374 | py | Python | nubes/connectors/base.py | Omninubes/nubes | ca4d2a3542e8d96652a152669cbeaadda82ebf5f | [
"Apache-2.0"
] | 1 | 2017-01-04T22:17:02.000Z | 2017-01-04T22:17:02.000Z | nubes/connectors/base.py | omninubes/nubes | ca4d2a3542e8d96652a152669cbeaadda82ebf5f | [
"Apache-2.0"
] | null | null | null | nubes/connectors/base.py | omninubes/nubes | ca4d2a3542e8d96652a152669cbeaadda82ebf5f | [
"Apache-2.0"
] | null | null | null | import abc
import six
@six.add_metaclass(abc.ABCMeta)
class BaseConnector(object):
@classmethod
def name(cls):
raise NotImplementedError()
@abc.abstractmethod
def create_server(self, *kwargs):
pass
@abc.abstractmethod
def list_servers(self):
pass
@abc.abstractm... | 15.583333 | 37 | 0.65508 | 41 | 374 | 5.878049 | 0.609756 | 0.211618 | 0.248963 | 0.19917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259358 | 374 | 23 | 38 | 16.26087 | 0.870036 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.1875 | 0.125 | 0 | 0.4375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
3fcc745de76c85b6a9c715ebf00284172dfd7e4a | 34 | py | Python | rc_car/rc_car/video/__init__.py | msinkec/rpi-ip-car | 72c88a72dcec061563c89d1c8681d78df2e9ddd4 | [
"MIT"
] | null | null | null | rc_car/rc_car/video/__init__.py | msinkec/rpi-ip-car | 72c88a72dcec061563c89d1c8681d78df2e9ddd4 | [
"MIT"
] | null | null | null | rc_car/rc_car/video/__init__.py | msinkec/rpi-ip-car | 72c88a72dcec061563c89d1c8681d78df2e9ddd4 | [
"MIT"
] | null | null | null | from .video import VideoStreamer
| 11.333333 | 32 | 0.823529 | 4 | 34 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 2 | 33 | 17 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3ff3e105fd4c702b9759b8ba37f5d07bd115ea86 | 807 | py | Python | grr/lib/tests.py | nexus-lab/relf-server | d46774799c20376691c38f9293f454a3aff3ccb3 | [
"Apache-2.0"
] | null | null | null | grr/lib/tests.py | nexus-lab/relf-server | d46774799c20376691c38f9293f454a3aff3ccb3 | [
"Apache-2.0"
] | null | null | null | grr/lib/tests.py | nexus-lab/relf-server | d46774799c20376691c38f9293f454a3aff3ccb3 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""GRR library tests.
This module loads and registers all the GRR library tests.
"""
# These need to register plugins
# pylint: disable=unused-import,g-import-not-at-top
from grr.lib import build_test
from grr.lib import communicator_test
from grr.lib import config_lib_test
from grr.lib import... | 26.9 | 58 | 0.816605 | 140 | 807 | 4.578571 | 0.35 | 0.174727 | 0.234009 | 0.324493 | 0.514821 | 0.165367 | 0.084243 | 0 | 0 | 0 | 0 | 0.00141 | 0.121437 | 807 | 29 | 59 | 27.827586 | 0.90268 | 0.283767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3ffd5293bdc9ddd951ef8eacc05d548310b2fbc2 | 199 | py | Python | src/demo_tezos_domains_big_map/types/name_registry/big_map/store_expiry_map_key.py | r4ravi2008/dipdup-py | 1be3c3ac705f687af058ff51cde7970878584562 | [
"MIT"
] | null | null | null | src/demo_tezos_domains_big_map/types/name_registry/big_map/store_expiry_map_key.py | r4ravi2008/dipdup-py | 1be3c3ac705f687af058ff51cde7970878584562 | [
"MIT"
] | 1 | 2022-01-26T20:50:30.000Z | 2022-01-26T20:50:30.000Z | src/demo_tezos_domains_big_map/types/name_registry/big_map/store_expiry_map_key.py | r4ravi2008/dipdup-py | 1be3c3ac705f687af058ff51cde7970878584562 | [
"MIT"
] | 1 | 2022-02-12T10:12:23.000Z | 2022-02-12T10:12:23.000Z | # generated by datamodel-codegen:
# filename: store.expiry_map.key.json
from __future__ import annotations
from pydantic import BaseModel
class StoreExpiryMapKey(BaseModel):
__root__: str
| 18.090909 | 40 | 0.788945 | 23 | 199 | 6.434783 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150754 | 199 | 10 | 41 | 19.9 | 0.87574 | 0.351759 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b77561e339dca644fb33a22215b64cf9cf30f6d8 | 177 | py | Python | src/omuse/community/adcirc/__init__.py | ipelupessy/omuse | 83850925beb4b8ba6050c7fa8a1ef2371baf6fbb | [
"Apache-2.0"
] | 12 | 2020-03-25T10:02:00.000Z | 2021-11-18T00:28:35.000Z | src/omuse/community/adcirc/__init__.py | ipelupessy/omuse | 83850925beb4b8ba6050c7fa8a1ef2371baf6fbb | [
"Apache-2.0"
] | 45 | 2020-03-03T16:07:16.000Z | 2022-03-14T09:01:07.000Z | src/omuse/community/adcirc/__init__.py | ipelupessy/omuse | 83850925beb4b8ba6050c7fa8a1ef2371baf6fbb | [
"Apache-2.0"
] | 8 | 2020-03-03T13:28:50.000Z | 2021-05-26T09:20:02.000Z | # relative import hack
# https://stackoverflow.com/questions/16981921/relative-imports-in-python-3
import os, sys; sys.path.append(os.path.dirname(os.path.realpath(__file__)))
| 35.4 | 76 | 0.785311 | 26 | 177 | 5.192308 | 0.730769 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054217 | 0.062147 | 177 | 4 | 77 | 44.25 | 0.759036 | 0.531073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b78cd753655b6f7d08897071a68987ce3a3eee0d | 65 | py | Python | rapinator/model/null_model.py | dremok/rapinator | 34f25df31fa3b6e3cc878996fd21e37a56f7b2fe | [
"MIT"
] | null | null | null | rapinator/model/null_model.py | dremok/rapinator | 34f25df31fa3b6e3cc878996fd21e37a56f7b2fe | [
"MIT"
] | null | null | null | rapinator/model/null_model.py | dremok/rapinator | 34f25df31fa3b6e3cc878996fd21e37a56f7b2fe | [
"MIT"
] | null | null | null | class NullModel:
def sample(self, model_input):
pass
| 16.25 | 34 | 0.646154 | 8 | 65 | 5.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276923 | 65 | 3 | 35 | 21.666667 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
b7b6e3aabd9133f879863db8af672854e6af1c7c | 492 | py | Python | MINI/Core/Engine.py | wei2374/model_compression | bf3e9a11396ace3c6845f44f6aa02b38364e2ec8 | [
"MIT"
] | null | null | null | MINI/Core/Engine.py | wei2374/model_compression | bf3e9a11396ace3c6845f44f6aa02b38364e2ec8 | [
"MIT"
] | null | null | null | MINI/Core/Engine.py | wei2374/model_compression | bf3e9a11396ace3c6845f44f6aa02b38364e2ec8 | [
"MIT"
] | 1 | 2022-02-13T06:28:35.000Z | 2022-02-13T06:28:35.000Z | from abc import ABC, abstractmethod
class Engine(ABC):
@abstractmethod
def get_prev_layers(self, layer):
return
@abstractmethod
def get_next_layers(self, layer):
return
@abstractmethod
def is_branch(self, layer):
return
@abstractmethod
def is_merge... | 18.923077 | 37 | 0.613821 | 53 | 492 | 5.54717 | 0.377358 | 0.346939 | 0.255102 | 0.394558 | 0.496599 | 0.496599 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315041 | 492 | 26 | 38 | 18.923077 | 0.872404 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.05 | 0.3 | 0.7 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
b7d81d312a5219082b9d8e682e9ac24b649c7d62 | 110 | py | Python | core/Painter/Painter.py | d710055071/pyMapView | c3686e2336f4aea8174371ca7e875bddf8135861 | [
"Apache-2.0"
] | 1 | 2020-04-06T06:25:37.000Z | 2020-04-06T06:25:37.000Z | core/Painter/Painter.py | d710055071/pyMapView | c3686e2336f4aea8174371ca7e875bddf8135861 | [
"Apache-2.0"
] | null | null | null | core/Painter/Painter.py | d710055071/pyMapView | c3686e2336f4aea8174371ca7e875bddf8135861 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
class Painter(object):
"""
描画类
"""
def __init__():
pass | 11 | 23 | 0.418182 | 10 | 110 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.390909 | 110 | 10 | 24 | 11 | 0.61194 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
b7f8372b6f81bffae9eb278c931b5f5ee2e8e4ee | 26 | py | Python | atcoder/abc183/a.py | sugitanishi/competitive-programming | 51af65fdce514ece12f8afbf142b809d63eefb5d | [
"MIT"
] | null | null | null | atcoder/abc183/a.py | sugitanishi/competitive-programming | 51af65fdce514ece12f8afbf142b809d63eefb5d | [
"MIT"
] | null | null | null | atcoder/abc183/a.py | sugitanishi/competitive-programming | 51af65fdce514ece12f8afbf142b809d63eefb5d | [
"MIT"
] | null | null | null | print(max(int(input()),0)) | 26 | 26 | 0.653846 | 5 | 26 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 26 | 1 | 26 | 26 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
b7fbb124b7ee36047eb38dbaa78b415e8aec3d2f | 98 | py | Python | terrascript/google/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/google/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/google/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/google/__init__.py
import terrascript
class google(terrascript.Provider):
pass | 16.333333 | 35 | 0.795918 | 11 | 98 | 6.727273 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 6 | 36 | 16.333333 | 0.860465 | 0.306122 | 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 | 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 | 0 | 0 | 0 | 5 |
4d273cebf6cd2eca810da1ddab99bcaf45332071 | 243 | py | Python | practice/hello.sage.py | HimadriP/RSA_attacks | db58478a33f0dffe492b9a626bf0a4a055682690 | [
"MIT"
] | null | null | null | practice/hello.sage.py | HimadriP/RSA_attacks | db58478a33f0dffe492b9a626bf0a4a055682690 | [
"MIT"
] | null | null | null | practice/hello.sage.py | HimadriP/RSA_attacks | db58478a33f0dffe492b9a626bf0a4a055682690 | [
"MIT"
] | null | null | null |
# This file was *autogenerated* from the file hello.sage
from sage.all_cmdline import * # import sage library
_sage_const_3 = Integer(3); _sage_const_7 = Integer(7)
from sage.all import *
print inverse_mod(_sage_const_3 ,_sage_const_7 )
| 24.3 | 56 | 0.769547 | 40 | 243 | 4.325 | 0.475 | 0.208092 | 0.127168 | 0.127168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029126 | 0.152263 | 243 | 9 | 57 | 27 | 0.81068 | 0.304527 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.25 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4d3d5c897ed3b53aa597ff44bb040028362934ef | 15 | py | Python | webserver.py | BatteRaquette581/VSL | 70ab5d6ad6c672cf41cfe20e2aa294c01cf9ba43 | [
"CC0-1.0"
] | null | null | null | webserver.py | BatteRaquette581/VSL | 70ab5d6ad6c672cf41cfe20e2aa294c01cf9ba43 | [
"CC0-1.0"
] | null | null | null | webserver.py | BatteRaquette581/VSL | 70ab5d6ad6c672cf41cfe20e2aa294c01cf9ba43 | [
"CC0-1.0"
] | null | null | null | #coming soon... | 15 | 15 | 0.666667 | 2 | 15 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 15 | 1 | 15 | 15 | 0.714286 | 0.933333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4d803d12e06fef3accc4309b2000c923a8bc3fe1 | 209 | py | Python | olc_webportalv2/metadata/admin.py | lowandrew/olc_webportalv2 | e75ba1b7af85bb25b59138d31e268ecde6616208 | [
"MIT"
] | 1 | 2019-01-03T21:14:22.000Z | 2019-01-03T21:14:22.000Z | olc_webportalv2/metadata/admin.py | lowandrew/olc_webportalv2 | e75ba1b7af85bb25b59138d31e268ecde6616208 | [
"MIT"
] | null | null | null | olc_webportalv2/metadata/admin.py | lowandrew/olc_webportalv2 | e75ba1b7af85bb25b59138d31e268ecde6616208 | [
"MIT"
] | 1 | 2019-01-03T21:14:37.000Z | 2019-01-03T21:14:37.000Z | from django.contrib import admin
from olc_webportalv2.metadata.models import SequenceData, MetaDataRequest
# Register your models here.
admin.site.register(SequenceData)
admin.site.register(MetaDataRequest)
| 26.125 | 73 | 0.84689 | 25 | 209 | 7.04 | 0.6 | 0.102273 | 0.193182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005236 | 0.086124 | 209 | 7 | 74 | 29.857143 | 0.91623 | 0.124402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4d9051d3deb9740b5870b1a7543eb9d1cd906301 | 210 | py | Python | src/AuShadha/history/surgical_history/admin.py | GosthMan/AuShadha | 3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e | [
"PostgreSQL"
] | 46 | 2015-03-04T14:19:47.000Z | 2021-12-09T02:58:46.000Z | src/AuShadha/history/surgical_history/admin.py | aytida23/AuShadha | 3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e | [
"PostgreSQL"
] | 2 | 2015-06-05T10:29:04.000Z | 2015-12-06T16:54:10.000Z | src/AuShadha/history/surgical_history/admin.py | aytida23/AuShadha | 3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e | [
"PostgreSQL"
] | 24 | 2015-03-23T01:38:11.000Z | 2022-01-24T16:23:42.000Z | from django.contrib import admin
from history.surgical_history.models import SurgicalHistory
class SurgicalHistoryAdmin(admin.ModelAdmin):
pass
admin.site.register(SurgicalHistory, SurgicalHistoryAdmin)
| 23.333333 | 59 | 0.847619 | 22 | 210 | 8.045455 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 210 | 8 | 60 | 26.25 | 0.931579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
4dacb2a3fc648fd16108d1bee8ef7516f4ad3db3 | 218 | py | Python | packaging/mgmtworker/stub_packages/cloudify-script-plugin/setup.py | TS-at-WS/cloudify-manager | 3e062e8dec16c89d2ab180d0b761cbf76d3f7ddc | [
"Apache-2.0"
] | null | null | null | packaging/mgmtworker/stub_packages/cloudify-script-plugin/setup.py | TS-at-WS/cloudify-manager | 3e062e8dec16c89d2ab180d0b761cbf76d3f7ddc | [
"Apache-2.0"
] | null | null | null | packaging/mgmtworker/stub_packages/cloudify-script-plugin/setup.py | TS-at-WS/cloudify-manager | 3e062e8dec16c89d2ab180d0b761cbf76d3f7ddc | [
"Apache-2.0"
] | null | null | null | from setuptools import setup
setup(
name='cloudify-script-plugin',
version='5.1.0.dev1',
packages=[],
description='[DEPRECATED] A stub for the '
'old cloudify-script-plugin package',
)
| 21.8 | 53 | 0.633028 | 26 | 218 | 5.307692 | 0.846154 | 0.202899 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023952 | 0.233945 | 218 | 9 | 54 | 24.222222 | 0.802395 | 0 | 0 | 0 | 0 | 0 | 0.431193 | 0.201835 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
4ddc276976bf8da2fdf2dd65edde584d779db682 | 2,066 | py | Python | test/test_scoring.py | marcrobinson/hc2017 | 9579af9c11b72ba2a62b176c97972991efeb744c | [
"MIT"
] | null | null | null | test/test_scoring.py | marcrobinson/hc2017 | 9579af9c11b72ba2a62b176c97972991efeb744c | [
"MIT"
] | null | null | null | test/test_scoring.py | marcrobinson/hc2017 | 9579af9c11b72ba2a62b176c97972991efeb744c | [
"MIT"
] | null | null | null | import unittest
from VideoCache import time_saved_calculator
from VideoCache.data_reader import Video, CacheServer, CacheServerConnection, Endpoint, RequestDescrption
class MyTestCase(unittest.TestCase):
def test_time_saved_dc_faster(self):
my_video = Video(0,100)
my_endpoint = Endpoint(0,100)
... | 33.322581 | 105 | 0.728945 | 261 | 2,066 | 5.356322 | 0.183908 | 0.102289 | 0.09299 | 0.034335 | 0.72103 | 0.72103 | 0.72103 | 0.72103 | 0.72103 | 0.72103 | 0 | 0.02864 | 0.188771 | 2,066 | 61 | 106 | 33.868852 | 0.805489 | 0.013069 | 0 | 0.552632 | 0 | 0 | 0.003925 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 1 | 0.078947 | false | 0 | 0.078947 | 0 | 0.184211 | 0.026316 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4dfc1876dfd069ed5f7adc9dad414f07152407d2 | 52 | py | Python | src/javactl/util/__init__.py | mogproject/javactl | 4f933f434695938d0ce5ab02d1b28fec983645b1 | [
"Apache-2.0"
] | 5 | 2015-12-12T06:45:52.000Z | 2018-07-31T14:47:23.000Z | src/javactl/util/__init__.py | mogproject/javactl | 4f933f434695938d0ce5ab02d1b28fec983645b1 | [
"Apache-2.0"
] | 18 | 2015-09-13T13:50:28.000Z | 2019-04-13T08:00:58.000Z | src/javactl/util/__init__.py | mogproject/javactl | 4f933f434695938d0ce5ab02d1b28fec983645b1 | [
"Apache-2.0"
] | 4 | 2016-03-14T08:43:25.000Z | 2019-04-12T08:10:07.000Z | from .data_size import DataSize
from .util import *
| 17.333333 | 31 | 0.788462 | 8 | 52 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 2 | 32 | 26 | 0.909091 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1288614222aa95a5b14849c0880b1a891158946d | 6,773 | py | Python | colordistribute.py | DesWudio/Image-hue-map-with-Matlab | ea0d5669127744546c94c0cb607982b3235a41a9 | [
"MIT"
] | null | null | null | colordistribute.py | DesWudio/Image-hue-map-with-Matlab | ea0d5669127744546c94c0cb607982b3235a41a9 | [
"MIT"
] | null | null | null | colordistribute.py | DesWudio/Image-hue-map-with-Matlab | ea0d5669127744546c94c0cb607982b3235a41a9 | [
"MIT"
] | null | null | null | import matplotlib, numpy
# Wudio
# 20210913
# 用于计算给定数据在固定长度的区间内,所有元素求和结果最大的区间所在位置与最大值
# 此处用于计算图像中像素的色相分布,寻找图像内的颜色特征
# data
ORG1 = [
3222, 2181, 1467, 1299, 1124, 1040, 1015, 879, 887, 829, 840, 746, 849,
773, 755, 861, 804, 794, 845, 803, 888, 910, 887, 876, 930, 874, 830, 874,
911, 776, 901, 8... | 55.065041 | 80 | 0.476894 | 1,514 | 6,773 | 2.133421 | 0.340819 | 0.209907 | 0.27678 | 0.344272 | 0.131579 | 0.121981 | 0.11548 | 0.108669 | 0.103715 | 0.100929 | 0 | 0.608787 | 0.297652 | 6,773 | 123 | 81 | 55.065041 | 0.070212 | 0.021556 | 0 | 0.079208 | 0 | 0 | 0.002464 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009901 | 0 | 0.009901 | 0.049505 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1297f0e148bfe4b691a9886cf65dba6bd28b22b1 | 139 | py | Python | chaosazure/vmss/constants.py | ianalderman/chaostoolkit-azure | 1ed41aa19b005cd05faffe3a11446e13d53b781a | [
"Apache-2.0"
] | 23 | 2018-10-17T14:38:08.000Z | 2022-02-23T13:21:30.000Z | chaosazure/vmss/constants.py | ianalderman/chaostoolkit-azure | 1ed41aa19b005cd05faffe3a11446e13d53b781a | [
"Apache-2.0"
] | 116 | 2018-06-19T13:48:28.000Z | 2022-03-24T08:59:19.000Z | chaosazure/vmss/constants.py | ianalderman/chaostoolkit-azure | 1ed41aa19b005cd05faffe3a11446e13d53b781a | [
"Apache-2.0"
] | 31 | 2018-10-01T11:07:06.000Z | 2022-03-24T17:06:08.000Z | RES_TYPE_VMSS = "Microsoft.Compute/virtualMachineScaleSets"
RES_TYPE_VMSS_VM = "Microsoft.Compute/virtualMachineScaleSets/virtualMachines"
| 46.333333 | 78 | 0.877698 | 14 | 139 | 8.357143 | 0.571429 | 0.119658 | 0.188034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043165 | 139 | 2 | 79 | 69.5 | 0.879699 | 0 | 0 | 0 | 0 | 0 | 0.705036 | 0.705036 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
42261dc12b7a9989f51b7053daaf95a0d44e1990 | 156 | py | Python | perimeterOfRectangle.py | mrmayurs4/Hacktoberfest-2020 | f2bc129bd8574d5870b9595a019bff3baddeaf73 | [
"MIT"
] | null | null | null | perimeterOfRectangle.py | mrmayurs4/Hacktoberfest-2020 | f2bc129bd8574d5870b9595a019bff3baddeaf73 | [
"MIT"
] | null | null | null | perimeterOfRectangle.py | mrmayurs4/Hacktoberfest-2020 | f2bc129bd8574d5870b9595a019bff3baddeaf73 | [
"MIT"
] | null | null | null | def perimeter(base,height):
return 2*base*height
base = int(input("Enter Base: "))
height = int(input("Enter height "))
print(perimeter(base,height)) | 26 | 37 | 0.698718 | 22 | 156 | 4.954545 | 0.454545 | 0.366972 | 0.348624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.134615 | 156 | 6 | 38 | 26 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.164474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.2 | 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 | 0 | 1 | 0 | 0 | 0 | 5 |
4226c65d2d8dd7a290a0cc5e223052df354522e6 | 157 | py | Python | ex021.py | felipesch92/PythonExercicios | 73edcbde6beaabcfc86af3dd6e58473f1eecabd3 | [
"MIT"
] | null | null | null | ex021.py | felipesch92/PythonExercicios | 73edcbde6beaabcfc86af3dd6e58473f1eecabd3 | [
"MIT"
] | null | null | null | ex021.py | felipesch92/PythonExercicios | 73edcbde6beaabcfc86af3dd6e58473f1eecabd3 | [
"MIT"
] | null | null | null | # Faça um programa em Python que abra e
# reproduza o áudio de um arquivo MP3.
import webbrowser
webbrowser.open('ex021.mp3')
#webbrowser.open('ex021a.ogg')
| 26.166667 | 39 | 0.764331 | 25 | 157 | 4.8 | 0.8 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.133758 | 157 | 5 | 40 | 31.4 | 0.823529 | 0.656051 | 0 | 0 | 0 | 0 | 0.18 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
426a371a01fa08758960b1b63dbac2fcb9a70650 | 328 | py | Python | corehq/apps/commtrack/tests/__init__.py | dslowikowski/commcare-hq | ad8885cf8dab69dc85cb64f37aeaf06106124797 | [
"BSD-3-Clause"
] | 1 | 2017-02-10T03:14:51.000Z | 2017-02-10T03:14:51.000Z | corehq/apps/commtrack/tests/__init__.py | dslowikowski/commcare-hq | ad8885cf8dab69dc85cb64f37aeaf06106124797 | [
"BSD-3-Clause"
] | null | null | null | corehq/apps/commtrack/tests/__init__.py | dslowikowski/commcare-hq | ad8885cf8dab69dc85cb64f37aeaf06106124797 | [
"BSD-3-Clause"
] | null | null | null | from .test_fixture import *
from .test_locations import *
from .test_settings import *
from .test_sms_reporting import *
from .test_supply_points import *
from .test_utils import *
from .test_xml import *
from .test_stock_report import *
from .test_stock_state import *
from .test_products import *
from .test_programs i... | 27.333333 | 33 | 0.79878 | 48 | 328 | 5.145833 | 0.354167 | 0.356275 | 0.566802 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134146 | 328 | 11 | 34 | 29.818182 | 0.869718 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
427d9474d19c7e3a2029ad8e43c4ea7c8305ad9a | 52 | py | Python | galho/__init__.py | joaopalmeiro/galho | ad68d760ccb8200ec547a151408a53c4a30435c6 | [
"MIT"
] | null | null | null | galho/__init__.py | joaopalmeiro/galho | ad68d760ccb8200ec547a151408a53c4a30435c6 | [
"MIT"
] | 1 | 2020-09-05T17:17:09.000Z | 2020-09-05T17:17:09.000Z | galho/__init__.py | joaopalmeiro/galho | ad68d760ccb8200ec547a151408a53c4a30435c6 | [
"MIT"
] | null | null | null | # __init__.py
from .__version__ import __version__
| 13 | 36 | 0.807692 | 6 | 52 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 52 | 3 | 37 | 17.333333 | 0.666667 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4291f3536adcaf9b029fe13557dbefd8d6bb1aa0 | 188 | py | Python | smtbx/array_family/__init__.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 155 | 2016-11-23T12:52:16.000Z | 2022-03-31T15:35:44.000Z | smtbx/array_family/__init__.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 590 | 2016-12-10T11:31:18.000Z | 2022-03-30T23:10:09.000Z | smtbx/array_family/__init__.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 115 | 2016-11-15T08:17:28.000Z | 2022-02-09T15:30:14.000Z | from __future__ import absolute_import, division, print_function
import boost_adaptbx.boost.python as bp
ext = bp.import_ext("smtbx_array_family_ext")
from smtbx_array_family_ext import *
| 37.6 | 64 | 0.851064 | 29 | 188 | 5.034483 | 0.551724 | 0.136986 | 0.219178 | 0.260274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090426 | 188 | 4 | 65 | 47 | 0.853801 | 0 | 0 | 0 | 0 | 0 | 0.117021 | 0.117021 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0.25 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
42924e24c8de7cd71798331e860fa73dbc98c0d9 | 3,120 | py | Python | tests/renderables/test_shortcuts_header.py | sauljabin/kaskade | fe270821dd05459df11adaabbd5a0ea39809456e | [
"MIT"
] | 16 | 2021-10-02T02:58:17.000Z | 2022-02-13T13:09:27.000Z | tests/renderables/test_shortcuts_header.py | sauljabin/kaskade | fe270821dd05459df11adaabbd5a0ea39809456e | [
"MIT"
] | 3 | 2021-11-17T17:08:12.000Z | 2022-02-07T23:54:04.000Z | tests/renderables/test_shortcuts_header.py | sauljabin/kaskade | fe270821dd05459df11adaabbd5a0ea39809456e | [
"MIT"
] | 1 | 2021-12-22T17:15:54.000Z | 2021-12-22T17:15:54.000Z | from unittest import TestCase
from unittest.mock import ANY, MagicMock, call, patch
from kaskade.renderables.shortcuts_header import ShortcutsHeader
from tests import faker
class TestShortcutsHeader(TestCase):
@patch("kaskade.renderables.shortcuts_header.Table")
def test_render_shortcuts_in_a_table(self, moc... | 33.548387 | 79 | 0.619231 | 358 | 3,120 | 5.106145 | 0.184358 | 0.121444 | 0.137856 | 0.124726 | 0.798687 | 0.798687 | 0.798687 | 0.798687 | 0.798687 | 0.789934 | 0 | 0.00535 | 0.28109 | 3,120 | 92 | 80 | 33.913043 | 0.80963 | 0 | 0 | 0.56 | 0 | 0 | 0.062821 | 0.040385 | 0 | 0 | 0 | 0 | 0.146667 | 1 | 0.053333 | false | 0 | 0.053333 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
673a1925fb2955c7f47e8b2b28ba079fb19f67a2 | 534 | py | Python | Normalization/NGram/NGram.py | Mikbac/Machine-Learning-Algorithms | ee710f8c8fed1d1d89eda220e6c83c43a6b0de05 | [
"Apache-2.0"
] | null | null | null | Normalization/NGram/NGram.py | Mikbac/Machine-Learning-Algorithms | ee710f8c8fed1d1d89eda220e6c83c43a6b0de05 | [
"Apache-2.0"
] | null | null | null | Normalization/NGram/NGram.py | Mikbac/Machine-Learning-Algorithms | ee710f8c8fed1d1d89eda220e6c83c43a6b0de05 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
# Created by MikBac on 2020
def getNGramTuples(words, n):
terms = []
for ngram in range(2, n + 1):
for i in range(len(words) - (ngram - 1)):
gram = ()
for j in range(ngram):
gram = gram + (words[i + j],)
terms.append(gram)
terms += words
return terms
def getNGramList(words, n... | 18.413793 | 43 | 0.595506 | 84 | 534 | 3.785714 | 0.309524 | 0.132075 | 0.069182 | 0.08805 | 0.761006 | 0.761006 | 0.761006 | 0.761006 | 0.761006 | 0.761006 | 0 | 0.027295 | 0.245318 | 534 | 28 | 44 | 19.071429 | 0.761787 | 0.082397 | 0 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6756b804f6f3b9fca42daa4fa0e1745fe0480784 | 109 | py | Python | tests/posts/constants.py | chessmaster04/django-cache-page-per-user | 2e5d48c7a42d747bfb0b581eaed0f178349e0539 | [
"MIT"
] | null | null | null | tests/posts/constants.py | chessmaster04/django-cache-page-per-user | 2e5d48c7a42d747bfb0b581eaed0f178349e0539 | [
"MIT"
] | null | null | null | tests/posts/constants.py | chessmaster04/django-cache-page-per-user | 2e5d48c7a42d747bfb0b581eaed0f178349e0539 | [
"MIT"
] | null | null | null | class CachePrefixes:
CACHED_POST = 'CACHED_POST'
CACHED_POST_WITH_SIGNAL = 'CACHED_POST_WITH_SIGNAL'
| 27.25 | 55 | 0.788991 | 14 | 109 | 5.571429 | 0.428571 | 0.512821 | 0.410256 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 109 | 3 | 56 | 36.333333 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0.311927 | 0.211009 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
67581091938e1328ab51f634ece861a543275a78 | 209 | py | Python | 509-fibonacci-number/509-fibonacci-number.py | MayaScarlet/leetcode-python | 8ef0c5cadf2e975957085c0ef84a8c3d90a64b6a | [
"MIT"
] | null | null | null | 509-fibonacci-number/509-fibonacci-number.py | MayaScarlet/leetcode-python | 8ef0c5cadf2e975957085c0ef84a8c3d90a64b6a | [
"MIT"
] | null | null | null | 509-fibonacci-number/509-fibonacci-number.py | MayaScarlet/leetcode-python | 8ef0c5cadf2e975957085c0ef84a8c3d90a64b6a | [
"MIT"
] | null | null | null | import math
class Solution:
def fib(self, n: int) -> int:
a = pow((1 + math.sqrt(5))/ 2, n)
b = pow((1 - math.sqrt(5))/ 2, n)
num = (a - b) / math.sqrt(5)
return int(num) | 26.125 | 42 | 0.4689 | 35 | 209 | 2.8 | 0.514286 | 0.244898 | 0.27551 | 0.244898 | 0.306122 | 0.306122 | 0.306122 | 0 | 0 | 0 | 0 | 0.050725 | 0.339713 | 209 | 8 | 43 | 26.125 | 0.65942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.571429 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
67d003754923012a39e26ec772f70c9b0a7d49d6 | 4,916 | py | Python | unit_tests/view_modify_land_charge/test_cancel_location_confirmation.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2019-10-03T13:58:29.000Z | 2019-10-03T13:58:29.000Z | unit_tests/view_modify_land_charge/test_cancel_location_confirmation.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | null | null | null | unit_tests/view_modify_land_charge/test_cancel_location_confirmation.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2021-04-11T05:24:57.000Z | 2021-04-11T05:24:57.000Z | from maintain_frontend import main
from flask_testing import TestCase
from flask import url_for
from unit_tests.utilities import Utilities
from unittest.mock import patch
from maintain_frontend.dependencies.session_api.session import Session
from maintain_frontend.models import LocalLandChargeItem
from maintain_fronten... | 46.819048 | 116 | 0.741456 | 586 | 4,916 | 5.87884 | 0.148464 | 0.051089 | 0.065312 | 0.091437 | 0.761684 | 0.753266 | 0.752105 | 0.752105 | 0.73643 | 0.68389 | 0 | 0.016434 | 0.170667 | 4,916 | 104 | 117 | 47.269231 | 0.82855 | 0 | 0 | 0.621951 | 0 | 0 | 0.164361 | 0.117982 | 0 | 0 | 0 | 0 | 0.170732 | 1 | 0.097561 | false | 0 | 0.097561 | 0 | 0.219512 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
db39a6c3dde66b116f4eee64765735411f21af64 | 221 | py | Python | cv/admin.py | Sarah-Marion/Portfolio-django | b045f22c8ff23c619b048f938653116503fe311f | [
"Unlicense"
] | null | null | null | cv/admin.py | Sarah-Marion/Portfolio-django | b045f22c8ff23c619b048f938653116503fe311f | [
"Unlicense"
] | 5 | 2020-02-12T01:07:11.000Z | 2021-06-10T20:32:58.000Z | cv/admin.py | Sarah-Marion/Portfolio-django | b045f22c8ff23c619b048f938653116503fe311f | [
"Unlicense"
] | null | null | null | from django.contrib import admin
from .models import Project, Cv, Technique, Info
# Register your models here.
admin.site.register(Project)
admin.site.register(Cv)
admin.site.register(Technique)
admin.site.register(Info) | 27.625 | 48 | 0.80543 | 32 | 221 | 5.5625 | 0.4375 | 0.202247 | 0.382022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090498 | 221 | 8 | 49 | 27.625 | 0.885572 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 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 | 0 | 0 | 0 | 5 |
c00753eb575d3da42982cf877d11e3dd7780b8e8 | 191 | py | Python | kurisu/cogs/jishaku.py | AkioOrg/Akio2.0 | 940388bf58091565f5345f65a6954decbb28921b | [
"MIT"
] | 4 | 2020-12-04T14:28:32.000Z | 2021-01-14T14:27:23.000Z | kurisu/cogs/jishaku.py | AkioOrg/Akio2.0 | 940388bf58091565f5345f65a6954decbb28921b | [
"MIT"
] | 12 | 2020-12-05T16:12:03.000Z | 2021-06-29T08:17:55.000Z | kurisu/cogs/jishaku.py | AkioOrg/Akio2.0 | 940388bf58091565f5345f65a6954decbb28921b | [
"MIT"
] | 5 | 2021-08-16T04:38:50.000Z | 2021-09-28T21:20:12.000Z | import os
os.environ["JISHAKU_NO_UNDERSCORE"] = "True"
os.environ["JISHAKU_NO_DM_TRACEBACK"] = "True"
os.environ["JISHAKU_HIDE"] = "True"
def setup(bot):
bot.load_extension("jishaku")
| 19.1 | 46 | 0.722513 | 27 | 191 | 4.851852 | 0.555556 | 0.206107 | 0.366412 | 0.274809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109948 | 191 | 9 | 47 | 21.222222 | 0.770588 | 0 | 0 | 0 | 0 | 0 | 0.39267 | 0.230366 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c039263acb9914773a79615da024b0cb5e9577bb | 177 | py | Python | compose/version.py | pareshmg/compose | cba758361499d74ef26bf281b73206e6dc12b5c9 | [
"Apache-2.0"
] | 2 | 2020-07-30T04:04:04.000Z | 2020-07-31T10:40:58.000Z | compose/version.py | pareshmg/compose | cba758361499d74ef26bf281b73206e6dc12b5c9 | [
"Apache-2.0"
] | 38 | 2021-07-19T21:08:06.000Z | 2022-03-28T21:11:05.000Z | compose/version.py | pareshmg/compose | cba758361499d74ef26bf281b73206e6dc12b5c9 | [
"Apache-2.0"
] | 3 | 2020-09-22T02:56:37.000Z | 2021-03-15T10:31:24.000Z | from distutils.version import LooseVersion
class ComposeVersion(LooseVersion):
""" A hashable version object """
def __hash__(self):
return hash(self.vstring)
| 22.125 | 42 | 0.717514 | 19 | 177 | 6.473684 | 0.789474 | 0.130081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19209 | 177 | 7 | 43 | 25.285714 | 0.86014 | 0.141243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
c04818cc1149d87ba9dccd98c00ec76d5ea37d24 | 7,133 | py | Python | test/object.py | thesues/yig | eba98cf23780d078e0713563e711566597e0a90a | [
"Apache-2.0"
] | 365 | 2018-04-27T04:44:58.000Z | 2022-03-30T12:17:10.000Z | test/object.py | thesues/yig | eba98cf23780d078e0713563e711566597e0a90a | [
"Apache-2.0"
] | 71 | 2018-06-01T05:52:30.000Z | 2021-02-24T07:07:34.000Z | test/object.py | thesues/yig | eba98cf23780d078e0713563e711566597e0a90a | [
"Apache-2.0"
] | 100 | 2018-04-27T04:46:39.000Z | 2022-03-29T15:59:04.000Z | import base
import sanity
import requests
import config
# =====================================================
def get_object_presigned(name, client):
url = client.generate_presigned_url(
ClientMethod='get_object',
HttpMethod='GET',
Params={
'Bucket': name+'hehe',
... | 26.321033 | 75 | 0.561895 | 726 | 7,133 | 5.283747 | 0.092287 | 0.063869 | 0.094891 | 0.101668 | 0.778415 | 0.733837 | 0.706726 | 0.668405 | 0.649635 | 0.649635 | 0 | 0.040355 | 0.305201 | 7,133 | 270 | 76 | 26.418519 | 0.733656 | 0.015001 | 0 | 0.5375 | 1 | 0 | 0.142816 | 0 | 0 | 0 | 0 | 0 | 0.045833 | 0 | null | null | 0 | 0.016667 | null | null | 0.05 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c049006bf2e58bed7786432e7ec84c8c8b40edf0 | 75 | py | Python | crabageprediction/venv/Lib/site-packages/fontTools/svgLib/__init__.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 38,667 | 2015-01-01T00:15:34.000Z | 2022-03-31T22:57:03.000Z | crabageprediction/venv/Lib/site-packages/fontTools/svgLib/__init__.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 1,599 | 2016-09-27T09:07:36.000Z | 2022-03-31T23:04:51.000Z | crabageprediction/venv/Lib/site-packages/fontTools/svgLib/__init__.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 11,269 | 2015-01-01T08:41:17.000Z | 2022-03-31T16:12:52.000Z | from .path import SVGPath, parse_path
__all__ = ["SVGPath", "parse_path"]
| 18.75 | 37 | 0.733333 | 10 | 75 | 4.9 | 0.6 | 0.489796 | 0.653061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 75 | 3 | 38 | 25 | 0.753846 | 0 | 0 | 0 | 0 | 0 | 0.226667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c04edffff47a76f52d2b88f8e84aa7e8b99fdcde | 38 | py | Python | benzole/__init__.py | kritibytes/benzole | 6f8f246ab55a3ca29c52c650e400c69317773622 | [
"MIT"
] | null | null | null | benzole/__init__.py | kritibytes/benzole | 6f8f246ab55a3ca29c52c650e400c69317773622 | [
"MIT"
] | null | null | null | benzole/__init__.py | kritibytes/benzole | 6f8f246ab55a3ca29c52c650e400c69317773622 | [
"MIT"
] | null | null | null | from .core import (
BenzoleView
)
| 9.5 | 19 | 0.657895 | 4 | 38 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 38 | 3 | 20 | 12.666667 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c050d6caa6af39e49f1819bd2a670059bc5d942a | 24 | py | Python | trimesh/version.py | nbraem/trimesh | 63b56b90cb764e1138d6c373fab58ddff3fcae75 | [
"MIT"
] | null | null | null | trimesh/version.py | nbraem/trimesh | 63b56b90cb764e1138d6c373fab58ddff3fcae75 | [
"MIT"
] | null | null | null | trimesh/version.py | nbraem/trimesh | 63b56b90cb764e1138d6c373fab58ddff3fcae75 | [
"MIT"
] | null | null | null | __version__ = '2.35.44'
| 12 | 23 | 0.666667 | 4 | 24 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0.125 | 24 | 1 | 24 | 24 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c05be8a602b363cf072ac6e7a17bf732b195d040 | 121 | py | Python | Timus/Vol.08/1725/sol.py | Zovube/Tasks-solutions | fde056189dd5f630197d0516d3837044bc339e49 | [
"MIT"
] | 2 | 2018-11-08T05:57:22.000Z | 2018-11-08T05:57:27.000Z | Timus/Vol.08/1725/sol.py | Zovube/Tasks-solutions | fde056189dd5f630197d0516d3837044bc339e49 | [
"MIT"
] | null | null | null | Timus/Vol.08/1725/sol.py | Zovube/Tasks-solutions | fde056189dd5f630197d0516d3837044bc339e49 | [
"MIT"
] | null | null | null |
n, k = map(int, input().split())
if n == 2:
print(0)
elif k <= n // 2:
print(n - k - 2)
else:
print(k - 3)
| 12.1 | 32 | 0.446281 | 23 | 121 | 2.347826 | 0.565217 | 0.074074 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 0.322314 | 121 | 9 | 33 | 13.444444 | 0.597561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
c060e3a0e05e6abbdab6b195503a5d9325fdba55 | 399,966 | py | Python | Data/scigrid-de/pypower/scigrid_2011_01_04_06.py | thanever/SOC | 9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4 | [
"MIT"
] | null | null | null | Data/scigrid-de/pypower/scigrid_2011_01_04_06.py | thanever/SOC | 9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4 | [
"MIT"
] | null | null | null | Data/scigrid-de/pypower/scigrid_2011_01_04_06.py | thanever/SOC | 9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4 | [
"MIT"
] | null | null | null | from numpy import array
def scigrid_2011_01_04_06():
ppc = {"version": '2'}
ppc["baseMVA"] = 100.0
ppc["bus"] = array([
[586, 3, 0, 0, 0, 0, 0, 1.0, 0, 220.0, 0, 1.1, 0.9 ],
[589, 2, 0, 0, 0, 0, 0, 1.0, 0, 380.0, 0, 1.1, 0.9 ],
[590, 2, 0, 0, 0, 0, 0, 1.0, 0, 380.0, 0, 1.1,... | 70.491012 | 137 | 0.460689 | 76,494 | 399,966 | 2.40849 | 0.080425 | 0.201015 | 0.181529 | 0.189041 | 0.474052 | 0.473178 | 0.454262 | 0.443656 | 0.374549 | 0.372687 | 0 | 0.667944 | 0.314289 | 399,966 | 5,674 | 138 | 70.491012 | 0.003807 | 0 | 0 | 0.000881 | 0 | 0 | 0.000338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000176 | false | 0 | 0.000176 | 0 | 0.000529 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fbfef8ac349663c2f63de76edd4fcba89710557d | 77 | py | Python | installer.py | Pachec00/Server | 06a5e27c6608c88140e118d73ec37902db030ad4 | [
"MIT"
] | 1 | 2022-01-18T23:35:17.000Z | 2022-01-18T23:35:17.000Z | installer.py | Pachec00/Server | 06a5e27c6608c88140e118d73ec37902db030ad4 | [
"MIT"
] | null | null | null | installer.py | Pachec00/Server | 06a5e27c6608c88140e118d73ec37902db030ad4 | [
"MIT"
] | null | null | null | #Instalador de librerias para el manejo del servidor
#Lista de librerias :
| 15.4 | 52 | 0.779221 | 11 | 77 | 5.454545 | 0.818182 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 77 | 4 | 53 | 19.25 | 0.952381 | 0.922078 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
220f5cdd0475bed6bab75c99b1ae97c9dea73c27 | 57 | py | Python | invoke_tools/ci/__init__.py | VJftw/invoke-tools | 9584a1f8a402118310b6f2a495062f388fc8dc3a | [
"MIT"
] | 2 | 2017-07-02T02:46:58.000Z | 2018-07-24T03:36:30.000Z | invoke_tools/ci/__init__.py | VJftw/invoke-tools | 9584a1f8a402118310b6f2a495062f388fc8dc3a | [
"MIT"
] | null | null | null | invoke_tools/ci/__init__.py | VJftw/invoke-tools | 9584a1f8a402118310b6f2a495062f388fc8dc3a | [
"MIT"
] | 1 | 2019-11-27T14:43:03.000Z | 2019-11-27T14:43:03.000Z |
from .jenkins import Jenkins
from .travis import Travis
| 14.25 | 28 | 0.807018 | 8 | 57 | 5.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 57 | 3 | 29 | 19 | 0.958333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
222e9c793c65510a6acb7d33515fedaf65621b2c | 156 | py | Python | biometric_identification/src/large_scale experiment/featureExtractor/display_data.py | banacer/lab221 | 7096233877c6b73719c1352ecd8d1896ac858d0d | [
"MIT"
] | 1 | 2016-05-08T06:32:24.000Z | 2016-05-08T06:32:24.000Z | biometric_identification/src/large_scale experiment/featureExtractor/display_data.py | banacer/lab221 | 7096233877c6b73719c1352ecd8d1896ac858d0d | [
"MIT"
] | null | null | null | biometric_identification/src/large_scale experiment/featureExtractor/display_data.py | banacer/lab221 | 7096233877c6b73719c1352ecd8d1896ac858d0d | [
"MIT"
] | null | null | null | import re
from serial import Serial
import time
ser = Serial('/dev/ttyACM0',9600)
count = 0
while True:
line = ser.readline()
print line | 17.333333 | 33 | 0.653846 | 22 | 156 | 4.636364 | 0.727273 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 0.25641 | 156 | 9 | 34 | 17.333333 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.076433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.375 | null | null | 0.125 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
223feda8337f447cf53297754a7cfb30d4339011 | 2,946 | py | Python | lessons/JenniferTimePlugin/tests/test_time_plugin.py | androbwebb/JenniferVirtualAssistant | 1c810b3d53d9fcb0c691cf11c0f83dd4a1e1b061 | [
"MIT"
] | 15 | 2016-04-22T22:56:30.000Z | 2020-08-29T07:14:12.000Z | lessons/JenniferTimePlugin/tests/test_time_plugin.py | 19Leonidas99/JenniferVirtualAssistant | 01fd219bb5850834e9624f8ff80fa6038b5f207b | [
"MIT"
] | 2 | 2020-02-03T09:10:11.000Z | 2020-04-14T05:31:52.000Z | lessons/JenniferTimePlugin/tests/test_time_plugin.py | 19Leonidas99/JenniferVirtualAssistant | 01fd219bb5850834e9624f8ff80fa6038b5f207b | [
"MIT"
] | 7 | 2016-04-22T22:56:31.000Z | 2022-02-02T15:17:26.000Z | import unittest
import datetime
from tests.testclient import JenniferTestClient
from tests.testbrain import JenniferTestBrain
from lessons.base.responses import JenniferResponse, JenniferTextResponseSegment
from lessons.JenniferTimePlugin.plugin import JenniferTimePlugin
class JenniferTimePluginTests(unittest.TestC... | 35.926829 | 119 | 0.672437 | 323 | 2,946 | 5.981424 | 0.22291 | 0.069876 | 0.055901 | 0.051242 | 0.775362 | 0.775362 | 0.751553 | 0.751553 | 0.751553 | 0.751553 | 0 | 0.005697 | 0.22539 | 2,946 | 81 | 120 | 36.37037 | 0.840929 | 0.03632 | 0 | 0.655738 | 0 | 0 | 0.027866 | 0 | 0 | 0 | 0 | 0 | 0.295082 | 1 | 0.065574 | false | 0 | 0.098361 | 0 | 0.180328 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
22567df315b02febb285b66202776de19b49e078 | 964 | py | Python | src/core/__init__.py | el-ideal-ideas/MocaUsersAPI | 8acc17d14ad1e3c57142b24a812a1806c44180a5 | [
"MIT"
] | null | null | null | src/core/__init__.py | el-ideal-ideas/MocaUsersAPI | 8acc17d14ad1e3c57142b24a812a1806c44180a5 | [
"MIT"
] | null | null | null | src/core/__init__.py | el-ideal-ideas/MocaUsersAPI | 8acc17d14ad1e3c57142b24a812a1806c44180a5 | [
"MIT"
] | null | null | null | # Ω*
# ■ ■■■■■
# ■ ■■ ■■
# ■ ■■ ■
# ■ ■■
# ■■■■■ ■ ■■■
# ■■ ■■ ■ ■■■
# ■■ ■■ ■ ■■■■
# ■■ ■■ ■ ■■■■
# ■■■■■■■■■ ■ ■■■
... | 31.096774 | 105 | 0.246888 | 100 | 964 | 3.42 | 0.45 | 0.105263 | 0.102339 | 0.052632 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012635 | 0.425311 | 964 | 30 | 106 | 32.133333 | 0.404332 | 0.840249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
97f62f2168d07db1877011da8d56fd0a334fc1a6 | 53 | py | Python | spiritisland/logic/test_logic.py | ThomasKidder/alpha-zero-general | e894d91a5d6afceb0e04a1a5ff2234fac8cc1fb2 | [
"MIT"
] | null | null | null | spiritisland/logic/test_logic.py | ThomasKidder/alpha-zero-general | e894d91a5d6afceb0e04a1a5ff2234fac8cc1fb2 | [
"MIT"
] | null | null | null | spiritisland/logic/test_logic.py | ThomasKidder/alpha-zero-general | e894d91a5d6afceb0e04a1a5ff2234fac8cc1fb2 | [
"MIT"
] | null | null | null | from . import *
def test_land():
assert 3 < 4
| 7.571429 | 16 | 0.566038 | 8 | 53 | 3.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.320755 | 53 | 6 | 17 | 8.833333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3f005e0ba1cef46aa1325a478a1483713f57920d | 433 | py | Python | prettyplotlib/general.py | genkioffice/prettyplotlib | aa964ff777e60d26f078d8ace386936bf41cbd15 | [
"MIT"
] | 960 | 2015-01-04T02:25:42.000Z | 2022-03-31T00:33:20.000Z | prettyplotlib/general.py | Gonaco/prettyplotlib | aa964ff777e60d26f078d8ace386936bf41cbd15 | [
"MIT"
] | 10 | 2015-03-24T21:43:22.000Z | 2018-04-03T06:47:08.000Z | prettyplotlib/general.py | Gonaco/prettyplotlib | aa964ff777e60d26f078d8ace386936bf41cbd15 | [
"MIT"
] | 117 | 2015-01-04T10:41:43.000Z | 2021-11-05T12:51:36.000Z | import matplotlib.pyplot as plt
from functools import partial, update_wrapper
from prettyplotlib.colors import pretty
@partial(update_wrapper, wrapped=plt.subplots, assigned=["__doc__"])
@pretty
def subplots(*args, **kwargs):
return plt.subplots(*args, **kwargs)
@partial(update_wrapper, wrapped=plt.subplot2gri... | 25.470588 | 72 | 0.762125 | 52 | 433 | 6.134615 | 0.423077 | 0.125392 | 0.188088 | 0.169279 | 0.188088 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.106236 | 433 | 16 | 73 | 27.0625 | 0.816537 | 0 | 0 | 0.181818 | 0 | 0 | 0.032333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | true | 0 | 0.272727 | 0.181818 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
3f05a27e47682e2e22ccdc388f2d031bb0db4d59 | 152 | py | Python | idiffuse/__init__.py | gummiks/idiffuse | d9d1301f8cb0323ac164838ad4dc06c493ad0c8d | [
"MIT"
] | 2 | 2018-08-08T22:34:31.000Z | 2021-03-22T16:06:55.000Z | idiffuse/__init__.py | gummiks/idiffuse | d9d1301f8cb0323ac164838ad4dc06c493ad0c8d | [
"MIT"
] | null | null | null | idiffuse/__init__.py | gummiks/idiffuse | d9d1301f8cb0323ac164838ad4dc06c493ad0c8d | [
"MIT"
] | 2 | 2021-02-02T23:28:59.000Z | 2021-04-10T12:21:07.000Z | from __future__ import print_function
import numpy as np
import pandas as pd
from .telescope import *
from .photometry import *
from .diffuser import *
| 21.714286 | 37 | 0.802632 | 22 | 152 | 5.318182 | 0.590909 | 0.17094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 152 | 6 | 38 | 25.333333 | 0.914063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3f4ae6289803f4d97927d3f2c77969ecd91e7fd8 | 409 | py | Python | cassiopeia/dto/league.py | mertkutay/cassiopeia | 1c4005f78f216322d179f3465303d105261beab2 | [
"MIT"
] | null | null | null | cassiopeia/dto/league.py | mertkutay/cassiopeia | 1c4005f78f216322d179f3465303d105261beab2 | [
"MIT"
] | null | null | null | cassiopeia/dto/league.py | mertkutay/cassiopeia | 1c4005f78f216322d179f3465303d105261beab2 | [
"MIT"
] | null | null | null | from .common import DtoObject
class LeaguesListDto(DtoObject):
pass
class LeagueListDto(DtoObject):
pass
class MiniSeriesDto(DtoObject):
pass
class LeaguePositionDto(DtoObject):
pass
class LeaguePositionsDto(DtoObject):
pass
class ChallengerLeagueListDto(DtoObject):
pass
class Grand... | 12.78125 | 42 | 0.757946 | 36 | 409 | 8.611111 | 0.388889 | 0.335484 | 0.406452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180929 | 409 | 31 | 43 | 13.193548 | 0.925373 | 0 | 0 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.470588 | 0.058824 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
58bf898006d34dd429bcf037f56af68bf92ca1a2 | 50 | py | Python | trajopt/gps/__init__.py | Fitz13009/trajopt | e74cf44cfa7d3037d1fccb27ab1e7eebff16c8c4 | [
"MIT"
] | 40 | 2019-06-17T11:49:57.000Z | 2022-03-29T16:30:56.000Z | trajopt/gps/__init__.py | JoeMWatson/trajopt | 8b98718721e0c373cd7dc01a35f42447c1134713 | [
"MIT"
] | 2 | 2019-12-10T13:40:00.000Z | 2020-10-06T09:22:47.000Z | trajopt/gps/__init__.py | JoeMWatson/trajopt | 8b98718721e0c373cd7dc01a35f42447c1134713 | [
"MIT"
] | 10 | 2019-07-05T11:29:12.000Z | 2021-12-29T12:56:56.000Z | from .mbgps import MBGPS
from .mfgps import MFGPS
| 16.666667 | 24 | 0.8 | 8 | 50 | 5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 25 | 25 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
58c138f4d174aeee52fa17f812a9e9a676b512a9 | 29 | py | Python | exercises/isbn-verifier/isbn_verifier.py | kishankj/python | 82042de746128127502e109111e6c4e8ab002af6 | [
"MIT"
] | 1,177 | 2017-06-21T20:24:06.000Z | 2022-03-29T02:30:55.000Z | exercises/isbn-verifier/isbn_verifier.py | kishankj/python | 82042de746128127502e109111e6c4e8ab002af6 | [
"MIT"
] | 1,890 | 2017-06-18T20:06:10.000Z | 2022-03-31T18:35:51.000Z | exercises/isbn-verifier/isbn_verifier.py | kishankj/python | 82042de746128127502e109111e6c4e8ab002af6 | [
"MIT"
] | 1,095 | 2017-06-26T23:06:19.000Z | 2022-03-29T03:25:38.000Z | def is_valid(isbn):
pass
| 9.666667 | 19 | 0.655172 | 5 | 29 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 2 | 20 | 14.5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
58da02276451ad9d781bf57d7989da58482576c2 | 124 | py | Python | python/ex030 - par.py | gabrielramospereira/codes | 1c0c5aab0f4e3a8543016afde651779f5b093493 | [
"MIT"
] | null | null | null | python/ex030 - par.py | gabrielramospereira/codes | 1c0c5aab0f4e3a8543016afde651779f5b093493 | [
"MIT"
] | null | null | null | python/ex030 - par.py | gabrielramospereira/codes | 1c0c5aab0f4e3a8543016afde651779f5b093493 | [
"MIT"
] | null | null | null | n1 = int(input("Digite um número: "))
if n1 % 2 == 1:
print("Seu número é ímpar")
else:
print("Seu número é par")
| 15.5 | 37 | 0.580645 | 21 | 124 | 3.428571 | 0.714286 | 0.222222 | 0.388889 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 0.25 | 124 | 7 | 38 | 17.714286 | 0.731183 | 0 | 0 | 0 | 0 | 0 | 0.422764 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
58e93a1d54e7e539ab13dc2e3fc5d5ef57672524 | 114 | py | Python | bin/setup_env.py | sleepy771/filecrawl | fa06879c0b9e07e6324be48178788f656297f1e5 | [
"MIT"
] | null | null | null | bin/setup_env.py | sleepy771/filecrawl | fa06879c0b9e07e6324be48178788f656297f1e5 | [
"MIT"
] | null | null | null | bin/setup_env.py | sleepy771/filecrawl | fa06879c0b9e07e6324be48178788f656297f1e5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from filecrawl.elastic import put_mappings
if __name__ == '__main__':
put_mappings()
| 16.285714 | 42 | 0.736842 | 15 | 114 | 4.933333 | 0.866667 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.149123 | 114 | 6 | 43 | 19 | 0.752577 | 0.184211 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
58f1a99c8ce60bac40eb84edcb339896c975bc30 | 208 | py | Python | pycon_project/apps/wakawaka/urls/authenticated.py | pythonchelle/pycon | a22a7001ce32496f8185ed2612e26ef9c0551ac5 | [
"BSD-3-Clause"
] | 1 | 2015-06-30T14:11:31.000Z | 2015-06-30T14:11:31.000Z | pycon_project/apps/wakawaka/urls/authenticated.py | pythonchelle/pycon | a22a7001ce32496f8185ed2612e26ef9c0551ac5 | [
"BSD-3-Clause"
] | null | null | null | pycon_project/apps/wakawaka/urls/authenticated.py | pythonchelle/pycon | a22a7001ce32496f8185ed2612e26ef9c0551ac5 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib.auth.decorators import login_required
from wakawaka.urls import urlpatterns
for waka_url in urlpatterns:
callback = waka_url.callback
waka_url._callback = login_required(callback) | 34.666667 | 57 | 0.822115 | 28 | 208 | 5.892857 | 0.571429 | 0.127273 | 0.181818 | 0.278788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 208 | 6 | 58 | 34.666667 | 0.906593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
450ea4044dd49228caa4ee47d833ac0a8e817ff2 | 43 | py | Python | examples/example_rmdir.py | juancarlospaco/thatlib | 37403983c228521b992ad592231957a1c7af01f2 | [
"MIT"
] | 31 | 2021-05-12T16:54:34.000Z | 2022-02-17T12:36:52.000Z | examples/example_rmdir.py | juancarlospaco/thatlib | 37403983c228521b992ad592231957a1c7af01f2 | [
"MIT"
] | 1 | 2021-07-23T02:58:07.000Z | 2021-09-03T21:53:29.000Z | examples/example_rmdir.py | juancarlospaco/thatlib | 37403983c228521b992ad592231957a1c7af01f2 | [
"MIT"
] | 1 | 2021-05-12T22:12:20.000Z | 2021-05-12T22:12:20.000Z | from thatlib import rmdir
rmdir("example")
| 14.333333 | 25 | 0.790698 | 6 | 43 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 2 | 26 | 21.5 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
454447c3b33325de7d729d8f81e180267a44e4cf | 976 | py | Python | wlts_plugin/__init__.py | brazil-data-cube/wlts-qgis | 014e052cf524ec6cb72f054e34a30d4a2af27a97 | [
"MIT"
] | null | null | null | wlts_plugin/__init__.py | brazil-data-cube/wlts-qgis | 014e052cf524ec6cb72f054e34a30d4a2af27a97 | [
"MIT"
] | 1 | 2021-10-15T15:23:06.000Z | 2021-10-15T15:23:06.000Z | wlts_plugin/__init__.py | brazil-data-cube/wlts-qgis | 014e052cf524ec6cb72f054e34a30d4a2af27a97 | [
"MIT"
] | 1 | 2021-10-15T15:46:03.000Z | 2021-10-15T15:46:03.000Z | """
WLTS QGIS Plugin.
Python QGIS Plugin for Web Land Trajectory Service.
Generated by Plugin Builder: http://g-sherman.github.io/Qgis-Plugin-Builder/.
-------------------
begin : 2019-05-04
git sha : $Format:%H$
copyright : (C) 2021 by INPE
email ... | 32.533333 | 106 | 0.664959 | 128 | 976 | 5.0625 | 0.671875 | 0.061728 | 0.049383 | 0.058642 | 0.132716 | 0.132716 | 0.132716 | 0.132716 | 0 | 0 | 0 | 0.02977 | 0.242828 | 976 | 30 | 107 | 32.533333 | 0.847091 | 0.865779 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
18b529e31d249182b42477bdf9205d2fdad96717 | 74 | py | Python | CodeWars/2016/UnderPressure-8k.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodeWars/2016/UnderPressure-8k.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodeWars/2016/UnderPressure-8k.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | #Double the integer and return it.
def doubleInteger(i):
return i * 2 | 18.5 | 34 | 0.702703 | 12 | 74 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.216216 | 74 | 4 | 35 | 18.5 | 0.87931 | 0.445946 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
18d17c8e1cded3b4a2917de0afbf636bb83f696b | 93 | py | Python | src/gt4sd/frameworks/granular/ml/models/vae_rnn/__init__.py | hhhsu0825/gt4sd-core | 4a1fe9da58d2f33bba2fba64604427e037ad7a46 | [
"MIT"
] | 1 | 2022-02-22T02:06:10.000Z | 2022-02-22T02:06:10.000Z | src/gt4sd/frameworks/granular/ml/models/vae_rnn/__init__.py | hhhsu0825/gt4sd-core | 4a1fe9da58d2f33bba2fba64604427e037ad7a46 | [
"MIT"
] | 12 | 2022-02-21T12:59:24.000Z | 2022-02-22T12:25:49.000Z | src/gt4sd/frameworks/granular/ml/models/vae_rnn/__init__.py | hhhsu0825/gt4sd-core | 4a1fe9da58d2f33bba2fba64604427e037ad7a46 | [
"MIT"
] | null | null | null | """Initialize RNN variational autoencoder module."""
from .core import VaeRnn # noqa: F401
| 23.25 | 52 | 0.741935 | 11 | 93 | 6.272727 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0.150538 | 93 | 3 | 53 | 31 | 0.835443 | 0.623656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
18d7e4f659a337cc03cad48e3f4cf8e9e3aefb57 | 212 | py | Python | pythonlearn/Third-Module/restful/DJANGO/demo/app/rest/serializers.py | yc19890920/Learn | 3990e75b469225ba7b430539ef9a16abe89eb863 | [
"Apache-2.0"
] | 1 | 2021-01-11T06:30:44.000Z | 2021-01-11T06:30:44.000Z | pythonlearn/Third-Module/restful/DJANGO/demo/app/rest/serializers.py | yc19890920/Learn | 3990e75b469225ba7b430539ef9a16abe89eb863 | [
"Apache-2.0"
] | 23 | 2020-02-12T02:35:49.000Z | 2022-02-11T03:45:40.000Z | pythonlearn/Third-Module/restful/DJANGO/demo/app/rest/serializers.py | yc19890920/Learn | 3990e75b469225ba7b430539ef9a16abe89eb863 | [
"Apache-2.0"
] | 2 | 2020-04-08T15:39:46.000Z | 2020-10-10T10:13:09.000Z | from rest_framework import serializers
from app.core.models import User
class UserSerializer(serializers.ModelSerializer):
class Meta:
model = User
fields = ['id', 'password', 'nick'] | 26.5 | 51 | 0.683962 | 23 | 212 | 6.26087 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 212 | 8 | 52 | 26.5 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0.067961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
7a00ec38e24c88d73720eef7eabc84217eafa6ba | 368 | py | Python | 5408Project/DBMS_Software/queryProcessor/GetFiles.py | AparnaVivekanandan18/Distributed-DBMS | a03b1bfbc9684ef8c67303a516f48ea7f53518cb | [
"Apache-2.0"
] | 1 | 2021-09-08T12:05:31.000Z | 2021-09-08T12:05:31.000Z | 5408Project/DBMS_Software/queryProcessor/GetFiles.py | AparnaVivekanandan18/Distributed-DBMS | a03b1bfbc9684ef8c67303a516f48ea7f53518cb | [
"Apache-2.0"
] | null | null | null | 5408Project/DBMS_Software/queryProcessor/GetFiles.py | AparnaVivekanandan18/Distributed-DBMS | a03b1bfbc9684ef8c67303a516f48ea7f53518cb | [
"Apache-2.0"
] | null | null | null | def getGDDFile():
GDDPath = "C:/99.DATABASE/ddms_group19/5408Project/DBMS_Software/Files/"
return GDDPath
def getGeneralLogPath():
generalPath = "C:/99.DATABASE/ddms_group19/5408Project/DBMS_Software/Files/"
return generalPath
def getEventLogPath():
EventPath = "C:/99.DATABASE/ddms_group19/5408Pro... | 30.666667 | 80 | 0.758152 | 42 | 368 | 6.5 | 0.404762 | 0.032967 | 0.120879 | 0.164835 | 0.615385 | 0.615385 | 0.615385 | 0.615385 | 0.615385 | 0.615385 | 0 | 0.074766 | 0.127717 | 368 | 11 | 81 | 33.454545 | 0.775701 | 0 | 0 | 0 | 0 | 0 | 0.48913 | 0.48913 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
7a0e4db6b344913f305731293638480e05816275 | 48 | py | Python | toynlp/text_similarity/__init__.py | yizhiru/toyNLP | 3a28477f51b60b9031aa73d9c3d2a1c11dd5cd08 | [
"Apache-2.0"
] | 1 | 2020-03-03T01:13:23.000Z | 2020-03-03T01:13:23.000Z | toynlp/text_similarity/__init__.py | yizhiru/toyNLP | 3a28477f51b60b9031aa73d9c3d2a1c11dd5cd08 | [
"Apache-2.0"
] | null | null | null | toynlp/text_similarity/__init__.py | yizhiru/toyNLP | 3a28477f51b60b9031aa73d9c3d2a1c11dd5cd08 | [
"Apache-2.0"
] | 1 | 2021-08-18T03:36:49.000Z | 2021-08-18T03:36:49.000Z | from toynlp.text_similarity.malstm import MaLSTM | 48 | 48 | 0.895833 | 7 | 48 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7a19ee5524476f1dea49a9f437aef0a9491764a1 | 91 | py | Python | fe621/monte_carlo/__init__.py | rukmal/FE-621-Homework | 9c7cef7931b58aed54867acd8e8cf1928bc6d2dd | [
"MIT"
] | 4 | 2020-04-29T04:34:50.000Z | 2021-11-11T07:49:08.000Z | fe621/monte_carlo/__init__.py | rukmal/FE-621-Homework | 9c7cef7931b58aed54867acd8e8cf1928bc6d2dd | [
"MIT"
] | null | null | null | fe621/monte_carlo/__init__.py | rukmal/FE-621-Homework | 9c7cef7931b58aed54867acd8e8cf1928bc6d2dd | [
"MIT"
] | 1 | 2020-04-23T07:32:44.000Z | 2020-04-23T07:32:44.000Z | from .monte_carlo import monteCarloSkeleton, monteCarloStats
from .option_pricing import *
| 30.333333 | 60 | 0.857143 | 10 | 91 | 7.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 91 | 2 | 61 | 45.5 | 0.926829 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e12f5a003adc3391572d9b0244a4224c8d430fcc | 205 | py | Python | MLPApproximatorConsoleUI.py | HalfInner/MLPApproximator | 9bc08e14d8f50f323a0453f02d2230c4e4195bee | [
"MIT"
] | null | null | null | MLPApproximatorConsoleUI.py | HalfInner/MLPApproximator | 9bc08e14d8f50f323a0453f02d2230c4e4195bee | [
"MIT"
] | null | null | null | MLPApproximatorConsoleUI.py | HalfInner/MLPApproximator | 9bc08e14d8f50f323a0453f02d2230c4e4195bee | [
"MIT"
] | null | null | null | # Copyright (c) 2020
# Kajetan Brzuszczak
import sys
from MLPApproximator.MlpAssembly import MlpApproximatorAssembler
if __name__ == "__main__":
sys.exit(MlpApproximatorAssembler().run(sys.argv))
| 20.5 | 64 | 0.77561 | 21 | 205 | 7.190476 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.131707 | 205 | 9 | 65 | 22.777778 | 0.825843 | 0.185366 | 0 | 0 | 0 | 0 | 0.04908 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
e16e66c514f99ca25ac6d9b2685a5dc2e327c831 | 451 | py | Python | exercises/exc_D3.py | dataXcode/IPP | c9b94ad2d7dc14b01e6657a4fa555507bbc7e93b | [
"MIT"
] | null | null | null | exercises/exc_D3.py | dataXcode/IPP | c9b94ad2d7dc14b01e6657a4fa555507bbc7e93b | [
"MIT"
] | null | null | null | exercises/exc_D3.py | dataXcode/IPP | c9b94ad2d7dc14b01e6657a4fa555507bbc7e93b | [
"MIT"
] | null | null | null | # Countries dictionary
countries = {"Iraq" : "Baghdad", "Egypt" : "Cairo", "Jordan" : "Amman", "Saudi Arabia" : "Riyadh"}
#1 Check if Lebanon exist in countries
print(_________ __ _________)
#2 Add Lebanon : Beirut to countries
countries[_________] = ________
print(countries)
#3 Delete Lebanon from countries
___(co... | 25.055556 | 98 | 0.745011 | 48 | 451 | 5.708333 | 0.645833 | 0.20438 | 0.251825 | 0.233577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.13969 | 451 | 17 | 99 | 26.529412 | 0.695876 | 0.37694 | 0 | 0.375 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
e18f516559eb1183ca18e22953ec211ebd919629 | 318 | py | Python | rx/internal/concurrency.py | AlexMost/RxPY | 05cb14c72806dc41e243789c05f498dede11cebd | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | rx/internal/concurrency.py | AlexMost/RxPY | 05cb14c72806dc41e243789c05f498dede11cebd | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | rx/internal/concurrency.py | AlexMost/RxPY | 05cb14c72806dc41e243789c05f498dede11cebd | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-11-04T11:13:49.000Z | 2021-11-04T11:13:49.000Z |
class NoLock(object):
"""Dummy lock object for schedulers that don't need locking"""
def locked(self):
return False
def __enter__(self):
"""Context management protocol"""
pass
def __exit__(self, type, value, traceback):
"""Context management protocol"""
pass | 22.714286 | 66 | 0.613208 | 35 | 318 | 5.342857 | 0.742857 | 0.181818 | 0.26738 | 0.31016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.279874 | 318 | 14 | 67 | 22.714286 | 0.816594 | 0.352201 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.285714 | 0 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.