[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115119":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":19,"topics":21,"createdAt":10,"pushedAt":22,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":15,"starSnapshotCount":15,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},115119,"aws-emulator-evaluation-suite","aws\u002Faws-emulator-evaluation-suite","aws","Evaluation Suite for AWS Emulator.","",null,"Python",64,10,1,0,6,46.72,"Creative Commons Zero v1.0 Universal",false,"main",[],"2026-11-17 17:35:13","2026-11-23 16:15:09","# AWS Emulator Evaluation Suite\n\nBehavioral fidelity tests for [AWS Emulator](https:\u002F\u002Fdocs.aws.amazon.com\u002Femulator\u002Flatest\u002Fuserguide\u002Fwhat-is-service.html),\nand a command-line tool that runs them against an emulator endpoint.\n\nThis repository is read-only. AI agents author, manage, and maintain it, and populate it with\nfidelity tests. It does not accept issues or pull requests. To report a security issue, use the\nrepository's Security tab.\n\n## Fidelity tests\n\nA fidelity test is a short Python program, `check_\u003Cname>.py`, that uses the AWS SDK (boto3). Its\n`run(ctx)` function drives a workflow and asserts how AWS behaved: the resulting state of the\nresources and, where applicable, the error code and error message. `ctx` is supplied by the runner:\nit creates AWS clients for the emulator, names resources uniquely, and registers cleanup. Every\nfidelity test was verified against at least two sandboxed AWS accounts, so it asserts real AWS\nbehavior. Behavior that no fidelity test covers is not verified.\n\n```\nbehavioral\u002F\u003Cservice>\u002Fcheck_\u003Cname>.py   one fidelity test; \u003Cservice> is a__b for a cross-service test\nbehavioral\u002F\u003Cservice>\u002Fdeployments\u002F      apps and templates some tests deploy\nmanifest.jsonl                         one row per test (see below)\ndocs\u002FTAXONOMY.md                       what each label means\nsrc\u002F, tests\u002F                           the runner (`fidelity_tests_runner`) and its offline tests\n```\n\nEach row of `manifest.jsonl` has the test's `check_id` (`\u003Cservice>.\u003Cname>`, the ID in run reports\nand published scores), `key` (`\u003Cservice>\u002F\u003Cname>`), `path`, `service`, `operations` (the AWS\noperations it calls), `labels`, and `deployments` (the files it deploys).\n\n## Run\n\nRequires [uv](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002F) and an AWS Emulator serving AWS on a local HTTPS\nendpoint. Some fidelity tests also call command-line tools;\n`uv run fidelity-tests-runner requirements \u003Cfiles>` lists what they need.\n\n```bash\nuv sync --locked --extra checks\n\nhome=$(mktemp -d); HOME=$home aws-emulator -p 4566 & pid=$!\nuntil curl -sk -o \u002Fdev\u002Fnull https:\u002F\u002F127.0.0.1:4566; do sleep 1; done\n\nuv run fidelity-tests-runner run behavioral\u002Fdynamodb\u002Fcheck_update_item_set_list_preserves_element_order.py \\\n    --endpoint https:\u002F\u002F127.0.0.1:4566 --emulator-home \"$home\" --report report.json\n\nkill $pid; wait $pid\n```\n\nThe emulator writes its access keys and CA certificate under its `HOME`; `--emulator-home` points\nthe runner at them.\n\n| Verdict | Exit code | Meaning |\n|---|---|---|\n| `passed` | 0 | every assertion held |\n| `failed` | 11 | an assertion failed, or the test timed out |\n| `error` | 12 | anything else, e.g. an error the emulator should not return, or a missing tool |\n\nExit code 2 is an invalid input, reported before anything runs, and 13 a failed cleanup under\n`--strict-cleanup`. `uv run fidelity-tests-runner run --help` lists every option.\n\nEach fidelity test times out after 60 s; longer-running tests get 600 s.\n\nTo run the whole suite, run each test against its own emulator, since some tests change state an\naccount has only once, writing each report to one directory; then score them:\n\n```bash\nuv run fidelity-tests-runner summarize reports --by-service\n```\n\n## Isolation\n\nThe runner accepts only a loopback endpoint and signs with the keys the emulator wrote. It runs\neach fidelity test without the AWS credentials, profiles, or proxy settings in your environment,\nand refuses URLs it builds for a test that point outside the machine or a private network. An AWS\nSDK request to a host the emulator does not serve, and a host name a test resolves itself through\n`urllib`, `http.client` or `requests`, fail the test (\"the emulator serves no address\") before\nanything is sent. It does not restrict the network access of tools and containers a test starts.\n\n## License\n\n[CC0 1.0](LICENSE)\n","这是一个用于评估 AWS 本地模拟器行为保真度的测试套件，旨在验证模拟器对真实 AWS 服务（如 DynamoDB、S3 等）API 行为的准确复现程度。核心功能包括：提供结构化的行为一致性测试（fidelity tests），每个测试基于 boto3 驱动真实工作流并断言资源状态、错误码与错误消息；支持命令行批量执行与结果报告；所有测试均经至少两个沙箱 AWS 账户验证。适用于云开发、CI\u002FCD 中的本地化集成测试、AWS 模拟器（如 LocalStack、AWS Emulator）的质量保障与合规性验证场景。",2,"2026-11-24 04:50:23","CREATED_QUERY"]