diff --git a/unitTests/compiled/ut-ruleset.zip b/unitTests/compiled/ut-ruleset.zip index 7064e6dcc..34f971f2a 100644 Binary files a/unitTests/compiled/ut-ruleset.zip and b/unitTests/compiled/ut-ruleset.zip differ diff --git a/unitTests/output/output.txt b/unitTests/output/output.txt index ca4f4c765..896ee2fc8 100644 --- a/unitTests/output/output.txt +++ b/unitTests/output/output.txt @@ -127,7 +127,7 @@ [ix11.10.1.2:invalidTransformation] Fact us-gaap:LongTermDebt has unrecognized transformation namespace http://www.sec.gov/inlineXBRL/transformation/2015-08-31 [ix11.10.1.2:invalidTransformation] Fact us-gaap:NumberOfOperatingSegments has unrecognized transformation namespace http://www.sec.gov/inlineXBRL/transformation/2015-08-31 [html:syntaxError] Html error Element script does not carry attribute type line 4, Element noscript content does not follow the DTD, expecting (p | h1 | h2 | h3 | h4 | h5 | h6 | div | ul | ol | dl | pre | hr | blockquote | address | fieldset | table | form | noscript | ins | del | script | ix:footnote | ix:nonNumeric | ix:fraction | ix:numerator | ix:denominator | ix:nonFraction | ix:continuation | ix:exclude)*, got (img) line 4, Element img does not carry attribute alt line 4 -[] Instance Loaded. Load time 0:00:03.467746 from 'https://www.sec.gov/Archives/edgar/data/831259/000083125921000029/fcx-20210630.htm' +[] Instance Loaded. Load time 0:00:03.225526 from 'https://www.sec.gov/Archives/edgar/data/831259/000083125921000029/fcx-20210630.htm' [INFO] [COU110] 1,579 [ERROR] [xule:error] rule COU191: Rule: COU191 - The 'count' function must have at least one argumenrt, found none. [ERROR] [xule:error] rule COU192: Rule: COU192 - The first argument of function 'count' must be set, list, found 'decimal'. @@ -158,20 +158,20 @@ [INFO] [DHK094] False [ERROR] [xule:error] rule DHK095: Rule: DHK095 - Property 'has-key' is not a property of a 'string'. [INFO] [DHK096] False -[INFO] [DIC001] dictionary(z=zebra,a=albatross,b=bat,m=monkey,c=cat) +[INFO] [DIC001] dictionary(z=zebra,b=bat,m=monkey,c=cat,a=albatross) [INFO] [DIC002] dictionary(a=first) [ERROR] [xule:error] rule DIC091: Rule: DIC091 - Arguments for the dict() function must be lists of key/value pairs, found set [INFO] [DIC092] dictionary() [INFO] [DIC093] dictionary() [ERROR] [xule:error] rule DIC094: Rule: DIC094 - Arguments for the dict() function must be lists of key/value pairs, found float -[INFO] [DKEY101] set(b, c, a) +[INFO] [DKEY101] set(c, a, b) [INFO] [DKEY102] set(a) -[INFO] [DKEY103] set(c, a, b, d) +[INFO] [DKEY103] set(c, d, b, a) [INFO] [DKEY104] None [ERROR] [xule:error] rule DKEY105: Rule: DKEY105 - Property 'keys' is not a property of a 'string'. [ERROR] [xule:error] rule DKEY106: Rule: DKEY106 - Property 'keys' is not a property of a 'string'. [INFO] [DLA001] 5 -[INFO] [DLA002] 11 +[INFO] [DLA002] 5 [INFO] [DLA003] z [INFO] [DLA004] None [INFO] [DLA005] None @@ -181,7 +181,7 @@ [INFO] [DLEN102] 3 [INFO] [DLEN103] 0 [INFO] [DLEN104] 3 -Taxonomy Loaded. Load time 0:00:17.062815 from 'https://xbrl.fasb.org/us-gaap/2020/entire/us-gaap-entryPoint-all-2020-01-31.xsd' +Taxonomy Loaded. Load time 0:00:16.444707 from 'https://xbrl.fasb.org/us-gaap/2020/entire/us-gaap-entryPoint-all-2020-01-31.xsd' [INFO] [DLEN105] 20,399 [INFO] [DLEN106] 3 [INFO] [DLEN107] 3 @@ -190,13 +190,13 @@ Taxonomy Loaded. Load time 0:00:17.062815 from 'https://xbrl.fasb.org/us-gaap/20 [INFO] [DTL012] list() [INFO] [DTS001] set(4, 1, 5, 2, 3) [INFO] [DTS002] set() -[INFO] [DTS003] set(list(c, cat), list(a, apple), list(b, boy), list(d, dog)) -[INFO] [DTS004] set(b, a, a, b) +[INFO] [DTS003] set(list(b, boy), list(a, apple), list(d, dog), list(c, cat)) +[INFO] [DTS004] set(b, b, a, a) [INFO] [DTS005] 18,274 [ERROR] [xule:error] rule DTS006: Rule: DTS006 - Property 'to-set' is not a property of a 'string'. [INFO] [FIRST001] 1 -[INFO] [FIRST002] 5 -[INFO] [FIRST003] 5 +[INFO] [FIRST002] 4 +[INFO] [FIRST003] 2 [INFO] [FIRST004] None [INFO] [FIRST005] None [INFO] [HKY001] True @@ -213,13 +213,13 @@ Taxonomy Loaded. Load time 0:00:17.062815 from 'https://xbrl.fasb.org/us-gaap/20 [INFO] [JOIN103] a,b,c [INFO] [KEY001] set(c, b, a) [INFO] [KEY002] set(a) -[INFO] [KEY003] set(d, c, a, b) +[INFO] [KEY003] set(c, d, a, b) [ERROR] [xule:error] rule KEY004: Rule: KEY004 - The 'keys' function must have at least one argumenrt, found none. [ERROR] [xule:error] rule KEY005: Rule: KEY005 - The first argument of function 'keys' must be dictionary, found 'string'. [ERROR] [xule:error] rule KEY006: Rule: KEY006 - The first argument of function 'keys' must be dictionary, found 'list'. [INFO] [LAST001] 5 -[INFO] [LAST002] 3 -[INFO] [LAST003] 3 +[INFO] [LAST002] 4 +[INFO] [LAST003] z [INFO] [LAST004] None [INFO] [LAST005] None [ERROR] [xule:error] rule LAST006: Rule: LAST006 - The first argument of function 'last' must be set, list, found 'dictionary'. @@ -267,28 +267,28 @@ Taxonomy Loaded. Load time 0:00:17.062815 from 'https://xbrl.fasb.org/us-gaap/20 [INFO] [SUM101] 117.305 [INFO] [SUM102] 181 [INFO] [SUM103] 70 -[ERROR] [xule:error] rule SUM191: unsupported operand type(s) for +: 'float' and 'XuleString' +[ERROR] [xule:error] rule SUM191: can only concatenate str (not "float") to str [ERROR] [xule:error] rule SUM192: Rule: SUM192 - The first argument of function 'sum' must be set, list, found 'int'. [INFO] [SUM193] None [INFO] [SUM194] list(None, None) [INFO] [SUM195] list(None) [INFO] [SUM196] None -[INFO] [SUM197] set(6, 1, 2, 3, 4, 5) +[INFO] [SUM197] set(2, 3, 6, 4, 1, 5) [INFO] [SUM198] None [ERROR] [xule:error] rule SUM199: Rule: SUM199 - The first argument of function 'sum' must be set, list, found 'dictionary'. [ERROR] [xule:error] rule SUM200: Rule: SUM200 - The first argument of function 'sum' must be set, list, found 'dictionary'. [ERROR] [xule:error] rule SUM201: Rule: SUM201 - The first argument of function 'sum' must be set, list, found 'dictionary'. [INFO] [SUM202] 6 [INFO] [SUM203] 6 -[INFO] [SUM204] set(1, 3, 6, 2, 5, 4) +[INFO] [SUM204] set(2, 1, 5, 4, 6, 3) [INFO] [SUM205] list(1, 2, 3, 2, 3, 4, 4, 5, 6) [INFO] [SUM206] None -[INFO] [TJSON100] {"Assets": 200, "BankLoans": 100, "Capital": 30} +[INFO] [TJSON100] {"Capital": 30, "BankLoans": 100, "Assets": 200} [INFO] [TJSON101] {"Capital": 30, "BankLoans": 100, "Assets": 200} -[INFO] [TSE101] set(1, 4, 2, 5, 3) +[INFO] [TSE101] set(4, 3, 1, 2, 5) [INFO] [TSE102] set() -[INFO] [TSE105] set(list(a, apple), list(c, cat), list(b, boy), list(d, dog)) -[INFO] [TSE106] set(a, b) +[INFO] [TSE105] set(list(b, boy), list(a, apple), list(d, dog), list(c, cat)) +[INFO] [TSE106] set(b, a) [INFO] [TSE111] 18,274 [ERROR] [xule:error] rule TSE191: Rule: TSE191 - The first argument of function 'to-set' must be list, set, dictionary, found 'string'. [INFO] [VAL001] list(apple, banana, cantaloupe) @@ -312,8 +312,8 @@ Taxonomy Loaded. Load time 0:00:17.062815 from 'https://xbrl.fasb.org/us-gaap/20 [INFO] [LIST007] list(None) [INFO] [LIST008] list(2017, 2016, 2015) [INFO] [LIST009] list(Assets, Land, Cash, AccountsReceivable) -[INFO] [SET101] set(2, 4, 3, 1) -[INFO] [SET102] set(b, b, a, a) +[INFO] [SET101] set(1, 4, 3, 2) +[INFO] [SET102] set(b, a, a, b) [INFO] [SET103] set(None) [INFO] [SET104] set() [INFO] [SET105] set() @@ -348,7 +348,7 @@ Taxonomy Loaded. Load time 0:00:17.062815 from 'https://xbrl.fasb.org/us-gaap/20 [INFO] [FDATE112] 2020-01-01 [ERROR] [xule:error] rule FDATE113: Rule: FDATE113 - Property 'end' is not a property of a 'string'. [INFO] [FDATE114] set(2022-01-01, 2020-03-31) -[INFO] [FDATE115] set(2020-06-30, 2022-01-01) +[INFO] [FDATE115] set(2022-01-01, 2020-06-30) [INFO] [FDATE116] list(2020-03-31, 2022-01-01) [ERROR] [xule:error] rule FDATE117: Rule: FDATE117 - Property 'end' is not a property of a 'qname'. [INFO] [FDATE118] 2 @@ -359,7 +359,7 @@ Taxonomy Loaded. Load time 0:00:17.062815 from 'https://xbrl.fasb.org/us-gaap/20 [INFO] [FDATE123] 2020-01-01 [INFO] [FDATE124] 2020-01-01 [ERROR] [xule:error] rule FDATE125: Rule: FDATE125 - Property 'start' is not a property of a 'string'. -[INFO] [FDATE126] set(2022-01-01, 2020-01-01) +[INFO] [FDATE126] set(2020-01-01, 2022-01-01) [INFO] [FDATE127] set(2020-01-01, 2022-01-01) [INFO] [FDATE128] list(2020-01-01, 2022-01-01) [ERROR] [xule:error] rule FDATE129: Rule: FDATE129 - Property 'start' is not a property of a 'qname'. @@ -426,15 +426,15 @@ Taxonomy Loaded. Load time 0:00:17.062815 from 'https://xbrl.fasb.org/us-gaap/20 [INFO] [CFILT108] set(-6) [INFO] [CFILT109] -6 [INFO] [CFILT110] Assets -[INFO] [CFILT111] RealizedInvestmentGainsLosses +[INFO] [CFILT111] MLIB [ERROR] [xule:error] rule CFILT112: 'all' [ERROR] [xule:error] rule CFILT113: Rule: CFILT113 - The 'index' property or index expression '[]' can only operate on a list or dictionary, found 'none' [INFO] [CFILT114] set(instant) [ERROR] [xule:error] rule CFILT115: Rule: CFILT115 - Property 'period-type' is not a property of a 'decimal'. [INFO] [CFILT116] set(xbrli:item) [INFO] [CFILT117] set(xbrli:item) -[INFO] [CFILT118] set(7,895,000,000, 7,923,000,000, 5,198,000,000, 5,288,000,000, 180,000,000, 1,117,000,000, 726,000,000, 2,697,000,000, 271,000,000, 5,334,000,000, 42,144,000,000, 40,230,000,000, 259,000,000, 2,635,000,000, 1,740,000,000, 45,436,000,000, 1,777,000,000, 2,579,000,000, 18,461,000,000, 16,848,000,000, 10,146,000,000, 10,590,000,000, 8,515,000,000, 8,795,000,000, 1,631,000,000, 1,795,000,000) -[INFO] [CFILT119] set(45,436,000,000, 42,144,000,000, 40,230,000,000) +[INFO] [CFILT118] set(2,697,000,000, 726,000,000, 271,000,000, 40,230,000,000, 2,635,000,000, 180,000,000, 259,000,000, 45,436,000,000, 16,848,000,000, 10,146,000,000, 1,631,000,000, 1,117,000,000, 18,461,000,000, 10,590,000,000, 1,795,000,000, 8,515,000,000, 5,334,000,000, 7,895,000,000, 5,198,000,000, 8,795,000,000, 7,923,000,000, 5,288,000,000, 2,579,000,000, 42,144,000,000, 1,777,000,000, 1,740,000,000) +[INFO] [CFILT119] set(42,144,000,000, 40,230,000,000, 45,436,000,000) [INFO] [CFILT120] 632 [INFO] [CFILT121] 315 [INFO] [CFILT122] 315 @@ -467,7 +467,7 @@ Taxonomy Loaded. Load time 0:00:17.062815 from 'https://xbrl.fasb.org/us-gaap/20 [INFO] [CUBEFILT003] 1,185 [INFO] [CUBEFILT004] 14 [INFO] [INSFILT001] 1,739 -[INFO] [INSFILT002] 108,000,000 +[INFO] [INSFILT002] 20,935,000,000 [INFO] [INSFILT003] 1,577 [INFO] [INSFILT004] 110 [INFO] [INSFILT005] 86 @@ -482,7 +482,7 @@ Taxonomy Loaded. Load time 0:00:17.062815 from 'https://xbrl.fasb.org/us-gaap/20 [ix11.11.1.2:invalidTransformation] Fact dei:EntityShellCompany has unrecognized transformation namespace http://www.sec.gov/inlineXBRL/transformation/2015-08-31 [ix11.10.1.2:invalidTransformation] Fact us-gaap:NumberOfOperatingSegments has unrecognized transformation namespace http://www.sec.gov/inlineXBRL/transformation/2015-08-31 [html:syntaxError] Html error Element script does not carry attribute type line 4, Element noscript content does not follow the DTD, expecting (p | h1 | h2 | h3 | h4 | h5 | h6 | div | ul | ol | dl | pre | hr | blockquote | address | fieldset | table | form | noscript | ins | del | script | ix:footnote | ix:nonNumeric | ix:fraction | ix:numerator | ix:denominator | ix:nonFraction | ix:continuation | ix:exclude)*, got (img) line 4, Element img does not carry attribute alt line 4 -[] Instance Loaded. Load time 0:00:04.719053 from 'https://www.sec.gov/Archives/edgar/data/831259/000083125921000038/fcx-20210930.htm' +[] Instance Loaded. Load time 0:00:04.821630 from 'https://www.sec.gov/Archives/edgar/data/831259/000083125921000038/fcx-20210930.htm' [INFO] [MULTIIN001] 3,215 [INFO] [MULTIIN002] list(40,230,000,000, 41,099,000,000, 42,144,000,000, 42,144,000,000, 45,436,000,000, 46,917,000,000) [INFO] [NOFILT001] 1,579 @@ -493,23 +493,23 @@ Taxonomy Loaded. Load time 0:00:17.062815 from 'https://xbrl.fasb.org/us-gaap/20 [INFO] [PFILT102] 0 [INFO] [PFILT103] 50 [ERROR] [xule:error] rule PFILT104: Rule: PFILT104 - Function 'cats' not found +[INFO] [UNITFILT001] False with alignment dictionary(period=2021-01-01 to 2021-07-01,entity=http://www.sec.gov/CIK=0000831259) [INFO] [UNITFILT001] False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) -[INFO] [UNITFILT001] False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259,period=2021-01-01 to 2021-07-01) [INFO] [UNITFILT002] True with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) [INFO] [UNITFILT003] True with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) [INFO] [UNITFILT004] False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) -[INFO] [UNITFILT005] False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) [INFO] [UNITFILT005] False with alignment dictionary(period=2021-01-01 to 2021-07-01,entity=http://www.sec.gov/CIK=0000831259) -[INFO] [UNITFILT006] False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259,period=2021-01-01 to 2021-07-01) +[INFO] [UNITFILT005] False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) [INFO] [UNITFILT006] False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259,unit=USD) +[INFO] [UNITFILT006] False with alignment dictionary(period=2021-01-01 to 2021-07-01,entity=http://www.sec.gov/CIK=0000831259) [INFO] [UNITFILT007] True with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) [INFO] [UNITFILT008] $rule-value} with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) -[INFO] [UNITFILT009] False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) [INFO] [UNITFILT009] False with alignment dictionary(unit=USD,entity=http://www.sec.gov/CIK=0000831259) -[INFO] [UNITFILT010] True with alignment dictionary(unit=USD,entity=http://www.sec.gov/CIK=0000831259) -[INFO] [UNITFILT011] True with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259,period=2021-07-01,unit=USD) -[INFO] [UNITFILT011] True with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259,period=2021-01-01,unit=USD) -[INFO] [UNITFILT011] True with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259,unit=USD,period=2020-07-01) +[INFO] [UNITFILT009] False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) +[INFO] [UNITFILT010] True with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259,unit=USD) +[INFO] [UNITFILT011] True with alignment dictionary(period=2021-01-01,unit=USD,entity=http://www.sec.gov/CIK=0000831259) +[INFO] [UNITFILT011] True with alignment dictionary(unit=USD,entity=http://www.sec.gov/CIK=0000831259,period=2020-07-01) +[INFO] [UNITFILT011] True with alignment dictionary(unit=USD,entity=http://www.sec.gov/CIK=0000831259,period=2021-07-01) [INFO] [FACT001] -6 [INFO] [FACT002] None [INFO] [FACT003] 45,436,000,000 @@ -529,15 +529,17 @@ Taxonomy Loaded. Load time 0:00:17.062815 from 'https://xbrl.fasb.org/us-gaap/20 [INFO] [FACT017] 1,115,000,000 [INFO] [FACT018] id3VybDovL2RvY3MudjEvZG9jOjBjNGY0MDFmYTkzZDQ2ZTI4ZThhZjAxZmZjM2Y0YTZlL3NlYzowYzRmNDAxZmE5M2Q0NmUyOGU4YWYwMWZmYzNmNGE2ZV8xNi9mcmFnOjc0ZmNjZWZjMzhjMzRiOWZhMmM1OWM4OGJkNTQzOTUzL3RhYmxlOmM0YTNmOWY5NDdlYjQ1ZTM4MTBjZmU5NzhiNzQ1NjAwL3RhYmxlcmFuZ2U6YzRhM2Y5Zjk0N2ViNDVlMzgxMGNmZTk3OGI3NDU2MDBfMjItMS0xLTEtMA_05140392-c51d-4b51-b20f-dac6ba7c5451 [INFO] [FACT019] None -[INFO] [FACT020] +[INFO] [FACT020] 1,739 +[ERROR] [xule:error] rule FACT021: Rule: FACT021 - Property 'name' is not a property of a 'cube'. +[INFO] [FACT022] set(us-gaap:ScheduleOfSegmentReportingInformationBySegmentTable, us-gaap:ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable) [INFO] [FIL101] set(2, 3) -[INFO] [FIL102] set(cup, cat) +[INFO] [FIL102] set(cat, cup) [INFO] [FIL103] set(CUP, CAT) [INFO] [FIL104] set(CUP, CAT, DOG) [INFO] [FIL105] set(3, 2, 6) -[INFO] [FIL106] set(3, 6, 2) +[INFO] [FIL106] set(6, 2, 3) [INFO] [FIL107] set(3, 4) -[INFO] [FIL108] set(credit, debit) +[INFO] [FIL108] set(debit, credit) [INFO] [FIL109] list(2, 2, 3) [INFO] [FIL110] list(cat, cup) [INFO] [FIL111] list(CAT, CUP) @@ -555,9 +557,9 @@ Taxonomy Loaded. Load time 0:00:17.062815 from 'https://xbrl.fasb.org/us-gaap/20 [INFO] [FIL121] list(240,000,000,000) [ERROR] [xule:error] rule FIL122: '>' not supported between instances of 'int' and 'frozenset' [INFO] [FIL123] list(6,000,001, 6,000,002, 6,000,003) +[INFO] [FIL123] list(3,000,001, 3,000,002, 3,000,003) [INFO] [FIL123] list(4,000,001, 4,000,002, 4,000,003) [INFO] [FIL123] list(6,000,001, 6,000,002, 6,000,003) -[INFO] [FIL123] list(3,000,001, 3,000,002, 3,000,003) [INFO] [FORL101] 1 [INFO] [FORL102] list(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) [INFO] [FORL103] list(1, 2, 3, 6, 7, 8) @@ -589,9 +591,9 @@ Taxonomy Loaded. Load time 0:00:17.062815 from 'https://xbrl.fasb.org/us-gaap/20 [ERROR] [xule:error] rule SLO107: Rule: SLO107 - Index value of 0 is out of range for the list with length of 3 [ERROR] [xule:error] rule SLO108: Rule: SLO108 - Index value of 4 is out of range for the list with length of 3 [ERROR] [xule:error] rule SLO109: Rule: SLO109 - Index value of 1 is out of range for the list with length of 0 -[INFO] [SLO110] 45,436,000,000 [INFO] [SLO110] 42,144,000,000 [INFO] [SLO110] 40,230,000,000 +[INFO] [SLO110] 45,436,000,000 [ERROR] [xule:error] rule SLO110: Rule: SLO110 - Index value of 1 is out of range for the list with length of 0 [ERROR] [xule:error] rule SLO111: Rule: SLO111 - The 'index' property or index expression '[]' can only operate on a list or dictionary, found 'set' [INFO] [INFO0001] INFO0001 @@ -650,7 +652,7 @@ Taxonomy Loaded. Load time 0:00:17.062815 from 'https://xbrl.fasb.org/us-gaap/20 [ix11.11.1.2:invalidTransformation] Fact us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1 has unrecognized transformation namespace http://www.sec.gov/inlineXBRL/transformation/2015-08-31 [ix11.10.1.2:invalidTransformation] Fact viot:LesseeOperatingLeaseLiabilityShortTermLeaseAndLeasesNotYetCommencedPaymentsDueNextTwelveMonths has unrecognized transformation namespace http://www.sec.gov/inlineXBRL/transformation/2015-08-31 [html:syntaxError] Html error Element script does not carry attribute type line 9, Element noscript content does not follow the DTD, expecting (p | h1 | h2 | h3 | h4 | h5 | h6 | div | ul | ol | dl | pre | hr | blockquote | address | fieldset | table | form | noscript | ins | del | script | ix:footnote | ix:nonNumeric | ix:fraction | ix:numerator | ix:denominator | ix:nonFraction | ix:continuation | ix:exclude)*, got (img) line 213, Element img does not carry attribute alt line 213 -[] Instance Loaded. Load time 0:00:03.055280 from 'https://www.sec.gov/Archives/edgar/data/1742770/000110465923049651/viot-20221231x20f.htm' +[] Instance Loaded. Load time 0:00:02.777411 from 'https://www.sec.gov/Archives/edgar/data/1742770/000110465923049651/viot-20221231x20f.htm' [INFO] [INLIN001] list() [INFO] [INLIN001] list() [INFO] [INLIN001] list() @@ -664,7 +666,7 @@ Taxonomy Loaded. Load time 0:00:17.062815 from 'https://xbrl.fasb.org/us-gaap/20 [INFO] [INLIN007] list(

