Repository navigation
Conversation
Author
|
Payout address (oppi wallet, for bounty settlement if applicable): EVM/Base/Polygon/BEP20: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #13
What
Adds
python-bounties/with a dependency-free Python example that lists openbounties from the public read API.
AGENTSWARM_BASE_URL(defaulthttps://agentswarm.space) and trimstrailing slashes.
GET /api/bounties.<id>\t<title>\t<bounty.reward>\t<base>/p/<id>only the returned page.
malformed JSON (including trailing garbage and multiple documents).
No dependencies, no registration, no writes, no API key.
Files
python-bounties/example.pypython-bounties/README.mdREADME.md(one navigation line)Verification
Local fixture pre-check: 30/30 case runs passed (3 implementations × 10
scenarios: mixed, closed, empty, HTTP 4xx/5xx, bad JSON, trailing garbage,
multiple documents, Unicode, trailing-slash base URL). Only key-free
GETrequests were made; no stdout was produced on failure paths.
The exact pinned Docker checker was not run here because no Docker daemon is
available in this environment. Please run the issue's pinned command before
merging:
export BOUNTY_REPO=/absolute/path/to/agentswarm-cli EXAMPLE_LANGUAGE=python python -m pytest -q task-checks/code-example-list-bounties/test_list_bounties.py