query
stringlengths
10
3.6k
document
stringlengths
19
61.4k
metadata
dict
negatives
listlengths
0
101
negative_scores
listlengths
0
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Sets the right_item_text of this CRFItemMetadata.
def SlQC(YKHO, SlQC): YKHO._right_item_text = SlQC
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fGiP(YKHO, ZfUD, l5Ny):\n Bc4p = lnPd.ClientDC(YKHO)\n ZfUD.SetText(l5Ny)\n YKHO.CalculateSize(ZfUD, Bc4p)\n YKHO.RefreshLine(ZfUD)", "def hxaH(YKHO, hxaH):\n YKHO._left_item_text = hxaH", "def JmmZ(YKHO, l5Ny):\n YKHO._top_right_label.setText(l5Ny)", "def fGiP(YKHO, ZfUD, l5Ny, iVRZ=No...
[ "0.6028372", "0.5996367", "0.591082", "0.5880386", "0.54957396", "0.547826", "0.53529257", "0.52626866", "0.5250284", "0.5212471", "0.5184038", "0.51346034", "0.5072048", "0.5057587", "0.5002686", "0.49917242", "0.49321666", "0.4909296", "0.48485932", "0.48441127", "0.4830010...
0.8792657
0
Sets the required of this CRFItemMetadata.
def jeGQ(YKHO, jeGQ): YKHO._required = jeGQ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uMn4(YKHO):\n return _VfD.Model_assignRequiredValues(YKHO)", "def jeGQ(YKHO):\n return YKHO._required", "def jeGQ(YKHO):\n return YKHO._required", "def ceTe(YKHO):\n return _VfD.Replacing_hasRequiredAttributes(YKHO)", "def AcJA(YKHO, *qIxc):\n return _VfD.SBMLDocumentPlugin_setRequired(Y...
[ "0.64178187", "0.5959736", "0.5959736", "0.59229565", "0.58529204", "0.58456004", "0.5776589", "0.5768829", "0.5752423", "0.5734786", "0.5722766", "0.5694942", "0.5658922", "0.5653567", "0.5636462", "0.5596808", "0.55959076", "0.55841094", "0.55795616", "0.55610985", "0.55545...
0.6578217
2
Sets the is_required of this CRFItemMetadata.
def glsA(YKHO, glsA): YKHO._is_required = glsA
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jeGQ(YKHO, jeGQ):\n YKHO._required = jeGQ", "def jeGQ(YKHO, jeGQ):\n YKHO._required = jeGQ", "def jeGQ(YKHO, jeGQ):\n YKHO._required = jeGQ", "def jeGQ(YKHO, jeGQ):\n YKHO._required = jeGQ", "def nSkb(YKHO, jeGQ):\n YKHO._explicit = jeGQ\n YKHO._update_state()", "def glsA(YKHO) -> b...
[ "0.6989688", "0.6989688", "0.6989688", "0.6989688", "0.66087073", "0.657061", "0.6490792", "0.64057386", "0.6264708", "0.61659116", "0.6022359", "0.6022359", "0.59371734", "0.59179664", "0.5845794", "0.58247334", "0.58125085", "0.5789793", "0.57676375", "0.57676375", "0.57544...
0.78418905
0
Sets the disp_sequence of this CRFItemMetadata.
def Q1le(YKHO, Q1le): YKHO._disp_sequence = Q1le
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ibcw(YKHO, ewCu):\n YKHO.seq_counter = ewCu", "def aWuw(YKHO, aWuw):\n YKHO._sequence = aWuw", "def Ghae(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = Ty9i._utype(Ty9i)\n try:\n a1PO = ltgX(Ty9i, base=ukQ0(base_type=Swre, restriction_dict={'range': ['0..429496729...
[ "0.5289107", "0.509496", "0.5047754", "0.5047754", "0.5047754", "0.49216235", "0.49216235", "0.49216235", "0.48176402", "0.48176402", "0.48176402", "0.48176402", "0.48176402", "0.48176402", "0.45395482", "0.44179404", "0.44072402", "0.43658754", "0.43101555", "0.43101555", "0...
0.7731813
1
Sets the branching_equation of this CRFItemMetadata.
def JRPM(YKHO, JRPM): YKHO._branching_equation = JRPM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fyID(YKHO, BWXx):\n YKHO.update(BWXx)", "def TiOA(YKHO, BWXx):\n BWXx = BWXx.strip()\n while BWXx.endswith('/'):\n BWXx = BWXx[:-1]\n YKHO.getField('branch').set(YKHO, BWXx)", "def lADG(YKHO, aotE=None, pmsH=None):\n aotE = YKHO.getnodenamed(aotE)\n tgT5.SetNodeEquation_bn.argtypes...
[ "0.55929667", "0.5346937", "0.5125946", "0.50153166", "0.50153166", "0.5015097", "0.48547754", "0.48375183", "0.4801036", "0.47841117", "0.47122127", "0.4665894", "0.46572354", "0.45139357", "0.45127857", "0.45008945", "0.44998997", "0.44949415", "0.4491215", "0.44742322", "0...
0.79911786
0
Sets the hide_from_survey of this CRFItemMetadata.
def Mz5q(YKHO, Mz5q): YKHO._hide_from_survey = Mz5q
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AbIk(YKHO, fpGi):\n YKHO.on_toggle_hidden = fpGi", "def T7Qt(YKHO, T7Qt):\n YKHO._hide_at_showing = T7Qt", "def Zode(YKHO, Zode):\n YKHO._hidden = Zode", "def KYVX(YKHO):\n if YKHO.hidden:\n YKHO.show()\n else:\n YKHO.hide()", "def MLJ7(YKHO):\n return YKHO.SetFlag(YKHO....
[ "0.57516885", "0.54902035", "0.53918254", "0.51844275", "0.51725155", "0.5113507", "0.5092718", "0.5085322", "0.5068015", "0.5045363", "0.5039749", "0.4987194", "0.4973917", "0.49621585", "0.49437156", "0.49389812", "0.49347004", "0.49243224", "0.49168858", "0.4890537", "0.48...
0.8600312
0
Sets the item_data_type of this CRFItemMetadata.
def Neuf(YKHO, Neuf): YKHO._item_data_type = Neuf
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rOns(YKHO, ZfUD, YsUp):\n ZfUD.SetType(YsUp)\n YKHO.CalculatePositions()\n YKHO.Refresh()", "def QHVZ(YKHO, nPrm):\n RvYZ = YKHO.head\n while RvYZ is not None:\n RvYZ.data.setType(nPrm)\n RvYZ = RvYZ.next", "def riKQ(YKHO, riKQ):\n if riKQ is None:\n raise ValueError(...
[ "0.71519285", "0.6775733", "0.65547574", "0.65049314", "0.6504456", "0.63082874", "0.62500626", "0.6122837", "0.60807914", "0.6033292", "0.59997714", "0.5999725", "0.597647", "0.59333205", "0.5916967", "0.59019566", "0.59019566", "0.58997554", "0.58950627", "0.58813876", "0.5...
0.85676605
0
Sets the measurement_unit_name of this CRFItemMetadata.
def Pa0r(YKHO, Pa0r): YKHO._measurement_unit_name = Pa0r
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UnF5(YKHO, UnF5):\n YKHO._measurement_unit = UnF5", "def Htgf(YKHO, Htgf):\n YKHO._measurement_unit_string = Htgf", "def oSgC(YKHO, *qIxc):\n return _VfD.UnitDefinition_setName(YKHO, *qIxc)", "def tVAp(YKHO, tVAp):\n YKHO._unit_label = tVAp", "def tVAp(YKHO, tVAp):\n YKHO._unit_label = t...
[ "0.7229388", "0.6934718", "0.63393164", "0.6046975", "0.6046975", "0.6046975", "0.596539", "0.5655794", "0.55701834", "0.548006", "0.544759", "0.54469454", "0.5434645", "0.5434645", "0.5420549", "0.5410422", "0.533727", "0.5335632", "0.5334557", "0.5326491", "0.5288344", "0...
0.8336995
0
Sets the variable_name of this CRFItemMetadata.
def M_u8(YKHO, M_u8): YKHO._variable_name = M_u8
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tGmI(YKHO, tbkh):\n YKHO._name = tbkh\n return YKHO", "def mWFP(YKHO, BWXx):\n YKHO._name = BWXx", "def mWFP(YKHO, BWXx):\n YKHO._name = BWXx", "def WZrJ(YKHO, zDRZ):\n YKHO.name = zDRZ", "def WZrJ(YKHO, mWFP):\n YKHO.name_ = mWFP", "def WZrJ(YKHO, XWXe):\n YKHO.name = XWXe", "...
[ "0.66791564", "0.64667934", "0.64667934", "0.6447974", "0.64239323", "0.63295835", "0.6328467", "0.6216841", "0.6216841", "0.6216841", "0.6216841", "0.6216841", "0.6216841", "0.6216841", "0.6216841", "0.6216841", "0.6216841", "0.6216841", "0.6216841", "0.6202391", "0.61930305...
0.74065804
0
Sets the label_plain_text of this CRFItemMetadata.
def xDV2(YKHO, xDV2): YKHO._label_plain_text = xDV2
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mLog(YKHO, l5Ny: str) -> None:\n YKHO._label_text.set(l5Ny)\n YKHO.update_label_text()", "def mLog(YKHO, l5Ny):\n if l5Ny:\n YKHO.label.set_label(l5Ny)", "def NCMF(YKHO, l5Ny):\n YKHO._label = l5Ny", "def KfYz(YKHO, l5Ny):\n assert YKHO.isLabel(l5Ny)\n YKHO._text = l5Ny", "def ...
[ "0.71490645", "0.7137557", "0.69139034", "0.66775477", "0.6674038", "0.6582513", "0.6231467", "0.6231467", "0.614886", "0.6105318", "0.6044843", "0.6021978", "0.6013166", "0.6002894", "0.59810686", "0.5956109", "0.59131163", "0.5870921", "0.58265203", "0.5819637", "0.5808743"...
0.8491416
0
Sets the phi_status of this CRFItemMetadata.
def vTmZ(YKHO, vTmZ): YKHO._phi_status = vTmZ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def w8Lw(YKHO, jGRS):\n YKHO.status = jGRS", "def w8Lw(YKHO, jGRS):\n YKHO.status = jGRS", "def w8Lw(YKHO, jGRS):\n YKHO.status = jGRS", "def jGRS(YKHO, jGRS):\n YKHO._set_property_(YKHO.STATUS, str(jGRS))", "def tZbN(YKHO, jGRS):\n YKHO.__status = jGRS", "def jGRS(YKHO, jGRS):\n YKHO._...
[ "0.5649311", "0.5649311", "0.5649311", "0.55240566", "0.54810035", "0.5382191", "0.5382191", "0.5382191", "0.5382191", "0.5382191", "0.5382191", "0.5382191", "0.5359543", "0.5359543", "0.5359543", "0.5359543", "0.5359543", "0.5359543", "0.5359543", "0.5359543", "0.5359543", ...
0.8404241
0
Sets the left_alignment of this CRFItemMetadata.
def EMoC(YKHO, EMoC): YKHO._left_alignment = EMoC
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bFb7(YKHO, LFlW):\n YKHO.left = LFlW", "def LFlW(YKHO, LFlW):\n YKHO._left = LFlW", "def LFlW(YKHO, LFlW):\n YKHO._left = LFlW", "def VbzC(YKHO, vC9B):\n YKHO.alignment = vC9B", "def hxaH(YKHO, hxaH):\n YKHO._left_item_text = hxaH", "def Y4Jf(YKHO, *qIxc, **B2fa):\n pass", "def ZI...
[ "0.6574805", "0.6566163", "0.6566163", "0.65345246", "0.6459472", "0.6457593", "0.6424361", "0.6252998", "0.6169644", "0.61551714", "0.6146845", "0.6079131", "0.6060532", "0.5910949", "0.58292276", "0.5822784", "0.5801926", "0.57784015", "0.57485723", "0.57107836", "0.5684591...
0.8885091
0
Sets the info_text of this CRFItemMetadata.
def TTzh(YKHO, TTzh): YKHO._info_text = TTzh
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QAjf(YKHO, ZfUD, l5Ny):\n raise DTiB", "def XHtN(YKHO, FGW3, l5Ny):\n for a1PO in YKHO.infoTextList:\n if a1PO.getNumber() == FGW3:\n a1PO.setText(l5Ny)\n return a1PO.getNumber()\n return None", "def eiHf(YKHO, l5Ny):\n YKHO.text = l5Ny", "def U34r(YKHO, U34r: str...
[ "0.6926397", "0.6424692", "0.6369015", "0.6357641", "0.6239086", "0.617586", "0.6117708", "0.60535467", "0.602097", "0.5993214", "0.5993214", "0.5993214", "0.5993214", "0.5993214", "0.5993214", "0.59922236", "0.59470934", "0.5913392", "0.5908031", "0.5863257", "0.5853784", ...
0.83790463
0
Sets the soft_validation of this CRFItemMetadata.
def b_st(YKHO, b_st): YKHO._soft_validation = b_st
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ehcZ(YKHO):\n YKHO.is_validation = ZylS.placeholder_with_default(False, [], 'is_validation')", "def dfVZ(YKHO, deVW):\n YKHO._valid = deVW", "def dfVZ(YKHO, deVW):\n YKHO._valid = deVW", "def EMtR(YKHO):\n YKHO.valid = True", "def TvxA(YKHO, WmHw):\n YKHO.soft_contacts_opacity = WmHw\n ...
[ "0.5353058", "0.5330346", "0.5330346", "0.49618983", "0.47240362", "0.45421726", "0.45294648", "0.4478989", "0.4466243", "0.4457188", "0.44360343", "0.4405306", "0.43890238", "0.43867642", "0.43867642", "0.43449765", "0.43329006", "0.43329006", "0.43329006", "0.43329006", "0....
0.84250456
0
Sets the study_dictionary of this CRFItemMetadata.
def EDYl(YKHO, EDYl): YKHO._study_dictionary = EDYl
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KgVA(YKHO, KgVA):\n YKHO.logger.debug(\"In 'study' setter.\")\n YKHO._study = KgVA", "def V6BW(YKHO, V6BW):\n YKHO._study_id = V6BW", "def V6BW(YKHO, V6BW):\n YKHO._study_id = V6BW", "def V6BW(YKHO, V6BW):\n YKHO._study_id = V6BW", "def t6c9(YKHO, V6BW: int, H5ew: str, BWXx: Any) -> None...
[ "0.7408117", "0.6815802", "0.6815802", "0.6815802", "0.6407298", "0.6392456", "0.57259214", "0.5485375", "0.53085464", "0.5269286", "0.5169496", "0.51042134", "0.5049805", "0.501741", "0.49868628", "0.49790913", "0.4912993", "0.49014467", "0.48720977", "0.47251984", "0.471784...
0.8435421
0
Sets the default_value of this CRFItemMetadata.
def HyJ9(YKHO, HyJ9): YKHO._default_value = HyJ9
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WmM4(YKHO, WmM4):\n YKHO._set_field('value', WmM4)", "def UXGE(YKHO):\n YKHO.setValue(YKHO.default_value)", "def HyJ9(YKHO, wEf2):\n YKHO.set_property('DefaultValue', wEf2)", "def HyJ9(YKHO, BWXx: Any) -> None:\n YKHO.sdc_resource.set_input_default_value(YKHO, BWXx)\n YKHO._default_value =...
[ "0.75924796", "0.74246854", "0.73537934", "0.7249788", "0.7058993", "0.69573045", "0.6925803", "0.6906051", "0.688965", "0.6880264", "0.6880264", "0.6768636", "0.6694588", "0.6691161", "0.6637705", "0.6637705", "0.6621905", "0.6608582", "0.66068643", "0.66010416", "0.6598313"...
0.7476477
2
Sets the subject_group of this CRFItemMetadata.
def kO8q(YKHO, kO8q): YKHO._subject_group = kO8q
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def p7U7(YKHO, U4ZT):\n YKHO._subject = U4ZT", "def HjSO(YKHO, HjSO):\n YKHO._subject_id = HjSO", "def U4ZT(YKHO, U4ZT):\n YKHO._subject = U4ZT", "def U4ZT(YKHO, U4ZT):\n YKHO._subject = U4ZT", "def U4ZT(YKHO, U4ZT):\n YKHO._subject = U4ZT", "def U4ZT(YKHO, U4ZT: 'str'):\n YKHO._attrs['...
[ "0.63580877", "0.61038595", "0.6050062", "0.6050062", "0.6050062", "0.59822106", "0.59822106", "0.59779745", "0.58377683", "0.580582", "0.5786556", "0.5786556", "0.5786556", "0.5765981", "0.5756019", "0.5756019", "0.57335085", "0.5668522", "0.56419635", "0.5600405", "0.559953...
0.8300697
0
Sets the required_query_description of this CRFItemMetadata.
def Fdvb(YKHO, Fdvb): YKHO._required_query_description = Fdvb
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XMdi(YKHO, XMdi):\n YKHO._requires_description = XMdi", "def n7FZ(YKHO, xDcj):\n return YKHO.set_param('query', xDcj)", "def AqxA(YKHO, JBZA):\n YKHO.__description = JBZA", "def AqxA(YKHO, JBZA):\n YKHO._description = JBZA", "def AqxA(YKHO, JBZA):\n YKHO.__description = JBZA", "def q2C...
[ "0.6304279", "0.5516879", "0.55024374", "0.54877824", "0.5466411", "0.54350024", "0.54346204", "0.53840196", "0.53840196", "0.53840196", "0.53840196", "0.53840196", "0.53840196", "0.53840196", "0.53840196", "0.53840196", "0.53840196", "0.53840196", "0.53840196", "0.53840196", ...
0.8806266
0
Sets the used_in_dys_fields of this CRFItemMetadata.
def tHW4(YKHO, tHW4): YKHO._used_in_dys_fields = tHW4
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def P45x(YKHO, Bdbr):\n YKHO._make_index_list(Bdbr)", "def zfjA(YKHO, zfjA):\n YKHO._used_at_enroll = zfjA", "def LPY0(YKHO, xreT, f5mX, vbNy):\n YKHO.use_twiss_weight_x = 0\n YKHO.use_twiss_weight_y = 0\n YKHO.use_twiss_weight_z = 0\n if xreT == True:\n YKHO.use_twiss_weight_x = 1\n ...
[ "0.4862155", "0.48013577", "0.4740472", "0.4716655", "0.46052805", "0.4572636", "0.4572636", "0.45071083", "0.4448688", "0.43448734", "0.43371463", "0.4329086", "0.42889178", "0.42788282", "0.42561445", "0.4182343", "0.41783184", "0.41662297", "0.4162473", "0.41409802", "0.41...
0.8657676
0
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, UlIo): return False return YKHO.to_dict() == Elif.to_dict()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False", "def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c...
[ "0.8088132", "0.8088132", "0.8054589", "0.7982687", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", ...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): if not isinstance(Elif, UlIo): return True return YKHO.to_dict() != Elif.to_dict()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)", ...
[ "0.845611", "0.8391477", "0.8144138", "0.81410587", "0.8132492", "0.8093973", "0.80920255", "0.80920255", "0.80920255", "0.8085325", "0.8085325", "0.8076365", "0.8076365", "0.8065748", "0.8042487", "0.8042487", "0.8042487", "0.8042487", "0.8042487", "0.8042487", "0.8042487", ...
0.0
-1
Returns a list containing all values given in whatever. Each list or tuple will be "unpacked", all other elements are added to the resulting list. Examples given >>> as_list('spam') ['spam'] >>> as_list('spam', 'eggs') ['spam', 'eggs'] >>> as_list(('spam', 'eggs')) ['spam', 'eggs'] >>> as_list(['spam', 'eggs']) ['spam'...
def eK7y(*PXG_): Aofo = [] for yzQ0 in PXG_: if yzQ0 is None: continue elif isinstance(yzQ0, list): Aofo += yzQ0 elif isinstance(yzQ0, tuple): Aofo += yzQ0 else: Aofo.append(yzQ0) return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TYb8(SmK3):\n return SmK3 if isinstance(SmK3, list) else [SmK3]", "def mFWN(Uqbu):\n if isinstance(Uqbu, (list, tuple)):\n return list(Uqbu)\n else:\n return [Uqbu]", "def nN0S(*qIxc):\n p1UR = []\n for d7pR in qIxc:\n if isinstance(d7pR, list):\n p1UR.extend(...
[ "0.71835566", "0.70398134", "0.70135355", "0.66638434", "0.6626172", "0.6535758", "0.65164727", "0.64893544", "0.645783", "0.6368578", "0.6313402", "0.6295935", "0.62555295", "0.6254891", "0.6248474", "0.62433916", "0.6223297", "0.6199154", "0.6197535", "0.6157671", "0.613895...
0.73624843
0
Convert dates coming from raw Vitals data into UTC ISO8601 Timestamps.
def LmKu(mbyn): if mbyn[-1] != 'Z': mbyn += 'Z' return mbyn.replace(' ', 'T')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cFNT(zSVk):\n if len(zSVk) == 0:\n return []\n FtG3 = []\n for _c1T in zSVk:\n if _c1T.tzinfo is not None and _c1T.tzinfo.utcoffset(_c1T) is not None:\n _c1T = _c1T.astimezone(FXGE.utc)\n FtG3.append(_c1T.replace(tzinfo=None))\n return FtG3", "async def test_proces...
[ "0.62865144", "0.6153723", "0.5991039", "0.5784753", "0.57253706", "0.568468", "0.5622829", "0.56227773", "0.56188506", "0.5599182", "0.55792564", "0.556961", "0.5470999", "0.5468242", "0.54329234", "0.54317844", "0.538669", "0.53795314", "0.5339017", "0.5293171", "0.5287467"...
0.5099201
39
Test that `particle_mass` does not return the proton mass when no mass number is specified for hydrogen. In this case, the standard atomic weight should be used to account for the small fraction of deuterium.
def Cz9r(): assert _5S8('H', Z=1) > PtXs.m_p assert _5S8('hydrogen', Z=1) > PtXs.m_p
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WEVm(il4J: Particle, M7au: Optional[Integral]=None) -> P6bq.J:\n return il4J.mass_energy", "def PwJE(YKHO):\n if not YKHO.check_def(['E', 'px', 'py', 'pz']):\n HwRy.exit('Particle error: Quadri impulsion not define (error for mass routine)')\n if YKHO.E ** 2 - YKHO.px ** 2 - YKHO.py ** 2 - YK...
[ "0.68099946", "0.65490735", "0.64468914", "0.63160104", "0.6221143", "0.6172661", "0.6118474", "0.6093364", "0.59432936", "0.5875183", "0.57785344", "0.57763803", "0.57589453", "0.571026", "0.5661141", "0.5650986", "0.5616769", "0.5609225", "0.5605034", "0.5579169", "0.556002...
0.8227859
0
Test that `particle_mass` returns equivalent results for equivalent positional and keyword arguments.
def QEdt(gaYL, VwM2, StMt, Z23b, aEqx): SKE2 = _5S8(gaYL, **VwM2) EtKK = _5S8(StMt, **Z23b) assert P6bq.isclose(SKE2, EtKK), f'particle_mass({gaYL!r}, **{VwM2}) = {SKE2!r}, whereas particle_mass({StMt!r}, **{Z23b}) = {EtKK!r}. These results are not equivalent as expected.' if aEqx is not None: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Cz9r():\n assert _5S8('H', Z=1) > PtXs.m_p\n assert _5S8('hydrogen', Z=1) > PtXs.m_p", "def rcM3():\n assert _5S8('alpha') > _5S8('He-3 2+')", "def tGB_():\n assert oyIN.isclose(_5S8('berkelium-249').to(P6bq.u).value, 249.0749877), 'Incorrect isotope mass for berkelium.'", "def BTkD(YKHO):\n ...
[ "0.6995093", "0.67936695", "0.65318865", "0.64905214", "0.645848", "0.60648805", "0.5987364", "0.5959909", "0.577817", "0.5735219", "0.57349783", "0.5654347", "0.56446767", "0.5610183", "0.5603175", "0.55926734", "0.5577821", "0.5551926", "0.5537376", "0.54917043", "0.5487187...
0.74628186
0
Test that `known_isotopes`, `common_isotopes`, and `stable_isotopes` return the correct values for hydrogen.
def RMZ0(): PWP8 = ['H-1', 'D', 'T', 'H-4', 'H-5', 'H-6', 'H-7'] WzEQ = ['H-1', 'D'] I4bz = ['He-3', 'He-4'] assert NvDG('H') == PWP8, f"known_isotopes('H') should return {PWP8}, but is instead returning {NvDG('H')}" assert msaZ('H') == WzEQ, f"common_isotopes('H') should return {WzEQ}, but is inste...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Z95r():\n assert 'H-1' in NvDG('H')\n assert 'D' in NvDG('H')\n assert 'T' in NvDG('H')\n assert 'Be-8' in NvDG('Be')\n assert 'Og-294' in NvDG(118)\n assert 'H-1' in msaZ('H')\n assert 'H-4' not in msaZ(1)\n assert 'H-1' in dfue('H')\n assert 'D' in dfue('H')\n assert 'T' not in ...
[ "0.7351276", "0.6829534", "0.63703936", "0.59731823", "0.5886229", "0.577467", "0.57032025", "0.5626084", "0.5593469", "0.556932", "0.5524931", "0.5495514", "0.54862934", "0.5479369", "0.54505044", "0.54497933", "0.54299146", "0.5428978", "0.54203016", "0.53863186", "0.538499...
0.69731
1
Test that `half_life` returns `None` and issues a warning for an isotope without halflife data.
def hRhB(): H2Ux = 'No-248' with trZe.raises(Gyr6): IlRZ(H2Ux) trZe.fail(f'This test assumes that {H2Ux} does not have half-life data. If half-life data is added for this isotope, then a different isotope that does not have half-life data should be chosen for this test.')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vgjq():\n for qBv7 in Ey2c:\n if 'half_life' not in Ey2c[qBv7] and (not Ey2c[qBv7]):\n with trZe.raises(Gyr6):\n IlRZ(qBv7)", "def IlRZ(wAVY, M7au=None):\n try:\n qBv7 = y_kz(wAVY, M7au)\n except ValueError:\n raise ValueError('Cannot determine isotope ...
[ "0.73846316", "0.66037804", "0.61119777", "0.5759902", "0.56929463", "0.5598875", "0.5510697", "0.54345953", "0.53564763", "0.53111714", "0.5294021", "0.527224", "0.52532977", "0.5236458", "0.51426125", "0.51358926", "0.5103761", "0.5103345", "0.50833166", "0.50787294", "0.50...
0.7622593
0
Create an SFO application and return it.
def lC5T(b_nl, FGW3, KcEq): k6vN = b_nl.getObject('EFIOConfiguration', 'EFIO-Configuration-1') EOQm = cqWi('SFOdal', 'daq/schema/SFOng.schema.xml', [FBqY, HNqP]) p749 = EOQm.SFOngConfiguration('SFO-Configuration-' + FGW3) p749.BufferSize_kB = 10240 p749.DataRecordingEnabled = False p749.LumiBloc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def g8SW(cUQu):\n return LUif()", "def P4t4():\n P4t4 = LUif()\n return P4t4", "def P4t4():\n return LUif()", "def LUif(YKHO):\n raise NotImplementedError", "def eLpg():\n return Z33s()", "def kYMg(B5PH, kvcN):\n from flask_create_app.core.commands.cmd_newapp import create_new_app\n ...
[ "0.7257405", "0.71808183", "0.71390027", "0.713841", "0.7108116", "0.67792016", "0.67628926", "0.6743027", "0.6735409", "0.66556925", "0.66555786", "0.6639376", "0.6592436", "0.65529794", "0.6521404", "0.6448752", "0.643883", "0.64261425", "0.6410081", "0.6400342", "0.6378764...
0.75364757
0
Randomly removes one utterance and reinserts it at another location in the conversation
def LLPz(AiRR): qcoP = tuKI.randrange(len(AiRR)) D2Kp = qcoP while D2Kp == qcoP: D2Kp = tuKI.randrange(len(AiRR)) if D2Kp > qcoP: return AiRR[:qcoP] + AiRR[qcoP + 1:D2Kp] + [AiRR[qcoP]] + AiRR[D2Kp:] else: return AiRR[:D2Kp] + [AiRR[qcoP]] + AiRR[D2Kp:qcoP] + AiRR[qcoP + 1:]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LoGb(AiRR, HDFI):\n or8S = tuKI.randrange(len(AiRR))\n Ylbp = AiRR.copy()\n Ylbp[or8S] = HDFI\n return Ylbp", "def DCgT(tvqc, QpfX):\n n8Xq(tuKI.choice(BlUY))", "def DCgT(tvqc, QpfX):\n n8Xq(tuKI.choice(BlUY))", "def DCgT(tvqc, QpfX):\n n8Xq(tuKI.choice(BlUY))", "async def udran(YK...
[ "0.73776585", "0.5867125", "0.5867125", "0.58427644", "0.56934404", "0.56923413", "0.56568843", "0.5639355", "0.56371534", "0.55319506", "0.5527897", "0.5512964", "0.54923785", "0.54880035", "0.5472396", "0.5418839", "0.5415362", "0.5392044", "0.5374169", "0.5363067", "0.5308...
0.6937282
1
Get an existing FhirStore resource's state with the given name, id, and optional extra properties used to qualify the lookup.
def NMoC(kFeU: str, id: pulumi.Input[str], VKhi: Optional[pulumi.ResourceOptions]=None) -> 'FhirStore': VKhi = qe4Y.ResourceOptions.merge(VKhi, qe4Y.ResourceOptions(id=id)) r6DL = U6rh.__new__(U6rh) r6DL.__dict__['complex_data_type_reference_parsing'] = None r6DL.__dict__['dataset_id'] = None r6DL._...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Q_BA(ZuB6):\n BQtU = S8SU.get('State', ZuB6)\n if BQtU is None:\n eTsH(404)\n return pz3A(BQtU.to_dict())", "def Q_BA(ZuB6):\n QTBn = S8SU.get(wHLO, ZuB6)\n if not QTBn:\n eTsH(404)\n return (pz3A(QTBn.to_dict()), 200)", "def jO92(ZuB6):\n QTBn = S8SU.get(wHLO, ZuB6)\n ...
[ "0.6350847", "0.63462114", "0.63029563", "0.62968063", "0.6285668", "0.6157653", "0.6072632", "0.59514713", "0.59358984", "0.58835745", "0.5881398", "0.58613926", "0.58581984", "0.58253175", "0.57779515", "0.57363844", "0.57188183", "0.57044226", "0.5659024", "0.565853", "0.5...
0.69380313
0
Establish a clean test environment.
def FCbF(YKHO): super(fuht, YKHO).setUp() rCr0 = {'sheepdog1': 'sheepdog', 'sheepdog2': 'sheepdog'} YKHO.conf = YKHO._CONF YKHO.conf(args=[]) YKHO.conf.register_opt(_Fei.DictOpt('enabled_backends')) YKHO.config(enabled_backends=rCr0) VUF1.register_store_opts(YKHO.conf) YKHO.config(defaul...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zDvN():\n if not eK95:\n print('\\nCleaning up temporary directories...')\n RDuA.rmtree(qWz8, ignore_errors=True)\n RDuA.rmtree(Hgdp, ignore_errors=True)\n print('Removing conda environment used for testing...')\n H4yH.call('conda env remove -y -q -n {}'.format(qGhw), shell=True, ...
[ "0.79925764", "0.7463707", "0.7463707", "0.7230146", "0.71087873", "0.6968578", "0.6877131", "0.6847525", "0.68396896", "0.68036956", "0.68036956", "0.68036956", "0.68036956", "0.68036956", "0.68036956", "0.68036956", "0.6776391", "0.6713096", "0.6713096", "0.6651407", "0.662...
0.0
-1
If beagle argument is set creates Beagle association matrix, otherwise Google Ngram matrix, contains only words that are also in FAN.
def Hi2C(bI_b=False, NkkI=True): if bI_b: mWFP = 'beagle_mat' jQ3Z = rLdf.read_csv(Hy7s.path.join(pmON, 'beagle.csv'), delimiter=',', skiprows=1, header=None) f1Rr = jQ3Z[0].apply(func=lambda WKvO: WKvO.upper()).values f1Rr = f1Rr.tolist() OaWc = dict(zip(f1Rr, oyIN.arange(le...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lPGK(rrSk, afz5=True, SR8T=YhvP):\n return _9cA(rrSk, 'AB', afz5, SR8T)", "def Bg4l(bySB, NkkI=True):\n pass", "def kBgF(r8hN):\n r8hN = r8hN.view(r8hN.shape[0], r8hN.shape[1], -1)\n gpRq = r8hN\n E43s = r8hN.permute(0, 2, 1)\n Oa1e = ht2j.bmm(gpRq, E43s) / (r8hN.shape[1] * r8hN.shape[2])...
[ "0.55857795", "0.5225516", "0.49682835", "0.49476123", "0.4942825", "0.4794095", "0.4736066", "0.4726113", "0.4723754", "0.4720965", "0.46934888", "0.46849233", "0.46745902", "0.46344772", "0.46305037", "0.46117327", "0.46101436", "0.4601533", "0.45998138", "0.45837384", "0.4...
0.59345204
0
Build the specific error string from error_body.
def o_zY(H9Ao: dict) -> str: eNxY = '' for P1dF in H9Ao: if P1dF.get('field'): eNxY += 'field ' + P1dF['field'] if P1dF.get('message'): eNxY += ' ' + P1dF['message'] return eNxY
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def teXN(wfRC, rhwM):\n return qQXR.dumps(U8Lr([('Type', wfRC), ('Message', rhwM)]))", "def eoP9(YKHO, QOe9, XObx):\n Gs2B = ''\n Gs2B += QOe9.id()\n Gs2B += '\\n\\n'\n Gs2B += wVCK.format_exc() + '\\n'\n return Gs2B", "def bF7C(QGg5='DEFAULT', FMN3='english'):\n if FMN3 not in UAju.keys()...
[ "0.6582292", "0.65355015", "0.62723047", "0.62429476", "0.6085947", "0.6065657", "0.6011453", "0.5837405", "0.58361995", "0.58329517", "0.58010226", "0.57803625", "0.5778782", "0.57681894", "0.5762593", "0.5741187", "0.57270885", "0.5720644", "0.57166904", "0.5711386", "0.569...
0.8250948
0
Convert given argument time to iso format with Z ending, if received None returns None.
def x7vo(us9Y: Any | None) -> str | None: if not us9Y: return None if (aai7 := gCTv(us9Y)): return aai7.strftime(GGme) else: raise PLdA('Time parameter supplied in invalid, make sure to supply a valid argument')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def F0ME(ITS7: datetime, _c1T: datetime, MbZJ: pytz.timezone) -> str:\n azfn = ITS7.replace(year=_c1T.year, month=_c1T.month, day=_c1T.day)\n return MbZJ.localize(azfn).isoformat()", "def D1gm(BWXx: Union[datetime.datetime, datetime.time]) -> str:\n RI88 = BWXx.isoformat()\n if BWXx.tzinfo is None:\n...
[ "0.6805687", "0.6610044", "0.66091", "0.64571726", "0.64311427", "0.6353851", "0.6266373", "0.622956", "0.62188953", "0.6185057", "0.6176277", "0.61728597", "0.61334056", "0.61228055", "0.6036664", "0.60207325", "0.5996541", "0.5963106", "0.5949644", "0.5936916", "0.58953434"...
0.5735628
27
Create a string time of the current time in date format.
def EiKW() -> str | None: if (spFn := gCTv('now')): return spFn.strftime(GGme) else: return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UHhE():\n ppPa = qcWV.now()\n Vip5 = ppPa.strftime('%b-%d-%Y (%H:%M:%S)')\n return Vip5", "def _PtW():\n return F803('%Y_%m_%d_%H_%M_%S_%Z', WPt4())", "def ppPa():\n return qcWV.now().strftime('%d%m%Y_%H%M%S')", "def JUFO() -> str:\n return hLAQ(RN2L())", "def f1rh():\n return B72W...
[ "0.79368526", "0.7901701", "0.7859681", "0.7826266", "0.7810316", "0.7798008", "0.7779829", "0.77685195", "0.7747708", "0.7723915", "0.76773983", "0.76629585", "0.76401263", "0.7626165", "0.7624927", "0.7605432", "0.7602854", "0.7602256", "0.7595198", "0.7588721", "0.757204",...
0.0
-1
Assigns categories to this object.
def eP5z(YKHO, LeZt: NounCategories): YKHO._categories = LeZt
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LeZt(YKHO, LeZt):\n YKHO._categories = LeZt", "def LeZt(YKHO, LeZt):\n YKHO._categories = LeZt", "def LeZt(YKHO, LeZt):\n YKHO._categories = LeZt", "def LeZt(YKHO, LeZt):\n YKHO._categories = LeZt", "def LeZt(YKHO, LeZt):\n YKHO._categories = LeZt", "def LeZt(YKHO, LeZt: List[str]):\n ...
[ "0.7696786", "0.7688389", "0.7688389", "0.7688389", "0.7688389", "0.7318721", "0.72713095", "0.67321116", "0.6605213", "0.65090936", "0.64567316", "0.6404559", "0.6396945", "0.61992157", "0.61852723", "0.61543995", "0.61500776", "0.61007094", "0.60978204", "0.60801387", "0.60...
0.71598285
7
Infer color form color_name and color_index
def Tu4K(Emd4, hkxX): WRlh = hkxX.get('color_name') kYoL = hkxX.get('color_index') tn62 = hkxX.get('palette') if tn62 is None: tn62 = 'vtint' if WRlh is None and kYoL is None: return hkxX elif WRlh is None: raise ValueError("'color_name' can't be null when 'color_index' i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mvpM(YKHO, WRlh):\n if not WRlh:\n return 0\n if WRlh == 'ORANGE':\n qfpW = YKHO.COLOR_ORANGE\n else:\n qfpW = getattr(PcHS, 'COLOR_' + WRlh)\n return PcHS.color_pair(qfpW)", "def KGGj(G1Hx):\n Jw9H = ['#862B59', '#A10000', '#0A6308', '#123677', '#ff8100', '#F28686', '#6ad...
[ "0.67022604", "0.65705186", "0.64438295", "0.6405792", "0.63680845", "0.6338341", "0.63372713", "0.6332214", "0.63264585", "0.62953573", "0.62869227", "0.6276768", "0.62457067", "0.62185067", "0.6215637", "0.6177213", "0.6174739", "0.6156242", "0.61308336", "0.6128998", "0.61...
0.6138115
18
Extract labeled data for evaluation (superclass)
def YUdN(YKHO, dixZ): ZwWe, XaEq = dixZ return ZwWe
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Te1x(YKHO):\n raise NotImplementedError()", "def Te1x(YKHO):\n raise NotImplementedError()", "def Te1x(YKHO):\n raise NotImplementedError()", "def Te1x(YKHO):\n raise NotImplementedError()", "def yera(YKHO, nPrm):\n veV6", "def ehuh(YKHO):\n raise NotImplementedError", "def Te1x(Y...
[ "0.6368569", "0.6297174", "0.6297174", "0.6297174", "0.62276745", "0.6222899", "0.61879694", "0.61879694", "0.61879694", "0.61879694", "0.61879694", "0.61879694", "0.61879694", "0.61879694", "0.6164753", "0.61534077", "0.6150406", "0.6111864", "0.60855955", "0.6068749", "0.60...
0.5952828
38
Scheduling periodic task. Specify a particular time that the job should be run at. Job runs everyday.
def fwgd(YKHO, _F0g='00:00:00'): YKHO.period_at(unit='day', at_time=_F0g) return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MgoV(YKHO, mWFP, _c1T):\n pass", "def uYDl(YKHO, D5gV: _Task) -> None:\n if isinstance(D5gV.interval, (int, float)):\n D5gV.next = YKHO.sys_loop.call_later(D5gV.interval, YKHO._run_task, D5gV)\n elif isinstance(D5gV.interval, ITS7):\n yo7_ = qcWV.combine(_c1T.today(), D5gV.interval)\n ...
[ "0.699269", "0.69299006", "0.6922602", "0.6592286", "0.6584365", "0.6541961", "0.64261866", "0.6406181", "0.63799226", "0.6329013", "0.62768734", "0.62368757", "0.6223862", "0.6209299", "0.61981905", "0.6187478", "0.6182011", "0.61477786", "0.61419845", "0.6111355", "0.609083...
0.0
-1
Scheduling periodic task. Specify a particular time that the job should be run at. Job runs every month.
def D1BU(YKHO, _F0g='00:00:00', CjKC=1): YKHO.period_at(unit='month', at_time=_F0g, day=CjKC) return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YrXB():\n yo7_ = qcWV.date.today()\n if yo7_.day == _Fei.MONTHLY_JOB_START_DAY:\n i4ai.add_task(xWJ4.run)", "def O5QM(vC92, **B2fa):\n vC92.add_periodic_task(60, LBv7.s(), name='A scheduled task')", "def MgoV(YKHO, mWFP, _c1T):\n pass", "def T_Y5(YKHO):\n _8Ct.GetInstance().Run()", ...
[ "0.6963972", "0.6890185", "0.68458617", "0.6544809", "0.6517939", "0.6345112", "0.62222517", "0.6182993", "0.61797035", "0.6162442", "0.61445564", "0.6140372", "0.60516304", "0.6048248", "0.604184", "0.60322577", "0.6000042", "0.5993161", "0.5985276", "0.59547323", "0.5913318...
0.0
-1
Scheduling periodic tasks. Specify a particular time that the job should be run at.
def t7qE(YKHO, PXGI='day', _F0g='00:00:00', arqe='Monday', CjKC=1): for D5gV in YKHO._tasks: D5gV.period_at(unit=PXGI, at_time=_F0g, week_day=arqe, day=CjKC) return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def O5QM(vC92, **B2fa):\n vC92.add_periodic_task(60, LBv7.s(), name='A scheduled task')", "def oT94(YKHO, ITS7=None):\n QegO(YKHO, time=ITS7)", "def oT94(YKHO, ITS7=None, xj93=None):\n QegO([YKHO], ITS7, xj93)", "def MgoV(YKHO, mWFP, _c1T):\n pass", "def T_Y5(YKHO):\n _8Ct.GetInstance().Run(...
[ "0.7077769", "0.67681086", "0.6664243", "0.6650754", "0.6543233", "0.65153164", "0.65046126", "0.6479757", "0.6469536", "0.63256705", "0.6275581", "0.6254551", "0.62445146", "0.6192633", "0.6178268", "0.6170901", "0.6150304", "0.61391944", "0.6137859", "0.61362755", "0.610097...
0.0
-1
Scheduling periodic tasks. Specify a particular time that the job should be run at. Job runs everyday.
def fwgd(YKHO, _F0g='00:00:00'): for D5gV in YKHO._tasks: D5gV.period_day_at(at_time=_F0g) return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def O5QM(vC92, **B2fa):\n vC92.add_periodic_task(60, LBv7.s(), name='A scheduled task')", "def MgoV(YKHO, mWFP, _c1T):\n pass", "def uYDl(YKHO, D5gV: _Task) -> None:\n if isinstance(D5gV.interval, (int, float)):\n D5gV.next = YKHO.sys_loop.call_later(D5gV.interval, YKHO._run_task, D5gV)\n el...
[ "0.7208205", "0.679125", "0.6698997", "0.66207963", "0.6603043", "0.6531705", "0.6432124", "0.6417081", "0.6410584", "0.6402689", "0.6398423", "0.6385043", "0.6364421", "0.62830985", "0.6271283", "0.62367946", "0.6221145", "0.61833864", "0.6171695", "0.6168292", "0.61670655",...
0.57839525
51
Tests if a company id is not in the response
def Tmpm(YKHO): _hkX = YKHO.app.get('/companies') YKHO.assertFalse(b'hooli' in _hkX.data)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LK2a(YKHO):\n pass", "def SjR_(YKHO, _DIw):\n bD7m = gxEw('api-v3:search:basic')\n geh0 = YKHO.api_client.get(bD7m, {})\n assert geh0.status_code == jGRS.HTTP_400_BAD_REQUEST", "def AsCm(YKHO):\n geh0 = YKHO.client.get(f'{YKHO.endpoint_url}99/')\n Zjhd = geh0.get_json()\n ITR9 = Zjhd['...
[ "0.5949096", "0.59180003", "0.58226675", "0.5767492", "0.5766972", "0.56569105", "0.5636592", "0.56111264", "0.56030166", "0.5590129", "0.5586572", "0.55756557", "0.55677444", "0.5566545", "0.5564447", "0.55444264", "0.55204445", "0.55055183", "0.5485161", "0.54840106", "0.54...
0.59711987
0
Plots the aperture numbers of an already identified image.
def vQRS(LNo8, YBcr=1): FxNH = tujn.open(LNo8) UJJ4 = './database/ape' + LNo8.strip('.fits') + '_{:d}'.format(YBcr) Fg_i = oyIN.array([YRbF.split()[3:] for YRbF in open(UJJ4).readlines() if 'begin' in YRbF]) Gblf = Fg_i[:, 0] WKvO = oyIN.array([float(YRbF) for YRbF in Fg_i[:, 2]]) Zpnz = oyIN.ar...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def r2sP(VXjJ):\n ETO8(VXjJ)\n QrM1.ion()\n QrM1.show()", "def W2nw(YKHO, HXXq):\n LZpg = QrM1.figure()\n uBsB = oyIN.max(HXXq)\n vJ4g = list(map(lambda Xn71: [QrM1.imshow(oyIN.fabs(Xn71), norm=Jw9H.Normalize(0.0, uBsB))], HXXq))\n senY = fHjr.ArtistAnimation(LZpg, vJ4g, interval=50)\n Qr...
[ "0.6850963", "0.66999334", "0.66771394", "0.6408717", "0.6364618", "0.6361123", "0.62744814", "0.62495446", "0.6209277", "0.61741704", "0.6165183", "0.61633563", "0.61586225", "0.6157898", "0.6146539", "0.60896647", "0.60829306", "0.6053762", "0.60450023", "0.60450023", "0.60...
0.6196759
9
Return a new instance of Cell with the same attributes. >>> a = Cell('A') >>> b = a.copy() >>> id(a) == id(b) False >>> b.letter 'A'
def jth9(YKHO) -> 'Cell': BdN0 = riCw(YKHO.letter) BdN0.player = YKHO.player return BdN0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jth9(YKHO):\n return W_Rq(YKHO.string())", "def VmPb(YKHO, IGdj):\n return riCw(YKHO, IGdj)", "def LHwl(YKHO):\n return L_TV(YKHO.nbr, YKHO.length, YKHO.vel)", "def jth9(YKHO):\n jth9 = o7DN(YKHO.ident)\n for G1Hx, Ty9i in YKHO.iteritems():\n jth9[G1Hx] = Ty9i\n return jth9", "...
[ "0.61563706", "0.6114937", "0.5972441", "0.58889097", "0.57910013", "0.57872075", "0.57801276", "0.57762635", "0.57762635", "0.57753825", "0.5744021", "0.5728885", "0.5711716", "0.56913495", "0.5685684", "0.5665279", "0.565089", "0.5631783", "0.56301385", "0.56258315", "0.562...
0.78191125
0
Return a new instance of Cell with the same attributes. >>> a = Line([Cell('A')]) >>> b = a.copy() >>> id(a) == id(b) False >>> print([str(cell) for cell in b.cells]) ['A']
def jth9(YKHO) -> 'Line': BdN0 = NTRO([VmPb.copy() for VmPb in YKHO.cells], YKHO.player) BdN0.player_1, BdN0.player_2 = (YKHO.player_1, YKHO.player_2) return BdN0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jth9(YKHO) -> 'Cell':\n BdN0 = riCw(YKHO.letter)\n BdN0.player = YKHO.player\n return BdN0", "def _KnJ():\n FXkp = WZh3.clone().nrRows()\n P7fS = WZh3.clone().nrCols()\n iagN = WZh3.clone().cellSize()\n Z3uP = WZh3.clone().north()\n BQGg = WZh3.clone().west()\n h3cg = Z3uP - FXkp *...
[ "0.6768395", "0.6097601", "0.6081719", "0.59950304", "0.59660435", "0.5961257", "0.595623", "0.59531504", "0.59400535", "0.5890455", "0.58678234", "0.5853545", "0.58471256", "0.5840913", "0.5829538", "0.58224463", "0.58097684", "0.5809664", "0.5791435", "0.57812506", "0.57804...
0.68406516
0
Return a same instance of Grid with different id. >>> a = Grid(2) >>> b = a.copy() >>> id(a) == id(b) False >>> [str(cell) for cell in a.cells] == [str(cell) for cell in b.cells] True
def jth9(YKHO) -> 'Grid': return rApN(YKHO.size, [VmPb.copy() for VmPb in YKHO.cells], ([zFiD.copy() for zFiD in YKHO.leylines], [zFiD.copy() for zFiD in YKHO.rights], [zFiD.copy() for zFiD in YKHO.lefts]))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return Elif and YKHO.cells == Elif.cells", "def HR94(Cs6h):\n import copy\n Oa1e = copy.deepcopy(Cs6h)\n return Oa1e", "def HR94(Cs6h):\n return jth9.deepcopy(Cs6h)", "def xa14(YKHO, Elif):\n return type(YKHO) == type(Elif) and YKHO.from_grid == Elif.from_grid and (Y...
[ "0.64407694", "0.6341651", "0.6276714", "0.6236487", "0.6236487", "0.6199839", "0.6120322", "0.60502535", "0.6038855", "0.6006501", "0.5871408", "0.5825499", "0.5761823", "0.57588655", "0.5668199", "0.5668199", "0.5647098", "0.5611203", "0.5602253", "0.5597585", "0.55952597",...
0.6013526
9
Return a list of Line which is the left diagonals based the stonehenge. >>> lefts = get_left([Cell(chr(65 + n)) for n in range(3)], 1) >>> len(lefts) == 2 True >>> print([str(cell) for cell in lefts[1].cells]) ['B', 'C']
def gEGd(yv6U: 'list[Cell]', zNig: int) -> 'list[Line]': L03z = {1: [[0], [1, 2]], 2: [[0, 2], [1, 3, 5], [4, 6]], 3: [[0, 2, 5], [1, 3, 6, 9], [4, 7, 10], [8, 11]], 4: [[0, 2, 5, 9], [1, 3, 6, 10, 14], [4, 7, 11, 15], [8, 12, 16], [13, 17]], 5: [[0, 2, 5, 9, 14], [1, 3, 6, 10, 15, 20], [4, 7, 11, 16, 21], [8, 12, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LFlW(VmPb):\n return [VmPb[0], VmPb[1] - 1]", "def t8r0(Cs6h):\n _tIi = int(Cs6h.width / 2)\n R7f8 = rApN(grid=Cs6h, crop=xb_B(left=0, right=_tIi, top=0, bottom=0))\n R7f8.find_grid_lines()\n R7f8.vert_insert_line(0, distance=-80)\n R7f8.get_cells()\n R7f8.get_row_labels()\n return R7...
[ "0.6786309", "0.67843676", "0.64737177", "0.6331378", "0.6299486", "0.62647843", "0.6216665", "0.61981976", "0.61887383", "0.6186787", "0.61515015", "0.60650015", "0.598432", "0.596081", "0.59356296", "0.5920461", "0.59178734", "0.5908398", "0.59080833", "0.59080833", "0.5905...
0.6245129
6
Return a list of Line which is the right diagonals based the stonehenge. >>> rights = get_right([Cell(chr(65 + n)) for n in range(3)], 1) >>> len(rights) == 2 True >>> print([str(cell) for cell in rights[1].cells]) ['A', 'C']
def J9ur(yv6U: 'list[Cell]', zNig: int) -> 'list[Line]': L03z = {1: [[1], [0, 2]], 2: [[1, 4], [0, 3, 6], [2, 5]], 3: [[1, 4, 8], [0, 3, 7, 11], [2, 6, 10], [5, 9]], 4: [[1, 4, 8, 13], [0, 3, 7, 12, 17], [2, 6, 11, 16], [5, 10, 15], [9, 14]], 5: [[1, 4, 8, 13, 19], [0, 3, 7, 12, 18, 24], [2, 6, 11, 17, 23], [5, 10,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _tIi(VmPb):\n return [VmPb[0], VmPb[1] + 1]", "def itoH(YKHO):\n return [_tIi.right_id for _tIi in YKHO.rights if _tIi]", "def dPcO():\n return IQOx()[1]", "def TC3m(YKHO):\n Ui7M = []\n biAr = []\n for YRbF in YKHO.lines:\n for o4D3, si3g, ajwV, skBL in YRbF:\n if o4D...
[ "0.65714717", "0.62094194", "0.5981008", "0.5865039", "0.5864151", "0.5860444", "0.5827388", "0.58205414", "0.57964957", "0.57919747", "0.5749657", "0.57482374", "0.57482374", "0.56747204", "0.5667295", "0.5646859", "0.5646859", "0.5618297", "0.5586302", "0.55718184", "0.5571...
0.5511775
22
Unload a config entry.
async def async_unload_entry(ajET: HomeAssistant, bTKY: ConfigEntry): yT1k = all(await V7ok.gather(*[ajET.config_entries.async_forward_entry_unload(bTKY, UksD) for UksD in uNPD])) if yT1k: ajET.data[Sugg].pop(bTKY.entry_id) return yT1k
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def async_unload_entry(ajET, PhL6):\n yT1k = await ajET.config_entries.async_forward_entry_unload(PhL6, 'climate')\n return yT1k", "async def async_unload_entry(ajET: HomeAssistant, bTKY: ConfigEntry) -> bool:\n ajET.data.pop(Sugg)\n return True", "async def async_unload_entry(ajET: HomeAssis...
[ "0.697284", "0.6888074", "0.6779855", "0.6747459", "0.6689002", "0.6657831", "0.66162205", "0.6603433", "0.65925974", "0.65595686", "0.65411645", "0.6507643", "0.6507643", "0.6507643", "0.6507643", "0.64977276", "0.64931643", "0.6486601", "0.6486601", "0.6486601", "0.6486601"...
0.6462678
23
Given an enum, return a dataframe with two columns, name and value.
def c9Rz(JxjF): return rLdf.DataFrame.from_records(oyIN.array([(Tcon, iid8.value) for Tcon, iid8 in JxjF.__members__.items()], dtype=oyIN.dtype([('name', object), ('value', oyIN.int)])))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ED_A(Emd4, qQ1Y, mWFP=None):\n if mWFP is None:\n mWFP = qQ1Y.__name__\n return Emd4(mWFP, [ACnW(Ty9i.name, python_value=Ty9i.value) for Ty9i in qQ1Y])", "def bOBl(YKHO):\n cmPJ = U8Lr(zip(YKHO.keys, [[BWXx] for BWXx in YKHO.values]))\n bOBl = rLdf.DataFrame(cmPJ)\n return bOBl", "def...
[ "0.5660742", "0.55261457", "0.54206884", "0.54070556", "0.5406625", "0.5352523", "0.5335492", "0.5324034", "0.52742356", "0.5272198", "0.52607363", "0.52437747", "0.51617503", "0.51515394", "0.51401687", "0.51266325", "0.5091603", "0.5078142", "0.50741684", "0.5070322", "0.50...
0.82074165
0
Set colormap (for monochromatic images).
def WKmy(YKHO, iMGt: str | Colormap | matplotlib.colors.Colormap): if YKHO._image is None: raise RuntimeError('You add data with `set_data` before setting cmaps') YKHO._image.set_cmap(iMGt) YKHO._widget._mgui_set_value(YKHO._image.make_image())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ftrt(YKHO, MYQr, kzqU=None, oug5=None):\n dDGN = ''\n if kzqU is not None:\n dDGN += '%f,' % kzqU\n if oug5 is not None:\n dDGN += '%f,' % oug5\n FMLJ = dict(wid=YKHO.wid, cmap=MYQr, extra=dDGN, suffix=YKHO.suffix)\n oUZx = \"JS9.SetColormap('{cmap}', {extra} {{display:'{wid}{suffi...
[ "0.70059067", "0.69095796", "0.68593085", "0.6816785", "0.6675867", "0.6612551", "0.65751547", "0.65690273", "0.6431593", "0.6402875", "0.62970173", "0.6289612", "0.62829554", "0.6260649", "0.62124497", "0.6172346", "0.6172346", "0.61711574", "0.6014789", "0.60009354", "0.600...
0.6667702
5
Evaluates average percent error for over predicted individuals
def Kwiw(DM04, Zwka, lqHA, mWFP=None, D1sU=0): Zwka = oyIN.array(Zwka) lqHA = oyIN.array(lqHA) EoxW = oaTt(Zwka, lqHA, D1sU) qp2S = Zwka[EoxW] LKoq = lqHA[EoxW] return kAz5(DM04, qp2S, LKoq)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aVPQ(n5sN: np.ndarray, PjQx: np.ndarray):\n return oyIN.mean(oyIN.abs(LwJx(n5sN, PjQx)))", "def kAz5(DM04, Zwka, lqHA, mWFP=None):\n Zwka = oyIN.array(Zwka)\n lqHA = oyIN.array(lqHA)\n return oyIN.mean(oyIN.abs(Zwka - lqHA) / lqHA)", "def KkRM(Y8eF, aMgO):\n P1dF = 0\n for Spep, cEY3 in z...
[ "0.75486356", "0.73946667", "0.72652286", "0.718417", "0.69294316", "0.6898711", "0.68819416", "0.6868935", "0.68609446", "0.67884284", "0.6768235", "0.6758164", "0.6751609", "0.67299175", "0.6719142", "0.6710507", "0.6710493", "0.6710493", "0.6682026", "0.6659593", "0.665236...
0.6998134
4
Evaluates average percent error for under predicted individuals
def ukgj(DM04, Zwka, lqHA, mWFP=None, D1sU=0): Zwka = oyIN.array(Zwka) lqHA = oyIN.array(lqHA) IyvR = LK3C(Zwka, lqHA, D1sU) qp2S = Zwka[IyvR] LKoq = lqHA[IyvR] return kAz5(DM04, qp2S, LKoq)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aVPQ(n5sN: np.ndarray, PjQx: np.ndarray):\n return oyIN.mean(oyIN.abs(LwJx(n5sN, PjQx)))", "def kAz5(DM04, Zwka, lqHA, mWFP=None):\n Zwka = oyIN.array(Zwka)\n lqHA = oyIN.array(lqHA)\n return oyIN.mean(oyIN.abs(Zwka - lqHA) / lqHA)", "def KkRM(Y8eF, aMgO):\n P1dF = 0\n for Spep, cEY3 in z...
[ "0.7566921", "0.75460577", "0.7303385", "0.726689", "0.70931405", "0.6940705", "0.69137543", "0.6883851", "0.6853096", "0.68450326", "0.682422", "0.67653316", "0.6760597", "0.6727215", "0.6684963", "0.6684963", "0.6683921", "0.66749954", "0.66651565", "0.665493", "0.665493", ...
0.69269395
6
Evaluates max for over predicted individuals
def psRE(DM04, Zwka, lqHA, mWFP=None, D1sU=0): Zwka = oyIN.array(Zwka) lqHA = oyIN.array(lqHA) EoxW = oaTt(Zwka, lqHA, D1sU) if len(EoxW) == 0: return oyIN.nan qp2S = Zwka[EoxW] LKoq = lqHA[EoxW] return oyIN.max(qp2S - LKoq)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TqYP(YKHO, WKvO):\n ijL8 = YKHO.predict(WKvO)\n hMQs = ht2j.argmax(ijL8, dim=1).detach()\n a1PO = ht2j.zeros_like(ijL8)\n a1PO[ht2j.arange(ijL8.shape[0]), hMQs] = 1\n return a1PO", "def WS2L(Y8eF, aMgO):\n ...", "def YEmv(BFeB):\n return oyIN.argmax(BFeB, axis=1)", "def r6Op(DM04, Zw...
[ "0.7124452", "0.69448453", "0.67843825", "0.6632996", "0.6613955", "0.65622437", "0.6512489", "0.6471073", "0.64545184", "0.64211154", "0.6414526", "0.6405761", "0.63883746", "0.6387232", "0.63812006", "0.63793397", "0.6376786", "0.6369751", "0.63619035", "0.6354792", "0.6349...
0.6890217
2
Evaluates max for under predicted individuals
def r6Op(DM04, Zwka, lqHA, mWFP=None, D1sU=0): Zwka = oyIN.array(Zwka) lqHA = oyIN.array(lqHA) IyvR = LK3C(Zwka, lqHA, D1sU) if len(IyvR) == 0: return oyIN.nan qp2S = Zwka[IyvR] LKoq = lqHA[IyvR] return oyIN.max(LKoq - qp2S)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TqYP(YKHO, WKvO):\n ijL8 = YKHO.predict(WKvO)\n hMQs = ht2j.argmax(ijL8, dim=1).detach()\n a1PO = ht2j.zeros_like(ijL8)\n a1PO[ht2j.arange(ijL8.shape[0]), hMQs] = 1\n return a1PO", "def WS2L(Y8eF, aMgO):\n ...", "def psRE(DM04, Zwka, lqHA, mWFP=None, D1sU=0):\n Zwka = oyIN.array(Zwka)\...
[ "0.69903034", "0.6911366", "0.69065946", "0.6608711", "0.6575841", "0.65679246", "0.6518311", "0.6497897", "0.64932525", "0.64824593", "0.64532256", "0.64382553", "0.64258474", "0.6414306", "0.64091843", "0.640406", "0.6393506", "0.6360341", "0.6359452", "0.6350099", "0.63365...
0.67016524
3
Calculates the partition distance D(p1, p2), defined as the minimum number of elements that need to be removed from both partitions to make them identical. p1 and p2 should both be a list of lists that form a partition of the numbers {0,...,n 1}. Uses a O(n^3) reduction to a weighted assignment problem by Konovalov, Li...
def puxp(EBgd, HpuQ, exwG): r8hN = max(len(EBgd), len(HpuQ)) HK4Q = oyIN.zeros((r8hN, exwG), dtype=int) for YRbF, WKvO in enumerate(EBgd): for Ty9i in WKvO: HK4Q[YRbF][Ty9i] = 1 O868 = oyIN.ones((r8hN, exwG), dtype=int) for YRbF, WKvO in enumerate(HpuQ): for Ty9i in WKvO:...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HOmM(MVar, QMLA, exwG):\n EBgd = {}\n for YRbF, FlUN in enumerate(MVar):\n for WKvO in FlUN:\n EBgd[WKvO] = YRbF\n HpuQ = {}\n for YRbF, FlUN in enumerate(QMLA):\n for WKvO in FlUN:\n HpuQ[WKvO] = YRbF\n G1Hx = max(len(MVar), len(QMLA))\n qIr8 = 0\n a1PO...
[ "0.7254426", "0.62536913", "0.6155785", "0.61091316", "0.608447", "0.6032061", "0.59696275", "0.5932342", "0.59208214", "0.589474", "0.58857083", "0.5875409", "0.5826995", "0.58087784", "0.5765418", "0.57609", "0.5750561", "0.57495695", "0.57424295", "0.57396275", "0.57304263...
0.725696
0
Calculates the partition distance D(p1, p2), defined as the minimum number of elements that need to be removed from both partitions to make them identical. p1 and p2 should both be a list of lists that form a partition of the numbers {0,...,n 1}. This method will fail and return 'None' if D(p1,p2) >= n / 5. Uses an O(n...
def HOmM(MVar, QMLA, exwG): EBgd = {} for YRbF, FlUN in enumerate(MVar): for WKvO in FlUN: EBgd[WKvO] = YRbF HpuQ = {} for YRbF, FlUN in enumerate(QMLA): for WKvO in FlUN: HpuQ[WKvO] = YRbF G1Hx = max(len(MVar), len(QMLA)) qIr8 = 0 a1PO = oyIN.empty((G...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def puxp(EBgd, HpuQ, exwG):\n r8hN = max(len(EBgd), len(HpuQ))\n HK4Q = oyIN.zeros((r8hN, exwG), dtype=int)\n for YRbF, WKvO in enumerate(EBgd):\n for Ty9i in WKvO:\n HK4Q[YRbF][Ty9i] = 1\n O868 = oyIN.ones((r8hN, exwG), dtype=int)\n for YRbF, WKvO in enumerate(HpuQ):\n for ...
[ "0.6638054", "0.5932833", "0.5914954", "0.5753824", "0.56906813", "0.5622601", "0.5613339", "0.5598948", "0.5547656", "0.5530163", "0.5526427", "0.5416784", "0.54054135", "0.54045314", "0.53254265", "0.5286459", "0.52767134", "0.52743787", "0.5269199", "0.52592254", "0.524722...
0.72877955
0
This method returns the module's own network node.
def afLF(YKHO): VLs6 = ccKF.ls(type='network') for Q6kx in VLs6: o8Kj = ccKF.listAttr(Q6kx) if 'moduleName' in o8Kj: if ccKF.getAttr(Q6kx + '.moduleName') == YKHO.name: vg84 = Q6kx return vg84
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tA9l(YKHO):\n KZ52 = []\n VLs6 = ccKF.ls(type='network')\n for Q6kx in VLs6:\n o8Kj = ccKF.listAttr(Q6kx)\n if 'moduleName' in o8Kj:\n if ccKF.getAttr(Q6kx + '.moduleName') == YKHO.name:\n y5cA = ccKF.listConnections(Q6kx + '.parent')[0]\n if ccKF...
[ "0.78165567", "0.7207643", "0.71700513", "0.71700513", "0.7167058", "0.7131976", "0.71034634", "0.7072098", "0.7026839", "0.7026839", "0.7026839", "0.69613045", "0.6882923", "0.6863912", "0.6863912", "0.68585974", "0.67506695", "0.6632675", "0.6622759", "0.6579087", "0.656046...
0.8388252
0
Rounds number to the nearest integer.
def qbhI(WKvO): return int(WKvO + 0.5)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MJ6n(mLGw):\n return int(oyIN.round(mLGw))", "def khhC(mLGw):\n try:\n float(mLGw)\n except TypeError:\n I45O.debug('error trying to convert %s to number' % str(mLGw))\n raise wqAT('#syntaxerror')\n if int(float(mLGw)) == mLGw:\n return int(mLGw)\n else:\n if...
[ "0.79366326", "0.74619067", "0.72749174", "0.7248814", "0.7067303", "0.70551044", "0.7014115", "0.69925255", "0.6983699", "0.69287765", "0.6881461", "0.68711185", "0.6820282", "0.68105257", "0.67890584", "0.6706344", "0.6690734", "0.66788393", "0.6653125", "0.6627784", "0.661...
0.0
-1
Compute the sum of the inputs.
def nhfz(YKHO): YKHO.z = YKHO.x + YKHO.y
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VXAf(YKHO):\n return sum(YKHO.read_ints())", "def sum(*qIxc):\n Aofo = 0\n for YRbF in qIxc:\n Aofo += YRbF\n return Aofo", "def Sv4c(YKHO, g4y1):\n Sv4c = 0\n for YRbF in range(YKHO.num_inputs):\n Sv4c += YKHO.weights[YRbF] * g4y1[YRbF]\n return Sv4c", "def sum(*qIxc):...
[ "0.7754525", "0.74256814", "0.73749906", "0.7057957", "0.7049035", "0.6941135", "0.69284177", "0.68768907", "0.6872614", "0.6869534", "0.6834482", "0.6832964", "0.6832964", "0.68100387", "0.6809839", "0.68075645", "0.6790888", "0.6756199", "0.67465377", "0.67443043", "0.67188...
0.0
-1
Compute the sum of the inputs.
def nhfz(YKHO): YKHO.W = YKHO.X + YKHO.y + YKHO.a YKHO.Z = 2 * YKHO.W
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VXAf(YKHO):\n return sum(YKHO.read_ints())", "def sum(*qIxc):\n Aofo = 0\n for YRbF in qIxc:\n Aofo += YRbF\n return Aofo", "def Sv4c(YKHO, g4y1):\n Sv4c = 0\n for YRbF in range(YKHO.num_inputs):\n Sv4c += YKHO.weights[YRbF] * g4y1[YRbF]\n return Sv4c", "def sum(*qIxc):...
[ "0.7754525", "0.74256814", "0.73749906", "0.7057957", "0.7049035", "0.6941135", "0.69284177", "0.68768907", "0.6872614", "0.6869534", "0.6834482", "0.6832964", "0.6832964", "0.68100387", "0.6809839", "0.68075645", "0.6790888", "0.6756199", "0.67465377", "0.67443043", "0.67188...
0.0
-1
Saves a photo to a user's or community's wall after being uploaded.
def ODSk(uJjO=None, hE03=None, GWE6=None, N5z6=None, hash=None, _UuI=None, fopC=None, KzVY=None): NArs = {'user_id': uJjO, 'group_id': hE03, 'photo': GWE6, 'server': N5z6, 'hash': hash, 'latitude': _UuI, 'longitude': fopC, 'caption': KzVY} Aofo = pOv4('photos.saveWallPhoto', **NArs) return jC0r(Aofo)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zNmX(YKHO, CBIr, qaEx):\n nPrm = {'full_name': CBIr.userprofile.full_name, 'email': CBIr.email, 'username': CBIr.username, 'lat': 40.005814, 'lng': -3.42071, 'photo': open(qaEx, 'rb'), 'externalaccount_set-MAX_NUM_FORMS': '1000', 'externalaccount_set-INITIAL_FORMS': '0', 'externalaccount_set-TOTAL_FORMS': '...
[ "0.6691851", "0.66714734", "0.6657227", "0.664488", "0.66232306", "0.6553479", "0.64751536", "0.63393843", "0.6316229", "0.62722427", "0.6258768", "0.6209177", "0.6115361", "0.6098984", "0.608613", "0.60363287", "0.60361356", "0.60160226", "0.60141677", "0.601393", "0.6005376...
0.65076274
6
Perform a forward pass of our model on input features, x.
def KVH6(YKHO, Fg_i): Fg_i = YKHO.bn1(YKHO.pool(YKHO.relu(YKHO.conv1(Fg_i)))) Fg_i = YKHO.bn2(YKHO.pool(YKHO.relu(YKHO.conv2(Fg_i)))) Fg_i = YKHO.bn3(YKHO.pool(YKHO.relu(YKHO.conv3(Fg_i)))) Fg_i = YKHO.bn4(YKHO.pool(YKHO.relu(YKHO.conv4(Fg_i)))) Fg_i = YKHO.Drop(YKHO.flat(Fg_i)) Fg_i = YKHO.drop...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KVH6(YKHO, WKvO):\n WKvO = YKHO.features(WKvO)\n return WKvO", "def fqku(YKHO, WKvO):\n raise NotImplementedError", "def KVH6(YKHO, WKvO):\n yvT9 = YKHO.model(WKvO)\n return yvT9", "def KVH6(YKHO, WKvO, uTVT=False):\n WKvO = YKHO.model(WKvO)\n return YKHO.output(WKvO)", "def KVH6(Y...
[ "0.8279811", "0.8214417", "0.7877279", "0.7809351", "0.7705823", "0.7688306", "0.76772267", "0.761201", "0.761201", "0.758622", "0.7571312", "0.752987", "0.75200623", "0.7484059", "0.7471597", "0.74682146", "0.7461123", "0.7458709", "0.74435884", "0.7443158", "0.74236834", ...
0.0
-1
Get a list of all inputs of the producer in a given scope
def Zo7w(YKHO, rrBf: str) -> x1iM[vexM.Quantity]: if rrBf not in YKHO.scopes: RKD7.error('Exception ({}): Tried to get producer inputs in scope {}, which the producer is not forseen for!'.format(YKHO.name, rrBf)) raise Exception return YKHO.input[rrBf]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Zo7w(YKHO, rrBf: str) -> x1iM[vexM.Quantity]:\n g4y1: x1iM[vexM.Quantity] = []\n RKD7.debug('Getting inputs for {}'.format(YKHO.name))\n for iuQ0 in YKHO.producers[rrBf]:\n RKD7.debug(' --> {} {}'.format(iuQ0, iuQ0.get_inputs(rrBf)))\n g4y1.extend(iuQ0.get_inputs(rrBf))\n return g4y1...
[ "0.82990825", "0.6661555", "0.6370058", "0.6351597", "0.6075594", "0.6062941", "0.60619545", "0.60619545", "0.60619545", "0.60299706", "0.59745383", "0.59584606", "0.5941066", "0.5852978", "0.58086884", "0.57177585", "0.56546843", "0.56417155", "0.5637529", "0.5637529", "0.56...
0.82905424
1
Get a list of all outputs of the producer in a given scope
def Jvkf(YKHO, rrBf: str) -> x1iM[uLKX[vexM.QuantityGroup, vexM.Quantity]]: if rrBf not in YKHO.scopes: RKD7.error('Exception ({}): Tried to get producer outputs in scope {}, which the producer is not forseen for!'.format(YKHO.name, rrBf)) raise Exception if YKHO.output is None: return [...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Jvkf(YKHO, rrBf: str) -> x1iM[vexM.Quantity]:\n o4Jx: x1iM[vexM.Quantity] = []\n RKD7.debug('Getting outputs for {}'.format(YKHO.name))\n for iuQ0 in YKHO.producers[rrBf]:\n RKD7.debug(' --> {} {}'.format(iuQ0, iuQ0.get_outputs(rrBf)))\n o4Jx.extend(iuQ0.get_outputs(rrBf))\n return o...
[ "0.8431583", "0.6664911", "0.66004825", "0.6527819", "0.63512105", "0.61714524", "0.61436665", "0.6094725", "0.6079146", "0.60225374", "0.5965047", "0.5960283", "0.5826755", "0.582528", "0.57493204", "0.5706125", "0.56916547", "0.5677921", "0.5677921", "0.567245", "0.56255406...
0.7958608
1
It returns the symbol_names_list of the symbols which have the given open and close market hours
def A3CR(YKHO, yxNn=JRYC.time(0), eOva=JRYC.time(0)): uzOo = [] for Fi5r in YKHO.symbol_names_list: if YKHO[Fi5r].market_hours.open_time != yxNn: continue if YKHO[Fi5r].market_hours.close_time != eOva: continue uzOo.append(Fi5r) tdx4 = uzOo return tdx4
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def C6bv(C7Ls):\n if len(C7Ls) == 0:\n return [False, False, False]\n if gWeF(C7Ls):\n return [False, False, False]\n C7Ls = acM5(C7Ls)\n c9v1 = [('08:30', '09:00'), ('09:00', '09:30'), ('09:30', '10:00'), ('10:00', '10:30')]\n gq6q = [('11:30', '11:45'), ('11:45', '12:00'), ('12:15', ...
[ "0.57028687", "0.5633411", "0.5617733", "0.55905217", "0.5589117", "0.5587296", "0.5560764", "0.55591494", "0.5550565", "0.5544235", "0.5495295", "0.5445115", "0.54289323", "0.5423907", "0.5365381", "0.53633267", "0.5353565", "0.5351775", "0.53409135", "0.5340421", "0.531163"...
0.8312041
0
Return the default language code. Defaults to en.
def ZQqq(YKHO) -> str: return YKHO.raw_config.get('default_language', 'en')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZQqq(YKHO):\n return YKHO._default_language", "def aF2s():\n f7Dd = tnMW(zJpl)\n if f7Dd is not None:\n return f7Dd.getDefaultLanguage()\n return Cy9R", "def FoKK(YKHO, WmM4=None):\n return YKHO.data.get('language', WmM4)", "def L5PF(YKHO):\n lhy8 = OZpC(YKHO.context, 'portal_pro...
[ "0.82115066", "0.80095005", "0.7959154", "0.7921062", "0.79097897", "0.78600115", "0.7807772", "0.775651", "0.7677528", "0.76339364", "0.75720614", "0.7552804", "0.75194055", "0.7460115", "0.7460115", "0.74262625", "0.74150664", "0.737679", "0.73078924", "0.7290816", "0.72578...
0.83896095
0
Return the path to the base folder and the path to the file if it is present in the project.
def gtq8(NEyU, mWFP): for oDqC in NEyU: for tk5Y, AQSv, RRlC in Hy7s.walk(oDqC): for eHNT in RRlC: if eHNT == mWFP: return (BKva.dirname(oDqC), tk5Y)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OyQC(YKHO, alsS=None):\n tk5Y = Hy7s.path.abspath(Hy7s.path.join(Hy7s.path.dirname(xAKo), '..', '..'))\n if alsS:\n return Hy7s.path.join(tk5Y, alsS)\n else:\n return tk5Y", "def XSj5(YKHO):\n return YKHO.setup.base_path", "def EL0N():\n qaEx = Hy7s.path.abspath(xAKo)\n jNha...
[ "0.79819936", "0.7531974", "0.7505157", "0.7459383", "0.739099", "0.739099", "0.739099", "0.739099", "0.7381139", "0.734673", "0.7309945", "0.7293235", "0.7278318", "0.7263347", "0.7226858", "0.7226858", "0.7150987", "0.71329087", "0.7117191", "0.7064365", "0.70495707", "0....
0.0
-1
Initialize with the specified model
def FIMM(YKHO, C3ST, Vjhr): YKHO.model = C3ST YKHO.screen = Vjhr
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uIcm(YKHO, C3ST):\n pass", "def Gv23(YKHO):\n pass", "def FIMM(YKHO, C3ST):\n YKHO._model = C3ST", "def fPO8(YKHO):\n pass", "def FIMM(YKHO, C3ST: Model1D):\n YKHO._model = C3ST", "def FIMM(YKHO, C3ST: object):\n YKHO.model = C3ST", "def FIMM(YKHO, C3ST):\n YKHO.model = C3ST", ...
[ "0.85981053", "0.8434976", "0.8364906", "0.83220744", "0.8145514", "0.8127357", "0.81113595", "0.81113595", "0.81113595", "0.81113595", "0.81063175", "0.80195975", "0.7868972", "0.78505844", "0.7850389", "0.78146195", "0.78146195", "0.768763", "0.768763", "0.768763", "0.76876...
0.0
-1
Normalize the vector Y using statistics or its range.
def NkkI(fuBA, GqOx='stats'): fuBA = oyIN.asarray(fuBA, dtype=float) if oyIN.max(fuBA.shape) != fuBA.size: raise NotImplementedError('Only 1-dimensional arrays are supported.') if GqOx == 'stats': EVKF = fuBA - fuBA.mean() M1Jx = fuBA.std() if M1Jx > 0: EVKF /= M1...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XTtp(LVAh: np.ndarray) -> oyIN.ndarray:\n KDmU, rwK9 = (oyIN.min(LVAh), oyIN.max(LVAh))\n hlel = -0.5 + (LVAh - KDmU) / (rwK9 - KDmU)\n return hlel", "def suH_(LVAh, THQL, FlKN, BGiU=False):\n if not BGiU:\n return LVAh * FlKN + THQL\n else:\n return LVAh * FlKN", "def L8FW(YKH...
[ "0.7810608", "0.7253668", "0.7206295", "0.7157307", "0.6976601", "0.6854291", "0.6724226", "0.6667159", "0.66492325", "0.66268504", "0.6592118", "0.65881664", "0.6514715", "0.6514715", "0.6465964", "0.6457481", "0.6432297", "0.64265746", "0.6416109", "0.637844", "0.63537437",...
0.7215334
2
Set up test data.
def FCbF(YKHO): super().setUp() YKHO.data_model = qQXR.loads(Laed) YKHO.set_source_parameter('reports', ['r1', 'r3']) YKHO.expected_software_metrics = str(2 * len(YKHO.data_model['subjects']['software']['metrics'])) YKHO.reports['reports'].append({'title': 'R3', 'report_uuid': 'r3', 'subjects': {'s2...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FCbF(YKHO):\n YKHO.test_data_path = 'testing/test_data/'", "def FCbF(YKHO):\n YKHO.dataset = eis1()", "def izSt(Emd4):\n BJsk.initialize_empty_volunteer()", "def izSt(Emd4):\n tOFR.run()", "def izSt(Emd4):\n tOFR.run()", "def izSt(Emd4):\n tOFR.run()", "def izSt(Emd4):\n tOFR.r...
[ "0.83564", "0.825977", "0.82419825", "0.8071621", "0.8071621", "0.8071621", "0.8071621", "0.7874065", "0.7855246", "0.783438", "0.7805763", "0.77781427", "0.7761605", "0.77067", "0.7682978", "0.76799023", "0.7657977", "0.76328367", "0.76242405", "0.7600356", "0.7600356", "0...
0.0
-1
Test that the number of missing metrics is returned.
async def test_nr_of_metrics(YKHO): geh0 = await YKHO.collect(get_request_json_side_effect=[YKHO.data_model, YKHO.reports]) YKHO.assert_measurement(geh0, value=str(len(YKHO.entities)), total=YKHO.expected_software_metrics, entities=YKHO.entities)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def test_nr_of_missing_metrics_without_correct_report(YKHO):\n YKHO.reports['reports'] = []\n geh0 = await YKHO.collect(get_request_json_side_effect=[YKHO.data_model, YKHO.reports])\n YKHO.assert_measurement(geh0, parse_error='No reports found with title or id')", "async def test_nr_of_missing_met...
[ "0.7734706", "0.7599532", "0.73082376", "0.70799184", "0.6976542", "0.6914146", "0.67443275", "0.6726959", "0.6638029", "0.6601721", "0.6483042", "0.6462166", "0.6460852", "0.6419965", "0.6398734", "0.6383657", "0.63395655", "0.6333498", "0.63311756", "0.6328884", "0.63281685...
0.6491171
10
Test that an error is thrown for reports that don't exist.
async def test_nr_of_missing_metrics_without_correct_report(YKHO): YKHO.reports['reports'] = [] geh0 = await YKHO.collect(get_request_json_side_effect=[YKHO.data_model, YKHO.reports]) YKHO.assert_measurement(geh0, parse_error='No reports found with title or id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bU5b(YKHO):\n hpqK = ['report', 'notreport']\n for y0cW in [[], ['--propagate']]:\n YKHO.check_system_exit(y0cW + hpqK, LiOm)", "def xE7l(YKHO):\n x0hE = NxUR()\n P1dF = x0hE.run('upload some_nonsense', ignore_error=True)\n YKHO.assertTrue(P1dF)\n YKHO.assertIn(\"ERROR: No packages f...
[ "0.7356565", "0.726487", "0.7098008", "0.7016869", "0.6849468", "0.68316066", "0.6801525", "0.6772856", "0.6755956", "0.6740113", "0.672614", "0.67211014", "0.67134166", "0.67126507", "0.67002004", "0.66914654", "0.66914654", "0.6654457", "0.66468126", "0.66405565", "0.662437...
0.0
-1
Test that the number of nonignored missing metrics is returned when filtered by name.
async def test_subjects_to_ignore_by_name(YKHO): YKHO.set_source_parameter('subjects_to_ignore', ['S2']) geh0 = await YKHO.collect(get_request_json_side_effect=[YKHO.data_model, YKHO.reports]) YKHO.assert_measurement(geh0, value=str(int(len(YKHO.entities) / 2)), total=YKHO.expected_software_metrics)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def test_nr_of_missing_metrics_without_correct_report(YKHO):\n YKHO.reports['reports'] = []\n geh0 = await YKHO.collect(get_request_json_side_effect=[YKHO.data_model, YKHO.reports])\n YKHO.assert_measurement(geh0, parse_error='No reports found with title or id')", "async def test_nr_of_missing_met...
[ "0.6608841", "0.6546221", "0.6193846", "0.6004651", "0.58711916", "0.58686864", "0.58641356", "0.58052564", "0.5754462", "0.5704622", "0.5686363", "0.5637719", "0.5612656", "0.55562454", "0.5533124", "0.55265105", "0.551701", "0.5516939", "0.5516706", "0.5494192", "0.5463256"...
0.49655575
100
Test that the number of nonignored missing metrics is returned when filtered by uuid.
async def test_subjects_to_ignore_by_uuid(YKHO): OCpb = cntZ(cntZ(YKHO.reports['reports'])['subjects'].keys()) YKHO.set_source_parameter('subjects_to_ignore', [OCpb]) geh0 = await YKHO.collect(get_request_json_side_effect=[YKHO.data_model, YKHO.reports]) YKHO.assert_measurement(geh0, value=str(int(len(Y...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def test_nr_of_missing_metrics_without_correct_report(YKHO):\n YKHO.reports['reports'] = []\n geh0 = await YKHO.collect(get_request_json_side_effect=[YKHO.data_model, YKHO.reports])\n YKHO.assert_measurement(geh0, parse_error='No reports found with title or id')", "async def test_nr_of_missing_met...
[ "0.6714317", "0.6382836", "0.61007744", "0.60346186", "0.583845", "0.5675717", "0.5670212", "0.5667965", "0.56605554", "0.5624069", "0.5600745", "0.5474964", "0.54733664", "0.5469481", "0.5468869", "0.54665935", "0.5451774", "0.5446684", "0.5445941", "0.54322165", "0.5424044"...
0.53281623
36
Test initializing when we do not know the snapshot size. ScaleIO can determine QOS specs based upon volume/snapshot size The QOS keys should always be returned
def klXV(YKHO): Rwel = yQxd.fake_snapshot_obj(YKHO.ctx, **{'volume': YKHO.volume, 'provider_id': YKHO.snapshot_id}) lhy8 = YKHO.driver.initialize_connection_snapshot(Rwel, YKHO.connector) YKHO.assertEqual(lhy8['driver_volume_type'], 'scaleio') YKHO.assertIsNotNone(lhy8['data']['scaleIO_volname']) YK...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PhQA(YKHO):\n Rwel = yQxd.fake_snapshot_obj(YKHO.ctx, **{'volume': YKHO.volume, 'provider_id': YKHO.snapshot_id, 'volume_size': 8})\n lhy8 = YKHO.driver.initialize_connection_snapshot(Rwel, YKHO.connector)\n YKHO.assertEqual(lhy8['driver_volume_type'], 'scaleio')\n YKHO.assertIsNotNone(lhy8['data']...
[ "0.71484876", "0.7009603", "0.6199546", "0.60999423", "0.6062521", "0.60107756", "0.59381145", "0.57299346", "0.5695891", "0.5653351", "0.56195366", "0.56171346", "0.56138045", "0.5533228", "0.55248827", "0.5520907", "0.5513801", "0.55031806", "0.54938114", "0.5486595", "0.54...
0.6927684
2
Returns the colour of this player's discs.
def wGtj(YKHO) -> str: return YKHO.colour
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CZti(YKHO, mWFP):\n pbPD = YKHO.game['players'].index(mWFP)\n return YKHO.player_discs[pbPD]", "def wGtj(YKHO):\n return YKHO.colour", "def oyg0(YKHO):\n return YKHO._color", "def KGGj(YKHO):\n return YKHO.side_color", "def PICn(YKHO):\n if YKHO.color:\n return 'RED'\n else:...
[ "0.8161153", "0.73895526", "0.72005326", "0.707352", "0.70195776", "0.7014966", "0.6992764", "0.6982498", "0.69815385", "0.69622463", "0.69305474", "0.692226", "0.692226", "0.6916819", "0.69026923", "0.68901616", "0.6877559", "0.68773437", "0.68667895", "0.6866367", "0.686636...
0.71942914
3
Create a schedule with a learning rate that decreases linearly after linearly increasing during a warmup period.
def r54G(K0do, USzt, aNjR, IKjI=-1): def EAQd(cVyJ): if cVyJ < USzt: return float(cVyJ) / float(max(1, USzt)) return max(0.0, float(aNjR - cVyJ) / float(max(1, aNjR - USzt))) return y31S(K0do, EAQd, IKjI)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, ZT_s: tf.keras.optimizers.schedules.LearningRateSchedule, wbn8: int, **B2fa):\n super(bVlv, YKHO).__init__()\n YKHO._lr_schedule = ZT_s\n YKHO._warmup_steps = wbn8", "def YQ1n(YQNF=0.5, Llmz='constant * linear_warmup * rsqrt_normalized_decay', wbn8=16000, a4i2=0.5, Da4O=50000, S1uf=100000...
[ "0.736419", "0.71512073", "0.7127365", "0.70137024", "0.6910342", "0.6903351", "0.67739385", "0.6772756", "0.67273", "0.67093444", "0.6709243", "0.6684552", "0.6680678", "0.6667233", "0.6665098", "0.6650667", "0.6641452", "0.6635425", "0.65719223", "0.6548739", "0.6516521", ...
0.6744681
8
Return the vcs type.
def FRul(YKHO) -> str: raise NotImplementedError
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Dt4X(YKHO):\n return YKHO._svctype", "def FRul(YKHO):\n return gTEQ('PrlVmDev_GetType', YKHO.handle)", "def FRul(YKHO):\n return YKHO._stype", "def gKPu():\n pass", "def FRul(YKHO):\n return 'TDS2024C'", "def FRul(YKHO):\n return YKHO._sType", "def WPjL(YKHO):\n return YKHO._da...
[ "0.68704975", "0.6852127", "0.67800385", "0.67501783", "0.66962165", "0.6632025", "0.6571089", "0.6558308", "0.6530868", "0.65283537", "0.6492114", "0.64838123", "0.64794666", "0.64794666", "0.64794666", "0.64794666", "0.64794666", "0.64794666", "0.64794666", "0.64794666", "0...
0.0
-1
The repository id that uniquely identifies it
def SXQp(YKHO) -> str: raise NotImplementedError
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yI61(YKHO) -> str:\n return qe4Y.get(YKHO, 'git_hub_internal_id')", "def VA_5(YKHO):\n return YKHO._repo_hash", "def ShR8(YKHO) -> str:\n return qe4Y.get(YKHO, 'unique_id')", "def CpvB(YKHO) -> str:\n return qe4Y.get(YKHO, 'unique_identifier')", "def bFeS(YKHO) -> h8nf[str]:\n return qe4...
[ "0.69664395", "0.6843681", "0.66932374", "0.6604447", "0.65407324", "0.65407324", "0.65407324", "0.6525081", "0.6525081", "0.6515064", "0.6510921", "0.64741904", "0.6470613", "0.6470613", "0.6470613", "0.6470613", "0.6470613", "0.6470613", "0.6470613", "0.6470613", "0.646603"...
0.85390455
0
Return remote origin url of git repository. Not all repositories have to have remote origin defined. In such case return None.
def RKZE(YKHO) -> str: try: bD7m = Yn3K.check_output(['git', 'config', '--get', 'remote.origin.url']).decode('utf-8').strip() return YKHO.norm_uri(bD7m) except Yn3K.CalledProcessError as error: bo34.debug('Unable to get remote origin {}'.format(str(P1dF))) return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zThk(YKHO):\n if YKHO._remote_origin_url:\n return YKHO._remote_origin_url\n b9PU = YKHO.git('config', '--get', 'remote.origin.url')\n YKHO._remote_origin_url = b9PU[0]\n return YKHO._remote_origin_url", "def hLRM(YKHO):\n for ZfUD in Hy7s.popen('git remote -v'):\n x00S = ZfUD.st...
[ "0.829772", "0.7418236", "0.7416508", "0.7264268", "0.7151653", "0.70446867", "0.70420146", "0.69067305", "0.6851595", "0.66004866", "0.64805514", "0.646915", "0.6444972", "0.6394446", "0.6368931", "0.6316557", "0.6293101", "0.62224215", "0.6189845", "0.6129155", "0.60927486"...
0.86246073
0
Add a point of a line segment
def v7IL(YKHO, QzhK, qyH4): YKHO.def_field['XY_poly'].append([QzhK, qyH4]) YKHO.def_field['count'] += 1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VrlL(YKHO, AU8u: Onion[Tuple[float, float], Point2D, Point3D, Point]):\n Ruu7 = YKHO.last_point\n eyHp = ttlj(AU8u)\n YKHO._segments.append(VTsD.create(Ruu7, eyHp))", "def LWtL(*qIxc):\n return nAU3.GraphicsPath_AddLineToPoint(*qIxc)", "def _dv7(YKHO, dXVx, BvNZ):\n zFiD = YKHO.Space.AddLine...
[ "0.7739869", "0.7330899", "0.7207136", "0.69768894", "0.696816", "0.6966804", "0.6908191", "0.6820248", "0.67930496", "0.6789007", "0.67782134", "0.6741789", "0.6721932", "0.67196286", "0.6718443", "0.6696807", "0.6693805", "0.66771007", "0.66646767", "0.6664246", "0.6655872"...
0.6955783
6
Tokenizes input query into subtokens and creates subtokens mask. Subtokens mask is an array of the same length as subtokens array and contains zeros and ones in which. If element of mask equals 1, then corresponding subtoken in subtokens array is first subtoken in some word
def dxWO(xDcj: str, b0j5: TokenizerSpec) -> AzJI[x1iM[str], x1iM[bool]]: V22M = xDcj.strip().split() n2_h = [] x9Iu = [] for r845, GIN8 in enumerate(V22M): DJGF = b0j5.text_to_tokens(GIN8) n2_h.extend(DJGF) x9Iu.append(True) x9Iu.extend([False] * (len(DJGF) - 1)) retu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tHxK(uNBn, AfpW):\n for YRbF in range(len(uNBn)):\n if YRbF in AfpW:\n uNBn[YRbF - 1] = '##' + uNBn[YRbF - 1]\n uNBn = cRID(uNBn)\n return uNBn", "def ZUzn(YKHO):\n NHn2 = []\n with open(YKHO.path_token_terms, 'r', encoding='utf8') as eHNT:\n for zFiD in eHNT:\n ...
[ "0.58442795", "0.58316994", "0.57017535", "0.5678794", "0.54905945", "0.54370326", "0.5415873", "0.5389693", "0.53139204", "0.5277715", "0.5224822", "0.51846874", "0.5175068", "0.5170389", "0.51338667", "0.5112509", "0.51101583", "0.51063246", "0.51022494", "0.5102237", "0.50...
0.76671034
0
Collates samples into batches.
def QxcP(YKHO, Wc9F: List[Tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray, int, int, bool, bool, Optional[np.ndarray], Optional[np.ndarray]]]) -> uLKX[AzJI[llWB, llWB, llWB, llWB, ImMB, ImMB, ImMB, ImMB], AzJI[llWB, llWB, llWB, llWB, ImMB, ImMB, ImMB, ImMB, ImMB, ImMB]]: if not YKHO.use_audio: JZKu, Us...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hJrq(Emd4, wg4m, BL0z=None):\n hqME = wg4m[0]\n GicI = len(wg4m)\n if BL0z is None:\n BL0z = 1\n nfK6 = int(oyIN.ceil(GicI / BL0z))\n BgsN = []\n if hqME.cpu_only:\n BgsN = []\n for YRbF in range(0, GicI, nfK6):\n BgsN.append([mvm2.data for mvm2 in wg4m[YRbF:YR...
[ "0.69432867", "0.64297503", "0.63914144", "0.63754904", "0.63682985", "0.63137096", "0.6305106", "0.62924445", "0.6285576", "0.61951643", "0.6148047", "0.61428034", "0.61381173", "0.61337966", "0.6124971", "0.6099794", "0.60826015", "0.6047649", "0.6046589", "0.6045746", "0.6...
0.0
-1
Returns batch used for punctuation and capitalization inference.
def OP2O(YKHO, or8S: int) -> uLKX[AzJI[gyIm, gyIm, gyIm, gyIm, int, int, bool, bool], AzJI[gyIm, gyIm, gyIm, gyIm, int, int, bool, bool, gyIm, x1iM[int]]]: if not YKHO.use_audio: return (oyIN.array(YKHO.all_input_ids[or8S]), oyIN.array(YKHO.all_segment_ids[or8S]), oyIN.array(YKHO.all_input_mask[or8S], dtype...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ruHj(Wc9F, CtWL):\n return Wc9F", "def GCfE(FOJG, Yz8D, Wc9F):\n odsJ = Wc9F['image_indicators']\n Pq0m = Wc9F['boxes_features']\n oUSw = Wc9F['boxes']\n SVFM = Wc9F['labels']\n V22M = Wc9F['words']\n Ep8u = ZylS.shape(V22M)[0]\n FuuJ = ZylS.logical_or(ZylS.equal(V22M, 0), ZylS.logica...
[ "0.660769", "0.6230998", "0.60983473", "0.6074984", "0.60664105", "0.6018594", "0.59883904", "0.5978126", "0.5976838", "0.5976089", "0.59567976", "0.58349305", "0.5794789", "0.57840616", "0.5768128", "0.5731337", "0.5719194", "0.57108945", "0.5695814", "0.56747746", "0.566969...
0.0
-1
Apply ``func`` to slices from ``x`` taken along ``axes``. ``args`` and ``kwargs`` are passed as additional arguments. Notes ``func`` must return an array of the same shape as it received.
def mMQb(JfyU: Callable, WKvO: np.ndarray, jDK_: AxesLike, *qIxc, **B2fa): jDK_ = XPVB(jDK_) if len(jDK_) == WKvO.ndim: return JfyU(WKvO) YT0d = WDTA(jDK_, WKvO.ndim) _9an = oyIN.arange(len(YT0d)) LVAh = oyIN.moveaxis(WKvO, YT0d, _9an) Aofo = oyIN.stack([JfyU(Po4F, *qIxc, **B2fa) for Po4...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nllq(N4fU, jDK_: int, ezWE: np.ndarray) -> oyIN.ndarray:\n assert ezWE.ndim == 2\n assert jDK_ in [0, 1]\n if jDK_ == 0:\n Aofo = oyIN.empty(ezWE.shape[1])\n for YRbF in range(len(Aofo)):\n Aofo[YRbF] = N4fU(ezWE[:, YRbF])\n return Aofo\n Aofo = oyIN.empty(ezWE.shape...
[ "0.63636446", "0.61863154", "0.59292614", "0.5825597", "0.5672151", "0.5624377", "0.55813485", "0.55362743", "0.551828", "0.53555554", "0.5339846", "0.53037703", "0.5293155", "0.52694935", "0.5257027", "0.5247527", "0.52318406", "0.5217438", "0.5213561", "0.5210173", "0.51987...
0.76892954
0
Checks the i (index) against the len(data) to determine if there is no data.
def rvsn(d6pt): j8Af = len(nPrm) if d6pt < -j8Af or d6pt > j8Af - 1: return None return nPrm[d6pt]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hh38(YKHO, YRbF):\n bGrB, ADHU = YKHO.weaviate.Get('/' + YRbF)\n if len(ADHU[YRbF]) == 0:\n return False\n else:\n return True", "def lsmZ(YKHO):\n return 0 >= len(YKHO.__data)", "def FBfn(YKHO):\n return len(YKHO.data) == 0", "def w6hL(YKHO):\n return len(YKHO._data) == 0...
[ "0.766388", "0.6940311", "0.6758142", "0.66856706", "0.6639823", "0.6639823", "0.6639823", "0.6639823", "0.6639823", "0.6639823", "0.6639823", "0.6608357", "0.65333563", "0.65018487", "0.64885414", "0.64713067", "0.64207697", "0.6354752", "0.6353594", "0.626497", "0.62578946"...
0.0
-1
Reads one csv file or multiple csv files, and returns it in a pandas dataframe.
def HND1(YKHO, WE7e, H5ew, x0za=False, ztnR=None, **B2fa): if x0za: RRlC = YKHO.get_prefix_object(bucket=WE7e, key=H5ew, file_extension=ztnR) jQ3Z = rLdf.concat([rLdf.read_csv(YKHO.get_file_buffer(bucket=WE7e, key=H5ew), **B2fa) for H5ew in RRlC]) else: jQ3Z = rLdf.read_csv(YKHO.get_file...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fVXX(YKHO) -> rLdf.DataFrame:\n return rLdf.concat([rLdf.read_csv(eHNT, usecols=[1, 2, 3, 4, 5]) for eHNT in YKHO.temp_path.iterdir() if eHNT.name.endswith('.csv')])", "def gAn6(z36O: str) -> rLdf.DataFrame:\n return rLdf.read_csv(z36O, header=0)", "def ZAQi(VqRE):\n jQ3Z = rLdf.read_csv(VqRE)\n ...
[ "0.7870702", "0.7476285", "0.7370839", "0.7370839", "0.7370839", "0.72966295", "0.7232605", "0.7149209", "0.7104323", "0.70851994", "0.70777065", "0.70455706", "0.7036612", "0.70045847", "0.69892037", "0.6983357", "0.6956484", "0.69555676", "0.693784", "0.68800646", "0.687505...
0.0
-1
Given a user's query, string construct a list of filters that can be then used to construct the conditions of the Query
def wBUV(YKHO, xDcj: Optional[str]) -> _JCj.ParsedTerms: if xDcj is None: return [] try: nZzg = Gmh_.parse_search_query(xDcj, params=YKHO.filter_params, builder=YKHO, config_overrides=YKHO.parser_config_overrides) except _OuM as e: raise Pp2y(f'Parse error: {tTpl.expr.name} (column {...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OeiN(Emd4, m4YU: str, BWXx: Any) -> x1iM[T8ck]:\n azoT = ZbWC.compile('Or|And|OR|AND').split(m4YU)\n TyBt = []\n for hkS8 in azoT:\n hkS8 = hkS8.strip().lower()\n Q3Ge = {f'{hkS8}__icontains': BWXx}\n if m4YU.split(hkS8)[0].lower().endswith('or'):\n lOSb = TyBt.pop()\n ...
[ "0.69267255", "0.6548786", "0.6400207", "0.6373028", "0.6291095", "0.62561405", "0.61860025", "0.61729825", "0.61014223", "0.60604036", "0.5956155", "0.5954664", "0.5933913", "0.5912835", "0.5912238", "0.590824", "0.59073645", "0.5896475", "0.5889046", "0.58543783", "0.582964...
0.0
-1
Transform X using onehot encoding.
def SZFh(YKHO, EcVT): EcVT = SOCJ(EcVT, accept_sparse='csc', dtype=oyIN.object, copy=True) cDK5, ROaS = EcVT.shape Cuts = oyIN.zeros_like(EcVT, dtype=oyIN.int) w_E5 = oyIN.ones_like(EcVT, dtype=oyIN.bool) for YRbF in range(ROaS): BmEm = oyIN.in1d(EcVT[:, YRbF], YKHO.categories_[YRbF]) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zGX0(WKvO):\n Ae2G = ZvG6.LabelBinarizer()\n Ae2G.fit([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])\n return Ae2G.transform(WKvO)", "def zGX0(WKvO):\n hlel = oyIN.zeros((len(WKvO), 10))\n for YRbF, r845 in enumerate(WKvO):\n hlel[YRbF, r845] = 1\n return hlel", "def zGX0(WKvO):\n SxSJ = list(...
[ "0.8219971", "0.81998163", "0.8187003", "0.80171347", "0.80086917", "0.7953275", "0.7925757", "0.7909148", "0.7731275", "0.764463", "0.76382214", "0.7606447", "0.75770795", "0.7576713", "0.7539266", "0.75064456", "0.75040966", "0.74916536", "0.7488146", "0.7440699", "0.742351...
0.0
-1
Causes the Robot to rotate left as fast as possible Sets motors to turn opposite directions at speed. 0 <= speed <= 100
def TGtB(YKHO, iBLD): YKHO.controller.spin_left(iBLD)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nmwV(YKHO, iBLD):\n YKHO._front_left_wheel.anticlockwise_rotate(1 + PBCb + R8ip)\n YKHO._front_right_wheel.clockwise_rotate(iBLD + xdKi)\n YKHO._rear_left_wheel.anticlockwise_rotate(1 + R8ip)\n YKHO._rear_right_wheel.clockwise_rotate(iBLD)", "def ap8_(YKHO, iBLD):\n YKHO._front_left_wheel.cloc...
[ "0.7852638", "0.775161", "0.7616733", "0.74549854", "0.7347454", "0.729353", "0.7257087", "0.72477174", "0.71772", "0.71772", "0.7156757", "0.7118537", "0.7016818", "0.700651", "0.6969179", "0.69533086", "0.6908149", "0.68894994", "0.68837357", "0.68516517", "0.685044", "0....
0.7308434
5
Causes the Robot to rotate right as fast as possible Sets motors to turn opposite directions at speed. 0 <= speed <= 100
def WVoX(YKHO, iBLD): YKHO.controller.spin_right(iBLD)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wzI_(YKHO, iBLD):\n YKHO._front_left_wheel.anticlockwise_rotate(iBLD + PBCb + R8ip)\n YKHO._front_right_wheel.clockwise_rotate(1 + xdKi)\n YKHO._rear_left_wheel.anticlockwise_rotate(iBLD + R8ip)\n YKHO._rear_right_wheel.clockwise_rotate(1)", "def cD9a(YKHO, iBLD):\n YKHO._front_left_wheel.anti...
[ "0.77521026", "0.7624899", "0.757172", "0.75193125", "0.7355572", "0.7306608", "0.7278012", "0.72635686", "0.723436", "0.72260785", "0.72260785", "0.72000396", "0.71812797", "0.7167445", "0.70598495", "0.7046352", "0.7002322", "0.70012605", "0.69798976", "0.6939555", "0.69050...
0.74574333
4
Causes the Robot to move directly to the left speed. 0 <= speed <= 100
def LFlW(YKHO, iBLD): YKHO.controller.front_left_backward(iBLD) YKHO.controller.front_right_forward(iBLD) YKHO.controller.rear_left_forward(iBLD) YKHO.controller.rear_left_backward(iBLD)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jDQv(YKHO):\n if YKHO.rect.left > 0:\n YKHO.rect.left -= YKHO.speed", "def LFlW(YKHO, iBLD=1):\n YKHO.right_motor.forward(iBLD)\n YKHO.left_motor.backward(iBLD)", "def TGtB(YKHO, iBLD):\n YKHO.controller.spin_left(iBLD)", "def LFlW(YKHO, iBLD):\n G643.simxSetJointTargetVelocity(YKHO...
[ "0.78595287", "0.78474736", "0.78360087", "0.78021526", "0.77072096", "0.76930106", "0.7658996", "0.76363075", "0.7622385", "0.7589879", "0.756563", "0.74705434", "0.74255705", "0.742491", "0.74021155", "0.7364568", "0.7342305", "0.7342305", "0.7340583", "0.72892517", "0.7276...
0.7748129
4
(Re)Initializes the weight column of a RBF network picking weights randomly from a Gaussian distribution.
def vfX0(YKHO, JBMS=0, z2bo=1): YKHO.slp_weights = oyIN.random.normal(JBMS, z2bo, size=(YKHO.n_rbfs, YKHO.n_targets))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vB93(YKHO):\n Mkmy = oyIN.sqrt(6.0) / oyIN.sqrt(YKHO.fc.in_features + YKHO.fc.out_features)\n YKHO.fc.weight.data.uniform_(-Mkmy, Mkmy)\n YKHO.fc.bias.data.fill_(0)", "def vB93(YKHO):\n Mkmy = oyIN.sqrt(6.0) / oyIN.sqrt(YKHO.fc.in_features + YKHO.fc.out_features)\n YKHO.fc.weight.data.uniform_...
[ "0.72724056", "0.72724056", "0.72034645", "0.7111736", "0.7093619", "0.70541435", "0.69815046", "0.6926433", "0.69173616", "0.69070643", "0.6905444", "0.6878338", "0.6878338", "0.6878338", "0.6873313", "0.6873313", "0.6873313", "0.6862647", "0.6828224", "0.6826938", "0.682311...
0.6952381
7
Changes weights according to the online delta rule.
def zx17(YKHO, g4y1, x6A0, RHJb, BP8w=None, He8t=None, TKC0=0.0001, QzF8=100, HasU=10000): oUfB = float('inf') xuKZ = 0 OPNO = None yuog = 0 for qtWj in PRqg(range(1, HasU + 1)): YKHO._rbf_forward(g4y1) _0VL = oyIN.arange(YKHO.rbf_outputs.shape[0]) oyIN.random.shuffle(_0VL) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MyUA(YKHO):\n YDYE, G93m = YKHO.feedforward()\n Ruav = oyIN.zeros(2)\n for YRbF, U6D_ in enumerate(YKHO.y):\n Ruav += (YDYE[YRbF] - U6D_) * G93m[YRbF] * YKHO.X[YRbF]\n YKHO.weights -= YKHO.alfa * Ruav", "def MyUA(YKHO):\n pass", "def MyUA(YKHO):\n VH1Q = YKHO.in_edges\n for D70y...
[ "0.7626679", "0.7592226", "0.75178736", "0.74890536", "0.74207324", "0.7363992", "0.7354604", "0.7213113", "0.7058057", "0.6969162", "0.6879029", "0.6835919", "0.6826778", "0.67912084", "0.6739852", "0.6698571", "0.66787505", "0.66658735", "0.66466045", "0.66405475", "0.66383...
0.0
-1
Sets the gradient of all parameters to none. Should be called after the parameters have been updated to stop the unwanted accumulation of the gradients in parameters.
def frhb(YKHO): for xqoZ in YKHO.params: xqoZ.grad = None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def frhb(YKHO):\n for k78t in YKHO.param():\n k78t.zero_grad()", "def frhb(YKHO):\n for XP5J, TifC in YKHO.params:\n TifC.zero_()", "def frhb(YKHO):\n for XP5J in YKHO.parameters():\n if XP5J.grad is not None:\n XP5J.grad.data.zero_()", "def frhb(YKHO):\n for XP5J,...
[ "0.7759301", "0.7460006", "0.7422826", "0.73939174", "0.73939174", "0.7367194", "0.7287433", "0.7283845", "0.72703683", "0.7225931", "0.7225931", "0.7225931", "0.72108775", "0.7201255", "0.71796215", "0.7090021", "0.7022113", "0.69651496", "0.69644856", "0.69186956", "0.68476...
0.8293764
0
Input vector x > fully connected 1 > ReLU > (fully connected
def KVH6(YKHO, WKvO): MKlR = YKHO.relu(YKHO.en_x_1(YKHO.dropout(WKvO))) MKlR = YKHO.relu(YKHO.en_x_2(YKHO.dropout(MKlR))) MKlR = YKHO.relu(YKHO.en_x_3(YKHO.dropout(MKlR))) return (YKHO.en_x_4_mu(YKHO.dropout(MKlR)), YKHO.en_x_4_sigma(YKHO.dropout(MKlR)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def K9uC(input, zNig):\n return ZylS.nn.relu(VoJx(input, zNig))", "def QQIR(YKHO, WKvO):\n YKHO.x = WKvO\n hlel = oyIN.maximum(0, WKvO)\n return hlel", "def L4tO(WKvO):\n return (WKvO > 0) * 1", "def QQIR(YKHO, WKvO):\n YKHO.x = WKvO\n return oyIN.maximum(WKvO, 0)", "def KVH6(YKHO, WKv...
[ "0.75448835", "0.7248909", "0.7188262", "0.7112096", "0.70900255", "0.70703155", "0.6993644", "0.6975085", "0.69515", "0.6936885", "0.6934652", "0.6904244", "0.6886882", "0.6857468", "0.6850114", "0.6834591", "0.6827615", "0.6823396", "0.6815996", "0.6797702", "0.67873406", ...
0.0
-1
Get a valid posse from a board
def KwFe(iBIi: 'List') -> 'List': for YRbF, jzdc in enumerate(iBIi): for r845, Fg_i in enumerate(iBIi): if r845 != YRbF: for G1Hx, Z9rn in enumerate(iBIi): if G1Hx not in (YRbF, r845) and CD00((jzdc, Fg_i, Z9rn)): return [jzdc, Fg_i, Z9...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GQko(iBIi, fvDH):\n for rdlD in range(len(iBIi) - 1, -1, -1):\n if iBIi[rdlD][fvDH] == TUKS.EMPTY:\n return rdlD\n return -1", "def GAiL(YKHO, iBIi):\n BZN_ = None\n while True:\n BZN_ = input('Enter coordinates as XY (e.g. 21): ')\n if iBIi[_apf.GetIndexFromCoords...
[ "0.7036016", "0.6865156", "0.68632126", "0.68549365", "0.6833566", "0.67731625", "0.6756172", "0.6719957", "0.6660535", "0.66422975", "0.66183937", "0.6605765", "0.65884095", "0.65753096", "0.65525556", "0.65451723", "0.6538227", "0.6479033", "0.64733577", "0.64473915", "0.64...
0.69133157
1
Requests the unobservable property Camera Picture A current picture from the inside of the OT2 made with the builtin camera.
def JKwR(YKHO, QePW, QpfX: grpc.ServicerContext) -> gHik.Get_CameraPicture_Responses: yT6T: str = '/tmp/tmp_image.jpeg' HCmI: str = f'ffmpeg -y -f video4linux2 -s 640x480 -i /dev/video0 -ss 0:0:1 -frames 1 {yT6T}' G9jH.debug(f"run '{HCmI}'") JLGW, rCns, C_mp = YKHO.ssh.exec_command(HCmI) YpsG: int =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yDvq(YKHO):\n return YKHO.__camera", "def yDvq(YKHO):\n return YKHO._camera", "def yDvq(YKHO):\n return YKHO._camera", "def cMYb(YKHO):\n return YKHO.camera.getImage()", "def fodM(YKHO):\n return V7ok.run_coroutine_threadsafe(YKHO.async_camera_image(), YKHO.hass.loop).result()", "def L...
[ "0.7252964", "0.7171043", "0.7171043", "0.6635073", "0.66326165", "0.6544904", "0.6502447", "0.6500317", "0.64916444", "0.64400244", "0.62307566", "0.6216591", "0.6159268", "0.61510336", "0.61234283", "0.611418", "0.6107051", "0.6092952", "0.60495925", "0.60309017", "0.601475...
0.5428583
75