{"id":50553884,"url":"https://github.com/seqra/opentaint-test","last_synced_at":"2026-06-04T05:04:55.076Z","repository":{"id":353163601,"uuid":"1218101892","full_name":"seqra/opentaint-test","owner":"seqra","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-04T15:44:07.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-04T17:33:14.767Z","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/seqra.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-22T14:32:56.000Z","updated_at":"2026-05-04T15:44:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/seqra/opentaint-test","commit_stats":null,"previous_names":["seqra/opentaint-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/seqra/opentaint-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seqra%2Fopentaint-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seqra%2Fopentaint-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seqra%2Fopentaint-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seqra%2Fopentaint-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seqra","download_url":"https://codeload.github.com/seqra/opentaint-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seqra%2Fopentaint-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33890052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"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":"2026-06-04T05:04:52.573Z","updated_at":"2026-06-04T05:04:55.054Z","avatar_url":"https://github.com/seqra.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Opentaint regression test system\n\nManually-triggered GitHub Action that compares analysis results from two\nopentaint revisions across a fixed set of benchmark projects.\n\n## Trigger\n\n```\ngh workflow run regression.yaml \\\n    --field base_ref=main \\\n    --field new_ref=my-feature-branch \\\n    --field compare_locations=true \\\n    --field compare_columns=false\n```\n\nInputs:\n\n| Input               | Default | Description                                       |\n| ------------------- | ------- | ------------------------------------------------- |\n| `base_ref`          | —       | Opentaint ref (branch/tag/SHA) for the baseline.  |\n| `new_ref`           | —       | Opentaint ref whose results are compared vs base. |\n| `compare_locations` | `true`  | If false, findings are matched by `ruleId` only.  |\n| `compare_columns`   | `false` | If true, column coordinates join the finding key. |\n| `projects_filter`   | `\"\"`    | Comma-separated substrings; restricts projects.   |\n| `max_parallel`      | `8`     | Upper bound on concurrent analyze jobs.           |\n\n## Report\n\nThe workflow summary (`$GITHUB_STEP_SUMMARY`) shows, per project: analyzer status for base and new (`complete` / `incomplete` / `oom` / `analysis_timeout` / `high_memory`), added and removed finding counts, and a per-project verdict. A project fails when:\n\n- the analyzer regressed from `complete` on base to `incomplete` on new, **or**\n- added/removed finding counts are non-zero, **or**\n- the scan errored on either side.\n\nFull diff detail is available in the `regression-diff` artifact.\n\n## Layout\n\n| Path                              | Purpose                                                       |\n| --------------------------------- | ------------------------------------------------------------- |\n| `.github/workflows/regression.yaml` | Workflow: resolve → probe → build → analyze → compare.     |\n| `projects/repos.yaml`             | Benchmark project list (name, git URL, pinned head, etc.).   |\n| `scripts/build_opentaint.sh`      | Build analyzer + autobuilder JARs and Go CLI from a checkout.|\n| `scripts/generate_matrix.py`      | Expand `repos.yaml` into a GH Actions matrix.                |\n| `scripts/run_analysis.py`         | Run opentaint `compile` + `scan`, extract analyzer status.   |\n| `scripts/compare_sarif.py`        | SARIF diff + status regression + verdict + markdown report.  |\n| `scripts/cache_key.py`            | Canonical per-project cache key.                             |\n| `tests/`                          | Unit tests for pure-Python logic. Run `python -m pytest tests`. |\n| `test-system-design-plan.md`      | Design document (authoritative spec).                        |\n\n## Caching\n\nPer-project results (SARIF + `status.json` + analyzer log) are cached in GitHub\nActions' built-in cache, keyed by:\n\n```\nsarif-v1-\u003canalyzer_sha\u003e-\u003ctest_system_sha\u003e-\u003cproject_name\u003e-\u003cproject_head\u003e\n```\n\nThe test-system SHA (= this repo's commit) is part of the key, so any change\nto scripts, workflow, or project list automatically invalidates cached\nresults. Both successful and failed runs are cached; a subsequent session at\na different analyzer or test-system SHA forces a re-run.\n\nThe workflow's `probe` job restores the cache before any build runs — if every\nproject has a hit for a given opentaint ref, the corresponding `build` job is\nskipped entirely.\n\n## Running tests locally\n\n```\ncd new-test\npython -m pytest tests -v\n```\n\n## Open items\n\nSee `test-system-design-plan.md` §10. The exact spelling of the\n`opentaint {compile,scan} --experimental --analyzer-jar / --autobuilder-jar`\nflags must be confirmed against `opentaint --help --experimental` and\nupdated in `scripts/run_analysis.py` before the workflow will run green.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseqra%2Fopentaint-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseqra%2Fopentaint-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseqra%2Fopentaint-test/lists"}