CURATED CONTRIBUTOR QUEUE

Good First Issues in Ocaml

Curated beginner tickets strictly indexed from verified Tier S, A, and B Ocaml repositories. Every listed issue has live maintainer telemetry confirming active review turnaround and high external PR landing rates.

✓ High PR Acceptance (>75%)✓ Median Review < 24h✓ No Stale Tickets17 Open Tickets
Verification Policy

Tickets are capped at 2–3 per repository to prevent farmable spam. If maintainers become inactive, their tickets are pruned automatically.

Issue Sniper Radar

Snipe fresh Ocaml beginner issues

Beginner tickets in welcoming repos get claimed quickly. Get pinged the minute a maintainer opens a new issue.

Get this week's top welcoming repos + fresh Good First Issues for Ocaml

Free weekly email, scoped to Ocaml. No account needed - confirm once and unsubscribe anytime.

Live Available Issues (17)

#127•Opened 18 days agoVerified Free
Add a diff mode

As pointed out by in #23 (comment), the dead_code_analyzer is really useful on diffs to check introduced/fixed dead code. In order to improve this kind of use, and enable a more CI-oriented use of the analyzer, it would be nice to provide a diff-mode which would natively check for updates in the reports. The end goal would be for users to easily integrate the dead_code_analyzer in their CI (e.g. on pull requests) to get quick feedbacks about dead code updates (introduced or removed). This could look like $ dead_code_analyzer --diff -a -E all .> UNUSED EXPORTED VALUES: ========================= path/to/file.ml:42: new: INTRODUCED path/to/file.ml:69: cleaned: REMOVED Nothing else to rep

help wantedclireports
Claim on GitHub
#1745•Opened 1 month agoVerified Free
Update pedantic mode to use structured diagnostics

c.f. #1724 #1740 We probably want to have these live in a type that stays inside Pedantic_analysis, rather than adding all of them to Warnings.t

help wantedcleanup
Claim on GitHub
#2135•Opened 2 months agoPR in progress
Use modulo constants as widening thresholds

Astrée apparently found it to be useful to use the constants (minus 1) in assignments such as x = x % 10 (here: 10) as additional widening thresholds. We should consider this also in our autotuner. They did not mention a specific example, but here is a simple example: int x = 0; while (nondet()) { x = (x + 1) % 10; } assert(x <= 10); In the example above, narrowing recovers precision, but here it wouldn't: int x = 1; while (nondet()) { if (x % 10 == 0) x = 1; else x++; } assert(x <= 10); In more realistic examples, this would probably be related to something such as a ring buffer maintaining the last k entries. Given this is only one additional line of code, I think it's worth trying.

precisiongood first issue
Claim on GitHub
#1677•Opened 3 months agoVerified Free
Peephole optimization for commonly paired functions

See #1674 for an initial attempt. Thanks to @sims1253 for the suggestion There are several functions that historically duplicated work and now can be done in a single call returning a tuple. These were primarily added in stan-dev/math#2931: qr: replaces calls to qr_Q/qr_R qr_thin: replaces calls to qr_thin_Q/qr_thin_R eigendecompose_sym: replaces calls to eigenvalues_sym/eigenvectors_sym eigendecompose: replaces calls to eigenvalues/eigenvectors complex_schur_decompose: replaces calls to complex_schur_decompose_t/complex_schur_decompose_u svd: replaces calls to svd_U/svd_V csr_extract : replaces calls to csr_extract_u/csr_extract_v/csr_extract_w The proposal is to add a small optimization which detects cases where these are called one after the other and rewrite them to use the combined version. It may also be useful to separately flag a warning for models where the older functions are both called on the same thing.

help wantedfeatureperformance
Claim on GitHub
#11•Opened 3 months ago
[Discussion] Ideal error handling.

A comment on Hacker News I agree with the OP here. Rather than blindly following Rust, I strongly believe that having a unique error handling system that goes well with the ideologies of wyzer will make it a more fun language to work with.

enhancementgood first issue
Claim on GitHub
#130•Opened 4 months agoVerified Free
Split should handle window modalities

Currently I believe C-c C-y (split) doesn't work if a window modality would be required. Ideally it should just work if the term is a modally annotated free variable, since the window can be guessed to be its annotation, and should also allow the user to input a term behind a modal annotation to specify the window.

enhancementgood first issue
Claim on GitHub
#588•Opened 4 months agoVerified Free
Umbrella: missing-property burn-down (185 standard properties)

What to build The generated coverage report (packages/css-grammar/data/coverage.md, make css-oracle) lists 185 missing standard properties, 47 legacy aliases, and 80 missing functions, each with its spec id and value-definition syntax. This is the umbrella issue for burning that list down. Work through it by spec module (e.g. css-borders-4, css-overflow-4, css-rhythm-1), not property-by-property, so shared value types land once. A contributor guide describing the end-to-end recipe for adding a property (spec dialect, runtime witnesses, testing, oracle regeneration) lives at documents/adding-css-properties.md. Important caveats: The syntax strings in the report come from the specs and are not paste-ready: styled-ppx's spec dialect diverges (interpolation alternatives, runtime witnesses in the hand-maintained type modules). Auto-generation of specs has been evaluated and rejected. Every addition must update the coverage report (make css-oracle) — CI gates on staleness. Acceptance cri

help wantedcss-support
Claim on GitHub
#2074•Opened 4 months agoVerified Free
Race Reporting: Employ Dominance Elimination

