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
fcc1530ac8b10a17bd4fe4a2a933eb918ae322db
1,050
py
Python
tests/test_self_relation.py
5thsymphony/sqlalchemy-to-ormar
9b732739355c39e2d5237af7cb4c1aa15e7f356f
[ "MIT" ]
5
2021-04-10T13:01:11.000Z
2021-08-02T21:28:37.000Z
tests/test_self_relation.py
5thsymphony/sqlalchemy-to-ormar
9b732739355c39e2d5237af7cb4c1aa15e7f356f
[ "MIT" ]
1
2021-04-29T17:22:10.000Z
2021-05-03T16:40:40.000Z
tests/test_self_relation.py
5thsymphony/sqlalchemy-to-ormar
9b732739355c39e2d5237af7cb4c1aa15e7f356f
[ "MIT" ]
1
2022-02-02T20:27:24.000Z
2022-02-02T20:27:24.000Z
from databases import Database from sqlalchemy import ( Column, ForeignKey, Integer, MetaData, String, create_engine, ) from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship from sqlalchemy_to_ormar import sqlalchemy_to_ormar Base = declarative_base() ...
27.631579
79
0.733333
128
1,050
5.789063
0.414063
0.080972
0.080972
0.051282
0
0
0
0
0
0
0
0.015837
0.158095
1,050
37
80
28.378378
0.822398
0.011429
0
0
0
0
0.046332
0
0
0
0
0
0.033333
1
0.033333
false
0.033333
0.166667
0
0.533333
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
fcc1840932d14855ac81775c732f4766b613aa60
1,927
py
Python
tests/test_api_bot_snake.py
gatarelib/site
81c71a58b949cb346e6af95d2cc3a7c4a71f36fe
[ "MIT" ]
null
null
null
tests/test_api_bot_snake.py
gatarelib/site
81c71a58b949cb346e6af95d2cc3a7c4a71f36fe
[ "MIT" ]
null
null
null
tests/test_api_bot_snake.py
gatarelib/site
81c71a58b949cb346e6af95d2cc3a7c4a71f36fe
[ "MIT" ]
null
null
null
"""Tests the `/api/bot/snake_` endpoints.""" from tests import SiteTest, app class TestSnakeFactsAPI(SiteTest): """GET method - get snake fact""" def test_snake_facts(self): response = self.client.get( '/bot/snake_facts', app.config['API_SUBDOMAIN'], headers=app.c...
29.646154
63
0.613908
218
1,927
5.275229
0.224771
0.078261
0.052174
0.095652
0.733913
0.668696
0.668696
0.582609
0.516522
0.516522
0
0.010526
0.260509
1,927
64
64
30.109375
0.796491
0.091853
0
0.533333
0
0
0.12355
0.016821
0
0
0
0
0.222222
1
0.111111
false
0
0.022222
0
0.222222
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
fcc1d38991ad927da7c9cb2f94c47879d3c7c94d
341
py
Python
setup.py
medecau/yamly
6d10f5e58ced6490489f8c7dff856cb1553fd7d7
[ "MIT" ]
1
2018-01-26T04:01:58.000Z
2018-01-26T04:01:58.000Z
setup.py
medecau/yamly
6d10f5e58ced6490489f8c7dff856cb1553fd7d7
[ "MIT" ]
null
null
null
setup.py
medecau/yamly
6d10f5e58ced6490489f8c7dff856cb1553fd7d7
[ "MIT" ]
null
null
null
from distutils.core import setup setup(name = 'yamly', version = '0.1', py_modules = ['yamly',], description = "pyyaml wrapper", author = "Pedro Rodrigues", author_email = "medecau@gmail.com", license = 'MIT', url = "http://medecau.github.com/pyyaml/", install_requires =...
26.230769
48
0.580645
36
341
5.416667
0.805556
0
0
0
0
0
0
0
0
0
0
0.007937
0.260997
341
12
49
28.416667
0.765873
0
0
0
0
0
0.296188
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
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
fcc1e4d659fe51f2efed9d496e3e3017872843f1
6,225
py
Python
final/filters.py
jgardezi/BATrader
6f032305db4e699b7fcf2d5300102381ad2bde8b
[ "Apache-2.0" ]
1
2021-03-24T03:37:22.000Z
2021-03-24T03:37:22.000Z
final/filters.py
jgardezi/BATrader
6f032305db4e699b7fcf2d5300102381ad2bde8b
[ "Apache-2.0" ]
null
null
null
final/filters.py
jgardezi/BATrader
6f032305db4e699b7fcf2d5300102381ad2bde8b
[ "Apache-2.0" ]
1
2022-02-18T21:38:56.000Z
2022-02-18T21:38:56.000Z
# -*- coding: utf-8 -*- """ Created on Mon Oct 29 09:35:35 2018 @author: Branson """ import BATrader as ba from BATrader.market.MarketReader import convert import pandas as pd from functools import partial class Filters(object): """ FIlter ------------------------------------------ Filter is ...
31.439394
119
0.571245
811
6,225
4.183724
0.257707
0.083112
0.060124
0.05305
0.353669
0.280283
0.2458
0.21957
0.186855
0.163867
0
0.024229
0.297189
6,225
197
120
31.598985
0.751314
0.307149
0
0.055556
0
0
0.041557
0
0
0
0
0
0
1
0.263889
false
0
0.055556
0.055556
0.625
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
1
0
0
2
fcc4668a5e3fb2d85a205fdd37ec707eb380eabd
142
py
Python
server/core/schema/__init__.py
orbit7ch/creativeday
67f3e91f3c2c9396c17131ad03e93a1707d26e2b
[ "MIT" ]
1
2020-12-25T03:41:59.000Z
2020-12-25T03:41:59.000Z
server/core/schema/__init__.py
orbit7ch/creativeday
67f3e91f3c2c9396c17131ad03e93a1707d26e2b
[ "MIT" ]
7
2020-07-21T12:57:18.000Z
2022-02-26T19:16:06.000Z
server/core/schema/__init__.py
orbit7ch/creativeday
67f3e91f3c2c9396c17131ad03e93a1707d26e2b
[ "MIT" ]
null
null
null
import graphene from core.schema.mutations import StoreEvent class CoreMutation(graphene.ObjectType): store_event = StoreEvent.Field()
17.75
44
0.802817
16
142
7.0625
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.126761
142
7
45
20.285714
0.91129
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
fcc4774ee8452eb0e3126e268e6e7baa1e7d7e43
205
py
Python
customer_service/app.py
hadihammurabi/microservice-python
be37127cc489adf87093749f9d64567f5b37cbb4
[ "MIT" ]
6
2020-04-18T04:42:54.000Z
2021-12-19T11:46:01.000Z
customer_service/app.py
hadihammurabi/microservice-python
be37127cc489adf87093749f9d64567f5b37cbb4
[ "MIT" ]
1
2019-10-24T03:07:29.000Z
2019-10-24T03:07:29.000Z
customer_service/app.py
hadihammurabi/microservice-python
be37127cc489adf87093749f9d64567f5b37cbb4
[ "MIT" ]
4
2019-10-19T07:53:38.000Z
2021-11-30T05:11:42.000Z
from flask import Flask, jsonify app = Flask('customer-service') @app.route('/') def index(): return jsonify({ 'message': 'get all customers', }) if __name__ == '__main__': app.run(port=8002)
15.769231
35
0.64878
26
205
4.807692
0.807692
0
0
0
0
0
0
0
0
0
0
0.023669
0.17561
205
12
36
17.083333
0.715976
0
0
0
0
0
0.239024
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
0.333333
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
0
1
0
0
0
2
fcc6c86765fcf633c28691ba399ab19c5fd57779
461
py
Python
Addresses/checkboxes.py
bruceqqqqq/Tkinter-Course
5c4260a1b6aa45c5a7c406f940a57d778afce20b
[ "Apache-2.0" ]
null
null
null
Addresses/checkboxes.py
bruceqqqqq/Tkinter-Course
5c4260a1b6aa45c5a7c406f940a57d778afce20b
[ "Apache-2.0" ]
null
null
null
Addresses/checkboxes.py
bruceqqqqq/Tkinter-Course
5c4260a1b6aa45c5a7c406f940a57d778afce20b
[ "Apache-2.0" ]
null
null
null
from tkinter import * from PIL import ImageTk, Image root = Tk() root.title('Batman') root.iconbitmap('images/batman.ico') root.geometry('400x400') def show(): myLabel = Label(root, text=var.get()) myLabel.pack() var = StringVar() check = Checkbutton(root, text='Check this box', variable=var, onvalue='On', ...
20.043478
92
0.707158
62
461
5.258065
0.629032
0.07362
0
0
0
0
0
0
0
0
0
0.014888
0.125813
461
22
93
20.954545
0.794045
0
0
0
0
0
0.136659
0
0
0
0
0
0
1
0.0625
false
0
0.125
0
0.1875
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
fcc79406b9832714fea2809a9345d147398abb57
38,295
py
Python
model/interact/modeling.py
shanestorks/piglet
be8ab482503a94a61667bef66e8aac8584ee5a9c
[ "MIT" ]
48
2021-06-02T01:44:06.000Z
2022-01-19T05:10:54.000Z
model/interact/modeling.py
shanestorks/piglet
be8ab482503a94a61667bef66e8aac8584ee5a9c
[ "MIT" ]
2
2021-07-07T21:53:37.000Z
2022-01-11T20:46:31.000Z
model/interact/modeling.py
shanestorks/piglet
be8ab482503a94a61667bef66e8aac8584ee5a9c
[ "MIT" ]
7
2021-06-02T14:41:05.000Z
2022-03-11T21:37:01.000Z
import tensorflow as tf import sys sys.path.append('../../') from model.model_utils import bfloat16_getter, get_shape_list, gelu, dropout, layer_norm, sequence_xe_loss, \ construct_host_call, get_assignment_map_from_checkpoint, _sequence_xe_loss_noreduce, stack_jagged, \ get_ltr_attention_mask from data.thor_c...
48.352273
125
0.589215
4,526
38,295
4.623288
0.115113
0.035699
0.020741
0.013763
0.479092
0.386284
0.293763
0.238949
0.19871
0.179881
0
0.015195
0.31085
38,295
791
126
48.413401
0.777689
0.212665
0
0.248918
0
0
0.046717
0.009385
0
0
0
0
0.032468
1
0.030303
false
0
0.021645
0
0.08658
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
fcc845234e6840c99dfb161a50d8b03c190825b7
16,564
py
Python
tests/docker/test_docker.py
radiocosmology/alpenhorn
a91df899d864e04699b6f49c33f473383ee10cfc
[ "MIT" ]
3
2017-03-10T00:51:01.000Z
2018-04-25T16:50:13.000Z
tests/docker/test_docker.py
radiocosmology/alpenhorn
a91df899d864e04699b6f49c33f473383ee10cfc
[ "MIT" ]
106
2017-03-16T23:57:10.000Z
2021-10-05T23:44:48.000Z
tests/docker/test_docker.py
radiocosmology/alpenhorn
a91df899d864e04699b6f49c33f473383ee10cfc
[ "MIT" ]
1
2018-07-26T23:32:13.000Z
2018-07-26T23:32:13.000Z
import os import re import time from os.path import dirname, exists, join import pytest import yaml from alpenhorn import acquisition as ac from alpenhorn import archive as ar from alpenhorn import storage as st if ("RUN_DOCKER_TESTS" not in os.environ) and ("PLAYGROUND" not in os.environ): pytestmark = pytest...
27.745394
90
0.604262
2,153
16,564
4.517882
0.194612
0.014804
0.021487
0.028786
0.287961
0.24725
0.228436
0.193276
0.179912
0.160481
0
0.010692
0.282903
16,564
596
91
27.791946
0.808217
0.218908
0
0.284457
0
0.008798
0.141078
0.018767
0
0
0
0
0.049853
1
0.061584
false
0.002933
0.043988
0
0.131965
0.032258
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
fcc9b8226e96c6e28f85197970bc3c0f4fa4224e
1,219
py
Python
Unit 5/t.py
yeshellohi/CodeHS-APCS-Java
f5dd2ecc6635b01d38d08f046bf893e36d20453e
[ "MIT" ]
2
2021-04-21T21:27:25.000Z
2021-04-21T21:27:27.000Z
Unit 5/t.py
hristojj/CodeHS-APCS-Java
35257c9ce09b68d93b20d7c89a2b4be98e6b0698
[ "MIT" ]
null
null
null
Unit 5/t.py
hristojj/CodeHS-APCS-Java
35257c9ce09b68d93b20d7c89a2b4be98e6b0698
[ "MIT" ]
null
null
null
a="5.2.6 Our First Array" b="5.2.7 Array Length" c="5.2.8 Last Element in Array" d="5.3.6 Print Array" e="5.3.7 Print Odd Array Indices" f="5.3.8 Find the Minimum Index" g="5.3.12 Find the Median" h="5.3.13 Top Student" i="5.4.6 Get First Element" j="5.4.9 Road Trip" nameL = {1:a, 2:b, 3:c, 4:d, ...
30.475
80
0.488925
185
1,219
2.945946
0.486486
0.110092
0.115596
0.044037
0.075229
0.051376
0
0
0
0
0
0.052247
0.21493
1,219
40
81
30.475
0.517241
0
0
0.057143
0
0
0.727966
0.216949
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fcc9d5e6a05c79b1bf39adf1c4fcd4c98f9a6d85
95
py
Python
scorecards/apps.py
moshthepitt/probsc
9b8cab206bb1c41238e36bd77f5e0573df4d8e2d
[ "MIT" ]
null
null
null
scorecards/apps.py
moshthepitt/probsc
9b8cab206bb1c41238e36bd77f5e0573df4d8e2d
[ "MIT" ]
null
null
null
scorecards/apps.py
moshthepitt/probsc
9b8cab206bb1c41238e36bd77f5e0573df4d8e2d
[ "MIT" ]
null
null
null
from django.apps import AppConfig class ScorecardsConfig(AppConfig): name = 'scorecards'
15.833333
34
0.768421
10
95
7.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.157895
95
5
35
19
0.9125
0
0
0
0
0
0.105263
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
fccaf2f4d3d6f7c59cec4ee5700bfdb021bb5807
855
py
Python
user/permissions.py
arabindamahato/CanteenMS
3e7b592798f62fba2c12405ab0d9b4f2fe89a248
[ "MIT" ]
null
null
null
user/permissions.py
arabindamahato/CanteenMS
3e7b592798f62fba2c12405ab0d9b4f2fe89a248
[ "MIT" ]
6
2021-03-19T03:34:04.000Z
2021-09-22T19:03:24.000Z
user/permissions.py
arabindamahato/CanteenMS
3e7b592798f62fba2c12405ab0d9b4f2fe89a248
[ "MIT" ]
null
null
null
from rest_framework import permissions class IsLoggedInUserOrAdmin(permissions.BasePermission): def has_object_permission(self, request, view, obj): return obj == request.user or request.user.is_admin class IsAdminUser(permissions.BasePermission): def has_permission(self, request, view): r...
27.580645
59
0.736842
102
855
6.039216
0.362745
0.125
0.170455
0.202922
0.646104
0.646104
0.646104
0.646104
0.350649
0.275974
0
0
0.17076
855
30
60
28.5
0.868829
0.253801
0
0.416667
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.083333
0.333333
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
fccb331c2eb46090371d60f7632d229d2233551e
10,172
py
Python
SparseSC/optimizers/cd_line_search.py
cclauss/SparseSC
bd5c65f162a5431f92ed957df3385c803f2d3365
[ "MIT" ]
null
null
null
SparseSC/optimizers/cd_line_search.py
cclauss/SparseSC
bd5c65f162a5431f92ed957df3385c803f2d3365
[ "MIT" ]
null
null
null
SparseSC/optimizers/cd_line_search.py
cclauss/SparseSC
bd5c65f162a5431f92ed957df3385c803f2d3365
[ "MIT" ]
null
null
null
import numpy as np from scipy.optimize import line_search import locale locale.setlocale(locale.LC_ALL, '') class cd_res(object): def __init__(self, x, fun): self.x = x self.fun = fun print_stop_iteration = 1 def cdl_step(score, guess, jac, val = Non...
42.383333
159
0.567735
1,353
10,172
4.128603
0.230599
0.035804
0.048335
0.025063
0.383101
0.339241
0.281776
0.261726
0.261726
0.253849
0
0.013481
0.336414
10,172
239
160
42.560669
0.814074
0.341329
0
0.307692
0
0.020979
0.119927
0
0
0
0
0.008368
0.034965
1
0.034965
false
0
0.020979
0.006993
0.125874
0.20979
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
fccf49b1abdfc57fe1c9a3e98dcfeba511b3cef0
2,495
py
Python
runOgre.py
songsiwei/Ogre_r_sv
b31dc64133f082ae395196ebedf41c8cc825ebfd
[ "BSD-3-Clause" ]
null
null
null
runOgre.py
songsiwei/Ogre_r_sv
b31dc64133f082ae395196ebedf41c8cc825ebfd
[ "BSD-3-Clause" ]
null
null
null
runOgre.py
songsiwei/Ogre_r_sv
b31dc64133f082ae395196ebedf41c8cc825ebfd
[ "BSD-3-Clause" ]
null
null
null
from ogre import generators import argparse from configparser import ConfigParser from ase.io import read, write import os from ogre.utils.utils import print_run_time #print('################') #teat_a = read('TETCEN.cif', format= 'cif') #print(teat_a) def parse_arguments(): parser = argparse.ArgumentParser() ...
38.384615
92
0.662926
299
2,495
5.240803
0.304348
0.058073
0.03829
0.053606
0.121251
0.089981
0.068922
0.068922
0.068922
0
0
0.002572
0.220842
2,495
64
93
38.984375
0.803498
0.034068
0
0.035714
0
0
0.114644
0.013808
0
0
0
0
0
1
0.035714
false
0
0.107143
0
0.160714
0.071429
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
fcd051cc9d371ceb9894a4f98003dc7676180be6
2,405
py
Python
src/display.py
Gravens/AirDimples
5531b0e43afb1349b121a54bb8ab1dd29bba0a84
[ "Apache-2.0" ]
null
null
null
src/display.py
Gravens/AirDimples
5531b0e43afb1349b121a54bb8ab1dd29bba0a84
[ "Apache-2.0" ]
2
2021-07-14T09:32:01.000Z
2021-07-19T16:25:15.000Z
src/display.py
Gravens/AirDimples
5531b0e43afb1349b121a54bb8ab1dd29bba0a84
[ "Apache-2.0" ]
1
2021-07-14T15:31:02.000Z
2021-07-14T15:31:02.000Z
import time from threading import Thread import cv2 import keyboard import drawing import utils from config import config from gameplay import GameWithFriendOpenVINO from utils import log class DisplayThread(Thread): def __init__(self, frame_deque, joints_deque, fps=24, gui=None): super().__init__() ...
29.329268
118
0.600832
295
2,405
4.688136
0.325424
0.045553
0.040492
0.032538
0.093275
0.072307
0.072307
0.072307
0.072307
0.072307
0
0.009074
0.312682
2,405
81
119
29.691358
0.827586
0.012474
0
0.123077
0
0
0.026127
0
0
0
0
0.012346
0
1
0.092308
false
0
0.138462
0
0.261538
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
fcd4786f27f6a842e4576395961babc0a8399812
19
py
Python
data/external/repositories/136086/kaggle-master/hierarchical-text/tree_structure/constants.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
null
null
null
data/external/repositories/136086/kaggle-master/hierarchical-text/tree_structure/constants.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
null
null
null
data/external/repositories/136086/kaggle-master/hierarchical-text/tree_structure/constants.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
1
2019-12-04T08:23:33.000Z
2019-12-04T08:23:33.000Z
TRAIN_SIZE = 23654
9.5
18
0.789474
3
19
4.666667
1
0
0
0
0
0
0
0
0
0
0
0.3125
0.157895
19
1
19
19
0.5625
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
fcd6079c76e2339ed83df903d08fd0f21d9fd5ff
1,524
py
Python
lens_it.py
chemicoPy/lens_it
36005bc82f1fec32280e91ee6841ba3a17db97aa
[ "Apache-2.0" ]
null
null
null
lens_it.py
chemicoPy/lens_it
36005bc82f1fec32280e91ee6841ba3a17db97aa
[ "Apache-2.0" ]
1
2021-06-19T13:03:08.000Z
2021-06-24T20:36:58.000Z
lens_it.py
chemicoPy/lens_it
36005bc82f1fec32280e91ee6841ba3a17db97aa
[ "Apache-2.0" ]
1
2021-07-01T03:27:54.000Z
2021-07-01T03:27:54.000Z
import numpy as np from numpy import * import pandas as pd from pandas import DataFrame, Series from numpy.random import randn import tensorflow as tf import matplotlib.pyplot as plt from PIL import Image import re from skimage.io import imread, imshow from termcolor import colored import keras import h5py ...
24.983607
91
0.736877
232
1,524
4.737069
0.452586
0.043676
0.061874
0.057325
0
0
0
0
0
0
0
0.020602
0.171916
1,524
60
92
25.4
0.850238
0
0
0
0
0
0.080988
0.024022
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0.02381
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
fcd7544768bb3229ec5e9ae800a2ea3ee4d1fbda
603
py
Python
asyncmy/sa/__init__.py
dnp1/asyncmy
ae8a09e4d7d64d6d5cb448b7d7154e715071d414
[ "Apache-2.0" ]
1
2021-10-22T01:35:21.000Z
2021-10-22T01:35:21.000Z
asyncmy/sa/__init__.py
dnp1/asyncmy
ae8a09e4d7d64d6d5cb448b7d7154e715071d414
[ "Apache-2.0" ]
null
null
null
asyncmy/sa/__init__.py
dnp1/asyncmy
ae8a09e4d7d64d6d5cb448b7d7154e715071d414
[ "Apache-2.0" ]
null
null
null
"""Optional support for sqlalchemy.sql dynamic query generation.""" from asyncmy.sa.connection import SAConnection from .engine import create_engine, Engine from .exc import (Error, ArgumentError, InvalidRequestError, NoSuchColumnError, ResourceClosedError) from . import result __all__ = ('create_e...
35.470588
71
0.749585
51
603
8.72549
0.470588
0.080899
0.249438
0.364045
0.546067
0.382022
0
0
0
0
0
0
0.154229
603
16
72
37.6875
0.872549
0.101161
0
0
0
0
0.205224
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
1
0
0
0
0
3
fcd93a3e56808b06287beaf9ab650f7bd54032be
13,058
py
Python
quantile_ml/utils_scoring.py
doordash/auto_ml
7e6873265c4c2c0a03946c3f68a954930cda3bb2
[ "MIT" ]
17
2016-09-23T03:29:23.000Z
2022-03-22T10:42:34.000Z
quantile_ml/utils_scoring.py
doordash/auto_ml
7e6873265c4c2c0a03946c3f68a954930cda3bb2
[ "MIT" ]
3
2016-09-21T23:12:51.000Z
2016-12-01T19:17:18.000Z
quantile_ml/utils_scoring.py
doordash/auto_ml
7e6873265c4c2c0a03946c3f68a954930cda3bb2
[ "MIT" ]
3
2017-05-30T17:30:30.000Z
2020-03-26T09:43:24.000Z
from collections import OrderedDict import math from quantile_ml import utils import pandas as pd from sklearn.ensemble import GradientBoostingRegressor, GradientBoostingClassifier from sklearn.metrics import mean_squared_error, make_scorer, brier_score_loss, accuracy_score, explained_variance_score, mean_absolute_err...
40.055215
362
0.652856
1,735
13,058
4.767723
0.197695
0.02986
0.014507
0.01632
0.342722
0.28663
0.230658
0.230658
0.219536
0.189192
0
0.010702
0.24866
13,058
325
363
40.178462
0.832433
0.114566
0
0.297778
0
0.026667
0.192341
0.01083
0
0
0
0
0
1
0.048889
false
0.004444
0.031111
0.004444
0.133333
0.284444
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
fcda80063c8aaa6e840fe53a93438e5045c6f364
1,150
py
Python
setup.py
icon-project/loopchain_tools
3441f0ade654bbaedc382d94230f526b14baea1a
[ "Apache-2.0" ]
1
2020-08-15T16:15:03.000Z
2020-08-15T16:15:03.000Z
setup.py
icon-project/loopchain_tools
3441f0ade654bbaedc382d94230f526b14baea1a
[ "Apache-2.0" ]
null
null
null
setup.py
icon-project/loopchain_tools
3441f0ade654bbaedc382d94230f526b14baea1a
[ "Apache-2.0" ]
2
2021-06-02T07:50:57.000Z
2021-12-01T23:35:10.000Z
import os from setuptools import setup, find_packages version = os.environ.get('VERSION') if version is None: with open(os.path.join('.', 'VERSION')) as version_file: version = version_file.read().strip() setup_options = { 'name': 'loopchain tools', 'description': 'CLI tools for loopchain', ...
31.944444
61
0.64087
123
1,150
5.878049
0.626016
0.078838
0.103734
0.071923
0
0
0
0
0
0
0
0.006572
0.206087
1,150
35
62
32.857143
0.785323
0
0
0
0
0
0.533913
0.025217
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
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
fcdb510122b20178c2555bc294630f212df04c12
1,315
py
Python
lecture_6/stack_4.py
Willianan/Interview_Book
bde1a975bcffdb1179f234cb3380f51d4c800b12
[ "Apache-2.0" ]
2
2019-11-12T09:07:56.000Z
2020-07-15T06:28:58.000Z
lecture_6/stack_4.py
Willianan/Interview_Book
bde1a975bcffdb1179f234cb3380f51d4c800b12
[ "Apache-2.0" ]
null
null
null
lecture_6/stack_4.py
Willianan/Interview_Book
bde1a975bcffdb1179f234cb3380f51d4c800b12
[ "Apache-2.0" ]
1
2020-05-04T13:46:38.000Z
2020-05-04T13:46:38.000Z
# -*- coding:utf-8 -*- """ @Author:Charles Van @E-mail: williananjhon@hotmail.com @Time:2019-08-13 15:52 @Project:InterView_Book @Filename:stack_4.py @description: 使用堆栈解决汉诺塔问题 """ ''' 题目描述: 有3根杆子,其中一根上有n快铁饼,铁饼由小到大依次从上往下排列,要求把杆1上的铁饼挪到杆2上, 杆3可以作为铁饼转移的中转站。当转移铁饼时,必须保证小铁饼只能放到大铁饼的上头,请给出移动步骤。 ''' class HanoiMove: ...
23.909091
92
0.698859
169
1,315
5.35503
0.461538
0.086188
0.044199
0.044199
0
0
0
0
0
0
0
0.028131
0.161977
1,315
55
93
23.909091
0.793103
0.13308
0
0.129032
0
0
0.052889
0
0
0
0
0
0
1
0.096774
false
0
0
0
0.193548
0.16129
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
fcdc751153a77f14d59683f2518a461ca9f696b9
34,911
py
Python
src/genopandas/core/matrix.py
jrderuiter/genopandas
8d4bd46cfcd3a9c27c1f561ed25b3e5c3ff4b8a5
[ "MIT" ]
null
null
null
src/genopandas/core/matrix.py
jrderuiter/genopandas
8d4bd46cfcd3a9c27c1f561ed25b3e5c3ff4b8a5
[ "MIT" ]
null
null
null
src/genopandas/core/matrix.py
jrderuiter/genopandas
8d4bd46cfcd3a9c27c1f561ed25b3e5c3ff4b8a5
[ "MIT" ]
null
null
null
import functools import itertools import operator import re import numpy as np import pandas as pd from pandas.api.types import is_numeric_dtype import toolz from genopandas import plotting as gplot from genopandas.util.pandas_ import DfWrapper from .frame import GenomicDataFrame, GenomicSlice RANGED_REGEX = r'(?P<...
34.462981
80
0.595085
4,019
34,911
4.950485
0.132122
0.057801
0.025633
0.018999
0.379674
0.312123
0.261962
0.215923
0.209439
0.182097
0
0.004052
0.314228
34,911
1,012
81
34.497036
0.826991
0.15826
0
0.345257
0
0
0.0472
0.002909
0
0
0
0.001976
0
1
0.07154
false
0.001555
0.032659
0.00311
0.178849
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
fcdcb04e7d7ccb6b7e169672c64a338e2a347415
936
py
Python
GUI/Generic/GScrollableBases.py
gcewing/PyGUI
58c6c38ccb8e66acdf98dea6b24bef1d9a03147c
[ "MIT" ]
9
2019-07-15T19:03:27.000Z
2021-11-24T19:50:02.000Z
GUI/Generic/GScrollableBases.py
mnabeelp/PyGUI
58c6c38ccb8e66acdf98dea6b24bef1d9a03147c
[ "MIT" ]
3
2019-09-11T13:22:10.000Z
2020-08-19T20:13:00.000Z
GUI/Generic/GScrollableBases.py
mnabeelp/PyGUI
58c6c38ccb8e66acdf98dea6b24bef1d9a03147c
[ "MIT" ]
4
2020-02-23T16:50:06.000Z
2022-02-10T07:15:35.000Z
#------------------------------------------------------------------------------- # # Python GUI - Scrollable objects mixin - Generic # #------------------------------------------------------------------------------- from GUI.Properties import overridable_property class ScrollableBase(object): """Mixin for component...
28.363636
80
0.600427
95
936
5.852632
0.505263
0.136691
0.064748
0
0
0
0
0
0
0
0
0
0.138889
936
32
81
29.25
0.689826
0.290598
0
0
0
0
0.274119
0
0
0
0
0
0
1
0.111111
false
0
0.055556
0
0.444444
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
fcdd8fbbacd99d5950045aa9617eefdf52b571c4
345
py
Python
calibration_tool/trajectory/trajectory.py
liwen-deepmotion/map_based_lidar_camera_calibration_tool
d260380729b05b153c2efd1e76d4ae077c48c4b1
[ "MIT" ]
26
2021-04-24T08:07:20.000Z
2022-03-13T15:21:02.000Z
calibration_tool/trajectory/trajectory.py
Grandzxw/map_based_lidar_camera_calibration_tool
d260380729b05b153c2efd1e76d4ae077c48c4b1
[ "MIT" ]
null
null
null
calibration_tool/trajectory/trajectory.py
Grandzxw/map_based_lidar_camera_calibration_tool
d260380729b05b153c2efd1e76d4ae077c48c4b1
[ "MIT" ]
9
2021-04-19T23:32:21.000Z
2022-03-03T06:31:19.000Z
from typing import List from trajectory.trajectory_node import TrajectoryNode class Trajectory(object): def __init__(self): self._trajectory_nodes = [] # type: List[TrajectoryNode] def trajectory_nodes(self) -> List[TrajectoryNode]: return self._trajectory_nodes def load(self, file_...
19.166667
65
0.704348
39
345
5.948718
0.512821
0.193966
0.163793
0
0
0
0
0
0
0
0
0
0.214493
345
17
66
20.294118
0.856089
0.075362
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.111111
0.222222
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
fcdf6498cef441e9307973c5719c094eefe1d7d2
5,047
py
Python
lap/create_lap_dataset.py
saadyousuf45/age-gender-estimation
50ff4bce716e8eba717c53009c2e0fa6feaae03c
[ "MIT" ]
1,437
2017-04-10T04:55:35.000Z
2022-03-31T04:49:26.000Z
lap/create_lap_dataset.py
saadyousuf45/age-gender-estimation
50ff4bce716e8eba717c53009c2e0fa6feaae03c
[ "MIT" ]
130
2017-05-19T02:39:38.000Z
2022-03-21T14:10:35.000Z
lap/create_lap_dataset.py
saadyousuf45/age-gender-estimation
50ff4bce716e8eba717c53009c2e0fa6feaae03c
[ "MIT" ]
542
2017-05-10T10:18:15.000Z
2022-03-21T05:52:35.000Z
import argparse import better_exceptions import sys import time from pathlib import Path import zipfile import bz2 import urllib.request import dlib import cv2 zip_names = ["train_1.zip", "train_2.zip", "train_gt.zip", "valid.zip", "valid_gt.zip"] urls = ["http://***/train_1.zip", "http://***/train_2.zip", ...
36.572464
112
0.650684
657
5,047
4.741248
0.277017
0.045907
0.036597
0.02825
0.19069
0.123274
0.050722
0.050722
0.050722
0.050722
0
0.016096
0.22449
5,047
137
113
36.839416
0.779765
0.01704
0
0.019048
0
0.009524
0.153722
0.005649
0
0
0
0
0
1
0.057143
false
0.038095
0.095238
0
0.171429
0.047619
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
fce0375babdffaec108464100e4d42cc1e0f5f14
364
py
Python
FastSimulation/CTPPSSimHitProducer/python/CTPPSSimHitProducer_cfi.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
FastSimulation/CTPPSSimHitProducer/python/CTPPSSimHitProducer_cfi.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
FastSimulation/CTPPSSimHitProducer/python/CTPPSSimHitProducer_cfi.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
import FWCore.ParameterSet.Config as cms CTPPSSimHits = cms.EDProducer('CTPPSSimHitProducer', MCEvent = cms.untracked.InputTag("LHCTransport"), Z_Tracker1 = cms.double(203.827),# first tracker z position in m Z_Tracker2 = cms.double(212.550),# second tracker z position in m Z_Timing = cms.double(215...
33.090909
71
0.730769
51
364
5.156863
0.607843
0.102662
0.125475
0.136882
0.152091
0.152091
0
0
0
0
0
0.066007
0.167582
364
10
72
36.4
0.80198
0.258242
0
0
0
0
0.116541
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
fce0601a6ff2cda3356985a40d589f3821be9bbb
1,222
py
Python
tests/test_visitor.py
christophevg/schema-tools
50e7650a4d13662f231234ec12b3c0a8af759c09
[ "MIT" ]
1
2020-11-15T20:57:20.000Z
2020-11-15T20:57:20.000Z
tests/test_visitor.py
christophevg/schema-tools
50e7650a4d13662f231234ec12b3c0a8af759c09
[ "MIT" ]
null
null
null
tests/test_visitor.py
christophevg/schema-tools
50e7650a4d13662f231234ec12b3c0a8af759c09
[ "MIT" ]
null
null
null
from schema_tools import yaml from schema_tools.schema import build from schema_tools.schema.json import IntegerSchema, StringSchema, TupleItem def test_allow_for_empty_properties(): # empty properties shouldn't fail building object schema from AST ast = yaml.loads(""" something: type: objec...
30.55
75
0.724223
154
1,222
5.649351
0.253247
0.137931
0.16092
0.178161
0.632184
0.554023
0.468966
0.468966
0.468966
0.468966
0
0.005958
0.175941
1,222
39
76
31.333333
0.857994
0.156301
0
0.484848
0
0
0.164557
0
0
0
0
0
0.242424
1
0.090909
false
0
0.090909
0
0.181818
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fce08866ab83bbd7410f4a2c43e3cbea905390f5
209
py
Python
cmake/CMakeBuild/bin/cmake_docutil.py
kevleyski/VVCSoftware_VTM
693b6b263a6e643189a8977ff2f2ef2d2c0f5d25
[ "BSD-3-Clause" ]
3
2021-05-29T00:05:42.000Z
2022-03-17T00:11:29.000Z
cmake/CMakeBuild/bin/cmake_docutil.py
kevleyski/VVCSoftware_VTM
693b6b263a6e643189a8977ff2f2ef2d2c0f5d25
[ "BSD-3-Clause" ]
7
2021-09-18T14:48:01.000Z
2021-09-21T13:16:13.000Z
cmake/CMakeBuild/bin/cmake_docutil.py
kevleyski/VVCSoftware_VTM
693b6b263a6e643189a8977ff2f2ef2d2c0f5d25
[ "BSD-3-Clause" ]
5
2019-10-07T17:31:42.000Z
2022-02-19T14:07:29.000Z
#!/usr/bin/python # # cmake_docutil.py # import pyhhi.build.app.cmkdocapp import pyhhi.build.common.util app = pyhhi.build.app.cmkdocapp.CMakeDocUtilApp() pyhhi.build.common.util.exec_main_default_try(app)
17.416667
50
0.789474
31
209
5.193548
0.580645
0.248447
0.198758
0.273292
0
0
0
0
0
0
0
0
0.076555
209
11
51
19
0.834197
0.157895
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
fce1e97e1f94b6f6d602eef5a26d80a7fb984cce
1,068
py
Python
library/old_tools_methods/tools.py
kensoi/testcanarybot
1570b6dab1ae6902f6179d4d1fed0bb83229ad08
[ "Apache-2.0" ]
null
null
null
library/old_tools_methods/tools.py
kensoi/testcanarybot
1570b6dab1ae6902f6179d4d1fed0bb83229ad08
[ "Apache-2.0" ]
1
2021-02-03T12:48:23.000Z
2021-02-03T12:48:23.000Z
library/old_tools_methods/tools.py
kensoi/testcanarybot
1570b6dab1ae6902f6179d4d1fed0bb83229ad08
[ "Apache-2.0" ]
1
2021-11-03T12:36:51.000Z
2021-11-03T12:36:51.000Z
from datetime import datetime class mentions_self: nom = 'я'; gen = ['меня', 'себя']; dat = ['мне', 'себе'] acc = ['меня', 'себя']; ins = ['мной', 'собой']; abl = ['мне','себе'] class mentions_unknown: all = 'всех' him = 'его'; her = 'её'; it = 'это' they = 'их'; them = 'их'; us = 'нас' nam...
28.105263
99
0.562734
131
1,068
4.564886
0.526718
0.058528
0.075251
0.090301
0.147157
0.107023
0.107023
0.107023
0
0
0
0.012285
0.237828
1,068
37
100
28.864865
0.722359
0
0
0.086957
0
0.043478
0.218165
0.050562
0
0
0
0
0
1
0.173913
false
0
0.043478
0.130435
1.130435
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
fce41f5398739ee51c0146bd32f70e90c45cd487
10,999
py
Python
app/api/v1/resources/deregdevice.py
a-wakeel/Device-Registration-Subsystem
dd9fa387e2087a6ccea9676303debe640bd99422
[ "Unlicense" ]
6
2018-11-07T12:41:30.000Z
2020-04-12T18:07:03.000Z
app/api/v1/resources/deregdevice.py
a-wakeel/Device-Registration-Subsystem
dd9fa387e2087a6ccea9676303debe640bd99422
[ "Unlicense" ]
1
2020-10-20T12:33:18.000Z
2020-10-20T12:33:18.000Z
app/api/v1/resources/deregdevice.py
a-wakeel/Device-Registration-Subsystem
dd9fa387e2087a6ccea9676303debe640bd99422
[ "Unlicense" ]
10
2018-11-12T06:15:19.000Z
2021-11-18T05:45:12.000Z
""" DRS De-Registration device resource package. Copyright (c) 2018-2020 Qualcomm Technologies, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: ...
62.851429
844
0.638967
1,268
10,999
5.363565
0.227918
0.020585
0.026761
0.03823
0.58609
0.553301
0.553301
0.553301
0.536833
0.536833
0
0.002033
0.284389
10,999
174
845
63.212644
0.862025
0.224566
0
0.691781
0
0
0.097776
0.007413
0
0
0
0
0
1
0.020548
false
0
0.09589
0
0.212329
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
fce42dcc84df1e368c75a961a2e92119ffaf9405
3,193
py
Python
fixedfield-to-csv.py
curtisalexander/fixedfield-to-csv
57ef87ed698321bb700ed2a2f4dafe07d6a7213d
[ "MIT" ]
null
null
null
fixedfield-to-csv.py
curtisalexander/fixedfield-to-csv
57ef87ed698321bb700ed2a2f4dafe07d6a7213d
[ "MIT" ]
null
null
null
fixedfield-to-csv.py
curtisalexander/fixedfield-to-csv
57ef87ed698321bb700ed2a2f4dafe07d6a7213d
[ "MIT" ]
null
null
null
#!/usr/bin/env python import csv from itertools import compress from struct import Struct def check_ctl(incsv): """Check the Length variable within the control file. Length = Start - End + 1 """ with open(incsv, 'rU') as f: csv_reader = csv.DictReader(f) for row in csv_reader: ...
37.127907
108
0.606953
448
3,193
4.167411
0.332589
0.06481
0.048206
0.067488
0.23353
0.203535
0.151044
0.085699
0.043921
0.043921
0
0.016927
0.296899
3,193
85
109
37.564706
0.814699
0.347635
0
0.095238
0
0
0.083881
0.060637
0
0
0
0
0.02381
1
0.142857
false
0
0.119048
0.047619
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
fce46c304276b9b24990e4e0366dffce626e8138
1,515
py
Python
bumblebee/core/respadapter.py
nosoyyo/bumblebee
60452b03b2cd255ae4582a830b463fe7183e209e
[ "Apache-2.0" ]
null
null
null
bumblebee/core/respadapter.py
nosoyyo/bumblebee
60452b03b2cd255ae4582a830b463fe7183e209e
[ "Apache-2.0" ]
null
null
null
bumblebee/core/respadapter.py
nosoyyo/bumblebee
60452b03b2cd255ae4582a830b463fe7183e209e
[ "Apache-2.0" ]
null
null
null
__doc__ = 'for adapting 3 main types of resp: requests, baidubce & bumblebee' import json from requests import Response as RequestsResponse from utils.bce import BceResponse from utils import SelfAssemblingClass class GeneralResp(): ''' 0. if everything is ok, directly access this for json 1. if somethi...
34.431818
78
0.590759
158
1,515
5.512658
0.506329
0.064294
0.041332
0.061998
0
0
0
0
0
0
0
0.002962
0.331353
1,515
43
79
35.232558
0.856861
0.128713
0
0
0
0
0.158805
0
0
0
0
0
0
1
0.071429
false
0.035714
0.142857
0.035714
0.428571
0.178571
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
fce6cd181284a407deac3e65af5c7526a1141077
698
py
Python
scripts/hotandcold.py
jkutner/minecraft-python-server
9c09ffb6fb0001d89100d7f5b55c5a682a7ff81f
[ "MIT" ]
null
null
null
scripts/hotandcold.py
jkutner/minecraft-python-server
9c09ffb6fb0001d89100d7f5b55c5a682a7ff81f
[ "MIT" ]
null
null
null
scripts/hotandcold.py
jkutner/minecraft-python-server
9c09ffb6fb0001d89100d7f5b55c5a682a7ff81f
[ "MIT" ]
1
2021-01-02T16:16:56.000Z
2021-01-02T16:16:56.000Z
from mcpi.minecraft import Minecraft import math import time import random import pycraft mc = pycraft.new_minecraft() destX = random.randint(-127, 127) destZ = random.randint(-127, 127) destY = mc.getHeight(destX, destZ) block = 57 mc.setBlock(destX, destY, destZ, block) mc.postToChat("Block set") while True: pos ...
21.8125
66
0.696275
100
698
4.85
0.48
0.173196
0.065979
0.078351
0
0
0
0
0
0
0
0.046075
0.160458
698
32
67
21.8125
0.78157
0
0
0
0
0
0.067239
0
0
0
0
0
0
1
0
false
0
0.178571
0
0.178571
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
fce82e902ad945e4eaa9e4c10493543217fafc73
2,368
py
Python
fuzzinator/tracker/bugzilla.py
elecro/fuzzinator
2ed30127c364d50af960ad9f5cecbbae5cde2381
[ "BSD-3-Clause" ]
null
null
null
fuzzinator/tracker/bugzilla.py
elecro/fuzzinator
2ed30127c364d50af960ad9f5cecbbae5cde2381
[ "BSD-3-Clause" ]
null
null
null
fuzzinator/tracker/bugzilla.py
elecro/fuzzinator
2ed30127c364d50af960ad9f5cecbbae5cde2381
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2016-2018 Renata Hodovan, Akos Kiss. # # Licensed under the BSD 3-Clause License # <LICENSE.rst or https://opensource.org/licenses/BSD-3-Clause>. # This file may not be copied, modified, or distributed except # according to those terms. import os from bugzilla import * from .base import BaseTracker ...
36.430769
106
0.559122
249
2,368
5.192771
0.465863
0.083527
0.015468
0.021655
0.035576
0.035576
0
0
0
0
0
0.006456
0.345861
2,368
64
107
37
0.828276
0.127534
0
0
0
0
0.047133
0
0
0
0
0
0
1
0.162791
false
0.046512
0.069767
0.069767
0.395349
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
fceb36dd10a7c2e8d6eea587eff7fe47021932ef
3,741
py
Python
HW2/gradebook_202101-14765_HW20220Assignment_2021-03-11-18-59-42/Libraries/HT_natural_convection.py
CarlGriffinsteed/UVM-ME144-Heat-Transfer
9c477449d6ba5d6a9ee7c57f1c0ed4aab0ce4cca
[ "CC-BY-3.0" ]
7
2017-06-02T20:31:22.000Z
2021-04-05T13:52:33.000Z
HW2/gradebook_202101-14765_HW20220Assignment_2021-03-11-18-59-42/Libraries/HT_natural_convection.py
CarlGriffinsteed/UVM-ME144-Heat-Transfer
9c477449d6ba5d6a9ee7c57f1c0ed4aab0ce4cca
[ "CC-BY-3.0" ]
null
null
null
HW2/gradebook_202101-14765_HW20220Assignment_2021-03-11-18-59-42/Libraries/HT_natural_convection.py
CarlGriffinsteed/UVM-ME144-Heat-Transfer
9c477449d6ba5d6a9ee7c57f1c0ed4aab0ce4cca
[ "CC-BY-3.0" ]
9
2019-01-24T17:43:41.000Z
2021-07-25T18:08:34.000Z
""" Object name: HorizontalCylinder Functions: Gr(g,beta,DT,D,nu) gives the Grashoff number based on: gravity g, thermal expansion coefficient beta, Temperature difference DT, length scale D, viscosity nu Ra(g,beta,DT,D,nu,alpha) gives the Rayleigh number where alpha is the thermal ...
35.971154
102
0.493718
506
3,741
3.626482
0.254941
0.039237
0.091553
0.035967
0.531335
0.518256
0.474659
0.474659
0.474659
0.431608
0
0.071336
0.377974
3,741
103
103
36.320388
0.717232
0.260893
0
0.287671
0
0
0.129008
0
0
0
0
0
0
1
0.054795
false
0
0.041096
0.027397
0.150685
0.123288
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
fced7903bc90aa448acbe8f9d949ea135dc54660
3,765
py
Python
bdd/contact_steps.py
Nadezhda-Sokolova/Python_training_from_software-testing.ru
5ce65cee1d538dc5d0b25beba67547b32e612a10
[ "Apache-2.0" ]
null
null
null
bdd/contact_steps.py
Nadezhda-Sokolova/Python_training_from_software-testing.ru
5ce65cee1d538dc5d0b25beba67547b32e612a10
[ "Apache-2.0" ]
null
null
null
bdd/contact_steps.py
Nadezhda-Sokolova/Python_training_from_software-testing.ru
5ce65cee1d538dc5d0b25beba67547b32e612a10
[ "Apache-2.0" ]
null
null
null
from pytest_bdd import given, when, then from model.contact import Contact import random @given('a contact list') def contact_list(db): return db.get_contacts_list() @given('a contact with <first_name>, <last_name>, <address>, <home_phone>, <work_phone>, <mobile_phone>, <fax>, <mail_1>, <mail_2> and <mail_3>') de...
46.481481
160
0.705976
558
3,765
4.448029
0.168459
0.079774
0.048348
0.061241
0.560435
0.500806
0.420629
0.39726
0.383562
0.383562
0
0.015324
0.185392
3,765
80
161
47.0625
0.793935
0
0
0.306452
0
0.016129
0.176674
0
0
0
0
0
0.096774
1
0.16129
false
0
0.048387
0.048387
0.274194
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
fcedb493e14ec02820c3a65afad5786b78965f96
2,968
py
Python
collections/comprehensions.py
rolandovillca/python_introduction_basic
d1333a832a9e2b103e128a9dfc0c0da0952c267f
[ "MIT" ]
null
null
null
collections/comprehensions.py
rolandovillca/python_introduction_basic
d1333a832a9e2b103e128a9dfc0c0da0952c267f
[ "MIT" ]
null
null
null
collections/comprehensions.py
rolandovillca/python_introduction_basic
d1333a832a9e2b103e128a9dfc0c0da0952c267f
[ "MIT" ]
null
null
null
''' The comprehentions really make it easy to add those loops and conditionals on the existing comprehentions. ''' nums = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] # EXAMPLE 1: Print Lists in a simple way: # ============================================================================== my_list1 = [n for n in nums] my_list2 = [...
27.738318
80
0.487871
394
2,968
3.624365
0.312183
0.044118
0.017507
0.02451
0.15056
0.135154
0.103641
0.047619
0.047619
0
0
0.027534
0.15566
2,968
107
81
27.738318
0.542298
0.478774
0
0.285714
0
0
0.082386
0
0
0
0
0
0
0
null
null
0
0
null
null
0.510204
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
1
0
2
fceeb5c97dcacc7efd221c426aaa56e4566fd2c1
3,050
py
Python
tests/validate_mcts.py
hdelecki/AdaptiveStressTestingToolbox
184d7d7f1b4acb65eecb749e3c3a78cbcfc3c4ed
[ "MIT" ]
29
2019-01-09T23:56:35.000Z
2022-03-18T03:41:10.000Z
tests/validate_mcts.py
hdelecki/AdaptiveStressTestingToolbox
184d7d7f1b4acb65eecb749e3c3a78cbcfc3c4ed
[ "MIT" ]
39
2019-01-10T00:32:26.000Z
2022-03-12T00:29:05.000Z
tests/validate_mcts.py
hdelecki/AdaptiveStressTestingToolbox
184d7d7f1b4acb65eecb749e3c3a78cbcfc3c4ed
[ "MIT" ]
11
2019-01-10T08:11:47.000Z
2021-12-28T15:56:02.000Z
from examples.AV.example_runner_mcts_av import runner as mcts_runner def validate_mcts(): # Overall settings max_path_length = 50 s_0 = [0.0, -4.0, 1.0, 11.17, -35.0] base_log_dir = './data' # experiment settings run_experiment_args = {'snapshot_mode': 'last', 'snaps...
31.770833
102
0.475738
325
3,050
4.049231
0.295385
0.041033
0.079027
0.036474
0.266717
0.209726
0.148936
0.103343
0.045593
0.045593
0
0.034659
0.422951
3,050
95
103
32.105263
0.713068
0.047541
0
0.085714
0
0
0.162349
0.009326
0
0
0
0
0
1
0.014286
false
0
0.014286
0
0.042857
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
fcef799a7e5f6146dab0e6c5b4b7d8fd2a2c8798
10,058
py
Python
steps/optimize.py
bartubisgin/z-quantum-core
b61aef12cc86f0a8234229b9b26b21cde950d6f1
[ "Apache-2.0" ]
null
null
null
steps/optimize.py
bartubisgin/z-quantum-core
b61aef12cc86f0a8234229b9b26b21cde950d6f1
[ "Apache-2.0" ]
null
null
null
steps/optimize.py
bartubisgin/z-quantum-core
b61aef12cc86f0a8234229b9b26b21cde950d6f1
[ "Apache-2.0" ]
1
2022-03-19T02:23:53.000Z
2022-03-19T02:23:53.000Z
import json import numpy as np from openfermion import SymbolicOperator from typing import Union, Dict, Optional, List from zquantum.core.circuit import ( Circuit, load_circuit, load_circuit_template_params, save_circuit_template_params, load_parameter_grid, ) from zquantum.core.cost_function impo...
43.921397
116
0.741897
1,156
10,058
6.179066
0.123702
0.049279
0.041159
0.00924
0.840403
0.828083
0.818424
0.808344
0.792384
0.792384
0
0.00025
0.205906
10,058
228
117
44.114035
0.894078
0.278485
0
0.705128
0
0
0.03224
0.014079
0
0
0
0
0
1
0.012821
false
0
0.070513
0
0.083333
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
fcf06f020add9f824d183bcba4b082d5c4bee1d3
2,200
py
Python
experiments/detectability_one_net/train_model.py
cassianobecker/msbm
6ce22f93f63071dc3ca722d499db376ea678eb23
[ "MIT" ]
null
null
null
experiments/detectability_one_net/train_model.py
cassianobecker/msbm
6ce22f93f63071dc3ca722d499db376ea678eb23
[ "MIT" ]
null
null
null
experiments/detectability_one_net/train_model.py
cassianobecker/msbm
6ce22f93f63071dc3ca722d499db376ea678eb23
[ "MIT" ]
null
null
null
# Experiment that generates several sets of networks of varying CH-divergence types # then trains an msbm of a single type in a "consensus" type of way. Then we report the # average rand_index and average entropy of the z variables, which are indicators of how well # the algorithm is learning the true model. import o...
34.920635
97
0.617273
313
2,200
4.14377
0.4377
0.037008
0.009252
0.018504
0.026214
0
0
0
0
0
0
0.014076
0.257273
2,200
63
98
34.920635
0.779682
0.193636
0
0
1
0
0.096263
0
0
0
0
0
0
1
0.022727
false
0
0.136364
0
0.159091
0.022727
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
fcf0f7d0ced8ceb827bbd618ebf3aa2adb347d1b
833
py
Python
goodbuyDatabase/tests/test_urls.py
code-goodbuy/Goodbuy
d23363a46988f65f121a6edb75609fdddaa95cde
[ "Unlicense" ]
2
2019-03-20T20:30:16.000Z
2019-04-10T19:54:32.000Z
goodbuyDatabase/tests/test_urls.py
code-goodbuy/Goodbuy
d23363a46988f65f121a6edb75609fdddaa95cde
[ "Unlicense" ]
30
2019-02-22T17:24:13.000Z
2019-05-15T09:29:51.000Z
goodbuyDatabase/tests/test_urls.py
code-goodbuy/Goodbuy
d23363a46988f65f121a6edb75609fdddaa95cde
[ "Unlicense" ]
1
2020-04-08T07:53:09.000Z
2020-04-08T07:53:09.000Z
from django.test import TestCase from django.urls import reverse, resolve from goodbuyDatabase.endpoints import is_in_own_database from goodbuyDatabase.views import product_list, show_list_of_codes class TestUrls(TestCase): # Resolves checks if the url is called, the assoziated function is found def test...
36.217391
83
0.755102
111
833
5.387387
0.333333
0.026756
0.046823
0.100334
0.202341
0.153846
0.153846
0
0
0
0
0.037143
0.159664
833
22
84
37.863636
0.817143
0.084034
0
0
0
0
0.160315
0.12615
0
0
0
0
0.214286
1
0.214286
false
0
0.285714
0
0.571429
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
1
0
0
2
fcf41308fbf0ea2ddf14fd935e69cbfa21da77dc
1,274
py
Python
SocialDistanceDetector/loggingModule.py
Rankush888/Social-Distancing-Detector
e4a73ad84c63a6152fefdf9606ccf8850be7d629
[ "MIT" ]
null
null
null
SocialDistanceDetector/loggingModule.py
Rankush888/Social-Distancing-Detector
e4a73ad84c63a6152fefdf9606ccf8850be7d629
[ "MIT" ]
null
null
null
SocialDistanceDetector/loggingModule.py
Rankush888/Social-Distancing-Detector
e4a73ad84c63a6152fefdf9606ccf8850be7d629
[ "MIT" ]
null
null
null
try: import logging import os except BaseException: print('Exception got in importing the module.') class makeLog: def __init__(self): current_dir = os.getcwd() if 'log_files' in os.listdir(current_dir): path = os.path.join(current_dir, 'log_files\\') ...
28.954545
66
0.530612
134
1,274
4.932836
0.358209
0.1059
0.1059
0.151286
0.444781
0.444781
0.360061
0.360061
0.263238
0.263238
0
0
0.358713
1,274
43
67
29.627907
0.809058
0
0
0.363636
0
0
0.112916
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.30303
0.030303
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
fcf437071f3aca1716b10d46267ae94434da6f1c
372
py
Python
sparweltbitool/client_redis.py
checkout-charlie/bitool
e41ce66ab2b88992dbfc08d79372bf3965724f3e
[ "MIT" ]
null
null
null
sparweltbitool/client_redis.py
checkout-charlie/bitool
e41ce66ab2b88992dbfc08d79372bf3965724f3e
[ "MIT" ]
null
null
null
sparweltbitool/client_redis.py
checkout-charlie/bitool
e41ce66ab2b88992dbfc08d79372bf3965724f3e
[ "MIT" ]
1
2015-07-22T16:53:42.000Z
2015-07-22T16:53:42.000Z
import redis from sparweltbitool.config import config from sparweltbitool.singleton import Singleton @Singleton class ClientRedis(object): """ Operations with Redis.""" def __init__(self): self.r = redis.StrictRedis( host=config.get('redis', 'host'), port=config.get('redis',...
21.882353
46
0.637097
41
372
5.682927
0.487805
0.11588
0.180258
0
0
0
0
0
0
0
0
0
0.228495
372
16
47
23.25
0.811847
0.05914
0
0
0
0
0.072886
0
0
0
0
0
0
1
0.1
false
0
0.3
0
0.5
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
fcf50282811ffc8a770fa38ebbb80b3ac990778e
6,317
py
Python
analytics/analyser/tests/unittest_analyser.py
sadikovi/Pulsar
3267426cf5bd676a3c4c20cbee88a80b89e65b0f
[ "Apache-2.0" ]
null
null
null
analytics/analyser/tests/unittest_analyser.py
sadikovi/Pulsar
3267426cf5bd676a3c4c20cbee88a80b89e65b0f
[ "Apache-2.0" ]
29
2015-02-23T07:59:13.000Z
2015-04-05T09:49:53.000Z
analytics/analyser/tests/unittest_analyser.py
sadikovi/Pulsar
3267426cf5bd676a3c4c20cbee88a80b89e65b0f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python ''' Copyright 2015 Ivan Sadikov 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...
39.72956
107
0.611999
692
6,317
5.524566
0.304913
0.020926
0.015694
0.022234
0.33717
0.324614
0.324614
0.303688
0.271515
0.271515
0
0.021555
0.25091
6,317
158
108
39.981013
0.786348
0.070128
0
0.317757
0
0
0.089002
0
0
0
0
0
0.11215
0
null
null
0
0.102804
null
null
0.028037
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
fcf6780f79287563663f060074514f87c285483f
1,618
py
Python
modelzoo/SOK/DLRM/data/bin2bin.py
aalbersk/DeepRec
f673a950780959b44dcda99398880a1d883ab338
[ "Apache-2.0" ]
292
2021-12-24T03:24:33.000Z
2022-03-31T15:41:05.000Z
modelzoo/SOK/DLRM/data/bin2bin.py
aalbersk/DeepRec
f673a950780959b44dcda99398880a1d883ab338
[ "Apache-2.0" ]
54
2021-12-24T06:40:09.000Z
2022-03-30T07:57:24.000Z
modelzoo/SOK/DLRM/data/bin2bin.py
aalbersk/DeepRec
f673a950780959b44dcda99398880a1d883ab338
[ "Apache-2.0" ]
75
2021-12-24T04:48:21.000Z
2022-03-29T10:13:39.000Z
import os import argparse import time if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('input', type=str) parser.add_argument('output', type=str) args = parser.parse_args() os.makedirs(args.output) size = os.path.getsize(args.input) assert(size % 160 == 0...
29.962963
120
0.592089
231
1,618
3.939394
0.285714
0.026374
0.023077
0.036264
0.145055
0.082418
0.082418
0
0
0
0
0.049622
0.265142
1,618
54
121
29.962963
0.715728
0
0
0
0
0.02439
0.083385
0
0
0
0
0
0.02439
1
0
false
0
0.073171
0
0.073171
0.02439
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
fcf7b3bbe71b81f791bb6c3c67628d01ea766d4a
836
py
Python
aes_classifier/helpers/database_importer.py
tinenbruno/aes_classifier
31d358c4e34a056cf67a5e602ad945011283a6ed
[ "MIT" ]
null
null
null
aes_classifier/helpers/database_importer.py
tinenbruno/aes_classifier
31d358c4e34a056cf67a5e602ad945011283a6ed
[ "MIT" ]
null
null
null
aes_classifier/helpers/database_importer.py
tinenbruno/aes_classifier
31d358c4e34a056cf67a5e602ad945011283a6ed
[ "MIT" ]
null
null
null
from ml_buff.models.input_data import InputData from ml_buff.database_helper import create_tables, drop_tables from ml_buff.models.base_model import database DATABASE = { 'drivername': 'postgresql', 'host': 'localhost', 'port': '5432', 'username': 'postgres', 'password': 'postgr...
26.125
73
0.671053
106
836
5.084906
0.537736
0.092764
0.055659
0.059369
0
0
0
0
0
0
0
0.019006
0.181818
836
31
74
26.967742
0.769006
0
0
0
0
0
0.206938
0.029904
0
0
0
0
0
1
0
false
0.043478
0.130435
0
0.130435
0.043478
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
fcf7d278277033217c65b945fa153e84b5082b8a
9,050
py
Python
title_screen.py
matthew-sirman/mongoose-game
02751a85c3849ddb9da48414e165363a6d8a931e
[ "Unlicense" ]
null
null
null
title_screen.py
matthew-sirman/mongoose-game
02751a85c3849ddb9da48414e165363a6d8a931e
[ "Unlicense" ]
null
null
null
title_screen.py
matthew-sirman/mongoose-game
02751a85c3849ddb9da48414e165363a6d8a931e
[ "Unlicense" ]
null
null
null
import pygame import socket import errno import threading from button import Button from text import Text, TextFeed from textbox import TextBox from message import Message from instructions import Instruction from cards import Deck, Card class TitleScreen: UPDATE_FREQUENCY = 1000 def __init__(self, screen_si...
35.351563
119
0.572376
1,062
9,050
4.560264
0.188324
0.047491
0.066488
0.055751
0.367128
0.305389
0.230436
0.206484
0.186661
0.186661
0
0.029812
0.318011
9,050
255
120
35.490196
0.754861
0.020884
0
0.223464
0
0
0.067073
0.006775
0
0
0
0
0.011173
1
0.050279
false
0
0.055866
0
0.139665
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
fcf84360ff359b57ca0fd18707821b983a769abc
1,357
py
Python
tests/tests.py
CoderOJ/RLJ
20bb7ffd1581bf8cf820e0f594b63d2760ea721c
[ "MIT" ]
45
2017-11-19T06:54:07.000Z
2022-03-21T14:44:42.000Z
tests/tests.py
CoderOJ/RLJ
20bb7ffd1581bf8cf820e0f594b63d2760ea721c
[ "MIT" ]
6
2017-12-12T05:33:16.000Z
2018-08-28T12:30:50.000Z
tests/tests.py
CoderOJ/RLJ
20bb7ffd1581bf8cf820e0f594b63d2760ea721c
[ "MIT" ]
12
2017-12-12T04:43:04.000Z
2022-02-23T00:13:47.000Z
# import pytest from rlj import Judge, JudgeStatus, Config, makeConfig import os arguments = { '--O2': False, '--delete': False, '--genConfig': False, '--help': False, '--silent': False, '--version': False, '-c': 'config.yml', '-j': None, 'FILE': None } def getConfig(st): new...
23.396552
64
0.585851
173
1,357
4.479769
0.369942
0.117419
0.098065
0.061935
0.28129
0.28129
0.28129
0.229677
0.229677
0.131613
0
0.032505
0.229182
1,357
57
65
23.807018
0.708413
0.00958
0
0.181818
0
0
0.127422
0
0
0
0
0
0.136364
1
0.113636
false
0
0.045455
0
0.181818
0.045455
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
fcf8e2c0ca1804414fbed4b83ad2f9184ee49834
1,246
py
Python
1._metis_models_and_data_2019-12-16b/METIS source code/Context actions/default/InvalidateKPIs.py
tamas-borbath/METIS
cf3dc0f0f96ccb6ad72ddf15ba7e31ddc6339036
[ "CC-BY-4.0" ]
1
2021-12-07T09:05:48.000Z
2021-12-07T09:05:48.000Z
1._metis_models_and_data_2019-12-16b/METIS source code/Context actions/default/InvalidateKPIs.py
tamas-borbath/METIS_data_and_scripts
cf3dc0f0f96ccb6ad72ddf15ba7e31ddc6339036
[ "CC-BY-4.0" ]
null
null
null
1._metis_models_and_data_2019-12-16b/METIS source code/Context actions/default/InvalidateKPIs.py
tamas-borbath/METIS_data_and_scripts
cf3dc0f0f96ccb6ad72ddf15ba7e31ddc6339036
[ "CC-BY-4.0" ]
null
null
null
######################################################## # Copyright (c) 2015-2017 by European Commission. # # All Rights Reserved. # ######################################################## """ This context action deletes all KPI values in the current context """ from com.artel...
32.789474
149
0.668539
113
1,246
7.371681
0.530973
0.092437
0.120048
0.10084
0.156062
0.093637
0
0
0
0
0
0.007715
0.167737
1,246
37
150
33.675676
0.795564
0.174157
0
0.176471
0
0
0.119159
0
0
0
0
0
0
1
0.235294
false
0
0.117647
0
0.352941
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
fcf9531b2057af5f9ea183e50dad9241ce6ec6e4
1,358
py
Python
2021/Day06/Day06-Prob2-Unlimited-fish.py
guilhermebaos/Advent-of-Code-Solutions
232facf72a21284478134b2c56357352b4aaaf74
[ "MIT" ]
null
null
null
2021/Day06/Day06-Prob2-Unlimited-fish.py
guilhermebaos/Advent-of-Code-Solutions
232facf72a21284478134b2c56357352b4aaaf74
[ "MIT" ]
null
null
null
2021/Day06/Day06-Prob2-Unlimited-fish.py
guilhermebaos/Advent-of-Code-Solutions
232facf72a21284478134b2c56357352b4aaaf74
[ "MIT" ]
null
null
null
# Puzzle Input ---------- with open('Day06-Input.txt', 'r') as file: puzzle = list(map(int, file.read().split(','))) with open('Day06-Test01.txt', 'r') as file: test01 = list(map(int, file.read().split(','))) # Main Code ---------- # Count the first few fish and organize them by age in a dictionary def coun...
29.521739
96
0.627393
223
1,358
3.547085
0.32287
0.159292
0.22756
0.115044
0.313527
0.058154
0
0
0
0
0
0.026393
0.246686
1,358
45
97
30.177778
0.746823
0.228277
0
0
0
0
0.033719
0
0
0
0
0
0
1
0.086957
false
0
0
0
0.173913
0.086957
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
fcf9aa65396644ce8956039d18797ae05615fb61
19
py
Python
fossa/__init__.py
tresni/fossa
38a25d2c9091bbe28462a596fcfedd1179880358
[ "MIT" ]
null
null
null
fossa/__init__.py
tresni/fossa
38a25d2c9091bbe28462a596fcfedd1179880358
[ "MIT" ]
null
null
null
fossa/__init__.py
tresni/fossa
38a25d2c9091bbe28462a596fcfedd1179880358
[ "MIT" ]
null
null
null
APP_NAME = "fossa"
9.5
18
0.684211
3
19
4
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
19
1
19
19
0.75
0
0
0
0
0
0.263158
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fcfa435f98d43ada5cc2452165b6ea6be9181640
1,188
py
Python
src/boost_histogram/_internal/storage.py
andrzejnovak/boost-histogram
cdbfabb1c22f5545bf3900be01f2025411e699f1
[ "BSD-3-Clause" ]
105
2019-03-08T14:59:37.000Z
2022-03-11T12:46:17.000Z
src/boost_histogram/_internal/storage.py
andrzejnovak/boost-histogram
cdbfabb1c22f5545bf3900be01f2025411e699f1
[ "BSD-3-Clause" ]
400
2019-03-11T23:10:18.000Z
2022-03-25T14:02:06.000Z
src/boost_histogram/_internal/storage.py
andrzejnovak/boost-histogram
cdbfabb1c22f5545bf3900be01f2025411e699f1
[ "BSD-3-Clause" ]
25
2019-03-11T18:02:31.000Z
2022-03-10T20:14:22.000Z
import boost_histogram from .._core import storage as store from .utils import set_module # Simple mixin to provide a common base class for types class Storage: _family: object def __init_subclass__(cls, *, family: object) -> None: super().__init_subclass__() cls._family = family def __...
22.846154
73
0.751684
150
1,188
5.62
0.3
0.24911
0.116251
0.190985
0.569395
0.569395
0.481613
0.481613
0.481613
0.481613
0
0.007851
0.142256
1,188
51
74
23.294118
0.819431
0.044613
0
0.451613
0
0
0.165931
0.165931
0
0
0
0
0
1
0.064516
false
0.225806
0.096774
0.032258
0.483871
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
fcfade839bbd2f518955cd01678b3f38bc653fa2
18,424
py
Python
adventure.py
brianquinlan/2016-christmas-adventure
40558968765a585414bb1c5b284e716dd4981957
[ "MIT" ]
null
null
null
adventure.py
brianquinlan/2016-christmas-adventure
40558968765a585414bb1c5b284e716dd4981957
[ "MIT" ]
null
null
null
adventure.py
brianquinlan/2016-christmas-adventure
40558968765a585414bb1c5b284e716dd4981957
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import itertools import random import subprocess import sys WELCOME_TEXT = """Welcome {name} to the land of Pavlisha. Many have entered this land but few have returned. Your quest is to slay the Bad King, who has stolen the Clock of Time. Without the Clock of Time it will be 2016 forever and ...
31.174281
104
0.651162
2,644
18,424
4.475794
0.238654
0.038449
0.01014
0.015379
0.163427
0.114163
0.069461
0.052391
0.036843
0.027632
0
0.016367
0.250543
18,424
590
105
31.227119
0.840672
0.003908
0
0.229581
0
0.002208
0.458859
0
0
0
0
0
0
1
0.039735
false
0.002208
0.00883
0.004415
0.094923
0.143488
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
fcfb1989c996cbe167fe37e33ab960b7feff5dd5
7,649
py
Python
wax/modules/online_supervised_learner_test.py
eserie/wax-ml
9cf92ff5c41ea681fd3eaaf4560b3380f986ee1e
[ "MIT", "ECL-2.0", "Apache-2.0", "BSD-3-Clause" ]
42
2021-06-14T16:27:54.000Z
2022-03-23T09:51:42.000Z
wax/modules/online_supervised_learner_test.py
eserie/wax-ml
9cf92ff5c41ea681fd3eaaf4560b3380f986ee1e
[ "MIT", "ECL-2.0", "Apache-2.0", "BSD-3-Clause" ]
1
2021-10-01T12:45:29.000Z
2021-10-03T18:06:39.000Z
wax/modules/online_supervised_learner_test.py
eserie/wax-ml
9cf92ff5c41ea681fd3eaaf4560b3380f986ee1e
[ "MIT", "ECL-2.0", "Apache-2.0", "BSD-3-Clause" ]
5
2021-06-11T12:32:41.000Z
2022-02-17T16:13:15.000Z
# Copyright 2021 The WAX-ML Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
31.093496
127
0.676298
1,142
7,649
4.410683
0.236427
0.01489
0.011912
0.011912
0.415922
0.389915
0.341672
0.335517
0.302164
0.302164
0
0.01403
0.226566
7,649
245
128
31.220408
0.83739
0.377173
0
0.534351
0
0
0.006145
0
0
0
0
0
0.076336
1
0.137405
false
0
0.061069
0.068702
0.312977
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
fcfc2b1fb4d4ad2e27520f6caefbdcadcd160c6c
2,814
py
Python
src/cvhelpers/visualization/objects.py
yewzijian/RegTR
64e5b3f0ccc1e1a11b514eb22734959d32e0cec6
[ "MIT" ]
25
2022-03-28T06:26:16.000Z
2022-03-30T14:21:24.000Z
src/cvhelpers/visualization/objects.py
yewzijian/RegTR
64e5b3f0ccc1e1a11b514eb22734959d32e0cec6
[ "MIT" ]
null
null
null
src/cvhelpers/visualization/objects.py
yewzijian/RegTR
64e5b3f0ccc1e1a11b514eb22734959d32e0cec6
[ "MIT" ]
2
2022-03-29T09:37:50.000Z
2022-03-30T06:26:35.000Z
"""Functions to create objects to add to the visualizer""" import numpy as np import torch from .vtk_object import VTKObject def _convert_torch_to_numpy(arr): """If arr is torch.Tensor, return the numpy equivalent, else return arr as it is""" if isinstance(arr, torch.Tensor): arr = arr.detach()....
26.299065
80
0.672708
417
2,814
4.453237
0.33813
0.01077
0.072698
0.077544
0.054927
0.019386
0
0
0
0
0
0.021838
0.218905
2,814
106
81
26.54717
0.823021
0.344705
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.185185
false
0
0.055556
0
0.425926
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
fcfc93a2b90466a4bcdb00869bfa82e76236d6e4
2,980
py
Python
cv-classify.py
linovaldivia/cv-classify
f60cb2e4de4d020ac51e6e046f5dc9c6a6c4656c
[ "MIT" ]
null
null
null
cv-classify.py
linovaldivia/cv-classify
f60cb2e4de4d020ac51e6e046f5dc9c6a6c4656c
[ "MIT" ]
null
null
null
cv-classify.py
linovaldivia/cv-classify
f60cb2e4de4d020ac51e6e046f5dc9c6a6c4656c
[ "MIT" ]
null
null
null
import sys import getopt import trainer import classifier def show_help(): print "options: " print "-t, --training <training-data-dir> Enter training mode and use given directory for training data" print "-c, --classify <img-dir> Enter classify mode, using the images in t...
41.971831
259
0.590268
359
2,980
4.771588
0.292479
0.077058
0.031524
0.02627
0.088733
0.068885
0.046702
0
0
0
0
0.002378
0.294295
2,980
70
260
42.571429
0.812173
0.005705
0
0.080645
0
0.064516
0.386356
0
0
0
0
0
0
0
null
null
0
0.064516
null
null
0.145161
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
fcff3d85fe99542b6a26eb81efd2192cd0645652
622
py
Python
src/mono_test.py
hb-jones/rp1-ros
afc2888f5da7a2b4cc6d9e07ce017f26996e58c3
[ "Apache-2.0" ]
null
null
null
src/mono_test.py
hb-jones/rp1-ros
afc2888f5da7a2b4cc6d9e07ce017f26996e58c3
[ "Apache-2.0" ]
null
null
null
src/mono_test.py
hb-jones/rp1-ros
afc2888f5da7a2b4cc6d9e07ce017f26996e58c3
[ "Apache-2.0" ]
null
null
null
import time, cv2, json from vision.monocular import Monocular, test_publisher_pixel_coordinate def test_func(var): return def main(): cam = Monocular(test_publisher_pixel_coordinate) #cam = Monocular(test_func) cam.start_loop() cam.debug_mode = True cam.debug_type = "cont" ti...
23.923077
72
0.622186
83
622
4.39759
0.590361
0.106849
0.120548
0.147945
0.20274
0
0
0
0
0
0
0.017817
0.278135
622
25
73
24.88
0.7951
0.099678
0
0
0
0
0.046904
0
0
0
0.007505
0
0
1
0.111111
false
0
0.111111
0.055556
0.277778
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
fcffd6e5c047818eed25631c704cc70770c625fb
4,562
py
Python
dream_machine/webgl/render_targets.py
Aeva/dream_machine
6f8e913096806bf04d7db257a9033e580d5d46d4
[ "Apache-2.0" ]
3
2020-08-03T15:49:13.000Z
2020-08-08T03:14:00.000Z
dream_machine/webgl/render_targets.py
Aeva/dream_machine
6f8e913096806bf04d7db257a9033e580d5d46d4
[ "Apache-2.0" ]
28
2020-08-26T01:45:44.000Z
2020-11-12T03:12:13.000Z
dream_machine/webgl/render_targets.py
Aeva/dream_machine
6f8e913096806bf04d7db257a9033e580d5d46d4
[ "Apache-2.0" ]
null
null
null
 # Copyright 2020 Aeva Palecek # # 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 writin...
32.820144
144
0.707584
495
4,562
6.329293
0.286869
0.045962
0.056176
0.042451
0.252154
0.252154
0.187041
0.157038
0.118736
0.082988
0
0.003754
0.182595
4,562
138
145
33.057971
0.836149
0.120342
0
0.277778
0
0.011111
0.150613
0.075056
0
0
0
0
0.022222
0
null
null
0
0.022222
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
fcffe22efcddd524aff30bbd278fd51ef10be4d7
1,301
py
Python
modules/input_output.py
hhandika/journal-unlocker
b35133565c991688c726643949a102beefdedfc8
[ "MIT" ]
1
2020-11-29T08:10:16.000Z
2020-11-29T08:10:16.000Z
modules/input_output.py
hhandika/journal-unlocker
b35133565c991688c726643949a102beefdedfc8
[ "MIT" ]
null
null
null
modules/input_output.py
hhandika/journal-unlocker
b35133565c991688c726643949a102beefdedfc8
[ "MIT" ]
null
null
null
import webbrowser as wb from modules import converter class UserInput(converter.LinkConverter): def __init__(self, libs, url): self.libs = libs self.url = url def _invalid_input(self): print(f"\x1b[0;31mERROR: \x1b[0m{self.url} is invalid URL\n") print("Please, enter a val...
30.255814
72
0.597233
169
1,301
4.384615
0.325444
0.075574
0.052632
0.08637
0.118758
0.118758
0.118758
0.118758
0.118758
0.118758
0
0.010823
0.289777
1,301
43
73
30.255814
0.791126
0
0
0.171429
0
0.028571
0.162826
0
0
0
0
0
0
1
0.2
false
0
0.057143
0
0.285714
0.114286
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
1e011925c6302c4ad1c6ff5f9211ec00aafbb0c5
959
py
Python
tests/file_iterators/test_trillian_xml.py
mtlynch/chat_unifier
7449ca4f2dd48d8b76fc29e150643076dd0b3334
[ "MIT" ]
2
2018-10-16T18:39:06.000Z
2019-01-22T01:38:09.000Z
tests/file_iterators/test_trillian_xml.py
mtlynch/chat_unifier
7449ca4f2dd48d8b76fc29e150643076dd0b3334
[ "MIT" ]
2
2018-10-19T00:00:21.000Z
2018-10-19T17:15:25.000Z
tests/file_iterators/test_trillian_xml.py
mtlynch/chat_unifier
7449ca4f2dd48d8b76fc29e150643076dd0b3334
[ "MIT" ]
null
null
null
import os import unittest import mock from chat_unifier.file_iterators import trillian_xml class TrillianXmlFileIteratorTest(unittest.TestCase): def setUp(self): self.maxDiff = None def test_picks_correct_trillian_log_files(self): with mock.patch.object(os, 'walk') as mock_walk: ...
33.068966
68
0.552659
95
959
5.442105
0.484211
0.067698
0.092843
0.096712
0.108317
0
0
0
0
0
0
0.035451
0.294056
959
28
69
34.25
0.728213
0
0
0
0
0
0.271116
0.118874
0
0
0
0
0.045455
1
0.090909
false
0
0.181818
0
0.318182
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
1e01397b0e0b55041950595176edcb92e499b82c
169
py
Python
mtd/__init__.py
jbernhard/mtd
6326fdb44f071311ace7862371e658d609f43d08
[ "MIT" ]
4
2017-02-21T21:20:07.000Z
2020-11-03T15:54:13.000Z
mtd/__init__.py
jbernhard/mtd
6326fdb44f071311ace7862371e658d609f43d08
[ "MIT" ]
null
null
null
mtd/__init__.py
jbernhard/mtd
6326fdb44f071311ace7862371e658d609f43d08
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __version__ = '0.1.dev0' from .multigp import MultiGP from .pca import PCA from .util import * from . import priors from george import kernels
16.9
28
0.710059
25
169
4.64
0.6
0
0
0
0
0
0
0
0
0
0
0.028777
0.177515
169
9
29
18.777778
0.805755
0.12426
0
0
0
0
0.054795
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
1e037702ba339edd20a07331a6e5b456dd7810a0
952
py
Python
SpriteSheetPacker/packer.py
ithilelda/ModLoaderLite
14899f8d1a406563600c2abe76ac1a2c58c6135d
[ "MIT" ]
1
2022-01-19T05:16:02.000Z
2022-01-19T05:16:02.000Z
SpriteSheetPacker/packer.py
ithilelda/ModLoaderLite
14899f8d1a406563600c2abe76ac1a2c58c6135d
[ "MIT" ]
null
null
null
SpriteSheetPacker/packer.py
ithilelda/ModLoaderLite
14899f8d1a406563600c2abe76ac1a2c58c6135d
[ "MIT" ]
null
null
null
import os import math from PIL import Image def pack_directory(path): def name_comparer(entry): return int(entry.name.strip('image .png')) files = [e for e in os.scandir(path) if e.name.endswith('png') and not e.name.startswith('output')] files.reverse() images = [Image.open(e.path) for e in ...
28.848485
103
0.582983
152
952
3.592105
0.375
0.03663
0.032967
0.065934
0.047619
0
0
0
0
0
0
0.017291
0.271008
952
33
104
28.848485
0.769452
0
0
0
0
0
0.050367
0
0
0
0
0
0
1
0.071429
false
0
0.107143
0.035714
0.214286
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
1e03ed577f62b4839e55690fb48c279d0a38fc65
28,226
py
Python
libs/graph_embeddings/graph_embeddings/embeddings.py
skojaku/residual2vec
ea10caae3c2671953fbc295358040baa36ee1547
[ "MIT" ]
2
2022-01-20T18:03:11.000Z
2022-03-04T08:21:42.000Z
libs/graph_embeddings/graph_embeddings/embeddings.py
skojaku/residual2vec
ea10caae3c2671953fbc295358040baa36ee1547
[ "MIT" ]
null
null
null
libs/graph_embeddings/graph_embeddings/embeddings.py
skojaku/residual2vec
ea10caae3c2671953fbc295358040baa36ee1547
[ "MIT" ]
null
null
null
"""Modules for graph embedding methods.""" import logging import gensim import networkx as nx import numpy as np import pandas as pd # For GCN import stellargraph as sg import tensorflow as tf from graph_embeddings import samplers, utils from scipy import sparse from sklearn import model_selection from stellargraph....
32.406429
132
0.571034
3,525
28,226
4.420426
0.114326
0.030035
0.012129
0.016943
0.730009
0.695546
0.670838
0.655372
0.628546
0.608202
0
0.016716
0.323921
28,226
870
133
32.443678
0.799822
0.145965
0
0.635
0
0.001667
0.017277
0
0
0
0
0.002299
0
1
0.055
false
0.003333
0.051667
0
0.158333
0.001667
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1e04313b1a59f752d444d642a7310789f916860e
6,410
py
Python
CrudSimulation/forms.py
CodexLink/AdvancedCRUD-Django
aea8da56b1713735196f675a5c0acf2dde974616
[ "MIT" ]
1
2020-04-13T03:35:19.000Z
2020-04-13T03:35:19.000Z
CrudSimulation/forms.py
CodexLink/AdvancedCRUD-Django
aea8da56b1713735196f675a5c0acf2dde974616
[ "MIT" ]
6
2020-04-12T17:59:08.000Z
2021-09-22T18:52:24.000Z
CrudSimulation/forms.py
CodexLink/Django_Single_Page_CRUD
b37bc61bed2434a3e35ca7afe3b99e95a2289487
[ "MIT" ]
1
2020-05-03T14:00:32.000Z
2020-05-03T14:00:32.000Z
from django import forms from django.core.validators import MaxValueValidator, MinValueValidator from .additionals.metaData import * from .models import UserCredentials, UserTasks, UserDepartment from django.contrib.auth.forms import AuthenticationForm class AuthForm(AuthenticationForm, forms.ModelForm): class Met...
75.411765
294
0.7
728
6,410
6.049451
0.223901
0.052452
0.072661
0.094005
0.64396
0.637829
0.637829
0.615577
0.603769
0.603769
0
0.027183
0.133385
6,410
85
295
75.411765
0.765617
0
0
0.228571
0
0.014286
0.29543
0.003276
0
0
0
0
0
1
0.028571
false
0.128571
0.071429
0.014286
0.542857
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
1e047aa179f50c2fad3a719fb925ab7747594f6a
9,184
py
Python
basedir/__init__.py
fenhl/python-xdg-basedir
17032de6c9728ddba5c40a983c50088d69dc631e
[ "MIT" ]
null
null
null
basedir/__init__.py
fenhl/python-xdg-basedir
17032de6c9728ddba5c40a983c50088d69dc631e
[ "MIT" ]
null
null
null
basedir/__init__.py
fenhl/python-xdg-basedir
17032de6c9728ddba5c40a983c50088d69dc631e
[ "MIT" ]
null
null
null
import collections.abc import json import os import os.path import pathlib import subprocess def parse_version_string(): path = pathlib.Path(__file__).resolve().parent # go up one level, from repo/basedir.py to repo, where README.md is located try: version = subprocess.check_output(['git', 'rev-parse',...
39.416309
351
0.582753
1,171
9,184
4.457728
0.179334
0.062069
0.058238
0.028736
0.472797
0.44387
0.402107
0.382184
0.318582
0.283142
0
0.000643
0.323062
9,184
232
352
39.586207
0.83899
0.157557
0
0.420455
0
0
0.035605
0
0
0
0
0
0
1
0.125
false
0.017045
0.045455
0.039773
0.369318
0.005682
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
1e054a3c6b84d4385ce18db1a386851ca484d0f1
2,861
py
Python
convert_to_tf_records.py
andreweskeclarke/toxic_kaggle
e761f4aad0688423bdbe4098fe7efddddea4b0d9
[ "MIT" ]
null
null
null
convert_to_tf_records.py
andreweskeclarke/toxic_kaggle
e761f4aad0688423bdbe4098fe7efddddea4b0d9
[ "MIT" ]
null
null
null
convert_to_tf_records.py
andreweskeclarke/toxic_kaggle
e761f4aad0688423bdbe4098fe7efddddea4b0d9
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import argparse import collections import csv import tensorflow as tf import numpy as np from google_research.bert.tokenizer import FullTokenizer def main(): MAX_SEQUENCE_LENGTH = 512 parser = argparse.ArgumentParser() parser.add_argument('--do_lower_case', action='store_true') ...
47.683333
110
0.645928
350
2,861
5.065714
0.314286
0.047377
0.05753
0.053582
0.347434
0.279752
0.259447
0.19797
0.19797
0.173153
0
0.016026
0.236631
2,861
59
111
48.491525
0.795788
0.00734
0
0.055556
0
0
0.130328
0.016203
0
0
0
0
0
1
0.018519
false
0
0.111111
0
0.12963
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
1e05d2ddced6438f7254bbde6bd745d89e9f2ec4
3,733
py
Python
djusagi/bin/contacts_update.py
carthage-college/django-djusagi
8fb2fe0b9100ac4bd6ebd0ea7cf44d732f7fcc5a
[ "BSD-3-Clause" ]
null
null
null
djusagi/bin/contacts_update.py
carthage-college/django-djusagi
8fb2fe0b9100ac4bd6ebd0ea7cf44d732f7fcc5a
[ "BSD-3-Clause" ]
2
2020-03-06T14:09:23.000Z
2021-11-30T21:33:26.000Z
djusagi/bin/contacts_update.py
carthage-college/django-djusagi
8fb2fe0b9100ac4bd6ebd0ea7cf44d732f7fcc5a
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import os, sys # env sys.path.append('/usr/local/lib/python2.7/dist-packages/') sys.path.append('/usr/lib/python2.7/dist-packages/') sys.path.append('/usr/lib/python2.7/') sys.path.append('/data2/django_projects/') sys.path.append('/data2/django_third/') os.environ.setdefault("DJANGO_SETTINGS_...
26.856115
80
0.556389
425
3,733
4.8
0.390588
0.017157
0.031863
0.023529
0.067157
0.043627
0.043627
0.043627
0.043627
0.043627
0
0.006392
0.329494
3,733
138
81
27.050725
0.80863
0.053576
0
0.1
0
0.011111
0.252606
0.035868
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.077778
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
1e05fc418915f277ab4a685fd9b838701e4c7fe8
14,246
py
Python
fedot/core/operations/evaluation/operation_implementations/data_operations/sklearn_transformations.py
vkirilenko/FEDOT
d287d899e47fe5aebf52c12733892e103b75842b
[ "BSD-3-Clause" ]
1
2021-11-09T10:24:38.000Z
2021-11-09T10:24:38.000Z
fedot/core/operations/evaluation/operation_implementations/data_operations/sklearn_transformations.py
vkirilenko/FEDOT
d287d899e47fe5aebf52c12733892e103b75842b
[ "BSD-3-Clause" ]
null
null
null
fedot/core/operations/evaluation/operation_implementations/data_operations/sklearn_transformations.py
vkirilenko/FEDOT
d287d899e47fe5aebf52c12733892e103b75842b
[ "BSD-3-Clause" ]
null
null
null
from typing import Optional import numpy as np from sklearn.decomposition import KernelPCA, PCA from sklearn.impute import SimpleImputer from sklearn.preprocessing import MinMaxScaler, OneHotEncoder, PolynomialFeatures, StandardScaler from fedot.core.data.data import InputData from fedot.core.data.data import data_ha...
38.711957
116
0.653727
1,536
14,246
5.835286
0.132161
0.045186
0.03414
0.018967
0.548142
0.507308
0.444382
0.427982
0.382573
0.361821
0
0.002312
0.271374
14,246
367
117
38.817439
0.861175
0.240418
0
0.462687
0
0
0.017469
0
0
0
0
0
0
1
0.119403
false
0.004975
0.039801
0.024876
0.258706
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
1e0722a167a785c6b5484768dc494ed00583b144
559
py
Python
allauth_saml2/urls.py
davidmgvaz/allauth_saml2
0a797b66831fedb0a5bce7ba2bdde001efbf6956
[ "MIT" ]
1
2021-07-29T00:56:27.000Z
2021-07-29T00:56:27.000Z
allauth_saml2/urls.py
davidmgvaz/allauth_saml2
0a797b66831fedb0a5bce7ba2bdde001efbf6956
[ "MIT" ]
1
2022-03-01T21:17:54.000Z
2022-03-14T07:51:09.000Z
allauth_saml2/urls.py
davidmgvaz/allauth_saml2
0a797b66831fedb0a5bce7ba2bdde001efbf6956
[ "MIT" ]
2
2021-11-18T21:05:34.000Z
2022-03-11T23:31:44.000Z
from django.urls import include, path from allauth.utils import import_attribute def default_urlpatterns(provider): login_view = import_attribute(provider.get_package() + ".views.saml2_login") acs_view = import_attribute(provider.get_package() + ".views.saml2_acs") urlpatterns = [ path("login/",...
32.882353
80
0.692308
69
559
5.391304
0.42029
0.120968
0.102151
0.145161
0.252688
0.252688
0.252688
0.252688
0
0
0
0.004338
0.175313
559
16
81
34.9375
0.802603
0.093023
0
0
0
0
0.108911
0
0
0
0
0.0625
0
1
0.1
false
0
0.4
0
0.6
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
1
0
0
0
0
2
1e08575a33b1bf77c5ac73909e8b814796a5d007
421
py
Python
json_extract.py
Puratinamu/Application-Document-Generator
6e6068fc8f360f8b2ccd15ca66d028ad37055593
[ "Apache-2.0" ]
1
2019-03-01T18:10:56.000Z
2019-03-01T18:10:56.000Z
json_extract.py
Puratinamu/Application-Document-Generator
6e6068fc8f360f8b2ccd15ca66d028ad37055593
[ "Apache-2.0" ]
null
null
null
json_extract.py
Puratinamu/Application-Document-Generator
6e6068fc8f360f8b2ccd15ca66d028ad37055593
[ "Apache-2.0" ]
null
null
null
import json def extract(filename): ''' (str) -> list of object Given the filename of a JSON file in the current directory, extract and return its data. :param filename: name of the JSON file: :return data: data extracted from the JSON file: ''' file = open(filename, 'r') json_decode = ...
24.764706
82
0.64133
60
421
4.466667
0.516667
0.089552
0.08209
0
0
0
0
0
0
0
0
0
0.268409
421
16
83
26.3125
0.87013
0.477435
0
0
0
0
0.005208
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
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
1e0a45dc70c943024981f87b2475e50be7bce1eb
1,990
py
Python
src/DataExploration/Python/PHE_PracticeProfileIndicators_Analysis.py
shashidarette/healthcare_dataviz
f638a60b3e3f31e68704fe73cce700e01bf25dfe
[ "MIT" ]
null
null
null
src/DataExploration/Python/PHE_PracticeProfileIndicators_Analysis.py
shashidarette/healthcare_dataviz
f638a60b3e3f31e68704fe73cce700e01bf25dfe
[ "MIT" ]
null
null
null
src/DataExploration/Python/PHE_PracticeProfileIndicators_Analysis.py
shashidarette/healthcare_dataviz
f638a60b3e3f31e68704fe73cce700e01bf25dfe
[ "MIT" ]
null
null
null
# coding: utf-8 # ## This notebook is to analyse the practice indicators available from PHE dataset # In[1]: import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns # In[2]: # General Practice Indicators from PHE (It includes England, CCG level indicators as well) GPIndicat...
16.722689
127
0.711055
288
1,990
4.767361
0.395833
0.025492
0.045885
0.03496
0.186453
0.16606
0.16606
0
0
0
0
0.039883
0.143216
1,990
118
128
16.864407
0.765396
0.273869
0
0
0
0
0.283286
0.111898
0
0
0
0
0
1
0
false
0
0.129032
0
0.129032
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
1e0a8cd86646fb6782dcda7592bb726bc8b672cd
656
py
Python
python/agenciesModule.py
leomaurodesenv/travel-dataset-generator
6d97012ea50ab94d8513cd4d4a5b17d36fa94469
[ "CC-BY-4.0" ]
3
2019-09-24T20:53:21.000Z
2021-07-06T17:39:01.000Z
python/agenciesModule.py
leomaurodesenv/travel-dataset-generator
6d97012ea50ab94d8513cd4d4a5b17d36fa94469
[ "CC-BY-4.0" ]
null
null
null
python/agenciesModule.py
leomaurodesenv/travel-dataset-generator
6d97012ea50ab94d8513cd4d4a5b17d36fa94469
[ "CC-BY-4.0" ]
2
2019-09-24T20:57:11.000Z
2020-02-28T15:07:55.000Z
#- Import packages import random ''' @module: Travel Dataset Generator @authors: Leonardo Mauro <leomaurodesenv> @link: https://github.com/Argo-Solutions/travel-dataset-generator GitHub @license: Creative Commons BY License @copyright: 2019 Argo Solutions @access: public ''' #- Functions def funcAgencyGenerator(flig...
26.24
72
0.71189
75
656
6.226667
0.693333
0.055675
0.094218
0
0
0
0
0
0
0
0
0.009158
0.167683
656
24
73
27.333333
0.846154
0.178354
0
0
0
0
0.018182
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
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
1e0ed9639458ffbc0cde9e78e007150cad47b135
237
py
Python
user/admin.py
calumlim/talentalps
cc66eabf71e04b6ab5831ee15f57e771cba82279
[ "FSFAP" ]
null
null
null
user/admin.py
calumlim/talentalps
cc66eabf71e04b6ab5831ee15f57e771cba82279
[ "FSFAP" ]
null
null
null
user/admin.py
calumlim/talentalps
cc66eabf71e04b6ab5831ee15f57e771cba82279
[ "FSFAP" ]
null
null
null
from django.contrib import admin from . import models # Register your models here. admin.site.register(models.UserProfile) admin.site.register(models.Candidate) admin.site.register(models.Company) admin.site.register(models.CompanyImage)
33.857143
40
0.831224
32
237
6.15625
0.4375
0.182741
0.345178
0.467005
0
0
0
0
0
0
0
0
0.067511
237
7
40
33.857143
0.891403
0.109705
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
1e0fb8e5cdbf2596f9936f5922fbf205cea62135
5,965
py
Python
src/functions.py
directedbyshawn/Spotlight
80fa18a038ef0ac996bc5102c097587f7f3a54be
[ "MIT" ]
null
null
null
src/functions.py
directedbyshawn/Spotlight
80fa18a038ef0ac996bc5102c097587f7f3a54be
[ "MIT" ]
null
null
null
src/functions.py
directedbyshawn/Spotlight
80fa18a038ef0ac996bc5102c097587f7f3a54be
[ "MIT" ]
null
null
null
''' Basic functions used throughout the entirety of the project. --------------------------------------------------- --------------------------------------------------- --------------------------------------------------- --------------------------------------------------- -----------------...
27.615741
142
0.524895
691
5,965
4.474674
0.272069
0.032018
0.032988
0.04075
0.320505
0.300453
0.242885
0.222833
0.203105
0.159767
0
0.011717
0.255993
5,965
215
143
27.744186
0.684993
0.424811
0
0.16129
0
0
0.147264
0.015589
0
0
0
0
0
1
0.112903
false
0.096774
0.032258
0
0.209677
0.080645
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
0
0
0
0
0
1
1e0fdbf7190da408c69ac345f5e674132d380c9e
5,059
py
Python
ghidra_9.0/Ghidra/Features/Base/ghidra_scripts/mark_in_out.py
ChristopherMorrison/ghidra
e53aa57d1aff79a1df93728f746705c58fe95ab0
[ "Apache-2.0" ]
3
2019-11-14T13:11:35.000Z
2019-12-02T20:51:49.000Z
ghidra_9.0/Ghidra/Features/Base/ghidra_scripts/mark_in_out.py
ChristopherMorrison/ghidra
e53aa57d1aff79a1df93728f746705c58fe95ab0
[ "Apache-2.0" ]
3
2019-07-17T22:51:04.000Z
2019-12-04T05:43:56.000Z
ghidra_9.0/Ghidra/Features/Base/ghidra_scripts/mark_in_out.py
ChristopherMorrison/ghidra
e53aa57d1aff79a1df93728f746705c58fe95ab0
[ "Apache-2.0" ]
3
2019-12-02T13:36:50.000Z
2019-12-04T05:40:12.000Z
# Sets up IOPORT IN/OUT references for the Program #@category Instructions # Before running this script, you should have created an OVERLAY memory # space called IOMEM, starting at address 0, size 0x10000. # # Note: This script is rather sloppy and should probably be cleaned up. from ghidra.program.model.lang.Operand...
50.59
82
0.572247
498
5,059
5.789157
0.319277
0.010406
0.029136
0.030524
0.495317
0.444676
0.422477
0.422477
0.422477
0.409296
0
0.011233
0.348883
5,059
99
83
51.10101
0.863995
0.250445
0
0.321429
0
0
0.026222
0
0
0
0
0
0
0
null
null
0.017857
0.053571
null
null
0.035714
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
1e10bd551541e3f85348ce7df075595f398b1a18
193
py
Python
Learn_Python_the_Hard_Way/ex13.py
XC-Li/old_python_programs
8f9b10120c94cf06978aec3f47be4517f463ca76
[ "MIT" ]
null
null
null
Learn_Python_the_Hard_Way/ex13.py
XC-Li/old_python_programs
8f9b10120c94cf06978aec3f47be4517f463ca76
[ "MIT" ]
null
null
null
Learn_Python_the_Hard_Way/ex13.py
XC-Li/old_python_programs
8f9b10120c94cf06978aec3f47be4517f463ca76
[ "MIT" ]
null
null
null
#LPHW ex13 from sys import argv script, first, second, third = argv print "The script is called:", script print "First Var:", first print "Second Var:", second print "Third Var:", third
24.125
38
0.699482
29
193
4.655172
0.517241
0
0
0
0
0
0
0
0
0
0
0.012821
0.19171
193
8
39
24.125
0.852564
0.046632
0
0
0
0
0.293785
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
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
1
0
0
0
0
0
0
1
0
4
1e12c6a3aa526ef23aa7034fa618c29135d58d92
672
py
Python
wrappers/python/tests/anoncreds/test_issuer_create_credential.py
sklump/indy-sdk
ee05a89ddf60b42f7483bebf2d89a936e12730df
[ "Apache-2.0" ]
636
2017-05-25T07:45:43.000Z
2022-03-23T22:30:34.000Z
wrappers/python/tests/anoncreds/test_issuer_create_credential.py
Nick-1979/indy-sdk
e5f812e14962f0d51cf96f843033754ff841ce30
[ "Apache-2.0" ]
731
2017-05-29T07:15:08.000Z
2022-03-31T07:55:58.000Z
wrappers/python/tests/anoncreds/test_issuer_create_credential.py
Nick-1979/indy-sdk
e5f812e14962f0d51cf96f843033754ff841ce30
[ "Apache-2.0" ]
904
2017-05-25T07:45:49.000Z
2022-03-31T07:43:31.000Z
import pytest from indy import error from indy.anoncreds import issuer_create_credential # noinspection PyUnusedLocal @pytest.mark.asyncio async def test_issuer_create_credential_works(wallet_handle, prepopulated_wallet): pass # noinspection PyUnusedLocal @pytest.mark.asyncio async def test_issuer_create_crede...
32
109
0.83631
85
672
6.152941
0.423529
0.091778
0.16826
0.133843
0.309751
0.309751
0.309751
0.309751
0.309751
0.309751
0
0
0.111607
672
20
110
33.6
0.876047
0.078869
0
0.166667
0
0
0
0
0
0
0
0
0
1
0
true
0.083333
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
2
1e12e199bdc44676eec4cb40e4b40d0b6977cd06
259
py
Python
watermarks/settings.py
pmaigutyak/mp-watermarks
a5d3e2e00fcfbeee2b06a110b1bc796c809feb5a
[ "0BSD" ]
2
2018-02-26T21:58:57.000Z
2021-09-25T14:31:38.000Z
watermarks/settings.py
pmaigutyak/mp-watermarks
a5d3e2e00fcfbeee2b06a110b1bc796c809feb5a
[ "0BSD" ]
2
2022-01-13T00:41:17.000Z
2022-02-16T08:52:21.000Z
watermarks/settings.py
pmaigutyak/mp-watermarks
a5d3e2e00fcfbeee2b06a110b1bc796c809feb5a
[ "0BSD" ]
null
null
null
class WatermarksSettings(object): @property def INSTALLED_APPS(self): apps = super().INSTALLED_APPS + ['watermarks'] if 'imagekit' not in apps: apps.append('imagekit') return apps default = WatermarksSettings
17.266667
54
0.629344
25
259
6.44
0.68
0.161491
0
0
0
0
0
0
0
0
0
0
0.274131
259
14
55
18.5
0.856383
0
0
0
0
0
0.100775
0
0
0
0
0
0
1
0.125
false
0
0
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
0
0
0
0
0
1
1e13707a70a02716acbba14e0252bf893cec27b1
179
py
Python
engine/render/__init__.py
TWoolhouse/Libraries
26079ed387cb800cb97f20980720ae094008c7bf
[ "MIT" ]
1
2020-10-11T15:34:56.000Z
2020-10-11T15:34:56.000Z
engine/render/__init__.py
TWoolhouse/Libraries
26079ed387cb800cb97f20980720ae094008c7bf
[ "MIT" ]
null
null
null
engine/render/__init__.py
TWoolhouse/Libraries
26079ed387cb800cb97f20980720ae094008c7bf
[ "MIT" ]
null
null
null
from .primitive import Primitive from .shape import Polygon from .text import Text, Font from .colour import Colour __all__ = ["Primitive", "Polygon", "Text", "Font", "Colour" ]
19.888889
35
0.731844
23
179
5.521739
0.391304
0.125984
0
0
0
0
0
0
0
0
0
0
0.145251
179
8
36
22.375
0.830065
0
0
0
0
0
0.167598
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
1e18059d12840f8a0185aebcabdddc4603c7b343
9,891
py
Python
test/graph/test_graph.py
openeuler-mirror/pkgship
5aaa4953023fde8ff03892fe5608f0711a26a942
[ "MulanPSL-1.0" ]
null
null
null
test/graph/test_graph.py
openeuler-mirror/pkgship
5aaa4953023fde8ff03892fe5608f0711a26a942
[ "MulanPSL-1.0" ]
null
null
null
test/graph/test_graph.py
openeuler-mirror/pkgship
5aaa4953023fde8ff03892fe5608f0711a26a942
[ "MulanPSL-1.0" ]
1
2021-11-20T00:10:53.000Z
2021-11-20T00:10:53.000Z
#!/usr/bin/python3 # ****************************************************************************** # Copyright (c) Huawei Technologies Co., Ltd. 2020-2020. All rights reserved. # licensed under the Mulan PSL v2. # You can use this software according to the terms and conditions of the Mulan PSL v2. # You may obtain a c...
35.967273
98
0.652512
1,151
9,891
5.384883
0.159861
0.116167
0.049371
0.0697
0.583898
0.516618
0.502097
0.493062
0.481284
0.481284
0
0.005202
0.222526
9,891
274
99
36.09854
0.80078
0.15873
0
0.295302
0
0
0.20254
0.159056
0
0
0
0
0.006711
1
0.174497
false
0
0.040268
0
0.355705
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
1e184b235ee24c10614c3bd2ea14856e7508653c
98
py
Python
output/models/ms_data/simple_type/st_e065_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ms_data/simple_type/st_e065_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ms_data/simple_type/st_e065_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.simple_type.st_e065_xsd.st_e065 import Root __all__ = [ "Root", ]
16.333333
70
0.744898
16
98
4
0.8125
0.1875
0
0
0
0
0
0
0
0
0
0.071429
0.142857
98
5
71
19.6
0.690476
0
0
0
0
0
0.040816
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1e19aaec4f9f9c19341dbc0cda0f3aa30674340b
1,066
py
Python
examples/example.py
jacobdeery/souvlaki
4e420857b02ff6dfa626c2b45f00efb564edc1a0
[ "MIT" ]
null
null
null
examples/example.py
jacobdeery/souvlaki
4e420857b02ff6dfa626c2b45f00efb564edc1a0
[ "MIT" ]
null
null
null
examples/example.py
jacobdeery/souvlaki
4e420857b02ff6dfa626c2b45f00efb564edc1a0
[ "MIT" ]
null
null
null
import os import random import souvlaki as sv class WordSource(): def __init__(self, nouns, adjectives, prefixes): self.nouns = nouns self.adjectives = adjectives self.prefixes = prefixes def noun(self): return random.choice(self.nouns) def adjective(self): r...
23.173913
71
0.651032
136
1,066
4.919118
0.330882
0.044843
0.071749
0.098655
0.295964
0.179372
0.179372
0.137519
0.137519
0.137519
0
0.00243
0.227955
1,066
45
72
23.688889
0.81045
0
0
0
0
0
0.084428
0.0197
0
0
0
0
0
1
0.172414
false
0
0.103448
0.103448
0.413793
0.034483
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
0
0
0
1
1e1ac363161eed75ef1bc0fa12a7f4f0d899c140
716
py
Python
api/controllers/student/field_update_controller.py
NoisyBotDude/MIS-Backend
fa402b0a6d5d6862634b0ed55bc57178856c1eba
[ "MIT" ]
1
2022-03-28T06:13:11.000Z
2022-03-28T06:13:11.000Z
api/controllers/student/field_update_controller.py
NoisyBotDude/MIS-Backend
fa402b0a6d5d6862634b0ed55bc57178856c1eba
[ "MIT" ]
1
2021-12-21T13:59:47.000Z
2021-12-21T13:59:47.000Z
api/controllers/student/field_update_controller.py
NoisyBotDude/MIS-Backend
fa402b0a6d5d6862634b0ed55bc57178856c1eba
[ "MIT" ]
10
2021-12-24T18:08:57.000Z
2022-03-18T13:18:25.000Z
from api.drivers.student import student_drivers from api.schemas.student.request_schemas import student_request_schemas from api.utils.exceptions import exceptions async def update( request: student_request_schemas.StudentPersonalInfoSchema, authorization ): """Updates student's info""" #...
25.571429
82
0.73324
84
716
6.083333
0.452381
0.041096
0.123288
0
0
0
0
0
0
0
0
0
0.194134
716
27
83
26.518519
0.885615
0.090782
0
0
0
0
0.033981
0
0
0
0
0
0
1
0
false
0.071429
0.214286
0
0.285714
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
0
0
0
0
0
1
1e1adf5c90b9d3bac8d132f53c4fd34036e51397
2,074
py
Python
regex/ex05.py
stormabq/python-examples
1c1acfc3863a2cf1a9e202c9299f3a526858eb34
[ "MIT" ]
1
2021-12-12T04:39:53.000Z
2021-12-12T04:39:53.000Z
regex/ex05.py
stormabq/python-examples
1c1acfc3863a2cf1a9e202c9299f3a526858eb34
[ "MIT" ]
null
null
null
regex/ex05.py
stormabq/python-examples
1c1acfc3863a2cf1a9e202c9299f3a526858eb34
[ "MIT" ]
6
2020-05-05T17:21:28.000Z
2021-12-12T04:39:57.000Z
## See the html directory in this repo import re def get_name_and_number(input): m = re.match(r"(?P<x0>Organism) (?P<x1>.*) (?P<x2>has) (?P<x3>\d+)", input) if m == None: return None r1 = m.group("x1") r2 = m.group("x3") mytuple = (r1, r2) return mytuple testary = [ "Organism En...
56.054054
121
0.761813
268
2,074
5.869403
0.421642
0.12206
0.193261
0.305149
0.362365
0
0
0
0
0
0
0.11678
0.14947
2,074
36
122
57.611111
0.774943
0.016876
0
0
0
0.068966
0.806483
0.258841
0
0
0
0
0
1
0.034483
false
0
0.034483
0
0.137931
0.034483
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1e1b73599dd7ea98dc2b2062486c37f98c1e9a64
15,070
py
Python
gym_electric_motor/physical_systems/physical_systems.py
zizai/gym-electric-motor
48a0232edf3474e441453126df0f52dc391aed11
[ "MIT" ]
null
null
null
gym_electric_motor/physical_systems/physical_systems.py
zizai/gym-electric-motor
48a0232edf3474e441453126df0f52dc391aed11
[ "MIT" ]
null
null
null
gym_electric_motor/physical_systems/physical_systems.py
zizai/gym-electric-motor
48a0232edf3474e441453126df0f52dc391aed11
[ "MIT" ]
null
null
null
import numpy as np from gym.spaces import Box from ..core import PhysicalSystem from ..physical_systems import electric_motors as em, mechanical_loads as ml, converters as cv, \ voltage_supplies as vs, noise_generators as ng, solvers as sv from ..utils import instantiate, set_state_array class SCMLSyste...
40.951087
121
0.633842
1,845
15,070
4.853659
0.125203
0.032161
0.050921
0.0134
0.395757
0.33646
0.282747
0.238638
0.21876
0.21876
0
0.003581
0.277372
15,070
367
122
41.06267
0.818733
0.172661
0
0.297872
0
0
0.010695
0
0
0
0
0
0
1
0.123404
false
0
0.021277
0.021277
0.26383
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
1e1b9273cb258f7a0e738756926574a3a67347f3
648
py
Python
DataObjects/ClassMultiDict.py
icsa-caps/HieraGen
4026c1718878d2ef69dd13d3e6e10cab69174fda
[ "MIT" ]
6
2020-07-07T15:45:13.000Z
2021-08-29T06:44:29.000Z
DataObjects/ClassMultiDict.py
icsa-caps/HieraGen
4026c1718878d2ef69dd13d3e6e10cab69174fda
[ "MIT" ]
null
null
null
DataObjects/ClassMultiDict.py
icsa-caps/HieraGen
4026c1718878d2ef69dd13d3e6e10cab69174fda
[ "MIT" ]
null
null
null
class MultiDict(dict): def __setitem__(self, key, value): if key in self: if isinstance(self[key], list): val = self[key] if isinstance(value, list): val = val + value else: val.append(value) else...
29.454545
45
0.407407
59
648
4.338983
0.271186
0.136719
0.140625
0.246094
0.453125
0.257813
0.257813
0
0
0
0
0
0.496914
648
21
46
30.857143
0.785276
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0.05
false
0
0
0
0.1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1e1dafb5a95a9a832f3c83dbbe21c7e9367c6af2
1,538
py
Python
apps/live_discussion_sentiment.py
VaishnaviVV/Covid19_sentiment_analysis
6b6d0f76566bee1522eb69e407dc59d450e033b7
[ "MIT" ]
2
2021-04-13T06:12:59.000Z
2021-07-21T14:04:45.000Z
apps/live_discussion_sentiment.py
VaishnaviVV/Covid19_sentiment_analysis
6b6d0f76566bee1522eb69e407dc59d450e033b7
[ "MIT" ]
null
null
null
apps/live_discussion_sentiment.py
VaishnaviVV/Covid19_sentiment_analysis
6b6d0f76566bee1522eb69e407dc59d450e033b7
[ "MIT" ]
1
2021-06-19T09:06:38.000Z
2021-06-19T09:06:38.000Z
#Essential Modules import pandas as pd import numpy as np import matplotlib.pyplot as plt #Dashboard Modules import dash import dash_table import dash_bootstrap_components as dbc import dash_core_components as dcc import dash_html_components as html import plotly.graph_objects as go from dash.dependencies import Inpu...
26.982456
82
0.702861
202
1,538
5.178218
0.490099
0.057361
0.028681
0.040153
0
0
0
0
0
0
0
0.013083
0.204811
1,538
56
83
27.464286
0.842191
0.104031
0
0.044444
0
0
0.112327
0
0
0
0
0
0
1
0.044444
false
0
0.511111
0.022222
0.6
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
1
0
0
2
1e1de33c28ddf64ae7dbf8f82938a19f029d7af5
1,768
py
Python
Lib/fontbakery/profiles/dsig.py
yellowsquid/fontbakery
3228e20d108726fc35bd0e09211e7ffe38559029
[ "Apache-2.0" ]
null
null
null
Lib/fontbakery/profiles/dsig.py
yellowsquid/fontbakery
3228e20d108726fc35bd0e09211e7ffe38559029
[ "Apache-2.0" ]
null
null
null
Lib/fontbakery/profiles/dsig.py
yellowsquid/fontbakery
3228e20d108726fc35bd0e09211e7ffe38559029
[ "Apache-2.0" ]
null
null
null
from fontbakery.callable import check from fontbakery.status import WARN, PASS from fontbakery.message import Message # used to inform get_module_profile whether and how to create a profile from fontbakery.fonts_profile import profile_factory # NOQA pylint: disable=unused-import @check( id = 'com.google.fonts/chec...
52
286
0.677036
243
1,768
4.893004
0.518519
0.037847
0.035324
0.063078
0.107653
0.068966
0
0
0
0
0
0.028986
0.258484
1,768
33
287
53.575758
0.877956
0.078054
0
0
0
0.074074
0.653112
0.016636
0
0
0
0
0
1
0.037037
false
0.074074
0.148148
0
0.185185
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
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
1e1f1f99e22282cac2d668c68acaa5cc5f58efad
961
py
Python
start_trouper.py
meltaxa/troupe
fbec6cec09ced6c29695a0741420cb61893134d3
[ "MIT" ]
28
2020-10-03T02:20:13.000Z
2021-11-12T11:26:23.000Z
start_trouper.py
meltaxa/troupe
fbec6cec09ced6c29695a0741420cb61893134d3
[ "MIT" ]
null
null
null
start_trouper.py
meltaxa/troupe
fbec6cec09ced6c29695a0741420cb61893134d3
[ "MIT" ]
7
2020-10-03T09:11:43.000Z
2021-01-29T06:45:46.000Z
#!/usr/bin/env python3 from slackbot.bot import Bot import logging import socket import uuid import os # If you are running multiple homeops bots on the same server enable # unique device names. unique_device_names = False if unique_device_names: os.environ['DEVICE_NAME'] = '{}-{}'.format(socket.gethostname(), ...
25.289474
75
0.651405
123
961
4.902439
0.504065
0.149254
0.084577
0.079602
0
0
0
0
0
0
0
0.002618
0.204995
961
37
76
25.972973
0.786649
0.190427
0
0
0
0
0.173127
0
0
0
0
0
0
1
0.041667
false
0
0.208333
0
0.25
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
1e1f6283140215b06df34b5565f0d75e854b79a7
943
py
Python
Aula01/Exercicio03.py
gabriel-correia0408/Sala_Green_GabrielCorreia
1d22f466d372786c5f8c8eaba7202844b5f03445
[ "Apache-2.0" ]
null
null
null
Aula01/Exercicio03.py
gabriel-correia0408/Sala_Green_GabrielCorreia
1d22f466d372786c5f8c8eaba7202844b5f03445
[ "Apache-2.0" ]
null
null
null
Aula01/Exercicio03.py
gabriel-correia0408/Sala_Green_GabrielCorreia
1d22f466d372786c5f8c8eaba7202844b5f03445
[ "Apache-2.0" ]
null
null
null
# Classe Circulo: Crie uma classe que modele uma bola: # # Atributos: Cor, raio, material # Métodos: trocaCor, mostraCor, area (math.pi*raio**2) # para acessar o pi: # import math # math.pi # Classe Quadrado: Crie uma classe que modele um quadrado: # # Atributos: Tamanho do lado # Métodos: Mudar valor do Lado, Retorna...
23.575
82
0.693531
134
943
4.828358
0.447761
0.032458
0.060278
0.074189
0.108192
0.074189
0
0
0
0
0
0.001364
0.222694
943
39
83
24.179487
0.88131
0.679745
0
0.272727
0
0
0
0
0
0
0
0.025641
0
1
0.363636
false
0.272727
0
0
0.454545
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
1
0
1
0
0
0
0
0
3
1e1fceddc66231ee1517373a6448d3a3f572702e
713
py
Python
test/jit/test_ivalue.py
YifanShenSZ/pytorch
b4232f7cbe407909f9d95b91304c73fdc4c66a50
[ "Intel" ]
null
null
null
test/jit/test_ivalue.py
YifanShenSZ/pytorch
b4232f7cbe407909f9d95b91304c73fdc4c66a50
[ "Intel" ]
null
null
null
test/jit/test_ivalue.py
YifanShenSZ/pytorch
b4232f7cbe407909f9d95b91304c73fdc4c66a50
[ "Intel" ]
null
null
null
# Owner(s): ["oncall: jit"] import os import sys import torch # Make the helper files in test/ importable pytorch_test_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) sys.path.append(pytorch_test_dir) from torch.testing._internal.jit_utils import JitTestCase if __name__ == "__main__": raise R...
25.464286
79
0.680224
101
713
4.594059
0.60396
0.038793
0.060345
0.064655
0.068966
0
0
0
0
0
0
0.003521
0.203366
713
27
80
26.407407
0.81338
0.137447
0
0
0
0
0.180033
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0.055556
0.444444
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
1e2079ace258f371ce2dd6d8234af7c77fb15387
3,457
py
Python
12/common.py
KorotkiyEugene/dsp_sdr_basic
2aa4b22427b638f09c85948ccf442faba573a29f
[ "MIT" ]
7
2021-05-16T22:34:15.000Z
2022-02-19T17:19:32.000Z
12/common.py
KorotkiyEugene/dsp_sdr_basic
78a77736d0c33951d782f6889884633e4a42c5bd
[ "MIT" ]
null
null
null
12/common.py
KorotkiyEugene/dsp_sdr_basic
78a77736d0c33951d782f6889884633e4a42c5bd
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import math from scipy.io.wavfile import read as read_wav from scipy.io.wavfile import write as write_wav from scipy.fftpack import fft, fftshift from scipy.signal import lfilter, firwin def filt(sig, Fc=0.5, NFIR=101): fir_taps = firwin(NFIR, Fc, window=('blackma...
30.06087
73
0.633497
552
3,457
3.766304
0.240942
0.034632
0.01924
0.027417
0.295334
0.190957
0.190957
0.172679
0.172679
0.113035
0
0.034642
0.248481
3,457
115
74
30.06087
0.765589
0.033844
0
0.155556
0
0
0.014984
0
0
0
0
0
0
1
0.1
false
0
0.077778
0
0.266667
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
1e2129baa188476cce9f545b130b193ede0c9647
6,829
py
Python
src/callback.py
modichirag/VI_reconstruction
64def5226a5723877a60943c29f592319bbe8e95
[ "MIT" ]
null
null
null
src/callback.py
modichirag/VI_reconstruction
64def5226a5723877a60943c29f592319bbe8e95
[ "MIT" ]
null
null
null
src/callback.py
modichirag/VI_reconstruction
64def5226a5723877a60943c29f592319bbe8e95
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import sys, os sys.path.append('../../galference/utils/') import tools import diagnostics as dg def callback(model, ic, bs, losses=None): fig, ax = plt.subplots(1, 6, figsize=(15, 3)) im = ax[0].imshow(ic[0].sum(axis=0)) plt.colorbar(im, ax=ax[0]) ...
29.059574
100
0.542832
1,177
6,829
3.11215
0.117247
0.029484
0.026208
0.029484
0.681955
0.636637
0.633361
0.622441
0.618619
0.610975
0
0.066023
0.24147
6,829
234
101
29.183761
0.64112
0.017426
0
0.630435
0
0
0.035389
0.003434
0
0
0
0
0
1
0.021739
false
0
0.027174
0
0.070652
0.005435
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1e233744186d29b648450453c95858ec334e1c71
3,769
py
Python
automix/config.py
MZehren/Automix
dfaa00a9e7c5c0938c0a9d275c07f3a3e5f87e43
[ "MIT" ]
18
2020-07-20T01:51:40.000Z
2022-02-25T07:32:11.000Z
automix/config.py
MZehren/Automix
dfaa00a9e7c5c0938c0a9d275c07f3a3e5f87e43
[ "MIT" ]
2
2021-03-23T03:26:02.000Z
2021-07-19T12:51:25.000Z
automix/config.py
MZehren/Automix
dfaa00a9e7c5c0938c0a9d275c07f3a3e5f87e43
[ "MIT" ]
5
2021-01-03T15:34:28.000Z
2022-02-22T06:07:06.000Z
""" TODO: Move the functions to the correct location """ import logging as log import os DATASET_LOCATION = "/home/mickael/Documents/programming/dj-tracks-switch-points/" CACHE_LOCATION = "../annotations/" CACHE_LEVEL = 0 LOG_LEVEL = log.DEBUG log.getLogger().setLevel(LOG_LEVEL) def k_fold_split(X, Y, k=10, shuffle...
33.353982
124
0.633059
495
3,769
4.763636
0.331313
0.017812
0.022053
0.025445
0.194656
0.148431
0.148431
0.122986
0.067006
0.034775
0
0.008219
0.225259
3,769
112
125
33.651786
0.799315
0.215972
0
0.0625
0
0
0.083129
0.021045
0
0
0
0.008929
0.015625
1
0.109375
false
0
0.046875
0
0.328125
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
1e24d32a4b962928ad46fd58d2e17a25d1a7ba33
255
py
Python
old_fashioned_nlp/tagging/__init__.py
ChenghaoMou/old-fashioned-nlp
a88d510273d6f729274e0eab9242b6eb4e08c2a9
[ "MIT" ]
1
2020-10-27T21:16:54.000Z
2020-10-27T21:16:54.000Z
old_fashioned_nlp/tagging/__init__.py
sleeplessindebugging/old-fashioned-nlp
a88d510273d6f729274e0eab9242b6eb4e08c2a9
[ "MIT" ]
null
null
null
old_fashioned_nlp/tagging/__init__.py
sleeplessindebugging/old-fashioned-nlp
a88d510273d6f729274e0eab9242b6eb4e08c2a9
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Update : 2020-09-05 09:46:01 # @Author : Chenghao Mou (mouchenghao@gmail.com) """Sequence taggers.""" from old_fashioned_nlp.tagging.token import CharTfidfTagger __all__ = ['CharTfidfTagger']
25.5
59
0.67451
32
255
5.1875
0.9375
0
0
0
0
0
0
0
0
0
0
0.070093
0.160784
255
10
60
25.5
0.705607
0.584314
0
0
0
0
0.153061
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1e25a796cccb23405dd95548e2edaa9a7d0b72fc
2,342
py
Python
saleor/graphql/rider/mutations.py
WarHawk007/erocerytest
0f481e08012eaf2f9c987fc33d641deb8e335ba0
[ "CC-BY-4.0" ]
null
null
null
saleor/graphql/rider/mutations.py
WarHawk007/erocerytest
0f481e08012eaf2f9c987fc33d641deb8e335ba0
[ "CC-BY-4.0" ]
10
2021-02-02T22:55:05.000Z
2022-02-10T23:01:13.000Z
saleor/graphql/rider/mutations.py
WarHawk007/erocerytest
0f481e08012eaf2f9c987fc33d641deb8e335ba0
[ "CC-BY-4.0" ]
null
null
null
import graphene from django.conf import settings from django.core.exceptions import ValidationError from ...rider import models as rider_models from ...subshop import models as subshop_models from ...account import models as account_models from ..account.validation import isPhoneNumber, isCnic from ..core.mutations im...
40.37931
130
0.687874
278
2,342
5.708633
0.320144
0.05293
0.094518
0.075614
0.064272
0
0
0
0
0
0
0.002151
0.205807
2,342
57
131
41.087719
0.851075
0
0
0
0
0
0.106746
0
0
0
0
0
0
1
0.02
false
0.04
0.24
0
0.48
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
1e2739d879c1c382a8deb97538a12818514a90c7
953
py
Python
car_composite/utils.py
kerry-t-johnson/car-composite
ba39bed0883517a3884a1e68c8ab6522119eab4f
[ "Apache-2.0" ]
null
null
null
car_composite/utils.py
kerry-t-johnson/car-composite
ba39bed0883517a3884a1e68c8ab6522119eab4f
[ "Apache-2.0" ]
null
null
null
car_composite/utils.py
kerry-t-johnson/car-composite
ba39bed0883517a3884a1e68c8ab6522119eab4f
[ "Apache-2.0" ]
null
null
null
''' Copyright 2021 Kerry Johnson 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 ...
36.653846
75
0.698846
150
953
4.386667
0.593333
0.06383
0.039514
0.048632
0.039514
0
0
0
0
0
0
0.01745
0.218258
953
26
76
36.653846
0.865772
0.613851
0
0
0
0
0.054381
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
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
1e27c0a9bf1d7f0cef71bafda66175150392e15d
166
py
Python
areas.py
cout/sm_terminal_tracker
e39567dd087aaca50c4d0aaf08fb63c623f4734e
[ "MIT" ]
1
2021-08-16T17:47:00.000Z
2021-08-16T17:47:00.000Z
areas.py
cout/sm_terminal_tracker
e39567dd087aaca50c4d0aaf08fb63c623f4734e
[ "MIT" ]
null
null
null
areas.py
cout/sm_terminal_tracker
e39567dd087aaca50c4d0aaf08fb63c623f4734e
[ "MIT" ]
null
null
null
Areas = { 0x00: 'Crateria', 0x01: 'Brinstar', 0x02: 'Norfair', 0x03: 'WreckedShip', 0x04: 'Maridia', 0x05: 'Tourian', 0x06: 'Ceres', 0x07: 'Debug', }
15.090909
22
0.572289
17
166
5.588235
1
0
0
0
0
0
0
0
0
0
0
0.184615
0.216867
166
10
23
16.6
0.546154
0
0
0
0
0
0.349398
0
0
0
0.192771
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
1
1e27f18ab5ef993c02caa01656b29f1ecbe96024
11,458
py
Python
yegsecbot.py
jershmagersh/yegsecbot
147c1ad4e0bbf7688f55ee0075b9c03fddf4223c
[ "Apache-2.0" ]
1
2019-02-20T23:24:02.000Z
2019-02-20T23:24:02.000Z
yegsecbot.py
jershmagersh/yegsecbot
147c1ad4e0bbf7688f55ee0075b9c03fddf4223c
[ "Apache-2.0" ]
null
null
null
yegsecbot.py
jershmagersh/yegsecbot
147c1ad4e0bbf7688f55ee0075b9c03fddf4223c
[ "Apache-2.0" ]
3
2019-02-20T01:43:10.000Z
2019-06-19T00:08:29.000Z
#!/usr/bin/python """ I wrote this in a couple afternoons while watching Netflix, so it can probably be better. -jmag """ from slackclient import SlackClient import sys, json, sqlite3, time, re, datetime MENTION_REGEX = "^<@(|[WU][A-Z0-9]+?)>(.*)" class ConfigException(Exception): pass class Connection...
42.913858
239
0.56598
1,399
11,458
4.514653
0.197284
0.036415
0.032299
0.032774
0.399145
0.332964
0.282932
0.224034
0.183977
0.180177
0
0.007467
0.322046
11,458
266
240
43.075188
0.805613
0.118258
0
0.328125
0
0.052083
0.194705
0.02057
0
0
0
0
0
1
0.083333
false
0.010417
0.010417
0.010417
0.182292
0.010417
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
1e29069e2cd68e343ce7e90b98d21551b24dc656
5,072
py
Python
workon/contrib/tracker/utils.py
devittek/django-workon
c39ddecac2649406a7a58922646478c5615d4cfd
[ "BSD-3-Clause" ]
1
2018-01-19T16:08:54.000Z
2018-01-19T16:08:54.000Z
workon/contrib/tracker/utils.py
devittek/django-workon
c39ddecac2649406a7a58922646478c5615d4cfd
[ "BSD-3-Clause" ]
1
2020-07-06T08:35:18.000Z
2020-07-06T08:35:18.000Z
workon/contrib/tracker/utils.py
devittek/django-workon
c39ddecac2649406a7a58922646478c5615d4cfd
[ "BSD-3-Clause" ]
4
2020-04-08T06:14:46.000Z
2020-12-11T14:28:06.000Z
from django.conf import settings __all__ = ['track'] if 'workon.contrib.tracker' not in settings.INSTALLED_APPS: def track(*args, **kwargs): raise Exception('workon.contrib.tracker missing from settings.INSTALLED_APPS') else: import time import datetime from operator import itemgetter ...
38.424242
124
0.522082
490
5,072
5.142857
0.244898
0.039683
0.040476
0.020238
0.159524
0.088889
0.088889
0.088889
0.088889
0.050794
0
0.002917
0.391759
5,072
132
125
38.424242
0.813938
0.102918
0
0.179775
0
0
0.070789
0.019937
0
0
0
0
0
1
0.123596
false
0
0.101124
0.011236
0.303371
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