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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
281dd2488855855f18f583d8872b22c66e8c5df6 | 47 | py | Python | scripts/portal/evanlivingRoom.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | 2 | 2020-08-25T06:55:19.000Z | 2021-03-15T14:37:34.000Z | scripts/portal/evanlivingRoom.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | null | null | null | scripts/portal/evanlivingRoom.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | 3 | 2020-08-25T06:55:25.000Z | 2020-12-01T13:07:43.000Z | # 100020200
sm.warp(100030102, 0)
sm.dispose()
| 11.75 | 21 | 0.723404 | 7 | 47 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.452381 | 0.106383 | 47 | 3 | 22 | 15.666667 | 0.357143 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
2821967a6d144384460096763a102fc35820edbb | 30 | py | Python | pip_test.py | TTRSQ/pip-test | acc81731555f4a3566a76f670fe95d0384ec4ab7 | [
"MIT"
] | null | null | null | pip_test.py | TTRSQ/pip-test | acc81731555f4a3566a76f670fe95d0384ec4ab7 | [
"MIT"
] | null | null | null | pip_test.py | TTRSQ/pip-test | acc81731555f4a3566a76f670fe95d0384ec4ab7 | [
"MIT"
] | null | null | null | def hello():
print("hoge") | 15 | 17 | 0.566667 | 4 | 30 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 30 | 2 | 17 | 15 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
282357ccd2329432da9b008c821be5842d975594 | 46 | py | Python | nitorch/tools/misc/pool/__init__.py | liamchalcroft/nitorch | 0de179aff97244a82213c528f0d6393725c868c9 | [
"MIT"
] | 46 | 2020-07-31T10:14:05.000Z | 2022-03-24T12:51:46.000Z | nitorch/tools/misc/pool/__init__.py | liamchalcroft/nitorch | 0de179aff97244a82213c528f0d6393725c868c9 | [
"MIT"
] | 36 | 2020-10-06T19:01:38.000Z | 2022-02-03T18:07:35.000Z | nitorch/tools/misc/pool/__init__.py | liamchalcroft/nitorch | 0de179aff97244a82213c528f0d6393725c868c9 | [
"MIT"
] | 6 | 2021-01-05T14:59:05.000Z | 2021-11-18T18:26:45.000Z | from .main import pool
from . import cli as _
| 15.333333 | 22 | 0.73913 | 8 | 46 | 4.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 2 | 23 | 23 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
28286981c4187b8e63fa0d94779b0d828e5a6b1a | 264 | py | Python | python/eskapade/visualization/links/__init__.py | mbaak/Eskapade | 00c8f6ca52eb5b738b4268257e277dab71b804cb | [
"Apache-2.0"
] | 16 | 2016-10-10T08:39:30.000Z | 2020-12-22T01:00:56.000Z | python/eskapade/visualization/links/__init__.py | mbaak/Eskapade | 00c8f6ca52eb5b738b4268257e277dab71b804cb | [
"Apache-2.0"
] | null | null | null | python/eskapade/visualization/links/__init__.py | mbaak/Eskapade | 00c8f6ca52eb5b738b4268257e277dab71b804cb | [
"Apache-2.0"
] | 6 | 2017-06-14T12:01:41.000Z | 2018-04-03T17:01:04.000Z | from eskapade.visualization.links.correlation_summary import CorrelationSummary
from eskapade.visualization.links.df_boxplot import DfBoxplot
from eskapade.visualization.links.df_summary import DfSummary
__all__ = ['CorrelationSummary', 'DfBoxplot', 'DfSummary']
| 44 | 79 | 0.856061 | 28 | 264 | 7.821429 | 0.464286 | 0.164384 | 0.342466 | 0.410959 | 0.292237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 264 | 5 | 80 | 52.8 | 0.890244 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
283aea2b0b2cb5a285f5cd09b61b44abf0918bc9 | 943 | py | Python | lms_app/migrations/0008_auto_20210420_1150.py | neethu-niya/sbr | cdae2000e718ccc6fca948d241f29acb2d2b388d | [
"MIT"
] | null | null | null | lms_app/migrations/0008_auto_20210420_1150.py | neethu-niya/sbr | cdae2000e718ccc6fca948d241f29acb2d2b388d | [
"MIT"
] | null | null | null | lms_app/migrations/0008_auto_20210420_1150.py | neethu-niya/sbr | cdae2000e718ccc6fca948d241f29acb2d2b388d | [
"MIT"
] | null | null | null | # Generated by Django 3.0 on 2021-04-20 11:50
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('lms_app', '0007_auto_20210415_0853'),
]
operations = [
migrations.AddField(
model_name='student',
name='password',
... | 27.735294 | 74 | 0.572641 | 97 | 943 | 5.443299 | 0.42268 | 0.136364 | 0.174242 | 0.204545 | 0.719697 | 0.719697 | 0.642045 | 0.642045 | 0.642045 | 0.642045 | 0 | 0.064319 | 0.307529 | 943 | 33 | 75 | 28.575758 | 0.744257 | 0.045599 | 0 | 0.740741 | 1 | 0 | 0.100223 | 0.025612 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.074074 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
956ea5affd82293fb11b319b3a468099439d157c | 210 | py | Python | __init__.py | jonpalmisc/hextools | 7b3fe740187c990ecae96f599d844861eaaa7239 | [
"MIT"
] | 3 | 2021-06-21T15:44:38.000Z | 2021-12-11T13:54:24.000Z | __init__.py | jonpalmisc/hextools | 7b3fe740187c990ecae96f599d844861eaaa7239 | [
"MIT"
] | 5 | 2021-06-20T22:29:45.000Z | 2021-06-20T23:36:38.000Z | __init__.py | jonpalmisc/hextools | 7b3fe740187c990ecae96f599d844861eaaa7239 | [
"MIT"
] | null | null | null | from binaryninja import core_ui_enabled
from .widget import HexToolsSidebarWidgetType
if core_ui_enabled():
from binaryninjaui import Sidebar
Sidebar.addSidebarWidgetType(HexToolsSidebarWidgetType())
| 26.25 | 61 | 0.838095 | 21 | 210 | 8.190476 | 0.571429 | 0.069767 | 0.151163 | 0.197674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 210 | 7 | 62 | 30 | 0.92973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
95700129609ec80fa6ec652b0c6ea06725f5da21 | 2,603 | py | Python | mesh/create_dg_nodes.py | saustinp/3D-CG | 8d3e161674273649af1f23b2a0e1d5100971477a | [
"MIT"
] | null | null | null | mesh/create_dg_nodes.py | saustinp/3D-CG | 8d3e161674273649af1f23b2a0e1d5100971477a | [
"MIT"
] | null | null | null | mesh/create_dg_nodes.py | saustinp/3D-CG | 8d3e161674273649af1f23b2a0e1d5100971477a | [
"MIT"
] | null | null | null | import numpy as np
def create_dg_nodes(mesh, ndim):
"""
Note: can't do curved elements
"""
if ndim == 2:
plocal = mesh['plocal']
nplocal = plocal.shape[0]
numel = mesh['t'].shape[0]
# Allocate memory for the dgnodes - remember the difference between matlab and pyth... | 46.482143 | 300 | 0.588936 | 386 | 2,603 | 3.945596 | 0.292746 | 0.039396 | 0.070913 | 0.045962 | 0.819435 | 0.819435 | 0.819435 | 0.819435 | 0.819435 | 0.819435 | 0 | 0.028739 | 0.278141 | 2,603 | 55 | 301 | 47.327273 | 0.781799 | 0.492893 | 0 | 0.692308 | 0 | 0 | 0.021824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.038462 | 0 | 0.115385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
957064878520bf7ce6458e7257d8ee44ad763173 | 171 | py | Python | pydicom_seg/__init__.py | jmgo/pydicom-seg | 7dddb4921ca2263f5d934290cf0908b02f230464 | [
"MIT"
] | 1 | 2020-09-11T21:43:54.000Z | 2020-09-11T21:43:54.000Z | pydicom_seg/__init__.py | jmgo/pydicom-seg | 7dddb4921ca2263f5d934290cf0908b02f230464 | [
"MIT"
] | null | null | null | pydicom_seg/__init__.py | jmgo/pydicom-seg | 7dddb4921ca2263f5d934290cf0908b02f230464 | [
"MIT"
] | null | null | null | __version__ = '0.2.0-dev'
from pydicom_seg import template
from pydicom_seg.reader import MultiClassReader, SegmentReader
from pydicom_seg.writer import MultiClassWriter
| 28.5 | 62 | 0.847953 | 23 | 171 | 6 | 0.608696 | 0.23913 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019481 | 0.099415 | 171 | 5 | 63 | 34.2 | 0.876623 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
95a2ea5e2ea4296a2c8329e1c093db944a22f8b3 | 259,459 | py | Python | legate/numpy/deferred.py | manopapad/legate.numpy | 896f4fd9b32db445da6cdabf7b78d523fca96936 | [
"Apache-2.0"
] | null | null | null | legate/numpy/deferred.py | manopapad/legate.numpy | 896f4fd9b32db445da6cdabf7b78d523fca96936 | [
"Apache-2.0"
] | null | null | null | legate/numpy/deferred.py | manopapad/legate.numpy | 896f4fd9b32db445da6cdabf7b78d523fca96936 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 NVIDIA Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wr... | 44.215917 | 111 | 0.471793 | 24,260 | 259,459 | 4.802721 | 0.033842 | 0.046355 | 0.028426 | 0.015818 | 0.809834 | 0.772903 | 0.741181 | 0.710095 | 0.685317 | 0.653655 | 0 | 0.012079 | 0.468109 | 259,459 | 5,867 | 112 | 44.223453 | 0.832201 | 0.078594 | 0 | 0.706575 | 0 | 0 | 0.00603 | 0 | 0 | 0 | 0 | 0.00017 | 0.023721 | 1 | 0.007845 | false | 0.000187 | 0.001307 | 0.000187 | 0.014569 | 0.000187 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2521e8f5b7c0be7d85dd0a9b727342c31016770a | 309 | py | Python | hackday/voting/admin.py | mpirnat/hackday | 82a13665e2d93c80d6dfb1a1d5602495d01a243e | [
"MIT"
] | 4 | 2015-05-21T19:44:09.000Z | 2019-12-03T11:07:03.000Z | hackday/voting/admin.py | mpirnat/hackday | 82a13665e2d93c80d6dfb1a1d5602495d01a243e | [
"MIT"
] | 3 | 2020-02-11T21:47:49.000Z | 2021-06-10T17:28:44.000Z | hackday/voting/admin.py | mpirnat/hackday | 82a13665e2d93c80d6dfb1a1d5602495d01a243e | [
"MIT"
] | 2 | 2016-01-05T13:39:09.000Z | 2017-02-19T09:31:58.000Z | from django.contrib import admin
from hackday.voting.models import VoteCart, Vote, VoteStatus, VoteMessage
from hackday.voting.moremodels import Category
admin.site.register(Category)
#admin.site.register(VoteCart)
#admin.site.register(Vote)
admin.site.register(VoteStatus)
#admin.site.register(VoteMessage)
| 30.9 | 73 | 0.831715 | 40 | 309 | 6.425 | 0.4 | 0.175097 | 0.330739 | 0.194553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067961 | 309 | 9 | 74 | 34.333333 | 0.892361 | 0.278317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
254638b0db65caf8fdc2dc49d63a1bd9cff0dded | 10,600 | py | Python | test/test_vuelos_entrantes_amadeus_controller.py | SergioCMDev/Busines-Inteligence-applied-to-tourism | 61834a46fce22453e94b7bbdf8d4ecdcf128285a | [
"Apache-2.0"
] | null | null | null | test/test_vuelos_entrantes_amadeus_controller.py | SergioCMDev/Busines-Inteligence-applied-to-tourism | 61834a46fce22453e94b7bbdf8d4ecdcf128285a | [
"Apache-2.0"
] | null | null | null | test/test_vuelos_entrantes_amadeus_controller.py | SergioCMDev/Busines-Inteligence-applied-to-tourism | 61834a46fce22453e94b7bbdf8d4ecdcf128285a | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
from __future__ import absolute_import
from . import BaseTestCase
from six import BytesIO
from flask import json
class TestVuelosEntrantesAmadeusController(BaseTestCase):
""" VuelosEntrantesAmadeusController integration test stubs """
def test_obtener_cantidad_total_vuelos_pais_en_ciudad_en... | 55.208333 | 179 | 0.63566 | 1,149 | 10,600 | 5.613577 | 0.087032 | 0.066512 | 0.058605 | 0.044341 | 0.860465 | 0.857054 | 0.848062 | 0.837209 | 0.828837 | 0.810078 | 0 | 0.01683 | 0.276887 | 10,600 | 191 | 180 | 55.497382 | 0.824658 | 0.241038 | 0 | 0.666667 | 0 | 0 | 0.274656 | 0.15442 | 0 | 0 | 0 | 0 | 0.12381 | 1 | 0.12381 | false | 0 | 0.047619 | 0 | 0.180952 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c2522e1ae92f94e1c17d590873bbd2bbaace56a8 | 49 | py | Python | docker/src/clawpack-5.3.1/visclaw/src/python/visclaw/__init__.py | ian-r-rose/visualization | ed6d9fab95eb125e7340ab3fad3ed114ed3214af | [
"CC-BY-4.0"
] | 11 | 2017-01-04T18:19:48.000Z | 2021-02-21T01:46:33.000Z | docker/src/clawpack-5.3.1/visclaw/src/python/visclaw/__init__.py | ian-r-rose/visualization | ed6d9fab95eb125e7340ab3fad3ed114ed3214af | [
"CC-BY-4.0"
] | 8 | 2016-09-22T20:49:51.000Z | 2019-09-06T23:28:13.000Z | docker/src/clawpack-5.3.1/visclaw/src/python/visclaw/__init__.py | ian-r-rose/visualization | ed6d9fab95eb125e7340ab3fad3ed114ed3214af | [
"CC-BY-4.0"
] | 13 | 2016-09-22T20:20:06.000Z | 2020-07-13T14:48:32.000Z | """Output package for Pyclaw"""
import logging
| 9.8 | 31 | 0.714286 | 6 | 49 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 4 | 32 | 12.25 | 0.853659 | 0.510204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6c077b921467bedae8d488565619bfe418f596d8 | 28,407 | py | Python | tests/test_ptz.py | drewclauson/axis | be4be74a0242e499cd10a8a9b96c9ec76fa04f88 | [
"MIT"
] | 16 | 2018-05-29T20:07:04.000Z | 2022-01-27T14:15:16.000Z | tests/test_ptz.py | Kane610/axis | 240c42f7cbad2358f0463d5234a82678532f9549 | [
"MIT"
] | 27 | 2017-11-05T12:14:17.000Z | 2022-02-07T08:07:48.000Z | tests/test_ptz.py | drewclauson/axis | be4be74a0242e499cd10a8a9b96c9ec76fa04f88 | [
"MIT"
] | 6 | 2019-10-03T07:59:49.000Z | 2021-07-18T16:57:28.000Z | """Test Axis PTZ control API.
pytest --cov-report term-missing --cov=axis.ptz tests/test_ptz.py
"""
import pytest
from urllib.parse import urlencode
import respx
from axis.ptz import (
AUTO,
MOVE_HOME,
OFF,
ON,
PtzControl,
QUERY_LIMITS,
QUERY_MODE,
QUERY_POSITION,
QUERY_PRESETPOS... | 30.877174 | 93 | 0.698173 | 3,734 | 28,407 | 5.224692 | 0.057579 | 0.110718 | 0.080373 | 0.100466 | 0.89287 | 0.874109 | 0.837255 | 0.827157 | 0.738326 | 0.666154 | 0 | 0.026933 | 0.154328 | 28,407 | 919 | 94 | 30.910773 | 0.785164 | 0.00602 | 0 | 0.55 | 0 | 0.002941 | 0.221011 | 0.032697 | 0 | 0 | 0 | 0 | 0.192647 | 1 | 0.002941 | false | 0 | 0.007353 | 0 | 0.011765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6c4a2da945f8f3fb93d68498f04148a715c53a07 | 105 | py | Python | github/exceptions.py | nicchub/PythonGithub | 3af974c552f6b0e8a782a1499aba2a16d997b5d1 | [
"MIT"
] | null | null | null | github/exceptions.py | nicchub/PythonGithub | 3af974c552f6b0e8a782a1499aba2a16d997b5d1 | [
"MIT"
] | 2 | 2015-02-06T02:48:24.000Z | 2015-02-11T02:40:29.000Z | github/exceptions.py | nicchub/PythonGithub | 3af974c552f6b0e8a782a1499aba2a16d997b5d1 | [
"MIT"
] | null | null | null |
class GitHubRequestException(BaseException):
pass
class GithubDecodeError(BaseException):
pass | 15 | 44 | 0.790476 | 8 | 105 | 10.375 | 0.625 | 0.409639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152381 | 105 | 7 | 45 | 15 | 0.932584 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
6c7499d0a74a9e7651b0c69e09250a7729dc032b | 79 | py | Python | backend/src/pox/ext/gini/core/forwarding_hub.py | anrl/gini4 | d26649c8c02a1737159e48732cf1ee15ba2a604d | [
"MIT"
] | 11 | 2019-03-02T20:39:34.000Z | 2021-09-02T19:47:38.000Z | backend/src/pox/ext/gini/core/forwarding_hub.py | anrl/gini4 | d26649c8c02a1737159e48732cf1ee15ba2a604d | [
"MIT"
] | 29 | 2019-01-17T15:44:48.000Z | 2021-06-02T00:19:40.000Z | backend/src/pox/ext/gini/core/forwarding_hub.py | anrl/gini4 | d26649c8c02a1737159e48732cf1ee15ba2a604d | [
"MIT"
] | 11 | 2019-01-28T05:00:55.000Z | 2021-11-12T03:08:32.000Z | #!/usr/bin/python2
from forwarding import hub
def launch():
hub.launch()
| 11.285714 | 26 | 0.683544 | 11 | 79 | 4.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.177215 | 79 | 6 | 27 | 13.166667 | 0.815385 | 0.21519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6693a02c82dcb7a1c62ba42a0b880036cd02ff56 | 4,902 | py | Python | aries_cloudagent/core/in_memory/didcomm/tests/test_ecdh.py | odunayo12/smart-id | 705cf714d959a8fcd91574e07e81c5eda4ad28b9 | [
"Apache-2.0"
] | null | null | null | aries_cloudagent/core/in_memory/didcomm/tests/test_ecdh.py | odunayo12/smart-id | 705cf714d959a8fcd91574e07e81c5eda4ad28b9 | [
"Apache-2.0"
] | null | null | null | aries_cloudagent/core/in_memory/didcomm/tests/test_ecdh.py | odunayo12/smart-id | 705cf714d959a8fcd91574e07e81c5eda4ad28b9 | [
"Apache-2.0"
] | null | null | null | from ecdsa import ECDH, NIST256p, SigningKey
from ..derive_ecdh import *
# Generate the same shared secret from imported generated keys
def test_ecdh_derive_shared_secret():
# Import keys for two participating users
adeSecretKey = "23832cbef38641b8754a35f1f79bbcbc248e09ac93b01c2eaf12474f2ac406b6"
adePubl... | 38.904762 | 151 | 0.761934 | 514 | 4,902 | 7.095331 | 0.184825 | 0.062517 | 0.064162 | 0.020839 | 0.923773 | 0.896079 | 0.868659 | 0.850562 | 0.611461 | 0.59501 | 0 | 0.128349 | 0.162383 | 4,902 | 125 | 152 | 39.216 | 0.759864 | 0.187475 | 0 | 0.820513 | 1 | 0 | 0.294859 | 0.195565 | 0 | 0 | 0 | 0 | 0.051282 | 1 | 0.064103 | false | 0.012821 | 0.025641 | 0 | 0.089744 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 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 | 6 |
dd190d891b5bc312d8a6a3a46e3eb782a653da28 | 75 | py | Python | rengu/map/pass.py | prajna-io/rengu-core | f683e865359b3c06c9562374319b49fb5e5df851 | [
"MIT"
] | 1 | 2019-08-07T05:29:09.000Z | 2019-08-07T05:29:09.000Z | rengu/map/pass.py | prajna-io/rengu-core | f683e865359b3c06c9562374319b49fb5e5df851 | [
"MIT"
] | 1 | 2022-01-23T02:12:58.000Z | 2022-01-23T02:12:58.000Z | rengu/map/pass.py | prajna-io/rengu-core | f683e865359b3c06c9562374319b49fb5e5df851 | [
"MIT"
] | null | null | null | class RenguMapPass:
def __call__(self, obj: dict):
return obj
| 15 | 34 | 0.64 | 9 | 75 | 4.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28 | 75 | 4 | 35 | 18.75 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
dd382b672735dc1ff27fc3631a04a6e15710eb1c | 103 | py | Python | mainEmberrite/npcs/__init__.py | evvanErb/Emberrite | 1e65ef69188619684e093f01febc6f92f8b02716 | [
"Apache-2.0"
] | null | null | null | mainEmberrite/npcs/__init__.py | evvanErb/Emberrite | 1e65ef69188619684e093f01febc6f92f8b02716 | [
"Apache-2.0"
] | null | null | null | mainEmberrite/npcs/__init__.py | evvanErb/Emberrite | 1e65ef69188619684e093f01febc6f92f8b02716 | [
"Apache-2.0"
] | null | null | null | #__init__ file for classes
from npcClass import *
from vendorClass import *
from barmaidClass import * | 20.6 | 26 | 0.805825 | 13 | 103 | 6.076923 | 0.692308 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 103 | 5 | 27 | 20.6 | 0.908046 | 0.242718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dd43dcbef52c877fb838d25a7dc58c8e650984bb | 50 | py | Python | exercises/protein-translation/protein_translation.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 1 | 2021-05-15T19:59:04.000Z | 2021-05-15T19:59:04.000Z | exercises/protein-translation/protein_translation.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | null | null | null | exercises/protein-translation/protein_translation.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 2 | 2018-03-03T08:32:12.000Z | 2019-08-22T11:55:53.000Z | def of_codon():
pass
def of_rna():
pass
| 7.142857 | 15 | 0.56 | 8 | 50 | 3.25 | 0.625 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32 | 50 | 6 | 16 | 8.333333 | 0.764706 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
dd4619efd962024697fd0f11064c321669c21db9 | 50 | py | Python | tests/main_sync.py | botsman/haxe_async | 937a64c2dd6a673dbaa3314ac059692f3377cebc | [
"MIT"
] | 20 | 2021-01-21T11:20:52.000Z | 2022-02-02T08:15:28.000Z | tests/main_sync.py | botsman/haxe_async | 937a64c2dd6a673dbaa3314ac059692f3377cebc | [
"MIT"
] | 19 | 2021-01-03T18:58:40.000Z | 2022-02-02T11:39:01.000Z | tests/main_sync.py | botsman/hxasync | daad977fc3c7f31ce66cb7b3dbeb396a4372533f | [
"MIT"
] | null | null | null | from tests import tests_Tests
tests_Tests.main()
| 12.5 | 29 | 0.82 | 8 | 50 | 4.875 | 0.5 | 0.769231 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 50 | 3 | 30 | 16.666667 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dd478480a3bff756f05e45acab73248b71b35eda | 102 | py | Python | terrascript/datadog/d.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/datadog/d.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/datadog/d.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | # terrascript/datadog/d.py
import terrascript
class datadog_ip_ranges(terrascript.Data):
pass
| 12.75 | 42 | 0.77451 | 13 | 102 | 5.923077 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 7 | 43 | 14.571429 | 0.885057 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
dd56a1f60a1fcc459e6e69c1b8f1864b6a499a56 | 34 | py | Python | Grid/__init__.py | MariusWiggert/optimized_dp | 899f6e44d9b8c40cc2818c0fb61aceef99a43dd3 | [
"MIT"
] | null | null | null | Grid/__init__.py | MariusWiggert/optimized_dp | 899f6e44d9b8c40cc2818c0fb61aceef99a43dd3 | [
"MIT"
] | null | null | null | Grid/__init__.py | MariusWiggert/optimized_dp | 899f6e44d9b8c40cc2818c0fb61aceef99a43dd3 | [
"MIT"
] | null | null | null | from Grid.GridProcessing import *
| 17 | 33 | 0.823529 | 4 | 34 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dd7d0e8ed778b2d2a04f6ab2a8aab520606c475a | 113 | py | Python | timetable_logic/__init__.py | timrichardson/asyncio_bus_timetable | b6f9439190ddfe17662a2c5d53e8e2e7461fb16e | [
"MIT"
] | null | null | null | timetable_logic/__init__.py | timrichardson/asyncio_bus_timetable | b6f9439190ddfe17662a2c5d53e8e2e7461fb16e | [
"MIT"
] | null | null | null | timetable_logic/__init__.py | timrichardson/asyncio_bus_timetable | b6f9439190ddfe17662a2c5d53e8e2e7461fb16e | [
"MIT"
] | null | null | null | from timetable_logic.next_bus import next_buses,create_ptv_api
from timetable_logic.ptv_api_settings import stops | 56.5 | 62 | 0.911504 | 19 | 113 | 5 | 0.631579 | 0.273684 | 0.378947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061947 | 113 | 2 | 63 | 56.5 | 0.896226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dd8027af7f9d87db86d155a4c88cee31ea5fb902 | 45 | py | Python | homeworks/alexander_sidorov/lesson17/level05.py | tgrx/Z22 | b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff | [
"Apache-2.0"
] | null | null | null | homeworks/alexander_sidorov/lesson17/level05.py | tgrx/Z22 | b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff | [
"Apache-2.0"
] | 8 | 2019-11-15T18:15:56.000Z | 2020-02-03T18:05:05.000Z | homeworks/alexander_sidorov/lesson17/level05.py | tgrx/Z22 | b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff | [
"Apache-2.0"
] | null | null | null | def trivial_decorator(func):
return func
| 15 | 28 | 0.755556 | 6 | 45 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 29 | 22.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
662f944bef6df2fb87b4f11293369cb60da1cb4a | 9,836 | py | Python | vsm/viewer/tfidfviewer.py | inpho/vsm | d5fc930ccc95f275e10e151c8f05db2c05aba01f | [
"MIT"
] | 31 | 2015-01-30T20:09:48.000Z | 2021-08-13T12:57:49.000Z | vsm/viewer/tfidfviewer.py | inpho/vsm | d5fc930ccc95f275e10e151c8f05db2c05aba01f | [
"MIT"
] | 80 | 2015-01-30T19:08:40.000Z | 2019-11-02T20:15:56.000Z | vsm/viewer/tfidfviewer.py | inpho/vsm | d5fc930ccc95f275e10e151c8f05db2c05aba01f | [
"MIT"
] | 10 | 2015-09-18T01:52:23.000Z | 2019-07-14T08:22:06.000Z | from __future__ import absolute_import
from builtins import object
from vsm.spatial import angle
from vsm.exceptions import *
from .wrappers import *
__all__ = ['TfIdfViewer']
class TfIdfViewer(object):
"""
A class for viewing Term frequency-Inverse document Frequency model.
"""
def __init__(se... | 39.502008 | 80 | 0.599736 | 1,237 | 9,836 | 4.590137 | 0.120453 | 0.031701 | 0.027122 | 0.023952 | 0.818598 | 0.796231 | 0.766291 | 0.718035 | 0.698662 | 0.687038 | 0 | 0.00316 | 0.324319 | 9,836 | 248 | 81 | 39.66129 | 0.851189 | 0.539854 | 0 | 0.380952 | 0 | 0 | 0.022687 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.174603 | false | 0.079365 | 0.079365 | 0 | 0.349206 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
663e7e3fcd693ddf7d31d7afc54c3b44eb4a7a8c | 19 | py | Python | abacus_tpot/outcomes/__init__.py | workforce-data-initiative/tpot-abacus | a5abf4af544693e0c58f7891785718e7bc606ed6 | [
"Apache-2.0"
] | 1 | 2019-09-09T20:52:49.000Z | 2019-09-09T20:52:49.000Z | abacus_tpot/outcomes/__init__.py | workforce-data-initiative/tpot-abacus | a5abf4af544693e0c58f7891785718e7bc606ed6 | [
"Apache-2.0"
] | 43 | 2018-02-11T11:24:18.000Z | 2022-02-22T05:32:16.000Z | abacus_tpot/outcomes/__init__.py | workforce-data-initiative/tpot-abacus | a5abf4af544693e0c58f7891785718e7bc606ed6 | [
"Apache-2.0"
] | null | null | null | from . import wioa
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
664e07ef80319be7924d8ff15dbd0cfa6579ce25 | 297 | py | Python | tinyunit/client.py | drb27/tinyunit | f63b6a0299644fb960e4821cc10f406b180dd201 | [
"Unlicense",
"MIT"
] | null | null | null | tinyunit/client.py | drb27/tinyunit | f63b6a0299644fb960e4821cc10f406b180dd201 | [
"Unlicense",
"MIT"
] | null | null | null | tinyunit/client.py | drb27/tinyunit | f63b6a0299644fb960e4821cc10f406b180dd201 | [
"Unlicense",
"MIT"
] | null | null | null | from tinyunit.engine.inspector import Inspector
from tinyunit.core.testcase import TestCase
from tinyunit.core.decorators import testmethod
from tinyunit.engine.testrunner import runset
from tinyunit.core.mock import Mock
from tinyunit.core.patch import patch
from tinyunit.core.script import run
| 37.125 | 47 | 0.858586 | 42 | 297 | 6.071429 | 0.357143 | 0.329412 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094276 | 297 | 7 | 48 | 42.428571 | 0.947955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b095665a9105d6a05d3ba87d52a3dce10999cea2 | 100 | py | Python | app.py | abhikpal/organic-robot-web-app | 8dce2fbb92a26873e76801607f998a577b398764 | [
"MIT"
] | null | null | null | app.py | abhikpal/organic-robot-web-app | 8dce2fbb92a26873e76801607f998a577b398764 | [
"MIT"
] | null | null | null | app.py | abhikpal/organic-robot-web-app | 8dce2fbb92a26873e76801607f998a577b398764 | [
"MIT"
] | null | null | null | from orgrobo import app
from orgrobo import socketio
socketio.run(app, host='0.0.0.0', debug=True)
| 20 | 45 | 0.76 | 18 | 100 | 4.222222 | 0.555556 | 0.078947 | 0.447368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.12 | 100 | 4 | 46 | 25 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.07 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b0ae291d03add36fe734f67410552950c54a5104 | 338 | py | Python | origin-bridge/views/web_views.py | rgm93/CleanersDApp | 6af29884110023b29056e1c4126cc021ed5947cc | [
"MIT"
] | 10 | 2018-03-22T22:13:26.000Z | 2018-05-29T06:29:17.000Z | origin-bridge/views/web_views.py | rgm93/CleanersDApp | 6af29884110023b29056e1c4126cc021ed5947cc | [
"MIT"
] | 64 | 2018-03-30T02:20:11.000Z | 2018-06-22T01:21:41.000Z | origin-bridge/views/web_views.py | rgm93/CleanersDApp | 6af29884110023b29056e1c4126cc021ed5947cc | [
"MIT"
] | 5 | 2018-07-08T01:56:41.000Z | 2018-09-29T15:01:29.000Z | from flask import render_template
from app import app
@app.route('/')
def index():
return render_template('index.html')
@app.route('/redirects/facebook/')
def facebook():
return render_template('redirects/facebook.html')
@app.route('/redirects/twitter/')
def twitter():
return render_template('redirec... | 17.789474 | 53 | 0.724852 | 42 | 338 | 5.738095 | 0.333333 | 0.232365 | 0.248963 | 0.174274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12426 | 338 | 18 | 54 | 18.777778 | 0.814189 | 0 | 0 | 0 | 0 | 0 | 0.281065 | 0.133136 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | true | 0 | 0.181818 | 0.272727 | 0.727273 | 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 | 0 | 1 | 0 | 0 | 0 | 6 |
b0b82efcb398cfe6452887501c04b47f24d45a60 | 12,811 | py | Python | lib/RESKESearchDemo/RESKESearchDemoImpl.py | kbaseapps/RESKESearchDemo | 9140c6726e3ae26ae7ba20b3fdcfed96049393d5 | [
"MIT"
] | null | null | null | lib/RESKESearchDemo/RESKESearchDemoImpl.py | kbaseapps/RESKESearchDemo | 9140c6726e3ae26ae7ba20b3fdcfed96049393d5 | [
"MIT"
] | null | null | null | lib/RESKESearchDemo/RESKESearchDemoImpl.py | kbaseapps/RESKESearchDemo | 9140c6726e3ae26ae7ba20b3fdcfed96049393d5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#BEGIN_HEADER
#END_HEADER
class RESKESearchDemo:
'''
Module Name:
RESKESearchDemo
Module Description:
A KBase module: RESKESearchDemo
'''
######## WARNING FOR GEVENT USERS ####### noqa
# Since asynchronous IO can lead to methods - even the same method -
# ... | 52.289796 | 93 | 0.621419 | 1,508 | 12,811 | 5.171751 | 0.155172 | 0.042313 | 0.055776 | 0.043082 | 0.791127 | 0.779074 | 0.760226 | 0.756764 | 0.756764 | 0.734197 | 0 | 0.00792 | 0.28054 | 12,811 | 244 | 94 | 52.504098 | 0.838234 | 0.728593 | 0 | 0.435897 | 0 | 0 | 0.22049 | 0.017817 | 0 | 0 | 0 | 0.004098 | 0 | 1 | 0.179487 | false | 0.051282 | 0 | 0 | 0.410256 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b0ef5c0a2a785eaa343a602173193e6ab46ab8a5 | 40 | py | Python | crystalbase/atom_base/__init__.py | jingshenSN2/CrystalTool | 18f07963ff5f2a54ac2c93e2fa59fada51346232 | [
"MIT"
] | null | null | null | crystalbase/atom_base/__init__.py | jingshenSN2/CrystalTool | 18f07963ff5f2a54ac2c93e2fa59fada51346232 | [
"MIT"
] | null | null | null | crystalbase/atom_base/__init__.py | jingshenSN2/CrystalTool | 18f07963ff5f2a54ac2c93e2fa59fada51346232 | [
"MIT"
] | null | null | null | from .atom_group import Atom, AtomGroup
| 20 | 39 | 0.825 | 6 | 40 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7c08b50e01b9d7e69bedab6c76cc504b5e8437c2 | 29 | py | Python | mantle/util/lfsr/__init__.py | splhack/mantle | 42fe81df22f4556f891f77b9c9acfd7e8bbe648b | [
"MIT"
] | 33 | 2018-06-11T22:58:23.000Z | 2021-11-22T04:16:36.000Z | mantle/util/lfsr/__init__.py | splhack/mantle | 42fe81df22f4556f891f77b9c9acfd7e8bbe648b | [
"MIT"
] | 90 | 2017-08-31T01:12:13.000Z | 2021-09-17T04:07:07.000Z | mantle/util/lfsr/__init__.py | splhack/mantle | 42fe81df22f4556f891f77b9c9acfd7e8bbe648b | [
"MIT"
] | 12 | 2017-09-01T03:25:36.000Z | 2020-10-14T21:43:12.000Z | from .lfsr import DefineLFSR
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ff3d3579a5804168cd25250feac736e8dbba819 | 132 | py | Python | controllers/userController.py | mustafarslan/sampleserver | c03ddb17494925cb975ee79be4d982fbbb65c352 | [
"MIT"
] | null | null | null | controllers/userController.py | mustafarslan/sampleserver | c03ddb17494925cb975ee79be4d982fbbb65c352 | [
"MIT"
] | 2 | 2018-01-13T20:16:39.000Z | 2018-01-13T20:18:10.000Z | controllers/userController.py | mustafarslan/sampleserver | c03ddb17494925cb975ee79be4d982fbbb65c352 | [
"MIT"
] | null | null | null |
class UserController(object):
def getUser(self):
return "GET user"
def postUser(self):
return "POST user" | 16.5 | 29 | 0.613636 | 15 | 132 | 5.4 | 0.733333 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287879 | 132 | 8 | 30 | 16.5 | 0.861702 | 0 | 0 | 0 | 0 | 0 | 0.128788 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9ff870ef074f411e12b155c404e405acf36457f7 | 226 | py | Python | axon/apps/__init__.py | PradeepSingh1988/validation-app-engine | 81ed23939bc72ecbe188e22effed07e23f6e8b28 | [
"BSD-2-Clause"
] | null | null | null | axon/apps/__init__.py | PradeepSingh1988/validation-app-engine | 81ed23939bc72ecbe188e22effed07e23f6e8b28 | [
"BSD-2-Clause"
] | null | null | null | axon/apps/__init__.py | PradeepSingh1988/validation-app-engine | 81ed23939bc72ecbe188e22effed07e23f6e8b28 | [
"BSD-2-Clause"
] | null | null | null | def _register_apps():
from . import console
from . import interface
from . import monitor
from . import namespace
from . import tcpdump
from . import traffic
from . import traffic
_register_apps() | 20.545455 | 27 | 0.681416 | 26 | 226 | 5.769231 | 0.423077 | 0.466667 | 0.226667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265487 | 226 | 11 | 28 | 20.545455 | 0.903614 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 0 | 0.888889 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b0451c70881d946dae40b67e615282f7544cac8a | 21 | py | Python | example_project/some_modules/third_modules/a198.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a198.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a198.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | class A198:
pass
| 7 | 11 | 0.619048 | 3 | 21 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b06bbe716d6ea8977206de3a28b044969654b547 | 161 | py | Python | backend/server_delta/server_delta_app/managers/patrimony/patrimony_manager.py | dalmarcogd/challenge_ms | 761f0a588b4c309cf6e226d306df3609c1179b4c | [
"MIT"
] | null | null | null | backend/server_delta/server_delta_app/managers/patrimony/patrimony_manager.py | dalmarcogd/challenge_ms | 761f0a588b4c309cf6e226d306df3609c1179b4c | [
"MIT"
] | 13 | 2020-06-05T18:26:43.000Z | 2021-06-10T20:36:13.000Z | backend/server_delta/server_delta_app/managers/patrimony/patrimony_manager.py | dalmarcogd/challenge_ms | 761f0a588b4c309cf6e226d306df3609c1179b4c | [
"MIT"
] | null | null | null | from server_delta_app import managers
class PatrimonyManager(managers.BaseManager):
"""
Manager responsible for persist Patrimony
"""
pass
| 17.888889 | 49 | 0.714286 | 16 | 161 | 7.0625 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223602 | 161 | 8 | 50 | 20.125 | 0.904 | 0.254658 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
c6a8fda380aba3f2fd4e7664a986865fa51dd7c1 | 33 | py | Python | src/mosdex/__init__.py | coin-modeling-dev/mosdex-python | 8158e1f2b8aa2dfc1d14430c8cb1e92c45bb40fb | [
"MIT"
] | 1 | 2020-12-11T17:11:10.000Z | 2020-12-11T17:11:10.000Z | src/mosdex/__init__.py | coin-modeling-dev/mosdex-python | 8158e1f2b8aa2dfc1d14430c8cb1e92c45bb40fb | [
"MIT"
] | null | null | null | src/mosdex/__init__.py | coin-modeling-dev/mosdex-python | 8158e1f2b8aa2dfc1d14430c8cb1e92c45bb40fb | [
"MIT"
] | null | null | null | from mosdex.mosdex import Mosdex
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c6c8c6336f98010cec78dd0e4e84b1a4168340a9 | 2,664 | py | Python | jsonsubschema/test/test_string.py | lukeenterprise/json-subschema | f273d62ed1517f5a83a57abf148232ed927a771a | [
"Apache-2.0"
] | 1 | 2019-08-01T15:28:26.000Z | 2019-08-01T15:28:26.000Z | jsonsubschema/test/test_string.py | lukeenterprise/json-subschema | f273d62ed1517f5a83a57abf148232ed927a771a | [
"Apache-2.0"
] | null | null | null | jsonsubschema/test/test_string.py | lukeenterprise/json-subschema | f273d62ed1517f5a83a57abf148232ed927a771a | [
"Apache-2.0"
] | null | null | null | '''
Created on July 11, 2019
@author: Andrew Habib
'''
import unittest
import warnings
from jsonschema.exceptions import SchemaError
from jsonsubschema.checker import isSubschema
class TestStringSubtype(unittest.TestCase):
def test_min_min(self):
s1 = {"$schema": "http://json-schema.org/draft-04/schem... | 33.3 | 66 | 0.558559 | 292 | 2,664 | 4.996575 | 0.181507 | 0.109664 | 0.143934 | 0.182317 | 0.746402 | 0.701851 | 0.701851 | 0.701851 | 0.701851 | 0.647019 | 0 | 0.034324 | 0.267267 | 2,664 | 79 | 67 | 33.721519 | 0.713115 | 0.017267 | 0 | 0.655738 | 0 | 0 | 0.155939 | 0 | 0 | 0 | 0 | 0 | 0.229508 | 1 | 0.114754 | false | 0 | 0.065574 | 0 | 0.213115 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c6cc85cb19108c97a2f67e2daf58647875da2259 | 292 | py | Python | tests/test_consts.py | ehdgua01/blocksync | da0198dde87d284ea3c9472c10f51028e05014a0 | [
"MIT"
] | 5 | 2020-06-03T09:30:15.000Z | 2021-12-14T23:48:47.000Z | tests/test_consts.py | ehdgua01/blocksync | da0198dde87d284ea3c9472c10f51028e05014a0 | [
"MIT"
] | 2 | 2021-03-19T07:37:57.000Z | 2021-06-18T11:54:46.000Z | tests/test_consts.py | ehdgua01/blocksync | da0198dde87d284ea3c9472c10f51028e05014a0 | [
"MIT"
] | null | null | null | from blocksync._consts import ByteSizes
def test_parse_readable_byte_size():
assert ByteSizes.MiB == ByteSizes.parse_readable_byte_size("1_048_576")
assert ByteSizes.MiB == ByteSizes.parse_readable_byte_size("1M")
assert ByteSizes.M == ByteSizes.parse_readable_byte_size("1M")
| 32.444444 | 75 | 0.791096 | 40 | 292 | 5.375 | 0.45 | 0.24186 | 0.316279 | 0.390698 | 0.604651 | 0.604651 | 0.446512 | 0.446512 | 0 | 0 | 0 | 0.034749 | 0.113014 | 292 | 8 | 76 | 36.5 | 0.795367 | 0 | 0 | 0 | 0 | 0 | 0.044521 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c6dd16c0e6ddcb4b4df804c420a8cd1afca181a7 | 5,126 | py | Python | molmodmt/chem_and_phys_properties.py | LMMV/MolModMT | 5725d6d5627b07edcbbd5e55318345a136b28c35 | [
"MIT"
] | null | null | null | molmodmt/chem_and_phys_properties.py | LMMV/MolModMT | 5725d6d5627b07edcbbd5e55318345a136b28c35 | [
"MIT"
] | null | null | null | molmodmt/chem_and_phys_properties.py | LMMV/MolModMT | 5725d6d5627b07edcbbd5e55318345a136b28c35 | [
"MIT"
] | null | null | null | from .utils.exceptions import *
from .utils.forcefields import digest as _digest_forcefields
from .utils.engines import digest as _digest_engines
from simtk import unit as _unit
def get_charge(item, atom_indices, forcefield=['AMBER99SB-ILDN','TIP3P']):
# This code belongs to the file https://github.com/choderalab... | 34.173333 | 91 | 0.666407 | 587 | 5,126 | 5.625213 | 0.155026 | 0.036342 | 0.024228 | 0.030285 | 0.806481 | 0.758328 | 0.721987 | 0.721987 | 0.690491 | 0.690491 | 0 | 0.005911 | 0.240929 | 5,126 | 149 | 92 | 34.402685 | 0.842714 | 0.044869 | 0 | 0.714286 | 0 | 0 | 0.112725 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 1 | 0.05102 | false | 0 | 0.163265 | 0 | 0.265306 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
05c24531867e082b5f9a793fae1eceaf32799d5d | 26 | py | Python | usgs_nwis/__init__.py | jsharples/usgs_nwis | b0441f13be29a1f270535d04d6111c212136bd04 | [
"MIT"
] | null | null | null | usgs_nwis/__init__.py | jsharples/usgs_nwis | b0441f13be29a1f270535d04d6111c212136bd04 | [
"MIT"
] | null | null | null | usgs_nwis/__init__.py | jsharples/usgs_nwis | b0441f13be29a1f270535d04d6111c212136bd04 | [
"MIT"
] | null | null | null |
from .usgs_nwis import *
| 8.666667 | 24 | 0.730769 | 4 | 26 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 2 | 25 | 13 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
af0e24b8987b9970b6c538fc7ae9885601da88ea | 344 | py | Python | dfqueue/__init__.py | JCH222/dfqueue | 890606e41e78d7bf8eaca96683b5a3cfaa7d2813 | [
"MIT"
] | null | null | null | dfqueue/__init__.py | JCH222/dfqueue | 890606e41e78d7bf8eaca96683b5a3cfaa7d2813 | [
"MIT"
] | 5 | 2018-12-17T23:39:20.000Z | 2018-12-28T09:45:38.000Z | dfqueue/__init__.py | JCH222/dfqueue | 890606e41e78d7bf8eaca96683b5a3cfaa7d2813 | [
"MIT"
] | null | null | null | # coding: utf8
from .core.dfqueue import adding
from .core.dfqueue import managing
from .core.dfqueue import synchronized
from .core.dfqueue import assign_dataframe
from .core.dfqueue import list_queue_names
from .core.dfqueue import get_info_provider
from .core.dfqueue import QueueBehaviour
from .__met... | 24.571429 | 44 | 0.799419 | 46 | 344 | 5.695652 | 0.434783 | 0.21374 | 0.400763 | 0.561069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003425 | 0.151163 | 344 | 13 | 45 | 26.461538 | 0.893836 | 0.034884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
af9d565fc05b8610b1f4ae25079dd302e660fff9 | 1,425 | py | Python | air_hockey/game/scripting/collide_striker_action.py | Nemo3003/cse210-06 | 30ecefac7f23927be904f48b29492bb2220262a8 | [
"Apache-2.0"
] | null | null | null | air_hockey/game/scripting/collide_striker_action.py | Nemo3003/cse210-06 | 30ecefac7f23927be904f48b29492bb2220262a8 | [
"Apache-2.0"
] | null | null | null | air_hockey/game/scripting/collide_striker_action.py | Nemo3003/cse210-06 | 30ecefac7f23927be904f48b29492bb2220262a8 | [
"Apache-2.0"
] | null | null | null | from constants import *
from game.casting.sound import Sound
from game.scripting.action import Action
"""
This module handles the striker action and the sounds
"""
class CollideStrikerAction(Action):
def __init__(self, physics_service, audio_service):
self._physics_service = physics_service
self.... | 30.978261 | 71 | 0.669474 | 170 | 1,425 | 5.235294 | 0.252941 | 0.125843 | 0.121348 | 0.076404 | 0.78427 | 0.78427 | 0.78427 | 0.78427 | 0.78427 | 0.78427 | 0 | 0.001878 | 0.252632 | 1,425 | 45 | 72 | 31.666667 | 0.833803 | 0 | 0 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137931 | false | 0 | 0.103448 | 0 | 0.310345 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bb5fdb9bebb67e04f86cf694817ff7ae82c42d91 | 70 | py | Python | tests/test_day1.py | ghallberg/advent2020 | a4212118924dfb6073019f4aedaecbc73ea7e358 | [
"MIT"
] | null | null | null | tests/test_day1.py | ghallberg/advent2020 | a4212118924dfb6073019f4aedaecbc73ea7e358 | [
"MIT"
] | null | null | null | tests/test_day1.py | ghallberg/advent2020 | a4212118924dfb6073019f4aedaecbc73ea7e358 | [
"MIT"
] | null | null | null | from advent2020.day1 import solve
def test_solve():
assert True
| 11.666667 | 33 | 0.742857 | 10 | 70 | 5.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 0.2 | 70 | 5 | 34 | 14 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bbc8fd49ff4cc9c5ac8c1dd644e8b45d785dd8d8 | 11,427 | py | Python | mab/gd/schw/grid.py | maartenbreddels/mab | 112dcfbc4a74b07aff13d489b3776bca58fe9bdf | [
"MIT"
] | 1 | 2018-12-01T04:10:34.000Z | 2018-12-01T04:10:34.000Z | mab/gd/schw/grid.py | maartenbreddels/mab | 112dcfbc4a74b07aff13d489b3776bca58fe9bdf | [
"MIT"
] | null | null | null | mab/gd/schw/grid.py | maartenbreddels/mab | 112dcfbc4a74b07aff13d489b3776bca58fe9bdf | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from numpy import *
from mab.gd.gdfast import *
import mab.gd.gdfast
import pyublas
import mab.gd.logging as logging
logger = logging.getLogger("gd.schw.grid")
class Grid2I_Block_Inside(object):
def __init__(self, light_model, profile_model, logrmin, logrmax, n_I1, n_I2, dither=1, _issubgrid=... | 37.712871 | 181 | 0.700534 | 1,890 | 11,427 | 4.035979 | 0.081481 | 0.033429 | 0.021106 | 0.021238 | 0.893943 | 0.864316 | 0.852255 | 0.816072 | 0.792868 | 0.783954 | 0 | 0.041069 | 0.158309 | 11,427 | 302 | 182 | 37.837748 | 0.752027 | 0.121817 | 0 | 0.694064 | 0 | 0 | 0.011498 | 0.007798 | 0 | 0 | 0 | 0 | 0.013699 | 1 | 0.141553 | false | 0 | 0.022831 | 0.091324 | 0.305936 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bbf5722e963cc4fa2e2f7fc72ffbd2a0c7cc339d | 582 | py | Python | tests/structures/test_or_and.py | akubera/batavia | b56f2a3f54242f81aea3a5a048356a03f0d49494 | [
"BSD-3-Clause"
] | 1,256 | 2015-08-09T07:44:02.000Z | 2019-03-27T05:41:24.000Z | tests/structures/test_or_and.py | akubera/batavia | b56f2a3f54242f81aea3a5a048356a03f0d49494 | [
"BSD-3-Clause"
] | 406 | 2015-08-12T03:40:29.000Z | 2019-02-25T19:26:02.000Z | tests/structures/test_or_and.py | akubera/batavia | b56f2a3f54242f81aea3a5a048356a03f0d49494 | [
"BSD-3-Clause"
] | 589 | 2015-08-10T03:27:31.000Z | 2019-03-10T20:58:07.000Z | from ..utils import TranspileTestCase
class OrTests(TranspileTestCase):
def test_simple(self):
self.assertCodeExecution("""
print(False or 'yes')
""")
def test_truth_value_testing(self):
self.assertCodeExecution("""
print(None or 'yes')
""")
class And... | 22.384615 | 39 | 0.584192 | 54 | 582 | 6.148148 | 0.407407 | 0.084337 | 0.325301 | 0.385542 | 0.753012 | 0.753012 | 0.753012 | 0.753012 | 0.379518 | 0.379518 | 0 | 0 | 0.292096 | 582 | 25 | 40 | 23.28 | 0.805825 | 0 | 0 | 0.631579 | 0 | 0 | 0.293814 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.210526 | false | 0 | 0.052632 | 0 | 0.368421 | 0.210526 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a55bb4d5279201950df2b10e47b7429b147425f4 | 8,115 | py | Python | test/robust/contextual_kofn_test.py | AmiiThinks/tf-kofn_robust_policy_optimization | 44dd826a72251c1b827d1b8f50af88b1787c31ab | [
"MIT"
] | 3 | 2019-02-26T10:00:05.000Z | 2020-05-03T14:47:49.000Z | test/robust/contextual_kofn_test.py | AmiiThinks/tf-kofn_robust_policy_optimization | 44dd826a72251c1b827d1b8f50af88b1787c31ab | [
"MIT"
] | null | null | null | test/robust/contextual_kofn_test.py | AmiiThinks/tf-kofn_robust_policy_optimization | 44dd826a72251c1b827d1b8f50af88b1787c31ab | [
"MIT"
] | null | null | null | import tensorflow as tf
try:
tf.enable_eager_execution()
except:
pass
import numpy as np
from tf_kofn_robust_policy_optimization.robust.kofn import \
DeterministicKofnGameTemplate
from tf_kofn_robust_policy_optimization.robust.contextual_kofn import \
ContextualKofnGame
class ContextualKofnTest(tf.tes... | 35.90708 | 80 | 0.563524 | 797 | 8,115 | 5.498118 | 0.169385 | 0.057736 | 0.062072 | 0.080329 | 0.824509 | 0.81173 | 0.79256 | 0.758786 | 0.747376 | 0.724099 | 0 | 0.199361 | 0.344177 | 8,115 | 225 | 81 | 36.066667 | 0.624014 | 0.031423 | 0 | 0.623596 | 0 | 0 | 0.012354 | 0 | 0 | 0 | 0 | 0 | 0.129213 | 1 | 0.033708 | false | 0.005618 | 0.022472 | 0 | 0.061798 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a560d8d6aa0375de6144c22fc33789746de806ba | 1,218 | py | Python | day_1/day1_test.py | mickeelm/aoc2019 | 7fd532d2237e1cf0686c9b331a2b97515ee94c03 | [
"Unlicense"
] | 1 | 2021-02-02T08:32:36.000Z | 2021-02-02T08:32:36.000Z | day_1/day1_test.py | mickeelm/aoc2019 | 7fd532d2237e1cf0686c9b331a2b97515ee94c03 | [
"Unlicense"
] | null | null | null | day_1/day1_test.py | mickeelm/aoc2019 | 7fd532d2237e1cf0686c9b331a2b97515ee94c03 | [
"Unlicense"
] | null | null | null | from day_1.day1 import fuel_required_single_module, fuel_required_multiple_modules, \
recursive_fuel_required_single_module, recursive_fuel_required_multiple_modules
def test_fuel_required_single_module():
assert fuel_required_single_module(12) == 2
assert fuel_required_single_module(14) == 2
assert f... | 35.823529 | 106 | 0.780788 | 168 | 1,218 | 5.214286 | 0.238095 | 0.260274 | 0.226027 | 0.30137 | 0.795662 | 0.434932 | 0.191781 | 0.116438 | 0.116438 | 0.116438 | 0 | 0.093661 | 0.132184 | 1,218 | 33 | 107 | 36.909091 | 0.735099 | 0 | 0 | 0.095238 | 0 | 0 | 0.011494 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 1 | 0.285714 | true | 0 | 0.047619 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a5871dbcc4ddfc52ff01e1c8218c3b2bfdfbc8d1 | 28 | py | Python | rlib/algorithms/a3c/__init__.py | MarcioPorto/rlib | 5919f2dc52105000a23a25c31bbac260ca63565f | [
"MIT"
] | 1 | 2019-09-08T08:33:13.000Z | 2019-09-08T08:33:13.000Z | rlib/algorithms/a3c/__init__.py | MarcioPorto/rlib | 5919f2dc52105000a23a25c31bbac260ca63565f | [
"MIT"
] | 26 | 2019-03-15T03:11:21.000Z | 2022-03-11T23:42:46.000Z | rlib/algorithms/a3c/__init__.py | MarcioPorto/rlib | 5919f2dc52105000a23a25c31bbac260ca63565f | [
"MIT"
] | null | null | null | from .agent import A3CAgent
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c2bbdc601e38357502f72996b1804175a2da1af | 27 | py | Python | devel/lib/python2.7/dist-packages/beginner_tutorials/srv/__init__.py | elmexx/eWolf-Jetson | 34242b1cea360c1e81d0e26a9e8cb70cf9ca354e | [
"MIT"
] | 17 | 2015-08-24T20:29:34.000Z | 2022-02-09T14:42:18.000Z | devel/lib/python2.7/dist-packages/beginner_tutorials/srv/__init__.py | elmexx/eWolf-Jetson | 34242b1cea360c1e81d0e26a9e8cb70cf9ca354e | [
"MIT"
] | 14 | 2018-06-19T11:14:29.000Z | 2019-12-23T12:29:24.000Z | devel/lib/python2.7/dist-packages/beginner_tutorials/srv/__init__.py | elmexx/eWolf-Jetson | 34242b1cea360c1e81d0e26a9e8cb70cf9ca354e | [
"MIT"
] | 18 | 2015-08-19T17:31:55.000Z | 2021-12-20T01:41:52.000Z | from ._AddTwoInts import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c77f3f6b03a184291e4c46c3003e23bae8f0f4e | 38 | py | Python | ext/yiot-core/iotkit/sdk/tools/yiot-trust-provisioner/yiot_trust_provisioner/storage/tinydb_storage_extensions/__init__.py | andr13/yiot-yocto-test | 1a0942318a2fb244c2a5a2ff086be7d0b7ea0deb | [
"BSD-2-Clause"
] | 19 | 2019-11-20T20:11:54.000Z | 2021-09-30T13:06:57.000Z | ext/yiot-core/iotkit/sdk/tools/yiot-trust-provisioner/yiot_trust_provisioner/storage/tinydb_storage_extensions/__init__.py | andr13/yiot-yocto-test | 1a0942318a2fb244c2a5a2ff086be7d0b7ea0deb | [
"BSD-2-Clause"
] | 1 | 2020-01-27T15:21:26.000Z | 2020-01-27T15:21:26.000Z | ext/yiot-core/iotkit/sdk/tools/yiot-trust-provisioner/yiot_trust_provisioner/storage/tinydb_storage_extensions/__init__.py | andr13/yiot-yocto-test | 1a0942318a2fb244c2a5a2ff086be7d0b7ea0deb | [
"BSD-2-Clause"
] | 4 | 2020-01-04T19:19:43.000Z | 2020-04-19T11:34:38.000Z | from .byte_storage import ByteStorage
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b1fbe8ea4c520309257cf26a2cdfb17fdbeb1473 | 526 | py | Python | my_decorator1.py | mosinu/classwork | ba80d3687ec9ddd1346ce5b20adf6242875dfacb | [
"MIT"
] | null | null | null | my_decorator1.py | mosinu/classwork | ba80d3687ec9ddd1346ce5b20adf6242875dfacb | [
"MIT"
] | null | null | null | my_decorator1.py | mosinu/classwork | ba80d3687ec9ddd1346ce5b20adf6242875dfacb | [
"MIT"
] | null | null | null | def my_decorator(func):
def wrap_func():
func()
return wrap_func
@my_decorator
def hello():
#print('hello baby duck')
print('''
Hello Baby Duck!
..---..
.' _ `.
__..' (o) :
`..__ ;
`. /
; `..---...___
.' `~-. .-')
. ... | 20.230769 | 35 | 0.245247 | 27 | 526 | 4.111111 | 0.481481 | 0.198198 | 0.252252 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.562738 | 526 | 25 | 36 | 21.04 | 0.482609 | 0.045627 | 0 | 0 | 0 | 0 | 0.740519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130435 | false | 0 | 0 | 0 | 0.173913 | 0.043478 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
592fbd3d5a5d332bca264b935c44be7794a52cfa | 47 | py | Python | sn_driver/__init__.py | probablytom/blogserv | a57407d7134c32a3baa38d12f177a1fb6bc583b4 | [
"MIT"
] | null | null | null | sn_driver/__init__.py | probablytom/blogserv | a57407d7134c32a3baa38d12f177a1fb6bc583b4 | [
"MIT"
] | null | null | null | sn_driver/__init__.py | probablytom/blogserv | a57407d7134c32a3baa38d12f177a1fb6bc583b4 | [
"MIT"
] | null | null | null | from sn_driver.driver import simplenote_update
| 23.5 | 46 | 0.893617 | 7 | 47 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3cad959e75b32b6cbfcef7f17dcafa711dcce85d | 123 | py | Python | virtual/lib/python3.6/site-packages/pylint/test/functional/deprecated_module_py4.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 463 | 2015-01-15T08:17:42.000Z | 2022-03-28T15:10:20.000Z | virtual/lib/python3.6/site-packages/pylint/test/functional/deprecated_module_py4.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 52 | 2015-01-06T02:43:59.000Z | 2022-03-14T11:15:21.000Z | virtual/lib/python3.6/site-packages/pylint/test/functional/deprecated_module_py4.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 249 | 2015-01-07T22:49:49.000Z | 2022-03-18T02:32:06.000Z | """Test deprecated modules."""
from deprecated import foo # [deprecated-module]
import deprecated # [deprecated-module]
| 24.6 | 49 | 0.747967 | 13 | 123 | 7.076923 | 0.538462 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 123 | 4 | 50 | 30.75 | 0.859813 | 0.528455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3ce390295c2509e886a058468c8b2e3ed9bfd5f6 | 128 | py | Python | molsysmt/_private_tools/targets.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | 3 | 2020-06-02T03:55:52.000Z | 2022-03-21T04:43:52.000Z | molsysmt/_private_tools/targets.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | 28 | 2020-06-24T00:55:53.000Z | 2021-07-16T22:09:19.000Z | molsysmt/_private_tools/targets.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | 1 | 2021-06-17T18:55:25.000Z | 2021-06-17T18:55:25.000Z |
def digest_target(target):
from molsysmt._private_tools.elements import digest_element
return digest_element(target)
| 18.285714 | 63 | 0.796875 | 16 | 128 | 6.0625 | 0.6875 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148438 | 128 | 6 | 64 | 21.333333 | 0.889908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a73b1c27547e482f070f61b13a50622483ec4dfe | 1,050 | py | Python | test_sort.py | JohnRDoe/PythonTests1 | 8b56641faeefeb254bcb72c3e599469ef1c45dbe | [
"MIT"
] | null | null | null | test_sort.py | JohnRDoe/PythonTests1 | 8b56641faeefeb254bcb72c3e599469ef1c45dbe | [
"MIT"
] | null | null | null | test_sort.py | JohnRDoe/PythonTests1 | 8b56641faeefeb254bcb72c3e599469ef1c45dbe | [
"MIT"
] | null | null | null | import unittest
from sort import Sort
class TestSort(unittest.TestCase):
def test_bubble_sort_1(self):
arr=[]
self.assertEquals([],Sort.bubble_sort(arr))
def test_bubble_sort_2(self):
arr=[7]
self.assertEquals([7],Sort.bubble_sort(arr))
def test_bubble_sor... | 28.378378 | 60 | 0.606667 | 154 | 1,050 | 3.928571 | 0.162338 | 0.092562 | 0.115702 | 0.161983 | 0.877686 | 0.877686 | 0.869421 | 0.77686 | 0.568595 | 0.456198 | 0 | 0.076433 | 0.252381 | 1,050 | 36 | 61 | 29.166667 | 0.694268 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 1 | 0.296296 | false | 0 | 0.074074 | 0 | 0.407407 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
59b725199e0342401a7ecc9e18693483cf5390ba | 181 | py | Python | forms/message.py | anthill-gaming/anthill-admin | e3c29a9bd7c04d2c6ce29528578a93395adf59e0 | [
"MIT"
] | 1 | 2018-11-30T21:56:14.000Z | 2018-11-30T21:56:14.000Z | forms/message.py | anthill-gaming/anthill-admin | e3c29a9bd7c04d2c6ce29528578a93395adf59e0 | [
"MIT"
] | null | null | null | forms/message.py | anthill-gaming/anthill-admin | e3c29a9bd7c04d2c6ce29528578a93395adf59e0 | [
"MIT"
] | null | null | null | from anthill.framework.forms import Form
from anthill.framework.utils.translation import translate as _
class MessageForm(Form):
pass
class MessageGroupForm(Form):
pass
| 16.454545 | 62 | 0.78453 | 22 | 181 | 6.409091 | 0.636364 | 0.156028 | 0.283688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154696 | 181 | 10 | 63 | 18.1 | 0.921569 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ab7a37c8a15fb6eca55b366404bcd07cecfb11db | 35 | py | Python | test_python.py | cmput401-fall2018/web-app-ci-cd-with-travis-ci-aozero | 632161c103444005f5d9ac2c55ebb2053a7eb925 | [
"MIT"
] | null | null | null | test_python.py | cmput401-fall2018/web-app-ci-cd-with-travis-ci-aozero | 632161c103444005f5d9ac2c55ebb2053a7eb925 | [
"MIT"
] | 3 | 2020-02-11T23:15:37.000Z | 2021-06-10T20:52:05.000Z | test_python.py | cmput401-fall2018/web-app-ci-cd-with-travis-ci-aozero | 632161c103444005f5d9ac2c55ebb2053a7eb925 | [
"MIT"
] | null | null | null | def test_python():
assert True
| 11.666667 | 18 | 0.685714 | 5 | 35 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 35 | 2 | 19 | 17.5 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
abe31107d1f1419425412d1de77eec71e07e0db1 | 96 | py | Python | venv/lib/python3.8/site-packages/virtualenv/util/error.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/virtualenv/util/error.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/virtualenv/util/error.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/49/14/99/957bcc610b89c31a147cd865032a37570ac09c8b197a64b03cec698e7b | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
abec29239cab531c34b77258a3af2fd5e3010f29 | 284 | py | Python | rpy2_test.py | ries9112/Decentraland_StreamlitDashboard | 87fbe317dc37c1a9e210ec6d1b3d0774834d2c49 | [
"MIT"
] | null | null | null | rpy2_test.py | ries9112/Decentraland_StreamlitDashboard | 87fbe317dc37c1a9e210ec6d1b3d0774834d2c49 | [
"MIT"
] | null | null | null | rpy2_test.py | ries9112/Decentraland_StreamlitDashboard | 87fbe317dc37c1a9e210ec6d1b3d0774834d2c49 | [
"MIT"
] | null | null | null | import streamlit as st
import rpy2.robjects as robjects
from rpy2.robjects.packages import importr
importr("palettetown") # needs "install.packages('palettetown')" in R console beforehand
st.write(robjects.r("pi")[0])
st.write(robjects.r("1+1")[0])
st.write(robjects.r("pokedex"))
| 28.4 | 89 | 0.753521 | 43 | 284 | 4.976744 | 0.488372 | 0.098131 | 0.21028 | 0.224299 | 0.158879 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.091549 | 284 | 9 | 90 | 31.555556 | 0.806202 | 0.221831 | 0 | 0 | 0 | 0 | 0.105023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e64adfa290d13deeee1353e710c394fce3291683 | 81 | py | Python | model_quant/__init__.py | mataach/adversarial_ml | df3d91706abac8be313119eb1a02c1f37f26dc7a | [
"MIT"
] | 1 | 2021-02-11T02:01:48.000Z | 2021-02-11T02:01:48.000Z | model_quant/__init__.py | mataach/adversarial_ml | df3d91706abac8be313119eb1a02c1f37f26dc7a | [
"MIT"
] | null | null | null | model_quant/__init__.py | mataach/adversarial_ml | df3d91706abac8be313119eb1a02c1f37f26dc7a | [
"MIT"
] | null | null | null | from .quant_layer import *
from .resnet_quant import *
from .utils_quant import * | 27 | 27 | 0.790123 | 12 | 81 | 5.083333 | 0.5 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 81 | 3 | 28 | 27 | 0.871429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
050cc64e9b95f4afb41873a1c898338c4420408d | 492 | py | Python | if-else.py | iliankostadinov/hackerrank-python | 4082eb5a6da7ab11ead9b687fdc2d9a846f59f99 | [
"Apache-2.0"
] | null | null | null | if-else.py | iliankostadinov/hackerrank-python | 4082eb5a6da7ab11ead9b687fdc2d9a846f59f99 | [
"Apache-2.0"
] | null | null | null | if-else.py | iliankostadinov/hackerrank-python | 4082eb5a6da7ab11ead9b687fdc2d9a846f59f99 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
N = int(raw_input("Plase enter a number\n"))
if N < 1:
print "You entered number out of range, please enter number between 1 and 100\n"
N = int(raw_input("Plase enter a number\n"))
elif N > 100:
print "You entered number out of range, please enter number between 1 and 100\n"
N = int... | 23.428571 | 84 | 0.638211 | 89 | 492 | 3.494382 | 0.348315 | 0.064309 | 0.067524 | 0.115756 | 0.713826 | 0.713826 | 0.713826 | 0.713826 | 0.713826 | 0.713826 | 0 | 0.050938 | 0.24187 | 492 | 20 | 85 | 24.6 | 0.782842 | 0.03252 | 0 | 0.6 | 0 | 0 | 0.501053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.4 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
05234b34e332afbfd4abfc5d72f2e63bb3cbb7f9 | 83 | py | Python | tests/instrumentation/api/experiment/frame/pred.py | rlnsanz/inspectional-rara-parakeet | 2c7919ed432616ec016a5afcd6718d16fa65e8af | [
"Apache-2.0"
] | null | null | null | tests/instrumentation/api/experiment/frame/pred.py | rlnsanz/inspectional-rara-parakeet | 2c7919ed432616ec016a5afcd6718d16fa65e8af | [
"Apache-2.0"
] | null | null | null | tests/instrumentation/api/experiment/frame/pred.py | rlnsanz/inspectional-rara-parakeet | 2c7919ed432616ec016a5afcd6718d16fa65e8af | [
"Apache-2.0"
] | 1 | 2021-06-25T16:06:59.000Z | 2021-06-25T16:06:59.000Z | from gadget.instrumentation.api.experiment.frame.pred import pred
import unittest
| 20.75 | 65 | 0.855422 | 11 | 83 | 6.454545 | 0.818182 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 83 | 3 | 66 | 27.666667 | 0.934211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
05582cc5dc8578e641577f128b9f6a25a55415ec | 43 | py | Python | mnultitool/interpolate/__init__.py | artus9033/MNultitool | 6facfcef5b1e7e7fef67adaca375bf65cbff19f7 | [
"MIT"
] | 3 | 2021-01-27T13:17:46.000Z | 2021-11-07T20:42:01.000Z | mnultitool/interpolate/__init__.py | artus9033/MNultitool | 6facfcef5b1e7e7fef67adaca375bf65cbff19f7 | [
"MIT"
] | null | null | null | mnultitool/interpolate/__init__.py | artus9033/MNultitool | 6facfcef5b1e7e7fef67adaca375bf65cbff19f7 | [
"MIT"
] | null | null | null | from .utils import *
from .spline import *
| 14.333333 | 21 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 22 | 21.5 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0559968ccf2df10c04d6af3ba47b80dae22f6928 | 60 | py | Python | slurmpy/__init__.py | belledon/slurm | fc145e6e421a794fcfe6f87e604c578713995e66 | [
"MIT"
] | null | null | null | slurmpy/__init__.py | belledon/slurm | fc145e6e421a794fcfe6f87e604c578713995e66 | [
"MIT"
] | null | null | null | slurmpy/__init__.py | belledon/slurm | fc145e6e421a794fcfe6f87e604c578713995e66 | [
"MIT"
] | null | null | null | from . import job
from . import sbatch
# __all__ = ["run"]
| 12 | 20 | 0.65 | 8 | 60 | 4.375 | 0.75 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216667 | 60 | 4 | 21 | 15 | 0.744681 | 0.283333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
05647a0bb659c8d9b819ac0b4b81e153bfd1f297 | 5,625 | py | Python | tests/decorators/test_profiles.py | deresmos/delogger | c185e4fd844414d561f521103975b95bd31aff43 | [
"MIT"
] | 5 | 2018-11-25T12:08:31.000Z | 2021-12-05T16:34:02.000Z | tests/decorators/test_profiles.py | deresmos/delogger | c185e4fd844414d561f521103975b95bd31aff43 | [
"MIT"
] | null | null | null | tests/decorators/test_profiles.py | deresmos/delogger | c185e4fd844414d561f521103975b95bd31aff43 | [
"MIT"
] | null | null | null | from delogger import Delogger
import delogger.decorators.line_memory_profile
import delogger.decorators.line_profile
import delogger.decorators.memory_profile
from delogger.decorators.profiles import LineMemoryProfile
from delogger.decorators.profiles import LineProfile
from delogger.decorators.profiles import LineProf... | 31.779661 | 76 | 0.696711 | 622 | 5,625 | 5.921222 | 0.094855 | 0.083084 | 0.052946 | 0.06082 | 0.891121 | 0.786044 | 0.774369 | 0.734999 | 0.67255 | 0.655715 | 0 | 0.00805 | 0.227022 | 5,625 | 176 | 77 | 31.960227 | 0.839006 | 0.016 | 0 | 0.707317 | 0 | 0 | 0.046318 | 0.037453 | 0 | 0 | 0 | 0 | 0.235772 | 1 | 0.113821 | false | 0 | 0.097561 | 0.056911 | 0.276423 | 0.065041 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
056dd10f89d6eaefaee8e84d68133545185354b3 | 68 | py | Python | batch_jobs/bucket_manifest/__init__.py | uc-cdis/aws-batch-jobs | ce765a67a22f1646d849bd674dc0bce5e9cfcb8b | [
"Apache-2.0"
] | null | null | null | batch_jobs/bucket_manifest/__init__.py | uc-cdis/aws-batch-jobs | ce765a67a22f1646d849bd674dc0bce5e9cfcb8b | [
"Apache-2.0"
] | 1 | 2020-05-12T16:56:43.000Z | 2020-05-12T16:56:43.000Z | batch_jobs/bucket_manifest/__init__.py | uc-cdis/aws-batch-jobs | ce765a67a22f1646d849bd674dc0bce5e9cfcb8b | [
"Apache-2.0"
] | 1 | 2021-02-19T17:05:49.000Z | 2021-02-19T17:05:49.000Z | from . import bucket_manifest_job
from . import object_metadata_job
| 22.666667 | 33 | 0.852941 | 10 | 68 | 5.4 | 0.7 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 34 | 34 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
55714cfda074ff6662598626c3c98ac7448374c8 | 30 | py | Python | plots/__init__.py | acordonez/ENSO_metrics | 6b5a3c33ec89a5c6de147bf6dc03872a89b9da90 | [
"BSD-3-Clause"
] | 11 | 2020-07-09T01:03:59.000Z | 2022-03-18T11:39:06.000Z | plots/__init__.py | acordonez/ENSO_metrics | 6b5a3c33ec89a5c6de147bf6dc03872a89b9da90 | [
"BSD-3-Clause"
] | 17 | 2020-07-09T00:42:14.000Z | 2022-03-21T23:14:33.000Z | plots/__init__.py | acordonez/ENSO_metrics | 6b5a3c33ec89a5c6de147bf6dc03872a89b9da90 | [
"BSD-3-Clause"
] | 4 | 2020-09-24T05:42:15.000Z | 2022-03-15T16:17:53.000Z | from .EnsoMetricPlot import *
| 15 | 29 | 0.8 | 3 | 30 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
55a027e042aace5584c4da8ff6d74b0394129cf2 | 245 | py | Python | helloworld/bad_import.py | ayadavumass/TestAzureMLGitIntegration | b275ff80fdba16e3e09f035690c3e3e91f9b4224 | [
"MIT"
] | null | null | null | helloworld/bad_import.py | ayadavumass/TestAzureMLGitIntegration | b275ff80fdba16e3e09f035690c3e3e91f9b4224 | [
"MIT"
] | null | null | null | helloworld/bad_import.py | ayadavumass/TestAzureMLGitIntegration | b275ff80fdba16e3e09f035690c3e3e91f9b4224 | [
"MIT"
] | null | null | null | # ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
import thisdoesnotexist
print("This should never be reached.")
| 30.625 | 59 | 0.4 | 15 | 245 | 6.533333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 245 | 7 | 60 | 35 | 0.4375 | 0.706122 | 0 | 0 | 0 | 0 | 0.426471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
e994895305e2565598e54a7479842428424241bc | 33 | py | Python | spiderpy/__init__.py | peternijssen/spiderpy | 106a3ceeabff33d6017cb6eeff29ea8f1af23722 | [
"MIT"
] | 4 | 2019-01-23T20:20:36.000Z | 2020-12-16T18:15:08.000Z | spiderpy/__init__.py | peternijssen/spiderpy | 106a3ceeabff33d6017cb6eeff29ea8f1af23722 | [
"MIT"
] | 21 | 2018-12-30T23:19:17.000Z | 2022-03-30T07:27:42.000Z | spiderpy/__init__.py | peternijssen/spiderpy | 106a3ceeabff33d6017cb6eeff29ea8f1af23722 | [
"MIT"
] | 3 | 2018-12-30T19:07:07.000Z | 2020-12-26T20:35:19.000Z | from .spiderapi import SpiderApi
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7589020423e8cf6732a00e1bb20abc03f4254f8f | 11,209 | py | Python | nuage_tempest_plugin/tests/api/cli/test_nuage_pat_underlay_configuration_cli.py | nuagenetworks/nuage-tempest-plugin | ac1bfb0709c7bbaf04017af3050fb3ed1ad1324a | [
"Apache-1.1"
] | 1 | 2021-01-03T01:47:51.000Z | 2021-01-03T01:47:51.000Z | nuage_tempest_plugin/tests/api/cli/test_nuage_pat_underlay_configuration_cli.py | nuagenetworks/nuage-tempest-plugin | ac1bfb0709c7bbaf04017af3050fb3ed1ad1324a | [
"Apache-1.1"
] | null | null | null | nuage_tempest_plugin/tests/api/cli/test_nuage_pat_underlay_configuration_cli.py | nuagenetworks/nuage-tempest-plugin | ac1bfb0709c7bbaf04017af3050fb3ed1ad1324a | [
"Apache-1.1"
] | 1 | 2020-10-16T12:04:39.000Z | 2020-10-16T12:04:39.000Z | # Copyright 2015 Alcatel-Lucent
# All Rights Reserved.
from tempest.lib.common.utils import data_utils
from nuage_tempest_plugin.lib.cli.client_testcase \
import CLIClientTestCase
from nuage_tempest_plugin.lib.test import nuage_test
from nuage_tempest_plugin.lib.topology import Topology
from nuage_tempest_plugin.... | 37.239203 | 78 | 0.723437 | 1,523 | 11,209 | 4.692712 | 0.078135 | 0.048272 | 0.061564 | 0.072758 | 0.840493 | 0.816147 | 0.806772 | 0.797957 | 0.770393 | 0.7592 | 0 | 0.00045 | 0.206709 | 11,209 | 300 | 79 | 37.363333 | 0.803306 | 0.026497 | 0 | 0.683544 | 0 | 0 | 0.031731 | 0.015132 | 0 | 0 | 0 | 0 | 0.012658 | 1 | 0.189873 | false | 0.004219 | 0.025316 | 0 | 0.232068 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
75a25dff9764642e2bcdc7ce472dff42c9b2b03d | 116 | py | Python | venv/Lib/site-packages/gevent/tests/getaddrinfo_module.py | asanka9/Quession-Discussion-App-Socket.Io-NLP | 95a49a8afa572dc3908a0bade45e424c3751f191 | [
"Apache-2.0"
] | 13 | 2018-03-28T23:07:01.000Z | 2022-03-12T06:01:21.000Z | venv/Lib/site-packages/gevent/tests/getaddrinfo_module.py | asanka9/Quession-Discussion-App-Socket.Io-NLP | 95a49a8afa572dc3908a0bade45e424c3751f191 | [
"Apache-2.0"
] | 11 | 2018-06-18T15:49:07.000Z | 2021-11-25T01:45:33.000Z | venv/Lib/site-packages/gevent/tests/getaddrinfo_module.py | asanka9/Quession-Discussion-App-Socket.Io-NLP | 95a49a8afa572dc3908a0bade45e424c3751f191 | [
"Apache-2.0"
] | 5 | 2018-03-28T23:07:05.000Z | 2021-12-09T19:02:00.000Z | import socket
import gevent.socket as gevent_socket
gevent_socket.getaddrinfo(u'gevent.org', None, socket.AF_INET)
| 23.2 | 62 | 0.827586 | 18 | 116 | 5.166667 | 0.555556 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 116 | 4 | 63 | 29 | 0.877358 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
75fdeb9d03f153e142e18aa4fe1c795f24f9e6ad | 113 | py | Python | nltkma/test/classify_fixt.py | aydtmiri/nltk-ma | 5d7dd01844ee063fc910a648948624b6a2dddaf9 | [
"Apache-2.0"
] | null | null | null | nltkma/test/classify_fixt.py | aydtmiri/nltk-ma | 5d7dd01844ee063fc910a648948624b6a2dddaf9 | [
"Apache-2.0"
] | null | null | null | nltkma/test/classify_fixt.py | aydtmiri/nltk-ma | 5d7dd01844ee063fc910a648948624b6a2dddaf9 | [
"Apache-2.0"
] | null | null | null | # most of classify.doctest requires numpy
def setup_module():
import pytest
pytest.importorskip("numpy")
| 22.6 | 41 | 0.743363 | 14 | 113 | 5.928571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168142 | 113 | 4 | 42 | 28.25 | 0.882979 | 0.345133 | 0 | 0 | 0 | 0 | 0.069444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f9a1c6f8074a230004dd7be4847ce47917b4c34b | 162 | py | Python | helloworld/demo/admin.py | mingregister/helloworld | fd3bf75e8567b5be8fc6b89cfb3c874fc1c58276 | [
"Apache-2.0"
] | null | null | null | helloworld/demo/admin.py | mingregister/helloworld | fd3bf75e8567b5be8fc6b89cfb3c874fc1c58276 | [
"Apache-2.0"
] | null | null | null | helloworld/demo/admin.py | mingregister/helloworld | fd3bf75e8567b5be8fc6b89cfb3c874fc1c58276 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Version
# Register your models here.
@admin.register(Version)
class DemoAdmin(admin.ModelAdmin):
pass
| 16.2 | 34 | 0.777778 | 21 | 162 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 162 | 9 | 35 | 18 | 0.913043 | 0.160494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f9acfc42c08dad2e6de0cd37e651b4dd7e7d067d | 257 | py | Python | yats/requests_holder.py | GaryOma/yats | 0250b62ac6e1e9db5c8681c3b6cc2e3f99b93bfa | [
"MIT"
] | null | null | null | yats/requests_holder.py | GaryOma/yats | 0250b62ac6e1e9db5c8681c3b6cc2e3f99b93bfa | [
"MIT"
] | null | null | null | yats/requests_holder.py | GaryOma/yats | 0250b62ac6e1e9db5c8681c3b6cc2e3f99b93bfa | [
"MIT"
] | null | null | null |
class RequestsHolder:
def __init__(self):
self.requests = []
def __len__(self):
return len(self.requests)
def pop(self):
return self.requests.pop()
def push(self, request):
self.requests.append(request)
| 16.0625 | 37 | 0.603113 | 29 | 257 | 5.068966 | 0.413793 | 0.326531 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284047 | 257 | 15 | 38 | 17.133333 | 0.798913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.222222 | 0.777778 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f9afb27786cf304abd19faf96fab942b9bb1efe3 | 152 | py | Python | forkan/rl/env_wrapper.py | llach/dl-toolkit | 33ae3d48ce6f24fc0c254b93ed3f4b8a767ffea5 | [
"Unlicense"
] | 1 | 2019-03-27T17:47:58.000Z | 2019-03-27T17:47:58.000Z | forkan/rl/env_wrapper.py | llach/dl-toolkit | 33ae3d48ce6f24fc0c254b93ed3f4b8a767ffea5 | [
"Unlicense"
] | null | null | null | forkan/rl/env_wrapper.py | llach/dl-toolkit | 33ae3d48ce6f24fc0c254b93ed3f4b8a767ffea5 | [
"Unlicense"
] | 1 | 2019-01-24T16:43:03.000Z | 2019-01-24T16:43:03.000Z | class EnvWrapper(object):
def __init__(self, env):
self.env = env
def __getattr__(self, item):
return getattr(self.env, item)
| 19 | 38 | 0.625 | 19 | 152 | 4.578947 | 0.526316 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 152 | 7 | 39 | 21.714286 | 0.776786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f9b6b6db824e2ee98d6f44e69ef5bbc66be597c9 | 26 | py | Python | cadcad_machine_search/tools/__init__.py | cadCAD-org/cadCAD_machine_search | ed6a59162044d0808007fd7d9122474e7f547522 | [
"MIT"
] | 2 | 2021-05-03T10:46:54.000Z | 2021-06-07T00:12:48.000Z | cadcad_machine_search/tools/__init__.py | danlessa/cadCAD_machine_search | 3b8bf54672c7cc992cc00c0aa0ef73e82ba8d826 | [
"MIT"
] | null | null | null | cadcad_machine_search/tools/__init__.py | danlessa/cadCAD_machine_search | 3b8bf54672c7cc992cc00c0aa0ef73e82ba8d826 | [
"MIT"
] | 2 | 2021-02-10T22:32:38.000Z | 2021-05-27T21:17:06.000Z | from .param_sweep import * | 26 | 26 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dddb31e019b8b957b1b0d338106cc63633411e0a | 20 | py | Python | pyrract/__init__.py | notpushkin/pyrract | 91b122f72299005b93940d93bf5845e11abb72f2 | [
"Unlicense"
] | 3 | 2018-04-27T19:09:00.000Z | 2020-09-24T16:01:24.000Z | pyrract/__init__.py | notpushkin/pyrract | 91b122f72299005b93940d93bf5845e11abb72f2 | [
"Unlicense"
] | 1 | 2021-05-22T12:01:41.000Z | 2021-05-22T12:01:41.000Z | ohmyds/binary_tree/__init__.py | prabhupant/oh-my-ds | 4579be8849adfc4bdf939807cbab10315c72baab | [
"MIT"
] | null | null | null | from .tree import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb2666632cd825e9a1e6a9cf9679655267c4d8f5 | 113 | py | Python | tina/matr/__init__.py | xuhao1/taichi_three | 25fdf047da4c93df36a047a0be3cc47225d328c9 | [
"MIT"
] | 152 | 2020-06-17T09:08:59.000Z | 2022-03-30T13:48:49.000Z | tina/matr/__init__.py | xuhao1/taichi_three | 25fdf047da4c93df36a047a0be3cc47225d328c9 | [
"MIT"
] | 46 | 2020-06-20T15:15:57.000Z | 2022-03-24T20:03:18.000Z | tina/matr/__init__.py | xuhao1/taichi_three | 25fdf047da4c93df36a047a0be3cc47225d328c9 | [
"MIT"
] | 27 | 2020-06-20T14:25:55.000Z | 2022-03-12T08:11:31.000Z | if __import__('tina').lazyguard:
from .nodes import *
from .material import *
from .wavelen import *
| 22.6 | 32 | 0.663717 | 13 | 113 | 5.461538 | 0.615385 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230089 | 113 | 4 | 33 | 28.25 | 0.816092 | 0 | 0 | 0 | 0 | 0 | 0.035398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb3dc6553e760e17b61607721ab518c0c0578469 | 90 | py | Python | examples/relationship_one_to_one_models.py | codingjoe/OpenAlchemy | a899c05b11209d9d23f81c2638f501e5147c90b8 | [
"Apache-2.0"
] | null | null | null | examples/relationship_one_to_one_models.py | codingjoe/OpenAlchemy | a899c05b11209d9d23f81c2638f501e5147c90b8 | [
"Apache-2.0"
] | null | null | null | examples/relationship_one_to_one_models.py | codingjoe/OpenAlchemy | a899c05b11209d9d23f81c2638f501e5147c90b8 | [
"Apache-2.0"
] | null | null | null | from open_alchemy import init_yaml
init_yaml("relationship-one-to-one-example-spec.yml")
| 22.5 | 53 | 0.822222 | 15 | 90 | 4.733333 | 0.8 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 90 | 3 | 54 | 30 | 0.845238 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
34ac50d7bf1a42f6b33412076619f1fadfc82b09 | 94 | py | Python | kts/storage/__init__.py | alexander-ahappydandelion/kts_update_v1 | 016ca31b3cf9512730e31f475738e8150cc1ba01 | [
"MIT"
] | null | null | null | kts/storage/__init__.py | alexander-ahappydandelion/kts_update_v1 | 016ca31b3cf9512730e31f475738e8150cc1ba01 | [
"MIT"
] | null | null | null | kts/storage/__init__.py | alexander-ahappydandelion/kts_update_v1 | 016ca31b3cf9512730e31f475738e8150cc1ba01 | [
"MIT"
] | null | null | null | from .caching import cache
# from .info import info
# from .split_manager import split_manager | 31.333333 | 42 | 0.808511 | 14 | 94 | 5.285714 | 0.5 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 94 | 3 | 42 | 31.333333 | 0.91358 | 0.670213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
55033b510c736587516b4ad23b0a4aaf5838fdaf | 35 | py | Python | src/hepqpr/qallse/dsmaker/__init__.py | masamuch/hepqpr-qallse | 0b39f8531c6f3c758b94c31f4633f75dcfeb67ad | [
"Apache-2.0"
] | 17 | 2019-01-29T00:38:39.000Z | 2022-03-07T08:38:06.000Z | src/hepqpr/qallse/dsmaker/__init__.py | masamuch/hepqpr-qallse | 0b39f8531c6f3c758b94c31f4633f75dcfeb67ad | [
"Apache-2.0"
] | 1 | 2020-05-13T21:40:32.000Z | 2020-05-13T21:40:32.000Z | src/hepqpr/qallse/dsmaker/__init__.py | psreid/hepqpr-qallse | 46f5b36240689720d704850fbe594eb22b281ab4 | [
"Apache-2.0"
] | 15 | 2019-01-28T18:18:44.000Z | 2021-12-20T05:40:56.000Z | from .dsmaker import create_dataset | 35 | 35 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9b6ce50143d483f23ce3f6be5cefb8b29e11c379 | 23 | py | Python | src/detection/VPU/__init__.py | wdoppenberg/crater-detection | 471d1bc508dee873cc5d05329147dfc5314bc15d | [
"MIT"
] | 8 | 2021-06-09T15:07:16.000Z | 2021-12-22T09:39:29.000Z | src/detection/VPU/__init__.py | wdoppenberg/crater-detection | 471d1bc508dee873cc5d05329147dfc5314bc15d | [
"MIT"
] | 3 | 2021-04-23T12:29:40.000Z | 2021-06-10T11:01:05.000Z | src/detection/VPU/__init__.py | wdoppenberg/crater-detection | 471d1bc508dee873cc5d05329147dfc5314bc15d | [
"MIT"
] | null | null | null | from .NCSsetup import * | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9b8f91db8657595362157ad8e32dee0d3e0f7e02 | 22 | py | Python | tests/test_code/py/import_paths/cadabra.py | FreddyZeng/code2flow | 37e45ca4340289f8ceec79b3fe5131c401387c58 | [
"MIT"
] | 1 | 2022-03-16T13:44:35.000Z | 2022-03-16T13:44:35.000Z | tests/test_code/py/import_paths/cadabra.py | FreddyZeng/code2flow | 37e45ca4340289f8ceec79b3fe5131c401387c58 | [
"MIT"
] | null | null | null | tests/test_code/py/import_paths/cadabra.py | FreddyZeng/code2flow | 37e45ca4340289f8ceec79b3fe5131c401387c58 | [
"MIT"
] | null | null | null | def cadabra2():
pass
| 7.333333 | 15 | 0.681818 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.181818 | 22 | 2 | 16 | 11 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9bbfc95ca21fa4078882d51812823de697e19f81 | 221 | py | Python | workflow/ignite/__init__.py | Aiwizo/ml-workflow | 88e104fce571dd3b76914626a52f9001342c07cc | [
"Apache-2.0"
] | 4 | 2020-09-23T15:39:24.000Z | 2021-09-12T22:11:00.000Z | workflow/ignite/__init__.py | Aiwizo/ml-workflow | 88e104fce571dd3b76914626a52f9001342c07cc | [
"Apache-2.0"
] | 4 | 2020-09-23T15:07:39.000Z | 2020-10-30T10:26:24.000Z | workflow/ignite/__init__.py | Aiwizo/ml-workflow | 88e104fce571dd3b76914626a52f9001342c07cc | [
"Apache-2.0"
] | null | null | null | from workflow.ignite import handlers
from workflow.ignite import decorators
from workflow.ignite.worker_init import worker_init
from workflow.ignite.trainer import trainer
from workflow.ignite.evaluator import evaluator
| 31.571429 | 51 | 0.868778 | 30 | 221 | 6.333333 | 0.333333 | 0.315789 | 0.473684 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095023 | 221 | 6 | 52 | 36.833333 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fd24eeb3f57510bce8bddbdeb0d607b3ac9d7615 | 420 | py | Python | optics/math/lommel.py | bodokaiser/optics | fb1b95e0c5c54fd74f00e112151051e9d0b4f906 | [
"Apache-2.0"
] | null | null | null | optics/math/lommel.py | bodokaiser/optics | fb1b95e0c5c54fd74f00e112151051e9d0b4f906 | [
"Apache-2.0"
] | null | null | null | optics/math/lommel.py | bodokaiser/optics | fb1b95e0c5c54fd74f00e112151051e9d0b4f906 | [
"Apache-2.0"
] | null | null | null | import mpmath as mp
def U(u, v, n):
"""
Two-variables Lommel function "U" of order "n".
"""
def seq(s): return (-1)**s * (u / v)**(n + 2 * s) * mp.besselj(n + 2 * s, v)
return mp.nsum(seq, [0, mp.inf])
def V(u, v, n):
"""
Two-variables Lommel function "V" of order "n".
"""
def seq(s): return (-1)... | 20 | 78 | 0.495238 | 78 | 420 | 2.666667 | 0.294872 | 0.038462 | 0.057692 | 0.057692 | 0.875 | 0.875 | 0.875 | 0.596154 | 0.596154 | 0.596154 | 0 | 0.025723 | 0.259524 | 420 | 20 | 79 | 21 | 0.643087 | 0.22619 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0.125 | 0.25 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fd3416c04c2b08f4bcf600aa4fb0e4e4aedf6445 | 214 | py | Python | tests/utils/test_stopwatch.py | brentyi/hfdsajk | 2888aa5d969824ac1e1a528264674ece3f4703f9 | [
"MIT"
] | 5 | 2020-03-13T21:34:31.000Z | 2020-10-27T15:18:17.000Z | tests/utils/test_stopwatch.py | brentyi/hfdsajk | 2888aa5d969824ac1e1a528264674ece3f4703f9 | [
"MIT"
] | 2 | 2020-06-17T11:06:56.000Z | 2020-10-25T03:06:18.000Z | tests/utils/test_stopwatch.py | brentyi/hfdsajk | 2888aa5d969824ac1e1a528264674ece3f4703f9 | [
"MIT"
] | 4 | 2020-03-15T01:55:18.000Z | 2022-01-21T22:06:48.000Z | import fannypack
def test_stopwatch():
"""Check that stopwatch helper runs without errors."""
with fannypack.utils.stopwatch():
pass
with fannypack.utils.stopwatch("with label"):
pass
| 21.4 | 58 | 0.672897 | 24 | 214 | 5.958333 | 0.625 | 0.181818 | 0.251748 | 0.377622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224299 | 214 | 9 | 59 | 23.777778 | 0.861446 | 0.224299 | 0 | 0.333333 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0.333333 | 0.166667 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
bd2ac50a5acf75b37db3e69721b12fc7165c99ec | 2,929 | py | Python | helpscout/endpoints/reports/productivity.py | Gogen120/helpscout | 7e884247f5cd59c75b12792e331b25e9873a4207 | [
"MIT"
] | null | null | null | helpscout/endpoints/reports/productivity.py | Gogen120/helpscout | 7e884247f5cd59c75b12792e331b25e9873a4207 | [
"MIT"
] | null | null | null | helpscout/endpoints/reports/productivity.py | Gogen120/helpscout | 7e884247f5cd59c75b12792e331b25e9873a4207 | [
"MIT"
] | null | null | null | from typing import Dict
from helpscout.endpoints.endpoint import Endpoint
class Productivity(Endpoint):
"""Productivity report endpoint."""
def overall_report(self, start: str, end: str, **kwargs) -> Dict:
"""Get productivity overall report.
Doc page: https://developer.helpscout.com/mailbox... | 35.289157 | 134 | 0.642882 | 325 | 2,929 | 5.683077 | 0.126154 | 0.123443 | 0.038982 | 0.048728 | 0.836492 | 0.836492 | 0.836492 | 0.836492 | 0.836492 | 0.766649 | 0 | 0 | 0.236258 | 2,929 | 82 | 135 | 35.719512 | 0.825659 | 0.324684 | 0 | 0.5 | 0 | 0 | 0.130435 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.047619 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
950a741a412ce7c4958bdff3006a2d2c8c71e16b | 150 | py | Python | doltpy/core/__init__.py | oscarbatori/doltpy | 6981585b05366a8abb399d3e614c61b25f574dec | [
"Apache-2.0"
] | null | null | null | doltpy/core/__init__.py | oscarbatori/doltpy | 6981585b05366a8abb399d3e614c61b25f574dec | [
"Apache-2.0"
] | null | null | null | doltpy/core/__init__.py | oscarbatori/doltpy | 6981585b05366a8abb399d3e614c61b25f574dec | [
"Apache-2.0"
] | null | null | null | from .dolt import Dolt, DoltException, DoltCommit, ServerConfig
from .system_helpers import LOG_LEVEL, HANDLERS, register_cleanup
register_cleanup()
| 30 | 65 | 0.84 | 18 | 150 | 6.777778 | 0.722222 | 0.245902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 150 | 4 | 66 | 37.5 | 0.903704 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
20fad3153532ecd288632925f84aeddb46542a46 | 34 | py | Python | test/data/missing/imported.py | pombredanne/read_version | 34b11acfb34fe14249354c2c0449cf1b53b07c71 | [
"MIT"
] | 7 | 2018-09-25T18:03:41.000Z | 2021-03-30T05:56:34.000Z | test/data/missing/imported.py | pombredanne/read_version | 34b11acfb34fe14249354c2c0449cf1b53b07c71 | [
"MIT"
] | 2 | 2020-02-02T22:57:41.000Z | 2020-12-05T04:04:05.000Z | test/data/missing/imported.py | pombredanne/read_version | 34b11acfb34fe14249354c2c0449cf1b53b07c71 | [
"MIT"
] | 3 | 2019-06-26T17:41:40.000Z | 2020-03-19T17:19:04.000Z | from elsewhere import __version__
| 17 | 33 | 0.882353 | 4 | 34 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1f373764a974a747ab0658d7f705886cf9fea346 | 21,482 | py | Python | network.py | Justin-Tan/entropy-sgd-tf | 55adbe68963128477069608144bab13aa5383843 | [
"MIT"
] | 12 | 2018-04-20T08:47:50.000Z | 2021-08-23T16:10:57.000Z | network.py | Justin-Tan/entropy-sgd-tf | 55adbe68963128477069608144bab13aa5383843 | [
"MIT"
] | null | null | null | network.py | Justin-Tan/entropy-sgd-tf | 55adbe68963128477069608144bab13aa5383843 | [
"MIT"
] | 3 | 2018-05-17T06:52:24.000Z | 2021-06-23T22:53:27.000Z | """ Network wiring """
import tensorflow as tf
import numpy as np
import glob, time, os
class Network(object):
@staticmethod
def wrn(x, config, training, reuse=False, actv=tf.nn.relu):
# Implements W-28-10 wide residual network
# See Arxiv 1605.07146
network_width = 10 # k
blo... | 62.812865 | 113 | 0.564705 | 2,487 | 21,482 | 4.755529 | 0.074789 | 0.075759 | 0.092331 | 0.106536 | 0.91401 | 0.897438 | 0.886024 | 0.872072 | 0.864124 | 0.851864 | 0 | 0.039984 | 0.295643 | 21,482 | 341 | 114 | 62.997067 | 0.741656 | 0.081417 | 0 | 0.642308 | 0 | 0 | 0.028286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026923 | false | 0 | 0.011538 | 0 | 0.065385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1f684bc851320183a40eb564e7c1ec549d1a6ca5 | 75 | py | Python | vendor-local/lib/python/silme/format/gettext/structure.py | Acidburn0zzz/pontoon | 069d4c7732ace9d4ef39c0b81d0cd33b51b64811 | [
"BSD-3-Clause"
] | null | null | null | vendor-local/lib/python/silme/format/gettext/structure.py | Acidburn0zzz/pontoon | 069d4c7732ace9d4ef39c0b81d0cd33b51b64811 | [
"BSD-3-Clause"
] | null | null | null | vendor-local/lib/python/silme/format/gettext/structure.py | Acidburn0zzz/pontoon | 069d4c7732ace9d4ef39c0b81d0cd33b51b64811 | [
"BSD-3-Clause"
] | null | null | null | from ...core import Structure
class GettextStructure(Structure):
pass
| 15 | 34 | 0.76 | 8 | 75 | 7.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 4 | 35 | 18.75 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2f65450e9b543ae7abad9db80837e941c9a60ac5 | 129 | py | Python | ros_ws/src/baxter_interface/src/baxter_dataflow/signals.py | mesneym/Baxter-Arm-PP | fdbf86309bc64c31af105daa026b2f8519710129 | [
"MIT"
] | null | null | null | ros_ws/src/baxter_interface/src/baxter_dataflow/signals.py | mesneym/Baxter-Arm-PP | fdbf86309bc64c31af105daa026b2f8519710129 | [
"MIT"
] | null | null | null | ros_ws/src/baxter_interface/src/baxter_dataflow/signals.py | mesneym/Baxter-Arm-PP | fdbf86309bc64c31af105daa026b2f8519710129 | [
"MIT"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:02596882c9428a6566bef28d3d6d2c4605ce3f5d0043f7d619117c6e7f620e30
size 2620
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.430894 | 0.046512 | 129 | 3 | 76 | 43 | 0.495935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2f6fa8c559ffda8b07578b928596441824f48aab | 10,226 | py | Python | chatbotpackage/chatbot/train_chatbot.py | shinjiniray/chatbotpackage | 7b41fa1ccd008d3dfc09b27a8050bcf7bba85c79 | [
"MIT"
] | null | null | null | chatbotpackage/chatbot/train_chatbot.py | shinjiniray/chatbotpackage | 7b41fa1ccd008d3dfc09b27a8050bcf7bba85c79 | [
"MIT"
] | null | null | null | chatbotpackage/chatbot/train_chatbot.py | shinjiniray/chatbotpackage | 7b41fa1ccd008d3dfc09b27a8050bcf7bba85c79 | [
"MIT"
] | null | null | null | import numpy as np
from keras.models import Sequential
from keras.layers import Dense, Activation, Dropout
from keras.optimizers import SGD
from configparser import SafeConfigParser
import random
import nltk
nltk.download('punkt')
nltk.download('wordnet')
from nltk.stem import WordNetLemmatizer
lemmatizer = WordNetL... | 40.904 | 131 | 0.646196 | 1,297 | 10,226 | 4.993061 | 0.163454 | 0.024707 | 0.024707 | 0.023471 | 0.823965 | 0.805744 | 0.784435 | 0.763743 | 0.756177 | 0.756177 | 0 | 0.010478 | 0.234696 | 10,226 | 250 | 132 | 40.904 | 0.81702 | 0.481811 | 0 | 0.140187 | 0 | 0 | 0.132701 | 0.009299 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018692 | false | 0 | 0.102804 | 0 | 0.17757 | 0.158879 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2f9cb6c554baf656b54831c3e9c44f874ad81780 | 39 | py | Python | chatbot/api/discord/__init__.py | mphe/pychatbot | 66d994e8e96d699b19083b25ee0fe80b8874c42b | [
"MIT"
] | 1 | 2020-05-28T18:26:11.000Z | 2020-05-28T18:26:11.000Z | chatbot/api/discord/__init__.py | mphe/pychatbot | 66d994e8e96d699b19083b25ee0fe80b8874c42b | [
"MIT"
] | null | null | null | chatbot/api/discord/__init__.py | mphe/pychatbot | 66d994e8e96d699b19083b25ee0fe80b8874c42b | [
"MIT"
] | null | null | null | from .Discord import DiscordAPI as API
| 19.5 | 38 | 0.820513 | 6 | 39 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 1 | 39 | 39 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c8027a5c593e3f80b04a7505fc91445e6e0f9edd | 9,887 | py | Python | app/models/permission/permission_controller.py | talos-org/server | 6be199fcaf836415b7d32ffb2cee911a9d600395 | [
"MIT"
] | 1 | 2019-01-17T20:43:14.000Z | 2019-01-17T20:43:14.000Z | app/models/permission/permission_controller.py | talos-org/server | 6be199fcaf836415b7d32ffb2cee911a9d600395 | [
"MIT"
] | 42 | 2018-11-13T06:13:55.000Z | 2019-07-27T19:18:23.000Z | app/models/permission/permission_controller.py | talos-org/server | 6be199fcaf836415b7d32ffb2cee911a9d600395 | [
"MIT"
] | 1 | 2019-03-26T12:55:01.000Z | 2019-03-26T12:55:01.000Z | from subprocess import run, CalledProcessError
from app.models.exception.multichain_error import MultiChainError
import json
class PermissionController:
MULTICHAIN_ARG = "multichain-cli"
GRANT_ARG = "grant"
REVOKE_ARG = "revoke"
GET_PERMISSION_ARG = "listpermissions"
GLOBAL_PERMISSIONS_LIST = {
... | 35.437276 | 121 | 0.569435 | 940 | 9,887 | 5.882979 | 0.134043 | 0.075949 | 0.05208 | 0.023508 | 0.764195 | 0.756781 | 0.756781 | 0.743942 | 0.743942 | 0.706329 | 0 | 0 | 0.366845 | 9,887 | 278 | 122 | 35.564748 | 0.883387 | 0.129261 | 0 | 0.70892 | 0 | 0 | 0.090551 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023474 | false | 0 | 0.014085 | 0 | 0.107981 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c8563d4a37d10cc3f2ccc79eb0fedab4b0a4799c | 161 | py | Python | datacatalog/linkedstores/annotation/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | null | null | null | datacatalog/linkedstores/annotation/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | 2 | 2019-07-25T15:39:04.000Z | 2019-10-21T15:31:46.000Z | datacatalog/linkedstores/annotation/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | 1 | 2019-10-15T14:33:44.000Z | 2019-10-15T14:33:44.000Z | from .inline import InlineAnnotationSchema, InlineAnnotationDocument
from .annotation import AnnotationSchema
from .store import AnnotationStore, StoreInterface
| 40.25 | 68 | 0.881988 | 14 | 161 | 10.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 161 | 3 | 69 | 53.666667 | 0.965986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c07f629c3e68bf8c66704e48f15f88ae523ba9df | 18,350 | py | Python | test.py | DarkWizarD24/mjpoll | 877eb45ca713a2e03a84deff4765f282b870e635 | [
"MIT"
] | null | null | null | test.py | DarkWizarD24/mjpoll | 877eb45ca713a2e03a84deff4765f282b870e635 | [
"MIT"
] | null | null | null | test.py | DarkWizarD24/mjpoll | 877eb45ca713a2e03a84deff4765f282b870e635 | [
"MIT"
] | null | null | null | # coding: utf-8
import os
import mjpoll
import unittest
import tempfile
from datetime import datetime, timedelta
import collections
def equals(a, b):
if not isinstance(a, collections.Iterable) or not isinstance(b, collections.Iterable) or isinstance(a, unicode) or isinstance(b, unicode) or isinstance(a, str) or ... | 55.105105 | 465 | 0.586594 | 2,517 | 18,350 | 4.154152 | 0.089392 | 0.052219 | 0.043133 | 0.05088 | 0.801932 | 0.765876 | 0.735272 | 0.708493 | 0.6579 | 0.641546 | 0 | 0.033076 | 0.265177 | 18,350 | 332 | 466 | 55.271084 | 0.742361 | 0.059564 | 0 | 0.552995 | 0 | 0 | 0.166922 | 0 | 0 | 0 | 0 | 0.003012 | 0.059908 | 0 | null | null | 0 | 0.02765 | null | null | 0.018433 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c0c2ba5a54de1b108b206a5ed83a95af4d089503 | 29 | py | Python | test.py | pavank1/ibm-watson-nlu | ae714e46ed6ffb66c6fa07e001e8a9670f7ae015 | [
"Apache-2.0"
] | null | null | null | test.py | pavank1/ibm-watson-nlu | ae714e46ed6ffb66c6fa07e001e8a9670f7ae015 | [
"Apache-2.0"
] | null | null | null | test.py | pavank1/ibm-watson-nlu | ae714e46ed6ffb66c6fa07e001e8a9670f7ae015 | [
"Apache-2.0"
] | null | null | null | print("Inside child branch")
| 14.5 | 28 | 0.758621 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9b0eca0a0317c537b68a467c2482c605c0fc1c68 | 5,008 | py | Python | tests_scripts/Sprint1/Organizationpage_ifuserassociatedwithtwocampuspartners.py | vineethreddyramasa/uno-community-partnership | 694886b7ad7fa98f6dbb24b03476962cfadebc70 | [
"MIT"
] | 13 | 2018-08-30T16:03:18.000Z | 2019-11-25T07:08:43.000Z | tests_scripts/Sprint1/Organizationpage_ifuserassociatedwithtwocampuspartners.py | vineethreddyramasa/uno-community-partnership | 694886b7ad7fa98f6dbb24b03476962cfadebc70 | [
"MIT"
] | 814 | 2018-08-30T02:28:55.000Z | 2022-03-11T23:31:45.000Z | tests_scripts/Sprint1/Organizationpage_ifuserassociatedwithtwocampuspartners.py | vineethreddyramasa/uno-community-partnership | 694886b7ad7fa98f6dbb24b03476962cfadebc70 | [
"MIT"
] | 6 | 2018-09-16T05:35:49.000Z | 2019-10-17T02:44:19.000Z | import unittest
import time
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import Select
from selenium.webdriver.common.by import By
class UnoCpi(unittest.TestCase):
def setUp(self):
self.driver = webdriver.Chrome()
def test_website(se... | 55.032967 | 138 | 0.661342 | 749 | 5,008 | 4.224299 | 0.168224 | 0.087231 | 0.096713 | 0.180152 | 0.754109 | 0.754109 | 0.737674 | 0.737674 | 0.728508 | 0.728508 | 0 | 0.039202 | 0.169728 | 5,008 | 91 | 139 | 55.032967 | 0.721741 | 0.088658 | 0 | 0.475 | 0 | 0.1 | 0.368883 | 0.247312 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025 | false | 0.025 | 0.075 | 0 | 0.1125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.