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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ede325e46599a12388968e9e164afb0f50dea2f4 | 189 | py | Python | Schedule.py | zhangyintai/Experiment_Manager | 800f95068a12b64d4a7e524fe406d5ef3b47f521 | [
"MIT"
] | null | null | null | Schedule.py | zhangyintai/Experiment_Manager | 800f95068a12b64d4a7e524fe406d5ef3b47f521 | [
"MIT"
] | null | null | null | Schedule.py | zhangyintai/Experiment_Manager | 800f95068a12b64d4a7e524fe406d5ef3b47f521 | [
"MIT"
] | null | null | null | from Functions import *
import numpy
from Experiment_scripts import Exp_Script_Dir
import os
for i in range (0,10):
os.system(IonTrap_ToRunCommand(Exp_Script_Dir['name_change'])) | 27 | 66 | 0.777778 | 29 | 189 | 4.827586 | 0.724138 | 0.128571 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018634 | 0.148148 | 189 | 7 | 66 | 27 | 0.850932 | 0 | 0 | 0 | 0 | 0 | 0.059783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ede364efbe3a8a2f274a4aee36f7f74680e7b762 | 145 | py | Python | colorTerminal.py | Akasiek/randomSavedAlbum | 598dd10c02e18f8d96e9967ab050dd6b0db17c7e | [
"MIT"
] | 1 | 2020-07-18T07:54:33.000Z | 2020-07-18T07:54:33.000Z | colorTerminal.py | Akasiek/randomSavedAlbum | 598dd10c02e18f8d96e9967ab050dd6b0db17c7e | [
"MIT"
] | null | null | null | colorTerminal.py | Akasiek/randomSavedAlbum | 598dd10c02e18f8d96e9967ab050dd6b0db17c7e | [
"MIT"
] | null | null | null | class ColorTerminal:
prRed = '\033[91m'
prGreen = '\033[92m'
prLightPurple = '\033[94m'
prCyan = '\033[96m'
endc = '\033[0m'
| 20.714286 | 30 | 0.565517 | 17 | 145 | 4.823529 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.255172 | 145 | 6 | 31 | 24.166667 | 0.537037 | 0 | 0 | 0 | 0 | 0 | 0.268966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
610516d3d55592831f3995221d6a37f0450fbacf | 96 | py | Python | object_detection/pascal_voc_ssd/layers/functions/__init__.py | hilman-dayo/active_learning | cc5b0388be25946e794d59d95e4d9c8c56e24207 | [
"Apache-2.0"
] | 54 | 2020-07-09T04:19:04.000Z | 2022-03-05T11:38:07.000Z | layers/functions/__init__.py | chauhan-utk/ssd.DomainAdaptation | de70b27bf2b90ca182095173f34a55ac6ca5224a | [
"MIT"
] | 20 | 2019-04-12T01:43:44.000Z | 2022-03-12T00:05:06.000Z | layers/functions/__init__.py | chauhan-utk/ssd.DomainAdaptation | de70b27bf2b90ca182095173f34a55ac6ca5224a | [
"MIT"
] | 9 | 2020-09-17T13:40:03.000Z | 2021-11-05T09:09:24.000Z | from .detection import Detect
from .prior_box import PriorBox
__all__ = ['Detect', 'PriorBox']
| 19.2 | 32 | 0.760417 | 12 | 96 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135417 | 96 | 4 | 33 | 24 | 0.819277 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
61114e78a2ea54e8c526d44ab04e0c182df581a4 | 92 | py | Python | TSIS_1/topic_3/b.py | GMKanat/PP2_spring | 423617d559c5690f689741aaa152b9fee5082baf | [
"MIT"
] | null | null | null | TSIS_1/topic_3/b.py | GMKanat/PP2_spring | 423617d559c5690f689741aaa152b9fee5082baf | [
"MIT"
] | null | null | null | TSIS_1/topic_3/b.py | GMKanat/PP2_spring | 423617d559c5690f689741aaa152b9fee5082baf | [
"MIT"
] | null | null | null | a = int(input())
b = int(input())
if a == b:
print(0)
elif a > b:
print(1)
else:
print(2) | 11.5 | 16 | 0.543478 | 19 | 92 | 2.631579 | 0.578947 | 0.32 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.217391 | 92 | 8 | 17 | 11.5 | 0.652778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.375 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b61a5e137a929ce220280ede523bfea127c26c42 | 56 | py | Python | tests/__init__.py | musicinmybrain/glymur | 8789b39ecf681e44be52b883c70175fa0c3e3413 | [
"MIT"
] | 41 | 2015-04-06T21:36:55.000Z | 2022-02-03T09:41:42.000Z | tests/__init__.py | musicinmybrain/glymur | 8789b39ecf681e44be52b883c70175fa0c3e3413 | [
"MIT"
] | 244 | 2015-01-01T03:41:54.000Z | 2022-03-24T14:07:33.000Z | tests/__init__.py | musicinmybrain/glymur | 8789b39ecf681e44be52b883c70175fa0c3e3413 | [
"MIT"
] | 21 | 2015-03-06T12:57:27.000Z | 2022-03-02T16:00:54.000Z | """
Test suite for glymur high-level functionality.
"""
| 14 | 47 | 0.714286 | 7 | 56 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 3 | 48 | 18.666667 | 0.833333 | 0.839286 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b61f9545c007c6107af7164359f2991ce7fac64b | 106 | py | Python | prog1/implementacoes/uri/1005.py | gabrielmbs/Tamburetei | b7716d4e7683dc17831a574241bd26c0a67ca929 | [
"MIT"
] | 209 | 2018-10-31T02:32:30.000Z | 2021-12-18T02:35:07.000Z | prog1/implementacoes/uri/1005.py | gabrielmbs/Tamburetei | b7716d4e7683dc17831a574241bd26c0a67ca929 | [
"MIT"
] | 304 | 2018-10-31T02:16:26.000Z | 2021-12-20T19:41:27.000Z | prog1/implementacoes/uri/1005.py | gabrielmbs/Tamburetei | b7716d4e7683dc17831a574241bd26c0a67ca929 | [
"MIT"
] | 205 | 2018-10-31T02:38:41.000Z | 2021-12-17T17:57:35.000Z | A = float(raw_input())
B = float(raw_input())
MEDIA = ((A*3.5)+(B*7.5))/11
print ("MEDIA = %.5f" %MEDIA)
| 17.666667 | 29 | 0.566038 | 20 | 106 | 2.9 | 0.6 | 0.275862 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.141509 | 106 | 5 | 30 | 21.2 | 0.56044 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b633d50c79401f0836aba3bf814f39f47dd02db6 | 835 | py | Python | edaza/routes/food.py | okotdaniel/edaza-api | 0985c8a67143861c45efebb1ecb465a12728bf11 | [
"MIT"
] | 1 | 2021-06-09T17:10:14.000Z | 2021-06-09T17:10:14.000Z | edaza/routes/food.py | okotdaniel/edaza-api | 0985c8a67143861c45efebb1ecb465a12728bf11 | [
"MIT"
] | null | null | null | edaza/routes/food.py | okotdaniel/edaza-api | 0985c8a67143861c45efebb1ecb465a12728bf11 | [
"MIT"
] | null | null | null | from fastapi import APIRouter, Depends
from edaza.api import Food
from edaza import schemas, models, database
from sqlalchemy.orm import Session
router = APIRouter(
tags=['Food']
)
get_db = database.get_db
@router.get('/food/')
def getFoods( db: Session = Depends(get_db) ):
return Food.ShowFoods(db)
@rout... | 26.09375 | 74 | 0.706587 | 120 | 835 | 4.85 | 0.308333 | 0.060137 | 0.137457 | 0.16323 | 0.317869 | 0.317869 | 0.274914 | 0.168385 | 0.168385 | 0.168385 | 0 | 0.00419 | 0.142515 | 835 | 32 | 75 | 26.09375 | 0.808659 | 0 | 0 | 0 | 0 | 0 | 0.055024 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.173913 | 0.217391 | 0.608696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b63be8dc35ccacf2f7fc3892022657edaa6e7d55 | 404 | py | Python | logDb/logDbApp/models.py | DD2480-Project-group-25/Continuous-Integration | 244e4b93bbe1a7e54de021016ad5f4e58c7c8ed7 | [
"MIT"
] | null | null | null | logDb/logDbApp/models.py | DD2480-Project-group-25/Continuous-Integration | 244e4b93bbe1a7e54de021016ad5f4e58c7c8ed7 | [
"MIT"
] | 65 | 2019-01-31T14:41:42.000Z | 2022-02-10T07:11:40.000Z | logDb/logDbApp/models.py | DD2480-Project-group-25/Continuous-Integration | 244e4b93bbe1a7e54de021016ad5f4e58c7c8ed7 | [
"MIT"
] | null | null | null | from django.db import models
class LogEntry(models.Model):
"""
Model for main table.
"""
commit_id = models.CharField(max_length=100, verbose_name='Commit ID', primary_key=True)
start = models.CharField(max_length=100, verbose_name='Start')
status = models.CharField(max_length=100, verbose_name... | 31.076923 | 92 | 0.725248 | 54 | 404 | 5.240741 | 0.481481 | 0.212014 | 0.254417 | 0.339223 | 0.402827 | 0.402827 | 0.402827 | 0 | 0 | 0 | 0 | 0.034985 | 0.15099 | 404 | 12 | 93 | 33.666667 | 0.790087 | 0.05198 | 0 | 0 | 0 | 0 | 0.073973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b69b6ac0d8b3d091a1af6651bb18629938d84507 | 112 | py | Python | flask_example/config.py | b3g00d/flask_example | a87457b826257c6aba921c77942e3a84c8f62273 | [
"Apache-2.0"
] | null | null | null | flask_example/config.py | b3g00d/flask_example | a87457b826257c6aba921c77942e3a84c8f62273 | [
"Apache-2.0"
] | null | null | null | flask_example/config.py | b3g00d/flask_example | a87457b826257c6aba921c77942e3a84c8f62273 | [
"Apache-2.0"
] | null | null | null | PROJECT_NAME = "THIS IS ME"
SQLALCHEMY_DATABASE_URI = "mysql://test_user:test_password@localhost/example_flask"
| 37.333333 | 83 | 0.821429 | 16 | 112 | 5.375 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 112 | 2 | 84 | 56 | 0.826923 | 0 | 0 | 0 | 0 | 0 | 0.580357 | 0.491071 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
b6a81d449cd309d23e4f64489cbe6e106d102f05 | 245 | py | Python | f/__init__.py | igrishaev/fp | 9be7113517a4488a0b7150688043d9bbb6be0a73 | [
"MIT"
] | 140 | 2016-07-15T13:41:37.000Z | 2022-01-20T20:17:09.000Z | f/__init__.py | igrishaev/fp | 9be7113517a4488a0b7150688043d9bbb6be0a73 | [
"MIT"
] | 2 | 2018-07-25T01:05:40.000Z | 2018-07-26T22:20:56.000Z | venv/lib/python3.6/site-packages/f/__init__.py | mwroffo/FastCardsOnline | fad98cad41036c6232951d1657a630cd5114c9d5 | [
"MIT"
] | 15 | 2016-07-16T14:58:29.000Z | 2021-12-12T19:14:11.000Z |
__version__ = (0, 0, 1)
__author__ = "Ivan Grishaev"
__email__ = "ivan@grishaev.me"
from .function import * # noqa
from .collection import * # noqa
from .monad import * # noqa
from .generic import * # noqa
from .predicate import * # noqa
| 22.272727 | 33 | 0.685714 | 31 | 245 | 5.032258 | 0.516129 | 0.320513 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015306 | 0.2 | 245 | 10 | 34 | 24.5 | 0.780612 | 0.097959 | 0 | 0 | 0 | 0 | 0.135514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b6ac0b79f0d2d4bacd2f44e599e00d4363b81c67 | 173 | py | Python | server_pic_receiver/time.py | hxcl/RoadDamageDetector_K210 | 64f2a79962fefbd3cac5dd900469b242d5a561f7 | [
"MIT"
] | 1 | 2020-09-16T04:56:56.000Z | 2020-09-16T04:56:56.000Z | server_pic_receiver/time.py | hxcl/road_condition_web | 64f2a79962fefbd3cac5dd900469b242d5a561f7 | [
"MIT"
] | 1 | 2021-10-30T11:07:42.000Z | 2021-11-06T03:32:01.000Z | server_pic_receiver/time.py | hxcl/road_condition_web | 64f2a79962fefbd3cac5dd900469b242d5a561f7 | [
"MIT"
] | 2 | 2021-03-10T02:38:29.000Z | 2021-06-24T05:47:25.000Z | #from datetime import datetime
#time=str(datetime.now())
#time=time[0:4]+time[5:7]+time[8:10]+time[11:13]+time[14:16]+time[17:19]+time[20:22]
#print(time)
print(float("01")) | 34.6 | 84 | 0.693642 | 35 | 173 | 3.428571 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150602 | 0.040462 | 173 | 5 | 85 | 34.6 | 0.572289 | 0.849711 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
fcaa549cbe38674d8c96f97863383b151a24792f | 158 | py | Python | tests/test_version.py | zommiommy/smallMITM | c07feeec4fd6750d950830b3b578ef548d7fccc4 | [
"MIT"
] | null | null | null | tests/test_version.py | zommiommy/smallMITM | c07feeec4fd6750d950830b3b578ef548d7fccc4 | [
"MIT"
] | null | null | null | tests/test_version.py | zommiommy/smallMITM | c07feeec4fd6750d950830b3b578ef548d7fccc4 | [
"MIT"
] | null | null | null | from smallMITM.__version__ import __version__
import re
def test_version():
pattern = re.compile("\d+\.\d+\.\d+")
assert pattern.match(__version__)
| 19.75 | 45 | 0.708861 | 20 | 158 | 4.95 | 0.6 | 0.262626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14557 | 158 | 7 | 46 | 22.571429 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.082278 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fcbc2d1cc7f2a3b6f0318f44678dee16d7b6722e | 154 | py | Python | web/app/views.py | thrawny/docker-pipeline-demo-app | 13fe373ca98c6dcc3eb31f077e72e8e11e853b88 | [
"MIT"
] | null | null | null | web/app/views.py | thrawny/docker-pipeline-demo-app | 13fe373ca98c6dcc3eb31f077e72e8e11e853b88 | [
"MIT"
] | null | null | null | web/app/views.py | thrawny/docker-pipeline-demo-app | 13fe373ca98c6dcc3eb31f077e72e8e11e853b88 | [
"MIT"
] | null | null | null | from flask import Blueprint
demo = Blueprint('demo', __name__, url_prefix='/')
@demo.route('/', methods=['GET'])
def index():
return 'Hello World'
| 17.111111 | 50 | 0.662338 | 19 | 154 | 5.105263 | 0.842105 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149351 | 154 | 8 | 51 | 19.25 | 0.740458 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.4 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
fcd6475f9b662a2f1a5ee2d18b9279ff4099c010 | 240 | py | Python | pytest_tests/apiv1/conftest.py | koichiro8/learning | ffc0785dfeeeee4240aed0a1742a64b86ff28369 | [
"MIT"
] | null | null | null | pytest_tests/apiv1/conftest.py | koichiro8/learning | ffc0785dfeeeee4240aed0a1742a64b86ff28369 | [
"MIT"
] | null | null | null | pytest_tests/apiv1/conftest.py | koichiro8/learning | ffc0785dfeeeee4240aed0a1742a64b86ff28369 | [
"MIT"
] | null | null | null | import os
import pytest
from httpx import AsyncClient
from learning.app import create_app
@pytest.fixture(scope="package")
def api_test_client():
return AsyncClient(app=create_app(os.environ["TEST_DB_URL"]), base_url="http://test")
| 20 | 89 | 0.775 | 36 | 240 | 4.972222 | 0.611111 | 0.100559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108333 | 240 | 11 | 90 | 21.818182 | 0.836449 | 0 | 0 | 0 | 0 | 0 | 0.120833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.571429 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
1e007e27c91c04226bff91fc2df900a528418421 | 59 | py | Python | office365/runtime/client_response.py | stardust85/Office365-REST-Python-Client | cd369c607c7d137a000734e9c5e8f03ae3e3c603 | [
"MIT"
] | null | null | null | office365/runtime/client_response.py | stardust85/Office365-REST-Python-Client | cd369c607c7d137a000734e9c5e8f03ae3e3c603 | [
"MIT"
] | null | null | null | office365/runtime/client_response.py | stardust85/Office365-REST-Python-Client | cd369c607c7d137a000734e9c5e8f03ae3e3c603 | [
"MIT"
] | null | null | null | class ClientResponse(object):
"""Client response """
| 11.8 | 29 | 0.661017 | 5 | 59 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 59 | 4 | 30 | 14.75 | 0.8125 | 0.254237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1e03e5af45efeea175a72bb11db4eb0aa05dab16 | 1,039 | py | Python | gs-engine/gse_api_server/sql/route_sql.py | gedge-platform/GEdge-Platform | b5cbe63089cf3d3263683cbcd5ec3d10ad85779b | [
"Apache-2.0"
] | 13 | 2020-10-14T07:45:08.000Z | 2021-10-01T08:19:56.000Z | gs-engine/gse_api_server/sql/route_sql.py | gedge-platform/GEdge-Platform | b5cbe63089cf3d3263683cbcd5ec3d10ad85779b | [
"Apache-2.0"
] | null | null | null | gs-engine/gse_api_server/sql/route_sql.py | gedge-platform/GEdge-Platform | b5cbe63089cf3d3263683cbcd5ec3d10ad85779b | [
"Apache-2.0"
] | 17 | 2020-11-09T05:16:42.000Z | 2021-12-28T08:04:33.000Z | insert_route_sql = """
INSERT INTO tb_route (
INPUT_VALUE
, OUTPUT_VALUE
, FILTER_VALUE
, INS_DATE
, UPD_DATE
) VALUES (
{input_value}
, {output_value}
, {filter_value}
, NOW()
, NOW()
);
"""
selec... | 21.204082 | 41 | 0.507218 | 103 | 1,039 | 4.679612 | 0.213592 | 0.207469 | 0.19917 | 0.217842 | 0.639004 | 0.582988 | 0.516598 | 0.516598 | 0.390041 | 0.390041 | 0 | 0 | 0.40616 | 1,039 | 49 | 42 | 21.204082 | 0.781199 | 0 | 0 | 0.555556 | 0 | 0 | 0.871976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
1e5410eb8b02e218985737f20a73e67e2786fccb | 130 | py | Python | mloq/__main__.py | FragileTech/ml-ops-quickstart | 8cb1b9a2e70933717e4ef3bd0fc8c4920573ada3 | [
"MIT"
] | 3 | 2021-01-26T15:48:29.000Z | 2022-03-29T12:01:41.000Z | mloq/__main__.py | FragileTech/ml-ops-quickstart | 8cb1b9a2e70933717e4ef3bd0fc8c4920573ada3 | [
"MIT"
] | 219 | 2020-12-12T17:03:59.000Z | 2022-03-28T04:05:42.000Z | mloq/__main__.py | FragileTech/ml-ops-quickstart | 8cb1b9a2e70933717e4ef3bd0fc8c4920573ada3 | [
"MIT"
] | 1 | 2020-12-11T17:44:47.000Z | 2020-12-11T17:44:47.000Z | """Command line interface for mloq."""
import sys
from mloq.cli.main import cli
if __name__ == "__main__":
sys.exit(cli())
| 14.444444 | 38 | 0.676923 | 19 | 130 | 4.210526 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176923 | 130 | 8 | 39 | 16.25 | 0.747664 | 0.246154 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1e631392459f9f93be59b8c0a97ed5dd9848310c | 112 | py | Python | zotler/exceptions.py | vrbacky/zotler | 7e5642f96727e2bca52cce1be941b0805aed0444 | [
"MIT"
] | null | null | null | zotler/exceptions.py | vrbacky/zotler | 7e5642f96727e2bca52cce1be941b0805aed0444 | [
"MIT"
] | null | null | null | zotler/exceptions.py | vrbacky/zotler | 7e5642f96727e2bca52cce1be941b0805aed0444 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
class ZotlerError(Exception):
pass
class InvalidModeError(ZotlerError):
pass
| 11.2 | 36 | 0.723214 | 12 | 112 | 6.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.178571 | 112 | 9 | 37 | 12.444444 | 0.869565 | 0.1875 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
1e96e2f765b2e6e0eea5365ee8431e76d55bb061 | 205 | py | Python | src/sample/atm/transaction.py | acc-cosc-1336/cosc-1336-spring-2018-artgonzalezacc | c5dcc0ad7c47345c274d61c7e94f6c3b0ed42245 | [
"MIT"
] | null | null | null | src/sample/atm/transaction.py | acc-cosc-1336/cosc-1336-spring-2018-artgonzalezacc | c5dcc0ad7c47345c274d61c7e94f6c3b0ed42245 | [
"MIT"
] | null | null | null | src/sample/atm/transaction.py | acc-cosc-1336/cosc-1336-spring-2018-artgonzalezacc | c5dcc0ad7c47345c274d61c7e94f6c3b0ed42245 | [
"MIT"
] | null | null | null | class Transaction:
def __init__(self, trans_type, amount=0):
self.trans_type = trans_type
self.amount = amount
def display(self):
print('Super class display')
| 18.636364 | 46 | 0.604878 | 24 | 205 | 4.875 | 0.5 | 0.230769 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.307317 | 205 | 10 | 47 | 20.5 | 0.816901 | 0 | 0 | 0 | 0 | 0 | 0.097436 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.5 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1ead758f6cc0b430e91ea4151a39ad31d4bf9cc6 | 3,072 | py | Python | polynom/ecc/__init__.py | kilic/polynom | 0d7fdcd28de11eb7be8b39ca8b89e76a8519d4f2 | [
"Apache-2.0"
] | 2 | 2021-09-06T09:39:50.000Z | 2021-09-10T14:19:03.000Z | polynom/ecc/__init__.py | kilic/polynom | 0d7fdcd28de11eb7be8b39ca8b89e76a8519d4f2 | [
"Apache-2.0"
] | null | null | null | polynom/ecc/__init__.py | kilic/polynom | 0d7fdcd28de11eb7be8b39ca8b89e76a8519d4f2 | [
"Apache-2.0"
] | 1 | 2021-12-22T06:08:51.000Z | 2021-12-22T06:08:51.000Z | from __future__ import annotations
one: Scalar = None
zero: Scalar = None
field_modulus = None
Scalar = None
def init_scalar_field(type):
global Scalar
Scalar = type
global one
one = Scalar(1)
global zero
zero = Scalar(0)
CURVE: Curve = None
class Curve:
def is_pairing_friendly(self)... | 22.100719 | 70 | 0.619141 | 395 | 3,072 | 4.625316 | 0.167089 | 0.064039 | 0.061303 | 0.032841 | 0.357964 | 0.26382 | 0.139026 | 0.042693 | 0.042693 | 0.042693 | 0 | 0.00404 | 0.27474 | 3,072 | 138 | 71 | 22.26087 | 0.815978 | 0 | 0 | 0.278351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 1 | 0.298969 | false | 0.072165 | 0.010309 | 0.113402 | 0.56701 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
1eaea95ff5a96d19b33003c6db79caf3a8fe870d | 330 | py | Python | django_cron/cron_settings.py | jane28a/django-cron | bc2dd8f23f4b326a5a12ded22f2927cd5ab9b70f | [
"MIT"
] | 6 | 2015-10-14T12:52:47.000Z | 2019-05-13T01:09:55.000Z | django_cron/cron_settings.py | andybak/django-cron | bc2dd8f23f4b326a5a12ded22f2927cd5ab9b70f | [
"MIT"
] | 1 | 2016-04-13T10:17:37.000Z | 2016-04-13T10:17:37.000Z | django_cron/cron_settings.py | andybak/django-cron | bc2dd8f23f4b326a5a12ded22f2927cd5ab9b70f | [
"MIT"
] | 6 | 2016-04-08T05:13:09.000Z | 2020-06-26T14:29:31.000Z | import os
from django.conf import settings
base_dir = getattr(settings, 'BASE_DIR', '') or getattr(settings, 'PROJECT_DIR', '')
PID_FILE = getattr(settings, 'CRON_PID_FILE', os.path.join(base_dir, 'cron_pid.pid'))
RETRY = getattr(settings, 'CRON_RETRY', False)
SINGLE_JOB_MODE = getattr(settings, 'CRON_SINGLE_JOB_MODE... | 36.666667 | 85 | 0.757576 | 49 | 330 | 4.816327 | 0.428571 | 0.317797 | 0.241525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 330 | 8 | 86 | 41.25 | 0.794613 | 0 | 0 | 0 | 0 | 0 | 0.224242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1ee40e4c68896ff39192cf3deb310f66fd2db47e | 235 | py | Python | pfio/chainer_extensions/__init__.py | HiroakiMikami/pfio | 1ac997dcba7babd5d91dd8c4f2793d27a6bab69b | [
"MIT"
] | null | null | null | pfio/chainer_extensions/__init__.py | HiroakiMikami/pfio | 1ac997dcba7babd5d91dd8c4f2793d27a6bab69b | [
"MIT"
] | null | null | null | pfio/chainer_extensions/__init__.py | HiroakiMikami/pfio | 1ac997dcba7babd5d91dd8c4f2793d27a6bab69b | [
"MIT"
] | null | null | null | import warnings
from pfio.chainer_extensions.snapshot import load_snapshot # NOQA
warnings.warn("Chainer extentions are deprecated and "
"will be removed. Please use 'pfio' instead.",
DeprecationWarning)
| 29.375 | 66 | 0.710638 | 26 | 235 | 6.346154 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225532 | 235 | 7 | 67 | 33.571429 | 0.906593 | 0.017021 | 0 | 0 | 0 | 0 | 0.353712 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
94d3e6b1787a8c676f0d2576fad77f94fbc92369 | 388 | py | Python | geekup/models/__init__.py | hasgeek/geekup | 4e9b83f63203ae15d11a3e2e679e8a86ae02e545 | [
"CC-BY-3.0"
] | 1 | 2020-06-26T17:10:37.000Z | 2020-06-26T17:10:37.000Z | geekup/models/__init__.py | hasgeek/geekup | 4e9b83f63203ae15d11a3e2e679e8a86ae02e545 | [
"CC-BY-3.0"
] | 5 | 2017-05-04T06:24:17.000Z | 2019-05-08T00:16:46.000Z | geekup/models/__init__.py | hasgeek/geekup | 4e9b83f63203ae15d11a3e2e679e8a86ae02e545 | [
"CC-BY-3.0"
] | null | null | null | from flask_sqlalchemy import SQLAlchemy
from geekup import app
from coaster.sqlalchemy import BaseMixin, BaseNameMixin
db = SQLAlchemy(app)
from geekup.models.city import *
from geekup.models.event import *
from geekup.models.participant import *
from geekup.models.speaker import *
from geekup.models.sponsor import *... | 27.714286 | 55 | 0.814433 | 53 | 388 | 5.943396 | 0.339623 | 0.253968 | 0.355556 | 0.419048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118557 | 388 | 13 | 56 | 29.846154 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.909091 | 0 | 0.909091 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
94eaca148abffde2b4cfdbf74509134a0c4706ec | 110 | py | Python | lanedet/models/backbones/__init__.py | AbdulFMS/lanedet | 32f258437f1852a115d194a3c195913a7d65240c | [
"Apache-2.0"
] | 277 | 2021-04-16T02:49:52.000Z | 2022-03-31T06:25:11.000Z | lanedet/models/backbones/__init__.py | ibaiGorordo/lanedet | 210709066886e4906c8d3ab4d9173785ef07c65d | [
"Apache-2.0"
] | 40 | 2021-05-17T08:31:48.000Z | 2022-03-31T11:39:21.000Z | lanedet/models/backbones/__init__.py | ibaiGorordo/lanedet | 210709066886e4906c8d3ab4d9173785ef07c65d | [
"Apache-2.0"
] | 47 | 2021-04-16T07:18:53.000Z | 2022-03-17T03:13:21.000Z | from .resnet import ResNet
from .vgg import VGG
from .erfnet import ERFNet
from .mobilenet import MobileNet
| 22 | 32 | 0.8 | 16 | 110 | 5.5 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 110 | 4 | 33 | 27.5 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
94f9132740888ae81b66a8b40455bf2573781184 | 237 | py | Python | udeer/lease_management/doctype/lease_rent_payment/test_lease_rent_payment.py | mhbu50/udeer | abb453c2d7c073c8b6e06756332ff44a792c7b43 | [
"MIT"
] | 1 | 2016-11-18T08:49:51.000Z | 2016-11-18T08:49:51.000Z | udeer/lease_management/doctype/lease_rent_payment/test_lease_rent_payment.py | mhbu50/udeer | abb453c2d7c073c8b6e06756332ff44a792c7b43 | [
"MIT"
] | 1 | 2021-12-06T11:35:12.000Z | 2021-12-06T11:35:12.000Z | udeer/lease_management/doctype/lease_rent_payment/test_lease_rent_payment.py | mhbu50/udeer | abb453c2d7c073c8b6e06756332ff44a792c7b43 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2015, moosa and Contributors
# See license.txt
import frappe
import unittest
# test_records = frappe.get_test_records('Lease rent payment')
class TestLeaserentpayment(unittest.TestCase):
pass
| 18.230769 | 62 | 0.751055 | 30 | 237 | 5.833333 | 0.833333 | 0.125714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02451 | 0.139241 | 237 | 12 | 63 | 19.75 | 0.833333 | 0.594937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
a20a4680133efd3a16aada8363f7ca5bb1570d3b | 360 | py | Python | tst/macro/util_test.py | marko-galesic/maxhotkey | 02205f1cf948b689b45758079246d3819208cdc1 | [
"Apache-2.0"
] | 1 | 2021-04-02T11:45:42.000Z | 2021-04-02T11:45:42.000Z | tst/macro/util_test.py | tavor/maxhotkey | 02205f1cf948b689b45758079246d3819208cdc1 | [
"Apache-2.0"
] | 5 | 2020-05-26T18:49:25.000Z | 2021-06-08T21:38:36.000Z | tst/macro/util_test.py | marko-galesic/maxhotkey | 02205f1cf948b689b45758079246d3819208cdc1 | [
"Apache-2.0"
] | 1 | 2021-04-02T11:45:31.000Z | 2021-04-02T11:45:31.000Z | import unittest
from macro.util import get_capitalized_key_combo_pattern, get_script_name
class UtilTest(unittest.TestCase):
def test_get_capitalized_key_combo_pattern(self):
self.assertEqual(get_capitalized_key_combo_pattern("ctrl-alt"), "CtrlAlt")
def test_get_script_name(self):
self.asser... | 32.727273 | 82 | 0.775 | 50 | 360 | 5.18 | 0.46 | 0.162162 | 0.196911 | 0.254826 | 0.335907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 360 | 11 | 83 | 32.727273 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0.055402 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a21ebbe4ce3d006d56ee71e553b524db71df3677 | 4,262 | py | Python | tests/files/test_file_type_validation.py | kids-first/kf-api-study-creator | 93a79b108b6474f9b4135ace06c89ddcf63dd257 | [
"Apache-2.0"
] | 3 | 2019-05-04T02:07:28.000Z | 2020-10-16T17:47:44.000Z | tests/files/test_file_type_validation.py | kids-first/kf-api-study-creator | 93a79b108b6474f9b4135ace06c89ddcf63dd257 | [
"Apache-2.0"
] | 604 | 2019-02-21T18:14:51.000Z | 2022-02-10T08:13:54.000Z | tests/files/test_file_type_validation.py | kids-first/kf-api-study-creator | 93a79b108b6474f9b4135ace06c89ddcf63dd257 | [
"Apache-2.0"
] | null | null | null | import pytest
from django.contrib.auth import get_user_model
from graphql_relay import to_global_id
from creator.studies.factories import StudyFactory
from creator.studies.models import Study, Membership
from creator.files.models import Version
from creator.studies.factories import StudyFactory
from creator.files.fac... | 29.191781 | 78 | 0.570624 | 451 | 4,262 | 5.263858 | 0.206208 | 0.047178 | 0.046335 | 0.053917 | 0.776748 | 0.776748 | 0.776748 | 0.761584 | 0.673126 | 0.673126 | 0 | 0.009622 | 0.29282 | 4,262 | 145 | 79 | 29.393103 | 0.778036 | 0.046926 | 0 | 0.495575 | 0 | 0 | 0.410608 | 0.0249 | 0 | 0 | 0 | 0 | 0.097345 | 1 | 0.026549 | false | 0 | 0.070796 | 0 | 0.097345 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a2296ec687319c96fc9cfaab5eab936b2a242614 | 119 | py | Python | Co1/C14.py | Abhilash2015mca/Programming-Lab-Python- | d0148d613c4af271b127bbad874e25f23470a540 | [
"Adobe-Glyph"
] | null | null | null | Co1/C14.py | Abhilash2015mca/Programming-Lab-Python- | d0148d613c4af271b127bbad874e25f23470a540 | [
"Adobe-Glyph"
] | null | null | null | Co1/C14.py | Abhilash2015mca/Programming-Lab-Python- | d0148d613c4af271b127bbad874e25f23470a540 | [
"Adobe-Glyph"
] | null | null | null | #Accept an integer n and compute n+nn+nnn
n = int(input("enter the integer = "))
print("(n + nn + nnn) =", n+n*n+n*n*n) | 39.666667 | 41 | 0.613445 | 25 | 119 | 2.92 | 0.52 | 0.136986 | 0.164384 | 0.164384 | 0.082192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168067 | 119 | 3 | 42 | 39.666667 | 0.737374 | 0.336134 | 0 | 0 | 0 | 0 | 0.455696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
bf4eaa16d4eaff8fec54f13ffa2c0b51d3087060 | 1,623 | py | Python | Codes/asdf2014/20_valid_parentheses/valid_parentheses.py | ghoslation/algorithm | 5708bf89e59a80cd0f50f2e6138f069b4f9bc96e | [
"Apache-2.0"
] | 256 | 2017-10-25T13:02:15.000Z | 2022-02-25T13:47:59.000Z | Codes/asdf2014/20_valid_parentheses/valid_parentheses.py | IYoreI/Algorithm | 0addf0cda0ec9e3f46c480eeda3a8ecb64c94121 | [
"Apache-2.0"
] | 56 | 2017-10-27T01:34:20.000Z | 2022-03-01T00:20:55.000Z | Codes/asdf2014/20_valid_parentheses/valid_parentheses.py | IYoreI/Algorithm | 0addf0cda0ec9e3f46c480eeda3a8ecb64c94121 | [
"Apache-2.0"
] | 83 | 2017-10-25T12:51:53.000Z | 2022-02-15T08:27:03.000Z | # https://leetcode-cn.com/problems/valid-parentheses/
# Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
#
# An input string is valid if:
# Open brackets must be closed by the same type of brackets.
# Open brackets must be closed in the correct orde... | 23.185714 | 120 | 0.613678 | 221 | 1,623 | 4.461538 | 0.38914 | 0.210953 | 0.200811 | 0.20284 | 0.318458 | 0.269777 | 0.20284 | 0.20284 | 0.20284 | 0.20284 | 0 | 0.009404 | 0.213802 | 1,623 | 69 | 121 | 23.521739 | 0.758621 | 0.443623 | 0 | 0.2 | 0 | 0 | 0.040509 | 0 | 0 | 0 | 0 | 0 | 0.44 | 1 | 0.04 | false | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bf54cdb08030eb9edf7093f0c5edc07cafc71c7e | 97 | py | Python | run.py | RahulSondhi/jetBlueChallenge | bdb595ccdf1a2a82947acc866042667a3fa3de70 | [
"MIT"
] | null | null | null | run.py | RahulSondhi/jetBlueChallenge | bdb595ccdf1a2a82947acc866042667a3fa3de70 | [
"MIT"
] | 1 | 2021-03-20T00:20:09.000Z | 2021-03-20T00:20:09.000Z | run.py | RahulSondhi/TedTalkDataAnalysis | c33164bf81bda5bc26a51286fd497300f45f7d33 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
if __name__ == "__main__":
from app import app
app.run(port=3333)
| 16.166667 | 26 | 0.649485 | 15 | 97 | 3.666667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0.206186 | 97 | 5 | 27 | 19.4 | 0.662338 | 0.206186 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bf8f400b8e59356260f3aa12075ebeae8098dc08 | 55,716 | py | Python | ermaket/ui/res_compiled/icons_rc.py | SqrtMinusOne/ERMaket_Experiment | c4a7b61651edd15a619d9b690e2aaeaab4de282d | [
"Apache-2.0"
] | null | null | null | ermaket/ui/res_compiled/icons_rc.py | SqrtMinusOne/ERMaket_Experiment | c4a7b61651edd15a619d9b690e2aaeaab4de282d | [
"Apache-2.0"
] | null | null | null | ermaket/ui/res_compiled/icons_rc.py | SqrtMinusOne/ERMaket_Experiment | c4a7b61651edd15a619d9b690e2aaeaab4de282d | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.14.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x01\xe8\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x30\x... | 57.439175 | 121 | 0.724585 | 13,374 | 55,716 | 3.015777 | 0.022955 | 0.083306 | 0.064488 | 0.03481 | 0.171448 | 0.164605 | 0.158853 | 0.15677 | 0.150224 | 0.1471 | 0 | 0.328068 | 0.019402 | 55,716 | 969 | 122 | 57.498452 | 0.410158 | 0.002728 | 0 | 0.147368 | 0 | 0.849474 | 0.000018 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.002105 | false | 0 | 0.001053 | 0 | 0.003158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bf98f6bbfd66dfa1ef70b6946bdad460c34075a5 | 444 | py | Python | tests/test_namespaces.py | xealits/symbolic-lisp | 49ba0fe15c7cfc9f637b7c927232cbd8915d9dd8 | [
"MIT"
] | null | null | null | tests/test_namespaces.py | xealits/symbolic-lisp | 49ba0fe15c7cfc9f637b7c927232cbd8915d9dd8 | [
"MIT"
] | null | null | null | tests/test_namespaces.py | xealits/symbolic-lisp | 49ba0fe15c7cfc9f637b7c927232cbd8915d9dd8 | [
"MIT"
] | null | null | null | from sym_lis import GlobalEnv, Env
g = GlobalEnv()
def test_list():
assert g.eval_str("(quote (env (quote 'foo 5) (quote 3 7)))") == ['env', ['quote', "'foo", 5], ['quote', 3, 7]]
def test_env():
assert isinstance(g.eval_str("(env (quote ('foo 5)) (quote (3 7)))"), Env)
assert g.eval_str("(env? (env (qu... | 27.75 | 115 | 0.572072 | 74 | 444 | 3.324324 | 0.27027 | 0.04878 | 0.223577 | 0.243902 | 0.613821 | 0.520325 | 0.520325 | 0.520325 | 0.430894 | 0.219512 | 0 | 0.046961 | 0.184685 | 444 | 15 | 116 | 29.6 | 0.632597 | 0 | 0 | 0 | 0 | 0 | 0.397291 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.333333 | false | 0 | 0.111111 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bf9d04b3e1118c1cd2cedda96f6cb64b50adb0fb | 173 | py | Python | xarray_extras/duck/__init__.py | crusaderky/xarray_extras | d82be4dab330a2a00cd7664a8dd77b60d870cee5 | [
"Apache-2.0"
] | 25 | 2018-05-07T09:53:09.000Z | 2022-03-27T07:14:12.000Z | xarray_extras/duck/__init__.py | crusaderky/xarray_extras | d82be4dab330a2a00cd7664a8dd77b60d870cee5 | [
"Apache-2.0"
] | 6 | 2019-05-30T10:02:03.000Z | 2022-03-26T20:00:56.000Z | xarray_extras/duck/__init__.py | crusaderky/xarray_extras | d82be4dab330a2a00cd7664a8dd77b60d870cee5 | [
"Apache-2.0"
] | null | null | null | """Functions that accept either a numpy array or a dask array, and return
another of the matching type.
Typyically invoked through ``xarray.apply_ufunc(dask='allowed').
"""
| 34.6 | 73 | 0.768786 | 26 | 173 | 5.076923 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132948 | 173 | 4 | 74 | 43.25 | 0.88 | 0.953757 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bfa35f4740e2feb778841bf05529030cc9c0e891 | 356 | py | Python | about_python.py | KaiserBachfeld/CWCT_Python | 1a63f3c77434a4ee77d90072f26f6010388b3bc0 | [
"MIT"
] | null | null | null | about_python.py | KaiserBachfeld/CWCT_Python | 1a63f3c77434a4ee77d90072f26f6010388b3bc0 | [
"MIT"
] | null | null | null | about_python.py | KaiserBachfeld/CWCT_Python | 1a63f3c77434a4ee77d90072f26f6010388b3bc0 | [
"MIT"
] | null | null | null | ################################
# #
# James Bachelder #
# CWCT - Python #
# M01 Programming Assignment 2 #
# 18 June 2021 #
# #
################################
print('Guido van Rossum')
print('20 February 1991')
pr... | 27.384615 | 37 | 0.356742 | 24 | 356 | 5.291667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 0.393258 | 356 | 12 | 38 | 29.666667 | 0.518519 | 0.289326 | 0 | 0 | 0 | 0 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
bfc96a64d5994b6250f5d552e7ec22eab2022391 | 108 | py | Python | rbcz/__init__.py | smcl/rbcz.py | 2bcdea1e12d3800d4b9b3e1d3523dec43bf3026b | [
"MIT"
] | null | null | null | rbcz/__init__.py | smcl/rbcz.py | 2bcdea1e12d3800d4b9b3e1d3523dec43bf3026b | [
"MIT"
] | null | null | null | rbcz/__init__.py | smcl/rbcz.py | 2bcdea1e12d3800d4b9b3e1d3523dec43bf3026b | [
"MIT"
] | 2 | 2016-10-11T16:04:15.000Z | 2022-03-02T10:26:42.000Z | # flake8: noqa
from .rbcz import (
read_statement,
read_statements,
read_statements_from_imap
)
| 15.428571 | 29 | 0.722222 | 13 | 108 | 5.615385 | 0.692308 | 0.383562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.212963 | 108 | 6 | 30 | 18 | 0.847059 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
44cc583bf1d1d3e4338fec4b1df71258b836d232 | 62 | py | Python | uav/src/main/python/pyspookystuff/__init__.py | fahadsiddiqui/spookystuff | e01b73dbb54d6dffb4bdb20c56b47300b5362412 | [
"Apache-2.0"
] | null | null | null | uav/src/main/python/pyspookystuff/__init__.py | fahadsiddiqui/spookystuff | e01b73dbb54d6dffb4bdb20c56b47300b5362412 | [
"Apache-2.0"
] | null | null | null | uav/src/main/python/pyspookystuff/__init__.py | fahadsiddiqui/spookystuff | e01b73dbb54d6dffb4bdb20c56b47300b5362412 | [
"Apache-2.0"
] | null | null | null | # keep this! otherwise pyspookystuff can't be a python module
| 31 | 61 | 0.790323 | 10 | 62 | 4.9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 62 | 1 | 62 | 62 | 0.942308 | 0.951613 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
44e83f9ddcdf75b62b4f049cafc85f6bd7012554 | 360 | py | Python | Level 3/OOP/2) Basic Class Programs/Question 5.py | aaravdave/YoungWonks | 92f1de88f5c46744bc7229153af4392afa8f6353 | [
"MIT"
] | null | null | null | Level 3/OOP/2) Basic Class Programs/Question 5.py | aaravdave/YoungWonks | 92f1de88f5c46744bc7229153af4392afa8f6353 | [
"MIT"
] | null | null | null | Level 3/OOP/2) Basic Class Programs/Question 5.py | aaravdave/YoungWonks | 92f1de88f5c46744bc7229153af4392afa8f6353 | [
"MIT"
] | null | null | null | class Shopping:
def __init__(self, shop):
self.shop = shop
self.cart = {}
def add_cart(self, item, quantity):
if item in self.cart:
self.cart[item] += quantity
else:
self.cart[item] = quantity
def remove_cart(self, item, quantity):
if item in self.cart:
self.cart[item] -= quantity
if self.c... | 21.176471 | 39 | 0.652778 | 55 | 360 | 4.163636 | 0.290909 | 0.279476 | 0.209607 | 0.262009 | 0.489083 | 0.489083 | 0.489083 | 0.489083 | 0.489083 | 0.489083 | 0 | 0.003509 | 0.208333 | 360 | 16 | 40 | 22.5 | 0.8 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
44f1bb76ca319916401ef89925dc88cee5ef98e0 | 51 | py | Python | clients/python/voldemort/serialization/common.py | ramiyer/voldemort | a7dbdea58032021361680faacf2782cf981c5332 | [
"Apache-2.0"
] | 1,379 | 2015-01-02T23:56:28.000Z | 2022-03-29T08:02:39.000Z | clients/python/voldemort/serialization/common.py | ramiyer/voldemort | a7dbdea58032021361680faacf2782cf981c5332 | [
"Apache-2.0"
] | 235 | 2015-01-03T09:55:27.000Z | 2022-01-21T03:21:02.000Z | clients/python/voldemort/serialization/common.py | ramiyer/voldemort | a7dbdea58032021361680faacf2782cf981c5332 | [
"Apache-2.0"
] | 316 | 2015-01-02T12:47:41.000Z | 2022-03-25T08:11:16.000Z | class SerializationException(Exception):
pass
| 12.75 | 40 | 0.784314 | 4 | 51 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 3 | 41 | 17 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
44f6bdf2689807913c20318d679724fee765387b | 283 | py | Python | tests/browser/pages/invest/__init__.py | mayank-sfdc/directory-tests | 6e978bc1a27c19389e99e454143122aa27e47b85 | [
"MIT"
] | 4 | 2017-06-02T09:09:10.000Z | 2018-01-25T19:06:12.000Z | tests/browser/pages/invest/__init__.py | mayank-sfdc/directory-tests | 6e978bc1a27c19389e99e454143122aa27e47b85 | [
"MIT"
] | 53 | 2016-10-27T22:31:03.000Z | 2022-03-07T11:18:25.000Z | tests/browser/pages/invest/__init__.py | mayank-sfdc/directory-tests | 6e978bc1a27c19389e99e454143122aa27e47b85 | [
"MIT"
] | 3 | 2017-11-22T11:42:40.000Z | 2022-02-21T01:20:04.000Z | # -*- coding: utf-8 -*-
__all__ = [
"contact_us",
"contact_us_thank_you",
"feedback",
"landing",
"how_to_set_up_in_the_uk",
"how_we_help_you_expand",
"hpo",
"hpo_contact_us",
"hpo_contact_us_thank_you",
"pixels",
"uk_setup_guide_pages",
]
| 18.866667 | 31 | 0.614841 | 38 | 283 | 3.868421 | 0.657895 | 0.244898 | 0.190476 | 0.231293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004566 | 0.226148 | 283 | 14 | 32 | 20.214286 | 0.666667 | 0.074205 | 0 | 0 | 0 | 0 | 0.603846 | 0.265385 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
785755f110c47cf9320bc35a0657e39f216fed4b | 206 | py | Python | preacher/compilation/request/factory.py | lasta/preacher | 5e50f8eb930fac72a788e7614eb5a85903f7bde6 | [
"MIT"
] | 3 | 2019-08-01T03:14:49.000Z | 2020-01-31T08:55:22.000Z | preacher/compilation/request/factory.py | lasta/preacher | 5e50f8eb930fac72a788e7614eb5a85903f7bde6 | [
"MIT"
] | 353 | 2019-04-14T14:53:28.000Z | 2022-03-11T03:26:08.000Z | preacher/compilation/request/factory.py | lasta/preacher | 5e50f8eb930fac72a788e7614eb5a85903f7bde6 | [
"MIT"
] | 1 | 2020-08-01T06:23:08.000Z | 2020-08-01T06:23:08.000Z | from .request import RequestCompiler
from .request_body import RequestBodyCompiler
def create_request_compiler() -> RequestCompiler:
body = RequestBodyCompiler()
return RequestCompiler(body=body)
| 25.75 | 49 | 0.805825 | 20 | 206 | 8.15 | 0.5 | 0.134969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131068 | 206 | 7 | 50 | 29.428571 | 0.910615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7875e626242f90d5c5c598a6093da6e9781b9de1 | 3,709 | py | Python | pyknon/simplemusic.py | palmerev/pyknon | 4bd67c1432490f1ccd535ed84bb0abacf0c9e097 | [
"MIT"
] | null | null | null | pyknon/simplemusic.py | palmerev/pyknon | 4bd67c1432490f1ccd535ed84bb0abacf0c9e097 | [
"MIT"
] | null | null | null | pyknon/simplemusic.py | palmerev/pyknon | 4bd67c1432490f1ccd535ed84bb0abacf0c9e097 | [
"MIT"
] | 1 | 2018-03-06T01:01:59.000Z | 2018-03-06T01:01:59.000Z | """
A simple numeric library for music computation.
This module is good for teaching, demonstrations, and quick hacks. To
generate actual music you should use the music module.
"""
from __future__ import division
from itertools import combinations, chain
from fractions import Fraction
class SimpleMusicError(Excepti... | 25.40411 | 85 | 0.683473 | 528 | 3,709 | 4.660985 | 0.284091 | 0.036571 | 0.009752 | 0.008533 | 0.102397 | 0.073954 | 0.039009 | 0.039009 | 0.039009 | 0.039009 | 0 | 0.023154 | 0.196549 | 3,709 | 145 | 86 | 25.57931 | 0.802685 | 0.046643 | 0 | 0.045977 | 1 | 0 | 0.058974 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.275862 | false | 0.011494 | 0.034483 | 0.149425 | 0.62069 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
78b70b0b9b4772dba5c60d90cef3ee0b72a5337d | 1,013 | py | Python | safe_exploration/test/test_gp_reachability.py | oscarkey/safe-exploration | 32f0582a7b54ab7d4c1d415afbcf5e9554e8bcec | [
"MIT"
] | null | null | null | safe_exploration/test/test_gp_reachability.py | oscarkey/safe-exploration | 32f0582a7b54ab7d4c1d415afbcf5e9554e8bcec | [
"MIT"
] | null | null | null | safe_exploration/test/test_gp_reachability.py | oscarkey/safe-exploration | 32f0582a7b54ab7d4c1d415afbcf5e9554e8bcec | [
"MIT"
] | null | null | null | import numpy as np
from polytope import polytope
from .. import gp_reachability
def test__is_ellipsoid_inside_polytope__inside__returns_true():
poly = polytope.box2poly(([[0, 10], [0, 10]]))
A = poly.A
b = np.expand_dims(poly.b, 1)
p = np.array([[5, 5]]).T
q = np.array([[2, 1], [1, 2]])
asser... | 31.65625 | 76 | 0.650543 | 169 | 1,013 | 3.621302 | 0.213018 | 0.107843 | 0.166667 | 0.245098 | 0.815359 | 0.815359 | 0.658497 | 0.658497 | 0.658497 | 0.658497 | 0 | 0.053269 | 0.1846 | 1,013 | 31 | 77 | 32.677419 | 0.687651 | 0 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
78c844889220a1f8b127fc0b819127044b66dec6 | 3,137 | py | Python | tests/test_filelib.py | tetsuzawa/dxx-py | 8c63327b8814bdd3499c1696b5a5f0eb9fe7fc76 | [
"MIT"
] | null | null | null | tests/test_filelib.py | tetsuzawa/dxx-py | 8c63327b8814bdd3499c1696b5a5f0eb9fe7fc76 | [
"MIT"
] | null | null | null | tests/test_filelib.py | tetsuzawa/dxx-py | 8c63327b8814bdd3499c1696b5a5f0eb9fe7fc76 | [
"MIT"
] | null | null | null | import dxx
import numpy as np
class TestDtype:
def test_from_filename(self):
mock_filename = "mock.DSB"
assert dxx.Dtype.DSB == dxx.Dtype.from_filename(mock_filename)
def test_list_names(self):
assert ["DSA", "DFA", "DDA", "DSB", "DFB", "DDB"] == dxx.Dtype.list_names()
def test_b... | 31.37 | 83 | 0.591329 | 413 | 3,137 | 4.268765 | 0.113801 | 0.176971 | 0.265457 | 0.057856 | 0.815655 | 0.627907 | 0.455474 | 0.455474 | 0.095292 | 0 | 0 | 0.010959 | 0.301881 | 3,137 | 99 | 84 | 31.686869 | 0.794064 | 0 | 0 | 0.75 | 0 | 0 | 0.018489 | 0 | 0 | 0 | 0 | 0 | 0.443182 | 1 | 0.102273 | false | 0 | 0.022727 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
151e87cbcfeed4c25a56b0d23012565f9e2e57c7 | 277 | py | Python | authors/apps/articles/migrations/0025_merge_20190201_0800.py | andela/ah-django-unchained | a4e5f6cd11fdc0b9422020693ac1200b849cf0f3 | [
"BSD-3-Clause"
] | null | null | null | authors/apps/articles/migrations/0025_merge_20190201_0800.py | andela/ah-django-unchained | a4e5f6cd11fdc0b9422020693ac1200b849cf0f3 | [
"BSD-3-Clause"
] | 26 | 2019-01-07T14:22:05.000Z | 2019-02-28T17:11:48.000Z | authors/apps/articles/migrations/0025_merge_20190201_0800.py | andela/ah-django-unchained | a4e5f6cd11fdc0b9422020693ac1200b849cf0f3 | [
"BSD-3-Clause"
] | 3 | 2019-09-19T22:16:09.000Z | 2019-10-16T21:16:16.000Z | # Generated by Django 2.1.5 on 2019-02-01 08:00
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('articles', '0024_merge_20190130_1511'),
('articles', '0024_merge_20190130_0649'),
]
operations = [
]
| 18.466667 | 49 | 0.65343 | 33 | 277 | 5.30303 | 0.787879 | 0.137143 | 0.194286 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219626 | 0.227437 | 277 | 14 | 50 | 19.785714 | 0.598131 | 0.162455 | 0 | 0 | 1 | 0 | 0.278261 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 4 |
1539defea3ff83633533498f1fb2b014623e571c | 331 | py | Python | piecewise/dtype/__init__.py | jtbish/piecewise | d27e095e298698d83901bfd1236e0e0669261136 | [
"MIT"
] | 3 | 2019-12-04T02:28:08.000Z | 2022-02-02T13:13:36.000Z | piecewise/dtype/__init__.py | jtbish/piecewise | d27e095e298698d83901bfd1236e0e0669261136 | [
"MIT"
] | 5 | 2020-01-15T04:33:36.000Z | 2021-03-26T14:58:47.000Z | piecewise/dtype/__init__.py | jtbish/piecewise | d27e095e298698d83901bfd1236e0e0669261136 | [
"MIT"
] | 1 | 2020-06-04T08:55:27.000Z | 2020-06-04T08:55:27.000Z | from .classifier import Classifier, LinearPredictionClassifier
from .genotype import Genotype
from .classifier_set.classifier_set import ClassifierSet
from .classifier_set.population import Population
from .condition import Condition
from .data_space import DataSpaceBuilder
from .dimension import Dimension
from .rule i... | 36.777778 | 62 | 0.867069 | 39 | 331 | 7.25641 | 0.358974 | 0.14841 | 0.120141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099698 | 331 | 8 | 63 | 41.375 | 0.949664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 4 |
154f73d5d7def5c548b6e776d05e96568170ff07 | 43 | py | Python | lutorpy/torch_path.py | oeway/lutorpy | 5c09d7fc554ac90f356c3b0e217bab4ff6a60c9a | [
"MIT"
] | 273 | 2016-04-27T22:29:06.000Z | 2021-08-23T14:55:20.000Z | lutorpy/torch_path.py | oeway/lutorpy | 5c09d7fc554ac90f356c3b0e217bab4ff6a60c9a | [
"MIT"
] | 53 | 2016-05-14T22:46:39.000Z | 2020-08-07T04:14:15.000Z | lutorpy/torch_path.py | oeway/lutorpy | 5c09d7fc554ac90f356c3b0e217bab4ff6a60c9a | [
"MIT"
] | 32 | 2016-04-29T00:34:21.000Z | 2021-08-23T14:55:21.000Z | __torch_path__ = '/home/wei/torch/install'
| 21.5 | 42 | 0.767442 | 6 | 43 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.534884 | 0.534884 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1563e7a6493239da790d3e8c0d05a3346d96d109 | 421 | py | Python | homeschool/schools/migrations/0003_remove_uuids.py | chriswedgwood/homeschool | d5267b13154aaa52c9c3edbf06b251f123583ae8 | [
"MIT"
] | 154 | 2019-12-24T17:45:44.000Z | 2022-03-30T23:03:06.000Z | homeschool/schools/migrations/0003_remove_uuids.py | chriswedgwood/homeschool | d5267b13154aaa52c9c3edbf06b251f123583ae8 | [
"MIT"
] | 397 | 2019-11-05T03:23:45.000Z | 2022-03-31T04:51:55.000Z | homeschool/schools/migrations/0003_remove_uuids.py | chriswedgwood/homeschool | d5267b13154aaa52c9c3edbf06b251f123583ae8 | [
"MIT"
] | 44 | 2020-02-24T13:08:52.000Z | 2022-02-24T05:03:13.000Z | # Generated by Django 3.1.8 on 2021-04-25 04:43
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [("schools", "0002_auto_20210422_1433")]
operations = [
migrations.RemoveField(model_name="gradelevel", name="uuid"),
migrations.RemoveField(model_name="sch... | 28.066667 | 70 | 0.700713 | 49 | 421 | 5.897959 | 0.632653 | 0.217993 | 0.269896 | 0.311419 | 0.262976 | 0.262976 | 0 | 0 | 0 | 0 | 0 | 0.088068 | 0.163895 | 421 | 14 | 71 | 30.071429 | 0.732955 | 0.106888 | 0 | 0 | 1 | 0 | 0.195187 | 0.061497 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1594d1d0c04d4316771a36a30d8ae0b41bf272a5 | 255 | py | Python | thefuck/rules/yarn_command_replaced.py | MJGrey/thefuck | c88b0792b8a2db3c181938af6c357662993a30c3 | [
"MIT"
] | 1 | 2018-07-06T04:10:56.000Z | 2018-07-06T04:10:56.000Z | thefuck/rules/yarn_command_replaced.py | MJGrey/thefuck | c88b0792b8a2db3c181938af6c357662993a30c3 | [
"MIT"
] | null | null | null | thefuck/rules/yarn_command_replaced.py | MJGrey/thefuck | c88b0792b8a2db3c181938af6c357662993a30c3 | [
"MIT"
] | 1 | 2018-07-06T04:11:05.000Z | 2018-07-06T04:11:05.000Z | import re
from thefuck.utils import for_app
regex = re.compile(r'Run "(.*)" instead')
@for_app('yarn', at_least=1)
def match(command):
return regex.findall(command.stderr)
def get_new_command(command):
return regex.findall(command.stderr)[0]
| 18.214286 | 43 | 0.72549 | 39 | 255 | 4.615385 | 0.641026 | 0.066667 | 0.2 | 0.277778 | 0.422222 | 0.422222 | 0 | 0 | 0 | 0 | 0 | 0.00905 | 0.133333 | 255 | 13 | 44 | 19.615385 | 0.80543 | 0 | 0 | 0 | 0 | 0 | 0.086275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
1596ccac1ccb32f42ea4c97c5b2cd4e0414a1691 | 247 | py | Python | src/client/Page.py | wassafshahzad/ani-cli-py | b7e8f5518f7eb25e7b059dffbf12783311c3f0bf | [
"MIT"
] | null | null | null | src/client/Page.py | wassafshahzad/ani-cli-py | b7e8f5518f7eb25e7b059dffbf12783311c3f0bf | [
"MIT"
] | null | null | null | src/client/Page.py | wassafshahzad/ani-cli-py | b7e8f5518f7eb25e7b059dffbf12783311c3f0bf | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
from typing import List, Type
from bs4.element import Tag
@dataclass
class Page:
previous_page: Type[Tag] = None
next_page: Type[Tag] = None
obj: List[Type[Tag]] = field(default_factory=list)
| 22.454545 | 54 | 0.736842 | 36 | 247 | 4.972222 | 0.527778 | 0.117318 | 0.122905 | 0.167598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004902 | 0.174089 | 247 | 10 | 55 | 24.7 | 0.872549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ec7dab4cf147f727a468466450c0bcf911054cdb | 13,512 | py | Python | brewerslab-orig-commander/cloud/gData.py | allena29/brewerslabng | f47e671971436b7af806b54f6019c5b185d7d194 | [
"Apache-2.0"
] | 1 | 2020-04-12T10:08:10.000Z | 2020-04-12T10:08:10.000Z | brewerslab-orig-commander/cloud/gData.py | allena29/brewerslabng | f47e671971436b7af806b54f6019c5b185d7d194 | [
"Apache-2.0"
] | 2 | 2021-12-13T20:09:45.000Z | 2022-03-08T21:09:57.000Z | brewerslab-orig-commander/cloud/gData.py | allena29/brewerslabng | f47e671971436b7af806b54f6019c5b185d7d194 | [
"Apache-2.0"
] | null | null | null | from google.appengine.ext import db
class gProcesses(db.Model):
"""
An index of all processes owned by a user
"""
owner=db.StringProperty(required=True)
process=db.StringProperty(required=True)
class gSuppliers(db.Model):
owner=db.StringProperty(required=True)
supplier=db.StringProperty(required=True)
suppli... | 37.429363 | 73 | 0.823194 | 1,547 | 13,512 | 7.145443 | 0.18746 | 0.223449 | 0.217116 | 0.17315 | 0.537 | 0.432513 | 0.414782 | 0.294644 | 0.288764 | 0.187353 | 0 | 0.001427 | 0.066459 | 13,512 | 360 | 74 | 37.533333 | 0.874901 | 0.035376 | 0 | 0.362126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003322 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ecaa797286748fb16163f26fbbd5dcbec2fec659 | 1,878 | py | Python | pythran/tests/test_constant_folding.py | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | pythran/tests/test_constant_folding.py | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | pythran/tests/test_constant_folding.py | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | 1 | 2017-03-12T20:32:36.000Z | 2017-03-12T20:32:36.000Z | from test_env import TestEnv
class TestConstantUnfolding(TestEnv):
def test_constant_folding_int_literals(self):
self.run_test("def constant_folding_int_literals(): return 1+2*3.5", constant_folding_int_literals=[])
def test_constant_folding_str_literals(self):
self.run_test("def constant_fol... | 55.235294 | 169 | 0.765708 | 264 | 1,878 | 5.015152 | 0.170455 | 0.339879 | 0.113293 | 0.166163 | 0.636707 | 0.339124 | 0.321752 | 0.223565 | 0.070997 | 0 | 0 | 0.016295 | 0.117678 | 1,878 | 33 | 170 | 56.909091 | 0.78274 | 0 | 0 | 0 | 0 | 0.045455 | 0.347178 | 0.203408 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.136364 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ecc5d7fc24ccc81f2c9f88bfc27c6f40d1e3607a | 455 | py | Python | Python/functions.py | JoaoRobertoFernandes/Code-to-study | ac0a69035f5aa124b4ef789bc884342dc93e6fc8 | [
"MIT"
] | null | null | null | Python/functions.py | JoaoRobertoFernandes/Code-to-study | ac0a69035f5aa124b4ef789bc884342dc93e6fc8 | [
"MIT"
] | null | null | null | Python/functions.py | JoaoRobertoFernandes/Code-to-study | ac0a69035f5aa124b4ef789bc884342dc93e6fc8 | [
"MIT"
] | null | null | null | #Functions
'''
#Using Functions
#------------------------#
print("----------------------")
def print_hello_world() :
print("Hello World")
print_hello_world()
print("----------------------")
#------------------------#
'''
'''
#Using paramaters
#------------------------#
print("----------------------")
def print_m... | 19.782609 | 34 | 0.364835 | 33 | 455 | 4.787879 | 0.363636 | 0.189873 | 0.28481 | 0.379747 | 0.316456 | 0.316456 | 0.316456 | 0 | 0 | 0 | 0 | 0 | 0.096703 | 455 | 23 | 35 | 19.782609 | 0.384428 | 0.474725 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ecd50641b95a5a918876416b0ce2d4a588e7337d | 6,780 | py | Python | src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/commands.py | 0cool321/azure-cli | fd8e6d46d5cee682aff51e262c06bc40c01636ba | [
"MIT"
] | 2 | 2020-07-22T18:53:05.000Z | 2021-09-11T05:52:33.000Z | src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/commands.py | 0cool321/azure-cli | fd8e6d46d5cee682aff51e262c06bc40c01636ba | [
"MIT"
] | null | null | null | src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/commands.py | 0cool321/azure-cli | fd8e6d46d5cee682aff51e262c06bc40c01636ba | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 86.923077 | 157 | 0.800737 | 840 | 6,780 | 6.002381 | 0.144048 | 0.156684 | 0.119397 | 0.190401 | 0.795716 | 0.745537 | 0.582507 | 0.447045 | 0.151527 | 0.06307 | 0 | 0 | 0.074041 | 6,780 | 77 | 158 | 88.051948 | 0.803122 | 0.10944 | 0 | 0 | 0 | 0 | 0.682988 | 0.476681 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.056604 | 0 | 0.056604 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ecd6cd1313c46d816968a4f60fcf90b27a67a0a3 | 264 | py | Python | tests/account_test.py | allenai/beaker-py | 99c8d7f6e9938807ca5405964ef35633a19e8d68 | [
"Apache-2.0"
] | null | null | null | tests/account_test.py | allenai/beaker-py | 99c8d7f6e9938807ca5405964ef35633a19e8d68 | [
"Apache-2.0"
] | 20 | 2021-12-16T13:23:07.000Z | 2022-03-31T16:40:02.000Z | tests/account_test.py | allenai/beaker-py | 99c8d7f6e9938807ca5405964ef35633a19e8d68 | [
"Apache-2.0"
] | null | null | null | from beaker.client import Beaker
def test_whoami(client: Beaker):
client.account.whoami()
def test_name(client: Beaker):
assert isinstance(client.account.name, str)
def test_list_organizations(client: Beaker):
client.account.list_organizations()
| 18.857143 | 47 | 0.765152 | 34 | 264 | 5.794118 | 0.411765 | 0.182741 | 0.182741 | 0.253807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 264 | 13 | 48 | 20.307692 | 0.864035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.428571 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
01aa3cbec70a8047037011dc9aa5d612e99553b9 | 98 | py | Python | game_referee/apps.py | l99fiamingo/ioniCup | ef69ee9e651a6f3482444ffcdc43102f8d02828d | [
"MIT"
] | 1 | 2019-01-23T19:23:00.000Z | 2019-01-23T19:23:00.000Z | game_referee/apps.py | l99fiamingo/ioniCup | ef69ee9e651a6f3482444ffcdc43102f8d02828d | [
"MIT"
] | null | null | null | game_referee/apps.py | l99fiamingo/ioniCup | ef69ee9e651a6f3482444ffcdc43102f8d02828d | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class GameRefereeConfig(AppConfig):
name = 'game_referee'
| 16.333333 | 35 | 0.77551 | 11 | 98 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 36 | 19.6 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
01af8665f61d0d9891e2d747c411c3b44e7f16a8 | 109 | py | Python | Emmanuel ANENE/Phase 1/Python Basic 1/Day2/colorLst.py | nkem1010/python-challenge-solutions | 203cedc691094a83b110fc75764aac51dbbc1a03 | [
"MIT"
] | null | null | null | Emmanuel ANENE/Phase 1/Python Basic 1/Day2/colorLst.py | nkem1010/python-challenge-solutions | 203cedc691094a83b110fc75764aac51dbbc1a03 | [
"MIT"
] | null | null | null | Emmanuel ANENE/Phase 1/Python Basic 1/Day2/colorLst.py | nkem1010/python-challenge-solutions | 203cedc691094a83b110fc75764aac51dbbc1a03 | [
"MIT"
] | null | null | null | color_list = ["Red","Green","White" ,"Black"]
print(color_list[0], color_list[len(color_list) -1], sep="\n") | 36.333333 | 62 | 0.66055 | 18 | 109 | 3.777778 | 0.666667 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019802 | 0.073395 | 109 | 3 | 62 | 36.333333 | 0.653465 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
01bd469a9ad1565a901238e824948a52ca1d5ebe | 586 | py | Python | src/main/python/proc/expression/procedure.py | cjblink1/lang | 245b8d002341dce4fa5905b1f274770e34867c7e | [
"MIT"
] | null | null | null | src/main/python/proc/expression/procedure.py | cjblink1/lang | 245b8d002341dce4fa5905b1f274770e34867c7e | [
"MIT"
] | null | null | null | src/main/python/proc/expression/procedure.py | cjblink1/lang | 245b8d002341dce4fa5905b1f274770e34867c7e | [
"MIT"
] | null | null | null |
from proc.expression.expression import Expression
from proc.environment import Environment
from proc.procedure import Procedure
from proc.value.procedure import ProcedureValue
class ProcedureExpression(Expression):
def __init__(self, parameter: str, body: Expression):
self.parameter = parameter
... | 30.842105 | 80 | 0.745734 | 65 | 586 | 6.646154 | 0.353846 | 0.074074 | 0.118056 | 0.097222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004098 | 0.167235 | 586 | 18 | 81 | 32.555556 | 0.881148 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
01be798848bac6b84871ef7eb344eca141af3b1b | 168 | py | Python | stat-optic-soccer/models/team.py | ClumsyApp/stat-optic | fc9b313ab78f940a459f712616c8d86b9287983f | [
"Apache-2.0"
] | null | null | null | stat-optic-soccer/models/team.py | ClumsyApp/stat-optic | fc9b313ab78f940a459f712616c8d86b9287983f | [
"Apache-2.0"
] | 6 | 2020-06-06T01:41:39.000Z | 2022-02-10T11:26:13.000Z | stat-optic-soccer/models/team.py | ClumsyApp/stat-optic | fc9b313ab78f940a459f712616c8d86b9287983f | [
"Apache-2.0"
] | null | null | null | from django.db import models
class Team(models.Model):
name = models.CharField(db_index=True, max_length=512, unique=False, blank=False, null=True)
#sport =
| 24 | 96 | 0.72619 | 25 | 168 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021127 | 0.154762 | 168 | 6 | 97 | 28 | 0.823944 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
01d0a607bc77a3774337e283aa2bbe787ec69a7e | 464 | py | Python | libcsbuild/Args.py | Suresoft-GLaDOS/cxbuild | 1eb568bc11ae8854b1a6025c969ec94c96d6a4a9 | [
"MIT"
] | 2 | 2021-11-01T02:11:59.000Z | 2021-11-04T09:19:45.000Z | libcsbuild/Args.py | HansolChoe/cxbuild | c289e40efdf92f34e7781772b3b84e0a1c7d0af2 | [
"MIT"
] | 3 | 2021-11-04T06:23:38.000Z | 2021-11-19T01:54:05.000Z | libcsbuild/Args.py | HansolChoe/cxbuild | c289e40efdf92f34e7781772b3b84e0a1c7d0af2 | [
"MIT"
] | 2 | 2021-11-01T03:01:28.000Z | 2021-11-04T09:19:28.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import sys
import libcsbuild
_WORKING_DIR = '.xdb'
_COMMAND = []
def set_working_dir(working_dir):
global _WORKING_DIR
_WORKING_DIR = working_dir
def get_working_dir():
return _WORKING_DIR
def set_command(command):
global _COMMAND
_COM... | 14.5 | 52 | 0.717672 | 64 | 464 | 4.8125 | 0.390625 | 0.292208 | 0.165584 | 0.194805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005291 | 0.185345 | 464 | 31 | 53 | 14.967742 | 0.809524 | 0.092672 | 0 | 0 | 0 | 0 | 0.009547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.176471 | 0.176471 | 0.647059 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
01d88bcd62a60ae12710f0b0c30d013595842061 | 41 | py | Python | sitetool/__init__.py | jjmontesl/awesit | 0fa832ce4219743028b55641bab67fd388f1feca | [
"MIT"
] | 3 | 2019-05-29T23:06:19.000Z | 2019-06-08T16:59:58.000Z | sitetool/__init__.py | jjmontesl/awesit | 0fa832ce4219743028b55641bab67fd388f1feca | [
"MIT"
] | null | null | null | sitetool/__init__.py | jjmontesl/awesit | 0fa832ce4219743028b55641bab67fd388f1feca | [
"MIT"
] | null | null | null | # SiteTool
# 2019
APP_VERSION = '0.1.0'
| 8.2 | 21 | 0.634146 | 7 | 41 | 3.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 0.195122 | 41 | 4 | 22 | 10.25 | 0.545455 | 0.317073 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bf16639cca3a23332a485e750acbaf868395830d | 186 | py | Python | maml/apps/bowsr/__init__.py | anooptp/maml | fdd95f3d60c9281d871d89b25b073e87b6ba4e52 | [
"BSD-3-Clause"
] | 161 | 2020-01-26T08:24:41.000Z | 2022-03-29T06:42:42.000Z | maml/apps/bowsr/__init__.py | anooptp/maml | fdd95f3d60c9281d871d89b25b073e87b6ba4e52 | [
"BSD-3-Clause"
] | 195 | 2020-01-25T19:35:20.000Z | 2022-03-28T13:14:30.000Z | maml/apps/bowsr/__init__.py | anooptp/maml | fdd95f3d60c9281d871d89b25b073e87b6ba4e52 | [
"BSD-3-Clause"
] | 46 | 2020-03-30T12:56:39.000Z | 2022-03-27T12:53:23.000Z | """
Implementation of BOWSR paper
Zuo, Yunxing, et al.
"Accelerating Materials Discovery with Bayesian Optimization and Graph Deep Learning."
arXiv preprint arXiv:2104.10242 (2021).
"""
| 26.571429 | 86 | 0.77957 | 24 | 186 | 6.041667 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080247 | 0.129032 | 186 | 6 | 87 | 31 | 0.814815 | 0.951613 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bf27fa9d7417de71bf60a838526d1429f245ca2f | 2,349 | py | Python | insights/parsers/etcd_conf.py | lhuett/insights-core | 1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8 | [
"Apache-2.0"
] | 121 | 2017-05-30T20:23:25.000Z | 2022-03-23T12:52:15.000Z | insights/parsers/etcd_conf.py | lhuett/insights-core | 1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8 | [
"Apache-2.0"
] | 1,977 | 2017-05-26T14:36:03.000Z | 2022-03-31T10:38:53.000Z | insights/parsers/etcd_conf.py | lhuett/insights-core | 1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8 | [
"Apache-2.0"
] | 244 | 2017-05-30T20:22:57.000Z | 2022-03-26T10:09:39.000Z | """
EtcdConf - file ``/etc/etcd/etcd.conf``
=======================================
The EtcdConf class parses the file ``/etc/etcd/etcd.conf``. The
etcd.conf is in the standard 'ini' format and is read by the base
parser class `IniConfigFile`.
Typical contents of the file look like::
[member]
ETCD_NAME=f05-h... | 26.1 | 92 | 0.717327 | 345 | 2,349 | 4.553623 | 0.368116 | 0.035646 | 0.056015 | 0.031827 | 0.274348 | 0.217059 | 0.189052 | 0.189052 | 0.107575 | 0 | 0 | 0.065217 | 0.15794 | 2,349 | 89 | 93 | 26.393258 | 0.729019 | 0.912303 | 0 | 0 | 0 | 0 | 0.005181 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
17542f4d0ec4ffc8583e9ff9c85c88514dad2041 | 157 | py | Python | operations/data/setup.py | agriyakhetarpal/dffml | f76f2ce94c3972634053377b00e7c16530f7f0a4 | [
"MIT"
] | 171 | 2019-03-08T19:02:06.000Z | 2022-03-29T16:17:23.000Z | operations/data/setup.py | agriyakhetarpal/dffml | f76f2ce94c3972634053377b00e7c16530f7f0a4 | [
"MIT"
] | 1,158 | 2019-03-08T19:07:50.000Z | 2022-03-25T08:28:27.000Z | operations/data/setup.py | agriyakhetarpal/dffml | f76f2ce94c3972634053377b00e7c16530f7f0a4 | [
"MIT"
] | 183 | 2019-03-10T02:40:56.000Z | 2022-03-27T18:51:26.000Z | import sys
import site
import setuptools
# See https://github.com/pypa/pip/issues/7953
site.ENABLE_USER_SITE = "--user" in sys.argv[1:]
setuptools.setup()
| 17.444444 | 48 | 0.751592 | 25 | 157 | 4.64 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.10828 | 157 | 8 | 49 | 19.625 | 0.792857 | 0.273885 | 0 | 0 | 0 | 0 | 0.053571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
178a08198e6e3248b3545d4a0a96677d80ffbaca | 141 | py | Python | nome_mae_pai.py | jifilho/python-exercises | 8a6a045399b6b3aa092ba6aec76a3b1dea776f1b | [
"MIT"
] | null | null | null | nome_mae_pai.py | jifilho/python-exercises | 8a6a045399b6b3aa092ba6aec76a3b1dea776f1b | [
"MIT"
] | null | null | null | nome_mae_pai.py | jifilho/python-exercises | 8a6a045399b6b3aa092ba6aec76a3b1dea776f1b | [
"MIT"
] | null | null | null | nomeDaMae=input("Qual o nome da sua mãe? ")
nomeDoPai=input("Qual o nome do seu pai? ")
print("Bom dia Sra.", nomeDaMae, "e Sr.", nomeDoPai) | 35.25 | 52 | 0.687943 | 24 | 141 | 4.041667 | 0.75 | 0.185567 | 0.206186 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 141 | 4 | 52 | 35.25 | 0.808333 | 0 | 0 | 0 | 0 | 0 | 0.457746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
178c88ebb2a63e8b118b5cb80879d92150ac207d | 135 | py | Python | alg/ganite/ganite/__init__.py | DaraOrange/mlforhealthlabpub | 9db861c850c94c6cf1f8bf75ed2ad8dcbd648aa3 | [
"BSD-3-Clause"
] | 171 | 2021-02-12T10:23:19.000Z | 2022-03-29T01:58:52.000Z | alg/ganite/ganite/__init__.py | DaraOrange/mlforhealthlabpub | 9db861c850c94c6cf1f8bf75ed2ad8dcbd648aa3 | [
"BSD-3-Clause"
] | 4 | 2021-06-01T08:18:33.000Z | 2022-02-20T13:37:30.000Z | alg/ganite/ganite/__init__.py | DaraOrange/mlforhealthlabpub | 9db861c850c94c6cf1f8bf75ed2ad8dcbd648aa3 | [
"BSD-3-Clause"
] | 93 | 2021-02-10T03:21:59.000Z | 2022-03-30T19:10:37.000Z | import sys
from . import logger # noqa: F401
from .ganite import Ganite # noqa: F401
logger.add(sink=sys.stderr, level="CRITICAL")
| 19.285714 | 45 | 0.725926 | 20 | 135 | 4.9 | 0.6 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053097 | 0.162963 | 135 | 6 | 46 | 22.5 | 0.814159 | 0.155556 | 0 | 0 | 0 | 0 | 0.072072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bd61cc2111ca4df75aa680876198a911df3ae56f | 4,478 | py | Python | utils/scripts/OOOlevelGen/src/level_backup/level_5.py | fullscreennl/bullettime | 8967449cdf926aaed6bb7ec217d92e0689fb0c3c | [
"MIT"
] | null | null | null | utils/scripts/OOOlevelGen/src/level_backup/level_5.py | fullscreennl/bullettime | 8967449cdf926aaed6bb7ec217d92e0689fb0c3c | [
"MIT"
] | null | null | null | utils/scripts/OOOlevelGen/src/level_backup/level_5.py | fullscreennl/bullettime | 8967449cdf926aaed6bb7ec217d92e0689fb0c3c | [
"MIT"
] | null | null | null | import LevelBuilder
from sprites import *
def render(name,bg):
# HERO AND SOME PICKUPS
lb = LevelBuilder.LevelBuilder(name+".plist",background=bg)
lb.addObject(Hero.HeroSprite(x=16, y=16,width=32,height=32))
lb.addObject(Crate.CrateSprite(x=500,y=100,width=32, height=32, static='false',angle=45))
... | 97.347826 | 189 | 0.709469 | 682 | 4,478 | 4.646628 | 0.205279 | 0.118018 | 0.069738 | 0.080467 | 0.761755 | 0.72515 | 0.714421 | 0.70527 | 0.692332 | 0.692332 | 0 | 0.114429 | 0.065208 | 4,478 | 46 | 190 | 97.347826 | 0.642618 | 0.22845 | 0 | 0 | 0 | 0 | 0.067692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.0625 | 0 | 0.09375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bd66aeb77372817a4e1263b4a7b672b5ad4d302d | 291 | py | Python | {{cookiecutter.repo_name}}/accounts/models.py | rgoncalvesse/django-backend-cookiecutter | fec3d7f95a2ba12ef1cd2b9e7bbbfd87ceed3c4d | [
"0BSD"
] | 3 | 2021-06-20T02:00:27.000Z | 2021-08-13T07:43:52.000Z | {{cookiecutter.repo_name}}/accounts/models.py | rgoncalvesse/django-backend-cookiecutter | fec3d7f95a2ba12ef1cd2b9e7bbbfd87ceed3c4d | [
"0BSD"
] | 3 | 2021-06-25T06:35:21.000Z | 2021-08-30T10:05:36.000Z | {{cookiecutter.repo_name}}/accounts/models.py | rgoncalvesse/django-backend-cookiecutter | fec3d7f95a2ba12ef1cd2b9e7bbbfd87ceed3c4d | [
"0BSD"
] | 1 | 2021-09-06T09:32:17.000Z | 2021-09-06T09:32:17.000Z | from django.contrib.auth.models import AnonymousUser as DefaultAnonymousUser
from authemail.models import EmailUserManager, EmailAbstractUser
class AnonymousUser(DefaultAnonymousUser):
pass
class User(EmailAbstractUser):
# Required by authemail
objects = EmailUserManager()
| 22.384615 | 76 | 0.810997 | 27 | 291 | 8.740741 | 0.666667 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137457 | 291 | 12 | 77 | 24.25 | 0.940239 | 0.072165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
bd687a861c6ef672174fcc914271cffea1314b06 | 138 | py | Python | solutions/python3/944.py | sm2774us/amazon_interview_prep_2021 | f580080e4a6b712b0b295bb429bf676eb15668de | [
"MIT"
] | 42 | 2020-08-02T07:03:49.000Z | 2022-03-26T07:50:15.000Z | solutions/python3/944.py | ajayv13/leetcode | de02576a9503be6054816b7444ccadcc0c31c59d | [
"MIT"
] | null | null | null | solutions/python3/944.py | ajayv13/leetcode | de02576a9503be6054816b7444ccadcc0c31c59d | [
"MIT"
] | 40 | 2020-02-08T02:50:24.000Z | 2022-03-26T15:38:10.000Z | class Solution:
def minDeletionSize(self, A):
return sum(any(a[j] > b[j] for a, b in zip(A, A[1:])) for j in range(len(A[0]))) | 46 | 88 | 0.586957 | 28 | 138 | 2.892857 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.217391 | 138 | 3 | 88 | 46 | 0.731481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
bd90ba936518bc372aceefaad87354c12697ca90 | 63 | py | Python | mcts_simple/__init__.py | DenseLance/mcts-simple | 451d1a7de5c01f6483d2c12d5036b89ac96636e2 | [
"MIT"
] | 2 | 2022-02-21T05:42:48.000Z | 2022-02-23T06:54:46.000Z | mcts_simple/__init__.py | DenseLance/mcts-simple | 451d1a7de5c01f6483d2c12d5036b89ac96636e2 | [
"MIT"
] | null | null | null | mcts_simple/__init__.py | DenseLance/mcts-simple | 451d1a7de5c01f6483d2c12d5036b89ac96636e2 | [
"MIT"
] | null | null | null | from .mcts import *
from .game import *
__version__ = "0.1.2"
| 12.6 | 21 | 0.666667 | 10 | 63 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.190476 | 63 | 4 | 22 | 15.75 | 0.686275 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bdb7b3eba4642bc03c7cd4c3660842112b173612 | 69 | py | Python | habiter/internal/file/maintainer.py | kemzeb/Habiter | cb45a00daf40e9907a1b692857dabe2abdbc89ab | [
"MIT"
] | 1 | 2021-04-26T19:02:04.000Z | 2021-04-26T19:02:04.000Z | habiter/internal/file/maintainer.py | kemzeb/Habiter | cb45a00daf40e9907a1b692857dabe2abdbc89ab | [
"MIT"
] | null | null | null | habiter/internal/file/maintainer.py | kemzeb/Habiter | cb45a00daf40e9907a1b692857dabe2abdbc89ab | [
"MIT"
] | 1 | 2021-08-19T20:31:48.000Z | 2021-08-19T20:31:48.000Z | '''
Will be utilized in the future to handle varied versions
'''
| 17.25 | 60 | 0.681159 | 10 | 69 | 4.7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231884 | 69 | 3 | 61 | 23 | 0.886792 | 0.811594 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bdf0030aef4375c9f40e0dd29a9f0669c5ba8c50 | 195 | py | Python | Aspect based Senti analysis/aws/finalreviewscraper/numpy_test.py | hixio-mh/Aspect-Based-Sentiment-Analysis | 3527dd7c36f6b57f41ba02157d47cfdb7b84a286 | [
"MIT"
] | 1 | 2017-12-22T15:34:34.000Z | 2017-12-22T15:34:34.000Z | Aspect based Senti analysis/aws/finalreviewscraper/numpy_test.py | pranithkumar/Aspect-Based-Sentiment-Analysis | 55355b8c38f1a0d8ed67665cce0901d8b3e002cd | [
"MIT"
] | 12 | 2017-12-29T12:13:07.000Z | 2022-03-11T23:19:24.000Z | Aspect based Senti analysis/aws/finalreviewscraper/numpy_test.py | hixio-mh/Aspect-Based-Sentiment-Analysis | 3527dd7c36f6b57f41ba02157d47cfdb7b84a286 | [
"MIT"
] | 1 | 2017-12-19T09:49:52.000Z | 2017-12-19T09:49:52.000Z | import numpy as np
di = {'#':['#','#']}
di = np.save('product_details.npy',di)
# Load
read_dictionary = np.load('product_details.npy').item()
print(read_dictionary)
print(type(read_dictionary))
| 21.666667 | 55 | 0.697436 | 28 | 195 | 4.678571 | 0.535714 | 0.320611 | 0.259542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 195 | 8 | 56 | 24.375 | 0.740113 | 0.020513 | 0 | 0 | 0 | 0 | 0.216931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bdf72568bc094a63bd653d722e4d6dc3f7b03bae | 303 | py | Python | djangoxpay/views.py | ajharry69/django-xpay | ebfe09ffa615293dbea6b6d8e1ffd65f8d283d15 | [
"Apache-2.0"
] | null | null | null | djangoxpay/views.py | ajharry69/django-xpay | ebfe09ffa615293dbea6b6d8e1ffd65f8d283d15 | [
"Apache-2.0"
] | 5 | 2021-03-30T14:04:24.000Z | 2021-09-22T19:21:25.000Z | djangoxpay/views.py | ajharry69/django-xpay | ebfe09ffa615293dbea6b6d8e1ffd65f8d283d15 | [
"Apache-2.0"
] | 1 | 2020-11-30T04:46:48.000Z | 2020-11-30T04:46:48.000Z | from xauth import views
class RetrieveAPIView(views._BaseAPIView):
def get(self, request, format=None):
return self.process_request(request)
def on_valid_response_serializer(self, serializer):
pass
class CreateRetrieveAPIView(views.CreateAPIView, RetrieveAPIView):
pass
| 21.642857 | 66 | 0.752475 | 33 | 303 | 6.757576 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174917 | 303 | 13 | 67 | 23.307692 | 0.892 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.125 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
bdfc1e6a160e964edb31483036b8303ff2ecc92e | 192 | py | Python | maptrainer/data/__init__.py | mothguib/maptrainer | 335334fed073f8d14a4c5137eaa0424efcbcac63 | [
"MIT"
] | null | null | null | maptrainer/data/__init__.py | mothguib/maptrainer | 335334fed073f8d14a4c5137eaa0424efcbcac63 | [
"MIT"
] | null | null | null | maptrainer/data/__init__.py | mothguib/maptrainer | 335334fed073f8d14a4c5137eaa0424efcbcac63 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .BPDataLoader import BPDataLoader
from .MAPDataLoader import MAPDataLoader
from .IPDataLoader import IPDataLoader
from . import dlhandler
INIT_RANGE_BOUND = 0.1
| 21.333333 | 40 | 0.786458 | 23 | 192 | 6.478261 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018072 | 0.135417 | 192 | 8 | 41 | 24 | 0.879518 | 0.109375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bdfde639d8fce4449d4cce11ba066073c75dc5ef | 76 | py | Python | kings_and_pigs/__main__.py | yumauri/kings_and_pigs | f22be6bbe988f430d72b5ce55283b78d3cc3fe9e | [
"MIT"
] | null | null | null | kings_and_pigs/__main__.py | yumauri/kings_and_pigs | f22be6bbe988f430d72b5ce55283b78d3cc3fe9e | [
"MIT"
] | 2 | 2021-12-02T11:05:53.000Z | 2021-12-23T18:19:23.000Z | kings_and_pigs/__main__.py | yumauri/kings_and_pigs | f22be6bbe988f430d72b5ce55283b78d3cc3fe9e | [
"MIT"
] | null | null | null | from kings_and_pigs import game
if __name__ == "__main__":
game.run()
| 12.666667 | 31 | 0.697368 | 11 | 76 | 3.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197368 | 76 | 5 | 32 | 15.2 | 0.704918 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
da1346b83a49e182e040f17ea8a58a28e9615cab | 620 | py | Python | base/tests.py | wilmerm/unolet-2022 | 18119a9381b763e38c888bafdb7f97028bd80ea1 | [
"BSD-3-Clause"
] | null | null | null | base/tests.py | wilmerm/unolet-2022 | 18119a9381b763e38c888bafdb7f97028bd80ea1 | [
"BSD-3-Clause"
] | null | null | null | base/tests.py | wilmerm/unolet-2022 | 18119a9381b763e38c888bafdb7f97028bd80ea1 | [
"BSD-3-Clause"
] | null | null | null |
from django.test import TestCase, RequestFactory
from django.http import HttpResponse
from django.views.generic import (TemplateView)
from base.middleware import (CheckUserInCompanyMiddleware, CompanyMiddleware)
class BaseTestCase(TestCase):
"""
Clase base de la cual herederán las demás clases de prueba.
... | 22.142857 | 77 | 0.741935 | 61 | 620 | 7.540984 | 0.590164 | 0.065217 | 0.078261 | 0.104348 | 0.121739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 620 | 27 | 78 | 22.962963 | 0.92 | 0.095161 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.142857 | 0.357143 | 0 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
da2579e6c63d03aca36a694f641622f94fec7568 | 108 | py | Python | cpcforge/cpcforge/apps/problems/apps.py | ptjung/cpcforge | f9bc3742207a1191cfcf6c122d95790bcbb56f5d | [
"MIT"
] | null | null | null | cpcforge/cpcforge/apps/problems/apps.py | ptjung/cpcforge | f9bc3742207a1191cfcf6c122d95790bcbb56f5d | [
"MIT"
] | null | null | null | cpcforge/cpcforge/apps/problems/apps.py | ptjung/cpcforge | f9bc3742207a1191cfcf6c122d95790bcbb56f5d | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ProblemsConfig(AppConfig):
name = 'cpcforge.apps.problems'
| 21.6 | 36 | 0.75 | 12 | 108 | 6.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 108 | 4 | 37 | 27 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
da315829e4419b686d4944d23e487585d218f4fb | 381 | py | Python | apisample/task_runner.py | yukoga/apisample | d9545dc49958693335bb25415e7ca3db4c50c722 | [
"BSD-2-Clause"
] | null | null | null | apisample/task_runner.py | yukoga/apisample | d9545dc49958693335bb25415e7ca3db4c50c722 | [
"BSD-2-Clause"
] | null | null | null | apisample/task_runner.py | yukoga/apisample | d9545dc49958693335bb25415e7ca3db4c50c722 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
from collections import deque
class TaskRunner(object):
def __init__(self):
self.tasks = deque([])
def append(self, task):
self.tasks.append(task)
def pop(self):
return self.tasks.pop()
def popleft(self):
return self.ta... | 16.565217 | 35 | 0.587927 | 48 | 381 | 4.583333 | 0.5 | 0.163636 | 0.127273 | 0.172727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003597 | 0.270341 | 381 | 22 | 36 | 17.318182 | 0.78777 | 0.110236 | 0 | 0 | 0 | 0 | 0.026706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0.083333 | 0.25 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
da32786580a58e72600727f9d1b8d8187856cc5b | 2,343 | py | Python | libmuscle/python/libmuscle/test/test_port.py | DongweiYe/muscle3 | 0c2fcf5f62995b8639fc84ce1b983c8a8e6248d0 | [
"Apache-2.0"
] | 11 | 2018-03-12T10:43:46.000Z | 2020-06-01T10:58:56.000Z | libmuscle/python/libmuscle/test/test_port.py | DongweiYe/muscle3 | 0c2fcf5f62995b8639fc84ce1b983c8a8e6248d0 | [
"Apache-2.0"
] | 85 | 2018-03-03T15:10:56.000Z | 2022-03-18T14:05:14.000Z | libmuscle/python/libmuscle/test/test_port.py | DongweiYe/muscle3 | 0c2fcf5f62995b8639fc84ce1b983c8a8e6248d0 | [
"Apache-2.0"
] | 6 | 2018-03-12T10:47:11.000Z | 2022-02-03T13:44:07.000Z | import pytest
from ymmsl import Identifier
from libmuscle.port import Operator, Port
def test_create_port():
port = Port('out', Operator.O_I, False, True, 0, [])
assert port.name == Identifier('out')
assert port.operator == Operator.O_I
assert port._length is None
assert port._is_resizable is Fal... | 30.828947 | 61 | 0.658131 | 337 | 2,343 | 4.4273 | 0.133531 | 0.147453 | 0.120643 | 0.225201 | 0.792225 | 0.789544 | 0.785523 | 0.717158 | 0.683646 | 0.508043 | 0 | 0.024417 | 0.213402 | 2,343 | 75 | 62 | 31.24 | 0.785133 | 0 | 0 | 0.466667 | 0 | 0 | 0.015365 | 0 | 0 | 0 | 0 | 0 | 0.366667 | 1 | 0.05 | false | 0 | 0.05 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
da560ca54bd57aa65d2da1874089e8f93c321bde | 189 | py | Python | mlfinlab/labeling/__init__.py | rooster1979/mlfin | cc7efe071713ae522fc21519dc344e39b718c6f6 | [
"MIT"
] | 5 | 2020-05-04T15:26:08.000Z | 2021-07-18T00:07:05.000Z | mlfinlab/labeling/__init__.py | rooster1979/mlfin | cc7efe071713ae522fc21519dc344e39b718c6f6 | [
"MIT"
] | 1 | 2020-12-20T18:39:44.000Z | 2020-12-20T18:39:44.000Z | mlfinlab/labeling/__init__.py | rooster1979/mlfin | cc7efe071713ae522fc21519dc344e39b718c6f6 | [
"MIT"
] | 2 | 2020-08-04T01:14:18.000Z | 2021-02-03T06:35:23.000Z | """
Functions derived from Chapter 3: Labeling
"""
from mlfinlab.labeling.labeling import add_vertical_barrier, apply_pt_sl_on_t1, barrier_touched, drop_labels, \
get_bins, get_events
| 27 | 111 | 0.798942 | 27 | 189 | 5.222222 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.121693 | 189 | 6 | 112 | 31.5 | 0.837349 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
da6d076903ba2d29f28af512a2d183665f7db0eb | 181 | py | Python | octoprint/plugin/__init__.py | kflynn/M3D-Fio-Perf | e1adacf8daf5b353fdceba476eaeb4b0e11aabd4 | [
"Artistic-2.0"
] | null | null | null | octoprint/plugin/__init__.py | kflynn/M3D-Fio-Perf | e1adacf8daf5b353fdceba476eaeb4b0e11aabd4 | [
"Artistic-2.0"
] | null | null | null | octoprint/plugin/__init__.py | kflynn/M3D-Fio-Perf | e1adacf8daf5b353fdceba476eaeb4b0e11aabd4 | [
"Artistic-2.0"
] | null | null | null | class StartupPlugin:
pass
class EventHandlerPlugin:
pass
class TemplatePlugin:
pass
class SettingsPlugin:
pass
class SimpleApiPlugin:
pass
class AssetPlugin:
pass
| 9.526316 | 25 | 0.767956 | 18 | 181 | 7.722222 | 0.444444 | 0.323741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198895 | 181 | 18 | 26 | 10.055556 | 0.958621 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
da78b9bbec3bfbdeeec0bb848b614066ba563206 | 76 | py | Python | 1.py | neo1999a/sum_number | 15170dd8cd41971f73ac191c2375d4753d9f0db5 | [
"MIT"
] | null | null | null | 1.py | neo1999a/sum_number | 15170dd8cd41971f73ac191c2375d4753d9f0db5 | [
"MIT"
] | null | null | null | 1.py | neo1999a/sum_number | 15170dd8cd41971f73ac191c2375d4753d9f0db5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3 -tt
print(2+3)
print("hello")
print("after commit")
| 12.666667 | 26 | 0.671053 | 13 | 76 | 3.923077 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 0.105263 | 76 | 5 | 27 | 15.2 | 0.705882 | 0.328947 | 0 | 0 | 0 | 0 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e508d4924ec193fdf04150f499d927523ab2022f | 8,138 | py | Python | tests/test_parametric_components/test_ToroidalFieldCoilCoatHanger.py | PullRequest-Agent/paramak | f807d88098458d1975dd1a4a47dcea22d9f74785 | [
"MIT"
] | null | null | null | tests/test_parametric_components/test_ToroidalFieldCoilCoatHanger.py | PullRequest-Agent/paramak | f807d88098458d1975dd1a4a47dcea22d9f74785 | [
"MIT"
] | null | null | null | tests/test_parametric_components/test_ToroidalFieldCoilCoatHanger.py | PullRequest-Agent/paramak | f807d88098458d1975dd1a4a47dcea22d9f74785 | [
"MIT"
] | null | null | null |
import unittest
import paramak
import pytest
class test_ToroidalFieldCoilCoatHanger(unittest.TestCase):
def test_ToroidalFieldCoilCoatHanger_creation_with_inner_leg(self):
"""creates a tf coil with inner leg using the ToroidalFieldCoilCoatHanger
parametric component and checks that a cadquery so... | 48.153846 | 136 | 0.50725 | 894 | 8,138 | 4.4217 | 0.119687 | 0.107007 | 0.075892 | 0.042499 | 0.812294 | 0.800152 | 0.749304 | 0.729572 | 0.606881 | 0.569947 | 0 | 0.127076 | 0.385967 | 8,138 | 168 | 137 | 48.440476 | 0.663998 | 0.118334 | 0 | 0.512 | 0 | 0 | 0.000563 | 0 | 0 | 0 | 0 | 0 | 0.168 | 1 | 0.04 | false | 0 | 0.024 | 0 | 0.072 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e525414e09d9e4e93a14a457012b917833092b32 | 207 | py | Python | kite-go/dynamicanalysis/src/run.py | kiteco/kiteco-public | 74aaf5b9b0592153b92f7ed982d65e15eea885e3 | [
"BSD-3-Clause"
] | 17 | 2022-01-10T11:01:50.000Z | 2022-03-25T03:21:08.000Z | kite-go/dynamicanalysis/src/run.py | kiteco/kiteco-public | 74aaf5b9b0592153b92f7ed982d65e15eea885e3 | [
"BSD-3-Clause"
] | 1 | 2022-01-13T14:28:47.000Z | 2022-01-13T14:28:47.000Z | kite-go/dynamicanalysis/src/run.py | kiteco/kiteco-public | 74aaf5b9b0592153b92f7ed982d65e15eea885e3 | [
"BSD-3-Clause"
] | 7 | 2022-01-07T03:58:10.000Z | 2022-03-24T07:38:20.000Z | import macropy.activate
def main():
# example invocation:
# $ python -m run demo
# see comments at the top of trace.py for more info
import snippet
if __name__ == "__main__":
main()
| 17.25 | 55 | 0.642512 | 28 | 207 | 4.464286 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270531 | 207 | 11 | 56 | 18.818182 | 0.827815 | 0.444444 | 0 | 0 | 0 | 0 | 0.072072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e52cdc97750abf0b960c6cae7fc7ffd86c1d10d2 | 295 | py | Python | entrypoint.py | NajlaBH/snaketmpl | 684b8b1b307932182310ecb9a5bc7e93bf7c9320 | [
"MIT"
] | null | null | null | entrypoint.py | NajlaBH/snaketmpl | 684b8b1b307932182310ecb9a5bc7e93bf7c9320 | [
"MIT"
] | null | null | null | entrypoint.py | NajlaBH/snaketmpl | 684b8b1b307932182310ecb9a5bc7e93bf7c9320 | [
"MIT"
] | null | null | null | # you can execute this project
# 1 All rules
## $ snakemake --use-conda -R --until get_shape get_plot --core 2
#2 First rule
## $ nakemake --use-conda get_text --core 2
#3 Second rule
## $ nakemake --use-conda get_plot --core 2
#3 Third rule
## $ nakemake --use-conda get_shape --core 2 | 21.071429 | 65 | 0.667797 | 49 | 295 | 3.918367 | 0.510204 | 0.166667 | 0.234375 | 0.3125 | 0.359375 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033755 | 0.19661 | 295 | 14 | 66 | 21.071429 | 0.776371 | 0.908475 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e530408e5cf62da84176013dd2a84a032d3e0db9 | 416 | py | Python | office365/directory/organizations/org_contact.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/directory/organizations/org_contact.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/directory/organizations/org_contact.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.directory.directory_object import DirectoryObject
class OrgContact(DirectoryObject):
"""Represents an organizational contact. Organizational contacts are managed by an organization's administrators
and are different from personal contacts. Additionally, organizational contacts are either synchr... | 46.222222 | 116 | 0.8125 | 48 | 416 | 7.020833 | 0.708333 | 0.130564 | 0.148368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008403 | 0.141827 | 416 | 8 | 117 | 52 | 0.935574 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
e53bc35b6c8b46893a67decc197a287848836633 | 50 | py | Python | main.py | lucaarrey/poba | e3fb3ef8f23eedb4acef32684a133cbc9a6e637a | [
"MIT"
] | null | null | null | main.py | lucaarrey/poba | e3fb3ef8f23eedb4acef32684a133cbc9a6e637a | [
"MIT"
] | null | null | null | main.py | lucaarrey/poba | e3fb3ef8f23eedb4acef32684a133cbc9a6e637a | [
"MIT"
] | null | null | null | if __name__ == "__main__":
print('HELLO WORLD')
| 12.5 | 26 | 0.66 | 6 | 50 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 3 | 27 | 16.666667 | 0.595238 | 0 | 0 | 0 | 0 | 0 | 0.38 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e54e8f33843e24ba14f567c05d2dd3ca01036866 | 43 | py | Python | conftest.py | ShaunHowell/py-omrx | dc76a2a286488de1ad1fe131ca552f556583b0b3 | [
"X11"
] | null | null | null | conftest.py | ShaunHowell/py-omrx | dc76a2a286488de1ad1fe131ca552f556583b0b3 | [
"X11"
] | 5 | 2021-03-31T20:44:39.000Z | 2022-02-16T10:54:11.000Z | conftest.py | ShaunHowell/py-omrx | dc76a2a286488de1ad1fe131ca552f556583b0b3 | [
"X11"
] | null | null | null | pytest_plugins = ['pyomrx.tests.fixtures']
| 21.5 | 42 | 0.767442 | 5 | 43 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.488372 | 0.488372 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e550e0b5526be9ad1c6de339a033efd19ef93bb5 | 643 | py | Python | crt_attack.py | inveteck/rsa | 931c3549f3641ebaf071d5de0ee0fe52f459398a | [
"MIT"
] | null | null | null | crt_attack.py | inveteck/rsa | 931c3549f3641ebaf071d5de0ee0fe52f459398a | [
"MIT"
] | null | null | null | crt_attack.py | inveteck/rsa | 931c3549f3641ebaf071d5de0ee0fe52f459398a | [
"MIT"
] | null | null | null | import math
n=95580702933509662811256129990158655210667121276245053843875590334281563078868202152845967187641817281520364662600110239110410372520340630639373679599982371620736610194814723749147422221945978800055101110346161945811520158431287139909125886966214800526831490560384144156085296004816333892025839072729987354... | 35.722222 | 310 | 0.892691 | 43 | 643 | 13.348837 | 0.581395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.808197 | 0.051322 | 643 | 17 | 311 | 37.823529 | 0.132787 | 0.015552 | 0 | 0 | 0 | 0 | 0.003165 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.153846 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e56353d1ba7096c2b16a68f40ed79b1c86dfb762 | 192 | py | Python | stubs.min/System/ComponentModel/__init___parts/Int64Converter.py | ricardyn/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2021-02-02T13:39:16.000Z | 2021-02-02T13:39:16.000Z | stubs.min/System/ComponentModel/__init___parts/Int64Converter.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/System/ComponentModel/__init___parts/Int64Converter.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class Int64Converter(BaseNumberConverter):
"""
Provides a type converter to convert 64-bit signed integer objects to and from various other representations.
Int64Converter()
"""
| 27.428571 | 112 | 0.75 | 21 | 192 | 6.857143 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038217 | 0.182292 | 192 | 6 | 113 | 32 | 0.878981 | 0.671875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e581ab4e192b8de4dc8987eafa53b362b7cd7720 | 15 | py | Python | ozzmeister00/PyAdventOfCode2020/sandbox.py | techartorg/Advent_of_Code_2020 | ae21164bc126352e7a2e9c9c6a0017ccb9d946cc | [
"MIT"
] | 3 | 2020-11-16T15:20:11.000Z | 2020-12-11T17:01:42.000Z | ozzmeister00/PyAdventOfCode2020/sandbox.py | techartorg/Advent_of_Code_2020 | ae21164bc126352e7a2e9c9c6a0017ccb9d946cc | [
"MIT"
] | null | null | null | ozzmeister00/PyAdventOfCode2020/sandbox.py | techartorg/Advent_of_Code_2020 | ae21164bc126352e7a2e9c9c6a0017ccb9d946cc | [
"MIT"
] | 1 | 2020-12-13T04:42:44.000Z | 2020-12-13T04:42:44.000Z | '''
Testing
''' | 5 | 7 | 0.466667 | 1 | 15 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 15 | 3 | 8 | 5 | 0.538462 | 0.466667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e5b52f9fa1586877810cdc01344f91992ba53db3 | 195 | py | Python | app/util/__init__.py | lqf96/cwng-bknd | c75abc80e37cf071df0cbb9d5b5890cd1c1cbf38 | [
"MIT"
] | null | null | null | app/util/__init__.py | lqf96/cwng-bknd | c75abc80e37cf071df0cbb9d5b5890cd1c1cbf38 | [
"MIT"
] | null | null | null | app/util/__init__.py | lqf96/cwng-bknd | c75abc80e37cf071df0cbb9d5b5890cd1c1cbf38 | [
"MIT"
] | null | null | null | # All members to be imported
from api_view import APIView, route, api_action
from error import APIError
from schema_mixin import SchemaMixin
# Miscellaneous
SUCCESS_RESP = {"status": "success"}
| 24.375 | 47 | 0.8 | 27 | 195 | 5.62963 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 195 | 7 | 48 | 27.857143 | 0.904762 | 0.205128 | 0 | 0 | 0 | 0 | 0.085526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e5d9870a571e1141aaf9b7e2e4e6977f2e79ba5d | 170 | py | Python | ddd.py | xt19980408/spyder | 5d78757c2c5b57b70ed6b096e184fb6507a53d8a | [
"Apache-2.0"
] | null | null | null | ddd.py | xt19980408/spyder | 5d78757c2c5b57b70ed6b096e184fb6507a53d8a | [
"Apache-2.0"
] | null | null | null | ddd.py | xt19980408/spyder | 5d78757c2c5b57b70ed6b096e184fb6507a53d8a | [
"Apache-2.0"
] | null | null | null | import urllib.request
url = 'http://www.17k.com.chapter/2933095/3699279.html'
response = urllib.request.urlopen(url)
HTML = response.read(.decode('utf8'))
print(HTML) | 34 | 56 | 0.741176 | 24 | 170 | 5.25 | 0.75 | 0.206349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109677 | 0.088235 | 170 | 5 | 57 | 34 | 0.703226 | 0 | 0 | 0 | 0 | 0 | 0.305389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e5f32db35e60ec3092832402fc2e81d1ce87e684 | 75 | py | Python | src/test/__init__.py | damiancs/CodNumericPersonal | 5c415ebce9e3bcfb36821dba7395a5bd24b5a2cb | [
"MIT"
] | null | null | null | src/test/__init__.py | damiancs/CodNumericPersonal | 5c415ebce9e3bcfb36821dba7395a5bd24b5a2cb | [
"MIT"
] | null | null | null | src/test/__init__.py | damiancs/CodNumericPersonal | 5c415ebce9e3bcfb36821dba7395a5bd24b5a2cb | [
"MIT"
] | null | null | null | # coding=utf-8
"""
Initializing file for CodNumericPersonal test cases.
""" | 18.75 | 52 | 0.746667 | 9 | 75 | 6.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.12 | 75 | 4 | 53 | 18.75 | 0.833333 | 0.88 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f90b80c6c1abcc480a36ea9c2c558c7a0d1ab318 | 179 | py | Python | ex11.py | igorvac/exerciciosPythonBrasil | 708892518c998287aea884d6d91b7517ca498015 | [
"MIT"
] | 1 | 2021-08-30T01:09:05.000Z | 2021-08-30T01:09:05.000Z | ex11.py | igorvac/exerciciosPythonBrasil | 708892518c998287aea884d6d91b7517ca498015 | [
"MIT"
] | null | null | null | ex11.py | igorvac/exerciciosPythonBrasil | 708892518c998287aea884d6d91b7517ca498015 | [
"MIT"
] | null | null | null | num1 = int(input("Escreva o primeiro número: "))
num2 = int(input("Escreva o segundo número: "))
soma = 0
for i in range(num1, num2 + 1):
print(i)
soma += i
print(soma)
| 17.9 | 48 | 0.625698 | 29 | 179 | 3.862069 | 0.586207 | 0.142857 | 0.267857 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0.217877 | 179 | 9 | 49 | 19.888889 | 0.757143 | 0 | 0 | 0 | 0 | 0 | 0.296089 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f91e3724f6ca8f5a2352e160837c36086d48124f | 148 | py | Python | src/ptasks.py | dual75/athome | e9ecf02ecc028b53be6373bbb50c157ea90d736d | [
"Apache-2.0"
] | null | null | null | src/ptasks.py | dual75/athome | e9ecf02ecc028b53be6373bbb50c157ea90d736d | [
"Apache-2.0"
] | null | null | null | src/ptasks.py | dual75/athome | e9ecf02ecc028b53be6373bbb50c157ea90d736d | [
"Apache-2.0"
] | null | null | null | import os, sys
config {"env":{"run_dir":"."}, "subsystem_config":{"tasks_dir": "/home/sandro/work/athome-tasks/src", "poll_interval":"60"}}
start
| 24.666667 | 124 | 0.675676 | 21 | 148 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014599 | 0.074324 | 148 | 5 | 125 | 29.6 | 0.686131 | 0 | 0 | 0 | 0 | 0 | 0.578231 | 0.231293 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f92964d8c03d00ca12956e9bdc4c694ecd092ff1 | 164 | py | Python | map/apps.py | City-of-Helsinki/city-infrastructure-platform | c14513a9e54405412085f1047f91ec58b263eac0 | [
"CC0-1.0"
] | 2 | 2020-11-23T22:08:58.000Z | 2022-03-02T13:13:20.000Z | map/apps.py | City-of-Helsinki/city-infrastructure-platform | c14513a9e54405412085f1047f91ec58b263eac0 | [
"CC0-1.0"
] | 170 | 2019-12-31T13:37:04.000Z | 2022-03-12T14:03:35.000Z | map/apps.py | City-of-Helsinki/city-infrastructure-platform | c14513a9e54405412085f1047f91ec58b263eac0 | [
"CC0-1.0"
] | 3 | 2020-05-08T05:58:02.000Z | 2022-03-15T16:07:25.000Z | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class MapConfig(AppConfig):
name = "map"
verbose_name = _("Map")
| 20.5 | 54 | 0.743902 | 21 | 164 | 5.619048 | 0.714286 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 164 | 7 | 55 | 23.428571 | 0.867647 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0072c790fbd114896628095fb2c88edd13831964 | 562 | py | Python | tools/quaterniontrigonometricstub.py | esoma/pyglm-typing | f47636b86d07d4f91692235e8dfe0af1bd22e883 | [
"MIT"
] | null | null | null | tools/quaterniontrigonometricstub.py | esoma/pyglm-typing | f47636b86d07d4f91692235e8dfe0af1bd22e883 | [
"MIT"
] | null | null | null | tools/quaterniontrigonometricstub.py | esoma/pyglm-typing | f47636b86d07d4f91692235e8dfe0af1bd22e883 | [
"MIT"
] | null | null | null |
__all__ = ['generate_quaternion_trigonometric_stub']
import textwrap
def generate_quaternion_trigonometric_stub():
names = ['angle', 'angleAxis', 'axis']
return names, textwrap.dedent(f"""
def angle(x: _QT, /) -> float: ...
@overload
def angleAxis(angle: glm_typing.Number, axis: glm_typing.F32V... | 25.545455 | 88 | 0.628114 | 62 | 562 | 5.451613 | 0.451613 | 0.130178 | 0.183432 | 0.207101 | 0.260355 | 0.260355 | 0.260355 | 0.260355 | 0 | 0 | 0 | 0.017817 | 0.201068 | 562 | 21 | 89 | 26.761905 | 0.734967 | 0 | 0 | 0.266667 | 1 | 0 | 0.736185 | 0.106952 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.066667 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
007d65cb1d367b258f8db1d28f7467dbae157368 | 3,184 | py | Python | tests/basic-structs/test_resource.py | zakkg3/kopf | ea11b475f9b2c067a86760c308e97cc2c0a96fb9 | [
"MIT"
] | null | null | null | tests/basic-structs/test_resource.py | zakkg3/kopf | ea11b475f9b2c067a86760c308e97cc2c0a96fb9 | [
"MIT"
] | null | null | null | tests/basic-structs/test_resource.py | zakkg3/kopf | ea11b475f9b2c067a86760c308e97cc2c0a96fb9 | [
"MIT"
] | null | null | null | import pytest
from kopf.structs.resources import Resource
def test_creation_with_no_args():
with pytest.raises(TypeError):
Resource()
def test_creation_with_all_args():
resource = Resource(
'group',
'version',
'plural',
)
assert resource.group == 'group'
assert r... | 29.211009 | 87 | 0.685616 | 419 | 3,184 | 4.968974 | 0.116945 | 0.146013 | 0.095101 | 0.086455 | 0.871758 | 0.808357 | 0.785783 | 0.664745 | 0.571085 | 0.479347 | 0 | 0.004895 | 0.165829 | 3,184 | 108 | 88 | 29.481481 | 0.778991 | 0 | 0 | 0.44 | 0 | 0.013333 | 0.215138 | 0.100817 | 0 | 0 | 0 | 0 | 0.253333 | 1 | 0.213333 | false | 0 | 0.026667 | 0 | 0.24 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
008907c728b72dc4fbf08b1cdfa3a9e978d56102 | 262 | py | Python | 10-DataManipulationWithPandas/02-PartsOfADataframe.py | Pegasus-01/Data-manipulation-and-merging-with-pandas | 5346678d25820d9fe352bd70294484ecd96fccf7 | [
"Apache-2.0"
] | 1 | 2020-10-18T16:42:28.000Z | 2020-10-18T16:42:28.000Z | 10-DataManipulationWithPandas/02-PartsOfADataframe.py | Pegasus-01/Data-manipulation-and-merging-with-pandas | 5346678d25820d9fe352bd70294484ecd96fccf7 | [
"Apache-2.0"
] | null | null | null | 10-DataManipulationWithPandas/02-PartsOfADataframe.py | Pegasus-01/Data-manipulation-and-merging-with-pandas | 5346678d25820d9fe352bd70294484ecd96fccf7 | [
"Apache-2.0"
] | null | null | null | # Import pandas using the alias pd
import pandas as pd
# Print the values of homelessness
print(homelessness.values)
# Print the column index of homelessness
print(homelessness.columns)
# Print the row index of homelessness
print(homelessness.index) | 23.818182 | 41 | 0.774809 | 36 | 262 | 5.638889 | 0.416667 | 0.118227 | 0.280788 | 0.458128 | 0.35468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175573 | 262 | 11 | 42 | 23.818182 | 0.939815 | 0.534351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.75 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
00b9fd072435f5b1cafdb1222dc4357411e88a99 | 192 | py | Python | desafio 031.py | KelvinAraujo/Python | 8bf05153838b603bcc51d363ad17aecb8ea8bdd2 | [
"MIT"
] | null | null | null | desafio 031.py | KelvinAraujo/Python | 8bf05153838b603bcc51d363ad17aecb8ea8bdd2 | [
"MIT"
] | null | null | null | desafio 031.py | KelvinAraujo/Python | 8bf05153838b603bcc51d363ad17aecb8ea8bdd2 | [
"MIT"
] | null | null | null | km = float(input('Quantos km tem sua viagem? '))
if km <=200:
print('O valor da sua viagem é R${:.2f}'.format(km*0.50))
else:
print('o valor da sua viagem é R${:.2f}'.format(km*0.45))
| 32 | 61 | 0.614583 | 38 | 192 | 3.105263 | 0.552632 | 0.228814 | 0.186441 | 0.220339 | 0.59322 | 0.59322 | 0.59322 | 0.59322 | 0.59322 | 0.59322 | 0 | 0.06962 | 0.177083 | 192 | 5 | 62 | 38.4 | 0.677215 | 0 | 0 | 0 | 0 | 0 | 0.473958 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.