mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-14 22:33:48 +00:00
chore(tests): normalize recording IDs and timestamps to reduce git diff noise (#3676)
IDs are now deterministic hashes based on request content, and timestamps are normalized to constants, eliminating spurious changes when re-recording tests. ## Changes - Updated `inference_recorder.py` to normalize IDs and timestamps during recording - Added `scripts/normalize_recordings.py` utility to re-normalize existing recordings - Created documentation in `tests/integration/recordings/README.md` - Normalized 350 existing recording files
This commit is contained in:
parent
6bcd3e25f2
commit
3f36bfaeaa
348 changed files with 10154 additions and 8329 deletions
|
@ -21,7 +21,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -39,7 +39,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -50,7 +50,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -68,7 +68,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -79,7 +79,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -97,7 +97,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -108,7 +108,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -126,7 +126,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -137,7 +137,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -155,7 +155,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -166,7 +166,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -184,7 +184,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -195,7 +195,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -213,7 +213,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -224,7 +224,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -242,7 +242,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -253,7 +253,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -271,7 +271,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -282,7 +282,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -300,7 +300,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -311,7 +311,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -329,7 +329,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -340,7 +340,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -358,7 +358,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -369,7 +369,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -387,7 +387,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -398,7 +398,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -416,7 +416,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -427,7 +427,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -445,7 +445,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -456,7 +456,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -474,7 +474,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -485,7 +485,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -503,7 +503,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -514,7 +514,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -532,7 +532,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -543,7 +543,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -561,7 +561,7 @@
|
|||
"seed": null
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -572,7 +572,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "oBUtdGc-62bZhn-9801a2b11e77499b",
|
||||
"id": "rec-f0bbea34c5cc",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -590,7 +590,7 @@
|
|||
"seed": 10296991816860367000
|
||||
}
|
||||
],
|
||||
"created": 1758039042,
|
||||
"created": 0,
|
||||
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue