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
538b05195aa3c62cda3499af221928cc57bfb7bb
1,423
py
Python
alipay/aop/api/domain/KbAdvertSettleBillResponse.py
snowxmas/alipay-sdk-python-all
96870ced60facd96c5bce18d19371720cbda3317
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/domain/KbAdvertSettleBillResponse.py
snowxmas/alipay-sdk-python-all
96870ced60facd96c5bce18d19371720cbda3317
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/domain/KbAdvertSettleBillResponse.py
snowxmas/alipay-sdk-python-all
96870ced60facd96c5bce18d19371720cbda3317
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class KbAdvertSettleBillResponse(object): def __init__(self): self._download_url = None self._paid_date = None @property def download_url(self): return self._download_u...
25.410714
75
0.599438
174
1,423
4.603448
0.235632
0.205993
0.131086
0.044944
0.248439
0.238452
0
0
0
0
0
0.00101
0.304287
1,423
55
76
25.872727
0.808081
0.029515
0
0.097561
0
0
0.081336
0
0
0
0
0
0
1
0.170732
false
0
0.04878
0.04878
0.365854
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
538b8d9cb91e4b908b2574c10cefedcf90ea344f
6,356
py
Python
day5.py
PLCoster/adventofcode2019
7aad1503dcf80b127b21191850ad9c93f91a602a
[ "MIT" ]
1
2019-12-09T21:26:22.000Z
2019-12-09T21:26:22.000Z
day5.py
PLCoster/adventofcode2019
7aad1503dcf80b127b21191850ad9c93f91a602a
[ "MIT" ]
null
null
null
day5.py
PLCoster/adventofcode2019
7aad1503dcf80b127b21191850ad9c93f91a602a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Dec 2 11:06:59 2019 @author: Paul """ def read_data(filename): """ Reads csv file into a list, and converts to ints """ data = [] f = open(filename, 'r') for line in f: data += line.strip('\n').split(',') ...
34.73224
92
0.522498
938
6,356
3.506397
0.221748
0.024324
0.027364
0.018243
0.378535
0.364853
0.343569
0.297355
0.297355
0.297355
0
0.105316
0.369572
6,356
182
93
34.923077
0.715498
0.512429
0
0.358974
0
0
0.048188
0
0
0
0
0
0
1
0.025641
false
0
0
0
0.051282
0.064103
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
538bf59cdb6e50d49c8fe6d1f6a72767b79df904
3,333
py
Python
textvis/textprizm/models.py
scclab/textvisdrg-prototype
e912e4441b0e42e0f6c477edd03227b93b8ace73
[ "MIT" ]
null
null
null
textvis/textprizm/models.py
scclab/textvisdrg-prototype
e912e4441b0e42e0f6c477edd03227b93b8ace73
[ "MIT" ]
null
null
null
textvis/textprizm/models.py
scclab/textvisdrg-prototype
e912e4441b0e42e0f6c477edd03227b93b8ace73
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Schema(models.Model): name = models.CharField(max_length=200) description = models.TextField() class Code(models.Model): name = models.CharField(max_length=200) description = models.TextField() active_instances = models.Posit...
28.245763
101
0.659166
392
3,333
5.461735
0.27551
0.041102
0.058851
0.078468
0.256889
0.229799
0.229799
0.122373
0.063522
0.063522
0
0.009005
0.233723
3,333
117
102
28.487179
0.829287
0.073507
0
0.263158
0
0
0.020013
0
0
0
0
0
0
1
0.105263
false
0
0.013158
0.078947
0.776316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
538cf8a863a1cdd537656657d4741a5309d4d759
8,079
py
Python
test/test_purchasing.py
jacob22/accounting
e2fceea880e3f056703ba97b6cf52b73cd7af93b
[ "Apache-2.0" ]
null
null
null
test/test_purchasing.py
jacob22/accounting
e2fceea880e3f056703ba97b6cf52b73cd7af93b
[ "Apache-2.0" ]
null
null
null
test/test_purchasing.py
jacob22/accounting
e2fceea880e3f056703ba97b6cf52b73cd7af93b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2019 Open End AB # # 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 o...
39.409756
89
0.564179
868
8,079
5.163594
0.300691
0.026104
0.042169
0.024543
0.510933
0.421464
0.403614
0.376841
0.296073
0.231147
0
0.034464
0.317614
8,079
204
90
39.602941
0.778523
0.112143
0
0.344156
0
0
0.116305
0.03233
0
0
0
0
0.045455
1
0.058442
false
0
0.084416
0
0.168831
0.019481
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
538d31ed98e59299719777fcb1330ca052cef24d
1,455
py
Python
iot/downstream/fog_processes.py
SENERGY-Platform/senergy-connector
7198f6b2ec08b3c09c53755f259a2711921fdcbe
[ "Apache-2.0" ]
null
null
null
iot/downstream/fog_processes.py
SENERGY-Platform/senergy-connector
7198f6b2ec08b3c09c53755f259a2711921fdcbe
[ "Apache-2.0" ]
null
null
null
iot/downstream/fog_processes.py
SENERGY-Platform/senergy-connector
7198f6b2ec08b3c09c53755f259a2711921fdcbe
[ "Apache-2.0" ]
null
null
null
""" Copyright 2020 InfAI (CC SES) 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...
31.630435
96
0.648797
186
1,455
4.88172
0.580645
0.066079
0.028634
0.035242
0
0
0
0
0
0
0
0.00932
0.262543
1,455
45
97
32.333333
0.836906
0.380756
0
0
0
0
0.049826
0.035921
0
0
0
0
0
1
0.090909
false
0
0.136364
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
538d3918006c09254385e7ece91e4c11554aa399
462
py
Python
django_project/user_profile/migrations/0003_order_payment_method.py
aliyaandabekova/DJANGO_PROJECT
7b94f80fa56acf936da014aa5d91da79457bf4eb
[ "MIT" ]
null
null
null
django_project/user_profile/migrations/0003_order_payment_method.py
aliyaandabekova/DJANGO_PROJECT
7b94f80fa56acf936da014aa5d91da79457bf4eb
[ "MIT" ]
null
null
null
django_project/user_profile/migrations/0003_order_payment_method.py
aliyaandabekova/DJANGO_PROJECT
7b94f80fa56acf936da014aa5d91da79457bf4eb
[ "MIT" ]
null
null
null
# Generated by Django 3.2.3 on 2021-05-27 13:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user_profile', '0002_auto_20210526_1747'), ] operations = [ migrations.AddField( model_name='order', name='payment_m...
24.315789
116
0.603896
51
462
5.333333
0.803922
0
0
0
0
0
0
0
0
0
0
0.095376
0.251082
462
18
117
25.666667
0.690751
0.097403
0
0
1
0
0.187952
0.055422
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
538daa45b22d9013e84ef526505b8753b513ae7f
2,522
py
Python
day07/test.py
mpirnat/aoc2016
1aec59aca01541d0d1c30f85d4668959c82fa35c
[ "MIT" ]
null
null
null
day07/test.py
mpirnat/aoc2016
1aec59aca01541d0d1c30f85d4668959c82fa35c
[ "MIT" ]
null
null
null
day07/test.py
mpirnat/aoc2016
1aec59aca01541d0d1c30f85d4668959c82fa35c
[ "MIT" ]
null
null
null
#!/usr/bin/env python import unittest from day07 import has_abba, get_abba_allowed_strings, get_abba_disallowed_strings from day07 import supports_tls, count_tls_addresses from day07 import find_abas, supports_ssl, count_ssl_addresses class TestFindingABBASequences(unittest.TestCase): cases = ( ('abba', ...
27.714286
81
0.635607
292
2,522
5.284247
0.273973
0.093325
0.057032
0.077771
0.407647
0.375243
0.353856
0.353856
0.300713
0.300713
0
0.005157
0.231166
2,522
90
82
28.022222
0.790614
0.00793
0
0.212121
0
0
0.10076
0.019192
0
0
0
0
0.121212
1
0.121212
false
0
0.060606
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
538e1ba9c8f2894b4bdf8950c5cd9a8fa42ed826
4,787
py
Python
rlnets/PG.py
HTRPOCODES/HTRPO-v2
7e085e8077e6caa38d192bbd33b41c49b36ad6a6
[ "MIT" ]
7
2020-02-24T15:05:20.000Z
2021-08-24T02:27:13.000Z
rlnets/PG.py
ZhangHanbo/Deep-Reinforcement-Learning-Package
10ab418fcb4807747ebe162920f3df1e80b80a2a
[ "MIT" ]
null
null
null
rlnets/PG.py
ZhangHanbo/Deep-Reinforcement-Learning-Package
10ab418fcb4807747ebe162920f3df1e80b80a2a
[ "MIT" ]
1
2020-04-11T13:08:23.000Z
2020-04-11T13:08:23.000Z
import torch import numpy as np import torch.nn.functional as F from torch.autograd import Variable from basenets.MLP import MLP from basenets.Conv import Conv from torch import nn class FCPG_Gaussian(MLP): def __init__(self, n_inputfeats, n_actions, sigma, ...
34.192857
91
0.48569
483
4,787
4.621118
0.248447
0.053763
0.032258
0.045699
0.694444
0.694444
0.653226
0.630376
0.59543
0.561828
0
0.01652
0.430959
4,787
139
92
34.438849
0.802863
0.091707
0
0.68254
0
0
0.017329
0
0
0
0
0.007194
0
1
0.063492
false
0
0.055556
0
0.18254
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
538e7c69b579d9dbd9a344fd3df293fc4cfca562
10,057
py
Python
tensorflow/python/kernel_tests/sparse_tensors_map_ops_test.py
m4rkl1u/tensorflow
90a8825c7ae9719e8969d45040b4155b0e7de130
[ "Apache-2.0" ]
2
2018-12-05T10:58:40.000Z
2019-01-24T11:36:01.000Z
tensorflow/python/kernel_tests/sparse_tensors_map_ops_test.py
m4rkl1u/tensorflow
90a8825c7ae9719e8969d45040b4155b0e7de130
[ "Apache-2.0" ]
null
null
null
tensorflow/python/kernel_tests/sparse_tensors_map_ops_test.py
m4rkl1u/tensorflow
90a8825c7ae9719e8969d45040b4155b0e7de130
[ "Apache-2.0" ]
2
2019-02-26T16:21:15.000Z
2020-12-04T17:48:17.000Z
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
42.079498
80
0.704484
1,308
10,057
5.127676
0.17737
0.028329
0.054272
0.029521
0.521545
0.460713
0.382138
0.331892
0.331892
0.280602
0
0.031189
0.187034
10,057
238
81
42.256303
0.789139
0.083424
0
0.237288
0
0
0.031332
0.01349
0
0
0
0
0.135593
1
0.056497
false
0
0.073446
0
0.163842
0.00565
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
538ed9ab23e9e71ee700c89f6a7e07b38fae61a0
50,485
py
Python
cloudroast/objectstorage/smoke/object_smoke.py
RULCSoft/cloudroast
30f0e64672676c3f90b4a582fe90fac6621475b3
[ "Apache-2.0" ]
null
null
null
cloudroast/objectstorage/smoke/object_smoke.py
RULCSoft/cloudroast
30f0e64672676c3f90b4a582fe90fac6621475b3
[ "Apache-2.0" ]
null
null
null
cloudroast/objectstorage/smoke/object_smoke.py
RULCSoft/cloudroast
30f0e64672676c3f90b4a582fe90fac6621475b3
[ "Apache-2.0" ]
null
null
null
""" Copyright 2015 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...
34.273591
79
0.605051
4,979
50,485
5.887728
0.060253
0.057206
0.058332
0.042367
0.883404
0.860583
0.836568
0.817602
0.797749
0.780488
0
0.00876
0.314886
50,485
1,472
80
34.296875
0.838788
0.019669
0
0.775993
0
0
0.131571
0.033242
0
0
0
0
0.069315
1
0.032967
false
0
0.007608
0
0.042265
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
538f0d9adeec1b1a9f1d17d56827c035463ad1c5
1,412
py
Python
ceph/tests/conftest.py
remicalixte/integrations-core
b115e18c52820fe1a92495f538fdc14ddf83cfe1
[ "BSD-3-Clause" ]
1
2021-03-24T13:00:14.000Z
2021-03-24T13:00:14.000Z
ceph/tests/conftest.py
remicalixte/integrations-core
b115e18c52820fe1a92495f538fdc14ddf83cfe1
[ "BSD-3-Clause" ]
null
null
null
ceph/tests/conftest.py
remicalixte/integrations-core
b115e18c52820fe1a92495f538fdc14ddf83cfe1
[ "BSD-3-Clause" ]
null
null
null
# (C) Datadog, Inc. 2018-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) import os import pytest from datadog_checks.dev import docker_run from datadog_checks.dev.conditions import CheckDockerLogs from datadog_checks.dev.subprocess import run_command from .common import BAS...
32.837209
115
0.659348
183
1,412
4.961749
0.562842
0.072687
0.056167
0.066079
0
0
0
0
0
0
0
0.015288
0.212465
1,412
42
116
33.619048
0.801259
0.160057
0
0.068966
0
0.034483
0.312977
0.108567
0
0
0
0
0
1
0.034483
false
0
0.206897
0
0.241379
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
538f4e290b42893ff7be5c3f3a19a555501eb1e6
3,025
py
Python
federation/hostmeta/fetchers.py
weex/federation
01357aacb04b076442ce5f803a0fc65df5a74d09
[ "BSD-3-Clause" ]
93
2016-11-26T10:52:13.000Z
2022-01-15T20:07:35.000Z
federation/hostmeta/fetchers.py
weex/federation
01357aacb04b076442ce5f803a0fc65df5a74d09
[ "BSD-3-Clause" ]
75
2016-10-18T10:15:44.000Z
2019-10-05T22:16:32.000Z
federation/hostmeta/fetchers.py
weex/federation
01357aacb04b076442ce5f803a0fc65df5a74d09
[ "BSD-3-Clause" ]
9
2017-04-08T08:03:45.000Z
2021-09-13T22:00:48.000Z
import json from typing import Dict, Optional import requests from federation.hostmeta.parsers import ( parse_nodeinfo_document, parse_nodeinfo2_document, parse_statisticsjson_document, parse_mastodon_document, parse_matrix_document, parse_misskey_document) from federation.utils.network import fetch_document ...
28.809524
110
0.668099
375
3,025
5.221333
0.208
0.067416
0.042901
0.110827
0.480592
0.433606
0.417773
0.417773
0.417773
0.395812
0
0.006879
0.231074
3,025
104
111
29.086538
0.83405
0.038678
0
0.506024
0
0
0.056129
0.025826
0
0
0
0
0
1
0.072289
false
0
0.060241
0
0.325301
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
538fd4b4cff424f1346a608bba50033518ef9ea5
2,582
py
Python
features/analysis_features.py
iag0g0mes/t2_fis_driving_style
7f62ac3e67e65e7bd1273a2f845eb05820e95b70
[ "Apache-2.0" ]
5
2021-04-20T16:03:37.000Z
2022-03-11T00:13:11.000Z
features/analysis_features.py
iag0g0mes/t2_fis_driving_style
7f62ac3e67e65e7bd1273a2f845eb05820e95b70
[ "Apache-2.0" ]
1
2021-04-21T02:35:38.000Z
2021-04-21T12:54:14.000Z
features/analysis_features.py
iag0g0mes/t2fis_driving_style
7f62ac3e67e65e7bd1273a2f845eb05820e95b70
[ "Apache-2.0" ]
null
null
null
import numpy as np from typing import Any, Dict, List, Tuple, NoReturn import argparse import os def parse_arguments() -> Any: """Parse command line arguments.""" parser = argparse.ArgumentParser() parser.add_argument( "--data_dir", default="", type=str, help="Directory where the features (npy files) a...
23.907407
88
0.606119
371
2,582
4.043127
0.331536
0.028
0.045333
0.032
0.201333
0.096
0.072
0.072
0
0
0
0.027171
0.201782
2,582
107
89
24.130841
0.700631
0.134392
0
0.04918
0
0.016393
0.281066
0.062811
0
0
0
0
0.032787
1
0.032787
false
0
0.065574
0
0.114754
0.098361
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
538fed081c6f7c33b40d25f1c7cac9cd82761148
2,916
py
Python
python-watcher-2.0.0/watcher/tests/notifications/test_service_notifications.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
null
null
null
python-watcher-2.0.0/watcher/tests/notifications/test_service_notifications.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
5
2019-08-14T06:46:03.000Z
2021-12-13T20:01:25.000Z
python-watcher-2.0.0/watcher/tests/notifications/test_service_notifications.py
scottwedge/OpenStack-Stein
7077d1f602031dace92916f14e36b124f474de15
[ "Apache-2.0" ]
2
2020-03-15T01:24:15.000Z
2020-07-22T20:34:26.000Z
# -*- encoding: utf-8 -*- # Copyright (c) 2017 Servionica # # 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 l...
37.384615
79
0.607339
318
2,916
5.41195
0.484277
0.051133
0.037769
0.018594
0.087159
0.059268
0.059268
0.059268
0.059268
0
0
0.024558
0.301783
2,916
77
80
37.87013
0.820727
0.196845
0
0.113208
0
0
0.177128
0.061909
0
0
0
0
0.037736
1
0.056604
false
0
0.169811
0
0.264151
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53901ad02fc361ceba4528f28baf2995acc82248
1,422
py
Python
leetcode/medium/best-time-to-buy-and-sell-stock-ii.py
rainzhop/cumulus-tank
09ebc7858ea53630e30606945adfea856a80faa3
[ "MIT" ]
null
null
null
leetcode/medium/best-time-to-buy-and-sell-stock-ii.py
rainzhop/cumulus-tank
09ebc7858ea53630e30606945adfea856a80faa3
[ "MIT" ]
null
null
null
leetcode/medium/best-time-to-buy-and-sell-stock-ii.py
rainzhop/cumulus-tank
09ebc7858ea53630e30606945adfea856a80faa3
[ "MIT" ]
null
null
null
# https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/ # # Say you have an array for which the ith element is the price of a given stock on day i. # # Design an algorithm to find the maximum profit. # You may complete as many transactions as you like (ie, buy one and sell one share of the stock multiple ti...
32.318182
123
0.524613
196
1,422
3.709184
0.459184
0.0674
0.044017
0.041265
0.05227
0.05227
0.05227
0
0
0
0
0.022573
0.376934
1,422
43
124
33.069767
0.797968
0.324895
0
0.222222
0
0
0.00907
0
0
0
0
0
0
0
null
null
0.074074
0
null
null
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
5391eb5d4685629e3d8228f4e55d8a98857010ab
7,787
py
Python
django_loci/tests/base/test_admin.py
yashikajotwani12/django-loci
2c0bcb33f4a56d559f798e37fd17b2143b912ce4
[ "BSD-3-Clause" ]
205
2017-11-17T10:35:02.000Z
2022-03-29T18:50:32.000Z
django_loci/tests/base/test_admin.py
yashikajotwani12/django-loci
2c0bcb33f4a56d559f798e37fd17b2143b912ce4
[ "BSD-3-Clause" ]
98
2017-11-20T16:03:27.000Z
2022-01-19T21:12:47.000Z
django_loci/tests/base/test_admin.py
yashikajotwani12/django-loci
2c0bcb33f4a56d559f798e37fd17b2143b912ce4
[ "BSD-3-Clause" ]
46
2017-11-20T23:25:26.000Z
2022-02-10T05:06:16.000Z
import json import os import responses from django.urls import reverse from .. import TestAdminMixin, TestLociMixin class BaseTestAdmin(TestAdminMixin, TestLociMixin): geocode_url = 'https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/' def test_location_list(self): self._login_as_a...
38.549505
99
0.617054
887
7,787
5.198422
0.157835
0.052049
0.039471
0.04229
0.718716
0.712861
0.657124
0.606159
0.563002
0.494253
0
0.019805
0.260819
7,787
201
100
38.741294
0.781272
0.017337
0
0.383333
0
0.011111
0.217079
0.141101
0
0
0
0
0.127778
1
0.072222
false
0
0.027778
0
0.111111
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
539267e2204960bd72eacaf1dd33c30f2edce8d2
1,270
py
Python
dca_models/deform_offsets_module.py
vatsalag99/Deformable-Channel-Attention
d904135fd7be45331a16d9cb84e44f8e1ff5c07e
[ "MIT" ]
1
2020-12-01T20:57:09.000Z
2020-12-01T20:57:09.000Z
dca_models/deform_offsets_module.py
vatsalag99/Deformable-Channel-Attention
d904135fd7be45331a16d9cb84e44f8e1ff5c07e
[ "MIT" ]
null
null
null
dca_models/deform_offsets_module.py
vatsalag99/Deformable-Channel-Attention
d904135fd7be45331a16d9cb84e44f8e1ff5c07e
[ "MIT" ]
null
null
null
import torch from torch import nn from torch.nn.parameter import Parameter from einops import rearrange, reduce, repeat class dca_offsets_layer(nn.Module): """Constructs a Offset Generation module. """ def __init__(self, channel, n_offsets): super(dca_offsets_layer, self).__init__() self....
35.277778
82
0.640157
178
1,270
4.38764
0.393258
0.076825
0.070423
0.046095
0.112676
0.112676
0.069142
0
0
0
0
0.014508
0.240157
1,270
35
83
36.285714
0.794819
0.088976
0
0.083333
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
539324c139f4acda8b0dbb87e42e77a126f0fc1b
155
py
Python
tests/__init__.py
egor43/PyImageComparsion
5270f5646c40391cc5ac225305d7be9b0b7de140
[ "BSD-2-Clause" ]
null
null
null
tests/__init__.py
egor43/PyImageComparsion
5270f5646c40391cc5ac225305d7be9b0b7de140
[ "BSD-2-Clause" ]
null
null
null
tests/__init__.py
egor43/PyImageComparsion
5270f5646c40391cc5ac225305d7be9b0b7de140
[ "BSD-2-Clause" ]
null
null
null
from . import test_helpers from . import test_image_opener from . import test_image_metrick from . import test_compare_tools from . import test_compare_api
31
32
0.845161
24
155
5.083333
0.416667
0.409836
0.57377
0.311475
0
0
0
0
0
0
0
0
0.122581
155
5
33
31
0.897059
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
5395cbb4a78f713d4a2814a8d200c21fd6a061c3
485
py
Python
core/urls.py
donnellan0007/blog
02c8850688422e3b685ffac10c32bf3e7a7c2e7a
[ "MIT" ]
null
null
null
core/urls.py
donnellan0007/blog
02c8850688422e3b685ffac10c32bf3e7a7c2e7a
[ "MIT" ]
null
null
null
core/urls.py
donnellan0007/blog
02c8850688422e3b685ffac10c32bf3e7a7c2e7a
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path from .views import index, email, post_detail, posts, hot_takes, take_detail from . import views app_name = "core" urlpatterns = [ path('',views.index,name="index"), path('email/',views.email,name="email"), path('post/<slug>/',views.post_detail,...
32.333333
75
0.68866
69
485
4.73913
0.304348
0.061162
0
0
0
0
0
0
0
0
0
0
0.121649
485
15
76
32.333333
0.767606
0
0
0
0
0
0.152263
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
53971f3415b6410a3e353dbb14eb4ceab3a8c1a1
30
py
Python
griddy/__init__.py
pgolding/pandas-grid
0f80db1511097656496dee503d7bb281b97b8bdc
[ "BSD-2-Clause" ]
1
2018-01-03T11:34:08.000Z
2018-01-03T11:34:08.000Z
griddy/__init__.py
pgolding/pandas-grid
0f80db1511097656496dee503d7bb281b97b8bdc
[ "BSD-2-Clause" ]
null
null
null
griddy/__init__.py
pgolding/pandas-grid
0f80db1511097656496dee503d7bb281b97b8bdc
[ "BSD-2-Clause" ]
null
null
null
from .grid import render_table
30
30
0.866667
5
30
5
1
0
0
0
0
0
0
0
0
0
0
0
0.1
30
1
30
30
0.925926
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
5398b81471428ab8f27e820b3cfc198272b782d9
1,573
py
Python
utils/dbconn.py
iamvishnuks/Xmigrate
f8405c72a2ee4203b0fc5ddb55c0a1d9f8d8a7c7
[ "MIT" ]
4
2020-05-26T11:19:02.000Z
2020-08-06T11:12:34.000Z
utils/dbconn.py
iamvishnuks/Xmigrate
f8405c72a2ee4203b0fc5ddb55c0a1d9f8d8a7c7
[ "MIT" ]
46
2022-02-19T09:11:11.000Z
2022-03-31T15:42:50.000Z
utils/dbconn.py
iamvishnuks/Xmigrate
f8405c72a2ee4203b0fc5ddb55c0a1d9f8d8a7c7
[ "MIT" ]
2
2019-12-20T12:30:33.000Z
2020-01-02T22:01:25.000Z
from mongoengine import * from dotenv import load_dotenv from os import getenv from cassandra.cluster import Cluster from cassandra.auth import PlainTextAuthProvider from cassandra.cqlengine import connection from cassandra.cqlengine.management import sync_table from cassandra.query import ordered_dict_factory from mod...
33.468085
91
0.760966
201
1,573
5.756219
0.318408
0.085566
0.077787
0.041487
0.081245
0.081245
0.081245
0.081245
0.081245
0.081245
0
0.0015
0.152575
1,573
46
92
34.195652
0.866467
0
0
0
0
0
0.183725
0.01335
0
0
0
0
0
1
0.023256
false
0.046512
0.348837
0
0.395349
0.069767
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
53990709c9653095e01a4f58d04ac79451da6d42
3,921
py
Python
src/syft/lib/__init__.py
godormad/PySyft
fcb3374b6318dcccf377175fb8db6f70e9e1d1e3
[ "Apache-2.0" ]
null
null
null
src/syft/lib/__init__.py
godormad/PySyft
fcb3374b6318dcccf377175fb8db6f70e9e1d1e3
[ "Apache-2.0" ]
null
null
null
src/syft/lib/__init__.py
godormad/PySyft
fcb3374b6318dcccf377175fb8db6f70e9e1d1e3
[ "Apache-2.0" ]
null
null
null
# stdlib import importlib import sys from typing import Any from typing import Any as TypeAny from typing import Dict as TypeDict from typing import Optional # third party from packaging import version # syft relative from ..ast.globals import Globals from ..lib.python import create_python_ast from ..lib.torch import...
35.972477
88
0.665902
486
3,921
5.117284
0.226337
0.033776
0.025734
0.024125
0.185364
0.133092
0.10776
0.10776
0.10776
0.10776
0
0.00034
0.250446
3,921
108
89
36.305556
0.845866
0.090283
0
0.105263
0
0
0.100703
0.016315
0
0
0
0
0
1
0.039474
false
0.013158
0.276316
0
0.355263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5399748c26ec62ec3b268e3e29283c1ccc28b398
8,742
py
Python
scripts/griffin_GC_counts.py
GavinHaLab/Griffin
83942189c0e3e62ac533d6b6a5ffd7d2dfd2d4b3
[ "BSD-3-Clause-Clear" ]
1
2021-09-08T05:43:15.000Z
2021-09-08T05:43:15.000Z
scripts/griffin_GC_counts.py
GavinHaLab/Griffin
83942189c0e3e62ac533d6b6a5ffd7d2dfd2d4b3
[ "BSD-3-Clause-Clear" ]
null
null
null
scripts/griffin_GC_counts.py
GavinHaLab/Griffin
83942189c0e3e62ac533d6b6a5ffd7d2dfd2d4b3
[ "BSD-3-Clause-Clear" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # In[ ]: import pysam import os import pandas as pd import numpy as np import time import argparse import sys from multiprocessing import Pool # In[ ]: # ##arguments for testing # bam_file_path = '/fh/scratch/delete90/ha_g/realigned_bams/cfDNA_MBC_ULP_hg38/realign_bam_pa...
33.366412
241
0.636811
1,220
8,742
4.332787
0.240164
0.049943
0.037457
0.031782
0.260121
0.19126
0.146046
0.125615
0.081347
0.052213
0
0.011662
0.22512
8,742
261
242
33.494253
0.768674
0.309883
0
0.036697
0
0
0.152726
0
0
0
0
0
0
1
0.009174
false
0
0.073395
0
0.082569
0.155963
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5399b6c7047b5726e42c8b72d0dc40c3dfb01acf
4,372
py
Python
task2/04-task2-upload-dim-tables.py
canovasjm/InterviewProject_JuanCanovas
6ff385c66664328cea0678454560e89e44851e24
[ "MIT" ]
null
null
null
task2/04-task2-upload-dim-tables.py
canovasjm/InterviewProject_JuanCanovas
6ff385c66664328cea0678454560e89e44851e24
[ "MIT" ]
null
null
null
task2/04-task2-upload-dim-tables.py
canovasjm/InterviewProject_JuanCanovas
6ff385c66664328cea0678454560e89e44851e24
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Mar 1 18:17:07 2021 @author: jm """ # %% required libraries import numpy as np import pandas as pd from sqlalchemy import create_engine # %% connect to DB # create connection using pymssql engine = create_engine('mssql+pymssql://sa:<YourStrong@Passw...
34.698413
133
0.730101
631
4,372
4.873217
0.212361
0.072846
0.028618
0.038699
0.347317
0.273496
0.212358
0.14374
0.124228
0.028618
0
0.010772
0.12946
4,372
125
134
34.976
0.797162
0.335087
0
0
0
0
0.23317
0.056802
0
0
0
0
0
1
0
false
0.029412
0.088235
0
0.088235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
539a58166d003e0486119a3a4445a376e8149b19
6,897
py
Python
cogs/server.py
vikasbaghel1001/Kanna-Chan
6f74978cb73b66cdb0952351a7e84a9e4ef4ebeb
[ "MIT" ]
5
2021-10-17T07:29:42.000Z
2022-03-23T11:01:58.000Z
cogs/server.py
vikasbaghel1001/Kanna-Chan
6f74978cb73b66cdb0952351a7e84a9e4ef4ebeb
[ "MIT" ]
1
2021-10-17T08:14:09.000Z
2021-10-17T08:14:09.000Z
cogs/server.py
vikasbaghel1001/Kanna-Chan
6f74978cb73b66cdb0952351a7e84a9e4ef4ebeb
[ "MIT" ]
4
2021-07-12T04:20:22.000Z
2021-10-01T03:29:50.000Z
import discord from discord.ext import commands arrow = "<a:right:877425183839891496>" kwee = "<:kannawee:877036162122924072>" kdance = "<a:kanna_dance:877038778798207016>" kbored = "<:kanna_bored:877036162827583538>" ksmug = "<:kanna_smug:877038777896427560>" heart = "<a:explosion_heart:877426228775227392>" class Se...
54.307087
636
0.641438
915
6,897
4.774863
0.346448
0.019226
0.035248
0.048066
0.204166
0.186313
0.173724
0.138705
0.094759
0.055848
0
0.076276
0.258663
6,897
127
637
54.307087
0.778212
0
0
0.380165
0
0.090909
0.568136
0.07263
0
0
0.00232
0
0
1
0.016529
false
0
0.016529
0
0.057851
0.008264
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
539b64bd9ed2668ae9a573fa432b5a05793c8032
109
py
Python
test/run/t344.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
2,671
2015-01-03T08:23:25.000Z
2022-03-31T06:15:48.000Z
test/run/t344.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
972
2015-01-05T08:11:00.000Z
2022-03-29T13:47:15.000Z
test/run/t344.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
845
2015-01-03T19:53:36.000Z
2022-03-29T18:34:22.000Z
for ch in "Hello world!": d = ord(ch) h = hex(d) o = oct(d) b = bin(d) print ch, d, h, o, b
12.111111
25
0.449541
23
109
2.130435
0.608696
0
0
0
0
0
0
0
0
0
0
0
0.366972
109
8
26
13.625
0.710145
0
0
0
0
0
0.111111
0
0
0
0
0
0
0
null
null
0
0
null
null
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
539b84ee2616f61a9bf370a8a3b1b21465720328
10,016
py
Python
paho/mqtt/subscribe.py
RandomGamer342/TTM4115-plantsensor
e63c34160d284bb6fd26563eeba949d54026348b
[ "MIT" ]
8
2017-01-17T02:25:08.000Z
2019-07-24T13:39:55.000Z
python/lib/python3.4/site-packages/paho/mqtt/subscribe.py
nidiascampos/smartgreen
d574d90918702ac3bd383ed77d673f871576c5b0
[ "Apache-2.0" ]
5
2018-11-20T16:57:21.000Z
2019-03-17T19:59:52.000Z
python/lib/python3.4/site-packages/paho/mqtt/subscribe.py
nidiascampos/smartgreen
d574d90918702ac3bd383ed77d673f871576c5b0
[ "Apache-2.0" ]
9
2017-01-19T03:56:05.000Z
2020-03-10T04:03:20.000Z
# Copyright (c) 2016 Roger Light <roger@atchoo.org> # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # and Eclipse Distribution License v1.0 which accompany this distribution. # # The Eclipse Public License is available at # ...
38.523077
92
0.648862
1,304
10,016
4.921012
0.172546
0.02244
0.01122
0.012155
0.506311
0.490416
0.485429
0.47904
0.467508
0.467508
0
0.009149
0.26887
10,016
259
93
38.671815
0.867131
0.597644
0
0.278351
0
0
0.088998
0
0
0
0
0
0
1
0.051546
false
0.030928
0.030928
0
0.123711
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
539b8675dc9b20bffab7e413aa5943d934069113
1,561
py
Python
py/2017/day24/aoc_day_24.py
cs-cordero/advent-of-code
614b8f78b43c54ef180a7dc411a0d1366a62944f
[ "MIT" ]
null
null
null
py/2017/day24/aoc_day_24.py
cs-cordero/advent-of-code
614b8f78b43c54ef180a7dc411a0d1366a62944f
[ "MIT" ]
null
null
null
py/2017/day24/aoc_day_24.py
cs-cordero/advent-of-code
614b8f78b43c54ef180a7dc411a0d1366a62944f
[ "MIT" ]
2
2019-12-01T15:33:27.000Z
2020-12-14T05:37:23.000Z
from collections import defaultdict def solution(): starting_components = d[0] best_scores = [] for component in starting_components: n_a, n_b = get_ports(component) nxt_port = n_a if n_b == 0 else n_b best_scores.append(recurse(component, set(), nxt_port, 0)) print("fuck", max...
27.875
88
0.59385
228
1,561
3.842105
0.307018
0.013699
0.077626
0.02968
0.136986
0.100457
0.100457
0.050228
0
0
0
0.028746
0.264574
1,561
55
89
28.381818
0.734321
0.090967
0
0
0
0
0.024165
0
0
0
0
0
0
1
0.088235
false
0
0.029412
0.029412
0.176471
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
539ea2a319db010bc0f4b82dc9bd72f7d9cbdfe7
175
py
Python
scratchnet/scratchnet.py
Gr1m3y/scratchnet
5fce471b6e12dc05b3a92fd8581445f7d598d1c3
[ "MIT" ]
null
null
null
scratchnet/scratchnet.py
Gr1m3y/scratchnet
5fce471b6e12dc05b3a92fd8581445f7d598d1c3
[ "MIT" ]
null
null
null
scratchnet/scratchnet.py
Gr1m3y/scratchnet
5fce471b6e12dc05b3a92fd8581445f7d598d1c3
[ "MIT" ]
null
null
null
import numpy as np import network def main(): x = np.array([2, 3]) nw = network.NeuralNetwork() print(nw.feedforward(x)) if __name__ == "__main__": main()
13.461538
32
0.617143
24
175
4.166667
0.708333
0
0
0
0
0
0
0
0
0
0
0.014925
0.234286
175
12
33
14.583333
0.731343
0
0
0
0
0
0.045714
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.375
0.125
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
539eb7f2ba00a494348f5e2c2412e8b083606e64
1,048
py
Python
live-plotting.py
rmhsawyer/EC601-Final-Project-Mapping_User_Face_To_Emoji
05a61dca25ef6dc6827e3389a753eb65a09c1813
[ "Apache-2.0" ]
null
null
null
live-plotting.py
rmhsawyer/EC601-Final-Project-Mapping_User_Face_To_Emoji
05a61dca25ef6dc6827e3389a753eb65a09c1813
[ "Apache-2.0" ]
22
2017-11-10T21:37:20.000Z
2017-12-05T22:36:50.000Z
live-plotting.py
rmhsawyer/EC601-Final-Project
05a61dca25ef6dc6827e3389a753eb65a09c1813
[ "Apache-2.0" ]
3
2017-10-30T20:07:18.000Z
2017-12-03T00:47:18.000Z
#draw the predictions from real-time.py import matplotlib.pyplot as plt import matplotlib.animation as animation from matplotlib import style style.use('fivethirtyeight') fig = plt.figure() ax1 = fig.add_subplot(1,1,1) def animate(i): graph_data = open('emotion.txt', 'r').read() lines = graph_data.split('\n'...
24.952381
78
0.605916
147
1,048
4.176871
0.380952
0.034202
0.087948
0.09772
0
0
0
0
0
0
0
0.020672
0.26145
1,048
41
79
25.560976
0.77261
0.03626
0
0
0
0
0.029732
0
0
0
0
0
0
1
0.028571
false
0
0.085714
0
0.114286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
539f08b39f8bed483a13e19cdf11f4b9e2b776e6
1,850
py
Python
code/run_policy.py
kirk86/ARS
a4ac03e06bce5f183f7b18ea74b81c6c45c4426b
[ "BSD-2-Clause" ]
null
null
null
code/run_policy.py
kirk86/ARS
a4ac03e06bce5f183f7b18ea74b81c6c45c4426b
[ "BSD-2-Clause" ]
null
null
null
code/run_policy.py
kirk86/ARS
a4ac03e06bce5f183f7b18ea74b81c6c45c4426b
[ "BSD-2-Clause" ]
1
2019-03-27T14:11:16.000Z
2019-03-27T14:11:16.000Z
""" Code to load a policy and generate rollout data. Adapted from https://github.com/berkeleydeeprlcourse. Example usage: python run_policy.py ../trained_policies/Humanoid-v1/policy_reward_11600/lin_policy_plus.npz Humanoid-v1 --render \ --num_rollouts 20 """ import numpy as np import gym def main():...
28.90625
119
0.605946
234
1,850
4.632479
0.452991
0.066421
0.062731
0.02952
0.090406
0
0
0
0
0
0
0.016381
0.274054
1,850
63
120
29.365079
0.790767
0.173514
0
0
1
0
0.108037
0
0
0
0
0
0
1
0.022222
false
0
0.066667
0
0.088889
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
539f836eb4814996e6e8dcea4c9325a8edccf36d
6,048
py
Python
src/poliastro/plotting/tisserand.py
TreshUp/poliastro
602eb3c39d315be6dc1edaa12d72ab0e361334f6
[ "MIT" ]
null
null
null
src/poliastro/plotting/tisserand.py
TreshUp/poliastro
602eb3c39d315be6dc1edaa12d72ab0e361334f6
[ "MIT" ]
null
null
null
src/poliastro/plotting/tisserand.py
TreshUp/poliastro
602eb3c39d315be6dc1edaa12d72ab0e361334f6
[ "MIT" ]
null
null
null
""" Generates Tisserand plots """ from enum import Enum import numpy as np from astropy import units as u from matplotlib import pyplot as plt from poliastro.plotting._base import BODY_COLORS from poliastro.twobody.mean_elements import get_mean_elements from poliastro.util import norm class TisserandKind(Enum): ...
30.24
81
0.586475
778
6,048
4.424165
0.253213
0.019175
0.010169
0.012202
0.395991
0.341371
0.296049
0.279198
0.255375
0.255375
0
0.008311
0.323578
6,048
199
82
30.39196
0.833048
0.41584
0
0.16129
1
0
0.007794
0
0
0
0
0
0
1
0.080645
false
0
0.112903
0
0.33871
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53a13df64d25ae2c757b6265afa2baab533adc4f
3,122
py
Python
libs/Rack.py
jlin/inventory
c098c98e570c3bf9fadfd811eb75e1213f6ea428
[ "BSD-3-Clause" ]
22
2015-01-16T01:36:32.000Z
2020-06-08T00:46:18.000Z
libs/Rack.py
jlin/inventory
c098c98e570c3bf9fadfd811eb75e1213f6ea428
[ "BSD-3-Clause" ]
8
2015-12-28T18:56:19.000Z
2019-04-01T17:33:48.000Z
libs/Rack.py
jlin/inventory
c098c98e570c3bf9fadfd811eb75e1213f6ea428
[ "BSD-3-Clause" ]
13
2015-01-13T20:56:22.000Z
2022-02-23T06:01:17.000Z
from KeyValueTree import KeyValueTree from truth.models import KeyValue as TruthKeyValue, Truth from systems.models import KeyValue as KeyValue from django.test.client import RequestFactory from api_v2.keyvalue_handler import KeyValueHandler import json factory = RequestFactory() class Rack: rack_name = None ...
34.688889
122
0.575593
380
3,122
4.476316
0.236842
0.053498
0.042328
0.023516
0.221046
0.205761
0.205761
0.174015
0.126984
0.065256
0
0.009447
0.321909
3,122
89
123
35.078652
0.794048
0
0
0.234568
0
0
0.078475
0.016336
0
0
0
0
0
1
0.061728
false
0.037037
0.08642
0
0.345679
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53a26f62743c91c61bf312038531a22cbbef6701
151
py
Python
r2c_isg/functions/__init__.py
returntocorp/inputset-generator
c33952cc5683e9e70b24f76936c42ec8e354d121
[ "MIT" ]
3
2019-11-02T20:14:34.000Z
2020-01-23T21:47:20.000Z
r2c_isg/functions/__init__.py
returntocorp/inputset-generator
c33952cc5683e9e70b24f76936c42ec8e354d121
[ "MIT" ]
19
2019-09-18T01:48:07.000Z
2021-11-04T11:20:48.000Z
r2c_isg/functions/__init__.py
returntocorp/inputset-generator
c33952cc5683e9e70b24f76936c42ec8e354d121
[ "MIT" ]
3
2019-11-15T22:31:13.000Z
2020-03-10T10:19:39.000Z
from .trim import trim from .sample import sample from .sort import sort function_map = { 'trim': trim, 'sample': sample, 'sort': sort }
13.727273
26
0.649007
20
151
4.85
0.35
0
0
0
0
0
0
0
0
0
0
0
0.238411
151
10
27
15.1
0.843478
0
0
0
0
0
0.092715
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
53a287190d58a2db9d8427aaa2bd973ac3e2cd59
59
py
Python
__init__.py
csalyk/nirspec
58661371871d29103afe42bfccc0bff9ff773914
[ "MIT-0" ]
null
null
null
__init__.py
csalyk/nirspec
58661371871d29103afe42bfccc0bff9ff773914
[ "MIT-0" ]
null
null
null
__init__.py
csalyk/nirspec
58661371871d29103afe42bfccc0bff9ff773914
[ "MIT-0" ]
null
null
null
from .nirspec import divspec from .nirspec import gluespec
19.666667
29
0.830508
8
59
6.125
0.625
0.44898
0.693878
0
0
0
0
0
0
0
0
0
0.135593
59
2
30
29.5
0.960784
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
53a2e756b6afda167f3e4ff4e520ec037aac6965
9,526
py
Python
poem.py
xcollantes/poetry-generator
456c9702f0105b49b8c3edbb55043a10efbf359b
[ "MIT" ]
null
null
null
poem.py
xcollantes/poetry-generator
456c9702f0105b49b8c3edbb55043a10efbf359b
[ "MIT" ]
null
null
null
poem.py
xcollantes/poetry-generator
456c9702f0105b49b8c3edbb55043a10efbf359b
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import print_function import datetime import os import random import sys import uuid import base64 import yaml import re try: import en except: print("DOWNLOD NODECUBE") print("""wget https://www.nodebox.net/code/data/media/linguistics.zip unzip lingui...
39.526971
97
0.43607
909
9,526
4.524752
0.182618
0.039387
0.107221
0.054461
0.460491
0.385363
0.356188
0.324824
0.319232
0.319232
0
0.0165
0.43376
9,526
240
98
39.691667
0.746014
0.025089
0
0.339535
0
0
0.076426
0
0
0
0
0
0
1
0.018605
false
0
0.051163
0
0.088372
0.023256
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53a46773e97ade0a733cbe735e77d4be70d5d02d
3,927
py
Python
openstack/tests/unit/block_storage/v2/test_proxy.py
infonova/openstacksdk
3cf6730a71d8fb448f24af8a5b4e82f2af749cea
[ "Apache-2.0" ]
null
null
null
openstack/tests/unit/block_storage/v2/test_proxy.py
infonova/openstacksdk
3cf6730a71d8fb448f24af8a5b4e82f2af749cea
[ "Apache-2.0" ]
null
null
null
openstack/tests/unit/block_storage/v2/test_proxy.py
infonova/openstacksdk
3cf6730a71d8fb448f24af8a5b4e82f2af749cea
[ "Apache-2.0" ]
null
null
null
# 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 # distributed under t...
39.27
75
0.663102
487
3,927
5.141684
0.227926
0.071885
0.10623
0.055112
0.582668
0.522764
0.435304
0.435304
0.38738
0.238019
0
0.006054
0.242934
3,927
99
76
39.666667
0.836192
0.132926
0
0.212121
0
0
0.040083
0.013852
0
0
0
0
0
1
0.30303
false
0
0.090909
0
0.409091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
53a4815531cf8a3d91a379873dd45b934995baa1
20,346
py
Python
src/ncstyler/console.py
starofrainnight/ncstyler
d13a6fa330b955db1cb9aa7a6ff1751ec41e82eb
[ "MIT" ]
null
null
null
src/ncstyler/console.py
starofrainnight/ncstyler
d13a6fa330b955db1cb9aa7a6ff1751ec41e82eb
[ "MIT" ]
null
null
null
src/ncstyler/console.py
starofrainnight/ncstyler
d13a6fa330b955db1cb9aa7a6ff1751ec41e82eb
[ "MIT" ]
null
null
null
#!/usr/bin/env python import argparse import CppHeaderParser import re import sys import yaml import copy import six import os.path import traceback class CppDefine(dict): def __init__(self): self["name"] = None self["parameters"] = [] self["line_number"] = -1 class CppDefineParameter(dic...
38.172608
97
0.524182
2,118
20,346
4.74882
0.140227
0.097534
0.038179
0.024558
0.332969
0.215948
0.161762
0.102804
0.069
0.058958
0
0.003676
0.371572
20,346
532
98
38.244361
0.782966
0.073823
0
0.246883
0
0.002494
0.106685
0.019252
0
0
0
0.00188
0
1
0.042394
false
0.007481
0.022444
0.002494
0.129676
0.007481
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53a4ae1a747ba84b0abf192cd72d5b27b2b5e891
1,527
py
Python
theone/wsgi/server.py
laozijiaojiangnan/TheOne
73c1e7cee545c2eb2b2118f2dbf2d4d0c56e3824
[ "Apache-2.0" ]
null
null
null
theone/wsgi/server.py
laozijiaojiangnan/TheOne
73c1e7cee545c2eb2b2118f2dbf2d4d0c56e3824
[ "Apache-2.0" ]
null
null
null
theone/wsgi/server.py
laozijiaojiangnan/TheOne
73c1e7cee545c2eb2b2118f2dbf2d4d0c56e3824
[ "Apache-2.0" ]
null
null
null
import typing as t from http.server import HTTPServer, BaseHTTPRequestHandler from . import response as resp class WsgiServer(HTTPServer): pass class WsgiHandel(BaseHTTPRequestHandler): def handle(self) -> None: handle_response = SimpleHandler(self.wfile) handle_response.send() class Sim...
28.277778
105
0.612967
186
1,527
4.919355
0.376344
0.144262
0.052459
0.065574
0.076503
0.076503
0
0
0
0
0
0.002646
0.257367
1,527
53
106
28.811321
0.804233
0.085789
0
0.066667
0
0.033333
0.142532
0.105383
0
0
0
0
0
1
0.133333
false
0.033333
0.1
0
0.366667
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53a59bcf9df24d2abf9133b0c94be6aa674beda0
4,462
py
Python
pytorch_translate/attention/multihead_attention.py
dzhulgakov/translate
018d3eed8d93ff32e86c912e68045c7a3f4ed0b7
[ "BSD-3-Clause" ]
1
2019-06-14T20:20:39.000Z
2019-06-14T20:20:39.000Z
pytorch_translate/attention/multihead_attention.py
dzhulgakov/translate
018d3eed8d93ff32e86c912e68045c7a3f4ed0b7
[ "BSD-3-Clause" ]
null
null
null
pytorch_translate/attention/multihead_attention.py
dzhulgakov/translate
018d3eed8d93ff32e86c912e68045c7a3f4ed0b7
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 from fairseq.modules import multihead_attention as fair_multihead from pytorch_translate.attention import ( BaseAttention, attention_utils, register_attention, ) @register_attention("multihead") class MultiheadAttention(BaseAttention): """ Multiheaded Scaled Dot Product At...
35.412698
85
0.62528
581
4,462
4.53012
0.266781
0.054711
0.054711
0.055851
0.2519
0.202128
0.105243
0.105243
0.086246
0.079407
0
0.009006
0.303227
4,462
125
86
35.696
0.837568
0.463469
0
0.038462
0
0
0.05038
0
0
0
0
0
0.038462
1
0.038462
false
0
0.038462
0
0.134615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53a74fabccfed340e02d074e5c163a36783d5463
1,102
py
Python
custom_components/purrsong/__init__.py
RobertD502/home-assistant-lavviebot
5c69f474786f043773cba42b7806fb77d4f89672
[ "MIT" ]
3
2021-04-15T21:23:26.000Z
2021-12-18T07:45:40.000Z
custom_components/purrsong/__init__.py
RobertD502/home-assistant-lavviebot
5c69f474786f043773cba42b7806fb77d4f89672
[ "MIT" ]
2
2021-10-21T12:08:32.000Z
2021-11-12T19:13:11.000Z
custom_components/purrsong/__init__.py
RobertD502/home-assistant-lavviebot
5c69f474786f043773cba42b7806fb77d4f89672
[ "MIT" ]
null
null
null
"""Support for Purrsong LavvieBot S""" import asyncio import logging import voluptuous as vol from lavviebot import LavvieBotApi import homeassistant.helpers.config_validation as cv from homeassistant import config_entries from homeassistant.const import EVENT_HOMEASSISTANT_STOP from homeassistant.exceptions import Co...
26.238095
83
0.772232
138
1,102
5.949275
0.42029
0.066991
0.053593
0.06821
0.053593
0
0
0
0
0
0
0
0.155172
1,102
41
84
26.878049
0.881847
0.049909
0
0.074074
0
0
0.053007
0
0
0
0
0
0
1
0.037037
false
0.111111
0.37037
0
0.481481
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
53a80bedba1fa544dba66c5282310b99391dfaba
917
py
Python
MathPainting_OOP/shapes.py
matbocz/kurs-python-udemy
bbc53d0b2073b400aaad5ff908b3e1c09b815121
[ "MIT" ]
null
null
null
MathPainting_OOP/shapes.py
matbocz/kurs-python-udemy
bbc53d0b2073b400aaad5ff908b3e1c09b815121
[ "MIT" ]
null
null
null
MathPainting_OOP/shapes.py
matbocz/kurs-python-udemy
bbc53d0b2073b400aaad5ff908b3e1c09b815121
[ "MIT" ]
null
null
null
class Rectangle: """A rectangle shape that can be drawn on a Canvas object""" def __init__(self, x, y, width, height, color): self.x = x self.y = y self.width = width self.height = height self.color = color def draw(self, canvas): """Draws itself into the Ca...
30.566667
91
0.591058
138
917
3.869565
0.246377
0.074906
0.067416
0.052434
0.7603
0.707865
0.707865
0.707865
0.629213
0.629213
0
0
0.2988
917
29
92
31.62069
0.830482
0.293348
0
0.470588
0
0
0
0
0
0
0
0
0
1
0.235294
false
0
0
0
0.352941
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
5
53a892c5198d37c345b5950774654f861533af79
2,904
py
Python
problems/Kelvin_Helmholtz/problem.py
sddyates/mars
a56735bd344b7337151fb419b1c832b0c702ea69
[ "MIT" ]
1
2019-12-20T20:29:14.000Z
2019-12-20T20:29:14.000Z
problems/Kelvin_Helmholtz/problem.py
sddyates/mars
a56735bd344b7337151fb419b1c832b0c702ea69
[ "MIT" ]
3
2019-08-30T08:12:16.000Z
2020-05-15T16:19:53.000Z
problems/Kelvin_Helmholtz/problem.py
sddyates/mars
a56735bd344b7337151fb419b1c832b0c702ea69
[ "MIT" ]
1
2019-12-21T03:51:30.000Z
2019-12-21T03:51:30.000Z
from mars import main_loop import numpy as np from mars.settings import * class Problem: """ Synopsis -------- User class for the Kelvin-Helmholtz instability Args ---- None Methods ------- initialise Set all variables in each cell to initialise the simulation. i...
24.2
68
0.490358
364
2,904
3.785714
0.335165
0.01016
0.010885
0.036284
0.123367
0.123367
0.068215
0.068215
0.04209
0.04209
0
0.06859
0.367424
2,904
119
69
24.403361
0.681546
0.088499
0
0
0
0
0.229215
0
0
0
0
0.008403
0
1
0.040541
false
0
0.040541
0.013514
0.108108
0.013514
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53a8f467665d04dfb54d9331579d408e1a611989
1,461
py
Python
pythainlp/util/thai.py
korkeatw/pythainlp
6fc7c3434d5e58c8e8e2bf13470445cbab0866bd
[ "Apache-2.0" ]
null
null
null
pythainlp/util/thai.py
korkeatw/pythainlp
6fc7c3434d5e58c8e8e2bf13470445cbab0866bd
[ "Apache-2.0" ]
null
null
null
pythainlp/util/thai.py
korkeatw/pythainlp
6fc7c3434d5e58c8e8e2bf13470445cbab0866bd
[ "Apache-2.0" ]
1
2020-05-27T09:53:09.000Z
2020-05-27T09:53:09.000Z
# -*- coding: utf-8 -*- """ Check if it is Thai text """ import string _DEFAULT_IGNORE_CHARS = string.whitespace + string.digits + string.punctuation def isthaichar(ch: str) -> bool: """ Check if a character is Thai เป็นอักษรไทยหรือไม่ :param str ch: input character :return: True or False "...
22.476923
87
0.612594
223
1,461
3.959641
0.363229
0.137033
0.047565
0.03171
0.151755
0.110985
0.04983
0
0
0
0
0.016409
0.290897
1,461
64
88
22.828125
0.822394
0.014374
0
0.285714
0
0
0.001083
0
0
0
0
0
0
0
null
null
0
0.035714
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
53a95c744ad18d63a19b3fc856fe6442690ea1c8
54
py
Python
Numpy/tempCodeRunnerFile.py
zharmedia386/Data-Science-Stuff
40183c329e3b30c582c545c260ca7916f29e2f09
[ "MIT" ]
null
null
null
Numpy/tempCodeRunnerFile.py
zharmedia386/Data-Science-Stuff
40183c329e3b30c582c545c260ca7916f29e2f09
[ "MIT" ]
null
null
null
Numpy/tempCodeRunnerFile.py
zharmedia386/Data-Science-Stuff
40183c329e3b30c582c545c260ca7916f29e2f09
[ "MIT" ]
null
null
null
print(b) print(c) print(d) print(e) print(f) print(g)
7.714286
8
0.666667
12
54
3
0.583333
0
0
0
0
0
0
0
0
0
0
0
0.111111
54
7
9
7.714286
0.75
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
53a96c42fcec2518a3a26c0e6dece5934119cc53
1,941
py
Python
Python/Filter.py
KilroyWasHere-cs-j/savitzky-golay
2ce110d54e9ad7bc1e4a0c29fa80ad8303ec530f
[ "MIT" ]
null
null
null
Python/Filter.py
KilroyWasHere-cs-j/savitzky-golay
2ce110d54e9ad7bc1e4a0c29fa80ad8303ec530f
[ "MIT" ]
null
null
null
Python/Filter.py
KilroyWasHere-cs-j/savitzky-golay
2ce110d54e9ad7bc1e4a0c29fa80ad8303ec530f
[ "MIT" ]
null
null
null
import numpy as np from scipy.signal import savgol_filter import matplotlib.pyplot as plt import MadDog x = [] y = [] def generate(): # Generate random data base = np.linspace(0, 5, 11) # base = np.random.randint(0, 10, 5) outliers = np.random.randint(10, 20, 2) data = np.concatenate((base, outli...
26.589041
107
0.640907
296
1,941
4.125
0.297297
0.014742
0.097461
0.088452
0.348894
0.348894
0.29484
0.230958
0.230958
0.230958
0
0.029728
0.185471
1,941
72
108
26.958333
0.742568
0.119011
0
0.191489
1
0
0.060588
0
0
0
0
0
0
1
0.106383
false
0
0.085106
0.042553
0.255319
0.106383
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53aa536c76b41bd1afbf13c8b634be33ef9462e1
8,087
py
Python
examples/adwords/v201406/advanced_operations/add_ad_customizer.py
dietrichc/streamline-ppc-reports
256f79246aba3c2cf8f792d87a066391a2f471e0
[ "Apache-2.0" ]
null
null
null
examples/adwords/v201406/advanced_operations/add_ad_customizer.py
dietrichc/streamline-ppc-reports
256f79246aba3c2cf8f792d87a066391a2f471e0
[ "Apache-2.0" ]
null
null
null
examples/adwords/v201406/advanced_operations/add_ad_customizer.py
dietrichc/streamline-ppc-reports
256f79246aba3c2cf8f792d87a066391a2f471e0
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # # Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
32.09127
80
0.614072
894
8,087
5.417226
0.302013
0.021474
0.028495
0.018584
0.082387
0.051827
0.043981
0.031179
0.022713
0.022713
0
0.015956
0.263757
8,087
251
81
32.219124
0.797447
0.197354
0
0.142857
0
0
0.292454
0.021813
0
0
0
0
0
0
null
null
0
0.005714
null
null
0.045714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
53aaad486aeb5cf94c98b45787e68241bed70175
2,001
py
Python
tests/test_minhash.py
azachar/pyminhash
8a595fb25fe7172ea31d604fe8a40b8c11f1b8af
[ "MIT" ]
null
null
null
tests/test_minhash.py
azachar/pyminhash
8a595fb25fe7172ea31d604fe8a40b8c11f1b8af
[ "MIT" ]
null
null
null
tests/test_minhash.py
azachar/pyminhash
8a595fb25fe7172ea31d604fe8a40b8c11f1b8af
[ "MIT" ]
null
null
null
import pytest from pyminhash import MinHash from pyminhash.datasets import load_data def test__sparse_vector(): df = load_data() myMinHasher = MinHash(10) res = myMinHasher._sparse_vectorize(df, 'name') assert res.columns.tolist() == ['name', 'sparse_vector'] assert res['sparse_vector'].dtype == ...
30.318182
102
0.667166
278
2,001
4.535971
0.284173
0.033307
0.031721
0.066614
0.333862
0.222046
0.187153
0.141158
0.071372
0.071372
0
0.033375
0.191404
2,001
65
103
30.784615
0.745983
0
0
0.28
0
0
0.10095
0
0
0
0
0
0.28
1
0.14
false
0
0.06
0
0.22
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53ab5b39a644e03ecaaf97048f3ae768e29b5a48
503
py
Python
settings.py
danylo-dudok/youtube-rss
c4478605274cdeac33f909d7fcb7d265898e80bc
[ "MIT" ]
null
null
null
settings.py
danylo-dudok/youtube-rss
c4478605274cdeac33f909d7fcb7d265898e80bc
[ "MIT" ]
null
null
null
settings.py
danylo-dudok/youtube-rss
c4478605274cdeac33f909d7fcb7d265898e80bc
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta from typing import final from tools import localize_time RSS_URL_PREFIX: final = 'https://www.youtube.com/feeds/videos.xml?channel_id={0}' LOCATION_ARGUMENT_PREFIX: final = '--location=' CHANNEL_ARGUMENT_PREFIX: final = '--channels=' LAST_CHECK_ARGUMENT_PREFIX: final = '--last...
35.928571
93
0.787276
72
503
5.194444
0.527778
0.117647
0.152406
0.074866
0
0
0
0
0
0
0
0.011013
0.097416
503
13
94
38.692308
0.812775
0
0
0
0
0
0.178926
0
0
0
0
0
0
1
0
true
0
0.272727
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
53ac58babeeeae8a59ad21aa748c5f201e132f9d
1,325
py
Python
openpicle/caravel.py
DX-MON/OpenPICle
c036333f807b1b4959af22bde8c4cac553ef162f
[ "BSD-3-Clause" ]
null
null
null
openpicle/caravel.py
DX-MON/OpenPICle
c036333f807b1b4959af22bde8c4cac553ef162f
[ "BSD-3-Clause" ]
null
null
null
openpicle/caravel.py
DX-MON/OpenPICle
c036333f807b1b4959af22bde8c4cac553ef162f
[ "BSD-3-Clause" ]
null
null
null
# SPDX-License-Identifier: BSD-3-Clause from amaranth import Elaboratable, Module, Signal, ResetInserter, EnableInserter __all__ = ( 'PIC16Caravel', ) class PIC16Caravel(Elaboratable): def elaborate(self, platform): from .pic16 import PIC16 from .soc.busses.qspi import QSPIBus m = Module() reset = Signal() ...
25
82
0.682264
196
1,325
4.545918
0.357143
0.039282
0.050505
0.022447
0.029181
0.029181
0
0
0
0
0
0.018851
0.159245
1,325
52
83
25.480769
0.780969
0.027925
0
0
0
0
0.024883
0
0
0
0
0
0
1
0.047619
false
0
0.071429
0.02381
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53ad1ae14a311f840335b9dec9f60aa2cc4425a1
2,615
py
Python
cogs/stats.py
est73/raid-shack
727b79a50a0ff5a5fc1cdfe03d51ba6703343b2e
[ "MIT" ]
null
null
null
cogs/stats.py
est73/raid-shack
727b79a50a0ff5a5fc1cdfe03d51ba6703343b2e
[ "MIT" ]
null
null
null
cogs/stats.py
est73/raid-shack
727b79a50a0ff5a5fc1cdfe03d51ba6703343b2e
[ "MIT" ]
null
null
null
from discord.ext import commands import discord class Stats(commands.Cog): def __init__(self, bot): self.bot = bot @commands.command() @commands.has_permissions(manage_channels=True) async def stats(self, ctx): members = await ctx.guild.fetch_members(limit=None).flatten() mem...
35.337838
84
0.507457
291
2,615
4.402062
0.285223
0.046838
0.070258
0.074941
0.144418
0
0
0
0
0
0
0.012666
0.396176
2,615
73
85
35.821918
0.798607
0
0
0
0
0
0.17782
0
0
0
0
0
0
1
0.031746
false
0
0.031746
0
0.079365
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53b0797fa1d2b73bd60c7d0448335bb8ff3970e6
2,995
py
Python
tests/bucket/test_bucket.py
WillChilds-Klein/mistress-mapreduce
c991a502545bd0d3ec4f914cdc63faf6a40e77ae
[ "Apache-2.0" ]
2
2018-12-02T11:10:15.000Z
2019-02-21T22:24:00.000Z
tests/bucket/test_bucket.py
WillChilds-Klein/mistress-mapreduce
c991a502545bd0d3ec4f914cdc63faf6a40e77ae
[ "Apache-2.0" ]
1
2019-02-21T22:23:36.000Z
2019-02-21T22:23:36.000Z
tests/bucket/test_bucket.py
WillChilds-Klein/mistress-mapreduce
c991a502545bd0d3ec4f914cdc63faf6a40e77ae
[ "Apache-2.0" ]
3
2018-04-26T16:02:10.000Z
2018-12-02T11:10:16.000Z
from mrs.bucket import WriteBucket from mrs import BinWriter, HexWriter def test_writebucket(): b = WriteBucket(0, 0) b.addpair((4, 'test')) b.collect([(3, 'a'), (1, 'This'), (2, 'is')]) values = ' '.join(value for key, value in b) assert values == 'test a This is' b.sort() values = ' '.j...
26.741071
69
0.621035
409
2,995
4.440098
0.149144
0.105727
0.074339
0.089207
0.863987
0.863987
0.84196
0.84196
0.792952
0.749449
0
0.015544
0.226711
2,995
111
70
26.981982
0.768566
0.00601
0
0.825
0
0
0.068235
0
0
0
0
0
0.3
1
0.0625
false
0
0.025
0
0.0875
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
53b14303d9879fe4fc46ca016bb6d34bfedbf48e
35,783
py
Python
inquire/agents/dempref.py
HARPLab/inquire
fa74eb10e5391a0f226753668a31527c68fc6962
[ "BSD-3-Clause" ]
null
null
null
inquire/agents/dempref.py
HARPLab/inquire
fa74eb10e5391a0f226753668a31527c68fc6962
[ "BSD-3-Clause" ]
null
null
null
inquire/agents/dempref.py
HARPLab/inquire
fa74eb10e5391a0f226753668a31527c68fc6962
[ "BSD-3-Clause" ]
null
null
null
""" An agent which uses demonstrations and preferences. Code adapted from Learning Reward Functions by Integrating Human Demonstrations and Preferences. """ import itertools import os import time from pathlib import Path from typing import Dict, List import arviz as az from inquire.agents.agent import Agent from inq...
40.570295
123
0.506386
3,654
35,783
4.747126
0.151615
0.018448
0.016142
0.028479
0.304335
0.231062
0.184308
0.166551
0.155828
0.131097
0
0.006986
0.423944
35,783
881
124
40.616345
0.834522
0.211749
0
0.223154
0
0
0.03593
0.001862
0
0
0
0
0.011745
1
0.038591
false
0
0.028523
0
0.105705
0.003356
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53b25c7fce6d985ae97109a316a32f1fdb359f32
1,049
py
Python
coba/learners/__init__.py
mrucker/banditbenchmark
0365291b3a0cf1d862d294e0386d0ccad3f360f1
[ "BSD-3-Clause" ]
1
2020-07-22T13:43:14.000Z
2020-07-22T13:43:14.000Z
coba/learners/__init__.py
mrucker/coba
4f679fb5c6e39e2d0bf3e609c77a2a6865168795
[ "BSD-3-Clause" ]
null
null
null
coba/learners/__init__.py
mrucker/coba
4f679fb5c6e39e2d0bf3e609c77a2a6865168795
[ "BSD-3-Clause" ]
null
null
null
"""This module contains all public learners and learner interfaces.""" from coba.learners.primitives import Learner, SafeLearner from coba.learners.bandit import EpsilonBanditLearner, UcbBanditLearner, FixedLearner, RandomLearner from coba.learners.corral import CorralLearner from coba.learners.vowpal impo...
36.172414
122
0.766444
79
1,049
10.126582
0.417722
0.07
0.14
0.0825
0.105
0
0
0
0
0
0
0
0.15348
1,049
29
123
36.172414
0.900901
0.06101
0
0
0
0
0.276531
0.043878
0
0
0
0
0
1
0
false
0
0.269231
0
0.269231
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53b40880bc916c9f0a3ace8c04060a57ded76e7b
24,347
py
Python
virtual/lib/python3.8/site-packages/dns/zonefile.py
Lenus254/personal_blog
aac38e4b5372c86efa8e24db2e051fef8e5feef8
[ "Unlicense" ]
1
2022-01-27T05:54:14.000Z
2022-01-27T05:54:14.000Z
virtual/lib/python3.8/site-packages/dns/zonefile.py
Lenus254/personal_blog
aac38e4b5372c86efa8e24db2e051fef8e5feef8
[ "Unlicense" ]
null
null
null
virtual/lib/python3.8/site-packages/dns/zonefile.py
Lenus254/personal_blog
aac38e4b5372c86efa8e24db2e051fef8e5feef8
[ "Unlicense" ]
null
null
null
# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc. # # Permission to use, copy, modify, and distribute this software and its # documentation for any purpose with or without fee is hereby granted, # provided that the above copyright notice and ...
38.9552
83
0.548897
2,826
24,347
4.611465
0.14862
0.017726
0.045887
0.042971
0.40907
0.311234
0.262431
0.251381
0.218462
0.206952
0
0.004008
0.364686
24,347
624
84
39.017628
0.838505
0.207541
0
0.410835
0
0
0.027668
0.004629
0
0
0
0
0.004515
1
0.054176
false
0.004515
0.031603
0.006772
0.133183
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53b4099090d815c2fccdfff9285d6d8c4361e95f
11,719
py
Python
swift/common/daemon.py
fossabot/swift-1
63fc013b8b96484cede0e9901ad54676b8c93298
[ "Apache-2.0" ]
null
null
null
swift/common/daemon.py
fossabot/swift-1
63fc013b8b96484cede0e9901ad54676b8c93298
[ "Apache-2.0" ]
null
null
null
swift/common/daemon.py
fossabot/swift-1
63fc013b8b96484cede0e9901ad54676b8c93298
[ "Apache-2.0" ]
1
2020-03-09T19:58:52.000Z
2020-03-09T19:58:52.000Z
# Copyright (c) 2010-2012 OpenStack Foundation # # 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 agree...
36.621875
79
0.63572
1,526
11,719
4.757536
0.247051
0.025069
0.019835
0.017906
0.184711
0.1427
0.085399
0.051791
0.033333
0.033333
0
0.003415
0.275365
11,719
319
80
36.736677
0.851507
0.364707
0
0.252941
0
0
0.057796
0
0
0
0
0
0
1
0.135294
false
0.005882
0.052941
0.005882
0.264706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53b4d42745fdda68cc9c6626c17825d3356f7324
474
py
Python
backend/resource_files_sample.py
Bhaskers-Blu-Org1/multicloud-incident-response-navigator
e6ba6322fdcc533b6ed14abb4681470a6bb6bd85
[ "Apache-2.0" ]
null
null
null
backend/resource_files_sample.py
Bhaskers-Blu-Org1/multicloud-incident-response-navigator
e6ba6322fdcc533b6ed14abb4681470a6bb6bd85
[ "Apache-2.0" ]
null
null
null
backend/resource_files_sample.py
Bhaskers-Blu-Org1/multicloud-incident-response-navigator
e6ba6322fdcc533b6ed14abb4681470a6bb6bd85
[ "Apache-2.0" ]
1
2020-07-30T10:07:19.000Z
2020-07-30T10:07:19.000Z
import resource_files resources = resource_files.ResourceFiles() # sample use case of getting yamls print(resources.get_yaml("Pod", "jumpy-shark-gbapp-frontend-844fdccf55-ggkbf", "default", "mycluster")) # sample use case of getting events print(resources.get_events('mycluster','default','78abd8c9-ac06-11e9-b68f-0e7...
36.461538
103
0.78481
62
474
5.919355
0.516129
0.073569
0.106267
0.122616
0.386921
0.207084
0
0
0
0
0
0.062069
0.082278
474
12
104
39.5
0.781609
0.225738
0
0
0
0
0.476584
0.336088
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.6
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
53b5ca21f061bcccc9e7720c97265d2e56f05552
1,305
py
Python
backend/api/v1/auth_module/auth_api.py
aroraenterprise/projecteos
e1fb0438af8cb59b77792523c6616c480b23a6f8
[ "MIT" ]
null
null
null
backend/api/v1/auth_module/auth_api.py
aroraenterprise/projecteos
e1fb0438af8cb59b77792523c6616c480b23a6f8
[ "MIT" ]
null
null
null
backend/api/v1/auth_module/auth_api.py
aroraenterprise/projecteos
e1fb0438af8cb59b77792523c6616c480b23a6f8
[ "MIT" ]
null
null
null
""" Project: flask-rest Author: Saj Arora Description: Handle auth endpoints such as auth/signup, auth/login """ from api.v1 import make_json_ok_response, SageController, SageMethod from api.v1.fundamentals import helper from .auth_controller import AuthController def sage_auth_signup_function(self, resource, **kwarg...
36.25
104
0.744828
166
1,305
5.680723
0.451807
0.033934
0.063627
0.057264
0.26087
0.127253
0.127253
0.127253
0.127253
0.127253
0
0.001869
0.180077
1,305
36
105
36.25
0.879439
0.256705
0
0.333333
0
0
0.018828
0
0
0
0
0
0
1
0.083333
false
0
0.125
0
0.291667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53b66284f62a337ba9819ca33a9acfe617722619
1,785
py
Python
tests/QuantumToolboxIntegration/test_singleQubitOpenDynamics.py
AngsarM/QuanGuru
5db6105f843bbc78c2d5b1547e32d494fbe10b8d
[ "BSD-3-Clause" ]
9
2021-05-23T06:30:45.000Z
2021-12-27T13:33:54.000Z
tests/QuantumToolboxIntegration/test_singleQubitOpenDynamics.py
cahitkargi/QuanGuru
9b5c94465cd58bc32f6ff845f29dfdec7e0f9075
[ "BSD-3-Clause" ]
26
2022-03-18T02:40:54.000Z
2022-03-25T07:00:25.000Z
tests/QuantumToolboxIntegration/test_singleQubitOpenDynamics.py
cahitkargi/QuanGuru
9b5c94465cd58bc32f6ff845f29dfdec7e0f9075
[ "BSD-3-Clause" ]
5
2021-05-23T06:30:24.000Z
2022-02-04T02:40:08.000Z
import random as rn import numpy as np # open system dynamics of a qubit and compare numerical results with the analytical calculations # NOTE these are also TUTORIALS of the library, so see the Tutorials for what these are doing and analytical # calculations. # currently includes 2 cases: (i) decay only, and (ii) un...
45.769231
117
0.773109
217
1,785
6.35023
0.511521
0.010885
0.026125
0.024673
0.301887
0.301887
0.301887
0.301887
0.301887
0.301887
0
0.01054
0.14958
1,785
38
118
46.973684
0.897233
0.419608
0
0.545455
0
0
0.095424
0
0
0
0
0.026316
0.090909
1
0.136364
false
0
0.090909
0
0.227273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
53b6650eb89817fbb23a4d021878f43cb942eb48
538
py
Python
QuGraphy/state.py
Mohamed-ShehabEldin/QuGraphy
c43fe7128f91e7bd383393f5ff16ff613077e8d7
[ "Apache-2.0" ]
null
null
null
QuGraphy/state.py
Mohamed-ShehabEldin/QuGraphy
c43fe7128f91e7bd383393f5ff16ff613077e8d7
[ "Apache-2.0" ]
null
null
null
QuGraphy/state.py
Mohamed-ShehabEldin/QuGraphy
c43fe7128f91e7bd383393f5ff16ff613077e8d7
[ "Apache-2.0" ]
null
null
null
#this file will contain function that related to vector state from .density import * #we may use some functions from them and dependencies def row2col(vec): if np.ndim(vec)==1: col=[] for element in vec: col.append([element]) return col else: return vec def che...
25.619048
79
0.633829
74
538
4.581081
0.608108
0.023599
0.088496
0.129794
0.176991
0.176991
0
0
0
0
0
0.015228
0.267658
538
21
80
25.619048
0.845178
0.208178
0
0
0
0
0.136471
0
0
0
0
0
0
1
0.133333
false
0
0.066667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53b6dc5235fed6c6481fdc6dfb8b105b1f554689
4,480
py
Python
uncoverml/metadata_profiler.py
GeoscienceAustralia/uncoverml
672914377afa4ad1c069fcd4845bc45f80132e36
[ "Apache-2.0" ]
34
2017-03-14T23:59:58.000Z
2022-03-03T18:04:25.000Z
uncoverml/metadata_profiler.py
GeoscienceAustralia/uncoverml
672914377afa4ad1c069fcd4845bc45f80132e36
[ "Apache-2.0" ]
106
2017-03-22T00:26:10.000Z
2022-03-12T00:19:08.000Z
uncoverml/metadata_profiler.py
GeoscienceAustralia/uncoverml
672914377afa4ad1c069fcd4845bc45f80132e36
[ "Apache-2.0" ]
21
2017-05-04T04:02:39.000Z
2022-02-04T00:55:18.000Z
#! /usr/bin/env python """ Description: Gather Metadata for the uncover-ml prediction output results: Reference: email 2019-05-24 Overview Creator: (person who generated the model) Model; Name: Type and date: Algorithm: Extent: Lat/long - location on Australia map? SB Notes: None of the above is r...
32.941176
206
0.620536
578
4,480
4.731834
0.385813
0.046069
0.018282
0.02011
0.11042
0.087751
0.077148
0.064351
0.064351
0.064351
0
0.017608
0.264732
4,480
135
207
33.185185
0.81269
0.3875
0
0.074074
1
0
0.158913
0
0
0
0
0
0
1
0.037037
false
0.037037
0.166667
0
0.240741
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53b7cf475edf549606a00bf10c8b39ab817c0d94
72
py
Python
testjpkg/jsonify/hij.py
thisisishara/test_pypi_cli
15b22ed8943a18a6d9de9ee4ba6a84249a633e2e
[ "MIT" ]
null
null
null
testjpkg/jsonify/hij.py
thisisishara/test_pypi_cli
15b22ed8943a18a6d9de9ee4ba6a84249a633e2e
[ "MIT" ]
null
null
null
testjpkg/jsonify/hij.py
thisisishara/test_pypi_cli
15b22ed8943a18a6d9de9ee4ba6a84249a633e2e
[ "MIT" ]
null
null
null
print("hiiiiiiiiiiiiiiiix") def sayhi(): print("2nd pkg said hi")
12
28
0.666667
9
72
5.333333
0.888889
0
0
0
0
0
0
0
0
0
0
0.016949
0.180556
72
5
29
14.4
0.79661
0
0
0
0
0
0.458333
0
0
0
0
0
0
1
0.333333
true
0
0
0
0.333333
0.666667
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
0
0
0
1
0
5
53b7d55368f6a08688dd3db11b258ac91759ec48
2,447
py
Python
asv_bench/benchmarks/algorithms.py
raspbian-packages/pandas
fb33806b5286deb327b2e0fa96aedf25a6ed563f
[ "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause" ]
null
null
null
asv_bench/benchmarks/algorithms.py
raspbian-packages/pandas
fb33806b5286deb327b2e0fa96aedf25a6ed563f
[ "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause" ]
null
null
null
asv_bench/benchmarks/algorithms.py
raspbian-packages/pandas
fb33806b5286deb327b2e0fa96aedf25a6ed563f
[ "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause" ]
null
null
null
import numpy as np import pandas as pd from pandas.util import testing as tm class algorithm(object): goal_time = 0.2 def setup(self): N = 100000 self.int_unique = pd.Int64Index(np.arange(N * 5)) # cache is_unique self.int_unique.is_unique self.int = pd.Int64Index(np...
26.89011
67
0.612178
343
2,447
4.186589
0.268222
0.07312
0.068245
0.075209
0.365599
0.262535
0.262535
0.190808
0.123955
0.123955
0
0.048874
0.255823
2,447
90
68
27.188889
0.739703
0.014303
0
0.129032
0
0
0.012868
0
0
0
0
0
0
1
0.274194
false
0
0.048387
0
0.387097
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
53b8d7ac852024e1d3318cbf747bac9b0ef35d8a
28,857
py
Python
RMtools_1D/do_RMsynth_1D.py
lh-astro/RM-Tools
ac64cc41b2f696f21ee7dd001303cbad1ff71114
[ "MIT" ]
null
null
null
RMtools_1D/do_RMsynth_1D.py
lh-astro/RM-Tools
ac64cc41b2f696f21ee7dd001303cbad1ff71114
[ "MIT" ]
null
null
null
RMtools_1D/do_RMsynth_1D.py
lh-astro/RM-Tools
ac64cc41b2f696f21ee7dd001303cbad1ff71114
[ "MIT" ]
null
null
null
#!/usr/bin/env python #=============================================================================# # # # NAME: do_RMsynth_1D.py # # ...
45.159624
111
0.524517
3,171
28,857
4.678966
0.208767
0.019411
0.018872
0.011862
0.270742
0.220395
0.145582
0.116061
0.10494
0.096583
0
0.017803
0.349863
28,857
638
112
45.230408
0.77304
0.278026
0
0.216418
0
0.002488
0.194327
0.001178
0
0
0
0
0
1
0.00995
false
0
0.062189
0
0.077114
0.059701
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53b911e92af8c5251a19a68b93418217d94e2790
310
py
Python
cogdl/modules/conv/__init__.py
awesome-archive/cogdl
0a354eaaaf851e7218197508e7e85a81d3fb5753
[ "MIT" ]
8
2020-06-03T00:55:09.000Z
2022-01-23T16:06:56.000Z
cogdl/modules/conv/__init__.py
awesome-archive/cogdl
0a354eaaaf851e7218197508e7e85a81d3fb5753
[ "MIT" ]
null
null
null
cogdl/modules/conv/__init__.py
awesome-archive/cogdl
0a354eaaaf851e7218197508e7e85a81d3fb5753
[ "MIT" ]
6
2020-06-03T00:55:11.000Z
2022-03-16T01:14:36.000Z
from .message_passing import MessagePassing from .gcn_conv import GCNConv from .gat_conv import GATConv from .se_layer import SELayer from .aggregator import Meanaggregator from .maggregator import meanaggr __all__ = [ 'MessagePassing', 'GCNConv', 'GATConv', 'SELayer', 'Meanaggregator' ]
20.666667
43
0.751613
34
310
6.617647
0.529412
0.088889
0
0
0
0
0
0
0
0
0
0
0.174194
310
14
44
22.142857
0.878906
0
0
0
0
0
0.158065
0
0
0
0
0
0
1
0
false
0.153846
0.461538
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
53b93c021c611ea7b35c2a4e8768e23aee0fabe0
1,449
py
Python
netket/utils/jax.py
gpescia/MyNetKet
958510966a5870d9d491de0628903cf1fc210921
[ "Apache-2.0" ]
1
2022-01-31T15:19:09.000Z
2022-01-31T15:19:09.000Z
netket/utils/jax.py
gpescia/MyNetKet
958510966a5870d9d491de0628903cf1fc210921
[ "Apache-2.0" ]
26
2021-08-06T15:27:57.000Z
2022-03-30T16:55:18.000Z
netket/utils/jax.py
gpescia/MyNetKet
958510966a5870d9d491de0628903cf1fc210921
[ "Apache-2.0" ]
1
2021-04-25T15:47:32.000Z
2021-04-25T15:47:32.000Z
# Copyright 2021 The NetKet Authors - All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
30.829787
78
0.712215
218
1,449
4.605505
0.490826
0.039841
0.063745
0.038845
0.177291
0.177291
0.177291
0.177291
0.177291
0.177291
0
0.006897
0.199448
1,449
46
79
31.5
0.858621
0.574879
0
0.352941
0
0
0.126812
0.074275
0
0
0
0
0
1
0.176471
false
0
0.117647
0.058824
0.705882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53b95578f3b9aa9d904006c7f7edb3a1fb45bd48
10,933
py
Python
geetools/batch/featurecollection.py
Kungreye/gee_tools
d0712ac78410250c41503ca08075f536d58d2ef3
[ "MIT" ]
null
null
null
geetools/batch/featurecollection.py
Kungreye/gee_tools
d0712ac78410250c41503ca08075f536d58d2ef3
[ "MIT" ]
null
null
null
geetools/batch/featurecollection.py
Kungreye/gee_tools
d0712ac78410250c41503ca08075f536d58d2ef3
[ "MIT" ]
null
null
null
# coding=utf-8 import ee from . import utils import json import csv from .. import tools def fromShapefile(filename, crs=None, start=None, end=None): """ Convert an ESRI file (.shp and .dbf must be present) to a ee.FeatureCollection At the moment only works for shapes with less than 1000 records and does...
32.346154
83
0.611269
1,364
10,933
4.869501
0.232405
0.007528
0.006775
0.012045
0.18368
0.177356
0.154622
0.14589
0.132189
0.132189
0
0.009228
0.286381
10,933
338
84
32.346154
0.842092
0.30815
0
0.11828
0
0
0.06733
0
0
0
0
0
0
1
0.053763
false
0
0.043011
0
0.150538
0.005376
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53bae4caf0f5e1b3ae61fd16a27c99803d8b7c2e
1,357
py
Python
index.py
extwiii/Rock-paper-scissors-lizard-Spock
7a8eda9f168636a9878c91620e625997ba0994a8
[ "Apache-2.0" ]
1
2018-08-02T00:52:33.000Z
2018-08-02T00:52:33.000Z
index.py
extwiii/Rock-paper-scissors-lizard-Spock
7a8eda9f168636a9878c91620e625997ba0994a8
[ "Apache-2.0" ]
null
null
null
index.py
extwiii/Rock-paper-scissors-lizard-Spock
7a8eda9f168636a9878c91620e625997ba0994a8
[ "Apache-2.0" ]
null
null
null
# Rock-paper-scissors-lizard-Spock template # The key idea of this program is to equate the strings # "rock", "paper", "scissors", "lizard", "Spock" to numbers # as follows: # # 0 - rock # 1 - Spock # 2 - paper # 3 - lizard # 4 - scissors import random def name_to_number(name): if name == "rock": return ...
21.539683
59
0.590273
175
1,357
4.474286
0.268571
0.040868
0.043423
0.058748
0.07152
0
0
0
0
0
0
0.021717
0.287399
1,357
62
60
21.887097
0.788004
0.160648
0
0.108696
0
0
0.12766
0
0
0
0
0
0
0
null
null
0
0.021739
null
null
0.130435
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
53bd7ca2bf66bb072074f8694f4fa68fad92a150
9,067
py
Python
libs/clustering/ensembles/utils.py
greenelab/phenoplier
95f04b17f0b5227560fcf32ac0a85b2c5aa9001f
[ "BSD-2-Clause-Patent" ]
3
2021-08-17T21:59:19.000Z
2022-03-08T15:46:24.000Z
libs/clustering/ensembles/utils.py
greenelab/phenoplier
95f04b17f0b5227560fcf32ac0a85b2c5aa9001f
[ "BSD-2-Clause-Patent" ]
4
2021-08-04T13:57:24.000Z
2021-10-11T14:57:15.000Z
libs/clustering/ensembles/utils.py
greenelab/phenoplier
95f04b17f0b5227560fcf32ac0a85b2c5aa9001f
[ "BSD-2-Clause-Patent" ]
null
null
null
""" Contains functions to generate and combine a clustering ensemble. """ import numpy as np import pandas as pd from sklearn.metrics import pairwise_distances from sklearn.metrics import adjusted_rand_score as ari from sklearn.metrics import adjusted_mutual_info_score as ami from sklearn.metrics import normalized_mutu...
35.837945
88
0.644645
1,117
9,067
5.097583
0.248881
0.023182
0.009659
0.01686
0.114858
0.06059
0.06059
0.06059
0
0
0
0.002331
0.290394
9,067
252
89
35.980159
0.882655
0.486931
0
0.085714
1
0
0.054836
0.005413
0
0
0
0
0
1
0.047619
false
0
0.085714
0
0.180952
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53bdcb0790280882aedd07e5cb2cef0159140f96
7,236
py
Python
backend/chart/application/service/employees.py
toshi-click/chart_app
10577d7835554a93688ae0c58ecb25fbe2925bec
[ "BSD-3-Clause" ]
null
null
null
backend/chart/application/service/employees.py
toshi-click/chart_app
10577d7835554a93688ae0c58ecb25fbe2925bec
[ "BSD-3-Clause" ]
7
2020-10-25T05:34:54.000Z
2020-12-02T11:31:44.000Z
backend/chart/application/service/employees.py
toshi-click/chart_app
10577d7835554a93688ae0c58ecb25fbe2925bec
[ "BSD-3-Clause" ]
1
2021-04-30T16:51:43.000Z
2021-04-30T16:51:43.000Z
import logging from django.db import transaction, connection from django.utils import timezone from django.utils.timezone import localtime from chart.application.enums.department_type import DepartmentType from chart.application.enums.gender_type import GenderType from chart.application.service.app_logic_base import ...
43.590361
116
0.674268
769
7,236
6.024707
0.161248
0.023743
0.061515
0.044679
0.564213
0.472696
0.45068
0.394561
0.382258
0.320958
0
0.008906
0.224157
7,236
165
117
43.854545
0.816352
0.065644
0
0.25
0
0
0.08424
0.064328
0
0
0
0
0
1
0.086538
false
0
0.076923
0
0.182692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53bf55da72ae86acb1c699435bc12016f38e84ea
146
py
Python
DataQualityTester/views/pages.py
pwyf/data-quality-tester
d7674849c64d4d41ff4e4b6b12631994c7ce0a92
[ "MIT" ]
null
null
null
DataQualityTester/views/pages.py
pwyf/data-quality-tester
d7674849c64d4d41ff4e4b6b12631994c7ce0a92
[ "MIT" ]
53
2017-04-07T09:41:38.000Z
2022-02-11T14:26:46.000Z
DataQualityTester/views/pages.py
pwyf/iati-simple-tester
ef7f06ebbd4dd45e6ca76d93a3f624abc33d961c
[ "MIT" ]
3
2017-07-19T13:43:14.000Z
2019-10-29T15:25:49.000Z
from flask import render_template def home(): return render_template('upload.html') def about(): return render_template('about.html')
14.6
41
0.726027
19
146
5.421053
0.578947
0.407767
0.38835
0
0
0
0
0
0
0
0
0
0.164384
146
9
42
16.222222
0.844262
0
0
0
0
0
0.143836
0
0
0
0
0
0
1
0.4
true
0
0.2
0.4
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
8
53bfb5244dff3d80fd05051eac4247280b733cea
5,761
py
Python
hastakayit_gui.py
roselight/Image-Recognition-with-OpenCv
4d0607f37bc80ee0b00790cdcbb0a22c76852ac4
[ "MIT" ]
2
2020-04-10T21:53:52.000Z
2020-04-11T12:24:35.000Z
hastakayit_gui.py
roselight/Image-Recognition-with-OpenCv
4d0607f37bc80ee0b00790cdcbb0a22c76852ac4
[ "MIT" ]
null
null
null
hastakayit_gui.py
roselight/Image-Recognition-with-OpenCv
4d0607f37bc80ee0b00790cdcbb0a22c76852ac4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '.\hastakayit_gui.ui' # # Created by: PyQt5 UI code generator 5.11.3 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets import mysql.connector from PyQt5.QtWidgets import QMessageBox,QWidget,Q...
44.658915
117
0.69849
714
5,761
5.488796
0.281513
0.028579
0.064302
0.057413
0.278898
0.246491
0.155652
0.064812
0.064812
0.064812
0
0.029898
0.181392
5,761
128
118
45.007813
0.799194
0.052769
0
0.018868
1
0.009434
0.102442
0.005875
0
0
0
0
0
1
0.028302
false
0.009434
0.04717
0
0.084906
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53c0dd2b4f081d4c8d070b26922f68bf139eaa76
4,138
py
Python
.travis/manage_daily_builds.py
loonwerks/AGREE
58640ab89aaa3c72ccca0b8c80cf96d1815981da
[ "BSD-3-Clause" ]
5
2020-12-28T15:41:04.000Z
2021-07-31T09:07:28.000Z
.travis/manage_daily_builds.py
loonwerks/AGREE
58640ab89aaa3c72ccca0b8c80cf96d1815981da
[ "BSD-3-Clause" ]
89
2020-01-27T17:16:00.000Z
2022-03-31T09:57:25.000Z
.travis/manage_daily_builds.py
loonwerks/AGREE
58640ab89aaa3c72ccca0b8c80cf96d1815981da
[ "BSD-3-Clause" ]
5
2020-02-25T00:33:21.000Z
2021-01-02T07:23:11.000Z
#!/usr/bin/env python3 ''' Copyright (c) 2021, Collins Aerospace. Developed with the sponsorship of Defense Advanced Research Projects Agency (DARPA). Permission is hereby granted, free of charge, to any person obtaining a copy of this data, including any software or models in source or binary form, as well as any d...
48.682353
137
0.678347
601
4,138
4.559068
0.357737
0.020438
0.034672
0.036496
0.133577
0.111679
0.089781
0.089781
0.089781
0.089781
0
0.005322
0.22813
4,138
84
138
49.261905
0.852536
0.386177
0
0.083333
0
0
0.152079
0.027327
0
0
0
0
0
1
0.020833
false
0
0.104167
0
0.125
0.229167
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53c1b1b92893f74554831ae30476aefdb5464370
5,743
py
Python
tests/crowdsourcing/tasks/turn_annotations_static/test_turn_annotations_static_analysis.py
KaihuiLiang/ParlAI
fb5c92741243756516fa50073d34e94ba0b6981e
[ "MIT" ]
null
null
null
tests/crowdsourcing/tasks/turn_annotations_static/test_turn_annotations_static_analysis.py
KaihuiLiang/ParlAI
fb5c92741243756516fa50073d34e94ba0b6981e
[ "MIT" ]
1
2020-11-12T02:20:02.000Z
2020-11-12T02:20:02.000Z
tests/crowdsourcing/tasks/turn_annotations_static/test_turn_annotations_static_analysis.py
MoPei/ParlAI
321bc857f2765cd76d5134531a802442ac4c9f5c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Test components of specific crowdsourcing tasks. """ import json import os import unittest import pandas as pd imp...
37.292208
93
0.482675
520
5,743
5.034615
0.315385
0.063025
0.026738
0.02139
0.247517
0.224217
0.224217
0.189076
0.189076
0.189076
0
0.01182
0.440188
5,743
153
94
37.535948
0.802488
0.105346
0
0.247788
0
0
0.120805
0.040861
0
0
0
0
0
1
0.00885
false
0.00885
0.070796
0
0.088496
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53c2457c0d1c8b05d10bdccfca2b07b59c9a6dd9
57
py
Python
scripts/selectors.py
bartongroup/slivka-bio
049aee943503963ce5c9b14267fe001edd8e0125
[ "Apache-2.0" ]
null
null
null
scripts/selectors.py
bartongroup/slivka-bio
049aee943503963ce5c9b14267fe001edd8e0125
[ "Apache-2.0" ]
3
2021-09-01T16:47:02.000Z
2022-02-09T09:01:31.000Z
scripts/selectors.py
bartongroup/slivka-bio
049aee943503963ce5c9b14267fe001edd8e0125
[ "Apache-2.0" ]
null
null
null
def example_selector(*args, **kwargs): return "default"
19
55
0.736842
7
57
5.857143
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
57
2
56
28.5
0.803922
0
0
0
0
0
0.125
0
0
0
0
0
0
1
1
true
0
0
1
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
0
1
1
0
0
6
53c38f978d506f03ad72b1b6b50a34e76cbf6a7b
3,937
py
Python
applied_python/applied_python/lib/python2.7/site-packages/ansible/modules/extras/messaging/rabbitmq_plugin.py
mith1979/ansible_automation
013dfa67c6d91720b787fadb21de574b6e023a26
[ "Apache-2.0" ]
1
2020-10-14T00:06:54.000Z
2020-10-14T00:06:54.000Z
applied_python/applied_python/lib/python2.7/site-packages/ansible/modules/extras/messaging/rabbitmq_plugin.py
mith1979/ansible_automation
013dfa67c6d91720b787fadb21de574b6e023a26
[ "Apache-2.0" ]
null
null
null
applied_python/applied_python/lib/python2.7/site-packages/ansible/modules/extras/messaging/rabbitmq_plugin.py
mith1979/ansible_automation
013dfa67c6d91720b787fadb21de574b6e023a26
[ "Apache-2.0" ]
2
2015-08-06T07:45:48.000Z
2017-01-04T17:47:16.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2013, Chatham Financial <oss@chathamfinancial.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3...
30.053435
88
0.654559
494
3,937
5.103239
0.3583
0.06545
0.01547
0.02261
0.13566
0.125347
0.069814
0.043633
0.043633
0
0
0.00404
0.245618
3,937
130
89
30.284615
0.844781
0.18796
0
0.210526
0
0
0.328194
0.014789
0
0
0
0
0
1
0.063158
false
0
0.010526
0.010526
0.115789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53c4401601b96a14bafd9a44d9c96d488de53fcf
7,279
py
Python
vitrage/datasources/static/driver.py
HoonMinJeongUm/Hunmin-vitrage
37d43d6b78e8b76fa6a2e83e5c739e9e4917a7b6
[ "Apache-2.0" ]
null
null
null
vitrage/datasources/static/driver.py
HoonMinJeongUm/Hunmin-vitrage
37d43d6b78e8b76fa6a2e83e5c739e9e4917a7b6
[ "Apache-2.0" ]
null
null
null
vitrage/datasources/static/driver.py
HoonMinJeongUm/Hunmin-vitrage
37d43d6b78e8b76fa6a2e83e5c739e9e4917a7b6
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 - Nokia, ZTE # # 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...
37.911458
79
0.637588
810
7,279
5.504938
0.245679
0.028257
0.037677
0.021529
0.17874
0.118636
0.061449
0.040816
0.040816
0.026463
0
0.002862
0.279846
7,279
191
80
38.109948
0.847768
0.18258
0
0.181102
0
0
0.020474
0
0
0
0
0.010471
0
1
0.125984
false
0.007874
0.070866
0.031496
0.322835
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
53c47f75ab180de02752f1ea49f9b87157a860e1
2,406
py
Python
napari/layers/shapes/mesh.py
marshuang80/napari
10f1d0f39fe9ccd42456c95458e2f23b59450f02
[ "BSD-3-Clause" ]
null
null
null
napari/layers/shapes/mesh.py
marshuang80/napari
10f1d0f39fe9ccd42456c95458e2f23b59450f02
[ "BSD-3-Clause" ]
null
null
null
napari/layers/shapes/mesh.py
marshuang80/napari
10f1d0f39fe9ccd42456c95458e2f23b59450f02
[ "BSD-3-Clause" ]
null
null
null
import numpy as np class Mesh: """Contains meshses of shapes that will ultimately get rendered. Attributes ---------- vertices : np.ndarray Qx2 array of vertices of all triangles for shapes including edges and faces vertices_centers : np.ndarray Qx2 array of centers of ...
38.806452
79
0.646301
343
2,406
4.469388
0.265306
0.046967
0.041748
0.029354
0.499674
0.454664
0.413568
0.413568
0.413568
0.302674
0
0.020138
0.277639
2,406
61
80
39.442623
0.86191
0.694929
0
0
0
0
0.01406
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53c5781ea07cd092d5d5320da909512506460ef4
184
py
Python
python/helpers.py
cdacos/astrophysics_with_a_pc
b0017856005a4771fbd89c8137fb320b72b1b633
[ "FSFAP" ]
null
null
null
python/helpers.py
cdacos/astrophysics_with_a_pc
b0017856005a4771fbd89c8137fb320b72b1b633
[ "FSFAP" ]
null
null
null
python/helpers.py
cdacos/astrophysics_with_a_pc
b0017856005a4771fbd89c8137fb320b72b1b633
[ "FSFAP" ]
1
2021-03-14T23:13:28.000Z
2021-03-14T23:13:28.000Z
import sys def start_parameter(text, i): if len(sys.argv) > i: print('{0}{1}'.format(text, sys.argv[i])) return float(sys.argv[i]) else: return float(raw_input(text))
20.444444
45
0.63587
31
184
3.709677
0.612903
0.182609
0.208696
0
0
0
0
0
0
0
0
0.013245
0.179348
184
8
46
23
0.748344
0
0
0
0
0
0.032609
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0.142857
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
53c5eb302f7f03de564020dfecea1ce909aa994c
12,916
py
Python
configs/docker-ubuntu-img/para.py
MarioCarrilloA/stx-packaging
56cf32c4d65ba20f9317102d922ce946a800527d
[ "Apache-2.0" ]
1
2019-06-02T00:28:03.000Z
2019-06-02T00:28:03.000Z
configs/docker-ubuntu-img/para.py
MarioCarrilloA/stx-packaging
56cf32c4d65ba20f9317102d922ce946a800527d
[ "Apache-2.0" ]
11
2019-04-05T16:04:54.000Z
2019-08-23T19:24:49.000Z
configs/docker-ubuntu-img/para.py
MarioCarrilloA/stx-packaging
56cf32c4d65ba20f9317102d922ce946a800527d
[ "Apache-2.0" ]
5
2019-02-18T23:11:30.000Z
2019-04-29T07:42:31.000Z
#!/usr/bin/python3 # vim:se tw=0 sts=4 ts=4 et ai: """ Copyright © 2014 Osamu Aoki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to u...
38.440476
554
0.477083
1,273
12,916
4.788688
0.298507
0.050525
0.03937
0.043307
0.149934
0.108596
0.058727
0.013451
0
0
0
0.005667
0.316894
12,916
335
555
38.555224
0.685141
0.148421
0
0.309434
0
0.007547
0.341297
0.029913
0
0
0
0
0
1
0.007547
false
0
0.022642
0
0.041509
0.007547
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53c6b101ead41851286a75be3bcca965a4128b2f
6,164
py
Python
build/lib/jet_django/views/model.py
lukejamison/jet-dasboard
5dce66b6ea2f107d7120e5e0256346d2d3bc8ed9
[ "MIT" ]
193
2018-08-27T06:10:48.000Z
2022-03-08T13:04:55.000Z
build/lib/jet_django/views/model.py
lukejamison/jet-dasboard
5dce66b6ea2f107d7120e5e0256346d2d3bc8ed9
[ "MIT" ]
23
2018-10-21T15:05:41.000Z
2020-12-20T15:18:58.000Z
build/lib/jet_django/views/model.py
lukejamison/jet-dasboard
5dce66b6ea2f107d7120e5e0256346d2d3bc8ed9
[ "MIT" ]
38
2018-10-31T16:19:25.000Z
2022-02-10T05:08:24.000Z
from django.core.exceptions import NON_FIELD_ERRORS from rest_framework import status, viewsets, serializers from rest_framework.decorators import list_route from rest_framework.response import Response from rest_framework.serializers import ModelSerializer from jet_django.filters.model_aggregate import AggregateFilte...
36.91018
161
0.638384
663
6,164
5.612368
0.182504
0.024187
0.024187
0.018275
0.387799
0.343187
0.294007
0.277882
0.277882
0.202634
0
0.001787
0.273524
6,164
166
162
37.13253
0.829165
0.019143
0
0.336066
0
0
0.046318
0
0
0
0
0
0
1
0.081967
false
0
0.081967
0
0.368852
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53c79195c421ab20eafd11d18287a51c1a99fb79
779
py
Python
python_minecraft_tut_2021/weatherCraft.py
LeGamermc/ursina_tutorials
f0ad518be3a02cdb52f27c87f2f70817b4d0e8b0
[ "MIT" ]
13
2021-09-01T01:38:13.000Z
2022-03-29T01:43:50.000Z
python_minecraft_tut_2021/weatherCraft.py
LeGamermc/ursina_tutorials
f0ad518be3a02cdb52f27c87f2f70817b4d0e8b0
[ "MIT" ]
14
2021-08-01T05:00:22.000Z
2022-02-03T21:53:23.000Z
python_minecraft_tut_2021/weatherCraft.py
LeGamermc/ursina_tutorials
f0ad518be3a02cdb52f27c87f2f70817b4d0e8b0
[ "MIT" ]
31
2021-08-09T04:08:11.000Z
2022-03-23T11:06:15.000Z
""" Weather functions. """ from ursina import color, window, time from nMap import nMap class Weather: def __init__(this, rate=1): this.red = 0 this.green = 200 this.blue = 211 this.darkling = 0 this.rate = rate this.towardsNight = 1 def setSky(this): ...
22.911765
50
0.519897
97
779
4.134021
0.329897
0.087282
0.194514
0.127182
0.187032
0.187032
0.187032
0
0
0
0
0.05668
0.365854
779
33
51
23.606061
0.755061
0.023107
0
0.086957
0
0
0
0
0
0
0
0
0
1
0.130435
false
0
0.086957
0
0.26087
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53c796e3204469330950f66fd76505dd80903be6
8,086
py
Python
davenetgame/dispatch/dispatcher.py
davefancella/davenetgame
f16c36539a3898ab4a021e63feef7fe497e5bc69
[ "Apache-2.0" ]
null
null
null
davenetgame/dispatch/dispatcher.py
davefancella/davenetgame
f16c36539a3898ab4a021e63feef7fe497e5bc69
[ "Apache-2.0" ]
null
null
null
davenetgame/dispatch/dispatcher.py
davefancella/davenetgame
f16c36539a3898ab4a021e63feef7fe497e5bc69
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 ''' Copyright 2016 Dave Fancella 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 applicab...
34.703863
157
0.589661
937
8,086
4.983991
0.33191
0.013705
0.010278
0.008565
0.065953
0.029122
0.029122
0.029122
0
0
0
0.008734
0.320307
8,086
232
158
34.853448
0.840975
0.36186
0
0.184
0
0
0.086183
0
0
0
0
0
0
1
0.144
false
0.016
0.024
0.024
0.312
0.112
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53c80402ffddb5cb55023d530bbbc0ac778cca90
416
py
Python
account/migrations/0003_customuser_phone_number.py
zenofewords/thebrushstash
7d53bd5f22a2daa1011bb502bce56e735504dc84
[ "MIT" ]
null
null
null
account/migrations/0003_customuser_phone_number.py
zenofewords/thebrushstash
7d53bd5f22a2daa1011bb502bce56e735504dc84
[ "MIT" ]
18
2019-12-05T07:27:52.000Z
2022-02-12T20:50:22.000Z
account/migrations/0003_customuser_phone_number.py
zenofewords/thebrushstash
7d53bd5f22a2daa1011bb502bce56e735504dc84
[ "MIT" ]
null
null
null
# Generated by Django 2.2.7 on 2019-11-17 17:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('account', '0002_remove_customuser_full_name'), ] operations = [ migrations.AddField( model_name='customuser', name='...
21.894737
63
0.620192
46
416
5.456522
0.782609
0
0
0
0
0
0
0
0
0
0
0.072368
0.269231
416
18
64
23.111111
0.753289
0.108173
0
0
1
0
0.165312
0.086721
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53c8f59b4f5c675f0331d7886d8de3f13a17f272
322
py
Python
03_Estrutura_de_Repeticao/13_potenciacao.py
gabrieldcpadilha/ListaDeExercicios-PythonBrasil
a92d477468bde5eac8987a26ea79af2ffeb6ad81
[ "MIT" ]
null
null
null
03_Estrutura_de_Repeticao/13_potenciacao.py
gabrieldcpadilha/ListaDeExercicios-PythonBrasil
a92d477468bde5eac8987a26ea79af2ffeb6ad81
[ "MIT" ]
10
2020-08-19T04:31:52.000Z
2020-09-21T22:48:29.000Z
03_Estrutura_de_Repeticao/13_potenciacao.py
gabrieldcpadilha/ListaDeExercicios-PythonBrasil
a92d477468bde5eac8987a26ea79af2ffeb6ad81
[ "MIT" ]
null
null
null
base = int(input('Digite o valor da base: ')) expoente = 0 while expoente <= 0: expoente = int(input('Digite o valor do expoente: ')) if expoente <= 0: print('O expoente tem que ser positivo') potencia = 1 for c in range(1, expoente + 1): potencia *= base print(f'{base}^ {expoente} = {potencia}'...
21.466667
57
0.624224
47
322
4.276596
0.510638
0.134328
0.139303
0.149254
0.199005
0
0
0
0
0
0
0.024194
0.229814
322
14
58
23
0.78629
0
0
0
0
0
0.354037
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53cb133ef9cebb74671b9c48466b895d83fd6371
1,313
py
Python
accounting/accounting/doctype/journal_entry/journal_entry.py
noahjacob/Accounting
6be90c4f82867156532ca71b1faa9d017e3269af
[ "MIT" ]
1
2021-04-05T06:22:16.000Z
2021-04-05T06:22:16.000Z
accounting/accounting/doctype/journal_entry/journal_entry.py
mohsinalimat/Accounting
6be90c4f82867156532ca71b1faa9d017e3269af
[ "MIT" ]
null
null
null
accounting/accounting/doctype/journal_entry/journal_entry.py
mohsinalimat/Accounting
6be90c4f82867156532ca71b1faa9d017e3269af
[ "MIT" ]
2
2021-04-05T06:22:17.000Z
2021-04-10T06:05:36.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2021, Noah Jacob and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document from frappe.utils import flt from accounting.accounting.general_ledger import make_gl_entry, make_...
29.840909
113
0.760853
198
1,313
4.873737
0.353535
0.093264
0.07772
0.062176
0.207254
0.111917
0
0
0
0
0
0.009717
0.137852
1,313
44
114
29.840909
0.842756
0.101295
0
0.074074
0
0
0.10034
0
0
0
0
0
0
1
0.148148
false
0
0.185185
0
0.37037
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53cba4400da1d1c4d684c06ae9715e48948281c2
568
py
Python
polls/models.py
mmeooo/test_django
0364f43549d4082df7100d11c67dd42dc2a82b32
[ "Apache-2.0" ]
null
null
null
polls/models.py
mmeooo/test_django
0364f43549d4082df7100d11c67dd42dc2a82b32
[ "Apache-2.0" ]
null
null
null
polls/models.py
mmeooo/test_django
0364f43549d4082df7100d11c67dd42dc2a82b32
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here. # 클래스의 기능: 상속 class Question(models.Model): # Table question_text= models.CharField(max_length= 100) # column, datatype public_date= models.CharField(max_length= 100) votes= models.DecimalField(max_digits= 20, decimal_places= 10) # 위의 2개 타입으로 클래스 만들면 ...
33.411765
71
0.746479
81
568
5.098765
0.567901
0.130751
0.217918
0.290557
0.346247
0.150121
0
0
0
0
0
0.047718
0.151408
568
16
72
35.5
0.809129
0.264085
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.111111
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
53ccd38a42372cb4c8b6646892db6cc4fe7a6bd1
722
py
Python
ipcam/test_snap.py
jack139/HF
4810f4ee2faf9ab51c867e105addc139da2adfd1
[ "BSD-3-Clause" ]
10
2019-04-07T20:13:23.000Z
2021-12-07T06:23:52.000Z
ipcam/test_snap.py
jack139/HF
4810f4ee2faf9ab51c867e105addc139da2adfd1
[ "BSD-3-Clause" ]
1
2020-05-29T16:11:22.000Z
2020-05-29T16:11:22.000Z
ipcam/test_snap.py
jack139/HF
4810f4ee2faf9ab51c867e105addc139da2adfd1
[ "BSD-3-Clause" ]
6
2017-10-20T10:53:33.000Z
2020-04-24T06:34:18.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys,os,time if len(sys.argv)<2: print "usage: test_snap.py <check|show>" sys.exit(2) kam_cmd=sys.argv[1] path='/var/data2/snap_store' a=os.listdir(path) a.remove('535e1a5c1ecffb2fa372fd7d') # this is a camera not used in HF system if kam_cmd=='show' or kam_cm...
21.878788
83
0.613573
138
722
3.137681
0.42029
0.055427
0.069284
0.083141
0.290993
0.170901
0.170901
0.170901
0.170901
0.170901
0
0.044335
0.15651
722
32
84
22.5625
0.666667
0.112188
0
0.173913
0
0
0.263323
0.070533
0
0
0
0
0
0
null
null
0
0.043478
null
null
0.130435
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
53cd4bfd1a117d3dcaa2d01161d38a59434bcf2f
5,608
py
Python
sources/datasets/client_dataset_definitions/client_dataset.py
M4rukku/impact_of_non_iid_data_in_federated_learning
c818db03699c82e42217d56f8ddd4cc2081c8bb1
[ "MIT" ]
null
null
null
sources/datasets/client_dataset_definitions/client_dataset.py
M4rukku/impact_of_non_iid_data_in_federated_learning
c818db03699c82e42217d56f8ddd4cc2081c8bb1
[ "MIT" ]
null
null
null
sources/datasets/client_dataset_definitions/client_dataset.py
M4rukku/impact_of_non_iid_data_in_federated_learning
c818db03699c82e42217d56f8ddd4cc2081c8bb1
[ "MIT" ]
null
null
null
import functools import gc from abc import ABC from sources.datasets.client_dataset_definitions.client_dataset_loaders.client_dataset_loader import ClientDatasetLoader, DatasetComponents from sources.datasets.client_dataset_definitions.client_dataset_processors.client_dataset_processor import ClientDatasetProcessor fr...
38.675862
139
0.652461
629
5,608
5.475358
0.17806
0.053426
0.041521
0.069686
0.625726
0.62079
0.584204
0.565041
0.407085
0.379791
0
0.001494
0.283702
5,608
144
140
38.944444
0.855863
0.129993
0
0.45098
0
0
0.000442
0
0
0
0
0
0
1
0.166667
false
0
0.058824
0
0.382353
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53ce7501b9e972d2df63aa7b92834c10ac73f623
2,377
py
Python
src/rmt/kinematics.py
mfrigerio17/robot-model-tools
97e25d5c4d1386c503d37a70b57400022c5b7ca0
[ "BSD-3-Clause" ]
2
2020-06-16T09:23:46.000Z
2021-01-20T09:11:43.000Z
src/rmt/kinematics.py
mfrigerio17/robot-model-tools
97e25d5c4d1386c503d37a70b57400022c5b7ca0
[ "BSD-3-Clause" ]
null
null
null
src/rmt/kinematics.py
mfrigerio17/robot-model-tools
97e25d5c4d1386c503d37a70b57400022c5b7ca0
[ "BSD-3-Clause" ]
null
null
null
import logging import numpy import kgprim.motions as motions import kgprim.ct.frommotions as frommotions import kgprim.ct.repr.mxrepr as mxrepr import motiondsl.motiondsl as motdsl logger = logging.getLogger(__name__) class RobotKinematics: '''The composition of the constant poses and the joint poses of a robot....
34.955882
119
0.738746
264
2,377
6.613636
0.439394
0.034364
0.016037
0.018328
0.033219
0.033219
0
0
0
0
0
0.001538
0.179218
2,377
67
120
35.477612
0.893388
0.147665
0
0.142857
0
0
0.075226
0
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.309524
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53cfe05a29410444b4904c98e9ea7e4826833ee4
4,702
py
Python
awx/main/management/commands/run_dispatcher.py
atr0s/awx
388ef077c384f4c5296d4870d3b0cf0e6718db80
[ "Apache-2.0" ]
null
null
null
awx/main/management/commands/run_dispatcher.py
atr0s/awx
388ef077c384f4c5296d4870d3b0cf0e6718db80
[ "Apache-2.0" ]
null
null
null
awx/main/management/commands/run_dispatcher.py
atr0s/awx
388ef077c384f4c5296d4870d3b0cf0e6718db80
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2015 Ansible, Inc. # All Rights Reserved. import os import logging from multiprocessing import Process from django.conf import settings from django.core.cache import cache as django_cache from django.core.management.base import BaseCommand from django.db import connection as django_connection from komb...
37.616
96
0.576989
492
4,702
5.394309
0.422764
0.013188
0.028259
0.028636
0.020347
0.020347
0
0
0
0
0
0.002558
0.334964
4,702
124
97
37.919355
0.846178
0.076138
0
0.020619
0
0
0.11024
0
0
0
0
0
0
0
null
null
0
0.154639
null
null
0.041237
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
53d0271d7e3d9c0d0f41f088e5b38f2630dec774
5,318
py
Python
pcdet/utils/box_coder_utils.py
Nuri-benbarka/PCDet
8da66ead3bb1120db2fa919187948c8c134e85ae
[ "Apache-2.0" ]
7
2020-11-28T03:38:51.000Z
2021-12-31T07:44:19.000Z
pcdet/utils/box_coder_utils.py
Nuri-benbarka/PCDet
8da66ead3bb1120db2fa919187948c8c134e85ae
[ "Apache-2.0" ]
null
null
null
pcdet/utils/box_coder_utils.py
Nuri-benbarka/PCDet
8da66ead3bb1120db2fa919187948c8c134e85ae
[ "Apache-2.0" ]
1
2021-04-01T15:54:21.000Z
2021-04-01T15:54:21.000Z
import numpy as np import torch from . import common_utils class ResidualCoder(object): def __init__(self, code_size=7): super().__init__() self.code_size = code_size @staticmethod def encode_np(boxes, anchors): """ :param boxes: (N, 7 + ?) x, y, z, w, l, h, r, custom valu...
35.691275
118
0.507334
808
5,318
3.196782
0.158416
0.04336
0.045296
0.009292
0.58343
0.538908
0.538908
0.510647
0.469609
0.443283
0
0.018792
0.349568
5,318
148
119
35.932432
0.727956
0.172057
0
0.458333
0
0
0.001907
0
0
0
0
0
0
1
0.0625
false
0.010417
0.03125
0
0.15625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53d12a0522be9c1f94c8076c489fd23a012f880f
15,175
py
Python
utils/utils.py
jainajinkya/deep_bingham
2ea85b3ea2af579eab36567091b88a1bbf4a627b
[ "MIT" ]
null
null
null
utils/utils.py
jainajinkya/deep_bingham
2ea85b3ea2af579eab36567091b88a1bbf4a627b
[ "MIT" ]
null
null
null
utils/utils.py
jainajinkya/deep_bingham
2ea85b3ea2af579eab36567091b88a1bbf4a627b
[ "MIT" ]
null
null
null
""" Utilities for learning pipeline.""" from __future__ import print_function import copy import dill import hashlib import itertools import third_party.deep_bingham.bingham_distribution as ms import math import numpy as np import os import scipy import scipy.integrate as integrate import scipy.special import sys impor...
34.805046
83
0.623394
2,148
15,175
4.244413
0.161546
0.029067
0.01053
0.018427
0.561259
0.51563
0.490183
0.480641
0.451903
0.434244
0
0.019759
0.266293
15,175
435
84
34.885057
0.799084
0.276705
0
0.370968
0
0
0.049261
0.005651
0
0
0
0.002299
0.016129
1
0.08871
false
0
0.064516
0.008065
0.233871
0.016129
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53d21a61b1f0af656cef94761b86e69e5114d1b2
8,108
py
Python
cli_ui.py
obatsis/Distributed-NTUA
0bf39163b64aaefb2576be01337e0ec6e026ce6d
[ "MIT" ]
null
null
null
cli_ui.py
obatsis/Distributed-NTUA
0bf39163b64aaefb2576be01337e0ec6e026ce6d
[ "MIT" ]
null
null
null
cli_ui.py
obatsis/Distributed-NTUA
0bf39163b64aaefb2576be01337e0ec6e026ce6d
[ "MIT" ]
null
null
null
import requests import os from PyInquirer import style_from_dict, Token, prompt import sys import utils.config as config import utils.ends as ends from utils.colorfy import * from auto.testing import test_trans import time import json style = style_from_dict({ Token.QuestionMark: '#E91E63 bold', Token.Selected: '#673...
34.21097
170
0.604465
1,073
8,108
4.492078
0.201305
0.026556
0.048548
0.024896
0.473859
0.442116
0.426556
0.408714
0.385685
0.370954
0
0.012168
0.209423
8,108
236
171
34.355932
0.739782
0.013937
0
0.429907
0
0.009346
0.365912
0.017019
0
0
0
0
0
1
0.004673
false
0
0.046729
0
0.051402
0.242991
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53d38a232396aeecc14c7708fa90954da15a7129
21,306
py
Python
Contents/scripts/siweighteditor/weight.py
jdrese/SIWeightEditor
0529c1a366b955f4373acd2e2f08f63b7909ff82
[ "MIT" ]
1
2018-12-12T15:39:13.000Z
2018-12-12T15:39:13.000Z
Contents/scripts/siweighteditor/weight.py
jdrese/SIWeightEditor
0529c1a366b955f4373acd2e2f08f63b7909ff82
[ "MIT" ]
null
null
null
Contents/scripts/siweighteditor/weight.py
jdrese/SIWeightEditor
0529c1a366b955f4373acd2e2f08f63b7909ff82
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from maya import mel from maya import cmds from . import lang from . import common import os import json import re class WeightCopyPaste(): def main(self, skinMeshes, mode='copy', saveName='default', method='index', weightFile='auto', threshold=0.2, engine='maya', t...
43.129555
120
0.555102
1,906
21,306
6.09234
0.23085
0.013779
0.025835
0.012659
0.289356
0.250172
0.218653
0.161126
0.15329
0.15329
0
0.007091
0.344739
21,306
494
121
43.129555
0.823437
0.07045
0
0.344828
0
0
0.080935
0.009721
0
0
0
0
0
0
null
null
0.002653
0.018568
null
null
0.029178
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
53d3daf836c3d211bfbd295aeb46edb04453a89a
1,350
py
Python
pyConTextNLP/__init__.py
Blulab-Utah/pyConTextPipeline
d4060f89d54f4db56914832033f8ce589ee3c181
[ "Apache-2.0" ]
1
2021-04-30T11:18:32.000Z
2021-04-30T11:18:32.000Z
pyConTextNLP/__init__.py
Blulab-Utah/pyConTextPipeline
d4060f89d54f4db56914832033f8ce589ee3c181
[ "Apache-2.0" ]
null
null
null
pyConTextNLP/__init__.py
Blulab-Utah/pyConTextPipeline
d4060f89d54f4db56914832033f8ce589ee3c181
[ "Apache-2.0" ]
1
2020-06-28T01:51:56.000Z
2020-06-28T01:51:56.000Z
#Copyright 2010 Brian E. Chapman # #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, s...
43.548387
79
0.786667
214
1,350
4.88785
0.593458
0.057361
0.024857
0.030593
0
0
0
0
0
0
0
0.00878
0.156296
1,350
30
80
45
0.90957
0.856296
0
0
0
0
0.119318
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53d42695123c2326facf4f279256b1c384089fd3
78,742
py
Python
pypeit/metadata.py
rcooke-ast/PYPIT
0cb9c4cb422736b855065a35aefc2bdba6d51dd0
[ "BSD-3-Clause" ]
null
null
null
pypeit/metadata.py
rcooke-ast/PYPIT
0cb9c4cb422736b855065a35aefc2bdba6d51dd0
[ "BSD-3-Clause" ]
null
null
null
pypeit/metadata.py
rcooke-ast/PYPIT
0cb9c4cb422736b855065a35aefc2bdba6d51dd0
[ "BSD-3-Clause" ]
null
null
null
""" Provides a class that handles the fits metadata required by PypeIt. .. include common links, assuming primary doc root is up one directory .. include:: ../include/links.rst """ import os import io import string from copy import deepcopy import datetime from IPython import embed import numpy as np import yaml fr...
42.817836
122
0.575411
9,701
78,742
4.599835
0.09164
0.005378
0.009188
0.00874
0.279587
0.226229
0.194787
0.170607
0.152029
0.138897
0
0.002512
0.337837
78,742
1,838
123
42.841132
0.853318
0.457329
0
0.158133
0
0
0.140905
0.008467
0
0
0
0.011425
0.003012
1
0.064759
false
0
0.028614
0.012048
0.162651
0.001506
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
53d54a4c34c0a67e36d2d017230ceb288acd1564
2,341
py
Python
aql/aql/main/aql_builtin_tools.py
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
aql/aql/main/aql_builtin_tools.py
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
aql/aql/main/aql_builtin_tools.py
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
import os.path import shutil import errno from aql.nodes import Builder, FileBuilder from .aql_tools import Tool __all__ = ( "ExecuteCommand", "InstallBuilder", "BuiltinTool", ) """ Unique Value - name + type value node node = ExecuteCommand('gcc --help -v') tools.cpp.cxx node ...
22.509615
80
0.529688
215
2,341
5.632558
0.353488
0.040462
0.02725
0.028076
0.046243
0.046243
0.046243
0
0
0
0
0
0.208885
2,341
103
81
22.728155
0.653888
0.176848
0
0.130435
0
0
0.027046
0
0
0
0
0
0
1
0.217391
false
0
0.108696
0.065217
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
53d57360a984bc0c7e7afecf352b5a5635dc9a06
3,303
py
Python
cms/test_utils/project/placeholderapp/models.py
stefanw/django-cms
048ec9e7a529549d51f4805fdfbcd50ea1e624b0
[ "BSD-3-Clause" ]
null
null
null
cms/test_utils/project/placeholderapp/models.py
stefanw/django-cms
048ec9e7a529549d51f4805fdfbcd50ea1e624b0
[ "BSD-3-Clause" ]
null
null
null
cms/test_utils/project/placeholderapp/models.py
stefanw/django-cms
048ec9e7a529549d51f4805fdfbcd50ea1e624b0
[ "BSD-3-Clause" ]
null
null
null
from django.core.urlresolvers import reverse from django.db import models from django.utils.encoding import python_2_unicode_compatible from cms.models.fields import PlaceholderField from cms.utils import get_language_from_request from cms.utils.urlutils import admin_reverse from hvad.models import TranslatableModel,...
33.363636
113
0.737511
445
3,303
5.14382
0.191011
0.03495
0.073395
0.113587
0.512014
0.493228
0.459152
0.432066
0.409786
0.365225
0
0.03705
0.158341
3,303
98
114
33.704082
0.786331
0
0
0.342857
0
0
0.090221
0.020587
0
0
0
0
0
1
0.185714
false
0
0.1
0.142857
0.842857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
53d609582a8fdb847888342336e2fc62ce309ea0
159
py
Python
150-Challenges/Challenges 80 - 87/Challenge 84.py
DGrifferty/Python
d725301664db2cbcfd5c4f5974745b4d81c8e28a
[ "Apache-2.0" ]
null
null
null
150-Challenges/Challenges 80 - 87/Challenge 84.py
DGrifferty/Python
d725301664db2cbcfd5c4f5974745b4d81c8e28a
[ "Apache-2.0" ]
null
null
null
150-Challenges/Challenges 80 - 87/Challenge 84.py
DGrifferty/Python
d725301664db2cbcfd5c4f5974745b4d81c8e28a
[ "Apache-2.0" ]
null
null
null
# 084 # Ask the user to type in their postcode.Display the first two # letters in uppercase. # very simple print(input('Enter your postcode: ')[0:2].upper())
22.714286
62
0.716981
26
159
4.384615
0.884615
0
0
0
0
0
0
0
0
0
0
0.037594
0.163522
159
7
63
22.714286
0.819549
0.616352
0
0
0
0
0.368421
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4