Seven-Task Evaluation of Lightweight Models: Comparing Agentic and Programming Capabilities
Lightweight models with low latency and cost are increasingly vital for personal agents, content generation, and coding assistance. However, selecting the right model requires more than just looking at a single leaderboard score. This article introduces a seven-task evaluation framework that abstracts diverse scenarios into core capabilities, differentiating between agentic and programming proficiencies. It details task design, a unified evaluation protocol, metric layers, and engineering best practices to help developers form reproducible, explainable, and actionable technical conclusions.
Seven-Task Evaluation of Lightweight Models: Comparing Agentic and Programming Capabilities
1. Problem Background: Multi-Task Evaluation Offers More Decision Value Than a Single Leaderboard
Low-latency, cost-effective lightweight models are becoming prime candidates for personal agents, content generation tools, and coding assistance systems. However, in real-world business applications, model selection rarely just asks “who has the highest total score.” Instead, it must answer three specific questions: Can it complete multi-step tasks within a limited budget? What are its boundaries in structured analysis and generation tasks? Does it possess verifiable correctness in coding scenarios?
The original evaluation scenarios covered seven types of tasks: character search, comment classification, video platform data analysis, website localization, science popularization animation, turret modeling, and indoor corridor scene generation. Simply listing these tasks on a leaderboard is insufficient, as their inputs, outputs, tool permissions, scoring criteria, and failure modes vary significantly. A more rational approach is to abstract them into seven capabilities: Information Retrieval and Integration, Fine-grained Text Classification, Metric Analysis and Insight, Page Localization, Science Narrative Generation, 3D Structure Modeling, and Indoor Scene Generation. On this basis, we further distinguish between two main evaluation tracks: “Personal Agent” and “Programming Capability.” This distinction is necessary to form reproducible, explainable, and actionable technical conclusions.
2. Evaluation Goals and Task Abstraction
The first principle of evaluation is “reproducible tasks, explainable scores, accountable costs.” The seven task types should not be viewed as isolated problems but mapped into a unified capability matrix.
| Task Type | Primary Capability | Typical Output | Key Scoring Points |
|---|---|---|---|
| Character Information Retrieval | Multi-source retrieval, deduplication, conflict resolution | Character profile and citations | Factual accuracy, citation coverage, hallucination penalty |
| User Comment Classification | Fine-grained classification, noise robustness | Labels and confidence | Classification consistency, long-tail recall, explanation quality |
| Video Platform Data Analysis | Table comprehension, trend judgment | Analysis conclusions and chart descriptions | Numerical accuracy, actionable insights, conclusion consistency |
| Website Localization | Translation rewriting, terminology consistency | Multilingual page copy | Terminology accuracy, structural fidelity, cultural adaptation |
| Science Animation Script | Fact-checking, narrative organization | Script and storyboard | Scientific accuracy, narrative coherence, storyboard executability |
| 3D Mechanical Component Modeling | Parametric modeling, constraint reasoning | Editable 3D structure | Geometric closure, constraint satisfaction, manufacturability |
| Indoor Corridor Scene Generation | Spatial layout, material and lighting | Scene description and asset configuration | Structural rationality, style consistency, renderability |
Beyond these seven tasks, two main tracks must be clearly defined. The Personal Agent track emphasizes end-to-end task completion: planning steps, calling tools, reading observations, correcting errors, and terminating. The Programming Capability track emphasizes code correctness and maintainability: understanding requirements, generating implementations, passing tests, handling boundary conditions, and minimizing dependency risks. The same model might handle both, but the scoring methods must be separated. Otherwise, it is easy to misinterpret “knowing how to call a tool” as “knowing how to write reliable code.”
3. Design Highlights of the Seven Tasks
The key to the Character Information Retrieval task is not returning text that looks like an answer, but information traceability. The evaluation should require a structured profile output with citation sources, update times, and conflict explanations. Scoring can be broken down into factual accuracy, citation coverage, duplicate information handling, conflict explanation quality, and step efficiency. If the model fabricates settings when evidence is missing, it should be penalized separately for hallucination.
The Comment Classification task must cover class imbalance and long-tail labels. In addition to standard classification metrics, the model’s stability against noisy text, sarcasm, and boundary samples should be evaluated. High-quality output includes not just a label but a brief rationale. However, the rationale cannot serve as an excuse for “looking reasonable”—it must be spot-checked for consistency with the input.
The Video Platform Data Analysis task should simulate the workflow of “given a metric table and a question, provide trends, anomalies, and suggestions.” Scoring focuses on whether numerical calculations are correct, whether conclusions align with the data, and whether suggestions are actionable. If the model generates chart descriptions, check for contradictions between the descriptions and the underlying data.
The Website Localization task goes beyond translation fluency. It should evaluate glossary consistency, page structure fidelity, link and placeholder handling, cultural adaptation, and accessibility phrasing. For page-level tasks, format breakage is often more severe than occasional phrasing errors, so structural validation checks are necessary.
The Science Animation Script task should prioritize “scientific accuracy” over “vivid language.” The evaluation can require a script, storyboard, and fact-check list. Scoring includes concept explanation accuracy, narrative coherence, storyboard executability, and risk articulation. When involving health or safety topics, conservative constraints should be added.
The 3D Mechanical Component Modeling task requires evaluating geometric closure, dimension constraints, parametric editability, and manufacturability hints. Generating a mere description is insufficient; the ideal output should include parameters, constraints, and checklists. Scoring can involve manual or rule-based validation of key dimension relationships to avoid outputs that “look right” but are structurally unusable.
The Indoor Corridor Scene Generation task focuses on spatial layout, materials, lighting, and style consistency. The evaluation should check passage width, door and window positions, lighting logic, and the handling of repeated elements. Since this task is highly subjective, it is suitable for a scoring rubric combined with a manual blind review, while also requiring a renderable asset configuration description.
4. Unified Evaluation Protocol and Metric Design
To make the seven task types comparable, the runtime environment, tool permissions, timeout limits, retry counts, and budget caps must be fixed. Each task should record the input version, prompt template, tool list, random seed, and scoring rubric. It is recommended to repeat runs at least three times, report means and confidence intervals, and conduct blind reviews on generation tasks. A task contamination check should also be performed to ensure evaluation samples do not appear in the training data.
Metrics can be divided into four layers: Task Success Rate, Constraint Satisfaction Rate, Process Quality, and Cost Efficiency. Task success rate answers “was it completed?”; constraint satisfaction rate answers “were format, citation, terminology, and safety requirements followed?”; process quality focuses on the agent’s trajectory—planning, tool selection, parameter correctness, and error correction; cost efficiency records latency, API call counts, and resource consumption. Programming tasks require additional metrics: test pass rate, hidden case pass rate, static check results, and maintainability scores.
The pseudocode is illustrated as follows:
task_registry = register_tasks(retrieval=TaskSpec(input=..., tools=[search, fetch], rubric=...),classification=TaskSpec(input=..., tools=[], rubric=...),data_analysis=TaskSpec(input=..., tools=[table_reader], rubric=...),localization=TaskSpec(input=..., tools=[glossary], rubric=...),animation_script=TaskSpec(input=..., tools=[fact_check], rubric=...),modeling=TaskSpec(input=..., tools=[geometry_check], rubric=...),scene_generation=TaskSpec(input=..., tools=[render_check], rubric=...))def evaluate(candidate, tasks, budget):traces = []for task in tasks:trace = run_with_sandbox(candidate,task.input,tools=task.tools,timeout=task.timeout,budget=budget)score = rubric_grade(trace, task.rubric)traces.append((task, trace, score))return aggregate(traces)
During aggregation, do not use a simple average. Scores should be normalized and weighted according to business priorities, while separately displaying the three dimensions of quality, latency, and cost to form a Pareto frontier. For personal agent tasks, “step efficiency” and “tool call accuracy” can serve as independent metrics; for programming tasks, “hidden case pass rate” and “regression stability” should be core metrics.
5. Differentiated Evaluation of Agentic and Programming Capabilities
The core of personal agent evaluation is the trajectory. A seemingly correct final answer might result from an incorrect tool call or a coincidental observation. Therefore, it is necessary to evaluate whether the plan is reasonable, whether tools are correctly selected, whether parameters are complete, whether observations are correctly utilized, whether the model can recover from errors, and whether it terminates within budget. Failure attribution can be categorized into planning errors, tool errors, missing information, hallucinations, timeouts, and format violations. Only by dissecting the failure causes can we determine if the issue is insufficient model capability, poor tool design, or flawed prompt templates.
Programming capability evaluation must avoid “just looking at whether the code looks right.” It should use unit tests, hidden cases, boundary conditions, static checks, and dependency risk checks. Scoring can include test pass rate, code complexity, error handling completeness, readability, and documentation quality. For defect repair tasks, check whether regressions were introduced. Programming evaluations are best executed in a sandbox, recording compilation, tests, and resource consumption, rather than relying solely on manual reading.
These two tracks should not be mixed into a single total score. A stronger personal agent does not imply more reliable programming; a high programming pass rate does not guarantee stable multi-step task planning. A more reasonable approach is to output a capability profile: scoring retrieval integration, classification analysis, generation quality, tool usage, code correctness, and cost efficiency separately, and then selecting based on the specific business scenario.
6. Engineering Implementation and Risk Control
The evaluation system itself should be engineered. Datasets and scoring rubrics must be versioned, evaluation scripts must be reproducible, tool permissions must follow the principle of least privilege, and sensitive data must be desensitized. Runtime trajectories should be fully recorded for post-mortem analysis of failures. General object storage can be used to save datasets and artifacts, logging services to record every tool call, and monitoring alerts to observe timeout and error rates. For instance, general categories provided by Baidu AI Cloud can serve as a reference implementation. Cost accounting should cover call counts, latency, and manual review costs.
Common risks include task contamination, subjective scoring, inconsistent tool permissions, and sample bias. Mitigation strategies include regularly rotating hidden datasets, conducting double-blind reviews, fixing tool lists, reporting confidence intervals, and incorporating failure cases into regression sets. The final conclusion should not be “Model X leads across the board,” but rather “Under specific task types, budget constraints, and tool limitations, System Y is a better match.” The value of multi-task evaluation lies in capability profiling and failure attribution, not in creating another single leaderboard.
