You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ChocoPy/grade.md

2.0 KiB

Core Tests: 80/80

Benchmark: 10/10

=========================

Standard tests: 80/80

Work Log: 10/10

Additional Tests: 10/10

Code style, SDLC etc: 10/10

Tests

Congratulations, you have solved all test cases in the final project!

Your compiler has achieved comparable speed with reference implementation in all 5 benchmarks. Good job.

Reading pa3-tests/benchmarks/prime.py.ast.typed
Cycles executed = 65741 (ref 52357)
Reading pa3-tests/benchmarks/sieve.py.ast.typed
Cycles executed = 65720 (ref 56008)
Reading pa3-tests/benchmarks/exp.py.ast.typed
Cycles executed = 29039 (ref 25016)
Reading pa3-tests/benchmarks/tree.py.ast.typed
Cycles executed = 239089 (ref 195356)
Reading pa3-tests/benchmarks/stdlib.py.ast.typed
Cycles executed = 34689  (ref 33237)

Worklog

Your worklog is clear and concise. It could be improved by providing more information about your decisions on when to box variables, when to reset stack pointers, how to determine the frame size, and so on. This would help us understand your project deeper and faster.

Code quality and SDLC

The code quality is good. I noticed several comments for structural separations like “ *********** functions start ***********” and found it clever and beautiful.

I noted the absence of comments at the critical positions, like resetting stack pointers or setting frame size, so the same feedback as for the worklog section.

In terms of SDLC, you have done very well with professional use of Git PRs, tags, and automatic test scripts (which it would probably be cleaner to put in a separate directory).

Final remarks

It has been a long and tiring journey, but you emerged victorious! You have built an excellent compiler that could serve as a foundation for further work, be it more complex optimizations, garbage collection, or something else entirely.

It was my pleasure to grade your projects. Thank you for taking the class and have fun working with (or maybe on!) programming languages in the future.