Skip to content

[DEPR]: MATLAB-specific handling in edx-platform #192

Open

Description

@ormsbee

Overview

Our system currently has special handling for MATLAB problems via an old integration through xqueue that isn't really supported any longer, and appears to be broken today. Since this integration should now be done via LTI, we can remove:

  • matlab_api_key attribute in ProblemBlock, as well as the version defined for inheritance purposes.
  • MatlabInput
    • Associated JavaScript, CSS, template, and text fixture code.
    • It may be that removing this would adversely affect grades, in which case it may be better to leave behind a bare shell that does nothing but acting as a dumb placeholder for legacy content scoring purposes. More investigation needed.
    • Scattered special-case hanlding for MATLAB in coderesponse and xqueue.

This would eliminate the "MATLAB API Key" advanced course setting UI in Studio:

Screenshot 2023-05-11 at 10 08 33 AM

And the equivalent one at the ProblemBlock level:

Screenshot 2023-05-11 at 10 08 04 AM

Effect on old course content:

  • Student scores must be preserved.
  • It is not necessary to be able to render the original student submission or detailed response information.

Proposal Date

10 May 2023

Target Ticket Acceptance Date

24 May 2023

Earliest Open edX Named Release Without This Functionality

Quince.

Since it is not currently in a working state, there's no need to offer an extra release for migration.

Rationale

  1. The current endpoint does not hook up to a working external service, and is not useful.
  2. LTI is already the accepted way to integrate MATLAB content.
  3. It will slightly simplify ProblemBlock and the LMS's XBlock runtime to remove this.

Activity

  1. converted this from a draft issue on May 10, 2023
  2. changed the title [-][DEPR]: Matlab API Key[/-] [+][DEPR]: Matlab-specific handling in edx-platform[/+] on May 10, 2023
  3. changed the title [-][DEPR]: Matlab-specific handling in edx-platform[/-] [+][DEPR]: MATLAB-specific handling in edx-platform[/+] on May 10, 2023
  4. ormsbee commented on May 10, 2023

    @ormsbee
    Author

    There was a slack thread about this as well.

  5. moved this from Proposed to Communicated in DEPR: Deprecation & Removalon May 10, 2023
  6. self-assigned this
    on May 10, 2023
  7. kdmccormick commented on May 11, 2023

    @kdmccormick
    Member

    Just to be clear @ormsbee , would this DEPR also cover the Matlab API Key field in the problem editor, thus clearing up 2U's T&L team to remove it from the new React-based problem editor? (cc @jristau1984)

  8. ormsbee commented on May 11, 2023

    @ormsbee
    Author

    @kdmccormick: Yes, but to be clear: I don't think that work needs to wait for this DEPR to be accepted, since it's more of a bookkeeping DEPR–i.e. I'm pretty sure that it's been broken for years, so immediately removing the view of the broken thing doesn't negatively impact users. I'm leaving it open for a couple of weeks of comment Just In Case, and if people want to add any more information.

  9. moved this from Communicated to Accepted in DEPR: Deprecation & Removalon May 24, 2023
  10. moved this from Accepted to Removing in DEPR: Deprecation & Removalon Jun 1, 2023
  11. added a commit that references this issue on Sep 25, 2023
  12. 10 remaining items

  13. feanil commented on Sep 15, 2025

    @feanil
    Contributor

    Ok, I'll move this back to Plan Accepted for now then since the XQueue work is still in progress.

  14. added theissue type on Jan 28, 2026
  15. dianakhuang commented on Jun 25, 2026

    @dianakhuang

    The XQueue work is actively in progress. Will move review date to match review date of XQueue.

  16. moved this from Plan Accepted to Breaking Changes Unblocked in DEPR: Deprecation & Removalon Nov 12, 2026
  17. self-assigned this
    on Nov 12, 2026
  18. kdmccormick commented on Nov 12, 2026

    @kdmccormick
    Member

    This is safe to be removed at any time, but it's less work to remove it after XQueue compatibility is removed. So, we're marking this as blocked on #286

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

depr

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions