less than 1 minute read

Introduction

Today, I worked on migrating the recommendations export function from my EUAIActClassifer.java file to my main code.

Development Notes

I started with literally copy and pasting over the original method into ClassificationService.java and slighlty changing the parameters

Screenshot 2025-06-26 at 2 43 37 PM

I also migrated this to ClassificationController.java so that it can use postmapping to handle “post” requests

Screenshot 2025-06-26 at 2 48 25 PM

Then, I post the file download on api.ts so that it can be called on the result page

Screenshot 2025-06-26 at 2 50 10 PM

Lastly, I created a method in my results page to handle this download by calling on the api and made a button so the user can download the results

Screenshot 2025-06-26 at 2 50 27 PM

Screenshot 2025-06-26 at 2 51 28 PM

That completes the functionality of this program:

  • Landing page ☑
  • Page for user to enter system name and purpose ☑
  • Prohibited Assessment ☑
  • High-risk Assessment ☑
  • Transparency Assessment ☑
  • Recommendations with option to export ☑

Moving forward, I will work on the UI of this program so that it looks more presentable