{"id":19756069,"url":"https://github.com/luistar/metamodel-adas-test-runner","last_synced_at":"2025-10-09T22:33:07.976Z","repository":{"id":119824228,"uuid":"497219197","full_name":"luistar/metamodel-adas-test-runner","owner":"luistar","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-15T15:36:58.000Z","size":13689,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T22:32:21.771Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luistar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-05-28T05:08:05.000Z","updated_at":"2025-05-15T15:37:01.000Z","dependencies_parsed_at":"2025-09-10T18:35:42.388Z","dependency_job_id":"3f1a832b-1c8c-46b1-9e2e-7ca7029a577d","html_url":"https://github.com/luistar/metamodel-adas-test-runner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/luistar/metamodel-adas-test-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luistar%2Fmetamodel-adas-test-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luistar%2Fmetamodel-adas-test-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luistar%2Fmetamodel-adas-test-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luistar%2Fmetamodel-adas-test-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luistar","download_url":"https://codeload.github.com/luistar/metamodel-adas-test-runner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luistar%2Fmetamodel-adas-test-runner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002106,"owners_count":26083307,"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-10-09T02:00:07.460Z","response_time":59,"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-12T03:14:38.765Z","updated_at":"2025-10-09T22:33:07.970Z","avatar_url":"https://github.com/luistar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Test Runner\nThis tool serves as a proof of concept of the possibility of simulating of Advanced Driver Assistance Systems (ADAS) \ntest scenarios defined using the Meta-Model-based visual editor proposed \nby Basciani, Cortellessa, Di Martino, [Di Nucci](https://https://dardin88.github.io/), \n[Di Pompeo](https://danieledipompeo.github.io), Gravino, and [Starace](https://luistar.github.io) in a research \npaper titled \"*ADAS Verification in Co-Simulation: Towards a Meta-Model for Defining Test Scenarios*\", which has been accepted for presentation at the [19th Workshop on Advances in Model Based Testing (A-MOST 2023)](https://conf.researchr.org/home/icst-2023/a-most-2023).\n\nThe tool takes as input a preliminary CSV representation of a test scenario produced by the modelling framework and simulates the\ntest scenario using the well-known [BeamNG.tech](https://beamng.tech) platform, capturing a number of relevant metrics.\n\n# Requirements\nThis tool requires BeamNG.tech 0.24 to be installed. Builds of BeamNG.tech are made available for non-commercial use upon \nrequest using [this form](https://register.beamng.tech/).\n\n# Instructions\n\nThe base level directory (provided in the [`tig.zip`](tig.zip) archive in this repository) needs to be extracted and \ncopied in the BeamNG.tech user directory. Assuming the BeamNG.tech user directory is `D:/BeamNG_user/`, the base\nlevel directory should be placed in `D:/BeamNG_user/0.24/levels/`.\n\nThe tool can then be started by running `test_runner.py`. The script needs three command line arguments:\n* `beamng-home`: path to the BeamNG.tech installation directory\n* `beamng-user`: path to the BeamNG.tech user directory\n* `test-scenario`: name of the test scenario to be executed. This must be the name of a CSV file in the /scenarios \n  directory (with no extension).\n\nAn example of command to start the script is reported as follows.\n```\npython test_runner.py --beamng-home=\"D:/BeamNG/\" --beamng-user=\"D:/BeamNG_user/\" --test-scenario=\"scenario\"\n```\n\nThe simulation results are saved in a JSON file with the same name of the test scenario in the `/output/` \ndirectory. A sample output file is available [here](output/scenario.json).\n\n# Screen captures\nTwo frames from the BeamNG.tech simulation of the provided sample test scenario (`scenario.csv`) are shown as follows.\n![Figure](img1.png)![Figure](img2.png)\n\n# Acknowledgements\nThis work has been partially supported by the Italian PNRR MUR project PE0000013-FAIR.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluistar%2Fmetamodel-adas-test-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluistar%2Fmetamodel-adas-test-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluistar%2Fmetamodel-adas-test-runner/lists"}