[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-110847":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":14,"forks30d":14,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":14,"starSnapshotCount":14,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},110847,"LongBanana","TIGER-AI-Lab\u002FLongBanana","TIGER-AI-Lab","LongBanana: An Expert-Verified Benchmark for Long-Context Multi-Reference Image Synthesis","https:\u002F\u002Flong-banana.com\u002F",null,"Python",186,1,0,13,47,111,58,90.9,"MIT License",false,"main",true,[],"2026-11-05 09:59:39","2026-11-23 19:24:06","# \u003Cimg src=\"assets\u002Fproject-icon-small.png\" alt=\"LongBanana mascot\" width=\"72\" height=\"36\"> LongBanana\n\n## An Expert-Verified Benchmark for Long-Context Multi-Reference Image Synthesis\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"#paper-and-citation\">\u003Cimg src=\"assets\u002Fbadge-neurips.svg\" alt=\"NeurIPS 2026 — Accepted paper\" height=\"42\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Flong-banana.com\u002F\">\u003Cimg src=\"assets\u002Fbadge-project-page.svg\" alt=\"Project Page\" height=\"42\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Flong-banana.com\u002Fgallery\u002F\">\u003Cimg src=\"assets\u002Fbadge-gallery.svg\" alt=\"Gallery\" height=\"42\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.06856\">\u003Cimg src=\"assets\u002Fbadge-arxiv.svg\" alt=\"arXiv Paper\" height=\"42\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fhuggingface.co\u002Fdatasets\u002FKwai-Kolors\u002FLongBanana\">\u003Cimg src=\"assets\u002Fbadge-dataset.svg\" alt=\"Hugging Face Dataset\" height=\"42\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Cb>LongBanana has been accepted to NeurIPS 2026.\u003C\u002Fb>\u003C\u002Fp>\n\n**90 tasks per release · 9 categories · 32 reference images per task · graph-grounded evaluation**\n\nLongBanana evaluates whether image-generation systems can retrieve dispersed visual\nevidence, reject distractors, bind entities and relations correctly, and compose\none coherent final image from many references. It measures reference-grounded\ncorrectness beyond visual plausibility or a single holistic quality score.\n\nThis repository provides **LongBanana-Gen** and **LongBanana-Eval** with sandboxed\n**OpenClaw, Codex, and Claude Code** integrations, optional visual-specialist\njudging, and a direct Gemini VLM judging baseline. Planning and judging models\nare independently configurable using Gemini, GPT, or Claude. Image generation\nuses **Gemini 3.1 Flash Image**.\n\n![LongBanana task taxonomy](assets\u002Ftaxonomy.jpg)\n\n## Benchmark\n\nEach task pairs a synthesis instruction and a heterogeneous reference inventory\nwith a graph-grounded checklist. The entity–relation graph connects required\ncontent, local bindings, relations, and scene-wide constraints to atomic,\nvisually verifiable evaluation items.\n\n| Suite | Category | Capability | Tasks per release |\n| --- | --- | --- | ---: |\n| Scene Composition | SCC | Semantic Coverage & Consistency | 10 |\n| Scene Composition | RGC | Relational Graph Consistency | 10 |\n| Scene Composition | LAC | Layout Arrangement Consistency | 10 |\n| Visual Appearance | GAC | Global Appearance Conditioning | 10 |\n| Visual Appearance | LAB | Local Appearance Binding | 10 |\n| Visual Appearance | AHC | Appearance Harmonization & Coherence | 10 |\n| Reference Reasoning | SEL | Selection & Retrieval | 10 |\n| Reference Reasoning | TSR | Temporal \u002F State Reasoning | 10 |\n| Reference Reasoning | AGG | Counting & Aggregation | 10 |\n\nThe taxonomy describes each task's dominant demand. The three grading dimensions\nused across tasks are **Content Fidelity**, **Relational Binding**, and **Global\nConstraint Satisfaction**.\n\n[![LongBanana task overview](assets\u002Ffig1_task_overview_cr_2000.webp)](assets\u002Ffig1_task_overview_cr_2000.webp)\n\n## Generation and Evaluation\n\n**LongBanana-Gen** lets an agent inspect references, plan, call the image backend,\nand revise intermediate outputs. The OpenClaw **RPR** workflow combines ReAct,\nPlan–Exec, and Reflect. Codex and Claude Code use their native tools and image\nviewing with a shared generation prompt and Gemini MCP interface. Backend guidance\nis available for optional reading. Agents decide how many generation or editing\ncalls to make within the configured execution timeout.\n\n[![LongBanana-Gen RPR architecture](assets\u002Flongbanana-gen.webp)](assets\u002Flongbanana-gen.pdf)\n\n**LongBanana-Eval** judges individual checklist obligations against a generated\ncandidate and the references bound to that check. Bindings come from the dataset,\nnot an agent's retrieval decision. An agent may decide which supplied references\nto open. OpenClaw optionally delegates evidence gathering to OCR,\ndetection\u002Fcounting, layout, and identity specialists.\n\n| Supported execution mode |\n| --- |\n| Direct VLM (Gemini) |\n| OpenClaw |\n| Codex |\n| Claude Code |\n\nAgent tasks run in Linux Bubblewrap sandboxes with read-only inputs and isolated\nworkspaces. Generation agents cannot access evaluation checklists, simulated\ntargets, or prior scores. Upstream credentials remain in the supervisor. Networking\nis shared: Bubblewrap isolation is not a network-domain allowlist. See\n[architecture](docs\u002Farchitecture.md) for execution and access boundaries.\n\n### Scoring\n\nLabels use **Fail = 0**, **Uncertain = 1**, and **Pass = 2**:\n\n```text\nCase score = 100 × sum(item scores) \u002F (2 × number of items)\nCategory score = mean(case scores in the category)\nOverall score = mean(all case scores)\n```\n\nThese are unweighted case-mean scores. Invalid responses have no numeric score;\nincomplete runs report coverage and provisional scores. Report the dataset release,\nJudge configuration, and any missing-value policy alongside results. Difficulty-\nweighted scores require an identified weight file and evaluation cohort. Historical\npaper results use their stated aggregation and must not be relabelled as results\nfor another dataset release or execution profile.\n\n## Datasets\n\nDownload the datasets from [Hugging Face](https:\u002F\u002Fhuggingface.co\u002Fdatasets\u002FKwai-Kolors\u002FLongBanana).\nDataset archives are distributed separately from code.\n\n| Release | Cases | References | Evaluation checks |\n| --- | ---: | ---: | ---: |\n| `open_v1` | 90 | 2,880 | 4,670 |\n| `open_v1p5` | 90 | 2,880 | 5,170 |\n\n`open_v1p5` extends `open_v1` with 90 additional tasks featuring non-overlapping\ncontent. Both releases share the same data format, task taxonomy, and generation\nand evaluation workflows, allowing users to expand their experiments with the\nsame pipeline. Select a release with `DATASET_MANIFEST`.\n\n## Installation and Configuration\n\nUse **Linux, Python 3.11+, Node.js, and Bubblewrap**, plus a supported agent runtime.\nThe fixed OpenClaw build is included in `openclaw-runtime\u002F`; Codex and Claude Code\nare obtained separately. See the [runtime guide](docs\u002Fruntimes.md) for dependency\nsetup and pinned versions. No private repository is required.\n\nThe `main` branch contains the sandboxed implementation.\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FTIGER-AI-Lab\u002FLongBanana.git\ncd LongBanana\npython -m pip install -e .\nnpm ci --prefix mcp\u002Fimage_gen\n```\n\nExisting Python and MCP dependencies may be reused instead of installed. No run\nautomatically installs an agent runtime or changes the environment. Switching a\ncode branch does not select or convert a dataset.\n\nCopy an example configuration and supply local paths through environment variables:\n\n```bash\nexport DATASET_MANIFEST=\u002Fpath\u002Fto\u002Fopen_v1\u002Fmanifest.json\nexport RUNTIME_MANIFEST=\u002Fpath\u002Fto\u002Fruntimes.json\nexport BWRAP_PATH=\u002Fpath\u002Fto\u002Fbwrap\nexport MCP_MODULES=\"$PWD\u002Fmcp\u002Fimage_gen\u002Fnode_modules\"\n```\n\n| Configuration | Default model interface | Credentials |\n| --- | --- | --- |\n| [Codex](examples\u002Fcodex.json) | OpenAI Responses | `OPENAI_API_KEY`, `OPENAI_MODEL` |\n| [Claude Code](examples\u002Fclaude-code.json) | Anthropic Messages | `ANTHROPIC_API_KEY`, `ANTHROPIC_MODEL` |\n| [Gemini model fragment](examples\u002Fgemini-model.json) | Google Gemini, with explicit protocol conversion | `GEMINI_API_KEY`, `GEMINI_MODEL` |\n| [OpenClaw](examples\u002Fopenclaw.json) | Configurable provider interface | See the example and runtime guide |\n| [Direct Gemini VLM](examples\u002Fdirect-vlm.json) | Google Gemini | `GEMINI_API_KEY`, `GEMINI_MODEL` |\n\nGeneration also requires `GEMINI_API_KEY` for `gemini-3.1-flash-image`. Examples\ntarget official provider endpoints; select model IDs available to your account.\nKeep credentials in environment variables and do not commit local configurations.\nSee [running experiments](docs\u002Frunning.md) for the runtime manifest, OpenClaw\nsettings, concurrency, and timeout options.\n\n## Generate Images\n\nValidate the dataset, then inspect a single case or run the full release:\n\n```bash\npython -m longbanana validate-data \"$DATASET_MANIFEST\" --evaluation\npython -m longbanana generate --config examples\u002Fcodex.json --output runs\u002Fgen --case LAC-001 --dry-run\npython -m longbanana generate --config examples\u002Fcodex.json --output runs\u002Fgen --resume\n```\n\nUse `examples\u002Fclaude-code.json` or `examples\u002Fopenclaw.json` for another agent.\n`--dry-run` checks inputs and runtime paths without API calls. Accepted outputs are\nlisted in `runs\u002Fgen\u002Fcandidates.json`. Resume reuses valid outputs only when input,\nconfiguration, code, runtime, and output fingerprints match.\n\n## Evaluate Generated Images\n\nGeneration and judging can use different model configurations. Evaluate the same\ncandidate manifest with an agentic Judge and the direct baseline:\n\n```bash\npython -m longbanana judge --config examples\u002Fcodex.json --candidates runs\u002Fgen\u002Fcandidates.json --output runs\u002Fjudge --resume\npython -m longbanana judge-direct --config examples\u002Fdirect-vlm.json --candidates runs\u002Fgen\u002Fcandidates.json --output runs\u002Fdirect --resume\n```\n\nChoose another agent configuration to change the Judge. OpenClaw's `subagents`\nsetting enables or disables visual specialists. Outputs include `experiment.json`,\nper-task records in `results\u002F`, attempts, and `summary.json`. Keep a separate output\ndirectory for each configuration. See [reproducibility](docs\u002Freproducibility.md).\n\n## Repository Structure\n\n```text\nsrc\u002Flongbanana\u002F           Unified CLI, sandbox, transports, generation and judging\nsrc\u002Fopenclaw_longbanana\u002F  Retained OpenClaw generation and Judge workflows\nmcp\u002Fimage_gen\u002F           Gemini image-generation MCP server\nopenclaw_skills\u002F         Visual Judge specialist instructions\nexamples\u002F                Official-provider configuration examples\ndocs\u002F                    Architecture, dataset format and execution guides\ntests\u002F                   Offline tests\n```\n\nRun offline tests with `python -m unittest discover -s tests -v`.\n[Release packaging](docs\u002Freleasing.md) documents the source\u002Fdata separation.\n\n## Core Contributors\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd align=\"center\" width=\"180\">\u003Cb>Haoxiang Cao\u003C\u002Fb>\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"180\">\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Freacher-z\">\u003Cb>Yuxuan Zhang\u003C\u002Fb>\u003C\u002Fa>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n## Advisor\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd align=\"center\" width=\"180\">\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fk-r-allen\">\u003Cb>Kelsey R. Allen\u003C\u002Fb>\u003C\u002Fa>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n## Acknowledgments and License\n\nLongBanana builds on the OpenClaw, Codex, Claude Code, Bubblewrap, and Model Context\nProtocol ecosystems. Code and accompanying documentation are licensed under\n[MIT](LICENSE). Retained third-party notices are in [NOTICE.router](NOTICE.router)\nand [NOTICE.openclaw](NOTICE.openclaw); separately installed runtimes retain their\nown licenses. [Artwork sources](assets\u002FREADME.md)\nidentify the project figures and third-party brand marks.\n\nThe `open_v1` and `open_v1p5` datasets are licensed separately under\n[CC BY 4.0](https:\u002F\u002Fcreativecommons.org\u002Flicenses\u002Fby\u002F4.0\u002F). Each archive includes the\nfull license and attribution information.\n\n## Paper and Citation\n\n**Paper:** [arXiv:2611.06856](https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.06856). Visit the [Project Page](https:\u002F\u002Flong-banana.com\u002F)\nfor the research overview. Please cite LongBanana when using the benchmark:\n\n```bibtex\n@inproceedings{cao2026longbanana,\n  title={LongBanana: An Expert-Verified Benchmark for Long-Context Multi-Reference Image Synthesis},\n  author={Cao, Haoxiang and\n          Zhang, Yuxuan and\n          Du, Penghui and\n          Li, Bo and\n          Cao, Jiajiong and\n          Fan, Yingying and\n          Wu, Zimeng and\n          Luo, Yifu and\n          Zheng, Mingzhe and\n          Miao, Junwen and\n          Zhang, Huaisong and\n          Yao, Yang and\n          Wang, Yu and\n          Jiang, Dongfu and\n          Nie, Ping and\n          Chen, Wenhu and\n          Wang, Chaoqun and\n          Yu, Changqian and\n          Allen, Kelsey R.},\n  booktitle={Advances in Neural Information Processing Systems (NeurIPS)},\n  year={2026},\n  eprint={2611.06856},\n  archivePrefix={arXiv},\n  primaryClass={cs.CV},\n  url={https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.06856}\n}\n```\n","LongBanana 是一个由领域专家验证的长上下文多参考图像合成评测基准。它通过90个结构化任务（覆盖场景合成、外观建模、参考推理三大类），评估模型从32张异构参考图中精准检索、过滤干扰项、绑定实体与关系，并生成符合图结构约束的合成图像的能力；采用图锚定检查清单与三维评分维度（内容保真度、关系绑定性、全局约束满足度）进行细粒度评估。项目提供开源的生成框架（LongBanana-Gen）与评测框架（LongBanana-Eval），支持多模型编排（Gemini\u002FGPT\u002FClaude）、视觉专家判别及VLM自动评判，适用于多参考图像生成、跨图像推理、长上下文视觉理解等研究与系统评估场景。",2,"2026-11-24 04:39:45","CREATED_QUERY"]