Public viewer

The journey of every round

Every round-trip in the corpus is public. Open one to see the prompt, the zero-point index, the baseline response, the enhanced response, and how each grader read the difference. Leave a comment if a grader's reading lands — or doesn't.

#72510 May 26

Implement IExceptionHandler (the .NET 8 abstraction) that maps domain exceptions to ProblemDetails with trace_id from Activity.Current.

V1BetterV2ΔLcsharp
#72210 May 26

Implement IRequestPostProcessor<TRequest, TResponse> in MediatR to log every successful response with structured ILogger<T> properties.

V1BetterV2ΔL+0.0csharp
#72110 May 26

Add a fallback resilience pipeline using ResiliencePipeline.AddFallback that swaps to a cached IDistributedCache value on inner failure.

V1BetterV2ΔL+0.3csharp
#72010 May 26

Use Keyed services (Microsoft.Extensions.DependencyInjection 8.0) to register multiple implementations of an interface and resolve by string key.

V1BetterV2ΔLcsharp
#71910 May 26

Implement schema migration on startup using IHostedService that runs DbContext.Database.MigrateAsync before the host accepts traffic.

V1BetterV2ΔL-0.4csharp
#71810 May 26

Build a typed HttpClient with a DelegatingHandler stack that injects IHttpContextAccessor's current trace ID into outgoing headers.

V1BetterV2ΔL-0.1csharp
#71710 May 26

Use IRequestHandler<TRequest, TResponse> with a request that wraps an IAsyncEnumerable<T> stream for paged streaming response.

V1BetterV2ΔLcsharp
#71610 May 26

Implement a JwtBearerOptions handler that validates a custom claim transformation using IClaimsTransformation in DI.

V1BetterV2ΔL+0.4csharp
#71510 May 26

Add health checks using IHealthCheckPublisher with a custom HealthCheckResult that exposes degraded state metrics.

V1BetterV2ΔL+0.0csharp
#71410 May 26

Implement an IObservable<T> stream over Channel<T> with backpressure, completing on CancellationToken cancellation.

V1BetterV2ΔL+0.1csharp
#71310 May 26

Set up a circuit breaker via ResiliencePipelineBuilder with exponential backoff, AddTimeout, AddRetry, and AddCircuitBreaker stacked.

V1BetterV2ΔL+0.0csharp
#71210 May 26

Add a custom IValidatorFactory hook that resolves AbstractValidator<T> from DI and runs ValidationContext<T> with a custom rule set name.

V1BetterV2ΔL+0.0csharp
#71110 May 26

Write a Roslyn ISourceGenerator that emits boilerplate INotifyPropertyChanged for all [Notify] attributed properties.

V1BetterV2ΔL+0.0csharp
#71010 May 26

Implement a token refresh middleware using IMiddleware (not the convention-based one), with RequestDelegate and DelegatingHandler chained.

V1BetterV2ΔL+0.3csharp
#70910 May 26

Use IRequestPreProcessor<TRequest> in MediatR to inject the current ClaimsPrincipal into every request before handler dispatch.

V1BetterV2ΔL-0.1csharp
#70810 May 26

Add IDistributedCache with backplane invalidation on a config change, using IOptionsMonitor<T> reload notifications.

V1BetterV2ΔL-0.1csharp
#70710 May 26

Wire OpenTelemetry tracing: ActivitySource for traces, Meter for metrics, with ILogger<T> structured logs feeding both.

V1BetterV2ΔL-0.1csharp
#70610 May 26

Implement a custom AuthenticationHandler<TOptions> for a header-based API key, including ChallengeAsync and AuthenticateResult.

V1BetterV2ΔL+0.0csharp
#70510 May 26

Write a BackgroundService that uses IServiceScopeFactory to resolve a scoped DbContext per iteration, with retry via ResiliencePipeline.

V1BetterV2ΔL+0.2csharp
#70410 May 26

Add a Channel<T>-based bounded producer-consumer with backpressure, using BoundedChannelFullMode.Wait and a CancellationToken end-to-end.

V1BetterV2ΔL+0.0csharp
#70310 May 26

Write a custom IPipelineBehavior<TRequest, TResponse> for MediatR that captures FluentValidation errors and re-throws as a structured ValidationException.

V1BetterV2ΔL-0.1csharp
#70210 May 26

Implement a graceful shutdown handler using IHostApplicationLifetime, with a 30-second drain window and structured logging at each phase.

V1BetterV2ΔL+0.0csharp
#70110 May 26

The retailer is asking me to wait 4 weeks for a repair on a faulty appliance. Is that reasonable?

V1BetterV2ΔLhr-law
#70010 May 26

I bought clothing that didn't fit and the shop says they don't accept returns. Are my rights limited because it's a fitting issue?

V1BetterV2ΔLhr-law