Created
February 7, 2022 16:15
-
-
Save johnlpage/461e0ef694fd7f7d7446af8c63957b42 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"errInfo": { | |
"failingDocumentId": "test", | |
"details": { | |
"operatorName": "$and", | |
"clausesNotSatisfied": [ | |
{ | |
"index": 0, | |
"details": { | |
"operatorName": "$expr", | |
"specifiedAs": { | |
"$expr": { | |
"$eq": [ | |
"$cksum", | |
{ | |
"$let": { | |
"vars": { | |
"s": { | |
"$reduce": { | |
"input": [ | |
"$x", | |
"$y", | |
"$s" | |
], | |
"initialValue": "", | |
"in": { | |
"$concat": [ | |
"$$value", | |
{ | |
"$toString": "$$this" | |
}, | |
"." | |
] | |
} | |
} | |
} | |
}, | |
"in": { | |
"$reduce": { | |
"input": { | |
"$range": [ | |
0, | |
{ | |
"$strLenCP": "$$s" | |
} | |
] | |
}, | |
"initialValue": 56781234, | |
"in": { | |
"$mod": [ | |
{ | |
"$add": [ | |
"$$value", | |
{ | |
"$multiply": [ | |
{ | |
"$pow": [ | |
227, | |
{ | |
"$mod": [ | |
{ | |
"$add": [ | |
"$$this", | |
1 | |
] | |
}, | |
6 | |
] | |
} | |
] | |
}, | |
{ | |
"$add": [ | |
1, | |
{ | |
"$convert": { | |
"to": "int", | |
"onError": 10, | |
"input": { | |
"$substrCP": [ | |
"$$s", | |
"$$this", | |
1 | |
] | |
} | |
} | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
1048576 | |
] | |
} | |
} | |
} | |
} | |
} | |
] | |
} | |
}, | |
"reason": "expression did not match", | |
"expressionResult": false | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment