@@ -24,7 +24,7 @@ func TestNewEvaluationFile(t *testing.T) {
2424 require .NoError (t , err )
2525
2626 expectedEvaluationFileContent := bytesutil .StringTrimIndentations (`
27- model-id,language,repository,case,task,run,coverage,files-executed,files-executed-maximum-reachable,generate-tests-for-file-character-count,processing-time,response-character-count,response-no-error,response-no-excess,response-with-code,tests-passing,token-input,token-output
27+ model-id,language,repository,case,task,run,costs-total-actual, coverage,files-executed,files-executed-maximum-reachable,generate-tests-for-file-character-count,native-token-input,native-token-output ,processing-time,response-character-count,response-no-error,response-no-excess,response-with-code,tests-passing,token-input,token-output
2828 ` )
2929
3030 assert .Equal (t , expectedEvaluationFileContent , string (actualEvaluationFileContent ))
@@ -65,8 +65,8 @@ func TestWriteEvaluationRecord(t *testing.T) {
6565 },
6666
6767 ExpectedCSV : `
68- model-id,language,repository,case,task,run,coverage,files-executed,files-executed-maximum-reachable,generate-tests-for-file-character-count,processing-time,response-character-count,response-no-error,response-no-excess,response-with-code,tests-passing,token-input,token-output
69- mocked-model,golang,golang/plain,plain.go,write-tests,1,0,0,0,0,0,0,0,0,0,0,0,0
68+ model-id,language,repository,case,task,run,costs-total-actual, coverage,files-executed,files-executed-maximum-reachable,generate-tests-for-file-character-count,native-token-input,native-token-output ,processing-time,response-character-count,response-no-error,response-no-excess,response-with-code,tests-passing,token-input,token-output
69+ mocked-model,golang,golang/plain,plain.go,write-tests,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
7070 ` ,
7171 })
7272 validate (t , & testCase {
@@ -90,9 +90,9 @@ func TestWriteEvaluationRecord(t *testing.T) {
9090 },
9191
9292 ExpectedCSV : `
93- model-id,language,repository,case,task,run,coverage,files-executed,files-executed-maximum-reachable,generate-tests-for-file-character-count,processing-time,response-character-count,response-no-error,response-no-excess,response-with-code,tests-passing,token-input,token-output
94- mocked-model,golang,golang/plain,plain.go,write-tests,1,0,1,1,0,0,0,1,0,0,0,0,0
95- mocked-model,golang,golang/plain,plain.go,write-tests-symflower-fix,1,10,1,1,0,0,0,1,0,0,0,0,0
93+ model-id,language,repository,case,task,run,costs-total-actual, coverage,files-executed,files-executed-maximum-reachable,generate-tests-for-file-character-count,native-token-input,native-token-output ,processing-time,response-character-count,response-no-error,response-no-excess,response-with-code,tests-passing,token-input,token-output
94+ mocked-model,golang,golang/plain,plain.go,write-tests,1,0,0, 1,1,0,0 ,0,0,0,1,0,0,0,0,0
95+ mocked-model,golang,golang/plain,plain.go,write-tests-symflower-fix,1,0, 10,1,1,0,0 ,0,0,0,1,0,0,0,0,0
9696 ` ,
9797 })
9898}
0 commit comments