A license record has three columns: weights, data_statement, and output. The filename DemoOpen cannot fill those three columns. commercial is false, and the reason is “missing license: weights, data_statement, output”. If all three columns are copied from the filename, the reason becomes “a filename cannot stand in for a license”. commercial is true only when the columns are “LICENSE is open”, “the model card is open”, and “the output terms are open”. The function does not interpret the excerpt text.