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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7e74d012199c091dab3c3a658effc265930743c7 | 90 | py | Python | exceptions.py | kazqvaizer/litera | e558446e38e32c71d112676080332c0be104d5ad | [
"MIT"
] | 4 | 2019-04-12T05:04:58.000Z | 2021-12-11T13:37:24.000Z | exceptions.py | kazqvaizer/litera | e558446e38e32c71d112676080332c0be104d5ad | [
"MIT"
] | 4 | 2020-02-01T09:03:52.000Z | 2021-05-07T01:54:40.000Z | exceptions.py | kazqvaizer/litera | e558446e38e32c71d112676080332c0be104d5ad | [
"MIT"
] | 2 | 2020-02-01T13:34:29.000Z | 2022-03-14T14:23:29.000Z |
class NoDataException(Exception):
pass
class BadAuthorization(Exception):
pass
| 11.25 | 34 | 0.744444 | 8 | 90 | 8.375 | 0.625 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188889 | 90 | 7 | 35 | 12.857143 | 0.917808 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7eb1580a6d5c4697d201b4fd3cf884feea56e0d3 | 92 | py | Python | hwm3/venv/Lib/site-packages/pymorphy2/__init__.py | liubov-volkova/pythondev | 087e7c9c5ce54d51fd098a2663ae351c1a2a20be | [
"MIT"
] | null | null | null | hwm3/venv/Lib/site-packages/pymorphy2/__init__.py | liubov-volkova/pythondev | 087e7c9c5ce54d51fd098a2663ae351c1a2a20be | [
"MIT"
] | 1 | 2020-04-14T14:13:57.000Z | 2020-04-14T14:13:57.000Z | hwm3/venv/Lib/site-packages/pymorphy2/__init__.py | liubov-volkova/pythondev | 087e7c9c5ce54d51fd098a2663ae351c1a2a20be | [
"MIT"
] | 1 | 2019-05-11T23:53:04.000Z | 2019-05-11T23:53:04.000Z | # -*- coding: utf-8 -*-
from .version import __version__
from .analyzer import MorphAnalyzer | 30.666667 | 35 | 0.75 | 11 | 92 | 5.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.130435 | 92 | 3 | 35 | 30.666667 | 0.8 | 0.228261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0e778b7cf32b166b6052376322bfa385b360a17f | 61 | py | Python | src/fel/__init__.py | BlueShifTA/MLHEP2020-black-box | e979cb92218e9242174e45f976f5bb78ac916bac | [
"MIT"
] | 1 | 2022-03-14T12:31:03.000Z | 2022-03-14T12:31:03.000Z | src/fel/__init__.py | BlueShifTA/MLHEP2020-black-box | e979cb92218e9242174e45f976f5bb78ac916bac | [
"MIT"
] | null | null | null | src/fel/__init__.py | BlueShifTA/MLHEP2020-black-box | e979cb92218e9242174e45f976f5bb78ac916bac | [
"MIT"
] | 7 | 2020-07-25T11:43:56.000Z | 2020-10-14T18:53:12.000Z | from .sase import *
from .evaluation import eval_optimization | 30.5 | 41 | 0.836066 | 8 | 61 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 61 | 2 | 41 | 30.5 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7ed2655f494b4002dcce0d7b71db0c2f2b7d9728 | 221 | py | Python | occiput_suite/interfile/listmode.py | mscipio/occiput-suite | 9b7dc59ad615d46d811eab965a86ec9efe292a7d | [
"BSD-2-Clause"
] | 7 | 2018-02-22T13:50:21.000Z | 2020-11-16T01:28:22.000Z | occiput_suite/interfile/listmode.py | mscipio/occiput-suite | 9b7dc59ad615d46d811eab965a86ec9efe292a7d | [
"BSD-2-Clause"
] | null | null | null | occiput_suite/interfile/listmode.py | mscipio/occiput-suite | 9b7dc59ad615d46d811eab965a86ec9efe292a7d | [
"BSD-2-Clause"
] | 2 | 2018-02-22T13:50:31.000Z | 2020-01-14T02:17:32.000Z |
# interfile - Interfile read and write
# Stefano Pedemonte
# Aalto University, School of Science, Helsinki
# Oct 2013, Helsinki
from __future__ import absolute_import, print_function
from ..simplewrap import *
| 13.8125 | 54 | 0.760181 | 26 | 221 | 6.230769 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.18552 | 221 | 15 | 55 | 14.733333 | 0.877778 | 0.542986 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
7d11b25f5262d3a4ebc8ad5985e7e26fc9a335c8 | 249 | py | Python | pyram/utils/__init__.py | Hoseung/pyRamAn | f9386fa5a9f045f98590039988d3cd50bc488dc2 | [
"MIT"
] | 1 | 2021-11-25T16:11:56.000Z | 2021-11-25T16:11:56.000Z | pyram/utils/__init__.py | Hoseung/pyRamAn | f9386fa5a9f045f98590039988d3cd50bc488dc2 | [
"MIT"
] | 6 | 2020-02-17T13:44:43.000Z | 2020-06-25T15:35:05.000Z | pyram/utils/__init__.py | Hoseung/pyRamAn | f9386fa5a9f045f98590039988d3cd50bc488dc2 | [
"MIT"
] | 1 | 2021-11-25T16:11:56.000Z | 2021-11-25T16:11:56.000Z | ##from . import assign
from . import array
from . import assign
from . import custom_utils
from . import cosmology
from . import util
from . import match
from . import sampling
from . import prettyplot
from . import catalogs
from . import io_module
| 20.75 | 26 | 0.771084 | 35 | 249 | 5.428571 | 0.4 | 0.578947 | 0.168421 | 0.210526 | 0.273684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176707 | 249 | 11 | 27 | 22.636364 | 0.926829 | 0.080321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
adc59c0d32e4383b5821d0eca1eec6aa0d5781ca | 3,473 | bzl | Python | third_party/org_codehaus_plexus.bzl | wix/exodus | dfb0c9713b07a8b6a49b548b7b543021e748d80b | [
"MIT"
] | 186 | 2019-06-05T01:02:53.000Z | 2022-03-31T10:44:19.000Z | third_party/org_codehaus_plexus.bzl | wix/exodus | dfb0c9713b07a8b6a49b548b7b543021e748d80b | [
"MIT"
] | 25 | 2019-06-04T23:18:55.000Z | 2021-09-22T03:44:25.000Z | third_party/org_codehaus_plexus.bzl | wix/exodus | dfb0c9713b07a8b6a49b548b7b543021e748d80b | [
"MIT"
] | 17 | 2019-06-04T18:45:19.000Z | 2022-01-20T09:40:04.000Z | load("//:import_external.bzl", import_external = "safe_wix_scala_maven_import_external")
def dependencies():
import_external(
name = "org_codehaus_plexus_plexus_archiver",
artifact = "org.codehaus.plexus:plexus-archiver:3.4",
artifact_sha256 = "3c6611c98547dbf3f5125848c273ba719bc10df44e3f492fa2e30... | 36.946809 | 91 | 0.736827 | 273 | 3,473 | 8.945055 | 0.245421 | 0.099099 | 0.153153 | 0.207207 | 0.411548 | 0.253071 | 0.157248 | 0.056511 | 0.056511 | 0.056511 | 0 | 0.237995 | 0.17852 | 3,473 | 93 | 92 | 37.344086 | 0.617946 | 0 | 0 | 0.285714 | 0 | 0 | 0.615606 | 0.602937 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012987 | true | 0 | 0.116883 | 0 | 0.12987 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
adc858bef2ebb34114bb50d37bf96f9218ee09a9 | 23 | py | Python | python/default/__init__.py | gilwoong-kang/education.cloudsecurity | b64c782017a06db9c312e04011b53a8cf058fa49 | [
"Apache-2.0"
] | null | null | null | python/default/__init__.py | gilwoong-kang/education.cloudsecurity | b64c782017a06db9c312e04011b53a8cf058fa49 | [
"Apache-2.0"
] | null | null | null | python/default/__init__.py | gilwoong-kang/education.cloudsecurity | b64c782017a06db9c312e04011b53a8cf058fa49 | [
"Apache-2.0"
] | 1 | 2021-06-29T09:46:23.000Z | 2021-06-29T09:46:23.000Z | print("default module") | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 23 | 1 | 23 | 23 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
adff51b09174fcc76595a2ceed05e050f33486a6 | 120 | py | Python | landingpage/admin.py | Patrickberzins/Tweagle_Final | 4a7e426089dc5d3270c99fb4eb1dee243a44f924 | [
"MIT"
] | null | null | null | landingpage/admin.py | Patrickberzins/Tweagle_Final | 4a7e426089dc5d3270c99fb4eb1dee243a44f924 | [
"MIT"
] | null | null | null | landingpage/admin.py | Patrickberzins/Tweagle_Final | 4a7e426089dc5d3270c99fb4eb1dee243a44f924 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import ReportA
admin.site.register(ReportA)
# Register your models here.
| 20 | 32 | 0.808333 | 17 | 120 | 5.705882 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 120 | 5 | 33 | 24 | 0.92381 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bc0bcb512b96764e4fb3418575f6b3dad153d659 | 88 | py | Python | mobile_env/scenarios/__init__.py | stwerner97/mobile-env | 72ab2d142cde1e765183c8e20168d391d5ca2de7 | [
"MIT"
] | 9 | 2022-01-12T21:57:58.000Z | 2022-03-26T08:37:49.000Z | mobile_env/scenarios/__init__.py | stwerner97/mobile-env | 72ab2d142cde1e765183c8e20168d391d5ca2de7 | [
"MIT"
] | 2 | 2021-12-12T17:55:35.000Z | 2022-02-07T22:20:22.000Z | mobile_env/scenarios/__init__.py | stwerner97/mobile-env | 72ab2d142cde1e765183c8e20168d391d5ca2de7 | [
"MIT"
] | 6 | 2021-10-19T09:12:26.000Z | 2022-02-07T22:38:49.000Z | # import envs module so they register themselves
import mobile_env.scenarios.registry
| 29.333333 | 49 | 0.829545 | 12 | 88 | 6 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 2 | 50 | 44 | 0.947368 | 0.522727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bc3cc4fa1b1176f747e9d38bfe96b2217a81068a | 3,633 | py | Python | qcm/HsdSAndFreqNewBox1CalibData.py | golfit/work-archive | bdd37d46fda3fde15ec2164d3335d6b4ed576bd7 | [
"MIT"
] | null | null | null | qcm/HsdSAndFreqNewBox1CalibData.py | golfit/work-archive | bdd37d46fda3fde15ec2164d3335d6b4ed576bd7 | [
"MIT"
] | null | null | null | qcm/HsdSAndFreqNewBox1CalibData.py | golfit/work-archive | bdd37d46fda3fde15ec2164d3335d6b4ed576bd7 | [
"MIT"
] | null | null | null | from numpy import *
from scipy import *
fsdS1=[37424.5996476, 41653.5595834, 44227.5263150, 46131.0556774, 49182.1682894, 50653.2950739, 53606.1748703, 55780.1390832, 57089.1133718, 59985.6457535, 62107.8610625, 63587.5513792, 66341.8088564, 68092.5511813, 72247.5476337, 76712.7851415, 80658.8429454, 85017.1129488, 89... | 330.272727 | 1,521 | 0.728048 | 591 | 3,633 | 4.475465 | 0.693739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.772509 | 0.082852 | 3,633 | 10 | 1,522 | 363.3 | 0.021309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
70bbef853118f2f13c91f3afdcbf587c60e98976 | 226 | py | Python | e2e/config.py | Tismas/bigflow | 6a4a14616d66beeaf45700ea340c97d797a1f9e5 | [
"Apache-2.0"
] | null | null | null | e2e/config.py | Tismas/bigflow | 6a4a14616d66beeaf45700ea340c97d797a1f9e5 | [
"Apache-2.0"
] | null | null | null | e2e/config.py | Tismas/bigflow | 6a4a14616d66beeaf45700ea340c97d797a1f9e5 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
PROJECT_ID = None
CREDENTIALS = None
try:
from . import local_config
PROJECT_ID = local_config.PROJECT_ID
CREDENTIALS = local_config.CREDENTIALS
except ImportError:
pass | 20.545455 | 42 | 0.778761 | 28 | 226 | 5.892857 | 0.5 | 0.163636 | 0.218182 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181416 | 226 | 11 | 43 | 20.545455 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
70be80d23dbdf8437f2cde53b1b6ee3cd111ff0c | 169 | py | Python | src/abc190_c.py | 06keito/study-atcoder | c859e542079b550d19fa5e5e632e982a0dbb9578 | [
"MIT"
] | 1 | 2021-08-19T07:21:47.000Z | 2021-08-19T07:21:47.000Z | src/abc190_c.py | 06keito/main-repository | c859e542079b550d19fa5e5e632e982a0dbb9578 | [
"MIT"
] | null | null | null | src/abc190_c.py | 06keito/main-repository | c859e542079b550d19fa5e5e632e982a0dbb9578 | [
"MIT"
] | null | null | null | N,M = map(int,input().split())
ab_lst = [list(map(int,input().split())) for i in range(M)]
K = int(input())
cd_lst = [list(map(int,input().split())) for i in range(K)]
| 28.166667 | 59 | 0.609467 | 33 | 169 | 3.060606 | 0.454545 | 0.316832 | 0.326733 | 0.475248 | 0.673267 | 0.673267 | 0.673267 | 0.673267 | 0.673267 | 0.673267 | 0 | 0 | 0.12426 | 169 | 5 | 60 | 33.8 | 0.682432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
70c731153938859987cc1ef85f5379a30f017b55 | 69 | py | Python | main/language/hello_world/hello.py | catalinprescure/python-pages | 93df3b22df2cfa269127e803a1b6c6a34bae6745 | [
"MIT"
] | null | null | null | main/language/hello_world/hello.py | catalinprescure/python-pages | 93df3b22df2cfa269127e803a1b6c6a34bae6745 | [
"MIT"
] | null | null | null | main/language/hello_world/hello.py | catalinprescure/python-pages | 93df3b22df2cfa269127e803a1b6c6a34bae6745 | [
"MIT"
] | 1 | 2021-12-24T15:58:32.000Z | 2021-12-24T15:58:32.000Z | # hello.py
print('Hello World')
# python hello.py
# Hello World | 11.5 | 20 | 0.652174 | 10 | 69 | 4.5 | 0.5 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 69 | 6 | 21 | 11.5 | 0.833333 | 0.521739 | 0 | 0 | 0 | 0 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
cb282313dafb980154d8b9819e4a036e533921f7 | 2,134 | py | Python | server/tests/test_reports.py | ishitakapoor26/Nutrihelp | 5bac42aaee61884f9ee7415caf441e80b7b03b48 | [
"MIT"
] | 22 | 2021-02-15T10:30:59.000Z | 2022-01-09T07:10:36.000Z | server/tests/test_reports.py | Ayonijakaushik19/Nutrihelp | 85926b187a6bfcf80f1f1cd60667ed3d14dce0be | [
"MIT"
] | 51 | 2021-02-27T15:42:15.000Z | 2022-03-01T15:02:03.000Z | server/tests/test_reports.py | Ayonijakaushik19/Nutrihelp | 85926b187a6bfcf80f1f1cd60667ed3d14dce0be | [
"MIT"
] | 25 | 2021-02-14T17:49:23.000Z | 2022-02-27T18:27:39.000Z | from json import dumps as pretty
from ..app import app
class glo:
patient_id = []
userid = ['1k313224', '60961d77a7090edb5b69c62c']
report_id = []
g = glo()
def pprint(data):
print(pretty(data, sort_keys=True, indent=4))
def test_get_all_patients():
with app.test_client() as client:
... | 27.714286 | 64 | 0.534208 | 283 | 2,134 | 3.897527 | 0.187279 | 0.063463 | 0.059837 | 0.092475 | 0.732548 | 0.732548 | 0.732548 | 0.732548 | 0.727108 | 0.692656 | 0 | 0.031073 | 0.336457 | 2,134 | 76 | 65 | 28.078947 | 0.747881 | 0 | 0 | 0.561404 | 0 | 0 | 0.058575 | 0.011246 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.122807 | false | 0 | 0.035088 | 0 | 0.22807 | 0.140351 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cb2d87d8633ee15dcfd606e072e94fcc802b0191 | 112 | py | Python | enthought/block_canvas/app/segy_reader/trace_header_ui.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/block_canvas/app/segy_reader/trace_header_ui.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/block_canvas/app/segy_reader/trace_header_ui.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from blockcanvas.app.segy_reader.trace_header_ui import *
| 28 | 57 | 0.857143 | 16 | 112 | 5.5 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098214 | 112 | 3 | 58 | 37.333333 | 0.871287 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cb3fa35b9c09b8457319c273f58730fd1fb70a73 | 113 | py | Python | cone/crypto/__init__.py | cone387/cone-python | 898fc82fbaf925a4e05f1939b1453f80b6c0379b | [
"MIT"
] | null | null | null | cone/crypto/__init__.py | cone387/cone-python | 898fc82fbaf925a4e05f1939b1453f80b6c0379b | [
"MIT"
] | null | null | null | cone/crypto/__init__.py | cone387/cone-python | 898fc82fbaf925a4e05f1939b1453f80b6c0379b | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
# author: Cone
# datetime: 2022/3/20 下午4:29
# software: PyCharm
from .md5 import get_md5 | 16.142857 | 28 | 0.663717 | 18 | 113 | 4.111111 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 0.168142 | 113 | 7 | 29 | 16.142857 | 0.648936 | 0.690265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cb617c8edc2c2207b9febd28beb6e805f4f54445 | 160 | py | Python | pyEXOS/__init__.py | fooelisa/pyexos | 0a8a221393ed28b1510131ddd45e78a84fae2a33 | [
"Apache-2.0"
] | 5 | 2017-05-15T13:00:00.000Z | 2020-07-27T14:05:08.000Z | pyEXOS/__init__.py | fooelisa/pyexos | 0a8a221393ed28b1510131ddd45e78a84fae2a33 | [
"Apache-2.0"
] | 10 | 2017-12-02T20:45:32.000Z | 2018-10-16T23:17:12.000Z | pyEXOS/__init__.py | fooelisa/pyexos | 0a8a221393ed28b1510131ddd45e78a84fae2a33 | [
"Apache-2.0"
] | 6 | 2017-05-31T09:15:50.000Z | 2021-03-03T04:36:15.000Z | #!/usr/bin/env python
""" Interact with Extreme Networks devices running EXOS """
from __future__ import absolute_import
from .exos import EXOS # noqa: F401
| 22.857143 | 59 | 0.75625 | 22 | 160 | 5.272727 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.15625 | 160 | 6 | 60 | 26.666667 | 0.837037 | 0.525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cb73630b22752bbe3052e4f36281bcf5f7a54768 | 45 | py | Python | BOJwithDongbinNa/1427/1427.py | jiyolla/StudyForCodingTestWithDongbinNa | c070829dd9c7b02b139e56511832c4a3b9f5982f | [
"MIT"
] | null | null | null | BOJwithDongbinNa/1427/1427.py | jiyolla/StudyForCodingTestWithDongbinNa | c070829dd9c7b02b139e56511832c4a3b9f5982f | [
"MIT"
] | null | null | null | BOJwithDongbinNa/1427/1427.py | jiyolla/StudyForCodingTestWithDongbinNa | c070829dd9c7b02b139e56511832c4a3b9f5982f | [
"MIT"
] | null | null | null | print("".join(sorted(input(),reverse=True)))
| 22.5 | 44 | 0.688889 | 6 | 45 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 45 | 1 | 45 | 45 | 0.704545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
cb744e94535d4a9e27a926f07e5e637c388abfc7 | 98 | py | Python | 31/00/list.sort.1.py | pylangstudy/201705 | c69de524faa67fa2d96267d5a51ed9794208f0e4 | [
"CC0-1.0"
] | null | null | null | 31/00/list.sort.1.py | pylangstudy/201705 | c69de524faa67fa2d96267d5a51ed9794208f0e4 | [
"CC0-1.0"
] | 38 | 2017-05-25T07:08:48.000Z | 2017-05-31T01:42:41.000Z | 31/00/list.sort.1.py | pylangstudy/201705 | c69de524faa67fa2d96267d5a51ed9794208f0e4 | [
"CC0-1.0"
] | null | null | null | l = [{'key': 300}, {'key': 200}, {'key': 100}]
print(l)
l.sort(key = lambda x: x['key'])
print(l)
| 19.6 | 46 | 0.510204 | 18 | 98 | 2.777778 | 0.5 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 0.153061 | 98 | 4 | 47 | 24.5 | 0.493976 | 0 | 0 | 0.5 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
cb7a9cd62233d422125e79a99ee64e6ccb64db40 | 190 | py | Python | geodjango/webmap/admin.py | za/geodjango | a9d6d8f769cd36178b9d38ba25fe345970c177a9 | [
"MIT"
] | null | null | null | geodjango/webmap/admin.py | za/geodjango | a9d6d8f769cd36178b9d38ba25fe345970c177a9 | [
"MIT"
] | null | null | null | geodjango/webmap/admin.py | za/geodjango | a9d6d8f769cd36178b9d38ba25fe345970c177a9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from leaflet.admin import LeafletGeoAdmin
from .models import MushroomSpot
# Register your models here.
admin.site.register(MushroomSpot, LeafletGeoAdmin)
| 23.75 | 50 | 0.836842 | 23 | 190 | 6.913043 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110526 | 190 | 7 | 51 | 27.142857 | 0.940828 | 0.136842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cbba3bac548524fac06eba34a5683897b3409179 | 136 | py | Python | app/common/admin.py | hupili/legco-watch | 06253a65d299564827972a38dc7d7dee5c1f6120 | [
"MIT"
] | null | null | null | app/common/admin.py | hupili/legco-watch | 06253a65d299564827972a38dc7d7dee5c1f6120 | [
"MIT"
] | null | null | null | app/common/admin.py | hupili/legco-watch | 06253a65d299564827972a38dc7d7dee5c1f6120 | [
"MIT"
] | 1 | 2020-05-24T17:08:57.000Z | 2020-05-24T17:08:57.000Z | from django.contrib import admin
# Register your models here.
from common.models import ErrorReport
admin.site.register(ErrorReport)
| 17 | 37 | 0.816176 | 18 | 136 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 136 | 7 | 38 | 19.428571 | 0.932773 | 0.191176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cbd0fba1941399fd7ecf872dfb1c615a9b59fa4c | 105 | py | Python | updatesproducer/iupdates_provider.py | AppleteeYT/Iris | b60deb6575820253bad50b48b9b39023d6440fd4 | [
"Apache-2.0"
] | null | null | null | updatesproducer/iupdates_provider.py | AppleteeYT/Iris | b60deb6575820253bad50b48b9b39023d6440fd4 | [
"Apache-2.0"
] | null | null | null | updatesproducer/iupdates_provider.py | AppleteeYT/Iris | b60deb6575820253bad50b48b9b39023d6440fd4 | [
"Apache-2.0"
] | null | null | null | from abc import ABC
class IUpdatesProvider(ABC):
def get_updates(self, user_id: str):
pass
| 15 | 40 | 0.685714 | 15 | 105 | 4.666667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 105 | 6 | 41 | 17.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
1dafd5cb2b9ee24f85d0492d477b2a2487ae0d69 | 21 | py | Python | dfs.py | vollov/dep-search-bpm | 7219393c50af930e83ca4dbd494147d6e41f1d62 | [
"MIT"
] | null | null | null | dfs.py | vollov/dep-search-bpm | 7219393c50af930e83ca4dbd494147d6e41f1d62 | [
"MIT"
] | null | null | null | dfs.py | vollov/dep-search-bpm | 7219393c50af930e83ca4dbd494147d6e41f1d62 | [
"MIT"
] | null | null | null | #Depth-first search
| 7 | 19 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 2 | 20 | 10.5 | 0.888889 | 0.857143 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3813d3bf73e62ea5457d8b35dacfe2f616ff3028 | 77 | py | Python | 20-factorialDigitSum.py | cmaron/Project-Euler | c4950302f71ee65d81040fae5764ec9eeef6b1f0 | [
"MIT"
] | 2 | 2015-01-20T14:00:14.000Z | 2016-01-27T16:36:53.000Z | 20-factorialDigitSum.py | cmaron/Project-Euler | c4950302f71ee65d81040fae5764ec9eeef6b1f0 | [
"MIT"
] | null | null | null | 20-factorialDigitSum.py | cmaron/Project-Euler | c4950302f71ee65d81040fae5764ec9eeef6b1f0 | [
"MIT"
] | null | null | null | import math
print sum(map(lambda x: int(x), list(str(math.factorial(100))))) | 25.666667 | 64 | 0.714286 | 14 | 77 | 3.928571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0.090909 | 77 | 3 | 64 | 25.666667 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
381729988473d7256abd99ce4c7a6b343ffeb255 | 2,358 | py | Python | sparrow_django_common/tests/test_permission_middleware.py | littletiger7/sparrow_django_common | 342f74611e1abba94868add6d98ed0292c1cefcd | [
"MIT"
] | 2 | 2019-07-18T08:32:56.000Z | 2019-07-23T03:58:51.000Z | sparrow_django_common/tests/test_permission_middleware.py | littletiger7/sparrow_django_common | 342f74611e1abba94868add6d98ed0292c1cefcd | [
"MIT"
] | 3 | 2019-07-24T08:51:58.000Z | 2019-08-12T02:48:56.000Z | sparrow_django_common/tests/test_permission_middleware.py | littletiger7/sparrow_django_common | 342f74611e1abba94868add6d98ed0292c1cefcd | [
"MIT"
] | 6 | 2019-07-18T09:10:43.000Z | 2020-09-04T08:25:51.000Z | import unittest
from unittest import mock
def mocked_requests_post(*args, **kwargs):
class MockResponse:
def __init__(self, json_data, status_code):
self.json_data = json_data
self.status_code = status_code
def json(self):
return self.json_data
if args[0] ... | 48.122449 | 118 | 0.730704 | 263 | 2,358 | 6.231939 | 0.254753 | 0.054912 | 0.092739 | 0.080537 | 0.744356 | 0.744356 | 0.744356 | 0.729713 | 0.729713 | 0.729713 | 0 | 0.018556 | 0.154368 | 2,358 | 48 | 119 | 49.125 | 0.80341 | 0.009754 | 0 | 0.432432 | 0 | 0 | 0.295406 | 0.218119 | 0 | 0 | 0 | 0 | 0.054054 | 1 | 0.135135 | false | 0 | 0.108108 | 0.027027 | 0.378378 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
382094766492fe4d7fb7fd530bc4bf0dfce4fe43 | 81,379 | py | Python | src/abaqus/BoundaryCondition/BoundaryConditionModel.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/BoundaryCondition/BoundaryConditionModel.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/BoundaryCondition/BoundaryConditionModel.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | import typing
from abaqusConstants import *
from .AccelerationBC import AccelerationBC
from .AccelerationBCState import AccelerationBCState
from .AccelerationBaseMotionBC import AccelerationBaseMotionBC
from .AccelerationBaseMotionBCState import AccelerationBaseMotionBCState
from .AcousticPressureBC import AcousticPre... | 54.3251 | 120 | 0.618993 | 8,300 | 81,379 | 6.064458 | 0.051566 | 0.048296 | 0.048277 | 0.054713 | 0.776875 | 0.739187 | 0.725877 | 0.711533 | 0.704917 | 0.69846 | 0 | 0.006946 | 0.336622 | 81,379 | 1,497 | 121 | 54.361389 | 0.925442 | 0.592032 | 0 | 0.326316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.080702 | false | 0 | 0.17193 | 0 | 0.336842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
382d73f86eabcf33ad784308b67af36f241218f0 | 786 | py | Python | HiggsAnalysis/Configuration/python/HiggsAnalysis_cff.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 6 | 2017-09-08T14:12:56.000Z | 2022-03-09T23:57:01.000Z | HiggsAnalysis/Configuration/python/HiggsAnalysis_cff.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 545 | 2017-09-19T17:10:19.000Z | 2022-03-07T16:55:27.000Z | HiggsAnalysis/Configuration/python/HiggsAnalysis_cff.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 14 | 2017-10-04T09:47:21.000Z | 2019-10-23T18:04:45.000Z | import FWCore.ParameterSet.Config as cms
#
# HiggsAnalysis standard sequences
#
# Dominique Fortin - UC Riverside
from HiggsAnalysis.Skimming.heavyChHiggsToTauNu_Sequences_cff import *
from HiggsAnalysis.Skimming.higgsTo2Gamma_Sequences_cff import *
from HiggsAnalysis.Skimming.higgsToInvisible_Sequences_cff import *
f... | 49.125 | 187 | 0.886768 | 72 | 786 | 9.486111 | 0.458333 | 0.215227 | 0.219619 | 0.161054 | 0.314788 | 0.314788 | 0 | 0 | 0 | 0 | 0 | 0.009485 | 0.061069 | 786 | 15 | 188 | 52.4 | 0.915989 | 0.161578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.875 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
382fc16c2945d32d9989f8fdbb5969d9a0919059 | 145 | py | Python | textattack/commands/eval_model/__init__.py | StatNLP/discretezoo | 565552b894a5c9632ac7b949d61a6f71123031e4 | [
"MIT"
] | null | null | null | textattack/commands/eval_model/__init__.py | StatNLP/discretezoo | 565552b894a5c9632ac7b949d61a6f71123031e4 | [
"MIT"
] | null | null | null | textattack/commands/eval_model/__init__.py | StatNLP/discretezoo | 565552b894a5c9632ac7b949d61a6f71123031e4 | [
"MIT"
] | 1 | 2022-03-25T16:45:12.000Z | 2022-03-25T16:45:12.000Z | """
TextAttack Command Package for Evaluation
------------------------------------------
"""
from .eval_model_command import EvalModelCommand
| 16.111111 | 48 | 0.558621 | 11 | 145 | 7.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 145 | 8 | 49 | 18.125 | 0.607692 | 0.57931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
697c0d629aa33b9a6cc8a7dc825e782dbbd3336d | 76 | py | Python | multiqc_uphl/modules/abricate/__init__.py | Ikkik/MultiQC_UPHL | 26658ee664613e71bb41c4a23ddaeb0e41f6cdd1 | [
"MIT"
] | 2 | 2019-11-15T16:40:08.000Z | 2019-12-04T18:02:32.000Z | multiqc_uphl/modules/abricate/__init__.py | erinyoung/MultiQC_UPHL | 26658ee664613e71bb41c4a23ddaeb0e41f6cdd1 | [
"MIT"
] | null | null | null | multiqc_uphl/modules/abricate/__init__.py | erinyoung/MultiQC_UPHL | 26658ee664613e71bb41c4a23ddaeb0e41f6cdd1 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .abricate import MultiqcModule
| 19 | 38 | 0.868421 | 9 | 76 | 6.777778 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118421 | 76 | 3 | 39 | 25.333333 | 0.910448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
698f55fcb6776e8f50e1255407bb98682f3c48c4 | 398 | py | Python | terracotta/server/spec.py | vlro/terracotta | 26ef2f61bd8306fd8fecd27288df6426a6751534 | [
"MIT"
] | null | null | null | terracotta/server/spec.py | vlro/terracotta | 26ef2f61bd8306fd8fecd27288df6426a6751534 | [
"MIT"
] | null | null | null | terracotta/server/spec.py | vlro/terracotta | 26ef2f61bd8306fd8fecd27288df6426a6751534 | [
"MIT"
] | null | null | null | """server/spec.py
Flask routes to serve API spec
"""
from typing import Any
from flask import jsonify, render_template
from terracotta.server.flask_api import spec_api, spec
@spec_api.route('/swagger.json', methods=['GET'])
def specification() -> str:
return jsonify(spec.to_dict())
@spec_api.route('/apidoc'... | 18.952381 | 54 | 0.71608 | 57 | 398 | 4.877193 | 0.508772 | 0.07554 | 0.086331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135678 | 398 | 20 | 55 | 19.9 | 0.80814 | 0.115578 | 0 | 0 | 0 | 0 | 0.107246 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.333333 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
2a064c52142b792f6e0d9214e7344f177557518f | 671 | py | Python | hyperopt/hp.py | Loquats/hyperopt | 6c5b33be93a71a4ae6a38f04a29b18020b78b702 | [
"BSD-3-Clause"
] | 6,071 | 2015-01-02T18:07:25.000Z | 2022-03-31T23:43:16.000Z | hyperopt/hp.py | Loquats/hyperopt | 6c5b33be93a71a4ae6a38f04a29b18020b78b702 | [
"BSD-3-Clause"
] | 606 | 2015-01-08T03:05:01.000Z | 2022-03-31T07:55:13.000Z | hyperopt/hp.py | Loquats/hyperopt | 6c5b33be93a71a4ae6a38f04a29b18020b78b702 | [
"BSD-3-Clause"
] | 945 | 2015-01-07T09:21:18.000Z | 2022-03-29T08:51:55.000Z | """
Support nicer user syntax:
from hyperopt import hp
hp.uniform('x', 0, 1)
"""
from .pyll_utils import hp_choice as choice
from .pyll_utils import hp_randint as randint
from .pyll_utils import hp_pchoice as pchoice
from .pyll_utils import hp_uniform as uniform
from .pyll_utils import hp_uniformint as uniform... | 33.55 | 53 | 0.819672 | 109 | 671 | 4.825688 | 0.238532 | 0.197719 | 0.296578 | 0.43346 | 0.479087 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003472 | 0.14158 | 671 | 19 | 54 | 35.315789 | 0.909722 | 0.119225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2a712153d7093cb205a000880188f8419ae7c784 | 111 | py | Python | setup.py | wade-crys/crys-backend | 521b1f99f9990c4dcc6296ab2145015847305fc2 | [
"Apache-2.0"
] | null | null | null | setup.py | wade-crys/crys-backend | 521b1f99f9990c4dcc6296ab2145015847305fc2 | [
"Apache-2.0"
] | 2 | 2021-06-02T00:54:57.000Z | 2021-12-13T20:30:16.000Z | setup.py | wade-crys/CryS-Backend | 521b1f99f9990c4dcc6296ab2145015847305fc2 | [
"Apache-2.0"
] | null | null | null | from setuptools import setup, find_packages
setup(name='CrysBackend', version='1.0', packages=find_packages()) | 37 | 66 | 0.792793 | 15 | 111 | 5.733333 | 0.733333 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.072072 | 111 | 3 | 66 | 37 | 0.815534 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2a77017e1cc54eb9e88a98f6c9a6f7e46e75fdca | 1,195 | py | Python | scope/device/iotool/commands.py | drew-sinha/rpc-scope | 268864097b5b7d123a842f216adc446ec6b32d01 | [
"MIT"
] | 1 | 2017-11-10T17:23:11.000Z | 2017-11-10T17:23:11.000Z | scope/device/iotool/commands.py | drew-sinha/rpc-scope | 268864097b5b7d123a842f216adc446ec6b32d01 | [
"MIT"
] | 5 | 2018-08-01T03:05:35.000Z | 2018-11-29T22:11:25.000Z | scope/device/iotool/commands.py | drew-sinha/rpc-scope | 268864097b5b7d123a842f216adc446ec6b32d01 | [
"MIT"
] | 3 | 2016-05-25T18:58:35.000Z | 2018-11-29T23:40:45.000Z | # This code is licensed under the MIT License (see LICENSE file for details)
def _make_command(*elements):
return ' '.join(map(str, elements))
def wait_high(pin):
return _make_command('wh', pin)
def wait_low(pin):
return _make_command('wl', pin)
def wait_change(pin):
return _make_command('wc', pin)
... | 20.254237 | 76 | 0.693724 | 179 | 1,195 | 4.335196 | 0.363128 | 0.26933 | 0.39433 | 0.206186 | 0.121134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172385 | 1,195 | 58 | 77 | 20.603448 | 0.784631 | 0.061925 | 0 | 0 | 0 | 0 | 0.033065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
aa74157043a5854682f44c51426933aad7277532 | 25 | py | Python | emanager/crm/__init__.py | sourav-30/Manager | 21adc814ab2c6e1cd5b375ea3ce3e01da743e357 | [
"MIT"
] | null | null | null | emanager/crm/__init__.py | sourav-30/Manager | 21adc814ab2c6e1cd5b375ea3ce3e01da743e357 | [
"MIT"
] | null | null | null | emanager/crm/__init__.py | sourav-30/Manager | 21adc814ab2c6e1cd5b375ea3ce3e01da743e357 | [
"MIT"
] | null | null | null | from .Customer import *
| 12.5 | 24 | 0.72 | 3 | 25 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 25 | 1 | 25 | 25 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
aa7557a968bd3d0e4eb689c342b6be2c1bfc895d | 1,744 | py | Python | Python/examples/prostate.py | RyanShahidi/easyml | fe0ecab6de02c0d91ef7de937cfb72ce7fcf3a51 | [
"MIT"
] | 37 | 2016-11-16T20:11:34.000Z | 2022-03-28T19:18:35.000Z | Python/examples/prostate.py | RyanShahidi/easyml | fe0ecab6de02c0d91ef7de937cfb72ce7fcf3a51 | [
"MIT"
] | 76 | 2016-11-06T18:04:41.000Z | 2021-04-30T20:34:51.000Z | Python/examples/prostate.py | CCS-Lab/easyML | 664076b4aba733751905ed351e5a320f20f1e520 | [
"MIT"
] | 18 | 2016-12-21T17:41:29.000Z | 2021-05-10T20:43:49.000Z | from easymlpy import glmnet, random_forest, support_vector_machine
from easymlpy.datasets import load_prostate
# Settings
n_samples = 50
n_divisions = 50
n_iterations = 2
# Load data
prostate = load_prostate()
# Analyze data
output = support_vector_machine.easy_support_vector_machine(prostate, 'lpsa',
... | 39.636364 | 105 | 0.682339 | 211 | 1,744 | 5.184834 | 0.222749 | 0.127971 | 0.115174 | 0.14808 | 0.712066 | 0.712066 | 0.712066 | 0.712066 | 0.712066 | 0.680987 | 0 | 0.024224 | 0.242546 | 1,744 | 43 | 106 | 40.55814 | 0.803936 | 0.032683 | 0 | 0.548387 | 0 | 0 | 0.022011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.096774 | 0 | 0.096774 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
aa886adfa70460f3298b14b87ac0b37322cd3906 | 256 | py | Python | src/olympia/landfill/tests/test_names.py | covariant/addons-server | 41e6ee9e426facb19a1e1ca8d40277cb6f94a7da | [
"BSD-3-Clause"
] | 843 | 2016-02-09T13:00:37.000Z | 2022-03-20T19:17:06.000Z | src/olympia/landfill/tests/test_names.py | covariant/addons-server | 41e6ee9e426facb19a1e1ca8d40277cb6f94a7da | [
"BSD-3-Clause"
] | 10,187 | 2016-02-05T23:51:05.000Z | 2022-03-31T15:24:44.000Z | src/olympia/landfill/tests/test_names.py | covariant/addons-server | 41e6ee9e426facb19a1e1ca8d40277cb6f94a7da | [
"BSD-3-Clause"
] | 551 | 2016-02-08T20:32:16.000Z | 2022-03-15T16:49:24.000Z | from olympia.amo.tests import TestCase
from olympia.landfill.names import generate_names
class NamesTests(TestCase):
def test_names_generation(self):
assert len(generate_names()) == 136
assert 'Exquisite Sandwich' in generate_names()
| 28.444444 | 55 | 0.753906 | 32 | 256 | 5.875 | 0.65625 | 0.207447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.167969 | 256 | 8 | 56 | 32 | 0.868545 | 0 | 0 | 0 | 1 | 0 | 0.070313 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
aa8cc0163535772bcc828d91776be3b06d8b1083 | 26 | py | Python | test/__init__.py | KryptedGaming/django-eveonline-doctrines | 145b80e38a57b4662dc62891dca29a0ba3bfd67c | [
"MIT"
] | 1 | 2021-03-19T17:08:04.000Z | 2021-03-19T17:08:04.000Z | test/__init__.py | KryptedGaming/django-eveonline-doctrines | 145b80e38a57b4662dc62891dca29a0ba3bfd67c | [
"MIT"
] | 25 | 2020-04-20T03:04:53.000Z | 2021-02-21T17:01:53.000Z | test/__init__.py | KryptedGaming/django-eveonline-doctrines | 145b80e38a57b4662dc62891dca29a0ba3bfd67c | [
"MIT"
] | 1 | 2020-10-04T18:21:17.000Z | 2020-10-04T18:21:17.000Z | # from .celery import app
| 13 | 25 | 0.730769 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 1 | 26 | 26 | 0.904762 | 0.884615 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
aaa2137c5eb39ce2f5c3e43e4af1148d368c7590 | 30 | py | Python | utilidades/__init__.py | marcosmercurio/Ola-Mundo | d5452336a3d83c2d43a8f3c222aa93fcbce845a0 | [
"MIT"
] | null | null | null | utilidades/__init__.py | marcosmercurio/Ola-Mundo | d5452336a3d83c2d43a8f3c222aa93fcbce845a0 | [
"MIT"
] | null | null | null | utilidades/__init__.py | marcosmercurio/Ola-Mundo | d5452336a3d83c2d43a8f3c222aa93fcbce845a0 | [
"MIT"
] | null | null | null | input ("ola digite seu nome")
| 15 | 29 | 0.7 | 5 | 30 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 1 | 30 | 30 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
aad1e5769a96c00fe5569b09f253a28e2f6778b6 | 153 | py | Python | src/Lotes/admin.py | carnadaxxx/lotizados | 5d3dc346cb268dfc481e0c532712450b9ac2fc84 | [
"Apache-2.0"
] | null | null | null | src/Lotes/admin.py | carnadaxxx/lotizados | 5d3dc346cb268dfc481e0c532712450b9ac2fc84 | [
"Apache-2.0"
] | null | null | null | src/Lotes/admin.py | carnadaxxx/lotizados | 5d3dc346cb268dfc481e0c532712450b9ac2fc84 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Lote, Manzana
# Register your models here.
admin.site.register(Lote)
admin.site.register(Manzana)
| 19.125 | 33 | 0.797386 | 22 | 153 | 5.545455 | 0.545455 | 0.147541 | 0.278689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 153 | 7 | 34 | 21.857143 | 0.903704 | 0.169935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
aae3a3ea8fa2e4b5f7e5f873ba5cc3719ab8d202 | 7,986 | py | Python | tests/test_experiment/test_local_experiment_saver.py | mv1388/AIToolbox | c64ac4810a02d230ce471d86b758e82ea232a7e7 | [
"MIT"
] | 3 | 2019-10-12T12:24:09.000Z | 2020-08-02T02:42:43.000Z | tests/test_experiment/test_local_experiment_saver.py | mv1388/aitoolbox | 1060435e6cbdfd19abcb726c4080b663536b7467 | [
"MIT"
] | 3 | 2020-04-10T14:07:07.000Z | 2020-04-22T19:04:38.000Z | tests/test_experiment/test_local_experiment_saver.py | mv1388/aitoolbox | 1060435e6cbdfd19abcb726c4080b663536b7467 | [
"MIT"
] | null | null | null | import unittest
import os
import shutil
from tests.utils import *
from aitoolbox.experiment.local_experiment_saver import *
from aitoolbox.experiment.experiment_saver import AbstractExperimentSaver
from aitoolbox.experiment.result_package.abstract_result_packages import AbstractResultPackage
from aitoolbox.experiment... | 51.192308 | 120 | 0.694966 | 937 | 7,986 | 5.512273 | 0.134472 | 0.043369 | 0.042594 | 0.05576 | 0.794385 | 0.794385 | 0.780058 | 0.780058 | 0.771733 | 0.771733 | 0 | 0.009899 | 0.215753 | 7,986 | 155 | 121 | 51.522581 | 0.814785 | 0 | 0 | 0.686441 | 0 | 0 | 0.118833 | 0.089031 | 0 | 0 | 0 | 0 | 0.101695 | 1 | 0.084746 | false | 0 | 0.084746 | 0.025424 | 0.220339 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2aa14cea28d089fef82ea76140020a9e16bf6486 | 25 | py | Python | latest/modules/physics/continuum_mechanics/beam_problems-3.py | sympy/sympy_doc | ec4f28eed09d5acb9e55874e82cc86c74e762c0d | [
"BSD-3-Clause"
] | 20 | 2015-01-28T01:08:13.000Z | 2021-12-19T04:03:28.000Z | latest/modules/physics/continuum_mechanics/beam_problems-3.py | varunjha089/sympy_doc | a9548e3691954dfc16357072d19aeccc3bdd959b | [
"BSD-3-Clause"
] | 31 | 2015-01-27T07:16:19.000Z | 2021-11-15T10:58:15.000Z | latest/modules/physics/continuum_mechanics/beam_problems-3.py | varunjha089/sympy_doc | a9548e3691954dfc16357072d19aeccc3bdd959b | [
"BSD-3-Clause"
] | 38 | 2015-01-08T18:48:27.000Z | 2021-12-02T13:19:43.000Z | b.apply_load(12, 9, -1)
| 12.5 | 24 | 0.6 | 6 | 25 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.16 | 25 | 1 | 25 | 25 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2ab3d4649efd979a11e0a3ab7ad4fe5cd1889b3c | 124 | py | Python | cyclegan/utils/__init__.py | narumiruna/cyclegan-pytorch | 11e28b7d9681e9cd40ecf9ee6d0fc93076d69365 | [
"MIT"
] | 1 | 2020-03-19T07:38:42.000Z | 2020-03-19T07:38:42.000Z | cyclegan/utils/__init__.py | narumiruna/cyclegan-pytorch | 11e28b7d9681e9cd40ecf9ee6d0fc93076d69365 | [
"MIT"
] | null | null | null | cyclegan/utils/__init__.py | narumiruna/cyclegan-pytorch | 11e28b7d9681e9cd40ecf9ee6d0fc93076d69365 | [
"MIT"
] | null | null | null | from .collections import AttrDict
from .factory import get_factory
from .utils import distributed_is_initialized, load_yaml
| 31 | 56 | 0.862903 | 17 | 124 | 6.058824 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104839 | 124 | 3 | 57 | 41.333333 | 0.927928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
63205f0d0f403bce0d50f3687a12fd46ce50107c | 279 | py | Python | lasso/dyna/__init__.py | vishalbelsare/lasso-python | 319bf590599b4a4d50d9345e83e8030afe044aec | [
"BSD-3-Clause"
] | 43 | 2019-06-20T20:23:15.000Z | 2022-03-08T11:28:12.000Z | lasso/dyna/__init__.py | vishalbelsare/lasso-python | 319bf590599b4a4d50d9345e83e8030afe044aec | [
"BSD-3-Clause"
] | 19 | 2019-10-04T17:13:34.000Z | 2022-02-16T16:49:59.000Z | lasso/dyna/__init__.py | vishalbelsare/lasso-python | 319bf590599b4a4d50d9345e83e8030afe044aec | [
"BSD-3-Clause"
] | 17 | 2020-02-09T08:19:03.000Z | 2021-12-03T07:06:31.000Z |
from .D3plot import D3plot
from .Binout import Binout
from .ArrayType import ArrayType
from .FilterType import FilterType
from .D3plotHeader import D3plotHeader, D3plotFiletype
__all__ = ["Binout", "D3plot", "ArrayType", "FilterType", "D3plotHeader", "D3plotFiletype"]
| 31 | 92 | 0.767025 | 28 | 279 | 7.5 | 0.321429 | 0.247619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.139785 | 279 | 8 | 93 | 34.875 | 0.841667 | 0 | 0 | 0 | 0 | 0 | 0.211111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6323c2041b1f1bf636e3e18c36db7c4b362e6b48 | 216 | py | Python | Chapter02/hillar_django_restful_02_01/restful01/toys/views.py | weiliy/Django-RESTful-Web-Services | 0b26a84ec8005c6a2cef61671b6d009f0780a9cc | [
"MIT"
] | 95 | 2018-01-22T21:35:21.000Z | 2022-03-30T10:13:35.000Z | Chapter02/hillar_django_restful_02_01/restful01/toys/views.py | weiliy/Django-RESTful-Web-Services | 0b26a84ec8005c6a2cef61671b6d009f0780a9cc | [
"MIT"
] | 6 | 2020-03-24T16:37:46.000Z | 2021-06-10T21:04:36.000Z | Chapter02/hillar_django_restful_02_01/restful01/toys/views.py | weiliy/Django-RESTful-Web-Services | 0b26a84ec8005c6a2cef61671b6d009f0780a9cc | [
"MIT"
] | 73 | 2018-01-24T02:38:17.000Z | 2022-01-23T21:02:41.000Z | """
Book: Django RESTful Web Services
Author: Gaston C. Hillar - Twitter.com/gastonhillar
Publisher: Packt Publishing Ltd. - http://www.packtpub.com
"""
from django.shortcuts import render
# Create your views here.
| 24 | 58 | 0.759259 | 29 | 216 | 5.655172 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134259 | 216 | 8 | 59 | 27 | 0.877005 | 0.782407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2d4d95095ea40b1fc5639e7a3f8b8fa3c0d93d58 | 1,952 | bzl | Python | rules/toolchain_containers.bzl | bansalvinayak/bazel-toolchains | 5e4c884b0507a399141d3cc018f11edbd29034e8 | [
"Apache-2.0"
] | null | null | null | rules/toolchain_containers.bzl | bansalvinayak/bazel-toolchains | 5e4c884b0507a399141d3cc018f11edbd29034e8 | [
"Apache-2.0"
] | null | null | null | rules/toolchain_containers.bzl | bansalvinayak/bazel-toolchains | 5e4c884b0507a399141d3cc018f11edbd29034e8 | [
"Apache-2.0"
] | null | null | null | def toolchain_container_sha256s():
return {
###########################################################
# Base images #
###########################################################
# gcr.io/cloud-marketplace/google/debian8:latest
"de... | 62.967742 | 105 | 0.550205 | 108 | 1,952 | 9.842593 | 0.388889 | 0.032926 | 0.056444 | 0.118532 | 0.178739 | 0.12794 | 0 | 0 | 0 | 0 | 0 | 0.259715 | 0.209016 | 1,952 | 30 | 106 | 65.066667 | 0.428756 | 0.341189 | 0 | 0 | 0 | 0 | 0.639738 | 0.542576 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | true | 0 | 0 | 0.1 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
931fed1443314c67d4622ad038c45adcca2c04f4 | 181 | py | Python | tests/test-checkpoint2.py | mrzv/saturn | e89e01c8cfb2bf9980f4e3117a3d4b498305dc59 | [
"BSD-3-Clause-LBNL"
] | null | null | null | tests/test-checkpoint2.py | mrzv/saturn | e89e01c8cfb2bf9980f4e3117a3d4b498305dc59 | [
"BSD-3-Clause-LBNL"
] | null | null | null | tests/test-checkpoint2.py | mrzv/saturn | e89e01c8cfb2bf9980f4e3117a3d4b498305dc59 | [
"BSD-3-Clause-LBNL"
] | null | null | null | a = 5
#chk>{{{
#chk>gANDIEfymvjN9EowcCGj+XNtin7uihFyNxXkbW2Myny7GZzJcQAugAN9cQAoWAwAAABfX2J1aWx0aW5z
#chk>X19xAWNidWlsdGlucwpfX2RpY3RfXwpYAQAAAGFxAksFdS4=
#chk>}}}
print(a)
#o> 5
| 18.1 | 85 | 0.81768 | 13 | 181 | 11.384615 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094675 | 0.066298 | 181 | 9 | 86 | 20.111111 | 0.781065 | 0.850829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
933aa79c9f0f508fcaa73dbcdae2f6c260f23f93 | 1,397 | py | Python | smart-pizza-store_factory-part3/pizza_ingredients_factory.py | johnklee/learn_dp_from_bad_smell_design | 88506487ce64a1b9492ec28fe235ae596ddf1472 | [
"MIT"
] | null | null | null | smart-pizza-store_factory-part3/pizza_ingredients_factory.py | johnklee/learn_dp_from_bad_smell_design | 88506487ce64a1b9492ec28fe235ae596ddf1472 | [
"MIT"
] | 4 | 2022-01-02T06:49:43.000Z | 2022-02-15T12:36:41.000Z | smart-pizza-store_factory-part3/pizza_ingredients_factory.py | johnklee/learn_dp_from_bad_smell_design | 88506487ce64a1b9492ec28fe235ae596ddf1472 | [
"MIT"
] | null | null | null | import abc
import pizza_ingredients
class PizzaIngredientFactory(abc.ABC):
@abc.abstractmethod
def create_topping(self) -> pizza_ingredients.Topping:
raise NotImplementedError
@abc.abstractmethod
def create_dough(self) -> pizza_ingredients.Dough:
raise NotImplementedError
@abc.abstractmethod
def... | 29.104167 | 66 | 0.791696 | 146 | 1,397 | 7.342466 | 0.191781 | 0.298507 | 0.223881 | 0.121269 | 0.652985 | 0.652985 | 0.5 | 0.156716 | 0 | 0 | 0 | 0 | 0.129563 | 1,397 | 47 | 67 | 29.723404 | 0.881579 | 0 | 0 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.060606 | 0.212121 | 0.69697 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
934e0c51556d8b17848b2d215abc76ae07f45253 | 135 | py | Python | tests/conftest.py | edornd/clidantic | 1d76357541a2684815ab8919ba0de64a04fe50a1 | [
"MIT"
] | 1 | 2022-02-18T10:23:13.000Z | 2022-02-18T10:23:13.000Z | tests/conftest.py | edornd/clidantic | 1d76357541a2684815ab8919ba0de64a04fe50a1 | [
"MIT"
] | 6 | 2022-01-07T16:16:57.000Z | 2022-02-11T19:45:39.000Z | tests/conftest.py | edornd/clidantic | 1d76357541a2684815ab8919ba0de64a04fe50a1 | [
"MIT"
] | null | null | null | import pytest
from clidantic.testing import CliRunner
@pytest.fixture(scope="function")
def runner(request):
return CliRunner()
| 15 | 39 | 0.77037 | 16 | 135 | 6.5 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 135 | 8 | 40 | 16.875 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.059259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
fa762350734f52fe95b1ff1a95fbd76bbd2baf99 | 276 | py | Python | python/tom/linalg/__init__.py | m7thon/tom | fde3e934083c8c91256350b00e4128e48b351a8c | [
"MIT"
] | 7 | 2017-10-04T05:41:46.000Z | 2021-07-18T01:31:36.000Z | python/tom/linalg/__init__.py | m7thon/tom | fde3e934083c8c91256350b00e4128e48b351a8c | [
"MIT"
] | 1 | 2021-05-16T16:16:55.000Z | 2021-05-20T09:21:30.000Z | python/tom/linalg/__init__.py | m7thon/tom | fde3e934083c8c91256350b00e4128e48b351a8c | [
"MIT"
] | 1 | 2017-10-04T05:41:59.000Z | 2017-10-04T05:41:59.000Z | from .._tomlib import normalize, normalizeRows, normalizeCols, colwiseMean, rowwiseMean, weightedNorm, kron, svd
from .._tomlib import solveLS
from .._tomlib import computeWLRA, improveWLRA
from ._linalg import spectral_norm_expectation, wsvd, cached_wsvd, CachedWSVD, pinv
| 39.428571 | 112 | 0.822464 | 31 | 276 | 7.096774 | 0.709677 | 0.136364 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 276 | 6 | 113 | 46 | 0.894309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fa981f9249e26b4894e567148ad152210444af05 | 264 | py | Python | func4.py | akash0905/Python_codes | f650bfa6a13c7c00cf5852e31999359039bd7ea4 | [
"MIT"
] | null | null | null | func4.py | akash0905/Python_codes | f650bfa6a13c7c00cf5852e31999359039bd7ea4 | [
"MIT"
] | null | null | null | func4.py | akash0905/Python_codes | f650bfa6a13c7c00cf5852e31999359039bd7ea4 | [
"MIT"
] | null | null | null | #~ def product(x,y,z=10):
#~ print(x*y*z)
#~ product(2,3)
#~ def product(x=1,y=10,z):
#~ print(x*y*z)
#~ product(2,3)
def product(x,y,z=10):
print(x)
print(y)
print(z)
#~ print(x*y*z)
#~ product(2,3)
product(2,3,100)
| 13.894737 | 28 | 0.481061 | 50 | 264 | 2.54 | 0.22 | 0.07874 | 0.11811 | 0.188976 | 0.787402 | 0.787402 | 0.787402 | 0.787402 | 0.440945 | 0.440945 | 0 | 0.093264 | 0.268939 | 264 | 18 | 29 | 14.666667 | 0.564767 | 0.507576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0.6 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
fadc9d13b585237eafb6821964ba9077d2ac97e6 | 1,069 | py | Python | terrascript/resource/hashicorp/hcp.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/resource/hashicorp/hcp.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/resource/hashicorp/hcp.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/resource/hashicorp/hcp.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:18:10 UTC)
import terrascript
class hcp_aws_network_peering(terrascript.Resource):
pass
class hcp_aws_transit_gateway_attachment(terrascript.Resource):
pass
class hcp_consul_cluster(terrascript.Resource)... | 18.431034 | 73 | 0.770814 | 135 | 1,069 | 5.674074 | 0.274074 | 0.272846 | 0.300261 | 0.328982 | 0.613577 | 0.408616 | 0.227154 | 0 | 0 | 0 | 0 | 0.013172 | 0.147802 | 1,069 | 57 | 74 | 18.754386 | 0.827662 | 0.101964 | 0 | 0.30303 | 1 | 0 | 0.22466 | 0.147335 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.30303 | 0.030303 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
faef097b7b9859bb74392def96dff17e707d6a4b | 133 | py | Python | tests/test_pyxq.py | goodchinas/pyxq | c7f6ea63084c18178049451f30f32f04080a511c | [
"MIT"
] | 4 | 2019-12-17T11:05:53.000Z | 2020-06-01T05:41:02.000Z | tests/test_pyxq.py | goodchinas/pyxq | c7f6ea63084c18178049451f30f32f04080a511c | [
"MIT"
] | null | null | null | tests/test_pyxq.py | goodchinas/pyxq | c7f6ea63084c18178049451f30f32f04080a511c | [
"MIT"
] | 2 | 2019-11-13T01:11:53.000Z | 2019-12-17T10:55:44.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for `pyxq` package."""
def test_000_something():
"""Test something."""
| 14.777778 | 31 | 0.586466 | 17 | 133 | 4.470588 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.165414 | 133 | 8 | 32 | 16.625 | 0.648649 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | true | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 5 |
8784ecafff073d10c5e14b2aa1d5c02a01236216 | 48 | py | Python | Language Skills/Python/Unit 07 Lists and Functions/01 Lists and Functions/List Recap/1-List accessing.py | rhyep/Python_tutorials | f5c8a64b91802b005dfe7dd9035f8d8daae8c3e3 | [
"MIT"
] | 346 | 2016-02-22T20:21:10.000Z | 2022-01-27T20:55:53.000Z | Language Skills/Python/Unit 7/1-Lists and Functions/List Recap/1-List accessing.py | vpstudios/Codecademy-Exercise-Answers | ebd0ee8197a8001465636f52c69592ea6745aa0c | [
"MIT"
] | 55 | 2016-04-07T13:58:44.000Z | 2020-06-25T12:20:24.000Z | Language Skills/Python/Unit 7/1-Lists and Functions/List Recap/1-List accessing.py | vpstudios/Codecademy-Exercise-Answers | ebd0ee8197a8001465636f52c69592ea6745aa0c | [
"MIT"
] | 477 | 2016-02-21T06:17:02.000Z | 2021-12-22T10:08:01.000Z | n = [1, 3, 5]
# Add your code below
print n[1]
| 9.6 | 21 | 0.5625 | 11 | 48 | 2.454545 | 0.818182 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 0.270833 | 48 | 4 | 22 | 12 | 0.657143 | 0.395833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
87890d5e80b6b90fe1cd2d9bc2f2d39827212fc8 | 320 | py | Python | stubs/ev3_pybricks_1_0_0/uhashlib.py | RonaldHiemstra/micropython-stubs | d97f879b01f6687baaebef1c7e26a80909c3cff3 | [
"MIT"
] | 38 | 2020-10-18T21:59:44.000Z | 2022-03-17T03:03:28.000Z | stubs/ev3_pybricks_1_0_0/uhashlib.py | RonaldHiemstra/micropython-stubs | d97f879b01f6687baaebef1c7e26a80909c3cff3 | [
"MIT"
] | 176 | 2020-10-18T14:31:03.000Z | 2022-03-30T23:22:39.000Z | stubs/ev3_pybricks_1_0_0/uhashlib.py | RonaldHiemstra/micropython-stubs | d97f879b01f6687baaebef1c7e26a80909c3cff3 | [
"MIT"
] | 6 | 2020-12-28T21:11:12.000Z | 2022-02-06T04:07:50.000Z | """
Module: 'uhashlib' on LEGO EV3 v1.0.0
"""
# MCU: sysname=ev3, nodename=ev3, release=('v1.0.0',), version=('0.0.0',), machine=ev3
# Stubber: 1.3.2
class sha1:
''
def digest():
pass
def update():
pass
class sha256:
''
def digest():
pass
def update():
pass
| 13.333333 | 86 | 0.5125 | 43 | 320 | 3.813953 | 0.55814 | 0.04878 | 0.04878 | 0.195122 | 0.317073 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 0.30625 | 320 | 23 | 87 | 13.913043 | 0.648649 | 0.43125 | 0 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
878ed1fd67baa0c5456e5183445f48ee5235cd07 | 119 | py | Python | ingredients_characterization/nutrition/ciqual/__init__.py | openfoodfacts/off-product-environmental-impact | a78958fec1a21f057339184be27cf299d4fe12d1 | [
"MIT"
] | 3 | 2021-09-07T13:46:25.000Z | 2022-01-12T14:38:29.000Z | ingredients_characterization/nutrition/ciqual/__init__.py | openfoodfacts/off-product-environmental-impact | a78958fec1a21f057339184be27cf299d4fe12d1 | [
"MIT"
] | 18 | 2021-09-13T16:19:26.000Z | 2022-03-24T16:22:38.000Z | ingredients_characterization/nutrition/ciqual/__init__.py | openfoodfacts/off-product-environmental-impact | a78958fec1a21f057339184be27cf299d4fe12d1 | [
"MIT"
] | null | null | null | """ Nutritional characterization of the ingredients of the OFF taxonomy using CIQUAL (French nutritional database) """
| 59.5 | 118 | 0.798319 | 14 | 119 | 6.785714 | 0.785714 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134454 | 119 | 1 | 119 | 119 | 0.92233 | 0.92437 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
87c437491b7916075bb5de68985dcd1926705865 | 1,941 | py | Python | test_functions.py | everyday847/trna_thread | 963ef1ed3400fb4de06116815f56d84162b12960 | [
"MIT"
] | 1 | 2019-07-28T13:54:03.000Z | 2019-07-28T13:54:03.000Z | test_functions.py | everyday847/trna_thread | 963ef1ed3400fb4de06116815f56d84162b12960 | [
"MIT"
] | null | null | null | test_functions.py | everyday847/trna_thread | 963ef1ed3400fb4de06116815f56d84162b12960 | [
"MIT"
] | null | null | null | from lib.str_manip import dashed
from thread_denovo_trna import simple_match, import_dash_pattern
from lib.Sequence import Sequence
import mypy
from typing import List, Dict, Tuple
def test_dashed():
"""
We're okay with a terminating space because we can just strip it off if it
ever matters.
"""
as... | 31.306452 | 78 | 0.638331 | 297 | 1,941 | 3.959596 | 0.249158 | 0.121599 | 0.130102 | 0.14881 | 0.683673 | 0.522109 | 0.465136 | 0.336735 | 0.32568 | 0.32568 | 0 | 0.028977 | 0.164348 | 1,941 | 61 | 79 | 31.819672 | 0.696054 | 0.150438 | 0 | 0 | 0 | 0 | 0.095452 | 0 | 0 | 0 | 0 | 0 | 0.451613 | 1 | 0.387097 | true | 0 | 0.419355 | 0 | 0.806452 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
87e505d81fa57880790e5c0de2ebda58b37fd4e5 | 127 | py | Python | stats_scripts/mpmath/calculus/__init__.py | michalkouril/altanalyze | e721c79c56f7b0022516ff5456ebaa14104c933b | [
"Apache-2.0"
] | 73 | 2015-08-17T03:21:32.000Z | 2022-01-02T17:37:56.000Z | stats_scripts/mpmath/calculus/__init__.py | michalkouril/altanalyze | e721c79c56f7b0022516ff5456ebaa14104c933b | [
"Apache-2.0"
] | 43 | 2017-07-30T03:30:04.000Z | 2022-03-26T04:46:05.000Z | stats_scripts/mpmath/calculus/__init__.py | michalkouril/altanalyze | e721c79c56f7b0022516ff5456ebaa14104c933b | [
"Apache-2.0"
] | 30 | 2015-08-26T07:21:43.000Z | 2021-12-09T02:53:25.000Z | import calculus
# XXX: hack to set methods
import approximation
import differentiation
import extrapolation
import polynomials
| 18.142857 | 26 | 0.858268 | 15 | 127 | 7.266667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125984 | 127 | 6 | 27 | 21.166667 | 0.981982 | 0.188976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e20574e339d0813725a410fad77f864d6de2e62e | 1,241 | py | Python | tests/parse/test_get_surrounding_blocks.py | GSE-CCL/scratch-tools | 4c17e671cf7f3493f04981a468b0afe9489bf403 | [
"MIT"
] | null | null | null | tests/parse/test_get_surrounding_blocks.py | GSE-CCL/scratch-tools | 4c17e671cf7f3493f04981a468b0afe9489bf403 | [
"MIT"
] | 9 | 2020-04-17T02:41:49.000Z | 2020-07-07T15:38:27.000Z | tests/parse/test_get_surrounding_blocks.py | GSE-CCL/scratch-scrape | 4c17e671cf7f3493f04981a468b0afe9489bf403 | [
"MIT"
] | null | null | null | import pytest
def test_get_surrounding_blocks_nodata(parser):
result = parser.get_surrounding_blocks("fakeid", dict())
assert result == False
def test_get_surrounding_blocks_nonexistent(parser, full_sb3):
result = parser.get_surrounding_blocks("fakeid", full_sb3)
assert result == False
def test_get_s... | 49.64 | 141 | 0.709911 | 196 | 1,241 | 4.260204 | 0.285714 | 0.167665 | 0.239521 | 0.125749 | 0.853892 | 0.756886 | 0.649102 | 0.649102 | 0.435928 | 0.435928 | 0 | 0.045496 | 0.114424 | 1,241 | 24 | 142 | 51.708333 | 0.714286 | 0 | 0 | 0.263158 | 0 | 0 | 0.283642 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 1 | 0.263158 | false | 0 | 0.052632 | 0 | 0.315789 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e20cd31aff1d409e3821c727fc308974bcfd620b | 221 | py | Python | Chapter01/chapter1/installing_openai_gym.py | CrazyNicolas/PyTorch-1.x-Reinforcement-Learning-Cookbook | 614ee6055039e2b4f91fc762c6bc5c92aee3ee83 | [
"MIT"
] | 1 | 2020-06-11T07:41:35.000Z | 2020-06-11T07:41:35.000Z | Chapter01/chapter1/installing_openai_gym.py | AmazingDD/PyTorch-1.x-Reinforcement-Learning-Cookbook | 1cca7e0218c2683a730b1c4a66681e68023657ef | [
"MIT"
] | null | null | null | Chapter01/chapter1/installing_openai_gym.py | AmazingDD/PyTorch-1.x-Reinforcement-Learning-Cookbook | 1cca7e0218c2683a730b1c4a66681e68023657ef | [
"MIT"
] | 1 | 2020-07-20T16:20:41.000Z | 2020-07-20T16:20:41.000Z | '''
Source codes for PyTorch 1.0 Reinforcement Learning (Packt Publishing)
Chapter 1: Getting started with reinforcement learning and PyTorch
Author: Yuxi (Hayden) Liu
'''
from gym import envs
print(envs.registry.all()) | 24.555556 | 70 | 0.778281 | 31 | 221 | 5.548387 | 0.83871 | 0.244186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015707 | 0.135747 | 221 | 9 | 71 | 24.555556 | 0.884817 | 0.737557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
35a08cfb9e6e78b34ff6462d049b66333936f214 | 78 | py | Python | Demo90/routes/__init__.py | De-Risking-Strategies/SensorFusionPublic | caa6ef7a5ac8991ee12ce2d5ad9b28e2b2b8ed38 | [
"MIT"
] | null | null | null | Demo90/routes/__init__.py | De-Risking-Strategies/SensorFusionPublic | caa6ef7a5ac8991ee12ce2d5ad9b28e2b2b8ed38 | [
"MIT"
] | null | null | null | Demo90/routes/__init__.py | De-Risking-Strategies/SensorFusionPublic | caa6ef7a5ac8991ee12ce2d5ad9b28e2b2b8ed38 | [
"MIT"
] | null | null | null | #Sensor Fusion ROUTES Package
print(f'Invoking ___init__.py for {__name__}')
| 19.5 | 46 | 0.782051 | 11 | 78 | 4.727273 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 78 | 3 | 47 | 26 | 0.753623 | 0.358974 | 0 | 0 | 0 | 0 | 0.734694 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
35a626c9cce9c424d9f029ff747859b4ede726b5 | 259 | py | Python | bauspartrackerapp/admin.py | hollesse/bauspartracker | 3b490497a523707f5607483954ffbc3423053660 | [
"MIT"
] | null | null | null | bauspartrackerapp/admin.py | hollesse/bauspartracker | 3b490497a523707f5607483954ffbc3423053660 | [
"MIT"
] | null | null | null | bauspartrackerapp/admin.py | hollesse/bauspartracker | 3b490497a523707f5607483954ffbc3423053660 | [
"MIT"
] | null | null | null | from django.contrib import admin
from bauspartrackerapp.models import Bausparvertrag, Sparbeitrag, Buchung, SparbeitragJob
admin.site.register(Bausparvertrag)
admin.site.register(Sparbeitrag)
admin.site.register(Buchung)
admin.site.register(SparbeitragJob)
| 28.777778 | 89 | 0.853282 | 29 | 259 | 7.62069 | 0.448276 | 0.162896 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065637 | 259 | 8 | 90 | 32.375 | 0.913223 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
35e44455d0eafd20503ce3dde9a3b8700ff7ea7d | 108 | py | Python | cmd.py | Carrotor116/fserver | 86934023fb080088854b4bae7867ad3667561111 | [
"MIT"
] | 1 | 2020-08-06T01:25:14.000Z | 2020-08-06T01:25:14.000Z | cmd.py | Carrotor116/fserver | 86934023fb080088854b4bae7867ad3667561111 | [
"MIT"
] | 1 | 2020-07-26T09:27:01.000Z | 2020-07-26T09:27:01.000Z | cmd.py | Carrotor116/fserver | 86934023fb080088854b4bae7867ad3667561111 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from fserver.cmd import run_fserver
if __name__ == '__main__':
run_fserver()
| 13.5 | 35 | 0.648148 | 14 | 108 | 4.285714 | 0.785714 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.194444 | 108 | 7 | 36 | 15.428571 | 0.678161 | 0.194444 | 0 | 0 | 0 | 0 | 0.094118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ea3548036ea2ba6c9edf8f6933ad88c30bbd8aef | 217 | py | Python | algorithms/algo4.py | dash61/AIM | f34031b13f69d2b9e028bb3bf54aab6fde06d817 | [
"MIT"
] | 2 | 2021-05-11T22:35:55.000Z | 2021-06-03T19:52:24.000Z | algorithms/algo4.py | dash61/AIM | f34031b13f69d2b9e028bb3bf54aab6fde06d817 | [
"MIT"
] | 1 | 2021-01-19T02:49:30.000Z | 2021-02-05T01:07:21.000Z | algorithms/algo4.py | dash61/AIM | f34031b13f69d2b9e028bb3bf54aab6fde06d817 | [
"MIT"
] | null | null | null | """
Fourth algorithm function for application.
Fill in your own algorithmic code here.
"""
def calculate4(self):
'Calculate ROI and other params given historical stock data using ?? algorithm.'
return False
| 21.7 | 84 | 0.741935 | 28 | 217 | 5.75 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00565 | 0.184332 | 217 | 9 | 85 | 24.111111 | 0.903955 | 0.746544 | 0 | 0 | 0 | 0 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
ea7625e0b9924a6984e5e614f7211edba8347784 | 147 | py | Python | mnist_arithmetic/__init__.py | e2crawfo/mnist_arithmetic | ba18f13cd8ed804e93548ae47a6a316088f05d53 | [
"MIT"
] | 1 | 2019-10-17T19:20:45.000Z | 2019-10-17T19:20:45.000Z | mnist_arithmetic/__init__.py | e2crawfo/mnist_arithmetic | ba18f13cd8ed804e93548ae47a6a316088f05d53 | [
"MIT"
] | null | null | null | mnist_arithmetic/__init__.py | e2crawfo/mnist_arithmetic | ba18f13cd8ed804e93548ae47a6a316088f05d53 | [
"MIT"
] | null | null | null | from .emnist import MnistArithmeticDataset, load_emnist
from .salience import SalienceDataset
from .omniglot import load_omniglot, omniglot_classes | 49 | 55 | 0.877551 | 17 | 147 | 7.411765 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088435 | 147 | 3 | 56 | 49 | 0.940299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ea8d29985b649cfe98bb06090e127c2248b60df3 | 188 | py | Python | Python/Basic Programs/reversenumber.py | themohitpapneja/Code_Dump | ec72144e66d12cba2ce719c37292517588490b42 | [
"Apache-2.0"
] | null | null | null | Python/Basic Programs/reversenumber.py | themohitpapneja/Code_Dump | ec72144e66d12cba2ce719c37292517588490b42 | [
"Apache-2.0"
] | null | null | null | Python/Basic Programs/reversenumber.py | themohitpapneja/Code_Dump | ec72144e66d12cba2ce719c37292517588490b42 | [
"Apache-2.0"
] | null | null | null | ## reverse a 4-digit number using operators
a=eval(input("Enter any 4-Digit Number: "))
print((),(a//1000),a%1000,a%10000)
print((a%10)*1000 + ((a//10)%100)*100 + (a%1000)*10 + (a%10000))
| 37.6 | 64 | 0.632979 | 35 | 188 | 3.4 | 0.457143 | 0.12605 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0.106383 | 188 | 4 | 65 | 47 | 0.470238 | 0.212766 | 0 | 0 | 0 | 0 | 0.17931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
5769dbc059fd9259875fff826c11550efa4ebec7 | 8,048 | py | Python | tests/test_base_controllers.py | stuart-fb/pyrobot | 2f06f337f84e2c0b172dcf5ee0cd8c7de73a50e1 | [
"MIT"
] | 6 | 2020-03-08T00:56:25.000Z | 2021-05-21T03:32:37.000Z | tests/test_base_controllers.py | stuart-fb/pyrobot | 2f06f337f84e2c0b172dcf5ee0cd8c7de73a50e1 | [
"MIT"
] | 16 | 2020-01-28T22:49:47.000Z | 2022-03-11T23:51:24.000Z | tests/test_base_controllers.py | stuart-fb/pyrobot | 2f06f337f84e2c0b172dcf5ee0cd8c7de73a50e1 | [
"MIT"
] | 2 | 2022-02-15T21:28:53.000Z | 2022-03-21T21:45:55.000Z | # Copyright (c) Facebook, Inc. and its affiliates.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import os
import pytest
import time
import numpy as np
from pyrobot import Robot
from pyrobot.locobot.base_control_utils import \
get_traj... | 45.213483 | 112 | 0.687624 | 1,052 | 8,048 | 4.977186 | 0.159696 | 0.072574 | 0.152406 | 0.109817 | 0.740833 | 0.738732 | 0.7267 | 0.716005 | 0.707792 | 0.694423 | 0 | 0.014984 | 0.179051 | 8,048 | 177 | 113 | 45.468927 | 0.777509 | 0.042247 | 0 | 0.57037 | 0 | 0.007407 | 0.093365 | 0.009999 | 0 | 0 | 0 | 0 | 0.02963 | 1 | 0.103704 | false | 0 | 0.051852 | 0.014815 | 0.17037 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
578e05116b46078c34a30ac92c819c89603f7d1b | 232 | py | Python | src/lyrics/exceptions.py | LimaGuilherme/what-is-your-band-favorite-word-api | dff4a9ed120bdd9dca1ad72167aa963d15d810ca | [
"MIT"
] | null | null | null | src/lyrics/exceptions.py | LimaGuilherme/what-is-your-band-favorite-word-api | dff4a9ed120bdd9dca1ad72167aa963d15d810ca | [
"MIT"
] | null | null | null | src/lyrics/exceptions.py | LimaGuilherme/what-is-your-band-favorite-word-api | dff4a9ed120bdd9dca1ad72167aa963d15d810ca | [
"MIT"
] | null | null | null | class LyricsNotFound(Exception):
pass
class ElasticSearchConnectionError(Exception):
pass
class InvalidRepository(Exception):
pass
class ArtistNotFound(Exception):
pass
class ConfigError(Exception):
pass
| 12.210526 | 46 | 0.75 | 20 | 232 | 8.7 | 0.4 | 0.373563 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185345 | 232 | 18 | 47 | 12.888889 | 0.920635 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
579dd3aa82c64303c7249f345c3404a33f42c196 | 6,225 | py | Python | tests/utils_test/test_morph.py | JanekEbb/paderbox | 7cd3bf92380e05ec856936d21a64d0a8a3ff0fca | [
"MIT"
] | 25 | 2019-12-21T21:10:08.000Z | 2022-02-04T10:40:19.000Z | tests/utils_test/test_morph.py | JanekEbb/paderbox | 7cd3bf92380e05ec856936d21a64d0a8a3ff0fca | [
"MIT"
] | 32 | 2019-12-21T21:48:24.000Z | 2022-03-31T08:20:39.000Z | tests/utils_test/test_morph.py | JanekEbb/paderbox | 7cd3bf92380e05ec856936d21a64d0a8a3ff0fca | [
"MIT"
] | 254 | 2019-12-16T08:15:08.000Z | 2021-11-26T12:41:12.000Z | import unittest
import numpy as np
import paderbox.testing as tc
from paderbox.array import morph
T, B, F = 40, 6, 50
A = np.random.uniform(size=(T, B, F))
A2 = np.random.uniform(size=(T, 1, B, F))
A3 = np.random.uniform(size=(T*B*F,))
A4 = np.random.uniform(size=(T, 1, 1, B, 1, F))
class TestMorph(unittest.TestCas... | 31.923077 | 71 | 0.52 | 966 | 6,225 | 3.197723 | 0.081781 | 0.037553 | 0.227258 | 0.202978 | 0.809971 | 0.76821 | 0.657494 | 0.619618 | 0.537714 | 0.382972 | 0 | 0.017926 | 0.292048 | 6,225 | 194 | 72 | 32.087629 | 0.683004 | 0 | 0 | 0.343949 | 0 | 0 | 0.073735 | 0 | 0 | 0 | 0 | 0 | 0.343949 | 1 | 0.216561 | false | 0 | 0.025478 | 0 | 0.248408 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
57dba0e6434e7de02990f1e3a92cae51bb90b96c | 141 | py | Python | components/collector/src/source_model/__init__.py | Erik-Stel/quality-time | 602b6970e5d9088cb89cc6d488337349e54e1c9a | [
"Apache-2.0"
] | null | null | null | components/collector/src/source_model/__init__.py | Erik-Stel/quality-time | 602b6970e5d9088cb89cc6d488337349e54e1c9a | [
"Apache-2.0"
] | null | null | null | components/collector/src/source_model/__init__.py | Erik-Stel/quality-time | 602b6970e5d9088cb89cc6d488337349e54e1c9a | [
"Apache-2.0"
] | null | null | null | """Model package."""
from .entity import Entities, Entity
from .measurement import SourceMeasurement
from .responses import SourceResponses
| 23.5 | 42 | 0.808511 | 15 | 141 | 7.6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113475 | 141 | 5 | 43 | 28.2 | 0.912 | 0.099291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
57dbe61128a55390d1b0dad863bf47373fe0c412 | 76 | py | Python | code snippets/list_comprehension.py | akshaynagpal/python_snippets | 86896150cc5b6ab37ea289cb7659d04a22a288ac | [
"MIT"
] | null | null | null | code snippets/list_comprehension.py | akshaynagpal/python_snippets | 86896150cc5b6ab37ea289cb7659d04a22a288ac | [
"MIT"
] | null | null | null | code snippets/list_comprehension.py | akshaynagpal/python_snippets | 86896150cc5b6ab37ea289cb7659d04a22a288ac | [
"MIT"
] | null | null | null | even_squares = [x**2 for x in range(1,11) if x%2 == 0 ]
print even_squares
| 19 | 55 | 0.657895 | 17 | 76 | 2.823529 | 0.705882 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 0.197368 | 76 | 3 | 56 | 25.333333 | 0.688525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
17cb33c2ae598f99d591d2de363ae38c90adab46 | 95 | py | Python | caqi/scripts/create_project.py | chrisgervang/caqi | 1441ea0dc66add6611005b9aebdf37dfc12d3811 | [
"MIT"
] | null | null | null | caqi/scripts/create_project.py | chrisgervang/caqi | 1441ea0dc66add6611005b9aebdf37dfc12d3811 | [
"MIT"
] | null | null | null | caqi/scripts/create_project.py | chrisgervang/caqi | 1441ea0dc66add6611005b9aebdf37dfc12d3811 | [
"MIT"
] | null | null | null | from prefect import Client
client = Client()
client.create_project(project_name="caqi-flows")
| 19 | 48 | 0.8 | 13 | 95 | 5.692308 | 0.692308 | 0.486486 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 95 | 4 | 49 | 23.75 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
aa38006fd2abe646ad711730671c51767a6c838c | 54 | py | Python | sessions/session_01.py | pavanmaradia/202102-Python-Django-Training | 6ce836009acf037a921b7439a6edda7fc8370dcb | [
"MIT"
] | 1 | 2021-02-09T16:14:36.000Z | 2021-02-09T16:14:36.000Z | sessions/session_01.py | pavanmaradia/202102-Python-Django-Training | 6ce836009acf037a921b7439a6edda7fc8370dcb | [
"MIT"
] | null | null | null | sessions/session_01.py | pavanmaradia/202102-Python-Django-Training | 6ce836009acf037a921b7439a6edda7fc8370dcb | [
"MIT"
] | null | null | null | print("Hello World")
print("My name is Pavan Maradia") | 27 | 33 | 0.740741 | 9 | 54 | 4.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 54 | 2 | 33 | 27 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
aa3afd5361d6cca4c856ba4a4d0f6b45b9d50161 | 278 | py | Python | MINI_WEB/mini_web/framework/mini_frame_1.py | GalphaXie/LaoX | b7e8f9744292dc052c870e4d873052e9bfec19ee | [
"MIT"
] | null | null | null | MINI_WEB/mini_web/framework/mini_frame_1.py | GalphaXie/LaoX | b7e8f9744292dc052c870e4d873052e9bfec19ee | [
"MIT"
] | 12 | 2020-03-24T17:39:25.000Z | 2022-03-12T00:01:24.000Z | MINI_WEB/mini_web/framework/mini_frame_1.py | GalphaXie/LaoX | b7e8f9744292dc052c870e4d873052e9bfec19ee | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# file: mini_frame.py
# Created by Guang at 19-7-19
# description:
# *-* coding:utf8 *-*
import time
def login():
return "Welcome xxx to website! %s" % time.ctime()
def register():
return "Welcome xxx register on our website! %s" % time.ctime() | 18.533333 | 68 | 0.651079 | 41 | 278 | 4.390244 | 0.731707 | 0.144444 | 0.177778 | 0.188889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.194245 | 278 | 15 | 68 | 18.533333 | 0.772321 | 0.352518 | 0 | 0 | 0 | 0 | 0.380682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a4bec53bcda6e2d722e2cb189aa2b9afcc501350 | 267 | py | Python | KerbalLanderEnvironment/__init__.py | dpohanlon/KerbalLanderEnvironment | d591f9c4e993cf922c2832aac54f5a55366439cf | [
"MIT"
] | 2 | 2021-07-05T03:16:19.000Z | 2021-12-09T13:37:08.000Z | KerbalLanderEnvironment/__init__.py | dpohanlon/KerbalLanderEnvironment | d591f9c4e993cf922c2832aac54f5a55366439cf | [
"MIT"
] | null | null | null | KerbalLanderEnvironment/__init__.py | dpohanlon/KerbalLanderEnvironment | d591f9c4e993cf922c2832aac54f5a55366439cf | [
"MIT"
] | null | null | null | from gym.envs.registration import register
register(id='KerbalLander-v0',
entry_point='KerbalLanderEnvironment.envs:KerbalLanderEnvironment',
)
register(id='KerbalLanderSimple-v0',
entry_point='KerbalLanderEnvironment.envs:KerbalLanderSimpleEnvironment',
)
| 26.7 | 77 | 0.820225 | 24 | 267 | 9.041667 | 0.583333 | 0.092166 | 0.110599 | 0.322581 | 0.359447 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008097 | 0.074906 | 267 | 9 | 78 | 29.666667 | 0.870445 | 0 | 0 | 0 | 0 | 0 | 0.546816 | 0.490637 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
352ad1262868bac74344bf07990e300c1c377ffe | 1,150 | py | Python | backend/myplaces/migrations/0010_auto_20220516_0955.py | crowdbotics-apps/ideapros-llc-viaggi-32125 | 8749fea0e08f50289cb7a192fd4d923f94770386 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/myplaces/migrations/0010_auto_20220516_0955.py | crowdbotics-apps/ideapros-llc-viaggi-32125 | 8749fea0e08f50289cb7a192fd4d923f94770386 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/myplaces/migrations/0010_auto_20220516_0955.py | crowdbotics-apps/ideapros-llc-viaggi-32125 | 8749fea0e08f50289cb7a192fd4d923f94770386 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | # Generated by Django 2.2.28 on 2022-05-16 09:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('myplaces', '0009_auto_20220515_1138'),
]
operations = [
migrations.AddField(
model_name='place',
name='formatted_ad... | 29.487179 | 74 | 0.578261 | 119 | 1,150 | 5.436975 | 0.369748 | 0.139104 | 0.177743 | 0.208655 | 0.718702 | 0.718702 | 0.718702 | 0.63524 | 0.63524 | 0.63524 | 0 | 0.058677 | 0.303478 | 1,150 | 38 | 75 | 30.263158 | 0.749064 | 0.04 | 0 | 0.625 | 1 | 0 | 0.118875 | 0.064428 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
352c7e3d4df3057ff4a19fa92a39066cf0945034 | 181 | py | Python | Python/cython/rowdotsetup.py | jessicaleete/numerical_computing | cc71f51f35ca74d00e617af3d1a0223e19fb9a68 | [
"CC-BY-3.0"
] | 10 | 2016-10-18T19:54:25.000Z | 2021-10-09T20:12:38.000Z | Python/cython/rowdotsetup.py | jessicaleete/numerical_computing | cc71f51f35ca74d00e617af3d1a0223e19fb9a68 | [
"CC-BY-3.0"
] | null | null | null | Python/cython/rowdotsetup.py | jessicaleete/numerical_computing | cc71f51f35ca74d00e617af3d1a0223e19fb9a68 | [
"CC-BY-3.0"
] | 2 | 2017-05-14T16:07:59.000Z | 2020-06-20T09:05:06.000Z | from distutils.core import setup
from Cython.Build import cythonize
import numpy
setup(name = "rowdot", ext_modules = cythonize('rowdot.pyx'), include_dirs=[numpy.get_include()], )
| 36.2 | 99 | 0.779006 | 25 | 181 | 5.52 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099448 | 181 | 4 | 100 | 45.25 | 0.846626 | 0 | 0 | 0 | 0 | 0 | 0.088398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
107a1eb8d15f317190fa1548d7088f81416a2d85 | 40 | py | Python | tests/__init__.py | Bouchet07/intelligen | d876b1241efe7ad70fa759e1f10728728f867992 | [
"MIT"
] | null | null | null | tests/__init__.py | Bouchet07/intelligen | d876b1241efe7ad70fa759e1f10728728f867992 | [
"MIT"
] | null | null | null | tests/__init__.py | Bouchet07/intelligen | d876b1241efe7ad70fa759e1f10728728f867992 | [
"MIT"
] | null | null | null | """Unit test package for intelligen."""
| 20 | 39 | 0.7 | 5 | 40 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.8 | 0.825 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
10a5061bd78f2c222e12007e870b7a28687728f4 | 159 | py | Python | tests/algorithms/__init__.py | Landanjs/composer | de75822706bc8a33e7d487b33a0b994944b9c806 | [
"Apache-2.0"
] | 1 | 2021-11-09T22:58:46.000Z | 2021-11-09T22:58:46.000Z | tests/algorithms/__init__.py | Landanjs/composer | de75822706bc8a33e7d487b33a0b994944b9c806 | [
"Apache-2.0"
] | null | null | null | tests/algorithms/__init__.py | Landanjs/composer | de75822706bc8a33e7d487b33a0b994944b9c806 | [
"Apache-2.0"
] | null | null | null | # Copyright 2022 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0
from tests.algorithms.algorithm_settings import get_settings as get_settings
| 31.8 | 76 | 0.842767 | 22 | 159 | 5.954545 | 0.863636 | 0.167939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041958 | 0.100629 | 159 | 4 | 77 | 39.75 | 0.874126 | 0.477987 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
52b8271924e4b63fe8431f291f4ae87957db0831 | 2,366 | py | Python | metaswitch_tinder/components/grid.py | MartinHowarth/melinda | 651591a16797bc5dc95e784e8c35eb57fc8de41f | [
"MIT"
] | 1 | 2018-05-12T19:56:27.000Z | 2018-05-12T19:56:27.000Z | metaswitch_tinder/components/grid.py | MartinHowarth/melinda | 651591a16797bc5dc95e784e8c35eb57fc8de41f | [
"MIT"
] | 24 | 2018-05-12T19:07:40.000Z | 2018-06-12T21:46:50.000Z | metaswitch_tinder/components/grid.py | MartinHowarth/melinda | 651591a16797bc5dc95e784e8c35eb57fc8de41f | [
"MIT"
] | null | null | null | import dash_html_components as html
def create_equal_grid(elements):
"""
:param elements: List of rows, of which each is a list of columns
Rows must be of equal length.
Each element of a row must be a html.Div.
:return:
"""
n_columns = len(elements[0])
if not all([len(row) ==... | 29.209877 | 78 | 0.598901 | 311 | 2,366 | 4.421222 | 0.21865 | 0.035636 | 0.023273 | 0.046545 | 0.754909 | 0.706909 | 0.706909 | 0.706909 | 0.706909 | 0.645818 | 0 | 0.008388 | 0.29459 | 2,366 | 80 | 79 | 29.575 | 0.815458 | 0.152578 | 0 | 0.630435 | 0 | 0 | 0.091889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.021739 | 0.043478 | 0.195652 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5e2402ff01388e02e821916011528b1ae1b8b977 | 141 | py | Python | run.py | modelop/fastscore-cli | 1e14a00d473eece35b7dfe6791137af2ddd569ee | [
"Apache-2.0"
] | 4 | 2017-06-06T15:41:51.000Z | 2019-02-06T17:14:41.000Z | run.py | modelop/fastscore-cli | 1e14a00d473eece35b7dfe6791137af2ddd569ee | [
"Apache-2.0"
] | 4 | 2017-04-10T10:06:00.000Z | 2019-01-29T11:11:11.000Z | run.py | modelop/fastscore-cli | 1e14a00d473eece35b7dfe6791137af2ddd569ee | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
from cli import dispatch
import sys
def main():
return dispatch.main()
if __name__ == "__main__":
sys.exit(main())
| 11.75 | 26 | 0.680851 | 20 | 141 | 4.4 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 141 | 11 | 27 | 12.818182 | 0.752137 | 0.113475 | 0 | 0 | 0 | 0 | 0.065041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
5e257b62886200366be9a70881fc76bfab830611 | 55 | py | Python | src/analyze/__init__.py | ppisarski/digit-recognizer | 4cfc5469a158045ed454764a3a591352b37adced | [
"MIT"
] | null | null | null | src/analyze/__init__.py | ppisarski/digit-recognizer | 4cfc5469a158045ed454764a3a591352b37adced | [
"MIT"
] | null | null | null | src/analyze/__init__.py | ppisarski/digit-recognizer | 4cfc5469a158045ed454764a3a591352b37adced | [
"MIT"
] | null | null | null | from .confusion_matrix import *
from .history import *
| 18.333333 | 31 | 0.781818 | 7 | 55 | 6 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 2 | 32 | 27.5 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
eaa3b5553c3c9727b7c98ddbf6e193acc91c45eb | 123 | py | Python | tests/test_module.py | DNXLabs/python-module-template | 28cde52ad9744ca0cd8825ec922ac401b8eaf2fb | [
"Apache-2.0"
] | null | null | null | tests/test_module.py | DNXLabs/python-module-template | 28cde52ad9744ca0cd8825ec922ac401b8eaf2fb | [
"Apache-2.0"
] | null | null | null | tests/test_module.py | DNXLabs/python-module-template | 28cde52ad9744ca0cd8825ec922ac401b8eaf2fb | [
"Apache-2.0"
] | null | null | null | import pytest
from module.utils import template
def test_module():
result = template()
assert result == 'Template' | 20.5 | 33 | 0.723577 | 15 | 123 | 5.866667 | 0.666667 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186992 | 123 | 6 | 34 | 20.5 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
eac3a3dbc184bcfe18cec6acbed3fc7b3d231206 | 136 | py | Python | source/__main__.py | zackjohnson8/TeamCityTestRepo | ccf719fb49f3dda579f1f9d6792229a4686252cb | [
"MIT"
] | null | null | null | source/__main__.py | zackjohnson8/TeamCityTestRepo | ccf719fb49f3dda579f1f9d6792229a4686252cb | [
"MIT"
] | null | null | null | source/__main__.py | zackjohnson8/TeamCityTestRepo | ccf719fb49f3dda579f1f9d6792229a4686252cb | [
"MIT"
] | null | null | null | import shutil
import sys
import team_city_math
def main():
print(team_city_math.add(2, 3))
if __name__ == "__main__":
main()
| 12.363636 | 35 | 0.691176 | 21 | 136 | 3.904762 | 0.666667 | 0.195122 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.191176 | 136 | 10 | 36 | 13.6 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.571429 | 0.142857 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
eafc3ed56673f8c4f2304a6e8ba663a653f8d1d8 | 49 | py | Python | specreduce/utils/__init__.py | duytnguyendtn/specreduce | 7b4235796852041426b7279b21217df287553225 | [
"BSD-3-Clause"
] | null | null | null | specreduce/utils/__init__.py | duytnguyendtn/specreduce | 7b4235796852041426b7279b21217df287553225 | [
"BSD-3-Clause"
] | null | null | null | specreduce/utils/__init__.py | duytnguyendtn/specreduce | 7b4235796852041426b7279b21217df287553225 | [
"BSD-3-Clause"
] | null | null | null | """
General purpose utilities for specreduce
"""
| 12.25 | 40 | 0.734694 | 5 | 49 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 3 | 41 | 16.333333 | 0.857143 | 0.816327 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d83b0a176c74ffa7c757537f2bb5c5945644bfbd | 170 | py | Python | vedastr/models/bodies/sequences/transformer/unit/registry.py | csmasters/vedastr | 7513384ab503f15dc574c7d92b75ff2092354757 | [
"Apache-2.0"
] | 475 | 2020-03-17T01:46:32.000Z | 2022-03-29T23:30:15.000Z | vedastr/models/bodies/sequences/transformer/unit/registry.py | csmasters/vedastr | 7513384ab503f15dc574c7d92b75ff2092354757 | [
"Apache-2.0"
] | 71 | 2020-04-01T04:17:47.000Z | 2021-11-18T06:55:14.000Z | vedastr/models/bodies/sequences/transformer/unit/registry.py | csmasters/vedastr | 7513384ab503f15dc574c7d92b75ff2092354757 | [
"Apache-2.0"
] | 108 | 2020-02-21T10:30:37.000Z | 2022-03-21T12:03:30.000Z | from vedastr.utils import Registry
TRANSFORMER_ENCODER_LAYERS = Registry('transformer_encoder_layer')
TRANSFORMER_DECODER_LAYERS = Registry('transformer_decoder_layer')
| 34 | 66 | 0.870588 | 19 | 170 | 7.368421 | 0.526316 | 0.407143 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064706 | 170 | 4 | 67 | 42.5 | 0.880503 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
dc25fdfc40a7f52eca66494aa6b68ba8eb801bf0 | 66 | py | Python | Stream Tool/Resources/Scripts/RoAUpdateScores.py | Ateozc/RoA-Stream-Tool | c2e90d8ac2a6b2604016e11c6bd9210b37f39aa8 | [
"MIT"
] | null | null | null | Stream Tool/Resources/Scripts/RoAUpdateScores.py | Ateozc/RoA-Stream-Tool | c2e90d8ac2a6b2604016e11c6bd9210b37f39aa8 | [
"MIT"
] | null | null | null | Stream Tool/Resources/Scripts/RoAUpdateScores.py | Ateozc/RoA-Stream-Tool | c2e90d8ac2a6b2604016e11c6bd9210b37f39aa8 | [
"MIT"
] | null | null | null | from RoAScripts import *
update_scores(sys.argv[1], sys.argv[2]) | 16.5 | 39 | 0.742424 | 11 | 66 | 4.363636 | 0.818182 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.106061 | 66 | 4 | 39 | 16.5 | 0.779661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
dc31152df60be3b996e61e5c06ba9b836258dc51 | 363 | py | Python | account_check/wizard/__init__.py | odoo-mastercore/odoo-argentina | 58cdfe8610bae42f69ddb9d652a28eb3245f6a04 | [
"MIT"
] | 1 | 2021-01-25T15:57:58.000Z | 2021-01-25T15:57:58.000Z | account_check/wizard/__init__.py | odoo-mastercore/odoo-argentina | 58cdfe8610bae42f69ddb9d652a28eb3245f6a04 | [
"MIT"
] | null | null | null | account_check/wizard/__init__.py | odoo-mastercore/odoo-argentina | 58cdfe8610bae42f69ddb9d652a28eb3245f6a04 | [
"MIT"
] | 2 | 2020-10-17T16:36:02.000Z | 2021-01-24T10:20:05.000Z | ##############################################################################
# For copyright and license notices, see __manifest__.py file in module root
# directory
##############################################################################
from . import account_check_action_wizard
from . import print_pre_numbere... | 45.375 | 78 | 0.473829 | 30 | 363 | 5.333333 | 0.866667 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077135 | 363 | 7 | 79 | 51.857143 | 0.477612 | 0.231405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dcb0409ca9c88b4f26f4e26b2d3552f7099ac68d | 395 | py | Python | CPT/format.py | Grosse-pasteque/CPT | 3e3588617a7c058361546844a2c35913b0bcf7ed | [
"MIT"
] | 1 | 2021-06-30T19:54:31.000Z | 2021-06-30T19:54:31.000Z | CPT/format.py | Grosse-pasteque/CPT | 3e3588617a7c058361546844a2c35913b0bcf7ed | [
"MIT"
] | null | null | null | CPT/format.py | Grosse-pasteque/CPT | 3e3588617a7c058361546844a2c35913b0bcf7ed | [
"MIT"
] | 1 | 2021-07-20T07:33:20.000Z | 2021-07-20T07:33:20.000Z | from colorama import Fore
def console(text, config, status):
if config['return_only_value']:
return text
def text_format(text):
return str(text).replace('\n', f"{Fore.RESET}\n{config['console']['start']}{config['colors'][status]}")
return f"{config['console']['start']}{config['colors'][status]}{text_format(t... | 39.5 | 153 | 0.691139 | 55 | 395 | 4.872727 | 0.436364 | 0.19403 | 0.104478 | 0.179104 | 0.268657 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073418 | 395 | 10 | 153 | 39.5 | 0.73224 | 0 | 0 | 0 | 0 | 0.142857 | 0.578283 | 0.530303 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
f492805777e51bd77c19fae4e0678169bb2b3d42 | 185 | py | Python | mitm/core/__init__.py | alvarogzp/man-in-the-middle | 82b645872582477cda21e3e8e62d61ba18e91282 | [
"Apache-2.0"
] | 4 | 2017-09-19T15:21:30.000Z | 2022-03-21T14:19:13.000Z | mitm/core/__init__.py | alvarogzp/man-in-the-middle | 82b645872582477cda21e3e8e62d61ba18e91282 | [
"Apache-2.0"
] | 1 | 2017-09-11T08:52:19.000Z | 2017-09-11T08:52:19.000Z | mitm/core/__init__.py | alvarogzp/man-in-the-middle | 82b645872582477cda21e3e8e62d61ba18e91282 | [
"Apache-2.0"
] | null | null | null | from mitm.core.request_handler.base import BaseMitmRequestHandler
from mitm.core.request_handler.with_destination import set_destination_endpoint, BaseWithDestinationMitmRequestHandler
| 61.666667 | 118 | 0.913514 | 20 | 185 | 8.2 | 0.65 | 0.097561 | 0.146341 | 0.231707 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048649 | 185 | 2 | 119 | 92.5 | 0.931818 | 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 | 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 | 5 |
f4dd9fea73cf8daad855913e16230d4c7c89c1ec | 88 | py | Python | ontology/logistic_regression/sherlock/listify_circuits_k18_reverse.py | ehbeam/neuro-knowledge-engine | 9dc56ade0bbbd8d14f0660774f787c3f46d7e632 | [
"MIT"
] | 15 | 2020-07-17T07:10:26.000Z | 2022-02-18T05:51:45.000Z | ontology/neural_network/sherlock/listify_circuits_k18_reverse.py | YifeiCAO/neuro-knowledge-engine | 9dc56ade0bbbd8d14f0660774f787c3f46d7e632 | [
"MIT"
] | 2 | 2022-01-14T09:10:12.000Z | 2022-01-28T17:32:42.000Z | ontology/neural_network/sherlock/listify_circuits_k18_reverse.py | YifeiCAO/neuro-knowledge-engine | 9dc56ade0bbbd8d14f0660774f787c3f46d7e632 | [
"MIT"
] | 4 | 2021-12-22T13:27:32.000Z | 2022-02-18T05:51:47.000Z | #!/bin/python
import listify_circuits
listify_circuits.optimize_circuits(18, 'reverse') | 22 | 49 | 0.829545 | 11 | 88 | 6.363636 | 0.727273 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0.056818 | 88 | 4 | 49 | 22 | 0.819277 | 0.136364 | 0 | 0 | 0 | 0 | 0.092105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7617b941b39dfbfdc86e9bb06d28eb21625cc0ec | 164 | py | Python | moto/elbv2/urls.py | gtourkas/moto | 307104417b579d23d02f670ff55217a2d4a16bee | [
"Apache-2.0"
] | 5,460 | 2015-01-01T01:11:17.000Z | 2022-03-31T23:45:38.000Z | moto/elbv2/urls.py | gtourkas/moto | 307104417b579d23d02f670ff55217a2d4a16bee | [
"Apache-2.0"
] | 4,475 | 2015-01-05T19:37:30.000Z | 2022-03-31T13:55:12.000Z | moto/elbv2/urls.py | gtourkas/moto | 307104417b579d23d02f670ff55217a2d4a16bee | [
"Apache-2.0"
] | 1,831 | 2015-01-14T00:00:44.000Z | 2022-03-31T20:30:04.000Z | from ..elb.urls import api_version_elb_backend
url_bases = [r"https?://elasticloadbalancing\.(.+)\.amazonaws.com"]
url_paths = {"{0}/$": api_version_elb_backend}
| 27.333333 | 67 | 0.731707 | 22 | 164 | 5.090909 | 0.727273 | 0.178571 | 0.232143 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.079268 | 164 | 5 | 68 | 32.8 | 0.735099 | 0 | 0 | 0 | 0 | 0 | 0.335366 | 0.304878 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
762885c9976ddb30ace13aee3b4667c8fc4f5962 | 78 | py | Python | bandit/__init__.py | mremes/bandit-simulation | 1167d059bf7c67a5b5e0a1c33d340edddc721b5e | [
"MIT"
] | null | null | null | bandit/__init__.py | mremes/bandit-simulation | 1167d059bf7c67a5b5e0a1c33d340edddc721b5e | [
"MIT"
] | null | null | null | bandit/__init__.py | mremes/bandit-simulation | 1167d059bf7c67a5b5e0a1c33d340edddc721b5e | [
"MIT"
] | null | null | null | from .agent import Agent
from .reward import NormallyDistributedRandomRewards
| 26 | 52 | 0.871795 | 8 | 78 | 8.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 2 | 53 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
762f707ad0f82b1bed45c93db1dc73e16b7f9aba | 130 | py | Python | src/test/break_int3.py | jalapenopuzzle/rr | 6f8b3c73868d9fd3e6ac14a1322b92dbe9958807 | [
"BSD-1-Clause"
] | 5,156 | 2015-01-01T06:10:28.000Z | 2020-11-13T15:12:34.000Z | src/test/break_int3.py | jalapenopuzzle/rr | 6f8b3c73868d9fd3e6ac14a1322b92dbe9958807 | [
"BSD-1-Clause"
] | 1,214 | 2015-01-02T02:32:13.000Z | 2020-11-09T04:36:26.000Z | src/test/break_int3.py | jalapenopuzzle/rr | 6f8b3c73868d9fd3e6ac14a1322b92dbe9958807 | [
"BSD-1-Clause"
] | 402 | 2015-01-13T22:54:32.000Z | 2020-11-05T15:02:25.000Z | from util import *
send_gdb('b int3.c:6')
expect_gdb('Breakpoint 1')
send_gdb('c')
expect_gdb('Breakpoint 1, breakpoint')
ok()
| 13 | 38 | 0.707692 | 22 | 130 | 4 | 0.590909 | 0.159091 | 0.431818 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.123077 | 130 | 9 | 39 | 14.444444 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.361538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
52091da1f95350e4f7788e6c763431a9214abcf6 | 3,351 | py | Python | dojo/unittests/tools/test_gitlab_sast_parser.py | axelpavageau/django-DefectDojo | 00b425742b783ada0f432241c2812ac1257feb73 | [
"BSD-3-Clause"
] | 1 | 2021-07-26T21:12:01.000Z | 2021-07-26T21:12:01.000Z | dojo/unittests/tools/test_gitlab_sast_parser.py | axelpavageau/django-DefectDojo | 00b425742b783ada0f432241c2812ac1257feb73 | [
"BSD-3-Clause"
] | 562 | 2019-06-21T18:44:38.000Z | 2022-03-28T18:09:08.000Z | dojo/unittests/tools/test_gitlab_sast_parser.py | axelpavageau/django-DefectDojo | 00b425742b783ada0f432241c2812ac1257feb73 | [
"BSD-3-Clause"
] | 2 | 2021-09-16T18:30:17.000Z | 2021-09-17T00:46:38.000Z | from django.test import TestCase
from dojo.tools.gitlab_sast.parser import GitlabSastParser
from dojo.models import Test
class TestGitlabSastParser(TestCase):
def test_parse_file_with_no_vuln_has_no_findings(self):
testfile = open("dojo/unittests/scans/gitlab_sast/gl-sast-report-0-vuln.json")
par... | 44.092105 | 89 | 0.682781 | 388 | 3,351 | 5.726804 | 0.203608 | 0.135014 | 0.032403 | 0.043204 | 0.755176 | 0.723222 | 0.707921 | 0.707921 | 0.707921 | 0.707921 | 0 | 0.012772 | 0.20561 | 3,351 | 75 | 90 | 44.68 | 0.821938 | 0 | 0 | 0.447761 | 0 | 0 | 0.156073 | 0.107729 | 0 | 0 | 0 | 0 | 0.358209 | 1 | 0.089552 | false | 0.044776 | 0.044776 | 0 | 0.149254 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5213265a7b0f61a62df6364c00660b37cf1226ec | 42 | py | Python | tests/components/mutesync/__init__.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/mutesync/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/mutesync/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Tests for the mütesync integration."""
| 21 | 41 | 0.714286 | 5 | 42 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.810811 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
525c175f06dc3889c663c3e4b4c36d57d56544ab | 3,942 | py | Python | find_shortest_path.py | tjbruce19/codewars | ecc22421916d88589635d8781400acbd71c53c01 | [
"Apache-2.0"
] | null | null | null | find_shortest_path.py | tjbruce19/codewars | ecc22421916d88589635d8781400acbd71c53c01 | [
"Apache-2.0"
] | null | null | null | find_shortest_path.py | tjbruce19/codewars | ecc22421916d88589635d8781400acbd71c53c01 | [
"Apache-2.0"
] | null | null | null | import time
def get_next_node(grid, path, min_path, end_node,pre_move=None):
cur_node = path[-1]
if cur_node is end_node:
return min_path,path[:-1]
if cur_node.position.x != end_node.position.x:
right_node = grid[cur_node.position.x + 1][cur_node.position.y]
path.append(right_node)
... | 39.818182 | 97 | 0.509386 | 511 | 3,942 | 3.661448 | 0.078278 | 0.190807 | 0.111705 | 0.090861 | 0.803848 | 0.791555 | 0.729022 | 0.701764 | 0.672902 | 0.672902 | 0 | 0.010638 | 0.356164 | 3,942 | 99 | 98 | 39.818182 | 0.726556 | 0.265094 | 0 | 0.507937 | 0 | 0 | 0.0042 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031746 | false | 0.047619 | 0.015873 | 0 | 0.206349 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5285401a494222004db84f3a011339ac586ff970 | 3,409 | py | Python | configs/defect/cascade_rcnn_x101_64x4d_fpn_20e_coco.py | zwqnju/mmdetection | 40dff5ac0fb9d3edd37f777b6e871b9587722457 | [
"Apache-2.0"
] | null | null | null | configs/defect/cascade_rcnn_x101_64x4d_fpn_20e_coco.py | zwqnju/mmdetection | 40dff5ac0fb9d3edd37f777b6e871b9587722457 | [
"Apache-2.0"
] | null | null | null | configs/defect/cascade_rcnn_x101_64x4d_fpn_20e_coco.py | zwqnju/mmdetection | 40dff5ac0fb9d3edd37f777b6e871b9587722457 | [
"Apache-2.0"
] | null | null | null | _base_ = [
'../cascade_rcnn/cascade_rcnn_x101_64x4d_fpn_20e_coco.py'
]
dataset_type = 'DefectDataset'
classes = (
"边异常",
"角异常",
"白色点瑕疵",
"浅色块瑕疵",
"深色点块瑕疵",
"光圈瑕疵"
)
data_root = '/media/samba/weiqiang/Datasets/dataset/'
data = dict(
samples_per_gpu=2,
workers_per_gpu=2,
trai... | 32.160377 | 96 | 0.520681 | 380 | 3,409 | 4.344737 | 0.263158 | 0.025439 | 0.032707 | 0.036342 | 0.79043 | 0.79043 | 0.730466 | 0.730466 | 0.730466 | 0.730466 | 0 | 0.103223 | 0.371957 | 3,409 | 106 | 96 | 32.160377 | 0.667912 | 0 | 0 | 0.60396 | 0 | 0 | 0.20176 | 0.134018 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
87137c9d0c9321a8df4dcd89c9de316439447dde | 38 | py | Python | Hola.py | JoshuaRoy/3240-labdemo | 089093048a09dc3420cfcab0558564cdeb0b5e56 | [
"MIT"
] | null | null | null | Hola.py | JoshuaRoy/3240-labdemo | 089093048a09dc3420cfcab0558564cdeb0b5e56 | [
"MIT"
] | null | null | null | Hola.py | JoshuaRoy/3240-labdemo | 089093048a09dc3420cfcab0558564cdeb0b5e56 | [
"MIT"
] | null | null | null | import helper
helper.greeting("Hola!") | 19 | 24 | 0.789474 | 5 | 38 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 38 | 2 | 24 | 19 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
871c5ff5bb4a0f07ffed44c13457676d4a54ce92 | 78 | py | Python | train.py | DrazenDodik/vh_execution_onpush | 70bd309aa1e2da2603acd3a908ea557547dd2991 | [
"MIT"
] | null | null | null | train.py | DrazenDodik/vh_execution_onpush | 70bd309aa1e2da2603acd3a908ea557547dd2991 | [
"MIT"
] | null | null | null | train.py | DrazenDodik/vh_execution_onpush | 70bd309aa1e2da2603acd3a908ea557547dd2991 | [
"MIT"
] | null | null | null | import os
import argparse
print("Updated train.py!")
print("Testing changes") | 15.6 | 26 | 0.769231 | 11 | 78 | 5.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 5 | 27 | 15.6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.405063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 1 | 0 | 5 |
874af8fec1ca589c89370f28ec5f91344b92e3ad | 157 | py | Python | reservations/exceptions.py | kkarolis/cct-subsilocus | b2fd38a184550203410aa29248a6e5d6160acc19 | [
"MIT"
] | 1 | 2020-03-04T18:23:30.000Z | 2020-03-04T18:23:30.000Z | reservations/exceptions.py | kkarolis/cct-subsilocus | b2fd38a184550203410aa29248a6e5d6160acc19 | [
"MIT"
] | 5 | 2021-03-18T23:45:40.000Z | 2021-06-10T18:27:09.000Z | reservations/exceptions.py | kkarolis/cct-subsilocus | b2fd38a184550203410aa29248a6e5d6160acc19 | [
"MIT"
] | null | null | null | from django.core.exceptions import ValidationError
class ReservationException(ValidationError):
"""General exception raised by apps business logic."""
| 26.166667 | 58 | 0.802548 | 16 | 157 | 7.875 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121019 | 157 | 5 | 59 | 31.4 | 0.913043 | 0.305732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.