Commit aaca23d
feat: add AIDLC Evaluation & Reporting Framework (awslabs#115)
* feat: add aidlc-evaluator framework
Evaluation and reporting framework for validating AI-DLC workflow changes.
Includes execution, qualitative/quantitative scoring, contract testing,
reporting packages, and CLI/IDE harness adapters.
Also fixes pytest import-mode collision for same-named test files across
packages, and documents known Windows test_run_command.py failures.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
* test: fix cross-platform compatibility in test_run_command.py
Replace shell-specific commands with Python equivalents to ensure tests
pass on all platforms (Windows/Mac/Linux) when using shell=False:
- Replace `echo 'content' > file` with Python pathlib file writing
- Replace shell builtin `exit N` with Python `sys.exit(N)`
- Replace `echo 'msg' >&2` with Python `sys.stderr.write()`
- Update command-not-found test to handle both OSError and exit code 127
All 245 tests now pass successfully on Windows.
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
* Update scripts/aidlc-evaluator/packages/ide-harness/src/ide_harness/prompt_template.py
Co-authored-by: Scott Schreckengaust <[email protected]>
* Update scripts/aidlc-evaluator/packages/cli-harness/src/cli_harness/prompt_template.py
Co-authored-by: Scott Schreckengaust <[email protected]>
* Remove region profile
* More profile updates
* More profile updates
* Update scripts/aidlc-evaluator/pyproject.toml
Co-authored-by: Scott Schreckengaust <[email protected]>
* Update scripts/aidlc-evaluator/README.md
Co-authored-by: Scott Schreckengaust <[email protected]>
* Update scripts/aidlc-evaluator/packages/shared/src/shared/sandbox.py
Co-authored-by: Scott Schreckengaust <[email protected]>
* Update scripts/aidlc-evaluator/packages/shared/src/shared/sandbox.py
Co-authored-by: Scott Schreckengaust <[email protected]>
* Update scripts/aidlc-evaluator/packages/shared/src/shared/sandbox.py
Co-authored-by: Scott Schreckengaust <[email protected]>
* Update scripts/aidlc-evaluator/packages/shared/src/shared/sandbox.py
Co-authored-by: Scott Schreckengaust <[email protected]>
* Update scripts/aidlc-evaluator/README.md
Co-authored-by: Scott Schreckengaust <[email protected]>
* Make docker builder script executable
* Update scripts/aidlc-evaluator/README.md
Co-authored-by: Scott Schreckengaust <[email protected]>
* Update scripts/aidlc-evaluator/packages/shared/src/shared/sandbox.py
Codebuilder fixes
Co-authored-by: Scott Schreckengaust <[email protected]>
* Update scripts/aidlc-evaluator/packages/shared/src/shared/sandbox.py
Codebuilder fixes
Co-authored-by: Scott Schreckengaust <[email protected]>
* Update scripts/aidlc-evaluator/packages/shared/src/shared/sandbox.py
Codebuilder fixes
Co-authored-by: Scott Schreckengaust <[email protected]>
* Update scripts/aidlc-evaluator/packages/shared/src/shared/sandbox.py
Codebuilder fixes
Co-authored-by: Scott Schreckengaust <[email protected]>
* Update scripts/aidlc-evaluator/packages/shared/src/shared/sandbox.py
Codebuilder fixes
Co-authored-by: Scott Schreckengaust <[email protected]>
* Update scripts/aidlc-evaluator/packages/contracttest/src/contracttest/server.py
Codebuilder fixes
Co-authored-by: Scott Schreckengaust <[email protected]>
* Update scripts/aidlc-evaluator/packages/execution/src/aidlc_runner/post_run.py
Codebuilder fixes
Co-authored-by: Scott Schreckengaust <[email protected]>
* Update scripts/aidlc-evaluator/packages/execution/src/aidlc_runner/post_run.py
Codebuilder fixes
Co-authored-by: Scott Schreckengaust <[email protected]>
* Update scripts/aidlc-evaluator/packages/execution/src/aidlc_runner/post_run.py
Codebuilder fixes
Co-authored-by: Scott Schreckengaust <[email protected]>
* Update scripts/aidlc-evaluator/packages/execution/src/aidlc_runner/post_run.py
Codebuilder fixes
Co-authored-by: Scott Schreckengaust <[email protected]>
---------
Co-authored-by: Claude Opus 4.6 <[email protected]>
Co-authored-by: Scott Schreckengaust <[email protected]>1 parent 5ffc938 commit aaca23d
182 files changed
Lines changed: 29393 additions & 0 deletions
File tree
- scripts/aidlc-evaluator
- config
- docker/sandbox
- docs
- packages
- cli-harness
- src/cli_harness
- adapters
- tests
- contracttest
- src/contracttest
- tests
- execution
- src/aidlc_runner
- agents
- tools
- tests
- ide-harness
- src/ide_harness
- adapters
- tests
- nonfunctional
- src/nonfunctional
- qualitative
- src/qualitative
- tests
- quantitative
- src/quantitative
- tests
- reporting
- src/reporting
- tests
- scripts
- test_cases
- all-stages
- golden-aidlc-docs/aidlc-docs
- construction
- build-and-test
- catalog-service/functional-design
- lending-service/functional-design
- plans
- inception
- application-design
- plans
- requirements
- user-stories
- sci-calc
- golden-aidlc-docs
- construction
- build-and-test
- plans
- inception
- application-design
- plans
- requirements
- todo-app
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
0 commit comments