Skip to content

Commit 042545a

Browse files
authored
Update user.md
1 parent 16f4d12 commit 042545a

1 file changed

Lines changed: 23 additions & 2 deletions

File tree

docs/user.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1-
# YourFunctionName
1+
# compareSets
2+
### Overview
3+
Checks if a student's set expression matches the correct answer. Can compare both the meaning and exact form of set expressions.
4+
When to Use
5+
For questions involving set operations like union (∪), intersection (∩), and complement.
26

3-
Teacher-facing documentation for this function.
7+
### Examples:
8+
9+
"Express the union of sets A and B"
10+
"Simplify: (A ∪ B) ∩ C"
11+
12+
Parameters
13+
`is_latex` (optional)
14+
15+
Default: `false`
16+
Description: Set to true if students enter answers in LaTeX format (\cup, \cap). Set to false for plain text.
17+
18+
`enforce_expression_equality` (optional)
19+
20+
Default: `false`
21+
Description:
22+
23+
`false`: Accepts any mathematically equivalent form (e.g., "A ∪ B" = "B ∪ A")
24+
`true`: Requires exact form match

0 commit comments

Comments
 (0)