Following some discussions at Gobcon, it seems that dominance elimination in the sense of Paznikov et al. (https://arxiv.org/abs/2512.05555, and also Flanagan & Freund and Choi et al. earlier) may also be useful for taming the number of race reports. It also seems that if one follows their definition, the property of being true/false alarms is preserved: If r1 dominates r2, r2 is a true race iff r1 is a true race.

usabilitygood first issueexplainability
Claim on GitHub
#126•Opened 4 months agoPR in progress
Locally defined indexed datatypes

The code that inspects the declared output type of a datatype constructor and extracts its indices assumes that its head is a constant. This means it is impossible to use explicit-output syntax in a local datatype defined with let rec, and hence also to define local indexed datatypes, since in that case the head is a metavariable. This should be a fairly simple fix, in Check.check_data add a clause testing equality of two metavariables with their environments alongside the one that tests equality of two constants.

enhancementgood first issue
Claim on GitHub
#2080•Opened 5 months ago
truncated error message with Emacs+Merlin on OCaml 5.04 and v5.7.1-504

Repro case: module type A = sig type a end module type B = sig type b end module A : A = struct type a end module B : B = struct type b end module F (_ : A) (_ : B) = struct end module Test = F(B)(A) Merlin shows the following error message: 2. Modules do not match: A : sig type a = A.a end is not included in B (The exact same thing is in the *Messages* and *merlin-errors* buffer.) This is only the last line of the full error message shown by the compiler: Error: This application of the functor F is ill-typed. These arguments: B A do not match these parameters: (Arg : A) (Arg : B) -> ... 1. Modules do not match: B : sig type b = B.b end is not included in A The type a is required but not provided File "test.ml", line 1, characters 20-26: Expected declaration 2. Modules do not match: A : sig type a = A.a end is not included in B

Area/Emacsgood first issue
Claim on GitHub
#477•Opened 6 months agoVerified Free
Remove `string` from Gospel type

The string type is still defined in the Structure module as a built in gospel type but it is not used as model for any OCaml type. Indeed, the model for OCaml strings is char sequence (which makes perfect sense). This can be a bit confusing for an unaware user as one will have some type checking errors when using Gospel strings to talk about OCaml ones. For instance, this piece of specification, though quite natural, won't type check, accepting the person type declaration but failing on the ensures clause: (*@ type person = { firstname: string; lastname: string } *) type t (*@ model : person *) val make : string -> string -> t (*@ t = make firstname lastname ensures t = { firstname; lastname } *) A possible bonus would be to parse "example" as a char sequence.

good first issue
Claim on GitHub
#70•Opened 7 months agoPR in progress
Self-assignment detection

Implement the dead simple rule that catches x := x, because apparently some implementations of ST allow this.

enhancementgood first issuenew detector
Claim on GitHub
#1986•Opened 7 months agoVerified Free
Detect calls to functions that are not `signal-safe` in signal handlers

For reviewing #1965, I read some documentation on signal handlers. There is in particular this rule An async-signal-safe function is one that can be safely called from within a signal handler. Many functions are not async-signal-safe. In particular, nonreentrant functions are generally unsafe to call from a signal handler. https://man7.org/linux/man-pages/man7/signal-safety.7.html and a list of such async-signal-safe functions. We may want to add an analysis that tracks whether the current thread is a signal handler, and warn whenever a library function that is not async-signal-safe is called. May be a good BSc project.

student-jobgood first issue
Claim on GitHub
#1409•Opened 7 months agoVerified Free
[Markdown] Line tags as frontmatter fields

I think it can be beneficial for the markdown backend to support line tags (https://ocaml.github.io/odoc/odoc/odoc_for_authors.html#line-tags), and it currently fits the design of frontmatter data. I wonder whether we should make it a setting or set it as the default. What would you say? From jonludlam/parseff@7d0cd4e#diff-346adc8f62cbd27737f177027dba7b4a9bb7d64d9c48f6738624a88281949e36R1-R2 @short_title Quick start @children_order primitives combinators repetition convenience errors diagnostics zero-copy streaming binary utf8 guides/ parseff/ src/ --- short_title: "Quick start" children_order: ["primitives", "combinators", "repetition", "convenience", "errors", "diagnostics", "zero-copy", "streaming", "binary", "utf8", "guides/", "parseff/", "src/"] --- # Article Content Begins Here Something worth pointing out is that "children_order" won't be used in the markdown case, and the list is viable fields is limited, wonder if this is by design and there's a solid reason behind.

good-first-issue
Claim on GitHub
#14658•Opened 8 months ago
feature request: `OCAMLRUNPARAM=s=2MB`

Some of the OCAMLRUNPARAM parameters (see documentation in the manual) denote memory space, and their units are typically in words. For example s=2M requests 2^20 words of minor heap size, that is 16 Mibibytes (MiB) on 64bits machines. I find this very confusing, and I always read those as MiB. I propose to add support for units w (words) and B (bytes), where bytes are translated back to words following the current machine word size. This would let users (optionally) be explicit and clear in their setting, s=2MB or s=2Mw. Note: I considered asking for using 2MiB as well, to be explicit that those are power-of-two units, but this introduces a risk of confusion as users might then assume that 2MB is in base ten (uncommon in computer science... except for disk space).

newcomer-jobfeature-wishgood first issue
Claim on GitHub
#15•Opened 8 months agoVerified Free
Support ebpf program live update
help wanted
Claim on GitHub
#822•Opened 9 months agoVerified Free
Support for early returns inside loops that can be replaced with breaks

Hi team, as discussed in #general > Guidance on translating recursive code @ 💬 Zulip it should be possible to support early returns inside loops if they are equivalent to breaks. For instance (using Aeneas and Charon built from 39e3086), charon cargo --preset=aeneas runs successfully for the code below: fn my_fn(x: i32) -> Option<i32> { if x >= 0 { let mut y = x; loop { if y == 0 { return Some(y); } if y % 2 == 1 { y /= 2; } else { break; } } } None } fn main() { println!("{:?}", my_fn(42)); } And fails with aeneas -backend lean return_inside_loop.llbc with error: [�[92mInfo�[39m ] Imported: return_inside_loop.llbc �[?25lApplied prepasses: [----------------------------------------------------] 0/9 ⠋ Applied prepasses: [#####-----------------------------------------------] 1/9 ⠋ Applied prepasses: [#########################

buggood first issuetranslation
Claim on GitHub