-
Notifications
You must be signed in to change notification settings - Fork 301
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
Programming exercises
: Add Artemis Intelligence rewriting for problem statement
#10156
base: feature/communication/rephrasing-pipeline
Are you sure you want to change the base?
Conversation
…-pipeline' into feature/programming-exercises/rephrase-action-for-problem-statement
Programming exercises
: Add Artemis Intelligence rephrasing for problem statement Programming exercises
: Add Artemis Intelligence rewriting for problem statement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code, I have one nitpick though
import { AlertService } from 'app/core/util/alert.service'; | ||
import { ProgrammingExerciseInstructionComponent } from 'app/exercises/programming/shared/instructions-render/programming-exercise-instruction.component'; | ||
import { Observable, Subject, Subscription, of, throwError } from 'rxjs'; | ||
import { catchError, map as rxMap, switchMap, tap } from 'rxjs/operators'; | ||
import { catchError, map, map as rxMap, switchMap, tap } from 'rxjs/operators'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably it would make sense to only import map once
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note
This PR depends on the counterpart in Iris. For testing, deploy Pyris#192 via
deploy:pyris-test
if it is not already deployed (lock:pyris-test
). You can use TS1, TS3, TS5 for testing since it has Iris enabled.Checklist
General
Client
Motivation and Context
We want to make it easier to provide high quality problem statements to students while reducing the effort needed by a instructors. For this we want integrated AI assistance to help us rewrite and improve the problem statement.
Description
Adds the Artemis Intelligence rewrite action to the problem statement when creating or editing a programming exercise.
Steps for Testing
Prerequisites:
Make sure that Pyris#192 is deployed
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.
Review Progress
Code Review
Manual Tests
Test Coverage
Unchanged
Screenshots