Khan / Khan/structuredjs

Feature request: Equivalence of expressions

Open
#9 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
198
Forks
18
PR merge metrics
No merged PRs in 30d

Description

A few equivalence understandings would help grading a lot:
- [x] it should treat “$b + $a” the same as “$a + $b” for binary operators that we specify
- [x] it should treat “$a += $b;” the same as “$a = $a + $b” for binary operators
- [ ] It should treat $a++ the same as $a += 1
- [ ] It should treat $a <= $b the same as $b >= $a
- [ ] It should treat $a < $b the same as $b > $a
- [ ] it should treat “var $a= $x;” the same as “var $a; $a=$x”

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by reviewing how the already-checked equivalence cases are represented and handled, then determine the scope and semantics of the remaining unchecked cases. Done means the requested expression pairs are recognized equivalently during grading, with coverage for each supported transformation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.