Spaces:
Sleeping
Sleeping
Commit History
-
feat: Implement wait_for_updates action for handling delayed cases and evidence
- Added support for the "wait_for_updates" action in baseline_runner and benchmark_runner to manage scenarios with no open cases. - Enhanced the ChargebackOpsEnvironment to handle pending issuer reviews and delayed evidence, allowing agents to wait for updates when necessary. - Introduced a new marathon task scenario with wave arrivals, simulating long-horizon backlog management. - Updated tests to validate the behavior of the new wait_for_updates action and its integration with delayed evidence and issuer reviews.2dedffd
-
feat: tighten EscalationROI, add ambiguous medium case, LLM note judge wrapper
- Add pre_arb_recovery_medium headline case to raise round-2 fire rate - Tighten EscalationROIRubric concede penalty on positive-EV contestable cases - Add disjoint required/helpful evidence in headline + generator templates - Drop dispute_complexity multiplier - Heuristic switches to EV-based escalation (P(win)*amount vs $250 fee) - New LLMNoteJudgeRubric (opt-in via USE_LLM_NOTE_JUDGE) with provider fallback - Pin gemini-2.5-flash across llm_softening + baseline docs - Refresh demo_ui with multi-round panels (issuer rationale, arb ruling, P&L) - Update README architecture, AGENT.md scoring tables, RESULTS.md numbers - 86/86 tests green; headline heuristic 0.8254, escalate_all 0.7713e32a33b -
feat: Implement multi-round dispute lifecycle with arbitration scoring and related tests
b7aa1f0 -
feat: Implement Issuer agent for multi-round dispute lifecycle
- Added `issuer_model.py` to define the Issuer agent's decision-making process based on evidence strength scores. - Introduced `IssuerDecision` enum for decision types: ACCEPT, REQUEST_MORE_EVIDENCE, and ESCALATE_TO_ARBITRATION. - Created `IssuerReview` dataclass to encapsulate the Issuer's response to representment submissions. - Implemented evidence scoring logic in `evidence_strength_score` function to evaluate attached evidence. - Updated `CaseProgress` in `simulation.py` to track round number and issuer decisions. - Integrated the Issuer agent into `ChargebackOpsEnvironment` to handle case resolutions based on Issuer decisions. - Added unit tests in `test_issuer.py` to validate the Issuer agent's decision-making logic across different scenarios.b105545
-
Refactor evidence building and improve code readability in iso_adapter.py
- Enhanced formatting and readability of evidence creation in _build_evidence function. - Consolidated imports in iso_adapter.py and simulation.py for clarity. - Improved policy requirements and guidance formatting in simulation.py. - Updated task generation logic in server/app.py and chargeback_ops_environment.py for consistency. - Refined demo UI in server/demo_ui.py to include policy selection and improved layout.37bfd28
-
fix: correct list_reports ordering and track ISO dataset in git
list_reports() docstring claimed recency order but returned oldest-first; reversed to match. Un-ignored the 92KB ISO 20022 CSV so it ships with the repo and Docker image instead of silently missing.8b70d95
-
feat: add card network metadata, trim README, add limitations section
Add real Visa/Mastercard reason codes (13.1, 10.4, 4837, 4855, etc.), response window days, and compelling evidence categories to every case. Network metadata flows through InternalCase -> CaseQueueItem and VisibleCase. Rewrite README from 462 to 172 lines with domain context and limitations section. Fix Stripe connector import path.a1089c9
-
feat: add adversarial evidence, nightmare difficulty, and benchmark splits
- Add adversarial evidence templates where titles sound helpful but content is harmful (delivery verification, account review, etc.) - Add nightmare difficulty tier: 5-6 cases, ~2.4 steps/case budget, adversarial templates mandatory - Structure tasks into showcase/holdout/replay benchmark splits - Wire ISO replay cases into list_tasks() when data is available - Difficulty curve: easy 0.96, medium 0.80, hard 0.70, nightmare 0.549e6686d
-
feat: harden grading, expand task catalog, add episode persistence
- Add root inference.py re-export (submission contract requires it) - Expand list_tasks() from 3 to 8 tasks (3 built-in + 5 generated) - Tighten grading: acceptable fallback 0.55->0.35, abandoned contest evidence 0.3->0.15, outcome fallback 0.6->0.4 - Add JSONL file persistence to episode_store - Add /results endpoint for episode history inspection - Remove circular grader-gaming comments from baseline_runner - Update README project layout and commands for new structure - Update AGENT.md file map for new directory paths87c40c2
-
refactor: reorganize source files into core/, evaluation/, runners/, scenarios/ directories
Moved loose root-level Python modules into logical subdirectories: - core/ — models, client, episode_store - evaluation/ — grading, agent_brutal_audit - runners/ — baseline_runner, inference - scenarios/ — simulation, case_generator, iso_adapter3816847