{"id":36613594,"url":"https://github.com/exactpro/test2text","last_synced_at":"2026-01-12T09:03:50.233Z","repository":{"id":304199538,"uuid":"1004285473","full_name":"exactpro/test2text","owner":"exactpro","description":"Test 2 Text","archived":false,"fork":false,"pushed_at":"2025-09-21T11:27:22.000Z","size":179,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-21T13:17:47.432Z","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/exactpro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-18T11:50:22.000Z","updated_at":"2025-09-21T11:27:25.000Z","dependencies_parsed_at":"2025-07-11T17:46:24.964Z","dependency_job_id":"8b8e6029-7858-4163-93fa-c370c0a520ed","html_url":"https://github.com/exactpro/test2text","commit_stats":null,"previous_names":["exactpro/test2text"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/exactpro/test2text","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exactpro%2Ftest2text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exactpro%2Ftest2text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exactpro%2Ftest2text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exactpro%2Ftest2text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exactpro","download_url":"https://codeload.github.com/exactpro/test2text/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exactpro%2Ftest2text/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-12T09:03:49.709Z","updated_at":"2026-01-12T09:03:50.227Z","avatar_url":"https://github.com/exactpro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Setup\n\nThis project uses: \n- python version higher than 3.9 with sqlite version higher than 3.35 with option enable load extentions.\n- UV to manage the virtual environment. To install UV, run the following command:\n\n```bash\npip install uv\n```\n\nTo create the virtual environment, run the following command:\n\n```bash\nuv venv\n```\n\nTo install the dependencies, run the following command:\n\n```bash\nuv sync\n```\n\nTo bring a code to a single format:\n\n```bash\nuvx ruff format\n```\n\n### PyTorch version\n\nPyTorch is default set to CPU distributive:\n\n```toml\n[tool.uv.sources]\ntorch = {index = \"pytorch-cpu\"}\n```\n\nIf you want to use a CUDA distributive, replace index with one of the following values:\n\n- `pytorch-cu118`\n- `pytorch-cu124`\n- `pytorch-cu126`\n\nRegenerate lock file:\n```shell\nuv lock\n```\n\n\u003e Please do not commit updated lock file into GIT\n\nInstall dependencies from the updated lock file:\n\n```shell\nuv sync\n```\n\n## How it works\n\nWe use [`nomic-ai/nomic-embed-text-v1`](https://huggingface.co/nomic-ai/nomic-embed-text-v1) to create embeddings from text. \nWe then store these embeddings in a SQLite database. \nWe use the [`sqlite-vec`](https://github.com/asg017/sqlite-vec) library to store and query the embeddings.\n\n### Database\n\n```mermaid\nerDiagram\n    Annotations {\n        INTEGER id\n        TEXT summary\n        float[] embedding\n    }\n    Requirements {\n        INTEGER id\n        TEXT external_id\n        TEXT summary\n        float[] embedding\n    }\n    AnnotationsToRequirements {\n        INTEGER annotation_id\n        INTEGER requirement_id\n        REAL cached_distance\n    }\n    TestCases {\n        INTEGER id\n        TEXT test_script\n        TEXT test_case\n    }\n    CasesToAnnos {\n        INTEGER case_id\n        INTEGER annotation_id\n    }\n\n    Requirements ||--o{ AnnotationsToRequirements : requirement_id\n    Annotations ||--o{ AnnotationsToRequirements : annotation_id\n    TestCases ||--o{ CasesToAnnos : case_id\n    Annotations ||--o{ CasesToAnnos : annotation_id\n```\n\n## Usage\n\nTo run UI of this app use following command:\n\n```shell\nstreamlit run main.py\n```\n\nFor running first time use following command to install dependencies if necessary\n\n```shell\nuv run streamlit run main.py\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexactpro%2Ftest2text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexactpro%2Ftest2text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexactpro%2Ftest2text/lists"}