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
Normalizes the string making string all lower case and removes all punctuation.
def NkkI(str): if str: if isinstance(str, QMSQ): i4Ns = u'!"#%\'()*+,-./:;<=>?@[\\]^_`{|}~' xTw6 = u'' EqU7 = dict(((ord(hcXw), xTw6) for hcXw in i4Ns)) return str.translate(EqU7) else: return str.lower().translate(vIwR.maketrans('', ''), v...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kwsU(KCHu, Rt_s=False):\n if rLdf.isnull(KCHu):\n return ''\n KCHu = KCHu.strip().lower()\n if Rt_s:\n for Z9rn in vK1s:\n KCHu = KCHu.replace(Z9rn, '')\n return KCHu", "def nJdR(YKHO, KCHu: str) -> str:\n return ''.join([Z9rn.lower() for Z9rn in KCHu if Z9rn.isalnum()...
[ "0.82377535", "0.8095434", "0.80801934", "0.7991054", "0.7949495", "0.7858734", "0.7802395", "0.7799435", "0.7781094", "0.7777465", "0.7773075", "0.77692646", "0.77685934", "0.7727798", "0.76703495", "0.76578385", "0.764577", "0.7632349", "0.7602827", "0.7578837", "0.75761443...
0.7896796
5
Fully qualified resource ID for the resource. Ex /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
def id(YKHO) -> str: return qe4Y.get(YKHO, 'id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PcW4(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_id')", "def PcW4(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_id')", "def PcW4(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_id')", "def PcW4(YKHO) -> str:\n return YKHO.__resource_id", "def PcW4(YKHO) -> qe4Y.Output[str]:\n retur...
[ "0.76553035", "0.76553035", "0.76553035", "0.745717", "0.7365392", "0.7365392", "0.7365392", "0.7365392", "0.7365392", "0.73311216", "0.73311216", "0.73311216", "0.73311216", "0.73311216", "0.73311216", "0.72485095", "0.7211341", "0.7211341", "0.7211341", "0.7211341", "0.7211...
0.0
-1
Start time in UTC for migration window
def mZ9A(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'migration_window_start_time_in_utc')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zSmO(YKHO) -> str:\n return qe4Y.get(YKHO, 'start_time_utc')", "def SWox() -> int:\n from calendar import timegm\n from datetime import datetime\n return int(timegm(datetime.utcnow().utctimetuple()))", "def IYOR():\n return (qcWV.datetime.utcnow() - qcWV.timedelta(seconds=15)).isoformat() + ...
[ "0.7355263", "0.72863746", "0.71762526", "0.70060337", "0.6983895", "0.69311315", "0.6929869", "0.6929609", "0.6896495", "0.6814365", "0.6796057", "0.6779301", "0.6752713", "0.6745137", "0.67390615", "0.6728661", "0.6728661", "0.6728661", "0.6728661", "0.6728661", "0.6728661"...
0.7844726
0
ResourceId of the source database server
def hS2C(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'source_db_server_resource_id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LKQQ(YKHO) -> str:\n return qe4Y.get(YKHO, 'target_db_server_resource_id')", "def txJg(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'source_server_resource_id')", "def uMO2(YKHO) -> str:\n return qe4Y.get(YKHO, 'data_source_id')", "def UBGL(YKHO) -> str:\n return qe4Y.get(YKHO, 'so...
[ "0.76807153", "0.74786997", "0.6749528", "0.6717126", "0.667371", "0.667371", "0.667371", "0.667371", "0.667371", "0.6645366", "0.6645366", "0.6645366", "0.6645366", "0.6645366", "0.6645366", "0.6645366", "0.6645366", "0.6645366", "0.6645366", "0.6645366", "0.6645366", "0.6...
0.8277053
0
ResourceId of the source database server
def LKQQ(YKHO) -> str: return qe4Y.get(YKHO, 'target_db_server_resource_id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hS2C(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'source_db_server_resource_id')", "def txJg(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'source_server_resource_id')", "def uMO2(YKHO) -> str:\n return qe4Y.get(YKHO, 'data_source_id')", "def UBGL(YKHO) -> str:\n return qe4Y.get(YKH...
[ "0.8277053", "0.74786997", "0.6749528", "0.6717126", "0.667371", "0.667371", "0.667371", "0.667371", "0.667371", "0.6645366", "0.6645366", "0.6645366", "0.6645366", "0.6645366", "0.6645366", "0.6645366", "0.6645366", "0.6645366", "0.6645366", "0.6645366", "0.6645366", "0.66...
0.76807153
1
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
def type(YKHO) -> str: return qe4Y.get(YKHO, 'type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Qjbs(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_type')", "def Qjbs(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_type')", "def Qjbs(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_type')", "def Qjbs(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_type')", "def Qjbs(YKHO) -> str:\n ...
[ "0.8202328", "0.8202328", "0.8202328", "0.8202328", "0.8202328", "0.8202328", "0.8202328", "0.8202328", "0.8202328", "0.8202328", "0.8202328", "0.8202328", "0.8202328", "0.8202328", "0.8097518", "0.79819864", "0.79819864", "0.79819864", "0.79819864", "0.79819864", "0.79819864...
0.6640624
83
Gets the billing_address1 of this InvoiceResource. Line one of the customer's billing address
def cBXZ(YKHO): return YKHO._billing_address1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NWdP(YKHO):\n return YKHO._billing_address2", "def mmAU(YKHO):\n return YKHO.base.get('address_line1', [])", "def h7Bq(YKHO):\n return YKHO.__billing_address", "def h7Bq(YKHO):\n return YKHO._billing_address", "def h7Bq(YKHO):\n return YKHO._billing_address", "def fy4A(YKHO) -> str:\n ...
[ "0.7317873", "0.71921384", "0.71080166", "0.7085491", "0.7085491", "0.70664966", "0.6984167", "0.6984167", "0.6965818", "0.6965818", "0.6811804", "0.67596185", "0.67578065", "0.6567471", "0.64883745", "0.6440394", "0.63419706", "0.62767696", "0.62767696", "0.62671643", "0.618...
0.8438404
0
Sets the billing_address1 of this InvoiceResource. Line one of the customer's billing address
def cBXZ(YKHO, cBXZ): YKHO._billing_address1 = cBXZ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cBXZ(YKHO):\n return YKHO._billing_address1", "def FGUY(YKHO, FGUY):\n if FGUY is None:\n raise ValueError('Invalid value for `address_line1`, must not be `None`')\n YKHO._address_line1 = FGUY", "def FGUY(YKHO, FGUY):\n YKHO._address_line1 = FGUY", "def FGUY(YKHO, FGUY):\n YKHO._add...
[ "0.7517206", "0.715898", "0.715842", "0.715842", "0.709468", "0.709468", "0.709468", "0.70682585", "0.7011046", "0.68603474", "0.66925734", "0.6676261", "0.65661025", "0.6496665", "0.6496665", "0.6496665", "0.63645905", "0.6246733", "0.6211034", "0.6195095", "0.6180214", "0...
0.8537681
0
Gets the billing_address2 of this InvoiceResource. Line two of the customer's billing address
def NWdP(YKHO): return YKHO._billing_address2
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def C3At(YKHO):\n return YKHO.base.get('address_line2', [])", "def y6Xr(YKHO):\n return YKHO._address_line2", "def y6Xr(YKHO):\n return YKHO._address_line2", "def mZad(YKHO):\n return YKHO._dict.get('address2')", "def JkuS(YKHO) -> str:\n return qe4Y.get(YKHO, 'address2')", "def JkuS(YKHO)...
[ "0.73936373", "0.72771573", "0.72771573", "0.72169065", "0.71888065", "0.7161503", "0.7161503", "0.7132088", "0.70329714", "0.68229955", "0.6819725", "0.6539294", "0.6483433", "0.6483433", "0.6313395", "0.6313395", "0.6254365", "0.62214595", "0.6183307", "0.60449237", "0.5946...
0.85653067
0
Sets the billing_address2 of this InvoiceResource. Line two of the customer's billing address
def NWdP(YKHO, NWdP): YKHO._billing_address2 = NWdP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NWdP(YKHO):\n return YKHO._billing_address2", "def JkuS(YKHO, JkuS):\n YKHO._address2 = JkuS", "def JkuS(YKHO, JkuS):\n YKHO._address2 = JkuS", "def JkuS(YKHO, JkuS):\n YKHO._address2 = JkuS", "def y6Xr(YKHO, y6Xr):\n YKHO._address_line2 = y6Xr", "def y6Xr(YKHO, y6Xr):\n YKHO._addre...
[ "0.7479576", "0.7358407", "0.7358407", "0.7358407", "0.7323376", "0.7323376", "0.7323376", "0.7194256", "0.7088899", "0.7048548", "0.6944753", "0.68201494", "0.66744876", "0.6654015", "0.633149", "0.62868726", "0.6281064", "0.6246945", "0.6246945", "0.6105628", "0.6082603", ...
0.8717834
0
Gets the billing_city_name of this InvoiceResource. The city for the customer's billing address
def UQJb(YKHO): return YKHO._billing_city_name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j5sA(YKHO) -> str:\n return qe4Y.get(YKHO, 'city')", "def j5sA(YKHO) -> str:\n return qe4Y.get(YKHO, 'city')", "def j5sA(YKHO) -> str:\n return YKHO._city", "def j5sA(YKHO) -> str:\n return YKHO._city", "def j5sA(YKHO: object) -> str:\n return YKHO.__city", "def j5sA(YKHO):\n if 'ci...
[ "0.71502054", "0.71502054", "0.705556", "0.705556", "0.705212", "0.6901019", "0.6872829", "0.6834853", "0.6824844", "0.6818241", "0.6810695", "0.6804291", "0.6759758", "0.6734024", "0.6734024", "0.6734024", "0.6734024", "0.6734024", "0.6734024", "0.6734024", "0.6734024", "0...
0.82925
0
Sets the billing_city_name of this InvoiceResource. The city for the customer's billing address
def UQJb(YKHO, UQJb): YKHO._billing_city_name = UQJb
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ir_h(YKHO, ir_h):\n YKHO._billing_city = ir_h", "def dBfS(YKHO, dBfS):\n YKHO._city_name = dBfS", "def UQJb(YKHO):\n return YKHO._billing_city_name", "def pbcV(YKHO, pbcV):\n YKHO._shipping_city_name = pbcV", "def yN4t(YKHO, yN4t):\n YKHO._billing_country_name = yN4t", "def MFwm(YKHO, ...
[ "0.7942316", "0.72909814", "0.714056", "0.6838184", "0.68039787", "0.6773553", "0.67549175", "0.67549175", "0.65681124", "0.6536137", "0.6422351", "0.6422351", "0.6422351", "0.6422351", "0.6422351", "0.6422351", "0.6422351", "0.6422351", "0.6422351", "0.6422351", "0.6422351",...
0.85262895
0
Gets the billing_full_name of this InvoiceResource. The customer's name for the billing address
def XV28(YKHO): return YKHO._billing_full_name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jeLr(YKHO):\n m3Nh = YKHO.getCustomer()\n if m3Nh is None:\n return ''\n UTX6 = rOBp(m3Nh).getInvoiceAddress()\n if UTX6 is None:\n return ''\n return UTX6.lastname + ' ' + UTX6.firstname", "def Ikeg(YKHO):\n return YKHO._customer_name", "def GLga(YKHO) -> str:\n return q...
[ "0.72989744", "0.6911014", "0.6865157", "0.6865157", "0.68471557", "0.6819103", "0.6686514", "0.6686514", "0.6682236", "0.66749716", "0.6661986", "0.64836186", "0.6451819", "0.643059", "0.64122725", "0.6407168", "0.6407168", "0.6407168", "0.6407168", "0.63779783", "0.6369686"...
0.83518463
0
Sets the billing_full_name of this InvoiceResource. The customer's name for the billing address
def XV28(YKHO, XV28): YKHO._billing_full_name = XV28
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wlDk(YKHO, wlDk):\n YKHO._billing_name = wlDk", "def XV28(YKHO):\n return YKHO._billing_full_name", "def eHMM(YKHO, eHMM):\n YKHO._full_name = eHMM", "def eHMM(YKHO, eHMM):\n YKHO._full_name = eHMM", "def eHMM(YKHO, eHMM):\n YKHO._full_name = eHMM", "def eHMM(YKHO, eHMM):\n YKHO._fu...
[ "0.72651476", "0.712899", "0.68117434", "0.68117434", "0.68117434", "0.68117434", "0.68117434", "0.677775", "0.65181106", "0.65181106", "0.6372607", "0.62660885", "0.62468654", "0.62256277", "0.62054145", "0.6065862", "0.60427797", "0.6020109", "0.60048056", "0.59875816", "0....
0.8502802
0
Gets the billing_postal_code of this InvoiceResource. The postal code for the customer's billing address
def yvWY(YKHO): return YKHO._billing_postal_code
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kAHQ(YKHO):\n return YKHO._postal_code", "def kAHQ(YKHO):\n return YKHO._postal_code", "def kAHQ(YKHO):\n return YKHO._postal_code", "def kAHQ(YKHO):\n return YKHO._postal_code", "def kAHQ(YKHO):\n return YKHO.get('PostalCode')", "def NUtE(YKHO):\n if 'postal' in YKHO._data:\n ...
[ "0.7149056", "0.7149056", "0.7149056", "0.7149056", "0.7143666", "0.7095028", "0.70255345", "0.70154124", "0.690708", "0.6893335", "0.66737014", "0.666443", "0.65709573", "0.65709573", "0.6536943", "0.6536943", "0.64544314", "0.6275188", "0.612062", "0.61006045", "0.60686165"...
0.81001574
0
Sets the billing_postal_code of this InvoiceResource. The postal code for the customer's billing address
def yvWY(YKHO, yvWY): YKHO._billing_postal_code = yvWY
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kAHQ(YKHO, kAHQ):\n YKHO._postal_code = kAHQ", "def kAHQ(YKHO, kAHQ):\n YKHO._postal_code = kAHQ", "def kAHQ(YKHO, kAHQ):\n YKHO._postal_code = kAHQ", "def kAHQ(YKHO, kAHQ):\n YKHO._postal_code = kAHQ", "def kAHQ(YKHO, kAHQ):\n YKHO._postal_code = kAHQ", "def kAHQ(YKHO, kAHQ):\n YKH...
[ "0.7255864", "0.7255864", "0.7255864", "0.7255864", "0.7255864", "0.7255864", "0.7255864", "0.67400026", "0.6621418", "0.6359153", "0.6349432", "0.6304232", "0.6195127", "0.6195127", "0.6195127", "0.60949", "0.5942869", "0.5896087", "0.5756444", "0.5724155", "0.57124966", "...
0.8420016
0
Gets the billing_state_name of this InvoiceResource. The state for the customer's billing address
def PEIK(YKHO): return YKHO._billing_state_name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QgzA(YKHO):\n return YKHO._shipping_state_name", "def bAAu(YKHO, ZuB6):\n Aofo = YKHO.select.read('State', columns=['State'], where=[['State_ID', '=', ZuB6]])\n if Aofo.with_rows:\n return Aofo.fetchone()['State']", "def cOz4(YKHO):\n return getattr(YKHO.state, 'name', YKHO.state)", "d...
[ "0.64240885", "0.64008576", "0.61640984", "0.6102813", "0.60769737", "0.603117", "0.5943374", "0.5943133", "0.5885773", "0.58145416", "0.58145416", "0.58145416", "0.58145416", "0.58145416", "0.58145416", "0.58145416", "0.58145416", "0.58145416", "0.58145416", "0.58145416", "0...
0.8219262
0
Gets the cart_id of this InvoiceResource. The guid of the cart this invoice came from
def sVCJ(YKHO): return YKHO._cart_id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v8bJ(YKHO) -> int:\n return YKHO._shopping_cart_id", "def v8bJ(YKHO) -> int:\n return YKHO._shopping_cart_id", "def UdbD():\n if T_ME():\n return cuiw.get('cart_id')", "def h3zs(YKHO):\n return YKHO._id_cartao", "def h3zs(YKHO):\n return YKHO._id_cartao", "def IfZy(YKHO, hkxX):\...
[ "0.7166958", "0.7166958", "0.69407797", "0.68895394", "0.68895394", "0.68560666", "0.6637201", "0.649928", "0.649928", "0.649928", "0.64777374", "0.64670837", "0.6443179", "0.63260674", "0.62474763", "0.6233938", "0.6203992", "0.6184489", "0.6184489", "0.6127241", "0.606532",...
0.8563964
0
Sets the cart_id of this InvoiceResource. The guid of the cart this invoice came from
def sVCJ(YKHO, sVCJ): YKHO._cart_id = sVCJ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sVCJ(YKHO):\n return YKHO._cart_id", "def pgVt(sVCJ):\n cuiw['cart_id'] = sVCJ", "def h3zs(YKHO, h3zs):\n YKHO._id_cartao = h3zs", "def h3zs(YKHO, h3zs):\n YKHO._id_cartao = h3zs", "def v8bJ(YKHO, v8bJ: int):\n YKHO._shopping_cart_id = v8bJ", "def v8bJ(YKHO, v8bJ: int):\n YKHO._shop...
[ "0.75527954", "0.7393122", "0.70874274", "0.70874274", "0.70583665", "0.70583665", "0.6470672", "0.64586765", "0.62345207", "0.62345207", "0.6178925", "0.6128071", "0.6117726", "0.60994387", "0.60867125", "0.60198325", "0.60198325", "0.6015033", "0.5999637", "0.59832585", "0....
0.8597997
0
Gets the created_date of this InvoiceResource. The date the invoice was created, unix timestamp in seconds
def a0GP(YKHO): return YKHO._created_date
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def a0GP(YKHO) -> str:\n return qe4Y.get(YKHO, 'created_date')", "def a0GP(YKHO) -> str:\n return qe4Y.get(YKHO, 'created_date')", "def uVt6(YKHO):\n return YKHO._payload.get_created_date()", "def a0GP(YKHO) -> qcWV:\n return YKHO._created_date", "def a0GP(YKHO) -> qe4Y.Output[str]:\n return...
[ "0.7870426", "0.7870426", "0.7831139", "0.7804774", "0.7424665", "0.7413867", "0.7355701", "0.7355701", "0.7355701", "0.7355701", "0.7298002", "0.72414625", "0.7222953", "0.7131545", "0.7098501", "0.70447314", "0.70447314", "0.70447314", "0.70307565", "0.7018566", "0.7018566"...
0.7830198
4
Gets the currency of this InvoiceResource. The code for the currency invoice prices are in
def VIXL(YKHO): return YKHO._currency
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uvmn(YKHO) -> str:\n return qe4Y.get(YKHO, 'currency_code')", "def uvmn(YKHO):\n return YKHO._currency_code", "def fvdh(YKHO):\n return YKHO.__currency", "def Y35p(YKHO):\n return YKHO._get_value('CURRENCY')", "def ExyB(YKHO):\n return YKHO.__currency__", "def ExyB(YKHO) -> str:\n r...
[ "0.760153", "0.75616425", "0.75395507", "0.74976355", "0.7410322", "0.7397589", "0.73967785", "0.729121", "0.729121", "0.7216956", "0.7200316", "0.7200316", "0.7200316", "0.7200316", "0.7131795", "0.70754355", "0.69679034", "0.68873113", "0.6824801", "0.6754016", "0.6654147",...
0.7319004
7
Sets the currency of this InvoiceResource. The code for the currency invoice prices are in
def VIXL(YKHO, VIXL): YKHO._currency = VIXL
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Q8TV(YKHO, VIXL: str):\n YKHO.__currency = VIXL\n return YKHO", "def VIXL(YKHO, VIXL: str):\n BbPm = ['INR']\n if VIXL not in BbPm:\n raise ValueError('Invalid value for `currency` ({0}), must be one of {1}'.format(VIXL, BbPm))\n YKHO._currency = VIXL", "def VIXL(YKHO, VIXL):\n YKH...
[ "0.7418253", "0.7285635", "0.7083293", "0.70024306", "0.70024306", "0.6953426", "0.6934481", "0.68708324", "0.68708324", "0.6843927", "0.6843927", "0.6843927", "0.6843927", "0.6843927", "0.6843927", "0.6843927", "0.6843927", "0.6704237", "0.66495746", "0.6554878", "0.6508703"...
0.70086825
3
Gets the current_fulfillment_status of this InvoiceResource. The fulfillment status of the invoice
def Mz6N(YKHO): return YKHO._current_fulfillment_status
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Mz6N(YKHO, Mz6N):\n YKHO._current_fulfillment_status = Mz6N", "def Mz6N(YKHO, Mz6N):\n YKHO._current_fulfillment_status = Mz6N", "def z8Ab(YKHO):\n return YKHO._current_payment_status", "def VLTN(YKHO):\n if YKHO.status in (bpH9.STATUS_CANCELED, bpH9.STATUS_LOST, bpH9.STATUS_IN_PROGRESS):\n ...
[ "0.6995319", "0.6995319", "0.5915026", "0.59035903", "0.58826756", "0.58133966", "0.58133966", "0.5808829", "0.57858604", "0.57852966", "0.57852966", "0.5741347", "0.5735951", "0.5690352", "0.5690352", "0.5690352", "0.5679314", "0.5676923", "0.5675552", "0.5667073", "0.563849...
0.83908963
0
Gets the current_payment_status of this InvoiceResource. The payment status of the invoice
def z8Ab(YKHO): return YKHO._current_payment_status
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def R2ET(YKHO) -> VL3y:\n nPrm = {'CREATED': VL3y.WAITING, 'PREAUTH': VL3y.PREAUTH, 'PAYED': VL3y.CONFIRMED, 'REJECTED': VL3y.REJECTED}\n return nPrm.get(YKHO.status, VL3y.ERROR)", "def z8Ab(YKHO, z8Ab):\n YKHO._current_payment_status = z8Ab", "def dPLW(YKHO) -> str:\n return YKHO._e_payment_status...
[ "0.7181383", "0.6900702", "0.6892657", "0.6716021", "0.6531419", "0.64704984", "0.6313619", "0.62431085", "0.61649597", "0.610124", "0.59296495", "0.5920916", "0.59098184", "0.5850183", "0.5848189", "0.5837379", "0.5812996", "0.5759989", "0.56507176", "0.56474143", "0.5623307...
0.8608389
0
Sets the current_payment_status of this InvoiceResource. The payment status of the invoice
def z8Ab(YKHO, z8Ab): YKHO._current_payment_status = z8Ab
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def z8Ab(YKHO):\n return YKHO._current_payment_status", "def B7RF(YKHO, YXSb, jGRS):\n YXSb.update({'status_payment': jGRS})", "def dPLW(YKHO, dPLW: str):\n BbPm = ['Unpaid', 'Paid', 'Partial']\n if dPLW not in BbPm:\n raise ValueError('Invalid value for `e_payment_status` ({0}), must be one...
[ "0.7028449", "0.6483323", "0.59158397", "0.5851696", "0.5848781", "0.5751802", "0.5736463", "0.5712689", "0.5712689", "0.56498885", "0.56382793", "0.56382793", "0.56080544", "0.5595444", "0.5461044", "0.53467333", "0.5345112", "0.533628", "0.5313001", "0.5313001", "0.531151",...
0.8728512
0
Gets the email of this InvoiceResource. The customer's email address
def D3lj(YKHO): return YKHO._email
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EFZl(YKHO):\n return YKHO._customer_email", "def RC0X(YKHO):\n return YKHO._email", "def RC0X(YKHO):\n return YKHO._email", "def RC0X(YKHO):\n return YKHO._email", "def RC0X(YKHO):\n if YKHO.email != '':\n return YKHO.email\n return YKHO.person.get_email()", "def RC0X(YKHO):\...
[ "0.81374645", "0.7775843", "0.7775843", "0.7775843", "0.7701899", "0.76606995", "0.76500994", "0.7637796", "0.7637796", "0.7637796", "0.76346356", "0.7577247", "0.7577247", "0.7577247", "0.7577247", "0.7577247", "0.7577247", "0.7577247", "0.7577247", "0.7571939", "0.7561787",...
0.7532127
24
Sets the email of this InvoiceResource. The customer's email address
def D3lj(YKHO, D3lj): YKHO._email = D3lj
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def srEc(YKHO, D3lj):\n YKHO.email = D3lj", "def EFZl(YKHO, EFZl):\n YKHO._customer_email = EFZl", "def srEc(YKHO, D3lj=''):\n YKHO._email = D3lj", "def lEeL(YKHO, D3lj):\n YKHO.__email = D3lj", "def lEeL(YKHO, D3lj: str):\n YKHO.__email = D3lj\n return YKHO", "def D3lj(YKHO, D3lj):\n ...
[ "0.7580194", "0.75493526", "0.7548794", "0.7525712", "0.74750173", "0.74565995", "0.7450995", "0.74141616", "0.7376657", "0.7354018", "0.7354018", "0.7292658", "0.7292658", "0.72556174", "0.7247022", "0.7226671", "0.7226671", "0.7226671", "0.7226671", "0.7226671", "0.720675",...
0.7301075
11
Gets the external_ref of this InvoiceResource. An external reference to filter on
def CjVc(YKHO): return YKHO._external_ref
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DowQ(YKHO):\n return YKHO.__external_reference", "def _3HT(YKHO):\n return YKHO.get_content('external_reference')", "def q1ZC(YKHO):\n return YKHO._invoice_url", "def bf9h(YKHO):\n return YKHO.resource.ref", "def DowQ(YEnM):\n QpfX = lgcA(YEnM)\n return y2ks(QpfX).foreign_reference", ...
[ "0.6990304", "0.6791269", "0.6316374", "0.6111329", "0.6017265", "0.59010214", "0.57774186", "0.57774186", "0.57774186", "0.57774186", "0.5766877", "0.5766877", "0.5756623", "0.5697231", "0.5654946", "0.56528574", "0.56439906", "0.56121737", "0.5582557", "0.5560543", "0.55373...
0.722497
0
Sets the external_ref of this InvoiceResource. An external reference to filter on
def CjVc(YKHO, CjVc): YKHO._external_ref = CjVc
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WhG7(YKHO, WhG7):\n YKHO._external_id = WhG7", "def WhG7(YKHO, WhG7):\n YKHO._external_id = WhG7", "def WhG7(YKHO, WhG7):\n YKHO._external_id = WhG7", "def Tvwn(YKHO, WhG7):\n YKHO.set_condition('StringEquals', {'sts:ExternalId', WhG7})\n return YKHO", "def WhG7(YKHO, WhG7):\n if WhG7...
[ "0.66335976", "0.66335976", "0.66335976", "0.6621114", "0.62128747", "0.6209042", "0.6209042", "0.6158366", "0.6158366", "0.6071184", "0.6071184", "0.60161424", "0.60161424", "0.5999679", "0.5875166", "0.57423705", "0.572538", "0.57024455", "0.55958104", "0.5570709", "0.55365...
0.760992
0
Gets the grand_total of this InvoiceResource. The final price of the invoice
def mFEG(YKHO): return YKHO._grand_total
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fg4d(YKHO):\n return YKHO._base_grand_total", "def mFEG(YKHO):\n return YKHO.up.total + YKHO.low.total", "def Vuo4(YKHO, KBgZ, PObu, id=None, coZx=None, yQfv=None, QpfX=None):\n SsIG = YKHO.pool.get('account.fiscalyear')\n QpfX = QpfX or {}\n UV8M = QpfX.copy()\n Ylbp = 0.0\n if not UV...
[ "0.74066776", "0.69229025", "0.68920577", "0.68658423", "0.6833637", "0.6833637", "0.6833637", "0.6830596", "0.68209547", "0.6783629", "0.6773324", "0.6726608", "0.67047006", "0.66886157", "0.66877484", "0.66615516", "0.6635434", "0.6619478", "0.66105825", "0.65940785", "0.65...
0.8028146
0
Sets the grand_total of this InvoiceResource. The final price of the invoice
def mFEG(YKHO, mFEG): YKHO._grand_total = mFEG
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mFEG(YKHO, mFEG):\n if mFEG is None:\n raise ValueError('Invalid value for `grand_total`, must not be `None`')\n YKHO._grand_total = mFEG", "def mFEG(YKHO):\n return YKHO._grand_total", "def mFEG(YKHO):\n return YKHO._grand_total", "def fg4d(YKHO, fg4d):\n if fg4d is None:\n ...
[ "0.8050962", "0.7060987", "0.7060987", "0.6837922", "0.67996645", "0.67848164", "0.67253363", "0.65429354", "0.6410959", "0.6410959", "0.6388464", "0.6375135", "0.6328205", "0.61931556", "0.6187284", "0.6187056", "0.6152787", "0.61261135", "0.6124799", "0.6124799", "0.6124799...
0.83196485
0
Gets the id of this InvoiceResource. The id of the invoice
def id(YKHO): return YKHO._id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def d_Cv(YKHO):\n return YKHO._invoice_id", "def d_Cv(YKHO):\n return YKHO._invoice_id", "def BWFY(YKHO) -> int:\n return YKHO._i_invoice_id", "def YhRM(YKHO):\n return YKHO._invoice_number", "def id(YKHO) -> int:\n return qe4Y.get(YKHO, 'id')", "def id(YKHO) -> int:\n return qe4Y.get(Y...
[ "0.81894785", "0.81894785", "0.7865368", "0.6576281", "0.6572376", "0.6572376", "0.6572376", "0.6572376", "0.6572376", "0.6572376", "0.6572376", "0.6572376", "0.6572376", "0.6572376", "0.6572376", "0.6572376", "0.6572376", "0.6572376", "0.6572376", "0.6572376", "0.6572376", ...
0.0
-1
Sets the id of this InvoiceResource. The id of the invoice
def id(YKHO, id): YKHO._id = id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def d_Cv(YKHO, d_Cv):\n YKHO._invoice_id = d_Cv", "def d_Cv(YKHO, d_Cv):\n YKHO._invoice_id = d_Cv", "def d_Cv(YKHO, d_Cv):\n YKHO._invoice_id = d_Cv", "def BWFY(YKHO, BWFY: int):\n YKHO._i_invoice_id = BWFY", "def V_9M(YKHO, id):\n YKHO.id = id", "def V_9M(YKHO, id):\n YKHO._id = id", ...
[ "0.74243456", "0.74243456", "0.74243456", "0.71693933", "0.7037881", "0.70227844", "0.69884247", "0.69884247", "0.6956129", "0.6944088", "0.69192624", "0.68992555", "0.68992555", "0.68962127", "0.68523484", "0.68523484", "0.6825478", "0.68044704", "0.67213976", "0.67213976", ...
0.6448603
81
Gets the invoice_number of this InvoiceResource. A reference number for the invoice
def YhRM(YKHO): return YKHO._invoice_number
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def d_Cv(YKHO):\n return YKHO._invoice_id", "def d_Cv(YKHO):\n return YKHO._invoice_id", "def BWFY(YKHO) -> int:\n return YKHO._i_invoice_id", "def nsye(YKHO) -> str:\n return YKHO._v_invoice_number", "def k7OZ(YKHO):\n assert YKHO.id\n assert YKHO.project\n assert YKHO.project.id\n ...
[ "0.7854261", "0.7854261", "0.7406335", "0.7192307", "0.6467034", "0.6262799", "0.6258352", "0.6197221", "0.6188702", "0.6150312", "0.6062626", "0.60603607", "0.59391284", "0.58614254", "0.58614254", "0.5852096", "0.583284", "0.5811186", "0.57695556", "0.5746455", "0.57438016"...
0.8448764
0
Sets the invoice_number of this InvoiceResource. A reference number for the invoice
def YhRM(YKHO, YhRM): YKHO._invoice_number = YhRM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BPka(YKHO, BPka):\n YKHO._invoice_no = BPka", "def YhRM(YKHO, YhRM):\n YKHO._invoice_number = YhRM", "def YhRM(YKHO, YhRM):\n YKHO._invoice_number = YhRM", "def d_Cv(YKHO, d_Cv):\n YKHO._invoice_id = d_Cv", "def d_Cv(YKHO, d_Cv):\n YKHO._invoice_id = d_Cv", "def d_Cv(YKHO, d_Cv):\n ...
[ "0.7967929", "0.7928105", "0.76558226", "0.75182325", "0.75182325", "0.75182325", "0.74202234", "0.69118524", "0.68180364", "0.6565638", "0.6203501", "0.6043048", "0.6040816", "0.59838325", "0.59145063", "0.59145063", "0.59077656", "0.58734804", "0.58734804", "0.58703154", "0...
0.845352
0
Gets the order_notes of this InvoiceResource. Notes about the order
def ykUc(YKHO): return YKHO._order_notes
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rpno(YKHO):\n return Eorv.Notes(YKHO)", "def rB4x(YKHO):\n return YKHO.notes", "def RqXE(YKHO):\n return YKHO.notes", "def rpno(YKHO):\n return YKHO._notes", "def rpno(YKHO):\n return YKHO._notes", "def rpno(YKHO):\n return YKHO._notes", "def ykUc(YKHO, ykUc):\n YKHO._order_not...
[ "0.7003425", "0.693152", "0.6888788", "0.66505957", "0.66505957", "0.66505957", "0.66320103", "0.65479517", "0.65267897", "0.6491765", "0.61792547", "0.6148363", "0.60368156", "0.60016114", "0.5942427", "0.5940784", "0.5940784", "0.5940601", "0.59177005", "0.588372", "0.58430...
0.8083788
0
Gets the parent_invoice_id of this InvoiceResource. The id of an invoice this is a child of
def PpMx(YKHO): return YKHO._parent_invoice_id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PpMx(YKHO, PpMx):\n YKHO._parent_invoice_id = PpMx", "def H7rZ(YKHO):\n return YKHO._parent_id", "def H7rZ(YKHO):\n return YKHO._parent_id", "def DtVU(YKHO):\n return YKHO.parent_id", "def DtVU(YKHO):\n return YKHO.__parent_id", "def H7rZ(YKHO):\n return YKHO._record.model.parent_id...
[ "0.7554366", "0.7461788", "0.7461788", "0.74432206", "0.7392603", "0.7354608", "0.7330658", "0.7330658", "0.7113567", "0.70785713", "0.70785713", "0.69236743", "0.68981344", "0.6879308", "0.6871294", "0.68709695", "0.6786912", "0.66311455", "0.658189", "0.6572016", "0.6572016...
0.8812365
0
Sets the parent_invoice_id of this InvoiceResource. The id of an invoice this is a child of
def PpMx(YKHO, PpMx): YKHO._parent_invoice_id = PpMx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def H7rZ(YKHO, H7rZ):\n YKHO._parent_id = H7rZ", "def H7rZ(YKHO, H7rZ):\n YKHO._parent_id = H7rZ", "def H7rZ(YKHO, H7rZ):\n YKHO._parent_id = H7rZ", "def H7rZ(YKHO, H7rZ):\n YKHO._parent_id = H7rZ", "def H7rZ(YKHO, H7rZ):\n YKHO._parent_id = H7rZ", "def H7rZ(YKHO, H7rZ):\n YKHO._parent_...
[ "0.77669024", "0.77669024", "0.77669024", "0.77669024", "0.77669024", "0.77669024", "0.77669024", "0.77146596", "0.72865224", "0.7173271", "0.7143378", "0.7114295", "0.69772816", "0.6945508", "0.69397324", "0.69397324", "0.69381535", "0.6844477", "0.6830349", "0.66730005", "0...
0.90568155
0
Gets the payment_method_id of this InvoiceResource. The id of a saved payment method used to pay for the invoice
def XBzG(YKHO): return YKHO._payment_method_id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def q0JL(YKHO):\n return YKHO._payment_id", "def q0JL(YKHO):\n return YKHO.__payment_id", "def d_Cv(YKHO):\n return YKHO._invoice_id", "def d_Cv(YKHO):\n return YKHO._invoice_id", "def XBzG(YKHO, XBzG):\n YKHO._payment_method_id = XBzG", "def g51h(YKHO):\n return YKHO.__payment", "def...
[ "0.72570306", "0.72541595", "0.6080883", "0.6080883", "0.59913", "0.5918598", "0.57666355", "0.57553786", "0.57429993", "0.5713203", "0.5645752", "0.56003207", "0.55605096", "0.5484196", "0.5399682", "0.5347988", "0.5265505", "0.5220549", "0.51680666", "0.5164987", "0.5161074...
0.80475694
0
Gets the phone of this InvoiceResource. The customer's phone number
def bWtk(YKHO): return YKHO._phone
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SB2j(YKHO):\n return YKHO.__phone", "def FlVu(YKHO):\n return YKHO.phone", "def ESYf(YKHO):\n return YKHO.__phone_number", "def bWtk(YKHO) -> str:\n return qe4Y.get(YKHO, 'phone')", "def bWtk(YKHO) -> str:\n return qe4Y.get(YKHO, 'phone')", "def bWtk(YKHO) -> str:\n return qe4Y.get(...
[ "0.77265275", "0.7718039", "0.75089693", "0.7496643", "0.7496643", "0.7496643", "0.7496643", "0.7465911", "0.74507993", "0.74507993", "0.74507993", "0.74507993", "0.74507993", "0.7447795", "0.7447795", "0.7447795", "0.7447795", "0.7447795", "0.7447795", "0.7418405", "0.739302...
0.7682264
2
Gets the phone_number of this InvoiceResource. The customer's phone number
def JSoq(YKHO): return YKHO._phone_number
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ESYf(YKHO):\n return YKHO.__phone_number", "def JSoq(YKHO) -> int:\n return YKHO.__phone_number", "def VGNJ(YKHO):\n return YKHO.__phone_number", "def FlVu(YKHO):\n return YKHO.phone", "def bWtk(YKHO):\n return YKHO._phone", "def bWtk(YKHO):\n return YKHO._phone", "def bWtk(YKHO):...
[ "0.7688533", "0.75306994", "0.74646455", "0.71600163", "0.71332276", "0.71332276", "0.71332276", "0.71332276", "0.71332276", "0.7130406", "0.71184474", "0.7093755", "0.7093755", "0.7093755", "0.7093755", "0.7093755", "0.7063872", "0.7063872", "0.70617175", "0.6961949", "0.695...
0.77729076
1
Sets the shipping_address1 of this InvoiceResource. Line one of the customer's shipping address
def yav9(YKHO, yav9): YKHO._shipping_address1 = yav9
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yav9(YKHO):\n return YKHO._shipping_address1", "def oCgf(YKHO, oCgf):\n YKHO._shipping_address2 = oCgf", "def cBXZ(YKHO, cBXZ):\n YKHO._billing_address1 = cBXZ", "def CAv7(YKHO):\n YKHO._flush_namespace('billing')\n YKHO._set('billing', 'billing_address_same_as_shipping', True)", "def oC...
[ "0.7632719", "0.7235403", "0.6809876", "0.6782693", "0.6574154", "0.6532934", "0.6532934", "0.65292436", "0.65127593", "0.6451677", "0.6451677", "0.6451677", "0.6446101", "0.6442312", "0.63856757", "0.6328114", "0.6251079", "0.62241185", "0.6119689", "0.61064595", "0.6102551"...
0.8516969
0
Sets the shipping_address2 of this InvoiceResource. Line two of the customer's shipping address
def oCgf(YKHO, oCgf): YKHO._shipping_address2 = oCgf
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oCgf(YKHO):\n return YKHO._shipping_address2", "def NWdP(YKHO, NWdP):\n YKHO._billing_address2 = NWdP", "def yav9(YKHO, yav9):\n YKHO._shipping_address1 = yav9", "def y6Xr(YKHO, y6Xr):\n YKHO._address_line2 = y6Xr", "def y6Xr(YKHO, y6Xr):\n YKHO._address_line2 = y6Xr", "def y6Xr(YKHO, ...
[ "0.7558694", "0.7339878", "0.72771424", "0.7019994", "0.7019994", "0.7019994", "0.6964808", "0.6964808", "0.6964808", "0.692567", "0.6902358", "0.6881032", "0.65360874", "0.65339273", "0.6462691", "0.6436354", "0.6434001", "0.63601863", "0.6255572", "0.62531793", "0.62530655"...
0.8598824
0
Sets the shipping_city_name of this InvoiceResource. The city for the customer's shipping address
def pbcV(YKHO, pbcV): YKHO._shipping_city_name = pbcV
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pbcV(YKHO):\n return YKHO._shipping_city_name", "def UQJb(YKHO, UQJb):\n YKHO._billing_city_name = UQJb", "def _8v9(YKHO, _8v9):\n YKHO._shipping_country_name = _8v9", "def dBfS(YKHO, dBfS):\n YKHO._city_name = dBfS", "def ir_h(YKHO, ir_h):\n YKHO._billing_city = ir_h", "def UQJb(YKHO)...
[ "0.72306263", "0.7167267", "0.67941463", "0.6722788", "0.67074186", "0.65611166", "0.648605", "0.648605", "0.6355792", "0.6345684", "0.6179337", "0.61577487", "0.61577487", "0.61577487", "0.61577487", "0.61577487", "0.61577487", "0.61577487", "0.61577487", "0.61577487", "0.61...
0.84352213
0
Gets the shipping_full_name of this InvoiceResource. The customer's name for the shipping address
def spsK(YKHO): return YKHO._shipping_full_name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _8v9(YKHO):\n return YKHO._shipping_country_name", "def XV28(YKHO):\n return YKHO._billing_full_name", "def spsK(YKHO, spsK):\n YKHO._shipping_full_name = spsK", "def vllj(YKHO):\n return YKHO._shipping_address", "def pbcV(YKHO):\n return YKHO._shipping_city_name", "def yav9(YKHO):\n ...
[ "0.73818785", "0.709876", "0.7007286", "0.69834226", "0.6853158", "0.66257775", "0.66165364", "0.65142435", "0.6504798", "0.6500163", "0.6434646", "0.6403632", "0.63546515", "0.62676054", "0.62005514", "0.6186802", "0.61677814", "0.61677814", "0.61677814", "0.61677814", "0.61...
0.8676979
0
Sets the shipping_full_name of this InvoiceResource. The customer's name for the shipping address
def spsK(YKHO, spsK): YKHO._shipping_full_name = spsK
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def spsK(YKHO):\n return YKHO._shipping_full_name", "def _8v9(YKHO, _8v9):\n YKHO._shipping_country_name = _8v9", "def XV28(YKHO, XV28):\n YKHO._billing_full_name = XV28", "def F1V5(YKHO, F1V5):\n YKHO._shipping_carrier_name = F1V5", "def C5Cf(YKHO, C5Cf):\n YKHO._shipping_service_name = C5C...
[ "0.7617776", "0.7180397", "0.69362265", "0.67718977", "0.6670948", "0.6522", "0.65064186", "0.62188095", "0.62010145", "0.6148272", "0.6140205", "0.60788906", "0.6016104", "0.6015552", "0.599923", "0.599923", "0.599923", "0.599923", "0.599923", "0.5985915", "0.5895939", "0....
0.8712831
0
Gets the shipping_postal_code of this InvoiceResource. The postal code for the customer's shipping address
def qdsp(YKHO): return YKHO._shipping_postal_code
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yvWY(YKHO):\n return YKHO._billing_postal_code", "def Zh8d(YKHO):\n return YKHO.postal", "def kAHQ(YKHO):\n return YKHO._postal_code", "def kAHQ(YKHO):\n return YKHO._postal_code", "def kAHQ(YKHO):\n return YKHO._postal_code", "def kAHQ(YKHO):\n return YKHO._postal_code", "def kAH...
[ "0.72943443", "0.721771", "0.71862787", "0.71862787", "0.71862787", "0.71862787", "0.7156785", "0.7070477", "0.70404035", "0.70383096", "0.70382535", "0.6917739", "0.6787231", "0.6716045", "0.64255184", "0.64255184", "0.6412804", "0.6381875", "0.6319146", "0.6299757", "0.6284...
0.8366838
0
Sets the shipping_postal_code of this InvoiceResource. The postal code for the customer's shipping address
def qdsp(YKHO, qdsp): YKHO._shipping_postal_code = qdsp
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qdsp(YKHO):\n return YKHO._shipping_postal_code", "def kAHQ(YKHO, kAHQ):\n YKHO._postal_code = kAHQ", "def kAHQ(YKHO, kAHQ):\n YKHO._postal_code = kAHQ", "def kAHQ(YKHO, kAHQ):\n YKHO._postal_code = kAHQ", "def kAHQ(YKHO, kAHQ):\n YKHO._postal_code = kAHQ", "def kAHQ(YKHO, kAHQ):\n ...
[ "0.7005376", "0.68770266", "0.68770266", "0.68770266", "0.68770266", "0.68770266", "0.68770266", "0.68770266", "0.6709647", "0.6709647", "0.66955006", "0.66955006", "0.66886115", "0.66886115", "0.6686928", "0.6682925", "0.6682925", "0.6682925", "0.6571835", "0.65182495", "0.6...
0.8451674
0
Gets the shipping_state_name of this InvoiceResource. The state for the customer's shipping address
def QgzA(YKHO): return YKHO._shipping_state_name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PEIK(YKHO):\n return YKHO._billing_state_name", "def _8v9(YKHO):\n return YKHO._shipping_country_name", "def cixH(YKHO):\n if YKHO.state_or_region:\n return gQ7m(YKHO.state_or_region)\n return", "def QgzA(YKHO, QgzA):\n YKHO._shipping_state_name = QgzA", "def vllj(YKHO):\n retu...
[ "0.7232281", "0.6833796", "0.6753424", "0.66045463", "0.6563854", "0.6516459", "0.6453825", "0.6423212", "0.63917345", "0.61880815", "0.61233956", "0.5974214", "0.58357924", "0.58194304", "0.5815646", "0.5814114", "0.57853776", "0.5785267", "0.578159", "0.57166046", "0.569113...
0.84930557
0
Sets the state_tax of this InvoiceResource. The amount of state tax added
def TB81(YKHO, TB81): YKHO._state_tax = TB81
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DnBx(YKHO, DnBx):\n YKHO._taxed_state = DnBx", "def DOhr(YKHO, DOhr):\n YKHO._tax_amount = DOhr", "def DOhr(YKHO, DOhr):\n YKHO._tax_amount = DOhr", "def DOhr(YKHO, DOhr):\n YKHO._tax_amount = DOhr", "def DOhr(YKHO, DOhr):\n YKHO._tax_amount = DOhr", "def DOhr(YKHO, DOhr):\n YKHO._t...
[ "0.7747683", "0.6879088", "0.6879088", "0.6879088", "0.6879088", "0.6879088", "0.6879088", "0.6879088", "0.66011685", "0.66009307", "0.65920234", "0.6454244", "0.6432303", "0.62740606", "0.62740606", "0.62740606", "0.61627483", "0.61109656", "0.60357666", "0.6020767", "0.5997...
0.85216457
0
Gets the subtotal of this InvoiceResource. The sum price of all items before shipping, coupons and tax
def _Erc(YKHO): return YKHO._subtotal
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _Erc(YKHO):\n if YKHO.product.discount_price:\n return YKHO.product.discount_price * YKHO.quantity\n return YKHO.price * YKHO.quantity", "def LRFI(YKHO) -> int:\n eh7D = [ZfUD.price for ZfUD in YKHO.items]\n return sum(eh7D)", "def EEm7(YKHO):\n eh7D = 0.0\n for ZfUD in YKHO.items....
[ "0.7984446", "0.775678", "0.77261764", "0.76868063", "0.7656853", "0.7540826", "0.7518567", "0.7510428", "0.7389434", "0.7176453", "0.71541965", "0.71191543", "0.7107064", "0.71005565", "0.7097786", "0.70022523", "0.69404984", "0.68747526", "0.6808849", "0.6783326", "0.670845...
0.78218704
2
Sets the subtotal of this InvoiceResource. The sum price of all items before shipping, coupons and tax
def _Erc(YKHO, _Erc): YKHO._subtotal = _Erc
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eh7D(YKHO, eh7D):\n YKHO._sub_total = eh7D", "def SSRo(YKHO, SSRo):\n YKHO._price_subtotal = SSRo", "def _Erc(YKHO):\n if YKHO.product.discount_price:\n return YKHO.product.discount_price * YKHO.quantity\n return YKHO.price * YKHO.quantity", "def YkB7(YKHO):\n for zFiD in YKHO:\n ...
[ "0.72947556", "0.7270639", "0.71351194", "0.7088299", "0.6907065", "0.68992436", "0.6685484", "0.6685484", "0.6685484", "0.6642886", "0.66313004", "0.6621536", "0.65927327", "0.65038425", "0.6502488", "0.64716697", "0.64373416", "0.6405846", "0.63977444", "0.6378492", "0.6336...
0.75726104
1
Gets the updated_date of this InvoiceResource. The date the invoice was last updated, unix timestamp in seconds
def s4tG(YKHO): return YKHO._updated_date
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zB0d(YKHO):\n zB0d = YKHO.data['updatedAt']\n return BfDw.iso_to_datetime(zB0d)", "def zB0d(YKHO) -> str:\n return qe4Y.get(YKHO, 'updated_at')", "def zB0d(YKHO) -> str:\n return qe4Y.get(YKHO, 'updated_at')", "def M7nd(YKHO):\n return YKHO._date_updated", "def w1di(YKHO):\n YEnM = YK...
[ "0.69299424", "0.68414587", "0.68414587", "0.6837746", "0.67923176", "0.6728044", "0.6728044", "0.66470164", "0.66470164", "0.66470164", "0.66470164", "0.66470164", "0.66470164", "0.66470164", "0.66470164", "0.66470164", "0.66401017", "0.66109884", "0.66109884", "0.66109884", ...
0.75497264
0
Sets the updated_date of this InvoiceResource. The date the invoice was last updated, unix timestamp in seconds
def s4tG(YKHO, s4tG): YKHO._updated_date = s4tG
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def M7nd(YKHO, M7nd):\n YKHO._date_updated = M7nd", "def M7nd(YKHO, M7nd):\n YKHO._date_updated = M7nd", "def M7nd(YKHO, M7nd):\n YKHO._date_updated = M7nd", "def M7nd(YKHO, M7nd):\n YKHO._date_updated = M7nd", "def XXYj(YKHO, XXYj):\n YKHO._update_date = XXYj", "def XXYj(YKHO, XXYj):\n ...
[ "0.6927409", "0.6927409", "0.6927409", "0.6927409", "0.6514211", "0.6514211", "0.6514211", "0.6514211", "0.6514211", "0.6514211", "0.64991266", "0.6432382", "0.63027877", "0.63027877", "0.63027877", "0.63027877", "0.63027877", "0.63027877", "0.63027877", "0.63027877", "0.6302...
0.7600954
1
Gets the user of this InvoiceResource. The owner of the invoice
def CBIr(YKHO): return YKHO._user
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Fqw8(YKHO) -> 'entities.User':\n CBIr = YKHO.connection.post_request('/general/ownership', data={'resource_type': YKHO._resource_type, 'resource_id': YKHO.id})\n return MMe4.User(connection=YKHO.connection, **CBIr)", "def TKWP(YKHO):\n return mv1M.query_by_id(YKHO.user)", "def TKWP(YKHO):\n ret...
[ "0.7367997", "0.72497886", "0.71924645", "0.71924645", "0.71924645", "0.7096631", "0.7095085", "0.7095085", "0.7095085", "0.7085016", "0.7085016", "0.70670366", "0.7044679", "0.7008493", "0.6943653", "0.69385695", "0.69385695", "0.6937705", "0.69010955", "0.6835668", "0.68356...
0.6895972
19
Returns the string representation of the model
def gTzM(YKHO): return EyO9(YKHO.to_dict())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.86418265", "0.85103965", "0.7853324", "0.77442306", "0.7712258", "0.76979405", "0.765959", "0.7637644", "0.76218504", "0.7607561", "0.7606604", "0.7606604", "0.7606604", "0.75990754", "0.7585653", "0.758149", "0.7570811", "0.7567585", "0.75392604", "0.75392604", "0.7527967...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(...
[ "0.8392633", "0.8354901", "0.82950056", "0.8132309", "0.81149805", "0.8099986", "0.809911", "0.8097883", "0.8097883", "0.8092252", "0.8092252", "0.8092252", "0.8092252", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8066694", "0.80594814", "0.805757", ...
0.0
-1
Returns trigonometric cos of x, can be used to calculate cos of Variable instance INPUTS =======
def YhSR(WKvO): try: return iQnE(WKvO.name, oyIN.cos(WKvO.val), {G1Hx: -Ty9i * oyIN.sin(WKvO.val) for G1Hx, Ty9i in WKvO.der.items()}, False) except AttributeError: return oyIN.cos(WKvO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YhSR(WKvO: float) -> float:\n return epAf.cos(WKvO)", "def avIK(WKvO):\n return epAf.cos(WKvO)", "def w_V3(WKvO):\n return YhSR(WKvO)", "def YhSR(YKHO, WKvO):\n return YKHO.math.real(1)", "def YhSR(WKvO):\n if isinstance(WKvO, SG4E):\n return SG4E(epAf.cos(WKvO.x), -WKvO.dx * epAf...
[ "0.85275143", "0.84994334", "0.8452339", "0.83204436", "0.82636184", "0.817399", "0.81446546", "0.8099171", "0.806936", "0.80426675", "0.79869413", "0.7969524", "0.7924501", "0.78595895", "0.7858865", "0.7845011", "0.784412", "0.78388613", "0.7791675", "0.769573", "0.7639803"...
0.8786158
0
Returns trigonometric arccos of x, can be used to calculate arccos of Variable instance INPUTS =======
def D4LM(WKvO): try: if WKvO.val < -1 or WKvO.val > 1: raise ValueError('math domain error') return iQnE(WKvO.name, oyIN.arccos(WKvO.val), {G1Hx: -Ty9i / oyIN.sqrt(1 - WKvO.val ** 2) for G1Hx, Ty9i in WKvO.der.items()}, False) except AttributeError: if WKvO < -1 or WKvO > 1: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def D4LM(SRYB):\n return fH9s(SRYB)", "def D4LM(WKvO):\n if WKvO < -1:\n return xlPy.arccos(-1)\n if WKvO > 1:\n return xlPy.arccos(1)\n else:\n return xlPy.arccos(WKvO)", "def fH9s(YKHO, WKvO):\n raise NotImplementedError", "def D4LM(WKvO):\n if WKvO.val >= 1 or WKvO.v...
[ "0.841463", "0.8378412", "0.8359297", "0.83520365", "0.8225265", "0.7948742", "0.7938421", "0.78925484", "0.77998245", "0.7799625", "0.77884096", "0.7765362", "0.7757579", "0.7701695", "0.7695647", "0.7690621", "0.7562055", "0.7498505", "0.74089146", "0.7395737", "0.73664653"...
0.86190146
0
Get parser for command line arguments.
def EpPs(): wvEv = j1Jz.ArgumentParser(description='Tweet Cleaning and Creating Corpus and Dictionary files') wvEv.add_argument('-i', '--input', dest='inputs', help='the path of the csv input file', default='input/data_elonmusk.csv') wvEv.add_argument('-s', '--separator', dest='separator', help='Separator o...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EpPs():\n wvEv = j1Jz.ArgumentParser(description=__doc__)\n wvEv.add_argument('--commit', type=str, help='Specify the commit to validate.')\n wvEv.add_argument('project_dir')\n wvEv.add_argument('files', nargs='+')\n return wvEv", "def EpPs():\n from argparse import ArgumentParser, Argument...
[ "0.7876164", "0.7846425", "0.78400844", "0.7809157", "0.77785856", "0.7752358", "0.7726245", "0.77166533", "0.7714964", "0.77127355", "0.77048945", "0.76940465", "0.76865375", "0.7677954", "0.7663539", "0.7661022", "0.76510197", "0.76474184", "0.7643203", "0.76377237", "0.762...
0.71435463
88
Gets the code of this CityInformation.
def Wxnj(YKHO): return YKHO._code
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zM6d(YKHO):\n return YKHO.code", "def zM6d(YKHO):\n return YKHO.__code", "def zM6d(YKHO):\n return YKHO.__code", "def Wxnj(YKHO) -> 'Code':\n return YKHO._values.get('code')", "def Wxnj(YKHO) -> 'Code':\n return YKHO._values.get('code')", "def Wxnj(YKHO) -> 'Code':\n return YKHO._va...
[ "0.7472072", "0.7390276", "0.7390276", "0.73016447", "0.73016447", "0.73016447", "0.72516143", "0.72516143", "0.72516143", "0.72516143", "0.72516143", "0.72516143", "0.72516143", "0.7189578", "0.717486", "0.7094401", "0.70821446", "0.70821446", "0.7047349", "0.7041766", "0.69...
0.70621586
20
Sets the code of this CityInformation.
def Wxnj(YKHO, Wxnj): if Wxnj is None: raise ValueError('Invalid value for `code`, must not be `None`') YKHO._code = Wxnj
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xGo7(YKHO, Wxnj):\n YKHO.code = Wxnj", "def xGo7(YKHO, Wxnj):\n YKHO.__code = Wxnj", "def Wxnj(YKHO, Wxnj):\n YKHO._code = Wxnj", "def Wxnj(YKHO, Wxnj):\n YKHO._code = Wxnj", "def Wxnj(YKHO, Wxnj):\n YKHO._code = Wxnj", "def Wxnj(YKHO, Wxnj):\n YKHO._code = Wxnj", "def Wxnj(YKHO, ...
[ "0.77448404", "0.7712269", "0.7345825", "0.7345825", "0.7345825", "0.7345825", "0.7345825", "0.7345825", "0.7345825", "0.7345825", "0.7345825", "0.7345825", "0.7345825", "0.73134655", "0.7311434", "0.69950056", "0.6983791", "0.69743174", "0.69743174", "0.6969633", "0.6969633"...
0.7223174
15
Gets the geonames_id of this CityInformation. The ID of this city in the opensourced Geonames DB
def UTTL(YKHO): return YKHO._geonames_id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NMoC(YKHO, WMze):\n return YKHO.index[WMze]", "def unpH(YKHO):\n return YKHO.g_id", "def UTTL(YKHO, UTTL):\n if UTTL is None:\n raise ValueError('Invalid value for `geonames_id`, must not be `None`')\n YKHO._geonames_id = UTTL", "def sdSf(YKHO, dBfS):\n dBfS = KOEZ(dBfS)\n if all...
[ "0.6135182", "0.5928606", "0.5928274", "0.5914256", "0.58495104", "0.5757797", "0.5753244", "0.57086116", "0.5706623", "0.5679704", "0.56125855", "0.5602371", "0.5591228", "0.5591228", "0.551835", "0.55173534", "0.5467899", "0.54201823", "0.54069275", "0.53780895", "0.5359856...
0.8381335
0
Gets the name of this CityInformation. The name of this city, in English
def mWFP(YKHO): return YKHO._name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def W0tD(j5sA):\n return j5sA[0]", "def j5sA(YKHO):\n if 'city' in YKHO._data:\n return g9ge(YKHO._data['city']['names']['en'])", "def mWFP(YKHO):\n Rci7 = YKHO._data.get_location(YKHO._location_id)\n return Rci7.name", "def zWv3(j5sA):\n mWFP = j5sA['name']\n m59W = j5sA['country']\...
[ "0.7697081", "0.76214665", "0.74314517", "0.7312771", "0.7278487", "0.72141534", "0.7187803", "0.7183684", "0.71681404", "0.7155364", "0.71485174", "0.7140921", "0.71277505", "0.71277505", "0.7124757", "0.71148914", "0.71140593", "0.7106303", "0.7099297", "0.7096784", "0.7096...
0.0
-1
Gets the state of this CityInformation. The state code of this city, if applicable
def QTBn(YKHO): return YKHO._state
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oGUy(YKHO):\n j5sA = YKHO.city\n return f'{j5sA.name}, {j5sA.state}'", "def QTBn(YKHO):\n return bypm.states.lookup(YKHO.state_abbrev)", "def s3uZ(YKHO):\n return YKHO.get('StateOrProvinceCode')", "def QTBn(YKHO):\n return YKHO.details['state']", "def GBfH(YKHO, QTBn):\n return YKHO.v...
[ "0.74376476", "0.72027445", "0.7023065", "0.69296753", "0.6825215", "0.6754506", "0.67404926", "0.6687941", "0.66840214", "0.66656595", "0.66656595", "0.66656595", "0.66656595", "0.66656595", "0.66656595", "0.66656595", "0.66656595", "0.66656595", "0.66656595", "0.66656595", ...
0.0
-1
Gets the location of this CityInformation. This city's approximate geolocation. The exact center of a city is often not an exact location, so be aware that this might not be exact.
def Rci7(YKHO): return YKHO._location
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hbd3(YKHO):\n if YKHO.ip_address is not None:\n return YKHO.gis.lat_lon(YKHO.ip_address)", "def pBSi(YKHO):\n return YKHO._geo_location", "def pBSi(YKHO) -> hqbZ:\n return hqbZ()", "def yuHr(YKHO):\n return YKHO._location", "def qCZy(YKHO):\n YKHO.geolocator = GrDQ(user_agent='phi...
[ "0.80746", "0.74162287", "0.7258024", "0.71719325", "0.705279", "0.70375633", "0.70340043", "0.7026798", "0.70260376", "0.70058423", "0.7002127", "0.6987914", "0.6980662", "0.6975927", "0.6975927", "0.6975927", "0.6968961", "0.6958616", "0.6924612", "0.6897498", "0.6876156", ...
0.65930104
34
Sets the location of this CityInformation. This city's approximate geolocation. The exact center of a city is often not an exact location, so be aware that this might not be exact.
def Rci7(YKHO, Rci7): if Rci7 is None: raise ValueError('Invalid value for `location`, must not be `None`') YKHO._location = Rci7
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MtGr(YKHO, *qIxc):\n return leuP.Geom_Conic_SetLocation(YKHO, *qIxc)", "def QDqo(YKHO, Rci7):\n YKHO.loc = Rci7", "def QDqo(YKHO, _UuI, fopC, yzQA):\n YKHO.elevation = yzQA\n YKHO.longitude, YKHO.latitude = (fopC, _UuI)\n YKHO.location = XUjt.from_geodetic(YKHO.longitude, YKHO.latitude, YKHO...
[ "0.7019346", "0.68820465", "0.68082935", "0.6779909", "0.6732447", "0.6718921", "0.6424571", "0.6424571", "0.6424571", "0.6424571", "0.6424571", "0.6421021", "0.6421021", "0.6421021", "0.6421021", "0.6421021", "0.6421021", "0.6421021", "0.6421021", "0.6421021", "0.6421021", ...
0.6273405
27
Gets the currency of this CityInformation. The ISO4217 currency code of the official local currency at this location
def VIXL(YKHO): return YKHO._currency
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uvmn(YKHO):\n return YKHO.currency.iso_code", "def ExyB(YKHO):\n return YKHO.cf_currency", "def VIXL(YKHO):\n try:\n HFRf = ECWZ.currencies.get(alpha_3=YKHO._currency)\n except KeyError:\n nfqd.debug('Wrong currency saved: ' + YKHO._currency)\n raise ValueError('Incorrect c...
[ "0.7611432", "0.76105624", "0.76064634", "0.75195897", "0.7500657", "0.742783", "0.7424844", "0.740603", "0.73338425", "0.7226827", "0.7226827", "0.7226827", "0.7226827", "0.72061354", "0.7164799", "0.7164799", "0.7012815", "0.69716865", "0.6753097", "0.6753097", "0.6753097",...
0.7292005
10
Sets the currency of this CityInformation. The ISO4217 currency code of the official local currency at this location
def VIXL(YKHO, VIXL): YKHO._currency = VIXL
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Q8TV(YKHO, VIXL: str):\n YKHO.__currency = VIXL\n return YKHO", "def VIXL(YKHO, VIXL: str):\n YKHO._currency = VIXL", "def VIXL(YKHO, VIXL: str):\n YKHO._currency = VIXL", "def VIXL(YKHO, VIXL):\n YKHO._currency = VIXL", "def VIXL(YKHO, VIXL):\n if YKHO.local_vars_configuration.client...
[ "0.7172389", "0.7098217", "0.7098217", "0.7083342", "0.695695", "0.6922081", "0.66567606", "0.6467955", "0.64482605", "0.6405191", "0.6390296", "0.63696814", "0.6331598", "0.630584", "0.63046175", "0.63046175", "0.62941617", "0.6254339", "0.62148273", "0.62148273", "0.6214827...
0.6970063
5
Returns the string representation of the model
def gTzM(YKHO): return EyO9(YKHO.to_dict())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.86418265", "0.85103965", "0.7853324", "0.77442306", "0.7712258", "0.76979405", "0.765959", "0.7637644", "0.76218504", "0.7607561", "0.7606604", "0.7606604", "0.7606604", "0.75990754", "0.7585653", "0.758149", "0.7570811", "0.7567585", "0.75392604", "0.75392604", "0.7527967...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: object):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(...
[ "0.8392633", "0.8354901", "0.82950056", "0.8132309", "0.81149805", "0.8099986", "0.809911", "0.8097883", "0.8097883", "0.8092252", "0.8092252", "0.8092252", "0.8092252", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8085141", "0.8066694", "0.80594814", "0.805757", ...
0.0
-1
Find or create unique Symbol entry for str s in symbol table.
def aDi_(KCHu, KTg0={}): if KCHu not in KTg0: KTg0[KCHu] = wZLS(KCHu) return KTg0[KCHu]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Fjjn(YKHO, WKvO):\n return WKvO\n if WKvO in YKHO.symbol_table:\n return WKvO", "def IFkU(mWFP, eLpg):\n try:\n return rmc3[mWFP]\n except KeyError:\n Aofo = eLpg(mWFP)\n rmc3[mWFP] = Aofo\n return Aofo", "def wZLS(o61b):\n if isinstance(o61b, str):\n ...
[ "0.6579123", "0.64790213", "0.6371185", "0.62494224", "0.62288857", "0.5987315", "0.58840394", "0.58435065", "0.5822274", "0.5796341", "0.5794266", "0.57921416", "0.57918555", "0.5787657", "0.5718728", "0.56915575", "0.5674155", "0.5656983", "0.56225795", "0.5596753", "0.5593...
0.7396368
0
Determines the k closes neighbors of each test instance.
def _0ob(YKHO, Z5wO): jKLC, FGsr = oQbP.scale(YKHO.X_train, Z5wO) fvfN = [] EQjW = [] for wEf2 in FGsr: eTm4, Fl_v = oQbP.kneighbors_prep(jKLC, wEf2, YKHO.n_neighbors) fvfN.append(eTm4) EQjW.append(Fl_v) return (fvfN, EQjW)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mRrQ(Yqkn, nLZM, G1Hx):\n TaUL = []\n for WKvO in range(len(Yqkn)):\n TaUL.append((Yqkn[WKvO], Gvwv(nLZM, Yqkn[WKvO])))\n TaUL.sort(key=seET.itemgetter(1))\n bdGm = []\n for WKvO in range(G1Hx):\n bdGm.append(TaUL[WKvO][0])\n return bdGm", "def BTfj(Yqkn, Crrw, nLZM, G1Hx):\n ...
[ "0.7337131", "0.72958446", "0.7232992", "0.71762663", "0.7112761", "0.7112761", "0.7058337", "0.70019937", "0.6851851", "0.6810044", "0.6781473", "0.6768861", "0.67481256", "0.66805565", "0.6675678", "0.66526586", "0.66525364", "0.66188425", "0.65419334", "0.653517", "0.65056...
0.657759
18
Transform the value for gsploc into a point, altitude and hdop. The point consist of the first value (longitude) in the string and of the second value (latitude) in the string. The altitude is the third value in the string. We round the altitude to the nearest integer. The horizontal dilution of precision is the fourth...
def evuP(YKHO, BWXx): if BWXx is not None: y2No = BWXx.split(' ') quGm = YKHO.get_geolocation(y2No[0], y2No[1]) n_Ej = YKHO.get_altitude(y2No[2]) IwKP = YKHO.get_hdop(y2No[3]) jkx2 = [float(y2No[1]), float(y2No[0])] return (quGm, n_Ej, IwKP) return ([], None, None...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UnfG(YKHO, XP5J):\n BWXx = XP5J.geocentric[Tq5T.tropical]['longitude']\n Jr9Y = ''\n if BWXx != None:\n BWXx = BWXx % 40.0\n Jr9Y = '{:5.2f}'.format(BWXx)\n return Jr9Y", "def UnfG(YKHO, XP5J):\n BWXx = XP5J.heliocentric[Tq5T.tropical]['longitude']\n Jr9Y = ''\n if BWXx != ...
[ "0.6268256", "0.6253833", "0.62537974", "0.62196237", "0.619274", "0.6128168", "0.6122438", "0.612003", "0.60951716", "0.60800713", "0.60662556", "0.60623103", "0.60557693", "0.6009931", "0.5925021", "0.5921775", "0.58605003", "0.58424246", "0.58172923", "0.57987744", "0.5738...
0.69165176
0
returns response from CORS option call
def LoZX(YKHO, G1wx, MOPg=None, hLfW=None): bD7m = '{0}/{1}'.format(YKHO.storage_url, G1wx) geh0 = YKHO.options(bD7m, headers=MOPg, requestslib_kwargs=hLfW) return geh0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ScV1(qv1X, Ylbp):\n Ylbp.add_header('Access-Control-Allow-Origin', qv1X.headers.get('Origin', '*'))\n Ylbp.add_header('Access-Control-Allow-Credentials', 'true')\n return Ylbp", "def mk9p(geh0, *qIxc, **B2fa):\n geh0.set_header('Access-Control-Allow-Origin', '*')", "def xAU6(YKHO):\n geh0 = ...
[ "0.73755133", "0.71682185", "0.70919585", "0.7083664", "0.6795841", "0.6767751", "0.6742956", "0.6725321", "0.668365", "0.66828954", "0.6674942", "0.6665802", "0.66542083", "0.6645679", "0.6613656", "0.6606358", "0.6596375", "0.65651196", "0.6536308", "0.6525313", "0.6460427"...
0.0
-1
Returns the number of objects in a container.
def z2tQ(YKHO, G1wx, hLfW=None): geh0 = YKHO.get_container_metadata(G1wx, requestslib_kwargs=hLfW) gabx = int(geh0.headers.get('x-container-object-count')) return gabx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def x2dM(YKHO) -> int:\n return qe4Y.get(YKHO, 'container_count')", "def Pkro(YKHO):\n return YKHO.num_objects", "def ZviT(YKHO):\n return YKHO._number_of_objects", "def UHFx(YKHO, **B2fa):\n return YKHO.container_store.count(**B2fa)", "def A3kS(YKHO) -> int:\n ...", "def A3kS(YKHO) -> int...
[ "0.7956629", "0.7815201", "0.7812147", "0.7708134", "0.7636946", "0.7636946", "0.7491309", "0.7322837", "0.7300387", "0.7300387", "0.7273596", "0.7246265", "0.72061026", "0.7193951", "0.7191221", "0.7189107", "0.71736026", "0.7150703", "0.7133942", "0.71286553", "0.708548", ...
0.8267369
0
Get the current GPU memory usage.
def sEbt(): try: Aofo = Yn3K.check_output(['nvidia-smi', '--query-gpu=memory.used', '--format=csv,nounits,noheader'], encoding='utf-8') oWy0 = [int(WKvO) for WKvO in Aofo.strip().split('\n')] return {wqL3: _p7a for wqL3, _p7a in enumerate(oWy0)} except FileNotFoundError: return {...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ubav(YKHO):\n if not YKHO.use_cuda:\n return None\n if YKHO.opt['gpu'] == -1:\n YfpN = range(ht2j.cuda.device_count())\n else:\n YfpN = [YKHO.opt['gpu']]\n ecaY = 0\n zI2H = 0\n for M4N3 in YfpN:\n lhy8 = ht2j.cuda.get_device_properties(M4N3)\n ecaY += lhy8....
[ "0.82143277", "0.81601757", "0.81218946", "0.8108207", "0.8060646", "0.80448425", "0.8002163", "0.79076475", "0.79032654", "0.7736523", "0.77296513", "0.77035946", "0.76820445", "0.76755357", "0.76403266", "0.7614806", "0.75341827", "0.75332314", "0.74886394", "0.7485329", "0...
0.7159007
45
Convert a list of tuple ((a,b),(c,d)) to a dict
def tsWE(): ACia = {} for H5ew, mWFP in D_6C: ACia[H5ew] = mWFP return ACia
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uspY(SqIz):\n fK8P = {}\n SqIz = [WKvO for WKvO in SqIz if len(WKvO) == 2]\n for cntZ, CsFy in SqIz:\n fK8P[cntZ] = CsFy\n return fK8P", "def wfn6(*SqIz):\n dixj = {}\n if SqIz is not None:\n for YRbF in range(0, len(SqIz)):\n H5ew, BWXx = SqIz[YRbF]\n if...
[ "0.75424206", "0.7498928", "0.70623636", "0.7024448", "0.694217", "0.6919298", "0.6879279", "0.68365395", "0.68217856", "0.68120223", "0.6722182", "0.6707227", "0.6690893", "0.65450853", "0.6528613", "0.6505262", "0.6490514", "0.64592654", "0.64430016", "0.63791054", "0.63790...
0.0
-1
This function checks how many Paysage ID there are for each unique SIREN. It returns a df.
def V7Co(jQ3Z: pd.DataFrame) -> rLdf.DataFrame: dOzt = jQ3Z[['uo_lib', 'siren', 'identifiant_interne']].drop_duplicates() dOzt = dOzt.loc[dOzt['siren'].notna()] dOzt = dOzt.sort_values('siren') dOzt = dOzt[['siren', 'identifiant_interne']].groupby('siren').nunique(dropna=False).reset_index() return ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oKNN(nPrm):\n B9M_ = nPrm.iloc[:, 1].drop_duplicates().values\n ywwl = len(B9M_)\n yFSQ = int(ywwl - ywwl / 4)\n _Yph = B9M_[-10:]\n return _Yph", "def wEj6(jQ3Z: pd.DataFrame) -> x1iM:\n yLzC = jQ3Z['iauname'].value_counts()\n ZShx = yLzC[yLzC > 1].index\n t3wT = list(jQ3Z[jQ3Z['iaun...
[ "0.5651357", "0.5521414", "0.5458342", "0.54582644", "0.54496515", "0.53989303", "0.52632296", "0.5189939", "0.516733", "0.5166407", "0.5155195", "0.5150302", "0.51477003", "0.5140479", "0.51279277", "0.512495", "0.5103543", "0.51008093", "0.5098645", "0.5093237", "0.5085651"...
0.56705934
0
Instantiates the pyfftrim object. If called with the appropriate parameters, this may also populate the list in preparation for parsing.
def FIMM(YKHO, mWFP=None, rb7a=1, hEAh=RvMY, KXwX=None): if mWFP is None: return if rb7a < 1: raise RuntimeError if hEAh == '': raise RuntimeError if KXwX is None: KXwX = JBL5 YKHO.files = list() YKHO.postfix = hEAh YKHO.whitelist = KXwX if Hy7s.path.isfil...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DbxN(YKHO, rFJS, Xp7u):\n YKHO._fastq_pair = rFJS\n YKHO._trim_dir = Hy7s.path.abspath(Xp7u)", "def DbxN(YKHO, ipkZ, Xp7u):\n mXDZ = '*.trimmed.fastq'\n YKHO.add_output('pattern', mXDZ)\n YKHO.add_output('fastqs', Btve(Xp7u, mXDZ))", "def Ptkh(quYQ, fJgK, yMFy, B4Zw, OTY2, xtCr):\n if quY...
[ "0.5716227", "0.5648884", "0.56065005", "0.54785454", "0.52306867", "0.5224552", "0.5137478", "0.5073649", "0.4969005", "0.49379784", "0.49287042", "0.49203596", "0.49121585", "0.4906904", "0.4906455", "0.49026132", "0.49006242", "0.49004582", "0.4894886", "0.48916787", "0.48...
0.0
-1
Checks the file extension whitelist to ensure we are only adding the files we are supposed to.
def x8gd(YKHO, pmON): Fst3 = Hy7s.path.splitext(pmON)[1] for WDN7 in YKHO.whitelist: if Fst3 == WDN7: return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XT0o(Va2z):\n return Va2z.strip('.') in UWr8", "def hGfQ(YKHO, z4WE):\n\n def _wIJ(Fst3):\n YBcr = Fst3.strip()\n if YBcr[0] == '.':\n return YBcr.lower()\n return f'.{YBcr}'.lower()\n return [_wIJ(YBcr) for YBcr in z4WE]", "def iJqc():\n assert XT0o(BS3y(filenam...
[ "0.7756908", "0.7512007", "0.7456495", "0.7436528", "0.7408323", "0.7398204", "0.7385826", "0.7385826", "0.7383903", "0.7382449", "0.7382449", "0.73759276", "0.73604244", "0.73079497", "0.73079497", "0.73079497", "0.73079497", "0.73079497", "0.73079497", "0.73079497", "0.7307...
0.6542545
94
Remove the current SQLAlchemy Session
def GTYX(AJ5d): S8SU.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yi3Z(YKHO):\n YKHO.__orm.remove_session()", "def KyVt(AJ5d):\n S8SU.close()", "def jQoW() -> None:\n if FEJ9.in_flask_request():\n Oa1e.session.remove()\n elif cuiw.session:\n cuiw.session.remove()\n cuiw.session = None\n else:\n print('No DB session found to clea...
[ "0.88243514", "0.8114095", "0.78637373", "0.7858419", "0.78174967", "0.7740899", "0.7598339", "0.75890255", "0.75890255", "0.75890255", "0.75890255", "0.75890255", "0.75890255", "0.75890255", "0.7550668", "0.7550668", "0.7518484", "0.7459168", "0.7326952", "0.7325793", "0.730...
0.0
-1
Trim data to only points where x1 <= x <= x2 Assumes that the graph xvalues are monotonic.
def NgCE(YKHO, o4D3, ajwV): try: jzdc = next((YRbF for YRbF in Ni9Y(len(YKHO.X)) if YKHO.X[YRbF] >= o4D3)) except StopIteration: jzdc = Fg_i = 0 else: try: Fg_i = next((YRbF for YRbF in Ni9Y(len(YKHO.X) - 1, jzdc, -1) if YKHO.X[YRbF] <= ajwV)) + 1 except StopItera...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def O358(YKHO, WKvO, LVAh):\n yzQ0 = (LVAh < WKvO + 500) & (LVAh > WKvO - 500)\n return yzQ0", "def s0tD(wBZN, re6M, LVAh, QxBb):\n if len(wBZN) == 0 or len(re6M) == 0:\n return (wBZN, re6M)\n if wBZN[0] < re6M[0]:\n WKvO = D0oL(wBZN, re6M).tolist()\n else:\n WKvO = D0oL(re6M,...
[ "0.68970937", "0.65674376", "0.6281888", "0.61642003", "0.61502576", "0.6115935", "0.6094693", "0.5982921", "0.59260356", "0.58927125", "0.5877839", "0.5808001", "0.58015954", "0.5763982", "0.5758427", "0.5729543", "0.571744", "0.5700362", "0.5699879", "0.5697934", "0.5693384...
0.77121514
0
Given a dataset name and a split_name returns a Dataset.
def dD7q(mWFP, QWQX, tETI, BuvW=None, N5Pj=None): if mWFP not in skJy: raise ValueError('Name of dataset unknown %s' % mWFP) return skJy[mWFP].get_split(QWQX, tETI, BuvW, N5Pj)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dD7q(mWFP, QWQX, **B2fa):\n if mWFP not in skJy:\n raise ValueError('Name of dataset unknown %s' % mWFP)\n __n6 = skJy[mWFP].get_split(QWQX, **B2fa)\n __n6.name = mWFP\n return __n6", "def dD7q(__n6: str, lpha: str) -> x3i3:\n if __n6 == 'imagenet':\n return plUy(lpha)\n elif ...
[ "0.87631494", "0.77819407", "0.7569722", "0.7366273", "0.73040324", "0.7290236", "0.706992", "0.70369977", "0.68924785", "0.6819242", "0.6804886", "0.6789634", "0.6773197", "0.6759948", "0.673773", "0.67361695", "0.67223716", "0.6706402", "0.67015207", "0.6687819", "0.6680565...
0.80513287
1
Validate a given email address
def ECKN(D3lj, Jz4Q, ko6J): if not D3lj: Jz4Q[ko6J] = 'Email Address Required' return if not ZbWC.match('[^@]+@[^@]+\\.[^@]+', D3lj): Jz4Q[ko6J] = 'Invalid Email Address' return return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Bt7w(UTX6):\n UTX6 = Qsf5(UTX6)\n if '@' not in UTX6:\n return False\n i9qL, Slw0 = UTX6.rsplit('@', 1)\n return XY7k.search(Slw0) is not None and lUx9.search(i9qL) is not None", "def ozWI(UTX6):\n if not UTX6:\n return False\n kUBT = ZbWC.match('(?:[a-zA-Z\\\\-_+0-9.]+)@([a-z...
[ "0.8436856", "0.819866", "0.81510454", "0.81156164", "0.8085853", "0.8068345", "0.80474067", "0.8037882", "0.8037882", "0.802551", "0.8023302", "0.8006876", "0.8000508", "0.79781413", "0.79757816", "0.7964861", "0.79636556", "0.7952346", "0.7921738", "0.7911994", "0.7906844",...
0.80803514
5
Rotate vector(s) v about the rotation descried by quaternion(s) q. Expects a tensor of shape (, 4) for q and a tensor of shape (, 3) for v Where denotes any number of dimensions.
def nTr0(vexM, Ty9i): assert vexM.shape[-1] == 4 assert Ty9i.shape[-1] == 3 assert vexM.shape[:-1] == Ty9i.shape[:-1] V2Fb = vexM[..., 1:] NFIp = ht2j.cross(V2Fb, Ty9i, dim=len(vexM.shape) - 1) c_iR = ht2j.cross(V2Fb, NFIp, dim=len(vexM.shape) - 1) return Ty9i + 2 * (vexM[..., :1] * NFIp + c...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nTr0(vexM, Ty9i):\n assert vexM.shape[-1] == 4\n assert Ty9i.shape[-1] == 3\n assert vexM.shape[:-1] == Ty9i.shape[:-1]\n Wve5 = list(Ty9i.shape)\n vexM = vexM.view(-1, 4)\n Ty9i = Ty9i.view(-1, 3)\n V2Fb = vexM[:, 1:]\n NFIp = ht2j.cross(V2Fb, Ty9i, dim=1)\n c_iR = ht2j.cross(V2Fb, ...
[ "0.8480254", "0.84611607", "0.8452172", "0.8444585", "0.8433766", "0.81211334", "0.80228597", "0.79383665", "0.7545924", "0.7336297", "0.72687685", "0.724878", "0.71824664", "0.71542025", "0.7077346", "0.6940105", "0.69215995", "0.685146", "0.6825134", "0.6707119", "0.6662695...
0.8473467
1
Load a model from a file
def tyeH(YKHO, VqRE): if not VqRE.exists(): raise ValueError(f'{VqRE} does not exist') tiq5 = ht2j.load(VqRE, map_location='cuda' if f7t6 else 'cpu') YKHO.step = tiq5.get('step') YKHO.eps_threshold = tiq5.get('epsilon') YKHO.onlineNet.load_state_dict(tiq5.get('online')) YKHO.targetNet.lo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uyMl(Ux0P):\n pass", "def uyMl(Ux0P):\n raise NotImplementedError()", "def uyMl(Ux0P: str):\n return tyeH(Ux0P)", "def uyMl(YKHO, WJHQ):\n raise NotImplementedError", "def uyMl(ytgA: str):\n raise NotImplementedError", "def uyMl(YKHO, gIsw):\n raise NotImplementedError", "def tyeH...
[ "0.8962261", "0.8736378", "0.8679032", "0.856316", "0.8556436", "0.849463", "0.8483373", "0.8429449", "0.83714706", "0.83714706", "0.83714706", "0.83179927", "0.83138144", "0.8261298", "0.8188755", "0.81777567", "0.8155665", "0.8141051", "0.81033534", "0.8072806", "0.80662626...
0.0
-1
Randomly flip an image horizontally and/or vertically with some probability. Arguments
def FIMM(YKHO, MKlR=True, Ty9i=False, XP5J=0.5): YKHO.horizontal = MKlR YKHO.vertical = Ty9i YKHO.p = XP5J
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def M9lj(VXjJ, JxU2):\n if not RDRa(VXjJ):\n raise TypeError(t_1q.format(type(VXjJ)))\n if JxU2 > tuKI.random():\n VXjJ = xPm2(VXjJ)\n return VXjJ", "def Nyya(LNo8, RiiZ, Lqg_=0.5):\n sdCG = uV6J.rvs(Lqg_)\n if sdCG:\n return (oyIN.fliplr(LNo8), -1 * RiiZ)\n else:\n ...
[ "0.81131226", "0.7769713", "0.76568747", "0.7650556", "0.7526709", "0.7522812", "0.7446797", "0.7416793", "0.7407218", "0.73331594", "0.7320115", "0.7305273", "0.7279954", "0.72482246", "0.7219946", "0.71152055", "0.711136", "0.7093456", "0.7089632", "0.7087927", "0.70754504"...
0.0
-1
Returns True if the piece is active.
def IN9u(YKHO): return YKHO.active
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IN9u(YKHO):\n return YKHO.isAvailable() and YKHO.is_enabled", "def ksfB(YKHO):\n return YKHO.status == EloR.ACTIVE", "def ksfB(YKHO) -> bool:\n return YKHO.state == YKHO.STATE_ACTIVE", "def ksfB(YKHO):\n for YRbF in YKHO.state:\n if YRbF == 'STATE_ACTIVE':\n return True\n ...
[ "0.77063227", "0.76200837", "0.7586614", "0.7558327", "0.7511091", "0.7511091", "0.7494598", "0.7490748", "0.74812025", "0.74812025", "0.74812025", "0.74812025", "0.74812025", "0.74812025", "0.74812025", "0.74812025", "0.74812025", "0.74812025", "0.74812025", "0.74812025", "0...
0.0
-1
Standard definition of the softmax function
def N93T(WKvO): uw5A = oyIN.exp(WKvO - oyIN.max(WKvO)) return uw5A / oyIN.sum(uw5A, axis=0)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def N93T(UnuI):\n return Zxt2.special.softmax(UnuI)", "def N93T(WKvO):\n return Kt_s.nnet.softmax(WKvO.T)", "def N93T(WKvO):\n return oyIN.exp(WKvO) / oyIN.sum(oyIN.exp(WKvO), axis=0)", "def N93T(WKvO):\n return oyIN.exp(WKvO) / oyIN.sum(oyIN.exp(WKvO), axis=0)", "def N93T(WKvO):\n return oy...
[ "0.85396475", "0.8479286", "0.84439", "0.8435798", "0.8400229", "0.836752", "0.8330265", "0.8311669", "0.8307158", "0.8301989", "0.8299154", "0.82965887", "0.828615", "0.8279025", "0.8279025", "0.8279025", "0.8279025", "0.8279025", "0.82769287", "0.8276006", "0.82663095", "...
0.8115686
94
Plots validation loss from a training session.
def ZjD3(YPaw, EvQg): QrM1.style.use('seaborn') QrM1.plot(YPaw, EvQg, color='red', label='Smooth Loss') QrM1.xlabel('Update step') QrM1.ylabel('Loss') QrM1.legend() QrM1.savefig('results/loss') QrM1.close()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mBbd(YKHO):\n QrM1.plot(YKHO.model.history.history['loss'])\n QrM1.plot(YKHO.model.history.history['val_loss'])\n QrM1.title('Model loss')\n QrM1.ylabel('Loss')\n QrM1.xlabel('Epoch')\n QrM1.legend(['Train', 'Test'], loc='upper right')\n return QrM1.show()", "def mBbd(YKHO):\n ggYK.pl...
[ "0.8039934", "0.798345", "0.79643154", "0.7934155", "0.7796056", "0.77810836", "0.7726103", "0.7684176", "0.76838183", "0.7673654", "0.75980544", "0.7523559", "0.7517123", "0.7480962", "0.7458287", "0.74567014", "0.74543273", "0.7426444", "0.7385808", "0.7372298", "0.73419666...
0.65119666
91
1hot encodes a tensor
def fKLU(LVAh, jTqs): return oyIN.eye(jTqs, dtype='float32')[LVAh]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zGX0(WKvO):\n return oyIN.eye(WKvO.max() + 1)[WKvO]", "def zGX0(WKvO):\n KLLm = []\n jzdc = oyIN.array([0, 0, 0, 0, 0, 0, 0, 0])\n jzdc[WKvO] = 1\n KLLm.append(jzdc)\n return oyIN.asarray(KLLm).astype('int32')", "def GpPk(or8S, tpio):\n ycBG = [0] * tpio\n ycBG[or8S] = 1\n return...
[ "0.8397239", "0.8342454", "0.82294697", "0.81629807", "0.8143967", "0.81028515", "0.809962", "0.8062199", "0.80533415", "0.8046785", "0.8038851", "0.8029096", "0.79069096", "0.7860194", "0.7850401", "0.7841131", "0.7838329", "0.78013283", "0.77874726", "0.7751093", "0.7746245...
0.0
-1
Calculates the Absolute Salinity of seawater at the freezing temperature. That is, the output is the Absolute Salinity of seawater, with the fraction saturation_fraction of dissolved air, that is in equilibrium with ice at Conservative Temperature CT and pressure p. If the input values are such that there is no positiv...
def wWXH(s0V0, XP5J, nrh5=1): s0V0, XP5J, nrh5 = oyIN.broadcast_arrays(s0V0, XP5J, nrh5) if oyIN.logical_or(nrh5 < 0, nrh5 > 1).any(): raise ValueError('Saturation_fraction MUST be between zero and one.') ZnE8 = XP5J * 0.0001 UQPo = -(s0V0 + 9 * ZnE8) / 0.06 UQPo = oyIN.maximum(UQPo, 0) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wwK6(i8WE, jmzt=12, Cwt5=0.03, FYKK=0.25):\n bZAQ = 4 * FYKK * Cwt5 * jmzt / (1 + 4 * FYKK * jmzt)\n if bZAQ == 0:\n pRhc = 0\n else:\n pRhc = 1 - 2 * bZAQ / Cwt5\n Fg_i = oyIN.array([1, -1]) * bZAQ\n jzdc = oyIN.array([1, pRhc])\n W3Xw = oyIN.where(oyIN.isfinite(i8WE.temperatur...
[ "0.65347147", "0.65190333", "0.64885885", "0.6341129", "0.61031145", "0.6027582", "0.573098", "0.5633475", "0.55205566", "0.54867935", "0.5468926", "0.5450572", "0.54277754", "0.5379375", "0.53735286", "0.53617716", "0.535992", "0.5344851", "0.5342862", "0.533663", "0.5303249...
0.70259094
0
Calculates the Conservative Temperature at which seawater freezes.
def qLRD(UQPo, XP5J, nrh5=1): UQPo, XP5J, nrh5 = oyIN.broadcast_arrays(UQPo, XP5J, nrh5) if (UQPo < 0).any(): raise ValueError('SA must be non-negative!') if oyIN.logical_or(nrh5 < 0, nrh5 > 1).any(): raise ValueError('Saturation_fraction MUST be between zero and one.') dIgV = UQPo * 0.0...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DaJg(YKHO, xNQ_=None, VWrU=None):\n xNQ_ = YRCA(VWrU, xNQ_)\n YKHO.checkPropertyTempRange('thermal conductivity', xNQ_)\n DaJg = 124.67 - 0.11381 * xNQ_ + 5.5226e-05 * xNQ_ ** 2 - 1.1842e-08 * xNQ_ ** 3\n return DaJg", "def ambS(YKHO) -> float:\n return YKHO._vehicle_data.get('climate_state', ...
[ "0.6660008", "0.6551655", "0.6435935", "0.6400421", "0.6373435", "0.6352673", "0.6321754", "0.6283347", "0.62825465", "0.62733096", "0.6271428", "0.62484944", "0.62462926", "0.62449884", "0.6236596", "0.6228197", "0.619604", "0.6192517", "0.6158579", "0.6150325", "0.61479276"...
0.0
-1
Calculates the insitu temperature at which seawater freezes.
def z066(UQPo, XP5J, nrh5=1): UQPo, XP5J, nrh5 = oyIN.broadcast_arrays(UQPo, XP5J, nrh5) if (UQPo < 0).any(): raise ValueError('SA must be non-negative!') if oyIN.logical_or(nrh5 < 0, nrh5 > 1).any(): raise ValueError('Saturation_fraction MUST be between zero and one.') WW6A = qLRD(UQPo,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iYRB(ycBG):\n return (ycBG - 275.15) * 9 / 5 + 32", "def ovGo(YKHO):\n Yh3e = YKHO.data.adc_t\n Z9rn = YKHO.calibration\n CIn9 = ((Yh3e >> 3) - (Z9rn.T1 << 1)) * Z9rn.T2 >> 11\n AhCl = (((Yh3e >> 4) - Z9rn.T1) * ((Yh3e >> 4) - Z9rn.T1) >> 12) * Z9rn.T3 >> 14\n YKHO.t_fine = CIn9 + AhCl\n ...
[ "0.66780883", "0.6572835", "0.65672773", "0.6532992", "0.6484053", "0.63883424", "0.6383891", "0.6383487", "0.6361134", "0.63580704", "0.6340947", "0.6334617", "0.6296538", "0.6292967", "0.62693703", "0.625593", "0.62536705", "0.62512904", "0.62266165", "0.6214074", "0.620732...
0.0
-1
Returns a TFFeature of int64_list.
def ZjqL(hkxX) -> ZylS.train.Feature: if not isinstance(hkxX, g760.Iterable): hkxX = [hkxX] return ZylS.train.Feature(int64_list=ZylS.train.Int64List(value=hkxX))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OohW(BWXx):\n return ZylS.train.Feature(int64_list=ZylS.train.Int64List(value=rjpT.listify(BWXx)))", "def ZjqL(BWXx: List[int]):\n return ZylS.train.Feature(int64_list=ZylS.train.Int64List(value=BWXx))", "def q79v(ACYT):\n return ZylS.train.Feature(int64_list=ZylS.train.Int64List(value=ACYT))", ...
[ "0.7702539", "0.76590145", "0.7638286", "0.7580936", "0.75779736", "0.75473994", "0.7543565", "0.7524079", "0.7475146", "0.74645567", "0.74645567", "0.74566156", "0.74536663", "0.74536663", "0.7446717", "0.741462", "0.74145216", "0.7411096", "0.7409029", "0.74046963", "0.7399...
0.7437937
15
Returns a TFFeature of bytes.
def uvxA(hkxX: str) -> ZylS.train.Feature: def SWqg(BWXx): return BWXx.encode() if isinstance(BWXx, str) and jKi7.PY3 else BWXx return ZylS.train.Feature(bytes_list=ZylS.train.BytesList(value=[SWqg(hkxX)]))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XE7d(eHNT):\n return BlNT.pack('f', eHNT)", "def bytes(BWXx):\n return ZylS.train.Feature(bytes_list=ZylS.train.BytesList(value=rjpT.listify(BWXx)))", "def NhGy(vhpA) -> ZylS.train.Feature:\n return ZylS.train.Feature(bytes_list=ZylS.train.BytesList(value=[vhpA.numpy()]))", "def NhGy(BWXx):\n ...
[ "0.6626078", "0.6542266", "0.63718194", "0.6336037", "0.6330923", "0.6315992", "0.6296196", "0.6253901", "0.6244213", "0.6244213", "0.6244213", "0.6244213", "0.6244213", "0.6244213", "0.6244213", "0.6244213", "0.6244213", "0.6244213", "0.6244213", "0.6244213", "0.6244213", ...
0.0
-1
Constructs a linear kernel matrix between A and B. We assume that each row in A and B represents a ddimensional feature vector.
def FxlI(k0lF, tjUW): assert k0lF.dim() == 3 assert tjUW.dim() == 3 assert k0lF.size(0) == tjUW.size(0) and k0lF.size(2) == tjUW.size(2) return ht2j.bmm(k0lF, tjUW.transpose(1, 2))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uZQ7(o4D3, ajwV):\n return oyIN.matmul(o4D3, ajwV.T)", "def uZQ7(mSn1, IP77):\n return oyIN.dot(mSn1.T, IP77)", "def uZQ7(o4D3, ajwV):\n return oyIN.dot(o4D3, ajwV)", "def Qrwf():\n AQRV = lambda EcVT, LVAh: EcVT @ LVAh.T\n return AQRV", "def RCes(YKHO, k0lF, tjUW, Cwt5, vC9B):\n exwG...
[ "0.7230914", "0.69774127", "0.6952787", "0.68515867", "0.6843649", "0.6673514", "0.65845233", "0.64052147", "0.6383046", "0.63012314", "0.6190583", "0.6137994", "0.6079081", "0.6079081", "0.6073127", "0.6069502", "0.6045458", "0.6026725", "0.5981661", "0.59656405", "0.5949757...
0.0
-1
Returns a onehot tensor. This is a PyTorch equivalent of Tensorflow's tf.one_hot.
def KLLm(_0VL, rb7a): g11E = ht2j.zeros(_0VL.size() + ht2j.Size([rb7a])).cuda() d6pt = _0VL.view(_0VL.size() + ht2j.Size([1])) g11E = g11E.scatter_(1, d6pt, 1) return g11E
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def N9CW(vhpA: torch.Tensor, jTqs: int=-1, tpio: int=-1) -> ht2j.Tensor:\n if not nNW7(vhpA):\n raise ValueError(f'tensor must be integer type, current type: {vhpA.dtype}')\n bKPk = vhpA.max() + 1\n if jTqs == -1:\n jTqs = int(bKPk)\n if jTqs < bKPk:\n raise ValueError(f'num_classe...
[ "0.7948144", "0.7903345", "0.7827988", "0.7719538", "0.76510364", "0.7570892", "0.7570892", "0.7570892", "0.7542515", "0.75352216", "0.7520696", "0.7480477", "0.74721694", "0.7445696", "0.742868", "0.74151015", "0.7351288", "0.7341056", "0.7333022", "0.73202646", "0.7318572",...
0.0
-1
Returns the string representation of the model
def gTzM(YKHO): import simplejson as qQXR if jKi7.PY2: import sys U3hF(sys) sys.setdefaultencoding('utf-8') return qQXR.dumps(yInN(YKHO), ensure_ascii=False)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.__model)", "def zAg0(YKHO):\n return str(YKHO.model)", "def zAg0(YKHO):\n return YKHO.text", "def zAg0(YKHO):\n oOUF = '-----------------------------------------------------------------------------------\\n'\n _2sc = YKHO.__class__.__name__\n oOUF += '\\t\\...
[ "0.86418265", "0.85103965", "0.7853324", "0.77442306", "0.7712258", "0.76979405", "0.765959", "0.7637644", "0.76218504", "0.7607561", "0.7606604", "0.7606604", "0.7606604", "0.75990754", "0.7585653", "0.758149", "0.7570811", "0.7567585", "0.75392604", "0.75392604", "0.7527967...
0.0
-1