Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-Language Support #245

Open
wants to merge 41 commits into
base: development
Choose a base branch
from
Open

Conversation

nitinramadoss
Copy link

Introduces multi-language support on the student and instructor view sides.

Description

Adds two extra language options (Java and Python) to the code editor on student view side so that students can select a preferred programming language to solve the problem in. Adds syntax highlighting and modifies Judge0 run and submit configurations to compile and execute the new languages.

Adds an accordion on instructor view side that allows instructors to select supported languages for each problem. Instructors can also configure memory and time constraints for each language. They can also create starter code templates for each problem.

Changes database schema to accommodate language option for each problem. New lang_config attribute for each problem stores language related information for each supported language.

Related Issue

Feature Request: https://github.com/edugator-cise/edugator-staff-frontend/issues/244

Motivation and Context

Students should be allowed to select a preferred language to program in when answering problems. COP 3530 is a language agnostic class, so Edugator should not require C++ knowledge as a prerequisite to answering problems.

How Has This Been Tested?

Validation testing in the backend verifies whether run and submit submission are correct.

Screenshots (if appropriate):

Screenshot 2023-04-26 230430

Screenshot 2023-04-26 230411

Hermalez and others added 30 commits February 22, 2023 17:24
…lity a little broken still

Co-authored-by: José A. Cabrera <[email protected]>
Branch now connected with backend/db-restructuring
@vercel
Copy link

vercel bot commented Apr 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
edugator-staff-frontend ❌ Failed (Inspect) Apr 27, 2023 3:06am

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 35 Code Smells

No Coverage information No Coverage information
4.6% 4.6% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants