{"record":{"id":"045cf5bf77b3b892","repo":"jackwener/OpenCLI","slug":"no-papers-found-at-venue-value-hint","errorCode":null,"errorMessage":"No papers found at venue \"${value}\". ${hint}","messagePattern":"No papers found at venue \"(.+?)\"\\. (.+?)","errorType":"exception","errorClass":"EmptyResultError","httpStatus":null,"severity":"warning","filePath":"clis/openreview/venue.js","lineNumber":46,"sourceCode":"    func: async (args) => {\n        const value = String(args.venue ?? '').trim();\n        if (!value) {\n            throw new ArgumentError('openreview venue cannot be empty');\n        }\n        const limit = requireBoundedInt(args.limit, 25, 200);\n        const offset = requireNonNegativeInt(args.offset, 0);\n        const isInvitation = value.includes('/-/');\n        const filter = isInvitation\n            ? `invitation=${encodeURIComponent(value)}`\n            : `content.venue=${encodeURIComponent(value)}`;\n        const path = `/notes?${filter}&limit=${limit}&offset=${offset}`;\n        const json = await openreviewFetch(path, `openreview venue ${value}`);\n        const notes = Array.isArray(json?.notes) ? json.notes : [];\n        if (!notes.length) {\n            const hint = isInvitation\n                ? 'Check the invitation id (e.g. \"ICLR.cc/2025/Conference/-/Submission\").'\n                : 'Try a venue text like \"ICLR 2024 oral\" or pass a full invitation id.';\n            throw new EmptyResultError('openreview', `No papers found at venue \"${value}\". ${hint}`);\n        }\n        return notes.slice(0, limit).map((note, i) => {\n            const row = noteToRow(note);\n            return {\n                rank: offset + i + 1,\n                id: row.id,\n                title: row.title,\n                authors: row.authors,\n                keywords: row.keywords,\n                primary_area: row.primary_area,\n                pdate: row.pdate,\n                pdf: row.pdf,\n                url: row.url,\n            };\n        });\n    },\n});\n","sourceCodeStart":28,"sourceCodeEnd":64,"githubUrl":"https://github.com/jackwener/OpenCLI/blob/49907e53dc3ade5c223ff0c4c2c2785687cec4e6/clis/openreview/venue.js#L28-L64","documentation":"After querying the OpenReview API, the venue command throws EmptyResultError when zero notes come back, with a hint tailored to whether the input was an invitation id (contains '/-/') or plain venue text. This distinguishes a genuine 'nothing found' from a silent empty response.","triggerScenarios":"openreviewFetch returns json with notes: [] — the venue text matches no notes, or the invitation id is wrong/renamed/has no submissions.","commonSituations":"Typo in venue text ('ICLR 2025 orals'); invitation id from a previous year ('ICLR.cc/2024/...' for 2025 data); venue that does not publish to OpenReview; querying before submissions are posted.","solutions":["If using an invitation id, verify it on openreview.net (e.g. 'ICLR.cc/2025/Conference/-/Submission').","Try plain venue text like 'ICLR 2024 oral' instead of an invitation id.","Try a different year or broader venue string; confirm the venue actually uses OpenReview."],"exampleFix":"// before\ncli venue 'ICLR.cc/2025/Conference/-/Submissions'\n// after\ncli venue 'ICLR.cc/2025/Conference/-/Submission'","handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":"import { EmptyResultError } from '.../errors.js';\ntry { const rows = await venueCmd(args); }\ncatch (e) { if (e instanceof EmptyResultError) { console.warn('nothing found; try broader venue text or a different year'); return []; } throw e; }","preventionTips":["Prefer broad venue text ('ICLR 2024') before narrowing to invitation ids.","Verify invitation ids against the current year's venue on openreview.net.","Remember zero notes means genuinely no results — not an outage.","Handle EmptyResultError as an expected outcome in scripts (exit 0 with a warning, or a distinct code)."],"tags":["empty-result","openreview","no-results"],"backgroundTag":"empty-result-set","analyzedSha":"49907e53dc3ade5c223ff0c4c2c2785687cec4e6","analyzedAt":"2026-08-29T08:14:47.543Z","schemaVersion":2},"datasetVersion":"2026-08-29T12:17:43.993Z"}