Fix expected_rule in gradient and tangent_line benchmarks - #33
Merged
Conversation
…rk_gradient.json and benchmark_tangent_line.json had expected_ruleset to the literal operation name ('gradient', 'tangent_line'), which doesnot exist anywhere in the 13 real RULE: tokens in vocab.json. This does notaffect today's exact-match accuracy (run_eval.py's accuracy calc is purelyexpr-comparison based, expected_rule is currently unread there), but itwould silently produce a permanent 0% the moment any rule-level accuracymetric is implemented -- unrelated to model quality.problem_generator.py's generate_gradient_diff() and generate_tangent_line_diff()already assign rule_id=7 (partial_derivative) and rule_id=0 (power_rule)respectively (see inline comments at those return statements). This alignsexpected_rule with what the model is actually trained to predict.Verified: all 50/50 rows in each file updated; cross-checked againstvocab.json's actual rule_tokens list -- zero invalid labels remain.
|
@Momin0000 is attempting to deploy a commit to the seno-quantum-coder's projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
No description provided.