Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
70 views

I cannot seem to validate my data for survival analysis using the survival package. It used to work. Here is a MWE: library(survival) paper_test <- structure( list( time1 = c(0, 127), ...
robertspierre's user avatar
0 votes
0 answers
45 views

I am using the python package pointblank. There is a function row_count_match() that can check that a dataframe matches the expected number of rows. ( pb.Validate(data=pb.load_dataset(dataset=&...
Adrien Pacifico's user avatar
0 votes
0 answers
50 views

I have an old project in grails 3.3.10 and try to migrate to 4.0.4 (step by step, finally to 7) I have problem with cmds Caused by: groovy.lang.MissingMethodException: No signature of method: xxx....
Tooroph's user avatar
  • 21
0 votes
0 answers
46 views

I’m using Microsoft IME (Chinese Simplified) and I need to type a backslash (\) while Chinese mode is active. However, when I press the backslash key, the IME always converts it into the Chinese ...
Vade Cas's user avatar
0 votes
3 answers
94 views

In my ASP.NET Core application, I have a signature pad with JavaScript that copies the signature data to a hidden field. That hidden field, which represents the signature, is required. The problem is ...
Jonathan Wood's user avatar
Advice
1 vote
3 replies
65 views

I'm a bit confused about an example from Advanced R, 13.3.2 Validators. The write a constructor for factors new_factor <- function(x = integer(), levels = character()) { stopifnot(is.integer(x)) ...
red_trumpet's user avatar
Best practices
0 votes
7 replies
169 views

import random number_to_guess = random.randint(1, 10) while True: guess = input("Guess a number between 1 and 10: ") # This crashes if 'guess' is not a number if int(guess) == ...
P Jaideep's user avatar
-1 votes
0 answers
380 views

I'm working on a large-scale ETL pipeline processing ~500GB daily across multiple data sources. We're currently using Great Expectations for data quality validation, but facing performance bottlenecks ...
Vijay Savaliya's user avatar
Tooling
0 votes
4 replies
115 views

The Peppol Invoce and/or Credit note will be generated from the ERP. I am aware of steps of validation, and I have successfully used the on-line validator (https://peppol-tools.ademico-software.com/ui/...
pepr's user avatar
  • 21.1k
2 votes
1 answer
151 views

I am encountering a problem inside a while loop that is embedded in a for loop iterating through a struct of arrays. The issues I am coming across is before the array iterates again, I want to have ...
Zachary Vandermude's user avatar
0 votes
1 answer
86 views

I’m working on a data quality workflow where I validate incoming records for null or missing values. Even when a column clearly contains nulls, my rule doesn’t trigger and the record passes validation....
Neha _DQ's user avatar
Advice
0 votes
0 replies
42 views

Question: I'm building a testing system for a data quality SaaS app where tests are entirely props-driven (similar to React component testing philosophy). Goal: Create reusable, composable test ...
Vijay Savaliya's user avatar
0 votes
0 answers
48 views

I'm building a microservice with Moleculer.js and TypeScript, using Zod v4 for schema validation. I need to validate API responses that return null for optional fields, while keeping strict validation ...
The witcher's user avatar
0 votes
1 answer
102 views

Hello I have a project in which I need to validate some code if chosen role is Scientist. I have written my validator (current validation logic is irrelevant) package com.example.keycloak; import org....
adab's user avatar
  • 1
Tooling
0 votes
0 replies
95 views

I would like to train a model to understand if an Excel file has the expected structure. I can put a list of right files in a folder and a list of wrong ones in another. Any help and suggestion are ...
Lamoruc's user avatar
  • 21
1 vote
0 answers
53 views

I've been working with the csv-validator-java-api and came across a potential discrepancy in its documentation (or maybe I misunderstood how to use it). According to the documentation, the inner ...
kaffein's user avatar
  • 1,778
0 votes
0 answers
56 views

I'm using Next.js 14 with Server Actions and I'm tired of manually parsing and converting FormData values. Every action looks like this: 'use server' export async function createUser(formData: ...
toozuuu's user avatar
  • 11
1 vote
1 answer
55 views

I've created a custom validator in Phalcon by extending Phalcon\Filter\Validation\AbstractValidator. I implemented the allowEmpty method to define a custom rule for what should be considered an "...
Dvamuch's user avatar
  • 11
0 votes
1 answer
81 views

I'm using a field wrap validator in Pydantic with the Annotated pattern, and I want to access the expected/annotated type of a field from within the validator function. Here's an example of what I ...
kviLL's user avatar
  • 453
0 votes
1 answer
132 views

I am creating a contact form and validating using javascript event listener. The invalid event listener is working for the input elements from the deafult required class added to the input fields. ...
Fangles's user avatar
1 vote
2 answers
159 views

I have a very simple validation pipe for accepting MS Word and PDF files. @UploadedFile( new ParseFilePipe({ validators: [ new FileTypeValidator({ fileType: '.(doc|docx|pdf)' })...
Dmo's user avatar
  • 49
0 votes
1 answer
93 views

I’m creating a simple HTTP GET event in the Godspeed framework. My goal is to accept a query parameter called name and return a response. However, when I define the event YAML with type: string ...
Manish Kumar's user avatar
2 votes
1 answer
67 views

Using skforecast, it's straightforward to perform out-of-sample predictions starting from the dates in the last_window_.index of a ForecasterRecursive object. However, I’m unable to find a clear ...
PeCaDe's user avatar
  • 478
0 votes
0 answers
365 views

I'm having somewhat of an issue using Zod form resolver. Using PrimeVue forms, I have validate-on-value-update activated: <Form v-slot="$form" :initial-values="form.data()"...
Christopher Ansbaugh's user avatar
2 votes
1 answer
96 views

I have a regex on a textbox in order to limit it to specific characters. It includes the following /^([A-Za-z0-9 .,':;/?()!-]|\\[rn])*$/ I am validating onBlur and displaying an error message when the ...
Elisheva's user avatar
1 vote
3 answers
143 views

I am writing a API for a program. The program has a native support of "globed" paths such as img-0*.png. I would like to know how to be sure that there is at least a file satisfying that ...
cards's user avatar
  • 5,249
1 vote
1 answer
33 views

public Mono<String> queryValidation(String connectionId, String query) { return connectionConfigRepository.findByConnectionId(connectionId) .switchIfEmpty(Mono.error(new ...
apramit roy's user avatar
0 votes
1 answer
157 views

This is an Excel VBA problem I can't solve. I have a quite large and complex workbook, with many sheets. The main working sheet is named "Riassuntivo". In it, I create by code different ...
BennyB's user avatar
  • 21
1 vote
1 answer
96 views

I need an Excel conditional formatting formula or VBA to identify product names in a column to highlight cells red if the product name contains two or more sub-products (number+letter codes like r600, ...
Saad's user avatar
  • 13
0 votes
1 answer
50 views

I have a collection with objects like this: { "_id": "test", "rows": [ { "id": "r1", "blocks": [ { &...
takanuva15's user avatar
  • 1,790
0 votes
2 answers
89 views

I have a dry-validations Contract like so: class MyContract < Dry::Validation::Contract config.validate_keys = true params do required(:allowed_param).value(:string, :filled?) optional(:...
Lomefin's user avatar
  • 1,261
1 vote
2 answers
77 views

Environment: Windows 12, Visual Studio 2022 (Community Edition) I’m trying to validate an XML file against its DTD in Visual Studio. When I run the validation, I get the error. xml file (sample.xml) &...
user2354396's user avatar
2 votes
0 answers
119 views

I use pydantic to be able to serialise and deserialise json data stored in a large database. Each of these json strings represent a pydantic model MyModel. class MyModel(BaseModel): attr1: int I ...
A-Abe's user avatar
  • 75
0 votes
0 answers
89 views

According to the ASP.NET Core Blazor file uploads: OpenReadStream enforces a maximum size in bytes of its Stream. Reading one file or multiple files larger than 500 KB results in an exception. This ...
DevQt's user avatar
  • 1,954
2 votes
2 answers
285 views

I'm currently working on an api using fastapi and sqlmodel. I'm new to these two and I might have missed something. I have a user model with an e-mail field. So no email outside my organization is ...
somedev's user avatar
  • 49
-1 votes
1 answer
83 views

I am validating a textbox (specifically, a Telerik RadTextBox, but I don't think that is the problem). I've tried both RequiredFieldValidator and CustomValidator. When I press Tab, validation works ...
Nancy K's user avatar
  • 51
0 votes
0 answers
21 views

I am currently working on a custom VGG model for Breast Cancer Classification using mammography images. It has excellent accuracy for training images but the validation accuracy is stuck at 0.5-0.6. ...
Garima Sethi's user avatar
0 votes
3 answers
82 views

I have an ASP.NET Core project and I'm trying to set custom text for the validation tooltip for the HTML form input field. By default, it shows "Please fill out this field". I tried to add ...
Stanislav Panferov's user avatar
6 votes
1 answer
961 views

Is there any way to change the validation messages from pydantic? The problem is this: I want to return these validation messages to my frontend but not all of the users prefer the language english ...
Clyde's user avatar
  • 112
1 vote
1 answer
40 views

How can I disable a whole section of a form in TypeScript/React? Body: I'm building a form in TypeScript (using React), and I want to disable an entire section of the form — similar to how Stack ...
alii_kh79 k's user avatar
0 votes
0 answers
47 views

Short version I'm using django-formset to create a contact form that includes a file upload field. When an incorrect file is selected, no error message is shown. When uploading the form with an ...
Deruijter's user avatar
  • 2,169
1 vote
2 answers
137 views

I’m currently working on a Student Grade Management System in C# as part of my learning project. The application allows users to add students, assign grades, calculate averages, and display student ...
sumk02's user avatar
  • 21
0 votes
0 answers
51 views

I am trying to set up the bean validation in my jersey server. I would like to assure that everytime I get an email in this bean it is not null. But with this current setup, everytime jersey tries to ...
Rik Smits's user avatar
0 votes
1 answer
74 views

ListingController.cs: public IActionResult Create() { CreateListingViewModel model = new() { AllCities = new SelectList(_addressRepo.AllCities()), AllItems = new SelectList(...
IgorArnaut's user avatar
1 vote
3 answers
127 views

I would like to validate user input in an web application with a regex. The user is allowed to type three character words and separate them by a comma or comma followed by space. Valid input could be: ...
karlitos's user avatar
  • 1,692
1 vote
1 answer
86 views

I have a very simple scenario that looks like std::ifstream file("myfile.txt"); std::string discard; int num; file >> discard >> num; // to consume e.g. HEADER 55 Despite all ...
avigt's user avatar
  • 602
1 vote
4 answers
152 views

I'm working on a simple lottery number checker using JavaScript for my website. The user enters three numbers through a form, and I have three winning numbers stored in an array. I want to check if ...
Mishra Lallan's user avatar
0 votes
1 answer
353 views

if (!hasAnyPhoneNumber) throw new NotEmptyException("PhoneNumber", MessageHelper.GetMessage(ErrorMessageName.NOT_EMPTY)); I haven't tried any specific solution yet, but my goal is to ...
Nicat Muxtarov's user avatar
0 votes
0 answers
68 views

I'm currently trying to implement a custom action within NeMo Guardrails, following your official documentation, but I'm encountering an issue where my custom action isn't being recognized. I've ...
Val's user avatar
  • 49
0 votes
2 answers
122 views

I am seeking help with an Match Based Array that is compatible for Data Validation List / Cell Drop Down. Basically what I need is a Drop down list with options based on a Cell Reference Match with ...
JeremyLongs's user avatar

1
2 3 4 5
1355