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
56f0adb6ffb23ba292badc3740453920de7e1ff6
42,030
py
Python
src/move_arm/src/projik_example.py
citronella3alain/baxterDraw
c050254e8b4b8d4f5087e8743a34289844138e0c
[ "MIT" ]
null
null
null
src/move_arm/src/projik_example.py
citronella3alain/baxterDraw
c050254e8b4b8d4f5087e8743a34289844138e0c
[ "MIT" ]
null
null
null
src/move_arm/src/projik_example.py
citronella3alain/baxterDraw
c050254e8b4b8d4f5087e8743a34289844138e0c
[ "MIT" ]
null
null
null
#!/usr/bin/env python import rospy from moveit_msgs.srv import GetPositionIK, GetPositionIKRequest, GetPositionIKResponse from geometry_msgs.msg import PoseStamped from moveit_commander import MoveGroupCommander import numpy as np from numpy import linalg import sys def make0(robo, arm, xi, upper): # Construct the...
39.688385
115
0.550036
5,155
42,030
4.336566
0.042483
0.086155
0.130977
0.136882
0.939119
0.936658
0.919257
0.916797
0.90955
0.90548
0
0.040975
0.356626
42,030
1,058
116
39.725898
0.785733
0.157697
0
0.796073
0
0
0.03425
0
0
0
0
0
0
0
null
null
0
0.013595
null
null
0.057402
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
854a55982872822a46d98df1de533deb387f7009
179
py
Python
musicbrainz/world/admin.py
tourdownunder/musicbrainz-django
bd8f8767ca0144dc10fd9ba2b59beb9de9788640
[ "BSD-3-Clause" ]
1
2020-09-19T11:00:31.000Z
2020-09-19T11:00:31.000Z
musicbrainz/world/admin.py
tourdownunder/musicbrainz-django
bd8f8767ca0144dc10fd9ba2b59beb9de9788640
[ "BSD-3-Clause" ]
8
2019-12-30T14:30:13.000Z
2021-09-22T18:03:10.000Z
musicbrainz/world/admin.py
tourdownunder/musicbrainz-django
bd8f8767ca0144dc10fd9ba2b59beb9de9788640
[ "BSD-3-Clause" ]
1
2021-10-03T10:06:29.000Z
2021-10-03T10:06:29.000Z
from django.contrib.gis import admin from .models import WorldBorder # admin.site.register(WorldBorder, admin.GeoModelAdmin) admin.site.register(WorldBorder, admin.OSMGeoAdmin)
25.571429
55
0.826816
22
179
6.727273
0.545455
0.324324
0.22973
0.378378
0.445946
0
0
0
0
0
0
0
0.083799
179
6
56
29.833333
0.902439
0.296089
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
a46bdd40357855cde77818fa1c5c112a3e77af37
1,272
py
Python
Chapter 10/05 - Mocks and unittest.mock module/test_mailer.py
bernoli/Expert-Python-Programming-Fourth-Edition
05b4bd64c66bea3252f06afee7a7a1e2bd93d171
[ "MIT" ]
56
2021-05-24T15:24:51.000Z
2022-03-21T19:38:27.000Z
Chapter 10/05 - Mocks and unittest.mock module/test_mailer.py
saibaldas/Expert-Python-Programming-Fourth-Edition
572d47a802e7b1fe429f782d9aeb62f411cb5307
[ "MIT" ]
2
2020-11-03T12:53:26.000Z
2021-05-11T23:47:39.000Z
Chapter 10/05 - Mocks and unittest.mock module/test_mailer.py
saibaldas/Expert-Python-Programming-Fourth-Edition
572d47a802e7b1fe429f782d9aeb62f411cb5307
[ "MIT" ]
37
2021-05-27T12:32:21.000Z
2022-03-10T23:05:54.000Z
from unittest.mock import patch, Mock from mailer import send import smtplib def test_send_unittest(): sender = "john.doe@example.com" to = "jane.doe@example.com" body = "Hello jane!" subject = "How are you?" with patch("smtplib.SMTP") as mock: client = mock.return_value client.se...
28.266667
57
0.65173
175
1,272
4.651429
0.234286
0.206388
0.176904
0.216216
0.764128
0.764128
0.764128
0.764128
0.764128
0.764128
0
0.016211
0.224057
1,272
44
58
28.909091
0.808511
0
0
0.705882
0
0
0.111635
0
0
0
0
0
0.352941
1
0.058824
false
0
0.088235
0
0.147059
0
0
0
0
null
1
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
a46bfc5a5b83914619c528c488aa8d9ed4d9753d
6,162
py
Python
workspace/.c9/metadata/workspace/crawl/urls.py
mannyhappenings/WebCrawler
1451fe8e6dc55346a654665d736a7df2115e0c50
[ "MIT" ]
null
null
null
workspace/.c9/metadata/workspace/crawl/urls.py
mannyhappenings/WebCrawler
1451fe8e6dc55346a654665d736a7df2115e0c50
[ "MIT" ]
null
null
null
workspace/.c9/metadata/workspace/crawl/urls.py
mannyhappenings/WebCrawler
1451fe8e6dc55346a654665d736a7df2115e0c50
[ "MIT" ]
null
null
null
{"filter":false,"title":"urls.py","tooltip":"/crawl/urls.py","undoManager":{"mark":41,"position":41,"stack":[[{"group":"doc","deltas":[{"start":{"row":5,"column":42},"end":{"row":6,"column":0},"action":"insert","lines":["",""]},{"start":{"row":6,"column":0},"end":{"row":6,"column":4},"action":"insert","lines":[" "]}...
6,162
6,162
0.542681
851
6,162
3.929495
0.099882
0.068182
0.170455
0.238636
0.80323
0.75299
0.737141
0.730861
0.672847
0.599282
0
0.053333
0.001947
6,162
1
6,162
6,162
0.490407
0
0
0
0
0
0.496349
0.00649
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
1
1
1
1
1
0
0
0
0
0
0
1
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
10
a4880c07ec70056b56e0d43278747671d02751da
4,716
py
Python
tests/middleware/test_http_to_https.py
ai-mocap/hypercorn
0c1a74a726d5e54a2a3876edba8ad2a0a547c5d5
[ "MIT" ]
264
2018-06-02T17:49:46.000Z
2022-03-29T07:39:06.000Z
tests/middleware/test_http_to_https.py
ai-mocap/hypercorn
0c1a74a726d5e54a2a3876edba8ad2a0a547c5d5
[ "MIT" ]
52
2018-06-14T19:30:00.000Z
2022-02-27T04:26:48.000Z
tests/middleware/test_http_to_https.py
nonebot/nonecorn
813408d385f11b6bbdaee63d6b6ace8c87586d25
[ "MIT" ]
29
2018-06-13T23:54:48.000Z
2022-02-20T15:23:14.000Z
from __future__ import annotations import pytest from hypercorn.middleware import HTTPToHTTPSRedirectMiddleware from hypercorn.typing import HTTPScope, WebsocketScope from ..helpers import empty_framework @pytest.mark.asyncio @pytest.mark.parametrize("raw_path", [b"/abc", b"/abc%3C"]) async def test_http_to_https_r...
27.578947
84
0.545589
475
4,716
5.218947
0.172632
0.064542
0.050827
0.02622
0.806777
0.786608
0.769665
0.756353
0.756353
0.752723
0
0.00806
0.289652
4,716
170
85
27.741176
0.73194
0
0
0.710345
0
0
0.227523
0.03838
0
0
0
0
0.034483
1
0.006897
false
0
0.034483
0
0.041379
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f13d9608f48b0c24994ffc9597596e461e4ed4e2
1,632
py
Python
mysite/home/models.py
Rudancy/My_Business
f2c5f51e697214a2699b40d37f206307d19af84b
[ "MIT" ]
null
null
null
mysite/home/models.py
Rudancy/My_Business
f2c5f51e697214a2699b40d37f206307d19af84b
[ "MIT" ]
null
null
null
mysite/home/models.py
Rudancy/My_Business
f2c5f51e697214a2699b40d37f206307d19af84b
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class home_page(models.Model): masthead_image = models.ImageField(upload_to='static/images', default='', blank=True) masthead = models.CharField(max_length=30, default='', blank=True) description = models.TextField(max_length=200, default='', blank=T...
58.285714
91
0.741422
217
1,632
5.327189
0.184332
0.186851
0.249135
0.155709
0.900519
0.851211
0.847751
0.847751
0.801903
0.709343
0
0.032844
0.123162
1,632
27
92
60.444444
0.774983
0.014706
0
0
0
0
0.032379
0
0
0
0
0
0
1
0.045455
false
0
0.045455
0.045455
1
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
8
f16a774d5548b032544d49f97e7b259834c08fa6
580
py
Python
one cmd creator/defaults.py
JustRedTTG/one-command-block-creator
81f57da5be04d6b19332b7b0da2db6b2cee088a1
[ "MIT" ]
null
null
null
one cmd creator/defaults.py
JustRedTTG/one-command-block-creator
81f57da5be04d6b19332b7b0da2db6b2cee088a1
[ "MIT" ]
null
null
null
one cmd creator/defaults.py
JustRedTTG/one-command-block-creator
81f57da5be04d6b19332b7b0da2db6b2cee088a1
[ "MIT" ]
null
null
null
functions = { 'default-start':"""@minecraft:activator_rail\n""", 'default-end':"""setblock ~ ~1 ~ minecraft:chain_command_block[facing=up]{auto:1,Command:"fill ~ ~ ~ ~ ~-2 ~ air"} setblock ~ ~ ~ minecraft:command_block[facing=up]{auto:1,Command:"kill @e[type=minecraft:command_block_minecart,distance=..2]"}\n"""...
72.5
133
0.687931
77
580
5.038961
0.337662
0.185567
0.185567
0.206186
0.819588
0.819588
0.819588
0.819588
0.819588
0.819588
0
0.018975
0.091379
580
7
134
82.857143
0.717268
0
0
0
0
0.571429
0.896552
0.646552
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
1
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
12
f16d85b67524c6dca5cdb704cfed6566472ca5d7
10,239
py
Python
tests/test_vmtkScripts/test_vmtksurfacecelldatatopointdata.py
ramtingh/vmtk
4d6f58ce65d73628353ba2b110cbc29a2e7aa7b3
[ "Apache-2.0" ]
null
null
null
tests/test_vmtkScripts/test_vmtksurfacecelldatatopointdata.py
ramtingh/vmtk
4d6f58ce65d73628353ba2b110cbc29a2e7aa7b3
[ "Apache-2.0" ]
null
null
null
tests/test_vmtkScripts/test_vmtksurfacecelldatatopointdata.py
ramtingh/vmtk
4d6f58ce65d73628353ba2b110cbc29a2e7aa7b3
[ "Apache-2.0" ]
1
2019-06-18T23:41:11.000Z
2019-06-18T23:41:11.000Z
## Program: VMTK ## Language: Python ## Date: February 12, 2018 ## Version: 1.4 ## Copyright (c) Richard Izzo, Luca Antiga, All rights reserved. ## See LICENSE file for details. ## This software is distributed WITHOUT ANY WARRANTY; without even ## the implied warranty of MERCHANTABILITY or FITNE...
61.680723
97
0.377381
2,001
10,239
1.896552
0.058971
0.463241
0.688538
0.909618
0.704348
0.704348
0.667457
0.640053
0.623452
0.623452
0
0.288653
0.430218
10,239
165
98
62.054545
0.361844
0.046977
0
0.6875
0
0
0.019624
0.002877
0
0
0
0
0.070313
1
0.078125
false
0
0.03125
0
0.117188
0
0
0
1
null
1
1
1
0
1
0
0
0
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
74d1fba55e38668fb6474e6c5a72b31dae8639fa
147
py
Python
feersum_nlu_util/__init__.py
praekelt/feersum-nlu-api-wrappers
6580e2bab2c8a764fe868a505330b3fee6029074
[ "BSD-3-Clause" ]
9
2017-10-10T12:24:23.000Z
2021-08-18T14:07:51.000Z
feersum_nlu_util/__init__.py
praekelt/feersum-nlu-api-wrappers
6580e2bab2c8a764fe868a505330b3fee6029074
[ "BSD-3-Clause" ]
1
2020-12-06T11:03:25.000Z
2021-04-14T05:21:23.000Z
feersum_nlu_util/__init__.py
praekelt/feersum-nlu-api-wrappers
6580e2bab2c8a764fe868a505330b3fee6029074
[ "BSD-3-Clause" ]
2
2019-02-12T08:26:06.000Z
2022-02-01T09:39:47.000Z
# coding: utf-8 # flake8: noqa """ FeersumNLU API Utils """ from feersum_nlu_util import transfer from feersum_nlu_util import image_utils
12.25
40
0.741497
21
147
4.952381
0.714286
0.211538
0.269231
0.346154
0.461538
0
0
0
0
0
0
0.016667
0.183673
147
11
41
13.363636
0.85
0.326531
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
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
7
2d092a4e4e1af0db3f5776c271d8aede971fce4f
17,330
py
Python
tests/webservice/test_client.py
3D-e-Chem/python-modified-tanimoto
618cc4ae3cb55d9cba2cc297e9c05212353b218e
[ "Apache-2.0" ]
8
2017-05-25T19:40:37.000Z
2021-06-12T06:59:26.000Z
tests/webservice/test_client.py
3D-e-Chem/kripodb
618cc4ae3cb55d9cba2cc297e9c05212353b218e
[ "Apache-2.0" ]
44
2016-02-05T14:02:57.000Z
2019-07-29T07:58:20.000Z
tests/webservice/test_client.py
3D-e-Chem/python-modified-tanimoto
618cc4ae3cb55d9cba2cc297e9c05212353b218e
[ "Apache-2.0" ]
1
2016-05-05T08:47:49.000Z
2016-05-05T08:47:49.000Z
# Copyright 2016 Netherlands eScience Center # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
97.359551
3,145
0.540969
3,805
17,330
2.4
0.101708
0.254271
0.343955
0.408673
0.793145
0.774529
0.757994
0.733027
0.71901
0.672908
0
0.368292
0.343047
17,330
177
3,146
97.909605
0.433816
0.032429
0
0.456693
0
0.062992
0.711293
0.059448
0
0
0
0
0.110236
1
0.07874
false
0
0.062992
0.015748
0.15748
0
0
0
0
null
1
1
1
0
1
1
1
1
1
0
1
0
0
0
1
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
12
740c8dc8dddfb897c3530278bf49ab1ef511472e
9,517
py
Python
articles/test_editarticle.py
kylejuliandev/dev_blog_assignment
272466cb591f9b45fb81c2a42e86b25bff3cd9ad
[ "MIT" ]
null
null
null
articles/test_editarticle.py
kylejuliandev/dev_blog_assignment
272466cb591f9b45fb81c2a42e86b25bff3cd9ad
[ "MIT" ]
null
null
null
articles/test_editarticle.py
kylejuliandev/dev_blog_assignment
272466cb591f9b45fb81c2a42e86b25bff3cd9ad
[ "MIT" ]
null
null
null
from uuid import uuid4 from django.test import TestCase from accounts.models import User from articles.models import Article from articles.testhelpers import create_user, create_mock_article, get_random_string class EditArticleTest(TestCase): def __init__(self, methodName: str = ...) -> None: super().__ini...
41.199134
87
0.651151
1,101
9,517
5.500454
0.099909
0.094122
0.098085
0.029723
0.881275
0.859974
0.854194
0.854194
0.844287
0.842801
0
0.005414
0.243039
9,517
231
88
41.199134
0.83523
0.144268
0
0.70073
0
0
0.104601
0
0
0
0
0
0.335766
1
0.094891
false
0.065693
0.036496
0
0.153285
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
7440d94d7871edd47482f8141c9c0e81af6169de
16,430
py
Python
codes/tests/qs_test.py
madokast/cctpy
b02c64220ea533a4fc9cad0b882d1be6edadf1c0
[ "MIT" ]
1
2021-12-27T13:20:43.000Z
2021-12-27T13:20:43.000Z
codes/tests/qs_test.py
madokast/cctpy
b02c64220ea533a4fc9cad0b882d1be6edadf1c0
[ "MIT" ]
null
null
null
codes/tests/qs_test.py
madokast/cctpy
b02c64220ea533a4fc9cad0b882d1be6edadf1c0
[ "MIT" ]
null
null
null
import unittest import numpy as np from cctpy.baseutils import Vectors, Equal, Stream from cctpy.constant import M, MM, YI, XI, Protons, ZI, MRAD from cctpy.particle import RunningParticle, ParticleFactory, PhaseSpaceParticle, ParticleRunner from cctpy.qs_hard_edge_magnet import QsHardEdgeMagnet from cctpy.abstract_c...
43.12336
116
0.609251
2,174
16,430
4.50598
0.126955
0.011433
0.0147
0.01715
0.715394
0.712332
0.712332
0.712332
0.704369
0.687015
0
0.288805
0.240475
16,430
380
117
43.236842
0.496194
0.032623
0
0.537255
0
0
0.000509
0
0
0
0
0
0.109804
1
0.039216
false
0
0.031373
0
0.07451
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
74737681cf0d8052b62c5b5de4ce70418a73d187
61
py
Python
ml/Graph/scratch.py
Shivams9/pythoncodecamp
e6cd27f4704a407ee360414a8c9236b254117a59
[ "MIT" ]
6
2021-08-04T08:15:22.000Z
2022-02-02T11:15:56.000Z
ML/Graph/scratch.py
Maurya232Abhishek/Python-repository-for-basics
3dcec5c529a0847df07c9dcc1424675754ce6376
[ "MIT" ]
14
2021-08-02T06:28:00.000Z
2022-03-25T10:44:15.000Z
ML/Graph/scratch.py
Maurya232Abhishek/Python-repository-for-basics
3dcec5c529a0847df07c9dcc1424675754ce6376
[ "MIT" ]
6
2021-07-16T04:56:41.000Z
2022-02-16T04:40:06.000Z
l=[[1,2,3],[2,2,3],[3,3,3]] print(l) a=[2,3] b=[4,5] print(b)
12.2
27
0.459016
20
61
1.4
0.45
0.214286
0.214286
0
0
0
0
0
0
0
0
0.22807
0.065574
61
5
28
12.2
0.263158
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
1
null
1
1
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
747d2dffa5879ddf1f60b8ac85c5568915e42c9d
178
py
Python
boxPrint/printers/printrun_printer.py
bobofei/Mohou_Box-master
3d1c320a6258422406e2ba2f96ec7986beba1330
[ "Apache-2.0" ]
null
null
null
boxPrint/printers/printrun_printer.py
bobofei/Mohou_Box-master
3d1c320a6258422406e2ba2f96ec7986beba1330
[ "Apache-2.0" ]
null
null
null
boxPrint/printers/printrun_printer.py
bobofei/Mohou_Box-master
3d1c320a6258422406e2ba2f96ec7986beba1330
[ "Apache-2.0" ]
null
null
null
import threaded_printer class Printer(threaded_printer.Printer): def __init__(self, profile, usb_info): threaded_printer.Printer.__init__(self, profile, usb_info)
22.25
66
0.769663
22
178
5.636364
0.454545
0.362903
0.354839
0.290323
0.354839
0
0
0
0
0
0
0
0.146067
178
7
67
25.428571
0.815789
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0.75
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
1
0
8
748c0c6816a34dc727849d503d55e952ab640086
87,762
py
Python
test/features/pit/fixtures_pit.py
NikkaZ/dbtvault_spark
383723cd2a35a0bc7b82fd4e77fb1eda0f68cb07
[ "Apache-2.0" ]
null
null
null
test/features/pit/fixtures_pit.py
NikkaZ/dbtvault_spark
383723cd2a35a0bc7b82fd4e77fb1eda0f68cb07
[ "Apache-2.0" ]
null
null
null
test/features/pit/fixtures_pit.py
NikkaZ/dbtvault_spark
383723cd2a35a0bc7b82fd4e77fb1eda0f68cb07
[ "Apache-2.0" ]
null
null
null
from behave import fixture @fixture def pit(context): """ Define the structures and metadata to perform PIT load """ context.vault_structure_type = "pit" context.hashed_columns = { "STG_CUSTOMER_DETAILS": { "CUSTOMER_PK": "CUSTOMER_ID", "HASHDIFF": {"is_hashdiff":...
33.293627
89
0.418997
6,654
87,762
5.064172
0.012023
0.06232
0.040597
0.030715
0.998665
0.998665
0.99638
0.988337
0.974449
0.971422
0
0.006588
0.450001
87,762
2,635
90
33.306262
0.69152
0.005629
0
0.773265
0
0
0.403113
0.047686
0
0
0
0
0
1
0.003549
false
0
0.000394
0
0.003943
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
776e3a1ebfc475a08f1ca5cdf7ac7816f0fc1b69
12,441
py
Python
mainapp/models.py
mmiyaji/Dansible
06d5ea1fce1345388e7101db33f23e6460e3c3cf
[ "MIT" ]
null
null
null
mainapp/models.py
mmiyaji/Dansible
06d5ea1fce1345388e7101db33f23e6460e3c3cf
[ "MIT" ]
null
null
null
mainapp/models.py
mmiyaji/Dansible
06d5ea1fce1345388e7101db33f23e6460e3c3cf
[ "MIT" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 """ models.py Created by mmiyaji on 2016-07-11. Copyright (c) 2016 ruhenheim.org. All rights reserved. """ from __future__ import unicode_literals import datetime, time, uuid from django.db import models from django.contrib.auth import models as auth_models class ServerAttri...
33.991803
128
0.63982
1,507
12,441
5.112143
0.079628
0.039071
0.061397
0.077882
0.88188
0.88188
0.846314
0.836708
0.836708
0.836708
0
0.01238
0.246845
12,441
365
129
34.084932
0.809819
0.014951
0
0.780255
0
0
0.010955
0
0
0
0
0
0
1
0.159236
false
0
0.012739
0.089172
0.544586
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
8
778fbcef49997f0ef563feb1bdf7e1bde1261eac
62,860
py
Python
sdk/python/pulumi_gcp/compute/route.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
121
2018-06-18T19:16:42.000Z
2022-03-31T06:06:48.000Z
sdk/python/pulumi_gcp/compute/route.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
492
2018-06-22T19:41:03.000Z
2022-03-31T15:33:53.000Z
sdk/python/pulumi_gcp/compute/route.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
43
2018-06-19T01:43:13.000Z
2022-03-23T22:43:37.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
46.59748
134
0.64071
7,769
62,860
5.02304
0.0502
0.042871
0.060988
0.056939
0.955899
0.948186
0.939038
0.931427
0.927865
0.923893
0
0.009014
0.271126
62,860
1,348
135
46.632047
0.842722
0.547598
0
0.814894
1
0
0.092383
0.009844
0
0
0
0
0
1
0.165957
false
0.002128
0.010638
0
0.276596
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
77abe08317bc71eea3c52df6cb5e00aa0db46e67
8,183
py
Python
venv/lib/python3.8/site-packages/spaceone/api/identity/v1/domain_owner_pb2_grpc.py
choonho/plugin-prometheus-mon-webhook
afa7d65d12715fd0480fb4f92a9c62da2d6128e0
[ "Apache-2.0" ]
null
null
null
venv/lib/python3.8/site-packages/spaceone/api/identity/v1/domain_owner_pb2_grpc.py
choonho/plugin-prometheus-mon-webhook
afa7d65d12715fd0480fb4f92a9c62da2d6128e0
[ "Apache-2.0" ]
null
null
null
venv/lib/python3.8/site-packages/spaceone/api/identity/v1/domain_owner_pb2_grpc.py
choonho/plugin-prometheus-mon-webhook
afa7d65d12715fd0480fb4f92a9c62da2d6128e0
[ "Apache-2.0" ]
null
null
null
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 from spaceone.api.identity.v1 import domain_owner_pb2 as spaceone_dot_api_dot_identit...
49
135
0.70121
857
8,183
6.240373
0.12252
0.047307
0.060209
0.069933
0.867801
0.861818
0.848729
0.814136
0.753179
0.731862
0
0.009519
0.229745
8,183
166
136
49.295181
0.838966
0.076867
0
0.548872
1
0
0.078455
0.051056
0
0
0
0
0
1
0.075188
false
0
0.022556
0.030075
0.150376
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
77b37d9171a1365ad576494257206d89ba25adf1
111
py
Python
session_05/dictionaries.py
dravate/spark_python_course
519389fdb21d78cd6d19e1ad2f7c782bc1449a83
[ "MIT" ]
null
null
null
session_05/dictionaries.py
dravate/spark_python_course
519389fdb21d78cd6d19e1ad2f7c782bc1449a83
[ "MIT" ]
null
null
null
session_05/dictionaries.py
dravate/spark_python_course
519389fdb21d78cd6d19e1ad2f7c782bc1449a83
[ "MIT" ]
1
2021-07-27T14:16:39.000Z
2021-07-27T14:16:39.000Z
d1 = {} d2 = {'one': 1, 'two': 2 } d3 = dict(one=1, two=2) d4 = dict((1, 2), (3, 4)) d5 = dict({1:2, 3:4})
11.1
26
0.414414
24
111
1.916667
0.5
0.173913
0.304348
0.347826
0.347826
0
0
0
0
0
0
0.204819
0.252252
111
9
27
12.333333
0.349398
0
0
0
0
0
0.054054
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
0
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
77bdb223eed0186fb8d9de25b3c3b87e0f4d5217
4,013
py
Python
file_manager/migrations/0059_auto_20220208_1641.py
xiaofengxie128/Proteomic-Data-Manager
79756c7021b1d5e4cc4cdb26d741f6ea18846a02
[ "Apache-2.0" ]
null
null
null
file_manager/migrations/0059_auto_20220208_1641.py
xiaofengxie128/Proteomic-Data-Manager
79756c7021b1d5e4cc4cdb26d741f6ea18846a02
[ "Apache-2.0" ]
null
null
null
file_manager/migrations/0059_auto_20220208_1641.py
xiaofengxie128/Proteomic-Data-Manager
79756c7021b1d5e4cc4cdb26d741f6ea18846a02
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2.7 on 2022-02-08 23:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('file_manager', '0058_auto_20220118_1418'), ] operations = [ migrations.AddField( model_name='rawfile', name='column_...
38.586538
108
0.592574
411
4,013
5.644769
0.177616
0.069828
0.172414
0.2
0.830172
0.830172
0.786207
0.786207
0.786207
0.704741
0
0.04396
0.28009
4,013
103
109
38.961165
0.759086
0.011214
0
0.742268
1
0
0.223903
0.115734
0
0
0
0
0
1
0
false
0
0.010309
0
0.041237
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
77be2f55131b3349b56faffc31d3bd578f487785
9,334
py
Python
tests/tests_user_demo_orders_add.py
Bitsgap/Bitsgap-api-py
4102e578c7958dfabb945eb17fdff4ef6cab8fdd
[ "MIT" ]
2
2021-05-12T01:14:24.000Z
2021-12-08T14:36:00.000Z
tests/tests_user_demo_orders_add.py
Bitsgap/Bitsgap-rest-api-py
4102e578c7958dfabb945eb17fdff4ef6cab8fdd
[ "MIT" ]
null
null
null
tests/tests_user_demo_orders_add.py
Bitsgap/Bitsgap-rest-api-py
4102e578c7958dfabb945eb17fdff4ef6cab8fdd
[ "MIT" ]
null
null
null
import asyncio import logging from unittest import TestCase from rest_api_py_lib import BitsgapClient from tests.keys import public_key,private_key class TestRestUserDemoOrdersAdd(TestCase): """ Place order on demo market """ def test_user_demo_orders_add_valid_data(self): async def run_test(): ...
29.352201
85
0.561174
1,027
9,334
4.87147
0.079844
0.097142
0.046772
0.037977
0.946032
0.946032
0.941035
0.909055
0.870877
0.870877
0
0.009399
0.327512
9,334
317
86
29.444795
0.787637
0.005785
0
0.890909
0
0
0.065624
0
0
0
0
0
0.259091
1
0.040909
false
0
0.022727
0
0.068182
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
77f172359238ee4f9aa64dd9f0ca2c3d158a0bf1
1,989
py
Python
tests/feed/test_refresh_user_feeds.py
sslavov93/rss_scraper
4621e01b295de341d0921cade026b406f2b389e3
[ "MIT" ]
1
2020-09-17T12:40:34.000Z
2020-09-17T12:40:34.000Z
tests/feed/test_refresh_user_feeds.py
sslavov93/rss_scraper
4621e01b295de341d0921cade026b406f2b389e3
[ "MIT" ]
null
null
null
tests/feed/test_refresh_user_feeds.py
sslavov93/rss_scraper
4621e01b295de341d0921cade026b406f2b389e3
[ "MIT" ]
null
null
null
from unittest.mock import patch from feed.models import FeedItem from tests import BaseTestFixture, basic_auth_headers class TestRefreshUserFeeds(BaseTestFixture): def test_refresh_single_feed_when_not_authenticated(self): response = self.client.post('/api/my-feeds/5/update') self.assertEqual(401...
38.25
86
0.691302
251
1,989
5.223108
0.231076
0.073227
0.073227
0.083905
0.866514
0.858886
0.811594
0.811594
0.811594
0.776506
0
0.016129
0.189542
1,989
51
87
39
0.797146
0
0
0.55
0
0
0.109603
0.058321
0
0
0
0
0.225
1
0.125
false
0.075
0.075
0
0.225
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
7aeb3ca58882967e00e1a0f51dac95fb61f266aa
384
py
Python
s04_variaveis_tipos_de_dados/s04_exercicios/s04_exercicio_07.py
adeogliari/GeekUniversity_Python
1b6badc45ca1dfbaa2f42196fb2dedac417b866e
[ "MIT" ]
null
null
null
s04_variaveis_tipos_de_dados/s04_exercicios/s04_exercicio_07.py
adeogliari/GeekUniversity_Python
1b6badc45ca1dfbaa2f42196fb2dedac417b866e
[ "MIT" ]
null
null
null
s04_variaveis_tipos_de_dados/s04_exercicios/s04_exercicio_07.py
adeogliari/GeekUniversity_Python
1b6badc45ca1dfbaa2f42196fb2dedac417b866e
[ "MIT" ]
null
null
null
""" 7) Leia uma temperatura em graus Fahrenheit e apresente-a convertida em graus Celsius. A fórmula de conversão é: C = (F-32.0)*5.0/9.0, sendo C a temperatura em Celsius e F a temperatura em Fahrenheit. """ fahrenheit = float(input('Digite a temperatura em graus Fahrenheit F: \n')) print(f'A temperatura em graus Ce...
48
200
0.716146
69
384
3.985507
0.42029
0.236364
0.203636
0.203636
0.050909
0.050909
0
0
0
0
0
0.046584
0.161458
384
7
201
54.857143
0.807453
0.520833
0
0
0
0.5
0.75
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
7
bb1819c9bd2f8222a4a5fb0e41cee2222fe0b742
12,923
py
Python
abstract_matrix.py
sredroboto/math-matrix
71b8d53fb2b3bd7f8a27dde6a5ee2a4847b135ad
[ "BSD-3-Clause" ]
2
2019-11-21T14:28:50.000Z
2019-11-21T20:58:46.000Z
abstract_matrix.py
sredroboto/SistemaSolar
4fa946adab7e5308639954feb00a2b3bc7153f91
[ "BSD-3-Clause" ]
null
null
null
abstract_matrix.py
sredroboto/SistemaSolar
4fa946adab7e5308639954feb00a2b3bc7153f91
[ "BSD-3-Clause" ]
null
null
null
from abc import ABC, abstractmethod class AbstractMatrix(ABC): """ Classe utilizada para representar uma matriz """ def __init__(self, rows, cols, data = []): """ Args: rows: Quantidade de linhas da matriz cols: Quantidade de colunas da matriz d...
30.550827
102
0.514973
1,684
12,923
3.917458
0.114608
0.01152
0.035168
0.012733
0.787176
0.758375
0.742762
0.72245
0.707594
0.678035
0
0.111457
0.402925
12,923
423
103
30.550827
0.74352
0.702159
0
0.523077
0
0
0.028814
0
0
0
0
0.004728
0
1
0.276923
false
0.246154
0.015385
0
0.307692
0.015385
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
7
bb55579c6f96ecbc21cea483d25ad02b38e7aa01
92
py
Python
plot_bokeh/__init__.py
amarkpayne/ampayne_tools
a47e9baa70edaedfb655ab51f79bf5035eaacd83
[ "MIT" ]
null
null
null
plot_bokeh/__init__.py
amarkpayne/ampayne_tools
a47e9baa70edaedfb655ab51f79bf5035eaacd83
[ "MIT" ]
null
null
null
plot_bokeh/__init__.py
amarkpayne/ampayne_tools
a47e9baa70edaedfb655ab51f79bf5035eaacd83
[ "MIT" ]
null
null
null
from __future__ import absolute_import, print_function from plot_bokeh.plot_bokeh import *
23
54
0.858696
13
92
5.461538
0.615385
0.253521
0
0
0
0
0
0
0
0
0
0
0.108696
92
3
55
30.666667
0.865854
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
1
0
7
24f6fd0967e1c029cb8eacd64a5cb40e6175ef0b
13,553
py
Python
afs/tests/lla/VolServerLLATest.py
chanke/afspy
525e7b3b53e58be515f11b83cc59ddb0765ef8e5
[ "BSD-2-Clause" ]
null
null
null
afs/tests/lla/VolServerLLATest.py
chanke/afspy
525e7b3b53e58be515f11b83cc59ddb0765ef8e5
[ "BSD-2-Clause" ]
null
null
null
afs/tests/lla/VolServerLLATest.py
chanke/afspy
525e7b3b53e58be515f11b83cc59ddb0765ef8e5
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python """ Unittest for the LLA module VolumeLLA """ from ConfigParser import ConfigParser import datetime import os import sys import time import unittest from afs.tests.BaseTest import parse_commandline import afs.lla.VolServerLLA import afs.lla.VLDBLLA import afs class EvaluateTestResults(unittes...
40.822289
98
0.675422
1,781
13,553
4.907917
0.079169
0.062464
0.046562
0.046677
0.90024
0.871639
0.835259
0.811006
0.783778
0.766388
0
0.00189
0.219066
13,553
331
99
40.945619
0.82398
0.022283
0
0.773234
0
0
0.062843
0
0
0
0
0
0.074349
0
null
null
0
0.037175
null
null
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
702d9230949781af5e800d83e6baff01ebc0e462
85
py
Python
app/snyk/config.py
snyk-schmidtty/snyk-watcher
e9dc94389e0aaaba3d2b6b3a03b23d5224aabfa9
[ "MIT" ]
18
2021-02-18T04:31:20.000Z
2022-03-26T02:22:47.000Z
app/snyk/config.py
snyk-schmidtty/snyk-watcher
e9dc94389e0aaaba3d2b6b3a03b23d5224aabfa9
[ "MIT" ]
1
2022-02-16T22:43:49.000Z
2022-02-16T22:43:49.000Z
app/snyk/config.py
snyk-schmidtty/snyk-watcher
e9dc94389e0aaaba3d2b6b3a03b23d5224aabfa9
[ "MIT" ]
6
2021-02-25T18:10:38.000Z
2022-02-16T22:52:41.000Z
import os def get_snyk_token(): return os.environ.get('SECRET_SNYK_API_TOKEN')
14.166667
50
0.752941
14
85
4.214286
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.141176
85
5
51
17
0.808219
0
0
0
0
0
0.247059
0.247059
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
7
702deac53a6f7eec5736db9cd85faf43d09eb46d
117
py
Python
tests/m3u/__init__.py
kyleheyne/mopidy
3b1b0dd2e9052cadb7bd1a29e724498f9fba7bca
[ "Apache-2.0" ]
2
2019-02-13T15:16:55.000Z
2019-02-18T08:47:29.000Z
tests/m3u/__init__.py
kyleheyne/mopidy
3b1b0dd2e9052cadb7bd1a29e724498f9fba7bca
[ "Apache-2.0" ]
40
2019-02-13T09:33:00.000Z
2019-02-19T13:21:12.000Z
tests/m3u/__init__.py
kyleheyne/mopidy
3b1b0dd2e9052cadb7bd1a29e724498f9fba7bca
[ "Apache-2.0" ]
1
2021-10-01T17:26:30.000Z
2021-10-01T17:26:30.000Z
from __future__ import absolute_import, unicode_literals def generate_song(i): return 'dummy:track:song%s' % i
19.5
56
0.769231
17
117
4.882353
0.823529
0
0
0
0
0
0
0
0
0
0
0
0.145299
117
5
57
23.4
0.83
0
0
0
1
0
0.153846
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
7
706edcd839b842521a152f5c40bd0ec18890c49e
35,466
py
Python
post_optimization_studies/mad_analyses/four_cuts_eff_flow_chart/Output/Histos/MadAnalysis5job_0/selection_7.py
sheride/axion_pheno
7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5
[ "MIT" ]
null
null
null
post_optimization_studies/mad_analyses/four_cuts_eff_flow_chart/Output/Histos/MadAnalysis5job_0/selection_7.py
sheride/axion_pheno
7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5
[ "MIT" ]
null
null
null
post_optimization_studies/mad_analyses/four_cuts_eff_flow_chart/Output/Histos/MadAnalysis5job_0/selection_7.py
sheride/axion_pheno
7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5
[ "MIT" ]
null
null
null
def selection_7(): # Library import import numpy import matplotlib import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec # Library version matplotlib_version = matplotlib.__version__ numpy_version = numpy.__version__ # Histo binning xBinning = numpy.lin...
182.814433
2,022
0.74742
7,622
35,466
3.381921
0.16741
0.260232
0.372192
0.473911
0.38158
0.369477
0.358343
0.345579
0.342553
0.334911
0
0.576533
0.046721
35,466
193
2,023
183.761658
0.185897
0.035217
0
0.185841
0
0.00885
0.030514
0.005851
0
0
0
0
0
1
0.00885
false
0
0.035398
0
0.044248
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
7071f4925611f43a47a55fea91ffd98ac1480e78
22,743
py
Python
spect.py
philips-software/random_forest
5cbc95aa57ac33260720afd3fc779e7d71b5658c
[ "MIT" ]
2
2020-01-09T23:26:30.000Z
2021-01-27T18:34:15.000Z
spect.py
Charterhouse/random_forest
b842f08fee1054dbff78b6fb3afd4006a7f14a6d
[ "MIT" ]
null
null
null
spect.py
Charterhouse/random_forest
b842f08fee1054dbff78b6fb3afd4006a7f14a6d
[ "MIT" ]
2
2020-03-03T18:30:14.000Z
2021-09-06T13:55:06.000Z
from mpyc.runtime import mpc from src.dataset import ObliviousDataset, Sample from src.output import output from src.secint import secint as s from src.forest import train_forest def sample(ins, out): return Sample([s(i) for i in ins], s(out)) spect_samples = ObliviousDataset.create( sample([1, 0, 0, 0, 1,...
77.357143
83
0.358
6,492
22,743
1.252157
0.006778
0.741297
0.818182
0.836019
0.952516
0.952516
0.952516
0.952516
0.952516
0.951655
0
0.398637
0.322429
22,743
293
84
77.62116
0.128877
0
0
0.183099
0
0
0.000923
0
0
0
0
0
0
1
0.003521
false
0
0.017606
0.003521
0.024648
0.007042
0
0
1
null
1
1
1
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
12
7087885e36c0266307dc1789a9c00444a7c21a73
49,994
py
Python
tests/test_make_table.py
kellyjonbrazil/jtbl
9bfc755bc964fbed59a4884bc4be605a5065f3d8
[ "MIT" ]
108
2020-03-10T13:22:03.000Z
2022-03-30T03:09:38.000Z
tests/test_make_table.py
kellyjonbrazil/jtbl
9bfc755bc964fbed59a4884bc4be605a5065f3d8
[ "MIT" ]
9
2020-03-08T00:44:38.000Z
2022-02-15T19:36:04.000Z
tests/test_make_table.py
kellyjonbrazil/jtbl
9bfc755bc964fbed59a4884bc4be605a5065f3d8
[ "MIT" ]
5
2020-03-10T11:34:18.000Z
2021-08-02T10:57:43.000Z
import unittest import textwrap import jtbl.cli class MyTests(unittest.TestCase): def setUp(self): self.SUCCESS, self.ERROR = True, False def test_no_piped_data(self): stdin = None expected = textwrap.dedent('''\ jtbl: Missing piped data ''') self.assertEqu...
116.808411
864
0.173461
2,330
49,994
3.645494
0.116738
0.035319
0.060866
0.095361
0.774194
0.766188
0.753944
0.737226
0.734989
0.636332
0
0.06084
0.631776
49,994
427
865
117.081967
0.400565
0.00146
0
0.383033
0
0.082262
0.936586
0.108375
0
0
0
0
0.03856
1
0.041131
false
0
0.007712
0
0.051414
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
1
0
0
0
1
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
70a18e0916fd434d417dcc6ca67ebfa9f0b09899
30
py
Python
utils.py
andreaskleinl/capacity_transmissionline_simulation
023358d03cce5a4c7768eee597d0d6381742e271
[ "Apache-2.0" ]
null
null
null
utils.py
andreaskleinl/capacity_transmissionline_simulation
023358d03cce5a4c7768eee597d0d6381742e271
[ "Apache-2.0" ]
null
null
null
utils.py
andreaskleinl/capacity_transmissionline_simulation
023358d03cce5a4c7768eee597d0d6381742e271
[ "Apache-2.0" ]
null
null
null
def funny(x,y): return x+y
15
15
0.6
7
30
2.571429
0.714286
0.222222
0
0
0
0
0
0
0
0
0
0
0.233333
30
2
16
15
0.782609
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
569f140d78f25e52085c587978a86ff31c34d8bd
140,512
py
Python
contrib/qa/bugzilla.py
crystalfontz/openembedded
8af3377bf132113baa0766fd9021e0ce162a0944
[ "MIT" ]
70
2015-02-23T04:18:51.000Z
2022-03-15T02:01:27.000Z
contrib/qa/bugzilla.py
buglabs/oe-buglabs
b8a4c4b1358214cd3ac1cf6f85154e9c62b16ce7
[ "MIT" ]
1
2020-09-07T15:33:56.000Z
2020-09-07T15:33:56.000Z
contrib/qa/bugzilla.py
buglabs/oe-buglabs
b8a4c4b1358214cd3ac1cf6f85154e9c62b16ce7
[ "MIT" ]
88
2015-02-11T12:03:16.000Z
2022-03-30T11:33:42.000Z
# # BugZilla query page scanner to work with ancient # Debian Stable bugzilla installationss # # This includes three test sites # site contains one bug entry # all_bugs contains all Openmoko bugs as of \today # no_bug is a query which showed no bug # from HTMLParser import HTMLParser class BugQueryExtractor(HT...
16.970048
1,068
0.534723
21,123
140,512
3.478341
0.064385
0.107468
0.184231
0.230289
0.831435
0.828032
0.820451
0.816599
0.814626
0.809998
0
0.035221
0.245509
140,512
8,279
1,069
16.972098
0.657822
0.002612
0
0.87957
0
0.007168
0.983559
0.347375
0
0
0.000071
0
0
0
null
null
0.000538
0.000358
null
null
0.001971
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
12
3b069538dfe981f0fa7968f67f5bda04646284dd
152,330
py
Python
google/ads/google_ads/v4/types.py
arammaliachi/google-ads-python
a4fe89567bd43eb784410523a6306b5d1dd9ee67
[ "Apache-2.0" ]
1
2021-04-09T04:28:47.000Z
2021-04-09T04:28:47.000Z
google/ads/google_ads/v4/types.py
arammaliachi/google-ads-python
a4fe89567bd43eb784410523a6306b5d1dd9ee67
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v4/types.py
arammaliachi/google-ads-python
a4fe89567bd43eb784410523a6306b5d1dd9ee67
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
82.698154
167
0.808029
20,159
152,330
5.758619
0.077186
0.259562
0.215009
0.258011
0.768831
0.766393
0.763257
0.762456
0.76181
0.709634
0
0.023579
0.062023
152,330
1,841
168
82.743074
0.788896
0.009486
0
0.003986
0
0
0.859191
0.794944
0
0
0
0
0
1
0.003986
false
0
0.005125
0.000569
0.014237
0
0
0
0
null
1
1
1
0
1
1
1
1
1
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
10
3b709158cf14b1839d6b152a591a9ecf2fc0b0d2
141
py
Python
torchexpo/nlp/sentiment_analysis/__init__.py
torchexpo/torchexpo
88c875358e830065ee23f49f47d4995b5b2d3e3c
[ "Apache-2.0" ]
23
2020-09-08T05:08:46.000Z
2021-08-12T07:16:53.000Z
torchexpo/nlp/sentiment_analysis/__init__.py
torchexpo/torchexpo
88c875358e830065ee23f49f47d4995b5b2d3e3c
[ "Apache-2.0" ]
1
2021-12-05T06:15:18.000Z
2021-12-20T08:10:19.000Z
torchexpo/nlp/sentiment_analysis/__init__.py
torchexpo/torchexpo
88c875358e830065ee23f49f47d4995b5b2d3e3c
[ "Apache-2.0" ]
2
2021-01-12T06:10:53.000Z
2021-07-24T08:21:59.000Z
from torchexpo.nlp.sentiment_analysis.electra import (electra_imdb) from torchexpo.nlp.sentiment_analysis.distilbert import (distilbert_imdb)
70.5
73
0.879433
18
141
6.666667
0.5
0.216667
0.266667
0.416667
0.55
0
0
0
0
0
0
0
0.049645
141
2
73
70.5
0.895522
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
8e9e6af2d0e1e8b1eb883ee00252a7b5e6939c84
3,953
py
Python
speedread_ner.py
gsi-upm/nerdy
62d2a6df730e30bc1c05c91557fcfd2236b742b8
[ "Apache-2.0" ]
2
2017-10-26T19:40:51.000Z
2018-03-07T12:10:49.000Z
speedread_ner.py
gsi-upm/nerdy
62d2a6df730e30bc1c05c91557fcfd2236b742b8
[ "Apache-2.0" ]
null
null
null
speedread_ner.py
gsi-upm/nerdy
62d2a6df730e30bc1c05c91557fcfd2236b742b8
[ "Apache-2.0" ]
null
null
null
__author__ = 'croman' from pipeline import pipe from lxml import etree import rdflib def ner(datasetfile, format): tweets = "" tweetids = [] if format == 'xml': dataset = etree.parse(datasetfile) for tweet in dataset.xpath('//Tweet'): tweetText = tweet.xpath('./TweetText/text(...
27.838028
77
0.517329
418
3,953
4.873206
0.186603
0.03191
0.0216
0.041237
0.831615
0.831615
0.80216
0.771723
0.771723
0.771723
0
0.012232
0.338224
3,953
142
78
27.838028
0.766437
0.003289
0
0.095238
0
0
0.083173
0
0
0
0
0
0
0
null
null
0
0.047619
null
null
0.174603
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
d9022f601f4293f1035df02426253ad8f56ff9ca
12,142
py
Python
tests/test_views.py
lavyaKoli/stormpath-flask
ca79162302e34085bef774751288d2ac95479c0d
[ "Apache-2.0" ]
99
2015-01-04T06:27:10.000Z
2021-07-27T11:06:15.000Z
tests/test_views.py
lavyaKoli/stormpath-flask
ca79162302e34085bef774751288d2ac95479c0d
[ "Apache-2.0" ]
65
2015-01-05T17:34:27.000Z
2019-01-21T09:59:01.000Z
tests/test_views.py
lavyaKoli/stormpath-flask
ca79162302e34085bef774751288d2ac95479c0d
[ "Apache-2.0" ]
37
2015-03-20T16:24:44.000Z
2020-10-01T16:12:30.000Z
"""Run tests against our custom views.""" from flask.ext.stormpath.models import User from .helpers import StormpathTestCase class TestRegister(StormpathTestCase): """Test our registration view.""" def test_default_fields(self): # By default, we'll register new users with first name, last name, ...
38.18239
125
0.558887
1,257
12,142
5.249006
0.130469
0.032889
0.031676
0.068202
0.800394
0.785541
0.78054
0.743104
0.740831
0.722643
0
0.01039
0.334129
12,142
317
126
38.302839
0.80569
0.145363
0
0.819005
0
0
0.211496
0.044974
0
0
0
0
0.153846
1
0.058824
false
0.113122
0.00905
0
0.081448
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
d9265bc8d9e395e0e1f4b2ccd82a397094568300
324
py
Python
flask-portal/app/referral_api.py
TUMTICS-Dev/Talent-Pool
c51376453184e7a83d684ab5f9467535d49cc784
[ "MIT" ]
null
null
null
flask-portal/app/referral_api.py
TUMTICS-Dev/Talent-Pool
c51376453184e7a83d684ab5f9467535d49cc784
[ "MIT" ]
null
null
null
flask-portal/app/referral_api.py
TUMTICS-Dev/Talent-Pool
c51376453184e7a83d684ab5f9467535d49cc784
[ "MIT" ]
null
null
null
from abc import ABC class Refferal_API(ABC): def __init__(self): # TODO pass def NewVacancy(): # TODO pass def NewApplication(): # TODO pass def NotifyReferrer(): # TODO pass def NotifyApplicant(): # TODO pass ...
13.5
26
0.481481
29
324
5.206897
0.517241
0.264901
0.291391
0
0
0
0
0
0
0
0
0
0.447531
324
24
27
13.5
0.843575
0.074074
0
0.416667
0
0
0
0
0
0
0
0.041667
0
1
0.416667
false
0.416667
0.083333
0
0.583333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
1
0
0
7
d93cdda3893693209b80cab60a21164807e0bd8b
1,493
py
Python
venv/lib/python2.7/site-packages/pychart/afm/ZapfDingbats.py
Christian-Castro/castro_odoo8
8247fdb20aa39e043b6fa0c4d0af509462ab3e00
[ "Unlicense" ]
1
2019-12-19T01:53:13.000Z
2019-12-19T01:53:13.000Z
venv/lib/python2.7/site-packages/pychart/afm/ZapfDingbats.py
Christian-Castro/castro_odoo8
8247fdb20aa39e043b6fa0c4d0af509462ab3e00
[ "Unlicense" ]
null
null
null
venv/lib/python2.7/site-packages/pychart/afm/ZapfDingbats.py
Christian-Castro/castro_odoo8
8247fdb20aa39e043b6fa0c4d0af509462ab3e00
[ "Unlicense" ]
null
null
null
# AFM font ZapfDingbats (path: /usr/share/fonts/afms/adobe/pzdr.afm). # Derived from Ghostscript distribution. # Go to www.cs.wisc.edu/~ghost to get the Ghostcript source code. import dir dir.afm["ZapfDingbats"] = (500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, ...
248.833333
1,304
0.621567
288
1,493
3.222222
0.451389
0.413793
0.601293
0.775862
0.342672
0.342672
0.342672
0.342672
0.342672
0.342672
0
0.632013
0.188212
1,493
5
1,305
298.6
0.133663
0.113865
0
0
0
0
0.009098
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
10
d95eed5d862d9b62ea1af084b7b9d3c23fb6a1ce
13,127
py
Python
c-deps/krb5/src/tests/t_preauth.py
Yangjxxxxx/ZNBase
dcf993b73250dd5cb63041f4d9cf098941f67b2b
[ "MIT", "BSD-3-Clause" ]
1
2021-12-03T05:07:39.000Z
2021-12-03T05:07:39.000Z
c-deps/krb5/src/tests/t_preauth.py
Yangjxxxxx/ZNBase
dcf993b73250dd5cb63041f4d9cf098941f67b2b
[ "MIT", "BSD-3-Clause" ]
9
2020-05-13T16:28:13.000Z
2021-12-30T04:07:49.000Z
src/tests/t_preauth.py
frozencemetery/krb5
bb8fa495d00ccd931eec87a01b8920636cf7903e
[ "MIT" ]
4
2020-07-01T12:41:46.000Z
2022-01-26T03:05:30.000Z
from k5test import * # Test that the kdcpreauth client_keyblock() callback matches the key # indicated by the etype info, and returns NULL if no key was selected. testpreauth = os.path.join(buildtop, 'plugins', 'preauth', 'test', 'test.so') conf = {'plugins': {'kdcpreauth': {'module': 'test:' + testpreauth}, ...
49.349624
79
0.665346
1,576
13,127
5.475888
0.120558
0.025029
0.031286
0.039166
0.829316
0.819235
0.793627
0.763152
0.728969
0.692005
0
0.032068
0.199436
13,127
265
80
49.535849
0.789133
0.11564
0
0.709677
0
0.032258
0.616049
0
0
0
0
0
0
1
0
false
0.069124
0.004608
0
0.004608
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
9
d96bfa9969aa7535edbc947eef5fd3836a546bc4
61,602
py
Python
email_client.py
HideyoshiNakazone/duo-db-client
d847f59c4b4243cf359e2fca411f0e7a6864493b
[ "MIT" ]
null
null
null
email_client.py
HideyoshiNakazone/duo-db-client
d847f59c4b4243cf359e2fca411f0e7a6864493b
[ "MIT" ]
null
null
null
email_client.py
HideyoshiNakazone/duo-db-client
d847f59c4b4243cf359e2fca411f0e7a6864493b
[ "MIT" ]
null
null
null
from google_auth_oauthlib.flow import InstalledAppFlow from googleapiclient.discovery import build from datetime import datetime, timedelta from email.mime.multipart import MIMEMultipart from email.mime.image import MIMEImage from email.mime.text import MIMEText from email.header import Header import psycopg2.extension...
75.678133
493
0.65967
8,590
61,602
4.722352
0.057043
0.016517
0.013805
0.046148
0.891335
0.880192
0.874128
0.871268
0.868507
0.865229
0
0.04795
0.112675
61,602
813
494
75.771218
0.694151
0
0
0.637076
0
0.285901
0.928574
0.235593
0
0
0
0
0
1
0
false
0.003916
0.061358
0
0.061358
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
79549336a4241631b02e785750cc140cfc8710c5
15,643
py
Python
crawler/crawler_2.py
marxlee/py-tools
4c3699b2a5dd5cb4477a4e339b8f91161cbe3bef
[ "Apache-2.0" ]
null
null
null
crawler/crawler_2.py
marxlee/py-tools
4c3699b2a5dd5cb4477a4e339b8f91161cbe3bef
[ "Apache-2.0" ]
null
null
null
crawler/crawler_2.py
marxlee/py-tools
4c3699b2a5dd5cb4477a4e339b8f91161cbe3bef
[ "Apache-2.0" ]
null
null
null
from urllib import request import random import json # 摸你请求头 url = r'https://www.baidu.com/s?cl=3&tn=baidutop10&fr=top1000&wd=%E7%9F%B3%E7%94%B0%E7%BA%AF%E4%B8%80%E6%84%9F%E6%9F%93%E6%96%B0%E5%86%A0&rsv_idx=2&rsv_dl=fyb_n_homepage&hisfilter=1' # 代理列表 agent_list = [ 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) ...
140.927928
6,714
0.915681
773
15,643
18.452781
0.463131
0.002804
0.004206
0.002524
0.925547
0.925547
0.925547
0.925547
0.925547
0.925547
0
0.144264
0.032666
15,643
111
6,715
140.927928
0.798374
0.020456
0
0.160714
0
0.107143
0.918402
0.874656
0
1
0
0
0
1
0.125
false
0.053571
0.053571
0
0.214286
0.142857
0
0
1
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
1
0
0
0
0
0
13
30989459794313f3040cb1606c1e87631a244492
27,430
py
Python
app/tests/manual/sample_tweet_stream.py
MichaelCurrin/twitterverse
9629f848377e4346be833db70f11c593cc0d7b6c
[ "MIT" ]
10
2019-03-22T07:07:41.000Z
2022-01-26T00:57:45.000Z
app/tests/manual/sample_tweet_stream.py
MichaelCurrin/twitterverse
9629f848377e4346be833db70f11c593cc0d7b6c
[ "MIT" ]
70
2017-07-12T19:49:38.000Z
2020-09-02T10:03:28.000Z
app/tests/manual/sample_tweet_stream.py
MichaelCurrin/twitterverse
9629f848377e4346be833db70f11c593cc0d7b6c
[ "MIT" ]
2
2017-06-30T07:13:39.000Z
2020-12-04T00:39:12.000Z
#!/usr/bin/env python """ Process a sample tweet fetched using streaming API. Usage: $ ipython -i FILENAME >>> data = main() >>> data.keys() # Then explore the `data` object in ipython. ['contributors', 'truncated', 'text', 'is_quote_status', 'in_reply_to_status_id', 'id', 'favorite_count', 'source...
52.347328
9,560
0.537149
2,909
27,430
4.895841
0.140254
0.024716
0.024716
0.020222
0.937719
0.934138
0.93147
0.928802
0.928802
0.928802
0
0.145265
0.268939
27,430
523
9,561
52.447419
0.564803
0.052862
0
0.58811
0
0.012739
0.713109
0.19714
0
0
0
0
0
1
0.002123
false
0
0.002123
0
0.006369
0.002123
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
a50784e85bfaff4fb71807d43ea79954cd711a55
23,041
py
Python
teste.py
dkpm/ES-17-2
b965400ab35dd0101c06cba14367090bf88a45a3
[ "Apache-2.0" ]
null
null
null
teste.py
dkpm/ES-17-2
b965400ab35dd0101c06cba14367090bf88a45a3
[ "Apache-2.0" ]
3
2019-08-05T23:08:42.000Z
2019-08-05T23:14:17.000Z
teste.py
dkpm/ES-17-2
b965400ab35dd0101c06cba14367090bf88a45a3
[ "Apache-2.0" ]
null
null
null
import pytest from principal import somar from principal import sub def test_somar(): assert somar(2,4) == 6 def test_sub(): assert sub(3,2) == 20 ...
1,772.384615
22,903
0.004731
26
23,041
4.115385
0.538462
0.242991
0.35514
0
0
0
0
0
0
0
0
0.056
0.994575
23,041
12
22,904
1,920.083333
0.8
0
0
0
0
0
0
0
0
0
0
0
0.285714
1
0.285714
true
0
0.428571
0
0.714286
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
1
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
0
0
0
9
eb51353e72618f1a090e46e7c1c65e0cc24ef776
17,982
py
Python
tests/lib/bes/archive/test_archive_util.py
reconstruir/bes
82ff54b2dadcaef6849d7de424787f1dedace85c
[ "Apache-2.0" ]
null
null
null
tests/lib/bes/archive/test_archive_util.py
reconstruir/bes
82ff54b2dadcaef6849d7de424787f1dedace85c
[ "Apache-2.0" ]
null
null
null
tests/lib/bes/archive/test_archive_util.py
reconstruir/bes
82ff54b2dadcaef6849d7de424787f1dedace85c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python #-*- coding:utf-8; mode:python; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*- from bes.testing.unit_test import unit_test from bes.archive.archive_util import archive_util from bes.archive.archiver import archiver from bes.archive.temp_archive import temp_archive class test_archive_...
49.401099
108
0.638639
2,666
17,982
4.114029
0.044261
0.083698
0.139497
0.136306
0.905908
0.894055
0.892323
0.879559
0.876732
0.864515
0
0.028853
0.163497
17,982
363
109
49.53719
0.700306
0.006062
0
0.784257
0
0
0.319792
0.151195
0
0
0
0
0.055394
1
0.037901
false
0
0.043732
0
0.084548
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
eb5d8a81de7fb8524c15daf24c0d23dffb316345
160
py
Python
database/tests/open_alchemy/package_database/test_models/spec/conftest.py
open-alchemy/OpenAlchemyPackage
8bf0ed62ed7f6c5015f1bf1c4658dc353395fe9b
[ "Apache-2.0" ]
null
null
null
database/tests/open_alchemy/package_database/test_models/spec/conftest.py
open-alchemy/OpenAlchemyPackage
8bf0ed62ed7f6c5015f1bf1c4658dc353395fe9b
[ "Apache-2.0" ]
79
2020-11-28T04:02:25.000Z
2021-01-06T08:52:30.000Z
database/tests/open_alchemy/package_database/test_models/spec/conftest.py
open-alchemy/Package
8bf0ed62ed7f6c5015f1bf1c4658dc353395fe9b
[ "Apache-2.0" ]
null
null
null
"""Database fixtures.""" import pytest @pytest.fixture(autouse=True) def _auto_clean_specs_table(_clean_specs_table): """Autouses _clean_specs_table."""
17.777778
48
0.7625
20
160
5.6
0.65
0.267857
0.401786
0
0
0
0
0
0
0
0
0
0.1
160
8
49
20
0.777778
0.29375
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
7
eb7466ed23ae7f0e3c3ac0530fad95b5be3ab94b
10,643
py
Python
notebooks/eppy_residential_archetypes.py
rdmolony/energyplus-archetypes
1270db12c9e4c32a2b1ea77ba578ecc9f6dbf76e
[ "MIT" ]
1
2021-02-01T09:25:42.000Z
2021-02-01T09:25:42.000Z
notebooks/eppy_residential_archetypes.py
rdmolony/energyplus-archetypes
1270db12c9e4c32a2b1ea77ba578ecc9f6dbf76e
[ "MIT" ]
1
2021-01-26T17:33:58.000Z
2021-01-26T17:33:58.000Z
notebooks/eppy_residential_archetypes.py
rdmolony/energyplus-archetypes
1270db12c9e4c32a2b1ea77ba578ecc9f6dbf76e
[ "MIT" ]
2
2021-01-13T15:31:50.000Z
2021-01-14T09:53:45.000Z
# --- # jupyter: # jupytext: # formats: ipynb,md # text_representation: # extension: .py # format_name: percent # format_version: '1.3' # jupytext_version: 1.10.1 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- # %% [markdown] # # Eppy is ...
47.513393
1,517
0.807855
1,868
10,643
4.134368
0.077623
0.108378
0.110061
0.069921
0.878933
0.858734
0.810048
0.752946
0.707497
0.63913
0
0.024646
0.069811
10,643
223
1,518
47.726457
0.755455
0.072818
0
0.167939
0
0
0.303735
0.247397
0
0
0
0
0
1
0
false
0
0.022901
0
0.022901
0.076336
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
eb821deb2b5a5317016e2098eafebee1b6e630ed
18,063
py
Python
alembic/versions/9e7ee952f6ae_initial_tables.py
SegFaulti4/lingvodoc
8b296b43453a46b814d3cd381f94382ebcb9c6a6
[ "Apache-2.0" ]
5
2017-03-30T18:02:11.000Z
2021-07-20T16:02:34.000Z
alembic/versions/9e7ee952f6ae_initial_tables.py
SegFaulti4/lingvodoc
8b296b43453a46b814d3cd381f94382ebcb9c6a6
[ "Apache-2.0" ]
15
2016-02-24T13:16:59.000Z
2021-09-03T11:47:15.000Z
alembic/versions/9e7ee952f6ae_initial_tables.py
Winking-maniac/lingvodoc
f037bf0e91ccdf020469037220a43e63849aa24a
[ "Apache-2.0" ]
22
2015-09-25T07:13:40.000Z
2021-08-04T18:08:26.000Z
"""initial tables Revision ID: 9e7ee952f6ae Revises: Create Date: 2016-10-21 17:20:27.709284 """ # revision identifiers, used by Alembic. revision = '9e7ee952f6ae' down_revision = None branch_labels = None depends_on = None from alembic import op from sqlalchemy.types import Text import sqlalchemy as sa from sqlalc...
55.75
172
0.716548
2,126
18,063
5.860301
0.062559
0.109158
0.130026
0.171924
0.87182
0.843567
0.792519
0.765952
0.758889
0.746448
0
0.001997
0.112717
18,063
323
173
55.922601
0.775379
0.015446
0
0.560656
0
0
0.286181
0.101403
0
0
0
0
0
1
0.006557
false
0.006557
0.022951
0
0.029508
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ebb41e91a8e2783d3b37bf3b6b979d65654f5089
262
py
Python
Python/basic-py/exercise_14.py
nhutnamhcmus/code
22b528084ed234fcabca89cf1ba02a2c347007bc
[ "MIT" ]
1
2020-10-12T18:33:22.000Z
2020-10-12T18:33:22.000Z
Python/basic-py/exercise_14.py
nhutnamhcmus/code
22b528084ed234fcabca89cf1ba02a2c347007bc
[ "MIT" ]
null
null
null
Python/basic-py/exercise_14.py
nhutnamhcmus/code
22b528084ed234fcabca89cf1ba02a2c347007bc
[ "MIT" ]
null
null
null
def _get_square(list): l1 = [x*x for x in range(0, len(list), 2) if x % 3 != 0] return l1 print(_get_square([1, 2, 3, 4, 5])) def get_square(list): l1 = [x*x for x in list if x % 3 != 0 and x % 2 == 0] return l1 print(get_square([1, 2, 3, 4, 5]))
23.818182
58
0.557252
58
262
2.413793
0.344828
0.257143
0.171429
0.228571
0.771429
0.771429
0.771429
0.771429
0.771429
0.771429
0
0.112821
0.255725
262
11
59
23.818182
0.605128
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0.25
0
0
0
null
1
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
8
6901b7acffb34f8f8d84f5944353762bec3fbb2a
2,981
py
Python
tests/test_xml_parser_quart.py
criteo/quart
7d018837d7b2f372da3fa83b1b78e4067d89557a
[ "Apache-2.0" ]
1
2017-12-07T11:37:51.000Z
2017-12-07T11:37:51.000Z
tests/test_xml_parser_quart.py
muneebirfan/quart
7d018837d7b2f372da3fa83b1b78e4067d89557a
[ "Apache-2.0" ]
null
null
null
tests/test_xml_parser_quart.py
muneebirfan/quart
7d018837d7b2f372da3fa83b1b78e4067d89557a
[ "Apache-2.0" ]
2
2018-06-26T15:28:10.000Z
2022-02-21T11:29:35.000Z
import pytest from quart.xml_parser_quart import fusion_vulnerability_dictionaries EXPECTED_1 = \ {u'1': {'category': u'Category 1', 'consequence': u'Consequence 1', 'diagnosis': u'Diagnosis 1', 'hosts': [{'ip': u'1.1.1.1', 'name': 'host1'}, {'ip': u'2.2.2...
36.353659
77
0.495136
352
2,981
4.099432
0.102273
0.016632
0.016632
0.116424
0.905059
0.905059
0.878725
0.817741
0.817741
0.722107
0
0.061531
0.307615
2,981
82
78
36.353659
0.637597
0
0
0.706667
0
0
0.376767
0
0
0
0
0
0.013333
1
0.013333
false
0
0.026667
0
0.04
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
695ec52440fba379a30f79fa614d663b2b26c725
110
py
Python
MiddleKit/Design/SQLitePythonGenerator.py
PeaceWorksTechnologySolutions/w4py
74f5a03a63f1a93563502b908474aefaae2abda2
[ "MIT" ]
18
2016-08-01T20:15:59.000Z
2019-12-24T16:00:03.000Z
MiddleKit/Design/SQLitePythonGenerator.py
WebwareForPython/w4py
bba08f5974d49f5da7e88abe3eeda1037d0824a3
[ "MIT" ]
6
2016-09-13T05:48:45.000Z
2020-01-09T18:29:12.000Z
MiddleKit/Design/SQLitePythonGenerator.py
WebwareForPython/w4py
bba08f5974d49f5da7e88abe3eeda1037d0824a3
[ "MIT" ]
6
2016-09-16T14:32:29.000Z
2020-01-03T18:52:16.000Z
from SQLPythonGenerator import SQLPythonGenerator class SQLitePythonGenerator(SQLPythonGenerator): pass
18.333333
49
0.854545
8
110
11.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.118182
110
5
50
22
0.969072
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
7
15e6a04a8da0e44c61254eaa10ce768020d0ae51
186
py
Python
example_problem/dialogue/dialogue_functions.py
seakers/daphne-brain
1d703d468cd503a21395f986dd72e67b6e556451
[ "MIT" ]
null
null
null
example_problem/dialogue/dialogue_functions.py
seakers/daphne-brain
1d703d468cd503a21395f986dd72e67b6e556451
[ "MIT" ]
null
null
null
example_problem/dialogue/dialogue_functions.py
seakers/daphne-brain
1d703d468cd503a21395f986dd72e67b6e556451
[ "MIT" ]
null
null
null
import example_problem.analyst.dialogue_functions as analyst import example_problem.engineer.dialogue_functions as engineer import example_problem.critic.dialogue_functions as critic
26.571429
62
0.887097
24
186
6.625
0.375
0.245283
0.377358
0
0
0
0
0
0
0
0
0
0.080645
186
6
63
31
0.929825
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
15f0c68253b44fcf807be3d2c13c0296e0b8bc18
47
py
Python
python/graph/__init__.py
advaithm582/algorithms
9a5261b69ea7bc84afb9f8561c1d497a799733f9
[ "MIT" ]
2
2021-11-17T07:48:34.000Z
2021-12-10T03:09:00.000Z
python/graph/__init__.py
advaithm582/algorithms
9a5261b69ea7bc84afb9f8561c1d497a799733f9
[ "MIT" ]
null
null
null
python/graph/__init__.py
advaithm582/algorithms
9a5261b69ea7bc84afb9f8561c1d497a799733f9
[ "MIT" ]
null
null
null
import graph.bfs as bfs import graph.dfs as dfs
23.5
23
0.808511
10
47
3.8
0.5
0.578947
0
0
0
0
0
0
0
0
0
0
0.148936
47
2
24
23.5
0.95
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
c63aa7bd0e0701b71a3831892875ee207bc50f62
2,707
py
Python
tests/test_chol.py
luk036/ellalgo
8e83587b271f35c906c0d0aa4175dac153e5e29b
[ "MIT" ]
null
null
null
tests/test_chol.py
luk036/ellalgo
8e83587b271f35c906c0d0aa4175dac153e5e29b
[ "MIT" ]
null
null
null
tests/test_chol.py
luk036/ellalgo
8e83587b271f35c906c0d0aa4175dac153e5e29b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import print_function import numpy as np from ellalgo.oracles.chol_ext import chol_ext def test_chol1(): """[summary]""" l1 = [[25.0, 15.0, -5.0], [15.0, 18.0, 0.0], [-5.0, 0.0, 11.0]] m1 = np.array(l1) Q1 = chol_ext(len(m1)) assert Q1.factori...
23.136752
68
0.472109
467
2,707
2.670236
0.143469
0.056135
0.044908
0.028067
0.817161
0.800321
0.756215
0.756215
0.738573
0.684042
0
0.182733
0.302549
2,707
116
69
23.336207
0.477754
0.088659
0
0.716216
0
0
0
0
0
0
0
0
0.202703
1
0.121622
false
0
0.040541
0
0.162162
0.013514
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
d6a31066ae56fbab5790e025522ea654a924256a
36
py
Python
raguel/__init__.py
WireShoutLLC/piraguel
edbca6338d23735d7e1d6a63273f55851ef76518
[ "MIT" ]
null
null
null
raguel/__init__.py
WireShoutLLC/piraguel
edbca6338d23735d7e1d6a63273f55851ef76518
[ "MIT" ]
null
null
null
raguel/__init__.py
WireShoutLLC/piraguel
edbca6338d23735d7e1d6a63273f55851ef76518
[ "MIT" ]
null
null
null
import raguel.fptp import raguel.irv
18
18
0.861111
6
36
5.166667
0.666667
0.774194
0
0
0
0
0
0
0
0
0
0
0.083333
36
2
19
18
0.939394
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
d6bfbf2d051a74fc9be123eeb1ea06791a6a5509
1,359
py
Python
source/Objects/XTRA_Scaling_Parameters.py
afarahi/XTRA
6550b216264abaa3ed705835aca0981f2934e069
[ "MIT" ]
2
2018-11-01T12:38:56.000Z
2019-10-22T07:02:54.000Z
source/Objects/XTRA_Scaling_Parameters.py
afarahi/XTRA
6550b216264abaa3ed705835aca0981f2934e069
[ "MIT" ]
null
null
null
source/Objects/XTRA_Scaling_Parameters.py
afarahi/XTRA
6550b216264abaa3ed705835aca0981f2934e069
[ "MIT" ]
null
null
null
import os.path import json class Temprature_scaling: def __init__(self, label): fname = './parameters/Models/Txm/' + label + '_parameters.json' if os.path.isfile(fname) == False: print("Error: %s does not exists it uses Tx scaling default parameters."%s) exit(1) ...
22.278689
89
0.56365
173
1,359
4.17341
0.277457
0.083102
0.116343
0.049862
0.905817
0.905817
0.905817
0.905817
0.783934
0.642659
0
0.002116
0.304636
1,359
60
90
22.65
0.761905
0.099338
0
0.733333
0
0
0.211396
0.039637
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.2
0.066667
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d6e3fe20726371350367db02dca201ae5e10d187
159
py
Python
ASSIGN-1/assignment_1/assignment_1/envs/__init__.py
ShivenTripathi/CS698-Deep-Reinforcement-Learning
184f7887cea3065d2bfa4ba05bfb249838c3dab4
[ "MIT" ]
null
null
null
ASSIGN-1/assignment_1/assignment_1/envs/__init__.py
ShivenTripathi/CS698-Deep-Reinforcement-Learning
184f7887cea3065d2bfa4ba05bfb249838c3dab4
[ "MIT" ]
null
null
null
ASSIGN-1/assignment_1/assignment_1/envs/__init__.py
ShivenTripathi/CS698-Deep-Reinforcement-Learning
184f7887cea3065d2bfa4ba05bfb249838c3dab4
[ "MIT" ]
null
null
null
from assignment_1.envs.gaussianBandit import gaussianBandit from assignment_1.envs.bernoulliBandit import bernoulliBandit from assignment_1.envs.RWE import RWE
53
61
0.893082
21
159
6.619048
0.380952
0.302158
0.323741
0.410072
0
0
0
0
0
0
0
0.02027
0.069182
159
3
62
53
0.918919
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
ba61b5bc2650055217908e9853377121e0e5e11e
5,321
py
Python
wilson/translate/__init__.py
bednya/wilson
2cd803bc298c3f967401aed119f617fc5d7ba5c0
[ "MIT" ]
24
2018-04-16T15:01:39.000Z
2022-01-26T07:16:22.000Z
wilson/translate/__init__.py
bednya/wilson
2cd803bc298c3f967401aed119f617fc5d7ba5c0
[ "MIT" ]
85
2018-04-27T08:17:00.000Z
2022-02-22T16:47:14.000Z
wilson/translate/__init__.py
bednya/wilson
2cd803bc298c3f967401aed119f617fc5d7ba5c0
[ "MIT" ]
17
2018-04-27T07:59:35.000Z
2022-02-09T22:46:05.000Z
"""Provides basis translators for SMEFT and and WET that can be used with the `wcxf` Python package.""" from . import smeft, smeft_higgs from . import wet from wilson import wcxf @wcxf.translator('SMEFT', 'Higgs-Warsaw up', 'Warsaw up') def higgs_up_to_warsaw_up(C, scale, parameters, sectors=None): return smeft...
33.677215
77
0.7352
792
5,321
4.734848
0.055556
0.262933
0.3168
0.325067
0.928
0.9192
0.849067
0.7712
0.697867
0.592
0
0.00511
0.117271
5,321
157
78
33.89172
0.793272
0.01823
0
0.25
0
0
0.091798
0
0
0
0
0
0
1
0.3125
false
0
0.03125
0.28125
0.65625
0
0
0
0
null
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
10
ba9ff79eed66de8a976604f59d5d1e814bf57989
21,116
py
Python
cloudroast/objectstorage/smoke/container_smoke.py
kurhula/cloudroast
dcccce6b3af9d150cb667fc05bd051e97b5f6e2c
[ "Apache-2.0" ]
null
null
null
cloudroast/objectstorage/smoke/container_smoke.py
kurhula/cloudroast
dcccce6b3af9d150cb667fc05bd051e97b5f6e2c
[ "Apache-2.0" ]
null
null
null
cloudroast/objectstorage/smoke/container_smoke.py
kurhula/cloudroast
dcccce6b3af9d150cb667fc05bd051e97b5f6e2c
[ "Apache-2.0" ]
1
2020-04-13T17:47:04.000Z
2020-04-13T17:47:04.000Z
""" Copyright 2013 Rackspace Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dist...
33.305994
79
0.617446
2,276
21,116
5.442443
0.095782
0.12279
0.043917
0.030031
0.839913
0.813837
0.803827
0.803827
0.789457
0.773149
0
0.013014
0.290396
21,116
633
80
33.35861
0.813668
0.027657
0
0.860927
0
0
0.108563
0.003283
0
0
0
0
0.059603
1
0.041943
false
0
0.004415
0
0.048565
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
baa7798d6951efa49c7dfc86901c4f88cfb2e6a7
243
py
Python
tests/test_bz2.py
refi64/arclib
a872904fa4f4270b851b2e96c917d26d3c0a0a4c
[ "MIT" ]
2
2019-05-04T16:41:16.000Z
2020-11-09T09:44:19.000Z
tests/test_bz2.py
refi64/arclib
a872904fa4f4270b851b2e96c917d26d3c0a0a4c
[ "MIT" ]
null
null
null
tests/test_bz2.py
refi64/arclib
a872904fa4f4270b851b2e96c917d26d3c0a0a4c
[ "MIT" ]
null
null
null
from util import * from arclib import bz2 from bz2 import compress, decompress def test_incremental_compress(): basic_test_c(bz2.Compressor(), decompress) def test_incremental_decompress(): basic_test_d(bz2.Decompressor(), compress)
24.3
46
0.790123
32
243
5.75
0.46875
0.141304
0.184783
0.304348
0
0
0
0
0
0
0
0.018868
0.127572
243
9
47
27
0.849057
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
true
0
0.428571
0
0.714286
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
badc956a17a6eddf0152abe143da26f2b0200f6c
106
py
Python
security/compatibility.py
jsilhan/django-security
fd56a6ca8ab7ad2b1e91a33ea4ecb40bb10cc42b
[ "MIT" ]
null
null
null
security/compatibility.py
jsilhan/django-security
fd56a6ca8ab7ad2b1e91a33ea4ecb40bb10cc42b
[ "MIT" ]
null
null
null
security/compatibility.py
jsilhan/django-security
fd56a6ca8ab7ad2b1e91a33ea4ecb40bb10cc42b
[ "MIT" ]
null
null
null
try: from ipware.ip import get_client_ip except ImportError: from ipware.ip2 import get_client_ip
21.2
40
0.783019
17
106
4.647059
0.588235
0.253165
0.379747
0.43038
0
0
0
0
0
0
0
0.011494
0.179245
106
4
41
26.5
0.896552
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
baf7b7cfc3a32ed71b8ccf99a03a13c2d80fa7cf
155
py
Python
r3det/ops/polygon_geo/polygon_geo.py
SJTU-Thinklab-Det/r3det-pytorch
aed1c26ecfad7ac518d24f0f4d537e1926a7e8bd
[ "Apache-2.0" ]
42
2021-12-09T10:02:35.000Z
2022-03-30T08:40:20.000Z
r3det/ops/polygon_geo/polygon_geo.py
SJTU-Thinklab-Det/r3det-pytorch
aed1c26ecfad7ac518d24f0f4d537e1926a7e8bd
[ "Apache-2.0" ]
13
2021-12-14T01:47:32.000Z
2022-03-30T08:01:17.000Z
r3det/ops/polygon_geo/polygon_geo.py
SJTU-Thinklab-Det/r3det-pytorch
aed1c26ecfad7ac518d24f0f4d537e1926a7e8bd
[ "Apache-2.0" ]
5
2021-12-14T09:57:29.000Z
2022-03-03T12:25:54.000Z
from . import polygon_geo_cpu def polygon_iou(poly1, poly2): """Compute the IoU of polygons.""" return polygon_geo_cpu.polygon_iou(poly1, poly2)
22.142857
52
0.735484
23
155
4.695652
0.608696
0.185185
0.240741
0.37037
0
0
0
0
0
0
0
0.030769
0.16129
155
6
53
25.833333
0.8
0.180645
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
7
240a83d7ee6d8a5009d4cbc9cb32f8bc334441c1
32,053
py
Python
tests/test_dispatcher.py
electronhead/whendo
27112834be0935b5b0f7ade4316e35532532e047
[ "MIT" ]
1
2022-03-04T09:25:13.000Z
2022-03-04T09:25:13.000Z
tests/test_dispatcher.py
electronhead/whendo
27112834be0935b5b0f7ade4316e35532532e047
[ "MIT" ]
null
null
null
tests/test_dispatcher.py
electronhead/whendo
27112834be0935b5b0f7ade4316e35532532e047
[ "MIT" ]
null
null
null
import pytest import time from datetime import timedelta from typing import Optional, Dict, Any from whendo.core.util import Rez, SystemInfo, Now, KeyTagMode, DateTime, Rez from whendo.core.action import Action from whendo.core.server import Server from whendo.core.actions.list_action import ( UntilFailure, All...
30.939189
95
0.679063
3,837
32,053
5.47068
0.062549
0.062551
0.044352
0.059454
0.852556
0.829308
0.817684
0.80444
0.784527
0.769139
0
0.015133
0.202134
32,053
1,035
96
30.969082
0.805662
0.159236
0
0.704334
0
0
0.037791
0.000831
0
0
0
0
0.210526
1
0.085139
false
0.003096
0.02322
0
0.181115
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
2447e0552af3107be48ac3a9066299a7b4696ec1
188
py
Python
backend/database/__init__.py
Stampeder525/police-data-trust-1
5fdc9d58ed51e23f1b23c626c5b97a58c3da57d8
[ "MIT" ]
null
null
null
backend/database/__init__.py
Stampeder525/police-data-trust-1
5fdc9d58ed51e23f1b23c626c5b97a58c3da57d8
[ "MIT" ]
null
null
null
backend/database/__init__.py
Stampeder525/police-data-trust-1
5fdc9d58ed51e23f1b23c626c5b97a58c3da57d8
[ "MIT" ]
null
null
null
# flake8: noqa: F401 from .core import db from .core import db_cli from .core import execute_query from .models.incidents import Incidents, IncidentSchema from .models.users import Users
23.5
55
0.803191
28
188
5.321429
0.5
0.161074
0.281879
0.214765
0
0
0
0
0
0
0
0.024691
0.138298
188
7
56
26.857143
0.895062
0.095745
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
2465cc873ed6feb0ba74d0cd8e91b52c64dfa6ff
130
py
Python
bolt_srl/__init__.py
Michael-Dyq/SRL-English
2187b692515fb00c8f78428fa007266129d1a6b8
[ "MIT" ]
null
null
null
bolt_srl/__init__.py
Michael-Dyq/SRL-English
2187b692515fb00c8f78428fa007266129d1a6b8
[ "MIT" ]
null
null
null
bolt_srl/__init__.py
Michael-Dyq/SRL-English
2187b692515fb00c8f78428fa007266129d1a6b8
[ "MIT" ]
null
null
null
from bolt_srl.model import BoltSRLModel from bolt_srl.predictor import BoltSRLPredictor from bolt_srl.reader import BoltSRLReader
32.5
47
0.884615
18
130
6.222222
0.555556
0.214286
0.294643
0
0
0
0
0
0
0
0
0
0.092308
130
3
48
43.333333
0.949153
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
79e321fad4040ad4eb4cb794f188196f9be074b1
94
py
Python
selection/sampling/randomized/api.py
Xiaoying-Tian/selective-inference
a20c5ad3f527beb709d5b8d7301016640738b092
[ "BSD-3-Clause" ]
null
null
null
selection/sampling/randomized/api.py
Xiaoying-Tian/selective-inference
a20c5ad3f527beb709d5b8d7301016640738b092
[ "BSD-3-Clause" ]
null
null
null
selection/sampling/randomized/api.py
Xiaoying-Tian/selective-inference
a20c5ad3f527beb709d5b8d7301016640738b092
[ "BSD-3-Clause" ]
null
null
null
from .norms.api import * from .losses.api import * from .sampler import selective_sampler_MH
18.8
41
0.787234
14
94
5.142857
0.571429
0.25
0.361111
0
0
0
0
0
0
0
0
0
0.138298
94
4
42
23.5
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
0306f469c225a6dd8f6632d28c4cbdab089a9d7c
107,563
py
Python
platform/core/tests/test_experiments/test_views.py
hackerwins/polyaxon
ff56a098283ca872abfbaae6ba8abba479ffa394
[ "Apache-2.0" ]
null
null
null
platform/core/tests/test_experiments/test_views.py
hackerwins/polyaxon
ff56a098283ca872abfbaae6ba8abba479ffa394
[ "Apache-2.0" ]
null
null
null
platform/core/tests/test_experiments/test_views.py
hackerwins/polyaxon
ff56a098283ca872abfbaae6ba8abba479ffa394
[ "Apache-2.0" ]
null
null
null
# pylint:disable=too-many-lines import os import time from faker import Faker from unittest.mock import patch import pytest from hestia.internal_services import InternalServices from rest_framework import status import conf import stores from api.experiments import queries from api.experiments.serializers import (...
40.914036
100
0.638826
12,815
107,563
5.16348
0.038939
0.044582
0.044219
0.056823
0.869684
0.850159
0.831162
0.821007
0.808176
0.797658
0
0.012917
0.252206
107,563
2,628
101
40.929604
0.809735
0.016623
0
0.770277
0
0
0.075708
0.0367
0
0
0
0
0.323488
1
0.067511
false
0.000469
0.01594
0.000469
0.157056
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
030c7de9f7e1401c045078e46717850748e35111
5,250
py
Python
tests/unit/language/ast/test_interface_type_extension.py
matt-koevort/tartiflette
5777866b133d846ce4f8aa03f735fa81832896cd
[ "MIT" ]
530
2019-06-04T11:45:36.000Z
2022-03-31T09:29:56.000Z
tests/unit/language/ast/test_interface_type_extension.py
matt-koevort/tartiflette
5777866b133d846ce4f8aa03f735fa81832896cd
[ "MIT" ]
242
2019-06-04T11:53:08.000Z
2022-03-28T07:06:27.000Z
tests/unit/language/ast/test_interface_type_extension.py
matt-koevort/tartiflette
5777866b133d846ce4f8aa03f735fa81832896cd
[ "MIT" ]
36
2019-06-21T06:40:27.000Z
2021-11-04T13:11:16.000Z
import pytest from tartiflette.language.ast import InterfaceTypeExtensionNode def test_interfacetypeextensionnode__init__(): interface_type_extension_node = InterfaceTypeExtensionNode( name="interfaceTypeExtensionName", directives="interfaceTypeExtensionDirectives", fields="interfaceTypeE...
36.206897
78
0.616571
228
5,250
13.969298
0.162281
0.131868
0.228571
0.269388
0.83956
0.789639
0.740031
0.710518
0.710518
0.657143
0
0
0.31181
5,250
144
79
36.458333
0.881539
0
0
0.671533
0
0
0.363429
0.362857
0
0
0
0
0.043796
1
0.021898
false
0
0.014599
0
0.036496
0
0
0
1
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
03153f7cf1c50ca8cd8cf5e6dbf17444f5fb56d1
22,597
py
Python
tests/data_namespace_test.py
XD-embedded/xd-build-core
357e4d78d35456d6906aa30151ddc989781227ab
[ "MIT" ]
1
2020-11-27T23:34:53.000Z
2020-11-27T23:34:53.000Z
tests/data_namespace_test.py
XD-embedded/xd-build-core
357e4d78d35456d6906aa30151ddc989781227ab
[ "MIT" ]
6
2015-10-30T12:22:56.000Z
2016-08-25T09:38:48.000Z
tests/data_namespace_test.py
XD-embedded/xd-build-core
357e4d78d35456d6906aa30151ddc989781227ab
[ "MIT" ]
null
null
null
from xd.build.core.data.namespace import * from xd.build.core.data.expr import Expression from xd.build.core.data.string import String from xd.build.core.data.list import List from xd.build.core.data.dict import Dict from xd.build.core.data.func import Function from xd.build.core.data.num import * import unittest cla...
34.764615
78
0.538523
3,118
22,597
3.768121
0.033034
0.207337
0.134054
0.15014
0.919568
0.87999
0.822879
0.775555
0.716061
0.690952
0
0.01149
0.241227
22,597
649
79
34.818182
0.673743
0
0
0.630515
0
0
0.106563
0
0
0
0
0
0.207721
1
0.193015
false
0
0.014706
0.003676
0.213235
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0317d33db00641c8632076d25e16d90972c26ea2
82
py
Python
cmake-build-debug/devel/lib/python2.7/dist-packages/kinect2_tracker/msg/__init__.py
myboyhood/intention_recognize
30e2b7e4e8c8a5df59989500ff92a0b807cf15f2
[ "MIT" ]
null
null
null
cmake-build-debug/devel/lib/python2.7/dist-packages/kinect2_tracker/msg/__init__.py
myboyhood/intention_recognize
30e2b7e4e8c8a5df59989500ff92a0b807cf15f2
[ "MIT" ]
null
null
null
cmake-build-debug/devel/lib/python2.7/dist-packages/kinect2_tracker/msg/__init__.py
myboyhood/intention_recognize
30e2b7e4e8c8a5df59989500ff92a0b807cf15f2
[ "MIT" ]
null
null
null
from ._bounding_box import * from ._user_IDs import * from ._user_points import *
20.5
28
0.780488
12
82
4.833333
0.583333
0.344828
0.482759
0
0
0
0
0
0
0
0
0
0.146341
82
3
29
27.333333
0.828571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
0636d326475e08bd9d33f6ec4c15e278d333f1e5
4,554
py
Python
tests/core/test_tile_generator.py
virtualritz/tessagon
af1b1b12a6e92b226f76bfd616bde90d5e15b07c
[ "Apache-2.0" ]
199
2017-10-27T12:13:08.000Z
2022-03-24T09:54:48.000Z
tests/core/test_tile_generator.py
virtualritz/tessagon
af1b1b12a6e92b226f76bfd616bde90d5e15b07c
[ "Apache-2.0" ]
4
2018-03-23T03:15:37.000Z
2019-11-06T15:58:24.000Z
tests/core/test_tile_generator.py
virtualritz/tessagon
af1b1b12a6e92b226f76bfd616bde90d5e15b07c
[ "Apache-2.0" ]
20
2017-10-27T14:41:08.000Z
2021-12-28T10:12:59.000Z
from core_tests_base import CoreTestsBase, FakeTessagon, FakeTileSubClass from tessagon.core.tile_generator import TileGenerator class TestTileGenerator(CoreTestsBase): def test_non_cyclic(self): tessagon = FakeTessagon() tile_generator = TileGenerator(tessagon, ...
48.967742
78
0.572244
627
4,554
3.964912
0.070175
0.077233
0.193081
0.083669
0.933226
0.933226
0.933226
0.933226
0.933226
0.933226
0
0.051482
0.266359
4,554
92
79
49.5
0.692607
0
0
0.860759
0
0
0.031621
0
0
0
0
0
0.556962
1
0.050633
false
0
0.025316
0
0.088608
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
9
064ad9d1f980f75038d7cfdfdcbb95549772aa8a
92
py
Python
src/auth/__init__.py
MarkStefanovic/todo-api
fb6198511712df853e693787839533f0c9956178
[ "MIT" ]
null
null
null
src/auth/__init__.py
MarkStefanovic/todo-api
fb6198511712df853e693787839533f0c9956178
[ "MIT" ]
null
null
null
src/auth/__init__.py
MarkStefanovic/todo-api
fb6198511712df853e693787839533f0c9956178
[ "MIT" ]
null
null
null
from src.auth.adapter import * from src.auth.domain import * from src.auth.service import *
23
30
0.771739
15
92
4.733333
0.466667
0.295775
0.464789
0.478873
0
0
0
0
0
0
0
0
0.130435
92
3
31
30.666667
0.8875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
065a10f929ff09c5fb1f252b5c8f9281c467c8ab
13,477
py
Python
reinforcement_learning/tabular_RL/algorithms/td_zero.py
EliorBenYosef/reinforcement-learning
c694d07044e12c92e08ca8c2ef06b073ca1704d4
[ "MIT" ]
16
2019-09-01T14:12:45.000Z
2022-03-07T03:10:38.000Z
reinforcement_learning/tabular_RL/algorithms/td_zero.py
EliorBenYosef/reinforcement-learning
c694d07044e12c92e08ca8c2ef06b073ca1704d4
[ "MIT" ]
5
2020-11-13T19:08:40.000Z
2022-02-10T04:13:29.000Z
reinforcement_learning/tabular_RL/algorithms/td_zero.py
EliorBenYosef/reinforcement-learning
c694d07044e12c92e08ca8c2ef06b073ca1704d4
[ "MIT" ]
1
2022-03-07T03:10:39.000Z
2022-03-07T03:10:39.000Z
import numpy as np from gym import wrappers from reinforcement_learning.utils.utils import decrement_eps, EPS_DEC_LINEAR, pickle_save from reinforcement_learning.tabular_RL.utils import init_v, init_q, init_q1_q2, \ max_action_q, max_action_q1_q2, eps_greedy_q, eps_greedy_q1_q2, print_v class TD0PredictionModel:...
34.205584
119
0.549974
1,697
13,477
4.176193
0.08132
0.04346
0.036687
0.040214
0.851559
0.830394
0.816989
0.806124
0.789615
0.789615
0
0.01632
0.340729
13,477
393
120
34.292621
0.781317
0.034726
0
0.779923
0
0
0.036177
0
0
0
0
0
0
1
0.027027
false
0
0.015444
0
0.069498
0.073359
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0672274e210ffb823f4cb0faec6bba2fb13a9739
2,491
py
Python
008.py
ThomasB123/Project-Euler
ca6786513f210e79fe55417ed43797ffb24610af
[ "MIT" ]
null
null
null
008.py
ThomasB123/Project-Euler
ca6786513f210e79fe55417ed43797ffb24610af
[ "MIT" ]
null
null
null
008.py
ThomasB123/Project-Euler
ca6786513f210e79fe55417ed43797ffb24610af
[ "MIT" ]
null
null
null
# Largest product in a series ''' The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832. 73167176531330624919225119674426574742355349194934 96983520312774506326239578318016984801869478851843 85861560789112949495459501737958331952853208805511 1254069874715852386305071...
67.324324
1,011
0.934163
99
2,491
23.535354
0.606061
0.019313
0.013734
0.016309
0.051502
0.051502
0.051502
0.051502
0.051502
0.051502
0
0.85859
0.048976
2,491
37
1,012
67.324324
0.123681
0.523485
0
0
0
0
0.848176
0.848176
0
1
0
0
0
1
0
false
0
0
0
0
0.125
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
069dc6e8933ab9b9913ed9fdacb63aac7e39388b
3,830
py
Python
c4/test.py
duilio/c4
6dcde8316603192b0bc713d1bedb94290d123a9d
[ "MIT" ]
16
2016-03-19T16:34:58.000Z
2021-11-07T08:59:53.000Z
c4/test.py
duilio/c4
6dcde8316603192b0bc713d1bedb94290d123a9d
[ "MIT" ]
1
2017-08-27T10:18:39.000Z
2018-02-24T20:55:27.000Z
c4/test.py
duilio/c4
6dcde8316603192b0bc713d1bedb94290d123a9d
[ "MIT" ]
9
2017-02-23T23:14:17.000Z
2020-12-25T12:26:47.000Z
import unittest import numpy as np from c4.board import Board, PLAYER1 class TestBoard(unittest.TestCase): def test_end_diag_lr(self): b = Board(np.array([[1, 0, 0, 0, 0, 0, 0], [2, 1, 0, 0, 0, 0, 0], [2, 2, 1, 0, 0, 0, 0], ...
42.555556
58
0.232376
552
3,830
1.601449
0.04529
0.628959
0.848416
1.022624
0.864253
0.864253
0.806561
0.806561
0.806561
0.806561
0
0.28839
0.581723
3,830
89
59
43.033708
0.263421
0
0
0.871795
0
0
0
0
0
0
0
0
0.102564
1
0.025641
false
0
0.038462
0
0.076923
0
0
0
1
null
1
1
1
1
1
1
1
1
1
0
1
1
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
14
2347b9234fc5c7c0d69316595f595a34f0ab7e85
2,988
py
Python
app/test/test_s3.py
troydieter/aws-auto-cleanup
523bae5cc57b81d3a2f0d43c87b9f1ef5390e3a4
[ "MIT" ]
322
2019-04-15T01:59:57.000Z
2022-03-09T00:06:55.000Z
app/test/test_s3.py
troydieter/aws-auto-cleanup
523bae5cc57b81d3a2f0d43c87b9f1ef5390e3a4
[ "MIT" ]
70
2019-04-15T01:27:21.000Z
2022-03-02T00:39:29.000Z
app/test/test_s3.py
troydieter/aws-auto-cleanup
523bae5cc57b81d3a2f0d43c87b9f1ef5390e3a4
[ "MIT" ]
49
2019-04-15T06:36:42.000Z
2022-01-17T11:37:32.000Z
import datetime import logging import moto import pytest from .. import s3_cleanup class TestBucketsMoreThanTTL: @pytest.fixture def test_class(self): with moto.mock_s3(): whitelist = {} settings = { "general": {"dry_run": False}, "services": {...
28.730769
78
0.558568
297
2,988
5.424242
0.164983
0.139665
0.083799
0.094972
0.898821
0.898821
0.898821
0.898821
0.898821
0.898821
0
0.016699
0.318608
2,988
103
79
29.009709
0.774558
0.091031
0
0.75
0
0
0.085831
0
0
0
0
0
0.088235
1
0.088235
false
0
0.073529
0
0.205882
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
23568ef84806142d79d34cfa3458b41993b9107e
3,902
py
Python
python/researchDev/boot.py
jzadeh/aktaion
485488908e88212e615cd8bde04c6b1b63403cd0
[ "Apache-2.0" ]
112
2017-07-26T00:30:29.000Z
2021-11-09T14:02:12.000Z
python/researchDev/boot.py
jzadeh/aktaion
485488908e88212e615cd8bde04c6b1b63403cd0
[ "Apache-2.0" ]
null
null
null
python/researchDev/boot.py
jzadeh/aktaion
485488908e88212e615cd8bde04c6b1b63403cd0
[ "Apache-2.0" ]
38
2017-07-28T03:09:01.000Z
2021-05-07T03:21:32.000Z
import os def boot(): print print (' _____ _____ _____ _____ _____ _______ _____ ') print (' /\ \ /\ \ /\ \ /\ \ /...
121.9375
182
0.098155
48
3,902
4.458333
0.458333
0.981308
1.401869
1.775701
0.514019
0.514019
0.514019
0.514019
0.514019
0.514019
0
0.000617
0.584572
3,902
32
183
121.9375
0.1314
0.017171
0
0.076923
0
0.192308
0.924582
0.00548
0
0
0
0
0
1
0.038462
true
0
0.038462
0
0.076923
0.884615
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
9
88debece08c1e96c24b4f8a33cbf44d5d6611a9b
1,655
py
Python
Malaria-Cell-Analyzer/mysite/core/gen_dataset_completed.py
suryabranwal/Malaria-Cell-Analyzer
eadbad1e0b5a51eeeb43fa75367d8b4d9eabe033
[ "MIT" ]
1
2019-12-20T18:04:40.000Z
2019-12-20T18:04:40.000Z
Malaria-Cell-Analyzer/mysite/core/gen_dataset_completed.py
suryabranwal/Malaria-Cell-Analyzer
eadbad1e0b5a51eeeb43fa75367d8b4d9eabe033
[ "MIT" ]
null
null
null
Malaria-Cell-Analyzer/mysite/core/gen_dataset_completed.py
suryabranwal/Malaria-Cell-Analyzer
eadbad1e0b5a51eeeb43fa75367d8b4d9eabe033
[ "MIT" ]
1
2019-11-26T14:06:03.000Z
2019-11-26T14:06:03.000Z
import cv2, os import numpy as np import csv import glob label = "Parasitized" dirList = glob.glob("cell_images/" + label + "/*.png") file = open("csv/dataset.csv", "a") for img_path in dirList: im = cv2.imread(img_path) im = cv2.GaussianBlur(im, (5, 5), 2) im_gray = cv2.cvtColor(im, cv2.COLOR_BGR2GRAY...
18.388889
63
0.575227
228
1,655
4.096491
0.263158
0.115632
0.03212
0.040685
0.914347
0.914347
0.914347
0.914347
0.841542
0.841542
0
0.062706
0.267674
1,655
89
64
18.595506
0.707921
0.041088
0
0.857143
0
0
0.062857
0
0
0
0
0
0
1
0
false
0
0.081633
0
0.081633
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
88eac0a7976441ef42ccc1c8a624876cda4f745b
7,908
py
Python
sims/ch4-effective-g1-duration/run-well-mixed-effective-g1-duration.py
ThomasPak/cell-competition
bb058d67e297d95c4c8ff2a0aea5b1fe5a82be09
[ "BSD-3-Clause" ]
null
null
null
sims/ch4-effective-g1-duration/run-well-mixed-effective-g1-duration.py
ThomasPak/cell-competition
bb058d67e297d95c4c8ff2a0aea5b1fe5a82be09
[ "BSD-3-Clause" ]
null
null
null
sims/ch4-effective-g1-duration/run-well-mixed-effective-g1-duration.py
ThomasPak/cell-competition
bb058d67e297d95c4c8ff2a0aea5b1fe5a82be09
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import pandas as pd from scipy.stats import expon, uniform import sys sys.path.append('../../well_mixed') from well_mixed_death_clock import (WellMixedSimulator, WellMixedSimulationData, exponential_ccm, uniform_ccm, base_rate_death_signal) # Exponential cell cycle model tG1 = 50 tG2 = 50 ...
31.759036
88
0.682473
1,106
7,908
4.517179
0.136528
0.054043
0.032026
0.036029
0.818255
0.818255
0.818255
0.798839
0.78703
0.753002
0
0.021108
0.233182
7,908
248
89
31.887097
0.80277
0.146813
0
0.731707
0
0
0.053478
0.019067
0
0
0
0
0
1
0.012195
false
0
0.030488
0
0.054878
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
002d0e1349cf357ca18a823230bd151a88d70277
70,946
py
Python
stackchat/parse/html/transcript_day_test.py
jeremybanks/ChatExchange
e350de944d0f221a9b2afc545bf60ae309e402b6
[ "Apache-2.0" ]
3
2017-12-27T02:40:06.000Z
2018-04-21T00:28:31.000Z
stackchat/parse/html/transcript_day_test.py
jeremybanks/ChatExchange
e350de944d0f221a9b2afc545bf60ae309e402b6
[ "Apache-2.0" ]
1
2017-12-11T22:45:13.000Z
2020-09-04T17:49:41.000Z
stackchat/parse/html/transcript_day_test.py
jeremybanks/ChatExchange
e350de944d0f221a9b2afc545bf60ae309e402b6
[ "Apache-2.0" ]
1
2018-05-08T22:17:58.000Z
2018-05-08T22:17:58.000Z
from .transcript_day import * def test(): parsed = TranscriptDay(EXAMPLE_DATA) print(parsed) assert parsed.room_id == 11540 assert parsed.room_name == "Charcoal HQ" assert parsed.first_day == datetime.date(2013, 11, 16) assert parsed.previous_day == datetime.date(2017, 11, 16) assert pa...
43.956629
2,383
0.536746
8,370
70,946
4.54767
0.088172
0.0971
0.06849
0.040458
0.791798
0.76353
0.722362
0.706888
0.683113
0.664775
0
0.099848
0.28626
70,946
1,613
2,384
43.983881
0.651855
0
0
0.729941
0
0.208415
0.990359
0.330477
0
0
0
0
0.010763
1
0.000978
false
0
0.000978
0
0.001957
0.009785
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
003db226f92b023c219ed5b17f0367bc583465db
124,728
py
Python
ros_bt_py/test/unittest/test_tree_manager.py
fzi-forschungszentrum-informatik/ros_bt_py
ed65e2b2f0a03411101f455c0ab38401ba50bada
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
4
2022-03-11T14:30:43.000Z
2022-03-31T07:21:35.000Z
ros_bt_py/test/unittest/test_tree_manager.py
fzi-forschungszentrum-informatik/ros_bt_py
ed65e2b2f0a03411101f455c0ab38401ba50bada
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
ros_bt_py/test/unittest/test_tree_manager.py
fzi-forschungszentrum-informatik/ros_bt_py
ed65e2b2f0a03411101f455c0ab38401ba50bada
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# -------- BEGIN LICENSE BLOCK -------- # Copyright 2022 FZI Forschungszentrum Informatik # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright # n...
43.113723
99
0.641372
13,171
124,728
5.828031
0.052692
0.07552
0.044072
0.062219
0.817967
0.797423
0.782207
0.760829
0.740102
0.71126
0
0.003143
0.267919
124,728
2,892
100
43.128631
0.837511
0.057164
0
0.740161
0
0
0.053806
0.018114
0
0
0
0.000346
0.230441
1
0.069227
false
0.034139
0.008535
0.00569
0.089142
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
cc646705f21a4dc7ee92c166bbcc05bcef77bd7a
2,524
py
Python
step_7_generate_pr_bins.py
byuccl/fiate
318f634badd69f241091277ead59d7ead64ee6aa
[ "Apache-2.0" ]
1
2021-05-12T09:42:14.000Z
2021-05-12T09:42:14.000Z
step_7_generate_pr_bins.py
byuccl/fiate
318f634badd69f241091277ead59d7ead64ee6aa
[ "Apache-2.0" ]
null
null
null
step_7_generate_pr_bins.py
byuccl/fiate
318f634badd69f241091277ead59d7ead64ee6aa
[ "Apache-2.0" ]
3
2021-04-19T19:36:06.000Z
2021-08-17T01:46:23.000Z
from lib import * generate_bins("./bld/bits/vex_pb0_partial.bit","./bld/bins/vex_pb0.bin",0x8D) generate_bins("./bld/bits/vex_pb1_partial.bit","./bld/bins/vex_pb1.bin",0x8D) generate_bins("./bld/bits/vex_pb2_partial.bit","./bld/bins/vex_pb2.bin",0x8D) generate_bins("./bld/bits/vex_tmr_pb0_partial.bit","./bld/bins/vex...
60.095238
89
0.768225
453
2,524
3.949227
0.04415
0.20123
0.251537
0.318614
0.987144
0.974846
0.577418
0.575741
0
0
0
0.048387
0.017433
2,524
42
90
60.095238
0.672984
0
0
0
1
0
0.679604
0.679604
0
0
0.047525
0
0
1
0
true
0
0.032258
0
0.032258
0
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
9
4e0fdb2ce2d3bb69607900f9e65b83e79e178cdd
201
py
Python
data_loader/__init__.py
kunato/style_swap_tensorflow
ab136c20fa5351852f1f4c986bed5b25eee3b890
[ "Apache-2.0" ]
null
null
null
data_loader/__init__.py
kunato/style_swap_tensorflow
ab136c20fa5351852f1f4c986bed5b25eee3b890
[ "Apache-2.0" ]
null
null
null
data_loader/__init__.py
kunato/style_swap_tensorflow
ab136c20fa5351852f1f4c986bed5b25eee3b890
[ "Apache-2.0" ]
null
null
null
# data_loader # __init__.py from data_loader.image_data_loader import ImageDataLoader from data_loader.coco_data_loader import COCODataLoader from data_loader.tf_example_loader import TFExampleLoader
28.714286
57
0.885572
28
201
5.857143
0.464286
0.365854
0.256098
0
0
0
0
0
0
0
0
0
0.084577
201
6
58
33.5
0.891304
0.114428
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
9d68975702955b40381a81581441db52c47f67ab
43
py
Python
src/network/__init__.py
ThomasRanvier/faces_recognition_nn
b9177134169b6e05d9d9b6ea3206628bdb127a5e
[ "MIT" ]
null
null
null
src/network/__init__.py
ThomasRanvier/faces_recognition_nn
b9177134169b6e05d9d9b6ea3206628bdb127a5e
[ "MIT" ]
null
null
null
src/network/__init__.py
ThomasRanvier/faces_recognition_nn
b9177134169b6e05d9d9b6ea3206628bdb127a5e
[ "MIT" ]
null
null
null
from .neural_network import Neural_network
21.5
42
0.883721
6
43
6
0.666667
0.722222
0
0
0
0
0
0
0
0
0
0
0.093023
43
1
43
43
0.923077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
9daf2e07854e8ace58237146dcb7ca501dc5a1ae
111
py
Python
odata_query/django/__init__.py
itd-fsc/odata-query
7d5239b775633594ce52d4eda5754c2ad078eb75
[ "MIT" ]
26
2021-06-11T07:42:08.000Z
2022-02-16T04:42:45.000Z
odata_query/django/__init__.py
itd-fsc/odata-query
7d5239b775633594ce52d4eda5754c2ad078eb75
[ "MIT" ]
13
2021-08-07T21:38:22.000Z
2022-03-28T17:25:47.000Z
odata_query/django/__init__.py
itd-fsc/odata-query
7d5239b775633594ce52d4eda5754c2ad078eb75
[ "MIT" ]
6
2021-07-28T04:46:14.000Z
2022-03-15T08:22:19.000Z
from .django_q import AstToDjangoQVisitor from .django_q_ext import * from .shorthand import apply_odata_query
27.75
41
0.855856
16
111
5.625
0.625
0.222222
0.244444
0
0
0
0
0
0
0
0
0
0.108108
111
3
42
37
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
d1c48b5c347d67ffd046cdeddd8592dec9342813
1,926
py
Python
tests/unit_tests/crud/test_base.py
Georgi2704/vidpit-authentication
521505a3b4e77db512227688558dab5605822626
[ "Apache-2.0" ]
16
2021-06-08T05:47:59.000Z
2022-01-29T22:39:16.000Z
tests/unit_tests/crud/test_base.py
Georgi2704/vidpit-authentication
521505a3b4e77db512227688558dab5605822626
[ "Apache-2.0" ]
6
2021-09-30T14:45:37.000Z
2022-01-28T13:27:00.000Z
tests/unit_tests/crud/test_base.py
Georgi2704/vidpit-authentication
521505a3b4e77db512227688558dab5605822626
[ "Apache-2.0" ]
3
2021-06-24T14:13:36.000Z
2022-01-29T22:39:32.000Z
from server import crud def test_filter(product_1, product_2): result, content_range = crud.product_crud.get_multi(filter_parameters=["name:duct 1"], sort_parameters=[]) assert len(result) == 1 assert content_range == "products 0-100/1" # Will not filter but return all results result, content_ran...
39.306122
114
0.711838
266
1,926
4.951128
0.180451
0.145786
0.109339
0.133637
0.873956
0.863326
0.813212
0.813212
0.813212
0.813212
0
0.037888
0.164071
1,926
48
115
40.125
0.780124
0.094496
0
0.6
0
0
0.133487
0
0
0
0
0
0.633333
1
0.066667
false
0
0.033333
0
0.1
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
d1d7dba700dc5f0d195179566af837041f1113d5
13,432
py
Python
dynaphopy/analysis/fitting/fitting_functions.py
faradaymahe/DynaPhopy
8519ff616386651acf71166bee02c1a2aef89312
[ "MIT" ]
76
2015-02-24T02:55:09.000Z
2022-03-31T09:38:09.000Z
dynaphopy/analysis/fitting/fitting_functions.py
jianskerh/DynaPhoPy
e1201f6de62b4303c68a7808ed19175364409586
[ "MIT" ]
14
2017-07-21T12:37:28.000Z
2021-09-15T08:50:55.000Z
dynaphopy/analysis/fitting/fitting_functions.py
jianskerh/DynaPhoPy
e1201f6de62b4303c68a7808ed19175364409586
[ "MIT" ]
38
2015-07-02T01:17:27.000Z
2022-03-25T14:24:33.000Z
import numpy as np from scipy.optimize import curve_fit, minimize_scalar h_planck = 4.135667662e-3 # eV/ps h_planck_bar = 6.58211951e-4 # eV/ps kb_boltzmann = 8.6173324e-5 # eV/K def get_standard_errors_from_covariance(covariance): # return np.linalg.eigvals(covariance) return np.sqrt(np.diag(covariance)) ...
34.979167
112
0.542064
1,441
13,432
4.748092
0.098543
0.084186
0.073078
0.073663
0.841421
0.826367
0.822567
0.815405
0.803712
0.791289
0
0.014899
0.375372
13,432
383
113
35.070496
0.800596
0.089413
0
0.829876
0
0
0.029887
0
0
0
0
0
0
1
0.091286
false
0
0.024896
0.020747
0.224066
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d1e715c85a2185a84c7545eb4958d65bd238b0ac
20,031
py
Python
dsi/tests/test_multi_analysis.py
mongodb/dsi
8cfc845156561d698fb01da93464392caca40644
[ "Apache-2.0" ]
9
2020-05-19T21:39:44.000Z
2022-02-11T10:03:36.000Z
dsi/tests/test_multi_analysis.py
mongodb/dsi
8cfc845156561d698fb01da93464392caca40644
[ "Apache-2.0" ]
1
2021-03-25T23:37:22.000Z
2021-03-25T23:37:22.000Z
dsi/tests/test_multi_analysis.py
mongodb/dsi
8cfc845156561d698fb01da93464392caca40644
[ "Apache-2.0" ]
3
2020-03-05T10:49:10.000Z
2021-03-02T11:15:45.000Z
"""Unit tests for util/multi_analysis.py""" import os import unittest from dsi.multi_analysis import MultiEvergreenAnalysis, main from test_lib.fixture_files import FixtureFiles from test_lib.test_requests_parent import TestRequestsParent FIXTURE_FILES = FixtureFiles() class TestMultiEvergreenAnalysis(TestRequest...
45.421769
97
0.403924
1,507
20,031
5.086264
0.135368
0.032877
0.061057
0.046967
0.760861
0.753294
0.748598
0.739726
0.739726
0.734508
0
0.318849
0.493335
20,031
440
98
45.525
0.436398
0.022565
0
0.667476
0
0
0.171293
0.032364
0
0
0
0
0.014563
1
0.014563
false
0
0.012136
0
0.029126
0.002427
0
0
0
null
0
0
0
0
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ae149f58a8d124a1863b191cb6116f6a91fb3bc3
5,110
py
Python
test/test_package.py
TheJacksonLaboratory/chia_rep
fe774259bfa3a045cc5189c61110a07c8f5eaa26
[ "MIT" ]
1
2019-09-14T02:44:40.000Z
2019-09-14T02:44:40.000Z
test/test_package.py
TheJacksonLaboratory/chia_rep
fe774259bfa3a045cc5189c61110a07c8f5eaa26
[ "MIT" ]
null
null
null
test/test_package.py
TheJacksonLaboratory/chia_rep
fe774259bfa3a045cc5189c61110a07c8f5eaa26
[ "MIT" ]
1
2021-07-10T12:00:05.000Z
2021-07-10T12:00:05.000Z
import sys import os import shutil sys.path.append('.') import chia_rep def test_filter_peaks(): sample_dict = chia_rep.read_data('test/sample_input_file.txt', 'test/test_files/hg38.chrom.sizes', output_dir='test/output') for sample in...
39.921875
79
0.626027
652
5,110
4.73773
0.102761
0.139204
0.124312
0.186468
0.910327
0.910327
0.910327
0.87763
0.87763
0.87763
0
0.022733
0.242466
5,110
127
80
40.23622
0.775252
0.027006
0
0.810526
0
0
0.384461
0.343398
0
0
0
0
0.347368
1
0.031579
false
0
0.042105
0
0.073684
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
ae6515732de013312213bbfb2e08738b394327ad
139
py
Python
nlpatl/sampling/clustering/__init__.py
dumpmemory/nlpatl
59209242d1ac26714b11b86261070ac50cc90432
[ "MIT" ]
18
2021-11-29T06:43:46.000Z
2022-03-29T09:58:32.000Z
nlpatl/sampling/clustering/__init__.py
dumpmemory/nlpatl
59209242d1ac26714b11b86261070ac50cc90432
[ "MIT" ]
null
null
null
nlpatl/sampling/clustering/__init__.py
dumpmemory/nlpatl
59209242d1ac26714b11b86261070ac50cc90432
[ "MIT" ]
1
2021-11-29T06:43:47.000Z
2021-11-29T06:43:47.000Z
from nlpatl.sampling.clustering.nearest_mean import NearestMeanSampling from nlpatl.sampling.clustering.farthest import FarthestSampling
46.333333
72
0.884892
15
139
8.133333
0.666667
0.163934
0.295082
0.459016
0
0
0
0
0
0
0
0
0.071942
139
2
73
69.5
0.945736
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
88203bc1014682e00a112fd76476f7cca8c80dfe
6,825
py
Python
module4-acid-and-database-scalability-tradeoffs/titanic_queries.py
imdeja/DS-Unit-3-Sprint-2-SQL-and-Databases
100546c4c8acdecd3361661705f373a2bcd3e7c9
[ "MIT" ]
null
null
null
module4-acid-and-database-scalability-tradeoffs/titanic_queries.py
imdeja/DS-Unit-3-Sprint-2-SQL-and-Databases
100546c4c8acdecd3361661705f373a2bcd3e7c9
[ "MIT" ]
null
null
null
module4-acid-and-database-scalability-tradeoffs/titanic_queries.py
imdeja/DS-Unit-3-Sprint-2-SQL-and-Databases
100546c4c8acdecd3361661705f373a2bcd3e7c9
[ "MIT" ]
null
null
null
import os from dotenv import load_dotenv import pandas as pd import psycopg2 from psycopg2.extras import execute_values import json import numpy as np load_dotenv() DB_NAME = os.getenv("DB_NAME") DB_USER = os.getenv("DB_USER") DB_PASSWORD = os.getenv("DB_PASSWORD") DB_HOST= os.getenv("DB_HOST") conn = psycopg2.con...
42.12963
89
0.74989
1,082
6,825
4.682994
0.109057
0.088415
0.088415
0.119992
0.808763
0.794553
0.789224
0.758832
0.746596
0.696862
0
0.022474
0.132894
6,825
162
90
42.12963
0.833728
0.111502
0
0.401408
0
0
0.546356
0.036358
0
0
0
0
0
1
0
false
0.422535
0.049296
0
0.049296
0.225352
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
889e61707ed575e870d03501921a624e597540da
158
py
Python
RecPatrones/__init__.py
riemannruiz/MediaMovil
282cf498551671f97436bff563c8b1a5c2dbf4ad
[ "MIT" ]
null
null
null
RecPatrones/__init__.py
riemannruiz/MediaMovil
282cf498551671f97436bff563c8b1a5c2dbf4ad
[ "MIT" ]
1
2019-03-21T21:16:00.000Z
2019-03-21T21:16:00.000Z
RecPatrones/__init__.py
riemannruiz/MediaMovil
282cf498551671f97436bff563c8b1a5c2dbf4ad
[ "MIT" ]
3
2019-03-20T22:43:36.000Z
2019-03-27T19:16:38.000Z
from Simulacion import Optimizacion from Simulacion import Graficos from Simulacion import Genetico from Simulacion import Model_close from mylib import mylib
31.6
35
0.879747
21
158
6.571429
0.428571
0.405797
0.57971
0
0
0
0
0
0
0
0
0
0.120253
158
5
36
31.6
0.992806
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
88b1bbc1e2f422bb622061ec6f6d2f4ceb966b0b
22,360
bzl
Python
third_party/boringssl-with-bazel/BUILD.generated_tests.bzl
miyachu/grpc
a06ea3c3162c10ff90a1578bf82bbbff95dc799d
[ "BSD-3-Clause" ]
91
2018-11-24T05:33:58.000Z
2022-03-16T05:58:05.000Z
third_party/boringssl-with-bazel/BUILD.generated_tests.bzl
miyachu/grpc
a06ea3c3162c10ff90a1578bf82bbbff95dc799d
[ "BSD-3-Clause" ]
11
2019-06-02T23:50:17.000Z
2022-02-04T23:58:56.000Z
third_party/boringssl-with-bazel/BUILD.generated_tests.bzl
miyachu/grpc
a06ea3c3162c10ff90a1578bf82bbbff95dc799d
[ "BSD-3-Clause" ]
18
2018-11-24T10:35:29.000Z
2021-04-22T07:22:10.000Z
# This file is created by generate_build_files.py. Do not edit manually. test_support_sources = [ "src/crypto/aes/internal.h", "src/crypto/asn1/asn1_locl.h", "src/crypto/bio/internal.h", "src/crypto/bn/internal.h", "src/crypto/bn/rsaz_exp.h", "src/crypto/bytestring/internal.h", "src/crypto/...
29.228758
91
0.590474
2,690
22,360
4.61487
0.046468
0.115273
0.094248
0.082488
0.900918
0.881908
0.816739
0.777751
0.734654
0.675447
0
0.03341
0.257066
22,360
764
92
29.267016
0.713882
0.003131
0
0.573066
1
0
0.432834
0.375942
0
0
0
0
0
1
0.001433
false
0
0
0
0.001433
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ee24a2a2d1d21059fb919ebc02526d5846c7d278
303
py
Python
ivory/layers/__init__.py
daizutabi/scratch
4c56fad47da0938eda89f3c2b6cb2f1919bee180
[ "MIT" ]
null
null
null
ivory/layers/__init__.py
daizutabi/scratch
4c56fad47da0938eda89f3c2b6cb2f1919bee180
[ "MIT" ]
null
null
null
ivory/layers/__init__.py
daizutabi/scratch
4c56fad47da0938eda89f3c2b6cb2f1919bee180
[ "MIT" ]
null
null
null
from ivory.layers import (activation, affine, convolution, core, dropout, embedding, loss, normalization, recurrent) __all__ = [ "activation", "affine", "convolution", "core", "dropout", "embedding", "loss", "normalization", "recurrent", ]
20.2
73
0.574257
23
303
7.391304
0.608696
0.188235
0.317647
0.364706
0.858824
0.858824
0.858824
0.858824
0.858824
0
0
0
0.290429
303
14
74
21.642857
0.790698
0
0
0
0
0
0.240924
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0
1
0
0
null
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
ee3b8a11298be38df1b9a7e27b57f8559c0985a3
60
py
Python
app/tests/__init__.py
victorlomi/News-Catchup
214b4e92b0cf90c7e4906c3b2316578918645dac
[ "Unlicense" ]
null
null
null
app/tests/__init__.py
victorlomi/News-Catchup
214b4e92b0cf90c7e4906c3b2316578918645dac
[ "Unlicense" ]
null
null
null
app/tests/__init__.py
victorlomi/News-Catchup
214b4e92b0cf90c7e4906c3b2316578918645dac
[ "Unlicense" ]
null
null
null
from tests import test_article from tests import test_source
30
30
0.883333
10
60
5.1
0.6
0.352941
0.588235
0.745098
0
0
0
0
0
0
0
0
0.116667
60
2
31
30
0.962264
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
c9ce4ccacd1980f9dcbf0a2c852bfa9e74a3ad5a
4,420
py
Python
config.py
NYU-DICE-Lab/graph_invnet
166db79ac9ab3bff0e67ab0ec978da7efea042e2
[ "MIT" ]
null
null
null
config.py
NYU-DICE-Lab/graph_invnet
166db79ac9ab3bff0e67ab0ec978da7efea042e2
[ "MIT" ]
4
2021-06-08T23:01:47.000Z
2022-03-12T00:53:53.000Z
config.py
NYU-DICE-Lab/graph_invnet
166db79ac9ab3bff0e67ab0ec978da7efea042e2
[ "MIT" ]
null
null
null
""" Config class for training the InvNet """ import argparse from dp_layer.graph_layer.edge_functions import edge_f_dict as d def get_parser(name): """ :param name: String for Config Name :return: parser """ parser = argparse.ArgumentParser(name, formatter_class=argparse.ArgumentDefaultsHelpFo...
53.253012
122
0.682579
561
4,420
5.174688
0.231729
0.120909
0.228384
0.036169
0.851188
0.845332
0.826042
0.826042
0.826042
0.791595
0
0.01427
0.175566
4,420
82
123
53.902439
0.782382
0.01991
0
0.671875
0
0
0.294377
0.007203
0
0
0
0
0
1
0.078125
false
0
0.03125
0
0.1875
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
c9e940d8a93717c521e40ddaeecaaa28cbc83b2f
403
py
Python
rllib/examples/gpu_test.py
anaskn/ray
81db5f8060cb093085470ffdc71d8fdecc7bf381
[ "Apache-2.0" ]
null
null
null
rllib/examples/gpu_test.py
anaskn/ray
81db5f8060cb093085470ffdc71d8fdecc7bf381
[ "Apache-2.0" ]
null
null
null
rllib/examples/gpu_test.py
anaskn/ray
81db5f8060cb093085470ffdc71d8fdecc7bf381
[ "Apache-2.0" ]
1
2021-05-20T22:00:15.000Z
2021-05-20T22:00:15.000Z
import os import ray from ray import tune @ray.remote(num_gpus=1) def use_gpu(): print("ray.get_gpu_ids(): {}".format(ray.get_gpu_ids())) print("CUDA_VISIBLE_DEVICES: {}".format(os.environ["CUDA_VISIBLE_DEVICES"])) if __name__ == "__main__": ray.init() print("ray.get_gpu_ids(): {}".format(ray.get_gpu_ids(...
25.1875
80
0.707196
61
403
4.245902
0.393443
0.092664
0.138996
0.185328
0.702703
0.702703
0.702703
0.702703
0.702703
0.702703
0
0.002747
0.096774
403
15
81
26.866667
0.708791
0.188586
0
0.2
0
0
0.288344
0.064417
0
0
0
0
0
1
0.1
true
0
0.3
0
0.4
0.3
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
4e85a767dc1a77745686895d8e0fa92531e23594
210
py
Python
bolinette/defaults/__init__.py
bolinette/bolinette
b35a7d828c7d9617da6a8d7ac066e3b675a65252
[ "MIT" ]
4
2020-11-02T15:16:32.000Z
2022-01-11T11:19:24.000Z
bolinette/defaults/__init__.py
bolinette/bolinette
b35a7d828c7d9617da6a8d7ac066e3b675a65252
[ "MIT" ]
14
2021-01-04T11:06:59.000Z
2022-03-23T17:01:49.000Z
bolinette/defaults/__init__.py
bolinette/bolinette
b35a7d828c7d9617da6a8d7ac066e3b675a65252
[ "MIT" ]
null
null
null
import bolinette.defaults.models import bolinette.defaults.mixins import bolinette.defaults.services import bolinette.defaults.middlewares import bolinette.defaults.controllers import bolinette.defaults.topics
30
37
0.885714
24
210
7.75
0.375
0.483871
0.741935
0
0
0
0
0
0
0
0
0
0.057143
210
6
38
35
0.939394
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
0952e905288174cbfdd1f35d6dcc51f31902d2fc
104
py
Python
janus/qm_wrapper/__init__.py
zhenglz/janus
f3f1ed3f2b6e377c51e958cae2d919069d221eda
[ "BSD-3-Clause" ]
16
2019-04-18T15:45:02.000Z
2021-12-17T17:51:18.000Z
janus/qm_wrapper/__init__.py
zhenglz/janus
f3f1ed3f2b6e377c51e958cae2d919069d221eda
[ "BSD-3-Clause" ]
2
2019-06-20T16:56:08.000Z
2020-08-28T16:09:16.000Z
janus/qm_wrapper/__init__.py
zhenglz/janus
f3f1ed3f2b6e377c51e958cae2d919069d221eda
[ "BSD-3-Clause" ]
8
2018-11-16T17:00:58.000Z
2022-01-11T05:36:50.000Z
from janus.qm_wrapper.qm_wrapper import QMWrapper from janus.qm_wrapper.psi4_wrapper import Psi4Wrapper
34.666667
53
0.884615
16
104
5.5
0.5
0.306818
0.25
0.409091
0
0
0
0
0
0
0
0.020833
0.076923
104
2
54
52
0.895833
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
117ccff29d39a8a303a7911cf64c178e84256843
681
py
Python
tests/test_provider_unicell_kind.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
tests/test_provider_unicell_kind.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
tests/test_provider_unicell_kind.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# tests/test_provider_unicell_kind.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:20:21 UTC) def test_provider_import(): import terrascript.provider.unicell.kind def test_resource_import(): from terrascript.resource.unicell.kind import kind_cluster # TODO: Shortcut imports without names...
27.24
80
0.737151
96
681
5.114583
0.59375
0.112016
0.154786
0.183299
0.14664
0
0
0
0
0
0
0.027972
0.160059
681
24
81
28.375
0.83042
0.709251
0
0
1
0
0
0
0
0
0
0.041667
0
1
0.5
true
0
1
0
1.5
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
1
0
0
0
null
0
0
1
0
0
1
1
0
1
0
1
0
0
7