How can you enumerate model–language tests before any run exists?

CROSS JOIN forms the Cartesian product, pairing every model with every language.

SQLite example and interpretation

Two models and two languages yield four test slots. Estimate the product before adding hardware and version dimensions.

WITH m(x) AS (VALUES('a'),('b')), l(y) AS (VALUES('en'),('zh')) SELECT x,y FROM m CROSS JOIN l ORDER BY x,y;

Result [["a", "en"], ["a", "zh"], ["b", "en"], ["b", "zh"]]

中文

怎样为尚未运行的模型与语言组合预建测试清单?

CROSS JOIN 形成笛卡尔积,每个模型和每种语言各配对一次。

SQLite 示例与适用条件

两种模型和两种语言产生四个待测项。加入版本、硬件等维度前应先估算乘积大小。

WITH m(x) AS (VALUES('a'),('b')), l(y) AS (VALUES('en'),('zh')) SELECT x,y FROM m CROSS JOIN l ORDER BY x,y;

结果 [["a", "en"], ["a", "zh"], ["b", "en"], ["b", "zh"]]

References / 参考来源

Keep reading / 继续阅读