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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4d89d9d7fd8d29364892c3b9f633da91e6542bba | 226 | py | Python | elastica/memory_block/__init__.py | yeonsu-jung/PyElastica | fee87b9da22e310ff925c16fdc839bf8405c51a4 | [
"MIT"
] | null | null | null | elastica/memory_block/__init__.py | yeonsu-jung/PyElastica | fee87b9da22e310ff925c16fdc839bf8405c51a4 | [
"MIT"
] | 1 | 2022-01-06T11:30:20.000Z | 2022-02-07T07:11:22.000Z | elastica/memory_block/__init__.py | yeonsu-jung/PyElastica | fee87b9da22e310ff925c16fdc839bf8405c51a4 | [
"MIT"
] | null | null | null | __all__ = [
"MemoryBlockCosseratRod",
"MemoryBlockRigidBody",
]
from elastica.memory_block.memory_block_rod import MemoryBlockCosseratRod
from elastica.memory_block.memory_block_rigid_body import MemoryBlockRigidBody
| 28.25 | 78 | 0.840708 | 22 | 226 | 8.136364 | 0.5 | 0.24581 | 0.201117 | 0.256983 | 0.379888 | 0.379888 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10177 | 226 | 7 | 79 | 32.285714 | 0.881773 | 0 | 0 | 0 | 0 | 0 | 0.185841 | 0.097345 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4d95d74b01c940a61c9183519a82bb88e1d1ca37 | 27 | py | Python | autoscalingsim/scaling/policiesbuilder/metric/scaling_aspect_calculation/calculators/learning_based/quality_metrics/__init__.py | Remit/autoscaling-simulator | 091943c0e9eedf9543e9305682a067ab60f56def | [
"MIT"
] | 6 | 2021-03-10T16:23:10.000Z | 2022-01-14T04:57:46.000Z | autoscalingsim/scaling/policiesbuilder/metric/scaling_aspect_calculation/calculators/learning_based/quality_metrics/__init__.py | Remit/autoscaling-simulator | 091943c0e9eedf9543e9305682a067ab60f56def | [
"MIT"
] | null | null | null | autoscalingsim/scaling/policiesbuilder/metric/scaling_aspect_calculation/calculators/learning_based/quality_metrics/__init__.py | Remit/autoscaling-simulator | 091943c0e9eedf9543e9305682a067ab60f56def | [
"MIT"
] | 1 | 2022-01-14T04:57:55.000Z | 2022-01-14T04:57:55.000Z | from . import scaled_error
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 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 |
4db138296cf00b9bd3b1e6d520738906aa29187d | 12,834 | py | Python | test/organism_test.py | MoffMade/python-apollo | 3cc61458cf5c20bd44fde656b8364417b915cfb8 | [
"MIT"
] | null | null | null | test/organism_test.py | MoffMade/python-apollo | 3cc61458cf5c20bd44fde656b8364417b915cfb8 | [
"MIT"
] | 1 | 2020-08-25T00:16:42.000Z | 2020-08-25T00:16:42.000Z | test/organism_test.py | MoffMade/python-apollo | 3cc61458cf5c20bd44fde656b8364417b915cfb8 | [
"MIT"
] | null | null | null | import json
import time
from . import ApolloTestCase, wa
class OrganismTest(ApolloTestCase):
def test_get_organisms(self):
orgs = wa.organisms.get_organisms()
assert len(orgs) >= 3
first_org = orgs[0]
assert 'nonDefaultTranslationTable' in first_org
assert 'annotation... | 34.315508 | 238 | 0.639317 | 1,594 | 12,834 | 4.909034 | 0.088457 | 0.107348 | 0.036805 | 0.07361 | 0.781597 | 0.771246 | 0.747604 | 0.722684 | 0.706837 | 0.685751 | 0 | 0.012994 | 0.22643 | 12,834 | 373 | 239 | 34.407507 | 0.775181 | 0.037245 | 0 | 0.649351 | 0 | 0 | 0.190098 | 0.00551 | 0 | 0 | 0 | 0 | 0.419913 | 1 | 0.082251 | false | 0 | 0.012987 | 0 | 0.099567 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4db88300c2802c32988838d07e14dc34b542410c | 227 | py | Python | worlddata/APISections/search.py | worlddata-ai/python-api | c4157a8a079993e4339c29dbb65a7e87390579b5 | [
"MIT"
] | 1 | 2021-06-24T11:13:50.000Z | 2021-06-24T11:13:50.000Z | worlddata/APISections/search.py | worlddata-ai/python-api | c4157a8a079993e4339c29dbb65a7e87390579b5 | [
"MIT"
] | null | null | null | worlddata/APISections/search.py | worlddata-ai/python-api | c4157a8a079993e4339c29dbb65a7e87390579b5 | [
"MIT"
] | null | null | null | from worlddata.APISections.base import WorldDataBase
class WorldDataSearch(WorldDataBase):
def search(self, search_text, **kwargs):
return self.call_api_post("search", search_text=search_text, kwargs=kwargs)
| 28.375 | 83 | 0.762115 | 27 | 227 | 6.222222 | 0.62963 | 0.178571 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145374 | 227 | 8 | 84 | 28.375 | 0.865979 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
150be877389d726657732105825bf14ad698f027 | 36 | py | Python | LED2Net/Loss/__init__.py | zhigangjiang/LED2-Net | 28528b2180d6af0caee54a60560b88dd0f218f1b | [
"MIT"
] | 57 | 2021-03-25T05:42:34.000Z | 2022-03-30T02:50:30.000Z | LED2Net/Loss/__init__.py | zhigangjiang/LED2-Net | 28528b2180d6af0caee54a60560b88dd0f218f1b | [
"MIT"
] | 8 | 2021-04-09T09:50:22.000Z | 2022-02-17T17:36:27.000Z | LED2Net/Loss/__init__.py | zhigangjiang/LED2-Net | 28528b2180d6af0caee54a60560b88dd0f218f1b | [
"MIT"
] | 6 | 2021-04-11T10:15:07.000Z | 2022-03-31T06:56:56.000Z | from .DepthRender import RenderLoss
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
128190e07054d033e666de598e662b7ee6ec7ca3 | 162 | py | Python | mashupsim/strategy/StateMachine.py | irhawks/mashupsim | a990bd49c46d6d4f11a2570bd8862f59a2f22a7e | [
"Apache-2.0"
] | null | null | null | mashupsim/strategy/StateMachine.py | irhawks/mashupsim | a990bd49c46d6d4f11a2570bd8862f59a2f22a7e | [
"Apache-2.0"
] | null | null | null | mashupsim/strategy/StateMachine.py | irhawks/mashupsim | a990bd49c46d6d4f11a2570bd8862f59a2f22a7e | [
"Apache-2.0"
] | null | null | null | class StrategyStateMachine :
def discovery() :
pass
def composition() :
pass
def usage() :
pass
def end() :
pass
| 14.727273 | 28 | 0.5 | 14 | 162 | 5.785714 | 0.571429 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.419753 | 162 | 10 | 29 | 16.2 | 0.861702 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | true | 0.444444 | 0 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
421bed1489e9e50e1016293576bb387cd28072e7 | 39 | py | Python | src/__init__.py | jackgoffinet/poe-vae | 18ca2cd4cffe3259e19525c2dc65c84d7219e9d6 | [
"MIT"
] | null | null | null | src/__init__.py | jackgoffinet/poe-vae | 18ca2cd4cffe3259e19525c2dc65c84d7219e9d6 | [
"MIT"
] | null | null | null | src/__init__.py | jackgoffinet/poe-vae | 18ca2cd4cffe3259e19525c2dc65c84d7219e9d6 | [
"MIT"
] | 1 | 2022-01-14T12:29:51.000Z | 2022-01-14T12:29:51.000Z | from .param_maps import LIKELIHOOD_MAP
| 19.5 | 38 | 0.871795 | 6 | 39 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 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 |
42494cf229dca4e0978560eaed63edcbf96c7c64 | 1,529 | py | Python | pychron/canvas/canvas2D/tests/calibration_item.py | ASUPychron/pychron | dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76 | [
"Apache-2.0"
] | 31 | 2016-03-07T02:38:17.000Z | 2022-02-14T18:23:43.000Z | pychron/canvas/canvas2D/tests/calibration_item.py | ASUPychron/pychron | dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76 | [
"Apache-2.0"
] | 1,626 | 2015-01-07T04:52:35.000Z | 2022-03-25T19:15:59.000Z | pychron/canvas/canvas2D/tests/calibration_item.py | UIllinoisHALPychron/pychron | f21b79f4592a9fb9dc9a4cb2e4e943a3885ededc | [
"Apache-2.0"
] | 26 | 2015-05-23T00:10:06.000Z | 2022-03-07T16:51:57.000Z | from __future__ import absolute_import
import unittest
from pychron.canvas.canvas2D.scene.primitives.calibration import CalibrationObject
class CalibrationObjectTestCase(unittest.TestCase):
def setUp(self):
self._cal_obj = CalibrationObject(cx=0, cy=0)
def test_calc_rotation_east_counter_clockwise(s... | 33.23913 | 82 | 0.705036 | 206 | 1,529 | 4.868932 | 0.194175 | 0.062812 | 0.089731 | 0.095713 | 0.770688 | 0.770688 | 0.742772 | 0.742772 | 0.742772 | 0.723829 | 0 | 0.034483 | 0.184434 | 1,529 | 45 | 83 | 33.977778 | 0.769848 | 0 | 0 | 0.25 | 0 | 0 | 0.023545 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.28125 | false | 0 | 0.09375 | 0 | 0.40625 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
35eeea9b137490e3f8a0a82b973404020ef1d4f8 | 34 | py | Python | src/minerva_ufrj/__init__.py | pedromxavier/minerva | 304bec6b3cd85ab4ad123f0e14e18dfab8632cb2 | [
"MIT"
] | 2 | 2020-07-11T20:04:52.000Z | 2020-10-13T16:57:22.000Z | src/minerva_ufrj/__init__.py | pedromxavier/minerva | 304bec6b3cd85ab4ad123f0e14e18dfab8632cb2 | [
"MIT"
] | null | null | null | src/minerva_ufrj/__init__.py | pedromxavier/minerva | 304bec6b3cd85ab4ad123f0e14e18dfab8632cb2 | [
"MIT"
] | null | null | null | from .minerva import Minerva, main | 34 | 34 | 0.823529 | 5 | 34 | 5.6 | 0.8 | 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 |
c438a63bbe870f94b1f4a1a9d21f696bd40834a6 | 3,457 | py | Python | keylib/keys.py | mdcovarr/encrypt-server | 335f6417396418c73d19c9d8c804ae98cfab9fed | [
"MIT"
] | 1 | 2020-06-08T20:02:27.000Z | 2020-06-08T20:02:27.000Z | keylib/keys.py | mdcovarr/encrypt-server | 335f6417396418c73d19c9d8c804ae98cfab9fed | [
"MIT"
] | null | null | null | keylib/keys.py | mdcovarr/encrypt-server | 335f6417396418c73d19c9d8c804ae98cfab9fed | [
"MIT"
] | null | null | null | """
RSA Private/Public Key Parameters
----------------------------------
KEY_BIT_SIZE: bit size of keys
e: exponent
"""
KEY_BIT_SIZE = 4000
e = int("""130499359017053281556458431345533123778363781651270565436082977439613579949
54717322917425749364642943354291308521375017815197673634269952642064... | 59.603448 | 117 | 0.832514 | 81 | 3,457 | 35.481481 | 0.753086 | 0.007307 | 0.015658 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.889875 | 0.120046 | 3,457 | 57 | 118 | 60.649123 | 0.054898 | 0.032109 | 0 | 0 | 0 | 0 | 0.947123 | 0.836392 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c45070ee11eb8065c04150878e25b05069f38987 | 2,872 | py | Python | vgg19.py | Azkel/NeuralNoodle | aa4710e18d6bdd77c0f5e7f5dd86f9b90f724e27 | [
"MIT"
] | null | null | null | vgg19.py | Azkel/NeuralNoodle | aa4710e18d6bdd77c0f5e7f5dd86f9b90f724e27 | [
"MIT"
] | 5 | 2020-11-13T17:15:08.000Z | 2022-02-09T23:26:48.000Z | vgg19.py | Azkel/NeuralNoodle | aa4710e18d6bdd77c0f5e7f5dd86f9b90f724e27 | [
"MIT"
] | 1 | 2018-06-28T18:44:52.000Z | 2018-06-28T18:44:52.000Z | # Taken from https://gist.github.com/baraldilorenzo/8d096f48a1be4a2d660d
# MaxPooling layers replated by AveragePooling layers, according to https://arxiv.org/abs/1508.06576
from keras.models import Sequential
from keras.layers.core import Flatten, Dense, Dropout
from keras.layers.convolutional import Convolution2D, ... | 43.515152 | 101 | 0.680362 | 403 | 2,872 | 4.794045 | 0.183623 | 0.178054 | 0.093168 | 0.182195 | 0.754658 | 0.742754 | 0.742754 | 0.742754 | 0.742754 | 0.728778 | 0 | 0.100565 | 0.137883 | 2,872 | 65 | 102 | 44.184615 | 0.679725 | 0.059192 | 0 | 0.45283 | 0 | 0 | 0.070767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018868 | false | 0 | 0.09434 | 0 | 0.132075 | 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 |
c47679fda46f1f049313e1ff5866f97d4cf41485 | 115 | py | Python | dassl/utils/__init__.py | weiliuxm/Dassl.pytorch | 8084b66332623c7a2394ea1404f2d043ef415ebb | [
"MIT"
] | 563 | 2020-03-17T13:57:40.000Z | 2022-03-31T02:38:47.000Z | dassl/utils/__init__.py | weiliuxm/Dassl.pytorch | 8084b66332623c7a2394ea1404f2d043ef415ebb | [
"MIT"
] | 37 | 2020-05-21T02:12:47.000Z | 2022-03-30T06:10:47.000Z | dassl/utils/__init__.py | weiliuxm/Dassl.pytorch | 8084b66332623c7a2394ea1404f2d043ef415ebb | [
"MIT"
] | 99 | 2020-03-17T15:23:15.000Z | 2022-03-27T14:52:30.000Z | from .tools import *
from .logger import *
from .meters import *
from .registry import *
from .torchtools import *
| 19.166667 | 25 | 0.73913 | 15 | 115 | 5.666667 | 0.466667 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 115 | 5 | 26 | 23 | 0.894737 | 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 |
c47da6485534db330586008c3a0111d74700d7c9 | 1,131 | py | Python | test_op.py | HighCWu/denoising-diffusion-paddle | cdb75812e9d8ac29027ec0c482fb3c5b0ebbbcef | [
"MIT"
] | 10 | 2021-03-19T16:20:02.000Z | 2021-05-19T10:57:16.000Z | test_op.py | HighCWu/denoising-diffusion-paddle | cdb75812e9d8ac29027ec0c482fb3c5b0ebbbcef | [
"MIT"
] | null | null | null | test_op.py | HighCWu/denoising-diffusion-paddle | cdb75812e9d8ac29027ec0c482fb3c5b0ebbbcef | [
"MIT"
] | null | null | null | import paddle
import paddle.nn as nn
import paddle.nn.functional as F
from model import UNet
from diffusion import make_beta_schedule, GaussianDiffusion
from config import config
conf = config.diffusion
betas = make_beta_schedule(**conf.diffusion.beta_schedule)
diffusion = GaussianDiffusion(betas)
model = ... | 27.585366 | 64 | 0.731211 | 148 | 1,131 | 5.466216 | 0.263514 | 0.103832 | 0.084054 | 0.123609 | 0.719407 | 0.719407 | 0.719407 | 0.719407 | 0.719407 | 0.719407 | 0 | 0.004175 | 0.152962 | 1,131 | 41 | 65 | 27.585366 | 0.840292 | 0 | 0 | 0.702703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.162162 | 0 | 0.162162 | 0.054054 | 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 |
67919f574a12df10f9ff9cdda3eb3dfeae74018c | 6,909 | py | Python | test/test_table_reader.py | askainet/haystack | 00aa1f41d7c21273d8c312a3fad0b51ddd446672 | [
"Apache-2.0"
] | null | null | null | test/test_table_reader.py | askainet/haystack | 00aa1f41d7c21273d8c312a3fad0b51ddd446672 | [
"Apache-2.0"
] | null | null | null | test/test_table_reader.py | askainet/haystack | 00aa1f41d7c21273d8c312a3fad0b51ddd446672 | [
"Apache-2.0"
] | null | null | null | import logging
import pandas as pd
import pytest
from haystack.schema import Document, Answer
from haystack.pipelines.base import Pipeline
def test_table_reader(table_reader):
data = {
"actors": ["brad pitt", "leonardo di caprio", "george clooney"],
"age": ["58", "47", "60"],
"number of ... | 42.913043 | 119 | 0.656824 | 874 | 6,909 | 5.078947 | 0.156751 | 0.111061 | 0.085154 | 0.096643 | 0.855373 | 0.850867 | 0.82879 | 0.796351 | 0.748141 | 0.748141 | 0 | 0.053695 | 0.183239 | 6,909 | 160 | 120 | 43.18125 | 0.732943 | 0.046027 | 0 | 0.624 | 0 | 0 | 0.255888 | 0 | 0 | 0 | 0 | 0 | 0.264 | 1 | 0.072 | false | 0 | 0.04 | 0 | 0.112 | 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 |
67b8688a086df0dcfbc901847584a6dd4f4ce51f | 254 | py | Python | rados_deploy/internal/remoto/modules/package_install.py | MariskaIJpelaar/rados-deploy | 4ffb467211c2b05d17d76c2423c72c0ee4d4ec99 | [
"MIT"
] | null | null | null | rados_deploy/internal/remoto/modules/package_install.py | MariskaIJpelaar/rados-deploy | 4ffb467211c2b05d17d76c2423c72c0ee4d4ec99 | [
"MIT"
] | 1 | 2022-02-08T10:07:18.000Z | 2022-02-08T10:07:18.000Z | rados_deploy/internal/remoto/modules/package_install.py | MariskaIJpelaar/rados-deploy | 4ffb467211c2b05d17d76c2423c72c0ee4d4ec99 | [
"MIT"
] | 2 | 2021-10-05T12:24:53.000Z | 2021-12-22T09:41:07.000Z |
def remote_pip_install_simple(name, silent):
return remote_pip_install(name, True, 'python3', 'pip3', silent)
def remote_pip_install(name, usermode, py, pip, silent):
return lib_install(name, usermode=usermode, py=py, pip=pip, silent=silent)
| 31.75 | 79 | 0.748031 | 37 | 254 | 4.918919 | 0.378378 | 0.148352 | 0.263736 | 0.208791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00905 | 0.129921 | 254 | 7 | 80 | 36.285714 | 0.81448 | 0 | 0 | 0 | 0 | 0 | 0.043651 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
67beafab4df8830c8bb514c716b27dc1f02ee428 | 626 | py | Python | MonteCarlo/tests/test_SingleDimensionHamiltonian.py | DRosen766/MonteCarlo | 979767b3cdc1f716e84b3855fb31d5f49400eb30 | [
"MIT"
] | null | null | null | MonteCarlo/tests/test_SingleDimensionHamiltonian.py | DRosen766/MonteCarlo | 979767b3cdc1f716e84b3855fb31d5f49400eb30 | [
"MIT"
] | null | null | null | MonteCarlo/tests/test_SingleDimensionHamiltonian.py | DRosen766/MonteCarlo | 979767b3cdc1f716e84b3855fb31d5f49400eb30 | [
"MIT"
] | null | null | null |
import sys
import pytest
from MonteCarlo.SingleDimensionHamiltonian import SingleDimensionHamiltonian
from MonteCarlo.SpinConfiguration import spinConfiguration
def testSingleDimensionHamiltonian():
assert(SingleDimensionHamiltonian(-2, 1.1, spinConfiguration(5, 4)).Hamiltonian == -8)
assert(SingleDimension... | 41.733333 | 113 | 0.785942 | 61 | 626 | 8.065574 | 0.344262 | 0.260163 | 0.268293 | 0.276423 | 0.430894 | 0.430894 | 0.219512 | 0.219512 | 0 | 0 | 0 | 0.074468 | 0.099042 | 626 | 15 | 114 | 41.733333 | 0.797872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 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 |
db3511b2d7d44acb37c47b6b95b8f9549914d996 | 1,600 | py | Python | tests/unit/test_is_best_response.py | 11michalis11/Nashpy | f33a09fa6efd25d8aad965cf8ed907563b5f57d2 | [
"MIT"
] | 212 | 2016-11-06T12:44:08.000Z | 2022-03-10T03:05:27.000Z | tests/unit/test_is_best_response.py | 11michalis11/Nashpy | f33a09fa6efd25d8aad965cf8ed907563b5f57d2 | [
"MIT"
] | 93 | 2016-11-06T12:34:14.000Z | 2022-03-25T10:57:17.000Z | tests/unit/test_is_best_response.py | 11michalis11/Nashpy | f33a09fa6efd25d8aad965cf8ed907563b5f57d2 | [
"MIT"
] | 51 | 2016-11-06T12:31:22.000Z | 2022-03-29T10:45:53.000Z | """
Tests for the best response check
"""
import numpy as np
from nashpy.utils.is_best_response import (
is_best_response,
)
def test_is_best_response_example_1():
"""
This tests an example from the discussion documentation.
The second assert checks that the column player strategy is as expected.
... | 33.333333 | 78 | 0.650625 | 291 | 1,600 | 3.367698 | 0.140893 | 0.091837 | 0.157143 | 0.02449 | 0.889796 | 0.889796 | 0.804082 | 0.804082 | 0.797959 | 0.797959 | 0 | 0.048298 | 0.210625 | 1,600 | 47 | 79 | 34.042553 | 0.727633 | 0.26625 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.136364 | false | 0 | 0.090909 | 0 | 0.227273 | 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 |
e1fda1a71dc71dd76729ca32b1af93d7e0abe360 | 104,738 | py | Python | src/comp_net_raw.py | raun1/Complementary_Segmentation_Network-Raw-Code-Available-Under-Construction- | 6522812f2e25304d4c4dfa572cd0df6549a9ff47 | [
"MIT"
] | 29 | 2018-10-17T23:30:47.000Z | 2022-02-17T15:07:37.000Z | src/comp_net_raw.py | raun1/MICCAI2018---Complementary_Segmentation_Network-Raw-Code-Available-Under-Construction- | 6522812f2e25304d4c4dfa572cd0df6549a9ff47 | [
"MIT"
] | 2 | 2018-10-24T12:37:06.000Z | 2020-08-20T14:02:44.000Z | src/comp_net_raw.py | raun1/MICCAI2018---Complementary_Segmentation_Network-Raw-Code-Available-Under-Construction- | 6522812f2e25304d4c4dfa572cd0df6549a9ff47 | [
"MIT"
] | 5 | 2018-11-12T06:44:01.000Z | 2021-12-16T08:17:39.000Z |
# coding: utf-8
# In[2]:
import keras
import scipy as sp
import scipy.misc, scipy.ndimage.interpolation
from medpy import metric
import numpy as np
import os
from keras import losses
import tensorflow as tf
from keras.models import Model
from keras.layers import Input,merge, concatenate, Conv2D, MaxPooling2D, Activa... | 40.470634 | 228 | 0.701799 | 11,940 | 104,738 | 6.032998 | 0.059296 | 0.089819 | 0.071522 | 0.089402 | 0.806439 | 0.788253 | 0.777522 | 0.758836 | 0.743718 | 0.722326 | 0 | 0.079498 | 0.160152 | 104,738 | 2,587 | 229 | 40.486278 | 0.739405 | 0.026791 | 0 | 0.208987 | 0 | 0 | 0.031645 | 0.000206 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002853 | false | 0 | 0.015692 | 0.001427 | 0.021398 | 0.000713 | 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 |
c00822eb535df6cb4526d3459ad3dce8a5d53763 | 165 | py | Python | content/admin.py | divyeshvala/Request_Content | 5a2dcbbe7e590f1e28dea582ce0b4b77795eb16d | [
"Apache-2.0"
] | 1 | 2020-03-08T13:47:58.000Z | 2020-03-08T13:47:58.000Z | content/admin.py | divyeshvala/Request_Content | 5a2dcbbe7e590f1e28dea582ce0b4b77795eb16d | [
"Apache-2.0"
] | null | null | null | content/admin.py | divyeshvala/Request_Content | 5a2dcbbe7e590f1e28dea582ce0b4b77795eb16d | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Idea, Topic, Creator
admin.site.register(Idea)
admin.site.register(Topic)
admin.site.register(Creator)
| 20.625 | 41 | 0.769697 | 23 | 165 | 5.521739 | 0.478261 | 0.212598 | 0.401575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 165 | 7 | 42 | 23.571429 | 0.888112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
c022d41d9ec7ad745818d4f2a41325c881fa1934 | 51 | py | Python | archeion/conf.py | ambhudia/archeion | 0abccf58e498cc7de9b276fc4798df1a30ce0590 | [
"Apache-2.0"
] | null | null | null | archeion/conf.py | ambhudia/archeion | 0abccf58e498cc7de9b276fc4798df1a30ce0590 | [
"Apache-2.0"
] | null | null | null | archeion/conf.py | ambhudia/archeion | 0abccf58e498cc7de9b276fc4798df1a30ce0590 | [
"Apache-2.0"
] | null | null | null | CLIENT_ID = "57d1cc14-cb8e-4d52-a6ba-6f86445999f7"
| 25.5 | 50 | 0.803922 | 7 | 51 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0.058824 | 51 | 1 | 51 | 51 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0.705882 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c02c1543fd904dc486a1a44fee1d58bafcb37435 | 1,787 | py | Python | tests/write-tests/test_findpeaks.py | focolab/gcamp-extractor | 5e47ab2cfb75e3f09cfd84d40d8be0739a75d39c | [
"MIT"
] | null | null | null | tests/write-tests/test_findpeaks.py | focolab/gcamp-extractor | 5e47ab2cfb75e3f09cfd84d40d8be0739a75d39c | [
"MIT"
] | 26 | 2022-03-01T17:34:45.000Z | 2022-03-31T00:09:55.000Z | tests/write-tests/test_findpeaks.py | focolab/gcamp-extractor | 5e47ab2cfb75e3f09cfd84d40d8be0739a75d39c | [
"MIT"
] | null | null | null | import numpy as np
from eats_worm.segfunctions import *
from sklearn.datasets import make_blobs
# generate three points, use them as bright voxels in image, and verify that they are detected
def test_findpeaks2d():
image = np.zeros((25, 25))
samples, labels, blob_centers = make_blobs(n_samples=3, centers=3, n_... | 51.057143 | 125 | 0.688864 | 277 | 1,787 | 4.216607 | 0.245487 | 0.131849 | 0.061644 | 0.077055 | 0.761986 | 0.739726 | 0.739726 | 0.738014 | 0.714041 | 0.714041 | 0 | 0.040972 | 0.19418 | 1,787 | 35 | 126 | 51.057143 | 0.770139 | 0.103525 | 0 | 0.266667 | 1 | 0 | 0.005 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.066667 | false | 0 | 0.1 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2244c5918298088ea8deb02c94382d8e4f5b9c17 | 50 | py | Python | icu_mortality/main.py | RJBeetel3/mimic3_analysis | 5267a9cc9037da431bb257d157df8e00fab2d295 | [
"MIT"
] | 2 | 2018-11-27T07:47:10.000Z | 2020-03-02T07:45:06.000Z | icu_mortality/main.py | RJBeetel3/mimic3_analysis | 5267a9cc9037da431bb257d157df8e00fab2d295 | [
"MIT"
] | 1 | 2018-12-03T18:04:27.000Z | 2018-12-05T20:38:14.000Z | icu_mortality/main.py | RJBeetel3/mimic3_analysis | 5267a9cc9037da431bb257d157df8e00fab2d295 | [
"MIT"
] | 1 | 2018-03-10T23:23:17.000Z | 2018-03-10T23:23:17.000Z | import ptnt_demog
ptnt_demog.import_demog_data() | 12.5 | 30 | 0.86 | 8 | 50 | 4.875 | 0.5 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 4 | 30 | 12.5 | 0.847826 | 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 |
2257be6087e7bd6f98fa803ffb8471795796450b | 100 | py | Python | tienda/stores/models/__init__.py | Ricardokaro/tienda | 3b94d4e661da583dc4026ed6fd422d1f03a25bc3 | [
"MIT"
] | null | null | null | tienda/stores/models/__init__.py | Ricardokaro/tienda | 3b94d4e661da583dc4026ed6fd422d1f03a25bc3 | [
"MIT"
] | 2 | 2022-03-01T10:04:17.000Z | 2022-03-02T10:04:09.000Z | tienda/stores/models/__init__.py | Ricardokaro/tienda | 3b94d4e661da583dc4026ed6fd422d1f03a25bc3 | [
"MIT"
] | null | null | null | from .stores import *
from .products import *
from .shopping import *
from .purchase_detail import * | 25 | 30 | 0.77 | 13 | 100 | 5.846154 | 0.538462 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 4 | 30 | 25 | 0.894118 | 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 |
97de1b28a40c0e13e41f29557408d1385695ddcc | 38 | py | Python | skypelib/__init__.py | delan/skrollback | fa86c4a984a02581980ff9aad5d3c18ffd1c828f | [
"0BSD"
] | null | null | null | skypelib/__init__.py | delan/skrollback | fa86c4a984a02581980ff9aad5d3c18ffd1c828f | [
"0BSD"
] | null | null | null | skypelib/__init__.py | delan/skrollback | fa86c4a984a02581980ff9aad5d3c18ffd1c828f | [
"0BSD"
] | null | null | null | #!/usr/bin/env python
import monitor
| 9.5 | 21 | 0.736842 | 6 | 38 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 3 | 22 | 12.666667 | 0.848485 | 0.526316 | 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 |
3f09d40834a622200ad971def26d275c5b003034 | 89 | py | Python | info/modules/index/__init__.py | moonbria/test1 | 05893bd91d416ca4093e4619ede427434fa665cc | [
"MIT"
] | null | null | null | info/modules/index/__init__.py | moonbria/test1 | 05893bd91d416ca4093e4619ede427434fa665cc | [
"MIT"
] | null | null | null | info/modules/index/__init__.py | moonbria/test1 | 05893bd91d416ca4093e4619ede427434fa665cc | [
"MIT"
] | null | null | null | from flask import Blueprint
index_blu = Blueprint("index", __name__)
from .views import * | 29.666667 | 40 | 0.786517 | 12 | 89 | 5.416667 | 0.666667 | 0.430769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 89 | 3 | 41 | 29.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
3f115cb244168a74e406e9bf962b67347276cc64 | 788 | py | Python | tests/test_get_month.py | datalab42/kyd-downloader | 5de439d41998a6035527d0a6dfe8acded2798bfc | [
"MIT"
] | 2 | 2020-09-28T03:32:15.000Z | 2020-12-13T02:38:17.000Z | tests/test_get_month.py | datalab42/kyd-downloader | 5de439d41998a6035527d0a6dfe8acded2798bfc | [
"MIT"
] | 2 | 2020-08-17T22:30:42.000Z | 2021-03-31T19:47:37.000Z | tests/test_get_month.py | datalab42/kyd-downloader | 5de439d41998a6035527d0a6dfe8acded2798bfc | [
"MIT"
] | 5 | 2020-07-21T20:14:00.000Z | 2021-09-09T07:59:09.000Z |
import sys
sys.path.append('../functions/')
from datetime import date
from kyd.data.downloaders import get_month
def test_get_month():
assert get_month(date(2020, 7, 4), 0) == date(2020, 7, 1)
assert get_month(date(2020, 7, 4), -1) == date(2020, 6, 1)
assert get_month(date(2020, 7, 4), -2) == d... | 41.473684 | 64 | 0.596447 | 141 | 788 | 3.241135 | 0.219858 | 0.297593 | 0.21663 | 0.393873 | 0.544858 | 0.544858 | 0.544858 | 0.492341 | 0 | 0 | 0 | 0.213141 | 0.208122 | 788 | 18 | 65 | 43.777778 | 0.519231 | 0 | 0 | 0 | 0 | 0 | 0.016905 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.066667 | true | 0 | 0.2 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
58bb964a449c2838da0974b566bb6067d7da8a97 | 102 | py | Python | pyqt_image_file_explorer_table_widget/__init__.py | yjg30737/pyqt-image-file-explorer | 1971a9e985e4d40b2ff5e8b196a696bb89b8e4f2 | [
"MIT"
] | 2 | 2022-02-12T13:13:51.000Z | 2022-02-23T12:08:57.000Z | pyqt_image_file_explorer_table_widget/__init__.py | yjg30737/pyqt-image-file-explorer | 1971a9e985e4d40b2ff5e8b196a696bb89b8e4f2 | [
"MIT"
] | null | null | null | pyqt_image_file_explorer_table_widget/__init__.py | yjg30737/pyqt-image-file-explorer | 1971a9e985e4d40b2ff5e8b196a696bb89b8e4f2 | [
"MIT"
] | null | null | null | from .imageFileExplorerTableWidget import *
from .imageLabelWidget import *
from .imageWidget import * | 34 | 43 | 0.833333 | 9 | 102 | 9.444444 | 0.555556 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 102 | 3 | 44 | 34 | 0.934066 | 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 |
18c9420c63433008ef5ed3442c15e9c6734641c1 | 10,417 | py | Python | src/eve_esi_jobs/examples/work_orders.py | DonalChilde/eve-esi | 8050e988a5460aa3dc97e573880fcda7243026da | [
"MIT"
] | null | null | null | src/eve_esi_jobs/examples/work_orders.py | DonalChilde/eve-esi | 8050e988a5460aa3dc97e573880fcda7243026da | [
"MIT"
] | null | null | null | src/eve_esi_jobs/examples/work_orders.py | DonalChilde/eve-esi | 8050e988a5460aa3dc97e573880fcda7243026da | [
"MIT"
] | null | null | null | import logging
from eve_esi_jobs import models
from eve_esi_jobs.examples.jobs import get_markets_region_id_history
logger = logging.getLogger(__name__)
logger.addHandler(logging.NullHandler())
def example_workorder():
region_id = 10000002
type_id = 34
work_order = models.EsiWorkOrder(
name="ex... | 31.953988 | 106 | 0.586157 | 1,221 | 10,417 | 4.670762 | 0.093366 | 0.061722 | 0.035069 | 0.044187 | 0.865159 | 0.829739 | 0.822199 | 0.809048 | 0.780992 | 0.768894 | 0 | 0.016867 | 0.305654 | 10,417 | 325 | 107 | 32.052308 | 0.771602 | 0 | 0 | 0.557047 | 0 | 0 | 0.378004 | 0.180446 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026846 | false | 0 | 0.010067 | 0 | 0.063758 | 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 |
18d3dcf9810646a4ddaf4314d906003756ef779d | 5,089 | py | Python | distla/distla_core/distla_core/blas/summa/test_summa.py | google/distla_core | 7f0d8ab7b847a75e0fc713627488643a8984712a | [
"Apache-2.0"
] | 2 | 2021-12-19T21:17:06.000Z | 2021-12-25T09:19:47.000Z | distla/distla_core/distla_core/blas/summa/test_summa.py | google/distla_core | 7f0d8ab7b847a75e0fc713627488643a8984712a | [
"Apache-2.0"
] | null | null | null | distla/distla_core/distla_core/blas/summa/test_summa.py | google/distla_core | 7f0d8ab7b847a75e0fc713627488643a8984712a | [
"Apache-2.0"
] | 1 | 2021-12-25T09:19:56.000Z | 2021-12-25T09:19:56.000Z | # Copyright 2021 The Distla Authors. All Rights Reserved.
#
# 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 ... | 31.41358 | 79 | 0.706033 | 783 | 5,089 | 4.422733 | 0.195402 | 0.069882 | 0.072769 | 0.043893 | 0.743575 | 0.734334 | 0.730869 | 0.730869 | 0.730869 | 0.730869 | 0 | 0.0118 | 0.150717 | 5,089 | 161 | 80 | 31.608696 | 0.789449 | 0.141089 | 0 | 0.737705 | 0 | 0 | 0.022989 | 0 | 0 | 0 | 0 | 0 | 0.02459 | 1 | 0.057377 | false | 0 | 0.065574 | 0 | 0.122951 | 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 |
e12f613748d1b4bd07846bff1d2a6754cba591af | 2,231 | py | Python | anndata/tests/test_inplace_subset.py | czbiohub/anndata | e65b3f7e11c304b75fbfc17956f5adc0d8715a2f | [
"BSD-3-Clause"
] | null | null | null | anndata/tests/test_inplace_subset.py | czbiohub/anndata | e65b3f7e11c304b75fbfc17956f5adc0d8715a2f | [
"BSD-3-Clause"
] | null | null | null | anndata/tests/test_inplace_subset.py | czbiohub/anndata | e65b3f7e11c304b75fbfc17956f5adc0d8715a2f | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import pytest
from sklearn.utils.testing import assert_array_equal
from scipy import sparse
from anndata.tests.helpers import gen_adata, subset_func, asarray
@pytest.fixture(
params=[np.array, sparse.csr_matrix, sparse.csc_matrix],
ids=["np_array", "scipy_csr", "scipy_csc"],
)
def matrix_t... | 32.808824 | 76 | 0.69117 | 320 | 2,231 | 4.5375 | 0.171875 | 0.110193 | 0.165289 | 0.158402 | 0.763085 | 0.763085 | 0.725895 | 0.725895 | 0.725895 | 0.725895 | 0 | 0.004454 | 0.19498 | 2,231 | 67 | 77 | 33.298507 | 0.804009 | 0.011206 | 0 | 0.509091 | 0 | 0 | 0.011797 | 0 | 0 | 0 | 0 | 0.014925 | 0.272727 | 1 | 0.054545 | false | 0 | 0.090909 | 0.018182 | 0.163636 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e19976f39c9463b520075aa0c1e924fa5e5f158f | 244 | py | Python | tests/utils.py | DramatikMan/flask-practice-two | ab012172041127579f0c07296a3913ebe17f4e94 | [
"MIT"
] | null | null | null | tests/utils.py | DramatikMan/flask-practice-two | ab012172041127579f0c07296a3913ebe17f4e94 | [
"MIT"
] | null | null | null | tests/utils.py | DramatikMan/flask-practice-two | ab012172041127579f0c07296a3913ebe17f4e94 | [
"MIT"
] | null | null | null | def login(client, username, password):
payload = dict(username=username, password=password)
return client.post('/login', data=payload, follow_redirects=True)
def logout(client):
return client.get('/logout', follow_redirects=True)
| 30.5 | 69 | 0.741803 | 30 | 244 | 5.966667 | 0.5 | 0.178771 | 0.212291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127049 | 244 | 7 | 70 | 34.857143 | 0.840376 | 0 | 0 | 0 | 0 | 0 | 0.053279 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
e1a55986a33ae9963d8d26156ba0f8b801b54e4f | 118,870 | py | Python | swagger_client/models/get_characters_character_id_stats_combat.py | rseichter/bootini-star | a80258f01a05e4df38748b8cb47dfadabd42c20d | [
"MIT"
] | null | null | null | swagger_client/models/get_characters_character_id_stats_combat.py | rseichter/bootini-star | a80258f01a05e4df38748b8cb47dfadabd42c20d | [
"MIT"
] | null | null | null | swagger_client/models/get_characters_character_id_stats_combat.py | rseichter/bootini-star | a80258f01a05e4df38748b8cb47dfadabd42c20d | [
"MIT"
] | null | null | null | # coding: utf-8
"""
EVE Swagger Interface
An OpenAPI for EVE Online # noqa: E501
OpenAPI spec version: 0.8.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pprint
import re # noqa: F401
import six
class GetCharactersCharacterIdStatsCombat(object):
"""NOTE:... | 43.718279 | 3,211 | 0.744662 | 14,623 | 118,870 | 5.537851 | 0.011489 | 0.065201 | 0.092368 | 0.156705 | 0.942023 | 0.887787 | 0.813324 | 0.70673 | 0.591245 | 0.473808 | 0 | 0.01505 | 0.201245 | 118,870 | 2,718 | 3,212 | 43.734364 | 0.837838 | 0.424195 | 0 | 0.089385 | 1 | 0 | 0.128785 | 0.096896 | 0 | 0 | 0 | 0 | 0 | 1 | 0.180633 | false | 0 | 0.002793 | 0 | 0.27933 | 0.001862 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e1c9d1b82c4d4a0f8f08691c430078353e4e4c36 | 35 | py | Python | webevents/__init__.py | Zamony/webevents | af1e2ef0d62c11e547b83e47613fe4aae953d322 | [
"MIT"
] | 1 | 2019-10-07T10:57:22.000Z | 2019-10-07T10:57:22.000Z | webevents/__init__.py | Zamony/webevents | af1e2ef0d62c11e547b83e47613fe4aae953d322 | [
"MIT"
] | null | null | null | webevents/__init__.py | Zamony/webevents | af1e2ef0d62c11e547b83e47613fe4aae953d322 | [
"MIT"
] | null | null | null | from webevents.webevents import run | 35 | 35 | 0.885714 | 5 | 35 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bedf24ab7e6134db4a8bfc7ca111875a9b7fc542 | 69 | py | Python | pygrep/classes/__init__.py | sstadick/pygrep | 13c53ac427adda9974ee9e62c22391bf0682008c | [
"Apache-2.0"
] | null | null | null | pygrep/classes/__init__.py | sstadick/pygrep | 13c53ac427adda9974ee9e62c22391bf0682008c | [
"Apache-2.0"
] | null | null | null | pygrep/classes/__init__.py | sstadick/pygrep | 13c53ac427adda9974ee9e62c22391bf0682008c | [
"Apache-2.0"
] | null | null | null | from .boyerMoore import *
from .naive import *
from .helpers import * | 23 | 25 | 0.753623 | 9 | 69 | 5.777778 | 0.555556 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 69 | 3 | 26 | 23 | 0.896552 | 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 |
830f300591565e591198ac648100f9292af09d0c | 16 | py | Python | eds/openmtc-gevent/common/openmtc/lib/pyio.py | piyush82/elastest-device-emulator-service | b4d6b393d6042c54a7b3dfb5f58cad5efd00f0e7 | [
"Apache-2.0"
] | 2 | 2021-05-27T13:32:16.000Z | 2022-03-30T01:23:34.000Z | simulator/uio.py | ondiiik/meteoink | 9bc7af929de12ed5eb2fafd64fcfe447f07b6eeb | [
"MIT"
] | null | null | null | simulator/uio.py | ondiiik/meteoink | 9bc7af929de12ed5eb2fafd64fcfe447f07b6eeb | [
"MIT"
] | null | null | null | from io import * | 16 | 16 | 0.75 | 3 | 16 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 16 | 1 | 16 | 16 | 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 |
55c44922049c54857887dfdd26f888d41447d9f7 | 144 | py | Python | notes/Rest_Flask_Example/controllers/default_controller.py | microservice-tools/pixis | ce5a1ecc70732677518d21a0e876440af1245eac | [
"MIT"
] | null | null | null | notes/Rest_Flask_Example/controllers/default_controller.py | microservice-tools/pixis | ce5a1ecc70732677518d21a0e876440af1245eac | [
"MIT"
] | 21 | 2018-04-25T19:07:41.000Z | 2018-07-18T06:04:56.000Z | notes/Rest_Flask_Example/controllers/default_controller.py | microservice-tools/pixis | ce5a1ecc70732677518d21a0e876440af1245eac | [
"MIT"
] | 1 | 2018-04-23T14:44:00.000Z | 2018-04-23T14:44:00.000Z | from flask import Blueprint
default_api = Blueprint('default_api', __name__)
@default_api.route('/')
def index():
return "Hello, World!"
| 16 | 48 | 0.715278 | 18 | 144 | 5.333333 | 0.722222 | 0.3125 | 0.395833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 144 | 8 | 49 | 18 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0.173611 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3606848770d0838d3271f54ca89863b5c629b85a | 7,014 | py | Python | src/gae/fit.py | Abdumaleek/infinity-mirror | b493c5602d9e4bcf374b748e9b80e7c85be54a88 | [
"MIT"
] | 5 | 2020-03-13T02:54:03.000Z | 2022-03-18T02:33:12.000Z | src/gae/fit.py | Abdumaleek/infinity-mirror | b493c5602d9e4bcf374b748e9b80e7c85be54a88 | [
"MIT"
] | 2 | 2021-11-10T19:47:00.000Z | 2022-02-10T01:24:59.000Z | src/gae/fit.py | Abdumaleek/infinity-mirror | b493c5602d9e4bcf374b748e9b80e7c85be54a88 | [
"MIT"
] | 1 | 2021-05-24T21:54:44.000Z | 2021-05-24T21:54:44.000Z | import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
# Train on CPU (hide GPU) due to memory constraints
os.environ['CUDA_VISIBLE_DEVICES'] = "0"
import tensorflow as tf
import numpy as np
import scipy.sparse as sp
from collections import namedtuple
from src.gae.gae.optimizer import OptimizerAE, OptimizerVAE
from sr... | 37.508021 | 128 | 0.666239 | 926 | 7,014 | 4.86933 | 0.211663 | 0.025283 | 0.02994 | 0.026613 | 0.757596 | 0.750499 | 0.727878 | 0.727878 | 0.727878 | 0.727878 | 0 | 0.016691 | 0.222697 | 7,014 | 186 | 129 | 37.709677 | 0.810345 | 0.276305 | 0 | 0.78 | 0 | 0 | 0.048005 | 0 | 0 | 0 | 0 | 0 | 0.02 | 1 | 0.02 | false | 0 | 0.08 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
363b12f7744ea8bb315ebd17d2182e64416292bb | 296 | py | Python | eventsourcing/tests/example_application_tests/test_example_application_with_cassandra.py | alexanderlarin/eventsourcing | 6f2a4ded3c783ba3ee465243a48f66ecdee20f52 | [
"BSD-3-Clause"
] | 1 | 2020-02-10T08:12:31.000Z | 2020-02-10T08:12:31.000Z | eventsourcing/tests/example_application_tests/test_example_application_with_cassandra.py | alexanderlarin/eventsourcing | 6f2a4ded3c783ba3ee465243a48f66ecdee20f52 | [
"BSD-3-Clause"
] | null | null | null | eventsourcing/tests/example_application_tests/test_example_application_with_cassandra.py | alexanderlarin/eventsourcing | 6f2a4ded3c783ba3ee465243a48f66ecdee20f52 | [
"BSD-3-Clause"
] | null | null | null | from eventsourcing.tests.example_application_tests import base
from eventsourcing.tests.sequenced_item_tests.test_cassandra_record_manager import \
WithCassandraRecordManagers
class TestExampleApplicationWithCassandra(WithCassandraRecordManagers, base.ExampleApplicationTestCase):
pass
| 37 | 104 | 0.885135 | 26 | 296 | 9.807692 | 0.692308 | 0.133333 | 0.172549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077703 | 296 | 7 | 105 | 42.285714 | 0.934066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
7fd5e0f0499eab07ccf2febf733bb79921633a30 | 140 | py | Python | scrapli_community/alcatel/aos/__init__.py | ikievite/scrapli_community | b160ae6c21177c949a0b8210810ba2584b31861f | [
"MIT"
] | 37 | 2020-11-13T20:50:30.000Z | 2022-03-25T16:15:28.000Z | scrapli_community/alcatel/aos/__init__.py | ikievite/scrapli_community | b160ae6c21177c949a0b8210810ba2584b31861f | [
"MIT"
] | 84 | 2020-08-02T16:20:15.000Z | 2022-03-02T14:38:26.000Z | scrapli_community/alcatel/aos/__init__.py | ikievite/scrapli_community | b160ae6c21177c949a0b8210810ba2584b31861f | [
"MIT"
] | 25 | 2020-08-01T23:51:37.000Z | 2022-02-21T10:06:33.000Z | """scrapli_community.alcatel.aos"""
from scrapli_community.alcatel.aos.alcatel_aos import SCRAPLI_PLATFORM
__all__ = ("SCRAPLI_PLATFORM",)
| 28 | 70 | 0.814286 | 17 | 140 | 6.176471 | 0.470588 | 0.285714 | 0.438095 | 0.495238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064286 | 140 | 4 | 71 | 35 | 0.801527 | 0.207143 | 0 | 0 | 0 | 0 | 0.152381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1829ef31efdf5d293a75daffce85af63e4d2218d | 2,256 | py | Python | domaci-zadaci/06/test_trim_str.py | lukin155/skola-programiranja | 481eea1bc7429d13e006952162a8c76074fcd4dc | [
"MIT"
] | 2 | 2019-04-29T09:09:05.000Z | 2019-09-22T10:40:54.000Z | domaci-zadaci/06/test_trim_str.py | lukin155/skola-programiranja | 481eea1bc7429d13e006952162a8c76074fcd4dc | [
"MIT"
] | null | null | null | domaci-zadaci/06/test_trim_str.py | lukin155/skola-programiranja | 481eea1bc7429d13e006952162a8c76074fcd4dc | [
"MIT"
] | null | null | null | from solutions import trim_str
import random
import unittest
class TestTrimStr(unittest.TestCase):
# 0 leading spaces, 0 trailing spaces
def test_00(self):
teststr = "Test string."
expected = teststr
actual = trim_str(teststr)
self.assertEqual(expected, actual)
# 0 leadi... | 25.066667 | 98 | 0.602837 | 257 | 2,256 | 5.18677 | 0.151751 | 0.127532 | 0.087772 | 0.135034 | 0.900975 | 0.830458 | 0.830458 | 0.723181 | 0.702176 | 0.702176 | 0 | 0.029832 | 0.286791 | 2,256 | 89 | 99 | 25.348315 | 0.798633 | 0.140514 | 0 | 0.666667 | 0 | 0 | 0.116122 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.176471 | false | 0 | 0.058824 | 0 | 0.254902 | 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 |
a10223934e49c46a5f8fa785e9479044ec4407eb | 4,968 | py | Python | radbm/utils/torch/multi_bernoulli/log_arithmetic.py | duchesneaumathieu/radbm | 3d9dbad51e1bfc0bbb1a60d0aa03c99340f6930c | [
"MIT"
] | null | null | null | radbm/utils/torch/multi_bernoulli/log_arithmetic.py | duchesneaumathieu/radbm | 3d9dbad51e1bfc0bbb1a60d0aa03c99340f6930c | [
"MIT"
] | null | null | null | radbm/utils/torch/multi_bernoulli/log_arithmetic.py | duchesneaumathieu/radbm | 3d9dbad51e1bfc0bbb1a60d0aa03c99340f6930c | [
"MIT"
] | null | null | null | import torch
from radbm.utils.torch import torch_lse, torch_logsumexp
from .poisson_binomial import log_poisson_binomial
logsigmoid = torch.nn.LogSigmoid()
def multi_bernoulli_equality(xz, yz):
"""
Compute the bitwise log probability that two Multi-Bernoulli are equal.
Parameters
----------
xz... | 33.12 | 88 | 0.628623 | 726 | 4,968 | 4.217631 | 0.14876 | 0.109732 | 0.073155 | 0.07838 | 0.838668 | 0.814174 | 0.808295 | 0.806989 | 0.766166 | 0.745591 | 0 | 0.013037 | 0.274356 | 4,968 | 150 | 89 | 33.12 | 0.836338 | 0.648551 | 0 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.185185 | false | 0 | 0.111111 | 0 | 0.481481 | 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 |
a1527b32af1140ac3ee943f03e38174f0cc29cd2 | 206 | py | Python | compile.py | smathot/stimulus-sets | c4d3eca2ef0a4d82e5518a0bd26b47c7f8dd0f13 | [
"CC-BY-3.0"
] | 6 | 2015-05-20T04:28:50.000Z | 2021-05-12T23:14:51.000Z | compile.py | smathot/stimulus-sets | c4d3eca2ef0a4d82e5518a0bd26b47c7f8dd0f13 | [
"CC-BY-3.0"
] | null | null | null | compile.py | smathot/stimulus-sets | c4d3eca2ef0a4d82e5518a0bd26b47c7f8dd0f13 | [
"CC-BY-3.0"
] | 1 | 2022-01-01T13:12:17.000Z | 2022-01-01T13:12:17.000Z | #!/usr/bin/env python
#-*- coding:utf-8 -*-
from academicmarkdown import build
build.HTML(u'stimulus-sets.md', u'stimulus-sets.html', standalone=False)
build.PDF(u'stimulus-sets.md', u'stimulus-sets.pdf')
| 29.428571 | 72 | 0.73301 | 33 | 206 | 4.575758 | 0.575758 | 0.238411 | 0.344371 | 0.198676 | 0.370861 | 0.370861 | 0.370861 | 0 | 0 | 0 | 0 | 0.005236 | 0.072816 | 206 | 6 | 73 | 34.333333 | 0.78534 | 0.194175 | 0 | 0 | 0 | 0 | 0.408537 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
a1ec7295eb172a4376794f7f571a9f67a8313d45 | 154 | py | Python | tests/test_pyqt.py | yueranyuan/pyscreenshot | 3287b798691de8791bc3b3314f2545f7b0b1cb99 | [
"BSD-2-Clause"
] | null | null | null | tests/test_pyqt.py | yueranyuan/pyscreenshot | 3287b798691de8791bc3b3314f2545f7b0b1cb99 | [
"BSD-2-Clause"
] | null | null | null | tests/test_pyqt.py | yueranyuan/pyscreenshot | 3287b798691de8791bc3b3314f2545f7b0b1cb99 | [
"BSD-2-Clause"
] | null | null | null | from ref import backend_ref
from size import backend_size
def test_size_pyqt():
backend_size('pyqt')
def test_ref_pyqt():
backend_ref('pyqt')
| 14 | 29 | 0.74026 | 24 | 154 | 4.416667 | 0.333333 | 0.245283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 154 | 10 | 30 | 15.4 | 0.828125 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6294c25d3011f74d3e215080a6eab6a89131999c | 102 | py | Python | kwat/grid/get_1d_grid_resolution.py | KwatME/ccal | d96dfa811482eee067f346386a2181ec514625f4 | [
"MIT"
] | 5 | 2017-05-05T17:50:28.000Z | 2019-01-30T19:23:02.000Z | kwat/grid/get_1d_grid_resolution.py | KwatME/ccal | d96dfa811482eee067f346386a2181ec514625f4 | [
"MIT"
] | 5 | 2017-05-05T01:52:31.000Z | 2019-04-20T21:06:05.000Z | kwat/grid/get_1d_grid_resolution.py | KwatME/ccal | d96dfa811482eee067f346386a2181ec514625f4 | [
"MIT"
] | 5 | 2017-07-17T18:55:54.000Z | 2019-02-02T04:46:19.000Z | from numpy import diff, unique
def get_1d_grid_resolution(co_):
return diff(unique(co_)).min()
| 14.571429 | 34 | 0.735294 | 16 | 102 | 4.375 | 0.8125 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.156863 | 102 | 6 | 35 | 17 | 0.802326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 6 |
629cd812cedd27e70311fe2b2ad3749f50427eca | 13,006 | py | Python | inventory/inventory/doctype/inventory_validator/inventory_validator.py | riconova92/inventory | 7cc4f49bda31f802af36ee4ea6eb43092b5094a7 | [
"MIT"
] | null | null | null | inventory/inventory/doctype/inventory_validator/inventory_validator.py | riconova92/inventory | 7cc4f49bda31f802af36ee4ea6eb43092b5094a7 | [
"MIT"
] | null | null | null | inventory/inventory/doctype/inventory_validator/inventory_validator.py | riconova92/inventory | 7cc4f49bda31f802af36ee4ea6eb43092b5094a7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2015, Myme and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
form_grid_templates = {
"data_inventory_unchecked": "templates/includes/item_grid_packing_list_invento... | 41.685897 | 235 | 0.69368 | 1,978 | 13,006 | 4.199191 | 0.06724 | 0.093426 | 0.151818 | 0.093186 | 0.80785 | 0.77438 | 0.744642 | 0.737178 | 0.73164 | 0.7196 | 0 | 0.003692 | 0.208673 | 13,006 | 312 | 236 | 41.685897 | 0.803342 | 0.011994 | 0 | 0.690196 | 0 | 0.007843 | 0.104251 | 0.062052 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015686 | false | 0.003922 | 0.011765 | 0 | 0.031373 | 0.007843 | 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 |
62b0ff2afff3705e24659e9cff703915faab119e | 513 | py | Python | projecteuler/#5.py | droiddoes9/USACO | d63d07d225cebb86f3a93b5b52995fa7e81af8ee | [
"MIT"
] | null | null | null | projecteuler/#5.py | droiddoes9/USACO | d63d07d225cebb86f3a93b5b52995fa7e81af8ee | [
"MIT"
] | null | null | null | projecteuler/#5.py | droiddoes9/USACO | d63d07d225cebb86f3a93b5b52995fa7e81af8ee | [
"MIT"
] | null | null | null | num=20
while num<670442572800:
if num%20==0:
if num%19==0:
if num%18==0:
if num%17==0:
if num%16==0:
if num%15==0:
if num%14==0:
if num%13==0:
... | 32.0625 | 55 | 0.245614 | 51 | 513 | 2.470588 | 0.333333 | 0.396825 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265896 | 0.662768 | 513 | 15 | 56 | 34.2 | 0.462428 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.133333 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c53d9f85e6ecf13aef41aafe1ed282baee089c3f | 256 | py | Python | src/sample/Env.py | TestowanieAutomatyczneUG/laboratorium-9-wgulan | b69d4a04acadde0f2609fe51096d64d725da1c71 | [
"MIT"
] | null | null | null | src/sample/Env.py | TestowanieAutomatyczneUG/laboratorium-9-wgulan | b69d4a04acadde0f2609fe51096d64d725da1c71 | [
"MIT"
] | null | null | null | src/sample/Env.py | TestowanieAutomatyczneUG/laboratorium-9-wgulan | b69d4a04acadde0f2609fe51096d64d725da1c71 | [
"MIT"
] | null | null | null | class Env:
def __init__(self):
self.played = False
def getTime(self):
pass
def playWavFile(self, file):
pass
def wavWasPlayed(self):
self.played = True
def resetWav(self):
self.played = False
| 16 | 32 | 0.566406 | 29 | 256 | 4.862069 | 0.482759 | 0.170213 | 0.297872 | 0.269504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.34375 | 256 | 15 | 33 | 17.066667 | 0.839286 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0.181818 | 0 | 0 | 0.545455 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
c5622f45fb59bddf809b61abe045fa63fe69ef6b | 37 | py | Python | lxmls/my_tools.py | jnobre/lxmls-toolkit-2017 | 528da3377723cb9a048d13ac80786408d16df88d | [
"MIT"
] | null | null | null | lxmls/my_tools.py | jnobre/lxmls-toolkit-2017 | 528da3377723cb9a048d13ac80786408d16df88d | [
"MIT"
] | null | null | null | lxmls/my_tools.py | jnobre/lxmls-toolkit-2017 | 528da3377723cb9a048d13ac80786408d16df88d | [
"MIT"
] | null | null | null |
def my_print(input):
print input | 12.333333 | 20 | 0.702703 | 6 | 37 | 4.166667 | 0.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 37 | 3 | 21 | 12.333333 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3d678eb4ce540aea29f0a656acdc78871b2309e2 | 183 | py | Python | src/graph_transpiler/webdnn/backend/webgpu/kernels/atanh.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | 1 | 2021-04-09T15:55:35.000Z | 2021-04-09T15:55:35.000Z | src/graph_transpiler/webdnn/backend/webgpu/kernels/atanh.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | src/graph_transpiler/webdnn/backend/webgpu/kernels/atanh.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | from webdnn.backend.webgpu.kernels.elementwise import register_elementwise_kernel
from webdnn.graph.operators.atanh import Atanh
register_elementwise_kernel(Atanh, "y = atanh(x0);")
| 36.6 | 81 | 0.84153 | 24 | 183 | 6.25 | 0.583333 | 0.133333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.071038 | 183 | 4 | 82 | 45.75 | 0.876471 | 0 | 0 | 0 | 0 | 0 | 0.076503 | 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 |
3ded8c56091de597a0ad6ada23cca960bff7fe72 | 117 | py | Python | waffles/view/util/resource.py | IonTeLOS/wasf | 2e77dd65afffbbf1545e9ced2296dcbd0ab3c8e4 | [
"Zlib"
] | null | null | null | waffles/view/util/resource.py | IonTeLOS/wasf | 2e77dd65afffbbf1545e9ced2296dcbd0ab3c8e4 | [
"Zlib"
] | null | null | null | waffles/view/util/resource.py | IonTeLOS/wasf | 2e77dd65afffbbf1545e9ced2296dcbd0ab3c8e4 | [
"Zlib"
] | null | null | null | from waffles import ROOT_DIR
def get_path(resource_path):
return ROOT_DIR + '/view/resources/' + resource_path
| 19.5 | 56 | 0.760684 | 17 | 117 | 4.941176 | 0.705882 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 117 | 5 | 57 | 23.4 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b18cd19402d66356499413f2e5fd1199b44f4519 | 3,005 | py | Python | commands.py | Treeniks/Vinimum | 77c484125b38aca3a8d8010e60a0a5b1f6a769f9 | [
"Vim"
] | null | null | null | commands.py | Treeniks/Vinimum | 77c484125b38aca3a8d8010e60a0a5b1f6a769f9 | [
"Vim"
] | null | null | null | commands.py | Treeniks/Vinimum | 77c484125b38aca3a8d8010e60a0a5b1f6a769f9 | [
"Vim"
] | null | null | null | import sublime
import Vinimum.vinimum as vinimum
class Command:
def __init__(self, view):
self.view = view
def run(self):
pass
def repeatable(self):
return True
# i
class InsertCommand(Command):
def run(self):
vinimum.enter_sublime_mode()
# technically repeatable... | 26.830357 | 116 | 0.671547 | 369 | 3,005 | 5.368564 | 0.184282 | 0.05048 | 0.05048 | 0.077234 | 0.734982 | 0.734982 | 0.734982 | 0.734982 | 0.688541 | 0.688541 | 0 | 0 | 0.225624 | 3,005 | 111 | 117 | 27.072072 | 0.851311 | 0.227288 | 0 | 0.492308 | 0 | 0 | 0.151264 | 0.047951 | 0 | 0 | 0 | 0 | 0 | 1 | 0.276923 | false | 0.015385 | 0.030769 | 0.107692 | 0.569231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
491699f8e4d47893e3e5ee5661274f798a5ac2d2 | 1,299 | py | Python | migration/migrator/migrations/course/20200131192137_office_hours_queue_queue_tokens.py | zeez2030/Submitty | 7118944ff4adc6f15d76984eb10a1e862926d724 | [
"BSD-3-Clause"
] | 411 | 2016-06-14T20:52:25.000Z | 2022-03-31T21:20:25.000Z | migration/migrator/migrations/course/20200131192137_office_hours_queue_queue_tokens.py | KaelanWillauer/Submitty | cf9b6ceda15ec0a661e2ca81ea7864790094c64a | [
"BSD-3-Clause"
] | 5,730 | 2016-05-23T21:04:32.000Z | 2022-03-31T10:08:06.000Z | migration/migrator/migrations/course/20200131192137_office_hours_queue_queue_tokens.py | KaelanWillauer/Submitty | cf9b6ceda15ec0a661e2ca81ea7864790094c64a | [
"BSD-3-Clause"
] | 423 | 2016-09-22T21:11:30.000Z | 2022-03-29T18:55:28.000Z | """Migration for a given Submitty course database."""
def up(config, database, semester, course):
"""
Run up migration.
:param config: Object holding configuration details about Submitty
:type config: migrator.config.Config
:param database: Object for interacting with given database for environme... | 35.108108 | 110 | 0.724403 | 164 | 1,299 | 5.707317 | 0.310976 | 0.047009 | 0.081197 | 0.098291 | 0.767094 | 0.700855 | 0.700855 | 0.700855 | 0.700855 | 0.700855 | 0 | 0 | 0.197845 | 1,299 | 36 | 111 | 36.083333 | 0.898273 | 0.622017 | 0 | 0 | 0 | 0 | 0.526854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
493669c55b08d9d78d4f4133d5c02379f318d478 | 28 | py | Python | src/infrastructure/queries/__init__.py | nedagarmo/Libraries | 7618bd329593684d475a9e64a38409ffb30697df | [
"Apache-2.0"
] | null | null | null | src/infrastructure/queries/__init__.py | nedagarmo/Libraries | 7618bd329593684d475a9e64a38409ffb30697df | [
"Apache-2.0"
] | null | null | null | src/infrastructure/queries/__init__.py | nedagarmo/Libraries | 7618bd329593684d475a9e64a38409ffb30697df | [
"Apache-2.0"
] | null | null | null | from .book import BookQuery
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4941cb411d40a7842537c22584e826b47c2972c5 | 35 | py | Python | negate.py | bourneagain/pythonBytes | be115162147e52718aacbfb9cd2763aa02754f28 | [
"MIT"
] | 1 | 2017-05-29T02:02:27.000Z | 2017-05-29T02:02:27.000Z | negate.py | bourneagain/pythonBytes | be115162147e52718aacbfb9cd2763aa02754f28 | [
"MIT"
] | null | null | null | negate.py | bourneagain/pythonBytes | be115162147e52718aacbfb9cd2763aa02754f28 | [
"MIT"
] | null | null | null | def negate(n):
print negate(n)
| 5.833333 | 15 | 0.628571 | 6 | 35 | 3.666667 | 0.666667 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 35 | 5 | 16 | 7 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
494bcfb5124aa77ecfc60bc145d664dd5077a142 | 2,210 | py | Python | pypeln/task/api/each_task_test.py | quarckster/pypeln | f4160d0f4d4718b67f79a0707d7261d249459a4b | [
"MIT"
] | 1,281 | 2018-09-20T05:35:27.000Z | 2022-03-30T01:29:48.000Z | pypeln/task/api/each_task_test.py | webclinic017/pypeln | 5231806f2cac9d2019dacbbcf913484fd268b8c1 | [
"MIT"
] | 78 | 2018-09-18T20:38:12.000Z | 2022-03-30T20:16:02.000Z | pypeln/task/api/each_task_test.py | webclinic017/pypeln | 5231806f2cac9d2019dacbbcf913484fd268b8c1 | [
"MIT"
] | 88 | 2018-09-24T10:46:14.000Z | 2022-03-28T09:34:50.000Z | import sys
import time
import typing as tp
from unittest import TestCase
import hypothesis as hp
from hypothesis import strategies as st
import pypeln as pl
MAX_EXAMPLES = 10
T = tp.TypeVar("T")
class TestEach(TestCase):
@hp.given(nums=st.lists(st.integers()))
@hp.settings(max_examples=MAX_EXAMPLES)
de... | 24.285714 | 59 | 0.614027 | 336 | 2,210 | 3.872024 | 0.14881 | 0.106072 | 0.096849 | 0.059954 | 0.823982 | 0.823982 | 0.823982 | 0.823982 | 0.823982 | 0.823982 | 0 | 0.003109 | 0.272398 | 2,210 | 90 | 60 | 24.555556 | 0.80597 | 0 | 0 | 0.610169 | 0 | 0 | 0.000452 | 0 | 0 | 0 | 0 | 0 | 0.20339 | 1 | 0.050847 | false | 0 | 0.118644 | 0 | 0.186441 | 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 |
49679d9e5f4642bf7fa2b1598dcba6c0d3c2e196 | 318 | py | Python | Codewars/8kyu/tip-calculator/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/tip-calculator/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/tip-calculator/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 2.7.6
Test.assert_equals(calculate_tip(30, 'poor'), 2)
Test.assert_equals(calculate_tip(20, 'Excellent'), 4)
Test.assert_equals(calculate_tip(20, 'hi'), 'Rating not recognised')
Test.assert_equals(calculate_tip(107.65, 'GReat'), 17)
Test.assert_equals(calculate_tip(20, 'great!'), 'Rating not recognised')
| 39.75 | 72 | 0.751572 | 49 | 318 | 4.673469 | 0.44898 | 0.218341 | 0.349345 | 0.545852 | 0.637555 | 0.393013 | 0 | 0 | 0 | 0 | 0 | 0.068027 | 0.075472 | 318 | 7 | 73 | 45.428571 | 0.710884 | 0.044025 | 0 | 0 | 0 | 0 | 0.225166 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b8fdaf2a00677033fbbf3dca34355d8b3b057cf2 | 170 | py | Python | holocron/nn/modules/__init__.py | frgfm/torch-zoo | c97beacf3d49eaa34398abf47f378ea6b48a70f3 | [
"Apache-2.0"
] | null | null | null | holocron/nn/modules/__init__.py | frgfm/torch-zoo | c97beacf3d49eaa34398abf47f378ea6b48a70f3 | [
"Apache-2.0"
] | null | null | null | holocron/nn/modules/__init__.py | frgfm/torch-zoo | c97beacf3d49eaa34398abf47f378ea6b48a70f3 | [
"Apache-2.0"
] | null | null | null | from .activation import *
from .attention import *
from .conv import *
from .downsample import *
from .dropblock import *
from .lambda_layer import *
from .loss import *
| 21.25 | 27 | 0.752941 | 22 | 170 | 5.772727 | 0.454545 | 0.472441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164706 | 170 | 7 | 28 | 24.285714 | 0.894366 | 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 |
7702a30764fc1236bf22446e9cd8a3b920aaa84b | 35 | py | Python | samples/import_lib.py | codes1gn/gemini | 4b173ea583f2578244d1d0fb482ccb77818f7558 | [
"MIT"
] | null | null | null | samples/import_lib.py | codes1gn/gemini | 4b173ea583f2578244d1d0fb482ccb77818f7558 | [
"MIT"
] | null | null | null | samples/import_lib.py | codes1gn/gemini | 4b173ea583f2578244d1d0fb482ccb77818f7558 | [
"MIT"
] | null | null | null | def do_print():
print('hello')
| 11.666667 | 18 | 0.6 | 5 | 35 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 2 | 19 | 17.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
773e1e8274d2f21928ab32b326dbd5f1422bbaef | 201 | py | Python | pyaop/aspects/aspect_manager.py | stonewell/python-aop | 563f41187f8f4d84e09344569541f985ffe90c6f | [
"MIT"
] | null | null | null | pyaop/aspects/aspect_manager.py | stonewell/python-aop | 563f41187f8f4d84e09344569541f985ffe90c6f | [
"MIT"
] | null | null | null | pyaop/aspects/aspect_manager.py | stonewell/python-aop | 563f41187f8f4d84e09344569541f985ffe90c6f | [
"MIT"
] | null | null | null | class AspectManager(object):
def __init__(self):
super(AspectManager, self).__init__()
def get_module_hooker(self, name):
return None
def load_aspects(self):
pass
| 20.1 | 45 | 0.646766 | 23 | 201 | 5.173913 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258706 | 201 | 9 | 46 | 22.333333 | 0.798658 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0 | 0.142857 | 0.714286 | 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 |
775e1a04595ea17b577520e917d68cc6ebd99e11 | 25 | py | Python | cflearn/misc/__init__.py | carefree0910/carefree-learn | 2043812afbe9c56f01ec1639961736313ee062ba | [
"MIT"
] | 400 | 2020-07-05T18:55:49.000Z | 2022-02-21T02:33:08.000Z | cflow/misc/__init__.py | carefree0910/carefree-flow | 7035015a072cf8142074d01683889f90950d2939 | [
"MIT"
] | 82 | 2020-08-01T13:29:38.000Z | 2021-10-09T07:13:44.000Z | cflearn/misc/__init__.py | carefree0910/carefree-learn | 2043812afbe9c56f01ec1639961736313ee062ba | [
"MIT"
] | 34 | 2020-07-05T21:15:34.000Z | 2021-12-20T08:45:17.000Z | from .internal_ import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 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 |
620a5ac5dd61aa27da74339e0a7d30b1abcfc2f6 | 2,604 | py | Python | rul_features/computed_features/basic_statistical.py | inovex/RCIS2021-degradation-bearing-vessels | 27bd1a2e3f08c5b42011596aa98e5ac627a416d6 | [
"MIT"
] | 2 | 2021-06-21T11:40:38.000Z | 2021-12-29T02:40:30.000Z | rul_features/computed_features/basic_statistical.py | chenzhengkun7/RCIS2021-degradation-estimation-bearing-vessels | 27bd1a2e3f08c5b42011596aa98e5ac627a416d6 | [
"MIT"
] | 2 | 2021-04-08T11:30:28.000Z | 2021-04-12T06:41:31.000Z | rul_features/computed_features/basic_statistical.py | chenzhengkun7/RCIS2021-degradation-estimation-bearing-vessels | 27bd1a2e3f08c5b42011596aa98e5ac627a416d6 | [
"MIT"
] | 2 | 2021-06-21T11:40:43.000Z | 2021-12-29T02:36:51.000Z | """
Contains all basic statistical features that can be computed from one observation.
"""
import pandas as pd
import numpy as np
import tsfresh.feature_extraction.feature_calculators as tsf
import math
np.seterr('raise')
"""
Vibration Features:
- Basic statistical
- Entropy features
- frequency features
"""
# ... | 29.931034 | 88 | 0.767665 | 363 | 2,604 | 5.206612 | 0.212121 | 0.304762 | 0.2 | 0.228571 | 0.634921 | 0.528571 | 0.492063 | 0.397884 | 0.258201 | 0.15873 | 0 | 0.008889 | 0.135945 | 2,604 | 87 | 89 | 29.931034 | 0.831111 | 0.057988 | 0 | 0.068182 | 0 | 0 | 0.005525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318182 | false | 0 | 0.090909 | 0.25 | 0.795455 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
62374556130d0603903be3bb4706b60820b9639b | 48,191 | py | Python | tests/hikari/impl/test_event_manager.py | IkBenOlie5/hikari | 09502f05427ad92b05103bd1a56533296a593755 | [
"MIT"
] | null | null | null | tests/hikari/impl/test_event_manager.py | IkBenOlie5/hikari | 09502f05427ad92b05103bd1a56533296a593755 | [
"MIT"
] | 34 | 2021-10-01T17:08:11.000Z | 2022-03-29T02:21:07.000Z | tests/hikari/impl/test_event_manager.py | IkBenOlie5/hikari | 09502f05427ad92b05103bd1a56533296a593755 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2020 Nekokatt
# Copyright (c) 2021 davfsa
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the right... | 44.497692 | 120 | 0.760204 | 6,134 | 48,191 | 5.514998 | 0.044506 | 0.111384 | 0.072364 | 0.090455 | 0.909516 | 0.897071 | 0.866948 | 0.841467 | 0.785096 | 0.711963 | 0 | 0.011018 | 0.163765 | 48,191 | 1,082 | 121 | 44.538817 | 0.828432 | 0.022743 | 0 | 0.468586 | 0 | 0 | 0.014594 | 0.001933 | 0 | 0 | 0 | 0 | 0.304974 | 1 | 0.006545 | false | 0 | 0.017016 | 0.002618 | 0.030105 | 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 |
6251ec0dcf2dd0fe1afe67fa6c9fb6c4b36072f0 | 93 | py | Python | src/__init__.py | spitis/PyIndex | b4719440a4ff8e439d570a79067fd5e0eb66b7c0 | [
"MIT"
] | 14 | 2016-12-30T16:51:37.000Z | 2022-02-13T17:27:48.000Z | src/__init__.py | spitis/PyIndex | b4719440a4ff8e439d570a79067fd5e0eb66b7c0 | [
"MIT"
] | null | null | null | src/__init__.py | spitis/PyIndex | b4719440a4ff8e439d570a79067fd5e0eb66b7c0 | [
"MIT"
] | 3 | 2018-10-11T18:59:55.000Z | 2019-05-31T12:47:57.000Z | from .indices import *
from .postings import *
from .manager import *
from .swhoosh import *
| 18.6 | 23 | 0.741935 | 12 | 93 | 5.75 | 0.5 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 4 | 24 | 23.25 | 0.896104 | 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 |
625562a8891aaf23e953f5dc08e988873f0a439c | 10,314 | py | Python | python/stg/models.py | runopti/s | 6e642a46de625cbd7a333c1c70fa7a9bee82f717 | [
"MIT"
] | 55 | 2020-08-06T22:31:53.000Z | 2022-03-21T03:21:10.000Z | python/stg/models.py | runopti/s | 6e642a46de625cbd7a333c1c70fa7a9bee82f717 | [
"MIT"
] | 1 | 2020-09-20T07:05:00.000Z | 2020-09-20T07:05:00.000Z | python/stg/models.py | runopti/s | 6e642a46de625cbd7a333c1c70fa7a9bee82f717 | [
"MIT"
] | 10 | 2020-07-10T23:21:14.000Z | 2022-01-28T20:35:45.000Z | import torch.nn as nn
import torch
import math
import numpy as np
from torch.autograd import Variable
from .layers import MLPLayer, FeatureSelector, GatingLayer
from .losses import PartialLogLikelihood
__all__ = ['MLPModel', 'MLPRegressionModel', 'MLPClassificationModel', 'LinearRegressionModel', 'LinearClassificati... | 38.059041 | 124 | 0.63632 | 1,234 | 10,314 | 5.058347 | 0.106159 | 0.047421 | 0.026914 | 0.032682 | 0.800064 | 0.78933 | 0.755207 | 0.745434 | 0.716597 | 0.716597 | 0 | 0.005714 | 0.253345 | 10,314 | 271 | 125 | 38.059041 | 0.804831 | 0.009502 | 0 | 0.663507 | 0 | 0 | 0.016085 | 0.006669 | 0 | 0 | 0 | 0.00369 | 0 | 1 | 0.161137 | false | 0 | 0.033175 | 0.028436 | 0.407583 | 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 |
627b26ea291145821c22507edb77dbb60f152f3b | 50 | py | Python | aparent/predictor/__init__.py | 876lkj/APARENT | 5c8b9c038a46b129b5e0e5ce1453c4725b62322e | [
"MIT"
] | 20 | 2019-04-23T20:35:23.000Z | 2022-02-02T02:07:06.000Z | aparent/predictor/__init__.py | JoshuaChou2018/aparent | 5c8b9c038a46b129b5e0e5ce1453c4725b62322e | [
"MIT"
] | 6 | 2019-10-14T16:35:00.000Z | 2021-03-24T17:55:07.000Z | aparent/predictor/__init__.py | JoshuaChou2018/aparent | 5c8b9c038a46b129b5e0e5ce1453c4725b62322e | [
"MIT"
] | 11 | 2019-06-10T08:53:57.000Z | 2021-01-25T00:54:59.000Z | from aparent.predictor.aparent_predictor import *
| 25 | 49 | 0.86 | 6 | 50 | 7 | 0.666667 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.913043 | 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 |
659ee65a9d696fac693364cd7f98e79b8f70d9a8 | 41 | py | Python | pycow/__init__.py | p2k/PyCow | 1e2c9a16a9402d9ad4ade8d2fe352bf80606d5e2 | [
"Apache-2.0"
] | 9 | 2015-04-10T10:54:34.000Z | 2019-08-21T23:18:42.000Z | pycow/__init__.py | p2k/PyCow | 1e2c9a16a9402d9ad4ade8d2fe352bf80606d5e2 | [
"Apache-2.0"
] | null | null | null | pycow/__init__.py | p2k/PyCow | 1e2c9a16a9402d9ad4ade8d2fe352bf80606d5e2 | [
"Apache-2.0"
] | 3 | 2017-06-13T08:01:01.000Z | 2021-06-30T08:06:09.000Z |
from pycow import *
from utils import *
| 10.25 | 19 | 0.731707 | 6 | 41 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 41 | 3 | 20 | 13.666667 | 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 |
65c432a2e3d4f38ce8106294845b190fecfba0a3 | 88 | py | Python | utilities.py | epf02013/5sale | 2ad7efbaa57be37368e8b3d99104511295b570c9 | [
"Apache-2.0"
] | null | null | null | utilities.py | epf02013/5sale | 2ad7efbaa57be37368e8b3d99104511295b570c9 | [
"Apache-2.0"
] | null | null | null | utilities.py | epf02013/5sale | 2ad7efbaa57be37368e8b3d99104511295b570c9 | [
"Apache-2.0"
] | null | null | null | from flask import session
def calc_index(time) :
return time.hour*2+(time.minute/30)
| 14.666667 | 36 | 0.75 | 15 | 88 | 4.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 0.136364 | 88 | 5 | 37 | 17.6 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
02b2d44fc78cb452246348774b786d1ace97a208 | 207 | py | Python | src/sage/dynamics/complex_dynamics/all.py | bopopescu/sage | 2d495be78e0bdc7a0a635454290b27bb4f5f70f0 | [
"BSL-1.0"
] | 3 | 2019-07-15T13:48:24.000Z | 2019-11-08T12:31:43.000Z | src/sage/dynamics/complex_dynamics/all.py | bopopescu/sage | 2d495be78e0bdc7a0a635454290b27bb4f5f70f0 | [
"BSL-1.0"
] | 2 | 2018-10-30T13:40:20.000Z | 2020-07-23T12:13:30.000Z | src/sage/dynamics/complex_dynamics/all.py | bopopescu/sage | 2d495be78e0bdc7a0a635454290b27bb4f5f70f0 | [
"BSL-1.0"
] | 7 | 2021-11-08T10:01:59.000Z | 2022-03-03T11:25:52.000Z | from __future__ import absolute_import
from sage.misc.lazy_import import lazy_import
lazy_import("sage.dynamics.complex_dynamics.mandel_julia",
["mandelbrot_plot", "external_ray", "julia_plot"])
| 41.4 | 62 | 0.78744 | 27 | 207 | 5.555556 | 0.555556 | 0.2 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 207 | 4 | 63 | 51.75 | 0.819672 | 0 | 0 | 0 | 0 | 0 | 0.386473 | 0.207729 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f30613926c3b4a0d6d5052d965cbb9eb37a99caf | 59 | py | Python | onyx/database/guild.py | mudkipdev/onyx | 333d23c1f83bb2f69a9f570ce874b9d05dc2edda | [
"MIT"
] | null | null | null | onyx/database/guild.py | mudkipdev/onyx | 333d23c1f83bb2f69a9f570ce874b9d05dc2edda | [
"MIT"
] | null | null | null | onyx/database/guild.py | mudkipdev/onyx | 333d23c1f83bb2f69a9f570ce874b9d05dc2edda | [
"MIT"
] | null | null | null | import discord
class CustomGuild(discord.Guild):
pass
| 11.8 | 33 | 0.762712 | 7 | 59 | 6.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 59 | 4 | 34 | 14.75 | 0.918367 | 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 |
f31e08d6345a417d5c8f81582a0d47a1deb30000 | 42 | py | Python | brutejudge/http/base.py | sleirsgoevy/brutejudge | 7ffe685c2e424e1b14ae1c27cc2fd0a25751c40e | [
"MIT"
] | 1 | 2021-02-04T00:56:17.000Z | 2021-02-04T00:56:17.000Z | brutejudge/http/base.py | sleirsgoevy/brutejudge | 7ffe685c2e424e1b14ae1c27cc2fd0a25751c40e | [
"MIT"
] | 1 | 2019-11-11T00:31:03.000Z | 2019-12-24T19:57:04.000Z | brutejudge/http/base.py | sleirsgoevy/brutejudge | 7ffe685c2e424e1b14ae1c27cc2fd0a25751c40e | [
"MIT"
] | null | null | null | from brutejudge._http.base import Backend
| 21 | 41 | 0.857143 | 6 | 42 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.921053 | 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 |
b8359c25087cbb4d85d635f015a274407d344c13 | 3,803 | py | Python | tests/utils_tests/test_inspect.py | jpmallarino/django | 659d2421c7adbbcd205604002d521d82d6b0b465 | [
"BSD-3-Clause",
"0BSD"
] | 16 | 2019-08-10T12:24:06.000Z | 2020-05-21T09:11:14.000Z | tests/utils_tests/test_inspect.py | jpmallarino/django | 659d2421c7adbbcd205604002d521d82d6b0b465 | [
"BSD-3-Clause",
"0BSD"
] | 12 | 2019-08-10T11:55:29.000Z | 2020-05-21T04:46:30.000Z | tests/utils_tests/test_inspect.py | jpmallarino/django | 659d2421c7adbbcd205604002d521d82d6b0b465 | [
"BSD-3-Clause",
"0BSD"
] | 3 | 2019-08-20T13:29:34.000Z | 2020-01-30T22:05:10.000Z | import unittest
from django.utils import inspect
class Person:
def no_arguments(self):
return None
def one_argument(self, something):
return something
def just_args(self, *args):
return args
def all_kinds(self, name, address="home", age=25, *args, **kwargs):
return ... | 36.92233 | 87 | 0.66579 | 452 | 3,803 | 5.236726 | 0.106195 | 0.091255 | 0.144487 | 0.076046 | 0.841994 | 0.836924 | 0.812421 | 0.806506 | 0.777778 | 0.720321 | 0 | 0.002697 | 0.220089 | 3,803 | 102 | 88 | 37.284314 | 0.795347 | 0 | 0 | 0.321429 | 0 | 0 | 0.028925 | 0 | 0 | 0 | 0 | 0 | 0.309524 | 1 | 0.178571 | false | 0 | 0.02381 | 0.059524 | 0.285714 | 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 |
b83ee05d564e08e39f4a4637329d66b925d383e1 | 32 | py | Python | tests/test_training.py | gabrielelanaro/food-pytorch | 4b59d6ac2433ec0dba13cfece11aea1e5c1e8e80 | [
"MIT"
] | null | null | null | tests/test_training.py | gabrielelanaro/food-pytorch | 4b59d6ac2433ec0dba13cfece11aea1e5c1e8e80 | [
"MIT"
] | null | null | null | tests/test_training.py | gabrielelanaro/food-pytorch | 4b59d6ac2433ec0dba13cfece11aea1e5c1e8e80 | [
"MIT"
] | null | null | null |
def test_training():
pass
| 6.4 | 20 | 0.625 | 4 | 32 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28125 | 32 | 4 | 21 | 8 | 0.826087 | 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 |
b85e5ca2b645fd1831e9e580a3e8ef912e91075e | 27,614 | py | Python | ndcube/tests/test_sequence_plotting.py | BaptistePellorceAstro/ndcube | eaa2841a6bf90ac2fb2f901747c9a297c0810862 | [
"BSD-2-Clause"
] | null | null | null | ndcube/tests/test_sequence_plotting.py | BaptistePellorceAstro/ndcube | eaa2841a6bf90ac2fb2f901747c9a297c0810862 | [
"BSD-2-Clause"
] | null | null | null | ndcube/tests/test_sequence_plotting.py | BaptistePellorceAstro/ndcube | eaa2841a6bf90ac2fb2f901747c9a297c0810862 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
import datetime
import numpy as np
import astropy.units as u
import matplotlib
from ndcube import NDCube, NDCubeSequence
from ndcube.utils.wcs import WCS
import ndcube.mixins.sequence_plotting
# Set matplotlib display for testing
#matplotlib.use('Agg')
# sample data for tests
#... | 47.692573 | 99 | 0.623307 | 4,132 | 27,614 | 3.953533 | 0.059293 | 0.016405 | 0.014079 | 0.026445 | 0.859329 | 0.839128 | 0.79285 | 0.758815 | 0.725331 | 0.66736 | 0 | 0.066145 | 0.184798 | 27,614 | 578 | 100 | 47.775087 | 0.659544 | 0.036757 | 0 | 0.5 | 0 | 0 | 0.076266 | 0.005647 | 0 | 0 | 0 | 0.00173 | 0.075758 | 1 | 0.028139 | false | 0 | 0.017316 | 0 | 0.045455 | 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 |
b87e5aeb3f5ebc501a9acdf3179a27b173b631c9 | 420 | py | Python | build-sys/build_sys/__init__.py | lukas-ke/faint-graphics-editor | 33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf | [
"Apache-2.0"
] | 10 | 2016-12-28T22:06:31.000Z | 2021-05-24T13:42:30.000Z | build-sys/build_sys/__init__.py | lukas-ke/faint-graphics-editor | 33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf | [
"Apache-2.0"
] | 4 | 2015-10-09T23:55:10.000Z | 2020-04-04T08:09:22.000Z | build-sys/build_sys/__init__.py | lukas-ke/faint-graphics-editor | 33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
from . build_sys import build
from . build_sys import unknown_version_str
from . build_sys import build_installer
from . build_sys import parse_command_line
from build_sys.opts import BuildOptions
import build_sys.gen_method_def as gen_method_def
import build_sys.gen_resource as gen_reso... | 35 | 62 | 0.838095 | 69 | 420 | 4.753623 | 0.362319 | 0.219512 | 0.182927 | 0.219512 | 0.140244 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002732 | 0.128571 | 420 | 11 | 63 | 38.181818 | 0.893443 | 0.05 | 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 |
b8a4d55eea9894e2226fc3251703985f3a867c6c | 37,489 | py | Python | usaspending_api/search/tests/unit/test_spending_by_category.py | millerjoey975/usaspending-api | 66dd6b231087e92696d0ac09ef7700b6069829ad | [
"CC0-1.0"
] | 1 | 2022-01-28T16:08:04.000Z | 2022-01-28T16:08:04.000Z | usaspending_api/search/tests/unit/test_spending_by_category.py | millerjoey975/usaspending-api | 66dd6b231087e92696d0ac09ef7700b6069829ad | [
"CC0-1.0"
] | null | null | null | usaspending_api/search/tests/unit/test_spending_by_category.py | millerjoey975/usaspending-api | 66dd6b231087e92696d0ac09ef7700b6069829ad | [
"CC0-1.0"
] | null | null | null | import pytest
from model_mommy import mommy
from usaspending_api.common.helpers.generic_helper import get_time_period_message
from usaspending_api.search.tests.data.utilities import setup_elasticsearch_test
from usaspending_api.search.v2.views.spending_by_category_views.spending_by_agency_types import (
AwardingA... | 35.635932 | 120 | 0.655045 | 4,209 | 37,489 | 5.537182 | 0.059872 | 0.042865 | 0.052776 | 0.045396 | 0.876169 | 0.838025 | 0.82601 | 0.767871 | 0.751824 | 0.744701 | 0 | 0.05013 | 0.211956 | 37,489 | 1,051 | 121 | 35.669838 | 0.738754 | 0 | 0 | 0.690286 | 0 | 0 | 0.233428 | 0.05679 | 0 | 0 | 0 | 0 | 0.026286 | 1 | 0.034286 | false | 0 | 0.010286 | 0 | 0.044571 | 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 |
b28a8078f564deffd83a21b58f3a6d6aa2b0c0d8 | 17,402 | py | Python | wikiwho_wrapper/views.py | robertour/wikiwho_wrapper | 5390341d6ee8dbdd91168f61a53dfe2cd1d8e9ff | [
"MIT"
] | 3 | 2020-11-26T03:33:47.000Z | 2021-03-12T17:24:31.000Z | wikiwho_wrapper/views.py | robertour/wikiwho_wrapper | 5390341d6ee8dbdd91168f61a53dfe2cd1d8e9ff | [
"MIT"
] | 1 | 2020-04-13T23:06:56.000Z | 2020-04-13T23:06:56.000Z | wikiwho_wrapper/views.py | robertour/wikiwho_wrapper | 5390341d6ee8dbdd91168f61a53dfe2cd1d8e9ff | [
"MIT"
] | null | null | null | """Summary
"""
import pandas as pd
import itertools
from typing import Union
import deprecation
from .api import WikiWhoAPI
from . import __version__
class DataView:
"""Qurey methods for correspondence of the WikiWhoAPI methods
Attributes:
api (TYPE): Description
"""
d... | 42.756757 | 192 | 0.514941 | 2,027 | 17,402 | 4.211643 | 0.076961 | 0.03397 | 0.02249 | 0.016868 | 0.805318 | 0.787045 | 0.764906 | 0.753426 | 0.748975 | 0.73937 | 0 | 0.005224 | 0.384036 | 17,402 | 406 | 193 | 42.862069 | 0.791212 | 0.275773 | 0 | 0.658333 | 0 | 0 | 0.119073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.025 | 0 | 0.120833 | 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 |
b2a05a157e8340ebdd20fdda596698afe6cf8cf8 | 202 | py | Python | colour/colorimetry/datasets/light_sources/__init__.py | BPearlstine/colour | 40f0281295496774d2a19eee017d50fd0c265bd8 | [
"Cube",
"BSD-3-Clause"
] | 2 | 2020-05-03T20:15:42.000Z | 2021-04-09T18:19:06.000Z | colour/colorimetry/datasets/light_sources/__init__.py | BPearlstine/colour | 40f0281295496774d2a19eee017d50fd0c265bd8 | [
"Cube",
"BSD-3-Clause"
] | null | null | null | colour/colorimetry/datasets/light_sources/__init__.py | BPearlstine/colour | 40f0281295496774d2a19eee017d50fd0c265bd8 | [
"Cube",
"BSD-3-Clause"
] | 1 | 2019-12-11T19:48:27.000Z | 2019-12-11T19:48:27.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from .chromaticity_coordinates import LIGHT_SOURCES
from .sds import LIGHT_SOURCES_SDS
__all__ = ['LIGHT_SOURCES', 'LIGHT_SOURCES_SDS']
| 22.444444 | 51 | 0.787129 | 26 | 202 | 5.5 | 0.5 | 0.335664 | 0.251748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005618 | 0.118812 | 202 | 8 | 52 | 25.25 | 0.797753 | 0.10396 | 0 | 0 | 0 | 0 | 0.167598 | 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 |
a24a386fb31b926f4a3f2624fcb3841bbc0fbd5c | 93 | py | Python | migration.py | FromSi/TP_bot | 2a3487f517d3a9d13a95607e5c7b3157b37154cb | [
"MIT"
] | 1 | 2020-11-23T12:23:12.000Z | 2020-11-23T12:23:12.000Z | migration.py | FromSi/TP_bot | 2a3487f517d3a9d13a95607e5c7b3157b37154cb | [
"MIT"
] | 2 | 2021-06-01T23:59:48.000Z | 2021-12-13T20:06:41.000Z | migration.py | FromSi/TP_bot | 2a3487f517d3a9d13a95607e5c7b3157b37154cb | [
"MIT"
] | 1 | 2019-08-30T06:04:12.000Z | 2019-08-30T06:04:12.000Z | from bot import manager
from bot import models
if __name__ == '__main__':
manager.run() | 15.5 | 26 | 0.72043 | 13 | 93 | 4.538462 | 0.692308 | 0.237288 | 0.440678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 93 | 6 | 27 | 15.5 | 0.786667 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 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 |
a29dfe8c7ef29c7b4b4f9bc08dfe3e25b01760ee | 25,611 | py | Python | mayan/apps/document_states/tests/test_api.py | nadwiabd/insight_edms | 90a09d7ca77cb111c791e307b55a603e82042dfe | [
"Apache-2.0"
] | null | null | null | mayan/apps/document_states/tests/test_api.py | nadwiabd/insight_edms | 90a09d7ca77cb111c791e307b55a603e82042dfe | [
"Apache-2.0"
] | null | null | null | mayan/apps/document_states/tests/test_api.py | nadwiabd/insight_edms | 90a09d7ca77cb111c791e307b55a603e82042dfe | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import, unicode_literals
from django.contrib.auth import get_user_model
from django.contrib.auth.models import Group
from django.core.urlresolvers import reverse
from django.test import override_settings
from rest_framework.test import APITestCase
from acls.models import AccessControl... | 32.134253 | 98 | 0.639608 | 2,639 | 25,611 | 5.859038 | 0.050777 | 0.07761 | 0.052775 | 0.038417 | 0.879317 | 0.8528 | 0.812508 | 0.788708 | 0.73755 | 0.683029 | 0 | 0.001881 | 0.273398 | 25,611 | 796 | 99 | 32.174623 | 0.829007 | 0.003046 | 0 | 0.628389 | 0 | 0 | 0.057932 | 0.040227 | 0 | 0 | 0 | 0 | 0.063796 | 1 | 0.090909 | false | 0.019139 | 0.027113 | 0.001595 | 0.127592 | 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 |
a2b2f4a6d82acdb4737c1aa10ddfde50d69630b8 | 45 | py | Python | stringcluster/__init__.py | chris-santiago/stringcluster | c3971e8ab585e422d022870aaf42539d3f2f7503 | [
"MIT"
] | null | null | null | stringcluster/__init__.py | chris-santiago/stringcluster | c3971e8ab585e422d022870aaf42539d3f2f7503 | [
"MIT"
] | null | null | null | stringcluster/__init__.py | chris-santiago/stringcluster | c3971e8ab585e422d022870aaf42539d3f2f7503 | [
"MIT"
] | null | null | null | from .base import STOP_TOKENS, StringCluster
| 22.5 | 44 | 0.844444 | 6 | 45 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0c440055e91cb43ad7881803b3e421f0b435fed0 | 259 | py | Python | django_productline/features/multilanguage_switcher/feature.py | henzk/django-productline | 24ff156924c1a8c07b99cbb8a1de0a42b8d81f60 | [
"MIT"
] | 5 | 2015-06-16T17:36:33.000Z | 2017-10-17T19:22:59.000Z | django_productline/features/multilanguage_switcher/feature.py | henzk/django-productline | 24ff156924c1a8c07b99cbb8a1de0a42b8d81f60 | [
"MIT"
] | 8 | 2016-03-14T09:02:13.000Z | 2017-11-16T16:00:31.000Z | django_productline/features/djpladmin/feature.py | henzk/django-productline | 24ff156924c1a8c07b99cbb8a1de0a42b8d81f60 | [
"MIT"
] | 17 | 2015-08-04T18:45:18.000Z | 2017-11-16T14:52:46.000Z | def select(composer):
from . import settings
import django_productline.settings
composer.compose(settings, django_productline.settings)
from . import urls
import django_productline.urls
composer.compose(urls, django_productline.urls)
| 28.777778 | 59 | 0.76834 | 29 | 259 | 6.724138 | 0.344828 | 0.348718 | 0.235897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166023 | 259 | 8 | 60 | 32.375 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.571429 | 0 | 0.714286 | 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 |
0c4b6b5bd509a00536dc3aa59fdbd0961f16a0a2 | 655 | py | Python | artssat/scattering/psd/__init__.py | simonpf/pARTS | b4d9f4c2ceac594273c5589e44fe6a3a4f8d7028 | [
"MIT"
] | 3 | 2020-09-02T08:20:42.000Z | 2020-12-18T17:19:38.000Z | artssat/scattering/psd/__init__.py | simonpf/pARTS | b4d9f4c2ceac594273c5589e44fe6a3a4f8d7028 | [
"MIT"
] | null | null | null | artssat/scattering/psd/__init__.py | simonpf/pARTS | b4d9f4c2ceac594273c5589e44fe6a3a4f8d7028 | [
"MIT"
] | null | null | null | """
The PSD Submodule
=================
The PSD submodule provides implementations of various particle size
distributions for the use in scattering calculations.
In addition to that, :code:`artssat.scattering.psd.arts` subpackage defines
the interface for PSDs in ARTS, while the :code:`artssat.scattering.psd.data`
su... | 36.388889 | 77 | 0.778626 | 90 | 655 | 5.655556 | 0.444444 | 0.233792 | 0.275049 | 0.235756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0.132824 | 655 | 17 | 78 | 38.529412 | 0.867958 | 0.575573 | 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 |
0c629c3c1d17c38c68d1c9fa864f0987276a879a | 377 | py | Python | stapy/sta/entities/__init__.py | zMoooooritz/STApy | 022183e0a35ba0d73b97986a695b2a1e6bd0c77c | [
"MIT"
] | 8 | 2021-09-02T18:53:19.000Z | 2022-03-10T13:40:57.000Z | stapy/sta/entities/__init__.py | zMoooooritz/stapy | 022183e0a35ba0d73b97986a695b2a1e6bd0c77c | [
"MIT"
] | 20 | 2021-08-30T19:06:30.000Z | 2022-03-15T21:16:53.000Z | stapy/sta/entities/__init__.py | zMoooooritz/stapy | 022183e0a35ba0d73b97986a695b2a1e6bd0c77c | [
"MIT"
] | null | null | null | from stapy.sta.entities.location import Location
from stapy.sta.entities.featureofinterest import FeatureOfInterest
from stapy.sta.entities.observation import Observation
from stapy.sta.entities.observedproperty import ObservedProperty
from stapy.sta.entities.datastream import Datastream
from stapy.sta.entities.sensor ... | 47.125 | 66 | 0.870027 | 49 | 377 | 6.693878 | 0.244898 | 0.192073 | 0.256098 | 0.426829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074271 | 377 | 7 | 67 | 53.857143 | 0.939828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 |
a7c66e10994a2dd58f333b10e6983d307afdee7b | 40 | py | Python | src/models/segmentation/standalone/__init__.py | Alicegaz/torchok | 7b8f95df466a25b1ad8ee93bed1a3c7516440cf4 | [
"Apache-2.0"
] | 8 | 2021-10-12T05:39:20.000Z | 2022-03-31T10:55:01.000Z | src/models/segmentation/standalone/__init__.py | Alicegaz/torchok | 7b8f95df466a25b1ad8ee93bed1a3c7516440cf4 | [
"Apache-2.0"
] | 1 | 2022-03-30T19:23:42.000Z | 2022-03-30T19:23:42.000Z | src/models/segmentation/standalone/__init__.py | Alicegaz/torchok | 7b8f95df466a25b1ad8ee93bed1a3c7516440cf4 | [
"Apache-2.0"
] | 5 | 2021-11-17T07:38:28.000Z | 2022-01-31T10:46:36.000Z | from . import u2net
from . import hrnet
| 13.333333 | 19 | 0.75 | 6 | 40 | 5 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.2 | 40 | 2 | 20 | 20 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ac25b06598f224a845ed47e3f2bc9b9bda656305 | 251 | py | Python | examples/user_defined_threads_example/test3.py | egineering-llc/egat | 63a172276b554ae1c7d0f13ba305881201c49d55 | [
"MIT"
] | 4 | 2016-01-15T13:23:59.000Z | 2020-07-01T19:00:51.000Z | examples/auto_threaded_example/test3.py | egineering-llc/egat | 63a172276b554ae1c7d0f13ba305881201c49d55 | [
"MIT"
] | null | null | null | examples/auto_threaded_example/test3.py | egineering-llc/egat | 63a172276b554ae1c7d0f13ba305881201c49d55 | [
"MIT"
] | 5 | 2015-09-17T17:56:12.000Z | 2019-02-11T16:19:18.000Z | import egat.testset as testset
class Test3(testset.UnorderedTestSet):
def test3_1(self):
pass
def test3_2(self):
pass
def test3_3(self):
pass
def test3_4(self):
pass
def test3_5(self):
pass
| 17.928571 | 38 | 0.593625 | 34 | 251 | 4.235294 | 0.441176 | 0.277778 | 0.305556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065089 | 0.326693 | 251 | 13 | 39 | 19.307692 | 0.786982 | 0 | 0 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0.416667 | 0.083333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
ac2ba40b8460517dd9ea356db585c57c3dd61ad8 | 138 | py | Python | scripts/npc/autogen_9000133.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | scripts/npc/autogen_9000133.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | scripts/npc/autogen_9000133.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | # Character field ID when accessed: 820000000
# ObjectID: 1000035
# ParentID: 9000133
# Object Position Y: -281
# Object Position X: -257
| 23 | 45 | 0.746377 | 18 | 138 | 5.722222 | 0.888889 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252174 | 0.166667 | 138 | 5 | 46 | 27.6 | 0.643478 | 0.92029 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac5dc56292104fdbfd0c699ae4c8b0d75852e922 | 41 | py | Python | 8_kyu/Third_Angle_of_a_Triangle.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | 8_kyu/Third_Angle_of_a_Triangle.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | 8_kyu/Third_Angle_of_a_Triangle.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | def other_angle(a, b):
return 180-a-b | 20.5 | 22 | 0.658537 | 9 | 41 | 2.888889 | 0.777778 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.195122 | 41 | 2 | 23 | 20.5 | 0.69697 | 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 |
3bb2135912f7995a7cc118a09b005cefc64443fc | 48 | py | Python | main.py | 43trh/emtweb | 018748ec9ec5e7df7a22e4d97334eec1fee9c8c4 | [
"MIT"
] | 1 | 2021-02-25T17:31:19.000Z | 2021-02-25T17:31:19.000Z | main.py | 43trh/emtweb | 018748ec9ec5e7df7a22e4d97334eec1fee9c8c4 | [
"MIT"
] | null | null | null | main.py | 43trh/emtweb | 018748ec9ec5e7df7a22e4d97334eec1fee9c8c4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# TODO
# print('noe')
| 8 | 23 | 0.458333 | 6 | 48 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.229167 | 48 | 5 | 24 | 9.6 | 0.567568 | 0.8125 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.2 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3bb5714e348f9467cc05831143042906e3a541f3 | 114 | py | Python | cnn-text-classification-zh/tests/__init__.py | chufucun/deep-learning | 1c98b0c9c74111d7c34ef81f82ac3b5d2f8560ed | [
"MIT"
] | 2 | 2019-01-23T07:03:10.000Z | 2019-01-23T07:05:18.000Z | cnn-text-classification-zh/tests/__init__.py | chufucun/deep-learning | 1c98b0c9c74111d7c34ef81f82ac3b5d2f8560ed | [
"MIT"
] | null | null | null | cnn-text-classification-zh/tests/__init__.py | chufucun/deep-learning | 1c98b0c9c74111d7c34ef81f82ac3b5d2f8560ed | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
import logging
from logger_helper import setup_logging
setup_logging()
| 12.666667 | 39 | 0.780702 | 17 | 114 | 5.058824 | 0.764706 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.131579 | 114 | 8 | 40 | 14.25 | 0.858586 | 0.315789 | 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 |
3bdc07eb40c5085d605b4b0cc466d9a81c50c820 | 113 | py | Python | boa3_test/test_sc/interop_test/contract/UpdateContractTooFewArguments.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/interop_test/contract/UpdateContractTooFewArguments.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/interop_test/contract/UpdateContractTooFewArguments.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from boa3.builtin.interop.contract import update_contract
def Main(script: bytes):
update_contract(script)
| 18.833333 | 57 | 0.79646 | 15 | 113 | 5.866667 | 0.733333 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.123894 | 113 | 5 | 58 | 22.6 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3befbf56f400916524b0a6def92ad55db6623077 | 199 | py | Python | stub_map.py | liderrick/Text-Based-Adventure-Puzzle-Game--New-San-Diego-Saga | 862004b65657875042a6246f89d3b4c2dae08f06 | [
"MIT"
] | null | null | null | stub_map.py | liderrick/Text-Based-Adventure-Puzzle-Game--New-San-Diego-Saga | 862004b65657875042a6246f89d3b4c2dae08f06 | [
"MIT"
] | null | null | null | stub_map.py | liderrick/Text-Based-Adventure-Puzzle-Game--New-San-Diego-Saga | 862004b65657875042a6246f89d3b4c2dae08f06 | [
"MIT"
] | null | null | null | from loaders import CityLoader
def get_map_stub():
map_arr, legendary_items, boss_puzzles = CityLoader.parse_json('etc/city/new_san_diego.json')
return map_arr, legendary_items, boss_puzzles
| 39.8 | 97 | 0.80402 | 30 | 199 | 4.966667 | 0.7 | 0.080537 | 0.201342 | 0.268456 | 0.416107 | 0.416107 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115578 | 199 | 4 | 98 | 49.75 | 0.846591 | 0 | 0 | 0 | 0 | 0 | 0.135678 | 0.135678 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
ce1cc6275eca5bdb079ff79b683266e11cea5db0 | 25 | py | Python | pyaztec/__init__.py | DGX2000/PyAztec | b6284bb9dbadc954b5e877dcfc204056705b8205 | [
"MIT"
] | null | null | null | pyaztec/__init__.py | DGX2000/PyAztec | b6284bb9dbadc954b5e877dcfc204056705b8205 | [
"MIT"
] | null | null | null | pyaztec/__init__.py | DGX2000/PyAztec | b6284bb9dbadc954b5e877dcfc204056705b8205 | [
"MIT"
] | null | null | null | from .core import decode
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cbeb2606f00414f4b8e43c4f92a6c4931d3b5651 | 3,545 | py | Python | test/t1000/unit/application/result/test_events.py | helcerion/T1000 | 25684e88dc8adb37fe07ff358f84f797f7b9c716 | [
"MIT"
] | 1 | 2021-08-23T01:33:03.000Z | 2021-08-23T01:33:03.000Z | test/t1000/unit/application/result/test_events.py | helcerion/T1000 | 25684e88dc8adb37fe07ff358f84f797f7b9c716 | [
"MIT"
] | 20 | 2019-10-29T10:55:27.000Z | 2022-03-12T00:04:50.000Z | test/t1000/unit/application/result/test_events.py | helcerion/T1000 | 25684e88dc8adb37fe07ff358f84f797f7b9c716 | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import Mock
from src.t1000.application.result.events import ConsoleEventsResult, HtmlEventsResult
class ConsoleEventsResultTestCase(unittest.TestCase):
def test_get_result_ok(self):
command = Mock()
resource = Mock()
resource.get.return_value = {}
... | 43.765432 | 85 | 0.696474 | 400 | 3,545 | 5.8225 | 0.1275 | 0.195792 | 0.17003 | 0.077286 | 0.860455 | 0.785745 | 0.741091 | 0.724775 | 0.724775 | 0.724775 | 0 | 0.006329 | 0.197743 | 3,545 | 80 | 86 | 44.3125 | 0.812588 | 0 | 0 | 0.608696 | 0 | 0 | 0.049083 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 1 | 0.144928 | false | 0 | 0.043478 | 0 | 0.217391 | 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 |
5a63dfc5976ce769be39f7c4a2aace7ad9bdd945 | 41,322 | py | Python | objects.py | jin-hao-chen/yank | 8f6b4f70157ac94cb580373a7c2fbdbce7f781f9 | [
"MIT"
] | null | null | null | objects.py | jin-hao-chen/yank | 8f6b4f70157ac94cb580373a7c2fbdbce7f781f9 | [
"MIT"
] | null | null | null | objects.py | jin-hao-chen/yank | 8f6b4f70157ac94cb580373a7c2fbdbce7f781f9 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import time
import copy
from ytypes import *
from color_print import fatal_print
class NilObj(object):
def __init__(self):
self.obj_header = ObjHeader(OT_NIL, nil_cls, self)
self.nil = None
def __hash__(self):
return has... | 29.473609 | 107 | 0.626712 | 6,101 | 41,322 | 3.945255 | 0.030979 | 0.054965 | 0.062817 | 0.081762 | 0.841919 | 0.805276 | 0.773452 | 0.742086 | 0.717408 | 0.703365 | 0 | 0.0195 | 0.236775 | 41,322 | 1,401 | 108 | 29.494647 | 0.743706 | 0.007986 | 0 | 0.494737 | 0 | 0 | 0.087281 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15311 | false | 0.000957 | 0.004785 | 0.03445 | 0.352153 | 0.066029 | 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 |
5a87f6fff6d2285507da0b2482ecf18ffb90bab6 | 6,100 | py | Python | script/sklearn_like_toolkit/warpper/xgboost_wrapper.py | demetoir/MLtools | 8c42fcd4cc71728333d9c116ade639fe57d50d37 | [
"MIT"
] | null | null | null | script/sklearn_like_toolkit/warpper/xgboost_wrapper.py | demetoir/MLtools | 8c42fcd4cc71728333d9c116ade639fe57d50d37 | [
"MIT"
] | null | null | null | script/sklearn_like_toolkit/warpper/xgboost_wrapper.py | demetoir/MLtools | 8c42fcd4cc71728333d9c116ade639fe57d50d37 | [
"MIT"
] | null | null | null | from hyperopt import hp
from script.sklearn_like_toolkit.warpper.base.BaseWrapperClf import BaseWrapperClf
from script.sklearn_like_toolkit.warpper.base.MixIn import MetaBaseWrapperClfWithABC, MetaBaseWrapperRegWithABC
from script.sklearn_like_toolkit.warpper.base.BaseWrapperReg import BaseWrapperReg
import warni... | 41.496599 | 121 | 0.588197 | 724 | 6,100 | 4.703039 | 0.156077 | 0.049339 | 0.045228 | 0.064611 | 0.856094 | 0.856094 | 0.848164 | 0.809692 | 0.766814 | 0.766814 | 0 | 0.042506 | 0.267213 | 6,100 | 146 | 122 | 41.780822 | 0.719239 | 0.162131 | 0 | 0.594059 | 0 | 0 | 0.166835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039604 | false | 0 | 0.09901 | 0.019802 | 0.247525 | 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 |
ce7c3f9d96ee9ab0d4a8126a558c11c2ce518f88 | 21 | py | Python | logparser/IPLoM/__init__.py | CUHK-CSE/logalizer | e8d96cd4de1121c5d2b517982c6028cd06e643f1 | [
"MIT"
] | 859 | 2017-05-06T03:06:22.000Z | 2022-03-31T12:02:29.000Z | logparser/IPLoM/__init__.py | mandychenze/logparser | 8f1f1face2c0e270fd9bcecdefe37ebc6ba76e9d | [
"MIT"
] | 71 | 2018-02-24T08:11:32.000Z | 2022-03-15T11:44:29.000Z | logparser/IPLoM/__init__.py | mandychenze/logparser | 8f1f1face2c0e270fd9bcecdefe37ebc6ba76e9d | [
"MIT"
] | 445 | 2017-06-19T01:26:16.000Z | 2022-03-29T08:27:17.000Z | from .IPLoM import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce7e39143fff82302ee5c376d158906c8df89acc | 171 | py | Python | src/nspyre/config/__init__.py | AlexBourassa/nspyre | d254af09c7c8377552e85dba6f60b150fbb8da2e | [
"MIT"
] | 8 | 2019-12-06T14:49:34.000Z | 2020-07-03T18:46:45.000Z | src/nspyre/config/__init__.py | nspyre-org/nspyre | d254af09c7c8377552e85dba6f60b150fbb8da2e | [
"BSD-3-Clause"
] | 31 | 2020-09-21T21:01:06.000Z | 2021-12-10T03:27:26.000Z | src/nspyre/config/__init__.py | NSpyre-Dev/nspyre | d254af09c7c8377552e85dba6f60b150fbb8da2e | [
"BSD-3-Clause"
] | 4 | 2020-10-07T23:58:13.000Z | 2022-03-01T15:22:34.000Z | from .config_files import (
get_config_param,
load_config,
load_meta_config
)
__all__ = [
'get_config_param',
'load_config',
'load_meta_config'
]
| 14.25 | 27 | 0.672515 | 21 | 171 | 4.761905 | 0.428571 | 0.18 | 0.28 | 0.36 | 0.76 | 0.76 | 0.76 | 0.76 | 0 | 0 | 0 | 0 | 0.233918 | 171 | 11 | 28 | 15.545455 | 0.763359 | 0 | 0 | 0 | 0 | 0 | 0.251462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cec9e1a08ed5c84d46a1b4022019287ae2110da7 | 6,672 | py | Python | hw3/test3.py | rahul-pande/ds501 | 063453de9bf7bc634422a6710d36715175cbeebf | [
"MIT"
] | null | null | null | hw3/test3.py | rahul-pande/ds501 | 063453de9bf7bc634422a6710d36715175cbeebf | [
"MIT"
] | null | null | null | hw3/test3.py | rahul-pande/ds501 | 063453de9bf7bc634422a6710d36715175cbeebf | [
"MIT"
] | null | null | null | from problem3 import *
import numpy as np
import sys
'''
Unit test 2:
This file includes unit tests for problem3.py.
You could test the correctness of your code by typing `nosetests test3.py` in the terminal.
'''
#-------------------------------------------------------------------------
def test_python_ve... | 24.988764 | 95 | 0.429406 | 922 | 6,672 | 3.029284 | 0.104121 | 0.095238 | 0.065879 | 0.061224 | 0.816685 | 0.816685 | 0.814178 | 0.797709 | 0.77193 | 0.751522 | 0 | 0.049793 | 0.313699 | 6,672 | 266 | 96 | 25.082707 | 0.560166 | 0.331535 | 0 | 0.681034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 1 | 0.034483 | false | 0 | 0.025862 | 0 | 0.060345 | 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 |
0c7d8c4d258238891b24cc1a0010bb8f38aef38e | 36 | py | Python | fython/test/hello/hello_test.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 41 | 2016-01-21T05:14:45.000Z | 2021-11-24T20:37:21.000Z | fython/test/hello/hello_test.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 5 | 2016-01-21T05:36:37.000Z | 2016-08-22T19:26:51.000Z | fython/test/hello/hello_test.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 3 | 2016-01-23T04:03:44.000Z | 2016-08-21T15:58:38.000Z | import fython
print(fython.hello()) | 12 | 21 | 0.777778 | 5 | 36 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 3 | 21 | 12 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
0cc876b9e696c890c7df0e4f6126ed57f9217c2a | 24,797 | py | Python | sdk/python/pulumi_gcp/appengine/standard_app_version.py | dimpu47/pulumi-gcp | 38355de300a5768e11c49d344a8165ba0735deed | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/appengine/standard_app_version.py | dimpu47/pulumi-gcp | 38355de300a5768e11c49d344a8165ba0735deed | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/appengine/standard_app_version.py | dimpu47/pulumi-gcp | 38355de300a5768e11c49d344a8165ba0735deed | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Dict, List, Mapping, Optional, Tuple, Union
from .. import ... | 59.608173 | 319 | 0.692342 | 2,799 | 24,797 | 5.954269 | 0.122544 | 0.063363 | 0.038402 | 0.049922 | 0.794792 | 0.768391 | 0.75237 | 0.736709 | 0.725789 | 0.724829 | 0 | 0.002793 | 0.220349 | 24,797 | 415 | 320 | 59.751807 | 0.859256 | 0.478324 | 0 | 0.325472 | 1 | 0 | 0.188198 | 0.084779 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113208 | false | 0.004717 | 0.033019 | 0.009434 | 0.259434 | 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 | 1 | 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.