Ahmed Hassan

Ahmed Hassan

Corpus Hub contributor since 2026-10-15

Ahmed Hassan's work was selected for the XERJ Corpus Hub, the open reference memory AI coding agents search before they write code. When an agent meets the same problem, it gets this implementation back as a worked example, with the author and the repository attached.

1corpus
1selected commit
9files
731lines

Totals count @ahmed-hassan19's own selected commits. The repositories belong to their maintainers; their stars are not counted here.

What an agent can do with @ahmed-hassan19's commit to stac-fastapi-elasticsearch-opensearch

stac-utils/stac-fastapi-elasticsearch-opensearch: Elasticsearch backend for stac-fastapi with Opensearch support

Example questions
Paste it into your AI agent. It clones the repo at the pinned commit and indexes it on your machine.
Search the GitHub repository stac-utils/stac-fastapi-elasticsearch-opensearch with XERJ (https://hub.xerj.org/corpus/stac-utils--stac-fastapi-elasticsearch-opensearch).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch stac-fastapi-elasticsearch-opensearch --filter=blob:none --no-checkout && git -C stac-fastapi-elasticsearch-opensearch sparse-checkout set --no-cone /.github/workflows/ /stac_fastapi/core/stac_fastapi/core/ /stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/ /stac_fastapi/opensearch/stac_fastapi/opensearch/ /stac_fastapi/sfeos_helpers/stac_fastapi/sfeos_helpers/database/ /stac_fastapi/tests/api/ /stac_fastapi/tests/redis/ /stac_fastapi/tests/resources/ && git -C stac-fastapi-elasticsearch-opensearch checkout 0428257917efa77aaa77a2ee20e97af55fb59c65
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./stac-fastapi-elasticsearch-opensearch --url http://127.0.0.1:9200 --prefix stac-fastapi-elasticsear --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: MIT. Keep the copyright notice and credit the authors.

corpus stac-utils--stac-fastapi-elasticsearch-opensearch · API design and specification
Related corpora: xerj-blogposts, FengZhenfei/carrel, supermhel/fengarde
Search an OpenAPI spec from an agent · Case study: reference coding for agents

Selected work

Commit to stac-utils/stac-fastapi-elasticsearch-opensearch

maintained by @stac-utils
0428257917 fix: validate item transaction targets before writes (#881)
selected commit: 9 files · 731 lines · Python · stac_fastapi

The corpus covers only the directories this commit changed (.github/workflows, stac_fastapi/core/stac_fastapi/core, stac_fastapi/elasticsearch/stac_fastapi/elasticsearch, stac_fastapi/opensearch/stac_fastapi/opensearch, stac_fastapi/sfeos_helpers/stac_fastapi/). The repository is @stac-utils's; this page credits @ahmed-hassan19 for this commit only.

live on the hub · licence clearedcorpus stac-utils--stac-fastapi-elasticsearch-opensearchAPIMITelasticsearchstac-apistac-fastapistacpythonopensearch agreed 2026-10-15
XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/ahmed-hassan19/badge.svg)](https://hub.xerj.org/contributors/ahmed-hassan19)

Included with the author's permission (email, 2026-10-15), under each repository's own licence, with attribution. Own more repositories? Sign in with GitHub and add them. Want something removed? Reply to the email, withdraw it on /add, or open an issue on xerj-org/xerj.