mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-15 14:43: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
|
@ -24,7 +24,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "chatcmpl-639",
|
||||
"id": "rec-1b45391880c6",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -39,7 +39,7 @@
|
|||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1753984042,
|
||||
"created": 0,
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -50,7 +50,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "chatcmpl-639",
|
||||
"id": "rec-1b45391880c6",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -65,7 +65,7 @@
|
|||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1753984042,
|
||||
"created": 0,
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -76,7 +76,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "chatcmpl-639",
|
||||
"id": "rec-1b45391880c6",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -91,7 +91,7 @@
|
|||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1753984042,
|
||||
"created": 0,
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -102,7 +102,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "chatcmpl-639",
|
||||
"id": "rec-1b45391880c6",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -117,7 +117,7 @@
|
|||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1753984042,
|
||||
"created": 0,
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -128,7 +128,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "chatcmpl-639",
|
||||
"id": "rec-1b45391880c6",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -143,7 +143,7 @@
|
|||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1753984042,
|
||||
"created": 0,
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -154,7 +154,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "chatcmpl-639",
|
||||
"id": "rec-1b45391880c6",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -169,7 +169,7 @@
|
|||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1753984043,
|
||||
"created": 0,
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -180,7 +180,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "chatcmpl-639",
|
||||
"id": "rec-1b45391880c6",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -195,7 +195,7 @@
|
|||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1753984043,
|
||||
"created": 0,
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
@ -206,7 +206,7 @@
|
|||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "chatcmpl-639",
|
||||
"id": "rec-1b45391880c6",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
|
@ -221,7 +221,7 @@
|
|||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1753984043,
|
||||
"created": 0,
|
||||
"model": "llama3.2:3b-instruct-fp16",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue