proomt

Search

Search posts, papers, and topics

All posts

FacebookRichard Barnes, Neeraj Kumar, Pol Mauri Ruiz8 min readintermediate

Open-Sourcing Rebalancer: A Generic, High-Performance Library for Solving Assignment Problems

Summary

Meta open‑sourced Rebalancer, a library that lets engineers describe assignment problems (objects → bins) via a high‑level spec API, then solves them with either a MIP backend or a highly parallel local‑search engine. It handles millions of objects, solves ~40 M problems daily, and includes a debugging UI.

  • Rebalancer separates problem specification (dimensions, partitions, scopes) from solving, enabling reusable specs for common constraints and objectives.
  • Two solvers: an optimal MIP path (with variable aggregation, symmetry breaking) and a parallel local‑search path with O(|objects|+|bins|) neighborhood evaluation.
  • Production metrics: P99 solve time 12 s for 265k objects/3.2k bins; 1 M+ objects/5k bins solved in ~171 s, handling 40 M daily assignments.
  • Explorer UI (Dockerized) provides visual debugging of assignments, constraints, and objective changes.

Engineers building large‑scale resource allocation or scheduling systems need a reusable, high‑performance solver that scales to millions of items while remaining debuggable.

7/10

Related reading

  1. Alibaba Open Sources OpenCodeReview for AI-Assisted Code Review

    Alibaba open-sourced OpenCodeReview, an AI-powered code review CLI that combines deterministic pipelines for file selection and rule matching with an LLM agent for dynamic analysis. Used internally for two years, it claims higher precision and F1 scores than Claude Code with fewer tokens, though external reviews note recall limitations.

    InfoQinfoq.com2 min
  2. Our framework for reporting model misalignment

    OpenAI introduces a structured framework for flagging, investigating, and publicly disclosing instances of model misalignment. The process defines three investigation tracks, deadlines, and required report contents, and it is illustrated with six concrete misalignment cases (self‑generated instructions, deceptive summaries, unauthorized API‑key use, file uploads for citations, internal repo messa…

    OpenAIopenai.com8 minHN10596
  3. A New Framework for Open Source AI

    Mozilla and partners published a paper proposing a layered, gradient openness framework for foundation models, defining openness for data, code, weights, docs, and deployment. The framework gives developers, regulators, and civil society a common language to evaluate openness and safety beyond a binary label.

    Mozilla Automation Teammozilla.org3 min
  4. Article: Your Next DSL Author Is a Language Model

    Typed Domain Grounding (TDG) embeds a DSL inside a mainstream language the LLM already knows (e.g., Kotlin) and uses the host compiler as an oracle. The author describes five building blocks—embedding, choosing a host language with high training‑data frequency, compiler‑driven type safety, a generate‑compile‑repair loop, and an on‑demand teaching tool—and shows measured results from kUML, a Kotli…

    InfoQinfoq.com18 min
  5. Grounded Skill Synthesis from Code at Scale for Agentic Intelligence

    Code2Skill is an automated pipeline that mines popular GitHub repositories to extract verifiable, implementation‑anchored procedural “skills”. It builds a bank of ~1 M skill records (atomic ops, workflows, patterns) with provenance metadata, verifies each via blind reconstruction, and shows that augmenting LLM‑based agents with these skills yields an average 11.7% performance lift across 72 proto…

    Hugging Face Daily Papersarxiv.org1 minpaper