Skip to content

Commit 93f38ee

Browse files
committed
minor change
1 parent fbf9e7a commit 93f38ee

File tree

3 files changed

+755
-16
lines changed

3 files changed

+755
-16
lines changed

idea/ai-agent.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,6 @@ Instead of:
4747
Write:
4848

4949
> Use ./cpp_ai/include/recti/point.hpp as a reference, convert this Python project into C++20 to ./cpp_ai.
50+
51+
## Use Jsonschema
52+

idea/validate.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,29 @@
11
# Testing in AI Era
22

3-
- Checking is easier than Construction
4-
- test first, not last
3+
- Validation is easier than Construction
4+
- Test first, not last
55

6-
Test by eyes:
6+
## Human-in-the-loop
77
- Generate a video, image, music, game
88

9-
## Unit tests
10-
11-
## Stress tests
12-
139
## Property-based tests
14-
conversion:
15-
csd <=> decimal
16-
Max-Cut: check if the final solution is a bipartite graph.
17-
18-
## Doctest
19-
20-
## By eyes
10+
- csd <=> decimal
11+
- to_csd(to_decimal(str)) == str
12+
- Max-Cut:
13+
Check if the final solution is a bipartite graph.
14+
- Polygon convex hull:
15+
- hull.area >= original.area
16+
- Convex decomposition:
17+
- sum of area of pieces == original.area
18+
19+
## Human-in-the-loop
2120
Look at the diagrams
2221
Waveform validation
2322
Cannot do everyday
2423

2524
Coverage
2625
No need to 100% coverage
2726

28-
Performance test
27+
## Performance test
2928

30-
Formal verification
29+
## Formal verification

0 commit comments

Comments
 (0)