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
65145be90779dd8ad76b649552d50d74620a870e
276
py
Python
continuum/scenarios/data_incremental.py
yantonov/continuum
682c579c3ea7e2c4961c322a00c33377298208d6
[ "MIT" ]
null
null
null
continuum/scenarios/data_incremental.py
yantonov/continuum
682c579c3ea7e2c4961c322a00c33377298208d6
[ "MIT" ]
null
null
null
continuum/scenarios/data_incremental.py
yantonov/continuum
682c579c3ea7e2c4961c322a00c33377298208d6
[ "MIT" ]
null
null
null
from continuum.scenarios import _BaseCLLoader class DataIncremental(_BaseCLLoader): """[Not Implemented Yet] Continual Loader, generating datasets for the consecutive tasks. Scenario: Classes and instances changes and may reappear (NIC scenario) """ # TODO
27.6
93
0.757246
30
276
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.177536
276
9
94
30.666667
0.911894
0.597826
0
0
0
0
0
0
0
0
0
0.111111
0
1
0
true
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
1
0
0
0
0
4
652862fb4a43ac2630ad5ac83cc22a279339b870
219
py
Python
src/mp_api/routes/fermi.py
rkingsbury/api
14d82c44fe911de19555f6f434d9dfb37bbc0c6f
[ "BSD-3-Clause-LBNL" ]
null
null
null
src/mp_api/routes/fermi.py
rkingsbury/api
14d82c44fe911de19555f6f434d9dfb37bbc0c6f
[ "BSD-3-Clause-LBNL" ]
null
null
null
src/mp_api/routes/fermi.py
rkingsbury/api
14d82c44fe911de19555f6f434d9dfb37bbc0c6f
[ "BSD-3-Clause-LBNL" ]
null
null
null
from emmet.core.fermi import FermiDoc from mp_api.core.client import BaseRester class FermiRester(BaseRester[FermiDoc]): suffix = "fermi" document_model = FermiDoc # type: ignore primary_key = "task_id"
21.9
45
0.744292
28
219
5.678571
0.75
0
0
0
0
0
0
0
0
0
0
0
0.173516
219
9
46
24.333333
0.878453
0.054795
0
0
0
0
0.058537
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
e8ee87eaa6087cbe3a588dc95b6b2a42acbfb27a
94
py
Python
openff/evaluator/datasets/taproom/__init__.py
jaketanderson/openff-evaluator
68541612fb0dacacc909d02f273c66ae830051d5
[ "MIT" ]
14
2019-02-01T18:56:58.000Z
2019-12-10T18:01:38.000Z
openff/evaluator/datasets/taproom/__init__.py
jaketanderson/openff-evaluator
68541612fb0dacacc909d02f273c66ae830051d5
[ "MIT" ]
168
2019-01-31T19:54:11.000Z
2020-02-05T21:47:00.000Z
openff/evaluator/datasets/taproom/__init__.py
jaketanderson/openff-evaluator
68541612fb0dacacc909d02f273c66ae830051d5
[ "MIT" ]
4
2019-05-01T17:45:24.000Z
2019-11-11T19:34:28.000Z
from .taproom import TaproomDataSet, TaproomSource __all__ = [TaproomDataSet, TaproomSource]
23.5
50
0.829787
8
94
9.25
0.75
0.72973
0
0
0
0
0
0
0
0
0
0
0.106383
94
3
51
31.333333
0.880952
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
330b8bb9ad2f46a4eebc2040f63d782f365eb336
177
py
Python
CursoemVideo/Desafio095.py
davihonorato/Curso-python
47e6b4b2f5b37ef520b8b31d37dba0b5d259a0b0
[ "MIT" ]
null
null
null
CursoemVideo/Desafio095.py
davihonorato/Curso-python
47e6b4b2f5b37ef520b8b31d37dba0b5d259a0b0
[ "MIT" ]
null
null
null
CursoemVideo/Desafio095.py
davihonorato/Curso-python
47e6b4b2f5b37ef520b8b31d37dba0b5d259a0b0
[ "MIT" ]
null
null
null
# Exercício Python 095: Aprimore o desafio 93 para que ele funcione com vários jogadores, incluindo um sistema de # visualização de detalhes do aproveitamento de cada jogador.
44.25
113
0.80791
26
177
5.5
0.923077
0
0
0
0
0
0
0
0
0
0
0.033784
0.163842
177
3
114
59
0.932432
0.966102
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
330ea4e848f462fdd7ea729dee1a5495ee781000
419
py
Python
Lib/site-packages/zmq/auth/__init__.py
edupyter/EDUPYTER38
396183cea72987506f1ef647c0272a2577c56218
[ "bzip2-1.0.6" ]
null
null
null
Lib/site-packages/zmq/auth/__init__.py
edupyter/EDUPYTER38
396183cea72987506f1ef647c0272a2577c56218
[ "bzip2-1.0.6" ]
null
null
null
Lib/site-packages/zmq/auth/__init__.py
edupyter/EDUPYTER38
396183cea72987506f1ef647c0272a2577c56218
[ "bzip2-1.0.6" ]
null
null
null
"""Utilities for ZAP authentication. To run authentication in a background thread, see :mod:`zmq.auth.thread`. For integration with the tornado eventloop, see :mod:`zmq.auth.ioloop`. For integration with the asyncio event loop, see :mod:`zmq.auth.asyncio`. Authentication examples are provided in the pyzmq codebase, under `/examples/security/`. .. versionadded:: 14.1 """ from .base import * from .certs import *
27.933333
73
0.75179
59
419
5.338983
0.627119
0.057143
0.085714
0.12381
0
0
0
0
0
0
0
0.008287
0.136038
419
14
74
29.928571
0.861878
0.880668
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
332ea52a1f64c3ba1c6c2373978e8e9f0f8cc1d4
3,400
py
Python
src/puzzle/examples/gph/retinal_variants.py
PhilHarnish/forge
663f19d759b94d84935c14915922070635a4af65
[ "MIT" ]
2
2020-08-18T18:43:09.000Z
2020-08-18T20:05:59.000Z
src/puzzle/examples/gph/retinal_variants.py
PhilHarnish/forge
663f19d759b94d84935c14915922070635a4af65
[ "MIT" ]
null
null
null
src/puzzle/examples/gph/retinal_variants.py
PhilHarnish/forge
663f19d759b94d84935c14915922070635a4af65
[ "MIT" ]
null
null
null
import collections # 0 Emboar, 1 Oricorio, 2 Infernape, 3 Gogoat, 4 Illumise, 4 Toxicroak, # 5 Litten, 6 Servine, 6 Starly, 7 Togedemaru, 8 Totodile, 8 Xatu, # 9 Arcanine, 9 Drillbur, 9 Nidoran, 9 Noivern, 9 Relicanth data = """ IRGVLLRLLLLASSLGPGAAPLRSALRKQGKVGPPLDIMLDALNCSAFSIQWKMPRHPPSPIMGYTVFYSEVGVDKSLQERSYGVPPSLNTPTSGRLDHQMIFEEVIGDLKPGTEYRVNMAAYSQTGKGRLSSPQHVTTLPQAKTTANSSLLS NCTAFSIQWKMPRHPGSTILGYTVFYSEVGADKSLQEQSHSVPLSRDIPTTEEVIGDLKPGTEYRVSIAAYSQTGKGRLSSPRHVTTLSEDSCLPPAAPQQPHVIVVSDSEVALSWKPGASEGSAPIQYYSVEFIRPDFDKRWTLIHERIQM DLTPTFLLRFLLLACSLPLNAVSLRTALRKSGKLGPPLEIKLGALNCTAFNVQWKTPKHSGSPITGYTVFFSEVGSDKSLQERSHNVPVGQDTLITEEVIGDLKPGTEYRVSIAAYSQTGKGRLSFPRHVTTLSQDSCLPPEAPHQPH EVILGDLKAGTLHRVSVGAYSWAGKGRPSMPRDVSTLPQESCMAPGAPAQPQAVVVSDTEVAVSWQQNTSAGSPPVQYYAMEYIRPELDGIWIPIRDQIQINSMVLKGLTPNTKYQFAVKAVNSFGESPLSRASEIIRTFGTEELGS XSPIQYYSVEFIRPDFDKSWTLIQERIQMDSMVIKGLDPDTNYQFAVRAMNPHGPSPRSQPSDTIRTFRPEEAGSGRYGPRYTTDMGVSEDDDGFEDDLDLDISFEEVKPLPAIKGGHKKFWGESKMAPRSNPKTASRLVPP NSPLPPKEGMSPSSTHSWYPAAALEDRDRLGPPLDILLDSLNCTAFSVQWRMPKQHASTITGYTVFYSEIENDKAVKQLSHDVPLSLDMLNMEVVIGDLKPGTPHRVSIGAHGWAGKGQPSMPRDVTTLSQDKCMPPAPPYQP AVLSICSVSAGQSRGKIVAFFQTSCATAAPNPCEQVCTDIRSGGFYCECNDGYTINA DGMTCTGPAKPNKPGDKAVSDNDIVQVKSVDLTKGLPPLQSSAHTMWLKSDSSLVLDRNTYKGGSSIYNI PEGGSSKLDSYMDYDIKEGGDYIED MGNMYPFILEESIAPRLLSTWASPAVPDGVPVLPVISPSPTAVEWKTAASFWANMFSSRVINLVLLPAPKFISFLEGHTEKVSLPPANIFAQPMQTFENPRCNVIQRTECPRSVSSSVEVKSHLHAAKDCKVGPPLDIKLGALN ELRVYRFFVILAHLAIVLVLAQNPIEEKTTFEAAFQGRCGHGSPCEQLCYELHDGMYECDCKDGYILHKNGYSCAELNSTSPSTGELGELVEDVENDELNKDTDDDEDAVEDILYMRGASFTIHLDPPPENSTTNSSKIIEETSPSVDR SSLGPGAASLEAALGKPGKMGPPLDITLDAVNCTAFSIRWKMPRHLESPISGFTVFYSEVSGVNSLQERSHSVRLSQDPPATGQSHHQVILEEVIGDLKPGTEYQVSIVAYSGMGKGQLSLPQHVTTLPQGSCLPPTAPQQPHVT BMRCPELADSSLPRRERMFPFAASFREGRDRLGPPLDILLDSLNCTAFSVQWRMPKQHASTVTGYTVFYSEVEDDKAVKQLSHDIPLSLDMLSMGQTEGQAIFEVVIGDLKPGTLHRVSVGAYGWAGKGRPSMPRDVTTLSQDKCM YYTVEFIRPDFDTKWTAIREQIQMDSMILKGLTPNDKYRFAIRATNSYGSSLPSIASDIIRMFHPEELGSGSYGPPYMTESGNGDDDDGIDIDDSDSDIYIDELKPLPAIKGGNTNFLVETNIIQGSNAELLSGLLSPTT LALVLLLASCIGCAATPRRNIPRRQDRLGPPLDILLDSLNCTAFSVQWKMPKQHASTITGYTVFYSEVEGDKAVKQLSHDVPLSLDMISMGQLEGQAIFDVVIGDLKPGTPHRVSVGAYSWAGKGRPSMPREVTTLSQDKC AFSVRWRMPRRHTNTVTGYTVLYSEIRGNKPVEQLSHEVPLSLDMLSMGRLDGNAIIEVVIGDLNPGVQYRVSVKAYGWAGEGRPSIPRDVTTVSKDHCMPPHPPSQPQVLAVSDSEVALSWKKGTSEGSSPIQHYIVEYIRPELDANWAVIKDQIQ SVQWRMPRQHASTITGYTVFYSEVETDKPIKQFSHDVPLNLEMLSMGQLDGQAIFEVVIGNLKPGTPHRVSVGAYGWAGKGRPSMPRNITTLSQDKCMPPEPPCQPQVIVVSDSEVALSWKPGISEGSSPIQYYTVEFIRSDLDSNWTVIKEQIQ TEYRVSVAAYSQTGKGRLSSPRHVTTLPQDSCLPPSAPQQPHVTVVSDSEVALSWKPGKSEGSSPIQYYSVEFIRPDFDKSWTLIQERIQMDSMVIKGLDPDTNYQFAVRAMNPHGPSPRSRPSDTIRTFRPEEAGSGRYGPRYTTDMGV DLIPGVLLQLLLLVSSLGPGVVPLRAALRKPGKVGPPLDIILDALNCTAFSIQWKMPRHAGSSIMGYTVFYSEVGEEKALQEWSHTVPLSLDAPTTGRLDHQVIFEEVIGNLKPGTEYRVSVAAYSQMGKGRLSSPQHVTTLPQDSCLPPA IQERIQMDSMVIKGLDPDTNYQFAVRAMNPHGPSPRSRPSDTIQTPRLEEAGSGRYGPHYVTDTGAGEDDDGFEDDLDLDISFEEVKPLPVIKKGNKKFLMESKIVPRSKPKTMSRLVPSTPASLPMTTVAPQPTPLQRRGKNGMAVMPRLFDMPC """ lines = data.split('\n')[1:] MAX_LEN = 60 ngrams = [collections.defaultdict(int) for _ in range(1, MAX_LEN + 1)] for l in range(5, MAX_LEN): for line in lines: for c in range(0, len(line) - l): word = line[c:c + l] ngrams[l][word] += 1 visited = '' for l, words in reversed([(a, b) for a, b in (enumerate(ngrams))]): print(l) for word, freq in words.items(): if freq > 1 and word not in visited: print(freq, word) visited += word
70.833333
157
0.916471
139
3,400
22.388489
0.561151
0.005784
0.004499
0
0
0
0
0
0
0
0
0.008082
0.053824
3,400
47
158
72.340426
0.959279
0.056471
0
0
0
0
0.841448
0.833645
0
1
0
0
0
1
0
false
0
0.026316
0
0.026316
0.052632
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
6853b8416d84bbc3ad455c1719dfb91055cf4468
58
py
Python
Chapter 07/ch7_1i.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 07/ch7_1i.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 07/ch7_1i.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
def break(): print("Simple is better than complex! ")
29
44
0.655172
8
58
4.75
1
0
0
0
0
0
0
0
0
0
0
0
0.206897
58
2
44
29
0.826087
0
0
0
0
0
0.534483
0
0
0
0
0
0
0
null
null
0
0
null
null
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
4
685fa563508c5de67ff311e4e7a270ca2af0b226
357
py
Python
finetuned_interpolation.py
vineeths96/Video-Interpolation-using-Deep-Optical-Flow
5dd536bcc2d6c0d0d1718dccb09eb71ca77d2d94
[ "MIT" ]
5
2021-04-17T15:26:29.000Z
2021-10-11T13:17:56.000Z
finetuned_interpolation.py
vineeths96/Video-Interpolation-using-Deep-Optical-Flow
5dd536bcc2d6c0d0d1718dccb09eb71ca77d2d94
[ "MIT" ]
null
null
null
finetuned_interpolation.py
vineeths96/Video-Interpolation-using-Deep-Optical-Flow
5dd536bcc2d6c0d0d1718dccb09eb71ca77d2d94
[ "MIT" ]
2
2021-11-28T06:40:23.000Z
2022-01-17T12:20:21.000Z
from finetuned.corridor import corridor_interpolation from finetuned.sphere import sphere_interpolation # Corridor dataset interpolation corridor_interpolation(model_path="./flownet2/pretrained_models/FlowNet2_checkpoint.pth.tar") # Sphere dataset interpolation sphere_interpolation(model_path="./flownet2/pretrained_models/FlowNet2_checkpoint.pth.tar")
35.7
93
0.868347
40
357
7.5
0.375
0.086667
0.146667
0.2
0.466667
0.466667
0.466667
0.466667
0.466667
0.466667
0
0.011905
0.058824
357
9
94
39.666667
0.880952
0.165266
0
0
0
0
0.379661
0.379661
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
6892f364d8b9e52cf739d01bd2b55191ad1240af
4,256
py
Python
tests/adapter/test_tiered.py
alexander255/py-datastore
90b4b587140c59f7b0157602ad39299a6ff82c26
[ "MIT" ]
6
2020-04-20T11:00:50.000Z
2021-04-22T21:23:09.000Z
tests/adapter/test_tiered.py
ipfs/py-datastore
b80933d52ca60c52ba2210db74300899d604d7ef
[ "MIT" ]
23
2019-09-17T11:35:06.000Z
2020-04-07T16:18:15.000Z
tests/adapter/test_tiered.py
ipfs/py-datastore
b80933d52ca60c52ba2210db74300899d604d7ef
[ "MIT" ]
6
2019-08-04T02:02:25.000Z
2020-03-01T15:43:41.000Z
import logging import typing import pytest import trio.testing import datastore from tests import conftest from tests.adapter.conftest import make_datastore_test_params @pytest.mark.parametrize(*make_datastore_test_params("tiered")) @trio.testing.trio_test async def test_tiered_simple(DatastoreTests, Adapter, DictDatastore, encode_fn): s1 = DictDatastore() s2 = DictDatastore() s3 = DictDatastore() async with Adapter([s1, s2, s3]) as ts: await DatastoreTests([ts]).subtest_simple() @pytest.mark.parametrize(*make_datastore_test_params("tiered")) @trio.testing.trio_test async def test_tiered(DatastoreTests, Adapter, DictDatastore, encode_fn): s1 = DictDatastore() s2 = DictDatastore() s3 = DictDatastore() async with Adapter([s1, s2, s3]) as ts: k1 = datastore.Key('1') k2 = datastore.Key('2') k3 = datastore.Key('3') await s1.put(k1, encode_fn('1')) await s2.put(k2, encode_fn('2')) await s3.put(k3, encode_fn('3')) assert await s1.contains(k1) assert not await s2.contains(k1) assert not await s3.contains(k1) assert await ts.contains(k1) assert await ts.get_all(k1) == encode_fn('1') assert await s1.get_all(k1) == encode_fn('1') assert not await s2.contains(k1) assert not await s3.contains(k1) assert not await s1.contains(k2) assert await s2.contains(k2) assert not await s3.contains(k2) assert await ts.contains(k2) assert await s2.get_all(k2) == encode_fn('2') assert not await s1.contains(k2) assert not await s3.contains(k2) # Read value from TS (where it will be found in T2) and check whether it was # copied into T1 because of this assert await ts.get_all(k2) == encode_fn('2') assert await s1.get_all(k2) == encode_fn('2') assert await s2.get_all(k2) == encode_fn('2') assert not await s3.contains(k2) assert not await s1.contains(k3) assert not await s2.contains(k3) assert await s3.contains(k3) assert await ts.contains(k3) assert await s3.get_all(k3) == encode_fn('3') assert not await s1.contains(k3) assert not await s2.contains(k3) assert await ts.get_all(k3) == encode_fn('3') assert await s1.get_all(k3) == encode_fn('3') assert await s2.get_all(k3) == encode_fn('3') assert await s3.get_all(k3) == encode_fn('3') await ts.delete(k1) await ts.delete(k2) await ts.delete(k3) assert not await ts.contains(k1) assert not await ts.contains(k2) assert not await ts.contains(k3) # Datastores should still be there assert len(ts._stores) == 3 # Datastores should have been cleaned up by aexit assert len(ts._stores) == 0 @pytest.mark.parametrize(*make_datastore_test_params("tiered")) @trio.testing.trio_test async def test_tiered_half_fail(DatastoreTests, Adapter, DictDatastore, encode_fn): s1 = DictDatastore() s2 = DictDatastore() async with Adapter([s1, s2]) as ts: k1 = datastore.Key("/a") k2 = datastore.Key("/b") assert not await s1.contains(k1) assert not await s1.contains(k2) assert not await s2.contains(k1) assert not await s2.contains(k2) # Write value into only one datastore await s1.put(k1, encode_fn("1")) await s2.put(k2, encode_fn("1")) assert await s1.contains(k1) assert not await s1.contains(k2) assert not await s2.contains(k1) assert await s2.contains(k2) # Write non-replacingly to both with conftest.raises(KeyError): await ts.put(k1, encode_fn("2"), replace=False) with conftest.raises(KeyError): await ts.put(k2, encode_fn("2"), replace=False) assert await s1.contains(k1) assert not await s1.contains(k2) assert not await s2.contains(k1) assert await s2.contains(k2) # Ensure red back value didn't change assert await ts.get_all(k1) == encode_fn("1") assert await ts.get_all(k2) == encode_fn("1") assert await s1.contains(k1) assert await s1.contains(k2) assert not await s2.contains(k1) assert await s2.contains(k2) # Write new value to both stores normally await ts.put(k1, encode_fn("2")) await ts.put(k2, encode_fn("2")) assert await s1.contains(k1) assert await s1.contains(k2) assert await s2.contains(k1) assert await s2.contains(k2) # Ensure red back is now changed assert await ts.get_all(k1) == encode_fn("2") assert await ts.get_all(k2) == encode_fn("2")
28.952381
83
0.715695
687
4,256
4.3377
0.151383
0.118121
0.11745
0.057383
0.804027
0.729195
0.721812
0.65604
0.583557
0.498993
0
0.047672
0.162124
4,256
146
84
29.150685
0.787998
0.084352
0
0.509434
0
0
0.012606
0
0
0
0
0
0.556604
1
0
false
0
0.066038
0
0.066038
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
4
6894c5115fedf0c11840da84f8c498104d1ad284
220
py
Python
main/classes/non_decimal_location.py
MHenderson1988/PyLineofsight
169a693320fd39ded4c76fd96b4613de2d0de85c
[ "MIT" ]
4
2021-07-05T09:19:42.000Z
2022-01-22T01:51:02.000Z
main/classes/non_decimal_location.py
MHenderson1988/PyLineofsight
169a693320fd39ded4c76fd96b4613de2d0de85c
[ "MIT" ]
3
2020-06-20T10:47:44.000Z
2022-01-11T19:50:27.000Z
main/classes/non_decimal_location.py
MHenderson1988/PyLineofsight
169a693320fd39ded4c76fd96b4613de2d0de85c
[ "MIT" ]
2
2020-06-20T10:23:36.000Z
2022-01-11T16:14:30.000Z
from abc import ABC, abstractmethod from main.classes.location import Location class NonDecimalLocation(Location, ABC): class Location(ABC): @abstractmethod def to_decimal(self): pass
18.333333
42
0.690909
24
220
6.291667
0.583333
0.225166
0
0
0
0
0
0
0
0
0
0
0.245455
220
11
43
20
0.909639
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.142857
0.285714
0
0.714286
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
4
689a3aa9261d3acf59cdb321944f4ec4ba5a4e7a
79
py
Python
metric/modeling/layers/__init__.py
feymanpriv/pymetric
f7c4f354f87969142263c87e1fb33499b7b2d62a
[ "MIT" ]
62
2020-08-26T11:06:37.000Z
2022-03-29T03:26:00.000Z
metric/modeling/layers/__init__.py
ym547559398/pycls
f7c4f354f87969142263c87e1fb33499b7b2d62a
[ "MIT" ]
2
2021-06-02T10:19:53.000Z
2021-12-06T05:41:23.000Z
metric/modeling/layers/__init__.py
ym547559398/pycls
f7c4f354f87969142263c87e1fb33499b7b2d62a
[ "MIT" ]
11
2020-09-14T12:26:17.000Z
2021-10-04T06:29:35.000Z
from .arcface import Arcface from .circle import Circle from .pooling import *
19.75
28
0.797468
11
79
5.727273
0.454545
0
0
0
0
0
0
0
0
0
0
0
0.151899
79
3
29
26.333333
0.940299
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
689f91c6c23f4d9821c67386d9202b815fdad87c
226
py
Python
apps/db/apps.py
Alma-CFAO/meetup121219
3f9124b7406a3e9300ac8792f7cd126a69c2b761
[ "MIT" ]
3
2019-12-16T20:48:23.000Z
2019-12-28T09:23:08.000Z
apps/db/apps.py
Alma-CFAO/meetup121219
3f9124b7406a3e9300ac8792f7cd126a69c2b761
[ "MIT" ]
2
2020-02-12T09:25:01.000Z
2021-03-30T12:35:19.000Z
apps/db/apps.py
Alma-CFAO/PyApiFirstDemo
3f9124b7406a3e9300ac8792f7cd126a69c2b761
[ "MIT" ]
null
null
null
# coding: utf-8 from django.apps import \ AppConfig # pragma: no cover class DatabaseConfig(AppConfig): # pragma: no cover """Define database django app config.""" name = 'apps.db' app_label = 'database'
18.833333
52
0.659292
28
226
5.285714
0.714286
0.202703
0.22973
0.297297
0
0
0
0
0
0
0
0.005714
0.225664
226
11
53
20.545455
0.84
0.367257
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
false
0
0.2
0
0.8
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
d7aee5116ac5849674adda742998c9c66a39b1b8
454
py
Python
src/euler_python_package/euler_python/medium/p476.py
wilsonify/euler
5214b776175e6d76a7c6d8915d0e062d189d9b79
[ "MIT" ]
null
null
null
src/euler_python_package/euler_python/medium/p476.py
wilsonify/euler
5214b776175e6d76a7c6d8915d0e062d189d9b79
[ "MIT" ]
null
null
null
src/euler_python_package/euler_python/medium/p476.py
wilsonify/euler
5214b776175e6d76a7c6d8915d0e062d189d9b79
[ "MIT" ]
null
null
null
def problem476(): """ Let R(a, b, c) be the maximum area covered by three non-overlapping circles inside a triangle with edge lengths a, b and c. Let S(n) be the average value of R(a, b, c) over all integer triplets (a, b, c) such that 1 ≤ a ≤ b ≤ c < a + b ≤ n You are given S(2) = R(1, 1, 1) ≈ 0.31998, S(5) ≈ 1.25899. Find S(1803) rounded to 5 decimal places behind the decimal point. """ pass
26.705882
80
0.579295
89
454
3.022472
0.606742
0.037175
0.033457
0.02974
0
0
0
0
0
0
0
0.083067
0.310573
454
16
81
28.375
0.757189
0.843612
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
4
d7b5fa3b8062a30499c83ac42a0fe2ad82814813
70
py
Python
jsonfield_schema/__init__.py
makimo/django-jsonfield-schema
c3e866e53faa66546bf772b96815fed49856fdea
[ "MIT" ]
2
2018-09-16T11:37:00.000Z
2018-09-16T14:16:32.000Z
jsonfield_schema/__init__.py
makimo/django-jsonfield-schema
c3e866e53faa66546bf772b96815fed49856fdea
[ "MIT" ]
null
null
null
jsonfield_schema/__init__.py
makimo/django-jsonfield-schema
c3e866e53faa66546bf772b96815fed49856fdea
[ "MIT" ]
2
2020-03-27T23:06:10.000Z
2020-04-24T17:53:43.000Z
__version__ = '0.0.1' from .types import * from .exceptions import *
14
25
0.7
10
70
4.5
0.7
0
0
0
0
0
0
0
0
0
0
0.051724
0.171429
70
4
26
17.5
0.724138
0
0
0
0
0
0.071429
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
d7bc9dea140225e1e0942a2e36db1f63e5f740cd
128
py
Python
terrascript/provider/ultradns.py
hugovk/python-terrascript
08fe185904a70246822f5cfbdc9e64e9769ec494
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
terrascript/provider/ultradns.py
hugovk/python-terrascript
08fe185904a70246822f5cfbdc9e64e9769ec494
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
terrascript/provider/ultradns.py
hugovk/python-terrascript
08fe185904a70246822f5cfbdc9e64e9769ec494
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# terrascript/provider/ultradns.py import terrascript class ultradns(terrascript.Provider): pass __all__ = ["ultradns"]
12.8
37
0.757813
13
128
7.153846
0.615385
0.408602
0
0
0
0
0
0
0
0
0
0
0.140625
128
9
38
14.222222
0.845455
0.25
0
0
0
0
0.085106
0
0
0
0
0
0
1
0
false
0.25
0.25
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
d7cdf85e24b9354e5cbd695eccf0b103032f8754
83
py
Python
itermethodchain/__init__.py
tateishi/itermethodchain
c6c2d458f8505842c9edf9bdef8d8c69cdaf4b15
[ "MIT" ]
null
null
null
itermethodchain/__init__.py
tateishi/itermethodchain
c6c2d458f8505842c9edf9bdef8d8c69cdaf4b15
[ "MIT" ]
null
null
null
itermethodchain/__init__.py
tateishi/itermethodchain
c6c2d458f8505842c9edf9bdef8d8c69cdaf4b15
[ "MIT" ]
null
null
null
from . import chaining IterMethodChain = chaining.IterMethodChain VERSION='0.0.1'
16.6
42
0.795181
10
83
6.6
0.7
0.69697
0
0
0
0
0
0
0
0
0
0.040541
0.108434
83
5
43
16.6
0.851351
0
0
0
0
0
0.059524
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
d7d8123f18375ffb3070470f45232785446d1d87
311
py
Python
desafio27.py
lucasmc64/Curso_de_Python_CeV
aed942828913ff405941a7d86fb65ddcc79c414d
[ "MIT" ]
1
2021-02-19T05:13:32.000Z
2021-02-19T05:13:32.000Z
desafio27.py
lucasmc64/python_cev
aed942828913ff405941a7d86fb65ddcc79c414d
[ "MIT" ]
null
null
null
desafio27.py
lucasmc64/python_cev
aed942828913ff405941a7d86fb65ddcc79c414d
[ "MIT" ]
null
null
null
print('{} DESAFIO 27 {}'.format('=' * 10, '=' * 10)) n = str(input('Digite seu nome completo: ')).strip() id = n.count(' ') n = n.split() print('Muito prazer em te conhecer!') print('primeiro nome: {}\núltimo nome: {}'.format(n[0], n[id])) #print('primeiro nome: {}\núltimo nome: {}'.format(n[0], n[len(n)-1]))
38.875
70
0.588424
48
311
3.8125
0.541667
0.142077
0.185792
0.262295
0.404372
0.404372
0.404372
0.404372
0.404372
0
0
0.03321
0.128617
311
7
71
44.428571
0.642066
0.221865
0
0
0
0
0.443983
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
0
0
0
0
0
1
0
4
d7eff8afba1cc15be19be38b3d185ee3c1245a41
139
py
Python
aula007 - OPERADORES ARITMETICOS/aula007e.py
miradouro/CursoEmVideo-Python
cc7b05a9a4aad8e6ef3b29453d83370094d75e41
[ "MIT" ]
null
null
null
aula007 - OPERADORES ARITMETICOS/aula007e.py
miradouro/CursoEmVideo-Python
cc7b05a9a4aad8e6ef3b29453d83370094d75e41
[ "MIT" ]
null
null
null
aula007 - OPERADORES ARITMETICOS/aula007e.py
miradouro/CursoEmVideo-Python
cc7b05a9a4aad8e6ef3b29453d83370094d75e41
[ "MIT" ]
null
null
null
n1 = float(input('Quantos reais você tem na carteira?')) print('Você consegue comprar {} dolares com seus {} reais!'.format(n1//3.27, n1))
46.333333
81
0.697842
22
139
4.409091
0.818182
0
0
0
0
0
0
0
0
0
0
0.049587
0.129496
139
2
82
69.5
0.752066
0
0
0
0
0
0.618705
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
cc0623a4422a0671dc958301c3923642d66ae8a1
95
py
Python
covidpolls/apps.py
mtlberri/covidpolls
77081b886abb579f16cec800e50f5477341675b1
[ "MIT" ]
null
null
null
covidpolls/apps.py
mtlberri/covidpolls
77081b886abb579f16cec800e50f5477341675b1
[ "MIT" ]
6
2020-05-17T01:47:35.000Z
2021-09-22T19:00:37.000Z
covidpolls/apps.py
mtlberri/covidpolls
77081b886abb579f16cec800e50f5477341675b1
[ "MIT" ]
null
null
null
from django.apps import AppConfig class CovidpollsConfig(AppConfig): name = 'covidpolls'
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
1
0
0
4
0bff7e0b9981ab2e59a6946874582bd478ce61c6
154
py
Python
streamlit_app.py
pedrorohde/dlib_example
dfa32ef2e2e0609e7ec72dbb1cac4d66cd7509c8
[ "Apache-2.0" ]
null
null
null
streamlit_app.py
pedrorohde/dlib_example
dfa32ef2e2e0609e7ec72dbb1cac4d66cd7509c8
[ "Apache-2.0" ]
null
null
null
streamlit_app.py
pedrorohde/dlib_example
dfa32ef2e2e0609e7ec72dbb1cac4d66cd7509c8
[ "Apache-2.0" ]
null
null
null
import streamlit as st import dlib import cv2 import numpy import streamlit_webrtc import PIL face_detector = dlib.get_frontal_face_detector() "Hello"
12.833333
48
0.824675
23
154
5.304348
0.608696
0.245902
0
0
0
0
0
0
0
0
0
0.007519
0.136364
154
11
49
14
0.909774
0
0
0
0
0
0.032468
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
0401b9f131a93f1806afd5bc5fba97f19b4d87c0
730
py
Python
Code/22.ImageContourApp5.py
minssoj/Learning_OpenCV-Python
63f175985a1d9645191c49e16ab6bb91a4f6b7fb
[ "MIT" ]
1
2020-03-09T02:58:51.000Z
2020-03-09T02:58:51.000Z
Code/22.ImageContourApp5.py
minssoj/Learning_OpenCV-Python
63f175985a1d9645191c49e16ab6bb91a4f6b7fb
[ "MIT" ]
null
null
null
Code/22.ImageContourApp5.py
minssoj/Learning_OpenCV-Python
63f175985a1d9645191c49e16ab6bb91a4f6b7fb
[ "MIT" ]
null
null
null
# ================================================= # minso.jeong@daum.net # 22. 이미지 Contour 응용 5 # Reference : samsjang@naver.com # ================================================= import numpy as np import cv2 as cv import matplotlib.pyplot as plt # A. Contour Hierachy # =====================* arrangement *============================ # [Next, Previous, First Child, Parent] # Next : 동일레벨의 다음 Contour 인덱스, 동일레벨의 다음 Contour가 없으면 -1 # Previous : 동일레벨의 이전 Contour 인덱스, 동일레벨의 이전 Contour가 없으면 -1 # First Child : 최초의 자식 Contour 인덱스, 자식 Contour가 없으면 -1 # Parent : 부모 Contour 인덱스, 부모 Contour가 없으면 -1 # cv2.RETR_LIST, cv2.RETR_TREE, cv2.RETR_EXTERNAL, cv2.RETR_CCOMP # ================================================================
40.555556
66
0.513699
85
730
4.364706
0.529412
0.107817
0.12938
0
0
0
0
0
0
0
0
0.018898
0.130137
730
18
67
40.555556
0.565354
0.867123
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
04026c4e0f2a6d08fcc7a3045581a432101d2a83
442
py
Python
match_challenge/app/serializers.py
spratiman/MatchChallenge
57225472ffb90766eff2b4a53e6af7b518c6af2c
[ "Apache-2.0" ]
null
null
null
match_challenge/app/serializers.py
spratiman/MatchChallenge
57225472ffb90766eff2b4a53e6af7b518c6af2c
[ "Apache-2.0" ]
null
null
null
match_challenge/app/serializers.py
spratiman/MatchChallenge
57225472ffb90766eff2b4a53e6af7b518c6af2c
[ "Apache-2.0" ]
null
null
null
from rest_framework import serializers from .models import Notice, Record, Match class NoticeSerializer(serializers.ModelSerializer): class Meta: model = Notice fields = "__all__" class RecordSerializer(serializers.ModelSerializer): class Meta: model = Record fields = "__all__" class MatchSerializer(serializers.ModelSerializer): class Meta: model = Match fields = "__all__"
21.047619
52
0.692308
41
442
7.146341
0.439024
0.266212
0.317406
0.358362
0.409556
0
0
0
0
0
0
0
0.239819
442
20
53
22.1
0.872024
0
0
0.428571
0
0
0.047511
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
04129dba0abb46fc3ab188cbda37e845599a2667
245
py
Python
01-introduction to python for data science/01-python basics/the_python_interface.py
thelc127/Data-Scientist-Career-Track-Datacamp
56d0ec0ece7fa9127e72b0da598c89f15f31b6b3
[ "MIT" ]
2
2021-05-21T04:59:19.000Z
2021-05-21T08:32:41.000Z
01-introduction to python for data science/01-python basics/the_python_interface.py
thelc127/Data-Scientist-Career-Track-Datacamp
56d0ec0ece7fa9127e72b0da598c89f15f31b6b3
[ "MIT" ]
null
null
null
01-introduction to python for data science/01-python basics/the_python_interface.py
thelc127/Data-Scientist-Career-Track-Datacamp
56d0ec0ece7fa9127e72b0da598c89f15f31b6b3
[ "MIT" ]
null
null
null
# Experiment in the IPython Shell; type 5 / 8, for example. # Add another line of code to the Python script on the top-right (not in the Shell): print(7 + 10). # Example, do not modify! print(5 / 8) 0.625 # Put code below here print(7 + 10) 17.0
30.625
99
0.693878
48
245
3.541667
0.6875
0.058824
0.094118
0
0
0
0
0
0
0
0
0.086735
0.2
245
8
100
30.625
0.780612
0.812245
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
0429a987370acb1befdc871d29e0e45d023f3c3d
1,194
py
Python
program/condition/condition.py
probing-lab/polar
30a7ae05da5364fa65b1609f31f9b108113ab4ae
[ "MIT" ]
2
2021-10-06T13:29:24.000Z
2021-11-11T19:42:43.000Z
program/condition/condition.py
daneshvar-amrollahi/polar
b72254e1a8354e6a10135cd3990b8edfda02559e
[ "MIT" ]
1
2022-01-26T15:58:28.000Z
2022-01-28T13:47:28.000Z
program/condition/condition.py
daneshvar-amrollahi/polar
b72254e1a8354e6a10135cd3990b8edfda02559e
[ "MIT" ]
2
2021-10-01T15:08:52.000Z
2022-03-15T14:10:06.000Z
from abc import ABC, abstractmethod from typing import List, Tuple, Dict from symengine.lib.symengine_wrapper import Expr, Symbol class Condition(ABC): is_loop_guard: bool = False @abstractmethod def is_implied_by_loop_guard(self): pass @abstractmethod def get_loop_guard(self): pass @abstractmethod def simplify(self) -> "Condition": pass @abstractmethod def reduce(self, store) -> List[Tuple[Symbol, Expr]]: pass @abstractmethod def get_normalized(self, program) -> Tuple["Condition", List]: pass @abstractmethod def get_free_symbols(self): pass @abstractmethod def get_conjuncts(self) -> List["Condition"]: pass @abstractmethod def subs(self, substitutions): pass @abstractmethod def evaluate(self, state: Dict[Symbol, float]): pass @abstractmethod def to_arithm(self, program) -> Expr: pass @abstractmethod def __simple_copy__(self) -> "Condition": pass def copy(self) -> "Condition": cond = self.__simple_copy__() cond.is_loop_guard = self.is_loop_guard return cond
20.586207
66
0.639866
132
1,194
5.575758
0.340909
0.254076
0.285326
0.130435
0.134511
0.092391
0
0
0
0
0
0
0.269682
1,194
57
67
20.947368
0.844037
0
0
0.52381
0
0
0.037688
0
0
0
0
0
0
1
0.285714
false
0.261905
0.071429
0
0.428571
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
4
0440e3744f1b30cb10fa6c6f1e5ea39696985b82
151
py
Python
docs/tutorials/_tutorial_setup.py
LevyForchh/bionic
f7f9486ac22c928bfbf12c40abf4bfd81751d77e
[ "Apache-2.0" ]
null
null
null
docs/tutorials/_tutorial_setup.py
LevyForchh/bionic
f7f9486ac22c928bfbf12c40abf4bfd81751d77e
[ "Apache-2.0" ]
1
2020-05-19T01:01:27.000Z
2020-05-19T01:01:27.000Z
docs/tutorials/_tutorial_setup.py
LevyForchh/bionic
f7f9486ac22c928bfbf12c40abf4bfd81751d77e
[ "Apache-2.0" ]
null
null
null
import sys from pathlib import Path project_path = str(Path('../..').resolve()) if project_path not in sys.path: sys.path.insert(0, project_path)
21.571429
43
0.715232
24
151
4.375
0.541667
0.314286
0
0
0
0
0
0
0
0
0
0.007692
0.139073
151
6
44
25.166667
0.8
0
0
0
0
0
0.033113
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
04569ce2d975299942393fe0726dcd0f35038349
885
py
Python
tests/rlcomplete_test.py
techdragon/fabulous
bc6de0f4414cebb4a13f6604c5a2797862e0439d
[ "MIT" ]
1
2019-06-27T13:05:31.000Z
2019-06-27T13:05:31.000Z
tests/rlcomplete_test.py
techdragon/fabulous
bc6de0f4414cebb4a13f6604c5a2797862e0439d
[ "MIT" ]
null
null
null
tests/rlcomplete_test.py
techdragon/fabulous
bc6de0f4414cebb4a13f6604c5a2797862e0439d
[ "MIT" ]
null
null
null
#!/usr/bin/env python import unittest from terminate import rlcomplete class TestControl(unittest.TestCase): def test_ListCompleter(self): c = rlcomplete.ListCompleter(['foo','bar','baz'], True) self.failUnlessEqual(c.completelist('a'), []) self.failUnlessEqual(c.completelist('B'), ['bar','baz']) self.failUnlessEqual(c.completelist('f'), ['foo']) c = rlcomplete.ListCompleter(['foo','bar','baz'], False) self.failUnlessEqual(c.completelist('B'), []) self.failUnlessEqual(c.completelist('b'), ['bar','baz']) def test_PathCompleter(self): #c = rlcomplete.PathCompleter() #self.failUnlessEqual(c.completelist('m'), ['manual/']) pass if __name__ == '__main__': unittest.main() #Desktop/ bin/ lib/ personal/ src/ workspace/ #Templates/ doc/ media/ share/ tmp/ www/
32.777778
64
0.624859
93
885
5.83871
0.483871
0.209945
0.220994
0.353591
0.325967
0.265193
0.143646
0
0
0
0
0
0.20113
885
26
65
34.038462
0.768034
0.230508
0
0
0
0
0.068047
0
0
0
0
0
0
1
0.133333
false
0.066667
0.133333
0
0.333333
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
1
0
0
0
0
0
4
f08821108c26e765c7d85cee47b7b3491e843bc4
15,096
py
Python
informers_specs_util.py
ExplanationNAACL/NAACL-Informers
bea3e256e68880cfd656a26d5cfd75a622fead89
[ "MIT" ]
null
null
null
informers_specs_util.py
ExplanationNAACL/NAACL-Informers
bea3e256e68880cfd656a26d5cfd75a622fead89
[ "MIT" ]
null
null
null
informers_specs_util.py
ExplanationNAACL/NAACL-Informers
bea3e256e68880cfd656a26d5cfd75a622fead89
[ "MIT" ]
2
2022-01-16T03:35:21.000Z
2022-01-16T03:51:56.000Z
""" This file is to demonstrate what types of wrappers a user would need to make to use their custom explainer, dataset, and model, with our Informers library. In this case, our custom explainer, dataset, and model is from LIT. - This file contains the Wrapper functions for the LIT explainers, models, and dataset to adhere to the Informers Specs as described in our documentation. - See main function for demos on how to use these wrapper functions to interact with LIT. """ from lit_nlp.examples.datasets import glue from lit_nlp.examples.models import glue_models from lit_nlp.components import gradient_maps from lit_nlp.components import lime_explainer import copy from lit_nlp.api import components as lit_components from typing import List, Dict import numpy as np from salience_basic_util import generate_serialization_files, SEQ_TASK, NLI_TASK class LITSST2Wrapper: def __init__(self, model: glue_models, dataset: glue.SST2Data, explainer: lit_components.Interpreter): self.model = model self.dataset = dataset self.explainer = explainer self.num_classes = 2 def get_dataset(self) -> List[Dict[str, str]]: """ Returns dataset in the format asked by Informers specs [{'sentence': 'I am happy ...', 'label': '0'}, {}, ...] """ return self.dataset.examples def explanation_method(self, input_text: Dict[str, str]) -> List[Dict[str, float]]: """ Returns explanations for each possible class in the form of salience scores for each token. Input: - Takes in dict in format: {'sentence': 'That movie was interesting', 'label': 0} Output: - Returns a list of dictionaries mapping token to salience score. Number of dictionaries equal number of classes (which is 2). """ pass def predict_fn(self, input_text: Dict[str, str]) -> np.ndarray: """ Takes in input text and labels and outputs probability distribution over number of classes (in this case, 2) Input: - One dictionary in the form {'sentence': 'A rollercoaster of emotions', 'label': '0'}. representing the input text for the model. Labels are optional. Output: - A 1D numpy array object representing the probabilities over all possible classes. TODO: Make a type scheme or something instead of manually checking if input is formatted correctly """ # Check input formatting assert len(list(input_text.keys())) == self.num_classes and \ 'sentence' in list(input_text.keys()) and \ 'label' in list(input_text.keys()) # Perform model inference on input text output = self.model.predict([input_text]) probs = np.array([o['probas'] for o in output][0]) # Check output formatting and correctness assert probs.shape == (self.num_classes,) assert round(sum(probs)) == 1 return probs class SST2LIME(LITSST2Wrapper): """ A class to provide the wrapper functions for the LIT implementation of model, dataset, and explainer to adhere to the Informer specifications. Specs: explanation_method: Callable[[List[Dict[str, str]]], List[Dict[str, float]]], predict_fn: Callable[[List[Dict[str, str]]], np.ndarray], dataset: List[Dist[str, str]] Currently only supports LIT's LIME explainer. """ def __init__(self, model: glue_models.SST2Model, dataset: glue.SST2Data, explainer: lime_explainer.LIME): super().__init__(model, dataset, explainer) def explanation_method(self, input_text: Dict[str, str]) -> List[Dict[str, float]]: """ Returns explanations for each possible class in the form of salience scores for each token. Input: - Takes in dict in format: {'sentence': 'That movie was interesting', 'label': 0} Output: - Returns a list of dictionaries mapping token to salience score. Number of dictionaries equal number of classes (which is 2). """ explanations = [] config = self.explainer.config_spec() config[lime_explainer.KERNEL_WIDTH_KEY] = config[lime_explainer.KERNEL_WIDTH_KEY].default config[lime_explainer.MASK_KEY] = config[lime_explainer.MASK_KEY].default config[lime_explainer.NUM_SAMPLES_KEY] = config[lime_explainer.NUM_SAMPLES_KEY].default config[lime_explainer.SEED_KEY] = config[lime_explainer.SEED_KEY].default for i in range(self.num_classes): config[lime_explainer.CLASS_KEY] = str(i) output = self.explainer.run([input_text], self.model, dataset=self.dataset, config=config) scores = output[0]['sentence'].salience tokens = input_text['sentence'].split() # this is the default LIME tokenizer assert len(tokens) == len(scores) exp = {} for token, score in zip(tokens, scores): exp[token] = score explanations.append(exp) return explanations class SST2GradNorm(LITSST2Wrapper): """ A class to provide the wrapper functions for the LIT implementation of model, dataset, and explainer to adhere to the Informer specifications. LIT's Gradient L2 Norm explainer. Specs: explanation_method: Callable[[List[Dict[str, str]]], List[Dict[str, float]]], predict_fn: Callable[[List[Dict[str, str]]], np.ndarray], dataset: List[Dist[str, str]] Currently only supports prediction class explanations. """ def __init__(self, model: glue_models.SST2Model, dataset: glue.SST2Data, explainer: gradient_maps.GradientNorm): super().__init__(model, dataset, explainer) def explanation_method(self, input_text: Dict[str, str]) -> List[Dict[str, float]]: """ Returns explanations for each possible class in the form of salience scores for each token. The first set of explanation is actually for predicted class, but the second set is just a placeholder. Will have to do this for now. TODO: Ask LIT developer team about specifying class for gradient-based lit_components.Interpreter Input: - Takes in dict in format: {'sentence': 'That movie was interesting', 'label': 0} Output: - Returns a list of dictionaries mapping token to salience score. Number of dictionaries equal number of classes (which is 2). """ explanations = [] output = self.explainer.run([input_text], self.model, dataset=self.dataset) scores = output[0]['token_grad_sentence'].salience tokens = output[0]['token_grad_sentence'].salience assert len(tokens) == len(scores) exp = {} for token, score in zip(tokens, scores): exp[token] = score explanations.append(exp) explanations.append({}) # placeholder return explanations class LITNLIWrapper: def __init__(self, model: glue_models, dataset: glue.MNLIData, explainer: lit_components.Interpreter): self.model = model self.dataset = dataset self.explainer = explainer self.num_classes = 3 # GLUE labeling scheme is inconsistent. MNLI doesn't label by index self.classes = ['entailment', 'neutral', 'contradiction'] def get_dataset(self) -> List[Dict[str, str]]: """ Returns dataset in the format asked by Informers specs [{'premise': 'I am happy ...', 'hypothesis': 'I am sad ...', 'label': '2'}, {}, ...] """ examples = [] for example in self.dataset.examples: reformatted = copy.deepcopy(example) reformatted['label'] = str(self.classes.index(example['label'])) examples.append(reformatted) return examples def explanation_method(self, input_text: Dict[str, str]) -> List[Dict[str, Dict[str, float]]]: """ Returns explanations for each possible class in the form of salience scores for each token. Input: - Takes in dict in format: {'premise': 'That movie was interesting', 'hypothesis': 'A boring movie', 'label': 2} Output: - Returns a list of dictionaries mapping premise and hypothesis to dictionaries mapping token to salience score. Number of dictionaries equal number of classes (which is 3). [{'premise': {'a': 1.2, 'b': 1.3}, 'hypothesis': {'c': 1.3, 'd': 1.4}, {'premise': {'a': 1.5, 'b': -6.3}, 'hypothesis': {'c': 7.3, 'd': 1.8}, {'premise': {'a': 1.5, 'b': 9.3}, 'hypothesis': {'c': 0.3, 'd': 1.0}] """ pass def predict_fn(self, input_text: Dict[str, str]) -> np.ndarray: """ Takes in input text and labels and outputs probability distribution over number of classes (in this case, 2) Input: - One dictionary in the form {'premise': 'That movie was interesting', 'hypothesis': 'A boring movie', 'label': 2} representing the input text for the model. Labels are optional. Output: - A 1D numpy array object representing the probabilities over all possible classes. TODO: Make a type scheme or something instead of manually checking if input is formatted correctly """ # Check input formatting assert len(list(input_text.keys())) == self.num_classes and \ 'premise' in list(input_text.keys()) and \ 'hypothesis' in list(input_text.keys()) and \ 'label' in list(input_text.keys()) # Perform model inference on input text input_text_change = copy.deepcopy(input_text) input_text_change['label'] = self.classes[int(input_text['label'])] # need string label instead of index output = self.model.predict([input_text]) probs = np.array([o['probas'] for o in output][0]) # Check output formatting and correctness assert probs.shape == (self.num_classes,) assert round(sum(probs)) == 1 return probs class MNLILIME(LITNLIWrapper): def __init__(self, model: glue_models, dataset: glue.MNLIData, explainer: lime_explainer.LIME): super().__init__(model, dataset, explainer) def explanation_method(self, input_text: Dict[str, str]) -> List[Dict[str, Dict[str, float]]]: """ Returns explanations for each possible class in the form of salience scores for each token. Input: - Takes in dict in format: {'premise': 'That movie was interesting', 'hypothesis': 'A boring movie', 'label': 2} Output: - Returns a list of dictionaries mapping premise and hypothesis to dictionaries mapping token to salience score. Number of dictionaries equal number of classes (which is 3). [{'premise': {'a': 1.2, 'b': 1.3}, 'hypothesis': {'c': 1.3, 'd': 1.4}, {'premise': {'a': 1.5, 'b': -6.3}, 'hypothesis': {'c': 7.3, 'd': 1.8}, {'premise': {'a': 1.5, 'b': 9.3}, 'hypothesis': {'c': 0.3, 'd': 1.0}] """ explanations = [] config = self.explainer.config_spec() config[lime_explainer.KERNEL_WIDTH_KEY] = config[lime_explainer.KERNEL_WIDTH_KEY].default config[lime_explainer.MASK_KEY] = config[lime_explainer.MASK_KEY].default config[lime_explainer.NUM_SAMPLES_KEY] = config[lime_explainer.NUM_SAMPLES_KEY].default config[lime_explainer.SEED_KEY] = config[lime_explainer.SEED_KEY].default for i in range(self.num_classes): config[lime_explainer.CLASS_KEY] = str(i) output = self.explainer.run([input_text], self.model, dataset=self.dataset, config=config) # extract tokens and salience scores scores_premise = output[0]['premise'].salience tokens_premise = output[0]['premise'].tokens scores_hypothesis = output[0]['hypothesis'].salience tokens_hypothesis = output[0]['hypothesis'].tokens assert len(tokens_hypothesis) == len(scores_hypothesis) assert len(tokens_premise) == len(scores_premise) exp_premise = {} for token, score in zip(tokens_premise, scores_premise): exp_premise[token] = score exp_hypothesis = {} for token, score in zip(tokens_hypothesis, scores_hypothesis): exp_hypothesis[token] = score explanations.append({'premise': exp_premise, 'hypothesis': exp_hypothesis}) return explanations def main(): # Stanford Sentiment Treebank (binary) # How to use lit_wrapper to generate explanation model = glue_models.SST2Model('models/sst2-tiny-bert') dataset = glue.SST2Data('validation') lime = lime_explainer.LIME() lit_wrapper = SST2LIME(model, dataset, lime) dataset = lit_wrapper.get_dataset()[:50] #for class_explanation in lit_wrapper.explanation_method(dataset[0]): #print(class_explanation) # How to serialize explanation and model outputs files = generate_serialization_files(task=SEQ_TASK, num_classes=2, explainer=lit_wrapper.explanation_method, predict_fn=lit_wrapper.predict_fn, dataset=dataset[:2], scores_path="./scores_sst.json", preds_path="./preds_sst.json") print(files) exit() # Multi-genre Natural Language Inference # How to use lit_wrapper to generate explanation model = glue_models.MNLIModel('models/mbert-mnli') dataset = glue.MNLIData('validation_matched') lime = lime_explainer.LIME() lit_wrapper = MNLILIME(model, dataset, lime) dataset = lit_wrapper.get_dataset() # How to serialize explanation and model outputs files = generate_serialization_files(task=NLI_TASK, num_classes=3, explainer=lit_wrapper.explanation_method, predict_fn=lit_wrapper.predict_fn, dataset=dataset[:2], scores_path="./scores_nli.json", preds_path="./preds_nli.json") print(files) for class_explanation in lit_wrapper.explanation_method(dataset[0]): print(class_explanation) if __name__ == '__main__': main()
44.011662
119
0.614202
1,788
15,096
5.058166
0.155481
0.029854
0.037815
0.01946
0.745688
0.728992
0.704224
0.704224
0.690624
0.690624
0
0.009476
0.286963
15,096
342
120
44.140351
0.830732
0.387321
0
0.572289
0
0
0.040316
0.002476
0
0
0
0.008772
0.060241
1
0.090361
false
0.012048
0.054217
0
0.216867
0.018072
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f0cda55ca994e0fcc12486d3149f38241f2acaa6
3,727
py
Python
project/matrix.py
arifBurakDemiray/computer-graphics
acf4781f92e325b12d986974c448b0e3520af431
[ "MIT" ]
null
null
null
project/matrix.py
arifBurakDemiray/computer-graphics
acf4781f92e325b12d986974c448b0e3520af431
[ "MIT" ]
null
null
null
project/matrix.py
arifBurakDemiray/computer-graphics
acf4781f92e325b12d986974c448b0e3520af431
[ "MIT" ]
null
null
null
# CENG 487 Assignment6 by # Arif Burak Demiray # December 2021 from math import sin, cos from .vector import * import numpy class Matrix: @staticmethod def create(arg): if len(arg) != 16: raise Exception("array size must be 16!") cols = [] for x in range(0, 4): cols.append(HCoord(arg[x], arg[x + 4], arg[x + 8], arg[x + 12])) return Matrix(cols) def __init__(self, cols=None): if cols is None: self.cols = [HCoord(1.0, 0.0, 0.0, 0.0), HCoord(0.0, 1.0, 0.0, 0.0), HCoord(0.0, 0.0, 1.0, 0.0), HCoord(0.0, 0.0, 0.0, 1.0)] else: self.cols = cols self.rows = self.createrows() def __str__(self): string = "" for x in self.cols: string += str(x) + "\n" return string def asList(self): result = [] for column in self.cols: result.append(column.x) result.append(column.y) result.append(column.z) result.append(column.w) return result def asNumpy(self): result = [] for column in self.cols: result.append([column.x, column.y, column.z, column.w]) return numpy.asarray(result) def createrows(self): x = HCoord(self.cols[0].x, self.cols[1].x, self.cols[2].x, self.cols[3].x) y = HCoord(self.cols[0].y, self.cols[1].y, self.cols[2].y, self.cols[3].y) z = HCoord(self.cols[0].z, self.cols[1].z, self.cols[2].z, self.cols[3].z) w = HCoord(self.cols[0].w, self.cols[1].w, self.cols[2].w, self.cols[3].w) return [x, y, z, w] def trans(self): return Matrix(self.rows) def rowsize(self): return len(self.rows) def colsize(self): return len(self.cols) def vecmul(self, vector): x = self.cols[0] * vector.x y = self.cols[1] * vector.y z = self.cols[2] * vector.z w = self.cols[3] * vector.w return x + y + z + w def product(self, other): cols = [] for x in range(0, other.colsize()): cols.append(self.vecmul(other.cols[x])) return Matrix(cols) @staticmethod def product3(mat1, mat2, mat3): tmp = mat1.product(mat2) return tmp.product(mat3) def __add__(self, other): cols = [] for x in range(0, self.colsize()): cols.append(self.cols[x] + other.cols[x]) return Matrix(cols) def __mul__(self, scalar): cols = map(lambda x: scalar * x, self.cols) return Matrix(cols) def __rmul__(self, scalar): return self.__mul__(scalar) @staticmethod def Rx(x): return Matrix.create([1.0, 0.0, 0.0, 0.0, 0.0, cos(x), -sin(x), 0.0, 0.0, sin(x), cos(x), 0.0, 0.0, 0.0, 0.0, 1.0]) @staticmethod def Ry(x): return Matrix.create([cos(x), 0.0, sin(x), 0.0, 0.0, 1.0, 0.0, 0.0, -sin(x), 0.0, cos(x), 0.0, 0.0, 0.0, 0.0, 1.0]) @staticmethod def Rz(x): return Matrix.create([cos(x), -sin(x), 0.0, 0.0, sin(x), cos(x), 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0]) @staticmethod def S(scalar): return Matrix.create([scalar, 0.0, 0.0, 0.0, 0.0, scalar, 0.0, 0.0, 0.0, 0.0, scalar, 0.0, 0.0, 0.0, 0.0, 1.0]) @staticmethod def T(x, y, z): return Matrix.create([1.0, 0.0, 0.0, x, 0.0, 1.0, 0.0, y, 0.0, 0.0, 1.0, z, 0.0, 0.0, 0.0, 1.0]) @staticmethod def identity(): return Matrix.create([1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0]) @staticmethod def zeros(): return Matrix.create([0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0])
29.579365
136
0.524819
663
3,727
2.914027
0.13273
0.169772
0.209627
0.227743
0.376812
0.376812
0.307453
0.292961
0.241201
0.228778
0
0.100945
0.290314
3,727
125
137
29.816
0.62949
0.015025
0
0.212766
0
0
0.006545
0
0
0
0
0
0
1
0.234043
false
0
0.031915
0.117021
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
f0fb2a8c10c6fc3b89fc12b6eeca6d64ad7599c9
89
py
Python
run.py
Zwami/yacm
db7cc6693fb37178f81f741c0f6ebebf525d146d
[ "MIT" ]
null
null
null
run.py
Zwami/yacm
db7cc6693fb37178f81f741c0f6ebebf525d146d
[ "MIT" ]
1
2021-08-23T20:49:05.000Z
2021-08-23T20:49:05.000Z
run.py
Zwami/yacm
db7cc6693fb37178f81f741c0f6ebebf525d146d
[ "MIT" ]
null
null
null
from SocialModel.server import server print("Yet Another Covid Model") server.launch()
14.833333
37
0.786517
12
89
5.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.123596
89
5
38
17.8
0.897436
0
0
0
0
0
0.258427
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
0b19a7d89da4d622a9c1629ffc378fa0e450b549
98
py
Python
nets/backbone/mobilenet/__init__.py
Ecalose/dddd_trainer
ef0c6b271cc2898403375f53f813481ffbf6b02c
[ "Apache-2.0" ]
80
2022-02-20T01:28:55.000Z
2022-03-31T09:09:25.000Z
nets/backbone/mobilenet/__init__.py
wingeva1986/dddd_trainer
608bfec699446040aea205387c9a2129ea5fa575
[ "Apache-2.0" ]
2
2022-03-14T03:05:34.000Z
2022-03-28T05:35:53.000Z
nets/backbone/mobilenet/__init__.py
wingeva1986/dddd_trainer
608bfec699446040aea205387c9a2129ea5fa575
[ "Apache-2.0" ]
30
2022-02-20T01:34:43.000Z
2022-03-31T09:09:35.000Z
from .mobilenetv2 import mobilenetv2 from .mobilenetv3 import MobileNetV3_Small, MobileNetV3_Large
49
61
0.887755
11
98
7.727273
0.545455
0
0
0
0
0
0
0
0
0
0
0.055556
0.081633
98
2
61
49
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
9bd306c90faf5349667d57ad00df5da21292514d
230
py
Python
Linux_Mint_Programs_BackUp/models/program.py
ToastedGuy2/Automation-Scripts-With-Python
596bcf4a06e2217af59707a243c7da0d705d76a7
[ "MIT" ]
null
null
null
Linux_Mint_Programs_BackUp/models/program.py
ToastedGuy2/Automation-Scripts-With-Python
596bcf4a06e2217af59707a243c7da0d705d76a7
[ "MIT" ]
null
null
null
Linux_Mint_Programs_BackUp/models/program.py
ToastedGuy2/Automation-Scripts-With-Python
596bcf4a06e2217af59707a243c7da0d705d76a7
[ "MIT" ]
null
null
null
from mongoengine import * from mongoengine.document import Document from mongoengine.fields import StringField class Program(Document): name = StringField(required=True, max_length=50) meta = {'allow_inheritance': True}
25.555556
52
0.782609
27
230
6.592593
0.62963
0.252809
0
0
0
0
0
0
0
0
0
0.010101
0.13913
230
8
53
28.75
0.888889
0
0
0
0
0
0.073913
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
9bf7bf47b8f465bf96e82903978f0fcbc734c184
150
wsgi
Python
py_relay/app_relay.wsgi
itc-lab/wiringpi-python-bme280
3e2cbcc7232f387c0f61f89faade654699a11e20
[ "MIT" ]
1
2022-01-16T16:33:38.000Z
2022-01-16T16:33:38.000Z
py_relay/app_relay.wsgi
itc-lab/wiringpi-python-bme280
3e2cbcc7232f387c0f61f89faade654699a11e20
[ "MIT" ]
null
null
null
py_relay/app_relay.wsgi
itc-lab/wiringpi-python-bme280
3e2cbcc7232f387c0f61f89faade654699a11e20
[ "MIT" ]
null
null
null
#!/usr/bin/ python3 # -*- coding:utf-8 -*- import sys sys.path.insert(0, "/var/www/flask") from app_relay import app_relay application = app_relay
15
36
0.7
24
150
4.25
0.75
0.235294
0
0
0
0
0
0
0
0
0
0.023077
0.133333
150
9
37
16.666667
0.761538
0.26
0
0
0
0
0.12844
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
500160d36b9ba1e7d23bc7ca91e481356d26737d
220
py
Python
splendor_ai/random_mover.py
ggawryal/splendor-ai
356ae2466edabbd3d304f66a29042a23df2c6226
[ "MIT" ]
1
2021-09-01T15:56:14.000Z
2021-09-01T15:56:14.000Z
splendor_ai/random_mover.py
ggawryal/splendor-ai
356ae2466edabbd3d304f66a29042a23df2c6226
[ "MIT" ]
null
null
null
splendor_ai/random_mover.py
ggawryal/splendor-ai
356ae2466edabbd3d304f66a29042a23df2c6226
[ "MIT" ]
null
null
null
from typing import AbstractSet import numpy as np from abstract_model import AbstractModel class RandomMover(AbstractModel): def get_scores_for_each_move(self,env): return np.random.rand(self.output_nodes)
24.444444
48
0.8
31
220
5.483871
0.806452
0
0
0
0
0
0
0
0
0
0
0
0.145455
220
8
49
27.5
0.904255
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0.166667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
4
5022333d227cddd262db29cbe79d0dfadd29e5ec
183
py
Python
frappe/patches/v8_0/drop_in_dialog.py
Nxweb-in/frappe
56b3eb52bf56dd71bee29fde3ed28ed9c6d15947
[ "MIT" ]
1
2021-06-03T07:04:48.000Z
2021-06-03T07:04:48.000Z
frappe/patches/v8_0/drop_in_dialog.py
Nxweb-in/frappe
56b3eb52bf56dd71bee29fde3ed28ed9c6d15947
[ "MIT" ]
null
null
null
frappe/patches/v8_0/drop_in_dialog.py
Nxweb-in/frappe
56b3eb52bf56dd71bee29fde3ed28ed9c6d15947
[ "MIT" ]
null
null
null
import frappe def execute(): if frappe.db.has_column('DocType', 'in_dialog'): frappe.db.sql('alter table tabDocType drop column in_dialog') frappe.clear_cache(doctype="DocType")
26.142857
63
0.759563
27
183
5
0.666667
0.118519
0.207407
0
0
0
0
0
0
0
0
0
0.103825
183
7
64
26.142857
0.823171
0
0
0
0
0
0.36612
0
0
0
0
0
0
1
0.2
true
0
0.2
0
0.4
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
5030aa5a1b69a9418f64aae2ed67914b33509757
83
py
Python
gsan/__init__.py
TheRipperJhon/GSAN
3e911b1212d87994bd63e2d7b403ed07786f0017
[ "MIT" ]
2
2020-07-08T18:04:22.000Z
2020-09-23T01:03:15.000Z
gsan/__init__.py
TheRipperJhon/GSAN
3e911b1212d87994bd63e2d7b403ed07786f0017
[ "MIT" ]
4
2020-02-25T11:49:03.000Z
2022-02-26T04:02:21.000Z
gsan/__init__.py
TheRipperJhon/GSAN
3e911b1212d87994bd63e2d7b403ed07786f0017
[ "MIT" ]
1
2020-09-23T01:03:16.000Z
2020-09-23T01:03:16.000Z
"""Initialize GAN modules.""" from .get_san import get_san __all__ = ['get_san']
13.833333
29
0.698795
12
83
4.25
0.666667
0.352941
0
0
0
0
0
0
0
0
0
0
0.144578
83
5
30
16.6
0.71831
0.277108
0
0
0
0
0.12963
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
503d92eebef08569af826688fca05f0469fe83b1
98
py
Python
Tutorials/01. 10 Days of Statistics/008. Day 4 - Geometric Distribution I.py
stonehengee/HackerrankPractice
ec052e7447391e40d1919cf0b641ff5023da3da3
[ "MIT" ]
null
null
null
Tutorials/01. 10 Days of Statistics/008. Day 4 - Geometric Distribution I.py
stonehengee/HackerrankPractice
ec052e7447391e40d1919cf0b641ff5023da3da3
[ "MIT" ]
null
null
null
Tutorials/01. 10 Days of Statistics/008. Day 4 - Geometric Distribution I.py
stonehengee/HackerrankPractice
ec052e7447391e40d1919cf0b641ff5023da3da3
[ "MIT" ]
null
null
null
# Problem: https://www.hackerrank.com/challenges/s10-geometric-distribution-1/problem # Score: 30
32.666667
85
0.785714
13
98
5.923077
0.923077
0
0
0
0
0
0
0
0
0
0
0.054348
0.061224
98
2
86
49
0.782609
0.94898
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
ac9c2d1b264b2d6431c11f386c2950b84cb391dc
289
py
Python
python/armstrong-numbers/armstrong_numbers.py
rootulp/exercism
312a053ad1d375752acf0fce062ee7b9c643a149
[ "MIT" ]
41
2015-02-09T18:08:45.000Z
2022-03-06T15:23:32.000Z
python/armstrong-numbers/armstrong_numbers.py
DucChuyenSoftwareEngineer/exercism
fb7820a1ba162b888a39f1b86cbe5d3ca3b15d4f
[ "MIT" ]
21
2019-12-28T17:47:06.000Z
2021-02-27T19:43:00.000Z
python/armstrong-numbers/armstrong_numbers.py
DucChuyenSoftwareEngineer/exercism
fb7820a1ba162b888a39f1b86cbe5d3ca3b15d4f
[ "MIT" ]
18
2016-04-29T14:35:12.000Z
2021-06-23T07:32:29.000Z
def get_digits(number): return list(map(int, list(str(number)))) def is_armstrong(number): digits = get_digits(number) num_digits = len(digits) digits_raised_to_num_digits = [digit ** num_digits for digit in digits] return number == sum(digits_raised_to_num_digits)
26.272727
75
0.726644
43
289
4.581395
0.44186
0.182741
0.152284
0.172589
0.233503
0
0
0
0
0
0
0
0.16955
289
10
76
28.9
0.820833
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
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
acd33bb3a125db4375e4b35a419dd956170925c1
89
py
Python
src/__init__.py
MaskDuck/garlic-bot
51fd5dad6f35d2fc32181592aa2fdaff24dc511f
[ "MIT" ]
4
2022-03-19T16:53:09.000Z
2022-03-19T23:42:25.000Z
src/__init__.py
vcokltfre/disnake-template
dc7dfdb1c0abcc6eb650444e9675a8aa8575efa6
[ "MIT" ]
3
2022-03-20T11:58:30.000Z
2022-03-26T09:16:33.000Z
src/__init__.py
vcokltfre/disnake-template
dc7dfdb1c0abcc6eb650444e9675a8aa8575efa6
[ "MIT" ]
2
2022-03-21T05:22:47.000Z
2022-03-28T04:40:11.000Z
from dotenv import load_dotenv load_dotenv() from .impl import Bot __all__ = ("Bot",)
11.125
30
0.730337
13
89
4.538462
0.538462
0.338983
0
0
0
0
0
0
0
0
0
0
0.168539
89
7
31
12.714286
0.797297
0
0
0
0
0
0.033708
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
acd46bade7f1d25f39875139653f985839179344
100
py
Python
phd/__init__.py
MaxHalford/tldks-2020
e8d1d7de0d4cf47aeaaeef8701d1593cdf8d5e86
[ "Apache-2.0" ]
null
null
null
phd/__init__.py
MaxHalford/tldks-2020
e8d1d7de0d4cf47aeaaeef8701d1593cdf8d5e86
[ "Apache-2.0" ]
1
2021-03-31T20:00:51.000Z
2021-03-31T20:00:51.000Z
phd/__init__.py
MaxHalford/tldks-2020
e8d1d7de0d4cf47aeaaeef8701d1593cdf8d5e86
[ "Apache-2.0" ]
null
null
null
from .bn import BayesianNetwork from .rbn import RecursiveBayesianNetwork from .rel import Relation
25
41
0.85
12
100
7.083333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.12
100
3
42
33.333333
0.965909
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
acddc91957354724b86cfd5be34f0198c7ab67f2
84
py
Python
imagepy/__main__.py
Pad0y/imagepy
23f41b64ade02f94b566b0d23a4b6459c1a1578d
[ "BSD-4-Clause" ]
null
null
null
imagepy/__main__.py
Pad0y/imagepy
23f41b64ade02f94b566b0d23a4b6459c1a1578d
[ "BSD-4-Clause" ]
null
null
null
imagepy/__main__.py
Pad0y/imagepy
23f41b64ade02f94b566b0d23a4b6459c1a1578d
[ "BSD-4-Clause" ]
null
null
null
import sys sys.path.append("../") from imagepy.app import startup startup.start()
12
31
0.72619
12
84
5.083333
0.75
0
0
0
0
0
0
0
0
0
0
0
0.119048
84
6
32
14
0.824324
0
0
0
0
0
0.035714
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
acec0c5ccf611bc1279c28f6e556b2f330be79c5
200
py
Python
recursiveCount.py
ClarkGH/pythonCS
3ee0002dca0a5eb3e705fc52120f222a62d05e17
[ "MIT" ]
null
null
null
recursiveCount.py
ClarkGH/pythonCS
3ee0002dca0a5eb3e705fc52120f222a62d05e17
[ "MIT" ]
null
null
null
recursiveCount.py
ClarkGH/pythonCS
3ee0002dca0a5eb3e705fc52120f222a62d05e17
[ "MIT" ]
null
null
null
numberList = [1,2,3,4,5] def recursiveCount(numList): if not numList: return 0 else: return 1 + recursiveCount(numList[1::2]) + recursiveCount(numList[2::2]) print recursiveCount( numberList )
22.222222
74
0.72
28
200
5.142857
0.535714
0.4375
0
0
0
0
0
0
0
0
0
0.063953
0.14
200
9
75
22.222222
0.773256
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.142857
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
4a02c21fa0fceb55a21e7c5660f451deb3e29332
125
py
Python
week3/apps.py
CharityMutonii/award
4847a61542869851016fb4fb87016ddf558ec2fb
[ "MIT" ]
2
2020-11-02T18:58:18.000Z
2021-01-06T10:59:23.000Z
week3/apps.py
CharityMutonii/award
4847a61542869851016fb4fb87016ddf558ec2fb
[ "MIT" ]
null
null
null
week3/apps.py
CharityMutonii/award
4847a61542869851016fb4fb87016ddf558ec2fb
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.apps import AppConfig class Week3Config(AppConfig): name = 'week3'
17.857143
39
0.792
15
125
6.266667
0.8
0
0
0
0
0
0
0
0
0
0
0.018868
0.152
125
6
40
20.833333
0.867925
0
0
0
0
0
0.04
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
4a1dc586bea2fbc2e9ca442424b96944f701c733
1,319
py
Python
flask/test/data/setup_tables.py
spaudanjo/boxtribute
c29311a38721277a07b5e1dbcf36cf12bcd8b727
[ "Apache-2.0" ]
null
null
null
flask/test/data/setup_tables.py
spaudanjo/boxtribute
c29311a38721277a07b5e1dbcf36cf12bcd8b727
[ "Apache-2.0" ]
null
null
null
flask/test/data/setup_tables.py
spaudanjo/boxtribute
c29311a38721277a07b5e1dbcf36cf12bcd8b727
[ "Apache-2.0" ]
null
null
null
from data.base import create_default_bases from data.box import create_default_box from data.box_state import create_default_box_state from data.location import create_default_location from data.organisation import create_default_organisation from data.product import create_default_product from data.product_category import create_default_product_category from data.product_gender import create_default_product_gender from data.qr_code import create_default_qr_code, create_qr_code_without_box from data.size_range import create_default_size_range from data.user import create_default_users from data.usergroup import create_default_usergroup from data.usergroup_access_level import create_default_usergroup_access_level from data.usergroup_base_access import create_default_usergroup_base_access_list def setup_tables(): create_default_bases() create_default_box() create_default_box_state() create_default_location() create_default_organisation() create_default_qr_code() create_qr_code_without_box() create_default_users() create_default_usergroup() create_default_usergroup_access_level() create_default_usergroup_base_access_list() create_default_product() create_default_product_category() create_default_product_gender() create_default_size_range()
39.969697
80
0.8605
182
1,319
5.71978
0.153846
0.349664
0.255524
0.074928
0.211335
0.147935
0.07877
0.07877
0.07877
0
0
0
0.103108
1,319
32
81
41.21875
0.879966
0
0
0
0
0
0
0
0
0
0
0
0
1
0.033333
true
0
0.466667
0
0.5
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
c57b00dda590f9352bf3e01ae5183ce3d5470865
755
py
Python
ProjectCentricMail/models.py
AadityaDeshpande/Project-centric-mail
14d7180f5c37f9e2b0104b905e06b8b3ac1695d5
[ "MIT" ]
2
2018-09-26T07:50:55.000Z
2019-02-13T14:25:54.000Z
ProjectCentricMail/models.py
AadityaDeshpande/Project-centric-mail
14d7180f5c37f9e2b0104b905e06b8b3ac1695d5
[ "MIT" ]
null
null
null
ProjectCentricMail/models.py
AadityaDeshpande/Project-centric-mail
14d7180f5c37f9e2b0104b905e06b8b3ac1695d5
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class MessageInfo(models.Model): m_id = models.CharField(max_length=32) Sender = models.CharField(max_length=2048) Subject = models.CharField(max_length=128) Date = models.DateField() Snippet = models.CharField(max_length=512) Message_body = models.CharField(max_length=8192) Username = models.CharField(max_length=128) class ProjectClassify(models.Model): m_id = models.ForeignKey(MessageInfo, on_delete=models.CASCADE) Spam = models.NullBooleanField() Formal = models.NullBooleanField() Project = models.CharField(max_length=32) class ProjectNames(models.Model): username = models.CharField(max_length=32) projectname = models.CharField(max_length=32)
34.318182
66
0.762914
95
755
5.926316
0.421053
0.239787
0.287744
0.383659
0.369449
0
0
0
0
0
0
0.038168
0.13245
755
21
67
35.952381
0.821374
0.031788
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.058824
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
c59ec261be5a6da5d66d544495a47f45ec2a6328
333
py
Python
testcase/PageObjects1/google.py
FleyFawkes/SeleniumPython
99d013adc79fc126a19b3e1cac5540897f37a11a
[ "MIT" ]
1
2021-08-30T09:57:00.000Z
2021-08-30T09:57:00.000Z
testcase/PageObjects1/google.py
bg-portfolio/bg-portfolio_pytest_selenium
f3869ac2200bc8d225932432d14081a01d345582
[ "MIT" ]
null
null
null
testcase/PageObjects1/google.py
bg-portfolio/bg-portfolio_pytest_selenium
f3869ac2200bc8d225932432d14081a01d345582
[ "MIT" ]
1
2021-08-09T06:39:59.000Z
2021-08-09T06:39:59.000Z
from selenium.webdriver.common.keys import Keys class HomePage: def __init__(self, driver): self.driver = driver def type_search(self, text): return self.driver.find_element_by_name('g').send_keys(text) def type_enter(self): return self.driver.find_element_by_name('g').send_keys(Keys.ENTER)
23.785714
74
0.705706
48
333
4.604167
0.479167
0.180995
0.144796
0.180995
0.380091
0.380091
0.380091
0.380091
0.380091
0.380091
0
0
0.186186
333
13
75
25.615385
0.815498
0
0
0
0
0
0.006006
0
0
0
0
0
0
1
0.375
false
0
0.125
0.25
0.875
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
c5c39d6b9fb03292e9f0c616f81f76946445cc4f
272
py
Python
telebot/qclient.py
linyuan0213/qb-bot
be8a172d7d72a7e3878f89ba341c3b5f36e3d76c
[ "MIT" ]
3
2021-08-28T18:14:54.000Z
2022-01-19T18:22:59.000Z
telebot/qclient.py
linyuan0213/qb-bot
be8a172d7d72a7e3878f89ba341c3b5f36e3d76c
[ "MIT" ]
null
null
null
telebot/qclient.py
linyuan0213/qb-bot
be8a172d7d72a7e3878f89ba341c3b5f36e3d76c
[ "MIT" ]
1
2021-07-16T08:37:03.000Z
2021-07-16T08:37:03.000Z
from config.config import conf from qb.qb import QClient host = conf.get_conf()['qbittorrent']['host'] username = conf.get_conf()['qbittorrent']['username'] passwd = conf.get_conf()['qbittorrent']['passwd'] qclient = QClient(host=host, username=username, passwd=passwd)
30.222222
62
0.742647
36
272
5.527778
0.305556
0.105528
0.165829
0.331658
0
0
0
0
0
0
0
0
0.088235
272
8
63
34
0.802419
0
0
0
0
0
0.1875
0
0
0
0
0
0
1
0
false
0.333333
0.333333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
4
c5e075efd6a59c752c11306cd2ee9a2d122d6994
312
py
Python
tools_box/_production/doctype/production_yield_control_form/test_production_yield_control_form.py
maisonarmani/Tools-Box
a2226940afdf0291f031008be1af953d2360acdf
[ "MIT" ]
4
2017-09-25T23:34:08.000Z
2020-07-17T23:52:26.000Z
tools_box/_production/doctype/production_yield_control_form/test_production_yield_control_form.py
maisonarmani/Tools-Box
a2226940afdf0291f031008be1af953d2360acdf
[ "MIT" ]
null
null
null
tools_box/_production/doctype/production_yield_control_form/test_production_yield_control_form.py
maisonarmani/Tools-Box
a2226940afdf0291f031008be1af953d2360acdf
[ "MIT" ]
5
2017-06-02T01:58:32.000Z
2022-02-22T16:59:01.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2015, bobzz.zone@gmail.com and Contributors # See license.txt from __future__ import unicode_literals import frappe import unittest # test_records = frappe.get_test_records('Production Yield Control Form') class TestProductionYieldControlForm(unittest.TestCase): pass
24
73
0.788462
39
312
6.102564
0.846154
0.092437
0
0
0
0
0
0
0
0
0
0.018182
0.11859
312
12
74
26
0.847273
0.535256
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.2
0.6
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
4
a83f3dff8c73651dfc543b5ea289a0eba94bd146
9,240
py
Python
gpMgmt/bin/gpload_test/gpload2/TEST_local_sql.py
bradfordb-vmware/gpdb
5cc23bd1df4133aaa7a80174f5b0950933a83cc2
[ "PostgreSQL", "Apache-2.0" ]
5,535
2015-10-28T01:05:40.000Z
2022-03-30T13:46:53.000Z
gpMgmt/bin/gpload_test/gpload2/TEST_local_sql.py
bradfordb-vmware/gpdb
5cc23bd1df4133aaa7a80174f5b0950933a83cc2
[ "PostgreSQL", "Apache-2.0" ]
9,369
2015-10-28T07:48:01.000Z
2022-03-31T23:56:42.000Z
gpMgmt/bin/gpload_test/gpload2/TEST_local_sql.py
bradfordb-vmware/gpdb
5cc23bd1df4133aaa7a80174f5b0950933a83cc2
[ "PostgreSQL", "Apache-2.0" ]
1,800
2015-10-28T01:08:25.000Z
2022-03-29T13:29:36.000Z
#!/usr/bin/env pytest from TEST_local_base import write_config_file, psql_run, mkpath from TEST_local_base import prepare_before_test, drop_tables, runfile from TEST_local_base import runfile, copy_data, run @prepare_before_test(num=651,times=1) def test_651_gpload_sql_before_success(): "651 gpload executes `before sql` successfully" file = mkpath('setup.sql') runfile(file) f = open(mkpath('query651.sql'),'a') f.write("\\! psql -d reuse_gptest -c 'SELECT COUNT(*) FROM test_651'") f.close() sql = '''CREATE TABLE texttable_651 ( s1 text, s2 text, s3 text, dt timestamp, n1 smallint, n2 integer, n3 bigint, n4 decimal, n5 numeric, n6 real, n7 double precision) DISTRIBUTED BY (n1); CREATE TABLE test_651 (c1 int);''' (ok, out) = psql_run(cmd=sql,dbname='reuse_gptest') if not ok: raise Exception("Unable to execute sql %s" % out) write_config_file(format='text',table='texttable_651',sql=True,before="INSERT INTO test_651 VALUES(1)") @prepare_before_test(num=652, times=1) def test_652_gpload_sql_before_fail(): "652 gpload fails to execute `before sql`" file = mkpath('setup.sql') runfile(file) sql = '''CREATE TABLE texttable_652 (c1 int);''' (ok, out) = psql_run(cmd=sql,dbname='reuse_gptest') if not ok: raise Exception("Unable to execute sql %s" % out) write_config_file(format='text',table='texttable_652',sql=True,before="INSERT INTO test_652 VALUES(1)") @prepare_before_test(num=653, times=1) def test_653_gpload_sql_before_creating_table(): "653 gpload creates target table in `before sql`" # Actually, gpload doesn't support doing this # as it firstly checks if the target table exists, # then executes the 'before sql' file = mkpath('setup.sql') runfile(file) sql = '''CREATE TABLE texttable_653 (c1 int);''' write_config_file(format='text',table='texttable_653',sql=True,before=sql) @prepare_before_test(num=661, times=1) def test_661_gpload_sql_after_success(): "661 gpload executes `after sql` successfully" file = mkpath('setup.sql') runfile(file) f = open(mkpath('query661.sql'),'a') f.write("\\! psql -d reuse_gptest -c 'SELECT * FROM test_661'\n") f.write("\\! psql -d reuse_gptest -c 'SELECT COUNT(*) FROM texttable_661'\n") f.close() sql = '''CREATE TABLE texttable_661 ( s1 text, s2 text, s3 text, dt timestamp, n1 smallint, n2 integer, n3 bigint, n4 decimal, n5 numeric, n6 real, n7 double precision) DISTRIBUTED BY (n1); CREATE TABLE test_661(c1 int);''' (ok, out) = psql_run(cmd=sql,dbname='reuse_gptest') if not ok: raise Exception("Unable to execute sql %s" % out) write_config_file(format='text',table='texttable_661',sql=True,after="INSERT INTO test_661 VALUES(1)") @prepare_before_test(num=662,times=1) def test_662_gpload_sql_after_fail(): "662 gpload fails to execute `after sql`" file = mkpath('setup.sql') runfile(file) f = open(mkpath('query661.sql'),'a') f.write("\\! psql -d reuse_gptest -c 'SELECT * FROM test_662'") f.write("\\! psql -d reuse_gptest -c 'SELECT COUNT(*) texttable_662'\n") f.close() sql = '''CREATE TABLE texttable_662 ( s1 text, s2 text, s3 text, dt timestamp, n1 smallint, n2 integer, n3 bigint, n4 decimal, n5 numeric, n6 real, n7 double precision) DISTRIBUTED BY (n1);''' (ok, out) = psql_run(cmd=sql,dbname='reuse_gptest') if not ok: raise Exception("Unable to execute sql %s" % out) write_config_file(format='text',table='texttable_662',sql=True,after="INSERT INTO test_662 VALUES(1)") @prepare_before_test(num=663,times=1) def test_663_gpload_sql_before_after(): "663 gpload's before and after not in a transaction, both success" file = mkpath('setup.sql') runfile(file) f = open(mkpath('query663.sql'),'a') f.write("\\! psql -d reuse_gptest -c 'SELECT * FROM test_663_before'\n") f.write("\\! psql -d reuse_gptest -c 'SELECT * FROM test_663_after'\n") f.write("\\! psql -d reuse_gptest -c 'SELECT COUNT(*) FROM texttable_663'\n") f.close() sql = '''CREATE TABLE texttable_663 ( s1 text, s2 text, s3 text, dt timestamp, n1 smallint, n2 integer, n3 bigint, n4 decimal, n5 numeric, n6 real, n7 double precision) DISTRIBUTED BY (n1); CREATE TABLE test_663_before (c1 int); CREATE TABLE test_663_after (c1 int);''' (ok, out) = psql_run(cmd=sql,dbname='reuse_gptest') if not ok: raise Exception("Unable to execute sql %s" % out) write_config_file(format='text',table='texttable_663',sql=True,before="INSERT INTO test_663_before VALUES(1)",after="INSERT INTO test_663_after VALUES(2)") @prepare_before_test(num=664,times=1) def test_664_gpload_sql_before_after(): "664 gpload's before and after not in a transaction, before sql fails" file = mkpath('setup.sql') runfile(file) f = open(mkpath('query664.sql'),'a') f.write("\\! psql -d reuse_gptest -c 'SELECT * FROM test_664_before'\n") f.write("\\! psql -d reuse_gptest -c 'SELECT * FROM test_664_after'\n") f.write("\\! psql -d reuse_gptest -c 'SELECT COUNT(*) FROM texttable_664'\n") f.close() sql = '''CREATE TABLE texttable_664 ( s1 text, s2 text, s3 text, dt timestamp, n1 smallint, n2 integer, n3 bigint, n4 decimal, n5 numeric, n6 real, n7 double precision) DISTRIBUTED BY (n1); CREATE TABLE test_664_before (c1 int); CREATE TABLE test_664_after (c1 int);''' (ok, out) = psql_run(cmd=sql,dbname='reuse_gptest') if not ok: raise Exception("Unable to execute sql %s" % out) write_config_file(format='text',table='texttable_664',sql=True,before="INSERT INTO test_664_before VALUES('a')",after="INSERT INTO test_664_after VALUES(2)") @prepare_before_test(num=665,times=1) def test_665_gpload_sql_before_after(): "665 gpload's before and after not in a transaction, after sql fails" file = mkpath('setup.sql') runfile(file) f = open(mkpath('query665.sql'),'a') f.write("\\! psql -d reuse_gptest -c 'SELECT * FROM test_665_before'\n") f.write("\\! psql -d reuse_gptest -c 'SELECT * FROM test_665_after'\n") f.write("\\! psql -d reuse_gptest -c 'SELECT COUNT(*) FROM texttable_665'\n") f.close() sql = '''CREATE TABLE texttable_665 ( s1 text, s2 text, s3 text, dt timestamp, n1 smallint, n2 integer, n3 bigint, n4 decimal, n5 numeric, n6 real, n7 double precision) DISTRIBUTED BY (n1); CREATE TABLE test_665_before (c1 int); CREATE TABLE test_665_after (c1 int);''' (ok, out) = psql_run(cmd=sql,dbname='reuse_gptest') if not ok: raise Exception("Unable to execute sql %s" % out) write_config_file(format='text',table='texttable_665',sql=True,before="INSERT INTO test_665_before VALUES(1)",after="INSERT INTO test_665_after VALUES('a')") @prepare_before_test(num=666,times=1) def test_666_gpload_sql_before_after(): "666 gpload's before and after in a transaction, before sql fails" file = mkpath('setup.sql') runfile(file) f = open(mkpath('query666.sql'),'a') f.write("\\! psql -d reuse_gptest -c 'SELECT * FROM test_666_before'\n") f.write("\\! psql -d reuse_gptest -c 'SELECT * FROM test_666_after'\n") f.write("\\! psql -d reuse_gptest -c 'SELECT COUNT(*) FROM texttable_666'\n") f.close() sql = '''CREATE TABLE texttable_666 ( s1 text, s2 text, s3 text, dt timestamp, n1 smallint, n2 integer, n3 bigint, n4 decimal, n5 numeric, n6 real, n7 double precision) DISTRIBUTED BY (n1); CREATE TABLE test_666_before (c1 int); CREATE TABLE test_666_after (c1 int);''' (ok, out) = psql_run(cmd=sql,dbname='reuse_gptest') if not ok: raise Exception("Unable to execute sql %s" % out) write_config_file(mode='merge',format='text',table='texttable_666',sql=True,before="INSERT INTO test_666_before VALUES('a')",after="INSERT INTO test_666_after VALUES(2)") @prepare_before_test(num=667,times=1) def test_667_gpload_sql_before_after(): "667 gpload's before and after in a transaction, after sql fails" file = mkpath('setup.sql') runfile(file) f = open(mkpath('query667.sql'),'a') f.write("\\! psql -d reuse_gptest -c 'SELECT * FROM test_667_before'\n") f.write("\\! psql -d reuse_gptest -c 'SELECT * FROM test_667_after'\n") f.write("\\! psql -d reuse_gptest -c 'SELECT COUNT(*) FROM texttable_667'\n") f.close() sql = '''CREATE TABLE texttable_667 ( s1 text, s2 text, s3 text, dt timestamp, n1 smallint, n2 integer, n3 bigint, n4 decimal, n5 numeric, n6 real, n7 double precision) DISTRIBUTED BY (n1); CREATE TABLE test_667_before (c1 int); CREATE TABLE test_667_after (c1 int);''' (ok, out) = psql_run(cmd=sql,dbname='reuse_gptest') if not ok: raise Exception("Unable to execute sql %s" % out) write_config_file(mode='merge',format='text',table='texttable_667',sql=True,before="INSERT INTO test_667_before VALUES(1)",after="INSERT INTO test_667_after VALUES('a')")
51.049724
174
0.669805
1,410
9,240
4.220567
0.092908
0.053604
0.033608
0.036969
0.819022
0.807427
0.722064
0.6367
0.629642
0.602756
0
0.058412
0.195887
9,240
180
175
51.333333
0.74253
0.075216
0
0.439024
0
0.04878
0.58106
0
0
0
0
0
0
1
0.060976
false
0
0.018293
0
0.079268
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
a84c6ec8b1a98648ce4d26477ec2a44319274e2b
7,262
py
Python
selenium-test/tests/test_se.py
silinternational/idp-pw-ui
b90bfff31bc260a217ea12ad58c70dcb443b154f
[ "MIT" ]
2
2017-04-03T14:22:35.000Z
2020-07-26T17:59:13.000Z
selenium-test/tests/test_se.py
silinternational/idp-pw-ui
b90bfff31bc260a217ea12ad58c70dcb443b154f
[ "MIT" ]
32
2016-06-03T19:54:24.000Z
2019-07-09T19:15:15.000Z
selenium-test/tests/test_se.py
silinternational/idp-pw-ui
b90bfff31bc260a217ea12ad58c70dcb443b154f
[ "MIT" ]
6
2016-04-11T18:17:03.000Z
2016-07-27T14:18:59.000Z
from .base_test import * import time @on_platforms(browsers) class SeTest(BaseTest): def assertTextByTag(self, tag, text): max_attempts = 60 while (max_attempts > 0): try: name = self.driver.find_element_by_tag_name(tag) assert text in name.text return True except: time.sleep(1) max_attempts -= 1 raise AssertionError def assertTextById(self, html_id, text): max_attempts = 60 while (max_attempts > 0): try: name = self.driver.find_element_by_id(html_id) assert text in name.text return True except: time.sleep(1) max_attempts -= 1 raise AssertionError def clickButtonById(self, html_id): max_attempts = 60 while (max_attempts > 0): try: self.driver.find_element_by_id(html_id).click() return True except: time.sleep(1) max_attempts -= 1 raise AssertionError def clickButtonByCssSelector(self, css_selector, index): max_attempts = 60 while (max_attempts > 0): try: self.driver.find_elements_by_css_selector(css_selector)[index].click() return True except: time.sleep(1) max_attempts -= 1 raise AssertionError @classmethod def setup_class(cls): BaseTest.setup_class() global profileUrl global forgotUrl profileUrl = os.environ.get('PROFILE_URL', 'http://localhost:9000/#/profile') forgotUrl = os.environ.get('FORGOT_URL', 'http://localhost:9000/#/forgot') # TEST - CHANGE PASSWORD def test_changePassword(self): self.driver.get(profileUrl) self.clickButtonById('change-btn') self.assertTextByTag('h2', 'Change password') element = self.driver.find_element_by_id("password") element.send_keys("askldjfiaweurxvk234") element = self.driver.find_element_by_id("pwagain") element.send_keys("askldjfiaweurxvk234") self.clickButtonById('change-btn') self.assertTextById('successful-header', 'Update successful') self.clickButtonById('ok-btn') self.assertTextById('name-header', 'Lorem Ipsum') self.clickButtonById('change-btn') self.clickButtonById('cancel-btn') self.assertTextById('name-header', 'Lorem Ipsum') # TEST - RESET PASSWORD (USE ALTERNATE METHODS) def test_resetPassword1(self): self.driver.get(forgotUrl) self.assertTextById('forgot-description', 'ACME Inc') self.assertTextById('hint-label', 'Acme username, ex: first_last') element = self.driver.find_element_by_id("username") element.send_keys("username1") self.clickButtonById('continue-btn') self.assertTextById('reset-header', 'Password reset email sent') self.clickButtonById('methods-btn') self.assertTextByTag('h2', 'Alternate verification') self.clickButtonByCssSelector('button.md-icon-button', 0) self.clickButtonById('close-dialog') self.clickButtonByCssSelector('button.md-icon-button', 0) self.assertTextById('verification-header', 'Verification code sent') element = self.driver.find_element_by_name("verificationCode") element.send_keys("123") self.clickButtonById('verify-btn') self.assertTextByTag('h2', 'Change password') # TEST - RESET PASSWORD (RESEND) def test_resetPassword2(self): self.driver.get(forgotUrl) self.assertTextById('forgot-description', 'ACME Inc') element = self.driver.find_element_by_id("username") element.send_keys("username1") self.clickButtonById('continue-btn') self.assertTextById('reset-header', 'Password reset email sent') self.clickButtonById('resend-btn') self.assertTextById('reset-header', 'Password reset email sent') # TEST - RESET PASSWORD def test_resetPassword3(self): self.driver.get(forgotUrl) self.assertTextById('forgot-description', 'ACME Inc') element = self.driver.find_element_by_id("username") element.send_keys("username1") self.clickButtonById('continue-btn') self.assertTextById('reset-header', 'Password reset email sent') self.clickButtonById('done-btn') self.assertTextById('name-header', 'Lorem Ipsum') # TEST - ADD RECOVERY METHOD (EMAIL) def test_addEmailRecoveryMethod(self): self.driver.get(profileUrl) self.clickButtonById('add-btn') self.assertTextByTag('h2', 'Add recovery method') element = self.driver.find_element_by_id("email") element.send_keys("a@b.com") time.sleep(1) self.clickButtonById('add-btn') self.assertTextByTag('h2', 'Verify code') self.clickButtonById('resend-btn') self.assertTextByTag('h2', 'Verify code') element = self.driver.find_element_by_name("verificationCode") element.send_keys("123") self.clickButtonById('verify-btn') self.assertTextById('successful-header', 'Update successful') self.clickButtonById('ok-btn') self.assertTextById('name-header', 'Lorem Ipsum') self.clickButtonById('add-btn') self.clickButtonById('cancel-btn') self.assertTextById('name-header', 'Lorem Ipsum') # TEST - ADD RECOVERY METHOD (PHONE) def test_addPhoneRecoveryMethod(self): self.driver.get(profileUrl) self.clickButtonById('add-btn') self.assertTextByTag('h2', 'Add recovery method') self.driver.find_elements_by_tag_name('md-radio-button')[1].click() element = self.driver.find_element_by_id("phone") element.send_keys("7777777777") self.clickButtonById('add-btn') self.assertTextByTag('h2', 'Verify code') element = self.driver.find_element_by_name("verificationCode") element.send_keys("123") self.clickButtonById('verify-btn') self.assertTextById('successful-header', 'Update successful') self.clickButtonById('ok-btn') self.assertTextById('name-header', 'Lorem Ipsum') # TEST - DELETE RECOVERY METHOD def test_deleteRecoveryMethod(self): self.driver.get(profileUrl) self.clickButtonByCssSelector('button.md-icon-button', 0) self.assertTextById('sure-header', 'Are you sure?') self.driver.find_element_by_css_selector('button.md-warn').click() self.assertTextById('name-header', 'Lorem Ipsum') self.clickButtonByCssSelector('button.md-icon-button', 0) self.assertTextById('sure-header', 'Are you sure?') self.driver.find_element_by_css_selector('button.md-accent').click() self.assertTextById('name-header', 'Lorem Ipsum') # TEST - HELP CENTER def test_helpCenter(self): self.driver.get(profileUrl) self.clickButtonByCssSelector('a.md-icon-button', 0) self.assertTextById('help-header', 'Help center') if __name__ == '__main__': unittest.main()
40.569832
86
0.641008
776
7,262
5.860825
0.171392
0.054969
0.052331
0.069261
0.753958
0.730871
0.708883
0.632806
0.615215
0.5719
0
0.013428
0.241118
7,262
178
87
40.797753
0.811831
0.033049
0
0.703226
0
0
0.204763
0.011978
0
0
0
0
0.251613
1
0.083871
false
0.070968
0.012903
0
0.129032
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
a85bcb25b96b76bab2696a1251b46ec558edcda7
80
py
Python
Pilhas e Listas/05.py
HugoLeda/EstruturaDeDados
ed3b2489b7b1421ca8f8adf580aabaa967cf4a25
[ "MIT" ]
null
null
null
Pilhas e Listas/05.py
HugoLeda/EstruturaDeDados
ed3b2489b7b1421ca8f8adf580aabaa967cf4a25
[ "MIT" ]
null
null
null
Pilhas e Listas/05.py
HugoLeda/EstruturaDeDados
ed3b2489b7b1421ca8f8adf580aabaa967cf4a25
[ "MIT" ]
null
null
null
# 5) Faça um programa que converta um número decimal para binário usando pilhas.
80
80
0.8
13
80
4.923077
0.923077
0
0
0
0
0
0
0
0
0
0
0.014925
0.1625
80
1
80
80
0.940299
0.975
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
a86871d7f1776679731d9183bfaa9ab5237cdb3d
228
py
Python
clients/serializers.py
cuauhtemoc-amdg/jsgrid-django
b0cf13ebc32d74be53e21090920f870e85418b26
[ "MIT" ]
null
null
null
clients/serializers.py
cuauhtemoc-amdg/jsgrid-django
b0cf13ebc32d74be53e21090920f870e85418b26
[ "MIT" ]
null
null
null
clients/serializers.py
cuauhtemoc-amdg/jsgrid-django
b0cf13ebc32d74be53e21090920f870e85418b26
[ "MIT" ]
null
null
null
from rest_framework import serializers from clients.models import Client class ClientSerializer(serializers.ModelSerializer): class Meta: model = Client fields = ('id', 'name', 'age', 'address', 'married')
25.333333
60
0.701754
24
228
6.625
0.791667
0
0
0
0
0
0
0
0
0
0
0
0.192982
228
8
61
28.5
0.86413
0
0
0
0
0
0.100877
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
a872b6ea13362c498e04fa4b9d20204e592c6501
992
py
Python
test/test_advancable_paths.py
techrabbit58/Exercise
3aee04e032652ab570fe1065eef930d7aaaa0361
[ "Unlicense" ]
null
null
null
test/test_advancable_paths.py
techrabbit58/Exercise
3aee04e032652ab570fe1065eef930d7aaaa0361
[ "Unlicense" ]
1
2021-09-19T18:04:40.000Z
2021-09-19T18:50:26.000Z
test/test_advancable_paths.py
techrabbit58/Exercise
3aee04e032652ab570fe1065eef930d7aaaa0361
[ "Unlicense" ]
null
null
null
"""Unit tests for module traversable_paths""" import pytest from traversable_paths import * def test_none_path_gives_type_error(): with pytest.raises(TypeError): is_traversable_path(None) def test_string_in_path_gives_type_error(): with pytest.raises(TypeError): is_traversable_path(['one', 2, 3]) def test_positive_floats_in_path_are_ok(): assert is_traversable_path([1.0, 1.3, 1.9]) def test_negative_advance_is_value_error(): with pytest.raises(ValueError): is_traversable_path([-1, 2, 3]) with pytest.raises(ValueError): is_traversable_path([1, -2.3, 5]) def test_empty_path_always_traversable(): assert is_traversable_path([]) def test_traversable_path(): assert is_traversable_path([3, 3, 1, 0, 2, 0, 1]) def test_non_traversable_path(): assert not is_traversable_path([3, 2, 0, 0, 2, 0, 1]) def test_one_more_traversable_path(): assert is_traversable_path([2, 4, 1, 1, 0, 2, 3]) # last line of code
22.545455
57
0.714718
154
992
4.246753
0.311688
0.275229
0.233945
0.140673
0.474006
0.474006
0.324159
0.324159
0.324159
0.324159
0
0.043636
0.168347
992
43
58
23.069767
0.749091
0.058468
0
0.173913
0
0
0.003233
0
0
0
0
0
0.217391
1
0.347826
true
0
0.086957
0
0.434783
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
4
a8a6c374255310b516f210781bbb135075a2bb9d
47
py
Python
code/abc115_a_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/abc115_a_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/abc115_a_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
D=int(input()) print("Christmas"+" Eve"*(25-D))
23.5
32
0.617021
8
47
3.625
0.875
0
0
0
0
0
0
0
0
0
0
0.044444
0.042553
47
2
32
23.5
0.6
0
0
0
0
0
0.270833
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
4
a8b7f4d48819f2cd039d89fa855f5c1a7aca22ab
87
py
Python
emwiki/symbol/apps.py
seigodev/emwiki
4b41d2d74c4937cc3ef2093e6478cfb73e943b7f
[ "MIT" ]
2
2021-12-20T16:37:24.000Z
2021-12-21T00:43:17.000Z
emwiki/symbol/apps.py
seigodev/emwiki
4b41d2d74c4937cc3ef2093e6478cfb73e943b7f
[ "MIT" ]
101
2019-07-29T07:44:56.000Z
2022-03-31T04:11:04.000Z
emwiki/symbol/apps.py
seigodev/emwiki
4b41d2d74c4937cc3ef2093e6478cfb73e943b7f
[ "MIT" ]
11
2019-07-24T02:37:35.000Z
2021-12-09T05:24:31.000Z
from django.apps import AppConfig class SymbolConfig(AppConfig): name = 'symbol'
14.5
33
0.747126
10
87
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.172414
87
5
34
17.4
0.902778
0
0
0
0
0
0.068966
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
a8ca11c098fdb6d1df73c8a4bec3728b1ae153ae
170
py
Python
day_1/taking_user_input.py
anishLearnsToCode/ml-workshop-wac-2
9992acd30f4b74ce2debf0d5ff3d8a1b78b1163f
[ "MIT" ]
2
2021-01-06T14:20:43.000Z
2021-11-28T15:43:02.000Z
day_1/taking_user_input.py
anishLearnsToCode/ml-workshop-wac-2
9992acd30f4b74ce2debf0d5ff3d8a1b78b1163f
[ "MIT" ]
null
null
null
day_1/taking_user_input.py
anishLearnsToCode/ml-workshop-wac-2
9992acd30f4b74ce2debf0d5ff3d8a1b78b1163f
[ "MIT" ]
1
2021-01-13T14:08:31.000Z
2021-01-13T14:08:31.000Z
first_name = input('First Name:\t') last_name = input('Last Name:\t') # print(first_name) # print(last_name) # string concatenation print(first_name + ' ' + last_name)
18.888889
35
0.705882
25
170
4.56
0.32
0.315789
0.245614
0
0
0
0
0
0
0
0
0
0.135294
170
8
36
21.25
0.77551
0.323529
0
0
0
0
0.234234
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
763cc2f3a31f18c3e47e23a4c6fe456c380ba921
13
py
Python
demo2.py
wangganglizejun/demo12
38c54c9d79e5a54811bdce03e8fd6f3d44e11d22
[ "MIT" ]
null
null
null
demo2.py
wangganglizejun/demo12
38c54c9d79e5a54811bdce03e8fd6f3d44e11d22
[ "MIT" ]
null
null
null
demo2.py
wangganglizejun/demo12
38c54c9d79e5a54811bdce03e8fd6f3d44e11d22
[ "MIT" ]
null
null
null
number = 23
4.333333
11
0.615385
2
13
4
1
0
0
0
0
0
0
0
0
0
0
0.222222
0.307692
13
2
12
6.5
0.666667
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
7661411956af59faa804e7084078d98694904cb9
6,290
py
Python
integration_tests/test_index_datasets_search.py
AMA-AC/datacube-core
0d2fe0792cb9298cc93d1a97bbb921cfa59d6f2d
[ "Apache-2.0" ]
2
2019-10-24T15:29:54.000Z
2019-10-24T15:29:58.000Z
integration_tests/test_index_datasets_search.py
AMA-AC/datacube-core
0d2fe0792cb9298cc93d1a97bbb921cfa59d6f2d
[ "Apache-2.0" ]
2
2021-03-26T00:37:36.000Z
2021-03-31T20:05:01.000Z
integration_tests/test_index_datasets_search.py
PhilipeRLeal/datacube-core
81bed714f2e5cb30a2492f1b0cf3397b79141c3a
[ "Apache-2.0" ]
null
null
null
import pytest from pathlib import PosixPath from integration_tests.test_full_ingestion import ensure_datasets_are_indexed @pytest.mark.parametrize('datacube_env_name', ('datacube',), indirect=True) @pytest.mark.usefixtures('default_metadata_type', 'indexed_ls5_scene_products') def test_index_datasets_search_light(index, tmpdir, clirunner, example_ls5_dataset_paths): def index_dataset(path): return clirunner(['dataset', 'add', str(path)]) def index_products(): valid_uuids = [] for uuid, ls5_dataset_path in example_ls5_dataset_paths.items(): valid_uuids.append(uuid) index_dataset(ls5_dataset_path) # Ensure that datasets are actually indexed ensure_datasets_are_indexed(index, valid_uuids) return valid_uuids valid_uuids = index_products() # Test derived properties such as 'extent' results = list(index.datasets.search_returning_datasets_light(field_names=('id', 'extent', 'time'), product='ls5_nbar_scene')) for dataset in results: assert dataset.id in valid_uuids # Assume projection is defined as # datum: GDA94 # ellipsoid: GRS80 # zone: -55 # for all datasets. This should give us epsg 28355 assert dataset.extent.crs.epsg == 28355 # test custom fields results = list(index.datasets.search_returning_datasets_light(field_names=('id', 'zone'), custom_offsets={'zone': ['grid_spatial', 'projection', 'zone']}, product='ls5_nbar_scene')) for dataset in results: assert dataset.zone == -55 # Test conditional queries involving custom fields results = list(index.datasets.search_returning_datasets_light(field_names=('id', 'zone'), custom_offsets={'zone': ['grid_spatial', 'projection', 'zone']}, product='ls5_nbar_scene', zone='-55')) assert len(results) > 0 results = list(index.datasets.search_returning_datasets_light(field_names=('id', 'zone'), custom_offsets={'zone': ['grid_spatial', 'projection', 'zone']}, product='ls5_nbar_scene', zone='-65')) assert len(results) == 0 # Test uris # Test datasets with just one uri location results_no_uri = list(index.datasets.search_returning_datasets_light(field_names=('id'), product='ls5_nbar_scene')) results_with_uri = list(index.datasets.search_returning_datasets_light(field_names=('id', 'uris'), product='ls5_nbar_scene')) assert len(results_no_uri) == len(results_with_uri) for result in results_with_uri: assert len(result.uris) == 1 # 'uri' field bahave same as 'uris' ('uri' could be deprecated!) results_with_uri = list(index.datasets.search_returning_datasets_light(field_names=('id', 'uri'), product='ls5_nbar_scene')) assert len(results_no_uri) == len(results_with_uri) for result in results_with_uri: assert len(result.uri) == 1 # Add a new uri to a dataset new_loc = PosixPath(tmpdir.strpath) / 'temp_location' / 'agdc-metadata.yaml' index.datasets.add_location(valid_uuids[0], new_loc.as_uri()) results_with_uri = list(index.datasets.search_returning_datasets_light(field_names=('id', 'uris'), product='ls5_nbar_scene', id=valid_uuids[0])) assert len(results_with_uri) == 1 assert len(results_with_uri[0].uris) == 2 results_with_uri = list(index.datasets.search_returning_datasets_light(field_names=('id', 'uri'), product='ls5_nbar_scene', id=valid_uuids[0])) assert len(results_with_uri) == 1 assert len(results_with_uri[0].uri) == 2 @pytest.mark.parametrize('datacube_env_name', ('datacube',), indirect=True) @pytest.mark.usefixtures('default_metadata_type', 'indexed_ls5_scene_products') def test_index_get_product_time_bounds(index, clirunner, example_ls5_dataset_paths): def index_dataset(path): return clirunner(['dataset', 'add', str(path)]) def index_products(): valid_uuids = [] for uuid, ls5_dataset_path in example_ls5_dataset_paths.items(): valid_uuids.append(uuid) index_dataset(ls5_dataset_path) # Ensure that datasets are actually indexed ensure_datasets_are_indexed(index, valid_uuids) return valid_uuids valid_uuids = index_products() # lets get time values dataset_times = list(index.datasets.search_returning_datasets_light(field_names=('time',), product='ls5_nbar_scene')) # get time bounds time_bounds = index.datasets.get_product_time_bounds(product='ls5_nbar_scene') left = sorted(dataset_times, key=lambda dataset: dataset.time.lower)[0].time.lower right = sorted(dataset_times, key=lambda dataset: dataset.time.upper)[-1].time.upper assert left == time_bounds[0] assert right == time_bounds[1]
48.015267
114
0.539905
631
6,290
5.082409
0.204437
0.043655
0.052385
0.06517
0.732148
0.723729
0.723729
0.723729
0.695666
0.678516
0
0.015194
0.372178
6,290
130
115
48.384615
0.796911
0.081876
0
0.686047
0
0
0.087357
0.016325
0
0
0
0
0.174419
1
0.069767
false
0
0.034884
0.023256
0.151163
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
766e6d653f9d028b2f8227e243e513e9c838fa6c
508
py
Python
tests/src/praxxis/notebook/test_search_notebook.py
blimongi/praxxis
4c2496c89d1d26d01b91896496342ca60f3d15ae
[ "MIT" ]
9
2019-07-31T23:50:16.000Z
2021-08-21T00:43:44.000Z
tests/src/praxxis/notebook/test_search_notebook.py
blimongi/praxxis
4c2496c89d1d26d01b91896496342ca60f3d15ae
[ "MIT" ]
22
2019-08-01T00:37:53.000Z
2020-03-31T05:01:57.000Z
tests/src/praxxis/notebook/test_search_notebook.py
blimongi/praxxis
4c2496c89d1d26d01b91896496342ca60f3d15ae
[ "MIT" ]
7
2020-01-03T02:28:36.000Z
2021-05-13T20:59:19.000Z
def test_search_notebook(setup, add_test_library, library_db, current_scene_db, query_start, query_end): import argparse from src.praxxis.notebook import search_notebook from tests.src.praxxis.util import dummy_object term = dummy_object.make_dummy_search() notebooks = search_notebook.search_notebook(term, library_db, current_scene_db, query_start, query_end) assert len(notebooks) == 2 ##TODO: add test for notebook returning 0 results def test_search_notebook_fail(): pass
36.285714
107
0.787402
73
508
5.150685
0.479452
0.18617
0.069149
0.111702
0.218085
0.218085
0.218085
0.218085
0.218085
0
0
0.004598
0.143701
508
14
108
36.285714
0.85977
0.09252
0
0
0
0
0
0
0
0
0
0.071429
0.111111
1
0.222222
false
0.111111
0.333333
0
0.555556
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
1
0
0
0
0
4
766fa64a435e43e56b4e19be5a105a1a58fe3654
146
py
Python
hrdc/usage/ordinal.py
fossabot/hrdc
740794c946e8d9f967318b1dfc18085448ca0f0c
[ "MIT" ]
13
2018-04-07T06:10:00.000Z
2022-02-18T04:24:32.000Z
hrdc/usage/ordinal.py
fossabot/hrdc
740794c946e8d9f967318b1dfc18085448ca0f0c
[ "MIT" ]
3
2019-07-29T03:06:07.000Z
2021-10-10T12:20:19.000Z
hrdc/usage/ordinal.py
fossabot/hrdc
740794c946e8d9f967318b1dfc18085448ca0f0c
[ "MIT" ]
4
2019-07-29T03:03:24.000Z
2021-10-10T12:15:25.000Z
from .usage import * def Ordinal(n): return Usage("ordinal.Ordinal(%d)" % int(n), 0xa0000 + int(n), CL) for i in range(128): Ordinal(i)
18.25
70
0.623288
24
146
3.791667
0.666667
0.087912
0
0
0
0
0
0
0
0
0
0.068376
0.19863
146
7
71
20.857143
0.709402
0
0
0
0
0
0.130137
0
0
0
0.047945
0
0
1
0.2
false
0
0.2
0.2
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
767eeb65f416f734e4163d5d4321a116923ad945
225
py
Python
combs/database/__init__.py
npolizzi/Combs
0757aa4c3903f511e779be0fb7fd6851aa3dad51
[ "MIT" ]
6
2020-09-08T08:29:54.000Z
2020-11-11T05:01:21.000Z
combs/database/__init__.py
npolizzi/Combs
0757aa4c3903f511e779be0fb7fd6851aa3dad51
[ "MIT" ]
1
2021-08-23T20:52:11.000Z
2021-08-23T20:52:11.000Z
combs/database/__init__.py
npolizzi/Combs
0757aa4c3903f511e779be0fb7fd6851aa3dad51
[ "MIT" ]
1
2020-11-02T21:06:15.000Z
2020-11-02T21:06:15.000Z
""" docstring """ __all__ = [] from . import stride __all__.append('stride') __all__.extend(stride.__all__) from . import dssp __all__.append('dssp') __all__.extend(dssp.__all__) from . import probe from . import pdbheader
15
30
0.737778
28
225
4.928571
0.357143
0.289855
0.282609
0
0
0
0
0
0
0
0
0
0.124444
225
15
31
15
0.700508
0.04
0
0
0
0
0.047847
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
76ae74cec1efc3bdec6a0e0eca55467abbd1b956
7,841
py
Python
apysc/__init__.py
simon-ritchie/action-py-script
f502ede320089562d77d13231e85e65b9de64938
[ "MIT" ]
null
null
null
apysc/__init__.py
simon-ritchie/action-py-script
f502ede320089562d77d13231e85e65b9de64938
[ "MIT" ]
16
2021-02-13T05:19:16.000Z
2021-02-23T11:40:18.000Z
apysc/__init__.py
simon-ritchie/action-py-script
f502ede320089562d77d13231e85e65b9de64938
[ "MIT" ]
null
null
null
from apysc._type.int import Int # isort:skip # noqa from apysc._type.number import Number # isort:skip # noqa from apysc._type.number import Number as Float # isort:skip # noqa from apysc._type.boolean import Boolean # isort:skip # noqa from apysc._type.string import String # isort:skip # noqa from apysc._type.array import Array # isort:skip # noqa from apysc._type.dictionary import Dictionary # isort:skip # noqa from apysc._type.any_value import AnyValue # isort:skip # noqa from apysc._branch._if import If # isort:skip # noqa from apysc._branch._elif import Elif # isort:skip # noqa from apysc._branch._else import Else # isort:skip # noqa from apysc._loop._for import For # isort:skip # noqa from apysc._loop._continue import Continue # isort:skip # noqa from apysc._display.display_object import DisplayObject # isort:skip # noqa from apysc._display._document import document # isort:skip # noqa from apysc._display.sprite import Sprite # isort:skip # noqa from apysc._display.graphics import Graphics # isort:skip # noqa from apysc._display.stage import Stage # isort:skip # noqa from apysc._display.stage import get_stage # isort:skip # noqa from apysc._display.rectangle import Rectangle # isort:skip # noqa from apysc._display.circle import Circle # isort:skip # noqa from apysc._display.ellipse import Ellipse # isort:skip # noqa from apysc._display.line import Line # isort:skip # noqa from apysc._display.polyline import Polyline # isort:skip # noqa from apysc._display.polygon import Polygon # isort:skip # noqa from apysc._display.line_caps import LineCaps # isort:skip # noqa from apysc._display.line_joints import LineJoints # isort:skip # noqa from apysc._display.line_dot_setting import LineDotSetting # isort:skip # noqa from apysc._display.line_dash_setting import LineDashSetting # isort:skip # noqa from apysc._display.line_round_dot_setting import LineRoundDotSetting # isort:skip # noqa from apysc._display.line_dash_dot_setting import LineDashDotSetting # isort:skip # noqa from apysc._display.path import Path # isort:skip # noqa from apysc._geom.point2d import Point2D # isort:skip # noqa from apysc._geom.path_label import PathLabel # isort:skip # noqa from apysc._geom.path_data_base import PathDataBase # isort:skip # noqa from apysc._geom.path_move_to import PathMoveTo # isort:skip # noqa from apysc._geom.path_line_to import PathLineTo # isort:skip # noqa from apysc._geom.path_horizontal import PathHorizontal # isort:skip # noqa from apysc._geom.path_vertical import PathVertical # isort:skip # noqa from apysc._geom.path_close import PathClose # isort:skip # noqa from apysc._geom.path_bezier_2d import PathBezier2D # isort:skip # noqa from apysc._geom.path_bezier_2d_continual import PathBezier2DContinual # isort:skip # noqa from apysc._geom.path_bezier_3d import PathBezier3D # isort:skip # noqa from apysc._geom.path_bezier_3d_continual import PathBezier3DContinual # isort:skip # noqa from apysc._geom.path_data import PathData # isort:skip # noqa from apysc._event.event import Event # isort:skip # noqa from apysc._event.mouse_event import MouseEvent # isort:skip # noqa from apysc._event.wheel_event import WheelEvent # isort:skip # noqa from apysc._event.timer_event import TimerEvent # isort:skip # noqa from apysc._event.animation_event import AnimationEvent # isort:skip # noqa from apysc._event.mouse_event_type import MouseEventType # isort:skip # noqa from apysc._console._trace import trace # isort:skip # noqa from apysc._console.assertion import assert_equal # isort:skip # noqa from apysc._console.assertion import assert_not_equal # isort:skip # noqa from apysc._console.assertion import assert_true # isort:skip # noqa from apysc._console.assertion import assert_false # isort:skip # noqa from apysc._console.assertion import assert_arrays_equal # isort:skip # noqa from apysc._console.assertion import assert_arrays_not_equal # isort:skip # noqa from apysc._console.assertion import assert_dicts_equal # isort:skip # noqa from apysc._console.assertion import assert_dicts_not_equal # isort:skip # noqa from apysc._console.assertion import assert_defined # isort:skip # noqa from apysc._console.assertion import assert_undefined # isort:skip # noqa from apysc._event.document_mouse_wheel_interface import bind_wheel_event_to_document # isort:skip # noqa from apysc._event.document_mouse_wheel_interface import unbind_wheel_event_all_from_document # isort:skip # noqa from apysc._event.document_mouse_wheel_interface import unbind_wheel_event_from_document # isort:skip # noqa from apysc._html.exporter import save_overall_html # isort:skip # noqa from apysc._expression.expression_data_util import append_js_expression # isort:skip # noqa from apysc._jupyter.jupyter_util import display_on_jupyter # isort:skip # noqa from apysc._jupyter.jupyter_util import display_on_colaboratory # isort:skip # noqa from apysc._time.fps import FPS # isort:skip # noqa from apysc._time.timer import Timer # isort:skip # noqa from apysc._html.debug_mode import set_debug_mode # isort:skip # noqa from apysc._html.debug_mode import unset_debug_mode # isort:skip # noqa from apysc._html.debug_mode import is_debug_mode # isort:skip # noqa from apysc._html.debug_mode import DebugInfo # isort:skip # noqa from apysc._type._return import Return # isort:skip # noqa from apysc._animation.easing import Easing # isort:skip # noqa from apysc._animation.animation_base import AnimationBase # isort:skip # noqa from apysc._animation.animation_move import AnimationMove # isort:skip # noqa from apysc._animation.animation_x import AnimationX # isort:skip # noqa from apysc._animation.animation_y import AnimationY # isort:skip # noqa from apysc._animation.animation_cx import AnimationCx # isort:skip # noqa from apysc._animation.animation_cy import AnimationCy # isort:skip # noqa from apysc._animation.animation_width import AnimationWidth # isort:skip # noqa from apysc._animation.animation_height import AnimationHeight # isort:skip # noqa from apysc._animation.animation_width_for_ellipse import AnimationWidthForEllipse # isort:skip # noqa from apysc._animation.animation_height_for_ellipse import AnimationHeightForEllipse # isort:skip # noqa from apysc._animation.animation_radius import AnimationRadius # isort:skip # noqa from apysc._animation.animation_fill_alpha import AnimationFillAlpha # isort:skip # noqa from apysc._animation.animation_fill_color import AnimationFillColor # isort:skip # noqa from apysc._animation.animation_line_color import AnimationLineColor # isort:skip # noqa from apysc._animation.animation_line_alpha import AnimationLineAlpha # isort:skip # noqa from apysc._animation.animation_line_thickness import AnimationLineThickness # isort:skip # noqa from apysc._animation.animation_skew_x import AnimationSkewX # isort:skip # noqa from apysc._animation.animation_skew_y import AnimationSkewY # isort:skip # noqa from apysc._animation.animation_rotation_around_center import AnimationRotationAroundCenter # isort:skip # noqa from apysc._animation.animation_rotation_around_point import AnimationRotationAroundPoint # isort:skip # noqa from apysc._animation.animation_scale_x_from_center import AnimationScaleXFromCenter # isort:skip # noqa from apysc._animation.animation_scale_y_from_center import AnimationScaleYFromCenter # isort:skip # noqa from apysc._animation.animation_scale_x_from_point import AnimationScaleXFromPoint # isort:skip # noqa from apysc._animation.animation_scale_y_from_point import AnimationScaleYFromPoint # isort:skip # noqa from apysc._animation.animation_parallel import AnimationParallel # isort:skip # noqa __version__: str = '0.61.2'
74.67619
114
0.802959
1,080
7,841
5.580556
0.160185
0.152315
0.22001
0.284885
0.663514
0.659864
0.525303
0.40219
0.271777
0.182346
0
0.002055
0.131233
7,841
104
115
75.394231
0.882707
0.221018
0
0
0
0
0.001035
0
0
0
0
0
0.097087
1
0
true
0
0.990291
0
0.990291
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
1
0
1
0
0
0
0
4
4f4eb8d8d42224bda168690dfe7b91e40e1b7665
99
py
Python
mixingdrinks/data/secret/rand.py
Kodsport/nova-challenge-2018
e9d5e3d63a79c2191ca55f48438344d8b7719d90
[ "Apache-2.0" ]
1
2019-09-13T13:38:16.000Z
2019-09-13T13:38:16.000Z
mixingdrinks/data/secret/rand.py
Kodsport/nova-challenge-2018
e9d5e3d63a79c2191ca55f48438344d8b7719d90
[ "Apache-2.0" ]
null
null
null
mixingdrinks/data/secret/rand.py
Kodsport/nova-challenge-2018
e9d5e3d63a79c2191ca55f48438344d8b7719d90
[ "Apache-2.0" ]
null
null
null
import random print(100000, 99999) for i in range(1,100000): print(i + 1, random.randint(1,i))
19.8
37
0.686869
18
99
3.777778
0.611111
0
0
0
0
0
0
0
0
0
0
0.240964
0.161616
99
4
38
24.75
0.578313
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
4f62ec8f0096a9cf6f0ceb1476f6e4f48e957d40
173
py
Python
Aula01.py
Gaybrou/V-tor
fbcf3a32b89381720a6f837bcdab613300fff82b
[ "MIT" ]
null
null
null
Aula01.py
Gaybrou/V-tor
fbcf3a32b89381720a6f837bcdab613300fff82b
[ "MIT" ]
null
null
null
Aula01.py
Gaybrou/V-tor
fbcf3a32b89381720a6f837bcdab613300fff82b
[ "MIT" ]
null
null
null
print(' Bem-vindo(a)') a = str(input('Qual é o seu nome ? ')) print('Parabés {}, você acabou de entrar no mundo python'.format(a))
57.666667
68
0.49711
23
173
3.73913
0.869565
0
0
0
0
0
0
0
0
0
0
0
0.358382
173
3
68
57.666667
0.774775
0
0
0
0
0
0.715116
0
0
0
0
0
0
1
0
false
0
0
0
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
4f7abcf63b276f349e638cb21dece1a96ff86ee3
22
py
Python
cufflinks/version.py
repath/cufflinks
457b5bba646ded2591b9076bca72d64ac4824092
[ "MIT" ]
null
null
null
cufflinks/version.py
repath/cufflinks
457b5bba646ded2591b9076bca72d64ac4824092
[ "MIT" ]
null
null
null
cufflinks/version.py
repath/cufflinks
457b5bba646ded2591b9076bca72d64ac4824092
[ "MIT" ]
null
null
null
__version__ = "0.17.2"
22
22
0.681818
4
22
2.75
1
0
0
0
0
0
0
0
0
0
0
0.2
0.090909
22
1
22
22
0.35
0
0
0
0
0
0.26087
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
4f94db0c0ba03e8d1e7e6958646d0e92c6c27c19
259
py
Python
django_sendgrid_tracking/admin.py
MattFanto/django-sendgrid-tracking
9438a8146a6522654bbd9e56d98555ab1b5374c6
[ "MIT" ]
5
2020-08-29T19:00:10.000Z
2020-10-20T00:11:27.000Z
django_sendgrid_tracking/admin.py
MattFanto/django-sendgrid-tracking
9438a8146a6522654bbd9e56d98555ab1b5374c6
[ "MIT" ]
3
2020-08-30T10:32:59.000Z
2020-12-17T23:08:12.000Z
django_sendgrid_tracking/admin.py
MattFanto/django-sendgrid-tracking
9438a8146a6522654bbd9e56d98555ab1b5374c6
[ "MIT" ]
null
null
null
from django.contrib import admin # Register your models here. from django_sendgrid_tracking.models import MailCategory, SentMail, SendGridNotification admin.site.register(MailCategory) admin.site.register(SentMail) admin.site.register(SendGridNotification)
28.777778
88
0.853282
30
259
7.3
0.5
0.123288
0.232877
0
0
0
0
0
0
0
0
0
0.07722
259
8
89
32.375
0.916318
0.100386
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
96d0ae08fb92cb1f3c57ef6da7582813f36bb41e
146,599
py
Python
app/script/genreClusterer.py
VanBronckhorst/VizProject3
b380cdca4f7dddbfc2297d2bfd3fb8912d9d4362
[ "Apache-2.0" ]
null
null
null
app/script/genreClusterer.py
VanBronckhorst/VizProject3
b380cdca4f7dddbfc2297d2bfd3fb8912d9d4362
[ "Apache-2.0" ]
null
null
null
app/script/genreClusterer.py
VanBronckhorst/VizProject3
b380cdca4f7dddbfc2297d2bfd3fb8912d9d4362
[ "Apache-2.0" ]
null
null
null
__author__ = 'Filippo' from urllib2 import Request, urlopen, URLError ''' genresSim = {} print len(allGenres) keys= ['CFLBFVAPYPMUYTTSR','QVJX27LZP1Q9GYBYV','45PFVVAQZQJD5BIV5','PKT63BEXLXWEDVVKE','ZTFPNPKXWOQAHAG2G']; request = Request('http://developer.echonest.com/api/v4/genre/similar?api_key='+keys[0]+'&name=hard+rock') toRedo=[] for g in allGenres: g = g["name"] words = g.split(" ") q="" i=0 for w in words: q+=w i+=1 if (i!=len(words)): q+="+" print q request = Request('http://developer.echonest.com/api/v4/genre/similar?api_key='+keys[0]+'&name='+q) k = keys[0] keys.remove(k) keys.append(k) try: response = urlopen(request) sim = response.read() sim = eval(sim) for s in sim["response"]["genres"]: if not(s["name"] in genresSim.keys()): genresSim[s["name"]]=[] genresSim[s["name"]].append(g) except URLError, e: print "change key" toRedo.append(g) print genresSim,toRedo ''' allGenres = [{'name': 'a cappella'}, {'name': 'abstract'}, {'name': 'abstract beats'}, {'name': 'abstract hip hop'}, {'name': 'abstract idm'}, {'name': 'abstractro'}, {'name': 'accordion'}, {'name': 'acid house'}, {'name': 'acid jazz'}, {'name': 'acid techno'}, {'name': 'acousmatic'}, {'name': 'acoustic blues'}, {'name': 'acoustic pop'}, {'name': 'adult standards'}, {'name': 'african percussion'}, {'name': 'african rock'}, {'name': 'afrikaans'}, {'name': 'afrobeat'}, {'name': 'afrobeats'}, {'name': 'aggrotech'}, {'name': 'albanian pop'}, {'name': 'album rock'}, {'name': 'albuquerque indie'}, {'name': 'alternative americana'}, {'name': 'alternative country'}, {'name': 'alternative dance'}, {'name': 'alternative emo'}, {'name': 'alternative hardcore'}, {'name': 'alternative hip hop'}, {'name': 'alternative metal'}, {'name': 'alternative metalcore'}, {'name': 'alternative new age'}, {'name': 'alternative pop'}, {'name': 'alternative pop rock'}, {'name': 'alternative r&b'}, {'name': 'alternative rock'}, {'name': 'alternative roots rock'}, {'name': 'ambeat'}, {'name': 'ambient'}, {'name': 'ambient dub techno'}, {'name': 'ambient fusion'}, {'name': 'ambient idm'}, {'name': 'ambient psychill'}, {'name': 'ambient trance'}, {'name': 'anarcho-punk'}, {'name': 'andean'}, {'name': 'anime'}, {'name': 'anime score'}, {'name': 'anti-folk'}, {'name': 'antiviral pop'}, {'name': 'appalachian folk'}, {'name': 'arab folk'}, {'name': 'arab pop'}, {'name': 'arabesk'}, {'name': 'argentine indie'}, {'name': 'argentine reggae'}, {'name': 'argentine rock'}, {'name': 'armenian folk'}, {'name': 'art rock'}, {'name': 'athens indie'}, {'name': 'atmospheric black metal'}, {'name': 'atmospheric post rock'}, {'name': 'atmospheric post-metal'}, {'name': 'aussietronica'}, {'name': 'austindie'}, {'name': 'australian alternative rock'}, {'name': 'australian country'}, {'name': 'australian dance'}, {'name': 'australian hip hop'}, {'name': 'australian indie'}, {'name': 'australian pop'}, {'name': 'austrian hip hop'}, {'name': 'austropop'}, {'name': 'avant-garde'}, {'name': 'avant-garde jazz'}, {'name': 'avantgarde metal'}, {'name': 'axe'}, {'name': 'azonto'}, {'name': 'bachata'}, {'name': 'baile funk'}, {'name': 'balearic'}, {'name': 'balkan brass'}, {'name': 'banda'}, {'name': 'bangla'}, {'name': 'barbershop'}, {'name': 'barnemusikk'}, {'name': 'barnmusik'}, {'name': 'baroque'}, {'name': 'baroque ensemble'}, {'name': 'basque rock'}, {'name': 'bass music'}, {'name': 'bass trip'}, {'name': 'bassline'}, {'name': 'bay area hip hop'}, {'name': 'beach music'}, {'name': 'beatdown'}, {'name': 'beats & rhymes'}, {'name': 'bebop'}, {'name': 'belgian indie'}, {'name': 'belgian rock'}, {'name': 'belly dance'}, {'name': 'belorush'}, {'name': 'bemani'}, {'name': 'benga'}, {'name': 'bhangra'}, {'name': 'big band'}, {'name': 'big beat'}, {'name': 'big room'}, {'name': 'black death'}, {'name': 'black metal'}, {'name': 'black sludge'}, {'name': 'black thrash'}, {'name': 'blackgaze'}, {'name': 'blaskapelle'}, {'name': 'bluegrass'}, {'name': 'blues'}, {'name': 'blues-rock'}, {'name': 'blues-rock guitar'}, {'name': 'bmore'}, {'name': 'bolero'}, {'name': 'boogaloo'}, {'name': 'boogie-woogie'}, {'name': 'bossa nova'}, {'name': 'bossa nova jazz'}, {'name': 'boston rock'}, {'name': 'bounce'}, {'name': 'bouncy house'}, {'name': 'bow pop'}, {'name': 'boy band'}, {'name': 'brass band'}, {'name': 'brass ensemble'}, {'name': 'brazilian composition'}, {'name': 'brazilian gospel'}, {'name': 'brazilian hip hop'}, {'name': 'brazilian indie'}, {'name': 'brazilian pop music'}, {'name': 'brazilian punk'}, {'name': 'breakbeat'}, {'name': 'breakcore'}, {'name': 'breaks'}, {'name': 'brega'}, {'name': 'breton folk'}, {'name': 'brill building pop'}, {'name': 'british alternative rock'}, {'name': 'british blues'}, {'name': 'british brass band'}, {'name': 'british dance band'}, {'name': 'british folk'}, {'name': 'british indie rock'}, {'name': 'british invasion'}, {'name': 'britpop'}, {'name': 'broadway'}, {'name': 'broken beat'}, {'name': 'brooklyn indie'}, {'name': 'brostep'}, {'name': 'brutal death metal'}, {'name': 'brutal deathcore'}, {'name': 'bubble trance'}, {'name': 'bubblegum dance'}, {'name': 'bubblegum pop'}, {'name': 'bulgarian rock'}, {'name': 'byzantine'}, {'name': 'c-pop'}, {'name': 'c64'}, {'name': 'c86'}, {'name': 'cabaret'}, {'name': 'cajun'}, {'name': 'calypso'}, {'name': 'canadian country'}, {'name': 'canadian hip hop'}, {'name': 'canadian indie'}, {'name': 'canadian metal'}, {'name': 'canadian pop'}, {'name': 'candy pop'}, {'name': 'cantautor'}, {'name': 'cante flamenco'}, {'name': 'canterbury scene'}, {'name': 'cantopop'}, {'name': 'canzone napoletana'}, {'name': 'capoeira'}, {'name': 'carnatic'}, {'name': 'catstep'}, {'name': 'caucasian folk'}, {'name': 'ccm'}, {'name': 'ceilidh'}, {'name': 'cello'}, {'name': 'celtic'}, {'name': 'celtic christmas'}, {'name': 'celtic punk'}, {'name': 'celtic rock'}, {'name': 'central asian folk'}, {'name': 'chalga'}, {'name': 'chamber pop'}, {'name': 'chanson'}, {'name': 'chanson quebecois'}, {'name': 'chaotic black metal'}, {'name': 'chaotic hardcore'}, {'name': 'charred death'}, {'name': 'chicago blues'}, {'name': 'chicago house'}, {'name': 'chicago indie'}, {'name': 'chicago soul'}, {'name': 'chicano rap'}, {'name': "children's christmas"}, {'name': "children's music"}, {'name': 'chilean rock'}, {'name': 'chill groove'}, {'name': 'chill lounge'}, {'name': 'chill-out'}, {'name': 'chill-out trance'}, {'name': 'chillstep'}, {'name': 'chillwave'}, {'name': 'chinese indie rock'}, {'name': 'chinese opera'}, {'name': 'chinese traditional'}, {'name': 'chip hop'}, {'name': 'chiptune'}, {'name': 'choral'}, {'name': 'choro'}, {'name': 'christian alternative rock'}, {'name': 'christian christmas'}, {'name': 'christian dance'}, {'name': 'christian hardcore'}, {'name': 'christian hip hop'}, {'name': 'christian metal'}, {'name': 'christian music'}, {'name': 'christian punk'}, {'name': 'christian rock'}, {'name': 'christmas'}, {'name': 'christmas product'}, {'name': 'cinematic dubstep'}, {'name': 'clarinet'}, {'name': 'classic afrobeat'}, {'name': 'classic belgian pop'}, {'name': 'classic chinese pop'}, {'name': 'classic colombian pop'}, {'name': 'classic czech pop'}, {'name': 'classic danish pop'}, {'name': 'classic dutch pop'}, {'name': 'classic eurovision'}, {'name': 'classic finnish pop'}, {'name': 'classic finnish rock'}, {'name': 'classic french pop'}, {'name': 'classic funk rock'}, {'name': 'classic garage rock'}, {'name': 'classic italian pop'}, {'name': 'classic norwegian pop'}, {'name': 'classic peruvian pop'}, {'name': 'classic polish pop'}, {'name': 'classic psychedelic rock'}, {'name': 'classic rock'}, {'name': 'classic russian pop'}, {'name': 'classic russian rock'}, {'name': 'classic schlager'}, {'name': 'classic soundtrack'}, {'name': 'classic swedish pop'}, {'name': 'classic turkish pop'}, {'name': 'classic venezuelan pop'}, {'name': 'classical'}, {'name': 'classical christmas'}, {'name': 'classical flute'}, {'name': 'classical guitar'}, {'name': 'classical organ'}, {'name': 'classical performance'}, {'name': 'classical period'}, {'name': 'classical piano'}, {'name': 'college a cappella'}, {'name': 'college marching band'}, {'name': 'colombian rock'}, {'name': 'columbus ohio indie'}, {'name': 'comedy'}, {'name': 'comedy rock'}, {'name': 'comic'}, {'name': 'commons'}, {'name': 'complextro'}, {'name': 'composition d'}, {'name': 'concert piano'}, {'name': 'consort'}, {'name': 'contemporary classical'}, {'name': 'contemporary country'}, {'name': 'contemporary folk'}, {'name': 'contemporary jazz'}, {'name': 'contemporary post-bop'}, {'name': 'cool jazz'}, {'name': 'corrosion'}, {'name': 'corsican folk'}, {'name': 'country'}, {'name': 'country blues'}, {'name': 'country christmas'}, {'name': 'country dawn'}, {'name': 'country gospel'}, {'name': 'country road'}, {'name': 'country rock'}, {'name': 'coupe decale'}, {'name': 'coverchill'}, {'name': 'covertrance'}, {'name': 'cowboy western'}, {'name': 'cowpunk'}, {'name': 'crack rock steady'}, {'name': 'croatian pop'}, {'name': 'crossover prog'}, {'name': 'crossover thrash'}, {'name': 'crunk'}, {'name': 'crust punk'}, {'name': 'cryptic black metal'}, {'name': 'cuban rumba'}, {'name': 'cubaton'}, {'name': 'cumbia'}, {'name': 'cumbia funk'}, {'name': 'cumbia sonidera'}, {'name': 'cumbia villera'}, {'name': 'cyber metal'}, {'name': 'czech folk'}, {'name': 'czech rock'}, {'name': 'dallas indie'}, {'name': 'dance pop'}, {'name': 'dance rock'}, {'name': 'dance-punk'}, {'name': 'dancehall'}, {'name': 'dangdut'}, {'name': 'danish hip hop'}, {'name': 'danish indie'}, {'name': 'danish jazz'}, {'name': 'danish pop'}, {'name': 'danish pop rock'}, {'name': 'dansband'}, {'name': 'danseband'}, {'name': 'dansktop'}, {'name': 'dark ambient'}, {'name': 'dark black metal'}, {'name': 'dark cabaret'}, {'name': 'dark electro-industrial'}, {'name': 'dark hardcore'}, {'name': 'dark jazz'}, {'name': 'dark minimal techno'}, {'name': 'dark progressive house'}, {'name': 'dark psytrance'}, {'name': 'dark wave'}, {'name': 'darkstep'}, {'name': 'death core'}, {'name': 'death metal'}, {'name': 'deathgrind'}, {'name': 'deep acoustic pop'}, {'name': 'deep adult standards'}, {'name': 'deep alternative r&b'}, {'name': 'deep ambient'}, {'name': 'deep baroque'}, {'name': 'deep brazilian pop'}, {'name': 'deep breakcore'}, {'name': 'deep canadian indie'}, {'name': 'deep ccm'}, {'name': 'deep cello'}, {'name': 'deep chill'}, {'name': 'deep chill-out'}, {'name': 'deep christian rock'}, {'name': 'deep classic garage rock'}, {'name': 'deep classical piano'}, {'name': 'deep comedy'}, {'name': 'deep contemporary country'}, {'name': 'deep dance pop'}, {'name': 'deep darkpsy'}, {'name': 'deep deep house'}, {'name': 'deep deep tech house'}, {'name': 'deep delta blues'}, {'name': 'deep disco'}, {'name': 'deep disco house'}, {'name': 'deep discofox'}, {'name': 'deep downtempo fusion'}, {'name': 'deep dub techno'}, {'name': 'deep east coast hip hop'}, {'name': 'deep euro house'}, {'name': 'deep eurodance'}, {'name': 'deep filthstep'}, {'name': 'deep flow'}, {'name': 'deep folk metal'}, {'name': 'deep free jazz'}, {'name': 'deep freestyle'}, {'name': 'deep full on'}, {'name': 'deep funk'}, {'name': 'deep funk house'}, {'name': 'deep g funk'}, {'name': 'deep german indie'}, {'name': 'deep german punk'}, {'name': 'deep gothic post-punk'}, {'name': 'deep happy hardcore'}, {'name': 'deep hardcore'}, {'name': 'deep hardcore punk'}, {'name': 'deep hardstyle'}, {'name': 'deep house'}, {'name': 'deep indian pop'}, {'name': 'deep indie pop'}, {'name': 'deep indie rock'}, {'name': 'deep indie singer-songwriter'}, {'name': 'deep italo disco'}, {'name': 'deep jazz fusion'}, {'name': 'deep jazz guitar'}, {'name': 'deep jazz piano'}, {'name': 'deep latin alternative'}, {'name': 'deep liquid'}, {'name': 'deep liquid bass'}, {'name': 'deep melodic death metal'}, {'name': 'deep melodic hard rock'}, {'name': 'deep melodic house'}, {'name': 'deep melodic metalcore'}, {'name': 'deep minimal techno'}, {'name': 'deep motown'}, {'name': 'deep neo-synthpop'}, {'name': 'deep neofolk'}, {'name': 'deep new wave'}, {'name': 'deep nordic folk'}, {'name': 'deep northern soul'}, {'name': 'deep opera'}, {'name': 'deep orchestral'}, {'name': 'deep orgcore'}, {'name': 'deep pop emo'}, {'name': 'deep pop punk'}, {'name': 'deep power-pop punk'}, {'name': 'deep progressive house'}, {'name': 'deep progressive trance'}, {'name': 'deep psychobilly'}, {'name': 'deep psytrance'}, {'name': 'deep punk rock'}, {'name': 'deep ragga'}, {'name': 'deep rai'}, {'name': 'deep regional mexican'}, {'name': 'deep smooth jazz'}, {'name': 'deep soft rock'}, {'name': 'deep soul house'}, {'name': 'deep soundtrack'}, {'name': 'deep southern soul'}, {'name': 'deep space rock'}, {'name': 'deep string quartet'}, {'name': 'deep sunset lounge'}, {'name': 'deep surf music'}, {'name': 'deep symphonic black metal'}, {'name': 'deep talent show'}, {'name': 'deep tech house'}, {'name': 'deep thrash metal'}, {'name': 'deep trap'}, {'name': 'deep turkish pop'}, {'name': 'deep uplifting trance'}, {'name': 'deep vocal house'}, {'name': 'deep vocal jazz'}, {'name': 'delta blues'}, {'name': 'demoscene'}, {'name': 'denver indie'}, {'name': 'depressive black metal'}, {'name': 'desert blues'}, {'name': 'desi'}, {'name': 'destroy techno'}, {'name': 'detroit hip hop'}, {'name': 'detroit techno'}, {'name': 'didgeridoo'}, {'name': 'digital hardcore'}, {'name': 'dirty south rap'}, {'name': 'dirty texas rap'}, {'name': 'disco'}, {'name': 'disco house'}, {'name': 'discofox'}, {'name': 'dixieland'}, {'name': 'djent'}, {'name': 'dominican pop'}, {'name': 'doo-wop'}, {'name': 'doom metal'}, {'name': 'doomcore'}, {'name': 'doujin'}, {'name': 'downtempo'}, {'name': 'downtempo fusion'}, {'name': 'downtempo trip hop'}, {'name': 'drama'}, {'name': 'dream pop'}, {'name': 'dreamo'}, {'name': 'drill and bass'}, {'name': 'drone'}, {'name': 'drone folk'}, {'name': 'drone metal'}, {'name': 'drone psych'}, {'name': 'drum and bass'}, {'name': 'drumfunk'}, {'name': 'dub'}, {'name': 'dub techno'}, {'name': 'dubstep'}, {'name': 'dubstep product'}, {'name': 'dubsteppe'}, {'name': 'duranguense'}, {'name': 'dutch hip hop'}, {'name': 'dutch house'}, {'name': 'dutch pop'}, {'name': 'dutch rock'}, {'name': 'e6fi'}, {'name': 'early music'}, {'name': 'early music ensemble'}, {'name': 'east coast hip hop'}, {'name': 'easy listening'}, {'name': 'ebm'}, {'name': 'ectofolk'}, {'name': 'ecuadoria'}, {'name': 'edm'}, {'name': 'electric blues'}, {'name': 'electro'}, {'name': 'electro dub'}, {'name': 'electro house'}, {'name': 'electro jazz'}, {'name': 'electro latino'}, {'name': 'electro swing'}, {'name': 'electro trash'}, {'name': 'electro-industrial'}, {'name': 'electroacoustic improvisation'}, {'name': 'electroclash'}, {'name': 'electrofox'}, {'name': 'electronic'}, {'name': 'electronica'}, {'name': 'electronicore'}, {'name': 'electropowerpop'}, {'name': 'electropunk'}, {'name': 'emo'}, {'name': 'emo punk'}, {'name': 'enka'}, {'name': 'entehno'}, {'name': 'environmental'}, {'name': 'epicore'}, {'name': 'estonian pop'}, {'name': 'ethereal gothic'}, {'name': 'ethereal wave'}, {'name': 'etherpop'}, {'name': 'ethiopian pop'}, {'name': 'eurobeat'}, {'name': 'eurodance'}, {'name': 'europop'}, {'name': 'euroska'}, {'name': 'eurovision'}, {'name': 'exotica'}, {'name': 'experimental'}, {'name': 'experimental dubstep'}, {'name': 'experimental psych'}, {'name': 'experimental rock'}, {'name': 'fado'}, {'name': 'fake'}, {'name': 'fallen angel'}, {'name': 'faroese pop'}, {'name': 'fast melodic punk'}, {'name': 'fidget house'}, {'name': 'filmi'}, {'name': 'filter house'}, {'name': 'filthstep'}, {'name': 'fingerstyle'}, {'name': 'finnish hardcore'}, {'name': 'finnish hip hop'}, {'name': 'finnish indie'}, {'name': 'finnish jazz'}, {'name': 'finnish metal'}, {'name': 'finnish pop'}, {'name': 'flamenco'}, {'name': 'flick hop'}, {'name': 'folk'}, {'name': 'folk christmas'}, {'name': 'folk metal'}, {'name': 'folk punk'}, {'name': 'folk rock'}, {'name': 'folk-pop'}, {'name': 'folk-prog'}, {'name': 'folklore argentino'}, {'name': 'folkmusik'}, {'name': 'footwork'}, {'name': 'forro'}, {'name': 'fourth world'}, {'name': 'freak folk'}, {'name': 'freakbeat'}, {'name': 'free improvisation'}, {'name': 'free jazz'}, {'name': 'freestyle'}, {'name': 'french folk'}, {'name': 'french folk pop'}, {'name': 'french hip hop'}, {'name': 'french indie pop'}, {'name': 'french movie tunes'}, {'name': 'french pop'}, {'name': 'french punk'}, {'name': 'french reggae'}, {'name': 'french rock'}, {'name': 'full on'}, {'name': 'funeral doom'}, {'name': 'funk'}, {'name': 'funk carioca'}, {'name': 'funk metal'}, {'name': 'funk rock'}, {'name': 'funky breaks'}, {'name': 'future ambient'}, {'name': 'future garage'}, {'name': 'futurepop'}, {'name': 'g funk'}, {'name': 'gabba'}, {'name': 'galego'}, {'name': 'gamecore'}, {'name': 'gamelan'}, {'name': 'gangster rap'}, {'name': 'garage pop'}, {'name': 'garage punk'}, {'name': 'garage punk blues'}, {'name': 'garage rock'}, {'name': 'gauze pop'}, {'name': 'gbvfi'}, {'name': 'geek folk'}, {'name': 'geek rock'}, {'name': 'german ccm'}, {'name': 'german hip hop'}, {'name': 'german indie'}, {'name': 'german metal'}, {'name': 'german oi'}, {'name': 'german pop'}, {'name': 'german pop rock'}, {'name': 'german punk'}, {'name': 'german show tunes'}, {'name': 'german techno'}, {'name': 'ghettotech'}, {'name': 'ghoststep'}, {'name': 'girl group'}, {'name': 'glam metal'}, {'name': 'glam rock'}, {'name': 'glitch'}, {'name': 'glitch beats'}, {'name': 'glitch hop'}, {'name': 'glitter trance'}, {'name': 'goa trance'}, {'name': 'goregrind'}, {'name': 'gospel'}, {'name': 'gospel blues'}, {'name': 'gospel reggae'}, {'name': 'gothic alternative'}, {'name': 'gothic americana'}, {'name': 'gothic doom'}, {'name': 'gothic metal'}, {'name': 'gothic post-punk'}, {'name': 'gothic rock'}, {'name': 'gothic symphonic metal'}, {'name': 'grave wave'}, {'name': 'greek hip hop'}, {'name': 'greek house'}, {'name': 'greek indie'}, {'name': 'grim death metal'}, {'name': 'grime'}, {'name': 'grindcore'}, {'name': 'grisly death metal'}, {'name': 'groove metal'}, {'name': 'grunge'}, {'name': 'grunge pop'}, {'name': 'grupera'}, {'name': 'guidance'}, {'name': 'gypsy jazz'}, {'name': 'hands up'}, {'name': 'happy hardcore'}, {'name': 'hard alternative'}, {'name': 'hard bop'}, {'name': 'hard glam'}, {'name': 'hard house'}, {'name': 'hard rock'}, {'name': 'hard stoner rock'}, {'name': 'hard trance'}, {'name': 'hardcore'}, {'name': 'hardcore breaks'}, {'name': 'hardcore hip hop'}, {'name': 'hardcore punk'}, {'name': 'hardcore techno'}, {'name': 'hardstyle'}, {'name': 'harmonica blues'}, {'name': 'harp'}, {'name': 'hatecore'}, {'name': 'hauntology'}, {'name': 'hawaiian'}, {'name': 'healing'}, {'name': 'heavy alternative'}, {'name': 'heavy christmas'}, {'name': 'heavy gothic rock'}, {'name': 'hi nrg'}, {'name': 'highlife'}, {'name': 'hindustani classical'}, {'name': 'hip hop'}, {'name': 'hip hop quebecois'}, {'name': 'hip hop tuga'}, {'name': 'hip house'}, {'name': 'hip pop'}, {'name': 'hiplife'}, {'name': 'hoerspiel'}, {'name': 'hollywood'}, {'name': 'honky tonk'}, {'name': 'horror punk'}, {'name': 'horrorcore'}, {'name': 'house'}, {'name': 'hungarian hip hop'}, {'name': 'hungarian pop'}, {'name': 'hungarian rock'}, {'name': 'hurban'}, {'name': 'hyphy'}, {'name': 'icelandic pop'}, {'name': 'idol'}, {'name': 'illbient'}, {'name': 'indian classical'}, {'name': 'indian pop'}, {'name': 'indian rock'}, {'name': 'indie christmas'}, {'name': 'indie dream pop'}, {'name': 'indie emo'}, {'name': 'indie emo rock'}, {'name': 'indie folk'}, {'name': 'indie fuzzpop'}, {'name': 'indie pop'}, {'name': 'indie pop rock'}, {'name': 'indie post-punk'}, {'name': 'indie psych-pop'}, {'name': 'indie r&b'}, {'name': 'indie rock'}, {'name': 'indie shoegaze'}, {'name': 'indie singer-songwriter'}, {'name': 'indietronica'}, {'name': 'indonesian indie'}, {'name': 'indonesian pop'}, {'name': 'indorock'}, {'name': 'industrial'}, {'name': 'industrial metal'}, {'name': 'industrial rock'}, {'name': 'instrumental post rock'}, {'name': 'intelligent dance music'}, {'name': 'irish folk'}, {'name': 'irish indie'}, {'name': 'irish rock'}, {'name': 'iskelma'}, {'name': 'islamic recitation'}, {'name': 'israeli rock'}, {'name': 'italian disco'}, {'name': 'italian folk'}, {'name': 'italian hip hop'}, {'name': 'italian indie pop'}, {'name': 'italian jazz'}, {'name': 'italian pop'}, {'name': 'italian pop rock'}, {'name': 'italian progressive rock'}, {'name': 'italian punk'}, {'name': 'italo dance'}, {'name': 'j-alt'}, {'name': 'j-ambient'}, {'name': 'j-core'}, {'name': 'j-dance'}, {'name': 'j-idol'}, {'name': 'j-indie'}, {'name': 'j-metal'}, {'name': 'j-pop'}, {'name': 'j-poppunk'}, {'name': 'j-poprock'}, {'name': 'j-punk'}, {'name': 'j-rap'}, {'name': 'j-rock'}, {'name': 'j-theme'}, {'name': 'jam band'}, {'name': 'jangle pop'}, {'name': 'jangle rock'}, {'name': 'japanese jazztronica'}, {'name': 'japanese psychedelic'}, {'name': 'japanese r&b'}, {'name': 'japanese standards'}, {'name': 'japanese traditional'}, {'name': 'japanoise'}, {'name': 'jazz'}, {'name': 'jazz bass'}, {'name': 'jazz blues'}, {'name': 'jazz brass'}, {'name': 'jazz christmas'}, {'name': 'jazz funk'}, {'name': 'jazz fusion'}, {'name': 'jazz metal'}, {'name': 'jazz orchestra'}, {'name': 'jazz trio'}, {'name': 'jerk'}, {'name': 'jig and reel'}, {'name': 'judaica'}, {'name': 'jug band'}, {'name': 'juggalo'}, {'name': 'jump blues'}, {'name': 'jump up'}, {'name': 'jumpstyle'}, {'name': 'jungle'}, {'name': 'k-hop'}, {'name': 'k-indie'}, {'name': 'k-pop'}, {'name': 'k-rock'}, {'name': 'kabarett'}, {'name': 'karneval'}, {'name': 'kc indie'}, {'name': 'kindermusik'}, {'name': 'kirtan'}, {'name': 'kiwi rock'}, {'name': 'kizomba'}, {'name': 'klapa'}, {'name': 'klezmer'}, {'name': 'kompa'}, {'name': 'kraut rock'}, {'name': 'kuduro'}, {'name': 'kurdish folk'}, {'name': 'kwaito'}, {'name': 'la indie'}, {'name': 'laboratorio'}, {'name': 'laiko'}, {'name': 'latin'}, {'name': 'latin alternative'}, {'name': 'latin christian'}, {'name': 'latin christmas'}, {'name': 'latin electronica'}, {'name': 'latin hip hop'}, {'name': 'latin jazz'}, {'name': 'latin metal'}, {'name': 'latin pop'}, {'name': 'latvian pop'}, {'name': 'lds'}, {'name': 'leeds indie'}, {'name': 'levenslied'}, {'name': 'liedermacher'}, {'name': 'light music'}, {'name': 'lilith'}, {'name': 'liquid funk'}, {'name': 'lithumania'}, {'name': 'liturgical'}, {'name': 'lo star'}, {'name': 'lo-fi'}, {'name': 'louisiana blues'}, {'name': 'louisville indie'}, {'name': 'lounge'}, {'name': 'lounge house'}, {'name': 'lovers rock'}, {'name': 'lowercase'}, {'name': 'luk thung'}, {'name': 'madchester'}, {'name': 'maghreb'}, {'name': 'magyar'}, {'name': 'makossa'}, {'name': 'malagasy folk'}, {'name': 'malaysian pop'}, {'name': 'mallet'}, {'name': 'mambo'}, {'name': 'mande pop'}, {'name': 'mandopop'}, {'name': 'manele'}, {'name': 'marching band'}, {'name': 'mariachi'}, {'name': 'martial industrial'}, {'name': 'mashup'}, {'name': 'math pop'}, {'name': 'math rock'}, {'name': 'mathcore'}, {'name': 'mbalax'}, {'name': 'medieval'}, {'name': 'medieval rock'}, {'name': 'meditation'}, {'name': 'melancholia'}, {'name': 'melbourne bounce'}, {'name': 'mellow gold'}, {'name': 'melodic death metal'}, {'name': 'melodic hard rock'}, {'name': 'melodic hardcore'}, {'name': 'melodic metalcore'}, {'name': 'melodic power metal'}, {'name': 'melodic progressive metal'}, {'name': 'memphis blues'}, {'name': 'memphis hip hop'}, {'name': 'memphis soul'}, {'name': 'merengue'}, {'name': 'merengue urbano'}, {'name': 'merseybeat'}, {'name': 'metal'}, {'name': 'metal guitar'}, {'name': 'metalcore'}, {'name': 'metropopolis'}, {'name': 'mexican indie'}, {'name': 'mexican rock-and-roll'}, {'name': 'mexican son'}, {'name': 'mexican traditional'}, {'name': 'miami bass'}, {'name': 'michigan indie'}, {'name': 'microhouse'}, {'name': 'military band'}, {'name': 'minimal'}, {'name': 'minimal dub'}, {'name': 'minimal dubstep'}, {'name': 'minimal melodic techno'}, {'name': 'minimal tech house'}, {'name': 'minimal techno'}, {'name': 'minimal wave'}, {'name': 'mizrahi'}, {'name': 'mod revival'}, {'name': 'modern blues'}, {'name': 'modern classical'}, {'name': 'modern country rock'}, {'name': 'modern downshift'}, {'name': 'modern free jazz'}, {'name': 'modern performance'}, {'name': 'modern southern rock'}, {'name': 'modern uplift'}, {'name': 'monastic'}, {'name': 'moombahton'}, {'name': 'morna'}, {'name': 'motivation'}, {'name': 'motown'}, {'name': 'movie tunes'}, {'name': 'mpb'}, {'name': 'musica para ninos'}, {'name': 'musiikkia lapsille'}, {'name': 'musique concrete'}, {'name': 'musique pour enfants'}, {'name': 'muziek voor kinderen'}, {'name': 'nasheed'}, {'name': 'nashville sound'}, {'name': 'native american'}, {'name': 'necrogrind'}, {'name': 'neo classical metal'}, {'name': 'neo honky tonk'}, {'name': 'neo mellow'}, {'name': 'neo metal'}, {'name': 'neo soul'}, {'name': 'neo soul-jazz'}, {'name': 'neo-industrial rock'}, {'name': 'neo-pagan'}, {'name': 'neo-progressive'}, {'name': 'neo-psychedelic'}, {'name': 'neo-rockabilly'}, {'name': 'neo-singer-songwriter'}, {'name': 'neo-synthpop'}, {'name': 'neo-trad metal'}, {'name': 'neo-traditional country'}, {'name': 'neoclassical'}, {'name': 'neofolk'}, {'name': 'nepali'}, {'name': 'nerdcore'}, {'name': 'neue deutsche harte'}, {'name': 'neue deutsche welle'}, {'name': 'neurofunk'}, {'name': 'neurostep'}, {'name': 'new age'}, {'name': 'new age piano'}, {'name': 'new americana'}, {'name': 'new beat'}, {'name': 'new jack smooth'}, {'name': 'new jack swing'}, {'name': 'new orleans blues'}, {'name': 'new orleans jazz'}, {'name': 'new rave'}, {'name': 'new romantic'}, {'name': 'new tribe'}, {'name': 'new wave'}, {'name': 'new wave pop'}, {'name': 'new weird america'}, {'name': 'ninja'}, {'name': 'nintendocore'}, {'name': 'nl folk'}, {'name': 'no wave'}, {'name': 'noise'}, {'name': 'noise pop'}, {'name': 'noise punk'}, {'name': 'noise rock'}, {'name': 'nordic folk'}, {'name': 'nordic house'}, {'name': 'norteno'}, {'name': 'northern irish indie'}, {'name': 'northern soul'}, {'name': 'norwegian gospel'}, {'name': 'norwegian hip hop'}, {'name': 'norwegian jazz'}, {'name': 'norwegian metal'}, {'name': 'norwegian pop'}, {'name': 'norwegian punk'}, {'name': 'norwegian rock'}, {'name': 'nu age'}, {'name': 'nu disco'}, {'name': 'nu electro'}, {'name': 'nu gaze'}, {'name': 'nu jazz'}, {'name': 'nu metal'}, {'name': 'nu skool breaks'}, {'name': 'nu-cumbia'}, {'name': 'nueva cancion'}, {'name': 'nursery'}, {'name': 'nwobhm'}, {'name': 'nwothm'}, {'name': 'nz indie'}, {'name': 'oi'}, {'name': 'old school hip hop'}, {'name': 'old-time'}, {'name': 'opera'}, {'name': 'operatic pop'}, {'name': 'opm'}, {'name': 'oratory'}, {'name': 'orchestral'}, {'name': 'organic ambient'}, {'name': 'orgcore'}, {'name': 'orquesta tipica'}, {'name': 'orquesta tropical'}, {'name': 'oshare kei'}, {'name': 'ostrock'}, {'name': 'outer hip hop'}, {'name': 'outlaw country'}, {'name': 'outsider'}, {'name': 'outsider house'}, {'name': 'p funk'}, {'name': 'pagan black metal'}, {'name': 'pagode'}, {'name': 'pakistani pop'}, {'name': 'permanent wave'}, {'name': 'persian pop'}, {'name': 'persian traditional'}, {'name': 'perth indie'}, {'name': 'peruvian rock'}, {'name': 'piano blues'}, {'name': 'piano rock'}, {'name': 'piedmont blues'}, {'name': 'pipe band'}, {'name': 'poetry'}, {'name': 'polish hip hop'}, {'name': 'polish indie'}, {'name': 'polish jazz'}, {'name': 'polish pop'}, {'name': 'polish punk'}, {'name': 'polish reggae'}, {'name': 'polka'}, {'name': 'polynesian pop'}, {'name': 'polyphony'}, {'name': 'pop'}, {'name': 'pop christmas'}, {'name': 'pop emo'}, {'name': 'pop house'}, {'name': 'pop punk'}, {'name': 'pop rap'}, {'name': 'pop rock'}, {'name': 'popgaze'}, {'name': 'porro'}, {'name': 'portland indie'}, {'name': 'portuguese pop'}, {'name': 'portuguese rock'}, {'name': 'post rock'}, {'name': 'post-disco'}, {'name': 'post-disco soul'}, {'name': 'post-grunge'}, {'name': 'post-hardcore'}, {'name': 'post-metal'}, {'name': 'post-post-hardcore'}, {'name': 'post-punk'}, {'name': 'power blues-rock'}, {'name': 'power electronics'}, {'name': 'power metal'}, {'name': 'power noise'}, {'name': 'power pop'}, {'name': 'power violence'}, {'name': 'power-pop punk'}, {'name': 'praise'}, {'name': 'progressive alternative'}, {'name': 'progressive bluegrass'}, {'name': 'progressive electro house'}, {'name': 'progressive house'}, {'name': 'progressive metal'}, {'name': 'progressive psytrance'}, {'name': 'progressive rock'}, {'name': 'progressive trance'}, {'name': 'progressive trance house'}, {'name': 'progressive uplifting trance'}, {'name': 'protopunk'}, {'name': 'psych gaze'}, {'name': 'psychedelic blues-rock'}, {'name': 'psychedelic rock'}, {'name': 'psychedelic trance'}, {'name': 'psychill'}, {'name': 'psychobilly'}, {'name': 'pub rock'}, {'name': 'puerto rican rock'}, {'name': 'punjabi'}, {'name': 'punk'}, {'name': 'punk blues'}, {'name': 'punk christmas'}, {'name': 'punk ska'}, {'name': 'qawwali'}, {'name': 'quebecois'}, {'name': 'quiet storm'}, {'name': 'r&b'}, {'name': 'ragga jungle'}, {'name': 'ragtime'}, {'name': 'rai'}, {'name': 'ranchera'}, {'name': 'rap'}, {'name': 'rap metal'}, {'name': 'rap metalcore'}, {'name': 'rap rock'}, {'name': 'raw black metal'}, {'name': 're:techno'}, {'name': 'reading'}, {'name': 'rebetiko'}, {'name': 'reggae'}, {'name': 'reggae fusion'}, {'name': 'reggae rock'}, {'name': 'reggaeton'}, {'name': 'regional mexican'}, {'name': 'relaxative'}, {'name': 'remix'}, {'name': 'renaissance'}, {'name': 'retro electro'}, {'name': 'retro metal'}, {'name': 'rhythm and boogie'}, {'name': 'riddim'}, {'name': 'rio de la plata'}, {'name': 'riot grrrl'}, {'name': 'rock'}, {'name': 'rock catala'}, {'name': 'rock en espanol'}, {'name': 'rock gaucho'}, {'name': 'rock noise'}, {'name': 'rock steady'}, {'name': 'rock-and-roll'}, {'name': 'rockabilly'}, {'name': 'romanian pop'}, {'name': 'romanian rock'}, {'name': 'romantic'}, {'name': 'roots reggae'}, {'name': 'roots rock'}, {'name': 'rumba'}, {'name': 'russian alternative'}, {'name': 'russian hip hop'}, {'name': 'russian pop'}, {'name': 'russian punk'}, {'name': 'russian rock'}, {'name': 'rva indie'}, {'name': 'salsa'}, {'name': 'salsa international'}, {'name': 'samba'}, {'name': 'saxophone'}, {'name': 'schlager'}, {'name': 'schranz'}, {'name': 'scorecore'}, {'name': 'scottish rock'}, {'name': 'scratch'}, {'name': 'screamo'}, {'name': 'screamo punk'}, {'name': 'screamocore'}, {'name': 'seattle indie'}, {'name': 'sega'}, {'name': 'serialism'}, {'name': 'sertanejo'}, {'name': 'sertanejo tradicional'}, {'name': 'sertanejo universitario'}, {'name': 'sevdah'}, {'name': 'shanty'}, {'name': 'sheffield indie'}, {'name': 'shibuya-kei'}, {'name': 'shimmer pop'}, {'name': 'shimmer psych'}, {'name': 'shiver pop'}, {'name': 'shoegaze'}, {'name': 'show tunes'}, {'name': 'singaporean pop'}, {'name': 'singer-songwriter'}, {'name': 'sinhala'}, {'name': 'ska'}, {'name': 'ska punk'}, {'name': 'ska revival'}, {'name': 'skate punk'}, {'name': 'skiffle'}, {'name': 'skinhead oi'}, {'name': 'skinhead reggae'}, {'name': 'skweee'}, {'name': 'slam death metal'}, {'name': 'slash punk'}, {'name': 'slc indie'}, {'name': 'sleaze rock'}, {'name': 'sleep'}, {'name': 'slovak hip hop'}, {'name': 'slovak pop'}, {'name': 'slovenian rock'}, {'name': 'slow core'}, {'name': 'sludge metal'}, {'name': 'smooth jazz'}, {'name': 'smooth urban r&b'}, {'name': 'soca'}, {'name': 'soda pop'}, {'name': 'soft rock'}, {'name': 'solipsynthm'}, {'name': 'soukous'}, {'name': 'soul'}, {'name': 'soul blues'}, {'name': 'soul christmas'}, {'name': 'soul flow'}, {'name': 'soul jazz'}, {'name': 'soundtrack'}, {'name': 'south african jazz'}, {'name': 'southern gospel'}, {'name': 'southern hip hop'}, {'name': 'southern rock'}, {'name': 'southern soul'}, {'name': 'southern soul blues'}, {'name': 'space rock'}, {'name': 'spanish classical'}, {'name': 'spanish folk'}, {'name': 'spanish hip hop'}, {'name': 'spanish indie pop'}, {'name': 'spanish indie rock'}, {'name': 'spanish invasion'}, {'name': 'spanish new wave'}, {'name': 'spanish pop'}, {'name': 'spanish pop rock'}, {'name': 'spanish punk'}, {'name': 'spanish reggae'}, {'name': 'speed garage'}, {'name': 'speed metal'}, {'name': 'speedcore'}, {'name': 'spoken word'}, {'name': 'spytrack'}, {'name': 'steampunk'}, {'name': 'steelpan'}, {'name': 'stl indie'}, {'name': 'stomp and flutter'}, {'name': 'stomp and holler'}, {'name': 'stomp and whittle'}, {'name': 'stomp pop'}, {'name': 'stoner metal'}, {'name': 'stoner rock'}, {'name': 'straight edge'}, {'name': 'street punk'}, {'name': 'stride'}, {'name': 'string band'}, {'name': 'string folk'}, {'name': 'string quartet'}, {'name': 'substep'}, {'name': 'sunset lounge'}, {'name': 'suomi rock'}, {'name': 'surf music'}, {'name': 'swamp blues'}, {'name': 'swamp pop'}, {'name': 'swedish alternative rock'}, {'name': 'swedish hard rock'}, {'name': 'swedish hip hop'}, {'name': 'swedish indie pop'}, {'name': 'swedish indie rock'}, {'name': 'swedish jazz'}, {'name': 'swedish metal'}, {'name': 'swedish pop'}, {'name': 'swedish pop punk'}, {'name': 'swedish prog'}, {'name': 'swedish punk'}, {'name': 'swedish reggae'}, {'name': 'swedish soft pop'}, {'name': 'swedish synthpop'}, {'name': 'swing'}, {'name': 'swirl psych'}, {'name': 'swiss folk'}, {'name': 'swiss hip hop'}, {'name': 'swiss rock'}, {'name': 'symphonic black metal'}, {'name': 'symphonic metal'}, {'name': 'symphonic rock'}, {'name': 'synthpop'}, {'name': 'taiwanese pop'}, {'name': 'talent show'}, {'name': 'tango'}, {'name': 'tech house'}, {'name': 'technical brutal death metal'}, {'name': 'technical death metal'}, {'name': 'techno'}, {'name': 'teen pop'}, {'name': 'tejano'}, {'name': 'tekno'}, {'name': 'terrorcore'}, {'name': 'texas blues'}, {'name': 'texas country'}, {'name': 'thai indie'}, {'name': 'thai pop'}, {'name': 'thrash core'}, {'name': 'thrash metal'}, {'name': 'thrash-groove metal'}, {'name': 'throat singing'}, {'name': 'tibetan'}, {'name': 'tico'}, {'name': 'timba'}, {'name': 'tin pan alley'}, {'name': 'traditional blues'}, {'name': 'traditional british folk'}, {'name': 'traditional country'}, {'name': 'traditional folk'}, {'name': 'traditional funk'}, {'name': 'traditional irish folk'}, {'name': 'traditional reggae'}, {'name': "traditional rock 'n roll"}, {'name': 'traditional rockabilly'}, {'name': 'traditional scottish folk'}, {'name': 'traditional ska'}, {'name': 'traditional soul'}, {'name': 'traditional swing'}, {'name': 'trance'}, {'name': 'trance hop'}, {'name': 'trap music'}, {'name': 'trapstep'}, {'name': 'trash rock'}, {'name': 'triangle indie'}, {'name': 'tribal house'}, {'name': 'tribute'}, {'name': 'trip hop'}, {'name': 'tropical'}, {'name': 'trova'}, {'name': 'turbo folk'}, {'name': 'turkish alternative'}, {'name': 'turkish classical'}, {'name': 'turkish folk'}, {'name': 'turkish hip hop'}, {'name': 'turkish jazz'}, {'name': 'turkish pop'}, {'name': 'turkish rock'}, {'name': 'turntablism'}, {'name': 'twee indie pop'}, {'name': 'twee pop'}, {'name': 'twin cities indie'}, {'name': 'tzadik'}, {'name': 'uk dub'}, {'name': 'uk garage'}, {'name': 'uk hip hop'}, {'name': 'uk post-punk'}, {'name': 'ukrainian rock'}, {'name': 'ukulele'}, {'name': 'unblack metal'}, {'name': 'underground hip hop'}, {'name': 'underground latin hip hop'}, {'name': 'underground pop rap'}, {'name': 'underground power pop'}, {'name': 'underground rap'}, {'name': 'uplifting trance'}, {'name': 'urban contemporary'}, {'name': 'vallenato'}, {'name': 'vancouver indie'}, {'name': 'vapor house'}, {'name': 'vaporwave'}, {'name': 'vegan straight edge'}, {'name': 'vegas indie'}, {'name': 'velha guarda'}, {'name': 'venezuelan rock'}, {'name': 'video game music'}, {'name': 'vienna indie'}, {'name': 'vietnamese pop'}, {'name': 'viking metal'}, {'name': 'vintage chanson'}, {'name': 'vintage country folk'}, {'name': 'vintage gospel'}, {'name': 'vintage jazz'}, {'name': 'vintage reggae'}, {'name': 'vintage rockabilly'}, {'name': 'vintage schlager'}, {'name': 'vintage swedish pop'}, {'name': 'vintage swing'}, {'name': 'vintage swoon'}, {'name': 'vintage tango'}, {'name': 'vintage western'}, {'name': 'violin'}, {'name': 'viral pop'}, {'name': 'visual kei'}, {'name': 'vocal house'}, {'name': 'vocal jazz'}, {'name': 'vocaloid'}, {'name': 'volksmusik'}, {'name': 'warm drone'}, {'name': 'welsh rock'}, {'name': 'west african jazz'}, {'name': 'west coast rap'}, {'name': 'western swing'}, {'name': 'wind ensemble'}, {'name': 'witch house'}, {'name': 'wonky'}, {'name': 'workout'}, {'name': 'world'}, {'name': 'world chill'}, {'name': 'world christmas'}, {'name': 'world fusion'}, {'name': 'worship'}, {'name': 'wrestling'}, {'name': 'wrock'}, {'name': 'ye ye'}, {'name': 'yoik'}, {'name': 'yugoslav rock'}, {'name': 'zeuhl'}, {'name': 'zillertal'}, {'name': 'zim'}, {'name': 'zolo'}, {'name': 'zouglou'}, {'name': 'zouk'}, {'name': 'zydeco'}] genresSim = {'folk rock': ['album rock', 'british folk', 'classic rock', 'country rock', 'folk', 'folk christmas', 'folk-pop', 'mellow gold', 'psychedelic rock', 'roots rock', 'singer-songwriter', 'soft rock', 'southern rock', 'traditional folk'], 'laiko': ['entehno', 'greek indie', 'rebetiko'], 'german metal': ['deep thrash metal', 'neo classical metal', 'neo-trad metal', 'power metal', 'progressive metal', 'speed metal'], 'power metal': ['finnish metal', 'folk metal', 'german metal', 'metal', 'neo classical metal', 'neo-trad metal', 'nwobhm', 'progressive metal', 'speed metal', 'symphonic metal'], 'j-pop': ['j-idol', 'j-poprock', 'j-rap', 'j-rock', 'japanese standards'], 'black sludge': ['atmospheric post-metal', 'doom metal', 'drone metal', 'post-metal', 'sludge metal', 'stoner metal', 'stoner rock'], 'vintage country folk': ['appalachian folk', 'deep delta blues', 'jug band', 'old-time', 'vintage gospel'], 'indian classical': ['carnatic', 'hindustani classical'], 'screamo punk': ['indie emo'], 'edm': ['australian dance', 'big room', 'brostep', 'complextro', 'disco house', 'dutch house', 'electro house', 'house', 'melbourne bounce', 'progressive electro house', 'progressive house', 'tribal house', 'vocal house'], 'regional mexican': ['banda', 'cumbia', 'cumbia sonidera', 'deep regional mexican', 'duranguense', 'grupera', 'latin christmas', 'mariachi', 'norteno', 'ranchera', 'tejano'], 'college a cappella': ['a cappella'], 'chillwave': ['alternative dance', 'freak folk', 'grave wave', 'indie dream pop', 'indietronica', 'metropopolis', 'noise pop', 'nu gaze', 'shimmer pop', 'vaporwave'], 'classic russian rock': ['russian alternative', 'russian punk', 'russian rock'], 'meditation': ['environmental', 'healing', 'sleep'], 'nashville sound': ['country', 'country christmas', 'country gospel', 'cowboy western', 'honky tonk', 'outlaw country', 'traditional country', 'western swing'], 'deep ccm': ['worship'], 'filter house': ['alternative dance', 'electro house', 'electrofox', 'house', 'nu disco', 'retro electro'], 'classic rock': ['album rock', 'blues-rock', 'british blues', 'british invasion', 'country rock', 'folk rock', 'glam rock', 'hard rock', 'mellow gold', 'modern blues', 'progressive rock', 'protopunk', 'psychedelic rock', 'rock', 'roots rock', 'soft rock', 'southern rock'], 'alternative rock': ['alternative metal', 'alternative pop', 'boston rock', 'britpop', 'chamber pop', 'dream pop', 'e6fi', 'experimental rock', 'funk metal', 'funk rock', 'garage rock', 'gbvfi', 'grunge', 'indie christmas', 'indie pop', 'indie rock', 'jangle pop', 'lo-fi', 'madchester', 'melancholia', 'neo-psychedelic', 'noise pop', 'noise rock', 'nu metal', 'permanent wave', 'pop rock', 'post-grunge', 'post-punk', 'power pop', 'rap metal', 'rap rock', 'riot grrrl', 'rock', 'shoegaze', 'slow core'], 'deep dub techno': ['ambient dub techno', 'dub techno'], 'deep pop emo': ['pop emo'], 'central asian folk': ['throat singing'], 'japanese standards': ['j-pop', 'j-rock'], 'makossa': ['coupe decale', 'soukous', 'zouglou'], 'nu-cumbia': ['cumbia', 'cumbia funk', 'ecuadoria'], 'glam rock': ['album rock', 'art rock', 'classic rock', 'dance rock', 'glam metal', 'hard rock', 'heavy christmas', 'new wave', 'permanent wave', 'post-punk', 'protopunk', 'pub rock', 'punk', 'rock', 'sleaze rock', 'uk post-punk', 'zolo'], 'deep surf music': ['surf music'], 'goa trance': ['psychedelic trance'], 'funk': ['chicago soul', 'classic funk rock', 'disco', 'funk rock', 'hi nrg', 'memphis soul', 'motown', 'new jack swing', 'p funk', 'post-disco', 'quiet storm', 'soul', 'soul christmas', 'southern soul'], 'speedcore': ['dark hardcore', 'doomcore', 'gabba', 'happy hardcore', 'hardcore techno', 'tekno'], 'deep adult standards': ['adult standards', 'christmas', 'easy listening'], 'qawwali': ['indian pop', 'pakistani pop'], 'dancehall': ['dub', 'lovers rock', 'reggae', 'reggae fusion', 'riddim', 'roots reggae'], 'fourth world': ['ambient', 'bow pop', 'deep ambient', 'minimal'], 'memphis hip hop': ['crunk', 'dirty south rap', 'dirty texas rap', 'gangster rap', 'southern hip hop', 'trap music'], 'hungarian pop': ['hungarian hip hop', 'hungarian rock', 'magyar'], 'mpb': ['bossa nova', 'bossa nova jazz', 'brazilian composition', 'brazilian hip hop', 'brazilian indie', 'brazilian pop music', 'choro', 'forro', 'pagode', 'samba', 'velha guarda'], 'rap metal': ['alternative metal', 'funk metal', 'funk rock', 'groove metal', 'industrial metal', 'industrial rock', 'nu metal', 'post-grunge', 'rap metalcore', 'rap rock'], 'jerk': ['crunk', 'dirty south rap', 'pop rap', 'southern hip hop', 'trap music'], 'stomp pop': ['stomp and whittle'], 'piano rock': ['dreamo'], 'deep freestyle': ['freestyle'], 'bass music': ['dubstep', 'footwork', 'future garage'], 'speed metal': ['canadian metal', 'crossover thrash', 'death metal', 'deep thrash metal', 'german metal', 'groove metal', 'metal', 'neo classical metal', 'neo-trad metal', 'nwobhm', 'power metal', 'progressive metal', 'thrash metal'], 'grindcore': ['brutal death metal', 'death core', 'death metal', 'deathgrind', 'goregrind', 'mathcore', 'necrogrind', 'power violence', 'technical death metal'], 'dark minimal techno': ['deep minimal techno', 're:techno'], 'deep northern soul': ['northern soul'], 'screamocore': ['screamo'], 'jazz christmas': ['adult standards', 'bebop', 'big band', 'boogie-woogie', 'cabaret', 'christmas', 'contemporary post-bop', 'cool jazz', 'deep jazz guitar', 'deep vocal jazz', 'easy listening', 'hard bop', 'jazz', 'jazz blues', 'jazz funk', 'jazz fusion', 'jazz orchestra', 'jump blues', 'lounge', 'new orleans jazz', 'smooth jazz', 'soul jazz', 'stride', 'swing', 'vocal jazz'], 'sertanejo tradicional': ['sertanejo', 'sertanejo universitario'], 'german indie': ['deep german indie', 'electropunk', 'german pop'], 'power violence': ['crust punk', 'grindcore', 'thrash core'], 'minimal dubstep': ['cinematic dubstep', 'substep'], 'turkish classical': ['turkish folk', 'turkish jazz'], 'carnatic': ['hindustani classical', 'indian classical'], 'acid house': ['acid techno', 'chicago house', 'detroit techno', 'electronic', 'hip house', 'intelligent dance music', 'techno'], 'neo classical metal': ['german metal', 'metal', 'metal guitar', 'neo-trad metal', 'power metal', 'progressive metal', 'speed metal'], 'pop christmas': ['acoustic pop', 'boy band', 'dance pop', 'europop', 'folk christmas', 'hip pop', 'indie christmas', 'lilith', 'neo mellow', 'neo soul', 'new jack swing', 'new wave pop', 'permanent wave', 'piano rock', 'pop', 'pop rock', 'soul christmas', 'teen pop', 'urban contemporary'], 'crust punk': ['anarcho-punk', 'power violence', 'thrash core'], 'slash punk': ['garage punk', 'thrash core'], 'pagan black metal': ['atmospheric black metal', 'avantgarde metal', 'black metal', 'blackgaze', 'chaotic black metal', 'dark black metal', 'depressive black metal', 'folk metal', 'melodic death metal', 'norwegian metal', 'post-metal', 'swedish metal', 'symphonic black metal', 'viking metal'], 'baile funk': ['funk carioca'], 'jazz blues': ['acoustic blues', 'beach music', 'blues', 'boogie-woogie', 'chicago blues', 'chicago soul', 'delta blues', 'harmonica blues', 'jazz christmas', 'jump blues', 'louisiana blues', 'memphis blues', 'memphis soul', 'motown', 'new orleans blues', 'piano blues', 'piedmont blues', 'soul', 'soul blues', 'southern soul', 'swamp blues', 'traditional blues', 'vocal jazz'], 'consort': ['deep baroque'], 'noise pop': ['alternative rock', 'chamber pop', 'chillwave', 'dance-punk', 'dream pop', 'e6fi', 'experimental rock', 'freak folk', 'garage pop', 'indie pop', 'indie rock', 'indietronica', 'lo-fi', 'neo-psychedelic', 'new weird america', 'noise rock', 'nu gaze', 'popgaze', 'shoegaze', 'space rock'], 'british blues': ['album rock', 'blues-rock', 'british invasion', 'bubblegum pop', 'classic garage rock', 'classic rock', 'electric blues', 'freakbeat', 'merseybeat', 'modern blues', 'protopunk', 'psychedelic rock', 'rock', 'southern rock', 'texas blues'], 'neo-industrial rock': ['cyber metal', 'industrial metal', 'industrial rock'], 'arab pop': ['arab folk', 'belly dance', 'rai'], 'no wave': ['experimental', 'experimental rock', 'industrial', 'noise rock', 'post-punk', 'protopunk', 'riot grrrl', 'uk post-punk'], 'acoustic blues': ['blues', 'boogie-woogie', 'chicago blues', 'country blues', 'deep delta blues', 'delta blues', 'electric blues', 'harmonica blues', 'jazz blues', 'jug band', 'jump blues', 'louisiana blues', 'memphis blues', 'modern blues', 'new orleans blues', 'piano blues', 'piedmont blues', 'soul blues', 'swamp blues', 'texas blues', 'traditional blues'], 'ska revival': ['euroska', 'rock steady', 'ska', 'ska punk', 'traditional ska'], 'norteno': ['banda', 'cumbia', 'cumbia sonidera', 'deep regional mexican', 'duranguense', 'grupera', 'latin christmas', 'mariachi', 'ranchera', 'regional mexican', 'tejano'], 'chill-out trance': ['ambient trance'], 'rock-and-roll': ['brill building pop', 'british invasion', 'bubblegum pop', 'doo-wop', 'merseybeat', 'rockabilly'], 'entehno': ['greek indie', 'laiko', 'rebetiko'], 'deep acoustic pop': ['acoustic pop'], 'east coast hip hop': ['alternative hip hop', 'deep east coast hip hop', 'hardcore hip hop', 'hip hop', 'old school hip hop', 'rap', 'soul flow', 'turntablism', 'underground hip hop'], 'malagasy folk': ['sega'], 'ska punk': ['crack rock steady', 'euroska', 'melodic hardcore', 'pop punk', 'punk', 'punk christmas', 'punk ska', 'ska', 'ska revival', 'skate punk', 'traditional ska'], 'tzadik': ['free improvisation', 'minimal'], 'alternative country': ['alternative roots rock', 'country rock', 'cowpunk', 'folk', 'gothic americana', 'new americana', 'outlaw country', 'roots rock', 'singer-songwriter', 'texas country'], 'hard stoner rock': ['retro metal'], 'a cappella': ['barbershop', 'college a cappella'], 'ambient dub techno': ['deep dub techno', 'dub techno'], 'hard trance': ['hard house'], 'doo-wop': ['brill building pop', 'rock-and-roll', 'soda pop'], 'blaskapelle': ['military band'], 'folk': ['alternative country', 'anti-folk', 'british folk', 'country rock', 'cowpunk', 'folk christmas', 'folk rock', 'folk-pop', 'indie folk', 'melancholia', 'mellow gold', 'new americana', 'outlaw country', 'roots rock', 'singer-songwriter', 'slow core', 'soft rock', 'stomp and holler', 'texas country', 'traditional folk'], 'intelligent dance music': ['acid house', 'ambient', 'big beat', 'drill and bass', 'electronic', 'electronica', 'glitch'], 'mande pop': ['african percussion', 'desert blues', 'malagasy folk', 'mbalax', 'soukous', 'west african jazz', 'world', 'zim'], 'drone folk': ['experimental psych', 'fingerstyle', 'new weird america'], 'folk punk': ['celtic punk', 'celtic rock'], 'c-pop': ['cantopop', 'classic chinese pop', 'mandopop', 'taiwanese pop'], 'indie rock': ['alternative dance', 'alternative pop', 'alternative rock', 'anti-folk', 'british indie rock', 'britpop', 'chamber pop', 'dance-punk', 'dream pop', 'e6fi', 'experimental rock', 'freak folk', 'garage rock', 'gbvfi', 'indie christmas', 'indie folk', 'indie pop', 'indietronica', 'lo-fi', 'madchester', 'melancholia', 'neo-psychedelic', 'new rave', 'new weird america', 'noise pop', 'noise rock', 'nu gaze', 'permanent wave', 'power pop', 'slow core', 'stomp and holler', 'stomp pop'], 'new jack swing': ['funk', 'hip pop', 'neo soul', 'new jack smooth', 'post-disco', 'quiet storm', 'soul christmas', 'urban contemporary'], 'sega': ['malagasy folk'], 'polish indie': ['classic polish pop', 'polish jazz', 'polish pop', 'polish punk'], 'dark jazz': ['fourth world', 'norwegian jazz'], 'mexican indie': ['deep latin alternative', 'latin alternative', 'latin electronica', 'rock en espanol'], 'ethereal wave': ['dark wave', 'ethereal gothic', 'gothic rock', 'medieval', 'neoclassical'], 'peruvian rock': ['classic peruvian pop'], 'finnish pop': ['classic finnish pop', 'suomi rock'], 'christian christmas': ['ccm', 'christian alternative rock', 'christian hip hop', 'christian music', 'christian punk', 'christian rock', 'country gospel', 'deep christian rock', 'german ccm', 'gospel', 'lds', 'southern gospel', 'worship'], 'deep uplifting trance': ['progressive trance', 'trance', 'uplifting trance'], 'depressive black metal': ['atmospheric black metal', 'blackgaze', 'chaotic black metal', 'pagan black metal'], 'celtic punk': ['celtic rock', 'folk punk'], 'bulgarian rock': ['chalga'], 'indonesian pop': ['dangdut', 'indonesian indie'], 'gothic alternative': ['hard alternative'], 'merengue urbano': ['bachata', 'dominican pop', 'merengue'], 'groove metal': ['alternative metal', 'canadian metal', 'crossover thrash', 'death metal', 'funk metal', 'industrial metal', 'industrial rock', 'melodic death metal', 'melodic metalcore', 'metal', 'metalcore', 'nu metal', 'post-grunge', 'rap metal', 'rap rock', 'speed metal', 'thrash metal'], 'garage pop': ['garage punk', 'garage punk blues', 'garage rock', 'indie post-punk', 'punk blues'], 'modern classical': ['acousmatic', 'avant-garde', 'classical', 'contemporary classical', 'drone', 'laboratorio', 'minimal', 'modern performance', 'musique concrete', 'romantic', 'serialism', 'tzadik'], 'progressive psytrance': ['deep psytrance'], 'chalga': ['bulgarian rock', 'sevdah', 'turbo folk'], 'anime score': ['anime'], 'melodic metalcore': ['alternative metal', 'canadian metal', 'christian hardcore', 'christian metal', 'death core', 'death metal', 'groove metal', 'industrial metal', 'mathcore', 'melodic death metal', 'metal', 'metalcore', 'nu metal', 'screamo', 'swedish metal'], 'surf music': ['deep surf music'], 'deep orgcore': ['orgcore'], 'dark ambient': ['martial industrial', 'power electronics'], 'ragtime': ['big band', 'new orleans jazz', 'stride', 'swing'], 'australian pop': ['australian alternative rock', 'australian dance'], 'sertanejo universitario': ['axe', 'sertanejo', 'sertanejo tradicional'], 'healing': ['alternative new age', 'kirtan', 'meditation', 'new age', 'new tribe'], 'boogaloo': ['cuban rumba', 'latin jazz', 'mambo', 'merengue', 'salsa', 'salsa international', 'tropical'], 'metalcore': ['alternative metal', 'canadian metal', 'christian hardcore', 'christian metal', 'death core', 'deep melodic metalcore', 'groove metal', 'industrial metal', 'mathcore', 'melodic death metal', 'melodic metalcore', 'nu metal', 'post-hardcore', 'rap metal', 'rap rock', 'screamo'], 'screamo': ['british alternative rock', 'christian hardcore', 'christian metal', 'dreamo', 'emo', 'melodic metalcore', 'metalcore', 'nintendocore', 'pop punk', 'post-hardcore', 'punk christmas', 'screamocore'], 'classic polish pop': ['polish indie', 'polish jazz', 'polish pop'], 'ceilidh': ['traditional scottish folk'], 'drone metal': ['atmospheric post-metal', 'black sludge', 'doom metal', 'drone', 'post-metal', 'sludge metal', 'stoner metal', 'stoner rock'], 'swedish hip hop': ['swedish reggae'], 'k-rock': ['k-indie'], 'melancholia': ['chamber pop', 'dream pop', 'slow core'], 'indie christmas': ['e6fi', 'folk christmas', 'indie folk', 'indie pop', 'indie rock', 'power pop', 'stomp and holler'], 'reggae fusion': ['french reggae', 'german hip hop'], 'deep trap': ['southern hip hop', 'trap music'], 'swedish reggae': ['swedish hip hop'], 'oshare kei': ['j-metal', 'visual kei'], 'glam metal': ['album rock', 'canadian metal', 'glam rock', 'hard glam', 'hard rock', 'heavy christmas', 'melodic hard rock', 'rock', 'sleaze rock', 'swedish hard rock'], 'brazilian composition': ['bossa nova', 'choro', 'mpb', 'samba', 'velha guarda'], 'crack rock steady': ['punk ska', 'ska', 'ska punk'], 'j-dance': ['japanese jazztronica', 'shibuya-kei'], 'alternative metalcore': ['hard alternative'], 'flick hop': ['deep flow', 'underground rap'], 'kwaito': ['south african jazz'], 'argentine indie': ['argentine rock'], 'filthstep': ['brostep', 'catstep', 'chillstep', 'deep filthstep'], 'protopunk': ['british blues', 'british invasion', 'classic garage rock', 'experimental', 'experimental rock', 'freakbeat', 'garage rock', 'glam rock', 'no wave', 'outsider', 'post-punk', 'psychedelic rock', 'pub rock', 'punk', 'punk blues', 'uk post-punk'], 'trip hop': ['acid jazz', 'big beat', 'breakbeat', 'chill-out', 'downtempo', 'downtempo fusion', 'electronic', 'illbient', 'lounge', 'ninja', 'nu jazz', 'turntablism'], 'jazz funk': ['bebop', 'contemporary post-bop', 'cool jazz', 'hard bop', 'jazz', 'jazz fusion', 'smooth jazz', 'soul jazz'], 'irish folk': ['celtic', 'celtic christmas', 'celtic rock', 'jig and reel', 'traditional irish folk'], 'classical christmas': ['avant-garde', 'baroque', 'brass ensemble', 'choral', 'classical', 'classical flute', 'classical guitar', 'classical organ', 'classical performance', 'classical period', 'deep baroque', 'deep orchestral', 'early music', 'harp', 'liturgical', 'modern classical', 'orchestral', 'renaissance', 'romantic', 'string folk', 'wind ensemble'], 'string folk': ['harp', 'neo-pagan'], 'modern uplift': ['modern downshift'], 'dark cabaret': ['gothic americana', 'steampunk'], 'glitch': ['abstract', 'ambient', 'drill and bass', 'drone', 'dub techno', 'electronica', 'glitch hop', 'intelligent dance music', 'j-ambient', 'lowercase', 'microhouse', 'warm drone'], 'wind ensemble': ['marching band', 'military band'], 'europop': ['boy band', 'bubblegum dance', 'dance pop', 'eurodance', 'hip house', 'pop', 'pop christmas', 'talent show', 'teen pop'], 'disco house': ['deep house', 'edm', 'electro house', 'house', 'pop house', 'tribal house', 'vocal house'], 'instrumental post rock': ['atmospheric post rock'], 'post-post-hardcore': ['electronicore'], 'witch house': ['grave wave', 'vaporwave'], 'pop emo': ['alternative pop rock', 'british alternative rock', 'candy pop', 'deep pop emo', 'pop punk', 'punk christmas'], 'neurofunk': ['darkstep', 'drum and bass', 'drumfunk', 'jump up', 'jungle', 'liquid funk', 'neurostep'], 'malaysian pop': ['singaporean pop'], 'freakbeat': ['british blues', 'british invasion', 'bubblegum pop', 'classic garage rock', 'classic psychedelic rock', 'merseybeat', 'protopunk', 'psychedelic rock'], 'doujin': ['j-core'], 'trance hop': ['downtempo fusion', 'downtempo trip hop'], 'gothic post-punk': ['deep gothic post-punk', 'gothic rock', 'minimal wave'], 'deep comedy': ['comedy', 'comic'], 'ambient trance': ['chill-out trance'], 'uk garage': ['bassline', 'speed garage'], 'nu electro': ['electro'], 'chilean rock': ['nueva cancion'], 'hiplife': ['azonto', 'highlife'], 'j-metal': ['oshare kei', 'visual kei'], 'bluegrass': ['appalachian folk', 'old-time', 'progressive bluegrass'], 'straight edge': ['alternative hardcore', 'crossover thrash', 'hardcore', 'hardcore punk', 'melodic hardcore', 'punk', 'skate punk', 'thrash core', 'vegan straight edge'], 'turkish pop': ['arabesk', 'classic turkish pop', 'deep turkish pop', 'turkish alternative', 'turkish folk', 'turkish jazz', 'turkish rock'], 'freestyle': ['deep freestyle'], 'hurban': ['bachata', 'dominican pop', 'latin', 'latin christmas', 'latin hip hop', 'latin pop', 'merengue', 'merengue urbano', 'reggaeton', 'salsa', 'spanish pop', 'tropical'], 'czech folk': ['classic czech pop', 'czech rock'], 'nintendocore': ['chiptune'], 'world chill': ['world fusion'], 'chicago blues': ['acoustic blues', 'blues', 'blues-rock', 'boogie-woogie', 'british blues', 'country blues', 'delta blues', 'electric blues', 'harmonica blues', 'jazz blues', 'jump blues', 'louisiana blues', 'memphis blues', 'modern blues', 'new orleans blues', 'piano blues', 'piedmont blues', 'soul blues', 'swamp blues', 'texas blues', 'traditional blues'], 'deep progressive trance': ['progressive trance', 'trance'], 'underground hip hop': ['abstract hip hop', 'alternative hip hop', 'east coast hip hop', 'hardcore hip hop', 'hip hop', 'old school hip hop', 'rap', 'soul flow', 'turntablism', 'underground rap'], 'classical performance': ['classical piano', 'orchestral', 'string quartet', 'violin'], 'sleep': ['environmental', 'meditation'], 'classic norwegian pop': ['barnemusikk', 'danseband', 'norwegian hip hop', 'norwegian pop', 'norwegian rock'], 'lowercase': ['abstract', 'electroacoustic improvisation', 'musique concrete'], 'aggrotech': ['dark electro-industrial', 'ebm', 'electro-industrial', 'futurepop', 'power noise'], 'pub rock': ['deep punk rock', 'glam rock', 'jangle pop', 'mod revival', 'power pop', 'protopunk'], 'spanish folk': ['galego'], 'jump blues': ['boogie-woogie', 'jazz blues', 'new orleans blues'], 'alternative hardcore': ['straight edge'], 'highlife': ['afrobeat', 'azonto', 'classic afrobeat', 'hiplife'], 'uk dub': ['electro dub'], 'soul': ['beach music', 'chicago soul', 'classic funk rock', 'disco', 'funk', 'funk rock', 'hi nrg', 'memphis soul', 'motown', 'northern soul', 'post-disco', 'quiet storm', 'soul blues', 'soul christmas', 'southern soul'], 'classic chinese pop': ['c-pop', 'cantopop', 'mandopop', 'taiwanese pop'], 'heavy alternative': ['hard alternative'], 'progressive bluegrass': ['appalachian folk', 'bluegrass', 'jam band', 'old-time'], 'post-disco soul': ['post-disco'], 'praise': ['gospel'], 'industrial': ['ebm', 'electro-industrial', 'experimental', 'experimental rock', 'industrial metal', 'industrial rock', 'japanoise', 'no wave', 'power electronics'], 'indie pop': ['alternative dance', 'anti-folk', 'chamber pop', 'dance-punk', 'e6fi', 'folk-pop', 'freak folk', 'indie christmas', 'indie folk', 'indie rock', 'indietronica', 'lo-fi', 'melancholia', 'neo-psychedelic', 'new rave', 'new weird america', 'noise pop', 'nu gaze', 'slow core', 'stomp and holler', 'stomp pop', 'synthpop'], 'portuguese pop': ['hip hop tuga', 'portuguese rock'], 'fidget house': ['complextro', 'destroy techno', 'electro trash', 'melbourne bounce'], 'dangdut': ['indonesian pop'], 'swedish punk': ['swedish pop punk'], 'louisiana blues': ['acoustic blues', 'blues', 'boogie-woogie', 'chicago blues', 'country blues', 'delta blues', 'electric blues', 'harmonica blues', 'jazz blues', 'jump blues', 'memphis blues', 'modern blues', 'new orleans blues', 'piano blues', 'piedmont blues', 'soul blues', 'swamp blues', 'texas blues', 'traditional blues'], 'trapstep': ['footwork', 'future garage', 'moombahton', 'vapor house'], 'traditional rockabilly': ['neo-rockabilly', 'rhythm and boogie', 'rockabilly', 'vintage rockabilly'], 'memphis blues': ['acoustic blues', 'blues', 'boogie-woogie', 'chicago blues', 'country blues', 'deep delta blues', 'delta blues', 'electric blues', 'harmonica blues', 'jazz blues', 'jug band', 'jump blues', 'louisiana blues', 'modern blues', 'new orleans blues', 'piano blues', 'piedmont blues', 'soul blues', 'swamp blues', 'texas blues', 'traditional blues'], 'rock noise': ['japanoise', 'noise', 'noise punk'], 'gabba': ['dark hardcore', 'deep hardcore', 'doomcore', 'happy hardcore', 'hardcore techno', 'speedcore'], 'shimmer psych': ['deep indie pop', 'indie dream pop', 'indie psych-pop'], 'german pop rock': ['german pop'], 'black thrash': ['black death', 'black metal'], 'modern free jazz': ['avant-garde jazz', 'free improvisation', 'free jazz'], 'flamenco': ['cante flamenco', 'rumba'], 'deep southern soul': ['memphis soul', 'southern soul', 'southern soul blues'], 'deathgrind': ['brutal death metal', 'death core', 'death metal', 'goregrind', 'grindcore', 'necrogrind', 'slam death metal', 'swedish metal', 'technical brutal death metal', 'technical death metal'], 'dutch rock': ['dutch pop'], 'swedish synthpop': ['deep neo-synthpop', 'neo-synthpop'], 'dark wave': ['corrosion', 'dark cabaret', 'ebm', 'ethereal gothic', 'ethereal wave', 'futurepop', 'gothic rock', 'medieval', 'neoclassical', 'neue deutsche harte', 'steampunk'], 'vegan straight edge': ['alternative hardcore', 'hardcore', 'straight edge'], 'outsider house': ['minimal dub'], 'duranguense': ['banda', 'deep regional mexican', 'grupera', 'mariachi', 'norteno', 'ranchera', 'regional mexican'], 'deep pop punk': ['alternative emo'], 'anarcho-punk': ['crust punk', 'oi'], 'swedish metal': ['black metal', 'death metal', 'melodic death metal'], 'indonesian indie': ['indonesian pop'], 'free improvisation': ['avant-garde jazz', 'contemporary jazz', 'electroacoustic improvisation', 'free jazz', 'minimal', 'tzadik'], 'new age piano': ['new age'], 'chaotic black metal': ['atmospheric black metal', 'blackgaze', 'dark black metal', 'depressive black metal', 'pagan black metal'], 'cowboy western': ['country christmas', 'country gospel', 'honky tonk', 'nashville sound', 'outlaw country', 'traditional country', 'vintage western', 'western swing'], 'quebecois': ['chanson quebecois'], 'bebop': ['avant-garde jazz', 'big band', 'contemporary post-bop', 'cool jazz', 'free jazz', 'hard bop', 'jazz', 'jazz christmas', 'jazz funk', 'jazz fusion', 'soul jazz', 'stride'], 'mexican son': ['mariachi', 'mexican traditional', 'ranchera'], 'grupera': ['banda', 'bolero', 'cumbia', 'cumbia sonidera', 'deep regional mexican', 'duranguense', 'latin christmas', 'mariachi', 'norteno', 'ranchera', 'regional mexican', 'tejano'], 'neurostep': ['darkstep'], 'kuduro': ['kizomba'], 'girl group': ['brill building pop'], 'alternative pop rock': ['electropowerpop', 'piano rock', 'pop emo', 'pop punk'], 'klapa': ['croatian pop'], 'demoscene': ['c64'], 'soundtrack': ['classic soundtrack', 'deep soundtrack', 'epicore'], 'latin alternative': ['argentine rock', 'latin electronica', 'mexican indie', 'rock en espanol'], 'turkish folk': ['arabesk', 'turkish classical', 'turkish jazz', 'turkish pop', 'turkish rock'], 'comedy rock': ['geek rock'], 'baroque ensemble': ['deep baroque'], 'salsa': ['bachata', 'boogaloo', 'cuban rumba', 'latin christmas', 'latin jazz', 'mambo', 'merengue', 'salsa international', 'tropical', 'vallenato'], 'yugoslav rock': ['croatian pop'], 'downtempo fusion': ['trance hop'], 'string band': ['appalachian folk', 'old-time'], 'zouglou': ['coupe decale', 'makossa', 'soukous'], 'deep turkish pop': ['arabesk', 'classic turkish pop', 'turkish pop'], 'neo-pagan': ['geek folk', 'string folk'], 'country road': ['canadian country', 'contemporary country', 'country', 'country christmas', 'country dawn', 'deep contemporary country', 'modern country rock'], 'alternative metal': ['alternative rock', 'funk metal', 'funk rock', 'groove metal', 'grunge', 'industrial metal', 'industrial rock', 'melodic metalcore', 'metalcore', 'nu metal', 'post-grunge', 'rap metal', 'rap rock', 'rock'], 'mbalax': ['desert blues', 'mande pop', 'soukous', 'west african jazz', 'world'], 'thai indie': ['thai pop'], 'gothic metal': ['fallen angel', 'finnish metal', 'folk metal', 'gothic symphonic metal', 'norwegian metal', 'symphonic metal'], 'destroy techno': ['fidget house'], 'atmospheric post rock': ['instrumental post rock', 'post rock'], 'jungle': ['drum and bass', 'drumfunk', 'jump up', 'liquid funk', 'neurofunk', 'ragga jungle'], 'canadian hip hop': ['outer hip hop'], 'japanese r&b': ['j-idol', 'j-pop', 'j-poprock', 'j-rap', 'japanese standards'], 'swedish pop': ['classic swedish pop', 'swedish alternative rock'], 'swirl psych': ['gauze pop', 'indie post-punk'], 'bossa nova': ['bossa nova jazz', 'brazilian composition', 'brazilian pop music', 'choro', 'forro', 'mpb', 'samba', 'velha guarda'], 'bassline': ['speed garage', 'uk garage'], 'deep melodic house': ['deep disco house', 'deep soul house'], 'contemporary post-bop': ['avant-garde jazz', 'bebop', 'big band', 'contemporary jazz', 'cool jazz', 'free jazz', 'hard bop', 'jazz', 'jazz christmas', 'jazz funk', 'jazz fusion', 'soul jazz', 'stride'], 'new rave': ['alternative dance', 'australian dance', 'british indie rock', 'dance-punk', 'electro house', 'electroclash', 'electrofox', 'filter house', 'indietronica', 'synthpop'], 'progressive uplifting trance': ['glitter trance'], 'brazilian pop music': ['bossa nova', 'brazilian composition', 'brazilian hip hop', 'brazilian indie', 'brazilian punk', 'choro', 'forro', 'mpb', 'pagode', 'rock gaucho', 'samba', 'velha guarda'], 'dutch house': ['big room', 'edm', 'progressive electro house'], 'ragga jungle': ['jungle'], 'beach music': ['chicago soul', 'memphis soul', 'motown', 'northern soul', 'soul', 'southern soul'], 'russian pop': ['classic russian pop', 'dubsteppe'], 'ye ye': ['chanson'], 'broadway': ['hollywood', 'show tunes'], 'electro trash': ['destroy techno', 'fidget house'], 'worship': ['ccm', 'christian alternative rock', 'christian christmas', 'christian music', 'christian rock', 'deep ccm'], 'swedish indie pop': ['swedish indie rock'], 'klezmer': ['balkan brass', 'judaica'], 'lounge': ['acid jazz', 'adult standards', 'cabaret', 'chill-out', 'christmas', 'deep adult standards', 'downtempo', 'easy listening', 'electro jazz', 'electro swing', 'exotica', 'jazz christmas', 'ninja', 'nu jazz', 'swing', 'trip hop', 'vocal jazz'], 'accordion': ['french folk'], 'neo-progressive': ['crossover prog', 'progressive metal', 'progressive rock', 'symphonic rock'], 'german pop': ['german indie', 'german pop rock', 'liedermacher', 'neue deutsche welle'], 'electropunk': ['german indie'], 'stoner rock': ['alternative roots rock', 'black sludge', 'doom metal', 'drone metal', 'post-metal', 'retro metal', 'sludge metal', 'space rock', 'stoner metal'], 'darkstep': ['neurofunk'], 'brass ensemble': ['brass band', 'british brass band', 'jazz brass'], 'dubsteppe': ['russian pop'], 'fado': ['morna', 'portuguese rock'], 'smooth jazz': ['deep smooth jazz', 'jazz christmas', 'jazz funk'], 'vintage western': ['cowboy western', 'western swing'], 'funk rock': ['alternative metal', 'chicago soul', 'classic funk rock', 'deep funk', 'disco', 'funk', 'funk metal', 'groove metal', 'grunge', 'industrial metal', 'memphis soul', 'motown', 'nu metal', 'p funk', 'post-disco', 'post-grunge', 'quiet storm', 'rap metal', 'rap rock', 'soul', 'southern soul'], 'folkmusik': ['deep nordic folk', 'nordic folk'], 'workout': ['covertrance'], 'indie folk': ['anti-folk', 'chamber pop', 'e6fi', 'folk', 'folk christmas', 'folk-pop', 'folk-prog', 'freak folk', 'indie christmas', 'indie pop', 'indie rock', 'lo-fi', 'melancholia', 'neo-psychedelic', 'new americana', 'new weird america', 'singer-songwriter', 'slow core', 'stomp and holler'], 'technical brutal death metal': ['brutal death metal', 'deathgrind', 'slam death metal', 'technical death metal'], 'brutal death metal': ['death core', 'death metal', 'deathgrind', 'goregrind', 'grindcore', 'jazz metal', 'slam death metal', 'swedish metal', 'technical brutal death metal', 'technical death metal'], 'quiet storm': ['chicago soul', 'classic funk rock', 'disco', 'funk', 'funk rock', 'hi nrg', 'memphis soul', 'motown', 'neo soul', 'new jack swing', 'post-disco', 'soul', 'soul christmas', 'southern soul', 'urban contemporary'], 'jazz bass': ['deep jazz fusion', 'jazz fusion'], 'indie r&b': ['alternative dance', 'chillwave', 'dance pop', 'grave wave', 'hip pop', 'indietronica', 'metropopolis', 'neo soul', 'noise pop', 'nu gaze', 'pop', 'pop rap', 'shimmer pop', 'synthpop', 'urban contemporary'], 'jump up': ['drum and bass', 'jungle', 'liquid funk', 'neurofunk'], 'classic schlager': ['vintage schlager'], 'new americana': ['alternative country', 'cowpunk', 'folk', 'indie folk', 'stomp and holler'], 'ninja': ['acid jazz', 'big beat', 'broken beat', 'chill-out', 'downtempo', 'electronic', 'illbient', 'nu jazz', 'trip hop', 'turntablism'], 'melodic progressive metal': ['progressive metal'], 'modern country rock': ['canadian country', 'contemporary country', 'country', 'country christmas', 'country dawn', 'country road', 'deep contemporary country'], 'post-metal': ['atmospheric black metal', 'atmospheric post-metal', 'avantgarde metal', 'black sludge', 'doom metal', 'drone', 'drone metal', 'pagan black metal', 'sludge metal', 'stoner metal', 'stoner rock'], 'future ambient': ['ambient fusion'], 'teen pop': ['boy band', 'candy pop', 'dance pop', 'deep dance pop', 'europop', 'pop', 'pop christmas', 'pop rock', 'viral pop'], 'soul flow': ['alternative hip hop', 'east coast hip hop', 'underground hip hop', 'underground rap'], 'comedy': ['comic', 'deep comedy'], 'deep indie singer-songwriter': ['neo-singer-songwriter'], 'folklore argentino': ['nueva cancion', 'rio de la plata'], 'post-grunge': ['alternative metal', 'alternative rock', 'funk metal', 'funk rock', 'grunge', 'grunge pop', 'hard alternative', 'industrial metal', 'neo mellow', 'nu metal', 'pop rock', 'rap metal', 'rap rock', 'rock'], 'opera': ['deep opera', 'operatic pop'], 'ambient psychill': ['psychill'], 'neo honky tonk': ['alternative americana', 'gothic americana'], 'cowpunk': ['alternative country', 'country rock', 'folk', 'gothic americana', 'new americana', 'outlaw country', 'roots rock', 'texas country'], 'chip hop': ['outer hip hop'], 'fallen angel': ['gothic metal', 'gothic symphonic metal', 'symphonic metal'], 'j-idol': ['j-pop'], 'rock steady': ['dub', 'reggae', 'roots reggae', 'ska revival', 'skinhead reggae', 'vintage reggae'], 'south african jazz': ['kwaito'], 'rock': ['album rock', 'alternative metal', 'alternative rock', 'blues-rock', 'british blues', 'britpop', 'classic rock', 'folk rock', 'funk metal', 'glam metal', 'glam rock', 'grunge', 'hard rock', 'heavy christmas', 'madchester', 'mellow gold', 'metal', 'nu metal', 'permanent wave', 'pop rock', 'post-grunge', 'progressive rock', 'psychedelic rock', 'rap rock', 'roots rock', 'sleaze rock', 'soft rock', 'southern rock', 'symphonic rock'], 'turkish rock': ['turkish alternative', 'turkish folk', 'turkish jazz', 'turkish pop'], 'armenian folk': ['caucasian folk'], 'classic turkish pop': ['deep turkish pop', 'turkish pop'], 'skinhead reggae': ['rock steady'], 'acoustic pop': ['deep acoustic pop', 'folk christmas', 'lilith', 'neo mellow', 'pop christmas', 'pop rock'], 'turkish jazz': ['turkish classical', 'turkish folk', 'turkish pop', 'turkish rock'], 'college marching band': ['marching band'], 'house': ['australian dance', 'big room', 'complextro', 'disco house', 'dutch house', 'edm', 'electro house', 'electronic', 'filter house', 'melbourne bounce', 'pop house', 'progressive electro house', 'progressive house', 'tribal house', 'vocal house'], 'mambo': ['boogaloo', 'cuban rumba', 'latin christmas', 'latin jazz', 'salsa', 'timba', 'tropical'], 'world christmas': ['dub', 'hawaiian', 'latin christmas', 'polka', 'reggae', 'roots reggae'], 'caucasian folk': ['armenian folk', 'polyphony'], 'g funk': ['deep g funk', 'gangster rap', 'hyphy', 'juggalo', 'rap', 'west coast rap'], 'dubstep': ['bass music', 'brostep', 'future garage'], 'new orleans blues': ['boogie-woogie', 'brass band', 'jump blues', 'memphis soul', 'southern soul'], 'blues': ['acoustic blues', 'blues-rock', 'boogie-woogie', 'chicago blues', 'country blues', 'delta blues', 'electric blues', 'harmonica blues', 'jazz blues', 'jug band', 'jump blues', 'louisiana blues', 'memphis blues', 'modern blues', 'new orleans blues', 'piano blues', 'piedmont blues', 'soul blues', 'swamp blues', 'texas blues', 'traditional blues'], 'disco': ['chicago soul', 'classic funk rock', 'funk', 'funk rock', 'hi nrg', 'motown', 'post-disco', 'quiet storm', 'soul', 'soul christmas'], 'concert piano': ['classical piano'], 'harp': ['string folk'], 'neo mellow': ['acoustic pop', 'deep acoustic pop', 'folk christmas', 'folk-pop', 'lilith', 'piano rock', 'pop christmas', 'pop rock', 'post-grunge', 'singer-songwriter', 'viral pop'], 'argentine reggae': ['argentine rock'], 'hard rock': ['album rock', 'blues-rock', 'canadian metal', 'classic rock', 'glam metal', 'glam rock', 'heavy christmas', 'metal', 'nwobhm', 'rock', 'sleaze rock', 'southern rock'], 'romanian rock': ['romanian pop'], 'austropop': ['liedermacher', 'vienna indie'], 'electronica': ['intelligent dance music'], 'death core': ['brutal death metal', 'brutal deathcore', 'canadian metal', 'christian hardcore', 'christian metal', 'death metal', 'deathgrind', 'djent', 'grindcore', 'mathcore', 'melodic metalcore', 'metalcore', 'technical death metal'], 'ambient idm': ['abstract idm', 'glitch beats'], 'jazz metal': ['avantgarde metal', 'canadian metal', 'djent', 'mathcore', 'norwegian metal', 'progressive metal', 'technical death metal'], 'spanish hip hop': ['spanish reggae'], 'j-alt': ['j-dance', 'j-indie', 'j-poppunk', 'j-punk', 'j-rock'], 'psychobilly': ['deep psychobilly', 'horror punk', 'rockabilly'], "children's christmas": ["children's music", 'kindermusik', 'nursery'], 'new weird america': ['anti-folk', 'chamber pop', 'drone folk', 'experimental psych', 'freak folk', 'indie folk', 'slow core', 'stomp and holler'], 'traditional blues': ['acoustic blues', 'blues', 'blues-rock', 'boogie-woogie', 'chicago blues', 'country blues', 'deep delta blues', 'delta blues', 'electric blues', 'harmonica blues', 'jazz blues', 'jug band', 'jump blues', 'louisiana blues', 'memphis blues', 'modern blues', 'new orleans blues', 'piano blues', 'piedmont blues', 'soul blues', 'swamp blues', 'texas blues'], 'experimental psych': ['abstractro', 'drone folk', 'drone psych', 'japanese psychedelic', 'new weird america'], 'delta blues': ['acoustic blues', 'blues', 'boogie-woogie', 'chicago blues', 'country blues', 'deep delta blues', 'electric blues', 'harmonica blues', 'jazz blues', 'jug band', 'jump blues', 'louisiana blues', 'memphis blues', 'modern blues', 'new orleans blues', 'piano blues', 'piedmont blues', 'swamp blues', 'texas blues', 'traditional blues'], 'big room': ['australian dance', 'complextro', 'dutch house', 'edm', 'electro house', 'house', 'melbourne bounce', 'progressive electro house', 'progressive house'], 'swedish prog': ['classic swedish pop'], 'k-indie': ['k-hop', 'k-pop', 'k-rock'], 'vaporwave': ['hauntology', 'witch house'], 'riot grrrl': ['alternative pop'], 'unblack metal': ['christian metal'], 'j-rock': ['j-alt', 'j-dance', 'j-indie', 'j-pop', 'j-poppunk', 'j-poprock', 'j-punk', 'japanese standards', 'visual kei'], 'neue deutsche harte': ['dark wave', 'medieval rock'], 'deep jazz guitar': ['gypsy jazz'], 'doomcore': ['dark hardcore', 'gabba', 'hardcore techno', 'speedcore'], 'blackgaze': ['atmospheric black metal', 'chaotic black metal', 'depressive black metal', 'pagan black metal'], 'italian progressive rock': ['canterbury scene', 'symphonic rock'], 'psych gaze': ['indie shoegaze'], 'classic finnish pop': ['finnish pop', 'iskelma'], 'techno': ['acid house', 'chicago house', 'detroit techno', 'dub techno', 'microhouse', 'minimal techno', 'tech house'], 'gangster rap': ['alternative hip hop', 'bounce', 'crunk', 'dirty south rap', 'dirty texas rap', 'east coast hip hop', 'g funk', 'hardcore hip hop', 'hip hop', 'hyphy', 'juggalo', 'memphis hip hop', 'old school hip hop', 'pop rap', 'rap', 'southern hip hop', 'trap music', 'west coast rap'], 'deep power-pop punk': ['orgcore', 'power-pop punk'], 'chinese traditional': ['japanese traditional'], 'dance-punk': ['alternative dance', 'australian dance', 'british indie rock', 'electroclash', 'electrofox', 'experimental rock', 'garage rock', 'indie pop', 'indie rock', 'indietronica', 'new rave', 'noise rock', 'synthpop'], 'mizrahi': ['israeli rock'], 'power electronics': ['dark ambient', 'industrial', 'japanoise', 'martial industrial', 'noise'], 'chamber pop': ['alternative rock', 'anti-folk', 'britpop', 'e6fi', 'folk', 'folk christmas', 'folk-pop', 'folk-prog', 'freak folk', 'indie christmas', 'indie folk', 'indie pop', 'indie rock', 'indietronica', 'lo-fi', 'melancholia', 'neo-psychedelic', 'new weird america', 'noise pop', 'singer-songwriter', 'slow core', 'stomp and holler', 'stomp pop'], 'baroque': ['classical', 'classical christmas', 'classical period', 'deep baroque', 'early music', 'renaissance', 'romantic'], 'german techno': ['bubble trance', 'eurodance', 'microhouse', 'minimal techno', 'tech house'], 'mandopop': ['c-pop', 'cantopop', 'chinese indie rock', 'classic chinese pop', 'taiwanese pop'], 'corrosion': ['dark wave', 'gothic rock', 'heavy gothic rock'], 'technical death metal': ['brutal death metal', 'canadian metal', 'death core', 'death metal', 'deathgrind', 'goregrind', 'grindcore', 'jazz metal', 'melodic death metal', 'slam death metal', 'swedish metal', 'technical brutal death metal'], 'soul blues': ['acoustic blues', 'beach music', 'blues', 'boogie-woogie', 'chicago blues', 'chicago soul', 'classic funk rock', 'country blues', 'deep southern soul', 'delta blues', 'electric blues', 'funk', 'harmonica blues', 'jazz blues', 'jump blues', 'louisiana blues', 'memphis blues', 'memphis soul', 'modern blues', 'motown', 'new orleans blues', 'northern soul', 'piano blues', 'piedmont blues', 'quiet storm', 'soul', 'soul christmas', 'southern soul', 'swamp blues', 'texas blues', 'traditional blues'], 'punk': ['crossover thrash', 'glam rock', 'hardcore punk', 'heavy christmas', 'melodic hardcore', 'oi', 'pop punk', 'post-punk', 'protopunk', 'pub rock', 'punk christmas', 'ska punk', 'skate punk', 'straight edge', 'thrash core'], 'digital hardcore': ['breakcore'], 'spytrack': ['classic soundtrack'], 'stride': ['bebop', 'big band', 'contemporary post-bop', 'cool jazz', 'hard bop', 'jazz', 'new orleans jazz', 'ragtime', 'swing'], 'underground latin hip hop': ['chicano rap'], 'german oi': ['german punk', 'hatecore', 'oi'], 'swing': ['adult standards', 'big band', 'british dance band', 'cabaret', 'christmas', 'jazz christmas', 'jazz orchestra', 'lounge', 'new orleans jazz', 'ragtime', 'stride', 'vintage swing', 'vocal jazz'], 'traditional scottish folk': ['ceilidh', 'pipe band'], 'trap music': ['alternative hip hop', 'bounce', 'crunk', 'deep trap', 'dirty south rap', 'gangster rap', 'hip hop', 'hip pop', 'jerk', 'juggalo', 'memphis hip hop', 'pop rap', 'southern hip hop'], 'deep psytrance': ['progressive psytrance'], 'glitch beats': ['ambient idm'], 'old school hip hop': ['alternative hip hop', 'east coast hip hop', 'electro', 'gangster rap', 'hardcore hip hop', 'hip hop', 'miami bass', 'rap', 'turntablism', 'underground hip hop'], 'nu metal': ['alternative metal', 'alternative rock', 'funk metal', 'funk rock', 'groove metal', 'grunge', 'industrial metal', 'industrial rock', 'melodic metalcore', 'metalcore', 'post-grunge', 'rap metal', 'rap rock'], 'deep minimal techno': ['dark minimal techno', 'deep tech house'], 'classic czech pop': ['czech folk'], 'italian jazz': ['deep jazz piano'], 'solipsynthm': ['deep neo-synthpop', 'neo-synthpop'], 'happy hardcore': ['deep hardcore', 'gabba', 'hardcore techno'], 'twee indie pop': ['c86', 'indie fuzzpop', 'twee pop'], 'progressive electro house': ['australian dance', 'big room', 'dutch house', 'edm', 'electro house', 'house', 'melbourne bounce', 'progressive house'], 'deep rai': ['rai'], 'gamecore': ['video game music'], 'bubble trance': ['eurodance', 'german techno'], 'didgeridoo': ['new tribe'], 'mexican traditional': ['mexican son'], 'tango': ['orquesta tipica', 'vintage tango'], 'nu skool breaks': ['big beat', 'breakbeat', 'breaks', 'electronic'], 'adult standards': ['brill building pop', 'cabaret', 'christmas', 'deep adult standards', 'easy listening', 'jazz christmas', 'lounge', 'rock-and-roll', 'swing', 'vocal jazz'], 'goregrind': ['brutal death metal', 'death metal', 'deathgrind', 'grindcore', 'necrogrind', 'slam death metal', 'technical death metal'], 'comic': ['comedy', 'deep comedy', 'geek rock', 'nerdcore'], 'piano blues': ['acoustic blues', 'blues', 'boogie-woogie', 'chicago blues', 'country blues', 'delta blues', 'harmonica blues', 'jazz blues', 'jug band', 'jump blues', 'louisiana blues', 'memphis blues', 'new orleans blues', 'piedmont blues', 'swamp blues', 'traditional blues'], 'electronic': ['acid house', 'acid jazz', 'ambient', 'big beat', 'breakbeat', 'chill-out', 'downtempo', 'electroclash', 'house', 'illbient', 'intelligent dance music', 'ninja', 'nu jazz', 'nu skool breaks', 'trip hop', 'turntablism'], 'deep gothic post-punk': ['gothic post-punk'], 'deep canadian indie': ['canadian indie', 'vancouver indie'], 'abstract hip hop': ['chip hop', 'outer hip hop', 'turntablism', 'underground hip hop', 'underground rap'], 'funk metal': ['alternative metal', 'alternative rock', 'funk rock', 'groove metal', 'grunge', 'industrial metal', 'industrial rock', 'nu metal', 'post-grunge', 'rap metal', 'rap rock', 'rock'], 'chanson': ['cabaret', 'classic french pop', 'french folk pop', 'french pop', 'french rock', 'vintage chanson', 'ye ye'], 'pop rock': ['acoustic pop', 'alternative metal', 'alternative rock', 'candy pop', 'dance pop', 'europop', 'funk metal', 'grunge', 'lilith', 'neo mellow', 'new wave pop', 'permanent wave', 'piano rock', 'pop', 'pop christmas', 'post-grunge', 'rap rock', 'singer-songwriter', 'teen pop'], 'brostep': ['catstep', 'chillstep', 'complextro', 'dubstep', 'edm', 'filthstep'], 'punk ska': ['crack rock steady', 'euroska', 'ska', 'ska punk'], 'euroska': ['ska', 'ska revival', 'traditional ska'], 'nwobhm': ['canadian metal', 'hard rock', 'metal', 'neo-trad metal', 'nwothm', 'power metal', 'speed metal', 'thrash metal'], 'ambient fusion': ['downtempo fusion', 'future ambient'], 'country christmas': ['australian country', 'canadian country', 'contemporary country', 'country', 'country dawn', 'country gospel', 'country road', 'country rock', 'cowboy western', 'deep contemporary country', 'honky tonk', 'modern country rock', 'nashville sound', 'neo-traditional country', 'outlaw country', 'southern gospel', 'texas country', 'traditional country', 'western swing'], 'k-pop': ['k-hop', 'k-indie'], 'j-poprock': ['anime', 'j-pop', 'j-rock'], 'schlager': ['discofox', 'karneval', 'volksmusik'], 'drumfunk': ['drum and bass', 'jungle', 'liquid funk', 'neurofunk'], 'roots rock': ['alternative country', 'classic rock', 'country rock', 'cowpunk', 'folk', 'folk christmas', 'folk rock', 'folk-pop', 'jam band', 'mellow gold', 'new americana', 'outlaw country', 'singer-songwriter', 'soft rock', 'southern rock', 'texas country', 'traditional folk'], 'piedmont blues': ['acoustic blues', 'blues', 'chicago blues', 'country blues', 'deep delta blues', 'delta blues', 'harmonica blues', 'jug band', 'memphis blues', 'piano blues', 'traditional blues', 'vintage country folk'], 'canadian indie': ['canadian pop', 'deep canadian indie', 'vancouver indie'], 'k-hop': ['k-pop'], 'outer hip hop': ['abstract hip hop', 'canadian hip hop', 'chip hop', 'underground rap'], 'acid jazz': ['big beat', 'broken beat', 'chill-out', 'deep house', 'downtempo', 'electro jazz', 'electro swing', 'electronic', 'lounge', 'ninja', 'nu jazz', 'trip hop', 'turntablism'], 'twee pop': ['c86', 'e6fi', 'indie fuzzpop', 'twee indie pop'], 'hoerspiel': ['reading'], 'punk christmas': ['emo', 'heavy christmas', 'pop emo', 'pop punk', 'punk'], 'british indie rock': ['dance-punk', 'deep indie rock', 'leeds indie', 'new rave', 'sheffield indie'], 'deep classic garage rock': ['classic garage rock'], 'reggaeton': ['hurban', 'latin hip hop', 'tropical'], 'contemporary folk': ['traditional folk'], 'polish reggae': ['polish punk'], 'deep soul house': ['deep disco house', 'deep melodic house', 'outsider house'], 'deep italo disco': ['italian disco'], 'vocal jazz': ['adult standards', 'cabaret', 'christmas', 'jazz christmas', 'lounge', 'swing'], 'latin hip hop': ['chicano rap', 'hurban', 'reggaeton', 'tropical', 'underground latin hip hop'], 'folk-pop': ['acoustic pop', 'anti-folk', 'chamber pop', 'country rock', 'folk', 'folk christmas', 'folk rock', 'freak folk', 'indie christmas', 'indie folk', 'indie pop', 'lilith', 'melancholia', 'mellow gold', 'neo mellow', 'new wave pop', 'piano rock', 'pop christmas', 'pop rock', 'roots rock', 'singer-songwriter', 'soft rock', 'stomp and holler', 'traditional folk'], 'nu jazz': ['acid jazz', 'big beat', 'broken beat', 'chill-out', 'deep house', 'downtempo', 'electro jazz', 'electro swing', 'electronic', 'illbient', 'lounge', 'ninja', 'trip hop', 'turntablism'], 'power blues-rock': ['blues-rock guitar'], 'canterbury scene': ['art rock', 'experimental', 'italian progressive rock', 'kraut rock', 'progressive rock', 'space rock', 'symphonic rock', 'zeuhl', 'zolo'], 'folk christmas': ['acoustic pop', 'alternative country', 'anti-folk', 'chamber pop', 'contemporary folk', 'deep acoustic pop', 'deep indie singer-songwriter', 'ectofolk', 'folk', 'folk rock', 'folk-pop', 'indie christmas', 'indie folk', 'indie singer-songwriter', 'lilith', 'melancholia', 'mellow gold', 'neo mellow', 'new americana', 'new wave pop', 'permanent wave', 'piano rock', 'pop christmas', 'pop rock', 'roots rock', 'singer-songwriter', 'soft rock', 'stomp and flutter', 'stomp and holler', 'traditional folk'], 'hollywood': ['cabaret', 'movie tunes', 'show tunes'], 'christian rock': ['ccm', 'christian alternative rock', 'christian christmas', 'christian music', 'christian punk', 'worship'], 'deep darkpsy': ['dark psytrance'], 'vapor house': ['footwork', 'future garage', 'trapstep'], 'nordic folk': ['deep nordic folk', 'folkmusik', 'yoik'], 'juggalo': ['crunk', 'detroit hip hop', 'dirty south rap', 'g funk', 'gangster rap', 'hardcore hip hop', 'hip hop', 'horrorcore', 'hyphy', 'pop rap', 'rap', 'southern hip hop', 'trap music', 'west coast rap'], 'death metal': ['avantgarde metal', 'black metal', 'black thrash', 'brutal death metal', 'canadian metal', 'death core', 'deathgrind', 'goregrind', 'grindcore', 'groove metal', 'jazz metal', 'melodic death metal', 'melodic metalcore', 'metal', 'pagan black metal', 'speed metal', 'swedish metal', 'symphonic black metal', 'technical death metal', 'thrash metal', 'viking metal'], 'deep sunset lounge': ['deep chill', 'deep chill-out'], 'deep liquid': ['chillstep'], 'eurodance': ['bubble trance', 'bubblegum dance', 'europop', 'german techno', 'hip house'], 'dutch pop': ['dutch rock', 'levenslied', "traditional rock 'n roll"], 'substep': ['chillstep', 'cinematic dubstep', 'future garage', 'minimal dubstep'], 'israeli rock': ['mizrahi'], 'sevdah': ['chalga', 'turbo folk'], 'rap metalcore': ['alternative metalcore', 'neo metal', 'rap metal'], 'j-theme': ['anime'], 'classic finnish rock': ['finnish jazz', 'suomi rock'], 'retro electro': ['filter house', 'nu disco'], 'hauntology': ['vaporwave'], 'visual kei': ['j-alt', 'j-metal', 'j-rock', 'oshare kei'], 'suomi rock': ['classic finnish rock', 'finnish indie', 'finnish metal', 'finnish pop'], 'merseybeat': ['brill building pop', 'british blues', 'british invasion', 'bubblegum pop', 'classic garage rock', 'freakbeat', 'rock-and-roll'], 'street punk': ['oi'], 'dirty south rap': ['alternative hip hop', 'bounce', 'crunk', 'deep trap', 'dirty texas rap', 'gangster rap', 'hip hop', 'hip pop', 'jerk', 'juggalo', 'memphis hip hop', 'pop rap', 'rap', 'southern hip hop', 'trap music'], 'grim death metal': ['black death', 'grisly death metal'], 'romanian pop': ['manele', 'romanian rock'], 'rai': ['deep rai', 'maghreb'], 'deep hardstyle': ['hardstyle'], 'musique concrete': ['acousmatic', 'avant-garde', 'drone', 'laboratorio', 'lowercase', 'minimal', 'modern classical', 'serialism', 'tzadik'], 'rap': ['alternative hip hop', 'crunk', 'dirty south rap', 'east coast hip hop', 'electro', 'g funk', 'gangster rap', 'hardcore hip hop', 'hip hop', 'juggalo', 'old school hip hop', 'pop rap', 'southern hip hop', 'turntablism', 'underground hip hop', 'west coast rap'], 'swedish hard rock': ['hard glam', 'sleaze rock'], 'traditional ska': ['euroska', 'ska', 'ska punk', 'ska revival'], 'hip pop': ['crunk', 'dance pop', 'dirty south rap', 'neo soul', 'new jack swing', 'pop', 'pop rap', 'southern hip hop', 'urban contemporary'], 'cool jazz': ['avant-garde jazz', 'bebop', 'big band', 'contemporary post-bop', 'free jazz', 'hard bop', 'jazz', 'jazz brass', 'jazz christmas', 'jazz funk', 'jazz fusion', 'soul jazz', 'stride'], 'crossover prog': ['neo-progressive'], 'bubblegum dance': ['eurodance', 'europop', 'hip house'], 'j-indie': ['j-alt', 'j-poppunk', 'j-rock'], 'west african jazz': ['desert blues', 'mande pop', 'mbalax', 'soukous'], 'trance': ['deep progressive trance', 'deep uplifting trance', 'german techno', 'progressive house', 'progressive trance', 'uplifting trance'], 'rap rock': ['alternative metal', 'alternative rock', 'funk metal', 'funk rock', 'groove metal', 'grunge', 'industrial metal', 'industrial rock', 'metalcore', 'nu metal', 'post-grunge', 'rap metal', 'rap metalcore'], 'art rock': ['album rock', 'canterbury scene', 'dance rock', 'experimental', 'fourth world', 'glam rock', 'kraut rock', 'neo-progressive', 'new romantic', 'new wave', 'new wave pop', 'permanent wave', 'post-punk', 'progressive rock', 'psychedelic rock', 'space rock', 'symphonic rock', 'synthpop', 'uk post-punk', 'zolo'], 'drone': ['acousmatic', 'ambient', 'avant-garde', 'black sludge', 'doom metal', 'drone metal', 'experimental psych', 'fourth world', 'free improvisation', 'glitch', 'hauntology', 'laboratorio', 'lowercase', 'minimal', 'modern classical', 'musique concrete', 'post-metal', 'sludge metal', 'stoner metal', 'tzadik', 'warm drone'], 'norwegian rock': ['classic norwegian pop', 'norwegian hip hop', 'norwegian pop', 'norwegian punk'], 'alternative r&b': ['canadian pop', 'hip pop', 'jerk', 'urban contemporary'], 'christian hardcore': ['christian metal', 'christian punk', 'death core', 'deep melodic metalcore', 'melodic metalcore', 'metalcore', 'screamo'], 'orgcore': ['alternative emo', 'deep orgcore', 'deep power-pop punk', 'folk punk', 'melodic hardcore', 'power-pop punk'], 'deep ambient': ['ambient', 'fourth world', 'organic ambient'], 'urban contemporary': ['dance pop', 'hip pop', 'neo soul', 'new jack swing', 'pop', 'pop christmas', 'quiet storm', 'soul christmas'], 'vintage rockabilly': ['neo-rockabilly', 'rhythm and boogie', 'traditional rockabilly'], 'turkish alternative': ['turkish rock'], 'hi nrg': ['disco', 'freestyle', 'funk', 'italian disco', 'new romantic', 'new wave pop', 'post-disco'], 'garage rock': ['dance-punk', 'garage pop', 'garage punk blues', 'indie rock', 'protopunk', 'punk blues', 'trash rock'], 'dominican pop': ['bachata', 'merengue', 'merengue urbano', 'tropical'], 'polish punk': ['polish indie', 'polish pop', 'polish reggae'], 'neo-singer-songwriter': ['deep indie singer-songwriter'], 'progressive metal': ['german metal', 'jazz metal', 'melodic progressive metal', 'metal', 'neo classical metal', 'neo-progressive', 'neo-trad metal', 'power metal', 'speed metal', 'symphonic metal'], 'classic soundtrack': ['spytrack'], 'scorecore': ['antiviral pop', 'epicore'], 'african rock': ['afrikaans'], 'liturgical': ['byzantine', 'choral', 'monastic'], 'experimental dubstep': ['ghoststep'], 'choral': ['classical christmas', 'liturgical'], 'indie psych-pop': ['shimmer psych'], 'hands up': ['pop house'], 'southern soul': ['beach music', 'chicago soul', 'classic funk rock', 'deep southern soul', 'disco', 'funk', 'funk rock', 'memphis soul', 'motown', 'northern soul', 'quiet storm', 'soul', 'soul blues', 'soul christmas', 'southern soul blues'], 'deep ragga': ['riddim'], 'deep punk rock': ['mod revival'], 'argentine rock': ['argentine indie', 'argentine reggae', 'folklore argentino', 'latin alternative', 'latin metal', 'nueva cancion', 'rio de la plata', 'rock en espanol'], 'spanish punk': ['basque rock', 'latin metal', 'spanish new wave'], 'boogie-woogie': ['jump blues', 'new orleans blues', 'piano blues'], 'punjabi': ['bhangra', 'desi', 'indian pop'], 'deep jazz fusion': ['jazz bass', 'jazz fusion'], 'metal': ['black metal', 'canadian metal', 'crossover thrash', 'death metal', 'folk metal', 'german metal', 'glam metal', 'groove metal', 'hard rock', 'heavy christmas', 'melodic death metal', 'melodic metalcore', 'neo classical metal', 'neo-trad metal', 'nwobhm', 'nwothm', 'pagan black metal', 'power metal', 'progressive metal', 'speed metal', 'swedish metal', 'symphonic black metal', 'thrash metal', 'viking metal'], 'hyphy': ['bay area hip hop', 'g funk', 'gangster rap', 'juggalo', 'west coast rap'], 'black death': ['black thrash', 'charred death', 'grim death metal'], 'cumbia': ['cumbia sonidera', 'grupera', 'nu-cumbia', 'porro', 'vallenato'], 'glitch hop': ['glitch', 'wonky'], 'deep disco house': ['deep melodic house', 'deep soul house', 'deep tech house', 'minimal tech house'], 'pakistani pop': ['filmi', 'indian pop', 'qawwali'], 'axe': ['brega', 'forro', 'pagode'], 'pipe band': ['celtic christmas', 'traditional scottish folk'], 'dark black metal': ['black metal', 'chaotic black metal', 'cryptic black metal', 'pagan black metal', 'raw black metal', 'swedish metal'], 'gothic rock': ['corrosion', 'dark wave', 'ethereal wave', 'gothic post-punk', 'new wave', 'post-punk', 'uk post-punk'], 'minimal tech house': ['deep disco house', 'deep tech house', 'german techno', 'microhouse', 'minimal techno', 'tech house'], 'italian pop': ['classic italian pop', 'italian indie pop', 'italian pop rock'], 'latin jazz': ['boogaloo', 'cuban rumba', 'latin christmas', 'mambo', 'salsa'], 'psychill': ['ambient psychill'], 'arabesk': ['deep turkish pop', 'turkish folk', 'turkish pop'], 'dansband': ['vintage swedish pop'], 'western swing': ['country christmas', 'country gospel', 'cowboy western', 'honky tonk', 'nashville sound', 'outlaw country', 'traditional country', 'vintage western'], 'deep talent show': ['idol'], 'latin christmas': ['bolero', 'mariachi', 'ranchera', 'world christmas'], 'metal guitar': ['neo classical metal'], 'kabarett': ['austropop', 'liedermacher'], 'black metal': ['atmospheric black metal', 'avantgarde metal', 'black thrash', 'chaotic black metal', 'dark black metal', 'death metal', 'folk metal', 'melodic death metal', 'metal', 'norwegian metal', 'pagan black metal', 'raw black metal', 'swedish metal', 'symphonic black metal', 'viking metal'], 'post rock': ['atmospheric post rock', 'bow pop', 'math rock', 'slow core'], 'drum and bass': ['drumfunk', 'jump up', 'jungle', 'liquid funk', 'neurofunk'], 'german punk': ['deep german punk', 'german oi'], 'traditional country': ['country', 'country christmas', 'country gospel', 'country rock', 'cowboy western', 'honky tonk', 'nashville sound', 'outlaw country', 'texas country', 'western swing'], 'contemporary country': ['canadian country', 'country', 'country christmas', 'country dawn', 'country road', 'modern country rock'], 'electro': ['detroit techno', 'miami bass', 'nu electro', 'old school hip hop', 'rap'], 'funeral doom': ['doom metal', 'gothic doom'], 'classical piano': ['classical performance', 'concert piano', 'violin'], 'c86': ['indie fuzzpop', 'twee indie pop', 'twee pop'], 'dance rock': ['art rock', 'deep new wave', 'hi nrg', 'new romantic', 'new wave', 'new wave pop', 'permanent wave', 'post-punk', 'synthpop', 'uk post-punk', 'zolo'], 'hardcore techno': ['dark hardcore', 'doomcore', 'gabba', 'happy hardcore', 'hardcore breaks', 'speedcore'], 'guidance': ['motivation'], 'swedish soft pop': ['barnmusik'], 'kiwi rock': ['nz indie', 'polynesian pop'], 'minimal techno': ['detroit techno', 'dub techno', 'german techno', 'microhouse', 'minimal tech house', 'tech house', 'techno'], 'brass band': ['new orleans blues'], 'scottish rock': ['indie post-punk'], 'deep house': ['acid jazz', 'broken beat', 'chicago house', 'deep funk house', 'disco house', 'vocal house'], 'russian rock': ['classic russian rock', 'russian alternative', 'russian punk', 'ukrainian rock'], 'deep opera': ['opera'], 'post-disco': ['classic funk rock', 'deep disco', 'disco', 'funk', 'funk rock', 'hi nrg', 'motown', 'new jack swing', 'post-disco soul', 'quiet storm', 'soul'], 'kraut rock': ['art rock', 'canterbury scene', 'experimental', 'progressive rock', 'space rock', 'symphonic rock'], 'punk blues': ['garage pop', 'garage punk blues', 'garage rock', 'trash rock'], 'orquesta tipica': ['tango', 'vintage tango'], 'southern soul blues': ['deep southern soul', 'new jack smooth'], 'grunge pop': ['hard alternative', 'post-grunge'], 'classic belgian pop': ['belgian rock'], 'riddim': ['deep ragga'], 'iskelma': ['classic finnish pop'], "children's music": ["children's christmas"], 'jazz': ['avant-garde jazz', 'bebop', 'big band', 'contemporary jazz', 'contemporary post-bop', 'cool jazz', 'free jazz', 'hard bop', 'jazz christmas', 'jazz funk', 'jazz fusion', 'soul jazz', 'stride'], 'wonky': ['abstract beats', 'glitch hop', 'skweee'], 'rebetiko': ['entehno', 'laiko'], 'neoclassical': ['dark wave', 'ethereal gothic', 'ethereal wave', 'martial industrial', 'medieval', 'neofolk'], 'salsa international': ['boogaloo', 'orquesta tropical', 'salsa'], 'deep hardcore': ['gabba', 'happy hardcore'], 'singer-songwriter': ['acoustic pop', 'alternative country', 'anti-folk', 'british folk', 'chamber pop', 'country rock', 'cowpunk', 'folk', 'folk christmas', 'folk rock', 'folk-pop', 'indie folk', 'lilith', 'melancholia', 'mellow gold', 'neo mellow', 'new wave pop', 'permanent wave', 'pop christmas', 'pop rock', 'roots rock', 'slow core', 'soft rock', 'stomp and holler', 'traditional folk'], 'breakbeat': ['big beat', 'electronic', 'nu skool breaks'], 'classic garage rock': ['british invasion', 'bubblegum pop', 'deep classic garage rock', 'freakbeat', 'merseybeat', 'protopunk', 'psychedelic rock'], 'neofolk': ['deep neofolk', 'ethereal wave', 'martial industrial', 'medieval', 'neoclassical', 'power electronics'], 'hungarian rock': ['hungarian hip hop', 'hungarian pop', 'magyar'], 'orquesta tropical': ['cumbia', 'salsa international'], 'futurepop': ['aggrotech', 'dark wave', 'ebm', 'electro-industrial', 'neo-synthpop', 'neue deutsche harte'], 'zillertal': ['swiss folk'], 'deep space rock': ['space rock'], 'symphonic black metal': ['atmospheric black metal', 'avantgarde metal', 'black metal', 'deep symphonic black metal', 'folk metal', 'melodic death metal', 'norwegian metal', 'pagan black metal', 'swedish metal', 'viking metal'], 'steampunk': ['dark cabaret', 'dark wave', 'gothic americana'], 'emo': ['alternative emo', 'dreamo', 'emo punk', 'indie emo rock', 'math rock', 'melodic hardcore', 'pop punk', 'post-hardcore', 'punk christmas', 'screamo'], 'horror punk': ['psychobilly'], 'classic colombian pop': ['cumbia', 'vallenato'], 'chillstep': ['brostep', 'catstep', 'deep liquid', 'filthstep', 'substep'], 'electric blues': ['acoustic blues', 'blues', 'blues-rock', 'british blues', 'chicago blues', 'classic rock', 'country blues', 'delta blues', 'harmonica blues', 'jazz blues', 'louisiana blues', 'memphis blues', 'modern blues', 'piedmont blues', 'power blues-rock', 'soul blues', 'southern rock', 'swamp blues', 'texas blues', 'traditional blues'], 'deep smooth jazz': ['smooth jazz'], 'nueva cancion': ['andean', 'cantautor', 'chilean rock', 'folklore argentino', 'trova'], 'hip hop': ['abstract hip hop', 'alternative hip hop', 'crunk', 'dirty south rap', 'east coast hip hop', 'electro', 'g funk', 'gangster rap', 'hardcore hip hop', 'hip pop', 'juggalo', 'old school hip hop', 'pop rap', 'rap', 'soul flow', 'southern hip hop', 'trap music', 'turntablism', 'underground hip hop', 'west coast rap'], 'southern gospel': ['christian christmas', 'country gospel'], 'japanese jazztronica': ['j-dance', 'shibuya-kei'], 'gospel': ['christian christmas', 'praise'], 'volksmusik': ['blaskapelle', 'schlager', 'swiss folk', 'zillertal'], 'bachata': ['dominican pop', 'hurban', 'merengue', 'merengue urbano', 'salsa', 'tropical'], 'blues-rock guitar': ['power blues-rock'], 'dark electro-industrial': ['aggrotech'], 'modern southern rock': ['southern rock'], 'hip hop tuga': ['portuguese pop', 'portuguese rock'], 'traditional british folk': ['british folk', 'shanty'], 'chanson quebecois': ['quebecois'], 'slam death metal': ['brutal death metal', 'deathgrind', 'goregrind', 'technical brutal death metal', 'technical death metal'], 'ebm': ['aggrotech', 'dark wave', 'electro-industrial', 'futurepop', 'industrial', 'industrial metal', 'industrial rock', 'neue deutsche harte', 'new beat'], 'microhouse': ['detroit techno', 'dub techno', 'german techno', 'glitch', 'minimal tech house', 'minimal techno', 'tech house', 'techno'], 'uplifting trance': ['deep progressive trance', 'deep uplifting trance', 'progressive house', 'progressive trance', 'progressive uplifting trance', 'trance'], 'country dawn': ['australian country', 'contemporary country', 'country', 'country christmas', 'country road', 'deep contemporary country', 'modern country rock'], 'deep breakcore': ['breakcore', 'drill and bass'], 'new wave': ['art rock', 'dance rock', 'deep new wave', 'glam rock', 'gothic rock', 'hi nrg', 'madchester', 'new romantic', 'new wave pop', 'permanent wave', 'post-punk', 'synthpop', 'uk post-punk', 'zolo'], 'stoner metal': ['black sludge', 'doom metal', 'drone', 'drone metal', 'post-metal', 'retro metal', 'sludge metal', 'space rock', 'stoner rock'], 'latin': ['hurban', 'latin alternative', 'latin christmas', 'latin pop', 'mariachi', 'rock en espanol', 'spanish pop', 'spanish pop rock', 'tropical'], 'deep nordic folk': ['folkmusik', 'nordic folk'], 'afrobeats': ['azonto'], 'belgian rock': ['belgian indie', 'classic belgian pop'], 'math pop': ['british alternative rock', 'math rock'], 'deep melodic hard rock': ['hard glam', 'sleaze rock'], 'deep euro house': ['deep minimal techno'], 'alternative pop': ['alternative rock', 'boston rock', 'gbvfi', 'lo-fi', 'power pop', 'riot grrrl'], 'uk hip hop': ['grime'], 'chicago soul': ['beach music', 'brill building pop', 'classic funk rock', 'disco', 'funk', 'memphis soul', 'motown', 'northern soul', 'quiet storm', 'soul', 'soul blues', 'soul christmas', 'southern soul'], 'zolo': ['art rock'], 'marching band': ['college marching band', 'military band', 'wind ensemble'], 'deep new wave': ['new romantic'], 'motown': ['beach music', 'brill building pop', 'chicago soul', 'classic funk rock', 'deep motown', 'disco', 'funk', 'funk rock', 'hi nrg', 'memphis soul', 'northern soul', 'post-disco', 'quiet storm', 'soul', 'soul christmas', 'southern soul'], 'deep g funk': ['dirty texas rap', 'g funk', 'west coast rap'], 'p funk': ['classic funk rock', 'funk'], 'soul jazz': ['bebop', 'big band', 'contemporary post-bop', 'cool jazz', 'hard bop', 'jazz', 'jazz funk', 'jazz fusion', 'stride'], 'ostrock': ['liedermacher'], 'alternative americana': ['neo honky tonk'], 'thrash core': ['crossover thrash', 'crust punk', 'hardcore punk', 'power violence', 'skate punk', 'slash punk', 'straight edge'], 'r&b': ['dance pop', 'hip pop', 'neo soul', 'new jack swing', 'pop', 'pop christmas', 'soul christmas', 'urban contemporary'], 'sludge metal': ['atmospheric post-metal', 'black sludge', 'doom metal', 'drone', 'drone metal', 'post-metal', 'stoner metal', 'stoner rock'], 'catstep': ['brostep', 'chillstep', 'complextro', 'filthstep'], 'timba': ['cuban rumba', 'cubaton', 'mambo'], 'throat singing': ['central asian folk', 'tibetan'], 'lilith': ['acoustic pop', 'alternative pop', 'candy pop', 'ectofolk', 'folk christmas', 'folk-pop', 'neo mellow', 'new wave pop', 'pop rock', 'singer-songwriter'], 'honky tonk': ['country christmas', 'country gospel', 'cowboy western', 'deep contemporary country', 'nashville sound', 'neo-traditional country', 'outlaw country', 'traditional country', 'western swing'], 'cajun': ['swamp pop', 'zydeco'], 'melbourne bounce': ['australian dance'], 'metropopolis': ['chillwave', 'indietronica', 'shimmer pop', 'synthpop'], 'operatic pop': ['opera'], 'chill-out': ['acid jazz', 'big beat', 'broken beat', 'downtempo', 'electro jazz', 'electronic', 'illbient', 'lounge', 'ninja', 'nu jazz', 'trip hop', 'turntablism'], 'spanish pop rock': ['spanish pop'], 'croatian pop': ['klapa', 'yugoslav rock'], 'trash rock': ['garage rock', 'punk blues'], 'liedermacher': ['austropop', 'german pop', 'kabarett', 'ostrock'], 'avantgarde metal': ['atmospheric black metal', 'black metal', 'chaotic black metal', 'folk metal', 'jazz metal', 'norwegian metal', 'pagan black metal', 'post-metal', 'symphonic black metal', 'viking metal'], 'australian indie': ['australian alternative rock'], 'alternative new age': ['healing', 'meditation', 'new age'], 'samba': ['bossa nova', 'bossa nova jazz', 'brazilian composition', 'brazilian pop music', 'brega', 'choro', 'forro', 'mpb', 'pagode', 'velha guarda'], 'pagode': ['axe', 'choro', 'samba', 'velha guarda'], 'cantautor': ['nueva cancion', 'rock catala', 'spanish new wave', 'spanish pop', 'trova'], 'anti-folk': ['freak folk', 'indie folk', 'new weird america', 'stomp and holler'], 'japanese traditional': ['chinese traditional'], 'dark progressive house': ['deep progressive house', 'greek house', 'progressive trance house'], 'martial industrial': ['dark ambient', 'medieval', 'neoclassical', 'neofolk', 'power electronics'], 'electro dub': ['dub', 'illbient', 'uk dub'], 'portuguese rock': ['fado', 'hip hop tuga', 'portuguese pop'], 'classical period': ['baroque', 'classical', 'romantic'], 'horrorcore': ['detroit hip hop', 'juggalo'], 'skinhead oi': ['oi'], 'fingerstyle': ['drone folk'], 'ethereal gothic': ['ethereal wave', 'neoclassical'], 'memphis soul': ['beach music', 'chicago soul', 'classic funk rock', 'deep southern soul', 'funk', 'motown', 'northern soul', 'quiet storm', 'soul', 'soul blues', 'soul christmas', 'southern soul'], 'country': ['australian country', 'contemporary country', 'country christmas', 'country dawn', 'country gospel', 'country road', 'deep contemporary country', 'honky tonk', 'modern country rock', 'nashville sound', 'outlaw country', 'traditional country'], 'mariachi': ['banda', 'bolero', 'cumbia', 'duranguense', 'grupera', 'latin', 'latin christmas', 'latin pop', 'mexican son', 'norteno', 'ranchera', 'regional mexican'], 'southern hip hop': ['alternative hip hop', 'bounce', 'crunk', 'deep trap', 'dirty south rap', 'gangster rap', 'hip hop', 'hip pop', 'jerk', 'juggalo', 'memphis hip hop', 'pop rap', 'rap', 'trap music'], 'trova': ['cantautor', 'nueva cancion'], 'deep full on': ['full on'], 'cumbia sonidera': ['cumbia', 'grupera', 'norteno', 'regional mexican'], 'indie emo rock': ['emo', 'emo punk', 'indie emo'], 'geek folk': ['geek rock', 'neo-pagan'], 'west coast rap': ['deep g funk', 'g funk', 'gangster rap', 'hyphy', 'juggalo', 'rap'], 'experimental': ['art rock', 'canterbury scene', 'experimental rock', 'fourth world', 'free improvisation', 'industrial', 'industrial rock', 'japanese psychedelic', 'kraut rock', 'laboratorio', 'minimal', 'no wave', 'noise rock', 'outsider', 'post-punk', 'protopunk', 'space rock', 'uk post-punk', 'zolo'], 'nwothm': ['melodic power metal', 'neo-trad metal', 'nwobhm'], 'spanish indie rock': ['spanish indie pop'], 'classic dutch pop': ['levenslied', "traditional rock 'n roll"], 'pop punk': ['alternative emo', 'alternative pop rock', 'dreamo', 'emo', 'melodic hardcore', 'piano rock', 'pop emo', 'post-hardcore', 'punk', 'punk christmas', 'screamo', 'ska punk', 'skate punk'], 'chiptune': ['nintendocore'], 'discofox': ['deep discofox', 'karneval', 'schlager'], 'turbo folk': ['chalga', 'sevdah'], 'pop': ['boy band', 'candy pop', 'dance pop', 'deep dance pop', 'europop', 'hip pop', 'metropopolis', 'neo mellow', 'pop christmas', 'pop rock', 'synthpop', 'talent show', 'teen pop', 'urban contemporary', 'viral pop'], 'deep dance pop': ['canadian pop', 'teen pop'], 'spanish indie pop': ['spanish indie rock'], 'garage punk blues': ['punk blues'], 'ranchera': ['banda', 'bolero', 'cumbia', 'duranguense', 'grupera', 'latin christmas', 'mariachi', 'mexican son', 'norteno', 'regional mexican'], 'beatdown': ['hardcore'], 'talent show': ['europop', 'pop'], 'melodic death metal': ['avantgarde metal', 'black metal', 'cyber metal', 'death metal', 'deep melodic death metal', 'finnish metal', 'folk metal', 'gothic metal', 'groove metal', 'melodic metalcore', 'metal', 'metalcore', 'pagan black metal', 'swedish metal', 'symphonic black metal', 'technical death metal', 'viking metal'], 'j-rap': ['j-pop'], 'noise rock': ['dance-punk', 'experimental', 'experimental rock', 'lo-fi', 'math rock', 'neo-psychedelic', 'no wave', 'noise pop', 'noise punk', 'nu gaze', 'post-hardcore', 'post-punk'], 'dixieland': ['new orleans jazz', 'vintage jazz'], 'deep progressive house': ['dark progressive house', 'progressive trance house'], 'danish pop rock': ['classic danish pop'], 'chaotic hardcore': ['mathcore'], 'persian pop': ['persian traditional'], 'tropical': ['bachata', 'boogaloo', 'dominican pop', 'hurban', 'latin', 'latin hip hop', 'latin jazz', 'mambo', 'merengue', 'merengue urbano', 'reggaeton', 'salsa'], 'hard alternative': ['alternative metalcore', 'gothic alternative', 'heavy alternative', 'progressive alternative'], 'indietronica': ['alternative dance', 'australian dance', 'chillwave', 'dance-punk', 'electroclash', 'electrofox', 'freak folk', 'indie pop', 'indie rock', 'metropopolis', 'new rave', 'noise pop', 'nu gaze', 'shimmer pop', 'synthpop'], 'deep german indie': ['german indie'], 'deep east coast hip hop': ['east coast hip hop', 'hardcore hip hop'], 'basque rock': ['spanish punk'], 'abstract beats': ['downtempo trip hop', 'wonky'], 'abstract': ['glitch', 'lowercase'], 'idol': ['deep talent show'], 'nl folk': ['celtic christmas'], 'skate punk': ['crossover thrash', 'deep hardcore punk', 'hardcore punk', 'melodic hardcore', 'pop punk', 'power-pop punk', 'punk', 'punk christmas', 'ska', 'ska punk', 'straight edge', 'thrash core'], 'chicago house': ['acid house', 'deep house', 'detroit techno', 'hip house', 'vocal house'], 'japanoise': ['japanese psychedelic', 'noise', 'power electronics', 'rock noise'], 'christian punk': ['christian alternative rock', 'christian rock'], 'orchestral': ['classical performance'], 'new romantic': ['art rock', 'dance rock', 'deep new wave', 'hi nrg', 'new wave', 'new wave pop', 'permanent wave', 'post-punk', 'synthpop', 'uk post-punk', 'zolo'], 'deep string quartet': ['string quartet'], 'charred death': ['black death'], 'french pop': ['chanson', 'classic french pop'], 'j-core': ['bemani', 'doujin'], 'soft rock': ['album rock', 'bubblegum pop', 'classic rock', 'country rock', 'folk', 'folk rock', 'folk-pop', 'mellow gold', 'new wave pop', 'rock', 'roots rock', 'singer-songwriter', 'southern rock', 'traditional folk'], 'new tribe': ['didgeridoo', 'healing'], 'industrial rock': ['alternative metal', 'ebm', 'electro-industrial', 'experimental', 'funk metal', 'industrial', 'industrial metal', 'nu metal', 'rap metal', 'rap rock'], 'colombian rock': ['vallenato'], 'hardcore': ['alternative hardcore', 'beatdown', 'crossover thrash', 'hardcore punk', 'straight edge', 'vegan straight edge'], 'australian alternative rock': ['aussietronica', 'australian indie', 'australian pop', 'perth indie'], 'moombahton': ['bmore'], 'early music': ['baroque', 'choral', 'classical', 'classical christmas', 'early music ensemble', 'polyphony', 'renaissance'], 'video game music': ['epicore', 'gamecore', 'scorecore'], 'medieval rock': ['medieval', 'neue deutsche harte'], 'northern soul': ['beach music', 'chicago soul', 'deep northern soul', 'deep southern soul', 'memphis soul', 'motown', 'soul', 'southern soul'], 'neo-psychedelic': ['alternative rock', 'chamber pop', 'dream pop', 'e6fi', 'experimental rock', 'freak folk', 'indie pop', 'indie rock', 'lo-fi', 'new weird america', 'noise pop', 'noise rock', 'nu gaze', 'psych gaze', 'shoegaze', 'space rock'], 'serialism': ['acousmatic', 'avant-garde', 'composition d', 'contemporary classical', 'minimal', 'modern classical', 'modern performance', 'musique concrete'], 'merengue': ['bachata', 'boogaloo', 'dominican pop', 'hurban', 'merengue urbano', 'salsa', 'tropical'], 'christian metal': ['christian hardcore', 'death core', 'melodic metalcore', 'metalcore', 'screamo', 'unblack metal'], 'islamic recitation': ['nasheed'], 'italian pop rock': ['italian pop'], 'kirtan': ['healing', 'meditation', 'new tribe'], 'indie fuzzpop': ['c86', 'twee indie pop', 'twee pop'], 'sertanejo': ['sertanejo tradicional', 'sertanejo universitario'], 'full on': ['deep full on', 'psychedelic trance'], 'schranz': ['acid techno'], 'deep funk house': ['deep house'], 'shibuya-kei': ['j-ambient', 'j-dance', 'japanese jazztronica'], 'bolero': ['grupera', 'latin christmas', 'mariachi', 'mexican rock-and-roll', 'ranchera'], 'underground rap': ['abstract hip hop', 'flick hop', 'outer hip hop', 'soul flow'], 'french folk pop': ['french reggae', 'french rock'], 'indie dream pop': ['swirl psych'], 'classic italian pop': ['canzone napoletana', 'italian folk', 'italian pop'], 'norwegian jazz': ['dark jazz'], 'viking metal': ['avantgarde metal', 'black metal', 'deep folk metal', 'folk metal', 'melodic death metal', 'metal', 'norwegian metal', 'pagan black metal', 'swedish metal', 'symphonic black metal'], 'mellow gold': ['album rock', 'blues-rock', 'classic rock', 'country rock', 'folk', 'folk christmas', 'folk rock', 'folk-pop', 'glam rock', 'new wave pop', 'permanent wave', 'rock', 'roots rock', 'singer-songwriter', 'soft rock', 'southern rock', 'traditional folk'], 'indie emo': ['emo punk', 'indie emo rock', 'screamo punk'], 'ambient': ['deep ambient', 'fourth world', 'intelligent dance music', 'organic ambient'], 'violin': ['bow pop', 'classical performance'], 'danish hip hop': ['danish pop'], 'doom metal': ['black sludge', 'drone metal', 'funeral doom', 'gothic doom', 'post-metal', 'sludge metal', 'stoner metal', 'stoner rock', 'swedish metal'], 'string quartet': ['deep string quartet'], 'alternative dance': ['australian dance', 'chillwave', 'dance-punk', 'electro house', 'electroclash', 'electrofox', 'filter house', 'indietronica', 'metropopolis', 'new rave', 'synthpop'], 'christian music': ['ccm', 'christian alternative rock', 'christian christmas', 'christian punk', 'christian rock', 'deep ccm', 'deep christian rock', 'worship'], 'slow core': ['anti-folk', 'chamber pop', 'dream pop', 'freak folk', 'indie folk', 'indie pop', 'indie rock', 'lo-fi', 'melancholia', 'new weird america', 'nu gaze', 'post rock', 'shoegaze', 'stomp and holler'], 'jug band': ['deep delta blues', 'vintage country folk'], 'britpop': ['madchester'], 'electro house': ['alternative dance', 'australian dance', 'big room', 'complextro', 'disco house', 'dutch house', 'edm', 'electroclash', 'electrofox', 'fidget house', 'filter house', 'house', 'melbourne bounce', 'new rave', 'progressive electro house', 'progressive house', 'tribal house', 'vocal house'], 'musique pour enfants': ['french movie tunes'], 'synthpop': ['alternative dance', 'art rock', 'australian dance', 'chillwave', 'dance rock', 'dance-punk', 'electroclash', 'electrofox', 'hi nrg', 'indietronica', 'metropopolis', 'new rave', 'new romantic', 'new wave', 'new wave pop', 'permanent wave', 'pop', 'uk post-punk'], 'neo soul': ['dance pop', 'hip pop', 'new jack swing', 'quiet storm', 'soul christmas', 'urban contemporary'], 'movie tunes': ['hollywood'], 'drill and bass': ['breakcore', 'deep breakcore', 'digital hardcore', 'glitch', 'intelligent dance music'], 'ghoststep': ['experimental dubstep'], 'vancouver indie': ['canadian indie', 'deep canadian indie'], 'hardcore breaks': ['hardcore techno'], 'album rock': ['art rock', 'blues-rock', 'british blues', 'classic rock', 'folk rock', 'glam metal', 'glam rock', 'hard rock', 'heavy christmas', 'mellow gold', 'progressive rock', 'psychedelic rock', 'rock', 'sleaze rock', 'soft rock', 'southern rock', 'symphonic rock'], 'lovers rock': ['dancehall', 'dub', 'reggae', 'roots reggae'], 'space rock': ['art rock', 'canterbury scene', 'deep space rock', 'dream pop', 'experimental', 'japanese psychedelic', 'kraut rock', 'neo-psychedelic', 'nu gaze', 'progressive rock', 'psychedelic rock', 'retro metal', 'shoegaze', 'stoner metal', 'stoner rock', 'symphonic rock'], 'kizomba': ['kuduro', 'morna', 'zouk'], 'hindustani classical': ['carnatic', 'indian classical', 'qawwali'], 'soul christmas': ['beach music', 'chicago soul', 'classic funk rock', 'dance pop', 'disco', 'funk', 'hi nrg', 'memphis soul', 'motown', 'neo soul', 'new jack swing', 'pop christmas', 'quiet storm', 'soul', 'southern soul', 'urban contemporary'], 'indie pop rock': ['indie singer-songwriter'], 'renaissance': ['baroque', 'early music', 'early music ensemble'], 'stomp and holler': ['alternative country', 'anti-folk', 'chamber pop', 'folk', 'folk-pop', 'freak folk', 'indie christmas', 'indie folk', 'indie pop', 'indie rock', 'lo-fi', 'melancholia', 'new americana', 'new weird america', 'slow core', 'stomp and flutter', 'stomp pop'], 'outlaw country': ['alternative country', 'country', 'country christmas', 'country gospel', 'country rock', 'cowboy western', 'cowpunk', 'honky tonk', 'nashville sound', 'texas country', 'traditional country', 'western swing'], 'cante flamenco': ['flamenco', 'rumba'], 'dark psytrance': ['deep darkpsy'], 'rockabilly': ['brill building pop', 'rock-and-roll', 'traditional rockabilly'], 'bay area hip hop': ['hyphy'], 'balearic': ['nu disco'], 'grave wave': ['chillwave', 'deep gothic post-punk', 'minimal wave', 'vaporwave', 'witch house'], 'grime': ['uk garage', 'uk hip hop'], 'freak folk': ['anti-folk', 'chamber pop', 'chillwave', 'drone folk', 'e6fi', 'experimental psych', 'indie folk', 'indie pop', 'indie rock', 'lo-fi', 'melancholia', 'neo-psychedelic', 'new weird america', 'noise pop', 'nu gaze', 'slow core', 'stomp and holler'], 'celtic': ['celtic christmas', 'celtic rock', 'irish folk', 'jig and reel', 'string folk'], 'tribal house': ['deep vocal house', 'disco house', 'house', 'progressive house', 'vocal house'], 'thai pop': ['thai indie'], 'indie post-punk': ['swirl psych'], 'c64': ['demoscene'], 'indie shoegaze': ['dream pop', 'nu gaze', 'psych gaze', 'shoegaze'], 'nu age': ['warm drone'], 'contemporary jazz': ['avant-garde jazz', 'contemporary post-bop', 'deep jazz piano', 'free improvisation', 'free jazz', 'italian jazz', 'jazz'], 'hip house': ['acid house', 'bubblegum dance', 'chicago house', 'eurodance', 'europop', 'vocal house'], 'traditional folk': ['british folk', 'contemporary folk', 'country rock', 'folk', 'folk christmas', 'folk rock', 'folk-pop', 'mellow gold', 'roots rock', 'singer-songwriter', 'soft rock'], 'ccm': ['christian alternative rock', 'christian christmas', 'christian music', 'christian punk', 'christian rock', 'deep ccm', 'deep christian rock', 'worship'], 'big band': ['bebop', 'christmas', 'contemporary post-bop', 'cool jazz', 'hard bop', 'jazz', 'jazz christmas', 'jazz orchestra', 'new orleans jazz', 'ragtime', 'soul jazz', 'stride', 'swing'], 'bouncy house': ['deep happy hardcore'], 'stomp and whittle': ['deep indie rock', 'stomp pop'], 'vintage swedish pop': ['dansband'], 'vintage tango': ['orquesta tipica', 'tango'], 'breton folk': ['french folk'], 'soukous': ['benga', 'coupe decale', 'highlife', 'makossa', 'mande pop', 'mbalax', 'west african jazz', 'world', 'zouglou'], 'deep regional mexican': ['banda', 'duranguense', 'grupera', 'norteno', 'regional mexican'], 'modern performance': ['avant-garde', 'minimal', 'modern classical'], 'classic russian pop': ['russian pop'], 'christian alternative rock': ['ccm', 'christian christmas', 'christian music', 'christian punk', 'christian rock', 'worship'], 'madchester': ['britpop', 'dream pop', 'new wave'], 'vintage gospel': ['deep delta blues', 'vintage country folk'], 'tech house': ['deep euro house', 'german techno', 'microhouse', 'minimal tech house', 'minimal techno', 'progressive house', 'techno', 'tribal house'], 'jazz fusion': ['bebop', 'contemporary post-bop', 'cool jazz', 'deep jazz fusion', 'deep jazz guitar', 'hard bop', 'jazz', 'jazz bass', 'jazz christmas', 'jazz funk', 'soul jazz'], 'choro': ['bossa nova', 'brazilian composition', 'brazilian pop music', 'deep brazilian pop', 'forro', 'mpb', 'pagode', 'samba', 'velha guarda'], 'british brass band': ['brass ensemble'], 'hard glam': ['deep melodic hard rock', 'glam metal', 'sleaze rock', 'swedish hard rock'], 'necrogrind': ['goregrind', 'grindcore'], 'melodic hardcore': ['alternative emo', 'fast melodic punk', 'hardcore', 'hardcore punk', 'orgcore', 'pop punk', 'punk', 'ska punk', 'skate punk', 'straight edge'], 'hungarian hip hop': ['hungarian rock'], 'power pop': ['alternative pop', 'alternative rock', 'jangle pop', 'pub rock', 'underground power pop'], 'classic peruvian pop': ['peruvian rock'], 'boston rock': ['alternative pop'], 'cabaret': ['adult standards', 'chanson', 'christmas', 'easy listening', 'hollywood', 'jazz christmas', 'lounge', 'show tunes', 'swing', 'tin pan alley', 'vocal jazz'], 'deep contemporary country': ['australian country', 'country dawn', 'honky tonk', 'modern country rock', 'neo-traditional country'], 'progressive trance house': ['dark progressive house', 'deep progressive house'], 'bhangra': ['desi', 'indian pop', 'punjabi'], 'old-time': ['appalachian folk', 'bluegrass', 'progressive bluegrass', 'string band', 'vintage country folk'], 'minimal dub': ['dub techno', 'outsider house'], 'laboratorio': ['acousmatic', 'minimal', 'musique concrete'], 'easy listening': ['adult standards', 'christmas', 'deep adult standards', 'exotica', 'light music', 'lounge'], 'nasheed': ['islamic recitation'], 'future garage': ['bass music', 'cinematic dubstep', 'dubstep', 'footwork', 'substep', 'trapstep', 'vapor house'], 'lo star': ['austindie'], 'ska': ['crack rock steady', 'euroska', 'punk ska', 'ska punk', 'ska revival', 'traditional ska'], 'heavy christmas': ['album rock', 'glam metal', 'glam rock', 'hard rock', 'punk christmas'], 'deep symphonic black metal': ['symphonic black metal'], 'arab folk': ['arab pop'], 'complextro': ['brostep', 'catstep', 'edm', 'electro house'], 'neo-synthpop': ['deep neo-synthpop', 'futurepop', 'solipsynthm', 'swedish synthpop'], 'experimental rock': ['experimental', 'industrial', 'math rock', 'neo-psychedelic', 'no wave', 'noise pop', 'noise rock', 'outsider', 'post-hardcore', 'post-punk', 'protopunk', 'uk post-punk'], 'dreamo': ['emo', 'piano rock', 'pop punk'], 'appalachian folk': ['bluegrass', 'jug band', 'old-time', 'string band', 'vintage country folk'], 'cubaton': ['timba'], 'new wave pop': ['art rock', 'candy pop', 'dance rock', 'europop', 'folk-pop', 'hi nrg', 'lilith', 'mellow gold', 'new romantic', 'new wave', 'permanent wave', 'pop christmas', 'pop rock', 'soft rock', 'synthpop'], 'benga': ['soukous'], 'deep chill': ['ambient trance', 'chill groove', 'chill lounge', 'deep chill-out', 'deep sunset lounge'], 'slovak hip hop': ['slovak pop'], 'organic ambient': ['ambient'], 'judaica': ['klezmer', 'mizrahi'], 'avant-garde': ['acousmatic', 'classical', 'contemporary classical', 'drone', 'laboratorio', 'minimal', 'modern classical', 'modern performance', 'musique concrete', 'romantic', 'serialism', 'tzadik'], 'desi': ['bhangra', 'indian pop', 'punjabi'], 'electro-industrial': ['aggrotech', 'dark electro-industrial', 'dark wave', 'ebm', 'futurepop', 'industrial', 'industrial metal', 'industrial rock', 'new beat', 'power noise'], 'world fusion': ['new tribe', 'world chill'], 'hard bop': ['bebop', 'big band', 'contemporary post-bop', 'cool jazz', 'jazz', 'jazz christmas', 'jazz funk', 'jazz fusion', 'soul jazz', 'stride'], 'world': ['afrobeat', 'desert blues', 'highlife', 'mande pop', 'mbalax', 'morna', 'soukous', 'west african jazz', 'zim'], 'environmental': ['meditation', 'relaxative', 'sleep'], 'banda': ['cumbia', 'deep regional mexican', 'duranguense', 'grupera', 'mariachi', 'norteno', 'ranchera', 'regional mexican'], 'symphonic metal': ['fallen angel', 'folk metal', 'gothic metal', 'gothic symphonic metal', 'norwegian metal', 'power metal', 'progressive metal'], 'spanish reggae': ['spanish hip hop'], 'manele': ['romanian pop'], 'maghreb': ['deep rai', 'rai'], 'country rock': ['alternative country', 'classic rock', 'country', 'cowpunk', 'folk', 'folk rock', 'mellow gold', 'nashville sound', 'outlaw country', 'roots rock', 'singer-songwriter', 'soft rock', 'southern rock', 'texas country', 'traditional country', 'traditional folk'], 'calypso': ['soca'], 'cantopop': ['c-pop', 'classic chinese pop', 'mandopop', 'taiwanese pop'], 'desert blues': ['mande pop', 'mbalax', 'west african jazz', 'world'], 'indie singer-songwriter': ['deep indie singer-songwriter', 'indie pop rock'], 'free jazz': ['avant-garde jazz', 'bebop', 'contemporary jazz', 'contemporary post-bop', 'free improvisation', 'jazz', 'modern free jazz', 'tzadik'], 'classic venezuelan pop': ['venezuelan rock'], 'latin pop': ['bolero', 'hurban', 'latin', 'latin christmas', 'mariachi', 'rock en espanol', 'spanish pop', 'spanish pop rock'], 'swamp blues': ['acoustic blues', 'blues', 'boogie-woogie', 'chicago blues', 'country blues', 'delta blues', 'electric blues', 'harmonica blues', 'jazz blues', 'jump blues', 'louisiana blues', 'memphis blues', 'modern blues', 'new orleans blues', 'piano blues', 'piedmont blues', 'soul blues', 'texas blues', 'traditional blues'], 'deep jazz piano': ['jazz trio'], 'psychedelic rock': ['album rock', 'blues-rock', 'british blues', 'british invasion', 'classic garage rock', 'classic rock', 'folk rock', 'freakbeat', 'outsider', 'progressive rock', 'protopunk', 'psychedelic blues-rock', 'rock', 'southern rock', 'space rock', 'symphonic rock'], 'new beat': ['ebm'], 'nu disco': ['balearic', 'filter house', 'retro electro'], 'uk post-punk': ['art rock', 'dance rock', 'experimental', 'experimental rock', 'gothic post-punk', 'gothic rock', 'industrial', 'new romantic', 'new wave', 'no wave', 'post-punk', 'protopunk', 'zolo'], 'french movie tunes': ['musique pour enfants'], 'deep cello': ['cello'], 'soda pop': ['doo-wop'], 'irish rock': ['irish indie'], 'classical': ['avant-garde', 'baroque', 'classical christmas', 'classical period', 'early music', 'minimal', 'modern classical', 'renaissance', 'romantic'], 'blues-rock': ['album rock', 'british blues', 'classic rock', 'electric blues', 'glam rock', 'hard rock', 'jam band', 'mellow gold', 'modern blues', 'psychedelic rock', 'rock', 'roots rock', 'soft rock', 'southern rock', 'texas blues'], 'melodic power metal': ['neo-trad metal', 'nwothm'], 'fake': ['workout'], 'hard house': ['hard trance'], 'canzone napoletana': ['classic italian pop', 'italian folk'], 'big beat': ['acid jazz', 'breakbeat', 'chill-out', 'downtempo', 'electronic', 'illbient', 'intelligent dance music', 'ninja', 'nu jazz', 'nu skool breaks', 'trip hop', 'turntablism'], 'electro jazz': ['acid jazz', 'nu jazz'], 'djent': ['death core', 'deep melodic metalcore', 'jazz metal', 'mathcore'], 'danish indie': ['danish pop'], 'zeuhl': ['canterbury scene', 'folk-prog'], 'vienna indie': ['austropop'], 'nu gaze': ['chillwave', 'dream pop', 'freak folk', 'indie rock', 'indie shoegaze', 'indietronica', 'lo-fi', 'metropopolis', 'neo-psychedelic', 'noise pop', 'noise rock', 'shoegaze', 'space rock'], 'progressive rock': ['album rock', 'art rock', 'canterbury scene', 'italian progressive rock', 'kraut rock', 'neo-progressive', 'psychedelic rock', 'space rock', 'symphonic rock', 'zolo'], 'vallenato': ['classic colombian pop', 'colombian rock', 'cumbia'], 'crossover thrash': ['deep hardcore punk', 'groove metal', 'hardcore', 'hardcore punk', 'metal', 'punk', 'skate punk', 'speed metal', 'straight edge', 'thrash core', 'thrash metal'], 'indian pop': ['bhangra', 'desi', 'filmi', 'indian rock', 'pakistani pop', 'punjabi', 'qawwali'], 'vocal house': ['chicago house', 'deep house', 'deep vocal house', 'disco house', 'edm', 'electro house', 'hip house', 'house', 'tribal house'], 'finnish metal': ['melodic death metal', 'suomi rock'], 'neue deutsche welle': ['minimal wave'], 'country blues': ['acoustic blues', 'blues', 'blues-rock', 'british blues', 'chicago blues', 'delta blues', 'electric blues', 'harmonica blues', 'jazz blues', 'louisiana blues', 'memphis blues', 'modern blues', 'piano blues', 'piedmont blues', 'soul blues', 'swamp blues', 'texas blues', 'traditional blues'], 'shoegaze': ['dream pop', 'indie shoegaze', 'neo-psychedelic', 'noise pop', 'nu gaze', 'slow core', 'space rock'], 'afrobeat': ['classic afrobeat', 'deep funk', 'highlife'], 'gypsy jazz': ['deep jazz guitar'], 'modern blues': ['blues-rock', 'british blues', 'classic rock', 'country blues', 'electric blues', 'jam band', 'louisiana blues', 'power blues-rock', 'southern rock', 'swamp blues', 'texas blues'], 'alternative hip hop': ['abstract hip hop', 'crunk', 'deep trap', 'dirty south rap', 'east coast hip hop', 'gangster rap', 'hardcore hip hop', 'hip hop', 'old school hip hop', 'pop rap', 'rap', 'soul flow', 'southern hip hop', 'trap music', 'turntablism', 'underground hip hop', 'underground pop rap'], 'spanish pop': ['cantautor', 'hurban', 'latin', 'latin pop', 'rock en espanol', 'spanish new wave', 'spanish pop rock'], 'rio de la plata': ['folklore argentino'], 'pop house': ['disco house', 'hands up', 'house'], 'swedish pop punk': ['swedish punk'], 'christmas': ['adult standards', 'big band', 'brill building pop', 'cabaret', 'deep adult standards', 'easy listening', 'jazz christmas', 'lounge', 'swing', 'vocal jazz'], 'minimal': ['acousmatic', 'avant-garde', 'bow pop', 'classical', 'drone', 'fourth world', 'free improvisation', 'laboratorio', 'modern classical', 'modern performance', 'musique concrete', 'serialism', 'tzadik'], 'noise': ['japanoise', 'power electronics', 'rock noise'], 'texas country': ['alternative country', 'country christmas', 'cowpunk', 'honky tonk', 'outlaw country', 'traditional country'], 'medieval': ['dark wave', 'ethereal gothic', 'ethereal wave', 'medieval rock', 'neoclassical', 'neofolk', 'nordic folk'], 'deep indie pop': ['shimmer psych'], 'new orleans jazz': ['big band', 'dixieland', 'ragtime', 'stride', 'swing', 'vintage jazz', 'vintage swing'], 'funk carioca': ['baile funk'], 'filmi': ['deep indian pop', 'desi', 'indian pop', 'indian rock', 'pakistani pop', 'qawwali'], 'detroit hip hop': ['horrorcore', 'juggalo'], 'symphonic rock': ['art rock', 'canterbury scene', 'italian progressive rock', 'kraut rock', 'neo-progressive', 'progressive rock', 'psychedelic rock', 'space rock', 'zolo'], 'slovak pop': ['czech rock', 'slovak hip hop'], 'atmospheric post-metal': ['black sludge', 'drone metal', 'post-metal', 'sludge metal'], 'classic afrobeat': ['afrobeat', 'highlife'], 'deep happy hardcore': ['bouncy house'], 'progressive trance': ['deep progressive trance', 'deep uplifting trance', 'progressive house', 'trance', 'uplifting trance'], 'spanish new wave': ['cantautor', 'spanish invasion', 'spanish pop'], 'afrikaans': ['african rock'], 'downtempo': ['acid jazz', 'big beat', 'broken beat', 'chill-out', 'electro jazz', 'electronic', 'illbient', 'lounge', 'ninja', 'nu jazz', 'trip hop', 'turntablism'], 'shimmer pop': ['chillwave', 'indietronica', 'metropopolis', 'shiver pop'], 'folk metal': ['avantgarde metal', 'black metal', 'deep folk metal', 'finnish metal', 'german metal', 'gothic metal', 'melodic death metal', 'norwegian metal', 'pagan black metal', 'power metal', 'symphonic black metal', 'viking metal'], 'russian alternative': ['russian punk', 'russian rock'], 'oi': ['anarcho-punk', 'german oi', 'hatecore', 'punk', 'skinhead oi', 'street punk'], 'liquid funk': ['drum and bass', 'drumfunk', 'jump up', 'jungle', 'neurofunk'], 'warm drone': ['abstract', 'drone', 'hauntology', 'j-ambient', 'lowercase', 'nu age'], 'melodic hard rock': ['glam metal'], 'hardcore punk': ['crossover thrash', 'deep hardcore punk', 'hardcore', 'melodic hardcore', 'punk', 'skate punk', 'straight edge', 'thrash core'], 'exotica': ['easy listening', 'lounge'], 'anime': ['anime score', 'j-poprock', 'j-theme'], 'neo-rockabilly': ['vintage rockabilly'], 'electro swing': ['acid jazz', 'nu jazz'], 'dub': ['dancehall', 'electro dub', 'lovers rock', 'reggae', 'rock steady', 'roots reggae', 'world christmas'], 'post-punk': ['dance rock', 'experimental', 'experimental rock', 'glam rock', 'gothic rock', 'industrial', 'new romantic', 'new wave', 'no wave', 'noise rock', 'protopunk', 'punk', 'uk post-punk', 'zolo'], 'turntablism': ['abstract hip hop', 'acid jazz', 'alternative hip hop', 'big beat', 'chill-out', 'downtempo', 'east coast hip hop', 'electronic', 'hardcore hip hop', 'hip hop', 'illbient', 'ninja', 'nu jazz', 'old school hip hop', 'scratch', 'trip hop', 'underground hip hop'], 'deep funk': ['afrobeat', 'classic funk rock', 'funky breaks', 'traditional funk'], 'celtic christmas': ['celtic', 'celtic rock', 'irish folk', 'irish rock', 'nl folk'], 'broken beat': ['acid jazz', 'nu jazz'], 'kompa': ['zouk'], 'garage punk': ['garage pop'], 'british invasion': ['brill building pop', 'british blues', 'bubblegum pop', 'classic garage rock', 'freakbeat', 'merseybeat', 'protopunk', 'psychedelic rock', 'rock-and-roll'], 'noise punk': ['math rock', 'noise rock', 'post-hardcore', 'rock noise'], 'danseband': ['classic norwegian pop'], 'retro metal': ['hard stoner rock', 'stoner metal', 'stoner rock'], 'thrash metal': ['black thrash', 'canadian metal', 'crossover thrash', 'death metal', 'deep thrash metal', 'german metal', 'groove metal', 'metal', 'nwobhm', 'speed metal'], 'nz indie': ['kiwi rock'], 'avant-garde jazz': ['bebop', 'contemporary jazz', 'contemporary post-bop', 'cool jazz', 'free improvisation', 'free jazz', 'hard bop', 'jazz', 'modern free jazz', 'tzadik'], 'progressive house': ['big room', 'deep uplifting trance', 'edm', 'electro house', 'house', 'progressive electro house', 'progressive trance', 'tech house', 'trance', 'tribal house', 'uplifting trance', 'vocal house'], 'neo-trad metal': ['german metal', 'melodic power metal', 'neo classical metal', 'nwobhm', 'nwothm', 'power metal', 'progressive metal', 'speed metal'], 'swedish indie rock': ['swedish indie pop'], 'atmospheric black metal': ['avantgarde metal', 'black metal', 'blackgaze', 'chaotic black metal', 'dark black metal', 'depressive black metal', 'norwegian metal', 'pagan black metal', 'post-metal', 'symphonic black metal'], 'classic swedish pop': ['swedish indie rock', 'swedish pop', 'swedish prog', 'vintage swedish pop'], 'math rock': ['experimental rock', 'louisville indie', 'math pop', 'noise punk', 'noise rock', 'post rock', 'post-hardcore'], 'soca': ['calypso'], 'crunk': ['alternative hip hop', 'bounce', 'deep trap', 'dirty south rap', 'gangster rap', 'hip hop', 'hip pop', 'jerk', 'juggalo', 'memphis hip hop', 'pop rap', 'rap', 'southern hip hop', 'trap music'], 'e6fi': ['athens indie', 'gbvfi', 'indie pop', 'lo-fi', 'neo-psychedelic'], 'deep disco': ['post-disco'], 'bossa nova jazz': ['bossa nova'], 'polyphony': ['caucasian folk', 'corsican folk'], 'velha guarda': ['bossa nova', 'brazilian composition', 'brazilian pop music', 'choro', 'deep brazilian pop', 'forro', 'mpb', 'pagode', 'samba'], 'coupe decale': ['makossa', 'soukous', 'zouglou'], 'rock gaucho': ['brazilian hip hop', 'brazilian indie', 'brazilian pop music', 'brazilian punk'], 'cyber metal': ['neo-industrial rock'], 'dub techno': ['ambient dub techno', 'deep dub techno', 'detroit techno', 'glitch', 'microhouse', 'minimal dub', 'minimal techno'], 'forro': ['bossa nova', 'brazilian pop music', 'brega', 'choro', 'mpb', 'samba', 'velha guarda'], 'industrial metal': ['alternative metal', 'ebm', 'electro-industrial', 'funk metal', 'groove metal', 'industrial', 'industrial rock', 'neo-industrial rock', 'nu metal', 'post-grunge', 'rap metal', 'rap rock'], 'electronicore': ['post-post-hardcore'], 'footwork': ['bass music', 'future garage', 'ghettotech', 'trapstep', 'vapor house'], 'grunge': ['alternative metal', 'alternative rock', 'funk metal', 'pop rock', 'post-grunge', 'riot grrrl'], 'byzantine': ['liturgical'], 'hawaiian': ['ukulele', 'world christmas'], 'dansktop': ['classic danish pop'], 'magyar': ['hungarian pop', 'hungarian rock'], 'pop rap': ['alternative hip hop', 'crunk', 'dance pop', 'deep trap', 'dirty south rap', 'gangster rap', 'hardcore hip hop', 'hip hop', 'hip pop', 'jerk', 'juggalo', 'memphis hip hop', 'rap', 'southern hip hop', 'trap music', 'underground pop rap'], 'underground power pop': ['jangle pop', 'power pop'], 'australian dance': ['melbourne bounce'], 'russian punk': ['classic russian rock', 'russian alternative', 'russian rock'], 'gbvfi': ['alternative pop', 'e6fi', 'lo-fi'], 'electroclash': ['alternative dance', 'dance-punk', 'electro house', 'electrofox', 'indietronica', 'new rave', 'synthpop'], 'polish pop': ['classic polish pop', 'polish indie', 'polish punk'], 'gothic doom': ['doom metal', 'funeral doom'], 'deep discofox': ['discofox'], 'vintage schlager': ['classic schlager'], 'italian disco': ['deep italo disco', 'hi nrg'], 'psychedelic trance': ['full on', 'goa trance'], 'breakcore': ['deep breakcore', 'digital hardcore', 'drill and bass', 'intelligent dance music'], 'psychedelic blues-rock': ['classic psychedelic rock'], 'romantic': ['avant-garde', 'baroque', 'classical', 'classical christmas', 'classical period', 'modern classical'], 'swamp pop': ['cajun', 'zydeco'], 'reading': ['hoerspiel'], 'smooth urban r&b': ['neo soul-jazz'], 'harmonica blues': ['acoustic blues', 'blues', 'chicago blues', 'country blues', 'delta blues', 'electric blues', 'louisiana blues', 'memphis blues', 'piano blues', 'piedmont blues', 'swamp blues', 'texas blues', 'traditional blues'], 'deep neo-synthpop': ['neo-synthpop', 'solipsynthm', 'swedish synthpop'], 'swiss folk': ['swiss hip hop', 'swiss rock', 'zillertal'], 'rhythm and boogie': ['neo-rockabilly', 'traditional rockabilly', 'vintage rockabilly'], 'rumba': ['cante flamenco', 'flamenco'], 'texas blues': ['acoustic blues', 'blues', 'blues-rock', 'boogie-woogie', 'british blues', 'chicago blues', 'country blues', 'delta blues', 'electric blues', 'harmonica blues', 'jazz blues', 'jump blues', 'louisiana blues', 'memphis blues', 'modern blues', 'new orleans blues', 'piano blues', 'piedmont blues', 'power blues-rock', 'soul blues', 'swamp blues', 'traditional blues'], 'acousmatic': ['avant-garde', 'drone', 'laboratorio', 'minimal', 'modern classical', 'modern performance', 'musique concrete', 'serialism', 'tzadik'], 'roots reggae': ['dancehall', 'dub', 'lovers rock', 'reggae', 'rock steady', 'world christmas'], 'cuban rumba': ['boogaloo', 'latin jazz', 'mambo', 'salsa', 'timba'], 'barbershop': ['a cappella'], 'taiwanese pop': ['c-pop', 'cantopop', 'classic chinese pop', 'mandopop'], 'cello': ['bow pop', 'deep cello'], 'sleaze rock': ['deep melodic hard rock', 'glam metal', 'glam rock', 'hard glam', 'hard rock', 'swedish hard rock'], 'monastic': ['liturgical'], 'azonto': ['afrobeats', 'highlife', 'hiplife'], 'swiss rock': ['swiss folk', 'swiss hip hop'], 'andean': ['nueva cancion'], 'french indie pop': ['french rock'], 'cinematic dubstep': ['minimal dubstep', 'substep'], 'lo-fi': ['alternative pop', 'alternative rock', 'anti-folk', 'chamber pop', 'chillwave', 'dance-punk', 'dream pop', 'e6fi', 'experimental rock', 'freak folk', 'gbvfi', 'indie christmas', 'indie folk', 'indie pop', 'indie rock', 'melancholia', 'neo-psychedelic', 'new weird america', 'noise pop', 'noise rock', 'nu gaze', 'power pop', 'shoegaze', 'slow core', 'stomp and holler', 'stomp pop'], 'jig and reel': ['celtic', 'irish folk'], 'persian traditional': ['persian pop'], 'barnmusik': ['swedish soft pop'], 'hardcore hip hop': ['alternative hip hop', 'deep east coast hip hop', 'east coast hip hop', 'gangster rap', 'hip hop', 'juggalo', 'old school hip hop', 'pop rap', 'rap', 'underground hip hop'], 'belgian indie': ['belgian rock'], 'drone psych': ['experimental psych', 'rock noise'], 'mathcore': ['canadian metal', 'chaotic hardcore', 'christian hardcore', 'death core', 'djent', 'jazz metal', 'melodic metalcore', 'metalcore'], 'early music ensemble': ['consort', 'early music', 'renaissance'], 'beats & rhymes': ['deep flow', 'flick hop'], 'yoik': ['nordic folk'], 'levenslied': ['classic dutch pop', 'dutch pop'], 'speed garage': ['bassline', 'uk garage'], 'french rock': ['chanson', 'french folk pop', 'french indie pop', 'french pop', 'french punk', 'french reggae', 'neo metal'], 'ghettotech': ['footwork'], 'hardstyle': ['deep hardstyle'], 'classic danish pop': ['danish pop', 'danish pop rock', 'dansktop'], 'swiss hip hop': ['swiss folk', 'swiss rock'], 'czech rock': ['czech folk', 'slovak pop'], 'emo punk': ['alternative emo', 'emo', 'indie emo', 'indie emo rock', 'post-hardcore'], 'danish pop': ['classic danish pop', 'danish hip hop', 'danish indie'], 'southern rock': ['album rock', 'blues-rock', 'british blues', 'classic rock', 'country rock', 'folk rock', 'hard rock', 'jam band', 'mellow gold', 'modern southern rock', 'psychedelic rock', 'rock', 'roots rock', 'soft rock'], 'dark hardcore': ['doomcore', 'gabba', 'happy hardcore', 'hardcore techno', 'speedcore'], 'brill building pop': ['adult standards', 'beach music', 'british invasion', 'bubblegum pop', 'chicago soul', 'christmas', 'deep adult standards', 'doo-wop', 'girl group', 'merseybeat', 'rock-and-roll', 'rockabilly'], 'dream pop': ['indie shoegaze', 'madchester', 'melancholia', 'neo-psychedelic', 'noise pop', 'nu gaze', 'shoegaze', 'slow core', 'space rock'], 'brutal deathcore': ['death core'], 'new age': ['alternative new age', 'ambient', 'bow pop', 'fourth world', 'healing', 'new age piano'], 'corsican folk': ['polyphony'], 'deep latin alternative': ['mexican indie'], 'jangle pop': ['power pop', 'pub rock', 'underground power pop'], 'deep baroque': ['baroque ensemble'], 'reggae': ['dancehall', 'dub', 'lovers rock', 'rock steady', 'roots reggae', 'world christmas'], 'deep psychobilly': ['psychobilly'], 'alternative emo': ['deep pop punk', 'emo', 'emo punk', 'melodic hardcore', 'orgcore'], 'country gospel': ['christian christmas', 'country', 'country christmas', 'cowboy western', 'honky tonk', 'nashville sound', 'outlaw country', 'southern gospel', 'traditional country', 'western swing'], 'fast melodic punk': ['j-poppunk', 'melodic hardcore'], 'galego': ['spanish folk'], 'brazilian indie': ['brazilian hip hop', 'brazilian pop music', 'mpb', 'rock gaucho'], 'shiver pop': ['gauze pop', 'shimmer pop'], 'celtic rock': ['celtic', 'celtic christmas', 'celtic punk', 'folk punk', 'irish folk'], 'greek indie': ['entehno', 'greek hip hop', 'laiko'], 'norwegian metal': ['avantgarde metal', 'black metal', 'pagan black metal', 'symphonic black metal', 'viking metal'], 'classic funk rock': ['chicago soul', 'deep funk', 'disco', 'funk', 'funk rock', 'hi nrg', 'memphis soul', 'motown', 'p funk', 'post-disco', 'quiet storm', 'soul', 'soul christmas', 'southern soul'], 'post-hardcore': ['emo', 'emo punk', 'experimental rock', 'louisville indie', 'math rock', 'metalcore', 'noise punk', 'noise rock', 'pop punk', 'screamo'], 'british folk': ['folk rock', 'traditional british folk', 'traditional folk'], 'belly dance': ['arab pop'], 'electrofox': ['alternative dance', 'dance-punk', 'filter house', 'new rave'], 'norwegian pop': ['classic norwegian pop', 'norwegian hip hop', 'norwegian rock'], 'power-pop punk': ['deep power-pop punk', 'orgcore', 'riot grrrl'], 'electroacoustic improvisation': ['free improvisation', 'lowercase'], 'venezuelan rock': ['classic venezuelan pop'], 'finnish indie': ['classic finnish rock', 'suomi rock'], 'deep hardcore punk': ['deep punk rock', 'hardcore punk', 'skate punk'], 'bubblegum pop': ['brill building pop', 'british invasion', 'classic garage rock', 'freakbeat', 'merseybeat', 'rock-and-roll'], 'deep soundtrack': ['soundtrack'], 'german hip hop': ['austrian hip hop'], 'deep delta blues': ['jug band', 'vintage country folk'], 'brazilian punk': ['rock gaucho'], 'chicano rap': ['latin hip hop', 'underground latin hip hop'], 'gothic symphonic metal': ['fallen angel', 'gothic metal', 'norwegian metal', 'symphonic metal'], 'japanese psychedelic': ['experimental psych', 'japanoise'], 'contemporary classical': ['avant-garde', 'modern classical', 'serialism'], 'zouk': ['kizomba', 'kompa'], 'military band': ['marching band', 'wind ensemble'], 'minimal wave': ['gothic post-punk', 'neue deutsche welle'], 'jazz trio': ['deep jazz piano'], 'porro': ['cumbia', 'cumbia funk'], 'detroit techno': ['acid house', 'chicago house', 'dub techno', 'electro', 'microhouse', 'minimal techno', 'techno'], 'dance pop': ['boy band', 'candy pop', 'deep dance pop', 'europop', 'hip pop', 'neo soul', 'new jack swing', 'pop', 'pop christmas', 'pop rap', 'pop rock', 'talent show', 'teen pop', 'urban contemporary'], 'zydeco': ['cajun', 'swamp pop'], 'rock en espanol': ['argentine indie', 'argentine reggae', 'argentine rock', 'cantautor', 'latin', 'latin alternative', 'latin metal', 'latin pop', 'mexican indie', 'nueva cancion', 'spanish pop'], 'show tunes': ['broadway', 'cabaret', 'hollywood', 'movie tunes'], 'modern downshift': ['gothic alternative', 'hard alternative', 'heavy alternative', 'modern uplift'], 'geek rock': ['comedy rock', 'comic', 'geek folk']} toRedo= ['alternative r&b', 'beats & rhymes', 'deep alternative r&b', 'indie r&b', 'japanese r&b', 'r&b', 'smooth urban r&b'] resLen={} ''' for r in res.keys(): resLen[r] = len(res[r]) def genre_compare(x,y): return resLen[y]-resLen[x] ordered=res.keys() ordered = sorted(ordered, cmp=genre_compare) print ordered ''' valueForGenre = {} import csv for i in range(4,10): with open("../data/genresByDecade/19"+str(i)+'0sGenres.csv', 'rb') as csvfile: spamreader = csv.reader(csvfile, delimiter=',', quotechar='"') j = 0 for row in spamreader: i = 0 if j==0 : for c in row: valueForGenre[i] = {"name":c.replace(" ",".")} i+=1 else: for c in row: valueForGenre[i]["value"]=c i+=1 j+=1 res={} for obj in valueForGenre.values(): if not (obj["name"] in res.keys()): res[obj["name"]]={"value":0} if obj["name"] in genresSim.keys(): for g in genresSim[obj["name"]]: if not (g.replace(" ",".") in res.keys()): res[g.replace(" ",".")]={"value":0} res[obj["name"]]["value"] += float(obj["value"]) if obj["name"] in genresSim.keys(): for g in genresSim[obj["name"]]: if not (g.replace(" ",".") in res.keys()): res[g.replace(" ",".")]["value"] += float(obj[value]) def genre_compare(x,y): print x return int(res[y]["value"]-res[x]["value"]) ordered = sorted(res.keys(), cmp=genre_compare) print res print ordered
1,423.291262
108,233
0.647815
17,362
146,599
5.469358
0.055178
0.012258
0.003896
0.002527
0.347339
0.279995
0.222106
0.178172
0.149801
0.107215
0
0.000485
0.114803
146,599
103
108,234
1,423.291262
0.731269
0
0
0.238095
0
0
0.695059
0.000605
0
0
0
0
0
0
null
null
0
0.047619
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
96d907dfebe3e46b72025fb593dde764217cc9d2
337
py
Python
docs/user_guide/operation/scripts/examples/argus/extraction/jan/EvacPipette1_2.py
ASUPychron/pychron
dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76
[ "Apache-2.0" ]
31
2016-03-07T02:38:17.000Z
2022-02-14T18:23:43.000Z
docs/user_guide/operation/scripts/examples/argus/extraction/jan/EvacPipette1_2.py
ASUPychron/pychron
dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76
[ "Apache-2.0" ]
1,626
2015-01-07T04:52:35.000Z
2022-03-25T19:15:59.000Z
docs/user_guide/operation/scripts/examples/argus/extraction/jan/EvacPipette1_2.py
UIllinoisHALPychron/pychron
f21b79f4592a9fb9dc9a4cb2e4e943a3885ededc
[ "Apache-2.0" ]
26
2015-05-23T00:10:06.000Z
2022-03-07T16:51:57.000Z
''' ''' def main(): info('Evacuate Pipettes 1 and 2') open(description='Microbone to Turbo') open(description='Microbone to Minibone') close(description='Inner Pipette 1') close(description='Inner Pipette 2') sleep(1) open(description='Outer Pipette 1') open(description='Outer Pipette 2') sleep(15)
24.071429
45
0.664688
42
337
5.333333
0.47619
0.267857
0.214286
0.232143
0.25
0
0
0
0
0
0
0.03321
0.195846
337
14
46
24.071429
0.793358
0
0
0
0
0
0.375758
0
0
0
0
0
0
1
0.1
true
0
0
0
0.1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
96dc0dc03caba4521daf2794af017aa3ae215ce6
344
py
Python
src/api/v1/serializers/subregions.py
pyn4rc/improved-engine
b1b9b9fafc0381bd75cdb7829fe747203a097a5d
[ "MIT" ]
null
null
null
src/api/v1/serializers/subregions.py
pyn4rc/improved-engine
b1b9b9fafc0381bd75cdb7829fe747203a097a5d
[ "MIT" ]
5
2021-03-19T08:43:05.000Z
2022-02-10T10:17:16.000Z
src/api/v1/serializers/subregions.py
pyn4rc/improved-engine
b1b9b9fafc0381bd75cdb7829fe747203a097a5d
[ "MIT" ]
null
null
null
from cities.models import Subregion from rest_framework import serializers class SubregionSerializerV1(serializers.ModelSerializer): class Meta: model = Subregion fields = '__all__' class SubregionListSerializerV1(serializers.ModelSerializer): class Meta: model = Subregion fields = ('id', 'name', )
22.933333
61
0.712209
31
344
7.741935
0.580645
0.216667
0.258333
0.291667
0.458333
0.458333
0.458333
0
0
0
0
0.007407
0.215116
344
14
62
24.571429
0.881481
0
0
0.4
0
0
0.037791
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
96e7f823c0b4ff4dd9457e3d97239dcfeebfee34
232
py
Python
pyso3/generate.py
hoj201/pyso3
e6888dba39a54740bff41a8bfec88d85b2285380
[ "MIT" ]
null
null
null
pyso3/generate.py
hoj201/pyso3
e6888dba39a54740bff41a8bfec88d85b2285380
[ "MIT" ]
null
null
null
pyso3/generate.py
hoj201/pyso3
e6888dba39a54740bff41a8bfec88d85b2285380
[ "MIT" ]
null
null
null
def generate_random_rot(): """ generate a random rotation wrt the Haar measure """ from pyso3.quaternion import quat2rot import numpy as np q = np.random.randn(4) q = q / np.linalg.norm(q) return quat2rot(q)
29
59
0.668103
35
232
4.371429
0.685714
0.039216
0
0
0
0
0
0
0
0
0
0.022472
0.232759
232
7
60
33.142857
0.837079
0.202586
0
0
1
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
96fe76dae41e48973f14a6124e90bb33002166c0
50
py
Python
terraform_builder/specs/filters/__init__.py
mrlesmithjr/terraform-builder
08ed71333e988682ce50c6ef865fdd8ba27de395
[ "MIT" ]
7
2020-03-21T20:40:50.000Z
2022-02-17T17:17:53.000Z
terraform_builder/specs/filters/__init__.py
mrlesmithjr/terraform-builder
08ed71333e988682ce50c6ef865fdd8ba27de395
[ "MIT" ]
39
2020-03-24T04:37:21.000Z
2020-06-17T04:20:22.000Z
terraform_builder/specs/filters/__init__.py
mrlesmithjr/terraform-builder
08ed71333e988682ce50c6ef865fdd8ba27de395
[ "MIT" ]
null
null
null
"""terraform_builder/specs/filters/__init__.py"""
25
49
0.78
6
50
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.02
50
1
50
50
0.693878
0.86
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
8c1caa5f23ff0ec59050bc02dabbfdeac478fbb3
108
py
Python
tests/cases/run/math2.py
3e45/minpiler
993bdb38d1e4709a412bb551f7eb213376bfe7d2
[ "MIT" ]
null
null
null
tests/cases/run/math2.py
3e45/minpiler
993bdb38d1e4709a412bb551f7eb213376bfe7d2
[ "MIT" ]
5
2022-02-12T19:53:08.000Z
2022-03-02T04:30:32.000Z
tests/cases/run/math2.py
3e45/minpiler
993bdb38d1e4709a412bb551f7eb213376bfe7d2
[ "MIT" ]
null
null
null
from minpiler.std import M, emulator M.print(M.math.abs(-6), ' ', M.math.sin(90)) emulator.kill() # > 6 1
15.428571
44
0.638889
20
108
3.45
0.7
0.144928
0
0
0
0
0
0
0
0
0
0.054348
0.148148
108
6
45
18
0.695652
0.046296
0
0
0
0
0.009901
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
8c2ee6fe9ecb0d3f5945ae8926a8ff5682d67c81
6,540
py
Python
model.py
gouxiangchen/auto-encoder
ca095d4b9e4a856c1ee9f34aec7b852b3bc6154b
[ "Apache-2.0" ]
null
null
null
model.py
gouxiangchen/auto-encoder
ca095d4b9e4a856c1ee9f34aec7b852b3bc6154b
[ "Apache-2.0" ]
null
null
null
model.py
gouxiangchen/auto-encoder
ca095d4b9e4a856c1ee9f34aec7b852b3bc6154b
[ "Apache-2.0" ]
null
null
null
import torch.nn as nn class MNIST_Encoder(nn.Module): def __init__(self, input_dim=784, output_dim=5): super(MNIST_Encoder, self).__init__() self.fc1 = nn.Linear(input_dim, 1024) self.relu1 = nn.ReLU() self.fc2 = nn.Linear(1024, 256) self.relu2 = nn.ReLU() self.fc3 = nn.Linear(256, output_dim) self.relu3 = nn.ReLU() nn.init.xavier_normal_(self.fc1.weight.data) nn.init.xavier_normal_(self.fc2.weight.data) nn.init.xavier_normal_(self.fc3.weight.data) def forward(self, x): x = self.relu1(self.fc1(x)) x = self.relu2(self.fc2(x)) x = self.fc3(x) return x class MNIST_Decoder(nn.Module): def __init__(self, input_dim=5, output_dim=784): super(MNIST_Decoder, self).__init__() self.fc1 = nn.Linear(input_dim, 256) self.relu1 = nn.ReLU() self.fc2 = nn.Linear(256, 1024) self.relu2 = nn.ReLU() self.fc3 = nn.Linear(1024, output_dim) self.sigmoid = nn.Sigmoid() nn.init.xavier_normal_(self.fc1.weight.data) nn.init.xavier_normal_(self.fc2.weight.data) nn.init.xavier_normal_(self.fc3.weight.data) def forward(self, x): x = self.relu1(self.fc1(x)) x = self.relu2(self.fc2(x)) x = self.fc3(x) x = self.sigmoid(x) return x class MNIST_VAE(nn.Module): def __init__(self, input_dim=784, output_dim=5): super(MNIST_VAE, self).__init__() self.fc1 = nn.Linear(input_dim, 1024) self.relu1 = nn.ReLU() self.fc2 = nn.Linear(1024, 256) self.relu2 = nn.ReLU() self.mean = nn.Linear(256, output_dim) self.std = nn.Linear(256, output_dim) self.tanh = nn.Tanh() self.softplus = nn.Softplus() nn.init.xavier_normal_(self.fc1.weight.data) nn.init.xavier_normal_(self.fc2.weight.data) nn.init.xavier_normal_(self.mean.weight.data) nn.init.xavier_normal_(self.std.weight.data) def forward(self, x): x = self.relu1(self.fc1(x)) x = self.relu2(self.fc2(x)) mean = self.mean(x) std = self.softplus(self.std(x)) return mean, std class MNIST_VAD(nn.Module): def __init__(self, input_dim=5, output_dim=784): super(MNIST_VAD, self).__init__() self.fc1 = nn.Linear(input_dim, 256) self.relu1 = nn.ReLU() self.fc2 = nn.Linear(256, 1024) self.relu2 = nn.ReLU() self.mean = nn.Linear(1024, output_dim) self.sigmoid = nn.Sigmoid() nn.init.xavier_normal_(self.fc1.weight.data) nn.init.xavier_normal_(self.fc2.weight.data) nn.init.xavier_normal_(self.mean.weight.data) def forward(self, x): x = self.relu1(self.fc1(x)) x = self.relu2(self.fc2(x)) mean = self.sigmoid(self.mean(x)) return mean class GRASP_Encoder(nn.Module): def __init__(self, output_dim=64): super(GRASP_Encoder, self).__init__() self.conv1 = nn.Conv2d(1, 32, kernel_size=6, stride=2) # 224 * 224 * 1 -> 110 * 110 * 32 self.relu1 = nn.ReLU() self.maxpool = nn.MaxPool2d(kernel_size=2) # 110 * 110 * 32 -> 55 * 55 * 32 self.conv2 = nn.Conv2d(32, 64, kernel_size=3, stride=1, padding=1) # 55 * 55 * 32 -> 55 * 55 * 64 self.relu2 = nn.ReLU() self.conv3 = nn.Conv2d(64, 64, kernel_size=5, stride=2) # 55 * 55 * 64 -> 26 * 26 * 64 self.relu3 = nn.ReLU() self.fc1 = nn.Linear(26 * 26 * 64, 1024) self.relu4 = nn.ReLU() self.fc2 = nn.Linear(1024, output_dim) nn.init.kaiming_normal_(self.conv1.weight.data) nn.init.kaiming_normal_(self.conv2.weight.data) nn.init.kaiming_normal_(self.conv3.weight.data) nn.init.kaiming_normal_(self.fc1.weight.data) nn.init.kaiming_normal_(self.fc2.weight.data) nn.init.zeros_(self.conv1.bias) nn.init.zeros_(self.conv2.bias) nn.init.zeros_(self.conv3.bias) nn.init.zeros_(self.fc1.bias) nn.init.zeros_(self.fc2.bias) def forward(self, x): x = self.conv1(x) x = self.relu1(x) x = self.maxpool(x) x = self.conv2(x) x = self.relu2(x) x = self.conv3(x) x = self.relu3(x) x = self.fc1(x.view(x.size(0), -1)) x = self.relu4(x) x = self.fc2(x) return x class GRASP_Decoder(nn.Module): def __init__(self, input_dim=64): super(GRASP_Decoder, self).__init__() self.fc1 = nn.Linear(input_dim, 1024) self.relu1 = nn.ReLU() self.fc2 = nn.Linear(1024, 2048) self.relu2 = nn.ReLU() self.fc3 = nn.Linear(2048, 224 * 224) self.sigmoid = nn.Sigmoid() nn.init.kaiming_normal_(self.fc1.weight.data) nn.init.kaiming_normal_(self.fc2.weight.data) nn.init.kaiming_normal_(self.fc3.weight.data) nn.init.zeros_(self.fc1.bias) nn.init.zeros_(self.fc2.bias) nn.init.zeros_(self.fc3.bias) def forward(self, x): x = self.relu1(self.fc1(x)) x = self.relu2(self.fc2(x)) x = self.sigmoid(self.fc3(x)) return x class MNIST_Discriminator(nn.Module): def __init__(self, input_dim=784): super(MNIST_Discriminator, self).__init__() self.fc1 = nn.Linear(input_dim, 1024) self.relu1 = nn.ReLU() self.fc2 = nn.Linear(1024, 256) self.relu2 = nn.ReLU() self.fc3 = nn.Linear(256, 1) self.sigmoid = nn.Sigmoid() nn.init.xavier_normal_(self.fc1.weight.data) nn.init.xavier_normal_(self.fc2.weight.data) nn.init.xavier_normal_(self.fc3.weight.data) def forward(self, x): x = self.relu1(self.fc1(x)) x = self.relu2(self.fc2(x)) x = self.sigmoid(self.fc3(x)) return x class MNIST_Generator(nn.Module): def __init__(self, input_dim=100, output_dim=784): super(MNIST_Generator, self).__init__() self.fc1 = nn.Linear(input_dim, 256) self.relu1 = nn.ReLU() self.fc2 = nn.Linear(256, 1024) self.relu2 = nn.ReLU() self.fc3 = nn.Linear(1024, output_dim) self.sigmoid = nn.Sigmoid() nn.init.xavier_normal_(self.fc1.weight.data) nn.init.xavier_normal_(self.fc2.weight.data) nn.init.xavier_normal_(self.fc3.weight.data) def forward(self, x): x = self.relu1(self.fc1(x)) x = self.relu2(self.fc2(x)) x = self.sigmoid(self.fc3(x)) return x
33.19797
106
0.596789
967
6,540
3.857291
0.075491
0.0563
0.046649
0.09008
0.804558
0.758981
0.725469
0.669705
0.638338
0.634584
0
0.071841
0.259327
6,540
196
107
33.367347
0.698183
0.018349
0
0.619632
0
0
0
0
0
0
0
0
0
1
0.09816
false
0
0.006135
0
0.202454
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
8c3fdeab87b335f3fa9c157724b2906c2c5ab06d
117
py
Python
Scrapy_CGZXW/main.py
oxenoxeno/Scrapy_CGZXW_git
320d00fa023698c1631fa440f18b6a018f0e85c0
[ "MIT" ]
1
2017-07-07T02:58:21.000Z
2017-07-07T02:58:21.000Z
Scrapy_CGZXW/main.py
oxenoxeno/Scrapy_CGZXW_git
320d00fa023698c1631fa440f18b6a018f0e85c0
[ "MIT" ]
null
null
null
Scrapy_CGZXW/main.py
oxenoxeno/Scrapy_CGZXW_git
320d00fa023698c1631fa440f18b6a018f0e85c0
[ "MIT" ]
null
null
null
# coding:utf-8 from scrapy import cmdline cmdline.execute("scrapy crawl cgzxw".split())
3.545455
45
0.581197
13
117
5.230769
0.846154
0
0
0
0
0
0
0
0
0
0
0.012658
0.324786
117
32
46
3.65625
0.848101
0.102564
0
0
0
0
0.24
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
8c5e2f2c9f47cd7b5c770f9ca2fb89a049916fd5
702
py
Python
promsnaps/jobs/job_base.py
ant31/prombench
8f676e2654a7477e2bf0b39930fd599f75828612
[ "Apache-2.0" ]
null
null
null
promsnaps/jobs/job_base.py
ant31/prombench
8f676e2654a7477e2bf0b39930fd599f75828612
[ "Apache-2.0" ]
null
null
null
promsnaps/jobs/job_base.py
ant31/prombench
8f676e2654a7477e2bf0b39930fd599f75828612
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import from celery import Task from celery.utils.log import get_task_logger logger = get_task_logger(__name__) class JobBase(Task): def after_return(self, status, retval, task_id, args, kwargs, einfo): pass def on_failure(self, exc, task_id, args, kwargs, einfo): pass def on_retry(self, exc, task_id, args, kwargs, einfo): pass def on_success(self, retval, task_id, args, kwargs): pass def task_queue(self): return self._app.amqp.routes[0].route_for_task(self.name)['queue'] def task_routing_key(self): return self._app.amqp.routes[0].route_for_task( self.name)['routing_key']
26
74
0.683761
103
702
4.359223
0.368932
0.053452
0.089087
0.142539
0.507795
0.445434
0.445434
0.445434
0.378619
0.378619
0
0.003623
0.213675
702
26
75
27
0.809783
0
0
0.222222
0
0
0.022792
0
0
0
0
0
0
1
0.333333
false
0.222222
0.166667
0.111111
0.666667
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
8c5e7d8ca4ce8675038a489c85e8c26ac5b14261
128
py
Python
maru/grammeme/voice.py
chomechome/maru
dae41e250a64a8b6f6ab9647fd60221d5ede8ab6
[ "MIT" ]
47
2018-09-25T05:17:13.000Z
2022-03-31T09:27:15.000Z
maru/grammeme/voice.py
ojomio/maru
7a44be7f974c0962f3023f5d064a391d2b4f20b1
[ "MIT" ]
2
2019-11-26T08:48:54.000Z
2020-09-10T10:00:39.000Z
maru/grammeme/voice.py
ojomio/maru
7a44be7f974c0962f3023f5d064a391d2b4f20b1
[ "MIT" ]
5
2019-01-05T17:36:23.000Z
2021-06-29T08:55:24.000Z
from maru.grammeme.abstract import Grammeme class Voice(Grammeme): ACTIVE = 'Act' MIDDLE = 'Mid' PASSIVE = 'Pass'
16
43
0.664063
15
128
5.666667
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.226563
128
7
44
18.285714
0.858586
0
0
0
0
0
0.078125
0
0
0
0
0
0
1
0
false
0.2
0.2
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
1
0
0
1
0
0
4
4fd17dbb9686cabf4513a898cdf1c159b3e8fe1a
116
py
Python
src/config/api-server/vnc_cfg_api_server/tests/__init__.py
jnpr-pranav/contrail-controller
428eee37c28c31830fd764315794e1a6e52720c1
[ "Apache-2.0" ]
37
2020-09-21T10:42:26.000Z
2022-01-09T10:16:40.000Z
src/config/api-server/vnc_cfg_api_server/tests/__init__.py
jnpr-pranav/contrail-controller
428eee37c28c31830fd764315794e1a6e52720c1
[ "Apache-2.0" ]
null
null
null
src/config/api-server/vnc_cfg_api_server/tests/__init__.py
jnpr-pranav/contrail-controller
428eee37c28c31830fd764315794e1a6e52720c1
[ "Apache-2.0" ]
21
2020-08-25T12:48:42.000Z
2022-03-22T04:32:18.000Z
# # Copyright (c) 2018 Juniper Networks, Inc. All rights reserved. # from gevent import monkey monkey.patch_all()
14.5
64
0.741379
16
116
5.3125
0.875
0
0
0
0
0
0
0
0
0
0
0.041237
0.163793
116
7
65
16.571429
0.835052
0.534483
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
4fddb7bbc190f9172907d96985d4f9f63d7c0b06
146
py
Python
__init__.py
malgulam/PyGit
67976deb9baec597349587e73a8b0bbc1fe81cae
[ "MIT" ]
null
null
null
__init__.py
malgulam/PyGit
67976deb9baec597349587e73a8b0bbc1fe81cae
[ "MIT" ]
null
null
null
__init__.py
malgulam/PyGit
67976deb9baec597349587e73a8b0bbc1fe81cae
[ "MIT" ]
2
2020-10-11T18:54:40.000Z
2021-03-18T04:56:05.000Z
#PyGit __init__.py from .__version__ import __version__ import sys sys.path.append('.') from py_git import pygit initialise = pygit.initialise()
18.25
36
0.787671
20
146
5.1
0.55
0.254902
0
0
0
0
0
0
0
0
0
0
0.116438
146
7
37
20.857143
0.790698
0.116438
0
0
0
0
0.007874
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
8b1f2ac18ce82d2486287e5867bc5e05876d9fd0
746
py
Python
geneticalgorithm/elitism.py
grajekf/wae-2018
609423ad5a6431da3cc481aedfe23c5fdd156373
[ "MIT" ]
null
null
null
geneticalgorithm/elitism.py
grajekf/wae-2018
609423ad5a6431da3cc481aedfe23c5fdd156373
[ "MIT" ]
null
null
null
geneticalgorithm/elitism.py
grajekf/wae-2018
609423ad5a6431da3cc481aedfe23c5fdd156373
[ "MIT" ]
null
null
null
from geneticalgorithm.layer import Layer from heapq import nlargest class ElitismLayer(Layer): def __init__(self, inputs, elitism_count, name = None, save_inputs=False): super(ElitismLayer, self).__init__(inputs, name, save_inputs) self.elitism_count = elitism_count def _dowork(self, population, costs): return [p[0] for p in nlargest(self.elitism_count, list(zip(population, costs)), key=lambda p: p[1])] def _getparameters(self): return { "elitism_count": self.elitism_count, } def _setparameter(self, key, value): changed = False if key == "elitism_count": self.elitism_count = value changed = True return changed
33.909091
109
0.646113
88
746
5.238636
0.431818
0.208243
0.138829
0.099783
0.121475
0
0
0
0
0
0
0.003623
0.260054
746
22
110
33.909091
0.831522
0
0
0
0
0
0.034806
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.555556
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
8c883e7f551569cddd35555d8bc5a6dc3b43a702
101
py
Python
test.py
junaid1460/me_solving_problems
c81b7263f1ac112f901732d4c4b31022532fc091
[ "MIT" ]
null
null
null
test.py
junaid1460/me_solving_problems
c81b7263f1ac112f901732d4c4b31022532fc091
[ "MIT" ]
null
null
null
test.py
junaid1460/me_solving_problems
c81b7263f1ac112f901732d4c4b31022532fc091
[ "MIT" ]
null
null
null
import os import time start = time.time() input() end = time.time() print("duration:", end - start)
12.625
31
0.673267
15
101
4.533333
0.533333
0.235294
0
0
0
0
0
0
0
0
0
0
0.158416
101
8
31
12.625
0.8
0
0
0
0
0
0.088235
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
8c8b3fa9b6032ae30384a3be05a9a1d2d6fcab61
1,101
py
Python
cauldron/session/writing/components/__init__.py
DanMayhew/cauldron
ac41481830fc1a363c145f4b58ce785aac054d10
[ "MIT" ]
null
null
null
cauldron/session/writing/components/__init__.py
DanMayhew/cauldron
ac41481830fc1a363c145f4b58ce785aac054d10
[ "MIT" ]
null
null
null
cauldron/session/writing/components/__init__.py
DanMayhew/cauldron
ac41481830fc1a363c145f4b58ce785aac054d10
[ "MIT" ]
null
null
null
from cauldron.session import projects from cauldron.session.writing.components import bokeh_component from cauldron.session.writing.components import definitions from cauldron.session.writing.components import plotly_component from cauldron.session.writing.components import project_component from cauldron.session.writing.components import shared_component from cauldron.session.writing.components.definitions import COMPONENT from cauldron.session.writing.components.definitions import WEB_INCLUDE def get(step: 'projects.ProjectStep') -> COMPONENT: """ :param step: :return: """ def get_components(lib_name: str) -> COMPONENT: if lib_name == 'bokeh': return bokeh_component.create(step.project) if lib_name == 'plotly': return plotly_component.create(step.project) return shared_component.create(lib_name) components = list(map(get_components, step.report.library_includes)) return definitions.merge_components( project_component.create_many(step.project, step.web_includes), *components, )
30.583333
72
0.756585
126
1,101
6.460317
0.261905
0.117936
0.186732
0.223587
0.443489
0.443489
0.340295
0.152334
0
0
0
0
0.161671
1,101
35
73
31.457143
0.881907
0.019074
0
0
0
0
0.029356
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.7
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
1
0
0
4
8c8e30188658761e49b96a5f778d969c658ad477
95
py
Python
maya/precomp.py
arjun-namdeo/py_stubs
605bb167e239978f5417f3f1fc1f5c12e2a243cc
[ "MIT" ]
null
null
null
maya/precomp.py
arjun-namdeo/py_stubs
605bb167e239978f5417f3f1fc1f5c12e2a243cc
[ "MIT" ]
null
null
null
maya/precomp.py
arjun-namdeo/py_stubs
605bb167e239978f5417f3f1fc1f5c12e2a243cc
[ "MIT" ]
null
null
null
tempPrecompFilePath = '/var/folders/8l/_gxk_gxx4xxdrfc27y0fjj0r0000zg/T/tmpelfdzy.precomp'
15.833333
90
0.821053
9
95
8.444444
1
0
0
0
0
0
0
0
0
0
0
0.113636
0.073684
95
5
91
19
0.75
0
0
0
0
0
0.725275
0.725275
0
0
0
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
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
8ca52d532b9617c910a54ee6cd5e741ef337673d
1,002
py
Python
graphdata/shared/figsizes.py
whalenpt/graphdata
d169150f860551d2049342ecf310dc1783987266
[ "MIT" ]
null
null
null
graphdata/shared/figsizes.py
whalenpt/graphdata
d169150f860551d2049342ecf310dc1783987266
[ "MIT" ]
null
null
null
graphdata/shared/figsizes.py
whalenpt/graphdata
d169150f860551d2049342ecf310dc1783987266
[ "MIT" ]
null
null
null
from graphdata import configs def PlotSize(figsize): if figsize is not None: return figsize return (float(configs._G['PlotWidth']),float(configs._G['PlotHeight'])) def SemilogySize(figsize): if figsize is not None: return figsize return (float(configs._G['SemilogyWidth']),float(configs._G['SemilogyHeight'])) def LogLogSize(figsize): if figsize is not None: return figsize return (float(configs._G['LogLogWidth']),float(configs._G['LogLogHeight'])) def SurfaceSize(figsize): if figsize is not None: return figsize return (float(configs._G['SurfaceWidth']),float(configs._G['SurfaceHeight'])) def ContourfSize(figsize): if figsize is not None: return figsize return (float(configs._G['ContourfWidth']),float(configs._G['ContourfHeight'])) def WaterfallSize(figsize): if figsize is not None: return figsize return (float(configs._G['WaterfallWidth']),float(configs._G['WaterfallHeight']))
27.081081
85
0.690619
118
1,002
5.762712
0.262712
0.211765
0.229412
0.158824
0.502941
0.502941
0.502941
0.502941
0.502941
0.502941
0
0
0.183633
1,002
36
86
27.833333
0.831296
0
0
0.48
0
0
0.150301
0
0
0
0
0
0
1
0.24
false
0
0.04
0
0.76
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
8cb5cded29c718ad937bdde1113aa2dd71f71a45
11
py
Python
codejail/tests/pylib/module.py
msegado/codejail
9c4cac1eb19cb05fa03fd163cef348331e00820c
[ "Apache-2.0" ]
245
2015-01-29T16:28:33.000Z
2022-01-12T17:08:46.000Z
codejail/tests/pylib/module.py
msegado/codejail
9c4cac1eb19cb05fa03fd163cef348331e00820c
[ "Apache-2.0" ]
62
2015-01-01T13:23:43.000Z
2022-01-11T22:04:14.000Z
codejail/tests/pylib/module.py
msegado/codejail
9c4cac1eb19cb05fa03fd163cef348331e00820c
[ "Apache-2.0" ]
50
2015-01-26T14:41:28.000Z
2021-12-08T15:12:47.000Z
const = 42
5.5
10
0.636364
2
11
3.5
1
0
0
0
0
0
0
0
0
0
0
0.25
0.272727
11
1
11
11
0.625
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
8cf4730f1b3b6bea899c0dc1e839806daca56bbb
760
py
Python
applications/adminportal/models.py
samay-rgb/alumni
f147ca04c3b9e24307321df5f26e9f7db26fefe3
[ "MIT" ]
5
2019-10-15T14:48:39.000Z
2022-02-19T05:14:51.000Z
applications/adminportal/models.py
samay-rgb/alumni
f147ca04c3b9e24307321df5f26e9f7db26fefe3
[ "MIT" ]
10
2019-12-14T06:08:30.000Z
2022-03-13T16:01:05.000Z
applications/adminportal/models.py
samay-rgb/alumni
f147ca04c3b9e24307321df5f26e9f7db26fefe3
[ "MIT" ]
10
2019-10-06T13:45:25.000Z
2022-02-10T17:33:39.000Z
from django.db import models # Create your models here. class EmailTemplate(models.Model): template_id = models.CharField(max_length=50, unique=True) name = models.CharField(max_length=100) subject = models.CharField(max_length=500) body = models.TextField() def __str__(self): return self.name class EmailHistory(models.Model): email_template = models.CharField(max_length=100) programme = models.CharField(max_length=250) batch = models.CharField(max_length=250) branch = models.CharField(max_length=250) timestamp = models.DateTimeField(auto_now_add=True) total_recipients = models.IntegerField() total_delivered = models.IntegerField() def __str__(self): return self.email_template
29.230769
62
0.734211
94
760
5.702128
0.468085
0.195896
0.235075
0.313433
0.326493
0
0
0
0
0
0
0.031696
0.169737
760
25
63
30.4
0.81775
0.031579
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.055556
0.111111
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
8cff210189f75040b6df3afe7e0aa617b2897936
355
py
Python
migrations/versions/49d44a0167b_initial.py
fnkr/poss
792369f95eb46227d5a4a78ac7d952f70c3c0799
[ "MIT" ]
2
2020-11-02T07:04:14.000Z
2021-06-26T04:15:00.000Z
migrations/versions/49d44a0167b_initial.py
fnkr/poss
792369f95eb46227d5a4a78ac7d952f70c3c0799
[ "MIT" ]
24
2019-09-27T20:44:06.000Z
2021-11-12T04:12:06.000Z
migrations/versions/49d44a0167b_initial.py
fnkr/POSS
792369f95eb46227d5a4a78ac7d952f70c3c0799
[ "MIT" ]
2
2019-10-22T22:12:39.000Z
2020-07-06T12:18:03.000Z
"""initial Revision ID: 49d44a0167b Revises: None Create Date: 2014-10-15 11:11:47.705014 """ # revision identifiers, used by Alembic. revision = '49d44a0167b' down_revision = None from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql def upgrade(): pass def downgrade(): pass
19.722222
42
0.673239
44
355
5.409091
0.704545
0
0
0
0
0
0
0
0
0
0
0.134831
0.247887
355
18
43
19.722222
0.756554
0.369014
0
0.222222
0
0
0.055838
0
0
0
0
0
0
1
0.222222
false
0.222222
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
1
0
1
0
0
4
5069be990c20582fbcf7047d4e0b766b8145ff4e
136
py
Python
cs-2018-08-19-co-je-noveho-v-pythonu-3-7/module-getattr.py
etjernst/blog
2dcba33cf08be528f18acd242d375aa52e64b30b
[ "BSD-3-Clause" ]
83
2016-04-10T02:26:19.000Z
2021-09-21T07:30:01.000Z
cs-2018-08-19-co-je-noveho-v-pythonu-3-7/module-getattr.py
etjernst/blog
2dcba33cf08be528f18acd242d375aa52e64b30b
[ "BSD-3-Clause" ]
1
2016-09-02T09:40:55.000Z
2016-09-02T09:40:55.000Z
cs-2018-08-19-co-je-noveho-v-pythonu-3-7/module-getattr.py
etjernst/blog
2dcba33cf08be528f18acd242d375aa52e64b30b
[ "BSD-3-Clause" ]
61
2016-06-08T15:43:43.000Z
2021-12-26T15:05:04.000Z
#!/usr/bin/env python3 import logging def __getattr__(attr_name): logging.info(f'accessed {attr_name}') globals()[attr_name]
15.111111
41
0.713235
19
136
4.736842
0.736842
0.266667
0
0
0
0
0
0
0
0
0
0.008621
0.147059
136
8
42
17
0.767241
0.154412
0
0
0
0
0.175439
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
506f0bab51e19e8b84e8b7989acadd5ab5d365f1
168
py
Python
ignite/metrics/nlp/__init__.py
Juddd/ignite
00a208a4e7a7783e9ddac18931085fca2f0dec47
[ "BSD-3-Clause" ]
4,119
2017-11-23T18:10:37.000Z
2022-03-31T05:31:27.000Z
ignite/metrics/nlp/__init__.py
Juddd/ignite
00a208a4e7a7783e9ddac18931085fca2f0dec47
[ "BSD-3-Clause" ]
1,838
2017-11-24T11:19:25.000Z
2022-03-31T09:08:18.000Z
ignite/metrics/nlp/__init__.py
Juddd/ignite
00a208a4e7a7783e9ddac18931085fca2f0dec47
[ "BSD-3-Clause" ]
691
2017-11-24T10:57:33.000Z
2022-03-29T02:19:44.000Z
from ignite.metrics.nlp.bleu import Bleu from ignite.metrics.nlp.rouge import Rouge, RougeL, RougeN __all__ = [ "Bleu", "Rouge", "RougeN", "RougeL", ]
16.8
58
0.654762
21
168
5.047619
0.47619
0.188679
0.320755
0.377358
0
0
0
0
0
0
0
0
0.208333
168
9
59
18.666667
0.796992
0
0
0
0
0
0.125
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
50a89217bdabf3306acc7681f4a1d2f95c6f038b
92
py
Python
city_housing_index/init_data/apps.py
Sinope-Nanto/city_house
73589bb07c415b1deecf8a0618b79d376d5a6e88
[ "MIT" ]
null
null
null
city_housing_index/init_data/apps.py
Sinope-Nanto/city_house
73589bb07c415b1deecf8a0618b79d376d5a6e88
[ "MIT" ]
null
null
null
city_housing_index/init_data/apps.py
Sinope-Nanto/city_house
73589bb07c415b1deecf8a0618b79d376d5a6e88
[ "MIT" ]
1
2021-05-05T13:13:56.000Z
2021-05-05T13:13:56.000Z
from django.apps import AppConfig class InitDataConfig(AppConfig): name = 'init_data'
15.333333
33
0.76087
11
92
6.272727
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.163043
92
5
34
18.4
0.896104
0
0
0
0
0
0.097826
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
50b0f2fd7f621be0a1ace3916c585165899d142e
42
py
Python
sobol/__init__.py
DavidWalz/sobol
c8db4bc6107bcf59796229c2b6e60a1a648c2f22
[ "MIT" ]
4
2021-06-02T01:42:18.000Z
2022-02-25T16:26:20.000Z
sobol/__init__.py
DavidWalz/sobol
c8db4bc6107bcf59796229c2b6e60a1a648c2f22
[ "MIT" ]
1
2021-08-16T18:07:06.000Z
2021-08-29T05:16:53.000Z
sobol/__init__.py
DavidWalz/sobol
c8db4bc6107bcf59796229c2b6e60a1a648c2f22
[ "MIT" ]
3
2020-04-22T18:58:48.000Z
2021-08-18T12:05:42.000Z
from .sobol import * __version__ = "0.2"
10.5
20
0.666667
6
42
4
1
0
0
0
0
0
0
0
0
0
0
0.058824
0.190476
42
3
21
14
0.647059
0
0
0
0
0
0.071429
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
4
50b1b3c17d776f07c3f118b5eb534896039ee2f5
2,392
py
Python
comments/queries.py
Vergenter/youtubeGather
d81912784f246b847e54d902a51dde0991fcc1bf
[ "MIT" ]
null
null
null
comments/queries.py
Vergenter/youtubeGather
d81912784f246b847e54d902a51dde0991fcc1bf
[ "MIT" ]
null
null
null
comments/queries.py
Vergenter/youtubeGather
d81912784f246b847e54d902a51dde0991fcc1bf
[ "MIT" ]
null
null
null
from datetime import datetime from utils.types import CommentId, VideoId def to_update_videos(update: datetime): def channel_id_to_update(video_id: VideoId): return (video_id, update) return channel_id_to_update videos_to_update_query = 'select video_id,max(update) from comments.videos_comments where video_id not in (select video_id from comments.videos_comments where update > $1) group by video_id limit $2;' updated_insert_query = 'INSERT INTO comments.videos_comments VALUES ($1,$2)' update_insert_new_query = 'INSERT INTO comments.videos_comments VALUES ($1,$2) ON CONFLICT DO NOTHING' all_comment_query = ''' UNWIND $rows AS row with row MERGE (comment:Comment{commentId: row.comment_id}) with row,comment FOREACH(ignoreMe IN CASE WHEN row.authorChannelId IS NOT NULL THEN [1] ELSE [] END | MERGE (channel:Channel{channelId: row.authorChannelId}) MERGE (comment)-[:OWNED_BY]->(channel) ) with row,comment MERGE (video:Video{videoId: row.video_id}) MERGE (comment)-[:TO]->(video) with row, comment SET comment.publishedAt= row.publishedAt, comment.authorDisplayName= row.authorDisplayName with row,comment CREATE (commentStatistics:CommentStatistics{ from: row.update, textOriginal: row.textOriginal, updatedAt: row.updatedAt, likeCount: row.likeCount, totalReplyCount: row.totalReplyCount, isPublic: row.isPublic }) with commentStatistics,row,comment CREATE (commentStatistics)-[:OF]->(comment) ''' comment_static_insert_query = """ UNWIND $rows AS row with row MERGE (comment:Comment{commentId: row.comment_id}) with row,comment FOREACH(ignoreMe IN CASE WHEN row.authorChannelId IS NOT NULL THEN [1] ELSE [] END | MERGE (channel:Channel{channelId: row.authorChannelId}) MERGE (comment)-[:OWNED_BY]->(channel) ) with row,comment MERGE (video:Video{videoId: row.video_id}) MERGE (comment)-[:TO]->(video) with row, comment SET comment.publishedAt= row.publishedAt, comment.authorDisplayName= row.authorDisplayName """ comment_dynamic_insert_query = """ UNWIND $rows AS row CREATE (commentStatistics:CommentStatistics{ from: row.update, textOriginal: row.textOriginal, updatedAt: row.updatedAt, likeCount: row.likeCount, totalReplyCount: row.totalReplyCount, isPublic: row.isPublic }) MERGE (comment:Comment{commentId: row.comment_id}) CREATE (commentStatistics)-[:OF]->(comment) """
32.767123
200
0.760033
307
2,392
5.788274
0.224756
0.061902
0.055149
0.0287
0.74395
0.70906
0.691052
0.668542
0.668542
0.617895
0
0.003848
0.130853
2,392
72
201
33.222222
0.85089
0
0
0.753846
0
0.015385
0.824415
0.29097
0
0
0
0
0
1
0.030769
false
0
0.030769
0.015385
0.092308
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
0f9c322fd1a44669ac22929d9e7eebd70021f9ba
27
py
Python
python/testData/psi/RaiseFrom.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/psi/RaiseFrom.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/psi/RaiseFrom.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
raise SyntaxError from exc
13.5
26
0.851852
4
27
5.75
1
0
0
0
0
0
0
0
0
0
0
0
0.148148
27
1
27
27
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
4
0fa653815b04138a22d0ad5d05ce28c0b06e3c6e
78
py
Python
src/testcode/mycode.py
Data-Mastery/Automated-Testing
8399089f72463955840e070aadac2da013735ebd
[ "MIT" ]
null
null
null
src/testcode/mycode.py
Data-Mastery/Automated-Testing
8399089f72463955840e070aadac2da013735ebd
[ "MIT" ]
null
null
null
src/testcode/mycode.py
Data-Mastery/Automated-Testing
8399089f72463955840e070aadac2da013735ebd
[ "MIT" ]
null
null
null
"""Functions to do math""" def do_math(a, b): print(a) return a + b
11.142857
26
0.551282
14
78
3
0.642857
0.285714
0
0
0
0
0
0
0
0
0
0
0.282051
78
6
27
13
0.75
0.25641
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
0fdf0f2f9efebb6d659c8aefc4173431aa3acbd3
67
py
Python
error/element/exception.py
wuranxu/webTest
3bb52bda384becc6e2d1bc770d1beb2480fce916
[ "Apache-2.0" ]
53
2018-03-04T14:50:08.000Z
2022-02-15T03:25:18.000Z
error/element/exception.py
wuranxu/webTest
3bb52bda384becc6e2d1bc770d1beb2480fce916
[ "Apache-2.0" ]
6
2018-06-22T07:51:23.000Z
2021-07-03T04:50:27.000Z
error/element/exception.py
wuranxu/webTest
3bb52bda384becc6e2d1bc770d1beb2480fce916
[ "Apache-2.0" ]
40
2018-04-24T13:28:30.000Z
2022-02-28T09:00:23.000Z
""" element 异常处理 """ class ElementException(Exception): pass
8.375
34
0.671642
6
67
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.19403
67
7
35
9.571429
0.833333
0.179104
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
ba09d0391f8f17088ee245d113209e2e645d8495
92
py
Python
_archive/kerokero_shakuri/kerokero_shakuri.py
oatsu-gh/utau-plugins
c742ed09f6dae3b52d2d1679890194add56f0fd9
[ "Beerware" ]
1
2021-08-31T00:51:48.000Z
2021-08-31T00:51:48.000Z
_archive/kerokero_shakuri/kerokero_shakuri.py
oatsu-gh/utau_plugins
82f2145fc044a6028f7f7a88a74689797a4b83df
[ "Beerware" ]
null
null
null
_archive/kerokero_shakuri/kerokero_shakuri.py
oatsu-gh/utau_plugins
82f2145fc044a6028f7f7a88a74689797a4b83df
[ "Beerware" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) 2021 oatsu """ 「か」「あ」のような出現パターンの時にポルタメントを短く設定する。 """
15.333333
33
0.684783
11
92
5.727273
1
0
0
0
0
0
0
0
0
0
0
0.060976
0.108696
92
5
34
18.4
0.707317
0.869565
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
ba23d6157f72a0597119ef718457385a019fae5d
473
py
Python
tests/checkio/home/test_xs_and_os_referee.py
zoido/checkio_python_solutions
858cc7eafbbf55c8506e14cce260d17406fbf09c
[ "MIT" ]
null
null
null
tests/checkio/home/test_xs_and_os_referee.py
zoido/checkio_python_solutions
858cc7eafbbf55c8506e14cce260d17406fbf09c
[ "MIT" ]
2
2017-10-14T17:44:17.000Z
2018-04-06T18:53:37.000Z
tests/checkio/home/test_xs_and_os_referee.py
zoido/checkio_python_solutions
858cc7eafbbf55c8506e14cce260d17406fbf09c
[ "MIT" ]
null
null
null
from checkio.home.xs_and_os_referee import checkio def test_checkio(): assert checkio(["X.O", "XX.", "XOO"]) == "X", "Xs wins" assert checkio(["OO.", "XOX", "XOX"]) == "O", "Os wins" assert checkio(["OOX", "XXO", "OXX"]) == "D", "Draw" assert checkio(["O.X", "XX.", "XOO"]) == "X", "Xs wins again" def test_fail_1(): checkio(["...", "XXX", "OO."]) # does not throw exception def test_fail_2(): assert checkio(["OOO", "XX.", ".XX"]) == "O"
26.277778
65
0.541226
67
473
3.701493
0.492537
0.262097
0.048387
0.064516
0.096774
0
0
0
0
0
0
0.005222
0.190275
473
17
66
27.823529
0.642298
0.05074
0
0
0
0
0.201342
0
0
0
0
0
0.5
1
0.3
true
0
0.1
0
0.4
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
0
0
0
0
0
0
4
ba2d644748c18bc119bbf15351450a6ab3066b86
490
py
Python
pymbari/sample_data.py
sghowell/pymbari
ded1a73c86b242196b0541b30d26173fefc265f8
[ "MIT" ]
null
null
null
pymbari/sample_data.py
sghowell/pymbari
ded1a73c86b242196b0541b30d26173fefc265f8
[ "MIT" ]
null
null
null
pymbari/sample_data.py
sghowell/pymbari
ded1a73c86b242196b0541b30d26173fefc265f8
[ "MIT" ]
null
null
null
import numpy as np from dataclasses import dataclass @dataclass class SampleData: __MAX_LEN: int = 1800 temperature: np.ndarray = np.random.rand(__MAX_LEN) pressure: np.ndarray = np.random.rand(__MAX_LEN) salinity: np.ndarray = np.random.rand(__MAX_LEN) conductivity: np.ndarray = np.random.rand(__MAX_LEN) lat_lon: np.ndarray = np.mgrid[-90:90:0.1, -180:180:0.1] lat: np.ndarray = np.linspace(-90, 90, 1800) lon: np.ndarray = np.linspace(-180, 180, 1800)
32.666667
60
0.7
77
490
4.246753
0.363636
0.192661
0.235474
0.207951
0.330275
0.330275
0.330275
0
0
0
0
0.088235
0.167347
490
14
61
35
0.713235
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.916667
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
1
0
0
0
1
0
0
4
e84574f9de389fcf3e67f9dab1a0432395e15ac1
299
py
Python
simple/test.py
Jesse3692/flask_note
419d7671677e8ea0d85ebd5da82267717e10813c
[ "MIT" ]
null
null
null
simple/test.py
Jesse3692/flask_note
419d7671677e8ea0d85ebd5da82267717e10813c
[ "MIT" ]
null
null
null
simple/test.py
Jesse3692/flask_note
419d7671677e8ea0d85ebd5da82267717e10813c
[ "MIT" ]
null
null
null
import sys class Foo: def __call__(self): print(self, 'hello') if __name__ == "__main__": # print(__name__) # foo = Foo() # foo() print(sys.modules['__main__']) print(sys.modules['__main__'].__file__) print(getattr(sys.modules['__main__'], '__file__', None))
18.6875
61
0.608696
34
299
4.294118
0.470588
0.205479
0.287671
0.260274
0
0
0
0
0
0
0
0
0.217391
299
15
62
19.933333
0.623932
0.110368
0
0
0
0
0.171756
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
0.5
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
e879ae40c2b11ab646cfd09aa86be464bd345517
1,419
py
Python
data_structures/sorting_algos/mergesort/conftest.py
tyler-fishbone/data-structures-and-algorithms
29790f2672d3ddb0aadf62725f28180b092f4568
[ "MIT" ]
null
null
null
data_structures/sorting_algos/mergesort/conftest.py
tyler-fishbone/data-structures-and-algorithms
29790f2672d3ddb0aadf62725f28180b092f4568
[ "MIT" ]
4
2018-03-22T19:19:11.000Z
2018-04-11T00:35:26.000Z
data_structures/sorting_algos/selection/conftest.py
tyler-fishbone/data-structures-and-algorithms
29790f2672d3ddb0aadf62725f28180b092f4568
[ "MIT" ]
null
null
null
import pytest @pytest.fixture def list_ten_values_random_order(): """Return list of ten values which are in a randomized order.""" return [54, 26, 93, 17, 77, 31, 44, 55, 20, 3] @pytest.fixture def list_ten_values_in_order(): """Return list of ten values which are in ascending order.""" return [3, 17, 20, 26, 31, 44, 54, 55, 77, 93] @pytest.fixture def list_eleven_values_random_order(): """Return list of ten values which are in a randomized order.""" return [54, 26, 93, 17, 77, 31, 44, 55, 20, 3, 16] @pytest.fixture def list_eleven_values_in_order(): """Return list of ten values which are in ascending order.""" return [3, 16, 17, 20, 26, 31, 44, 54, 55, 77, 93] @pytest.fixture def list_ten_values_reversed_order(): """Return list of ten values which are in descending order.""" return [93, 77, 55, 54, 44, 31, 26, 20, 17, 3] @pytest.fixture def list_ten_values_close_to_correct_order(): """Return list of ten values which are already sorted correctly in order.""" return [26, 20, 17, 3, 93, 77, 55, 54, 44, 31] @pytest.fixture def list_one_value(): """Return list of one value.""" return [31] @pytest.fixture def empty_list(): """Return empty list.""" return [] @pytest.fixture def list_multiple_data_types(): """Return list of ten values mutliple data types""" return [93, 77, 'fiftyfive', 54, 44, 31, 26, 20, 17, 3]
24.465517
80
0.664553
232
1,419
3.926724
0.193966
0.144896
0.158068
0.175631
0.697036
0.673985
0.583974
0.498353
0.461032
0.421515
0
0.120705
0.200141
1,419
57
81
24.894737
0.681938
0.315715
0
0.321429
0
0
0.009751
0
0
0
0
0
0
1
0.321429
true
0
0.035714
0
0.678571
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
1
0
0
0
1
0
0
4
e8c424bc4b5a1e946cc498c5f88d76977cb778d4
111
py
Python
source_postgres/__init__.py
vedala/source-postgres
a6890c536056aa4ab0d73594854f5484ab589b9d
[ "MIT" ]
null
null
null
source_postgres/__init__.py
vedala/source-postgres
a6890c536056aa4ab0d73594854f5484ab589b9d
[ "MIT" ]
null
null
null
source_postgres/__init__.py
vedala/source-postgres
a6890c536056aa4ab0d73594854f5484ab589b9d
[ "MIT" ]
null
null
null
name = "source_postgres" from .chomp_source_pg import SourcePostgres from .sql_construct import construct_sql
22.2
43
0.846847
15
111
5.933333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.108108
111
4
44
27.75
0.89899
0
0
0
0
0
0.135135
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
2cd4bdb72fe015f650ee423918b2783d7225fe62
177
py
Python
src/shared_funcs.py
alexmbird/hwaas
c751bf075f47783b4ef3165294e0868e991e3f44
[ "Apache-2.0" ]
null
null
null
src/shared_funcs.py
alexmbird/hwaas
c751bf075f47783b4ef3165294e0868e991e3f44
[ "Apache-2.0" ]
null
null
null
src/shared_funcs.py
alexmbird/hwaas
c751bf075f47783b4ef3165294e0868e991e3f44
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """Functions passed to our remote python-rq workers. Must be in a separate module to __main__.""" def async_print(s): print(s) return True
16.090909
98
0.649718
27
177
4.074074
0.888889
0.109091
0
0
0
0
0
0
0
0
0
0.007246
0.220339
177
10
99
17.7
0.789855
0.649718
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0.666667
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
1
0
0
0
0
1
1
0
4