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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
59e7e23f70d2de8ad20a95022a262e80afdd0da6 | 21,388 | py | Python | datapreprocessing/map-matching-workzone-all-files-to-db.py | Andyzr/work_zone_safety | e653740e7a42f06536f64c199388fd40d85aaaae | [
"MIT"
] | null | null | null | datapreprocessing/map-matching-workzone-all-files-to-db.py | Andyzr/work_zone_safety | e653740e7a42f06536f64c199388fd40d85aaaae | [
"MIT"
] | null | null | null | datapreprocessing/map-matching-workzone-all-files-to-db.py | Andyzr/work_zone_safety | e653740e7a42f06536f64c199388fd40d85aaaae | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# In[1]:
# import shapefile
# import finoa
# import shapely
import numpy as np
import matplotlib.pyplot as plt
get_ipython().run_line_magic('matplotlib', 'inline')
import pandas as pd
# from pyproj import Proj, transform
# import stateplane
# from datetime import datetime
impor... | 39.97757 | 151 | 0.647372 | 2,954 | 21,388 | 4.35545 | 0.104265 | 0.027981 | 0.031711 | 0.023628 | 0.817659 | 0.797217 | 0.771335 | 0.747085 | 0.724778 | 0.688481 | 0 | 0.04906 | 0.226155 | 21,388 | 534 | 152 | 40.052434 | 0.728294 | 0.050683 | 0 | 0.492163 | 0 | 0.003135 | 0.149932 | 0.108895 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040752 | false | 0 | 0.07837 | 0.003135 | 0.172414 | 0.003135 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
abbe75cc98d0bb552e2f98511f06e8b7446c348a | 21 | py | Python | nanome/_internal/_volumetric/_io/_em_map/__init__.py | nanome-ai/nanome-plugin-api | f2ce6a5e3123ee7449a90c2659f3891124289f4a | [
"MIT"
] | 3 | 2020-07-02T13:08:27.000Z | 2021-11-24T14:32:53.000Z | nanome/_internal/_volumetric/_io/_em_map/__init__.py | nanome-ai/nanome-plugin-api | f2ce6a5e3123ee7449a90c2659f3891124289f4a | [
"MIT"
] | 11 | 2020-09-14T17:01:47.000Z | 2022-02-18T04:00:52.000Z | nanome/_internal/_volumetric/_io/_em_map/__init__.py | nanome-ai/nanome-plugin-api | f2ce6a5e3123ee7449a90c2659f3891124289f4a | [
"MIT"
] | 5 | 2020-08-12T16:30:03.000Z | 2021-12-06T18:04:23.000Z | from . import _parse
| 10.5 | 20 | 0.761905 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 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 | 1 | 0 | 0 | 6 |
abcd0730075883c49ffc71f3c47672a8efd97a95 | 94 | py | Python | frappe/patches/v12_0/delete_feedback_request_if_exists.py | MochaTechnologies/frappe | 36417f96f2475386d70f32d2899db2c1c7aa9735 | [
"MIT"
] | null | null | null | frappe/patches/v12_0/delete_feedback_request_if_exists.py | MochaTechnologies/frappe | 36417f96f2475386d70f32d2899db2c1c7aa9735 | [
"MIT"
] | null | null | null | frappe/patches/v12_0/delete_feedback_request_if_exists.py | MochaTechnologies/frappe | 36417f96f2475386d70f32d2899db2c1c7aa9735 | [
"MIT"
] | 1 | 2021-02-06T10:38:18.000Z | 2021-02-06T10:38:18.000Z |
import frappe
def execute():
frappe.delete_doc_if_exists("DocType", "Feedback Request")
| 15.666667 | 62 | 0.744681 | 12 | 94 | 5.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 94 | 5 | 63 | 18.8 | 0.82716 | 0 | 0 | 0 | 0 | 0 | 0.247312 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 6 |
abef9d8c49627b0811f9fadbe4c58c7ace0b6aaf | 318 | py | Python | src/lingcomp/farm/__init__.py | CharlottePouw/interpreting-complexity | b9a73c0aff18e4c6b4209a6511d00639494c70da | [
"Apache-2.0"
] | 2 | 2020-12-18T12:26:22.000Z | 2020-12-19T18:47:07.000Z | src/lingcomp/farm/__init__.py | CharlottePouw/interpreting-complexity | b9a73c0aff18e4c6b4209a6511d00639494c70da | [
"Apache-2.0"
] | null | null | null | src/lingcomp/farm/__init__.py | CharlottePouw/interpreting-complexity | b9a73c0aff18e4c6b4209a6511d00639494c70da | [
"Apache-2.0"
] | 1 | 2021-05-19T13:39:45.000Z | 2021-05-19T13:39:45.000Z | from .features import FeaturesRegressionHead
from .language_model import CustomAdaptiveModel, CustomLanguageModel
from .multitask import MultitaskEvaluator, MultitaskTrainer
from .prediction_head import TokenRegressionHead
from .processor import CustomRegressionProcessor, InferenceProcessor, TokenRegressionProcessor
| 53 | 94 | 0.896226 | 26 | 318 | 10.884615 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 318 | 5 | 95 | 63.6 | 0.962585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e61b9fb2eb167d2c1ab0c0e4ea215ec8e38c2fcf | 225 | py | Python | eutl_scraper/items/__init__.py | KSilkThread/eutl_scraper | 0176e7d549e70322ac1f1310d184e12fa90741c2 | [
"MIT"
] | null | null | null | eutl_scraper/items/__init__.py | KSilkThread/eutl_scraper | 0176e7d549e70322ac1f1310d184e12fa90741c2 | [
"MIT"
] | null | null | null | eutl_scraper/items/__init__.py | KSilkThread/eutl_scraper | 0176e7d549e70322ac1f1310d184e12fa90741c2 | [
"MIT"
] | null | null | null | from .accountItems import AccountItem, ContactItem, AccountIDMapItem
from .installationItems import InstallationItem, ComplianceItem, SurrenderingDetailsItem
from .transactionItems import TransactionItem, TransactionBlockItem | 75 | 88 | 0.893333 | 17 | 225 | 11.823529 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071111 | 225 | 3 | 89 | 75 | 0.961722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e64eb0709547cf61a2e6504de8e255f79a0ed540 | 5,460 | py | Python | tests/test_calculate_random_infections.py | covid-19-impact-lab/sid | d867f55d4d005b01c672bd2edd0e1dc974cb182b | [
"MIT"
] | 18 | 2020-04-18T09:18:52.000Z | 2021-10-19T02:42:39.000Z | tests/test_calculate_random_infections.py | covid-19-impact-lab/sid | d867f55d4d005b01c672bd2edd0e1dc974cb182b | [
"MIT"
] | 143 | 2020-04-18T16:58:20.000Z | 2022-03-07T22:16:03.000Z | tests/test_calculate_random_infections.py | covid-19-impact-lab/sid | d867f55d4d005b01c672bd2edd0e1dc974cb182b | [
"MIT"
] | 1 | 2021-01-07T07:38:53.000Z | 2021-01-07T07:38:53.000Z | import numba as nb
import numpy as np
import pytest
from sid.contacts import _calculate_infections_by_random_contacts
@pytest.mark.unit
def test_random_contact_infects_susceptibles():
"""Individual infects random contacts within its and across groups."""
random_contacts = np.array([2, 1, 1]).reshape(-1, 1)
... | 31.744186 | 87 | 0.642308 | 741 | 5,460 | 4.510121 | 0.139001 | 0.022142 | 0.01526 | 0.072711 | 0.82675 | 0.786655 | 0.735787 | 0.708558 | 0.70018 | 0.687911 | 0 | 0.044994 | 0.222527 | 5,460 | 171 | 88 | 31.929825 | 0.742285 | 0.075092 | 0 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103704 | 1 | 0.022222 | false | 0 | 0.02963 | 0 | 0.051852 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0524f8476cea50362c5bb6ad3531feabb77a765f | 1,067 | py | Python | venv/lib/python2.7/types.py | sunlum/Deep-Semantic-Space-NST | 468ac2590385f48e65df12c1a3c9db0ed8d49477 | [
"MIT"
] | null | null | null | venv/lib/python2.7/types.py | sunlum/Deep-Semantic-Space-NST | 468ac2590385f48e65df12c1a3c9db0ed8d49477 | [
"MIT"
] | null | null | null | venv/lib/python2.7/types.py | sunlum/Deep-Semantic-Space-NST | 468ac2590385f48e65df12c1a3c9db0ed8d49477 | [
"MIT"
] | null | null | null | XSym
0033
19e4fe6b5fba275cfa63817605c40e9f
/anaconda2/lib/python2.7/types.py
... | 213.4 | 990 | 0.062793 | 9 | 1,067 | 7.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.356164 | 0.931584 | 1,067 | 5 | 990 | 213.4 | 0.561644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
05496e8de9c3773ff22615876b942084a77065b8 | 46 | py | Python | pathinby/__init__.py | shockry/pathinby | 9e30f50b0e8d6f1d6563b628e0e396cdf6475716 | [
"MIT"
] | null | null | null | pathinby/__init__.py | shockry/pathinby | 9e30f50b0e8d6f1d6563b628e0e396cdf6475716 | [
"MIT"
] | null | null | null | pathinby/__init__.py | shockry/pathinby | 9e30f50b0e8d6f1d6563b628e0e396cdf6475716 | [
"MIT"
] | null | null | null | from pathinby import create_path, format_line
| 23 | 45 | 0.869565 | 7 | 46 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 0.926829 | 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 | 1 | 0 | 0 | 6 |
055d1757bb7c31d20df81c3d9fe444f24637f110 | 142 | py | Python | src/mlscratch/chunk_generator/__init__.py | aicroe/mlscratch | 59100ea2a83fc8cd8ae617b686f6981d62073528 | [
"MIT"
] | null | null | null | src/mlscratch/chunk_generator/__init__.py | aicroe/mlscratch | 59100ea2a83fc8cd8ae617b686f6981d62073528 | [
"MIT"
] | 5 | 2019-10-16T03:15:19.000Z | 2019-12-14T19:38:43.000Z | src/mlscratch/chunk_generator/__init__.py | aicroe/mlscratch | 59100ea2a83fc8cd8ae617b686f6981d62073528 | [
"MIT"
] | null | null | null | """ChunkGenerator's package."""
from .chunk_generator import ChunkGenerator
from .random_mini_batch_generator import RandomMiniBatchGenerator
| 35.5 | 65 | 0.859155 | 15 | 142 | 7.866667 | 0.733333 | 0.254237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 142 | 3 | 66 | 47.333333 | 0.893939 | 0.176056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0565b65afc0374e97e23f6fe2a44ea93603ace02 | 2,298 | py | Python | code/functions.py | hamna-moieez/self-attention-image-recognition | 79c56203ea474a5d502080d7c8ce503f5c334b5c | [
"MIT"
] | 1 | 2021-03-06T06:15:07.000Z | 2021-03-06T06:15:07.000Z | code/functions.py | hamna-moieez/self-attention-image-recognition | 79c56203ea474a5d502080d7c8ce503f5c334b5c | [
"MIT"
] | null | null | null | code/functions.py | hamna-moieez/self-attention-image-recognition | 79c56203ea474a5d502080d7c8ce503f5c334b5c | [
"MIT"
] | null | null | null | import tensorflow as tf
import san
def aggregation(input_, weight, kernel_size, stride, padding, dilation, pad_mode):
n, c_x, c_w, in_height, in_width = input_.shape[0], input_.shape[1], weight.shape[1], input_.shape[2], input_.shape[3]
padding = (dilation * (kernel_size - 1) + 1) // 2
out_height = int((i... | 53.44186 | 122 | 0.653612 | 360 | 2,298 | 3.944444 | 0.136111 | 0.126761 | 0.133099 | 0.158451 | 0.806338 | 0.802113 | 0.789437 | 0.789437 | 0.733803 | 0.705634 | 0 | 0.039892 | 0.192776 | 2,298 | 42 | 123 | 54.714286 | 0.725606 | 0 | 0 | 0.558824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088235 | false | 0 | 0.058824 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0575b7d1bfebcfbfd677d42df6f4e63f74ee098a | 92 | py | Python | qy/resource/__init__.py | v2up/queyue | 0e6c034cb9eec8f4ab2f3e8983e78cb609a2af1d | [
"MIT"
] | null | null | null | qy/resource/__init__.py | v2up/queyue | 0e6c034cb9eec8f4ab2f3e8983e78cb609a2af1d | [
"MIT"
] | null | null | null | qy/resource/__init__.py | v2up/queyue | 0e6c034cb9eec8f4ab2f3e8983e78cb609a2af1d | [
"MIT"
] | null | null | null | from flask import Blueprint
resource = Blueprint('resource', __name__)
from . import views | 18.4 | 42 | 0.782609 | 11 | 92 | 6.181818 | 0.636364 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 5 | 43 | 18.4 | 0.860759 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 1 | 0 | 6 |
552ca9bbde18a708941054514d0a15c66564185a | 42 | py | Python | server/blueprints/enrichment/__init__.py | mmaltsev/onti40 | 4b00e7130e2dece80afd9680b38ebc311c1d60f5 | [
"MIT"
] | null | null | null | server/blueprints/enrichment/__init__.py | mmaltsev/onti40 | 4b00e7130e2dece80afd9680b38ebc311c1d60f5 | [
"MIT"
] | null | null | null | server/blueprints/enrichment/__init__.py | mmaltsev/onti40 | 4b00e7130e2dece80afd9680b38ebc311c1d60f5 | [
"MIT"
] | null | null | null | from .enrichment import enrichment_handler | 42 | 42 | 0.904762 | 5 | 42 | 7.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.948718 | 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 | 1 | 0 | 0 | 6 |
5542144446af6c1932d180529e5dcd81dde7f7b5 | 1,099 | py | Python | dice_simulator.py | suryansh1807/Dice_Simulator | 7207b0d85cebaa760d44c3109f80bc268ab8714a | [
"Unlicense"
] | null | null | null | dice_simulator.py | suryansh1807/Dice_Simulator | 7207b0d85cebaa760d44c3109f80bc268ab8714a | [
"Unlicense"
] | null | null | null | dice_simulator.py | suryansh1807/Dice_Simulator | 7207b0d85cebaa760d44c3109f80bc268ab8714a | [
"Unlicense"
] | null | null | null | import random
rolled = random.randint(1,6)
if rolled == 1:
print(" _____")
print("| |")
print("| |")
print("| 0 |")
print("| |")
print("|_____|")
if rolled == 2:
print(" _____")
print("| |")
print("| 0 |")
... | 21.98 | 37 | 0.316652 | 82 | 1,099 | 3.512195 | 0.158537 | 0.659722 | 0.34375 | 0.333333 | 0.784722 | 0.694444 | 0.194444 | 0.194444 | 0 | 0 | 0 | 0.050435 | 0.476797 | 1,099 | 49 | 38 | 22.428571 | 0.450435 | 0 | 0 | 0.818182 | 0 | 0 | 0.234957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022727 | 0 | 0.022727 | 0.818182 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
558eca386a4a61477359ae1139afe345c2af0fcf | 352 | py | Python | src/openpersonen/api/views/verblijfs_titel_historie.py | maykinmedia/open-personen | ddcf083ccd4eb864c5305bcd8bc75c6c64108272 | [
"RSA-MD"
] | 2 | 2020-08-26T11:24:43.000Z | 2021-07-28T09:46:40.000Z | src/openpersonen/api/views/verblijfs_titel_historie.py | maykinmedia/open-personen | ddcf083ccd4eb864c5305bcd8bc75c6c64108272 | [
"RSA-MD"
] | 153 | 2020-08-26T10:45:35.000Z | 2021-12-10T17:33:16.000Z | src/openpersonen/api/views/verblijfs_titel_historie.py | maykinmedia/open-personen | ddcf083ccd4eb864c5305bcd8bc75c6c64108272 | [
"RSA-MD"
] | null | null | null | from openpersonen.api.data_classes import VerblijfsTitelHistorie
from openpersonen.api.serializers import VerblijfsTitelHistorieSerializer
from openpersonen.api.views.base import HistorieViewSet
class VerblijfsTitelHistorieViewSet(HistorieViewSet):
serializer_class = VerblijfsTitelHistorieSerializer
instance... | 35.2 | 73 | 0.877841 | 29 | 352 | 10.551724 | 0.551724 | 0.156863 | 0.186275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088068 | 352 | 9 | 74 | 39.111111 | 0.953271 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 1 | 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 | 6 |
55acc3ddd1df28b1fc2c550b98e1c2d2893005d3 | 27 | py | Python | ktrain/text/qa/__init__.py | RobWillison/ktrain | 4c690bad3046a43c0cae7b86a8e28463f8cba0a8 | [
"Apache-2.0"
] | 2 | 2020-07-21T17:25:49.000Z | 2021-05-21T04:09:20.000Z | ktrain/text/qa/__init__.py | Shifath472533/ktrain | 3228f336ba5be4d317538c1b79f8ad0259892b2d | [
"Apache-2.0"
] | null | null | null | ktrain/text/qa/__init__.py | Shifath472533/ktrain | 3228f336ba5be4d317538c1b79f8ad0259892b2d | [
"Apache-2.0"
] | 3 | 2020-10-16T12:21:48.000Z | 2022-02-04T05:25:55.000Z | from .core import SimpleQA
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 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 | 1 | 0 | 0 | 6 |
e977bf4ca8233329339544871161dae7dd569502 | 26 | py | Python | tests/__init__.py | willygroup/logo2pdf | 40d0df44743970d41c3d50577f5bcf138e134a74 | [
"MIT"
] | 1 | 2022-03-12T07:22:30.000Z | 2022-03-12T07:22:30.000Z | tests/__init__.py | willygroup/logo2pdf | 40d0df44743970d41c3d50577f5bcf138e134a74 | [
"MIT"
] | 11 | 2022-03-11T18:05:47.000Z | 2022-03-28T14:23:34.000Z | tests/__init__.py | willygroup/logo2pdf | 40d0df44743970d41c3d50577f5bcf138e134a74 | [
"MIT"
] | null | null | null | # TODO Test Config module
| 13 | 25 | 0.769231 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 1 | 26 | 26 | 0.952381 | 0.884615 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e98dc6c3998bff595dc1775959e3fd3f58f71547 | 191 | py | Python | examples/test_download.py | tmulc18/DeepCTR | efd922cf685c5b50bdf7123194a9a9a57d5cdaea | [
"MIT"
] | null | null | null | examples/test_download.py | tmulc18/DeepCTR | efd922cf685c5b50bdf7123194a9a9a57d5cdaea | [
"MIT"
] | null | null | null | examples/test_download.py | tmulc18/DeepCTR | efd922cf685c5b50bdf7123194a9a9a57d5cdaea | [
"MIT"
] | null | null | null | from deepctr.dist_utils.download_utils import download_partition_s3
download_partition_s3(0, 1, "data", "s2019i-yunkzhou", "criteo_processed-competition", nthreads=20, nval=200,ntest=1000)
| 38.2 | 120 | 0.816754 | 27 | 191 | 5.518519 | 0.814815 | 0.228188 | 0.255034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095506 | 0.068063 | 191 | 4 | 121 | 47.75 | 0.741573 | 0 | 0 | 0 | 0 | 0 | 0.246073 | 0.146597 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e9988c393b0e4328d9fb1bda4caf530b3b2c67de | 7,307 | py | Python | tests/test_sudoku_solver.py | andre4k14/sudoku_solver | e7e308c23d7dd1e9a9349970d601a60554396d80 | [
"MIT"
] | null | null | null | tests/test_sudoku_solver.py | andre4k14/sudoku_solver | e7e308c23d7dd1e9a9349970d601a60554396d80 | [
"MIT"
] | null | null | null | tests/test_sudoku_solver.py | andre4k14/sudoku_solver | e7e308c23d7dd1e9a9349970d601a60554396d80 | [
"MIT"
] | null | null | null | import pytest
from sudoku_solver import solve_sudoku as sus
from sudoku_solver.sudokusolver import SudokuArray, SudokuSolver
import copy
test_1 = [[7, 9, 0, 2, 0, 0, 0, 6, 0],
[2, 0, 0, 4, 0, 3, 0, 0, 1],
[0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 7, 0, 0, 0, 0, 4, 0, 9],
[0, 0, 2, 8, 0, ... | 33.518349 | 92 | 0.380183 | 1,442 | 7,307 | 1.852288 | 0.067268 | 0.295769 | 0.287533 | 0.287533 | 0.638338 | 0.599027 | 0.491576 | 0.435792 | 0.426058 | 0.39386 | 0 | 0.256202 | 0.393185 | 7,307 | 217 | 93 | 33.672811 | 0.346189 | 0.016696 | 0 | 0.538889 | 0 | 0 | 0.014079 | 0.005715 | 0 | 0 | 0 | 0 | 0.022222 | 1 | 0.055556 | false | 0 | 0.022222 | 0 | 0.077778 | 0.011111 | 0 | 0 | 1 | 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 | 6 |
75b718f8ce9115d0f153ccf3b6914c5d30aadb02 | 28 | py | Python | component/model/__init__.py | 12rambau/planet_active_fires_explorer | 19c6643de65c50aaa90ea71981507138674c10e3 | [
"MIT"
] | null | null | null | component/model/__init__.py | 12rambau/planet_active_fires_explorer | 19c6643de65c50aaa90ea71981507138674c10e3 | [
"MIT"
] | 19 | 2021-07-08T08:16:24.000Z | 2021-11-23T20:05:58.000Z | component/model/__init__.py | 12rambau/planet_active_fires_explorer | 19c6643de65c50aaa90ea71981507138674c10e3 | [
"MIT"
] | 2 | 2021-07-14T07:24:18.000Z | 2021-11-18T21:32:53.000Z | from .alerts_model import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 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 | 1 | 0 | 0 | 6 |
75c0ec8403a400561e7749bb1b6ebcb1a831fbdb | 1,524 | py | Python | Python/PalindromicSubstrings.py | Jspsun/LEETCodePractice | 9dba8c0441201a188b93e4d39a0a9b7602857a5f | [
"MIT"
] | 3 | 2017-10-14T19:49:28.000Z | 2019-01-12T21:51:11.000Z | Python/PalindromicSubstrings.py | Jspsun/LEETCodePractice | 9dba8c0441201a188b93e4d39a0a9b7602857a5f | [
"MIT"
] | null | null | null | Python/PalindromicSubstrings.py | Jspsun/LEETCodePractice | 9dba8c0441201a188b93e4d39a0a9b7602857a5f | [
"MIT"
] | 5 | 2017-02-06T19:10:23.000Z | 2020-12-19T01:58:10.000Z | class Solution(object):
store = 0
def countSubstrings(self, s):
"""
:type s: str
:rtype: int
"""
self.store = 0
for i in xrange(len(s)):
self.expand(s, i, i)
self.expand(s, i, i+1)
return self.store
def expand(self, s, l, r)... | 60.96 | 1,036 | 0.807743 | 72 | 1,524 | 17.097222 | 0.402778 | 0.029245 | 0.017872 | 0.019496 | 0.021121 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005344 | 0.14042 | 1,524 | 24 | 1,037 | 63.5 | 0.934351 | 0.019029 | 0 | 0 | 0 | 0 | 0.695894 | 0.695894 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.071429 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f97fcb6ad383d36afd2673691360cc6673f1862c | 1,223 | py | Python | src/build/custom.py | gafiyatullin-a/simple-test-tool | 298af89d62007c3cb4ce2244fb016e70c8d0394e | [
"MIT"
] | null | null | null | src/build/custom.py | gafiyatullin-a/simple-test-tool | 298af89d62007c3cb4ce2244fb016e70c8d0394e | [
"MIT"
] | null | null | null | src/build/custom.py | gafiyatullin-a/simple-test-tool | 298af89d62007c3cb4ce2244fb016e70c8d0394e | [
"MIT"
] | null | null | null | from build.build import Build
import subprocess
class Custom(Build):
def _clean(self):
if self._pre_script_path != "":
build = subprocess.run(self._pre_script_path, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if build.returncode != 0:
self.get_logger().set_exe... | 38.21875 | 106 | 0.623876 | 144 | 1,223 | 4.965278 | 0.25 | 0.111888 | 0.072727 | 0.095105 | 0.85035 | 0.85035 | 0.760839 | 0.713287 | 0.713287 | 0.632168 | 0 | 0.00226 | 0.27637 | 1,223 | 31 | 107 | 39.451613 | 0.80565 | 0 | 0 | 0.434783 | 0 | 0 | 0.104661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.086957 | 0 | 0.391304 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f9b0973e8a47131ac9b89b58d0f46fb93b9c65a7 | 70 | py | Python | acq4/devices/DIOSwitch/__init__.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 47 | 2015-01-05T16:18:10.000Z | 2022-03-16T13:09:30.000Z | acq4/devices/DIOSwitch/__init__.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 48 | 2015-04-19T16:51:41.000Z | 2022-03-31T14:48:16.000Z | acq4/devices/DIOSwitch/__init__.py | sensapex/acq4 | 9561ba73caff42c609bd02270527858433862ad8 | [
"MIT"
] | 32 | 2015-01-15T14:11:49.000Z | 2021-07-15T13:44:52.000Z | from __future__ import print_function
from .DIOSwitch import DIOSwitch | 35 | 37 | 0.885714 | 9 | 70 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 70 | 2 | 38 | 35 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 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 | 1 | 0 | 6 |
f9e11d3e4bd4b1fa278633e3681176f69d00b0b9 | 98 | py | Python | tests/t16/test_n056.py | ablearthy/ege2021kp-problem-solution | 02fcf24adb1df2a92d19a73aaf9e335145169ba5 | [
"Unlicense"
] | null | null | null | tests/t16/test_n056.py | ablearthy/ege2021kp-problem-solution | 02fcf24adb1df2a92d19a73aaf9e335145169ba5 | [
"Unlicense"
] | null | null | null | tests/t16/test_n056.py | ablearthy/ege2021kp-problem-solution | 02fcf24adb1df2a92d19a73aaf9e335145169ba5 | [
"Unlicense"
] | null | null | null | from ege_problem_solution.t16.n056 import solve
def test_solve():
assert solve(1000) == 384
| 16.333333 | 47 | 0.744898 | 15 | 98 | 4.666667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 0.163265 | 98 | 5 | 48 | 19.6 | 0.707317 | 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 | 1 | 0 | 0 | 6 |
ddf84807bb54b120f477c419d1aee31cf8592aaa | 71 | py | Python | keras_segmentation/__init__.py | NarmadaBalasooriya/image-segmentation-keras | 80988dc5392c2802046600c702e324507adb9f05 | [
"MIT"
] | null | null | null | keras_segmentation/__init__.py | NarmadaBalasooriya/image-segmentation-keras | 80988dc5392c2802046600c702e324507adb9f05 | [
"MIT"
] | null | null | null | keras_segmentation/__init__.py | NarmadaBalasooriya/image-segmentation-keras | 80988dc5392c2802046600c702e324507adb9f05 | [
"MIT"
] | null | null | null | from . import models
from . import predict
from . import pretrained
| 17.75 | 25 | 0.746479 | 9 | 71 | 5.888889 | 0.555556 | 0.566038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211268 | 71 | 3 | 26 | 23.666667 | 0.946429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
ddff8cf5abab786826f939acc9b0478b7c7d8a96 | 48 | py | Python | angr/analyses/decompiler/region_simplifiers/__init__.py | r4b3rt/angr | c133cfd4f83ffea2a1d9e064241e9459eaabc55f | [
"BSD-2-Clause"
] | null | null | null | angr/analyses/decompiler/region_simplifiers/__init__.py | r4b3rt/angr | c133cfd4f83ffea2a1d9e064241e9459eaabc55f | [
"BSD-2-Clause"
] | null | null | null | angr/analyses/decompiler/region_simplifiers/__init__.py | r4b3rt/angr | c133cfd4f83ffea2a1d9e064241e9459eaabc55f | [
"BSD-2-Clause"
] | null | null | null | from .region_simplifier import RegionSimplifier
| 24 | 47 | 0.895833 | 5 | 48 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 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 | 1 | 0 | 0 | 6 |
9b86783dd562be4d2fd80ff6236dd2a931795b71 | 81 | py | Python | scratchpads/sqlalc_tests/models/media.py | devdave/pysongman | e4cb62d780918426322c41dedec8950150f934d5 | [
"MIT"
] | 1 | 2021-04-05T18:45:21.000Z | 2021-04-05T18:45:21.000Z | scratchpads/sqlalc_tests/models/media.py | devdave/pysongman | e4cb62d780918426322c41dedec8950150f934d5 | [
"MIT"
] | null | null | null | scratchpads/sqlalc_tests/models/media.py | devdave/pysongman | e4cb62d780918426322c41dedec8950150f934d5 | [
"MIT"
] | null | null | null |
from . import initialize_db
from .base import Base
class Media(Base):
pass | 11.571429 | 27 | 0.728395 | 12 | 81 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209877 | 81 | 7 | 28 | 11.571429 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 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 | 1 | 0 | 0 | 6 |
32e4e01b8905f11e08ec754ab34b5b01e8d3d2d6 | 399 | py | Python | examples/impossible1.py | andrewhalle/sudoku_solver | 56b88c49a3637449507a9afa66ec3d617d2118a5 | [
"MIT"
] | null | null | null | examples/impossible1.py | andrewhalle/sudoku_solver | 56b88c49a3637449507a9afa66ec3d617d2118a5 | [
"MIT"
] | null | null | null | examples/impossible1.py | andrewhalle/sudoku_solver | 56b88c49a3637449507a9afa66ec3d617d2118a5 | [
"MIT"
] | null | null | null | from sudoku_solver import Sudoku
data = [
[8, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 3, 6, 0, 0, 0, 0, 0],
[0, 7, 0, 0, 9, 0, 2, 0, 0],
[0, 5, 0, 0, 0, 7, 0, 0, 0],
[0, 0, 0, 0, 4, 5, 7, 0, 0],
[0, 0, 0, 1, 0, 0, 0, 3, 0],
[0, 0, 1, 0, 0, 0, 0, 6, 8],
[0, 0, 8, 5, 0, 0, 0, 1, 0],
[0, 9, 0,... | 19.95 | 32 | 0.37594 | 97 | 399 | 1.536082 | 0.195876 | 0.590604 | 0.583893 | 0.483221 | 0.395973 | 0.355705 | 0.208054 | 0.067114 | 0.067114 | 0 | 0 | 0.30566 | 0.33584 | 399 | 19 | 33 | 21 | 0.256604 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0.058824 | 0 | 0 | 1 | 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 | 6 |
fd1ec5deb02a7c9154c167261cf94952f60aa92c | 39,104 | py | Python | saferequests/saferequests.py | xopy-io/saferequests | c22a9b6af941742642dd9d0a15244413cd5369a7 | [
"MIT"
] | null | null | null | saferequests/saferequests.py | xopy-io/saferequests | c22a9b6af941742642dd9d0a15244413cd5369a7 | [
"MIT"
] | null | null | null | saferequests/saferequests.py | xopy-io/saferequests | c22a9b6af941742642dd9d0a15244413cd5369a7 | [
"MIT"
] | null | null | null | import requests
import time
from typing import List, Union, Tuple
import logging
from datetime import datetime, timedelta
from collections.abc import Mapping
from requests.structures import CaseInsensitiveDict
from urllib.parse import parse_qs, urlparse
DEFAULT_EXCEPTIONS = (requests.exceptions.ConnectionError,
... | 37.527831 | 136 | 0.546261 | 4,128 | 39,104 | 5.041424 | 0.077519 | 0.031137 | 0.011677 | 0.018163 | 0.872856 | 0.862284 | 0.849647 | 0.847485 | 0.843016 | 0.83624 | 0 | 0.005422 | 0.3538 | 39,104 | 1,041 | 137 | 37.563881 | 0.818157 | 0.526391 | 0 | 0.648571 | 0 | 0 | 0.103788 | 0.062327 | 0 | 0 | 0 | 0 | 0 | 1 | 0.14 | false | 0 | 0.022857 | 0.06 | 0.317143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fd2f8e2026925bdb9a9cd68d0afaf2786f019a48 | 23 | py | Python | maestro/__init__.py | ShawnHymel/robo-interact-skill | d8baa4920270c1d576a7ba0b5ad211564c1c2797 | [
"Apache-2.0"
] | null | null | null | maestro/__init__.py | ShawnHymel/robo-interact-skill | d8baa4920270c1d576a7ba0b5ad211564c1c2797 | [
"Apache-2.0"
] | null | null | null | maestro/__init__.py | ShawnHymel/robo-interact-skill | d8baa4920270c1d576a7ba0b5ad211564c1c2797 | [
"Apache-2.0"
] | null | null | null | from .maestro import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 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 | 1 | 0 | 0 | 6 |
b5ba027bbf744a090ffd2a2585a99efc0e5ac634 | 30 | py | Python | src/biblishelf_plugin_archiving/hook/__init__.py | x007007007/biblishelf | a79b105f6929ecc9df41b1e74a92713212cd06fa | [
"MIT"
] | null | null | null | src/biblishelf_plugin_archiving/hook/__init__.py | x007007007/biblishelf | a79b105f6929ecc9df41b1e74a92713212cd06fa | [
"MIT"
] | 3 | 2018-01-28T15:17:55.000Z | 2018-01-31T09:21:01.000Z | src/biblishelf_plugin_archiving/hook/__init__.py | x007007007/biblishelf | a79b105f6929ecc9df41b1e74a92713212cd06fa | [
"MIT"
] | 1 | 2018-01-27T13:49:51.000Z | 2018-01-27T13:49:51.000Z | from .zip import ZipScanHooker | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 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 | 1 | 0 | 0 | 6 |
b5d05264599ff8be23bac14f71567904aa5179b1 | 81 | py | Python | __init__.py | tsuji29/Pulse_Generator | 18596e6cdc2ddb48e5844d4f97162059011676ec | [
"MIT"
] | null | null | null | __init__.py | tsuji29/Pulse_Generator | 18596e6cdc2ddb48e5844d4f97162059011676ec | [
"MIT"
] | null | null | null | __init__.py | tsuji29/Pulse_Generator | 18596e6cdc2ddb48e5844d4f97162059011676ec | [
"MIT"
] | null | null | null | from .pulse_func import *
from .sequence_generator import *
from .qubits import * | 27 | 33 | 0.790123 | 11 | 81 | 5.636364 | 0.636364 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 81 | 3 | 34 | 27 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
b5e99e8b409fd19f8b8d2ea45b7fb9680ee8d227 | 30 | py | Python | hpds/heaps/__init__.py | dskoda1/hpds | eb4ef1928753567f77ff90c5ea960db119fd0a33 | [
"BSD-2-Clause"
] | null | null | null | hpds/heaps/__init__.py | dskoda1/hpds | eb4ef1928753567f77ff90c5ea960db119fd0a33 | [
"BSD-2-Clause"
] | null | null | null | hpds/heaps/__init__.py | dskoda1/hpds | eb4ef1928753567f77ff90c5ea960db119fd0a33 | [
"BSD-2-Clause"
] | null | null | null | from .min_heap import MinHeap
| 15 | 29 | 0.833333 | 5 | 30 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 | 6 |
b5f79a2242c0c9dadec624046f54532b118c01c0 | 102 | py | Python | PyCharm/Primer_13.py | tamaranesterenko/Python.LR_11 | 6858c25e7513eac8e157a74a14835012df0f5701 | [
"MIT"
] | null | null | null | PyCharm/Primer_13.py | tamaranesterenko/Python.LR_11 | 6858c25e7513eac8e157a74a14835012df0f5701 | [
"MIT"
] | null | null | null | PyCharm/Primer_13.py | tamaranesterenko/Python.LR_11 | 6858c25e7513eac8e157a74a14835012df0f5701 | [
"MIT"
] | null | null | null | def one_or_many(*a):
print(a)
one_or_many(1)
one_or_many('1', 1, 2, 'abc')
one_or_many()
| 12.75 | 30 | 0.598039 | 21 | 102 | 2.52381 | 0.428571 | 0.377358 | 0.679245 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.215686 | 102 | 7 | 31 | 14.571429 | 0.6125 | 0 | 0 | 0 | 0 | 0 | 0.042105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0 | 0 | 0.2 | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bd0e1d326520d1eb89da737ee5d068d4755a834f | 275 | py | Python | Codewars/7kyu/simple-remove-duplicates/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/7kyu/simple-remove-duplicates/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/7kyu/simple-remove-duplicates/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
Test.it('Basic tests')
Test.assert_equals(solve([3, 4, 4, 3, 6, 3]), [4, 6, 3])
Test.assert_equals(solve([1, 2, 1, 2, 1, 2, 3]), [1, 2, 3])
Test.assert_equals(solve([1, 2, 3, 4]), [1, 2, 3, 4])
Test.assert_equals(solve([1, 1, 4, 5, 1, 2, 1]), [4, 5, 2, 1])
| 34.375 | 62 | 0.549091 | 62 | 275 | 2.370968 | 0.241935 | 0.095238 | 0.435374 | 0.571429 | 0.47619 | 0.326531 | 0.326531 | 0 | 0 | 0 | 0 | 0.178261 | 0.163636 | 275 | 7 | 63 | 39.285714 | 0.46087 | 0.050909 | 0 | 0 | 0 | 0 | 0.042471 | 0 | 0 | 0 | 0 | 0 | 0.8 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bd410fc21a3c9f3c6e8747b9f5ac7b1ff76fad70 | 32 | py | Python | lambda.py | kingRovo/PythonCodingChalenge | b62938592df10ccafec9930b69c14c778e19ad37 | [
"bzip2-1.0.6"
] | 1 | 2021-08-02T16:52:55.000Z | 2021-08-02T16:52:55.000Z | lambda.py | kingRovo/PythonCodingChalenge | b62938592df10ccafec9930b69c14c778e19ad37 | [
"bzip2-1.0.6"
] | null | null | null | lambda.py | kingRovo/PythonCodingChalenge | b62938592df10ccafec9930b69c14c778e19ad37 | [
"bzip2-1.0.6"
] | null | null | null | a=lambda z,x:z*x;
print(a(3,5))
| 10.666667 | 17 | 0.59375 | 10 | 32 | 1.9 | 0.7 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.09375 | 32 | 2 | 18 | 16 | 0.586207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
bd487fa7bad24c11c98acf88b9edbfa12ef7f0a6 | 45 | py | Python | nbsetuptools/__init__.py | rajesh-ibm-power/nbsetuptools | 171a389b8a764c505a2e8c760b1a61dc660da834 | [
"BSD-3-Clause"
] | 1 | 2015-12-09T23:36:38.000Z | 2015-12-09T23:36:38.000Z | nbsetuptools/__init__.py | rajesh-ibm-power/nbsetuptools | 171a389b8a764c505a2e8c760b1a61dc660da834 | [
"BSD-3-Clause"
] | 11 | 2015-12-11T03:01:57.000Z | 2016-04-06T17:08:03.000Z | nbsetuptools/__init__.py | rajesh-ibm-power/nbsetuptools | 171a389b8a764c505a2e8c760b1a61dc660da834 | [
"BSD-3-Clause"
] | 3 | 2016-09-12T06:20:28.000Z | 2021-02-01T12:45:48.000Z | from .nbsetuptools import setup, find_static
| 22.5 | 44 | 0.844444 | 6 | 45 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.925 | 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 | 1 | 0 | 0 | 6 |
1fc41760b86eb7c38a8893d16e4c4cd0b346174a | 84 | py | Python | source/application/views/__init__.py | wangkexiong/flask4gae | dcefb49dce51be6b716352c1d3021fe8e501e5ff | [
"MIT",
"CC-BY-3.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 1 | 2016-08-17T04:35:45.000Z | 2016-08-17T04:35:45.000Z | source/application/views/__init__.py | wangkexiong/flask4gae | dcefb49dce51be6b716352c1d3021fe8e501e5ff | [
"MIT",
"CC-BY-3.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | source/application/views/__init__.py | wangkexiong/flask4gae | dcefb49dce51be6b716352c1d3021fe8e501e5ff | [
"MIT",
"CC-BY-3.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | # -*- coding:utf-8 -*-
from .rootbp import RootBP
from .examplebp import ExampleBP
| 84 | 84 | 0.714286 | 11 | 84 | 5.454545 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.154762 | 84 | 1 | 84 | 84 | 0.830986 | 0.964286 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
952cc25ec84bd8ba368be69731d7375c01b8e725 | 49 | py | Python | projects/cloudmersive-virus-api-client/test.py | fleimgruber/python | 2e735762c73651cffc027ca850b2a58d87d54b49 | [
"Unlicense"
] | 25 | 2021-10-30T19:54:59.000Z | 2022-03-29T06:11:02.000Z | projects/cloudmersive-virus-api-client/test.py | fleimgruber/python | 2e735762c73651cffc027ca850b2a58d87d54b49 | [
"Unlicense"
] | 21 | 2021-10-19T01:09:38.000Z | 2022-03-24T16:08:53.000Z | projects/cloudmersive-virus-api-client/test.py | fleimgruber/python | 2e735762c73651cffc027ca850b2a58d87d54b49 | [
"Unlicense"
] | 3 | 2022-01-25T20:25:13.000Z | 2022-03-08T02:58:50.000Z | import cloudmersive_virus_api_client
import test
| 16.333333 | 36 | 0.918367 | 7 | 49 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 2 | 37 | 24.5 | 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 | 1 | 0 | 0 | 6 |
2f418bcb8b7812318651578459c4e752d9eef920 | 75 | py | Python | devices/servers/server_default.py | Saldenisov/pyconlyse | 1de301b4a4c15ee0bd19034aa8d5da1beacfd124 | [
"MIT"
] | null | null | null | devices/servers/server_default.py | Saldenisov/pyconlyse | 1de301b4a4c15ee0bd19034aa8d5da1beacfd124 | [
"MIT"
] | null | null | null | devices/servers/server_default.py | Saldenisov/pyconlyse | 1de301b4a4c15ee0bd19034aa8d5da1beacfd124 | [
"MIT"
] | null | null | null | from devices.devices import Server
class Server_default(Server):
pass | 15 | 34 | 0.786667 | 10 | 75 | 5.8 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 5 | 35 | 15 | 0.920635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2f5f6b95b02c5862ecc1f074058a869b5492c676 | 104 | py | Python | keras_gpt_2/__init__.py | DiscreetAI/keras-gpt-2-doublehead | ec77b17a8e5888979018c9e056a02bd9ad5c8d3d | [
"MIT"
] | null | null | null | keras_gpt_2/__init__.py | DiscreetAI/keras-gpt-2-doublehead | ec77b17a8e5888979018c9e056a02bd9ad5c8d3d | [
"MIT"
] | 7 | 2020-01-28T22:56:37.000Z | 2021-05-21T15:49:46.000Z | keras_gpt_2/__init__.py | neeleshdodda44/keras-gpt-2-doublehead | ec77b17a8e5888979018c9e056a02bd9ad5c8d3d | [
"MIT"
] | null | null | null | from .model import *
from .loader import *
from .bpe import *
from .gen import *
from .metrics import *
| 17.333333 | 22 | 0.711538 | 15 | 104 | 4.933333 | 0.466667 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 104 | 5 | 23 | 20.8 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
2f795dd4a0235cf2fb350602dcac8618df1f5989 | 31 | py | Python | murt/__init__.py | tamsri/murt | 180dbb0d09ab50dfdaa1be843475f20a86651ea2 | [
"MIT"
] | 4 | 2021-06-19T08:38:47.000Z | 2022-01-10T21:10:38.000Z | murt/__init__.py | tamsri/murt | 180dbb0d09ab50dfdaa1be843475f20a86651ea2 | [
"MIT"
] | 1 | 2021-05-26T12:08:01.000Z | 2021-05-26T12:08:01.000Z | murt/__init__.py | tamsri/murt | 180dbb0d09ab50dfdaa1be843475f20a86651ea2 | [
"MIT"
] | 2 | 2022-01-24T11:04:46.000Z | 2022-02-23T22:26:42.000Z | from murt.engine import Tracer
| 15.5 | 30 | 0.83871 | 5 | 31 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 | 1 | 0 | 0 | 6 |
2f933b1f111d0541c080b637fd30e437ae93e162 | 65 | py | Python | tests/ssh/__init__.py | Arsh0023/netengine | dd0264cfdc03d630774c9e3bfb5c19310444837b | [
"X11"
] | 1 | 2020-08-06T06:38:11.000Z | 2020-08-06T06:38:11.000Z | tests/ssh/__init__.py | shildenbrand/NetEngine | 86da540aa9f0aeb7448ac74829f4443af119b2b6 | [
"X11"
] | null | null | null | tests/ssh/__init__.py | shildenbrand/NetEngine | 86da540aa9f0aeb7448ac74829f4443af119b2b6 | [
"X11"
] | null | null | null | from .base import *
from .openwrt import *
from .airos import * | 21.666667 | 23 | 0.707692 | 9 | 65 | 5.111111 | 0.555556 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 65 | 3 | 24 | 21.666667 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
2f9a29f00526b1e90f00db0ff4617f9f5c309516 | 51,003 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_spirit_install_instmgr_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_spirit_install_instmgr_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_spirit_install_instmgr_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
import re
import collections
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI... | 50.249261 | 219 | 0.563673 | 4,636 | 51,003 | 5.905738 | 0.042709 | 0.097885 | 0.122357 | 0.146097 | 0.842215 | 0.801892 | 0.743599 | 0.711312 | 0.701487 | 0.673765 | 0 | 0.004055 | 0.303806 | 51,003 | 1,014 | 220 | 50.298817 | 0.76701 | 0 | 0 | 0.537378 | 0 | 0 | 0.491952 | 0.383108 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008667 | 0 | 0.008667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c80c23388658a0965b9ed89894410ea37cf4a7cd | 82 | py | Python | utils/visualize.py | Mauriyin/TNT_pytorch | fed7e182a45e5cf74d827f090d72251eedbd7cc1 | [
"Apache-2.0"
] | 1 | 2020-09-27T05:17:46.000Z | 2020-09-27T05:17:46.000Z | utils/visualize.py | Mauriyin/TNT_pytorch | fed7e182a45e5cf74d827f090d72251eedbd7cc1 | [
"Apache-2.0"
] | null | null | null | utils/visualize.py | Mauriyin/TNT_pytorch | fed7e182a45e5cf74d827f090d72251eedbd7cc1 | [
"Apache-2.0"
] | null | null | null | import cv2
def write_to_img(visual_dict, img_path):
"""
"""
pass
| 11.714286 | 40 | 0.573171 | 11 | 82 | 3.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.304878 | 82 | 7 | 41 | 11.714286 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
c856881b96c01755fe75dd55b3036d417b0b4fca | 180 | py | Python | tests/conftest.py | architek/yggscr | a0130f9374c4e4e3e3f397a8e0588b3852fcba24 | [
"ISC"
] | 2 | 2019-02-09T03:36:03.000Z | 2020-09-29T17:04:39.000Z | tests/conftest.py | architek/yggscr | a0130f9374c4e4e3e3f397a8e0588b3852fcba24 | [
"ISC"
] | 6 | 2018-08-05T21:59:22.000Z | 2019-02-20T20:45:07.000Z | tests/conftest.py | architek/yggscr | a0130f9374c4e4e3e3f397a8e0588b3852fcba24 | [
"ISC"
] | 1 | 2019-04-15T19:24:39.000Z | 2019-04-15T19:24:39.000Z | # content of conftest.py
import pytest
#@pytest.fixture(scope="noreq", autouse=True)
#def no_requests(monkeypatch):
# monkeypatch.delattr("requests.sessions.Session.request")
| 22.5 | 61 | 0.766667 | 22 | 180 | 6.227273 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094444 | 180 | 7 | 62 | 25.714286 | 0.840491 | 0.861111 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c0a7f77b762b29ca53b250304a131eb27d385970 | 42 | py | Python | models/__init__.py | Sirius79/OpenAI | 372a1a852cd3191dc1e9ece218651123ee01da5c | [
"Apache-2.0"
] | null | null | null | models/__init__.py | Sirius79/OpenAI | 372a1a852cd3191dc1e9ece218651123ee01da5c | [
"Apache-2.0"
] | null | null | null | models/__init__.py | Sirius79/OpenAI | 372a1a852cd3191dc1e9ece218651123ee01da5c | [
"Apache-2.0"
] | null | null | null | from rnn import *
from attention import *
| 14 | 23 | 0.761905 | 6 | 42 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 24 | 21 | 0.941176 | 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 | 1 | 0 | 0 | 6 |
c0c32ab4e3e77e19e5a030b20df3f6b47b60ca0f | 79 | py | Python | old-projects/dice.py | waitblock/gists | 3dfe65a4f0f593ab4378eb3b518c98e2e882844d | [
"MIT"
] | 3 | 2021-06-10T18:44:28.000Z | 2021-11-19T02:48:38.000Z | old-projects/dice.py | waitblock/side-projects | 3dfe65a4f0f593ab4378eb3b518c98e2e882844d | [
"MIT"
] | null | null | null | old-projects/dice.py | waitblock/side-projects | 3dfe65a4f0f593ab4378eb3b518c98e2e882844d | [
"MIT"
] | null | null | null | import random
x=random.randint(1,6)
y=random.randint(1,6)
print x
print y
| 13.166667 | 22 | 0.708861 | 16 | 79 | 3.5 | 0.5 | 0.464286 | 0.5 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.164557 | 79 | 5 | 23 | 15.8 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c0da5ffcce5ef85830dffe376ca904d52376eb76 | 29 | py | Python | test02-devel.py | Lunadox/rafa_test_algorithm | e7c1af313157698e8351e24b19d54833d9a0caab | [
"Apache-2.0"
] | null | null | null | test02-devel.py | Lunadox/rafa_test_algorithm | e7c1af313157698e8351e24b19d54833d9a0caab | [
"Apache-2.0"
] | null | null | null | test02-devel.py | Lunadox/rafa_test_algorithm | e7c1af313157698e8351e24b19d54833d9a0caab | [
"Apache-2.0"
] | null | null | null | import os
# test02_devel에 위치 | 9.666667 | 18 | 0.793103 | 5 | 29 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.172414 | 29 | 3 | 18 | 9.666667 | 0.833333 | 0.551724 | 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 | 1 | 0 | 0 | 6 |
c0e7ae738b17013d90e30e4876bd2dda84ccfa8a | 128 | py | Python | menpofit/clm/expert/__init__.py | yuxiang-zhou/menpofit | a74d87df8979c683019ea518bcf7729a76cc603d | [
"BSD-3-Clause"
] | 124 | 2015-01-12T07:39:18.000Z | 2022-03-31T05:27:07.000Z | menpofit/clm/expert/__init__.py | yuxiang-zhou/menpofit | a74d87df8979c683019ea518bcf7729a76cc603d | [
"BSD-3-Clause"
] | 80 | 2015-01-05T16:17:39.000Z | 2020-11-22T13:42:00.000Z | menpofit/clm/expert/__init__.py | yuxiang-zhou/menpofit | a74d87df8979c683019ea518bcf7729a76cc603d | [
"BSD-3-Clause"
] | 64 | 2015-02-02T15:11:38.000Z | 2022-02-28T06:19:31.000Z | from .ensemble import ExpertEnsemble, CorrelationFilterExpertEnsemble
from .base import IncrementalCorrelationFilterThinWrapper
| 42.666667 | 69 | 0.90625 | 9 | 128 | 12.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070313 | 128 | 2 | 70 | 64 | 0.97479 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c0ec037e7c2a765761ca727c722283e68af5de42 | 3,613 | py | Python | xmatters/objects/plan_properties.py | hcallen/python-xmatters | 122b029c1f592e58b39a3a84a17123c2de14951c | [
"MIT"
] | null | null | null | xmatters/objects/plan_properties.py | hcallen/python-xmatters | 122b029c1f592e58b39a3a84a17123c2de14951c | [
"MIT"
] | null | null | null | xmatters/objects/plan_properties.py | hcallen/python-xmatters | 122b029c1f592e58b39a3a84a17123c2de14951c | [
"MIT"
] | null | null | null | import xmatters.connection
class Property(xmatters.connection.ApiBase):
def __init__(self, parent, data):
super(Property, self).__init__(parent, data)
self.id = data.get('id') #: :vartype: str
self.property_type = data.get('propertyType') #: :vartype: str
self.name = data.get('na... | 31.692982 | 71 | 0.618046 | 405 | 3,613 | 4.940741 | 0.118519 | 0.083958 | 0.062969 | 0.067966 | 0.757121 | 0.746127 | 0.733133 | 0.614193 | 0.614193 | 0.614193 | 0 | 0 | 0.227235 | 3,613 | 113 | 72 | 31.973451 | 0.716691 | 0.101301 | 0 | 0.679012 | 0 | 0 | 0.066088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0.024691 | 0.012346 | 0.197531 | 0.604938 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
23ba5be34cb85c26cf81778c5523508566ea79c9 | 1,377 | py | Python | temboo/core/Library/PayPal/Payments/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/PayPal/Payments/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/PayPal/Payments/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.PayPal.Payments.AcceptPayPalPayment import AcceptPayPalPayment, AcceptPayPalPaymentInputSet, AcceptPayPalPaymentResultSet, AcceptPayPalPaymentChoreographyExecution
from temboo.Library.PayPal.Payments.ExecutePayment import ExecutePayment, ExecutePaymentInputSet, ExecutePaymentResultSet, ExecutePaymen... | 153 | 203 | 0.918664 | 88 | 1,377 | 14.375 | 0.431818 | 0.063241 | 0.10751 | 0.145455 | 0.196047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040668 | 1,377 | 8 | 204 | 172.125 | 0.957608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f1cd3cef8759f96642bd87a3d054325b7b7f4a5b | 28 | py | Python | test-packages/package-test-plugins/testplugin/bar/__init__.py | EvanPlettGML/straight.plugin | 0b505f6a4be862289b18a822ad467f512e3dbab2 | [
"MIT"
] | 72 | 2015-02-13T21:16:38.000Z | 2022-02-22T12:48:26.000Z | test-packages/package-test-plugins/testplugin/bar/__init__.py | EvanPlettGML/straight.plugin | 0b505f6a4be862289b18a822ad467f512e3dbab2 | [
"MIT"
] | 15 | 2015-05-07T21:52:58.000Z | 2022-02-25T15:39:19.000Z | test-packages/package-test-plugins/testplugin/bar/__init__.py | EvanPlettGML/straight.plugin | 0b505f6a4be862289b18a822ad467f512e3dbab2 | [
"MIT"
] | 10 | 2015-02-13T21:16:40.000Z | 2021-08-12T20:47:51.000Z | def do(i):
return i + 1
| 9.333333 | 16 | 0.5 | 6 | 28 | 2.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.357143 | 28 | 2 | 17 | 14 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9e27ebd32f5120dfa26403f29051155125f8e312 | 216 | py | Python | python/client/lib/event/genernal.py | hy172574895/EasyCompleteYou | 45304558cbd12769feb5c845c205b22c5d805ac2 | [
"WTFPL"
] | 14 | 2020-02-12T07:03:12.000Z | 2022-01-08T22:15:59.000Z | python/client/lib/event/genernal.py | hy172574895/EasyCompleteYou | 45304558cbd12769feb5c845c205b22c5d805ac2 | [
"WTFPL"
] | 2 | 2020-02-24T17:01:20.000Z | 2020-10-11T10:37:33.000Z | python/client/lib/event/genernal.py | hy172574895/EasyCompleteYou | 45304558cbd12769feb5c845c205b22c5d805ac2 | [
"WTFPL"
] | 1 | 2021-04-10T06:42:20.000Z | 2021-04-10T06:42:20.000Z | # Author: Jimmy Huang (1902161621@qq.com)
# License: WTFPL
import ECY.utils.scope as scope_
class GenernalEvent(scope_.Event):
def __init__(self, source_name):
scope_.Event.__init__(self, source_name)
| 21.6 | 48 | 0.736111 | 29 | 216 | 5.034483 | 0.724138 | 0.136986 | 0.191781 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054945 | 0.157407 | 216 | 9 | 49 | 24 | 0.747253 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
9e2d92bd74afeb262f1f3e8cd2eae3690b0b4724 | 4,076 | py | Python | tests/test_pipelines.py | sethvargo/scrapy-s3pipeline | 1a11de83c51c3863b471d806583fa5f3a5a6464a | [
"MIT"
] | 77 | 2017-12-07T11:31:14.000Z | 2022-03-18T21:08:33.000Z | tests/test_pipelines.py | sethvargo/scrapy-s3pipeline | 1a11de83c51c3863b471d806583fa5f3a5a6464a | [
"MIT"
] | 7 | 2019-04-19T23:55:22.000Z | 2021-03-06T22:22:37.000Z | tests/test_pipelines.py | sethvargo/scrapy-s3pipeline | 1a11de83c51c3863b471d806583fa5f3a5a6464a | [
"MIT"
] | 14 | 2017-12-07T11:31:42.000Z | 2022-03-18T20:54:09.000Z | from unittest import TestCase
from scrapy.exporters import JsonLinesItemExporter, JsonItemExporter
from scrapy.settings import BaseSettings, default_settings
from s3pipeline import S3Pipeline
from s3pipeline.strategies.s3 import S3Strategy
from s3pipeline.strategies.gcs import GCSStrategy
class TestPipelineSettings(... | 38.45283 | 95 | 0.673454 | 447 | 4,076 | 5.903803 | 0.138702 | 0.078818 | 0.103069 | 0.068208 | 0.838954 | 0.81205 | 0.80864 | 0.802577 | 0.704055 | 0.704055 | 0 | 0.024489 | 0.208538 | 4,076 | 105 | 96 | 38.819048 | 0.793552 | 0 | 0 | 0.641975 | 0 | 0 | 0.208538 | 0.131992 | 0 | 0 | 0 | 0 | 0.271605 | 1 | 0.098765 | false | 0 | 0.074074 | 0 | 0.185185 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9e444913a6c7462647bdfb83c8698b93f370d0f3 | 87 | py | Python | kits19cnn/models/nnunet/__init__.py | Ramsha04/kits19_cnn | 0c1c861ca1a211a840a77e52895548e8d8033470 | [
"Apache-2.0"
] | 15 | 2019-08-07T06:27:54.000Z | 2022-03-20T20:20:06.000Z | kits19cnn/models/nnunet/__init__.py | Ramsha04/kits19_cnn | 0c1c861ca1a211a840a77e52895548e8d8033470 | [
"Apache-2.0"
] | 14 | 2019-08-05T12:57:26.000Z | 2019-12-09T06:45:45.000Z | kits19cnn/models/nnunet/__init__.py | Ramsha04/kits19_cnn | 0c1c861ca1a211a840a77e52895548e8d8033470 | [
"Apache-2.0"
] | 4 | 2019-08-13T08:49:32.000Z | 2022-02-04T14:07:36.000Z | from .neural_network import SegmentationNetwork
from .generic_UNet import Generic_UNet
| 29 | 47 | 0.885057 | 11 | 87 | 6.727273 | 0.636364 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 87 | 2 | 48 | 43.5 | 0.936709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
9e45159300eb9a171b26ed3972453105d2fecda6 | 38 | py | Python | pyronear/datasets/wildfire/__init__.py | JoaoFdC/PyroNear | ca56316d5ad986789feace9dd913115596f6c2ca | [
"MIT"
] | null | null | null | pyronear/datasets/wildfire/__init__.py | JoaoFdC/PyroNear | ca56316d5ad986789feace9dd913115596f6c2ca | [
"MIT"
] | null | null | null | pyronear/datasets/wildfire/__init__.py | JoaoFdC/PyroNear | ca56316d5ad986789feace9dd913115596f6c2ca | [
"MIT"
] | null | null | null | from .fire_labeler import FireLabeler
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 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 | 1 | 0 | 0 | 6 |
9e88572742f37f72ab5656ebc1a875f91b8cefb9 | 206 | py | Python | app/modules/chaos.py | arkwrn/malinkundang | c51be02fc7bddf1f901611817db990b09df684c6 | [
"MIT"
] | null | null | null | app/modules/chaos.py | arkwrn/malinkundang | c51be02fc7bddf1f901611817db990b09df684c6 | [
"MIT"
] | null | null | null | app/modules/chaos.py | arkwrn/malinkundang | c51be02fc7bddf1f901611817db990b09df684c6 | [
"MIT"
] | 5 | 2021-01-27T18:08:52.000Z | 2021-02-10T17:28:07.000Z | from chaos_python.client import chaosAPI as chaosapi
from decouple import config
AMASS_API_KEY = config('AMASS_API_KEY')
def chaos_client(domain, options):
return chaosapi(domain, AMASS_API_KEY, 'json') | 29.428571 | 52 | 0.81068 | 31 | 206 | 5.129032 | 0.548387 | 0.150943 | 0.207547 | 0.213836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11165 | 206 | 7 | 53 | 29.428571 | 0.868852 | 0 | 0 | 0 | 0 | 0 | 0.082126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 6 |
7b91d207321406a6b8f272542202e283b1bc0450 | 184 | py | Python | master/legal-intelligence-text-mining-master/legal-intelligence-text-mining-master/legalintelligence/tools.py | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 4 | 2018-09-07T15:35:24.000Z | 2019-03-27T09:48:12.000Z | master/legal-intelligence-text-mining-master/legal-intelligence-text-mining-master/legalintelligence/tools.py | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 371 | 2020-03-04T21:51:56.000Z | 2022-03-31T20:59:11.000Z | master/legal-intelligence-text-mining-master/legal-intelligence-text-mining-master/legalintelligence/tools.py | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 3 | 2019-06-18T19:57:17.000Z | 2020-11-06T03:55:08.000Z | """
This file builds upon the Text Mining tools for extracting and handling Legal Intelligence specific information.
"""
from textmining.extract import *
def gaaf():
print('1243') | 26.285714 | 112 | 0.755435 | 24 | 184 | 5.791667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025806 | 0.157609 | 184 | 7 | 113 | 26.285714 | 0.870968 | 0.608696 | 0 | 0 | 0 | 0 | 0.061538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 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 | 1 | 0 | 0 | 6 |
c8bd409a78b5504eb5ec5d3c73ce09d045193eee | 29 | py | Python | segmentation_models_pytorch/transskipunet/__init__.py | jlianglab/CAiD | d6e923c34a91e64790f3ebca43690614f5b42c1f | [
"FTL"
] | 18 | 2021-08-16T01:13:53.000Z | 2022-03-14T17:38:52.000Z | segmentation_models_pytorch/transskipunet/__init__.py | jlianglab/CAiD | d6e923c34a91e64790f3ebca43690614f5b42c1f | [
"FTL"
] | 4 | 2021-11-01T01:28:07.000Z | 2021-11-19T02:27:43.000Z | segmentation_models_pytorch/transskipunet/__init__.py | jlianglab/CAiD | d6e923c34a91e64790f3ebca43690614f5b42c1f | [
"FTL"
] | 6 | 2021-08-16T01:14:23.000Z | 2022-03-13T01:48:29.000Z | from .model import TrSkipUnet | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 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 | 1 | 0 | 0 | 6 |
c8c00e1a8a36d25f4e8c5a6e113cde3facb7ae7a | 7,757 | py | Python | tuner_utils/yellowfin_test.py | 7iW/YellowFin_Pytorch | aa1d57d2efb419aa7c5845b4e29be47f6d1827d5 | [
"Apache-2.0"
] | 326 | 2017-06-29T23:12:03.000Z | 2021-07-12T06:46:58.000Z | tuner_utils/yellowfin_test.py | zlijingtao/DAC20_reconstruction | c928cda1c8e492c05110d6c219c1ed529924e127 | [
"Apache-2.0"
] | 22 | 2017-06-30T09:10:24.000Z | 2022-01-30T18:53:44.000Z | tuner_utils/yellowfin_test.py | zlijingtao/DAC20_reconstruction | c928cda1c8e492c05110d6c219c1ed529924e127 | [
"Apache-2.0"
] | 49 | 2017-06-21T07:14:17.000Z | 2021-08-29T02:11:57.000Z | import os
import torch
import numpy as np
from yellowfin import YFOptimizer
from torch.autograd import Variable
import time
n_dim = 1000000
n_iter = 50
def tune_everything(x0squared, C, T, gmin, gmax):
# First tune based on dynamic range
if C==0:
dr=gmax/gmin
mustar=((np.sqrt(dr)-1)/(np.sqrt(dr)+1))*... | 37.293269 | 96 | 0.589274 | 1,416 | 7,757 | 3.019774 | 0.083333 | 0.058934 | 0.06174 | 0.02666 | 0.796305 | 0.775023 | 0.744855 | 0.708138 | 0.704163 | 0.691066 | 0 | 0.07452 | 0.228439 | 7,757 | 207 | 97 | 37.47343 | 0.639933 | 0.105066 | 0 | 0.641026 | 0 | 0 | 0.038706 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 0 | null | null | 0.012821 | 0.038462 | null | null | 0.038462 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c8db3c31ccbe2cfe4ee396d87cb1d4b7252f0031 | 9,805 | py | Python | Energy_CO2.py | mindcodemediator/Database_Energy_Project | d855e3692fc501b05a32e231b10d3dc92154a1d8 | [
"MIT"
] | null | null | null | Energy_CO2.py | mindcodemediator/Database_Energy_Project | d855e3692fc501b05a32e231b10d3dc92154a1d8 | [
"MIT"
] | null | null | null | Energy_CO2.py | mindcodemediator/Database_Energy_Project | d855e3692fc501b05a32e231b10d3dc92154a1d8 | [
"MIT"
] | null | null | null | #Return C02 functions
import streamlit as st
import pandas as pd
import altair as alt
from vega_datasets import data
@st.cache
def getCO2Query(order):
return """
select terr_state, year, sum(tons_co2) as total_co2 from
(
select * from JOLIU.emissions
inner join
... | 21.131466 | 100 | 0.5128 | 1,160 | 9,805 | 4.201724 | 0.144828 | 0.045958 | 0.037341 | 0.032827 | 0.759335 | 0.72897 | 0.710915 | 0.710915 | 0.710915 | 0.70476 | 0 | 0.029724 | 0.365222 | 9,805 | 463 | 101 | 21.177106 | 0.753374 | 0.010811 | 0 | 0.566102 | 0 | 0.00678 | 0.610618 | 0.072048 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027119 | false | 0 | 0.013559 | 0.013559 | 0.071186 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cdc6797999de8714cb21e7398fdf19ef18d75873 | 905 | py | Python | hallo/test/modules/silly/test_alarm.py | joshcoales/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 1 | 2018-05-19T22:27:20.000Z | 2018-05-19T22:27:20.000Z | hallo/test/modules/silly/test_alarm.py | joshcoales/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 75 | 2015-09-26T18:07:18.000Z | 2022-01-04T07:15:11.000Z | hallo/test/modules/silly/test_alarm.py | SpangleLabs/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 1 | 2021-04-10T12:02:47.000Z | 2021-04-10T12:02:47.000Z | from hallo.events import EventMessage
def test_alarm_simple(hallo_getter):
test_hallo = hallo_getter({"silly"})
test_hallo.function_dispatcher.dispatch(
EventMessage(test_hallo.test_server, None, test_hallo.test_user, "alarm")
)
data = test_hallo.test_server.get_send_data(1, test_hallo.test_us... | 39.347826 | 86 | 0.728177 | 127 | 905 | 4.92126 | 0.275591 | 0.1728 | 0.1664 | 0.1216 | 0.8336 | 0.8336 | 0.8336 | 0.8336 | 0.8336 | 0.7744 | 0 | 0.006579 | 0.160221 | 905 | 22 | 87 | 41.136364 | 0.815789 | 0 | 0 | 0.444444 | 0 | 0 | 0.162431 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.111111 | false | 0 | 0.055556 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cdfb8e9043eccaaacf3e09163673570849bfddea | 111 | py | Python | torchimage/utils/__init__.py | miaotianyi/torchimage | 8b209c7da087bc18fd78dc0013c671e21a338f38 | [
"MIT"
] | 10 | 2021-04-22T08:15:49.000Z | 2022-03-19T01:28:06.000Z | torchimage/utils/__init__.py | miaotianyi/torchimage | 8b209c7da087bc18fd78dc0013c671e21a338f38 | [
"MIT"
] | null | null | null | torchimage/utils/__init__.py | miaotianyi/torchimage | 8b209c7da087bc18fd78dc0013c671e21a338f38 | [
"MIT"
] | null | null | null | from .ndspec import NdSpec
from .ragged import get_ragged_ndarray, expand_ragged_ndarray, apply_ragged_ndarray
| 37 | 83 | 0.873874 | 16 | 111 | 5.6875 | 0.5 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 111 | 2 | 84 | 55.5 | 0.90099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
cdfe34516c9a07e3b50cf5181932410fbc4e991e | 5,155 | py | Python | python/example_code/organizations/test/test_organizations_policies.py | iconara/aws-doc-sdk-examples | 52706b31b4fce8fb89468e56743edf5369e69628 | [
"Apache-2.0"
] | 5,166 | 2016-09-02T08:48:38.000Z | 2022-03-31T19:12:43.000Z | python/example_code/organizations/test/test_organizations_policies.py | iconara/aws-doc-sdk-examples | 52706b31b4fce8fb89468e56743edf5369e69628 | [
"Apache-2.0"
] | 1,186 | 2016-09-28T23:05:19.000Z | 2022-03-31T18:07:47.000Z | python/example_code/organizations/test/test_organizations_policies.py | iconara/aws-doc-sdk-examples | 52706b31b4fce8fb89468e56743edf5369e69628 | [
"Apache-2.0"
] | 4,003 | 2016-08-29T19:51:40.000Z | 2022-03-31T16:40:02.000Z | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
"""
Unit tests for lambda_basics.py functions.
"""
import boto3
from botocore.exceptions import ClientError
import pytest
import organizations_policies
def make_policy(index, pol_type):
return {
'... | 37.627737 | 86 | 0.69098 | 635 | 5,155 | 5.311811 | 0.151181 | 0.112066 | 0.049807 | 0.064038 | 0.814705 | 0.800771 | 0.797213 | 0.797213 | 0.790098 | 0.744145 | 0 | 0.016555 | 0.191465 | 5,155 | 136 | 87 | 37.904412 | 0.792706 | 0.028322 | 0 | 0.564356 | 0 | 0 | 0.1302 | 0 | 0 | 0 | 0 | 0 | 0.089109 | 1 | 0.069307 | false | 0 | 0.039604 | 0.009901 | 0.118812 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b531b311f220256930c8eafdd47512395f55ffa1 | 185 | py | Python | vega/core/metrics/pytorch/__init__.py | Lzc06/vega | 852d2f57e21caed11473ddc96397124561eacf8a | [
"MIT"
] | null | null | null | vega/core/metrics/pytorch/__init__.py | Lzc06/vega | 852d2f57e21caed11473ddc96397124561eacf8a | [
"MIT"
] | null | null | null | vega/core/metrics/pytorch/__init__.py | Lzc06/vega | 852d2f57e21caed11473ddc96397124561eacf8a | [
"MIT"
] | null | null | null | from .classifier_metric import *
from .auc_metrics import *
from .segmentation_metric import *
from .sr_metric import *
from .metrics import Metrics
from .lane_metric import LaneMetric
| 26.428571 | 35 | 0.816216 | 25 | 185 | 5.84 | 0.4 | 0.328767 | 0.328767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12973 | 185 | 6 | 36 | 30.833333 | 0.906832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b577fe48549ffb3917850f86e5973c7d8540d19d | 3,163 | py | Python | Correlation2D.py | CODEJIN/Tensorflow_Code_for_Tests | a5e77b9924123e9b0762ed03d5b23dbf76df5380 | [
"Apache-2.0"
] | null | null | null | Correlation2D.py | CODEJIN/Tensorflow_Code_for_Tests | a5e77b9924123e9b0762ed03d5b23dbf76df5380 | [
"Apache-2.0"
] | null | null | null | Correlation2D.py | CODEJIN/Tensorflow_Code_for_Tests | a5e77b9924123e9b0762ed03d5b23dbf76df5380 | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf;
def Correlation2D(x, y):
"""
Compute the correlations between each rows of two tensors. Main purpose is checking the
correlations between the units of two layers
Args:
x: 2d tensor (MxN). The number of second dimension should be same to y's second dimension.
... | 59.679245 | 209 | 0.678786 | 504 | 3,163 | 4.079365 | 0.152778 | 0.066148 | 0.058366 | 0.040856 | 0.943093 | 0.913424 | 0.876459 | 0.849222 | 0.849222 | 0.810311 | 0 | 0.015905 | 0.204869 | 3,163 | 52 | 210 | 60.826923 | 0.80159 | 0.392981 | 0 | 0.285714 | 0 | 0 | 0.020339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.047619 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b5aaf14d9d3ce2650de479626f350e6e4c52fa98 | 47 | py | Python | gamification/badges/__init__.py | stephenrjones/gamification-server | 088903967067cfce40911914eee1ed4d6571cd02 | [
"MIT"
] | 155 | 2015-01-13T11:51:49.000Z | 2022-03-22T04:09:37.000Z | gamification/badges/__init__.py | stephenrjones/gamification-server | 088903967067cfce40911914eee1ed4d6571cd02 | [
"MIT"
] | 11 | 2015-01-08T21:04:33.000Z | 2019-10-21T12:51:35.000Z | gamification/badges/__init__.py | stephenrjones/gamification-server | 088903967067cfce40911914eee1ed4d6571cd02 | [
"MIT"
] | 60 | 2015-01-30T10:18:59.000Z | 2021-08-19T19:16:16.000Z | from utils import registered_badges, MetaBadge
| 23.5 | 46 | 0.87234 | 6 | 47 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.952381 | 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 | 1 | 0 | 0 | 6 |
b5b647de923960bef2d4cad99cd6fff0d3a785da | 13,368 | py | Python | Stochastic_engine/cord/postprocess/compare_scenarios.py | romulus97/HYDROWIRES | 115e534764d8f58d64340d99cf6cb8eb6598c4ee | [
"MIT"
] | null | null | null | Stochastic_engine/cord/postprocess/compare_scenarios.py | romulus97/HYDROWIRES | 115e534764d8f58d64340d99cf6cb8eb6598c4ee | [
"MIT"
] | null | null | null | Stochastic_engine/cord/postprocess/compare_scenarios.py | romulus97/HYDROWIRES | 115e534764d8f58d64340d99cf6cb8eb6598c4ee | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import os
import matplotlib.gridspec as gridspec
from matplotlib.pyplot import cm
import importlib
import cord.postprocess.load_model_data as load_model_data
cmap = cm.get_cmap('viridis')
cols = [cmap(0.1),cmap(0.3),cmap(0.6),... | 54.121457 | 155 | 0.597023 | 1,962 | 13,368 | 3.876147 | 0.117227 | 0.043393 | 0.046154 | 0.094938 | 0.848784 | 0.844181 | 0.804997 | 0.783037 | 0.783037 | 0.752531 | 0 | 0.040899 | 0.204369 | 13,368 | 246 | 156 | 54.341463 | 0.674126 | 0.05401 | 0 | 0.677885 | 0 | 0 | 0.106341 | 0.032934 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.048077 | 0 | 0.048077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a9342873afb727d11c005303173d524c133fba7c | 127 | py | Python | tests/measures/distinguishability/__init__.py | tandriamil/BrFAST | b687a356acc813d45dbaf5b5eb0f360df181904a | [
"MIT"
] | 6 | 2021-04-20T17:33:17.000Z | 2021-12-20T18:59:58.000Z | tests/measures/distinguishability/__init__.py | tandriamil/BrFAST | b687a356acc813d45dbaf5b5eb0f360df181904a | [
"MIT"
] | null | null | null | tests/measures/distinguishability/__init__.py | tandriamil/BrFAST | b687a356acc813d45dbaf5b5eb0f360df181904a | [
"MIT"
] | 2 | 2021-12-20T19:00:03.000Z | 2022-03-22T01:57:41.000Z | #!/usr/bin/python3
"""Init file of the tests.measures.distinguishability module."""
import brfast.measures.distinguishability
| 25.4 | 64 | 0.795276 | 15 | 127 | 6.733333 | 0.866667 | 0.514851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.07874 | 127 | 4 | 65 | 31.75 | 0.854701 | 0.598425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a93c32211ec6cac431985ea99185f94c683871eb | 47 | py | Python | torchsort/__init__.py | rbetz/torchsort | b137bbb1f69501abef02bc93fa537852e3e844a4 | [
"Apache-2.0"
] | 584 | 2021-03-20T19:58:51.000Z | 2022-03-25T23:04:29.000Z | torchsort/__init__.py | rbetz/torchsort | b137bbb1f69501abef02bc93fa537852e3e844a4 | [
"Apache-2.0"
] | 37 | 2021-03-21T05:05:31.000Z | 2022-03-23T19:56:04.000Z | torchsort/__init__.py | rbetz/torchsort | b137bbb1f69501abef02bc93fa537852e3e844a4 | [
"Apache-2.0"
] | 24 | 2021-03-23T08:37:35.000Z | 2022-01-08T10:07:22.000Z | from torchsort.ops import soft_rank, soft_sort
| 23.5 | 46 | 0.851064 | 8 | 47 | 4.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.904762 | 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 | 1 | 0 | 0 | 6 |
a9867f34336644d0cf87133bc4af73ba486d1b1f | 59 | py | Python | dataloader/__init__.py | WiktorSa/Music-Generation-with-LSTM-and-.wav-files | 37b713b5e6193788a7710cc0fac4134efb74fa62 | [
"MIT"
] | 1 | 2022-03-09T20:13:57.000Z | 2022-03-09T20:13:57.000Z | dataloader/__init__.py | WiktorSa/Music-Generation-with-LSTM-and-.wav-files | 37b713b5e6193788a7710cc0fac4134efb74fa62 | [
"MIT"
] | 1 | 2021-10-01T16:20:06.000Z | 2021-10-01T17:25:30.000Z | dataloader/__init__.py | WiktorSa/Music-Generation-with-LSTM-and-.wav-files | 37b713b5e6193788a7710cc0fac4134efb74fa62 | [
"MIT"
] | null | null | null | from dataloader.create_data_loader import get_data_loader
| 29.5 | 58 | 0.898305 | 9 | 59 | 5.444444 | 0.777778 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 59 | 1 | 59 | 59 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
a99066d7d6ea9f56bccd96d1a8d30f9a1d946a04 | 40 | py | Python | domain/entities/__init__.py | JVGC/MyFinancesPython | 5e4ac02ea00c4ddab688dd0093eed3f3fb2ad826 | [
"MIT"
] | null | null | null | domain/entities/__init__.py | JVGC/MyFinancesPython | 5e4ac02ea00c4ddab688dd0093eed3f3fb2ad826 | [
"MIT"
] | null | null | null | domain/entities/__init__.py | JVGC/MyFinancesPython | 5e4ac02ea00c4ddab688dd0093eed3f3fb2ad826 | [
"MIT"
] | null | null | null | from .Debt import *
from .Date import *
| 13.333333 | 19 | 0.7 | 6 | 40 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 2 | 20 | 20 | 0.875 | 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 | 1 | 0 | 0 | 6 |
a9906d3be96b57a90b7e62403ced798209c119da | 3,792 | py | Python | tests/test_fabsim.py | samcowger/FabSim3 | 910fb162af5a9fb14e12a552c5c4ec9160122570 | [
"BSD-3-Clause"
] | null | null | null | tests/test_fabsim.py | samcowger/FabSim3 | 910fb162af5a9fb14e12a552c5c4ec9160122570 | [
"BSD-3-Clause"
] | null | null | null | tests/test_fabsim.py | samcowger/FabSim3 | 910fb162af5a9fb14e12a552c5c4ec9160122570 | [
"BSD-3-Clause"
] | null | null | null | import os
import sys
import subprocess
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)) + '../base/')
#sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)) + '../../base/')
from deploy.templates import *
from deploy.machines import *
from fabric.contrib.project import *
from base.fab import *
i... | 37.176471 | 114 | 0.689082 | 505 | 3,792 | 4.924752 | 0.142574 | 0.086852 | 0.116204 | 0.072376 | 0.822678 | 0.809811 | 0.78649 | 0.78649 | 0.78649 | 0.765179 | 0 | 0.016283 | 0.141614 | 3,792 | 101 | 115 | 37.544554 | 0.747773 | 0.045095 | 0 | 0.376812 | 0 | 0 | 0.348468 | 0.248189 | 0 | 0 | 0 | 0 | 0.304348 | 1 | 0.15942 | false | 0.043478 | 0.115942 | 0 | 0.275362 | 0.014493 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8d49df797e907ded737b11b5ab5f30e597846c1f | 26 | py | Python | port_dashboard/__init__.py | mlabbe/port_dashboard | bc53f9cfeac8b2a477afcf7c0c4a1dfaf58bf925 | [
"MIT"
] | null | null | null | port_dashboard/__init__.py | mlabbe/port_dashboard | bc53f9cfeac8b2a477afcf7c0c4a1dfaf58bf925 | [
"MIT"
] | null | null | null | port_dashboard/__init__.py | mlabbe/port_dashboard | bc53f9cfeac8b2a477afcf7c0c4a1dfaf58bf925 | [
"MIT"
] | null | null | null | import scan
import report
| 8.666667 | 13 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 2 | 14 | 13 | 1 | 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 | 1 | 0 | 0 | 6 |
8d775cf3070f9d2a57d5b0c8244e2a48fc8196ee | 115 | py | Python | zepid/graphics/__init__.py | CamDavidsonPilon/zepid | 84d41fa7cba5db71bdd9745cf778adb4a6694556 | [
"MIT"
] | 2 | 2020-05-02T21:04:53.000Z | 2020-06-01T14:33:05.000Z | zepid/graphics/__init__.py | CamDavidsonPilon/zepid | 84d41fa7cba5db71bdd9745cf778adb4a6694556 | [
"MIT"
] | null | null | null | zepid/graphics/__init__.py | CamDavidsonPilon/zepid | 84d41fa7cba5db71bdd9745cf778adb4a6694556 | [
"MIT"
] | 3 | 2019-01-10T21:33:04.000Z | 2020-12-21T18:32:50.000Z | from .graphics import functional_form_plot, EffectMeasurePlot, pvalue_plot, spaghetti_plot, roc, dynamic_risk_plot
| 57.5 | 114 | 0.869565 | 15 | 115 | 6.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 115 | 1 | 115 | 115 | 0.886792 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8daaa60d434d14c7d6c6cef15dd7588864e567fb | 42 | py | Python | skimage/util/__init__.py | RKDSOne/scikit-image | baa67eafcace9cde1b94ad2d467e2f2e0468e759 | [
"BSD-3-Clause"
] | 2 | 2019-01-17T22:10:17.000Z | 2020-02-22T04:20:38.000Z | skimage/util/__init__.py | teoliphant/scikit-image | d0415e6df475157705fd1ef2af69b16e4f7e38cc | [
"BSD-3-Clause"
] | 1 | 2015-09-04T09:25:46.000Z | 2015-09-04T09:25:46.000Z | skimage/util/__init__.py | emmanuelle/scikit-image | eccc41907135cf81b99c4be18a480a9bc705485d | [
"BSD-3-Clause"
] | 2 | 2015-12-29T17:04:26.000Z | 2020-10-17T15:47:30.000Z | from .dtype import *
from .shape import *
| 14 | 20 | 0.714286 | 6 | 42 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 21 | 21 | 0.882353 | 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 | 1 | 0 | 0 | 6 |
a5e3ffe99cbf4e7d7763fb4782ff6d8833a6799e | 101 | py | Python | terrascript/archive/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 4 | 2022-02-07T21:08:14.000Z | 2022-03-03T04:41:28.000Z | terrascript/archive/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | terrascript/archive/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 2 | 2022-02-06T01:49:42.000Z | 2022-02-08T14:15:00.000Z | # terrascript/archive/__init__.py
import terrascript
class archive(terrascript.Provider):
pass
| 14.428571 | 36 | 0.792079 | 11 | 101 | 6.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 101 | 6 | 37 | 16.833333 | 0.863636 | 0.306931 | 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 | 1 | 0 | 0 | 6 |
571ac61a1d59656b36cf3770d482d310f9a4e96b | 175 | py | Python | src/airfly/_vendor/airflow/providers/amazon/aws/sensors/emr_base.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | 7 | 2021-09-27T11:38:48.000Z | 2022-02-01T06:06:24.000Z | src/airfly/_vendor/airflow/providers/amazon/aws/sensors/emr_base.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | null | null | null | src/airfly/_vendor/airflow/providers/amazon/aws/sensors/emr_base.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | null | null | null | # Auto generated by 'inv collect-airflow'
from airfly._vendor.airflow.sensors.base import BaseSensorOperator
class EmrBaseSensor(BaseSensorOperator):
aws_conn_id: "str"
| 25 | 66 | 0.805714 | 21 | 175 | 6.571429 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 175 | 6 | 67 | 29.166667 | 0.890323 | 0.222857 | 0 | 0 | 1 | 0 | 0.022388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5734d4db8911552423ffaf26961ea3dc76e15f4d | 26,606 | py | Python | scr/examples.py | wunaicheng/Crime-Prediction-Fairness-Calibrator | e0df49585b066a271f7bbc9d0fe3bcc25b8629fc | [
"MIT"
] | null | null | null | scr/examples.py | wunaicheng/Crime-Prediction-Fairness-Calibrator | e0df49585b066a271f7bbc9d0fe3bcc25b8629fc | [
"MIT"
] | null | null | null | scr/examples.py | wunaicheng/Crime-Prediction-Fairness-Calibrator | e0df49585b066a271f7bbc9d0fe3bcc25b8629fc | [
"MIT"
] | null | null | null | from .uncertainty_estimator import empirical_percentile_estimator
from .uncertainty_estimator import MPCE2_test_estimator, error_witness_function, construct_credible_error_vector
import matplotlib.pylab as plt
import numpy as np
import scipy.stats
import matplotlib as mpl
mpl.rcParams['xtick.direction'], mpl.rcParams[... | 39.299852 | 118 | 0.620537 | 3,815 | 26,606 | 4.199214 | 0.083355 | 0.009114 | 0.005993 | 0.005993 | 0.825593 | 0.792946 | 0.754307 | 0.726654 | 0.710986 | 0.67372 | 0 | 0.060259 | 0.217846 | 26,606 | 676 | 119 | 39.357988 | 0.709563 | 0.040329 | 0 | 0.592287 | 0 | 0 | 0.11474 | 0.025647 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035813 | false | 0.002755 | 0.055096 | 0 | 0.099174 | 0.011019 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
93db5d45e408f50a2b90d296bbb9b02903402c4a | 542 | py | Python | utils/commands.py | Zomatree/Generic-Bot | 45eb801aadc1e57b585a40a67b06b484e5bf9a6c | [
"MIT"
] | 2 | 2021-05-06T14:47:31.000Z | 2021-05-12T14:58:44.000Z | utils/commands.py | Zomatree/Generic-Bot | 45eb801aadc1e57b585a40a67b06b484e5bf9a6c | [
"MIT"
] | null | null | null | utils/commands.py | Zomatree/Generic-Bot | 45eb801aadc1e57b585a40a67b06b484e5bf9a6c | [
"MIT"
] | 1 | 2021-06-07T15:58:49.000Z | 2021-06-07T15:58:49.000Z | from discord.ext import commands
__slots__ = ("Command", "Group", "command", "group")
class Command(commands.Command):
pass
class Group(commands.Group):
def command(self, *args, **kwargs):
return super().command(*args, **kwargs, cls=Command)
def group(self, *args, **kwargs):
return s... | 27.1 | 65 | 0.658672 | 66 | 542 | 5.287879 | 0.257576 | 0.229226 | 0.183381 | 0.114613 | 0.34384 | 0.200573 | 0.200573 | 0 | 0 | 0 | 0 | 0 | 0.167897 | 542 | 19 | 66 | 28.526316 | 0.773836 | 0 | 0 | 0 | 0 | 0 | 0.04428 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.076923 | 0.076923 | 0.307692 | 0.846154 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
f507c45050764c2e54a2933345dcd7ff65a0125f | 102 | py | Python | Documentation/views.py | glen-s-abraham/OnlineDelivery | 138356e17e52d0a4d4a1778f9c440006ce28ae5c | [
"MIT"
] | null | null | null | Documentation/views.py | glen-s-abraham/OnlineDelivery | 138356e17e52d0a4d4a1778f9c440006ce28ae5c | [
"MIT"
] | null | null | null | Documentation/views.py | glen-s-abraham/OnlineDelivery | 138356e17e52d0a4d4a1778f9c440006ce28ae5c | [
"MIT"
] | null | null | null | from django.shortcuts import render
def documentation(request):
return render(request,'index.html')
| 20.4 | 36 | 0.803922 | 13 | 102 | 6.307692 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 102 | 4 | 37 | 25.5 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f5237bfb054bc71df07c40b26c055ba134228fca | 235 | py | Python | SEPHIRA/FastAPI/modules/JWT/__init__.py | dman926/Flask-API | 49e052159a3915ec25305141ecdd6cdeb1d7a25c | [
"MIT"
] | 4 | 2021-04-23T16:51:57.000Z | 2021-06-06T20:28:08.000Z | SEPHIRA/FastAPI/modules/JWT/__init__.py | dman926/Flask-API | 49e052159a3915ec25305141ecdd6cdeb1d7a25c | [
"MIT"
] | 15 | 2021-10-22T01:55:53.000Z | 2022-01-15T11:40:48.000Z | SEPHIRA/FastAPI/modules/JWT/__init__.py | dman926/Flask-API | 49e052159a3915ec25305141ecdd6cdeb1d7a25c | [
"MIT"
] | 3 | 2021-03-21T22:29:05.000Z | 2021-06-06T20:30:18.000Z | from .jwt import Token
from .jwt import create_access_token
from .jwt import create_refresh_token
from .jwt import decode_token
from .jwt import get_raw_token
from .jwt import get_jwt_identity
from .jwt import get_jwt_identity_optional | 33.571429 | 42 | 0.855319 | 40 | 235 | 4.725 | 0.3 | 0.259259 | 0.481481 | 0.47619 | 0.677249 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114894 | 235 | 7 | 42 | 33.571429 | 0.908654 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f526f78e944d70e10ff15dab27e7128f584ef8da | 259 | py | Python | exercises/exercise_6/use_cases.py | S-Mann/django-training | f581456dacfe4a9a2e1d805a14070e4ca5a60323 | [
"Apache-2.0"
] | 16 | 2019-05-17T19:57:06.000Z | 2022-03-25T18:38:06.000Z | exercises/exercise_6/use_cases.py | S-Mann/django-training | f581456dacfe4a9a2e1d805a14070e4ca5a60323 | [
"Apache-2.0"
] | 34 | 2019-05-17T20:25:24.000Z | 2022-02-26T15:48:35.000Z | exercises/exercise_6/use_cases.py | S-Mann/django-training | f581456dacfe4a9a2e1d805a14070e4ca5a60323 | [
"Apache-2.0"
] | 10 | 2020-12-25T20:22:50.000Z | 2022-03-26T10:37:14.000Z | from exercises.models import Professor
def get_professor(first_name: str) -> Professor:
"""
:param first_name: Specified first name
:return: Professor with a matching first name
"""
return Professor.objects.filter(first_name=first_name)
| 25.9 | 58 | 0.733591 | 33 | 259 | 5.606061 | 0.545455 | 0.291892 | 0.162162 | 0.259459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181467 | 259 | 9 | 59 | 28.777778 | 0.872642 | 0.328185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f529b769f6857ab350f4366be901a1225ff3b0be | 27 | py | Python | configs/__init__.py | kaylode/custom-template | 9cea501fe0fa1b90cd468d12a6906f531aa66ab1 | [
"MIT"
] | 12 | 2021-02-06T19:27:57.000Z | 2021-12-13T01:33:03.000Z | configs/__init__.py | kaylode/custom-template | 9cea501fe0fa1b90cd468d12a6906f531aa66ab1 | [
"MIT"
] | 6 | 2021-05-23T13:34:01.000Z | 2022-02-12T06:06:53.000Z | configs/__init__.py | kaylode/custom-template | 9cea501fe0fa1b90cd468d12a6906f531aa66ab1 | [
"MIT"
] | 7 | 2021-04-02T06:59:03.000Z | 2021-11-20T07:19:30.000Z | from .configs import Config | 27 | 27 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.958333 | 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 | 1 | 0 | 0 | 6 |
f5a23c6f5c1186e2b52d5fff7260915ec2e0675d | 571 | py | Python | front/tests/__init__.py | Gawaboumga/OEMS | 1e60fa1f350f4cf1ca2e48072e0b4228eeb15024 | [
"MIT"
] | null | null | null | front/tests/__init__.py | Gawaboumga/OEMS | 1e60fa1f350f4cf1ca2e48072e0b4228eeb15024 | [
"MIT"
] | 10 | 2020-02-11T23:18:38.000Z | 2022-03-11T23:32:40.000Z | front/tests/__init__.py | Gawaboumga/OEMS | 1e60fa1f350f4cf1ca2e48072e0b4228eeb15024 | [
"MIT"
] | null | null | null |
from front.tests.functions import *
from front.tests.mathematical_object import *
from front.tests.mathematical_object_creation import *
from front.tests.mathematical_object_description_edition import *
from front.tests.mathematical_object_edition import *
from front.tests.mathematical_objects import *
from front.test... | 38.066667 | 65 | 0.838879 | 75 | 571 | 6.253333 | 0.226667 | 0.249467 | 0.38806 | 0.511727 | 0.63113 | 0.422175 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09282 | 571 | 14 | 66 | 40.785714 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
1912f0b80ca40ddef36d15f5794f3c060da83272 | 25 | py | Python | tests/__init__.py | yop0/pykeos | 02c141cfb3a56a221a3a47ab90b8da047bee2daf | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | yop0/pykeos | 02c141cfb3a56a221a3a47ab90b8da047bee2daf | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | yop0/pykeos | 02c141cfb3a56a221a3a47ab90b8da047bee2daf | [
"BSD-3-Clause"
] | null | null | null | from .test_tools import * | 25 | 25 | 0.8 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.863636 | 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 | 1 | 0 | 0 | 6 |
5fda7703ab18668f7e0d21c7103040baebbd6a1d | 44 | py | Python | src/rosbag_pandas/__init__.py | ajeisens/RosbagPandas | c2af9f22537102696dffdf2e61790362726a8403 | [
"Apache-2.0"
] | null | null | null | src/rosbag_pandas/__init__.py | ajeisens/RosbagPandas | c2af9f22537102696dffdf2e61790362726a8403 | [
"Apache-2.0"
] | null | null | null | src/rosbag_pandas/__init__.py | ajeisens/RosbagPandas | c2af9f22537102696dffdf2e61790362726a8403 | [
"Apache-2.0"
] | null | null | null | # Emtpy import
from .rosbag_pandas import *
| 14.666667 | 28 | 0.772727 | 6 | 44 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 29 | 22 | 0.891892 | 0.272727 | 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 | 1 | 0 | 0 | 6 |
5ff61fd986224b0756febec830de514afcb3cafa | 512 | py | Python | Model/Web_scraper.py | fahmisalman/Summarizer-Indo | c348f6bc16d298def4a3c812f9c6ffb2b6eb345b | [
"MIT"
] | 2 | 2020-05-16T01:59:21.000Z | 2021-03-05T03:06:42.000Z | Model/Web_scraper.py | fahmisalman/Summarizer-Indo | c348f6bc16d298def4a3c812f9c6ffb2b6eb345b | [
"MIT"
] | null | null | null | Model/Web_scraper.py | fahmisalman/Summarizer-Indo | c348f6bc16d298def4a3c812f9c6ffb2b6eb345b | [
"MIT"
] | 2 | 2020-12-11T20:28:11.000Z | 2022-01-06T14:18:23.000Z | from newspaper import Article
class NewsScraper(object):
def __init__(self, url):
self.article = Article(url)
self.article.download()
self.article.parse()
def get_article(self):
return self.article.text
def get_author(self):
return self.article.authors
def g... | 20.48 | 40 | 0.660156 | 65 | 512 | 5 | 0.353846 | 0.270769 | 0.215385 | 0.323077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253906 | 512 | 24 | 41 | 21.333333 | 0.850785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.0625 | 0.3125 | 0.8125 | 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 | 1 | 0 | 0 | 6 |
276cd0343ab232c0d7d1235e6c3250106d3543a3 | 40,287 | py | Python | sdk/python/pulumi_azure_nextgen/compute/v20200930/_inputs.py | test-wiz-sec/pulumi-azure-nextgen | 20a695af0d020b34b0f1c336e1b69702755174cc | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_nextgen/compute/v20200930/_inputs.py | test-wiz-sec/pulumi-azure-nextgen | 20a695af0d020b34b0f1c336e1b69702755174cc | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_nextgen/compute/v20200930/_inputs.py | test-wiz-sec/pulumi-azure-nextgen | 20a695af0d020b34b0f1c336e1b69702755174cc | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from ... import _utilities, _tables
__a... | 40.859026 | 304 | 0.663812 | 4,828 | 40,287 | 5.365369 | 0.054267 | 0.102764 | 0.090218 | 0.04841 | 0.833346 | 0.774089 | 0.730389 | 0.686574 | 0.657273 | 0.62141 | 0 | 0.000808 | 0.232134 | 40,287 | 985 | 305 | 40.900508 | 0.836561 | 0.293867 | 0 | 0.586621 | 1 | 0 | 0.131953 | 0.053507 | 0 | 0 | 0 | 0 | 0 | 1 | 0.207547 | false | 0 | 0.008576 | 0.001715 | 0.336192 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2791b0ab8a912197f7d8398056129e679810f20b | 48 | py | Python | expon/utils/random.py | hi-zhenyu/expon | 17ad421cd4c4085d3cad090b7c3383e4957075c4 | [
"MIT"
] | null | null | null | expon/utils/random.py | hi-zhenyu/expon | 17ad421cd4c4085d3cad090b7c3383e4957075c4 | [
"MIT"
] | null | null | null | expon/utils/random.py | hi-zhenyu/expon | 17ad421cd4c4085d3cad090b7c3383e4957075c4 | [
"MIT"
] | null | null | null | import random
import numpy as np
import torch
| 8 | 18 | 0.791667 | 8 | 48 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 48 | 5 | 19 | 9.6 | 1 | 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 | 1 | 0 | 0 | 6 |
279dea6a36edff1b819fbedcf61ce04ea646f357 | 34 | py | Python | scood/data/__init__.py | Jingkang50/ICCV21_SCOOD | 51204e3788a9e81aa334611072bef106fd9d13ad | [
"MIT"
] | 34 | 2021-08-28T03:40:56.000Z | 2022-03-27T15:05:21.000Z | scood/data/__init__.py | xiu10086/ICCV21_SCOOD | 51204e3788a9e81aa334611072bef106fd9d13ad | [
"MIT"
] | 5 | 2021-09-02T09:33:22.000Z | 2022-03-23T03:15:56.000Z | scood/data/__init__.py | xiu10086/ICCV21_SCOOD | 51204e3788a9e81aa334611072bef106fd9d13ad | [
"MIT"
] | 5 | 2021-08-29T04:44:22.000Z | 2022-03-30T08:13:07.000Z | from .utils import get_dataloader
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 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 | 1 | 0 | 0 | 6 |
27c45e6854b9a2758f7e6b1ea37129998e60640c | 4,958 | py | Python | SeisModel.py | alisiahkoohi/pytorch_rtm | 577bf024228db0aa7fbf58cbbc1f88f2bbf53af0 | [
"MIT"
] | 2 | 2020-10-29T05:25:52.000Z | 2020-11-06T18:26:06.000Z | SeisModel.py | alisiahkoohi/pytorch_rtm | 577bf024228db0aa7fbf58cbbc1f88f2bbf53af0 | [
"MIT"
] | null | null | null | SeisModel.py | alisiahkoohi/pytorch_rtm | 577bf024228db0aa7fbf58cbbc1f88f2bbf53af0 | [
"MIT"
] | 1 | 2020-10-28T19:07:12.000Z | 2020-10-28T19:07:12.000Z | import torch
import torchvision
import torch.nn as nn
from torch.autograd import Function
import numpy as np
def absorbing_boundaries(nx, ny):
size_mask = 30
xMask = torch.ones(nx, 1, dtype=torch.float32)
yMask = torch.ones(1, ny, dtype=torch.float32)
fac = torch.tensor(0.006, dtype=torch.float32)
... | 52.744681 | 147 | 0.462283 | 1,228 | 4,958 | 1.837948 | 0.071661 | 0.717767 | 1.031458 | 1.325654 | 0.580416 | 0.567125 | 0.56358 | 0.491803 | 0.491803 | 0.463447 | 0 | 0.347292 | 0.277531 | 4,958 | 93 | 148 | 53.311828 | 0.282803 | 0 | 0 | 0.243243 | 0 | 0 | 0.004236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040541 | false | 0 | 0.067568 | 0 | 0.148649 | 0 | 0 | 0 | 1 | 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 | 6 |
27d2347920475307c731f8c1c720ef81c442fe80 | 41 | py | Python | lmcli/cmdline.py | crs4/lifemonitor-cli | 25dea8a2ab728dc5c83f4835461deb92d47e9efb | [
"MIT"
] | null | null | null | lmcli/cmdline.py | crs4/lifemonitor-cli | 25dea8a2ab728dc5c83f4835461deb92d47e9efb | [
"MIT"
] | null | null | null | lmcli/cmdline.py | crs4/lifemonitor-cli | 25dea8a2ab728dc5c83f4835461deb92d47e9efb | [
"MIT"
] | null | null | null |
def main():
print("Hello from lm!")
| 10.25 | 27 | 0.560976 | 6 | 41 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243902 | 41 | 3 | 28 | 13.666667 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
27d2ba23670f1bdd693da775956f631b3a6269f6 | 157 | py | Python | jumpscale/servers/openresty/__init__.py | zaibon/js-ng | 8b63c04757d1432ed4aa588500a113610701de14 | [
"Apache-2.0"
] | 2 | 2021-04-28T10:46:08.000Z | 2021-12-22T12:33:34.000Z | jumpscale/servers/openresty/__init__.py | zaibon/js-ng | 8b63c04757d1432ed4aa588500a113610701de14 | [
"Apache-2.0"
] | 321 | 2020-06-15T11:48:21.000Z | 2022-03-29T22:13:33.000Z | jumpscale/servers/openresty/__init__.py | zaibon/js-ng | 8b63c04757d1432ed4aa588500a113610701de14 | [
"Apache-2.0"
] | 4 | 2020-06-18T06:19:29.000Z | 2021-07-14T12:54:47.000Z | def export_module_as():
from jumpscale.core.base import StoredFactory
from .server import OpenRestyServer
return StoredFactory(OpenRestyServer)
| 26.166667 | 49 | 0.789809 | 17 | 157 | 7.176471 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159236 | 157 | 5 | 50 | 31.4 | 0.924242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
27dae6c5772b5186f504c2b805cc1575bffbeddd | 148 | py | Python | analytics.py | fTrestour/genius-scraper | dfa6fe1263f19eb5111763935023a593b5e5a396 | [
"MIT"
] | null | null | null | analytics.py | fTrestour/genius-scraper | dfa6fe1263f19eb5111763935023a593b5e5a396 | [
"MIT"
] | null | null | null | analytics.py | fTrestour/genius-scraper | dfa6fe1263f19eb5111763935023a593b5e5a396 | [
"MIT"
] | null | null | null | # coding=utf-8
from __future__ import unicode_literals
def get_frequencies(text):
return [{"word":"test", "frequency":1, "offsets":[1, 2, 3]}]
| 24.666667 | 64 | 0.689189 | 21 | 148 | 4.571429 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03876 | 0.128378 | 148 | 5 | 65 | 29.6 | 0.705426 | 0.081081 | 0 | 0 | 0 | 0 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
fd999ecb71dee4cf57def0723944ce19416b8369 | 87 | py | Python | os_hek/defs/objs/magy.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | os_hek/defs/objs/magy.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | os_hek/defs/objs/magy.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | from reclaimer.hek.defs.objs.antr import AntrTag
class MagyTag(AntrTag):
pass
| 17.4 | 49 | 0.735632 | 12 | 87 | 5.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183908 | 87 | 4 | 50 | 21.75 | 0.901408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fdfd63d739f40cb12c1601842afbf9f8e27c1a37 | 46 | py | Python | src/radical/dreamer/units/ext/__init__.py | radical-project/radical.dreamer | 74bb2a9a705fc90b0dc773963f2bfd48af6e1b84 | [
"MIT"
] | 4 | 2021-04-30T04:25:12.000Z | 2021-12-16T19:53:37.000Z | src/radical/dreamer/units/ext/__init__.py | radical-project/radical.dreamer | 74bb2a9a705fc90b0dc773963f2bfd48af6e1b84 | [
"MIT"
] | 1 | 2021-04-20T22:08:24.000Z | 2021-04-20T22:08:24.000Z | src/radical/dreamer/units/ext/__init__.py | radical-project/radical.dreamer | 74bb2a9a705fc90b0dc773963f2bfd48af6e1b84 | [
"MIT"
] | 1 | 2021-01-10T20:09:19.000Z | 2021-01-10T20:09:19.000Z |
from .distribution import SampleDistribution
| 15.333333 | 44 | 0.869565 | 4 | 46 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 2 | 45 | 23 | 0.97561 | 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 | 1 | 0 | 0 | 6 |
e36dfd2c59f1cbe4ee1fb7e4aba095d441486639 | 36 | py | Python | src/games/__init__.py | aleksandrgordienko/melissa-quiz | 49b165acc9aae0ad84cf751cbeb4f6a27dd5ab0f | [
"MIT"
] | null | null | null | src/games/__init__.py | aleksandrgordienko/melissa-quiz | 49b165acc9aae0ad84cf751cbeb4f6a27dd5ab0f | [
"MIT"
] | null | null | null | src/games/__init__.py | aleksandrgordienko/melissa-quiz | 49b165acc9aae0ad84cf751cbeb4f6a27dd5ab0f | [
"MIT"
] | null | null | null | from games.textquiz import TextQuiz
| 18 | 35 | 0.861111 | 5 | 36 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 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 | 1 | 0 | 0 | 6 |
8b68e21687ea9e1db6a08ff5795dc3eaec4f9961 | 25 | py | Python | qtgui/panels/__init__.py | Petr-By/qtpyvis | 0b9a151ee6b9a56b486c2bece9c1f03414629efc | [
"MIT"
] | 3 | 2017-10-04T14:51:26.000Z | 2017-10-22T09:35:50.000Z | qtgui/panels/__init__.py | CogSciUOS/DeepLearningToolbox | bf07578b9486d8c48e25df357bc4b9963b513b46 | [
"MIT"
] | 13 | 2017-09-05T12:56:11.000Z | 2017-11-22T10:38:27.000Z | qtgui/panels/__init__.py | CogSciUOS/DeepLearningToolbox | bf07578b9486d8c48e25df357bc4b9963b513b46 | [
"MIT"
] | 2 | 2017-09-24T21:39:42.000Z | 2017-10-04T15:29:54.000Z | from .panel import Panel
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8b7978850cfb8557632179902198f353dc19a739 | 123 | py | Python | codewars/8kyu/doha22/kata8/litrese/litrese.py | doha22/Training_one | 0cd7cf86c7da0f6175834146296b763d1841766b | [
"MIT"
] | null | null | null | codewars/8kyu/doha22/kata8/litrese/litrese.py | doha22/Training_one | 0cd7cf86c7da0f6175834146296b763d1841766b | [
"MIT"
] | 2 | 2019-01-22T10:53:42.000Z | 2019-01-31T08:02:48.000Z | codewars/8kyu/doha22/kata8/litrese/litrese.py | doha22/Training_one | 0cd7cf86c7da0f6175834146296b763d1841766b | [
"MIT"
] | 13 | 2019-01-22T10:37:42.000Z | 2019-01-25T13:30:43.000Z | def litres(time):
litres = time//2
return litres
import math
def litres2(time):
return math.floor(.50 * time) | 15.375 | 33 | 0.658537 | 18 | 123 | 4.5 | 0.555556 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042105 | 0.227642 | 123 | 8 | 33 | 15.375 | 0.810526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.