Also known as output condition, postconditions, output conditions
In computer programming, a postcondition is a condition or predicate that must always be true just after the execution of some section of code or after an operation in a formal specification. Postconditions are sometimes tested using assertions within the code itself. Often, postconditions are simply included in the documentation of the affected section of code.
在计算机编程中,后置条件指在执行一段代码后必须成立的条件或谓词。 例如,阶乘的结果应该是大于等于1的整数。
Abstract from DBpedia / Wikipedia · CC BY-SA
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).