{"id":18587545,"url":"https://github.com/InAnYan/physics-solver","last_synced_at":"2025-08-29T15:32:23.488Z","repository":{"id":211317806,"uuid":"726570019","full_name":"InAnYan/physics-solver","owner":"InAnYan","description":"PWP solver","archived":false,"fork":false,"pushed_at":"2025-02-11T17:03:02.000Z","size":259,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T21:16:14.693Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/InAnYan.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":"2023-12-02T18:43:41.000Z","updated_at":"2025-02-11T17:03:05.000Z","dependencies_parsed_at":"2024-01-15T17:16:13.960Z","dependency_job_id":"4967d50f-a501-4a8d-848c-fd6cf371966f","html_url":"https://github.com/InAnYan/physics-solver","commit_stats":null,"previous_names":["inanyan/physics_solver","inanyan/physics-solver"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/InAnYan/physics-solver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InAnYan%2Fphysics-solver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InAnYan%2Fphysics-solver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InAnYan%2Fphysics-solver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InAnYan%2Fphysics-solver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InAnYan","download_url":"https://codeload.github.com/InAnYan/physics-solver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InAnYan%2Fphysics-solver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272710033,"owners_count":24980352,"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","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-07T00:39:30.731Z","updated_at":"2025-08-29T15:32:23.483Z","avatar_url":"https://github.com/InAnYan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Physics word problem solver (library part)\n\n![Screenshot](screenshot.jpg)\n\nAI system that solves physics problems stated in natural language (without LLMs!).\n\nTo access, use this website: \u003chttps://inanyan.pythonanywhere.com\u003e.\n\nWebsite's source code: \u003chttps://github.com/InAnYan/physics-solver-web\u003e.\n\nPaper: \u003chttps://doi.org/10.15673/atbp.v16i2.2853\u003e.\n\n## Features\n\n- Understands English language.\n- Provides not only the answer, but also how it got the answer (solution steps, formulas).\n- Solves 4 types of problems:\n  - Value conversion.\n  - Value comparison.\n  - Unknowns finding.\n  - Value change.\n- Utilizes rule-based Natural Language Processing with modern libraries.\n- Does not utilize LLMs.\n\nTo see website's features, go to \u003chttps://github.com/InAnYan/physics-solver-web\u003e.\n\n## How to Run this Project\n\nInstall dependencies:\n\n```sh\npip install -r requirements.txt\n```\n\nThis is a library part of the project, so you need to import it in your app.\n\nYou can look at the website's source code (\u003chttps://github.com/InAnYan/physics-solver-web\u003e), to see how its used.\n\n## How this Project is Implemented\n\nTech stack:\n\n- `spaCy`\n- `SymPy`\n- `spacy_pat_match_dsl` ([this is my package, actually!](https://pypi.org/project/spacy-pat-match-dsl/))\n\nAlgorithm:\n\n- At first, the text is pre-processed and named entities are recognized.\n- Then, the program tries to determine the type of the question.\n- If the program guessed the type, an intermediate representation is constructed.\n- Then, different algorithms are applied to solve the problem.\n- Finally, the solution is presented to the user.\n\nTo see website's tech stack and implementation, go to \u003chttps://github.com/InAnYan/physics-solver-web\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FInAnYan%2Fphysics-solver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FInAnYan%2Fphysics-solver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FInAnYan%2Fphysics-solver/lists"}