executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
evaluationEnable built-in perplexity evaluation with `model.evaluate` and scaffolded adapter-based evaluation with persisted JSON results.
Independent GitHub snapshot · Automated classification · Original documentation governs
model.evaluate and
scaffolded adapter-based evaluation with persisted JSON results."
disable-model-invocation: true
metadata:
disco-role: operating
license: Apache 2.0Use this sub-skill for xTuring evaluation work that stays inside the package's current contract.
model.evaluate(...) and get a single perplexity scalar.BaseEvalAdapter.EvalRunResult JSON artifact with run_eval_adapter(...) or persist_eval_result(...).EvalMetric and EvalRunResult payloads.references/evaluation-workflows.mdreferences/api-reference.mdreferences/troubleshooting.mdCausalModel.evaluate(dataset, batch_size=1)BaseEvalAdapterLMEvalAdapterrun_eval_adapter(...)persist_eval_result(...)EvalMetricEvalRunResultmodel.evaluate(...) returns one perplexity tensor, not a metric table.run_eval_adapter(...) returns EvalRunResult and fills timing fields when the adapter does not.persist_eval_result(...) writes the result as UTF-8 JSON with parent directories created as needed.LMEvalAdapter currently returns status="planned" and metadata["integration_status"]="scaffold_only".Use scripts/evaluation_scaffold_smoke.py to verify the adapter and persistence contract without downloading a model.
If a dataset fails validation, fix it in the data sub-skill first; evaluation assumes an already-valid dataset object.