New env values to be sent to tmc-sandbox

Open
#351 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
backend

Research direction

Start by locating how tmc-server passes environment values to tmc-sandbox and review the existing sandbox environment setup. Check how the proposed TMC-USER-ID, TMC-USERNAME, and PASTE values would be sourced and exposed. Done means the sandbox receives the requested information for relevant tests, with the paste behavior clarified.

Written by the indexing model from the issue text.

Description

I propose that we shall share following information in following env variables to the sandbox

  • TMC-USER-ID
  • TMC-USERNAME
  • PASTE

The need for user id and name will be relevant if generating stuff as part of the tests, such as photoshop images or audio (exercises from our courses)
And for paste we can make some wepa exercises not to give out points when it is submitted as paste. though for this one there might be nicer solutions.

Dominant language
Ruby
Stars
51
Forks
42
Avg merge
1h 27m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from testmycode/tmc-server

All issues in testmycode/tmc-server

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.