{"id":27696715,"url":"https://github.com/aprimadi/go-delta-debugging","last_synced_at":"2025-04-25T15:12:37.085Z","repository":{"id":57534424,"uuid":"282298780","full_name":"aprimadi/go-delta-debugging","owner":"aprimadi","description":"Delta debugging algorithm implemented in Go.","archived":false,"fork":false,"pushed_at":"2020-07-24T19:24:10.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-24T23:15:22.477Z","etag":null,"topics":["delta-debugging"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aprimadi.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}},"created_at":"2020-07-24T19:19:06.000Z","updated_at":"2020-07-28T00:26:11.000Z","dependencies_parsed_at":"2022-09-26T18:21:35.414Z","dependency_job_id":null,"html_url":"https://github.com/aprimadi/go-delta-debugging","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aprimadi%2Fgo-delta-debugging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aprimadi%2Fgo-delta-debugging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aprimadi%2Fgo-delta-debugging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aprimadi%2Fgo-delta-debugging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aprimadi","download_url":"https://codeload.github.com/aprimadi/go-delta-debugging/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250840583,"owners_count":21495910,"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":["delta-debugging"],"created_at":"2025-04-25T15:12:36.482Z","updated_at":"2025-04-25T15:12:37.080Z","avatar_url":"https://github.com/aprimadi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"go-delta-debugging\n==================\n\nThis library provides an implementation of the delta debugging algorithm described here: http://web2.cs.columbia.edu/~junfeng/09fa-e6998/papers/delta-debug.pdf. Code that uses this library should implement the FSM (Finite State Machine) defined in `fsm.go`.\n\nUsage\n-----\n\n```\npackage main\n\nimport (\n  \"fmt\"\n  dd \"github.com/aprimadi/go-delta-debugging\"\n)\n\n// A simple FSM that becomes faulty when it contains an event \"3\"\ntype SimpleFSM struct {\n  events []dd.Event\n}\n\n// Reset the FSM state\nfunc (f *SimpleFSM) Reset() {}\n\n// Apply events to the FSM\nfunc (f *SimpleFSM) Apply(events []dd.Event) {\n  f.events = events\n}\n\n// Is the FSM in valid state?\nfunc (f *SimpleFSM) Valid() bool {\n  for _, n := range f.events {\n    if n == 3 {\n      return false\n    }\n  }\n  return true\n}\n\nfunc main() {\n  fsm := \u0026SimpleFSM{}\n  result := dd.DeltaDebug(fsm, []dd.Event{1, 2, 3, 4, 5, 6, 7, 8})\n  fmt.Println(result) // Print: [3]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faprimadi%2Fgo-delta-debugging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faprimadi%2Fgo-delta-debugging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faprimadi%2Fgo-delta-debugging/lists"}