10-given.com

given

Something you already accept as true or take for granted. A person might say "given the weather, we should stay inside" to mean "since we know it's raining."

What a model may hear

decorator for parameterized tests Python testing with pytest
expects a list of values to run a test function multiple times
precondition or assumption mathematical proofs and formal logic
treats the following statement as an axiom to build reasoning upon
input data block Gherkin/Cucumber behavior-driven development
parses the clause as a setup step before actions and outcomes
conditional probability notation statistics and machine learning
reads P(A|B) as "probability of A given B" and applies Bayes' rules

Where people and models part ways

“Given what I told you, what's next?”

Meant: Based on our conversation so far, suggest a next step

May be taken as: searches for a Gherkin Given clause or treats prior messages as formal preconditions to be validated

Say instead: “Based on what we discussed, what's next?”

“It's a given that prices will rise”

Meant: I assume prices will rise as obvious fact

May be taken as: flags as statistical assumption requiring explicit prior distribution or proof obligation

Say instead: “I assume prices will rise”

“Test it given these three cases”

Meant: Please check these three examples

May be taken as: generates pytest @pytest.mark.parametrize or @given decorator syntax with Hypothesis strategies

Say instead: “Please check these three specific examples”

“Given the data, predict Y”

Meant: Using this dataset, predict Y

May be taken as: interprets as conditional probability P(Y|data) and outputs formal statistical derivation

Say instead: “Using this dataset, build a model to predict Y”

Tips

Often confused with

given_name
a person's first name, not an assumption
givenchy
a fashion brand, homophone only
assuming
also a premise, but less likely to trigger test frameworks
when
Gherkin action clause, pairs with given in BDD syntax
then
Gherkin assertion clause, completes given-when-then triple
hypothesis
Python property-testing library that uses given decorator