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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b2890df0b4917dd1bd48ce6f127b51ff8e374378 | 9,679 | py | Python | levels.py | el-jeu/game | b19b7384d9b84daaa25509fb7989352a5f5a7fcb | [
"Unlicense"
] | null | null | null | levels.py | el-jeu/game | b19b7384d9b84daaa25509fb7989352a5f5a7fcb | [
"Unlicense"
] | null | null | null | levels.py | el-jeu/game | b19b7384d9b84daaa25509fb7989352a5f5a7fcb | [
"Unlicense"
] | null | null | null | """element : [type -b, -p, -m, -e (1 letter)]
[id [number for players and enemies (1)], [type for the different enemies (1)] (2)]
[path]"""
levelsMap = [
#level 1-1
("g1","f1",
[["m00a1","m00a3","m00a5","b00b1","m00m1","e00e1","m00m1","b00b1","m00a1","m... | 73.885496 | 102 | 0.497159 | 1,070 | 9,679 | 4.497196 | 0.060748 | 0.286783 | 0.296135 | 0.27847 | 0.902535 | 0.850582 | 0.788238 | 0.736492 | 0.615129 | 0.573566 | 0 | 0.338452 | 0.159004 | 9,679 | 130 | 103 | 74.453846 | 0.252703 | 0.022523 | 0 | 0.366337 | 0 | 0 | 0.501562 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a22c1b4f13d5b59ec387f07ce71ca94f5b815b15 | 19,514 | py | Python | xls/tools/eval_proc_main_test.py | netskink/xls | 78d38c626a360cb835e1c59639a36c67f077769d | [
"Apache-2.0"
] | null | null | null | xls/tools/eval_proc_main_test.py | netskink/xls | 78d38c626a360cb835e1c59639a36c67f077769d | [
"Apache-2.0"
] | null | null | null | xls/tools/eval_proc_main_test.py | netskink/xls | 78d38c626a360cb835e1c59639a36c67f077769d | [
"Apache-2.0"
] | null | null | null | # Lint as: python3
#
# Copyright 2020 The XLS Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 40.401656 | 312 | 0.705698 | 3,416 | 19,514 | 3.745609 | 0.090457 | 0.041422 | 0.011723 | 0.042986 | 0.850723 | 0.83009 | 0.822118 | 0.822118 | 0.818757 | 0.806721 | 0 | 0.090239 | 0.138516 | 19,514 | 482 | 313 | 40.485477 | 0.67087 | 0.039818 | 0 | 0.7343 | 0 | 0.120773 | 0.785829 | 0.163941 | 0 | 0 | 0 | 0 | 0.016908 | 1 | 0.012077 | false | 0 | 0.009662 | 0 | 0.02657 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a255895a8a8212a3022234d1017094b701dd4917 | 16,970 | py | Python | tests/comment_exclusions.py | loganswartz/vermin | 55f159a229adf16690fed1d4f884594471f37abc | [
"MIT"
] | 261 | 2018-03-06T20:01:23.000Z | 2022-03-25T15:37:41.000Z | tests/comment_exclusions.py | loganswartz/vermin | 55f159a229adf16690fed1d4f884594471f37abc | [
"MIT"
] | 78 | 2018-03-07T10:12:29.000Z | 2022-03-04T14:50:16.000Z | tests/comment_exclusions.py | loganswartz/vermin | 55f159a229adf16690fed1d4f884594471f37abc | [
"MIT"
] | 20 | 2018-03-08T20:47:12.000Z | 2022-03-08T16:26:30.000Z | from .testutils import VerminTest, current_version
class VerminCommentsExclusionsTests(VerminTest):
def test_import(self):
visitor = self.visit("# novm\nimport email.parser.FeedParser")
self.assertEqual([(0, 0), (0, 0)], visitor.minimum_versions())
# Comment "novm" or "novermin" on its own refers to the... | 36.731602 | 100 | 0.651738 | 2,251 | 16,970 | 4.813416 | 0.08263 | 0.031011 | 0.031011 | 0.150715 | 0.889894 | 0.864882 | 0.82215 | 0.801846 | 0.776281 | 0.739179 | 0 | 0.030796 | 0.159988 | 16,970 | 461 | 101 | 36.81128 | 0.729288 | 0.057808 | 0 | 0.722222 | 0 | 0.005291 | 0.207188 | 0.038883 | 0 | 0 | 0 | 0 | 0.44709 | 1 | 0.071429 | false | 0.02381 | 0.089947 | 0 | 0.164021 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0c1556a961918dcc1da741d0dda277919abd6a9c | 1,722 | py | Python | Instanssi/common/auth.py | jpot/Instanssi.org | 5b0e3d57e002a9e8f5bb32973d43884fbdbd6a7d | [
"MIT"
] | 6 | 2015-04-03T12:15:02.000Z | 2019-05-29T07:56:11.000Z | Instanssi/common/auth.py | jpot/Instanssi.org | 5b0e3d57e002a9e8f5bb32973d43884fbdbd6a7d | [
"MIT"
] | 52 | 2015-03-04T21:15:48.000Z | 2022-03-21T20:16:24.000Z | Instanssi/common/auth.py | jpot/Instanssi.org | 5b0e3d57e002a9e8f5bb32973d43884fbdbd6a7d | [
"MIT"
] | 6 | 2017-09-26T00:52:51.000Z | 2020-02-17T17:24:21.000Z | # -*- coding: utf-8 -*-
from django.http import HttpResponseRedirect
from Instanssi.common.http import Http403
from django.urls import reverse
def user_access_required(view_func):
def _checklogin(request, *args, **kwargs):
if request.user.is_authenticated and request.user.is_active:
return vi... | 39.136364 | 93 | 0.692799 | 204 | 1,722 | 5.627451 | 0.220588 | 0.114983 | 0.124564 | 0.078397 | 0.83101 | 0.83101 | 0.804007 | 0.804007 | 0.804007 | 0.804007 | 0 | 0.009434 | 0.199768 | 1,722 | 43 | 94 | 40.046512 | 0.823657 | 0.012195 | 0 | 0.69697 | 0 | 0 | 0.057092 | 0.017069 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242424 | false | 0 | 0.090909 | 0 | 0.69697 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
0c4ac92c3eac7374a601ba30f03dbc0cf18c4040 | 16,685 | py | Python | tests.py | clb17151/Battlesnake | b6b260b60ad0a06efe484fa0c7a15904c73730be | [
"MIT"
] | null | null | null | tests.py | clb17151/Battlesnake | b6b260b60ad0a06efe484fa0c7a15904c73730be | [
"MIT"
] | null | null | null | tests.py | clb17151/Battlesnake | b6b260b60ad0a06efe484fa0c7a15904c73730be | [
"MIT"
] | null | null | null | """
Starter Unit Tests using the built-in Python unittest library.
See https://docs.python.org/3/library/unittest.html
You can expand these to cover more cases!
To run the unit tests, use the following command in your terminal,
in the folder where this file exists:
python tests.py -v
"""
import unittest
import... | 74.486607 | 1,230 | 0.405694 | 2,321 | 16,685 | 2.876346 | 0.054718 | 0.17825 | 0.238616 | 0.281007 | 0.899341 | 0.894997 | 0.887657 | 0.867436 | 0.8571 | 0.854104 | 0 | 0.056747 | 0.217381 | 16,685 | 223 | 1,231 | 74.820628 | 0.454511 | 0.024993 | 0 | 0.564886 | 0 | 0 | 0.296201 | 0.044892 | 0 | 0 | 0 | 0 | 0.053435 | 1 | 0.053435 | false | 0 | 0.015267 | 0 | 0.076336 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
0c51fb4795172dfeed33e843a00cfaab4296e50b | 24,497 | py | Python | tests/formats/xml_doc.py | arianpasquali/ternip | 09c5f5eb864a36ea229b96951f8590418038e8a1 | [
"Apache-2.0"
] | null | null | null | tests/formats/xml_doc.py | arianpasquali/ternip | 09c5f5eb864a36ea229b96951f8590418038e8a1 | [
"Apache-2.0"
] | null | null | null | tests/formats/xml_doc.py | arianpasquali/ternip | 09c5f5eb864a36ea229b96951f8590418038e8a1 | [
"Apache-2.0"
] | null | null | null | import unittest
import xml.dom.minidom
from ternip.formats.xml_doc import XmlDocument, BadNodeNameError
from ternip.timex import Timex
class _XmlDocument(XmlDocument):
_timex_tag_name = 'TIMEX'
def _timex_from_node(self, node):
return Timex()
def _annotate_node_from_timex(self, timex... | 85.355401 | 397 | 0.531779 | 3,287 | 24,497 | 3.881655 | 0.044113 | 0.080884 | 0.02508 | 0.03668 | 0.874206 | 0.857747 | 0.828592 | 0.794185 | 0.792303 | 0.767615 | 0 | 0.011088 | 0.190023 | 24,497 | 286 | 398 | 85.653846 | 0.631942 | 0.004327 | 0 | 0.32906 | 0 | 0.205128 | 0.376143 | 0.074999 | 0 | 0 | 0 | 0 | 0.192308 | 1 | 0.179487 | false | 0.004274 | 0.017094 | 0.004274 | 0.217949 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a76adbfa8b42dc30e3a84c564944c30c0dc17e5c | 1,634 | py | Python | tests/test_search.py | inimaz/Game | 720f59ce66a48c3abf4968d10066716679773234 | [
"BSD-2-Clause"
] | null | null | null | tests/test_search.py | inimaz/Game | 720f59ce66a48c3abf4968d10066716679773234 | [
"BSD-2-Clause"
] | 1 | 2020-02-25T13:40:44.000Z | 2020-02-25T13:40:44.000Z | tests/test_search.py | inimaz/Game | 720f59ce66a48c3abf4968d10066716679773234 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
This is to be run in the command line with
pytest *nameOfFile*
To run all
python -m pytest
or
py.test
if you would like to see details, use -v (verbose)
"""
#import sys
#import tests.context
#
#print(sys.path)
#tests.context.initialize()
#print(sys.path)
#
#from samp... | 21.5 | 81 | 0.602203 | 248 | 1,634 | 3.858871 | 0.290323 | 0.081505 | 0.094044 | 0.066876 | 0.856844 | 0.856844 | 0.856844 | 0.798328 | 0.798328 | 0.662487 | 0 | 0.034913 | 0.26377 | 1,634 | 76 | 82 | 21.5 | 0.760599 | 0.347613 | 0 | 0 | 0 | 0 | 0.171384 | 0.171384 | 0 | 0 | 0 | 0 | 0.166667 | 0 | null | null | 0 | 0.277778 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a77f3b5f9f7f7fa6024b348c897cefe4452f79b8 | 424,347 | py | Python | breeze_resources.py | XLTools/BreezeStyleSheets | 9ade91d4da1dd0eaf885793d61f8455ca08065d3 | [
"MIT"
] | 42 | 2016-11-20T16:38:04.000Z | 2018-12-16T10:39:19.000Z | breeze_resources.py | XLTools/BreezeStyleSheets | 9ade91d4da1dd0eaf885793d61f8455ca08065d3 | [
"MIT"
] | 7 | 2017-08-26T14:29:26.000Z | 2018-12-20T00:00:44.000Z | breeze_resources.py | XLTools/BreezeStyleSheets | 9ade91d4da1dd0eaf885793d61f8455ca08065d3 | [
"MIT"
] | 13 | 2017-05-22T19:43:10.000Z | 2018-12-03T13:04:35.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.15.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x01\xf6\
\x3c\
\x73\x76\x67\x20\x68\x65\x69\x67\x68\x74\x3d\x22\x31\x30\x30\x22\
\x20\x77\x69\x... | 59.565834 | 129 | 0.72494 | 102,459 | 424,347 | 3.002059 | 0.002996 | 0.049313 | 0.034761 | 0.028441 | 0.780596 | 0.77687 | 0.775316 | 0.772917 | 0.772117 | 0.771191 | 0 | 0.404772 | 0.016993 | 424,347 | 7,123 | 130 | 59.574196 | 0.332609 | 0.000358 | 0 | 0.738005 | 0 | 0.867314 | 0.000002 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.000281 | false | 0 | 0.000141 | 0 | 0.000422 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
a7b2561eed2fab83ab7a96f383a12200b02198dd | 3,784 | py | Python | src/Compiler/ASM/Codegen/expressions/objects.py | PetukhovVictor/compiler2 | 0bf87393ce9ecdd421393165fc14cb7f03f5e3b8 | [
"MIT"
] | 3 | 2017-09-08T21:35:31.000Z | 2019-04-24T11:48:59.000Z | src/Compiler/ASM/Codegen/expressions/objects.py | PetukhovVictor/compiler2 | 0bf87393ce9ecdd421393165fc14cb7f03f5e3b8 | [
"MIT"
] | 1 | 2018-11-19T15:34:00.000Z | 2018-11-19T15:35:52.000Z | src/Compiler/ASM/Codegen/expressions/objects.py | PetukhovVictor/compiler2 | 0bf87393ce9ecdd421393165fc14cb7f03f5e3b8 | [
"MIT"
] | 4 | 2017-03-13T06:16:48.000Z | 2019-04-24T11:49:00.000Z | from ...Core.types import Types
from ...Core.commands import Commands
from ...Core.registers import Registers
from copy import copy
from .call import call_statement as compile_call_statement
def object_val(compiler, node):
if node.object_name == 'this':
obj_var = compiler.environment.object_list[-1][0]
... | 53.295775 | 136 | 0.659884 | 498 | 3,784 | 4.7751 | 0.110442 | 0.207738 | 0.129521 | 0.135408 | 0.858284 | 0.850294 | 0.850294 | 0.850294 | 0.850294 | 0.850294 | 0 | 0.004038 | 0.214588 | 3,784 | 70 | 137 | 54.057143 | 0.796097 | 0 | 0 | 0.694915 | 0 | 0 | 0.049154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033898 | false | 0 | 0.084746 | 0 | 0.152542 | 0 | 0 | 0 | 0 | null | 1 | 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 | 7 |
a7be7a3af92365f697ede862074fca84d0f28018 | 54,280 | py | Python | src/evaluator/CodeBLEU/parser/DFG.py | natgen-team/NatGen | b1a7070caf3ff45cf2be1fc2196198e4e23cb30d | [
"MIT"
] | null | null | null | src/evaluator/CodeBLEU/parser/DFG.py | natgen-team/NatGen | b1a7070caf3ff45cf2be1fc2196198e4e23cb30d | [
"MIT"
] | null | null | null | src/evaluator/CodeBLEU/parser/DFG.py | natgen-team/NatGen | b1a7070caf3ff45cf2be1fc2196198e4e23cb30d | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
from .utils import (tree_to_variable_index)
def DFG_python(root_node, index_to_code, states):
assignment = ['assignment', 'augmented_assignment', 'for_in_clause']
if_statement = ['if_statement']
for_statement = ['for_statement']
... | 45.883347 | 113 | 0.538965 | 7,321 | 54,280 | 3.784319 | 0.01844 | 0.060928 | 0.076232 | 0.01617 | 0.967118 | 0.961595 | 0.954918 | 0.947085 | 0.93817 | 0.929219 | 0 | 0.025937 | 0.334451 | 54,280 | 1,182 | 114 | 45.922166 | 0.740962 | 0.001271 | 0 | 0.928139 | 0 | 0 | 0.039514 | 0.004501 | 0 | 0 | 0 | 0 | 0.000866 | 1 | 0.006061 | false | 0 | 0.000866 | 0 | 0.074459 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ac35f0087ae4a3ba86b9038b96557d61f8b361db | 226 | py | Python | common/models/__init__.py | littleweaver/wagtail-project-template | 34d9b2f659fab2c530902b650e2fc76410b8a22f | [
"BSD-3-Clause"
] | 12 | 2018-04-20T20:06:48.000Z | 2022-03-23T08:11:11.000Z | common/models/__init__.py | littleweaver/wagtail-project-template | 34d9b2f659fab2c530902b650e2fc76410b8a22f | [
"BSD-3-Clause"
] | 16 | 2018-03-09T22:30:35.000Z | 2021-09-07T23:36:05.000Z | common/models/__init__.py | littleweaver/wagtail-project-template | 34d9b2f659fab2c530902b650e2fc76410b8a22f | [
"BSD-3-Clause"
] | 1 | 2019-08-02T20:17:35.000Z | 2019-08-02T20:17:35.000Z | from common.models.customimage import * # noqa: F403, F401
from common.models.pages import * # noqa: F403, F401
from common.models.mixins import * # noqa: F403, F401
from common.models.settings import * # noqa: F403, F401
| 45.2 | 59 | 0.734513 | 32 | 226 | 5.1875 | 0.34375 | 0.240964 | 0.385542 | 0.433735 | 0.614458 | 0.614458 | 0.614458 | 0 | 0 | 0 | 0 | 0.126316 | 0.159292 | 226 | 4 | 60 | 56.5 | 0.747368 | 0.29646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ac6dd898df1b8a5fd4234c88dfb32eccd6db41b1 | 105 | py | Python | fixed_vhd_writer/__init__.py | fujiawei-dev/fixed-vhd-writer | c3fcc53ae79313b7be44200a0172fbd55c619620 | [
"MIT"
] | null | null | null | fixed_vhd_writer/__init__.py | fujiawei-dev/fixed-vhd-writer | c3fcc53ae79313b7be44200a0172fbd55c619620 | [
"MIT"
] | null | null | null | fixed_vhd_writer/__init__.py | fujiawei-dev/fixed-vhd-writer | c3fcc53ae79313b7be44200a0172fbd55c619620 | [
"MIT"
] | null | null | null | '''
Date: 2022.02.04 21:34
Description: Omit
LastEditors: Rustle Karl
LastEditTime: 2022.02.04 21:34
'''
| 15 | 30 | 0.72381 | 17 | 105 | 4.470588 | 0.705882 | 0.157895 | 0.210526 | 0.263158 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0.12381 | 105 | 6 | 31 | 17.5 | 0.565217 | 0.914286 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 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 | 7 |
ac7423033cf34eca20ea561b58ba6cbfb9e67bf6 | 3,556 | py | Python | tests/test_logging_helpers_test.py | gift-surg/puma | 58beae3459a0c8d96adfe9af323e26868428df4d | [
"Apache-2.0"
] | null | null | null | tests/test_logging_helpers_test.py | gift-surg/puma | 58beae3459a0c8d96adfe9af323e26868428df4d | [
"Apache-2.0"
] | 13 | 2020-05-04T14:14:58.000Z | 2020-07-29T16:37:03.000Z | tests/test_logging_helpers_test.py | gift-surg/puma | 58beae3459a0c8d96adfe9af323e26868428df4d | [
"Apache-2.0"
] | null | null | null | import logging
from unittest import TestCase
from puma.helpers.testing.logging.decorator import assert_no_warnings_or_errors_logged
logger = logging.getLogger(__name__)
class TestLoggingHelpersTest(TestCase):
@assert_no_warnings_or_errors_logged
def test_assert_no_warnings_or_errors_logged_decorator_when_de... | 46.181818 | 94 | 0.764061 | 448 | 3,556 | 5.558036 | 0.089286 | 0.13253 | 0.212048 | 0.180723 | 0.901205 | 0.894779 | 0.879518 | 0.879518 | 0.876707 | 0.871084 | 0 | 0 | 0.167604 | 3,556 | 76 | 95 | 46.789474 | 0.841216 | 0 | 0 | 0.561404 | 0 | 0 | 0.116985 | 0 | 0 | 0 | 0 | 0 | 0.719298 | 1 | 0.280702 | false | 0 | 0.052632 | 0 | 0.350877 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
3bcba087b53458dfbd4e83bf8c4d4fe2d510e802 | 61,426 | py | Python | tests/interactions/test_interactions.py | cad106uk/market-access-api | a357c33bbec93408b193e598a5628634126e9e99 | [
"MIT"
] | null | null | null | tests/interactions/test_interactions.py | cad106uk/market-access-api | a357c33bbec93408b193e598a5628634126e9e99 | [
"MIT"
] | null | null | null | tests/interactions/test_interactions.py | cad106uk/market-access-api | a357c33bbec93408b193e598a5628634126e9e99 | [
"MIT"
] | null | null | null | import json
import uuid
import pytest
from rest_framework import status
from rest_framework.reverse import reverse
from rest_framework.test import APITestCase
from api.core.test_utils import APITestMixin
from api.interactions.models import Document
from tests.barriers.factories import ReportFactory
class TestListIn... | 46.890076 | 93 | 0.680168 | 7,949 | 61,426 | 4.915838 | 0.023525 | 0.141033 | 0.095583 | 0.116696 | 0.957595 | 0.948331 | 0.942573 | 0.93789 | 0.933821 | 0.933335 | 0 | 0.015957 | 0.212369 | 61,426 | 1,309 | 94 | 46.925898 | 0.791716 | 0.027334 | 0 | 0.845854 | 0 | 0 | 0.119136 | 0.001766 | 0 | 0 | 0 | 0 | 0.439024 | 1 | 0.029268 | false | 0 | 0.00878 | 0 | 0.04 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ce290294dd2971cd7a121cf707285af1af4f2c7b | 25,179 | py | Python | apis/nb/clients/inventory_manager_client/DiscoveryApi.py | CiscoDevNet/APIC-EM-Generic-Scripts- | 74211d9488f1e77cf56ef86dba20ec8e8eb49cc1 | [
"ECL-2.0",
"Apache-2.0"
] | 45 | 2016-06-09T15:41:25.000Z | 2019-08-06T17:13:11.000Z | apis/nb/clients/inventory_manager_client/DiscoveryApi.py | CiscoDevNet/APIC-EM-Generic-Scripts | 74211d9488f1e77cf56ef86dba20ec8e8eb49cc1 | [
"ECL-2.0",
"Apache-2.0"
] | 36 | 2016-06-12T03:03:56.000Z | 2017-03-13T18:20:11.000Z | apis/nb/clients/inventory_manager_client/DiscoveryApi.py | CiscoDevNet/APIC-EM-Generic-Scripts | 74211d9488f1e77cf56ef86dba20ec8e8eb49cc1 | [
"ECL-2.0",
"Apache-2.0"
] | 15 | 2016-06-22T03:51:37.000Z | 2019-07-10T10:06:02.000Z | #!/usr/bin/env python
#pylint: skip-file
# This source code is licensed under the Apache license found in the
# LICENSE file in the root directory of this project.
import sys
import os
import urllib.request, urllib.parse, urllib.error
from .models import *
class DiscoveryApi(object):
def __init__(self, apiCli... | 27.220541 | 127 | 0.5252 | 1,939 | 25,179 | 6.817947 | 0.083032 | 0.048185 | 0.058623 | 0.047655 | 0.86354 | 0.852345 | 0.837141 | 0.834871 | 0.825719 | 0.818003 | 0 | 0 | 0.379443 | 25,179 | 924 | 128 | 27.25 | 0.84608 | 0.107471 | 0 | 0.857488 | 0 | 0 | 0.147066 | 0.021298 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033816 | false | 0 | 0.009662 | 0 | 0.108696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ce42830e7e83fc2f16742b8e48fd57470d26d0f9 | 1,909 | py | Python | darkPy/message.py | darkracer/sound-bot | 7ce72a912c13361b411107361c3cf37c86e56cf4 | [
"MIT"
] | null | null | null | darkPy/message.py | darkracer/sound-bot | 7ce72a912c13361b411107361c3cf37c86e56cf4 | [
"MIT"
] | null | null | null | darkPy/message.py | darkracer/sound-bot | 7ce72a912c13361b411107361c3cf37c86e56cf4 | [
"MIT"
] | null | null | null | from darkPy.guild import Attachment, Role
from darkPy.user import User
class Message:
def __init__(self, data):
for key in data:
if key == 'author':
setattr(self, key, User(data[key]))
elif key == 'mentions':
mentions = []
for userDat... | 36.018868 | 66 | 0.462546 | 171 | 1,909 | 5.128655 | 0.175439 | 0.125428 | 0.159635 | 0.031927 | 0.900798 | 0.900798 | 0.900798 | 0.900798 | 0.900798 | 0.900798 | 0 | 0 | 0.444212 | 1,909 | 52 | 67 | 36.711538 | 0.826579 | 0 | 0 | 0.897959 | 0 | 0 | 0.039811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040816 | false | 0 | 0.040816 | 0 | 0.102041 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
020644f4ea27739affd56542af2c8fc17f4d57ea | 68,574 | py | Python | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_rr/cmp_zeusmp/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_rr/cmp_zeusmp/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_rr/cmp_zeusmp/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.026258 | 124 | 0.68192 | 8,082 | 68,574 | 5.780005 | 0.067434 | 0.123646 | 0.113028 | 0.093505 | 0.939804 | 0.931776 | 0.919125 | 0.887036 | 0.862418 | 0.843109 | 0 | 0.131377 | 0.224444 | 68,574 | 914 | 125 | 75.026258 | 0.746987 | 0 | 0 | 0.642232 | 0 | 0 | 0.657747 | 0.048122 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
02190af874c4a6a0c0137f6b9f110a3cf2646f95 | 316 | py | Python | temboo/core/Library/Facebook/OAuth/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Facebook/OAuth/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Facebook/OAuth/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Facebook.OAuth.FinalizeOAuth import FinalizeOAuth, FinalizeOAuthInputSet, FinalizeOAuthResultSet, FinalizeOAuthChoreographyExecution
from temboo.Library.Facebook.OAuth.InitializeOAuth import InitializeOAuth, InitializeOAuthInputSet, InitializeOAuthResultSet, InitializeOAuthChoreographyExecution
| 105.333333 | 162 | 0.911392 | 22 | 316 | 13.090909 | 0.636364 | 0.069444 | 0.118056 | 0.173611 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044304 | 316 | 2 | 163 | 158 | 0.953642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
02768201f0a0f2bb6a174006a90c32325f8a7f72 | 74 | py | Python | backend/src/order/utils.py | NgoQuocBao1010/Shipping-System-Management | 4b9f26c63f1db46ed1beac3b867f40756d0ba980 | [
"MIT"
] | 4 | 2022-01-03T16:26:42.000Z | 2022-01-04T02:55:52.000Z | backend/src/order/utils.py | NgoQuocBao1010/Shipping-System-Management | 4b9f26c63f1db46ed1beac3b867f40756d0ba980 | [
"MIT"
] | null | null | null | backend/src/order/utils.py | NgoQuocBao1010/Shipping-System-Management | 4b9f26c63f1db46ed1beac3b867f40756d0ba980 | [
"MIT"
] | 1 | 2022-01-16T21:41:20.000Z | 2022-01-16T21:41:20.000Z | import secrets
def customOrderId():
return secrets.token_urlsafe(4)
| 12.333333 | 35 | 0.756757 | 9 | 74 | 6.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.162162 | 74 | 5 | 36 | 14.8 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
5a10f7eec61ea40336698118342939470f73d052 | 2,870 | py | Python | configs/_base_/datasets/pipelines/auto_aug.py | YuxinZou/mmclassification | 2037260ea6c98a3b115e97727e1151a1c2c32f7a | [
"Apache-2.0"
] | 1,190 | 2020-07-10T01:16:01.000Z | 2022-03-31T09:48:38.000Z | configs/_base_/datasets/pipelines/auto_aug.py | YuxinZou/mmclassification | 2037260ea6c98a3b115e97727e1151a1c2c32f7a | [
"Apache-2.0"
] | 702 | 2020-07-13T13:31:33.000Z | 2022-03-31T06:48:04.000Z | configs/_base_/datasets/pipelines/auto_aug.py | YuxinZou/mmclassification | 2037260ea6c98a3b115e97727e1151a1c2c32f7a | [
"Apache-2.0"
] | 502 | 2020-07-10T02:40:55.000Z | 2022-03-31T02:07:09.000Z | # Policy for ImageNet, refers to
# https://github.com/DeepVoltaire/AutoAugment/blame/master/autoaugment.py
policy_imagenet = [
[
dict(type='Posterize', bits=4, prob=0.4),
dict(type='Rotate', angle=30., prob=0.6)
],
[
dict(type='Solarize', thr=256 / 9 * 4, prob=0.6),
dict(type... | 29.587629 | 73 | 0.515679 | 396 | 2,870 | 3.734848 | 0.113636 | 0.270453 | 0.085193 | 0.128465 | 0.870183 | 0.855984 | 0.848546 | 0.799865 | 0.760649 | 0.741041 | 0 | 0.08134 | 0.271777 | 2,870 | 96 | 74 | 29.895833 | 0.626316 | 0.03554 | 0 | 0.489362 | 0 | 0 | 0.15877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 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 | 7 |
5a47304f536e36a52a27e005eaaa5cd70b53dd50 | 27,057 | py | Python | tests/test_alarmclock.py | tangb/cleepapp-alarmclock | fab6a704400a55c6f91d762ff9b4e3f2218fc1c2 | [
"MIT"
] | null | null | null | tests/test_alarmclock.py | tangb/cleepapp-alarmclock | fab6a704400a55c6f91d762ff9b4e3f2218fc1c2 | [
"MIT"
] | null | null | null | tests/test_alarmclock.py | tangb/cleepapp-alarmclock | fab6a704400a55c6f91d762ff9b4e3f2218fc1c2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import unittest
import logging
import datetime
import sys
sys.path.append('../')
from backend.alarmclock import Alarmclock
from backend.alarmclockalarmtriggeredevent import AlarmclockAlarmTriggeredEvent
from backend.alarmclockalarmscheduledevent import AlarmclockAlarmSchedu... | 37.268595 | 155 | 0.594707 | 3,085 | 27,057 | 4.969854 | 0.066451 | 0.088051 | 0.050874 | 0.049896 | 0.867923 | 0.855596 | 0.832703 | 0.814375 | 0.786264 | 0.775567 | 0 | 0.029745 | 0.271871 | 27,057 | 725 | 156 | 37.32 | 0.74849 | 0.005618 | 0 | 0.709516 | 0 | 0.006678 | 0.149134 | 0.027953 | 0 | 0 | 0 | 0 | 0.131886 | 1 | 0.070117 | false | 0 | 0.018364 | 0 | 0.095159 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5a59b6d3ffcb6d255b417a5c891c207f479b6aee | 142 | py | Python | temboo/core/Library/Flickr/People/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Flickr/People/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Flickr/People/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Flickr.People.FindByEmail import FindByEmail, FindByEmailInputSet, FindByEmailResultSet, FindByEmailChoreographyExecution
| 71 | 141 | 0.901408 | 11 | 142 | 11.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049296 | 142 | 1 | 142 | 142 | 0.948148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5a7614606a78b19b2ac4c553e8c971426bd468d5 | 118 | py | Python | philoseismos/segy/drawing/__init__.py | sir-dio/old-philoseismos | 4c830971641313abd95693b24965ede261c6824b | [
"MIT"
] | 1 | 2019-10-27T14:03:00.000Z | 2019-10-27T14:03:00.000Z | philoseismos/segy/drawing/__init__.py | sir-dio/old-philoseismos | 4c830971641313abd95693b24965ede261c6824b | [
"MIT"
] | null | null | null | philoseismos/segy/drawing/__init__.py | sir-dio/old-philoseismos | 4c830971641313abd95693b24965ede261c6824b | [
"MIT"
] | null | null | null | from philoseismos.segy.drawing.wiggle import wiggle_matrix
from philoseismos.segy.drawing.imshow import imshow_matrix
| 39.333333 | 58 | 0.881356 | 16 | 118 | 6.375 | 0.5 | 0.313725 | 0.392157 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 118 | 2 | 59 | 59 | 0.927273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
ce56313f7fb743543c978bfd696ee80063e5c795 | 23,855 | py | Python | api/tests/python/end_points/name_requests/test_nr_actions.py | sumesh-aot/namex | 53e11aed5ea550b71b7b983f1b57b65db5a06766 | [
"Apache-2.0"
] | 1 | 2020-02-21T05:49:14.000Z | 2020-02-21T05:49:14.000Z | api/tests/python/end_points/name_requests/test_nr_actions.py | sumesh-aot/namex | 53e11aed5ea550b71b7b983f1b57b65db5a06766 | [
"Apache-2.0"
] | null | null | null | api/tests/python/end_points/name_requests/test_nr_actions.py | sumesh-aot/namex | 53e11aed5ea550b71b7b983f1b57b65db5a06766 | [
"Apache-2.0"
] | null | null | null | """
Test HTTP endpoints for Name Requests.
"""
import pytest
import json
import datetime
from .configuration import API_BASE_URI
# Import token and claims if you need it
# from ..common import token_header, claims
from ..common.http import build_test_query, build_request_uri
from ..common.logging import log_request_pa... | 30.388535 | 121 | 0.648166 | 3,070 | 23,855 | 4.801954 | 0.092182 | 0.053724 | 0.017705 | 0.0194 | 0.850631 | 0.827296 | 0.791005 | 0.77676 | 0.752883 | 0.742437 | 0 | 0.008054 | 0.234919 | 23,855 | 784 | 122 | 30.427296 | 0.799682 | 0.228757 | 0 | 0.747283 | 0 | 0 | 0.166846 | 0.006356 | 0 | 0 | 0 | 0.008929 | 0.211957 | 1 | 0.046196 | false | 0 | 0.027174 | 0.002717 | 0.078804 | 0.054348 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ce5c163a64f3db595d407df3e55164d9d0dc1435 | 70 | py | Python | python/examples/main.py | cat-in-the-dark/ludum_43_game | 737bc08e6e2b7e3a92bb958b7c0a8ec0674d5a20 | [
"MIT"
] | null | null | null | python/examples/main.py | cat-in-the-dark/ludum_43_game | 737bc08e6e2b7e3a92bb958b7c0a8ec0674d5a20 | [
"MIT"
] | null | null | null | python/examples/main.py | cat-in-the-dark/ludum_43_game | 737bc08e6e2b7e3a92bb958b7c0a8ec0674d5a20 | [
"MIT"
] | null | null | null | import line_prisma_draw
def update(dt):
line_prisma_draw.draw(dt) | 17.5 | 29 | 0.785714 | 12 | 70 | 4.25 | 0.583333 | 0.392157 | 0.54902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 70 | 4 | 29 | 17.5 | 0.836066 | 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 | 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 | 1 | 0 | 1 | 0 | 0 | 7 |
ce8e1fd419674cb9bc3dbe051f4a3e4ddc60acf7 | 2,312 | py | Python | tests/fixtures/defxmlschema/chapter13/example1330.py | nimish/xsdata | 7afe2781b66982428cc1731f53c065086acd35c1 | [
"MIT"
] | null | null | null | tests/fixtures/defxmlschema/chapter13/example1330.py | nimish/xsdata | 7afe2781b66982428cc1731f53c065086acd35c1 | [
"MIT"
] | null | null | null | tests/fixtures/defxmlschema/chapter13/example1330.py | nimish/xsdata | 7afe2781b66982428cc1731f53c065086acd35c1 | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
from typing import Optional
@dataclass
class BaseType:
"""
:ivar a:
:ivar b:
:ivar c:
:ivar d:
:ivar e:
:ivar f:
:ivar g:
:ivar x:
"""
a: Optional[int] = field(
default=None,
metadata=dict(
type="Attribute... | 17.648855 | 40 | 0.435986 | 209 | 2,312 | 4.822967 | 0.15311 | 0.190476 | 0.253968 | 0.396825 | 0.863095 | 0.787698 | 0.787698 | 0.787698 | 0.731151 | 0.652778 | 0 | 0.000776 | 0.442474 | 2,312 | 130 | 41 | 17.784615 | 0.781226 | 0.061851 | 0 | 0.566038 | 0 | 0 | 0.072526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.018868 | 0 | 0.188679 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ce8f4774c8a9c4e06b577cff91f2beba52e74e7d | 136 | py | Python | DSA Coding/Trees/Implementations/InorderTraversal.py | prathimacode-hub/WIE-WoC | f412f297a57249af98213bf4a747c897f2d4c035 | [
"MIT"
] | 8 | 2022-03-01T09:09:20.000Z | 2022-03-03T05:36:01.000Z | DSA Coding/Trees/Implementations/InorderTraversal.py | prathimacode-hub/WIE-WoC | f412f297a57249af98213bf4a747c897f2d4c035 | [
"MIT"
] | 52 | 2022-03-02T13:52:46.000Z | 2022-03-04T03:03:17.000Z | DSA Coding/Trees/Implementations/InorderTraversal.py | prathimacode-hub/WIE-WoC | f412f297a57249af98213bf4a747c897f2d4c035 | [
"MIT"
] | 23 | 2022-03-01T06:39:34.000Z | 2022-03-03T09:24:40.000Z | def inorderTraversal(self, A):
return [] if not A else self.inorderTraversal(A.left) +[A.val] + self.inorderTraversal(A.right)
| 45.333333 | 104 | 0.698529 | 19 | 136 | 5 | 0.578947 | 0.421053 | 0.442105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 136 | 2 | 105 | 68 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 7 |
ceb74dcd8c3ae3976a6e80a22a07664dba184684 | 165 | py | Python | tests/test_issues.py | NextThought/umysqldb | 67732d997e9d0c81f2e196590bff3fdd53b15021 | [
"BSD-3-Clause"
] | null | null | null | tests/test_issues.py | NextThought/umysqldb | 67732d997e9d0c81f2e196590bff3fdd53b15021 | [
"BSD-3-Clause"
] | null | null | null | tests/test_issues.py | NextThought/umysqldb | 67732d997e9d0c81f2e196590bff3fdd53b15021 | [
"BSD-3-Clause"
] | null | null | null | def test_issue_8():
"""umysqldb.converters should be available since Django 1.6 requires them."""
from umysqldb.converters import conversions, Thing2Literal
| 41.25 | 81 | 0.769697 | 21 | 165 | 5.952381 | 0.904762 | 0.288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028369 | 0.145455 | 165 | 3 | 82 | 55 | 0.858156 | 0.430303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
cecab4b3ea21cbc33cbe1e2bce5082320952ff13 | 5,382 | py | Python | test/test_Animation_init.py | toddrme2178/AnimateImages | d7a944f04d008d7ce652cfa4e6dc29cbf950b5dd | [
"MIT"
] | 1 | 2018-03-07T19:36:52.000Z | 2018-03-07T19:36:52.000Z | test/test_Animation_init.py | toddrme2178/AnimateImages | d7a944f04d008d7ce652cfa4e6dc29cbf950b5dd | [
"MIT"
] | 125 | 2017-09-28T00:51:21.000Z | 2020-05-03T16:10:27.000Z | test/test_Animation_init.py | toddrme2178/AnimateImages | d7a944f04d008d7ce652cfa4e6dc29cbf950b5dd | [
"MIT"
] | 2 | 2017-08-04T17:57:25.000Z | 2019-01-25T16:15:00.000Z | import pytest
import numpy as np
from Animate.Movie import Movie
from Animate.Animation import Animation
import matplotlib as mpl
def test_ratio_2():
m = Movie(dt=1.0/14, height_ratio=2)
img = np.arange(100).reshape(4, 5, 5)
m.add_image(img, style='dark_img')
a = Animation(m)
a._init_draw()
as... | 29.571429 | 75 | 0.602192 | 974 | 5,382 | 3.165298 | 0.082136 | 0.05579 | 0.046708 | 0.070062 | 0.896854 | 0.862147 | 0.841388 | 0.82517 | 0.82517 | 0.823224 | 0 | 0.06531 | 0.21479 | 5,382 | 181 | 76 | 29.734807 | 0.664221 | 0 | 0 | 0.782051 | 0 | 0 | 0.051096 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 1 | 0.038462 | false | 0 | 0.032051 | 0 | 0.070513 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0c8054008a2103244cba214ea7b7d61c9da1114a | 5,329 | py | Python | u8g2/logisoso78_tn.py | tve/mpy-lib | 9f102459c61a5be424291a277e421bd1fc16843a | [
"MIT"
] | 6 | 2020-02-27T11:17:54.000Z | 2020-12-04T10:14:26.000Z | u8g2/logisoso78_tn.py | tve/mpy-lib | 9f102459c61a5be424291a277e421bd1fc16843a | [
"MIT"
] | 4 | 2020-07-29T14:07:04.000Z | 2021-05-19T05:10:33.000Z | u8g2/logisoso78_tn.py | tve/mpy-lib | 9f102459c61a5be424291a277e421bd1fc16843a | [
"MIT"
] | 3 | 2020-05-16T08:15:16.000Z | 2021-09-30T10:39:37.000Z | data=b'\x12\x00\x05\x05\x06\x07\x06\x07\x07\x2d\x5d\x00\xfb\x4e\xec\x4d\x00\x00\x00\x00\x00\x05\x15\x20\x07\x00\x00\x04\xca\x01\x2a\x42\xa1\x08\xb5\xc7\xdb\xa1\xcf\x83\xc3\x39\xce\x50\x0a\x73\x98\x82\x9c\x0d\x45\x1c\x42\x11\x5f\xf8\x80\x20\xba\xb2\xa1\x8b\x4d\x2f\x82\xd1\x9b\xd8\x85\xb6\xd2\x89\x0f\x08\xe1\x13\x8a\x38\... | 2,664.5 | 5,328 | 0.749672 | 1,332 | 5,329 | 2.999249 | 0.178679 | 0.013517 | 0.018023 | 0.015019 | 0.427284 | 0.382979 | 0.377722 | 0.36796 | 0.344681 | 0.344681 | 0 | 0.335586 | 0.000188 | 5,329 | 1 | 5,329 | 5,329 | 0.414227 | 0 | 0 | 0 | 0 | 1 | 0.998311 | 0.998311 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
0c870562187279ce7dffd80b627760c007246db5 | 69 | py | Python | Semester 5 (PIP)/assignment1/prog7.py | MartyMiniac/ITER-Assignment | a7b355f40cc52a337ad90bb8328e54c4a9534530 | [
"MIT"
] | 14 | 2020-11-11T08:48:58.000Z | 2022-02-26T03:59:05.000Z | Semester 5 (PIP)/assignment1/prog7.py | SKSTCODE42/ITER-Assignment | a7b355f40cc52a337ad90bb8328e54c4a9534530 | [
"MIT"
] | 4 | 2020-11-12T13:31:14.000Z | 2021-06-21T05:41:34.000Z | Semester 5 (PIP)/assignment1/prog7.py | SKSTCODE42/ITER-Assignment | a7b355f40cc52a337ad90bb8328e54c4a9534530 | [
"MIT"
] | 10 | 2020-11-07T15:09:20.000Z | 2022-02-26T03:56:50.000Z |
r='1'
print(r)
r+='2'+r
print(r)
r+='3'+r
print(r)
r+='4'+r
print(r) | 7.666667 | 8 | 0.507246 | 19 | 69 | 1.842105 | 0.315789 | 0.685714 | 0.6 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0.115942 | 69 | 9 | 9 | 7.666667 | 0.508197 | 0 | 0 | 0.5 | 0 | 0 | 0.057971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 7 |
0cc5629108331b9a8de79b1cc834e85c145ffd8a | 5,070 | py | Python | lpd/metrics/tp_tn_fp_fn.py | RoySadaka/lpd | 921454d9730d8228f4b0ca5349b0558ebd123c65 | [
"MIT"
] | 4 | 2020-10-02T10:04:19.000Z | 2022-01-19T12:45:02.000Z | lpd/metrics/tp_tn_fp_fn.py | RoySadaka/lpd | 921454d9730d8228f4b0ca5349b0558ebd123c65 | [
"MIT"
] | 1 | 2020-10-06T17:43:57.000Z | 2020-10-06T17:47:43.000Z | lpd/metrics/tp_tn_fp_fn.py | RoySadaka/lpd | 921454d9730d8228f4b0ca5349b0558ebd123c65 | [
"MIT"
] | 1 | 2020-10-03T17:21:32.000Z | 2020-10-03T17:21:32.000Z | import torch as T
from lpd.metrics.metric_base import MetricConfusionMatrixBase
from lpd.enums.confusion_matrix_based_metric import ConfusionMatrixBasedMetric as metric
class TruePositives(MetricConfusionMatrixBase):
"""
Agrs:
num_classes - The number of classes in the classification
... | 61.084337 | 156 | 0.620316 | 578 | 5,070 | 5.205882 | 0.153979 | 0.03988 | 0.079761 | 0.115653 | 0.879694 | 0.854769 | 0.854769 | 0.854769 | 0.854769 | 0.854769 | 0 | 0.002352 | 0.329191 | 5,070 | 83 | 157 | 61.084337 | 0.882388 | 0.550493 | 0 | 0.296296 | 0 | 0 | 0.027735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0 | 0.111111 | 0 | 0.703704 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0cca5c4503bea48480a89825c905b04eaa33c6e0 | 18,551 | py | Python | sdk/python/pulumi_proxmox/lxc_disk.py | huaxk/pulumi-proxmox | fbe5efdc000d12f35933a7cd53c360958c201baa | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_proxmox/lxc_disk.py | huaxk/pulumi-proxmox | fbe5efdc000d12f35933a7cd53c360958c201baa | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_proxmox/lxc_disk.py | huaxk/pulumi-proxmox | fbe5efdc000d12f35933a7cd53c360958c201baa | [
"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, Mapping, Optional, Sequence, Union, overload
from . import ... | 36.09144 | 134 | 0.606921 | 2,046 | 18,551 | 5.290811 | 0.070381 | 0.113811 | 0.163233 | 0.095612 | 0.835196 | 0.801848 | 0.759815 | 0.728684 | 0.670485 | 0.641755 | 0 | 0.000074 | 0.270066 | 18,551 | 513 | 135 | 36.161793 | 0.79935 | 0.059458 | 0 | 0.771845 | 1 | 0 | 0.073477 | 0.01524 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162621 | false | 0.002427 | 0.01699 | 0.087379 | 0.276699 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0cf7e5b4c54bb7b95cfb8dd15f5397748eef32aa | 5,266 | py | Python | src/core/migrations/0009_auto_20171128_1543.py | mheppner/django-x10 | 8c80688ccd702e101b204b34f2b6722a3596db77 | [
"MIT"
] | null | null | null | src/core/migrations/0009_auto_20171128_1543.py | mheppner/django-x10 | 8c80688ccd702e101b204b34f2b6722a3596db77 | [
"MIT"
] | null | null | null | src/core/migrations/0009_auto_20171128_1543.py | mheppner/django-x10 | 8c80688ccd702e101b204b34f2b6722a3596db77 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2017-11-28 20:43
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('core', '0008_auto_20171128_1215'),
]
operations = ... | 52.138614 | 211 | 0.624193 | 544 | 5,266 | 5.90625 | 0.165441 | 0.039838 | 0.039216 | 0.061625 | 0.806411 | 0.78836 | 0.78836 | 0.766573 | 0.724868 | 0.694367 | 0 | 0.008357 | 0.250095 | 5,266 | 100 | 212 | 52.66 | 0.805267 | 0.012913 | 0 | 0.688172 | 1 | 0 | 0.285852 | 0.053705 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.064516 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0b34bcc60a7ba3507cd4daa4e5a9c2b1f58f0eeb | 2,471 | py | Python | alpyro_msgs/actionlib_tutorials/averagingaction.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | 1 | 2020-12-13T13:07:10.000Z | 2020-12-13T13:07:10.000Z | alpyro_msgs/actionlib_tutorials/averagingaction.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | alpyro_msgs/actionlib_tutorials/averagingaction.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | from typing import Final
from alpyro_msgs import RosMessage
from alpyro_msgs.actionlib_tutorials.averagingactionfeedback import AveragingActionFeedback
from alpyro_msgs.actionlib_tutorials.averagingactiongoal import AveragingActionGoal
from alpyro_msgs.actionlib_tutorials.averagingactionresult import AveragingActionRes... | 154.4375 | 1,886 | 0.969648 | 56 | 2,471 | 42.321429 | 0.446429 | 0.016878 | 0.023629 | 0.029114 | 0.040506 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091773 | 0.021044 | 2,471 | 15 | 1,887 | 164.733333 | 0.88797 | 0 | 0 | 0 | 0 | 0 | 0.783084 | 0.783084 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
0b55dda43633af2b288c0e0319bca448e1ffe57e | 84,705 | py | Python | OED/d_shared_code_masked_skip_connection_seq2seq.py | adrianomundo/II2202-research-methodology-scientific-writing | 39a7a07e1dabbd988f9b3e0c5c41a36a6d292df8 | [
"Apache-2.0"
] | 1 | 2021-01-30T11:03:05.000Z | 2021-01-30T11:03:05.000Z | OED/d_shared_code_masked_skip_connection_seq2seq.py | adrianomundo/II2202-research-methodology-scientific-writing | 39a7a07e1dabbd988f9b3e0c5c41a36a6d292df8 | [
"Apache-2.0"
] | null | null | null | OED/d_shared_code_masked_skip_connection_seq2seq.py | adrianomundo/II2202-research-methodology-scientific-writing | 39a7a07e1dabbd988f9b3e0c5c41a36a6d292df8 | [
"Apache-2.0"
] | null | null | null | import pathlib
import copy
import sys
import tensorflow as tf
import numpy as np
from tensorflow.python.ops import init_ops
from tensorflow.python.ops.rnn_cell_impl import _Linear, LSTMStateTuple, GRUCell, LSTMCell
from tensorflow.python.ops import variable_scope as vs
from utils import *
from tensorflow.contrib impor... | 57.194463 | 204 | 0.498152 | 8,358 | 84,705 | 4.727207 | 0.056832 | 0.02202 | 0.022779 | 0.028474 | 0.900709 | 0.88861 | 0.874462 | 0.866819 | 0.861579 | 0.854239 | 0 | 0.0115 | 0.401488 | 84,705 | 1,480 | 205 | 57.233108 | 0.767836 | 0.100714 | 0 | 0.840555 | 0 | 0 | 0.04525 | 0.015217 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015598 | false | 0 | 0.008666 | 0.001733 | 0.039861 | 0.123917 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0bbe6d8feba9ab0467b8ddabd76ec9660da20da3 | 11,500 | py | Python | ensembler/tests/test_sampler.py | philthiel/Ensembler | 943efac3c673eb40165927e81336386788e3a19f | [
"MIT"
] | 39 | 2020-05-19T08:45:27.000Z | 2022-03-17T16:58:34.000Z | ensembler/tests/test_sampler.py | SchroederB/Ensembler | 943efac3c673eb40165927e81336386788e3a19f | [
"MIT"
] | 38 | 2020-06-18T13:02:18.000Z | 2022-02-25T14:29:17.000Z | ensembler/tests/test_sampler.py | SchroederB/Ensembler | 943efac3c673eb40165927e81336386788e3a19f | [
"MIT"
] | 13 | 2020-05-19T08:45:57.000Z | 2022-03-10T16:18:20.000Z | import os
import tempfile
import unittest
from ensembler import potentials as pot, system
from ensembler.samplers import _basicSamplers
from ensembler.samplers import stochastic, newtonian, optimizers
"""
STOCHASTIC INTEGRATORS
"""
class standard_IntegratorTests(unittest.TestCase):
integrator_class = _basicSampl... | 38.720539 | 135 | 0.711217 | 1,254 | 11,500 | 6.325359 | 0.08453 | 0.024206 | 0.068079 | 0.083207 | 0.870777 | 0.860565 | 0.824382 | 0.824382 | 0.824382 | 0.824382 | 0 | 0.002804 | 0.193652 | 11,500 | 296 | 136 | 38.851351 | 0.852583 | 0.003304 | 0 | 0.807107 | 0 | 0 | 0.092576 | 0 | 0 | 0 | 0 | 0 | 0.192893 | 1 | 0.101523 | false | 0.005076 | 0.030457 | 0 | 0.228426 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f0564a3d0806e509f3843f90f3d14906990f0a4a | 201 | py | Python | src/jnpr_nr_plugin/collectors/cmds.py | Juniper/juniper-newrelic-plugin | 05ca131d80833b97560fa2ac9228a078fcdbbc06 | [
"Apache-2.0"
] | 14 | 2015-02-13T14:45:57.000Z | 2021-08-21T22:46:25.000Z | src/jnpr_nr_plugin/collectors/cmds.py | Juniper/juniper-newrelic-plugin | 05ca131d80833b97560fa2ac9228a078fcdbbc06 | [
"Apache-2.0"
] | 1 | 2015-05-13T07:15:31.000Z | 2015-05-13T08:05:18.000Z | src/jnpr_nr_plugin/collectors/cmds.py | Juniper/juniper-newrelic-plugin | 05ca131d80833b97560fa2ac9228a078fcdbbc06 | [
"Apache-2.0"
] | 5 | 2015-04-27T21:58:04.000Z | 2020-02-05T10:47:24.000Z | class Command(object):
def __init__(self, name):
self.name = name
class CommandResult(object):
def __init__(self, name, result):
self.name = name
self.result = result
| 20.1 | 37 | 0.626866 | 24 | 201 | 4.916667 | 0.375 | 0.271186 | 0.220339 | 0.288136 | 0.355932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268657 | 201 | 9 | 38 | 22.333333 | 0.802721 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
f07fe7490507d5a028ff9c94bf5c63794768fb93 | 12,614 | py | Python | tests/integration/test_django_stack_trace_analyze.py | Duncan-Ireri/django-query-profiler | a704dc9c30e88d288e29315851ced3a01f458728 | [
"BSD-3-Clause"
] | 97 | 2020-03-03T01:20:35.000Z | 2022-03-23T14:06:09.000Z | tests/integration/test_django_stack_trace_analyze.py | Duncan-Ireri/django-query-profiler | a704dc9c30e88d288e29315851ced3a01f458728 | [
"BSD-3-Clause"
] | 24 | 2020-03-06T17:35:08.000Z | 2022-02-09T20:06:05.000Z | tests/integration/test_django_stack_trace_analyze.py | Duncan-Ireri/django-query-profiler | a704dc9c30e88d288e29315851ced3a01f458728 | [
"BSD-3-Clause"
] | 9 | 2020-03-22T18:17:09.000Z | 2022-01-31T18:59:11.000Z | from django.db.models import Prefetch
from django.test import TestCase
from tests.integration.fixtures import bulk_create_toppings_pizzas_restaurants
from tests.testapp.food.models import Pizza, Restaurant
from django_query_profiler.client.context_manager import QueryProfiler
from django_query_profiler.query_profiler_... | 54.137339 | 113 | 0.727684 | 1,389 | 12,614 | 6.213103 | 0.12095 | 0.219003 | 0.141831 | 0.087601 | 0.840324 | 0.821321 | 0.795944 | 0.787601 | 0.761298 | 0.738586 | 0 | 0.002958 | 0.222768 | 12,614 | 232 | 114 | 54.37069 | 0.877295 | 0.141272 | 0 | 0.722581 | 0 | 0 | 0.005212 | 0 | 0 | 0 | 0 | 0.00431 | 0.174194 | 1 | 0.051613 | false | 0 | 0.03871 | 0 | 0.109677 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b2b1c29310e40d8563d3d6970becdeab35014060 | 3,397 | py | Python | dress/actions/opencart_action.py | richard-ma/dress | 86e892673635319c0a1860edb33cdba7ed22a7fb | [
"MIT"
] | 2 | 2019-10-23T09:06:47.000Z | 2019-11-07T12:52:42.000Z | dress/actions/opencart_action.py | richard-ma/dress | 86e892673635319c0a1860edb33cdba7ed22a7fb | [
"MIT"
] | 4 | 2017-12-28T01:44:42.000Z | 2017-12-31T13:08:18.000Z | dress/actions/opencart_action.py | richard-ma/dress | 86e892673635319c0a1860edb33cdba7ed22a7fb | [
"MIT"
] | 2 | 2019-10-15T07:42:33.000Z | 2019-10-24T06:49:22.000Z | from dress.vendor.workflow import *
from dress.helper import *
class OpencartConfigAction(Action):
def run(self, *data):
data = data[0]
# config.php
data.append(
command_sed_helper("define('DB_DATABASE', '.*');",
"define('DB_DATABASE', '%s');" %
... | 44.116883 | 74 | 0.453636 | 290 | 3,397 | 5.075862 | 0.189655 | 0.149457 | 0.184783 | 0.149457 | 0.808424 | 0.778533 | 0.778533 | 0.778533 | 0.73913 | 0.699049 | 0 | 0.000993 | 0.407124 | 3,397 | 76 | 75 | 44.697368 | 0.729891 | 0.019135 | 0 | 0.850746 | 0 | 0 | 0.294772 | 0.185998 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029851 | false | 0.104478 | 0.029851 | 0 | 0.119403 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
b2bdad1ac3f1ac93578e6ab3a7b6e54c9839ff5e | 11,583 | py | Python | oslo/torch/distributed/_initializers/initializer_tensor_2p5d.py | lipovsek/oslo | c2cde6229068808bf691e200f8af8c97c1631eb4 | [
"Apache-2.0"
] | 249 | 2021-12-21T05:25:53.000Z | 2022-03-21T21:03:58.000Z | oslo/torch/distributed/_initializers/initializer_tensor_2p5d.py | lipovsek/oslo | c2cde6229068808bf691e200f8af8c97c1631eb4 | [
"Apache-2.0"
] | 21 | 2021-12-22T13:22:18.000Z | 2022-03-31T17:38:53.000Z | oslo/torch/distributed/_initializers/initializer_tensor_2p5d.py | lipovsek/oslo | c2cde6229068808bf691e200f8af8c97c1631eb4 | [
"Apache-2.0"
] | 14 | 2021-12-21T10:28:36.000Z | 2022-03-29T12:35:44.000Z | import math
import torch.distributed as dist
from oslo.torch.distributed._initializers.initializer import (
ProcessGroupInitializer,
)
from oslo.torch.distributed.parallel_mode import ParallelMode
# i row, j col, k dep
class _TensorParallel2p5DRowGroupInitializer(ProcessGroupInitializer):
"""
Process gr... | 36.771429 | 108 | 0.569542 | 1,261 | 11,583 | 4.944489 | 0.068993 | 0.10842 | 0.087249 | 0.052927 | 0.872815 | 0.813152 | 0.813152 | 0.807217 | 0.796311 | 0.767923 | 0 | 0.008955 | 0.354053 | 11,583 | 314 | 109 | 36.888535 | 0.824379 | 0.148062 | 0 | 0.785047 | 0 | 0 | 0.066018 | 0 | 0 | 0 | 0 | 0 | 0.023364 | 1 | 0.046729 | false | 0 | 0.018692 | 0 | 0.11215 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6519fa05a1604cbcfb52d263233c938cf95f46ad | 211 | py | Python | apps/jobs/exceptions.py | kevingduck/transmission | c29ae529c02c885cdb0e64a35d7d4750ab1b8001 | [
"Apache-2.0"
] | 19 | 2018-09-04T14:49:01.000Z | 2020-06-09T22:13:10.000Z | apps/jobs/exceptions.py | kevingduck/transmission | c29ae529c02c885cdb0e64a35d7d4750ab1b8001 | [
"Apache-2.0"
] | 50 | 2018-09-18T17:28:57.000Z | 2021-01-09T16:18:45.000Z | apps/jobs/exceptions.py | kevingduck/transmission | c29ae529c02c885cdb0e64a35d7d4750ab1b8001 | [
"Apache-2.0"
] | 4 | 2019-12-15T13:44:18.000Z | 2021-06-09T20:39:54.000Z | class WalletInUseException(Exception):
"""The Wallet is currently in use by another AsyncJob"""
class TransactionCollisionException(Exception):
"""The Wallet is currently in use by another AsyncJob"""
| 30.142857 | 60 | 0.763033 | 24 | 211 | 6.708333 | 0.541667 | 0.149068 | 0.223602 | 0.248447 | 0.63354 | 0.63354 | 0.63354 | 0.63354 | 0.63354 | 0.63354 | 0 | 0 | 0.151659 | 211 | 6 | 61 | 35.166667 | 0.899441 | 0.478673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
6521904aa42a2a3e012192e4c8d618acc71dfd0f | 436 | py | Python | pytorch_widedeep/models/__init__.py | cmcmaster1/pytorch-widedeep | d0feb29e56aa5612acdd3c60ce2c82ec04093110 | [
"MIT"
] | null | null | null | pytorch_widedeep/models/__init__.py | cmcmaster1/pytorch-widedeep | d0feb29e56aa5612acdd3c60ce2c82ec04093110 | [
"MIT"
] | null | null | null | pytorch_widedeep/models/__init__.py | cmcmaster1/pytorch-widedeep | d0feb29e56aa5612acdd3c60ce2c82ec04093110 | [
"MIT"
] | null | null | null | from pytorch_widedeep.models.wide import Wide
from pytorch_widedeep.models.tab_mlp import TabMlp
from pytorch_widedeep.models.deep_text import DeepText
from pytorch_widedeep.models.wide_deep import WideDeep
from pytorch_widedeep.models.deep_image import DeepImage
from pytorch_widedeep.models.tab_resnet import TabResnet... | 48.444444 | 66 | 0.889908 | 62 | 436 | 6.032258 | 0.306452 | 0.235294 | 0.406417 | 0.534759 | 0.534759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073395 | 436 | 8 | 67 | 54.5 | 0.925743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
334164397a91a1a82b23691974b627767fb21346 | 131 | py | Python | donkeypart_elecom_controller/__init__.py | coolerking/donkeypart_elecom_controller | 192b52db655302703719cac1750178c4d7b278e3 | [
"MIT"
] | null | null | null | donkeypart_elecom_controller/__init__.py | coolerking/donkeypart_elecom_controller | 192b52db655302703719cac1750178c4d7b278e3 | [
"MIT"
] | null | null | null | donkeypart_elecom_controller/__init__.py | coolerking/donkeypart_elecom_controller | 192b52db655302703719cac1750178c4d7b278e3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
'''
donkeycar.parts.controller.get_js_controller ラップ関数
'''
from .parts.controller import get_js_controller
| 21.833333 | 50 | 0.748092 | 17 | 131 | 5.529412 | 0.647059 | 0.319149 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.099237 | 131 | 5 | 51 | 26.2 | 0.788136 | 0.557252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
684d2a1fefe96a805dc5d9e2d7fa4c53b43eb628 | 1,081 | py | Python | sword-for-offer/ch3_string/Q14.py | GUTYL/algorithms | e1c956ff4823e1f9252b50d31893a5b2da930372 | [
"MIT"
] | 1 | 2021-11-06T15:19:06.000Z | 2021-11-06T15:19:06.000Z | sword-for-offer/ch3_string/Q14.py | GUTYL/algorithms | e1c956ff4823e1f9252b50d31893a5b2da930372 | [
"MIT"
] | null | null | null | sword-for-offer/ch3_string/Q14.py | GUTYL/algorithms | e1c956ff4823e1f9252b50d31893a5b2da930372 | [
"MIT"
] | null | null | null | from collections import defaultdict
class Solution:
def checkInclusion(self, s1: str, s2: str) -> bool:
if len(s2) < len(s1):
return False
dict_s1 = defaultdict(int)
for i in range(len(s1)):
dict_s1[s1[i]] += 1
dict_s1[s2[i]] -= 1
if any(dict_s1.... | 30.027778 | 55 | 0.478261 | 152 | 1,081 | 3.309211 | 0.190789 | 0.166998 | 0.095427 | 0.107356 | 0.866799 | 0.866799 | 0.866799 | 0.866799 | 0.866799 | 0.691849 | 0 | 0.072508 | 0.387604 | 1,081 | 35 | 56 | 30.885714 | 0.687311 | 0 | 0 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.03125 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6864e9bfed2603f5387fd48259378c3e1e9f85d7 | 14,776 | py | Python | stubs/datapipeline.py | claytonbrown/troposphere | bf0f1e48b14f578de0221d50f711467ad716ca87 | [
"BSD-2-Clause"
] | null | null | null | stubs/datapipeline.py | claytonbrown/troposphere | bf0f1e48b14f578de0221d50f711467ad716ca87 | [
"BSD-2-Clause"
] | null | null | null | stubs/datapipeline.py | claytonbrown/troposphere | bf0f1e48b14f578de0221d50f711467ad716ca87 | [
"BSD-2-Clause"
] | null | null | null | from . import AWSObject, AWSProperty
from .validators import *
from .constants import *
# -------------------------------------------
class DataPipelineParameterAttribute(AWSProperty):
"""# ParameterAttribute - CloudFormationResourceSpecification version: 1.4.0
{
"Documentation": "http://docs.aws.amazon.... | 56.613027 | 253 | 0.674811 | 1,266 | 14,776 | 7.875197 | 0.055292 | 0.18656 | 0.054062 | 0.083551 | 0.880542 | 0.876329 | 0.850652 | 0.825577 | 0.820261 | 0.820261 | 0 | 0.001702 | 0.164727 | 14,776 | 260 | 254 | 56.830769 | 0.806109 | 0.643002 | 0 | 0.152174 | 0 | 0.456522 | 0.716307 | 0.005162 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.065217 | 0 | 0.391304 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
688acf820347e3fe9cc3b03473dc5cd5c5a51bc0 | 1,035 | py | Python | plugin/dbdriver/gen/DBDriverBase.py | lisugar/ray_build_tools | a304c8fc30ce9f61cbdc566d8dc193945f14883d | [
"MIT"
] | null | null | null | plugin/dbdriver/gen/DBDriverBase.py | lisugar/ray_build_tools | a304c8fc30ce9f61cbdc566d8dc193945f14883d | [
"MIT"
] | null | null | null | plugin/dbdriver/gen/DBDriverBase.py | lisugar/ray_build_tools | a304c8fc30ce9f61cbdc566d8dc193945f14883d | [
"MIT"
] | null | null | null | import six
import abc
import os
@six.add_metaclass(abc.ABCMeta)
class BaseDBDriver(object):
@abc.abstractmethod
def create_resource(self, ctx, obj_type, request_dict):
raise NotImplementedError('BaseDBDriver should implement the method to execute') # pragma: no cover
@abc.abstractmethod
def ... | 39.807692 | 108 | 0.73913 | 126 | 1,035 | 5.968254 | 0.293651 | 0.113032 | 0.132979 | 0.119681 | 0.832447 | 0.803191 | 0.803191 | 0.803191 | 0.803191 | 0.803191 | 0 | 0 | 0.182609 | 1,035 | 26 | 109 | 39.807692 | 0.888889 | 0.081159 | 0 | 0.5 | 0 | 0 | 0.269556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.15 | 0 | 0.45 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
688e4a68bf705f4f990ef5850aba5ca67fc1d9c8 | 12,208 | py | Python | test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py | changlong-liu/autorest.python | 1f03e4c6a11934d385fab050dc44041f1e91e9ff | [
"MIT"
] | null | null | null | test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py | changlong-liu/autorest.python | 1f03e4c6a11934d385fab050dc44041f1e91e9ff | [
"MIT"
] | null | null | null | test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/aio/operations/_operations.py | changlong-liu/autorest.python | 1f03e4c6a11934d385fab050dc44041f1e91e9ff | [
"MIT"
] | null | null | null | # pylint: disable=too-many-lines
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRe... | 36.660661 | 106 | 0.657274 | 1,323 | 12,208 | 5.854875 | 0.123205 | 0.041312 | 0.03718 | 0.026982 | 0.820811 | 0.820811 | 0.799897 | 0.75213 | 0.75213 | 0.75213 | 0 | 0.013892 | 0.239351 | 12,208 | 332 | 107 | 36.771084 | 0.820267 | 0.114024 | 0 | 0.71 | 0 | 0 | 0.016315 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005 | false | 0 | 0.04 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d7f75de93c001c7fe9799a2078cb853bdda9b81d | 218 | py | Python | survol/sources_types/Azure/__init__.py | AugustinMascarelli/survol | 7a822900e82d1e6f016dba014af5741558b78f15 | [
"BSD-3-Clause"
] | null | null | null | survol/sources_types/Azure/__init__.py | AugustinMascarelli/survol | 7a822900e82d1e6f016dba014af5741558b78f15 | [
"BSD-3-Clause"
] | null | null | null | survol/sources_types/Azure/__init__.py | AugustinMascarelli/survol | 7a822900e82d1e6f016dba014af5741558b78f15 | [
"BSD-3-Clause"
] | null | null | null | """
Azure concepts
"""
def Graphic_shape():
return "egg"
def Graphic_colorfill():
return "#CCCC33"
def Graphic_colorbg():
return "#CCCC33"
def Graphic_border():
return 0
def Graphic_is_rounded():
return True
| 11.473684 | 25 | 0.711009 | 28 | 218 | 5.321429 | 0.535714 | 0.33557 | 0.201342 | 0.295302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027174 | 0.155963 | 218 | 18 | 26 | 12.111111 | 0.782609 | 0.06422 | 0 | 0.2 | 0 | 0 | 0.086735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
d7fae5992838a0aae6652b94dc8e50764f67f0f3 | 6,819 | py | Python | tests/test_storage_model.py | chaostoolkit/chaosplatform-auth | 35d99e4f87d6e1f07699ce7701b07391065fb3a7 | [
"Apache-2.0"
] | null | null | null | tests/test_storage_model.py | chaostoolkit/chaosplatform-auth | 35d99e4f87d6e1f07699ce7701b07391065fb3a7 | [
"Apache-2.0"
] | 2 | 2020-06-03T12:44:25.000Z | 2020-06-22T09:32:01.000Z | tests/test_storage_model.py | chaostoolkit/chaosplatform-auth | 35d99e4f87d6e1f07699ce7701b07391065fb3a7 | [
"Apache-2.0"
] | null | null | null | import uuid
from chaosplt_auth.storage import AuthStorage
from chaosplt_auth.storage.model import AccessToken, OAuthToken
from chaosplt_relational_storage.db import orm_session
def test_save_access_token(storage: AuthStorage):
with orm_session() as session:
token = AccessToken.save(
name=uuid... | 29.392241 | 74 | 0.604634 | 770 | 6,819 | 5.115584 | 0.063636 | 0.073115 | 0.055852 | 0.076161 | 0.886773 | 0.866464 | 0.842346 | 0.842346 | 0.808581 | 0.768469 | 0 | 0.017177 | 0.291392 | 6,819 | 231 | 75 | 29.519481 | 0.798013 | 0 | 0 | 0.735955 | 0 | 0 | 0.040915 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 1 | 0.067416 | false | 0 | 0.022472 | 0 | 0.089888 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cc0c7de0bcb875b95347e16995a82f73837382e3 | 126 | py | Python | discord_bot_eternal_dice/discord_bot_eternal_dice/util/app_config.py | lesteenman/discord-bot-eternal-dice | 717d7ac10b8dbc3bef5d96dec417fd74154241e3 | [
"MIT"
] | null | null | null | discord_bot_eternal_dice/discord_bot_eternal_dice/util/app_config.py | lesteenman/discord-bot-eternal-dice | 717d7ac10b8dbc3bef5d96dec417fd74154241e3 | [
"MIT"
] | null | null | null | discord_bot_eternal_dice/discord_bot_eternal_dice/util/app_config.py | lesteenman/discord-bot-eternal-dice | 717d7ac10b8dbc3bef5d96dec417fd74154241e3 | [
"MIT"
] | null | null | null | import os
discord_public_key: str = os.getenv('DISCORD_PUBLIC_KEY')
discord_bot_token: str = os.getenv('DISCORD_BOT_TOKEN')
| 21 | 57 | 0.793651 | 20 | 126 | 4.6 | 0.45 | 0.282609 | 0.347826 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 126 | 5 | 58 | 25.2 | 0.807018 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
cc21b0d6b73393a3ee37d6b000821a9cb07dce83 | 164 | py | Python | python/bootcamp/modules/MyMainPackage/some_main_script.py | RodolfoDiaz/CodeLibrary | 603ac9eee5b014bef8f04545bc4e73b0ec376131 | [
"MIT"
] | 1 | 2018-10-11T14:29:40.000Z | 2018-10-11T14:29:40.000Z | python/bootcamp/modules/MyMainPackage/some_main_script.py | RodolfoDiaz/CodeLibrary | 603ac9eee5b014bef8f04545bc4e73b0ec376131 | [
"MIT"
] | 2 | 2020-04-26T21:12:00.000Z | 2020-10-28T21:10:03.000Z | python/bootcamp/modules/MyMainPackage/some_main_script.py | RodolfoDiaz/CodeLibrary | 603ac9eee5b014bef8f04545bc4e73b0ec376131 | [
"MIT"
] | null | null | null | """Docstring text for public module."""
def report_main():
"""Docstring text for public method."""
print("Hey I am in some_main_script in main package.")
| 23.428571 | 58 | 0.682927 | 24 | 164 | 4.541667 | 0.708333 | 0.238532 | 0.293578 | 0.40367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182927 | 164 | 6 | 59 | 27.333333 | 0.813433 | 0.408537 | 0 | 0 | 0 | 0 | 0.523256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
cc299bdde52b29913d420de3b10def2a9e06522e | 89 | py | Python | tests/test_SiteStatusRequest.py | rodrigorf/crawler-mercadolivre | 07cefe5a8389d6b665fe90f03ebcd54704c3c73d | [
"MIT"
] | 2 | 2021-09-17T00:41:00.000Z | 2021-09-20T16:56:33.000Z | tests/test_SiteStatusRequest.py | rodrigorf/crawler-mercadolivre | 07cefe5a8389d6b665fe90f03ebcd54704c3c73d | [
"MIT"
] | 1 | 2021-09-05T01:22:04.000Z | 2021-09-05T01:22:04.000Z | tests/test_SiteStatusRequest.py | rodrigorf/crawler-mercadolivre | 07cefe5a8389d6b665fe90f03ebcd54704c3c73d | [
"MIT"
] | 1 | 2021-09-17T00:42:11.000Z | 2021-09-17T00:42:11.000Z | #TODO - create ML base tests
import pytest
def test_statuscode_200():
assert True
| 11.125 | 28 | 0.730337 | 13 | 89 | 4.846154 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0.213483 | 89 | 7 | 29 | 12.714286 | 0.857143 | 0.303371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0bca6907d71f56e4a3605a6324fc6dac36a89649 | 2,153 | py | Python | tests/exp_voxel_convolution_test.py | e3nn/e3nn-jax | 5899e69684f00c0538d3597bbf6c12a45c090e5f | [
"Apache-2.0"
] | 14 | 2021-12-22T09:13:04.000Z | 2022-03-24T13:32:56.000Z | tests/exp_voxel_convolution_test.py | e3nn/e3nn-jax | 5899e69684f00c0538d3597bbf6c12a45c090e5f | [
"Apache-2.0"
] | 2 | 2022-03-17T05:00:25.000Z | 2022-03-21T23:20:52.000Z | tests/exp_voxel_convolution_test.py | e3nn/e3nn-jax | 5899e69684f00c0538d3597bbf6c12a45c090e5f | [
"Apache-2.0"
] | 1 | 2022-03-21T23:05:06.000Z | 2022-03-21T23:05:06.000Z | import jax
import jax.numpy as jnp
import haiku as hk
from e3nn_jax import Irreps, IrrepsData
from e3nn_jax.experimental.voxel_convolution import Convolution
def test_convolution(keys):
irreps_in = Irreps("2x0e + 3x1e + 2x2e")
irreps_out = Irreps("0e + 2x1e + 2e")
irreps_sh = Irreps("0e + 1e + 2e")
... | 26.9125 | 65 | 0.555039 | 362 | 2,153 | 3.171271 | 0.196133 | 0.026132 | 0.020906 | 0.020906 | 0.820557 | 0.820557 | 0.820557 | 0.820557 | 0.820557 | 0.820557 | 0 | 0.106959 | 0.279145 | 2,153 | 79 | 66 | 27.253165 | 0.632732 | 0 | 0 | 0.833333 | 0 | 0 | 0.040873 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 1 | 0.066667 | false | 0 | 0.083333 | 0 | 0.183333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0bcc1cf6768ff9ef8d2d3a9cffa90a3eb1c13b4a | 932 | py | Python | celery_sandbox/test_retries.py | karantan/celery-sandbox | ed46c7e72d87d5ac452899ef8323058cf881212a | [
"MIT"
] | null | null | null | celery_sandbox/test_retries.py | karantan/celery-sandbox | ed46c7e72d87d5ac452899ef8323058cf881212a | [
"MIT"
] | null | null | null | celery_sandbox/test_retries.py | karantan/celery-sandbox | ed46c7e72d87d5ac452899ef8323058cf881212a | [
"MIT"
] | null | null | null | from celery_sandbox.retries import retries_exceeded
from celery_sandbox.retries import retries_exceeded_v2
from celery_sandbox.retries import retries_exceeded_return
def test_retries_exceeded(celery_app, celery_worker):
assert retries_exceeded.delay(3, 4).get() == 'Max retries exceeded...'
def test_retries_not_... | 33.285714 | 81 | 0.787554 | 136 | 932 | 5.036765 | 0.147059 | 0.306569 | 0.122628 | 0.183942 | 0.962044 | 0.953285 | 0.953285 | 0.756204 | 0.69781 | 0.551825 | 0 | 0.024096 | 0.109442 | 932 | 27 | 82 | 34.518519 | 0.801205 | 0 | 0 | 0 | 0 | 0 | 0.074034 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
0bfc8501e8411e3ee0d15260d83d0c2a2fab9704 | 4,427 | py | Python | tests/config/test_config_snips_mqtt.py | fossabot/snipskit | 57fe329bf302f863bf190b2cfe1175e13d1d017e | [
"MIT"
] | 12 | 2019-03-18T13:03:46.000Z | 2019-08-14T03:13:32.000Z | tests/config/test_config_snips_mqtt.py | fossabot/snipskit | 57fe329bf302f863bf190b2cfe1175e13d1d017e | [
"MIT"
] | 4 | 2019-04-05T07:14:59.000Z | 2019-12-06T23:51:31.000Z | tests/config/test_config_snips_mqtt.py | fossabot/snipskit | 57fe329bf302f863bf190b2cfe1175e13d1d017e | [
"MIT"
] | 4 | 2019-05-01T07:56:20.000Z | 2019-11-17T13:54:59.000Z | """Tests for the MQTT connection settings of the `snipskit.config.SnipsConfig`
class.
"""
from snipskit.config import SnipsConfig
def test_snips_config_mqtt_default(fs):
"""Test whether a `SnipsConfig` object with default MQTT connection
settings is initialized correctly.
"""
config_file = '/etc/snip... | 42.980583 | 85 | 0.703411 | 607 | 4,427 | 4.943987 | 0.112026 | 0.190603 | 0.23992 | 0.307897 | 0.935688 | 0.928357 | 0.895368 | 0.873709 | 0.873709 | 0.843052 | 0 | 0.007975 | 0.206912 | 4,427 | 102 | 86 | 43.401961 | 0.846767 | 0.119268 | 0 | 0.756757 | 0 | 0 | 0.152503 | 0.101929 | 0 | 0 | 0 | 0 | 0.594595 | 1 | 0.054054 | false | 0.081081 | 0.013514 | 0 | 0.067568 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 11 |
043b57bd040fdcb3c1d7ed04032a3fd8838f235b | 5,606 | py | Python | test/test_searches_api.py | greenpau/pycherwell | 2a25446d5cf86d69e6158067faf27ce250aba966 | [
"Apache-2.0"
] | 2 | 2020-04-09T16:41:25.000Z | 2020-08-25T21:07:53.000Z | test/test_searches_api.py | greenpau/pycherwell | 2a25446d5cf86d69e6158067faf27ce250aba966 | [
"Apache-2.0"
] | 15 | 2020-02-12T14:57:30.000Z | 2020-11-27T23:34:15.000Z | test/test_searches_api.py | greenpau/pycherwell | 2a25446d5cf86d69e6158067faf27ce250aba966 | [
"Apache-2.0"
] | 2 | 2020-02-12T14:57:38.000Z | 2021-07-30T11:32:28.000Z | # coding: utf-8
"""
Cherwell REST API
Unofficial Python Cherwell REST API library. # noqa: E501
The version of the OpenAPI document: 9.3.2
Contact: See AUTHORS.
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import pycherwell
from pych... | 30.802198 | 96 | 0.705494 | 775 | 5,606 | 4.677419 | 0.117419 | 0.127448 | 0.150069 | 0.110069 | 0.854897 | 0.849931 | 0.831724 | 0.824276 | 0.805241 | 0.767724 | 0 | 0.027745 | 0.241349 | 5,606 | 181 | 97 | 30.972376 | 0.824594 | 0.49893 | 0 | 0.407407 | 1 | 0 | 0.00346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.425926 | false | 0.407407 | 0.092593 | 0 | 0.537037 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
f0a02b05ae881985fff80afeba39b88024250c15 | 34,929 | py | Python | dragonchain/lib/authorization_utest.py | cheeseandcereal/dragonchain | 34d34e344b887c2a0eeb591ede2015cc2506a323 | [
"Apache-2.0"
] | null | null | null | dragonchain/lib/authorization_utest.py | cheeseandcereal/dragonchain | 34d34e344b887c2a0eeb591ede2015cc2506a323 | [
"Apache-2.0"
] | null | null | null | dragonchain/lib/authorization_utest.py | cheeseandcereal/dragonchain | 34d34e344b887c2a0eeb591ede2015cc2506a323 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Dragonchain, Inc.
# Licensed under the Apache License, Version 2.0 (the "Apache License")
# with the following modification; you may not use this file except in
# compliance with the Apache License and the following modification to it:
# Section 6. Trademarks. is deleted and replaced with:
# 6. Tr... | 52.603916 | 148 | 0.701738 | 4,078 | 34,929 | 5.698627 | 0.084355 | 0.085546 | 0.11528 | 0.185894 | 0.820905 | 0.788545 | 0.754594 | 0.738285 | 0.730969 | 0.719222 | 0 | 0.03254 | 0.191446 | 34,929 | 663 | 149 | 52.683258 | 0.790312 | 0.047267 | 0 | 0.737201 | 0 | 0 | 0.332469 | 0.252615 | 0 | 0 | 0 | 0 | 0.087031 | 1 | 0.06314 | false | 0.001706 | 0.011945 | 0 | 0.076792 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f0d0795521b3c8899e943e127a5314e8bfd4867d | 8,945 | py | Python | augmentation.py | baoanh1310/zalo_2020 | 9575223bd3d3e4b5ec69a33f04769703ef15cbff | [
"Apache-2.0"
] | null | null | null | augmentation.py | baoanh1310/zalo_2020 | 9575223bd3d3e4b5ec69a33f04769703ef15cbff | [
"Apache-2.0"
] | null | null | null | augmentation.py | baoanh1310/zalo_2020 | 9575223bd3d3e4b5ec69a33f04769703ef15cbff | [
"Apache-2.0"
] | null | null | null | import os
from data_aug.data_aug import *
from data_aug.bbox_util import *
from PIL import Image
import cv2
import numpy as np
import argparse
import json
from config import *
train_folder = TRAIN_FOLDER
train_json = TRAIN_JSON_FILE
augment_folder = AUGMENT_FOLDER
augment_json = AUGMENT_JSON_FILE
with open(augment_js... | 41.03211 | 152 | 0.596534 | 1,238 | 8,945 | 4.075121 | 0.076737 | 0.074926 | 0.051536 | 0.02775 | 0.856293 | 0.856293 | 0.856293 | 0.856293 | 0.856293 | 0.856293 | 0 | 0.021614 | 0.239687 | 8,945 | 217 | 153 | 41.221198 | 0.720188 | 0.031861 | 0 | 0.798817 | 0 | 0 | 0.106895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.053254 | 0 | 0.053254 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f0f2a26745b737e2c797fb48704576cb9af03fc1 | 12,197 | py | Python | PSYC15_Project_static1/dictionary_img.py | fooledyouonce/FacialRecognition | df4ee623a4f06f7a4fda8a33449b783196a814d7 | [
"Apache-2.0"
] | null | null | null | PSYC15_Project_static1/dictionary_img.py | fooledyouonce/FacialRecognition | df4ee623a4f06f7a4fda8a33449b783196a814d7 | [
"Apache-2.0"
] | null | null | null | PSYC15_Project_static1/dictionary_img.py | fooledyouonce/FacialRecognition | df4ee623a4f06f7a4fda8a33449b783196a814d7 | [
"Apache-2.0"
] | 1 | 2022-02-25T17:27:20.000Z | 2022-02-25T17:27:20.000Z | import os
def getKey(pyimage):
trial_dict = {'pyimage1':['afraid','scared','fear','frightened','nervous','terrified','terror','alarm','dread','fright','fearful','alarmed'],\
'pyimage2':['angry','anger','mad','frustrated','upset','rage','enraged','furious','hate','hatred','fury','frustration','ir... | 152.4625 | 276 | 0.63819 | 1,079 | 12,197 | 7.203892 | 0.160334 | 0.015438 | 0.020584 | 0.033449 | 0.920108 | 0.920108 | 0.920108 | 0.920108 | 0.920108 | 0.920108 | 0 | 0.009996 | 0.089612 | 12,197 | 79 | 277 | 154.392405 | 0.690022 | 0 | 0 | 0 | 0 | 0 | 0.636244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015152 | false | 0 | 0.015152 | 0 | 0.045455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0b17799639421d5cbbe0efcaaf403d03b6982c1d | 226 | py | Python | python/testData/quickFixes/PyTypeHintsQuickFixTest/functionAnnotationAndTypeComment.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 1 | 2018-10-03T12:35:12.000Z | 2018-10-03T12:35:12.000Z | python/testData/quickFixes/PyTypeHintsQuickFixTest/functionAnnotationAndTypeComment.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/quickFixes/PyTypeHintsQuickFixTest/functionAnnotationAndTypeComment.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def <warning descr="Type(s) specified both in type comment and annotation">b<caret>ar</warning>(a: int) -> int:
<warning descr="Type(s) specified both in type comment and annotation"># type: (int) -> int</warning>
pass | 75.333333 | 111 | 0.699115 | 35 | 226 | 4.514286 | 0.485714 | 0.151899 | 0.202532 | 0.21519 | 0.708861 | 0.708861 | 0.708861 | 0.708861 | 0.708861 | 0.708861 | 0 | 0 | 0.150442 | 226 | 3 | 112 | 75.333333 | 0.822917 | 0.123894 | 0 | 0 | 0 | 0 | 0.538071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.333333 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
50096ce1fba3bfe35e250ec59a078947424a2730 | 68,642 | py | Python | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/SystemIPC_2/cmp_perlbench/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/SystemIPC_2/cmp_perlbench/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/SystemIPC_2/cmp_perlbench/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.100656 | 124 | 0.682002 | 8,098 | 68,642 | 5.775006 | 0.067301 | 0.123509 | 0.112903 | 0.093401 | 0.940448 | 0.931852 | 0.919215 | 0.890497 | 0.864153 | 0.846897 | 0 | 0.131885 | 0.224221 | 68,642 | 914 | 125 | 75.100656 | 0.746333 | 0 | 0 | 0.650985 | 0 | 0 | 0.657095 | 0.048075 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ac96b27acd35da2451e7930d1ff4d5ac01322345 | 147 | py | Python | ETL-CSV-to-HDF5/client/hdflow/__init__.py | Bears-R-Us/arkouda-contrib | 6965d6f8a274dd633ebf718b56b93c40562627fc | [
"MIT"
] | 2 | 2022-02-09T20:20:47.000Z | 2022-02-10T01:00:14.000Z | ETL-CSV-to-HDF5/client/hdflow/__init__.py | Bears-R-Us/arkouda-contrib | 6965d6f8a274dd633ebf718b56b93c40562627fc | [
"MIT"
] | 8 | 2022-02-24T12:52:34.000Z | 2022-03-30T16:51:07.000Z | ETL-CSV-to-HDF5/client/hdflow/__init__.py | Bears-R-Us/arkouda-contrib | 6965d6f8a274dd633ebf718b56b93c40562627fc | [
"MIT"
] | 2 | 2022-02-14T23:32:19.000Z | 2022-03-25T14:59:39.000Z | __all__ = ["hdflow", "example_formats"]
from hdflow.converters import *
import hdflow.example_formats
from hdflow.example_formats import OPTIONS
| 24.5 | 42 | 0.809524 | 18 | 147 | 6.222222 | 0.444444 | 0.348214 | 0.535714 | 0.428571 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108844 | 147 | 5 | 43 | 29.4 | 0.854962 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
acca2e2a33a7499a365a4800624449cca6e15ebd | 68,581 | py | Python | benchmarks/SimResults/_bigLittle_hrrs_splash_tugberk_ml/ratio_based_results/cmp_cholesky/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_splash_tugberk_ml/ratio_based_results/cmp_cholesky/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_splash_tugberk_ml/ratio_based_results/cmp_cholesky/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.033917 | 124 | 0.681953 | 8,082 | 68,581 | 5.780871 | 0.067681 | 0.123627 | 0.113011 | 0.093491 | 0.939449 | 0.931423 | 0.918773 | 0.886689 | 0.862075 | 0.84294 | 0 | 0.131491 | 0.224421 | 68,581 | 914 | 125 | 75.033917 | 0.746889 | 0 | 0 | 0.642232 | 0 | 0 | 0.65768 | 0.048118 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4a07db19fb38a0ae86fefce2f12e8482e213f03d | 17,783 | py | Python | test/test_individual_module_mounting_backend.py | nus-mtp/another-cs-study-planner | 02b52871a34f580b779ede08750f2d4e887bcf65 | [
"MIT"
] | 1 | 2017-04-30T17:59:08.000Z | 2017-04-30T17:59:08.000Z | test/test_individual_module_mounting_backend.py | nus-mtp/another-cs-study-planner | 02b52871a34f580b779ede08750f2d4e887bcf65 | [
"MIT"
] | 87 | 2017-02-13T09:06:13.000Z | 2017-04-14T09:23:08.000Z | test/test_individual_module_mounting_backend.py | nus-mtp/another-cs-study-planner | 02b52871a34f580b779ede08750f2d4e887bcf65 | [
"MIT"
] | 1 | 2017-04-11T05:26:00.000Z | 2017-04-11T05:26:00.000Z | '''
test_individual_module_mounting_backend.py
Contains test cases related to backened functions for displaying an individual module's mounting
'''
from nose.tools import assert_equal, assert_true
from components.handlers.module_overview import ViewMod
from components.handlers.module_view_in_ay_sem import Indiv... | 48.32337 | 100 | 0.714503 | 2,537 | 17,783 | 4.573512 | 0.042964 | 0.084375 | 0.100664 | 0.144704 | 0.897699 | 0.888219 | 0.871585 | 0.865811 | 0.843403 | 0.792726 | 0 | 0.034169 | 0.196873 | 17,783 | 367 | 101 | 48.455041 | 0.778252 | 0.06883 | 0 | 0.742188 | 0 | 0 | 0.048429 | 0 | 0 | 0 | 0 | 0 | 0.390625 | 1 | 0.042969 | false | 0 | 0.015625 | 0 | 0.066406 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c57a08a0e0c907988dd976b4fefeb9ca247e949e | 7,738 | py | Python | OSESMO/OSESMO Python/Import_Utility_Marginal_Cost_Data.py | nickolasclarke/dataJungle | 1b388ecd7d56c770ea7d56c1c6757d39132f2c68 | [
"MIT"
] | 1 | 2019-11-19T22:32:36.000Z | 2019-11-19T22:32:36.000Z | OSESMO/OSESMO Python/Import_Utility_Marginal_Cost_Data.py | nickolasclarke/dataJungle | 1b388ecd7d56c770ea7d56c1c6757d39132f2c68 | [
"MIT"
] | 9 | 2019-12-04T06:19:21.000Z | 2019-12-16T05:05:51.000Z | OSESMO/OSESMO Python/Import_Utility_Marginal_Cost_Data.py | nickolasclarke/dataJungle | 1b388ecd7d56c770ea7d56c1c6757d39132f2c68 | [
"MIT"
] | 2 | 2019-11-19T22:32:29.000Z | 2019-11-19T22:32:46.000Z | def Import_Utility_Marginal_Cost_Data(Input_Output_Data_Directory_Location=None, OSESMO_Git_Repo_Directory=None, delta_t=None, Load_Profile_Name_Input=None):
# Load Python Packages
import os
import numpy as np
# Set Directory to Box Sync Folder
os.chdir(Input_Output_Data_Directory_Location)
... | 44.728324 | 165 | 0.730292 | 892 | 7,738 | 5.984305 | 0.126682 | 0.102286 | 0.196703 | 0.201012 | 0.885163 | 0.849007 | 0.819033 | 0.809667 | 0.803484 | 0.770888 | 0 | 0.021297 | 0.199018 | 7,738 | 173 | 166 | 44.728324 | 0.839948 | 0.021711 | 0 | 0.608696 | 0 | 0.069565 | 0.320687 | 0.048381 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008696 | false | 0 | 0.026087 | 0 | 0.043478 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c597709d52b061847805ebadec00e1815b67ecd7 | 6,140 | py | Python | dyp-app/dbController.py | wanero13/proj_dyp | 3a02d3a7ad9377440399d3ee22447c567f413609 | [
"MIT"
] | null | null | null | dyp-app/dbController.py | wanero13/proj_dyp | 3a02d3a7ad9377440399d3ee22447c567f413609 | [
"MIT"
] | null | null | null | dyp-app/dbController.py | wanero13/proj_dyp | 3a02d3a7ad9377440399d3ee22447c567f413609 | [
"MIT"
] | null | null | null | import sqlite3
def insertUser(user_login, user_password, user_email):
try:
print("Trying to insert User")
sqliteConnection = sqlite3.connect('SQLite_Python.db')
cursor = sqliteConnection.cursor()
print("Connected to SQLite")
sqlite_insert_with_param = """INSERT I... | 34.494382 | 103 | 0.614495 | 636 | 6,140 | 5.781447 | 0.125786 | 0.019581 | 0.065271 | 0.078325 | 0.880065 | 0.856405 | 0.804188 | 0.804188 | 0.776448 | 0.776448 | 0 | 0.004164 | 0.295928 | 6,140 | 177 | 104 | 34.689266 | 0.846403 | 0 | 0 | 0.765517 | 0 | 0 | 0.281255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055172 | false | 0.041379 | 0.006897 | 0 | 0.131034 | 0.213793 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c5b17209fc55b1acc3999fcd030a129689e9c4ae | 139 | py | Python | arcade/joysticks.py | philipbergen/arcade | d4741f6fcb82ca72de021bd71df17a8219da8549 | [
"MIT"
] | 1 | 2018-11-01T14:40:35.000Z | 2018-11-01T14:40:35.000Z | arcade/joysticks.py | philipbergen/arcade | d4741f6fcb82ca72de021bd71df17a8219da8549 | [
"MIT"
] | null | null | null | arcade/joysticks.py | philipbergen/arcade | d4741f6fcb82ca72de021bd71df17a8219da8549 | [
"MIT"
] | null | null | null | import pyglet.input
def get_joysticks():
return pyglet.input.get_joysticks()
def get_game_controllers():
return get_joysticks()
| 15.444444 | 39 | 0.755396 | 18 | 139 | 5.555556 | 0.5 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151079 | 139 | 8 | 40 | 17.375 | 0.847458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
c5b1caed48a7de3300b67ba4f834bece16c840b1 | 7,298 | py | Python | Linear Models/tests/04_unittest_foldcounters_input/test.py | AxoyTO/ML-DL-DS-Python-Studies | ffef653190d1106e01244a4ea7f3f953b9d97882 | [
"Unlicense"
] | null | null | null | Linear Models/tests/04_unittest_foldcounters_input/test.py | AxoyTO/ML-DL-DS-Python-Studies | ffef653190d1106e01244a4ea7f3f953b9d97882 | [
"Unlicense"
] | null | null | null | Linear Models/tests/04_unittest_foldcounters_input/test.py | AxoyTO/ML-DL-DS-Python-Studies | ffef653190d1106e01244a4ea7f3f953b9d97882 | [
"Unlicense"
] | 1 | 2021-12-08T13:00:41.000Z | 2021-12-08T13:00:41.000Z | import numpy as np
import pandas as pd
from Task import MyOneHotEncoder, SimpleCounterEncoder, FoldCounters, weights
def test_imports():
with open('Task.py', 'r') as file:
lines = ' '.join(file.readlines())
assert 'import numpy' in lines
assert lines.count('import') == 1
assert 's... | 64.017544 | 120 | 0.527542 | 1,042 | 7,298 | 3.659309 | 0.105566 | 0.018358 | 0.026226 | 0.083923 | 0.870705 | 0.865985 | 0.843168 | 0.701285 | 0.683714 | 0.608707 | 0 | 0.596736 | 0.311592 | 7,298 | 113 | 121 | 64.584071 | 0.162221 | 0 | 0 | 0.433962 | 0 | 0 | 0.021102 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 1 | 0.028302 | false | 0 | 0.056604 | 0 | 0.084906 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c5b456d2c8d1f38e1ede7e641605d3d83183aedb | 2,810 | py | Python | library/Ottoman.py | kausalyamahadevan/knitout-frontend-py | 1a0414a88db698383dda7e9b45ec1293948b369b | [
"MIT"
] | null | null | null | library/Ottoman.py | kausalyamahadevan/knitout-frontend-py | 1a0414a88db698383dda7e9b45ec1293948b369b | [
"MIT"
] | null | null | null | library/Ottoman.py | kausalyamahadevan/knitout-frontend-py | 1a0414a88db698383dda7e9b45ec1293948b369b | [
"MIT"
] | null | null | null | import numpy as np
def ottomanStitch(k,beg,fin,length,c,passes1,passesBoth=1,side='l',bed1='f'):
k.rack(0.25)
if bed1=='f':
bed0='b'
else:
bed0='f'
#account for starting position and add first row of knitting
if side == 'r':
start = 1
length = length+1
else:
... | 26.018519 | 77 | 0.460854 | 374 | 2,810 | 3.462567 | 0.149733 | 0.054054 | 0.037066 | 0.067954 | 0.823938 | 0.755985 | 0.714286 | 0.714286 | 0.677992 | 0.677992 | 0 | 0.041356 | 0.380427 | 2,810 | 107 | 78 | 26.261682 | 0.70247 | 0.048754 | 0 | 0.85 | 0 | 0 | 0.011236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0375 | false | 0.0625 | 0.0125 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
a8aea2a3cbbce7570a52540051a5d82a4e5571e0 | 187 | py | Python | Recommendations/CF/Movies/movies-cf-app-python/data_ingest/views.py | javakishore-veleti/Data-Tech-Stack-Solutions | e60120d19a7b5be53da688b9c6ba7daa2a7e1b3d | [
"MIT"
] | null | null | null | Recommendations/CF/Movies/movies-cf-app-python/data_ingest/views.py | javakishore-veleti/Data-Tech-Stack-Solutions | e60120d19a7b5be53da688b9c6ba7daa2a7e1b3d | [
"MIT"
] | null | null | null | Recommendations/CF/Movies/movies-cf-app-python/data_ingest/views.py | javakishore-veleti/Data-Tech-Stack-Solutions | e60120d19a7b5be53da688b9c6ba7daa2a7e1b3d | [
"MIT"
] | null | null | null | from flask import render_template
def data_ingest_list():
return "Hello World"
def download_movies_data():
return render_template('data_ingest/download_movies_data_msg.html')
| 18.7 | 71 | 0.791444 | 26 | 187 | 5.307692 | 0.615385 | 0.202899 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13369 | 187 | 9 | 72 | 20.777778 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.278075 | 0.219251 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
a8ba2292aa66a6d049c58b0f10931b8349e78d65 | 18,976 | py | Python | tensorflow_text/python/ops/ngrams_op_test.py | sun1638650145/text | c5c14d7739e4d3a0368f196e8a733e9654df6d20 | [
"Apache-2.0"
] | 2 | 2021-10-31T03:30:37.000Z | 2022-02-16T06:59:02.000Z | tensorflow_text/python/ops/ngrams_op_test.py | sun1638650145/text | c5c14d7739e4d3a0368f196e8a733e9654df6d20 | [
"Apache-2.0"
] | null | null | null | tensorflow_text/python/ops/ngrams_op_test.py | sun1638650145/text | c5c14d7739e4d3a0368f196e8a733e9654df6d20 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# Copyright 2022 TF.Text Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | 38.885246 | 80 | 0.636804 | 2,535 | 18,976 | 4.566469 | 0.107298 | 0.049067 | 0.044748 | 0.059865 | 0.828352 | 0.815739 | 0.81453 | 0.80952 | 0.799931 | 0.783863 | 0 | 0.059234 | 0.221543 | 18,976 | 487 | 81 | 38.965092 | 0.724411 | 0.05391 | 0 | 0.781421 | 0 | 0 | 0.029817 | 0 | 0 | 0 | 0 | 0 | 0.101093 | 1 | 0.10929 | false | 0 | 0.038251 | 0.002732 | 0.163934 | 0.008197 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
765cb86745bee75e41b3729ee185504130b09f6c | 36,685 | py | Python | hubspot/crm/objects/api/basic_api.py | Ronfer/hubspot-api-python | 1c87274ecbba4aa3c7728f890ccc6e77b2b6d2e4 | [
"Apache-2.0"
] | 117 | 2020-04-06T08:22:53.000Z | 2022-03-18T03:41:29.000Z | hubspot/crm/objects/api/basic_api.py | Ronfer/hubspot-api-python | 1c87274ecbba4aa3c7728f890ccc6e77b2b6d2e4 | [
"Apache-2.0"
] | 62 | 2020-04-06T16:21:06.000Z | 2022-03-17T16:50:44.000Z | hubspot/crm/objects/api/basic_api.py | Ronfer/hubspot-api-python | 1c87274ecbba4aa3c7728f890ccc6e77b2b6d2e4 | [
"Apache-2.0"
] | 45 | 2020-04-06T16:13:52.000Z | 2022-03-30T21:33:17.000Z | # coding: utf-8
"""
CRM Objects
CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported O... | 58.230159 | 1,327 | 0.652337 | 4,482 | 36,685 | 5.118251 | 0.072066 | 0.042546 | 0.067132 | 0.020924 | 0.915432 | 0.912903 | 0.910549 | 0.908413 | 0.896208 | 0.895074 | 0 | 0.014993 | 0.269102 | 36,685 | 629 | 1,328 | 58.322735 | 0.840562 | 0.506883 | 0 | 0.770677 | 0 | 0 | 0.227922 | 0.057012 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041353 | false | 0 | 0.018797 | 0 | 0.101504 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4f13968f0dc867e236c8b835ee4551dfd2a581e3 | 164 | py | Python | GPyOpt/core/errors.py | zhenwendai/GPyOpt | fd96875e7ec0cb0f78014d96813ece400648827d | [
"BSD-3-Clause"
] | 850 | 2015-05-31T21:12:41.000Z | 2022-03-24T17:25:37.000Z | GPyOpt/core/errors.py | lakshaykc/GPyOpt | 097ba66e81c7e22b5bf9fdbe64fd135753bc4a67 | [
"BSD-3-Clause"
] | 340 | 2015-09-10T14:08:06.000Z | 2022-03-28T20:35:26.000Z | GPyOpt/core/errors.py | lakshaykc/GPyOpt | 097ba66e81c7e22b5bf9fdbe64fd135753bc4a67 | [
"BSD-3-Clause"
] | 299 | 2015-07-30T13:18:37.000Z | 2022-03-22T21:27:31.000Z | class InvalidConfigError(Exception):
pass
class FullyExploredOptimizationDomainError(Exception):
pass
class InvalidVariableNameError(Exception):
pass
| 18.222222 | 54 | 0.804878 | 12 | 164 | 11 | 0.5 | 0.295455 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140244 | 164 | 8 | 55 | 20.5 | 0.93617 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
4f7fd6f1237811a8f4207d37fc26afb8ee070545 | 23,643 | py | Python | basemodels/BaseLayers.py | Zhaopudark/MRI-Trans-GAN | 1af8f486202ded20328195ee636f2056894edebb | [
"MIT"
] | 3 | 2020-11-09T11:08:55.000Z | 2021-05-09T07:49:40.000Z | basemodels/BaseLayers.py | Zhaopudark/MRI-Trans-GAN | 1af8f486202ded20328195ee636f2056894edebb | [
"MIT"
] | 1 | 2020-11-29T04:11:14.000Z | 2020-12-02T16:00:42.000Z | basemodels/BaseLayers.py | Zhaopudark/MRI-Trans-GAN | 1af8f486202ded20328195ee636f2056894edebb | [
"MIT"
] | 1 | 2021-05-12T03:50:46.000Z | 2021-05-12T03:50:46.000Z | """
定义基本模型层
基于tf.keras.Model
"""
import tensorflow as tf
import os
import sys
base = os.path.dirname(os.path.abspath(__file__))
sys.path.append(os.path.join(base, '../'))
from utils.BuildHelper import Reconstruction
from utils.SnOption import SpectralNormalization
class Dense(tf.keras.layers.Layer):
def __init__(se... | 46.910714 | 184 | 0.594468 | 3,206 | 23,643 | 4.214598 | 0.073612 | 0.038484 | 0.008881 | 0.023683 | 0.83807 | 0.828523 | 0.798919 | 0.787004 | 0.774645 | 0.74556 | 0 | 0.038437 | 0.260542 | 23,643 | 504 | 185 | 46.910714 | 0.734428 | 0.082858 | 0 | 0.705314 | 0 | 0 | 0.010508 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067633 | false | 0 | 0.012077 | 0 | 0.157005 | 0.128019 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
96facba94ed9d53771093147d576884435d9a3af | 20,831 | py | Python | code/third_party/smoothadv.py | jh-jeong/smoothing-consistency | a11954aa91adb9924eecf49aaca74051e79bbb86 | [
"MIT"
] | 28 | 2020-06-09T03:49:09.000Z | 2022-03-19T00:27:12.000Z | code/third_party/smoothadv.py | jh-jeong/smoothing-consistency | a11954aa91adb9924eecf49aaca74051e79bbb86 | [
"MIT"
] | null | null | null | code/third_party/smoothadv.py | jh-jeong/smoothing-consistency | a11954aa91adb9924eecf49aaca74051e79bbb86 | [
"MIT"
] | 2 | 2021-03-19T07:25:15.000Z | 2021-08-12T08:41:16.000Z | # this file is copied from
# https://github.com/Hadisalman/smoothing-adversarial
# originally written by Hadi Salman.
from abc import ABCMeta, abstractmethod
import numpy as np
import torch
from torch.autograd import Variable
from torch.nn import CrossEntropyLoss
import torch.nn as nn
import torch.nn.functional as ... | 40.845098 | 120 | 0.579569 | 2,671 | 20,831 | 4.385623 | 0.090603 | 0.040379 | 0.044818 | 0.017927 | 0.878948 | 0.867936 | 0.855045 | 0.846508 | 0.840703 | 0.819276 | 0 | 0.020456 | 0.310067 | 20,831 | 510 | 121 | 40.845098 | 0.794601 | 0.21276 | 0 | 0.802974 | 0 | 0 | 0.019477 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037175 | false | 0 | 0.033457 | 0 | 0.118959 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
96fdff79494b34cb3d248986bf9ac79c9c0d573b | 1,692 | py | Python | src/spanishconjugator/tenses/indicative/imperfect.py | shrutiichandra/spanish-conjugator | 2ebf41b92c14c3e47a873c52fdf4ce1d17bff5e0 | [
"MIT"
] | null | null | null | src/spanishconjugator/tenses/indicative/imperfect.py | shrutiichandra/spanish-conjugator | 2ebf41b92c14c3e47a873c52fdf4ce1d17bff5e0 | [
"MIT"
] | null | null | null | src/spanishconjugator/tenses/indicative/imperfect.py | shrutiichandra/spanish-conjugator | 2ebf41b92c14c3e47a873c52fdf4ce1d17bff5e0 | [
"MIT"
] | null | null | null | # -*- coding: iso-8859-15 -*-
def indicative_imperfect(root_verb, pronoun):
if pronoun == "yo":
if root_verb[-2:] == "ar":
conjugation = root_verb[:-2] + "aba"
return conjugation
if root_verb[-2:] == "er" or "ir":
conjugation = root_verb[:-2] + "ía"
re... | 34.530612 | 51 | 0.491726 | 184 | 1,692 | 4.380435 | 0.184783 | 0.248139 | 0.26799 | 0.163772 | 0.724566 | 0.724566 | 0.724566 | 0.724566 | 0.724566 | 0.560794 | 0 | 0.027473 | 0.35461 | 1,692 | 49 | 52 | 34.530612 | 0.710623 | 0.015957 | 0 | 0.651163 | 0 | 0 | 0.067308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0 | 0 | 0.302326 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 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 | 7 |
96fe6e8532376500d8048bb25a59ea25d176e140 | 4,089 | py | Python | Posi-Nega-Neutra_Tagged-Sentence-Parsing.py | elisa-aleman/Entropy-Based-SVM | b67a056a3bae3c8b2a9e330693878ffd0bd31772 | [
"MIT"
] | 1 | 2021-12-19T02:07:27.000Z | 2021-12-19T02:07:27.000Z | Posi-Nega-Neutra_Tagged-Sentence-Parsing.py | elisa-aleman/Entropy-Based-SVM | b67a056a3bae3c8b2a9e330693878ffd0bd31772 | [
"MIT"
] | null | null | null | Posi-Nega-Neutra_Tagged-Sentence-Parsing.py | elisa-aleman/Entropy-Based-SVM | b67a056a3bae3c8b2a9e330693878ffd0bd31772 | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
####################################
########## Training Data ##########
####################################
def PosiNegaSentences(comment):
'''
Input is "word word <positive> word word word </positive> <negative> word word word </negative> word ..."
Returns a list of sentenc... | 33.516393 | 130 | 0.488383 | 390 | 4,089 | 5.064103 | 0.138462 | 0.081013 | 0.065823 | 0.068861 | 0.860759 | 0.84 | 0.832911 | 0.827342 | 0.808101 | 0.808101 | 0 | 0.00611 | 0.399609 | 4,089 | 121 | 131 | 33.793388 | 0.798371 | 0.164832 | 0 | 0.857143 | 0 | 0 | 0.035561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020408 | false | 0.010204 | 0 | 0 | 0.040816 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8c178de8d85ee1b6747f4086ba20b9af813f9c91 | 161 | py | Python | boa3_test/test_sc/native_test/stdlib/SerializeBool.py | OnBlockIO/neo3-boa | cb317292a67532a52ed26f2b0f0f7d0b10ac5f5f | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/native_test/stdlib/SerializeBool.py | OnBlockIO/neo3-boa | cb317292a67532a52ed26f2b0f0f7d0b10ac5f5f | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/native_test/stdlib/SerializeBool.py | OnBlockIO/neo3-boa | cb317292a67532a52ed26f2b0f0f7d0b10ac5f5f | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from boa3.builtin import public
from boa3.builtin.nativecontract.stdlib import StdLib
@public
def serialize_bool() -> bytes:
return StdLib.serialize(True)
| 20.125 | 53 | 0.78882 | 21 | 161 | 6 | 0.619048 | 0.126984 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.130435 | 161 | 7 | 54 | 23 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 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 | 1 | 1 | 0 | 0 | 7 |
8c3759a523ce1c92d319eff1b5a83f36388114f0 | 614 | py | Python | lib2/pin.py | offdhymaz/wa | fc05f1f7be443c45182f47c8d13a870149dbdd17 | [
"MIT"
] | 37 | 2020-10-05T17:12:02.000Z | 2022-03-07T14:53:35.000Z | lib2/pin.py | INIDboyzz/Juliana | b768e7d4aa13eb1a97e8d8df7e331b99b8b082fb | [
"MIT"
] | 24 | 2020-10-08T15:56:18.000Z | 2022-03-15T00:16:25.000Z | lib2/pin.py | INIDboyzz/Juliana | b768e7d4aa13eb1a97e8d8df7e331b99b8b082fb | [
"MIT"
] | 44 | 2020-10-10T12:58:24.000Z | 2022-02-09T13:58:01.000Z | import re, requests
def pinterest(url):
m=requests.get(url)
if re.search("https://v.pinimg.com/videos/mc/(.*?).mp4",m.text):
if '"' in re.search("https://v.pinimg.com/videos/mc/(.*?).mp4",m.text)[0]:
return re.search("https://i.pinimg.com/originals/(.*?)\" as\=\"image\"",m.text)[0][:-12]
... | 51.166667 | 100 | 0.552117 | 91 | 614 | 3.725275 | 0.307692 | 0.141593 | 0.230089 | 0.123894 | 0.817109 | 0.817109 | 0.817109 | 0.817109 | 0.817109 | 0.817109 | 0 | 0.021277 | 0.15798 | 614 | 12 | 101 | 51.166667 | 0.634429 | 0 | 0 | 0.333333 | 0 | 0 | 0.406504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
4fff0639bc18f31a1d23cff6dd8c185ed2d0c6fb | 37,012 | py | Python | nova/tests/unit/virt/disk/vfs/test_localfs.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/virt/disk/vfs/test_localfs.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/virt/disk/vfs/test_localfs.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright (C) 2012 Red Hat, Inc.'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'
comment|'# a copy of the License at'
nl|... | 11.660996 | 88 | 0.561818 | 5,438 | 37,012 | 3.771423 | 0.045605 | 0.131357 | 0.092642 | 0.052026 | 0.905407 | 0.879516 | 0.846653 | 0.808669 | 0.792238 | 0.774099 | 0 | 0.00353 | 0.104453 | 37,012 | 3,173 | 89 | 11.664671 | 0.615218 | 0 | 0 | 0.965648 | 0 | 0 | 0.339187 | 0.040365 | 0 | 0 | 0 | 0 | 0.011031 | 0 | null | null | 0 | 0.003152 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8b0d8b6383463c62ba7885c6001e897ee1396db4 | 1,032 | py | Python | buggy/enums.py | fusionbox/buggy | fb6f4a34f6896b65c843ebe711f5bf3279d33049 | [
"BSD-3-Clause"
] | 2 | 2017-05-08T23:11:41.000Z | 2017-05-22T19:27:36.000Z | buggy/enums.py | fusionbox/buggy | fb6f4a34f6896b65c843ebe711f5bf3279d33049 | [
"BSD-3-Clause"
] | 4 | 2017-05-03T17:46:47.000Z | 2017-05-08T17:13:57.000Z | buggy/enums.py | Hakob/Buggy | 5facb2835c5716466fcdf95e368bf842729f26f3 | [
"BSD-3-Clause"
] | 2 | 2017-05-22T19:28:21.000Z | 2017-05-26T17:24:51.000Z | from enumfields import IntEnum, Enum
class Priority(IntEnum):
HOLD = 1
NORMAL = 2
URGENT = 3
class Labels:
HOLD = 'hold'
NORMAL = 'normal'
URGENT = 'urgent'
class State(Enum):
NEW = 'new'
CLOSED = 'closed'
ENTRUSTED = 'entrusted'
VERIFIED = 'verified'
REO... | 25.8 | 61 | 0.624031 | 97 | 1,032 | 6.494845 | 0.309278 | 0.08254 | 0.133333 | 0.071429 | 0.75873 | 0.75873 | 0.75873 | 0.75873 | 0.75873 | 0.75873 | 0 | 0.004049 | 0.281977 | 1,032 | 39 | 62 | 26.461538 | 0.846154 | 0 | 0 | 0.727273 | 0 | 0 | 0.275194 | 0.022287 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030303 | 0 | 0.575758 | 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 | 1 | 0 | 0 | 7 |
8b1c297893bab1c0c834e170cafcbe039e00dac3 | 224 | py | Python | src/api/pdi/domain/base/aps/__init__.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:28.000Z | 2020-12-18T21:37:28.000Z | src/api/pdi/domain/base/aps/__init__.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | null | null | null | src/api/pdi/domain/base/aps/__init__.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:31.000Z | 2020-12-18T21:37:31.000Z | from pdi.domain.base.aps.ApSchedulerEventBase import ApSchedulerEventBase
from pdi.domain.base.aps.ApSchedulerJobBase import ApSchedulerJobBase
from pdi.domain.base.aps.ApSchedulerJobEventBase import ApSchedulerJobEventBase
| 56 | 79 | 0.892857 | 24 | 224 | 8.333333 | 0.375 | 0.105 | 0.195 | 0.255 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 224 | 3 | 80 | 74.666667 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8b270af056461ab9afae403f8e0b0b811d49af4f | 3,990 | py | Python | stv/tests/logics/atl/test_atl_ir_model.py | wp777/stv-compute | 313b574c43ef87b629e70c25c38dbb7b24d1f130 | [
"MIT"
] | 2 | 2021-07-11T09:52:59.000Z | 2022-02-13T17:34:59.000Z | stv/tests/logics/atl/test_atl_ir_model.py | wp777/stv-compute | 313b574c43ef87b629e70c25c38dbb7b24d1f130 | [
"MIT"
] | 3 | 2020-07-26T13:49:59.000Z | 2021-01-19T18:04:10.000Z | stv/tests/logics/atl/test_atl_ir_model.py | wp777/stv-compute | 313b574c43ef87b629e70c25c38dbb7b24d1f130 | [
"MIT"
] | null | null | null | from stv.logics.atl import ATLIrModel, ATLirModel
import unittest
class ATLIrModelTestSuite(unittest.TestCase):
atl_Ir_model = None
def setUp(self):
self.create_test_model()
def create_test_model(self):
self.atl_Ir_model = ATLIrModel(number_of_agents=2)
self.atl_Ir_model.add_acti... | 42.446809 | 81 | 0.666667 | 598 | 3,990 | 4.095318 | 0.076923 | 0.095958 | 0.191915 | 0.257248 | 0.941609 | 0.926909 | 0.908942 | 0.878726 | 0.873009 | 0.747244 | 0 | 0.028334 | 0.186216 | 3,990 | 93 | 82 | 42.903226 | 0.725901 | 0 | 0 | 0.226667 | 0 | 0 | 0.058145 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 1 | 0.16 | false | 0 | 0.026667 | 0 | 0.24 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8b3fbee09b534a78ec15ccd38d9542baa7610c4d | 89 | py | Python | ErocoolAPI/__init__.py | Dotinkasra/ErocoolAPI | 1ba9d36e6af81698c546f02e37b229fc7d1ea974 | [
"MIT"
] | null | null | null | ErocoolAPI/__init__.py | Dotinkasra/ErocoolAPI | 1ba9d36e6af81698c546f02e37b229fc7d1ea974 | [
"MIT"
] | null | null | null | ErocoolAPI/__init__.py | Dotinkasra/ErocoolAPI | 1ba9d36e6af81698c546f02e37b229fc7d1ea974 | [
"MIT"
] | null | null | null | from ErocoolAPI.modules.erocool import Erocool
from ErocoolAPI.modules.caffe import Caffe | 44.5 | 46 | 0.876404 | 12 | 89 | 6.5 | 0.5 | 0.358974 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 89 | 2 | 47 | 44.5 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
50b6bab904cc79d3810f0b53977ab70e70969cea | 46 | py | Python | multilingual_t5/gu_en/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | multilingual_t5/gu_en/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | multilingual_t5/gu_en/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | """gu_en dataset."""
from .gu_en import GuEn
| 11.5 | 23 | 0.673913 | 8 | 46 | 3.625 | 0.75 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 3 | 24 | 15.333333 | 0.74359 | 0.304348 | 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 | 1 | 0 | 0 | 7 |
50e7803c51aa30ec01ef206fe54a5fd70505503f | 1,432 | py | Python | Create_all_figures.py | Asafgendler/RSCP | ece81192adf3edd51acbbfd846499a7c18e4fa85 | [
"MIT"
] | null | null | null | Create_all_figures.py | Asafgendler/RSCP | ece81192adf3edd51acbbfd846499a7c18e4fa85 | [
"MIT"
] | null | null | null | Create_all_figures.py | Asafgendler/RSCP | ece81192adf3edd51acbbfd846499a7c18e4fa85 | [
"MIT"
] | null | null | null | import subprocess
process = subprocess.Popen("python ./Create_Figures/Motivation.py", shell=True)
process.communicate()
process = subprocess.Popen("python ./Create_Figures/Trivial_Sets.py", shell=True)
process.communicate()
process = subprocess.Popen("python ./Create_Figures/Main_Results.py", shell=True)
process.commu... | 55.076923 | 110 | 0.804469 | 179 | 1,432 | 6.251397 | 0.184358 | 0.182306 | 0.235925 | 0.300268 | 0.932976 | 0.932976 | 0.896336 | 0.857909 | 0.857909 | 0.857909 | 0 | 0.008915 | 0.060056 | 1,432 | 26 | 111 | 55.076923 | 0.822437 | 0 | 0 | 0.48 | 0 | 0 | 0.442428 | 0.301465 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.04 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
50fcaed9bb52afd8a924ddbb1b5ad654ec17fcac | 121 | py | Python | aluno_exatas/__init__.py | EricoNR/aluno_exatas | 4527bb4e30ec14001c18a1da00b952e041472ae8 | [
"MIT"
] | 1 | 2018-09-26T06:44:07.000Z | 2018-09-26T06:44:07.000Z | aluno_exatas/__init__.py | EricoNR/aluno_exatas | 4527bb4e30ec14001c18a1da00b952e041472ae8 | [
"MIT"
] | null | null | null | aluno_exatas/__init__.py | EricoNR/aluno_exatas | 4527bb4e30ec14001c18a1da00b952e041472ae8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import aluno_exatas.fis_exp
import aluno_exatas.calc_num
import aluno_exatas.circuitos_eletricos | 24.2 | 39 | 0.809917 | 18 | 121 | 5.111111 | 0.666667 | 0.358696 | 0.554348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0.090909 | 121 | 5 | 39 | 24.2 | 0.827273 | 0.173554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0fa64c0927078641ff72e0c3dda828e641c8e763 | 6,347 | py | Python | maxIslandArea.py | passionzhan/LeetCode | c4d33b64b9da15ca7a9b0d41e645d86a697694fe | [
"MIT"
] | 1 | 2019-08-29T01:12:47.000Z | 2019-08-29T01:12:47.000Z | maxIslandArea.py | passionzhan/LeetCode | c4d33b64b9da15ca7a9b0d41e645d86a697694fe | [
"MIT"
] | null | null | null | maxIslandArea.py | passionzhan/LeetCode | c4d33b64b9da15ca7a9b0d41e645d86a697694fe | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @File : maxIslandArea.py
# @Author: Zhan
# @Date : 4/30/2019
# @Desc :
from collections import deque
class Solution(object):
def neighbors(selef,grid, iRow, iClo):
for (nr, nc) in ((iRow - 1, iClo), (iRow + 1, iClo), (iRow, iClo - 1), (iRow, iClo... | 57.7 | 98 | 0.337325 | 1,512 | 6,347 | 1.396164 | 0.044974 | 0.316438 | 0.262909 | 0.195168 | 0.706774 | 0.702984 | 0.685931 | 0.66793 | 0.66793 | 0.665088 | 0 | 0.343633 | 0.408539 | 6,347 | 109 | 99 | 58.229358 | 0.2187 | 0.027572 | 0 | 0.086957 | 0 | 0 | 0.001321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.01087 | 0 | 0.097826 | 0.01087 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e8a8b7ff3997dd4f27900afecf23791de5f715ee | 146 | py | Python | guet/config/already_initialized.py | sapphon/guet | 60872bfb149ad16a3c5309e283a6b886080a13dc | [
"Apache-2.0"
] | null | null | null | guet/config/already_initialized.py | sapphon/guet | 60872bfb149ad16a3c5309e283a6b886080a13dc | [
"Apache-2.0"
] | null | null | null | guet/config/already_initialized.py | sapphon/guet | 60872bfb149ad16a3c5309e283a6b886080a13dc | [
"Apache-2.0"
] | null | null | null | from os.path import isdir
from guet.config import configuration_directory
def already_initialized():
return isdir(configuration_directory)
| 18.25 | 47 | 0.821918 | 18 | 146 | 6.5 | 0.722222 | 0.376068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130137 | 146 | 7 | 48 | 20.857143 | 0.92126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
e8c162c0e61615c5c57ba8d996f05dcce3a6c384 | 227 | py | Python | tccli/services/yunjing/__init__.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | tccli/services/yunjing/__init__.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | tccli/services/yunjing/__init__.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from tccli.services.yunjing.yunjing_client import register_arg
from tccli.services.yunjing.yunjing_client import get_actions_info
from tccli.services.yunjing.yunjing_client import AVAILABLE_VERSION_LIST
| 45.4 | 72 | 0.845815 | 32 | 227 | 5.75 | 0.53125 | 0.146739 | 0.277174 | 0.391304 | 0.701087 | 0.701087 | 0.701087 | 0 | 0 | 0 | 0 | 0.004762 | 0.07489 | 227 | 4 | 73 | 56.75 | 0.871429 | 0.092511 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
2cf0dd837df63bdc6263a62743d0fbd78a14ed1c | 9,655 | py | Python | tests/test_allrelevant.py | ThomasBury/arfs | 887a5946a7eef25aefd964092fcbb0e0e3d90987 | [
"MIT"
] | 26 | 2020-11-28T16:43:55.000Z | 2022-03-09T04:51:29.000Z | tests/test_allrelevant.py | ThomasBury/arfs | 887a5946a7eef25aefd964092fcbb0e0e3d90987 | [
"MIT"
] | 11 | 2020-12-25T13:56:50.000Z | 2022-03-11T10:15:39.000Z | tests/test_allrelevant.py | ThomasBury/arfs | 887a5946a7eef25aefd964092fcbb0e0e3d90987 | [
"MIT"
] | 3 | 2021-04-09T18:44:09.000Z | 2022-02-09T09:20:16.000Z | import pytest
import numpy as np
import lightgbm as lgb
from arfs.allrelevant import Leshy, BoostAGroota, GrootCV
from arfs.utils import generated_corr_dataset_regr, generated_corr_dataset_classification
from arfs.utils import LightForestClassifier, LightForestRegressor
class TestLeshy:
"""
Test suite for all... | 48.034826 | 115 | 0.683791 | 1,319 | 9,655 | 4.744503 | 0.108415 | 0.008949 | 0.011505 | 0.030681 | 0.928092 | 0.919942 | 0.916427 | 0.910994 | 0.905401 | 0.903963 | 0 | 0.030421 | 0.203314 | 9,655 | 200 | 116 | 48.275 | 0.783151 | 0.237286 | 0 | 0.728972 | 1 | 0 | 0.090197 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 1 | 0.11215 | false | 0 | 0.242991 | 0 | 0.383178 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2cf7f6b2928f86d1f84234d08c984942c37e3c4b | 31,618 | py | Python | tests/test_storage_github.py | JGoutin/rfs | 6e68968fada828adab7fd7011893871a3bd58ecd | [
"Apache-2.0"
] | 5 | 2020-07-25T16:52:22.000Z | 2021-07-22T02:03:15.000Z | tests/test_storage_github.py | JGoutin/rfs | 6e68968fada828adab7fd7011893871a3bd58ecd | [
"Apache-2.0"
] | 27 | 2020-01-13T21:16:23.000Z | 2021-11-09T11:18:17.000Z | tests/test_storage_github.py | JGoutin/rfs | 6e68968fada828adab7fd7011893871a3bd58ecd | [
"Apache-2.0"
] | 1 | 2022-03-25T13:32:13.000Z | 2022-03-25T13:32:13.000Z | """Test airfs.storage.github"""
import json
import pickle
from os.path import realpath, join
import requests
import pytest
UNSUPPORTED_OPERATIONS = (
"copy",
"mkdir",
"remove",
"write",
"shareable_url",
"list_locator",
)
#: Set to True and run tests to update mock test responses with real tes... | 36.21764 | 88 | 0.671232 | 4,171 | 31,618 | 5.026373 | 0.056102 | 0.121631 | 0.160935 | 0.236394 | 0.840591 | 0.818889 | 0.800525 | 0.783115 | 0.749964 | 0.634629 | 0 | 0.00997 | 0.178348 | 31,618 | 872 | 89 | 36.259174 | 0.797028 | 0.031216 | 0 | 0.361199 | 0 | 0.050473 | 0.45069 | 0.008574 | 0 | 0 | 0 | 0 | 0.419558 | 1 | 0.023659 | false | 0 | 0.033123 | 0 | 0.064669 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fa12a4bca87b97c371fe819b6bdc7cd8893947c9 | 6,014 | py | Python | datasets/transform.py | GIShkl/GAOFEN2021_CHANGEDETECTION | 5b7251cb1e951a04c7effacab6c1233232158472 | [
"MIT"
] | 3 | 2021-12-12T09:45:41.000Z | 2022-03-10T08:34:22.000Z | datasets/transform.py | lyp19/GAOFEN2021_CHANGEDETECTION | 5b7251cb1e951a04c7effacab6c1233232158472 | [
"MIT"
] | null | null | null | datasets/transform.py | lyp19/GAOFEN2021_CHANGEDETECTION | 5b7251cb1e951a04c7effacab6c1233232158472 | [
"MIT"
] | 1 | 2021-11-13T05:40:18.000Z | 2021-11-13T05:40:18.000Z | import numpy as np
from PIL import Image
import random
# class RandomFlipOrRotate(object):
# def __call__(self, sample):
# img1, img2, mask1, mask2, mask_bin = \
# sample['img1'], sample['img2'], sample['mask1'], sample['mask2'], sample['mask_bin']
# # random() 方法返回随机生成的一个实数,它在[0,1)范围内... | 46.620155 | 129 | 0.598603 | 718 | 6,014 | 4.792479 | 0.069638 | 0.305144 | 0.261552 | 0.095902 | 0.943912 | 0.820401 | 0.783784 | 0.754432 | 0.735542 | 0.714037 | 0 | 0.068582 | 0.282341 | 6,014 | 128 | 130 | 46.984375 | 0.728684 | 0.812604 | 0 | 0 | 0 | 0 | 0.015504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.130435 | 0 | 0.26087 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
fa30998d7d404169793fae27fcf543fba1aa26e6 | 91 | py | Python | src_old/tests/scripts/vectors.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | src_old/tests/scripts/vectors.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | src_old/tests/scripts/vectors.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | # coding: utf-8
y1 = vector(1, 3)
y2 = vector((1,1), (3,3))
y3 = vector((1,1,1), (3,3,3))
| 15.166667 | 29 | 0.505495 | 21 | 91 | 2.190476 | 0.428571 | 0.456522 | 0.347826 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213333 | 0.175824 | 91 | 5 | 30 | 18.2 | 0.4 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fa71e7dd4dd27597471eb0a8827fb8b25fbfa1ac | 45,844 | py | Python | tests/apis/test_submit_review_api.py | Fozia-Zafar/Device-Registration-Subsystem | 7854dd314c2f5cb09d722d16ca0114c4cd9907b6 | [
"BSD-3-Clause-Clear"
] | null | null | null | tests/apis/test_submit_review_api.py | Fozia-Zafar/Device-Registration-Subsystem | 7854dd314c2f5cb09d722d16ca0114c4cd9907b6 | [
"BSD-3-Clause-Clear"
] | null | null | null | tests/apis/test_submit_review_api.py | Fozia-Zafar/Device-Registration-Subsystem | 7854dd314c2f5cb09d722d16ca0114c4cd9907b6 | [
"BSD-3-Clause-Clear"
] | null | null | null | """
module for review submit-review api tests
Copyright (c) 2018 Qualcomm Technologies, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the
limitations in the disclaimer below) provided that the following conditions are met:
... | 43.330813 | 118 | 0.623658 | 5,587 | 45,844 | 4.939323 | 0.069268 | 0.054138 | 0.060299 | 0.078852 | 0.849761 | 0.82454 | 0.807834 | 0.781599 | 0.764531 | 0.75221 | 0 | 0.03041 | 0.255431 | 45,844 | 1,057 | 119 | 43.371807 | 0.778051 | 0.121586 | 0 | 0.712941 | 0 | 0 | 0.388408 | 0.063138 | 0 | 0 | 0 | 0 | 0.156471 | 1 | 0.024706 | false | 0 | 0.008235 | 0 | 0.032941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d716aa8923876ed64530552a0acdb1fd327a94e4 | 61,152 | py | Python | xphm.py | nathaniel-leslie/modebymode-relative-binning | 2a7346046e91fbec5dc2a9677c378439eaf7d473 | [
"MIT"
] | null | null | null | xphm.py | nathaniel-leslie/modebymode-relative-binning | 2a7346046e91fbec5dc2a9677c378439eaf7d473 | [
"MIT"
] | null | null | null | xphm.py | nathaniel-leslie/modebymode-relative-binning | 2a7346046e91fbec5dc2a9677c378439eaf7d473 | [
"MIT"
] | null | null | null | import lal
import lalsimulation as lalsim
import numpy as np
def L0_func(params):
"""
Computes the magnitude of the initial angular momentum L0.
params: parameter dictionary
"""
if params['mass_1'] < params['mass_2']:
temp = params['mass_1']
params['mass_1'] = params['mass_2']
... | 41.179798 | 347 | 0.583808 | 9,030 | 61,152 | 3.859136 | 0.048726 | 0.017505 | 0.009642 | 0.014635 | 0.864354 | 0.841426 | 0.821396 | 0.809487 | 0.801194 | 0.798123 | 0 | 0.031106 | 0.278732 | 61,152 | 1,485 | 348 | 41.179798 | 0.758973 | 0.259942 | 0 | 0.786772 | 0 | 0.003949 | 0.060372 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037512 | false | 0 | 0.002962 | 0.000987 | 0.084896 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d74853b56b840d040ed80e2a286984baaf237468 | 35,560 | py | Python | appengine/monorail/search/test/ast2select_test.py | mcgreevy/chromium-infra | 09064105713603f7bf75c772e8354800a1bfa256 | [
"BSD-3-Clause"
] | 1 | 2018-01-02T05:47:07.000Z | 2018-01-02T05:47:07.000Z | appengine/monorail/search/test/ast2select_test.py | mcgreevy/chromium-infra | 09064105713603f7bf75c772e8354800a1bfa256 | [
"BSD-3-Clause"
] | null | null | null | appengine/monorail/search/test/ast2select_test.py | mcgreevy/chromium-infra | 09064105713603f7bf75c772e8354800a1bfa256 | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is govered by a BSD-style
# license that can be found in the LICENSE file or at
# https://developers.google.com/open-source/licenses/bsd
"""Tests for the ast2select module."""
import datetime
import time
import unittest
from framew... | 40.826636 | 80 | 0.632508 | 4,372 | 35,560 | 4.934812 | 0.060156 | 0.036987 | 0.063824 | 0.041761 | 0.900301 | 0.88292 | 0.851217 | 0.842132 | 0.822758 | 0.805794 | 0 | 0.03268 | 0.215214 | 35,560 | 870 | 81 | 40.873563 | 0.740424 | 0.006271 | 0 | 0.741071 | 0 | 0.002551 | 0.21398 | 0.00867 | 0 | 0 | 0 | 0 | 0.260204 | 0 | null | null | 0 | 0.01148 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d77cbaf73d523ef87327b690c2f0ef6c3a6aa600 | 163 | py | Python | meta_ultra/cli/__init__.py | dcdanko/MetaUltra | 600df03dd4aaf95268bf0062de2ad3d9ac480842 | [
"MIT"
] | null | null | null | meta_ultra/cli/__init__.py | dcdanko/MetaUltra | 600df03dd4aaf95268bf0062de2ad3d9ac480842 | [
"MIT"
] | null | null | null | meta_ultra/cli/__init__.py | dcdanko/MetaUltra | 600df03dd4aaf95268bf0062de2ad3d9ac480842 | [
"MIT"
] | 1 | 2018-11-02T14:14:38.000Z | 2018-11-02T14:14:38.000Z | from .cli import *
from .cli_add import *
from .cli_run import *
from .cli_remove import *
from .cli_sync import *
from .cli_view import *
from .cli_edit import *
| 20.375 | 25 | 0.742331 | 27 | 163 | 4.259259 | 0.333333 | 0.426087 | 0.678261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171779 | 163 | 7 | 26 | 23.285714 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ad84f09994f53892a6450f7e8ef5585ae416ff12 | 3,038 | py | Python | utils/scripts/OOOlevelGen/src/levels/Eifel_Brought_Us_Tower.py | fullscreennl/monkeyswipe | c56192e202674dd5ab18023f6cf14cf51e95fbd0 | [
"MIT"
] | null | null | null | utils/scripts/OOOlevelGen/src/levels/Eifel_Brought_Us_Tower.py | fullscreennl/monkeyswipe | c56192e202674dd5ab18023f6cf14cf51e95fbd0 | [
"MIT"
] | null | null | null | utils/scripts/OOOlevelGen/src/levels/Eifel_Brought_Us_Tower.py | fullscreennl/monkeyswipe | c56192e202674dd5ab18023f6cf14cf51e95fbd0 | [
"MIT"
] | null | null | null | import LevelBuilder
from sprites import *
def render(name,bg):
lb = LevelBuilder.LevelBuilder(name+".plist",background=bg)
lb.addObject(Beam.BeamSprite(x=249, y=219,width=126,height=4,angle='95',restitution=0.2,static='false',friction=0.9,density=20 ).setName('Beam'))
lb.addObject(Beam.BeamSprite(x=231, y=219,width=... | 3,038 | 3,038 | 0.741935 | 534 | 3,038 | 4.220974 | 0.14794 | 0.102484 | 0.109583 | 0.16016 | 0.852263 | 0.822538 | 0.822538 | 0.800799 | 0.7937 | 0.762644 | 0 | 0.112509 | 0.0316 | 3,038 | 1 | 3,038 | 3,038 | 0.653637 | 0 | 0 | 0 | 0 | 0 | 0.069102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.076923 | 0 | 0.115385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.