Skip to content

Deeply Insturmented Code Mirror Demo - #1456

Open
mcnuttandrew wants to merge 1 commit into
devfrom
code-mirror-component
Open

mcnuttandrew wants to merge 1 commit into
devfrom
code-mirror-component

Conversation

@mcnuttandrew

Copy link
Copy Markdown

Basically just a quick demo of a deeply insturmented code mirror

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

A preview of is uploaded and can be seen here:

https://revisit.dev/study/PR1456

Changes may take a few minutes to propagate.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 808dad8dd6

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

const results = testCases.map((testCase) => {
const label = testLabel(functionName, testCase);
try {
const actual = participantFunction(...testCase.args);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Clone test arguments before executing participant code

participantFunction(...testCase.args) passes nested Study Config values by reference. If a participant writes a solution that consumes or mutates nums—for example, by repeatedly calling pop()—the first run modifies the configured fixture, so pressing Run tests again executes against different inputs and can turn a passing solution into a failure. Deep-clone each case's JSON arguments before every invocation so repeated runs remain deterministic.

Useful? React with 👍 / 👎.

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.

1 participant