Name

    

Relationship with the Group

Mr. Chen

 

Founder

Xiaomi

 

Shareholder of the Group

Foshan Wanwuhulian Trade Co., Ltd. (“Foshan Wanwuhulian”)

 

Controlled by the Founder

, Founder, Shareholder of the Group, Controlled by the Founder) [INFO] [INLIN008] list(viot:ScheduleOfRelatedPartyTransactionRelationshipTableTextBlock, viot:RelatedPartyTransactionRelationshipDescription, viot:RelatedPartyTransactionRelationshipDescription, viot:RelatedPartyTransactionRelationshipDescription) [INFO] [INLIN010] 109 -[INFO] [INLIN011] 13 +[INFO] [INLIN011] 14 [INFO] [INLIN012] 6 [INFO] [INLIN013] 3 [INFO] [LU101] None @@ -693,21 +695,21 @@ Taxonomy Loaded. Load time 0:00:17.062815 from 'https://xbrl.fasb.org/us-gaap/20 [INFO] [LM015] False [INFO] [LM016] True [INFO] [LM017] True -[INFO] [LM018] list(45,436,000,000) [INFO] [LM018] list(42,144,000,000) [INFO] [LM018] list(40,230,000,000) -[INFO] [LM019] list(lang, 45,436,000,000) +[INFO] [LM018] list(45,436,000,000) [INFO] [LM019] list(lang, 42,144,000,000) [INFO] [LM019] list(lang, 40,230,000,000) +[INFO] [LM019] list(lang, 45,436,000,000) [INFO] [LM020] list(lang, 45,436,000,000) -[INFO] [LM020] list(lang, 42,144,000,000) [INFO] [LM020] list(lang, 40,230,000,000) +[INFO] [LM020] list(lang, 42,144,000,000) [INFO] [LM021] list(lang, 45,436,000,000) -[INFO] [LM021] list(lang, 42,144,000,000) [INFO] [LM021] list(lang, 40,230,000,000) -[INFO] [LM022] list(lang, list(45,436,000,000)) +[INFO] [LM021] list(lang, 42,144,000,000) [INFO] [LM022] list(lang, list(42,144,000,000)) [INFO] [LM022] list(lang, list(40,230,000,000)) +[INFO] [LM022] list(lang, list(45,436,000,000)) [INFO] [XU001] 1,234 [INFO] [XU002] 1.234 [INFO] [XU003] -1,234 @@ -719,11 +721,11 @@ Taxonomy Loaded. Load time 0:00:17.062815 from 'https://xbrl.fasb.org/us-gaap/20 [ERROR] [xule:error] rule ME102: Rule: ME102 - Divide by zero error. [INFO] [MESS001] pass - The value is 3 [INFO] [MESS002] pass - The value of Assets is 45,436,000,000 -[INFO] [MESS002] pass - The value of Assets is 42,144,000,000 [INFO] [MESS002] pass - The value of Assets is 40,230,000,000 +[INFO] [MESS002] pass - The value of Assets is 42,144,000,000 [INFO] [MESS003] The value of us-gaap:Assets is None or 45,436,000,000. -[INFO] [MESS003] The value of us-gaap:Assets is None or 42,144,000,000. [INFO] [MESS003] The value of us-gaap:Assets is None or 40,230,000,000. +[INFO] [MESS003] The value of us-gaap:Assets is None or 42,144,000,000. [INFO] [MESS004] The value of us-gaap:Assets is 45,436,000,000. Attribute Tests @@ -731,20 +733,20 @@ Assets debit -6 2021-06-30 -[INFO] [MESS004] The value of us-gaap:Assets is 42,144,000,000. +[INFO] [MESS004] The value of us-gaap:Assets is 40,230,000,000. Attribute Tests Assets debit -6 -2020-12-31 -[INFO] [MESS004] The value of us-gaap:Assets is 40,230,000,000. +2020-06-30 +[INFO] [MESS004] The value of us-gaap:Assets is 42,144,000,000. Attribute Tests Assets debit -6 -2020-06-30 +2020-12-31 [INFO] [MESS005] The value of Assets is 69,937,000,000. The components are us-gaap:Assets with a value of 45,436,000,000 and us-gaap:Liabilities with a value of 24,501,000,000 @@ -753,21 +755,21 @@ Attribute Tests f1 decimals:-6 f2 decimals:-6 -[INFO] [MESS005] The value of Assets is 65,620,000,000. -The components are us-gaap:Assets with a value of 42,144,000,000 and us-gaap:Liabilities with a value of 23,476,000,000 +[INFO] [MESS005] The value of Assets is 40,230,000,000. +The components are us-gaap:Assets with a value of 40,230,000,000 and None with a value of None Attribute Tests f1 decimals:-6 -f2 decimals:-6 +f2 decimals:None -[INFO] [MESS005] The value of Assets is 40,230,000,000. -The components are us-gaap:Assets with a value of 40,230,000,000 and None with a value of None +[INFO] [MESS005] The value of Assets is 65,620,000,000. +The components are us-gaap:Assets with a value of 42,144,000,000 and us-gaap:Liabilities with a value of 23,476,000,000 Attribute Tests f1 decimals:-6 -f2 decimals:None +f2 decimals:-6 [INFO] [MESS006] 6 + 7 = 13 [INFO] [MESS007] pass - The value of value list equals list(7, 8, 7, 8) for 7. The value of $x should only be 7 or 8. @@ -969,7 +971,7 @@ False [INFO] [DABS101] 10 [INFO] [DABS102] 10 [INFO] [DABS103] list(1, 3, 2, 1.1) -[INFO] [DABS104] set(3, 2, 1) +[INFO] [DABS104] set(1, 3, 2) [INFO] [DABS105] set() [ERROR] [xule:error] rule DABS106: Rule: DABS106 - Property 'abs' is not a property of a 'qname'. [ERROR] [xule:error] rule DABS107: Rule: DABS107 - Property 'abs' is not a property of a 'qname'. @@ -979,7 +981,7 @@ False [INFO] [DAVG103] 0 [INFO] [DAVG104] 0.62 (rounded 4d) [INFO] [DAVG105] nan -[INFO] [DAVG106] 3.85 (rounded 4d) +[INFO] [DAVG106] 3.85 [ERROR] [xule:error] rule DAVG107: Rule: DAVG107 - Property 'avg' is not a property of a 'int'. [ERROR] [xule:error] rule DAVG108: Rule: DAVG108 - Statistic properties expect nuemric inputs, found 'string'. [ERROR] [xule:error] rule DAVG109: Rule: DAVG109 - Statistic properties expect nuemric inputs, found 'none'. @@ -990,7 +992,7 @@ False [INFO] [DPOW103] list(1, 4, 10.89 (rounded 4d)) [INFO] [DPOW104] list(0.008264462809917356, 0.002066115702479339, 0.0009182736455463728) [INFO] [DPOW105] set(1,089, 121, 484) -[INFO] [DPOW106] set(4, 36, 1, 25, 9) +[INFO] [DPOW106] set(9, 4, 25, 36, 1) [ERROR] [xule:error] rule DPOW107: unsupported operand type(s) for ** or pow(): 'XuleString' and 'str' [ERROR] [xule:error] rule DPOW108: unsupported operand type(s) for ** or pow(): 'XuleString' and 'str' [ERROR] [xule:error] rule DPOW109: unsupported operand type(s) for ** or pow(): 'XuleString' and 'str' @@ -1010,12 +1012,12 @@ False [INFO] [POW102] 27 [INFO] [POW103] 0.125 [INFO] [POW104] 1.8616 (rounded 4d) -[INFO] [RAND101] 0.3673 (rounded 4d) -[INFO] [RAND102] 1.2842 (rounded 4d) -[INFO] [RAND103] 0.9416 (rounded 4d) -[INFO] [RAND104] -1.3281 (rounded 4d) -[INFO] [RAND105] 0.9024 (rounded 4d) -[INFO] [RAND106] list(0.8104 (rounded 4d), 1, 1.5967 (rounded 4d)) +[INFO] [RAND101] 0.3319 (rounded 4d) +[INFO] [RAND102] 3.6037 (rounded 4d) +[INFO] [RAND103] 0.5131 (rounded 4d) +[INFO] [RAND104] -1.7059 (rounded 4d) +[INFO] [RAND105] 0.5804 (rounded 4d) +[INFO] [RAND106] list(0.2379 (rounded 4d), 1, 1.9642 (rounded 4d)) [ERROR] [xule:error] rule RAND107: Rule: RAND107 - 'random' is not a valid property. [INFO] [ROUN101] list(1.03, 21.34) [INFO] [ROUN102] 21.34 @@ -1036,37 +1038,37 @@ False [INFO] [XU200] 7 [INFO] [XU201] 6 [INFO] [XU202] 12 -[INFO] [XU203] set(1, 2, 3, 4) -[INFO] [XU204] set(2, 1, 4, 3) +[INFO] [XU203] set(1, 3, 4, 2) +[INFO] [XU204] set(3, 2, 4, 1) [INFO] [XU205] set(4) [INFO] [XU206] set(4) -[INFO] [XU207] set(3, 4, 1, 2) +[INFO] [XU207] set(1, 4, 3, 2) [INFO] [XU208] set() [INFO] [XU209] set(4, 3) [INFO] [XU210] set() [INFO] [XU211] set(3) -[INFO] [XU212] set(3, 5, 1, 2, 4) +[INFO] [XU212] set(1, 3, 2, 4, 5) [INFO] [XU213] set(5) [INFO] [RES001] 3214 [INFO] [RES002] list(list(ISHARES MSCI CHILE ETF, MSCI CHILE ETF, 464286640, 2,674,884), list(ISHARES MSCI PACIFIC EX JAPAN ETF, MSCI PAC JP ETF, 464286665, 498,160), list(ISHARES LATIN AMERICA ETF, LATN AMER 40 ETF, 464287390, 2,000,516), list(ISHARES EUROPE ETF TRUST, EUROPE ETF, 464287861, 590,137), list(ISHARES MSCI JAPAN ETF, MSCI JPN ETF NEW, 46434G822, 706,801), list(SPDR S&P ETF TRUST, TR UNIT, 78462F103, 3,597,218)) [INFO] [RES003] list(AccountsPayableAndAccruedLiabilitiesCurrent, list(AccountsPayableCurrent, AccruedLiabilitiesCurrent, AccountsPayableOtherCurrent, OtherAccruedLiabilitiesCurrent)) [INFO] [RES004] list(list(10-K)) [INFO] [RES005] list(Commitments and Contingencies, Guarantees and Product Liability (Details) - USD ($), 12 Months Ended, None) -[INFO] [SM001] set(a, n, c, b, m) -[INFO] [SM002] set(c, D, b, B, d, A, a, C) -[INFO] [SM003] set(4, 1, 3, 2) -[INFO] [SM004] set(j, i, a, c, d, g, h, e, f, b) -[INFO] [SM005] set(4, 2, 3, 1) -[INFO] [SM006] set(2, 3, 4, 1) +[INFO] [SM001] set(m, c, a, n, b) +[INFO] [SM002] set(D, C, A, d, b, B, a, c) +[INFO] [SM003] set(3, 4, 1, 2) +[INFO] [SM004] set(e, c, f, a, g, i, j, h, b, d) +[INFO] [SM005] set(2, 4, 1, 3) +[INFO] [SM006] set(3, 1, 2, 4) [INFO] [SM007] set() [INFO] [SM008] set(3, None, 1, 4, 2) [ERROR] [xule:error] rule SM009: Rule: SM009 - Incompatabile operands set + list. [INFO] [SM010] set(3, 2) [INFO] [SM011] set() -[INFO] [SM012] set(b, c) -[INFO] [SM013] set(d, c, b, a) +[INFO] [SM012] set(c, b) +[INFO] [SM013] set(b, c, d, a) [INFO] [SM014] set() -[INFO] [SM015] set(Assets, EarningsPerShareBasic, DebtAndCapitalLeaseObligations, BankLoans) +[INFO] [SM015] set(BankLoans, Assets, DebtAndCapitalLeaseObligations, EarningsPerShareBasic) [INFO] [SM016] True [INFO] [SM017] False [INFO] [SM018] False @@ -1077,18 +1079,18 @@ False [INFO] [SM023] True [INFO] [SM024] set(3, 1, 2) [ERROR] [xule:error] rule SM025: Rule: SM025 - The 'index' property or index expression '[]' can only operate on a list or dictionary, found 'int' -[INFO] [SM026] set(45,436,000,000) [INFO] [SM026] set(42,144,000,000) [INFO] [SM026] set(40,230,000,000) -[INFO] [SM027] set(lang, 45,436,000,000) +[INFO] [SM026] set(45,436,000,000) [INFO] [SM027] set(lang, 42,144,000,000) [INFO] [SM027] set(lang, 40,230,000,000) +[INFO] [SM027] set(45,436,000,000, lang) [INFO] [SM028] set(lang, 45,436,000,000) -[INFO] [SM028] set(lang, 42,144,000,000) [INFO] [SM028] set(lang, 40,230,000,000) -[INFO] [SM029] set(lang, 45,436,000,000) -[INFO] [SM029] set(lang, 42,144,000,000) -[INFO] [SM029] set(lang, 40,230,000,000) +[INFO] [SM028] set(42,144,000,000, lang) +[INFO] [SM029] set(45,436,000,000, lang) +[INFO] [SM029] set(40,230,000,000, lang) +[INFO] [SM029] set(42,144,000,000, lang) [INFO] [SK100] 2 [INFO] [SK102] list(3) [INFO] [SK103] 3 @@ -1106,7 +1108,7 @@ False [INFO] [DLI101] 17 [INFO] [DLO101] abcdef [INFO] [DLO102] abcdef -[INFO] [DLO111] set(hello kitty, dog, cat) +[INFO] [DLO111] set(dog, hello kitty, cat) [INFO] [DNU101] 67 [INFO] [DNU102] 12,345 [INFO] [DNU103] 12.345 @@ -1162,14 +1164,14 @@ False [INFO] [NUM103] -22 [ERROR] [xule:error] rule NUM104: Rule: NUM104 - Cannot convert '' to a number [ERROR] [xule:error] rule NUM105: Rule: NUM105 - The first argument of function 'number' must be int, float, decimal, fact, found 'none'. -[INFO] [REGEX001] dictionary(match=de,groups=list(),start=4,match-count=1,end=5) -[INFO] [REGEX002] list(dictionary(end=5,match-count=1,groups=list(),start=4,match=de)) +[INFO] [REGEX001] dictionary(end=5,match=de,start=4,groups=list(),match-count=1) +[INFO] [REGEX002] list(dictionary(start=4,match=de,groups=list(),end=5,match-count=1)) [INFO] [REGEX003] de [INFO] [REGEX004] d [INFO] [REGEX005] list(cd, fg, cd, fg) [INFO] [REGEX006] list(d, g, d, g) -[INFO] [REGEX007] dictionary(end=5,groups=list(),match=de,start=4,match-count=1) -[INFO] [REGEX008] list(dictionary(start=4,groups=list(),match=de,match-count=1,end=5)) +[INFO] [REGEX007] dictionary(match=de,end=5,match-count=1,start=4,groups=list()) +[INFO] [REGEX008] list(dictionary(match-count=1,end=5,groups=list(),start=4,match=de)) [INFO] [REGEX009] de [INFO] [STR101] 5 [INFO] [STR102] cat @@ -1202,12 +1204,21 @@ False [INFO] [CONPROP018] list(http://www.xbrl.org/2003/role/disclosureRef ref:Publisher: FASB ref:Name: Accounting Standards Codification - codification-part:Topic: 323 + codification-part:Topic: 810 codification-part:SubTopic: 10 ref:Section: 50 ref:Paragraph: 3 + ref:Subparagraph: (bb) + codification-part:URI: http://asc.fasb.org/extlink&oid=121559654&loc=d3e5710-111685 +, http://www.xbrl.org/2003/role/disclosureRef + ref:Publisher: FASB + ref:Name: Accounting Standards Codification + codification-part:Topic: 280 + codification-part:SubTopic: 10 + ref:Section: 50 + ref:Paragraph: 30 ref:Subparagraph: (c) - codification-part:URI: http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 + codification-part:URI: http://asc.fasb.org/extlink&oid=120311839&loc=d3e8906-108599 , http://www.xbrl.org/2003/role/disclosureRef ref:Publisher: FASB ref:Name: Accounting Standards Codification @@ -1217,6 +1228,15 @@ False ref:Paragraph: 28 ref:Subparagraph: (f) codification-part:URI: http://asc.fasb.org/extlink&oid=75031198&loc=d3e14064-108612 +, http://www.xbrl.org/2003/role/disclosureRef + ref:Publisher: FASB + ref:Name: Accounting Standards Codification + codification-part:Topic: 323 + codification-part:SubTopic: 10 + ref:Section: 50 + ref:Paragraph: 3 + ref:Subparagraph: (c) + codification-part:URI: http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 , http://www.xbrl.org/2003/role/disclosureRef ref:Publisher: FASB ref:Name: Accounting Standards Codification @@ -1252,24 +1272,6 @@ False ref:Paragraph: 25 ref:Subparagraph: (a) codification-part:URI: http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988 -, http://www.xbrl.org/2003/role/disclosureRef - ref:Publisher: FASB - ref:Name: Accounting Standards Codification - codification-part:Topic: 280 - codification-part:SubTopic: 10 - ref:Section: 50 - ref:Paragraph: 30 - ref:Subparagraph: (c) - codification-part:URI: http://asc.fasb.org/extlink&oid=120311839&loc=d3e8906-108599 -, http://www.xbrl.org/2003/role/disclosureRef - ref:Publisher: FASB - ref:Name: Accounting Standards Codification - codification-part:Topic: 810 - codification-part:SubTopic: 10 - ref:Section: 50 - ref:Paragraph: 3 - ref:Subparagraph: (bb) - codification-part:URI: http://asc.fasb.org/extlink&oid=121559654&loc=d3e5710-111685 ) [ERROR] [xule:error] rule CONPROP019: Rule: CONPROP019 - Property 'relationships' is not a property of a 'concept'. [ERROR] [xule:error] rule CONPROP020: Rule: CONPROP020 - 'source-relationships' is not a valid property. @@ -1298,11 +1300,15 @@ False Cube: us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTable DRS Role: http://fasb.org/us-gaap/role/disclosure/FinancialInstrumentsFairValueDisclosuresScheduleOfFairValueOffBalanceSheetRisksTable Members: + us-gaap:VarianceSwapMember + us-gaap:PrivateEquityFundsMember us-gaap:CommoditiesInvestmentMember us-gaap:RealEstateFundsMember us-gaap:SingleStockFutureMember + us-gaap:EurodollarFutureMember us-gaap:LongTermDebtMember us-gaap:BasisSwapMember + us-gaap:CapitalSupportAgreementMember us-gaap:CreditSpreadOptionMember us-gaap:EquityFundsMember us-gaap:InterestRateFloorMember @@ -1314,7 +1320,6 @@ Members: us-gaap:EnergyRelatedDerivativeMember us-gaap:ForeignExchangeForwardMember us-gaap:CreditDefaultOptionMember - us-gaap:FairValueOptionOtherEligibleItemsMember us-gaap:InsuranceContractRightsAndObligationsFairValueOptionMember us-gaap:PrivateEquityFundsDomesticMember us-gaap:InterestRateCapMember @@ -1322,10 +1327,10 @@ Members: us-gaap:HedgeFundsEquityMember us-gaap:VentureCapitalFundsMember us-gaap:CurrencySwapMember - us-gaap:ShortTermDebtMember us-gaap:DerivativeMember us-gaap:CommodityOptionMember us-gaap:SeparatedHostFinancialInstrumentFairValueOptionMember + us-gaap:FairValueOptionOtherEligibleItemsMember us-gaap:OptionMember us-gaap:CommitmentsToExtendCreditMember us-gaap:TotalReturnSwapMember @@ -1347,7 +1352,7 @@ Members: us-gaap:HedgeFundsEventDrivenMember us-gaap:BondOptionMember us-gaap:ExchangeTradedOptionsMember - us-gaap:PrivateEquityFundsMember + us-gaap:ShortTermDebtMember us-gaap:TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain (DOMAIN) (DEFAULT) us-gaap:SwapMember us-gaap:OptionOnSecuritiesMember @@ -1358,24 +1363,25 @@ Members: us-gaap:WarrantyRightsAndObligationsFairValueOptionMember us-gaap:SwaptionMember us-gaap:EuriborFutureMember - us-gaap:PrivateEquityFundsForeignMember + us-gaap:LoanOriginationCommitmentsMember us-gaap:EquitySwapMember - us-gaap:CapitalSupportAgreementMember + us-gaap:PrivateEquityFundsForeignMember us-gaap:DebtMember - us-gaap:LoanOriginationCommitmentsMember us-gaap:HedgeFundsMultistrategyMember - us-gaap:EurodollarFutureMember - us-gaap:VarianceSwapMember ) [INFO] [TAXPROP016] set(Dimension: us-gaap:FinancialInstrumentAxis Cube: us-gaap:ScheduleOfFairValueOffBalanceSheetRisksTable DRS Role: http://fasb.org/us-gaap/role/disclosure/FinancialInstrumentsFairValueDisclosuresScheduleOfFairValueOffBalanceSheetRisksTable Members: + us-gaap:VarianceSwapMember + us-gaap:PrivateEquityFundsMember us-gaap:CommoditiesInvestmentMember us-gaap:RealEstateFundsMember us-gaap:SingleStockFutureMember + us-gaap:EurodollarFutureMember us-gaap:LongTermDebtMember us-gaap:BasisSwapMember + us-gaap:CapitalSupportAgreementMember us-gaap:CreditSpreadOptionMember us-gaap:EquityFundsMember us-gaap:InterestRateFloorMember @@ -1387,7 +1393,6 @@ Members: us-gaap:EnergyRelatedDerivativeMember us-gaap:ForeignExchangeForwardMember us-gaap:CreditDefaultOptionMember - us-gaap:FairValueOptionOtherEligibleItemsMember us-gaap:InsuranceContractRightsAndObligationsFairValueOptionMember us-gaap:PrivateEquityFundsDomesticMember us-gaap:InterestRateCapMember @@ -1395,10 +1400,10 @@ Members: us-gaap:HedgeFundsEquityMember us-gaap:VentureCapitalFundsMember us-gaap:CurrencySwapMember - us-gaap:ShortTermDebtMember us-gaap:DerivativeMember us-gaap:CommodityOptionMember us-gaap:SeparatedHostFinancialInstrumentFairValueOptionMember + us-gaap:FairValueOptionOtherEligibleItemsMember us-gaap:OptionMember us-gaap:CommitmentsToExtendCreditMember us-gaap:TotalReturnSwapMember @@ -1420,7 +1425,7 @@ Members: us-gaap:HedgeFundsEventDrivenMember us-gaap:BondOptionMember us-gaap:ExchangeTradedOptionsMember - us-gaap:PrivateEquityFundsMember + us-gaap:ShortTermDebtMember us-gaap:TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain (DOMAIN) (DEFAULT) us-gaap:SwapMember us-gaap:OptionOnSecuritiesMember @@ -1431,14 +1436,11 @@ Members: us-gaap:WarrantyRightsAndObligationsFairValueOptionMember us-gaap:SwaptionMember us-gaap:EuriborFutureMember - us-gaap:PrivateEquityFundsForeignMember + us-gaap:LoanOriginationCommitmentsMember us-gaap:EquitySwapMember - us-gaap:CapitalSupportAgreementMember + us-gaap:PrivateEquityFundsForeignMember us-gaap:DebtMember - us-gaap:LoanOriginationCommitmentsMember us-gaap:HedgeFundsMultistrategyMember - us-gaap:EurodollarFutureMember - us-gaap:VarianceSwapMember ) [INFO] [TAXPROP017] 6 [INFO] [TAXPROP018] 6 @@ -1459,20 +1461,20 @@ False Cube: us-gaap:ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable DRS Role: http://fasb.org/us-gaap/role/disclosure/SegmentReportingScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable Members: + srt:AsiaMember + us-gaap:EuropeanUnionMember + srt:AmericasMember srt:AsiaPacificMember srt:AfricaMember - srt:CentralAmericaMember - srt:NorthAmericaMember + srt:LatinAmericaMember srt:SegmentGeographicalDomain (DOMAIN) (DEFAULT) us-gaap:NonUsMember + srt:NorthAmericaMember us-gaap:EMEAMember srt:EuropeMember - us-gaap:EuropeanUnionMember + srt:CentralAmericaMember srt:SouthAmericaMember us-gaap:MiddleEastMember - srt:LatinAmericaMember - srt:AsiaMember - srt:AmericasMember [INFO] [TAXPROP026] srt:SegmentGeographicalDomain [INFO] [TAXPROP027] srt:SegmentGeographicalDomain @@ -1601,17 +1603,17 @@ False [INFO] [VE102] False [INFO] [VE104] True [INFO] [VE105] 45,436,000,000 -[INFO] [VE105] 42,144,000,000 [INFO] [VE105] 40,230,000,000 +[INFO] [VE105] 42,144,000,000 [INFO] [VE106] 45,436,000,000 -[INFO] [VE106] 42,144,000,000 [INFO] [VE106] 40,230,000,000 +[INFO] [VE106] 42,144,000,000 [INFO] [VE107] 45,436,000,000 -[INFO] [VE107] 42,144,000,000 [INFO] [VE107] 40,230,000,000 +[INFO] [VE107] 42,144,000,000 [INFO] [VE108] 45,436,000,000 -[INFO] [VE108] 42,144,000,000 [INFO] [VE108] 40,230,000,000 +[INFO] [VE108] 42,144,000,000 [INFO] [VE111] 45,436,000,000 -[INFO] [VE111] 42,144,000,000 [INFO] [VE111] 40,230,000,000 +[INFO] [VE111] 42,144,000,000 diff --git a/unitTests/source/base/factFilters.xule b/unitTests/source/base/factFilters.xule index 454e4f59d..d750bd4fe 100644 --- a/unitTests/source/base/factFilters.xule +++ b/unitTests/source/base/factFilters.xule @@ -1,299 +1,299 @@ -/* FactFilter */ +/* FactFilter */ output CFILT101 /* set(debit) */ set([covered @instance = $INSTANCE1 @Assets]).concept.balance - + output CFILT102 /* Rule: CFILT102 - Property 'balance' is not a property of a 'decimal'. */ set([covered @instance = $INSTANCE1 @Assets]).balance - + output CFILT103 /* set(us-gaap:Assets) */ $a = [covered @instance = $INSTANCE1 @Assets]; set($a.concept.name) - + output CFILT104 /* set(modelType[45864, qname: xbrli:monetaryItemType, derivedFrom: xbrli:monetary, xbrl-instance-2003-12-31.xsd, line 269] */ $a = [covered @instance = $INSTANCE1 @Assets]; set($a.concept.data-type) - + output CFILT105 /* set(modelType[45864, qname: xbrli:monetaryItemType, derivedFrom: xbrli:monetary, xbrl-instance-2003-12-31.xsd, line 269]) */ $a = [covered @instance = $INSTANCE1 @Assets]; set($a.data-type) - + output CFILT106 /* set(none) */ $a = set([covered @instance = $INSTANCE1 @Assets]); set($a.decimals) - + output CFILT107 /* none */ $a = set([covered @instance = $INSTANCE1 @Assets]); $a.decimals - + output CFILT108 /* set(-6) */ $a = list([covered @instance = $INSTANCE1 @Assets]); set($a[1].decimals) - + output CFILT109 /* -6 */ $a = list([covered @instance = $INSTANCE1 @Assets]); $a[1].decimals - + output CFILT110 /* Assets */ $a = list([covered @instance = $INSTANCE1 @Assets]); $a[2].concept.name.local-name - + output CFILT111 /* DepreciationAndAmortizationDiscontinuedOperations */ $a = $US-GAAP-2020.concepts.to-list; $a[2].name.local-name - + output CFILT112 /* all - error message missing for index on set. */ $a = set([covered @instance = $INSTANCE1 @]); $a[2].name - + output CFILT113 /* Rule: CFILT113 - The 'index' property or index expression '[]' can only operate on a list or dictionary, found 'none' */ $a = taxonomy().concepts.to-set; $a[2].name - + output CFILT114 /* set(instant) */ $a = set([covered @instance = $INSTANCE1 @Assets]); $a.concept.period-type - + output CFILT115 /* Property 'period-type' is not a property of a 'decimal'. */ $a = set([covered @instance = $INSTANCE1 @Assets]); $a.period-type - + output CFILT116 /* set(xbrli:item) */ $a = set([covered @instance = $INSTANCE1 @Assets]); $a.concept.substitution - + output CFILT117 /* set(xbrli:item) */ $a = set([covered @instance = $INSTANCE1 @Assets]); $a.substitution - + output CFILT118 /* set(5,198,000,000, 7,895,000,000, 8,515,000,000, 2,635,000,000, 10,146,000,000, 1,631,000,000, 16,848,000,000, 2,579,000,000, 40,230,000,000, 1,740,000,000, 271,000,000, 1,117,000,000, 45,436,000,000, 2,697,000,000, 5,288,000,000, 7,923,000,000, 180,000,000, 8,795,000,000, 1,795,000,000, 10,590,000,000, 259,000,000, 1,777,000,000, 18,461,000,000, 726,000,000, 5,334,000,000, 42,144,000,000) */ set({covered @instance = $INSTANCE1 @concept = Assets}) - + output CFILT119 /* set(45,436,000,000, 42,144,000,000, 40,230,000,000) */ set([covered @instance = $INSTANCE1 @Assets]) - + output CFILT120 /* 632 */ set({covered @instance = $INSTANCE1 @concept}).count - + output CFILT121 /* 315 */ set([covered @instance = $INSTANCE1 @concept]).count - + output CFILT122 /* 315 */ set([covered @instance = $INSTANCE1 @concept = *]).count - + output CFILT123 /* 3 */ list([covered @instance = $INSTANCE1 @concept.local-name = 'Assets']).count - + output CFILT124 /* 112 */ list([covered @instance = $INSTANCE1 @concept.period-type = instant]).count - + output CFILT125 /* 112 */ list([covered @instance = $INSTANCE1 @concept.period-type = INSTANT]).count - + output CFILT126 /* 112 */ list([covered @instance = $INSTANCE1 @concept.period-type = 'instant']).count - + output CFILT127 /* 305 */ list([covered @instance = $INSTANCE1 @concept.period-type = duration]).count - + output CFILT128 /* 305 */ list([covered @instance = $INSTANCE1 @concept.period-type = Duration]).count - + output CFILT129 /* 305 */ list([covered @instance = $INSTANCE1 @concept.period-type = 'duration']).count - + output CFILT130 /* 166 */ list([covered @instance = $INSTANCE1 @concept.balance = credit]).count - + output CFILT131 /* 166 */ list([covered @instance = $INSTANCE1 @concept.balance = 'credit']).count - + output CFILT132 /* 167 */ list([covered @instance = $INSTANCE1 @concept.balance = debit]).count - + output CFILT133 /* 167 */ list([covered @instance = $INSTANCE1 @concept.balance = 'debit']).count - + output CFILT134 /* 84 */ list([covered @instance = $INSTANCE1 @concept.balance = none]).count - + output CFILT135 /* 0 */ list([covered @instance = $INSTANCE1 @concept.balance = 'none']).count - + output CFILT136 /* 333 */ list([covered @instance = $INSTANCE1 @concept.balance = *]).count - + output CFILT137 /* list() */ list({covered @instance = $INSTANCE1 @concept.attribute(someattr) = *}) - + output CFILT138 /* 1449 */ list({covered @instance = $INSTANCE1 @concept.data-type = xbrli:monetaryItemType}).count - + output CFILT139 /* 1449 */ list({covered @instance = $INSTANCE1 @concept.is-monetary = true}).count - + output CFILT140 /* 1535 */ list({covered @instance = $INSTANCE1 @concept.is-numeric = true}).count - + output CFILT141 /* 1579 */ list({covered @instance = $INSTANCE1 @concept.substitution = xbrli:item}).count - + output CFILT142 /* 21 */ list({covered @instance = $INSTANCE1 @concept.namespace-uri = 'http://xbrl.sec.gov/dei/2020-01-31'}).count - + output CFILT143 /* 318 */ list({covered @instance = $INSTANCE1 @concept.period-type = instant @concept.balance = debit}).count - + output CFILT144 /* 27 */ list({covered @instance = $INSTANCE1 @concept.base-type = xbrli:stringItemType @concept.data-type != us-types:zoneStatusItemType}).count - + output CFILT145 /* 26 */ list({covered @instance = $INSTANCE1 @concept in list(Assets, Land, Cash, AccountsReceivable)}).count - + output CFILT146 /* 1553 */ list({covered @instance = $INSTANCE1 @concept not in list(Assets, Land, Cash, AccountsReceivable)}).count - + output PFILT101 /* 205 */ list({covered @instance = $INSTANCE1 @period = date('2020-12-31')}).count - + output PFILT102 /* 0 */ list({covered @instance = $INSTANCE1 @period = duration('2020-01-01', '2021-01-01')}).count - + output PFILT103 /* 50 */ list([covered @instance = $INSTANCE1@period = date('2020-12-31')]).count - + output PFILT104 /* Expected period = function, keyword or varaible */ [@period = cats('2020-12-31')] - + output NOFILT001 /* 1579 */ list(covered @instance = $INSTANCE1).count - + output NOFILT002 /* error */ list({covered @instance = $INSTANCE1 @}).count - + output NOFILT003 /* 632 */ set({covered @instance = $INSTANCE1}).count - + output NOFILT004 /* 135 */ set([covered @instance = $INSTANCE1]).count - + output INSFILT001 /* 1739 */ $INSTANCE1.facts.count - + output INSFILT002 /* -41000000 */ first($INSTANCE1.facts.sort) - + output INSFILT003 /* 1577 */ (filter ($INSTANCE1.facts.sort) where $item.concept.is-monetary == true).count - + output INSFILT004 /* 110 */ (filter ($INSTANCE1.facts.sort) where $item.concept.is-numeric == true and $item.concept.is-monetary != true).count - + output INSFILT005 /* 1577 */ list({covered @instance = $INSTANCE1 @concept.is-numeric = true @concept.is-monetary = false}).count - + output UNITFILT001 /* False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259,period=2021-01-01 to 2021-07-01) False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) */ @@ -302,7 +302,7 @@ False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) */ message '{$rule-value} with alignment {$alignment}' - + output UNITFILT002 /* True with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) */ @@ -310,7 +310,7 @@ output UNITFILT002 message '{$rule-value} with alignment {$alignment}' - + output UNITFILT003 /* True with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) */ @@ -318,7 +318,7 @@ output UNITFILT003 message '{$rule-value} with alignment {$alignment}' - + output UNITFILT004 /* False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) */ @@ -326,7 +326,7 @@ output UNITFILT004 message '{$rule-value} with alignment {$alignment}' - + output UNITFILT005 /* False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259,period=2021-01-01 to 2021-07-01) False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) */ @@ -335,7 +335,7 @@ False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) */ message '{$rule-value} with alignment {$alignment}' - + output UNITFILT006 /* False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259,unit=USD) False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259,period=2021-01-01 to 2021-07-01) */ @@ -344,7 +344,7 @@ False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259,period= message '{$rule-value} with alignment {$alignment}' - + output UNITFILT007 /* True with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) */ @@ -352,7 +352,7 @@ output UNITFILT007 message '{$rule-value} with alignment {$alignment}' - + output UNITFILT008 /* True with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) */ @@ -360,7 +360,7 @@ output UNITFILT008 message '$rule-value} with alignment {$alignment}' - + output UNITFILT009 /* False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259,unit=USD) False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) */ @@ -369,7 +369,7 @@ False with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259) */ message '{$rule-value} with alignment {$alignment}' - + output UNITFILT010 /* True with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259,unit=USD) */ @@ -377,7 +377,7 @@ output UNITFILT010 message '{$rule-value} with alignment {$alignment}' - + output UNITFILT011 /* True with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259,unit=USD,period=2021-01-01) True with alignment dictionary(period=2020-07-01,unit=USD,entity=http://www.sec.gov/CIK=0000831259) @@ -387,35 +387,33 @@ True with alignment dictionary(entity=http://www.sec.gov/CIK=0000831259,unit=USD message '{$rule-value} with alignment {$alignment}' - + output MULTIIN001 /* 3215 */ list(covered @instance in list($INSTANCE1, $INSTANCE2)).count - + output MULTIIN002 /* */ list([covered @instance in list($INSTANCE1, $INSTANCE2) @concept=Assets]).sort - + output CUBEFILT001 /* 243 */ list({covered @instance = $INSTANCE1 @cube in $STATEMENT_CUBES}).count - + output CUBEFILT002 -/* 28 */ +/* 243 */ list({covered @instance = $INSTANCE1 @cube in $STATEMENT_CUBES @cube in $STATEMENT_CUBES}).count - + output CUBEFILT003 /* 1185 */ list({covered @instance = $INSTANCE1 @cube not in $STATEMENT_CUBES}).count - + output CUBEFILT004 -/* */ +/* 14 */ list({covered @instance = $INSTANCE1 @concept=PaymentsToAcquireProductiveAssets @cube.name = StatementTable @cube.drs-role = 'http://www.fcx.com/role/ConsolidatedStatementsofCashFlowsUnaudited'}).count - - diff --git a/unitTests/source/base/factFunctions.xule b/unitTests/source/base/factFunctions.xule index b327ab88f..af1718550 100644 --- a/unitTests/source/base/factFunctions.xule +++ b/unitTests/source/base/factFunctions.xule @@ -85,16 +85,26 @@ output FACT017 max(list({covered @instance = $INSTANCE1 @RevenueFromContractWithCustomerIncludingAssessedTax where $fact.dimension(srt:ProductOrServiceAxis).name == GoldMember })) output FACT018 -/* */ +/* id3VybDovL2RvY3MudjEvZG9jOjBjNGY0MDFmYTkzZDQ2ZTI4ZThhZjAxZmZjM2Y0YTZlL3NlYzowYzRmNDAxZmE5M2Q0NmUyOGU4YWYwMWZmYzNmNGE2ZV84NS9mcmFnOjc3ODM5NWZjZGU2YjRlMGJhMzE3MGI3Nzc2NmFjMTNkL3RhYmxlOmMzZmNlZTEzMDUyNjRlYzc4NTYyYmVhM2Q0ZDVmYmFiL3RhYmxlcmFuZ2U6YzNmY2VlMTMwNTI2NGVjNzg1NjJiZWEzZDRkNWZiYWJfMjMtMzMtMS0xLTA_c4eb4598-51a9-477f-b124-4d491471499d */ max(list([covered @instance = $INSTANCE1 @Assets])).id output FACT019 /* */ - max(list([covered @instance = $INSTANCE1 where $fact.id == 'id3VybDovL2RvY3MudjEvZG9jOjBjNGY0MDFmYTkzZDQ2ZTI4ZThhZjAxZmZjM2Y0YTZlL3NlYzowYzRmNDAxZmE5M2Q0NmUyOGU4YWYwMWZmYzNmNGE2ZV8xNi9mcmFnOjc0ZmNjZWZjMzhjMzRiOWZhMmM1OWM4OGJkNTQzOTUzL3RhYmxlOmM0YTNmOWY5NDdlYjQ1ZTM4MTBjZmU5NzhiNzQ1NjAwL3RhYmxlcmFuZ2U6YzRhM2Y5Zjk0N2ViNDVlMzgxMGNmZTk3OGI3NDU2MDBfMjItMS0xLTEtMA_05140392'])) + max(list([covered @instance = $INSTANCE1 where $fact.id == 'id3VybDovL2RvY3MudjEvZG9jOjBjNGY0MDFmYTkzZDQ2ZTI4ZThhZjAxZmZjM2Y0YTZlL3NlYzowYzRmNDAxZmE5M2Q0NmUyOGU4YWYwMWZmYzNmNGE2ZV84NS9mcmFnOjc3ODM5NWZjZGU2YjRlMGJhMzE3MGI3Nzc2NmFjMTNkL3RhYmxlOmMzZmNlZTEzMDUyNjRlYzc4NTYyYmVhM2Q0ZDVmYmFiL3RhYmxlcmFuZ2U6YzNmY2VlMTMwNTI2NGVjNzg1NjJiZWEzZDRkNWZiYWJfMjMtMzMtMS0xLTA_c4eb4598-51a9-477f-b124-4d491471499d'])) output FACT020 -/* */ +/* 1739 */ + + max(list([covered @instance = $INSTANCE1 @Assets])).instance.facts.count + +output FACT021 +/* FACT021 - Property 'name' is not a property of a 'cube' */ + + max(list([covered @instance = $INSTANCE1 @Assets])).cubes.name + +output FACT022 +/* set(us-gaap:ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable, us-gaap:ScheduleOfSegmentReportingInformationBySegmentTable) */ - max(list([covered @instance = $INSTANCE1 @Assets])).instance + max(list([covered @instance = $INSTANCE1 @Assets])).cubes.cube-concept