documentation request for test_one_solution.py

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start with test_one_solution.py and the parameter definitions in configs/unit_test_configs.py; trace how --test_path and --code_path are consumed and whether data/APPS/test is expected to be generated or supplied. Document the script's inputs, outputs, prerequisites, and invocation, including valid values for both parameters. Done means a reader can run the file without unanswered setup questions.

Written by the indexing model from the issue text.

Description

Hi authors, can you add some documentation for the test_one_solution.py file please? I have 2 questions here

  • what does test_one_solution.py do? (what's the input and output?)
  • How to use the file? is there a bug or I need to run some other scripts before runing test_one_solution.py?

Thanks in advance!

Dominant language
Python
Stars
578
Forks
68
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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 salesforce/CodeRL

All issues in salesforce/CodeRL

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.