chore(ci): remove unused recordings (#4074)

Added a script to cleanup recordings. While doing this, moved the CI
matrix generation to a separate script so there is a single source of
truth for the matrix.

Ran the cleanup script as:
```
PYTHONPATH=. python scripts/cleanup_recordings.py
```

Also added this as part of the pre-commit workflow to ensure that the
recordings are always up to date and that no stale recordings are left
in the repo.
This commit is contained in:
Ashwin Bharambe 2025-11-05 09:21:58 -08:00 committed by GitHub
parent fd1603beef
commit 4d3069bfa5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
498 changed files with 379 additions and 370287 deletions

View file

@ -1,422 +0,0 @@
{
"test_id": "tests/integration/batches/test_batches.py::TestBatchesIntegration::test_batch_e2e_embeddings[emb=ollama/all-minilm:l6-v2]",
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "all-minilm:l6-v2",
"input": "Hello world",
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "all-minilm:l6-v2"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
-0.034477483,
0.030899182,
0.0066526434,
0.026075281,
-0.039411988,
-0.16037956,
0.06692074,
-0.006511468,
-0.047467157,
0.014774274,
0.07094562,
0.055527706,
0.019183245,
-0.026297163,
-0.010018651,
-0.02694715,
0.0223884,
-0.02220693,
-0.14977267,
-0.017530814,
0.0075938613,
0.054253556,
0.0032258728,
0.031724673,
-0.08466085,
-0.029342307,
0.05155048,
0.048105717,
-0.0032670307,
-0.05822795,
0.041971523,
0.022229431,
0.1281518,
-0.022270948,
-0.011725874,
0.06294936,
-0.032847952,
-0.09124354,
-0.031128692,
0.05274829,
0.047067728,
-0.08414196,
-0.029979317,
-0.020692566,
0.00949804,
-0.0035992558,
0.0074442336,
0.03928378,
0.09326073,
-0.0037437282,
-0.052663893,
-0.058101393,
-0.006925679,
0.0052269334,
0.08290669,
0.019312402,
0.0062818974,
-0.010331665,
0.008930684,
-0.037712026,
-0.045175705,
0.023950849,
-0.006926045,
0.013429504,
0.100098,
-0.0715888,
-0.021700105,
0.031693522,
-0.05161389,
-0.08224763,
-0.06577986,
-0.009853981,
0.005808086,
0.07364217,
-0.034008067,
0.024907362,
0.014441484,
0.02645124,
0.009659713,
0.030284341,
0.052878983,
-0.07536944,
0.009890014,
0.029907802,
0.017498897,
0.02313779,
0.0018918256,
0.0013156217,
-0.047173936,
-0.011251131,
-0.11422648,
-0.019960148,
0.040278148,
0.0022633963,
-0.07986738,
-0.025357265,
0.094500035,
-0.029062947,
-0.14495483,
0.2309815,
0.027703581,
0.03208736,
0.031073036,
0.042917974,
0.064246915,
0.032118786,
-0.004844535,
0.055775862,
-0.03756279,
-0.021487191,
-0.028432492,
-0.028887685,
0.03842892,
-0.017359573,
0.052465834,
-0.07493626,
-0.031175744,
0.021936033,
-0.039823197,
-0.008681939,
0.026978256,
-0.048551314,
0.011414809,
0.029628372,
-0.020587107,
0.013077965,
0.028824588,
-3.1978743e-33,
0.06475607,
-0.018065408,
0.05190019,
0.12193858,
0.028755108,
0.008794777,
-0.07044016,
-0.016856866,
0.040675826,
0.04222898,
0.025450956,
0.035772353,
-0.049134083,
0.0021395232,
-0.015527445,
0.05065655,
-0.04814189,
0.03586998,
-0.004134139,
0.10165314,
-0.055980552,
-0.010677752,
0.011231545,
0.09068785,
0.004311188,
0.035094332,
-0.009658399,
-0.09383056,
0.092755266,
0.00799794,
-0.0077075018,
-0.052119244,
-0.01259255,
0.0032277475,
0.005989667,
0.0075889886,
0.010571857,
-0.08629758,
-0.06985891,
-0.002511263,
-0.091053724,
0.0468712,
0.05203361,
0.0072902967,
0.010906411,
-0.0052922186,
0.013883815,
0.021929385,
0.0341257,
0.060227357,
0.00018942523,
0.0146624865,
-0.07000342,
0.028425341,
-0.027542787,
0.01082086,
0.03491755,
-0.022430921,
0.0096813915,
0.07725412,
0.021618832,
0.114911504,
-0.06805403,
0.023872944,
-0.015999107,
-0.017794114,
0.06442477,
0.03206309,
0.050293576,
-0.005988605,
-0.03376946,
0.017821673,
0.016567992,
0.063335925,
0.034753703,
0.046586752,
0.09789875,
-0.006560692,
0.025039855,
-0.07780643,
0.016878096,
-0.0010056288,
0.02257608,
-0.0382721,
0.09572481,
-0.005296001,
0.010567662,
-0.11538674,
-0.013233586,
-0.010786205,
-0.083147496,
0.073254965,
0.049377624,
-0.009025328,
-0.0957893,
3.3687185e-33,
0.12494067,
0.019226579,
-0.058172084,
-0.035952393,
-0.050862074,
-0.045700952,
-0.0826631,
0.14819908,
-0.088347495,
0.060315337,
0.05109269,
0.010308115,
0.1411753,
0.030833788,
0.06101746,
-0.052806143,
0.13661332,
0.00917483,
-0.017295862,
-0.0128495265,
-0.007851698,
-0.051084496,
-0.05235087,
0.0076632234,
-0.015217299,
0.017015414,
0.021324545,
0.020506723,
-0.12004153,
0.014523494,
0.026743378,
0.025221687,
-0.04270567,
0.00676352,
-0.014453511,
0.045142446,
-0.091383636,
-0.019459482,
-0.017806036,
-0.055010412,
-0.05270923,
-0.010370778,
-0.052053526,
0.020918628,
-0.080037735,
-0.012147244,
-0.057777684,
0.023249507,
-0.007838778,
-0.025807643,
-0.07987164,
-0.020683115,
0.04888083,
-0.020459235,
-0.049192864,
0.01407799,
-0.063744746,
-0.0077936463,
0.016429903,
-0.025707569,
0.013326097,
0.026210392,
0.009855086,
0.06317218,
0.0026150644,
-0.0065879063,
0.0166049,
0.032400407,
0.038005095,
-0.036269873,
-0.0069020875,
0.00019545198,
-0.0017537851,
-0.027427403,
-0.02801922,
0.049696837,
-0.028842367,
-0.0023814398,
0.01481421,
0.00976869,
0.0057697925,
0.01341087,
0.00551593,
0.037237898,
0.007291808,
0.040068958,
0.08141818,
0.07197348,
-0.013163506,
-0.042782705,
-0.010938265,
0.0049547236,
-0.00923014,
0.035068717,
-0.051007,
-1.5708556e-08,
-0.088558294,
0.02391312,
-0.016132735,
0.03169382,
0.027184812,
0.052484553,
-0.047118798,
-0.058789898,
-0.063239954,
0.040775288,
0.049807984,
0.106462926,
-0.07448737,
-0.012401869,
0.018361589,
0.039486438,
-0.024830224,
0.014500051,
-0.03712332,
0.020043189,
8.399218e-05,
0.009852795,
0.024823224,
-0.05252818,
0.02932855,
-0.0871494,
-0.01447227,
0.025996566,
-0.018731978,
-0.07618361,
0.03505914,
0.10363578,
-0.0280213,
0.012769872,
-0.076482065,
-0.018743375,
0.024961015,
0.08152011,
0.06866303,
-0.06411612,
-0.08387694,
0.061479986,
-0.03345598,
-0.10615398,
-0.040166635,
0.032536518,
0.076652974,
-0.07297006,
0.00039833272,
-0.0409393,
-0.07580284,
0.027465926,
0.07468789,
0.017779494,
0.09106629,
0.11033428,
0.00065298256,
0.051472265,
-0.01461242,
0.033237122,
0.023671487,
-0.022980422,
0.038988944,
0.030206418
],
"index": 0,
"object": "embedding"
}
],
"model": "all-minilm:l6-v2",
"object": "list",
"usage": {
"prompt_tokens": 2,
"total_tokens": 2
}
}
},
"is_streaming": false
},
"id_normalization_mapping": {}
}