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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
59d5c57a72fded593d3a1206cea6cb5885b7836f | 17,436 | py | Python | test/testsArithmeticExpressions/testPower.py | mouton5000/DiscreteEventApplicationEditor | 4a4272fd9b0a7f3f228fee1e9e7b351e4a21cd33 | [
"MIT"
] | null | null | null | test/testsArithmeticExpressions/testPower.py | mouton5000/DiscreteEventApplicationEditor | 4a4272fd9b0a7f3f228fee1e9e7b351e4a21cd33 | [
"MIT"
] | null | null | null | test/testsArithmeticExpressions/testPower.py | mouton5000/DiscreteEventApplicationEditor | 4a4272fd9b0a7f3f228fee1e9e7b351e4a21cd33 | [
"MIT"
] | null | null | null | __author__ = 'mouton'
from triggerExpressions import Evaluation
from unittest import TestCase
from math import pi, sqrt
from arithmeticExpressions import ALitteral, Power, UndefinedLitteral, SelfLitteral
from database import Variable
class TestPower(TestCase):
@classmethod
def setUpClass(cls):
impor... | 33.856311 | 83 | 0.631796 | 2,065 | 17,436 | 5.11816 | 0.030993 | 0.049011 | 0.077018 | 0.091021 | 0.952786 | 0.938972 | 0.923361 | 0.89157 | 0.840666 | 0.790709 | 0 | 0.038958 | 0.262446 | 17,436 | 515 | 84 | 33.856311 | 0.782893 | 0 | 0 | 0.754587 | 0 | 0 | 0.006423 | 0 | 0 | 0 | 0 | 0 | 0.169725 | 1 | 0.174312 | false | 0 | 0.013761 | 0 | 0.190367 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c6fd2c4342e94cc248f18cbbe9cb37bd7ae4efa3 | 86 | py | Python | tests/data/__init__.py | discohead/jesse | 5f025cc72adb33132b75a516f74f96b52ca12af3 | [
"MIT"
] | 3,999 | 2018-11-09T10:38:51.000Z | 2022-03-31T12:29:12.000Z | tests/data/__init__.py | discohead/jesse | 5f025cc72adb33132b75a516f74f96b52ca12af3 | [
"MIT"
] | 172 | 2020-04-16T16:19:08.000Z | 2022-03-28T13:28:55.000Z | tests/data/__init__.py | discohead/jesse | 5f025cc72adb33132b75a516f74f96b52ca12af3 | [
"MIT"
] | 495 | 2019-03-01T21:48:53.000Z | 2022-03-30T15:35:19.000Z | from .test_candles_0 import test_candles_0
from .test_candles_1 import test_candles_1
| 28.666667 | 42 | 0.883721 | 16 | 86 | 4.25 | 0.375 | 0.647059 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.093023 | 86 | 2 | 43 | 43 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0511eada8b850f9ee27a4f47809b0659412ce1d8 | 125 | py | Python | raster2points/__init__.py | wri/raster2csv | 5ce5e10bb02dfd448327e18e98df17c0e8cbd1e5 | [
"MIT"
] | 7 | 2019-02-01T18:19:57.000Z | 2021-06-23T04:35:12.000Z | raster2points/__init__.py | wri/raster2csv | 5ce5e10bb02dfd448327e18e98df17c0e8cbd1e5 | [
"MIT"
] | 2 | 2019-06-24T16:52:24.000Z | 2019-10-25T14:08:05.000Z | raster2points/__init__.py | wri/raster2csv | 5ce5e10bb02dfd448327e18e98df17c0e8cbd1e5 | [
"MIT"
] | 3 | 2019-06-20T14:08:02.000Z | 2021-06-18T14:00:22.000Z | from raster2points.raster2points import raster2df
from raster2points.raster2points import raster2csv
name = "raster2points"
| 25 | 50 | 0.864 | 12 | 125 | 9 | 0.5 | 0.314815 | 0.555556 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061947 | 0.096 | 125 | 4 | 51 | 31.25 | 0.893805 | 0 | 0 | 0 | 0 | 0 | 0.104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
05376ba5ad44537c72a5b95f2904d5a9415c3f0e | 9,461 | py | Python | squadrons_text_map.py | moff-wildfire/squadrons_config | 824881df7ceb5fda6ecb96656d85860870931901 | [
"Unlicense"
] | null | null | null | squadrons_text_map.py | moff-wildfire/squadrons_config | 824881df7ceb5fda6ecb96656d85860870931901 | [
"Unlicense"
] | null | null | null | squadrons_text_map.py | moff-wildfire/squadrons_config | 824881df7ceb5fda6ecb96656d85860870931901 | [
"Unlicense"
] | null | null | null | kbm_text_map = {
'ConceptMouseRecenter':'Mouse Recenter',
'ConceptContextualInteraction':'Contextual Interaction',
'ConceptPitch_P':'Pitch Up',
'ConceptPitch_N':'Pitch Down',
'ConceptYaw_P':'Yaw Right',
'ConceptYaw_N':'Yaw Left',
'ConceptRoll_P':'Roll Right',
'ConceptRoll_N':'Roll Left',
'ConceptThrottle_P':'Throttle I... | 53.451977 | 92 | 0.79907 | 842 | 9,461 | 8.916865 | 0.209026 | 0.062334 | 0.058604 | 0.008524 | 0.91236 | 0.91236 | 0.887853 | 0.887853 | 0.81593 | 0.81593 | 0 | 0 | 0.075891 | 9,461 | 177 | 93 | 53.451977 | 0.858744 | 0 | 0 | 0.886364 | 0 | 0 | 0.865779 | 0.301945 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0572264447c40c8026ecaf204d0573a01fc23773 | 18 | py | Python | tests/parser/good/multiple-xor.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | 1 | 2020-11-24T05:24:26.000Z | 2020-11-24T05:24:26.000Z | tests/parser/good/multiple-xor.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | null | null | null | tests/parser/good/multiple-xor.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | null | null | null | 1 ^ 2 ^ 3 ^ 4 ^ 5
| 9 | 17 | 0.277778 | 5 | 18 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 0.5 | 18 | 1 | 18 | 18 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
55958f57b074a31331279e44d3895f6d9b2f11cf | 7,893 | py | Python | alembic/versions/05a831a5db7b_added_indices_on_created_at.py | notconfusing/CivilServant | f9c7a2cf4de4f6506e37b7c33a7e512b893069c3 | [
"MIT"
] | 17 | 2017-03-13T15:14:57.000Z | 2020-01-07T19:12:49.000Z | alembic/versions/05a831a5db7b_added_indices_on_created_at.py | notconfusing/CivilServant | f9c7a2cf4de4f6506e37b7c33a7e512b893069c3 | [
"MIT"
] | 32 | 2016-06-08T03:35:43.000Z | 2016-11-30T18:50:49.000Z | alembic/versions/05a831a5db7b_added_indices_on_created_at.py | notconfusing/CivilServant | f9c7a2cf4de4f6506e37b7c33a7e512b893069c3 | [
"MIT"
] | 4 | 2018-07-11T23:36:28.000Z | 2019-11-16T19:32:33.000Z | """Added indices on created_at
Revision ID: 05a831a5db7b
Revises: a571e57d884a
Create Date: 2017-07-24 23:44:23.301874
"""
# revision identifiers, used by Alembic.
revision = '05a831a5db7b'
down_revision = 'a571e57d884a'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
def upg... | 60.251908 | 129 | 0.750538 | 1,183 | 7,893 | 4.598478 | 0.061708 | 0.180331 | 0.105882 | 0.132353 | 0.937132 | 0.937132 | 0.937132 | 0.937132 | 0.937132 | 0.927941 | 0 | 0.006986 | 0.093247 | 7,893 | 130 | 130 | 60.715385 | 0.753109 | 0.07665 | 0 | 0.818182 | 0 | 0 | 0.449348 | 0.272273 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.022727 | 0 | 0.113636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e980be0b26696a1bee1cb7665825312b435565cb | 47 | py | Python | tests/test_slacki.py | erdogant/slacki | a1ce272e05d75251d7649758a6b372e126a8b273 | [
"MIT"
] | null | null | null | tests/test_slacki.py | erdogant/slacki | a1ce272e05d75251d7649758a6b372e126a8b273 | [
"MIT"
] | null | null | null | tests/test_slacki.py | erdogant/slacki | a1ce272e05d75251d7649758a6b372e126a8b273 | [
"MIT"
] | 1 | 2022-01-05T00:16:47.000Z | 2022-01-05T00:16:47.000Z | import slacki as slacki
def test_plot():
pass | 11.75 | 23 | 0.765957 | 8 | 47 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 4 | 24 | 11.75 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
e9ba1570939bf9697834e7724d000ffdc4c824f6 | 29,374 | py | Python | spark_fhir_schemas/stu3/complex_types/consent.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | 2 | 2020-10-31T23:25:01.000Z | 2021-06-09T14:12:42.000Z | spark_fhir_schemas/stu3/complex_types/consent.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/stu3/complex_types/consent.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | from typing import Union, List, Optional
from pyspark.sql.types import StructType, StructField, StringType, ArrayType, DataType
# This file is auto-generated by generate_schema so do not edit manually
# noinspection PyPep8Naming
class ConsentSchema:
"""
A record of a healthcare consumer’s policy choices, whi... | 50.732297 | 100 | 0.546912 | 2,779 | 29,374 | 5.570349 | 0.127384 | 0.068992 | 0.043605 | 0.065116 | 0.84509 | 0.831395 | 0.831395 | 0.79593 | 0.784755 | 0.766602 | 0 | 0.002894 | 0.411861 | 29,374 | 578 | 101 | 50.820069 | 0.893147 | 0.313883 | 0 | 0.700508 | 1 | 0 | 0.021967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002538 | false | 0 | 0.040609 | 0 | 0.050761 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
75b1251469b3a5895fb1c687c35e51af3c48b161 | 124 | py | Python | main.py | Amazeryogo/surf-exel | 0d6a43a7ba2b059f61405db846e546308a035733 | [
"MIT"
] | 3 | 2020-08-12T05:59:47.000Z | 2020-11-08T00:01:04.000Z | main.py | Amazeryogo/surf-exel | 0d6a43a7ba2b059f61405db846e546308a035733 | [
"MIT"
] | 8 | 2020-08-19T06:24:06.000Z | 2020-10-27T04:37:46.000Z | main.py | Amazeryogo/surf-exel | 0d6a43a7ba2b059f61405db846e546308a035733 | [
"MIT"
] | 1 | 2020-10-25T13:35:17.000Z | 2020-10-25T13:35:17.000Z | import editor
import platform
from editor import root
from editor import *
from editor.settings import *
root.mainloop()
| 13.777778 | 29 | 0.790323 | 17 | 124 | 5.764706 | 0.411765 | 0.367347 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 124 | 8 | 30 | 15.5 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
75bc6d2c8b1918160018a8a2b41167bf9dd58f64 | 17,362 | py | Python | Q-score_Analysis/REcount_split_fastq_Q-score_plots.py | ascendo/REcount | 6a4e3f630a0d87d709fa99bc8808506d75317c64 | [
"MIT"
] | 1 | 2019-11-11T18:43:38.000Z | 2019-11-11T18:43:38.000Z | Q-score_Analysis/REcount_split_fastq_Q-score_plots.py | ascendo/REcount | 6a4e3f630a0d87d709fa99bc8808506d75317c64 | [
"MIT"
] | null | null | null | Q-score_Analysis/REcount_split_fastq_Q-score_plots.py | ascendo/REcount | 6a4e3f630a0d87d709fa99bc8808506d75317c64 | [
"MIT"
] | 3 | 2018-08-10T19:41:27.000Z | 2019-11-12T16:16:09.000Z | from Bio import SeqIO
import regex
import numpy as np
import matplotlib.pyplot as plt
import sys
import os
import gzip
#Input args
#filename = sys.argv[1] #Input fastq file
#Ref_filename = sys.argv[2] #Barcode reference file
filename = "<PATH_TO_FASTQ_FILE>"
Ref_filename = "<PATH_TO_UMGC_423_Variable.fasta>"
folder... | 32.391791 | 167 | 0.698019 | 2,904 | 17,362 | 3.897383 | 0.103994 | 0.02739 | 0.043647 | 0.029157 | 0.847411 | 0.838487 | 0.826913 | 0.823732 | 0.817547 | 0.80827 | 0 | 0.029975 | 0.154533 | 17,362 | 535 | 168 | 32.452336 | 0.741059 | 0.140825 | 0 | 0.79021 | 0 | 0 | 0.091136 | 0.013549 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020979 | 0 | 0.020979 | 0.006993 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
75dd93f5dfa7dabb35bba6269bbdabfd79cb2ce3 | 2,925 | py | Python | BCmetric/utilNotAngle.py | visdata/UrbanMotionAnalysis | 423357bb3d8369e174386174aa6209e32473836c | [
"Apache-2.0"
] | null | null | null | BCmetric/utilNotAngle.py | visdata/UrbanMotionAnalysis | 423357bb3d8369e174386174aa6209e32473836c | [
"Apache-2.0"
] | null | null | null | BCmetric/utilNotAngle.py | visdata/UrbanMotionAnalysis | 423357bb3d8369e174386174aa6209e32473836c | [
"Apache-2.0"
] | 1 | 2020-04-02T13:16:19.000Z | 2020-04-02T13:16:19.000Z | from math import atan2,sqrt,cos
import numpy as np
def averageDirection(angleArray,n):
return sum(angleArray)/n
def angleDistance(angle):
return angle
def std(angleArray, n, averageDir):
sumValue = sum([pow(angleDistance(angle - averageDir), 2) for angle in angleArray])
return sqrt(float(sumValue)/n... | 68.023256 | 653 | 0.588034 | 583 | 2,925 | 2.950257 | 0.157804 | 0.124419 | 0.42907 | 0.565116 | 0.515698 | 0.373256 | 0.373256 | 0.373256 | 0.259302 | 0.259302 | 0 | 0.302621 | 0.139145 | 2,925 | 43 | 654 | 68.023256 | 0.380461 | 0.352821 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0 | 0.068966 | 0.103448 | 0.551724 | 0.103448 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
75e1470c92d0b818265b0e56ade9dc9637d62d7c | 113 | py | Python | gsfpy/enums.py | irewolepeter/gsfpy_USM_Implementation | c4614ac3f7d833eb86ea38c7708108b130f96612 | [
"MIT"
] | 7 | 2020-07-01T07:12:19.000Z | 2022-01-20T20:39:57.000Z | gsfpy/enums.py | irewolepeter/gsfpy_USM_Implementation | c4614ac3f7d833eb86ea38c7708108b130f96612 | [
"MIT"
] | 36 | 2020-06-23T09:10:15.000Z | 2022-03-22T10:27:58.000Z | gsfpy/enums.py | irewolepeter/gsfpy_USM_Implementation | c4614ac3f7d833eb86ea38c7708108b130f96612 | [
"MIT"
] | 2 | 2021-02-07T13:21:52.000Z | 2021-06-24T19:16:16.000Z | from gsfpy import mirror_default_gsf_version_submodule
mirror_default_gsf_version_submodule(globals(), "enums")
| 28.25 | 56 | 0.876106 | 15 | 113 | 6.066667 | 0.666667 | 0.285714 | 0.351648 | 0.505495 | 0.703297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061947 | 113 | 3 | 57 | 37.666667 | 0.858491 | 0 | 0 | 0 | 0 | 0 | 0.044248 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
75fe8619af87086bc0b697003e23ac509eb6915c | 139 | py | Python | strings/tests/test_jewels_and_stones.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | null | null | null | strings/tests/test_jewels_and_stones.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | null | null | null | strings/tests/test_jewels_and_stones.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | 3 | 2020-10-07T20:24:45.000Z | 2020-12-16T04:53:19.000Z | from strings.jewels_and_stones import jewels_and_stones
def test_jewels_and_stones():
assert jewels_and_stones("aA", "aAAbbbb") == 3
| 23.166667 | 55 | 0.784173 | 21 | 139 | 4.761905 | 0.571429 | 0.36 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.122302 | 139 | 5 | 56 | 27.8 | 0.811475 | 0 | 0 | 0 | 0 | 0 | 0.064748 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
f95100ad6808c467455a98ab6c27945201ba8b6c | 5,628 | py | Python | post/migrations/0001_initial.py | amitdhiman000/dais | dd51e20bc19cade7009253f29cf2f63ae2fe3abc | [
"Apache-2.0"
] | null | null | null | post/migrations/0001_initial.py | amitdhiman000/dais | dd51e20bc19cade7009253f29cf2f63ae2fe3abc | [
"Apache-2.0"
] | null | null | null | post/migrations/0001_initial.py | amitdhiman000/dais | dd51e20bc19cade7009253f29cf2f63ae2fe3abc | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.2 on 2016-12-15 08:06
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
dependencies = [
('user', '00... | 48.102564 | 118 | 0.575338 | 541 | 5,628 | 5.855823 | 0.166359 | 0.040404 | 0.066288 | 0.104167 | 0.833649 | 0.815341 | 0.815341 | 0.815341 | 0.815341 | 0.815341 | 0 | 0.011817 | 0.278252 | 5,628 | 116 | 119 | 48.517241 | 0.768095 | 0.012082 | 0 | 0.722222 | 1 | 0 | 0.130826 | 0.004139 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.074074 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f96e7a8752112cf6f4705a65acb0e09cfc8f98ed | 3,339 | py | Python | swahiliapiapp/migrations/0001_initial.py | florianschmidt1994/swahili-dictionary | 301e99a2e1f169ffcc1038a77ecd6658bc4ab864 | [
"Unlicense"
] | null | null | null | swahiliapiapp/migrations/0001_initial.py | florianschmidt1994/swahili-dictionary | 301e99a2e1f169ffcc1038a77ecd6658bc4ab864 | [
"Unlicense"
] | null | null | null | swahiliapiapp/migrations/0001_initial.py | florianschmidt1994/swahili-dictionary | 301e99a2e1f169ffcc1038a77ecd6658bc4ab864 | [
"Unlicense"
] | null | null | null | # Generated by Django 3.0.3 on 2020-03-07 22:28
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='English',
fields=[
('id', models.IntegerFie... | 49.835821 | 92 | 0.567835 | 332 | 3,339 | 5.608434 | 0.165663 | 0.273899 | 0.365199 | 0.438238 | 0.886144 | 0.886144 | 0.886144 | 0.886144 | 0.886144 | 0.886144 | 0 | 0.006253 | 0.281521 | 3,339 | 66 | 93 | 50.590909 | 0.769904 | 0.013477 | 0 | 0.779661 | 1 | 0 | 0.147631 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016949 | 0 | 0.084746 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
f97164d333ac838a3a37526d71b841e4cc91a79b | 2,179 | py | Python | metaroot/mqutils.py | cwru-rcci/metaroot | 24fc0dcce65046bf2ef848edc39041646a00de77 | [
"MIT"
] | null | null | null | metaroot/mqutils.py | cwru-rcci/metaroot | 24fc0dcce65046bf2ef848edc39041646a00de77 | [
"MIT"
] | null | null | null | metaroot/mqutils.py | cwru-rcci/metaroot | 24fc0dcce65046bf2ef848edc39041646a00de77 | [
"MIT"
] | 1 | 2022-03-18T17:14:53.000Z | 2022-03-18T17:14:53.000Z | import pika
from metaroot.config import get_global_config
def delete_queue(queue_name: str):
"""
Deletes a queue from the message queue server
Parameters
----------
queue_name: str
The name of the queue to delete
Returns
----------
int
Returns 0 on success
Raises... | 29.849315 | 86 | 0.563561 | 212 | 2,179 | 5.632075 | 0.29717 | 0.075377 | 0.073702 | 0.033501 | 0.763819 | 0.763819 | 0.763819 | 0.763819 | 0.763819 | 0.763819 | 0 | 0.00563 | 0.347866 | 2,179 | 73 | 87 | 29.849315 | 0.834624 | 0.293713 | 0 | 0.758621 | 0 | 0 | 0.001417 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0.068966 | 0.068966 | 0 | 0.206897 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
ddb0613d35348187dc4b86ad30cfead4c5587b88 | 241 | py | Python | facebook_hateful_memes_detector/models/classifiers/__init__.py | faizanahemad/facebook-hateful-memes | 1f7febf65f5fc4ed4aeb476d5383437f677fbc19 | [
"MIT"
] | 9 | 2020-07-28T20:33:04.000Z | 2022-01-28T16:51:40.000Z | facebook_hateful_memes_detector/models/classifiers/__init__.py | faizanahemad/facebook-hateful-memes | 1f7febf65f5fc4ed4aeb476d5383437f677fbc19 | [
"MIT"
] | 3 | 2021-06-08T21:36:37.000Z | 2021-09-08T02:03:07.000Z | facebook_hateful_memes_detector/models/classifiers/__init__.py | faizanahemad/facebook-hateful-memes | 1f7febf65f5fc4ed4aeb476d5383437f677fbc19 | [
"MIT"
] | 1 | 2020-08-26T08:13:25.000Z | 2020-08-26T08:13:25.000Z | from .CNN1DFeaturizer import CNN1DFeaturizer
from .GRUFeaturizer import GRUFeaturizer
from .TransformerFeaturizer import TransformerFeaturizer, TransformerEnsembleFeaturizer
from .BaseFeaturizer import BasicFeaturizer, PassThroughFeaturizer
| 48.2 | 87 | 0.900415 | 18 | 241 | 12.055556 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008969 | 0.074689 | 241 | 4 | 88 | 60.25 | 0.964126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
34a3a4aa7235c462c1e03384fce6698571c54525 | 11,420 | py | Python | learning_transforms/test_factor_multiply.py | sfox14/butterfly | 13cc15cee5bdb7adaf376219aaf20fab0459e9ef | [
"Apache-2.0"
] | 52 | 2020-08-05T08:32:24.000Z | 2022-03-27T21:56:34.000Z | learning_transforms/test_factor_multiply.py | sfox14/butterfly | 13cc15cee5bdb7adaf376219aaf20fab0459e9ef | [
"Apache-2.0"
] | 13 | 2020-09-14T23:34:32.000Z | 2022-02-15T10:51:03.000Z | learning_transforms/test_factor_multiply.py | sfox14/butterfly | 13cc15cee5bdb7adaf376219aaf20fab0459e9ef | [
"Apache-2.0"
] | 11 | 2020-10-15T07:03:25.000Z | 2022-03-25T12:03:49.000Z | import unittest
import torch
from butterfly_factor import butterfly_factor_mult, butterfly_factor_mult_intermediate
from butterfly import Block2x2DiagProduct
from complex_utils import complex_mul
from factor_multiply import butterfly_multiply_intermediate, butterfly_multiply_intermediate_backward
def twiddle_list_... | 62.404372 | 173 | 0.681961 | 1,569 | 11,420 | 4.745698 | 0.060548 | 0.051571 | 0.029546 | 0.076148 | 0.915794 | 0.905721 | 0.902095 | 0.901961 | 0.890948 | 0.884502 | 0 | 0.019889 | 0.176708 | 11,420 | 182 | 174 | 62.747253 | 0.77207 | 0.078634 | 0 | 0.791667 | 0 | 0 | 0.005618 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 1 | 0.0625 | false | 0 | 0.041667 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
34b7960d9a7f0b7402b59e09c1c4e321573c2bbf | 388 | py | Python | main/pcse/soil/__init__.py | jajberni/pcse_web | 284b35270061fee61040f41df419cbf9eea32a2e | [
"Apache-2.0"
] | 3 | 2017-09-19T10:38:50.000Z | 2019-10-07T03:47:02.000Z | main/pcse/soil/__init__.py | jajberni/pcse_web | 284b35270061fee61040f41df419cbf9eea32a2e | [
"Apache-2.0"
] | null | null | null | main/pcse/soil/__init__.py | jajberni/pcse_web | 284b35270061fee61040f41df419cbf9eea32a2e | [
"Apache-2.0"
] | 1 | 2019-10-31T01:11:06.000Z | 2019-10-31T01:11:06.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2004-2014 Alterra, Wageningen-UR
# Allard de Wit (allard.dewit@wur.nl), April 2014
from .classic_waterbalance import WaterbalancePP
from .classic_waterbalance import WaterbalanceFD
from .classic_waterbalance import WaterbalanceFDSnow
from .snowmaus import SnowMAUS
from .waterbala... | 38.8 | 52 | 0.819588 | 46 | 388 | 6.847826 | 0.586957 | 0.228571 | 0.219048 | 0.27619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043353 | 0.108247 | 388 | 9 | 53 | 43.111111 | 0.867052 | 0.298969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
550dfb3e568867b1620b1542cb448febace2d181 | 113 | py | Python | module1.py | JaeGyu/PythonEx_1 | e67053db6ca7431c3dd66351c190c53229e3f141 | [
"MIT"
] | null | null | null | module1.py | JaeGyu/PythonEx_1 | e67053db6ca7431c3dd66351c190c53229e3f141 | [
"MIT"
] | null | null | null | module1.py | JaeGyu/PythonEx_1 | e67053db6ca7431c3dd66351c190c53229e3f141 | [
"MIT"
] | null | null | null | import singletone
print(singletone.only_one_var)
singletone.only_one_var += " after modification"
import module2
| 22.6 | 48 | 0.840708 | 15 | 113 | 6.066667 | 0.6 | 0.307692 | 0.373626 | 0.43956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.088496 | 113 | 4 | 49 | 28.25 | 0.873786 | 0 | 0 | 0 | 0 | 0 | 0.168142 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
9b4c48b28ba43e08118749081ebe4e816e76bc55 | 33,674 | py | Python | u3v2 climas funcionando/Juego/antiguomovparabolico.py | Muteado/proyecto | 54cf8babe150a33f75851f6686094de8f743d332 | [
"MIT"
] | null | null | null | u3v2 climas funcionando/Juego/antiguomovparabolico.py | Muteado/proyecto | 54cf8babe150a33f75851f6686094de8f743d332 | [
"MIT"
] | null | null | null | u3v2 climas funcionando/Juego/antiguomovparabolico.py | Muteado/proyecto | 54cf8babe150a33f75851f6686094de8f743d332 | [
"MIT"
] | null | null | null | '''
class Lanzamiento:
# ------------------------------
# Función principal del juego
# ------------------------------
def lanzamiento(botonamarillo,botonnaranja,botonmorado,aux):
# se define la letra por defecto
fuente = Textos.fuentes(None, 50)
prueba = 0
... | 53.621019 | 195 | 0.340055 | 3,317 | 33,674 | 3.438951 | 0.053663 | 0.160778 | 0.093977 | 0.113614 | 0.900763 | 0.890243 | 0.888051 | 0.888051 | 0.885246 | 0.885246 | 0 | 0.060919 | 0.553959 | 33,674 | 628 | 196 | 53.621019 | 0.698535 | 0.980578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
9b5c7fc3490cff3658e9cf5065e84822aebddca2 | 7,552 | py | Python | tests/test_main.py | henrysky/simple_tf_raytracing | cba18dd544436f1ee44f1e9d064fd3e9e02e7dcb | [
"MIT"
] | null | null | null | tests/test_main.py | henrysky/simple_tf_raytracing | cba18dd544436f1ee44f1e9d064fd3e9e02e7dcb | [
"MIT"
] | null | null | null | tests/test_main.py | henrysky/simple_tf_raytracing | cba18dd544436f1ee44f1e9d064fd3e9e02e7dcb | [
"MIT"
] | null | null | null | import unittest
from tfrt import *
import numpy.testing as npt
class MyTestCase(unittest.TestCase):
def test_pyramidsarray(self):
pyramidss = PyramidArray(tf.constant([0., 0., 0.]), 1, 0.5, (4, 4), reflectivity=0.1)
rays = Ray(p0=tf.constant([[0.2, 0.4, 2.], [0.2, 0.4, -2.], [2., 1.5, 0.5]], dtyp... | 53.183099 | 117 | 0.504899 | 1,179 | 7,552 | 3.131467 | 0.058524 | 0.047129 | 0.039003 | 0.173348 | 0.88299 | 0.879469 | 0.877573 | 0.86403 | 0.855634 | 0.837216 | 0 | 0.102847 | 0.255826 | 7,552 | 141 | 118 | 53.560284 | 0.554093 | 0.010593 | 0 | 0.546296 | 0 | 0 | 0.001071 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 1 | 0.046296 | false | 0 | 0.027778 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
32f8c412ea1c12ccbf0235b34e87965d98722dd9 | 17,662 | py | Python | gigantumcli/tests/test_server.py | gigabackup/gigantum-cli | 603a61501f842a15edda1ef2f01cf7c835e40043 | [
"MIT"
] | 14 | 2017-11-10T15:54:20.000Z | 2020-11-20T12:30:50.000Z | gigantumcli/tests/test_server.py | gigabackup/gigantum-cli | 603a61501f842a15edda1ef2f01cf7c835e40043 | [
"MIT"
] | 31 | 2017-11-10T16:34:38.000Z | 2021-07-16T12:19:13.000Z | gigantumcli/tests/test_server.py | gigantum/gigantum-cli | 6390181f43e1e639105e30d58ed3df92fa049905 | [
"MIT"
] | 7 | 2017-11-10T16:24:11.000Z | 2022-01-25T01:29:29.000Z | import pytest
import tempfile
import uuid
import os
import shutil
import responses
import click
from gigantumcli.server import ServerConfig
@pytest.fixture
def server_config():
"""Fixture to create a Build instance with a test image name that does not exist and cleanup after"""
unit_test_working_dir = os.pat... | 57.158576 | 108 | 0.544785 | 1,865 | 17,662 | 4.996783 | 0.075067 | 0.103874 | 0.073828 | 0.094645 | 0.917588 | 0.908037 | 0.875952 | 0.856422 | 0.831849 | 0.821333 | 0 | 0.02817 | 0.31463 | 17,662 | 308 | 109 | 57.344156 | 0.741677 | 0.006624 | 0 | 0.808271 | 0 | 0 | 0.395005 | 0.00975 | 0 | 0 | 0 | 0 | 0.101504 | 1 | 0.030075 | false | 0 | 0.030075 | 0 | 0.06391 | 0.003759 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b5c7b0afddd3f28aef9ea4c46835a902bfcb0d09 | 68,246 | py | Python | python_msx_sdk/api/devices_api.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | python_msx_sdk/api/devices_api.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | python_msx_sdk/api/devices_api.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | """
MSX SDK
MSX SDK client. # noqa: E501
The version of the OpenAPI document: 1.0.9
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from python_msx_sdk.api_client import ApiClient, Endpoint as _Endpoint
from python_msx_sdk.model_utils import ( # n... | 36.417289 | 112 | 0.44873 | 5,607 | 68,246 | 5.197253 | 0.045479 | 0.030267 | 0.024982 | 0.025943 | 0.842456 | 0.823342 | 0.8114 | 0.797124 | 0.789952 | 0.775265 | 0 | 0.002499 | 0.46646 | 68,246 | 1,873 | 113 | 36.436733 | 0.797814 | 0.306436 | 0 | 0.612324 | 1 | 0 | 0.221471 | 0.047842 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0117 | false | 0 | 0.014041 | 0 | 0.037442 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bd46d02618937c9b7d92a212999984111c42ad9b | 3,927 | py | Python | code/nn-models/utils.py | xigaoli/anime-ranking-trends | 395bad92d78230c661cb718c0e83062aa7f7a974 | [
"Apache-2.0"
] | null | null | null | code/nn-models/utils.py | xigaoli/anime-ranking-trends | 395bad92d78230c661cb718c0e83062aa7f7a974 | [
"Apache-2.0"
] | null | null | null | code/nn-models/utils.py | xigaoli/anime-ranking-trends | 395bad92d78230c661cb718c0e83062aa7f7a974 | [
"Apache-2.0"
] | 1 | 2021-07-01T17:39:52.000Z | 2021-07-01T17:39:52.000Z | #!/usr/bin/env python
# coding: utf-8
import matplotlib.pyplot as plt
import math
plt.rcParams['figure.dpi'] = 150
def show_imgs(data,real_labels=None,pred_labels=None,classes_rev=[]):
plt.figure(figsize=(10,10))
rows=int(math.sqrt(len(data)))
cols=len(data)//rows
if(len(data)%rows!=0):
cols... | 33 | 91 | 0.481029 | 514 | 3,927 | 3.535019 | 0.196498 | 0.084205 | 0.016511 | 0.049532 | 0.820033 | 0.76995 | 0.76995 | 0.766098 | 0.766098 | 0.719868 | 0 | 0.017654 | 0.394194 | 3,927 | 118 | 92 | 33.279661 | 0.746112 | 0.088617 | 0 | 0.723404 | 0 | 0 | 0.01684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0 | 0.021277 | 0 | 0.042553 | 0.021277 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1fb76a6e9ea6b41c3f14b38dfeebb92771f11f63 | 241 | py | Python | sqltask/utils/performance.py | villebro/sqltask | 41b67cab1a3e804b2c604571fa455d2b9e85a004 | [
"MIT"
] | 10 | 2019-10-09T15:34:13.000Z | 2022-02-21T07:44:03.000Z | sqltask/utils/performance.py | villebro/sqltask | 41b67cab1a3e804b2c604571fa455d2b9e85a004 | [
"MIT"
] | 23 | 2019-10-09T15:20:01.000Z | 2020-02-08T11:51:24.000Z | sqltask/utils/performance.py | villebro/sqltask | 41b67cab1a3e804b2c604571fa455d2b9e85a004 | [
"MIT"
] | 4 | 2019-10-09T15:20:51.000Z | 2020-02-11T08:43:03.000Z | import os
def is_developer_mode() -> bool:
"""
Check if developer mode is activated.
:return: True if developer mode is active, otherwise False
"""
return False if os.getenv("SQLTASK_DEVELOPER_MODE") is None else True
| 21.909091 | 73 | 0.692946 | 34 | 241 | 4.794118 | 0.558824 | 0.319018 | 0.276074 | 0.208589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224066 | 241 | 10 | 74 | 24.1 | 0.871658 | 0.40249 | 0 | 0 | 0 | 0 | 0.177419 | 0.177419 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1fb77536bc75d5c2b6a7f3236809207426b1db1a | 44 | py | Python | code/sample_4-3-10.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | 1 | 2022-03-29T13:50:12.000Z | 2022-03-29T13:50:12.000Z | code/sample_4-3-10.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | code/sample_4-3-10.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | x = [1, 2, 3, 4, 5]
print(x.pop())
print(x)
| 11 | 19 | 0.477273 | 11 | 44 | 1.909091 | 0.727273 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.204545 | 44 | 3 | 20 | 14.666667 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 1 | 1 | 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 | 7 |
9508b3617086b46d8e5cdfd535f55ee92c1a7e7f | 10,351 | py | Python | saleor/plugins/admin_email/tests/test_tasks.py | greentornado/saleor | 7f58917957a23c4dd90b47214a4500c91c735dee | [
"CC-BY-4.0"
] | 3 | 2021-06-22T12:38:18.000Z | 2021-07-11T15:01:57.000Z | saleor/plugins/admin_email/tests/test_tasks.py | greentornado/saleor | 7f58917957a23c4dd90b47214a4500c91c735dee | [
"CC-BY-4.0"
] | 111 | 2021-07-19T04:19:30.000Z | 2022-03-28T04:32:37.000Z | saleor/plugins/admin_email/tests/test_tasks.py | aminziadna/saleor | 2e78fb5bcf8b83a6278af02551a104cfa555a1fb | [
"CC-BY-4.0"
] | 6 | 2021-11-08T16:43:05.000Z | 2022-03-22T17:31:16.000Z | from unittest import mock
from ....account.notifications import get_default_user_payload
from ....csv import ExportEvents
from ....csv.models import ExportEvent
from ....csv.notifications import get_default_export_payload
from ....order.notifications import get_default_order_payload
from ...email_common import EmailCo... | 33.937705 | 85 | 0.723795 | 1,261 | 10,351 | 5.492466 | 0.071372 | 0.082876 | 0.054144 | 0.031764 | 0.92622 | 0.92261 | 0.894311 | 0.886659 | 0.851429 | 0.851429 | 0 | 0.011376 | 0.184716 | 10,351 | 304 | 86 | 34.049342 | 0.809338 | 0.028403 | 0 | 0.750973 | 0 | 0 | 0.175803 | 0.039797 | 0 | 0 | 0 | 0 | 0.054475 | 1 | 0.038911 | false | 0.062257 | 0.031128 | 0 | 0.070039 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
9514653df022a5207354befade0b8562494efba2 | 86 | py | Python | pyscf/prop/hfc/__init__.py | nmardirossian/pyscf | 57c8912dcfcc1157a822feede63df54ed1067115 | [
"BSD-2-Clause"
] | 1 | 2018-05-02T19:55:30.000Z | 2018-05-02T19:55:30.000Z | pyscf/prop/hfc/__init__.py | nmardirossian/pyscf | 57c8912dcfcc1157a822feede63df54ed1067115 | [
"BSD-2-Clause"
] | null | null | null | pyscf/prop/hfc/__init__.py | nmardirossian/pyscf | 57c8912dcfcc1157a822feede63df54ed1067115 | [
"BSD-2-Clause"
] | 1 | 2018-12-06T03:10:50.000Z | 2018-12-06T03:10:50.000Z | #!/usr/bin/env python
from pyscf.prop.hfc import uhf
from pyscf.prop.hfc import uks
| 14.333333 | 30 | 0.755814 | 16 | 86 | 4.0625 | 0.6875 | 0.276923 | 0.4 | 0.492308 | 0.676923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 86 | 5 | 31 | 17.2 | 0.878378 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
1f3926b56fea0c3ac0692b9b37c56169802dfb4f | 180 | py | Python | anvil/sub_rig_templates/tentacle.py | AndresMWeber/Anvil | 9cd202183ac998983c2bf6e55cc46bbc0ca1a78e | [
"Apache-2.0"
] | 3 | 2019-11-22T04:38:06.000Z | 2022-01-19T08:27:18.000Z | anvil/sub_rig_templates/tentacle.py | AndresMWeber/Anvil | 9cd202183ac998983c2bf6e55cc46bbc0ca1a78e | [
"Apache-2.0"
] | 28 | 2018-02-01T20:39:42.000Z | 2018-04-26T17:25:23.000Z | anvil/sub_rig_templates/tentacle.py | AndresMWeber/Anvil | 9cd202183ac998983c2bf6e55cc46bbc0ca1a78e | [
"Apache-2.0"
] | 1 | 2018-03-11T06:47:26.000Z | 2018-03-11T06:47:26.000Z | from base_sub_rig_template import SubRigTemplate
class Tentacle(SubRigTemplate):
BUILT_IN_META_DATA = SubRigTemplate.BUILT_IN_META_DATA.merge({'name': 'tentacle'}, new=True)
| 30 | 96 | 0.811111 | 24 | 180 | 5.708333 | 0.708333 | 0.277372 | 0.306569 | 0.364964 | 0.423358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094444 | 180 | 5 | 97 | 36 | 0.840491 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1f43f0d348adb2ed3e0f97b57645a707d6e22a14 | 178 | py | Python | flash/text/seq2seq/core/__init__.py | alvin-chang/lightning-flash | 481d4d369ff0a5d8c2b2d9e4970c5608a92b3ff5 | [
"Apache-2.0"
] | 2 | 2021-06-25T08:42:36.000Z | 2021-06-25T08:49:29.000Z | flash/text/seq2seq/core/__init__.py | alvin-chang/lightning-flash | 481d4d369ff0a5d8c2b2d9e4970c5608a92b3ff5 | [
"Apache-2.0"
] | null | null | null | flash/text/seq2seq/core/__init__.py | alvin-chang/lightning-flash | 481d4d369ff0a5d8c2b2d9e4970c5608a92b3ff5 | [
"Apache-2.0"
] | null | null | null | from flash.text.seq2seq.core.data import Seq2SeqData
from flash.text.seq2seq.core.finetuning import Seq2SeqFreezeEmbeddings
from flash.text.seq2seq.core.model import Seq2SeqTask
| 44.5 | 70 | 0.865169 | 24 | 178 | 6.416667 | 0.5 | 0.175325 | 0.253247 | 0.38961 | 0.467532 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 0.067416 | 178 | 3 | 71 | 59.333333 | 0.891566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1f78ef0b1ef277eb84f2732ce144bde61a64777e | 179 | py | Python | test/sudo_test.py | gg-lc/RLBench | 7ce7487633dac1d671ea939694faf130304e2cd3 | [
"MIT"
] | null | null | null | test/sudo_test.py | gg-lc/RLBench | 7ce7487633dac1d671ea939694faf130304e2cd3 | [
"MIT"
] | null | null | null | test/sudo_test.py | gg-lc/RLBench | 7ce7487633dac1d671ea939694faf130304e2cd3 | [
"MIT"
] | null | null | null | import shlex
import subprocess
p = subprocess.Popen(shlex.split('sudo echo 1'), stdout=subprocess.PIPE)
p = subprocess.Popen(shlex.split('sudo echo 1'), stdout=subprocess.PIPE)
| 25.571429 | 72 | 0.765363 | 26 | 179 | 5.269231 | 0.423077 | 0.160584 | 0.233577 | 0.306569 | 0.80292 | 0.80292 | 0.80292 | 0.80292 | 0.80292 | 0.80292 | 0 | 0.012422 | 0.100559 | 179 | 6 | 73 | 29.833333 | 0.838509 | 0 | 0 | 0.5 | 0 | 0 | 0.123596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
2f10554fd39132959cdf59baedc5a46a4b7cc2a0 | 175 | py | Python | Slicing_Strings.py | belmiro-kunga/Curso-de-python | ce1c59c19aefbe789435c855b3fa950abb14bcae | [
"MIT"
] | null | null | null | Slicing_Strings.py | belmiro-kunga/Curso-de-python | ce1c59c19aefbe789435c855b3fa950abb14bcae | [
"MIT"
] | null | null | null | Slicing_Strings.py | belmiro-kunga/Curso-de-python | ce1c59c19aefbe789435c855b3fa950abb14bcae | [
"MIT"
] | null | null | null | #Slicing Strings
"""
b = "hello, word!"
print(b[2:5])
"""
"""
b = "hello, word!"
print(b[2:5])
"""
"""
b = "hello, word!"
print(b[2:])
"""
b = "hello, word!"
print(b[-5:-2]) | 10.294118 | 18 | 0.485714 | 29 | 175 | 2.931034 | 0.275862 | 0.282353 | 0.470588 | 0.705882 | 0.811765 | 0.623529 | 0.623529 | 0.623529 | 0.623529 | 0.623529 | 0 | 0.047945 | 0.165714 | 175 | 17 | 19 | 10.294118 | 0.534247 | 0.274286 | 0 | 0 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
2f113d45ecd115c700647032729cc14f9f5eb477 | 6,841 | py | Python | matdgl/models/finetune.py | huzongxiang/CrysNetwork | b6772474a65ba5ae1a7942b0d2abca50168b5ffa | [
"BSD-2-Clause"
] | 4 | 2022-01-10T09:15:41.000Z | 2022-01-19T04:01:29.000Z | matdgl/models/finetune.py | huzongxiang/CrysNetwork | b6772474a65ba5ae1a7942b0d2abca50168b5ffa | [
"BSD-2-Clause"
] | null | null | null | matdgl/models/finetune.py | huzongxiang/CrysNetwork | b6772474a65ba5ae1a7942b0d2abca50168b5ffa | [
"BSD-2-Clause"
] | 1 | 2022-01-10T09:13:13.000Z | 2022-01-10T09:13:13.000Z | # -*- coding: utf-8 -*-
"""
Created on Mon Jun 20 10:17:16 2022
@author: huzongxiang
"""
from pathlib import Path
from tensorflow.keras.models import Model
from tensorflow.keras.regularizers import l2
from tensorflow.keras import layers
from matdgl.layers import Set2Set
from matdgl.models.pretrainer import Transform... | 38.217877 | 127 | 0.552989 | 747 | 6,841 | 4.88755 | 0.175368 | 0.049849 | 0.093673 | 0.057245 | 0.895645 | 0.895645 | 0.895645 | 0.895645 | 0.895645 | 0.895645 | 0 | 0.044645 | 0.335331 | 6,841 | 179 | 128 | 38.217877 | 0.758302 | 0.024996 | 0 | 0.859375 | 0 | 0 | 0.048634 | 0.006605 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015625 | false | 0 | 0.046875 | 0 | 0.078125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2f3a44879e009771c7751e8614a645cd9d3890dd | 147 | py | Python | server/db/__init__.py | tetelevm/OrdeRPG | 5bea9fbaf3fdd84ab14f7e3033e18eead2cf30ab | [
"MIT"
] | null | null | null | server/db/__init__.py | tetelevm/OrdeRPG | 5bea9fbaf3fdd84ab14f7e3033e18eead2cf30ab | [
"MIT"
] | null | null | null | server/db/__init__.py | tetelevm/OrdeRPG | 5bea9fbaf3fdd84ab14f7e3033e18eead2cf30ab | [
"MIT"
] | null | null | null | """
Everything related to the project database
"""
from .models import __all__ as __models_all__
from .models import *
__all__ = __models_all__
| 14.7 | 45 | 0.768707 | 19 | 147 | 5 | 0.578947 | 0.210526 | 0.336842 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 147 | 9 | 46 | 16.333333 | 0.772358 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2f4034630ca941fbeb16410ae906ffcd5c862bd2 | 52,309 | py | Python | azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/workspaces_operations.py | v-Ajnava/azure-sdk-for-python | a1f6f80eb5869c5b710e8bfb66146546697e2a6f | [
"MIT"
] | 4 | 2016-06-17T23:25:29.000Z | 2022-03-30T22:37:45.000Z | azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/workspaces_operations.py | v-Ajnava/azure-sdk-for-python | a1f6f80eb5869c5b710e8bfb66146546697e2a6f | [
"MIT"
] | 54 | 2016-03-25T17:25:01.000Z | 2018-10-22T17:27:54.000Z | azure-mgmt-loganalytics/azure/mgmt/loganalytics/operations/workspaces_operations.py | v-Ajnava/azure-sdk-for-python | a1f6f80eb5869c5b710e8bfb66146546697e2a6f | [
"MIT"
] | 3 | 2016-05-03T20:49:46.000Z | 2017-10-05T21:05:27.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 47.040468 | 198 | 0.663347 | 5,526 | 52,309 | 6.07528 | 0.047412 | 0.027702 | 0.034433 | 0.03217 | 0.93569 | 0.934022 | 0.934022 | 0.929674 | 0.922406 | 0.919576 | 0 | 0.006815 | 0.239825 | 52,309 | 1,111 | 199 | 47.082808 | 0.837466 | 0.284597 | 0 | 0.868705 | 0 | 0.007194 | 0.187425 | 0.096993 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046763 | false | 0 | 0.008993 | 0 | 0.127698 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2f6885a12eae50f2bc2ba3337832aace4d25f5ce | 20,858 | py | Python | core/tests/test_views.py | softwaydev/ca | 7bf730b9aec9e1c27dc0dff2de286ff83a3cc954 | [
"MIT"
] | 8 | 2017-06-16T10:45:27.000Z | 2020-01-01T14:51:27.000Z | core/tests/test_views.py | softwaydev/ca | 7bf730b9aec9e1c27dc0dff2de286ff83a3cc954 | [
"MIT"
] | 66 | 2017-05-12T14:33:00.000Z | 2020-05-13T13:04:13.000Z | core/tests/test_views.py | softwaydev/ca | 7bf730b9aec9e1c27dc0dff2de286ff83a3cc954 | [
"MIT"
] | 4 | 2017-05-16T17:48:17.000Z | 2021-02-12T09:44:22.000Z | from OpenSSL import crypto
from django.test import TestCase
from django.contrib.auth.models import User
from django.urls import reverse
from django.core.files.uploadedfile import SimpleUploadedFile
from core.tests import factories
from core import models
class RootCrtExists(TestCase):
def setUp(self):
... | 36.721831 | 129 | 0.658596 | 2,388 | 20,858 | 5.583752 | 0.063652 | 0.076496 | 0.076946 | 0.077171 | 0.905805 | 0.882931 | 0.864632 | 0.826384 | 0.772986 | 0.765562 | 0 | 0.011704 | 0.201218 | 20,858 | 567 | 130 | 36.786596 | 0.788608 | 0.005945 | 0 | 0.724868 | 0 | 0 | 0.158151 | 0.054952 | 0 | 0 | 0 | 0 | 0.238095 | 1 | 0.18254 | false | 0.031746 | 0.018519 | 0 | 0.232804 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2f83160631d44f5df2722c683a429e318911783d | 23,753 | py | Python | salt_2s.py | drhay53/SALT2X | 5d51ded9d6feabe9846edc2f75f7956efbc38fa4 | [
"MIT"
] | null | null | null | salt_2s.py | drhay53/SALT2X | 5d51ded9d6feabe9846edc2f75f7956efbc38fa4 | [
"MIT"
] | null | null | null | salt_2s.py | drhay53/SALT2X | 5d51ded9d6feabe9846edc2f75f7956efbc38fa4 | [
"MIT"
] | null | null | null | import numpy as np
import sncosmo
import matplotlib as mpl
from astropy.table import Table, Column
mpl.use('Agg')
import matplotlib.pyplot as plt
import os
from Salt2X import *
import helpers
import fitters
import emcee
import sys
from iminuit import describe
import argparse
import os
import traceback
import astropy
fr... | 42.340463 | 206 | 0.524355 | 2,818 | 23,753 | 4.352023 | 0.138751 | 0.01696 | 0.014677 | 0.015982 | 0.827055 | 0.806425 | 0.789547 | 0.78547 | 0.756849 | 0.756849 | 0 | 0.031479 | 0.333979 | 23,753 | 560 | 207 | 42.416071 | 0.743742 | 0.109965 | 0 | 0.785548 | 0 | 0 | 0.132897 | 0.023762 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.032634 | 0.04662 | null | null | 0.074592 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
85faf415426e576379087f5bd21d095c307a1f7c | 12,010 | py | Python | moonv4/moon_manager/moon_manager/api/data.py | hashnfv/hashnfv-moon | daaba34fa2ed4426bc0fde359e54a5e1b872208c | [
"Apache-2.0"
] | null | null | null | moonv4/moon_manager/moon_manager/api/data.py | hashnfv/hashnfv-moon | daaba34fa2ed4426bc0fde359e54a5e1b872208c | [
"Apache-2.0"
] | null | null | null | moonv4/moon_manager/moon_manager/api/data.py | hashnfv/hashnfv-moon | daaba34fa2ed4426bc0fde359e54a5e1b872208c | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 Open Platform for NFV Project, Inc. and its contributors
# This software is distributed under the terms and conditions of the 'Apache-2.0'
# license which can be found in the file 'LICENSE' in this package distribution
# or at 'http://www.apache.org/licenses/LICENSE-2.0'.
"""
Data are elements used to ... | 35.744048 | 81 | 0.510325 | 1,320 | 12,010 | 4.448485 | 0.09697 | 0.039169 | 0.041383 | 0.033719 | 0.891519 | 0.839407 | 0.831233 | 0.831233 | 0.810627 | 0.807391 | 0 | 0.006895 | 0.39617 | 12,010 | 335 | 82 | 35.850746 | 0.802813 | 0.378851 | 0 | 0.75 | 0 | 0 | 0.130407 | 0.089403 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066176 | false | 0 | 0.036765 | 0 | 0.279412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c82f67c1c5c3550f9b1e45f60f1e7a0cbcc94be8 | 29,474 | py | Python | ml_params_tensorflow/ml_params/losses.py | SamuelMarks/ml-params-tensorflow | 86fb92147443e69982d05755361b101f8a6f64e5 | [
"Apache-2.0",
"MIT"
] | null | null | null | ml_params_tensorflow/ml_params/losses.py | SamuelMarks/ml-params-tensorflow | 86fb92147443e69982d05755361b101f8a6f64e5 | [
"Apache-2.0",
"MIT"
] | null | null | null | ml_params_tensorflow/ml_params/losses.py | SamuelMarks/ml-params-tensorflow | 86fb92147443e69982d05755361b101f8a6f64e5 | [
"Apache-2.0",
"MIT"
] | null | null | null | """ Generated Loss CLI parsers """
def binary_crossentropyConfig(argument_parser):
"""
Set CLI arguments
:param argument_parser: argument parser
:type argument_parser: ```ArgumentParser```
:returns: argument_parser
:rtype: ```ArgumentParser```
"""
argument_parser.description = """Com... | 31.156448 | 121 | 0.640972 | 3,913 | 29,474 | 4.641452 | 0.081012 | 0.160335 | 0.01817 | 0.030283 | 0.825625 | 0.81208 | 0.79358 | 0.785486 | 0.780311 | 0.768087 | 0 | 0.018824 | 0.199735 | 29,474 | 945 | 122 | 31.189418 | 0.751177 | 0.119563 | 0 | 0.644444 | 1 | 0.065079 | 0.676575 | 0.129139 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.034921 | false | 0.001587 | 0 | 0 | 0.069841 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c078d61c3c5d1d1de714766d3635970a8aad24be | 141 | py | Python | kubespray_commands/commands/__init__.py | Magnitus-/server-setup-scripts | 0c2537498132e4961d104dfbe828973b96c6cc14 | [
"MIT"
] | null | null | null | kubespray_commands/commands/__init__.py | Magnitus-/server-setup-scripts | 0c2537498132e4961d104dfbe828973b96c6cc14 | [
"MIT"
] | null | null | null | kubespray_commands/commands/__init__.py | Magnitus-/server-setup-scripts | 0c2537498132e4961d104dfbe828973b96c6cc14 | [
"MIT"
] | null | null | null | import click
from .generate_inventory_cmd import generate_inventory
@click.group()
def cli():
pass
cli.add_command(generate_inventory) | 15.666667 | 54 | 0.801418 | 19 | 141 | 5.684211 | 0.631579 | 0.472222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120567 | 141 | 9 | 55 | 15.666667 | 0.870968 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0.166667 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
c08937643c4c67d09e90b0076827b645d66cec8f | 5,959 | py | Python | streamselect/repository/test_repository.py | BenHals/streamselect | ca5e80f3a8a31a38ac52bccfd92528d73f387a6a | [
"BSD-3-Clause"
] | null | null | null | streamselect/repository/test_repository.py | BenHals/streamselect | ca5e80f3a8a31a38ac52bccfd92528d73f387a6a | [
"BSD-3-Clause"
] | null | null | null | streamselect/repository/test_repository.py | BenHals/streamselect | ca5e80f3a8a31a38ac52bccfd92528d73f387a6a | [
"BSD-3-Clause"
] | null | null | null | from river import synth
from river.tree import HoeffdingTreeClassifier
from streamselect.concept_representations import ErrorRateRepresentation
from streamselect.repository import Repository
from streamselect.utils import Observation
def test_step_states() -> None:
"""Test step_all statistics."""
# pylint: d... | 38.694805 | 89 | 0.683672 | 872 | 5,959 | 4.417431 | 0.090596 | 0.047248 | 0.062305 | 0.049065 | 0.886033 | 0.878245 | 0.832295 | 0.810748 | 0.783229 | 0.763499 | 0 | 0.035336 | 0.206914 | 5,959 | 153 | 90 | 38.947712 | 0.779729 | 0.03373 | 0 | 0.696296 | 0 | 0 | 0.003136 | 0 | 0 | 0 | 0 | 0 | 0.422222 | 1 | 0.022222 | false | 0 | 0.037037 | 0 | 0.059259 | 0.014815 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c093436d90063c85ab58a7aaf6082c8a80615a75 | 136 | py | Python | tutorials/1.SimpleExamples/SimpleExample6/__init__.py | dominic-dev/pyformsd | 23e31ceff2943bc0f7286d25dd14450a14b986af | [
"MIT"
] | null | null | null | tutorials/1.SimpleExamples/SimpleExample6/__init__.py | dominic-dev/pyformsd | 23e31ceff2943bc0f7286d25dd14450a14b986af | [
"MIT"
] | null | null | null | tutorials/1.SimpleExamples/SimpleExample6/__init__.py | dominic-dev/pyformsd | 23e31ceff2943bc0f7286d25dd14450a14b986af | [
"MIT"
] | null | null | null |
from pyforms import BaseWidget
from pyforms.Controls import ControlText
from pyforms.Controls import ControlButton
import pyforms | 22.666667 | 43 | 0.838235 | 16 | 136 | 7.125 | 0.4375 | 0.289474 | 0.333333 | 0.438596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 136 | 6 | 44 | 22.666667 | 0.982759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
c098b09d05bb2ec4ca3b64f8c7bae7d8977fdb02 | 595 | py | Python | task03/gen.py | rebryk/SPbAU-Speech-Recognition | 8b1993d17d223f507f4e80154823a075e713ee52 | [
"MIT"
] | 1 | 2019-04-22T14:10:46.000Z | 2019-04-22T14:10:46.000Z | task03/gen.py | rebryk/SPbAU-Speech-Recognition | 8b1993d17d223f507f4e80154823a075e713ee52 | [
"MIT"
] | 15 | 2020-01-28T22:25:14.000Z | 2022-03-11T23:24:04.000Z | task03/gen.py | rebryk/SPbAU-Speech-Recognition | 8b1993d17d223f507f4e80154823a075e713ee52 | [
"MIT"
] | 1 | 2019-04-22T14:01:21.000Z | 2019-04-22T14:01:21.000Z |
if __name__ == '__main__':
with open('train.csv', 'w') as f:
for i in range(1, 451):
f.write(f'/workspace/data/VCTK-Corpus/wav48/p239/p239_{i:03d}.wav,/workspace/data/VCTK-Corpus/txt/p239/p239_{i:03d}.txt\n')
with open('val.csv', 'w') as f:
for i in range(451, 476):
f.write(f'/workspace/data/VCTK-Corpus/w... | 42.5 | 126 | 0.682353 | 114 | 595 | 3.438596 | 0.27193 | 0.19898 | 0.260204 | 0.352041 | 0.882653 | 0.882653 | 0.882653 | 0.882653 | 0.744898 | 0.744898 | 0 | 0.130354 | 0.097479 | 595 | 13 | 127 | 45.769231 | 0.599628 | 0 | 0 | 0.3 | 0 | 0.3 | 0.619529 | 0.560606 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
c0c45c4fed129bc5f3d5c76152fd908781f3537c | 2,485 | py | Python | src/Python/Test signals and benchmarks/plot.py | Bojan-Lukic/master-thesis-signal-segmentation | 8c74fb3c923a5c6e7797985f744e1e99a5236dbd | [
"MIT"
] | null | null | null | src/Python/Test signals and benchmarks/plot.py | Bojan-Lukic/master-thesis-signal-segmentation | 8c74fb3c923a5c6e7797985f744e1e99a5236dbd | [
"MIT"
] | null | null | null | src/Python/Test signals and benchmarks/plot.py | Bojan-Lukic/master-thesis-signal-segmentation | 8c74fb3c923a5c6e7797985f744e1e99a5236dbd | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
from matplotlib.ticker import MaxNLocator
def single_plot(A, label_x, label_y, ax=False, color='#1f77b4'):
calibri = {'fontname':'Calibri'}
if ax == True:
ax = plt.figure(figsize = (12, 8)).gca()
ax.xaxis.set_major_locator(MaxNLocator(integer=True))
else:
... | 36.544118 | 111 | 0.604829 | 358 | 2,485 | 4.139665 | 0.175978 | 0.032389 | 0.091768 | 0.107962 | 0.825236 | 0.812416 | 0.757085 | 0.757085 | 0.757085 | 0.757085 | 0 | 0.046499 | 0.229779 | 2,485 | 68 | 112 | 36.544118 | 0.727795 | 0 | 0 | 0.75 | 0 | 0 | 0.041432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.033333 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8d04b7e0d37cdad4300ccb1c3df3c77f9a86db92 | 138 | py | Python | discord/types/template.py | kuzaku-developers/disnake | 61cc1ad4c2bafd39726a1447c85f7e469e41af10 | [
"MIT"
] | null | null | null | discord/types/template.py | kuzaku-developers/disnake | 61cc1ad4c2bafd39726a1447c85f7e469e41af10 | [
"MIT"
] | null | null | null | discord/types/template.py | kuzaku-developers/disnake | 61cc1ad4c2bafd39726a1447c85f7e469e41af10 | [
"MIT"
] | null | null | null | from disnake.types.template import *
from disnake.types.template import __dict__ as __original_dict__
locals().update(__original_dict__)
| 27.6 | 64 | 0.84058 | 18 | 138 | 5.666667 | 0.555556 | 0.215686 | 0.313725 | 0.470588 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 138 | 4 | 65 | 34.5 | 0.809524 | 0 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
23b4366f7940df91ec1e6bd8c6c6ebb69916fd7b | 389 | py | Python | model/crfasrnn/cil.crfasrnn.R50/leonhard.py | fywalter/TorchSeg | 729eb22d8c5d607466055552fd82e0819d5f29e2 | [
"MIT"
] | null | null | null | model/crfasrnn/cil.crfasrnn.R50/leonhard.py | fywalter/TorchSeg | 729eb22d8c5d607466055552fd82e0819d5f29e2 | [
"MIT"
] | null | null | null | model/crfasrnn/cil.crfasrnn.R50/leonhard.py | fywalter/TorchSeg | 729eb22d8c5d607466055552fd82e0819d5f29e2 | [
"MIT"
] | 2 | 2020-07-31T14:40:49.000Z | 2020-07-31T17:52:30.000Z | import os
lrs = [1e-3, 1e-5, 1e-7, 1e-9, 1e-11, 1e-13, 1e-15]
for lr in lrs:
print("bsub -n 4 -W 120:00 -R 'rusage[mem=10000, ngpus_excl_p=1]' python train.py -d 0 --snapshot_dir log/snapshot_{} --lr_crf {}".format(lr, lr))
os.system("bsub -n 4 -W 120:00 -R 'rusage[mem=10000, ngpus_excl_p=1]' python train.py... | 38.9 | 155 | 0.637532 | 80 | 389 | 2.975 | 0.5 | 0.042017 | 0.05042 | 0.058824 | 0.756303 | 0.756303 | 0.756303 | 0.756303 | 0.756303 | 0.756303 | 0 | 0.131902 | 0.161954 | 389 | 9 | 156 | 43.222222 | 0.59816 | 0 | 0 | 0 | 0 | 0.4 | 0.630491 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
23fb6f6280c0c7d9d0c9845edcd4da855abf73a2 | 2,894 | py | Python | Labs/FiniteDifferenceMethod/solution.py | rachelwebb/numerical_computing | e7416b43b97976060f6875fa46c7dca20a9f635f | [
"CC-BY-3.0"
] | null | null | null | Labs/FiniteDifferenceMethod/solution.py | rachelwebb/numerical_computing | e7416b43b97976060f6875fa46c7dca20a9f635f | [
"CC-BY-3.0"
] | null | null | null | Labs/FiniteDifferenceMethod/solution.py | rachelwebb/numerical_computing | e7416b43b97976060f6875fa46c7dca20a9f635f | [
"CC-BY-3.0"
] | 1 | 2020-12-08T01:19:23.000Z | 2020-12-08T01:19:23.000Z | from __future__ import division
import numpy as np
from scipy.sparse import spdiags
from scipy.sparse.linalg import spsolve, cg
def general_secondorder_ode_fd(func,a1,a2,a3,a=0.,b=1.,alpha=1.,beta=3.,N=5):
# A Simple Finite Difference Scheme to solve BVP's of the form
# a1(x)u''(x) + a2(x)u'(x) + a3(x)u(x) = f(x), ... | 34.86747 | 92 | 0.525916 | 599 | 2,894 | 2.507513 | 0.15192 | 0.031957 | 0.026631 | 0.035952 | 0.912117 | 0.898802 | 0.898802 | 0.898802 | 0.882823 | 0.882823 | 0 | 0.071046 | 0.226676 | 2,894 | 82 | 93 | 35.292683 | 0.600089 | 0.625777 | 0 | 0 | 0 | 0 | 0.002956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9b26e7dae6b006d2d9e8a30edc07e668316f5eac | 86 | py | Python | amocrm_asterisk_ng/infrastructure/tracing/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | amocrm_asterisk_ng/infrastructure/tracing/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | amocrm_asterisk_ng/infrastructure/tracing/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | from .generate_trace_id import generate_trace_id
from .startup import tracing_startup
| 28.666667 | 48 | 0.883721 | 13 | 86 | 5.461538 | 0.538462 | 0.366197 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 2 | 49 | 43 | 0.910256 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
f19d98659a0bb7f2342c7a918c2718724a093126 | 7,952 | py | Python | tmvenom/tmvenom2.py | Ajijul123aa/Reverse-Engineering | fad3f3eccadc9ca71620e07a8f3318c00334bcaa | [
"Apache-2.0"
] | 337 | 2020-08-15T12:22:14.000Z | 2022-03-29T06:05:15.000Z | tmvenom/tmvenom2.py | Wh014M/Reverse-Engineering | f7aae2c43f7ea4a6730964d085c07814b6660a53 | [
"Apache-2.0"
] | 3 | 2020-11-12T14:30:48.000Z | 2021-05-18T16:56:22.000Z | tmvenom/tmvenom2.py | Wh014M/Reverse-Engineering | f7aae2c43f7ea4a6730964d085c07814b6660a53 | [
"Apache-2.0"
] | 83 | 2020-08-15T00:22:58.000Z | 2022-03-31T08:40:23.000Z | import marshal,zlib,base64
exec(marshal.loads(zlib.decompress(base64.b16decode("789CED9C5F6F1BC711C0F7F8471425CA962CDBB22C2759274E223B9628C9B21DA79263DA561C15B2249C14B896E01A27DE49A47C242FBCA325227691204191222F7561D768517F82A208DA87BEF4A1055AF453F4A1C85B8016C837686766EF1F8F47899215DB754989CBBDBD99BDBDD9BDDFCC1D979B65F6... | 2,650.666667 | 7,924 | 0.997736 | 12 | 7,952 | 661.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.616178 | 0.000377 | 7,952 | 2 | 7,925 | 3,976 | 0.381935 | 0 | 0 | 0 | 0 | 0 | 0.989185 | 0.989185 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 12 |
f1cf8fefaf147f4d2eaa1005e8a1f67235d9aa67 | 9,151 | py | Python | method/plot.py | chonlei/3PNN | 72c960421a307b187368441256fa2068fe1d0c1a | [
"BSD-3-Clause"
] | 1 | 2021-11-11T02:37:04.000Z | 2021-11-11T02:37:04.000Z | method/plot.py | chonlei/3PNN | 72c960421a307b187368441256fa2068fe1d0c1a | [
"BSD-3-Clause"
] | null | null | null | method/plot.py | chonlei/3PNN | 72c960421a307b187368441256fa2068fe1d0c1a | [
"BSD-3-Clause"
] | 1 | 2021-11-11T02:37:05.000Z | 2021-11-11T02:37:05.000Z | #
# Quick diagnostic plots.
#
from __future__ import absolute_import, division
from __future__ import print_function, unicode_literals
import numpy as np
# import matplotlib
# matplotlib.use('Agg')
import matplotlib.pyplot as plt
import seaborn as sns
sns.set()
def basic_plot(raw, fig=None, axes=None, palette='hls')... | 30.915541 | 79 | 0.555349 | 1,310 | 9,151 | 3.801527 | 0.135878 | 0.025301 | 0.045783 | 0.055422 | 0.828715 | 0.808835 | 0.781325 | 0.773695 | 0.770683 | 0.748795 | 0 | 0.02992 | 0.291444 | 9,151 | 295 | 80 | 31.020339 | 0.738125 | 0.368594 | 0 | 0.707317 | 0 | 0 | 0.054242 | 0 | 0 | 0 | 0 | 0 | 0.01626 | 1 | 0.04878 | false | 0 | 0.04065 | 0 | 0.138211 | 0.00813 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f1e606a3180faea210de3394e084276830429408 | 105 | py | Python | config/weights_dictionary.py | we684123/Telegram_search_text_alternative_plan | add97761a7dd044d17845789bfb315d624d2a38b | [
"MIT"
] | 1 | 2019-09-25T15:08:31.000Z | 2019-09-25T15:08:31.000Z | config/weights_dictionary.py | we684123/Telegram_search_text_alternative_plan | add97761a7dd044d17845789bfb315d624d2a38b | [
"MIT"
] | null | null | null | config/weights_dictionary.py | we684123/Telegram_search_text_alternative_plan | add97761a7dd044d17845789bfb315d624d2a38b | [
"MIT"
] | null | null | null | def recommend_dictionary():
return {}
def coerce_dictionary():
return {
"另一種": 20,
}
| 15 | 27 | 0.571429 | 10 | 105 | 5.8 | 0.7 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.295238 | 105 | 6 | 28 | 17.5 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
7b0db11ad4f0a90d2b19bb6cdd1e4da00cc6a68b | 81,171 | py | Python | c3dm/dataset/dataset_configs.py | facebookresearch/c3dm | cac38418e41f75f1395422200b8d7bdf6725aa43 | [
"MIT"
] | 15 | 2020-12-04T16:40:21.000Z | 2021-11-06T01:35:16.000Z | c3dm/dataset/dataset_configs.py | facebookresearch/c3dm | cac38418e41f75f1395422200b8d7bdf6725aa43 | [
"MIT"
] | 2 | 2021-03-16T09:05:22.000Z | 2021-12-23T12:43:37.000Z | c3dm/dataset/dataset_configs.py | facebookresearch/c3dm | cac38418e41f75f1395422200b8d7bdf6725aa43 | [
"MIT"
] | 2 | 2021-04-08T00:50:29.000Z | 2021-11-06T01:35:06.000Z | # Copyright (c) Facebook, Inc. and its affiliates.
import copy
# list of root folders containing the dataset images
IMAGE_ROOTS = {
'freicars_clickp_filtd': ('./dataset_root/freicars/',),
'freicars_clickp_filtd_dbg': ('./dataset_root/freicars/',),
'cub_birds_hrnet_v2': ('./dataset_root/cub_birds/',),
... | 47.385289 | 109 | 0.766234 | 12,429 | 81,171 | 4.869981 | 0.048516 | 0.353632 | 0.47151 | 0.082043 | 0.963356 | 0.957161 | 0.956203 | 0.01852 | 0.015811 | 0.015084 | 0 | 0.195234 | 0.055488 | 81,171 | 1,713 | 110 | 47.385289 | 0.594271 | 0.003055 | 0 | 0.039333 | 0 | 0.000596 | 0.859076 | 0.837029 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000596 | 0 | 0.000596 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7b1bbe2e5652c92d170b9306510210eb88505ed9 | 46 | py | Python | oj/custom_settings.py | gogiluv/c2s | 77a798f97c43405f6ce0cad7223b4e78cb01c953 | [
"MIT"
] | null | null | null | oj/custom_settings.py | gogiluv/c2s | 77a798f97c43405f6ce0cad7223b4e78cb01c953 | [
"MIT"
] | null | null | null | oj/custom_settings.py | gogiluv/c2s | 77a798f97c43405f6ce0cad7223b4e78cb01c953 | [
"MIT"
] | null | null | null | SECRET_KEY="af94e463ee18bc1309844259370defa0"
| 23 | 45 | 0.913043 | 3 | 46 | 13.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.466667 | 0.021739 | 46 | 1 | 46 | 46 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0.695652 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7b976659c33ddc4df4e2c8b163b504960b3c1301 | 117 | py | Python | summarization/summarizer/__init__.py | Untesler/New-s | bdc7f98e6abe783b3b304c351204a13432b3d287 | [
"Apache-2.0"
] | null | null | null | summarization/summarizer/__init__.py | Untesler/New-s | bdc7f98e6abe783b3b304c351204a13432b3d287 | [
"Apache-2.0"
] | 4 | 2020-03-16T05:18:42.000Z | 2021-12-13T20:40:36.000Z | summarization/summarizer/__init__.py | Untesler/New-s | bdc7f98e6abe783b3b304c351204a13432b3d287 | [
"Apache-2.0"
] | 1 | 2020-05-26T16:01:58.000Z | 2020-05-26T16:01:58.000Z | from summarization.summarizer.SentenceRank import SentenceRank
from summarization.summarizer.TextRank import TextRank | 58.5 | 62 | 0.905983 | 12 | 117 | 8.833333 | 0.5 | 0.320755 | 0.509434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059829 | 117 | 2 | 63 | 58.5 | 0.963636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
c8d9abeccbed24a836506216e9feabd2ba435b50 | 55,071 | py | Python | octopus_deploy_swagger_client/octopus_deploy_client/subscription_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | octopus_deploy_swagger_client/octopus_deploy_client/subscription_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | octopus_deploy_swagger_client/octopus_deploy_client/subscription_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Octopus Server API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 2019.6.7+Branch.tags-2019.6.7.Sha.aa18dc6809953218c66f57eff7d26481d9b23d6a
Generated by: https://github.com/swagger-api... | 45.626346 | 204 | 0.660929 | 6,104 | 55,071 | 5.6481 | 0.031619 | 0.040144 | 0.086321 | 0.119735 | 0.984975 | 0.984975 | 0.984975 | 0.981668 | 0.981088 | 0.980711 | 0 | 0.013851 | 0.261935 | 55,071 | 1,206 | 205 | 45.664179 | 0.83435 | 0.333061 | 0 | 0.825886 | 1 | 0 | 0.220172 | 0.101532 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038521 | false | 0 | 0.006163 | 0 | 0.101695 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a81e4fc644f4578131603615065835a6bd7585bb | 2,446 | py | Python | warp/transpiler/Operations/Comparisons.py | swapnilraj/warp | 2fb1fa105fc5c46b2e53790fb0a2f7165b4133a1 | [
"Apache-2.0"
] | null | null | null | warp/transpiler/Operations/Comparisons.py | swapnilraj/warp | 2fb1fa105fc5c46b2e53790fb0a2f7165b4133a1 | [
"Apache-2.0"
] | null | null | null | warp/transpiler/Operations/Comparisons.py | swapnilraj/warp | 2fb1fa105fc5c46b2e53790fb0a2f7165b4133a1 | [
"Apache-2.0"
] | null | null | null | from transpiler.Operations.Binary import Binary
from transpiler.Operations.Unary import Unary
from transpiler.utils import uint256_to_int256
class IsZero(Unary):
def evaluate_eagerly(self, x):
return x == 0
def generate_cairo_code(self, op, res):
return [
f"let (local {res} : Uint... | 24.959184 | 100 | 0.603434 | 323 | 2,446 | 4.359133 | 0.154799 | 0.085227 | 0.110795 | 0.09375 | 0.801847 | 0.768466 | 0.735085 | 0.735085 | 0.662642 | 0.627131 | 0 | 0.04796 | 0.258381 | 2,446 | 97 | 101 | 25.216495 | 0.728225 | 0 | 0 | 0.42029 | 0 | 0.072464 | 0.25879 | 0.114064 | 0 | 0 | 0 | 0 | 0 | 1 | 0.289855 | false | 0 | 0.130435 | 0.289855 | 0.797101 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
a9a26433bded0bf41128be06127c6ffedbba3bfc | 160,697 | py | Python | DepressUtil.py | yecfly/DEPRESSIONEST | 21b72906aac9f310e264f7a5eea348480a647197 | [
"Unlicense"
] | null | null | null | DepressUtil.py | yecfly/DEPRESSIONEST | 21b72906aac9f310e264f7a5eea348480a647197 | [
"Unlicense"
] | null | null | null | DepressUtil.py | yecfly/DEPRESSIONEST | 21b72906aac9f310e264f7a5eea348480a647197 | [
"Unlicense"
] | null | null | null | #Here starts the depression estimation processes
##from 2017.09.26, the stop criteria of training is changing to
####patched on 20180915, fix the bug(implementation logic error for tlabels) in Valid_on_TestSet_3NI
##
import numpy as np
import tensorflow as tf
import os, pickle, time, sys, traceback, collections
... | 56.070133 | 631 | 0.525635 | 17,431 | 160,697 | 4.654925 | 0.059148 | 0.003451 | 0.013286 | 0.017747 | 0.86898 | 0.857764 | 0.847252 | 0.835691 | 0.828814 | 0.811745 | 0 | 0.044242 | 0.328376 | 160,697 | 2,866 | 632 | 56.070133 | 0.707555 | 0.100083 | 0 | 0.787786 | 0 | 0.011863 | 0.143447 | 0.042193 | 0 | 0 | 0 | 0 | 0.000879 | 1 | 0.012742 | false | 0 | 0.041301 | 0.001318 | 0.061511 | 0.126538 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8d197cc0b71d27480f1fa78e0050a6d239cd57aa | 2,556 | py | Python | tests/test_fluentbit_transport.py | laulin/fluentbit-server-py | 6b59c2ef7eb2f3242ad328f567412d87c1fe8f01 | [
"MIT"
] | 1 | 2022-03-04T13:59:48.000Z | 2022-03-04T13:59:48.000Z | tests/test_fluentbit_transport.py | laulin/fluentbit-server-py | 6b59c2ef7eb2f3242ad328f567412d87c1fe8f01 | [
"MIT"
] | null | null | null | tests/test_fluentbit_transport.py | laulin/fluentbit-server-py | 6b59c2ef7eb2f3242ad328f567412d87c1fe8f01 | [
"MIT"
] | null | null | null | import unittest
import msgpack
from fluentbit_server.fluentbit_transport import FluentbitTransport, Event
class TestFluentbitTransport(unittest.TestCase):
def test_forward_mode(self):
message_bin = b'\x92\xa8random.0\x95\x92\xd7\x00_\xce\x07\xa5\x0cE\x8an\x81\xaarand_value\xcf\xaf!\x12\xa5\xfas\rb\x92\xd7\... | 59.44186 | 440 | 0.68975 | 360 | 2,556 | 4.786111 | 0.263889 | 0.034823 | 0.052234 | 0.069646 | 0.800929 | 0.800929 | 0.800929 | 0.75682 | 0.75682 | 0.75682 | 0 | 0.254884 | 0.158842 | 2,556 | 42 | 441 | 60.857143 | 0.546512 | 0 | 0 | 0.482759 | 0 | 0.068966 | 0.395303 | 0.324853 | 0 | 0 | 0 | 0 | 0.068966 | 1 | 0.103448 | false | 0 | 0.103448 | 0 | 0.241379 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8d570cb7460aa23ea63f1f8ad51d7b398461d496 | 311 | py | Python | libs/__init__.py | ooby/iris-pacs | 8311a5f42aeea7b02545b733d91e4ecf05395a38 | [
"MIT"
] | 1 | 2021-11-18T00:58:47.000Z | 2021-11-18T00:58:47.000Z | libs/__init__.py | sciberia-llc/pacs | 1d955035cdfd682a75d756b14feb41e0eb8ee279 | [
"MIT"
] | null | null | null | libs/__init__.py | sciberia-llc/pacs | 1d955035cdfd682a75d756b14feb41e0eb8ee279 | [
"MIT"
] | null | null | null | from .db_classes import DataElement, Patient, Series, SOPInstance, Study
from .db import Database
from .commands import handle_c_store
from .commands import handle_open
from .commands import handle_close
from .commands import handle_c_find
from .commands import handle_c_echo
from .commands import handle_c_get
| 34.555556 | 72 | 0.845659 | 47 | 311 | 5.361702 | 0.404255 | 0.285714 | 0.428571 | 0.571429 | 0.396825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115756 | 311 | 8 | 73 | 38.875 | 0.916364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8d794317dc73eca615f3af61d1c6c231b74e439b | 78 | py | Python | scrapers/party_funding/__init__.py | spudmind/spud | 86e44bca4efd3cd6358467e1511048698a45edbc | [
"MIT"
] | 2 | 2015-04-11T12:22:41.000Z | 2016-08-18T11:12:06.000Z | scrapers/party_funding/__init__.py | spudmind/spud | 86e44bca4efd3cd6358467e1511048698a45edbc | [
"MIT"
] | 84 | 2015-01-22T14:33:49.000Z | 2015-04-01T23:15:29.000Z | scrapers/party_funding/__init__.py | spudmind/spud | 86e44bca4efd3cd6358467e1511048698a45edbc | [
"MIT"
] | 1 | 2015-04-16T03:10:39.000Z | 2015-04-16T03:10:39.000Z | from fetch_party_funding import fetch
from scrape_party_funding import scrape
| 26 | 39 | 0.897436 | 12 | 78 | 5.5 | 0.5 | 0.363636 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 2 | 40 | 39 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8da36d594d0f4d9f06e148f74c085f94c013ae36 | 49,719 | py | Python | Models/Report.py | fefelson/FelsonSports | bc0c16d63b19ffe4d468dcda5ab224013abe23fa | [
"MIT"
] | null | null | null | Models/Report.py | fefelson/FelsonSports | bc0c16d63b19ffe4d468dcda5ab224013abe23fa | [
"MIT"
] | null | null | null | Models/Report.py | fefelson/FelsonSports | bc0c16d63b19ffe4d468dcda5ab224013abe23fa | [
"MIT"
] | null | null | null | from copy import deepcopy
from datetime import datetime, date, timedelta
from .. import Environ as ENV
from ..Interfaces import Fileable
from ..Models import yId
from ..Utils.SQL import formGDCmd, getGDCmds
from pprint import pprint
################################################################################
###... | 47.396568 | 189 | 0.446067 | 5,100 | 49,719 | 4.242745 | 0.064902 | 0.038081 | 0.01368 | 0.016175 | 0.850957 | 0.838248 | 0.819115 | 0.797948 | 0.777752 | 0.763472 | 0 | 0.017853 | 0.409682 | 49,719 | 1,048 | 190 | 47.441794 | 0.719387 | 0.000241 | 0 | 0.740409 | 0 | 0.030691 | 0.53524 | 0.017739 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024297 | false | 0.019182 | 0.008951 | 0 | 0.075448 | 0.005115 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a5cb5a80c3a5788c4a05d452d151ff487192ef7d | 23,177 | py | Python | main/src/CRCL/FloodCRisisCLassification/topic104Flood.py | beAWARE-project/crisis-classification | 2061a2ee57fd502bd973fdfcffc6d7098049b5ed | [
"Apache-2.0"
] | null | null | null | main/src/CRCL/FloodCRisisCLassification/topic104Flood.py | beAWARE-project/crisis-classification | 2061a2ee57fd502bd973fdfcffc6d7098049b5ed | [
"Apache-2.0"
] | 5 | 2018-03-08T16:15:35.000Z | 2018-04-10T14:34:41.000Z | main/src/CRCL/FloodCRisisCLassification/topic104Flood.py | beAWARE-project/crisis-classification | 2061a2ee57fd502bd973fdfcffc6d7098049b5ed | [
"Apache-2.0"
] | null | null | null | import json, time, re
import os, errno
from pathlib import Path
from pandas import read_csv, DataFrame, concat, ExcelWriter
from datetime import datetime, timedelta
from math import pow, ceil
from collections import OrderedDict
from CRCL.FloodCRisisCLassification.Topic104_Metric_Report import Top104_Metric_Report
from ... | 44.571154 | 159 | 0.628899 | 2,550 | 23,177 | 5.530588 | 0.101176 | 0.023825 | 0.01489 | 0.030632 | 0.886833 | 0.86705 | 0.834078 | 0.819755 | 0.806211 | 0.801957 | 0 | 0.027438 | 0.24205 | 23,177 | 519 | 160 | 44.657033 | 0.775374 | 0.220218 | 0 | 0.707483 | 0 | 0.006803 | 0.168793 | 0.011476 | 0.010204 | 0 | 0 | 0 | 0 | 1 | 0.013605 | false | 0 | 0.034014 | 0 | 0.061224 | 0.027211 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
194be4249997dc7089b5e2991030642967a8e223 | 4,789 | py | Python | tests/contexts/tests.py | josemarimanio/django-adminlte2-templates | d39ab5eaec674c4725015fe43fc93e74dce78a6e | [
"MIT"
] | 10 | 2020-03-21T10:50:11.000Z | 2022-03-04T08:36:43.000Z | tests/contexts/tests.py | josemarimanio/django-adminlte2-templates | d39ab5eaec674c4725015fe43fc93e74dce78a6e | [
"MIT"
] | 6 | 2020-06-06T08:48:29.000Z | 2021-06-10T18:49:35.000Z | tests/contexts/tests.py | josemarimanio/django-adminlte2-templates | d39ab5eaec674c4725015fe43fc93e74dce78a6e | [
"MIT"
] | 1 | 2021-09-14T02:00:43.000Z | 2021-09-14T02:00:43.000Z | from django.test import Client
from django.test import SimpleTestCase
from adminlte2_templates.core import reverse
class ContextTestCase(SimpleTestCase):
def setUp(self):
self.client = Client()
def context_exists(self, context):
# Get view from 'layouts' unit test
response = self.cli... | 47.89 | 92 | 0.752767 | 614 | 4,789 | 5.421824 | 0.105863 | 0.128868 | 0.163412 | 0.232803 | 0.845599 | 0.837789 | 0.833884 | 0.821268 | 0.604986 | 0.2304 | 0 | 0.002488 | 0.160576 | 4,789 | 99 | 93 | 48.373737 | 0.825622 | 0.016496 | 0 | 0 | 0 | 0 | 0.187925 | 0.171981 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.277778 | false | 0 | 0.041667 | 0 | 0.361111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
1955c192cb5f222fba0b47ccf2ae670f869d6c71 | 1,267 | py | Python | A2C-Reinforce/agents.py | onimaru/Reinforcement_Learning | 4c45b51a095cb0cb3c18f6a1542befdcab8a58a4 | [
"MIT"
] | 1 | 2020-12-11T19:02:13.000Z | 2020-12-11T19:02:13.000Z | A2C-Reinforce/agents.py | onimaru/Reinforcement_Learning | 4c45b51a095cb0cb3c18f6a1542befdcab8a58a4 | [
"MIT"
] | null | null | null | A2C-Reinforce/agents.py | onimaru/Reinforcement_Learning | 4c45b51a095cb0cb3c18f6a1542befdcab8a58a4 | [
"MIT"
] | 3 | 2020-12-11T19:03:36.000Z | 2022-02-27T20:28:24.000Z | import torch.nn as nn
class AgentA2C(nn.Module):
def __init__(self,state_shape,n_actions):
super().__init__()
self.name = 'a2c'
self.n_actions = n_actions
self.state_shape = state_shape
self.hidden1 = nn.Linear(self.state_shape, 100)
self.act1 = nn.ReLU()
sel... | 31.675 | 55 | 0.599842 | 176 | 1,267 | 4.113636 | 0.198864 | 0.099448 | 0.116022 | 0.060773 | 0.828729 | 0.828729 | 0.828729 | 0.828729 | 0.828729 | 0.828729 | 0 | 0.056522 | 0.273875 | 1,267 | 39 | 56 | 32.487179 | 0.730435 | 0 | 0 | 0.742857 | 0 | 0 | 0.009471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114286 | false | 0 | 0.028571 | 0 | 0.257143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
19639764da9c17f87e2123f52569720a0e1b0270 | 6,393 | py | Python | gans/models/generators/latent_to_image/conditional_latent_to_image.py | tlatkowski/gans-2.0 | 974efc5bbcea39c0a7dec9405ba4514ada6dc39c | [
"MIT"
] | 78 | 2019-09-25T15:09:18.000Z | 2022-02-09T09:56:15.000Z | gans/models/generators/latent_to_image/conditional_latent_to_image.py | tlatkowski/gans-2.0 | 974efc5bbcea39c0a7dec9405ba4514ada6dc39c | [
"MIT"
] | 23 | 2019-10-09T21:24:39.000Z | 2022-03-12T00:00:53.000Z | gans/models/generators/latent_to_image/conditional_latent_to_image.py | tlatkowski/gans-2.0 | 974efc5bbcea39c0a7dec9405ba4514ada6dc39c | [
"MIT"
] | 18 | 2020-01-24T13:13:57.000Z | 2022-02-15T18:58:12.000Z | from easydict import EasyDict as edict
from tensorflow.python.keras import Input
from tensorflow.python.keras import Model
from tensorflow.python.keras import layers
from gans.models import model
class LatentToImageConditionalGenerator(model.Model):
def __init__(
self,
model_parameters: ... | 36.531429 | 118 | 0.622869 | 858 | 6,393 | 4.490676 | 0.086247 | 0.103556 | 0.085128 | 0.066182 | 0.933818 | 0.909162 | 0.909162 | 0.909162 | 0.909162 | 0.907604 | 0 | 0.045308 | 0.223213 | 6,393 | 174 | 119 | 36.741379 | 0.730568 | 0 | 0 | 0.860656 | 0 | 0 | 0.011888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065574 | false | 0 | 0.040984 | 0 | 0.172131 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
19a5af7c094f1e230276b01122b494d2484995ec | 10,430 | py | Python | tests/libqif/core/test_Hyper.py | ramongonze/libqif | 57be74a2342a303da5415a3d787855b8115e58f8 | [
"MIT"
] | 2 | 2021-10-16T17:34:58.000Z | 2021-11-16T16:15:13.000Z | tests/libqif/core/test_Hyper.py | ramongonze/libqif | 57be74a2342a303da5415a3d787855b8115e58f8 | [
"MIT"
] | null | null | null | tests/libqif/core/test_Hyper.py | ramongonze/libqif | 57be74a2342a303da5415a3d787855b8115e58f8 | [
"MIT"
] | null | null | null | from libqif.core.secrets import Secrets
from libqif.core.channel import Channel
from libqif.core.hyper import Hyper
import numpy as np
import unittest
import os
class TestHyper(unittest.TestCase):
def setUp(self):
self.prior1 = np.array([1/4, 1/2, 1/4])
self.channel1 = np.array([
[1/2, ... | 35.841924 | 87 | 0.474113 | 1,522 | 10,430 | 3.159658 | 0.055191 | 0.049075 | 0.038677 | 0.166355 | 0.909129 | 0.887295 | 0.875234 | 0.867956 | 0.867748 | 0.861926 | 0 | 0.115796 | 0.335954 | 10,430 | 291 | 88 | 35.841924 | 0.578545 | 0.047076 | 0 | 0.855422 | 0 | 0 | 0.022162 | 0 | 0 | 0 | 0 | 0 | 0.160643 | 1 | 0.012048 | false | 0 | 0.024096 | 0 | 0.040161 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2727c0d6df12e6bdd7d028f7aa646508e90e92dd | 74 | py | Python | Themes/__init__.py | serumstudio/SerumWriter | 5e212b49e8d3da3890cd685a985438d298db5e26 | [
"MIT"
] | 2 | 2022-03-24T05:29:02.000Z | 2022-03-24T11:01:44.000Z | Themes/__init__.py | serumstudio/SerumWriter | 5e212b49e8d3da3890cd685a985438d298db5e26 | [
"MIT"
] | null | null | null | Themes/__init__.py | serumstudio/SerumWriter | 5e212b49e8d3da3890cd685a985438d298db5e26 | [
"MIT"
] | null | null | null |
from SerumWriter.Themes import Dark
from SerumWriter.Themes import Light
| 18.5 | 36 | 0.851351 | 10 | 74 | 6.3 | 0.6 | 0.47619 | 0.666667 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 74 | 3 | 37 | 24.666667 | 0.969231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
27ccf4b8dac292cfa6a4767e7d8503ce4f4ea1de | 130 | py | Python | basic_skills/views.py | bluebamus/django_miscellaneous_book | 22e0851b3a07aeef94bb723b334f036ed5c17f72 | [
"MIT"
] | null | null | null | basic_skills/views.py | bluebamus/django_miscellaneous_book | 22e0851b3a07aeef94bb723b334f036ed5c17f72 | [
"MIT"
] | null | null | null | basic_skills/views.py | bluebamus/django_miscellaneous_book | 22e0851b3a07aeef94bb723b334f036ed5c17f72 | [
"MIT"
] | null | null | null | from .views_ex.views_cbv_mixin import *
from .views_ex.views_messages import *
from .views_ex.views_two_scoops_of_django import *
| 32.5 | 50 | 0.838462 | 22 | 130 | 4.5 | 0.5 | 0.272727 | 0.333333 | 0.484848 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 130 | 3 | 51 | 43.333333 | 0.838983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
fd669be7b63a0aea335698a75555046607442b5d | 1,187 | py | Python | python--exercicios/ex052.py | Eliezer2000/python | 12abb54c6536acb2f36b8f34bf51ec765857eb75 | [
"MIT"
] | null | null | null | python--exercicios/ex052.py | Eliezer2000/python | 12abb54c6536acb2f36b8f34bf51ec765857eb75 | [
"MIT"
] | null | null | null | python--exercicios/ex052.py | Eliezer2000/python | 12abb54c6536acb2f36b8f34bf51ec765857eb75 | [
"MIT"
] | null | null | null | num = int(input('Digite um número : '))
tot = 0
for c in range(1, num +1):
if num % c == 0:
print('\033[33m', end='')
tot += 1
else:
print('\033[31m', end='')
print('{}'.format(c), end=' ')
print('O número {} foi dividido {} vezes'.format(num, tot))
if tot == 2:
print('E por isso... | 21.581818 | 63 | 0.510531 | 184 | 1,187 | 3.293478 | 0.195652 | 0.079208 | 0.082508 | 0.09901 | 0.930693 | 0.930693 | 0.905941 | 0.905941 | 0.859736 | 0.859736 | 0 | 0.056272 | 0.281382 | 1,187 | 54 | 64 | 21.981481 | 0.654162 | 0 | 0 | 0.813953 | 0 | 0 | 0.296108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.44186 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
e34952d31eb22086b5b6d916f98bf6047324cad8 | 152 | py | Python | libs/yowsup/yowsup/yowsup/layers/protocol_messages/protocolentities/__init__.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 22 | 2017-07-14T20:01:17.000Z | 2022-03-08T14:22:39.000Z | libs/yowsup/yowsup/yowsup/layers/protocol_messages/protocolentities/__init__.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 6 | 2017-07-14T21:03:50.000Z | 2021-06-10T19:08:32.000Z | libs/yowsup/yowsup/yowsup/layers/protocol_messages/protocolentities/__init__.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 13 | 2017-07-14T20:13:14.000Z | 2020-11-12T08:06:05.000Z | from .message_text import TextMessageProtocolEntity
from .message import MessageProtocolEntity
from .message_text_broadcast import BroadcastTextMessage
| 38 | 56 | 0.901316 | 15 | 152 | 8.933333 | 0.533333 | 0.246269 | 0.223881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 152 | 3 | 57 | 50.666667 | 0.957143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8b729053d953532b16108805ecf50163a9bc77d4 | 103 | py | Python | 01_analysis.py | karlbenedict/carc-testing | 654305317525c8eab35adadf56ce763375b83151 | [
"Apache-2.0"
] | null | null | null | 01_analysis.py | karlbenedict/carc-testing | 654305317525c8eab35adadf56ce763375b83151 | [
"Apache-2.0"
] | null | null | null | 01_analysis.py | karlbenedict/carc-testing | 654305317525c8eab35adadf56ce763375b83151 | [
"Apache-2.0"
] | null | null | null | import datetime
# print 'hello world' and the date
print 'hello world' + str(datetime.datetime.now())
| 20.6 | 50 | 0.737864 | 15 | 103 | 5.066667 | 0.666667 | 0.263158 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 4 | 51 | 25.75 | 0.863636 | 0.31068 | 0 | 0 | 0 | 0 | 0.15942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
8b7dfae1ed13816bc987a173c323603c0f9c4c42 | 2,144 | py | Python | script/lib/get_small_cmd.py | cyberphantom/Selfie-Drone-Stick | 7ac9fa49445c63a4fdbcb20db47ae877624ea03b | [
"MIT"
] | 2 | 2021-07-29T00:55:43.000Z | 2022-03-21T17:36:51.000Z | script/lib/get_small_cmd.py | cyberphantom/Selfie-Drone-Stick | 7ac9fa49445c63a4fdbcb20db47ae877624ea03b | [
"MIT"
] | null | null | null | script/lib/get_small_cmd.py | cyberphantom/Selfie-Drone-Stick | 7ac9fa49445c63a4fdbcb20db47ae877624ea03b | [
"MIT"
] | 1 | 2022-03-21T17:36:52.000Z | 2022-03-21T17:36:52.000Z | #!/usr/bin/env python
from geometry_msgs.msg import Twist
def cmdVel(ac, vel):
vel_cmd = Twist()
action = ac
if action == 0: # Hover
vel_cmd.linear.x = 0.0
vel_cmd.angular.x = 0.0
vel_cmd.linear.y = 0.0
vel_cmd.angular.y = 0.0
vel_cmd.linear.z = 0.0
vel_cmd... | 26.469136 | 35 | 0.534049 | 378 | 2,144 | 2.878307 | 0.111111 | 0.308824 | 0.179228 | 0.286765 | 0.848346 | 0.848346 | 0.848346 | 0.848346 | 0.848346 | 0.848346 | 0 | 0.071784 | 0.34375 | 2,144 | 80 | 36 | 26.8 | 0.701493 | 0.042444 | 0 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014706 | false | 0 | 0.014706 | 0 | 0.044118 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8bb5c11b19be79bb1fa99db94a009e0786f898a8 | 40,187 | py | Python | sdk/python/pulumi_oci/core/security_list.py | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/python/pulumi_oci/core/security_list.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/python/pulumi_oci/core/security_list.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 58.752924 | 347 | 0.68547 | 4,612 | 40,187 | 5.710538 | 0.065265 | 0.055549 | 0.046892 | 0.023921 | 0.928656 | 0.917644 | 0.910051 | 0.901507 | 0.896002 | 0.87884 | 0 | 0.003781 | 0.216787 | 40,187 | 683 | 348 | 58.838946 | 0.832979 | 0.538507 | 0 | 0.711409 | 1 | 0 | 0.142698 | 0.069365 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161074 | false | 0.003356 | 0.02349 | 0 | 0.281879 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
475994a81360cae2e3e853657247fdfef3f04e04 | 1,842 | py | Python | kmatch/mixins.py | Xavier73/kmatch | 49d3498e987b871c49458adc602dafed22e3a8cb | [
"MIT"
] | 23 | 2015-01-31T07:24:10.000Z | 2021-09-24T18:05:01.000Z | kmatch/mixins.py | XavierBrassoud/kmatch | 49d3498e987b871c49458adc602dafed22e3a8cb | [
"MIT"
] | 8 | 2015-11-05T20:43:43.000Z | 2022-03-23T11:53:25.000Z | kmatch/mixins.py | XavierBrassoud/kmatch | 49d3498e987b871c49458adc602dafed22e3a8cb | [
"MIT"
] | 11 | 2015-11-05T19:09:03.000Z | 2021-12-25T11:45:32.000Z | from .kmatch import K
class KmatchTestMixin(object):
"""
A mixin for test classes to perform kmatch validation on dictionaries
"""
def assertKmatches(self, pattern, value, suppress_key_errors=False):
"""
Assert that the value matches the kmatch pattern.
:type pattern: list
... | 39.191489 | 118 | 0.675353 | 224 | 1,842 | 5.446429 | 0.258929 | 0.108197 | 0.167213 | 0.065574 | 0.796721 | 0.796721 | 0.742623 | 0.742623 | 0.742623 | 0.742623 | 0 | 0 | 0.255157 | 1,842 | 46 | 119 | 40.043478 | 0.889213 | 0.673724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
478488ce0a3e38fa7ef9dc81a61e793700dd1856 | 9,525 | py | Python | models/layer.py | AnnLIU15/SegCovid | e8a1ccadfbe56ddc7f1adf33225f77836436fa85 | [
"MIT"
] | null | null | null | models/layer.py | AnnLIU15/SegCovid | e8a1ccadfbe56ddc7f1adf33225f77836436fa85 | [
"MIT"
] | null | null | null | models/layer.py | AnnLIU15/SegCovid | e8a1ccadfbe56ddc7f1adf33225f77836436fa85 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
'''
U2Net的一些组件
'''
class REBNCONV(nn.Module):
def __init__(self, in_channels=1, out_channels=3, dirate=1):
super(REBNCONV, self).__init__()
self.conv_s1 = nn.Conv2d(
in_channels, out_channels, 3, padding=1*dirate, dilat... | 28.951368 | 78 | 0.619633 | 1,331 | 9,525 | 4.277986 | 0.087153 | 0.078152 | 0.081138 | 0.069547 | 0.855462 | 0.842641 | 0.824201 | 0.824201 | 0.770285 | 0.745873 | 0 | 0.066508 | 0.248609 | 9,525 | 328 | 79 | 29.039634 | 0.729076 | 0.023097 | 0 | 0.731959 | 0 | 0 | 0.000865 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06701 | false | 0 | 0.015464 | 0 | 0.149485 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
47929ceb14966bc98dcf1618fb3f82c60f51a805 | 120 | py | Python | unifi/cams/__init__.py | hairychris/unifi-cam-proxy | 5302445719d85f6633ad1d2a7ffa9b99d8d12557 | [
"MIT"
] | null | null | null | unifi/cams/__init__.py | hairychris/unifi-cam-proxy | 5302445719d85f6633ad1d2a7ffa9b99d8d12557 | [
"MIT"
] | null | null | null | unifi/cams/__init__.py | hairychris/unifi-cam-proxy | 5302445719d85f6633ad1d2a7ffa9b99d8d12557 | [
"MIT"
] | null | null | null | from unifi.cams.hikvision import HikvisionCam
from unifi.cams.lorex import LorexCam
from unifi.cams.rtsp import RTSPCam
| 30 | 45 | 0.85 | 18 | 120 | 5.666667 | 0.555556 | 0.264706 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 120 | 3 | 46 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
479cffc330f49cc1606f1278509f0f469362b578 | 42,531 | py | Python | example/auto_runner/run_samgraph.py | SJTU-IPADS/fgnn-artifacts | c96e7ec8204d767152958dc63a764466e90424fd | [
"Apache-2.0"
] | 23 | 2022-01-25T13:28:51.000Z | 2022-03-23T07:05:47.000Z | example/auto_runner/run_samgraph.py | SJTU-IPADS/gnnlab | 5c73564e4a9bd5deeff7eed0b923c115ccba34d7 | [
"Apache-2.0"
] | null | null | null | example/auto_runner/run_samgraph.py | SJTU-IPADS/gnnlab | 5c73564e4a9bd5deeff7eed0b923c115ccba34d7 | [
"Apache-2.0"
] | 1 | 2022-02-28T18:48:56.000Z | 2022-02-28T18:48:56.000Z | from common import *
import datetime
import argparse
import time
here = os.path.abspath(os.path.dirname(__file__))
app_dir = os.path.join(here, '../samgraph/multi_gpu')
"""
if log_dir is not None, it will only parse logs
"""
def breakdown_test(log_folder=None, mock=False):
tic = time.time()
if log_fold... | 33.835322 | 144 | 0.584256 | 5,338 | 42,531 | 4.286437 | 0.033908 | 0.077881 | 0.129802 | 0.109611 | 0.957476 | 0.95363 | 0.946025 | 0.931865 | 0.916743 | 0.868931 | 0 | 0.043919 | 0.27246 | 42,531 | 1,256 | 145 | 33.862261 | 0.695537 | 0.013096 | 0 | 0.851667 | 0 | 0.005 | 0.242548 | 0.019594 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004167 | false | 0 | 0.003333 | 0 | 0.0075 | 0.004167 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
47c57a8c12fe001c0bf9258c584ac3cb7c17f51a | 8,565 | py | Python | tests/parsers/can_frame_parser_test.py | sceaj/track_logger_postprocessor | 120bd68d9bf6354c1d3a97de6178df040f3ab7b3 | [
"MIT"
] | null | null | null | tests/parsers/can_frame_parser_test.py | sceaj/track_logger_postprocessor | 120bd68d9bf6354c1d3a97de6178df040f3ab7b3 | [
"MIT"
] | null | null | null | tests/parsers/can_frame_parser_test.py | sceaj/track_logger_postprocessor | 120bd68d9bf6354c1d3a97de6178df040f3ab7b3 | [
"MIT"
] | null | null | null | '''
Created on May 24, 2019
@author: jeff
'''
import unittest
from parsers.can_frame_parser import CanFrame242Extractor, CanFrame245Extractor, CanFrame246Extractor, CanFrame24AExtractor
from parsers.can_frame_parser import CanFrame441Extractor, CanFrame44BExtractor, CanFrameParser
from converter.data_state import Data... | 75.131579 | 199 | 0.727496 | 1,180 | 8,565 | 5.022034 | 0.123729 | 0.075599 | 0.070199 | 0.086399 | 0.852852 | 0.850827 | 0.808977 | 0.764428 | 0.736416 | 0.663179 | 0 | 0.057457 | 0.150613 | 8,565 | 114 | 200 | 75.131579 | 0.757113 | 0.010041 | 0 | 0.326087 | 0 | 0.043478 | 0.195231 | 0.019358 | 0 | 0 | 0 | 0 | 0.347826 | 1 | 0.119565 | false | 0.119565 | 0.043478 | 0 | 0.195652 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
47fb333bde97675a5b1cf517310ef59892da40db | 16,814 | py | Python | Lib/site-packages/numarray/array_protocol.py | raychorn/svn_Python-2.5.1 | 425005b1b489ba44ec0bb989e077297e8953d9be | [
"PSF-2.0"
] | null | null | null | Lib/site-packages/numarray/array_protocol.py | raychorn/svn_Python-2.5.1 | 425005b1b489ba44ec0bb989e077297e8953d9be | [
"PSF-2.0"
] | null | null | null | Lib/site-packages/numarray/array_protocol.py | raychorn/svn_Python-2.5.1 | 425005b1b489ba44ec0bb989e077297e8953d9be | [
"PSF-2.0"
] | null | null | null | """array_protocol contains self-tests for the scipy newcore array protocol.
Currently array_protcol tests numarray:Numeric exchanges. If Numeric fails
to import, array_protocol runs no tests and returns a (0,0) doctest result
tuple.
"""
## doctests for numarray-->Numeric conversions
import sys
import numarray
try... | 25.020833 | 77 | 0.579814 | 3,154 | 16,814 | 3.085606 | 0.031072 | 0.120838 | 0.114057 | 0.062474 | 0.930847 | 0.920058 | 0.918825 | 0.912557 | 0.900843 | 0.896732 | 0 | 0.092493 | 0.22517 | 16,814 | 671 | 78 | 25.058122 | 0.654513 | 0.973534 | 0 | 0.571429 | 0 | 0 | 0.019277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | true | 0.095238 | 0.333333 | 0 | 0.619048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 11 |
7be43614e727c60b8bf8d666cd90d2e72641ecd9 | 68,639 | py | Python | benchmarks/SimResults/combinations_spec_locality/cmp_bwavesgccmcfleslie3d/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/combinations_spec_locality/cmp_bwavesgccmcfleslie3d/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/combinations_spec_locality/cmp_bwavesgccmcfleslie3d/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.097374 | 124 | 0.682149 | 8,087 | 68,639 | 5.783851 | 0.067392 | 0.123487 | 0.112883 | 0.093385 | 0.938598 | 0.930731 | 0.917283 | 0.88763 | 0.861761 | 0.841899 | 0 | 0.132249 | 0.224231 | 68,639 | 914 | 125 | 75.097374 | 0.746169 | 0 | 0 | 0.642232 | 0 | 0 | 0.657124 | 0.048077 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7bf8052d64d7f0f297c1530c45850cc5b9a7c990 | 2,430 | py | Python | tests/test_comparable.py | eblade/jsondb | 6464f2a761e562477413bc4bb62c604f95a71a4e | [
"MIT"
] | 3 | 2016-11-22T23:16:56.000Z | 2021-12-14T03:43:16.000Z | tests/test_comparable.py | eblade/jsondb | 6464f2a761e562477413bc4bb62c604f95a71a4e | [
"MIT"
] | null | null | null | tests/test_comparable.py | eblade/jsondb | 6464f2a761e562477413bc4bb62c604f95a71a4e | [
"MIT"
] | null | null | null | import pytest
from lindh.jsondb import Comparable
@pytest.mark.parametrize('a,b,expected', [
('a', 'b', True),
('b', 'a', False),
('a', 'a', False),
('a', None, False),
(None, 'a', True),
('a', any, True),
(any, 'a', False),
(None, None, False),
(any, any, False),
(1, 1, False)... | 21.130435 | 42 | 0.45144 | 345 | 2,430 | 3.150725 | 0.078261 | 0.036799 | 0.073597 | 0.080957 | 0.960442 | 0.943882 | 0.943882 | 0.943882 | 0.943882 | 0.943882 | 0 | 0.032333 | 0.287243 | 2,430 | 114 | 43 | 21.315789 | 0.595266 | 0 | 0 | 0.90566 | 0 | 0 | 0.046091 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 1 | 0.037736 | false | 0 | 0.018868 | 0 | 0.056604 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d0008580d32e505816bb206ef131a16aee00b262 | 62 | py | Python | calc.py | syedshahab698/UnitTesting_In_Python | 31c5eb5655da5d27a03360aa55154bea6aae8fc2 | [
"MIT"
] | null | null | null | calc.py | syedshahab698/UnitTesting_In_Python | 31c5eb5655da5d27a03360aa55154bea6aae8fc2 | [
"MIT"
] | null | null | null | calc.py | syedshahab698/UnitTesting_In_Python | 31c5eb5655da5d27a03360aa55154bea6aae8fc2 | [
"MIT"
] | null | null | null |
def add_(a,b):
return a+b
def sub_(a,b):
return a-b | 8.857143 | 14 | 0.548387 | 14 | 62 | 2.285714 | 0.428571 | 0.25 | 0.5 | 0.5625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290323 | 62 | 7 | 15 | 8.857143 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
d01bfa16bc9cac5ea5626167f50d8adcc2195157 | 84 | py | Python | pyimagesource/__init__.py | Fhrozen/pyimagesource | 0bd3c8de484694877ea1d152448b7bc0b31b279a | [
"Apache-2.0"
] | 6 | 2020-06-27T09:55:46.000Z | 2022-03-28T01:01:37.000Z | pyimagesource/__init__.py | Fhrozen/ism_rir | 0bd3c8de484694877ea1d152448b7bc0b31b279a | [
"Apache-2.0"
] | null | null | null | pyimagesource/__init__.py | Fhrozen/ism_rir | 0bd3c8de484694877ea1d152448b7bc0b31b279a | [
"Apache-2.0"
] | 1 | 2019-12-05T08:22:31.000Z | 2019-12-05T08:22:31.000Z | from .bank import audiodata # NOQA
from .bank import Room_Impulse_Response # NOQA
| 28 | 47 | 0.785714 | 12 | 84 | 5.333333 | 0.666667 | 0.25 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 84 | 2 | 48 | 42 | 0.914286 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d0f0d2e22638265dcd8c0c4e277641f1fdc39bf6 | 97 | py | Python | rouge_papier_v2/rouge_papier_v2/__init__.py | BambooPalace/text-summarization | 17ac68598563492b5e8959493b2bf1b137f78a5a | [
"MIT"
] | 54 | 2019-09-20T12:31:10.000Z | 2022-03-19T12:21:32.000Z | rouge_papier_v2/rouge_papier_v2/__init__.py | huaweicould-ei/ExtSummLongDoc | 43da8584a1ec5df6ed31a844285a12b71eb2b4a8 | [
"MIT"
] | 9 | 2019-11-25T06:17:11.000Z | 2022-03-23T04:08:53.000Z | rouge_papier_v2/rouge_papier_v2/__init__.py | huaweicould-ei/ExtSummLongDoc | 43da8584a1ec5df6ed31a844285a12b71eb2b4a8 | [
"MIT"
] | 12 | 2019-12-08T10:06:05.000Z | 2022-03-06T08:10:53.000Z | from .wrapper import compute_rouge
from .generate import compute_extract, compute_pairwise_ranks
| 32.333333 | 61 | 0.876289 | 13 | 97 | 6.230769 | 0.692308 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092784 | 97 | 2 | 62 | 48.5 | 0.920455 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ef83ce44801ee6baefc4a26db40fb815a96a2a07 | 5,073 | py | Python | srp/tests/test_recognition.py | sonerkcardak/python-detailed-assistant | 161b82289c5ae7149fe638ba6a5192b6aa6833d8 | [
"Apache-2.0"
] | null | null | null | srp/tests/test_recognition.py | sonerkcardak/python-detailed-assistant | 161b82289c5ae7149fe638ba6a5192b6aa6833d8 | [
"Apache-2.0"
] | null | null | null | srp/tests/test_recognition.py | sonerkcardak/python-detailed-assistant | 161b82289c5ae7149fe638ba6a5192b6aa6833d8 | [
"Apache-2.0"
] | 1 | 2020-02-16T14:25:42.000Z | 2020-02-16T14:25:42.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import unittest
import speech_recognition as sr
class TestRecognition(unittest.TestCase):
def setUp(self):
self.AUDIO_FILE_EN = os.path.join(os.path.dirname(os.path.realpath(__file__)), "english.wav")
self.AUDIO_FILE_FR = os.path.join(os.p... | 58.310345 | 230 | 0.718707 | 746 | 5,073 | 4.707775 | 0.131367 | 0.061503 | 0.055524 | 0.058087 | 0.826879 | 0.795843 | 0.768223 | 0.752278 | 0.752278 | 0.752278 | 0 | 0.00212 | 0.163217 | 5,073 | 86 | 231 | 58.988372 | 0.825206 | 0.008476 | 0 | 0.454545 | 0 | 0 | 0.272076 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.19697 | false | 0.090909 | 0.045455 | 0 | 0.257576 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
ef8cb6fa8dec8a0c2ae22171308c8cb2450e41f0 | 46 | py | Python | tests/__main__.py | H4CKY54CK/misctools | e6f1f944046f07b808d19bb4e4c8fae6264eb428 | [
"MIT"
] | 3 | 2020-08-23T21:18:09.000Z | 2021-12-08T15:48:38.000Z | tests/__main__.py | H4CKY54CK/misctools | e6f1f944046f07b808d19bb4e4c8fae6264eb428 | [
"MIT"
] | 2 | 2020-04-14T09:18:54.000Z | 2020-07-13T06:09:22.000Z | tests/__main__.py | H4CKY54CK/misctools | e6f1f944046f07b808d19bb4e4c8fae6264eb428 | [
"MIT"
] | null | null | null | from . import test_archit
test_archit.test_()
| 15.333333 | 25 | 0.804348 | 7 | 46 | 4.857143 | 0.571429 | 0.588235 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 2 | 26 | 23 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
efb1f61c27e19d3f317a85f3e1e01141c409ce5a | 5,042 | py | Python | src/models/base_models/resnet.py | Charl-AI/lightning-template | 1cd06d34f5294171768c9078c67eb34a180ce48b | [
"Apache-2.0"
] | null | null | null | src/models/base_models/resnet.py | Charl-AI/lightning-template | 1cd06d34f5294171768c9078c67eb34a180ce48b | [
"Apache-2.0"
] | 10 | 2021-09-19T16:07:03.000Z | 2022-02-13T11:36:19.000Z | src/models/base_models/resnet.py | Charl-AI/lightning-template | 1cd06d34f5294171768c9078c67eb34a180ce48b | [
"Apache-2.0"
] | null | null | null | """Standard torchvision implementations at:
https://pytorch.org/vision/0.8/_modules/torchvision/models/resnet.html"""
import torch
from torchvision.models.resnet import ResNet, BasicBlock, Bottleneck
class ResNet18(ResNet):
"""ResNet 18, based on torchvision implementation [BSD 3-Clause License].
Modified to... | 35.758865 | 79 | 0.656486 | 670 | 5,042 | 4.819403 | 0.164179 | 0.046454 | 0.046454 | 0.049551 | 0.909879 | 0.909879 | 0.909879 | 0.909879 | 0.909879 | 0.909879 | 0 | 0.032949 | 0.259619 | 5,042 | 140 | 80 | 36.014286 | 0.832039 | 0.562079 | 0 | 0.701754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087719 | false | 0 | 0.035088 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
efc520cb6fbec8f8ec0adce302eca6b115ac65a6 | 35,914 | py | Python | diff_representation/model/autoencoder.py | microsoft/iclr2019-learning-to-represent-edits | e5777d6aa6cdeda500cf076646177c48d1cb4622 | [
"MIT"
] | 8 | 2021-03-15T18:57:18.000Z | 2021-08-23T11:28:22.000Z | diff_representation/model/autoencoder.py | microsoft/iclr2019-learning-to-represent-edits | e5777d6aa6cdeda500cf076646177c48d1cb4622 | [
"MIT"
] | null | null | null | diff_representation/model/autoencoder.py | microsoft/iclr2019-learning-to-represent-edits | e5777d6aa6cdeda500cf076646177c48d1cb4622 | [
"MIT"
] | 4 | 2021-03-27T14:19:09.000Z | 2021-09-13T12:35:31.000Z | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
import string
from diff_representation.model import utils
from diff_representation.model.bag_of_edits_change_encoder import BagOfEditsChangeEncoder
from diff_representation.model.graph_change_encoder import GraphChangeEncoder
from diff_representa... | 55.252308 | 163 | 0.597761 | 3,727 | 35,914 | 5.299973 | 0.066005 | 0.024604 | 0.023693 | 0.025616 | 0.884018 | 0.871209 | 0.847314 | 0.834506 | 0.818559 | 0.810155 | 0 | 0.002238 | 0.340675 | 35,914 | 649 | 164 | 55.337442 | 0.831961 | 0.012251 | 0 | 0.752437 | 0 | 0 | 0.017654 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050682 | false | 0 | 0.021443 | 0.005848 | 0.124756 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
56014d945daf9e39fde78db46599ec47b0a92684 | 5,848 | py | Python | rdmo/questions/migrations/0039_meta.py | Raspeanut/rdmo | 9f785010a499c372a2f8368ccf76d2ea4150adcb | [
"Apache-2.0"
] | 77 | 2016-08-09T11:40:20.000Z | 2022-03-06T11:03:26.000Z | rdmo/questions/migrations/0039_meta.py | Raspeanut/rdmo | 9f785010a499c372a2f8368ccf76d2ea4150adcb | [
"Apache-2.0"
] | 377 | 2016-07-01T13:59:36.000Z | 2022-03-30T13:53:19.000Z | rdmo/questions/migrations/0039_meta.py | Raspeanut/rdmo | 9f785010a499c372a2f8368ccf76d2ea4150adcb | [
"Apache-2.0"
] | 47 | 2016-06-23T11:32:19.000Z | 2022-03-01T11:34:37.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.18 on 2019-01-30 14:21
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('questions', '0038_rename_de_to_lang2'),
]
operations = [
migrations.AlterF... | 50.413793 | 187 | 0.642784 | 664 | 5,848 | 5.487952 | 0.09488 | 0.084523 | 0.137212 | 0.159166 | 0.935785 | 0.935785 | 0.935785 | 0.888035 | 0.876235 | 0.855379 | 0 | 0.019345 | 0.248632 | 5,848 | 115 | 188 | 50.852174 | 0.809968 | 0.011799 | 0 | 0.796296 | 1 | 0 | 0.350935 | 0.021295 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018519 | 0 | 0.046296 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4bdf74b1b4bc15ed09e631921bdae57d07964b62 | 28,610 | py | Python | tests/test_clickhouse_sql_rewriter.py | Agile-Data/flat-ql | 3212ae9d0ec4ba822c065bb5e4beccf9e936971b | [
"MIT"
] | 3 | 2022-03-21T05:03:39.000Z | 2022-03-23T01:32:51.000Z | tests/test_clickhouse_sql_rewriter.py | Agile-Data/flat-ql | 3212ae9d0ec4ba822c065bb5e4beccf9e936971b | [
"MIT"
] | null | null | null | tests/test_clickhouse_sql_rewriter.py | Agile-Data/flat-ql | 3212ae9d0ec4ba822c065bb5e4beccf9e936971b | [
"MIT"
] | null | null | null | import os
from flatql import SqlRewriter, parse_from_hocon_path, parse_flatql
from flatql.rewriter.clickhouse_sql_rewriter import ClickhouseSqlRewriterFactory
recruitment_schema = parse_from_hocon_path(f"{os.path.dirname(__file__)}/schemas/recruitment")
function_call_rewriter_factory = ClickhouseSqlRewriterFactory()
... | 131.843318 | 1,431 | 0.68504 | 5,156 | 28,610 | 3.501164 | 0.02851 | 0.035453 | 0.038389 | 0.085254 | 0.963107 | 0.962386 | 0.962386 | 0.961888 | 0.961888 | 0.95862 | 0 | 0.044258 | 0.139951 | 28,610 | 217 | 1,432 | 131.843318 | 0.689385 | 0 | 0 | 0.545455 | 0 | 0.345455 | 0.740589 | 0.113767 | 0 | 0 | 0 | 0 | 0.121212 | 1 | 0.127273 | false | 0 | 0.024242 | 0 | 0.151515 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
4be4539f7638a26ec1575337759c98ebcb7e4a0c | 11,042 | py | Python | models/model.py | iamsofancyyoualreadyknow/IHC-based-labels-generation-and-semantic-segmentation-for-lung-cancer | 57904544c6d6b43dcd5937afeb474c0a47456d98 | [
"MIT"
] | null | null | null | models/model.py | iamsofancyyoualreadyknow/IHC-based-labels-generation-and-semantic-segmentation-for-lung-cancer | 57904544c6d6b43dcd5937afeb474c0a47456d98 | [
"MIT"
] | null | null | null | models/model.py | iamsofancyyoualreadyknow/IHC-based-labels-generation-and-semantic-segmentation-for-lung-cancer | 57904544c6d6b43dcd5937afeb474c0a47456d98 | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow.python.ops import control_flow_ops
from six.moves import cPickle
import deeplab
import deeplab_v2
arg_scope = tf.contrib.framework.arg_scope
class DeepLabLFOVModel(object):
"""DeepLab-LargeFOV model with atrous convolution and bilinear upsampling.
This class implemen... | 39.435714 | 137 | 0.643452 | 1,494 | 11,042 | 4.544177 | 0.131861 | 0.085432 | 0.029165 | 0.022978 | 0.859626 | 0.835616 | 0.825895 | 0.825895 | 0.825895 | 0.804537 | 0 | 0.015716 | 0.268158 | 11,042 | 280 | 138 | 39.435714 | 0.824403 | 0.325756 | 0 | 0.714286 | 0 | 0 | 0.005365 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133929 | false | 0 | 0.044643 | 0 | 0.3125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ef079f774564373acb99ad1915fc626d422b0f96 | 198 | py | Python | tests/python-reference/builtin/len.py | jpolitz/lambda-py-paper | 746ef63fc1123714b4adaf78119028afbea7bd76 | [
"Apache-2.0"
] | 25 | 2015-04-16T04:31:49.000Z | 2022-03-10T15:53:28.000Z | tests/python-reference/builtin/len.py | jpolitz/lambda-py-paper | 746ef63fc1123714b4adaf78119028afbea7bd76 | [
"Apache-2.0"
] | 1 | 2018-11-21T22:40:02.000Z | 2018-11-26T17:53:11.000Z | tests/python-reference/builtin/len.py | jpolitz/lambda-py-paper | 746ef63fc1123714b4adaf78119028afbea7bd76 | [
"Apache-2.0"
] | 1 | 2021-03-26T03:36:19.000Z | 2021-03-26T03:36:19.000Z | ___assertEqual(len('123'), 3)
___assertEqual(len(()), 0)
___assertEqual(len((1, 2, 3, 4)), 4)
___assertEqual(len([1, 2, 3, 4]), 4)
___assertEqual(len({}), 0)
___assertEqual(len({'a':1, 'b': 2}), 2)
| 28.285714 | 39 | 0.621212 | 31 | 198 | 3.387097 | 0.322581 | 0.8 | 0.285714 | 0.495238 | 0.780952 | 0.495238 | 0.495238 | 0.495238 | 0.495238 | 0 | 0 | 0.106742 | 0.10101 | 198 | 6 | 40 | 33 | 0.483146 | 0 | 0 | 0 | 0 | 0 | 0.025253 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ef4165586432832f8a1d8178b3d00c49cc72eba9 | 2,067 | py | Python | adventofcode/tests/test_day3.py | jcfvalente/adventofcode2020 | ec0deede4661dd80945d96cb72b034579b9ac62e | [
"MIT"
] | null | null | null | adventofcode/tests/test_day3.py | jcfvalente/adventofcode2020 | ec0deede4661dd80945d96cb72b034579b9ac62e | [
"MIT"
] | null | null | null | adventofcode/tests/test_day3.py | jcfvalente/adventofcode2020 | ec0deede4661dd80945d96cb72b034579b9ac62e | [
"MIT"
] | null | null | null | from adventofcode.day3 import solve_part_one
from adventofcode.day3 import solve_part_two
def test_part_one():
puzzle = ["..##.........##.........##.........##.........##.........##.......",
"#...#...#..#...#...#..#...#...#..#...#...#..#...#...#..#...#...#..",
".#....#..#..#....#..#..#... | 62.636364 | 83 | 0.087567 | 37 | 2,067 | 4.567568 | 0.405405 | 0.213018 | 0.236686 | 0.307692 | 0.414201 | 0.414201 | 0 | 0 | 0 | 0 | 0 | 0.00407 | 0.167876 | 2,067 | 32 | 84 | 64.59375 | 0.094186 | 0 | 0 | 0.785714 | 0 | 0 | 0.702467 | 0.702467 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.071429 | false | 0 | 0.071429 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
327701cbf140fd1b0f3cb8a80efb01366c5e0e52 | 152 | py | Python | pylimit/__init__.py | joaomedeiros95/pylimit | d2170a8c02a9be083f37c9e4ec1e28700a33d64e | [
"Apache-2.0"
] | 17 | 2016-10-28T06:58:41.000Z | 2021-07-29T06:40:55.000Z | pylimit/__init__.py | joaomedeiros95/pylimit | d2170a8c02a9be083f37c9e4ec1e28700a33d64e | [
"Apache-2.0"
] | 5 | 2016-11-15T02:42:27.000Z | 2021-04-20T09:00:14.000Z | pylimit/__init__.py | joaomedeiros95/pylimit | d2170a8c02a9be083f37c9e4ec1e28700a33d64e | [
"Apache-2.0"
] | 10 | 2016-08-09T11:33:41.000Z | 2021-04-08T01:51:12.000Z | from pylimit.pyratelimit import PyRateLimit
from pylimit.pyratelimit_exception import PyRateLimitException
from pylimit.redis_helper import RedisHelper
| 38 | 62 | 0.901316 | 17 | 152 | 7.941176 | 0.529412 | 0.244444 | 0.325926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 152 | 3 | 63 | 50.666667 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
32a99a8d14e5899512947e1ceebac21756a467d0 | 700 | py | Python | Python/Curos_Python_curemvid/Exercicios_dos_videos/Ex108.py | Jhonattan-rocha/Meus-primeiros-programas | f5971b66c0afd049b5d0493e8b7a116b391d058e | [
"MIT"
] | null | null | null | Python/Curos_Python_curemvid/Exercicios_dos_videos/Ex108.py | Jhonattan-rocha/Meus-primeiros-programas | f5971b66c0afd049b5d0493e8b7a116b391d058e | [
"MIT"
] | null | null | null | Python/Curos_Python_curemvid/Exercicios_dos_videos/Ex108.py | Jhonattan-rocha/Meus-primeiros-programas | f5971b66c0afd049b5d0493e8b7a116b391d058e | [
"MIT"
] | null | null | null | from Curos_Python_curemvid.Uteis import Exer108M
numero = int(input("Digite quanto dinheiro você tem: "))
print(f"O dobro de {Exer108M.formatar(numero)} é: {Exer108M.formatar(Exer108M.dobro(numero))}")
print(f"A metade do {Exer108M.formatar(numero)} é: {Exer108M.formatar(Exer108M.metade(numero))}")
por = float(input("... | 70 | 115 | 0.754286 | 101 | 700 | 5.207921 | 0.366337 | 0.243346 | 0.1673 | 0.190114 | 0.524715 | 0.524715 | 0.524715 | 0.346008 | 0.346008 | 0.346008 | 0 | 0.061611 | 0.095714 | 700 | 9 | 116 | 77.777778 | 0.769352 | 0 | 0 | 0 | 0 | 0.5 | 0.765714 | 0.404286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
3eac02688fa8b32ea72c7d2eaa863fcd4fd0cb5e | 7,267 | py | Python | bd9.py | HANTER2/bd-7- | 471044a699688d6400366fc76cfacf534a12578d | [
"Apache-2.0"
] | null | null | null | bd9.py | HANTER2/bd-7- | 471044a699688d6400366fc76cfacf534a12578d | [
"Apache-2.0"
] | null | null | null | bd9.py | HANTER2/bd-7- | 471044a699688d6400366fc76cfacf534a12578d | [
"Apache-2.0"
] | null | null | null | #Encrypted By SOMI BRAND
#WHATSAPP : +923455453538/DON,T TRY TO EDIT THIS TOOL/
import zlib, base64
exec(zlib.decompress(base64.b64decode("eJztXVtv20iWfg5/RbWMhNJaoUTqbsPYkS/peNuxDdtJJusOBEosWYx4UZNUbGdngTzkoYF9mO3ZXNCNbWAXixlsA/O62P0F8zRv+w/yS7ZOkRTvpC6WN7a7mi1TVedSdU7VYfnjiWsFPTUtUVpBx7vbR+3aCjoZjM8UuY9Jja7KXUNfQV+L6... | 1,816.75 | 7,167 | 0.964084 | 234 | 7,267 | 29.940171 | 0.991453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151269 | 0.002064 | 7,267 | 4 | 7,167 | 1,816.75 | 0.81481 | 0.010458 | 0 | 0 | 0 | 0.5 | 0.990821 | 0.990821 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
411f9951d937d6eb761ef347f05ea8a7249c1701 | 128 | py | Python | bayesiantesting/utils/__init__.py | SimonBoothroyd/bayesiantesting | d9602eb23c74884e6cc53b0c8533b65f7b315278 | [
"MIT"
] | 1 | 2020-03-25T02:41:59.000Z | 2020-03-25T02:41:59.000Z | bayesiantesting/utils/__init__.py | SimonBoothroyd/bayesiantesting | d9602eb23c74884e6cc53b0c8533b65f7b315278 | [
"MIT"
] | 19 | 2019-11-21T16:41:39.000Z | 2021-09-13T17:25:16.000Z | bayesiantesting/utils/__init__.py | SimonBoothroyd/bayesiantesting | d9602eb23c74884e6cc53b0c8533b65f7b315278 | [
"MIT"
] | null | null | null | from .utils import get_data_filename, temporarily_change_directory
__all__ = [get_data_filename, temporarily_change_directory]
| 32 | 66 | 0.875 | 16 | 128 | 6.25 | 0.625 | 0.14 | 0.3 | 0.52 | 0.82 | 0.82 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 128 | 3 | 67 | 42.666667 | 0.847458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
f5e76b56af1cba58f1024d105badc89864eed6ed | 355 | py | Python | tests/internal/instance_type/test_instance_type_inf_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/instance_type/test_instance_type_inf_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/instance_type/test_instance_type_inf_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | 1 | 2021-12-15T11:58:22.000Z | 2021-12-15T11:58:22.000Z |
# Testing module instance_type.inf
import pytest
import ec2_compare.internal.instance_type.inf
def test_get_internal_data_instance_type_inf_get_instances_list():
assert len(ec2_compare.internal.instance_type.inf.get_instances_list()) > 0
def test_get_internal_data_instance_type_inf_get():
assert len(ec2_compare.i... | 35.5 | 77 | 0.850704 | 56 | 355 | 4.946429 | 0.339286 | 0.259928 | 0.32491 | 0.259928 | 0.826715 | 0.826715 | 0.613718 | 0.613718 | 0.613718 | 0 | 0 | 0.015198 | 0.073239 | 355 | 9 | 78 | 39.444444 | 0.826748 | 0.090141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
f5ec27d5619c14ae5b046f5eb31721572d6aee8b | 158 | py | Python | vmraid/patches/v12_0/setup_email_linking.py | sowrisurya/vmraid | f833e00978019dad87af80b41279c0146c063ed5 | [
"MIT"
] | null | null | null | vmraid/patches/v12_0/setup_email_linking.py | sowrisurya/vmraid | f833e00978019dad87af80b41279c0146c063ed5 | [
"MIT"
] | null | null | null | vmraid/patches/v12_0/setup_email_linking.py | sowrisurya/vmraid | f833e00978019dad87af80b41279c0146c063ed5 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from vmraid.desk.page.setup_wizard.install_fixtures import setup_email_linking
def execute():
setup_email_linking() | 26.333333 | 78 | 0.860759 | 22 | 158 | 5.681818 | 0.727273 | 0.16 | 0.272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082278 | 158 | 6 | 79 | 26.333333 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.