Add new queries - #26
Draft
Azaya89 wants to merge 9 commits into
Draft
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Collaborator
Author
|
@run-eval on this |
Eval Command✅ Status: success Evaluation summaryEvaluation SummaryTotal Queries: 2 Aggregate StatisticsCode Generation Rate
Execution Success Rate
Resource UsageAvg Token Difference: +0 tokens Per-Query Results
|
| Metric | With Skills | Without Skills |
|---|---|---|
| Code Generated | False | False |
| Response Time | 120.04s | 120.02s |
| Tokens (output) | 0 | 0 |
hvplot_earthquake_plot
| Metric | With Skills | Without Skills |
|---|---|---|
| Code Generated | True | True |
| Response Time | 19.80s | 74.41s |
| Tokens (output) | 0 | 0 |
| Execution Success | True | True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces several improvements and new features to the evaluation pipeline.
Key changes include:
Evaluation Queries
Adds a new evaluation query requiring the creation of a multi-view Panel+hvPlot dashboard based on JSON data from a GitHub repository, with detailed schema and visualization requirements.
Evaluation Pipeline Enhancements
Panel Dashboard Execution and Screenshot Support:
The evaluation system now detects when a generated script is expected to produce a Panel dashboard (
expected_output="panel dashboard"). Instead of running the script directly (which would block onpn.serve()), it launches the app withpanel serveand uses Playwright to capture a screenshot.Passing Expected Output Metadata:
The
expected_outputfield is now passed throughout the evaluation pipeline.Per-query Timeout Support:
Query-specific timeouts are now supported and passed to the execution logic.
Documentation Additions and Corrections
The
SKILL.mdfor hvPlot now includes a comprehensive guide on creating bar and barh charts, correct use of color, axis conventions, and common pitfalls (e.g., not usingkind=, correct use ofinvert, and formatter requirements).The Panel skills documentation clarifies that
pn.widgets.Tabulatorrequires"tabulator"inpn.extension(), and specifies the correct way to check if the app is running underpanel serve(pn.state.served), warning against outdated or incorrect patterns.Adds a new section explaining how to safely fetch data files from GitHub using the Contents API, warning against the use of
raw.githubusercontent.comURLs.Miscellaneous
pixi.toml:Ensures that the evaluation setup and checks run in the correct order.
Refines the regex used to comment out
show()calls in generated code.NOTE: The end result is still not consistently good. The model still generates errors at random after every re-run.