{"id":22775390,"url":"https://github.com/crdoconnor/tmg-test","last_synced_at":"2025-03-30T13:15:05.557Z","repository":{"id":266540913,"uuid":"862024406","full_name":"crdoconnor/tmg-test","owner":"crdoconnor","description":"TMG solution","archived":false,"fork":false,"pushed_at":"2024-09-24T12:36:24.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T02:11:26.236Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crdoconnor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-23T22:45:43.000Z","updated_at":"2024-09-24T12:36:28.000Z","dependencies_parsed_at":"2024-12-04T19:45:21.407Z","dependency_job_id":"c836a5a8-1315-4ed7-b098-41bf4857831f","html_url":"https://github.com/crdoconnor/tmg-test","commit_stats":null,"previous_names":["crdoconnor/tmg-test"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crdoconnor%2Ftmg-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crdoconnor%2Ftmg-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crdoconnor%2Ftmg-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crdoconnor%2Ftmg-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crdoconnor","download_url":"https://codeload.github.com/crdoconnor/tmg-test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237320544,"owners_count":19290738,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-11T18:30:35.730Z","updated_at":"2025-02-05T14:47:48.078Z","avatar_url":"https://github.com/crdoconnor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TMG test\n\nTo run:\n\n* Check out repository\n* Put OPENAI_API_KEY=\u003c\u003c openai key \u003e\u003e  in .env file\n* make build\n* make run\n\nTo test:\n\n* make test\n\n\n## Deploying in the cloud\n\n* Use poetry / pipenv to fix requirements.\n* Don't bake the secrets into the docker container.\n* Push docker container to registry\n* Create secret in secret storage in cloud\n* Create service manifest (e.g. in kubernetes) which will run container as a service and inject the secret as an environment variable\n\n## Testing\n\n* Already has one test - end to end (might be flaky).\n* Inject the LLM Runner as a dependency in fastapi, swap with fake to run dependency-less unit tests.\n* For testing the LLM build up a test set of recipes and expected tags and evaluate response.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrdoconnor%2Ftmg-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrdoconnor%2Ftmg-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrdoconnor%2Ftmg-test/lists"}