EvalPort: portable interchange for SwiftEval results
Hi ms-swift team — I maintain EvalPort (https://github.com/adhabnr-ux/evalport), an open JSON-Schema spec for portable LLM eval test cases, graders, and result sets.
swift/pipelines/eval/eval.py's SwiftEval.run()/get_task_result() wraps EvalScope (Native/OpenCompass/VLMEvalKit backends), builds a {dataset: {metric: score}} dict per backend, and appends it plus run metadata (model, adapters, time) to eval_result.jsonl via append_to_jsonl — this is close to an EvalPort ResultSet with per-dataset GraderResults, and run-level metadata already separated out in EvalArguments (swift/arguments/eval_args.py). A converter from that eval_report dict to EvalPort's ResultSet would let swift eval runs across the three backends be compared in one common format instead of three backend-specific report shapes. Just flagging the fit, not asking you to prioritize it.
Schemas: https://github.com/adhabnr-ux/evalport/tree/main/spec/schemas
— Sahi, independent contributor (not affiliated with ms-swift)
Source: modelscope/ms-swift