You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parser.add_argument('--conformance-tests-script', type=str, help='a script to run conformance tests')
532
554
parser.add_argument('--api', type=str, nargs='?', const="https://api.codeplain.ai", help='force using the API (for internal use)')
533
555
parser.add_argument('--api-key', type=str, default=CLAUDE_API_KEY, help='API key used to access the API. If not provided, the CLAUDE_API_KEY environment variable is used.')
556
+
parser.add_argument('--full-plain', action='store_true', help='full plain text to render')
534
557
535
558
args=parser.parse_args()
536
559
@@ -543,7 +566,9 @@ def render(args):
543
566
print(f"Running plain2code using REST API at {args.api}\n")
- The Implementation should include unit tests using Go's built-in testing package.
11
+
12
+
- The main executable code file of The App should be called "{{ main_executable_file_name | code_variable }}". The main executable code file does not have any semantic meaning and it should be completely disregarded when generating the code (except for the file name).
13
+
14
+
15
+
***Test Requirements:***
16
+
17
+
- The Conformance Tests of The App should be implemented in Go lang using Go's built-in testing package.
18
+
19
+
- The main executable code file of The App is "{{ main_executable_file_name | code_variable }}".
20
+
21
+
- The current working directory contains the file "{{ main_executable_file_name | code_variable }}".
22
+
23
+
- The App can be executed using the command "go run {{ main_executable_file_name | code_variable }}".
- The App should be implemented in Python (The Implementation).
9
+
10
+
- The Implementation should include unit tests using Unittest framework (The Unittests)! If the unittests are put in the subfolder, make sure to include __init__.py to make them discoverable.
11
+
12
+
- The main executable code file of The App should be called "{{ main_executable_file_name | code_variable }}". The main executable code file does not have any semantic meaning and it should be completely disregarded when generating the code (except for the file name).
13
+
14
+
15
+
***Test Requirements:***
16
+
17
+
- The Conformance Tests of The App should be implemented in Python using Unittest framework. The Conformance Tests will be run using "python -m unittest discover" command. Therefore, if the unittests are put in the subfolder, make sure to include __init__.py to make them discoverable.
18
+
19
+
- The Conformance Tests must be implemented and executed - do not use unittest.skip() or “any other test skipping functionality.
20
+
21
+
- The main executable code file of The App is "{{ main_executable_file_name | code_variable }}".
22
+
23
+
- The current working directory contains the file "{{ main_executable_file_name | code_variable }}".
24
+
25
+
- The App can be executed using the command "python {{ main_executable_file_name | code_variable }}".
0 commit comments