Move soak output to soak/ folder with .gdignore
CSVs now write to soak/ instead of the project root. A .gdignore there stops the Godot editor from importing CSV columns as translation files - which had been silently generating 50+ .translation and .import files per run. Only the .gdignore is tracked; the CSVs stay ignored. Root is clean. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
+3
-2
@@ -9,5 +9,6 @@ obj/
|
||||
*.csproj.user
|
||||
|
||||
# Soak-test outputs — regenerated every run; findings are curated in FINDINGS.md
|
||||
soak_*.csv
|
||||
soak_*.csv.import
|
||||
soak/*.csv
|
||||
soak/*.csv.import
|
||||
soak/*.translation
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
[node name="Main" type="Node2D" unique_id=1549676286]
|
||||
script = ExtResource("1_gm")
|
||||
TicksPerRealSecond = 1800.0
|
||||
TicksPerRealSecond = 2000.0
|
||||
StopAfterDays = 240
|
||||
|
||||
[node name="Visualization" type="Node2D" parent="." unique_id=1946930493]
|
||||
|
||||
@@ -35,7 +35,11 @@ public static class StatsLogger
|
||||
|
||||
public static void Init()
|
||||
{
|
||||
string dir = ProjectSettings.GlobalizePath("res://");
|
||||
// Write into soak/ — a plain folder Godot doesn't import as assets
|
||||
// (a .gdignore there stops the editor from turning CSV columns into
|
||||
// translation files). Keeps generated debug output out of the way.
|
||||
string dir = Path.Combine(ProjectSettings.GlobalizePath("res://"), "soak");
|
||||
Directory.CreateDirectory(dir);
|
||||
_path = Path.Combine(dir, "soak_stats.csv");
|
||||
_npcPath = Path.Combine(dir, "soak_npc_days.csv");
|
||||
_giftPath = Path.Combine(dir, "soak_gifts.csv");
|
||||
|
||||
Reference in New Issue
Block a user