Skip to content

Commit

Permalink
added a page about webeval
Browse files Browse the repository at this point in the history
  • Loading branch information
kubakubakuba committed Sep 17, 2024
1 parent 6f0b4eb commit 70cc2e2
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ This is a joint effort of [Faculty of Electrical Engineering](https://fel.cvut.c
- [FIT: BI-APS Architectures of Computer Systems](/courses/fit/bi-aps/)
- [FEL: B4M35PAP Advanced Computer Architectures](/courses/fel/b4m35pap/)

# Online Tools

- [WebEvaluator for QtRvSim](/online-tools/webeval/)

# Presentations

- FOSDEM 2023 [QtRVSim—Education from Assembly to Pipeline, Cache Performance, and C Level Programming](https://fosdem.org/2023/schedule/event/rv_qtrvsim/) in Brussels, [Slides](https://fosdem.org/2023/schedule/event/rv_qtrvsim/attachments/slides/5732/export/events/attachments/rv_qtrvsim/slides/5732/qtrvsim_fosdem23_slides.pdf)
Expand Down
Empty file added content/online-tools/_index.md
Empty file.
25 changes: 25 additions & 0 deletions content/online-tools/webeval/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "Web Evaluator for QtRvSim"
---

A web application for submission and evaluation of student (and also of the general public) solutions of [bonus RISC-V tasks](https://cw.fel.cvut.cz/wiki/courses/b35apo/en/homeworks/bonus/start) in [b35apo](../../courses/fel/b35apo/). The application takes a code snippet written in RISC-V assembly or C and runs it in QtRvSim using a custom wrapper written in Python. During the evaluation the correctness of the solution is checked by easily configurable testcases, all written in .toml format. After the evaluation is ended, a task is scored based on the runtime of the program in cycles. This allowes a bit of competition between the students.

In the current state, the evaluator is able to check the content of the registers and the state of memory at set addresses. A comparison of uart is also possible. Each of the testcases is able to be configured to be either private or public (if set to private the log does not show the trace of an error), with a separate testcase which is set to be a kind of a benchmark - to allow fair competition between different submissions. The system also allows for a custom Makefile to be included, with additional files to be present during compile time.

## Links

[WebEvaluator](https://eval.comparch.edu.cvut.cz)

The application has been presented on [Installfest 2024](https://installfest.cz/if24/), [Slides](/slides/if24slides-webeval.pdf), [Video](https://www.youtube.com/watch?v=1XQR8E8omCE&list=PLub6xBWO8gV8AG4kBn5W-QkMnTcdAPqvn&index=8). We also held a small hackathon during this event, which helped us to test the application and collect useful feedback.

The application has also been used during education at [SpaceMaster](https://spacemaster.eu/) program in Kiruna, Sweden.

[Source code (GitLab)](https://gitlab.fel.cvut.cz/b35apo/qtrvsim-eval-web)

## How to start

Head on over to the registration page and create an account. Then select a task from the main page, write your solution and submit it. After the evaluation is done, you can see the results on the page task.

## Contact person

[Jakub Pelc](https://swpelc.eu/contact/)
Binary file added static/slides/if24slides-webeval.pdf
Binary file not shown.

0 comments on commit 70cc2e2

Please sign in to comment.