Xinze-Li-Moqian commited on
Commit
871b4ae
·
verified ·
1 Parent(s): ace108c

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +41 -3
README.md CHANGED
@@ -45,13 +45,22 @@ Three dependency layers (declarations, modules, namespaces) with precomputed net
45
  | `mechanisms.ndjson` | — | Lean language mechanism extractions |
46
  | `tactic_usage.ndjson` | — | Per-declaration tactic usage profiles |
47
 
48
- ### Enriched Data (v2)
 
 
 
 
 
 
 
 
 
49
 
50
  | File | Rows | Columns | Description |
51
  |------|------|---------|-------------|
52
  | `v2/mathlib_nodes_enriched.csv` | 308,129 | 11 | Deduplicated declarations with network metrics |
53
- | `v2/mathlib_modules.csv` | 7,564 | 10 | Per-module (source file) metrics |
54
- | `v2/mathlib_namespaces_k2.csv` | 10,097 | 9 | Per-namespace (depth-2) metrics |
55
  | `v2/mathlib_summary.json` | — | — | Headline statistics for all three graph levels |
56
 
57
  ## Quick Start
@@ -70,6 +79,35 @@ print(nodes.nlargest(5, "pagerank")[["name", "kind", "in_degree", "pagerank"]])
70
 
71
  ## Schema
72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  ### v2/mathlib_nodes_enriched.csv
74
 
75
  | Column | Type | Description |
 
45
  | `mechanisms.ndjson` | — | Lean language mechanism extractions |
46
  | `tactic_usage.ndjson` | — | Per-declaration tactic usage profiles |
47
 
48
+ ### Module and Namespace Graphs (v2)
49
+
50
+ | File | Rows | Description |
51
+ |------|------|-------------|
52
+ | `v2/mathlib_module_nodes.csv` | 7,564 | Module (source file) list with decl_count |
53
+ | `v2/mathlib_module_edges.csv` | 20,881 | Module import edges (source, target) |
54
+ | `v2/mathlib_namespace_nodes_k2.csv` | 10,097 | Depth-2 namespace list with decl_count |
55
+ | `v2/mathlib_namespace_edges_k2.csv` | 332,081 | Namespace edges with weight (aggregated from declaration edges) |
56
+
57
+ ### Enriched Metrics (v2)
58
 
59
  | File | Rows | Columns | Description |
60
  |------|------|---------|-------------|
61
  | `v2/mathlib_nodes_enriched.csv` | 308,129 | 11 | Deduplicated declarations with network metrics |
62
+ | `v2/mathlib_modules.csv` | 7,564 | 10 | Per-module precomputed metrics |
63
+ | `v2/mathlib_namespaces_k2.csv` | 10,097 | 9 | Per-namespace precomputed metrics |
64
  | `v2/mathlib_summary.json` | — | — | Headline statistics for all three graph levels |
65
 
66
  ## Quick Start
 
79
 
80
  ## Schema
81
 
82
+ ### v2/mathlib_module_nodes.csv
83
+
84
+ | Column | Type | Description |
85
+ |--------|------|-------------|
86
+ | module | str | Dotted module name (e.g., `Mathlib.Algebra.Group.Defs`) |
87
+ | decl_count | int | Number of declarations defined in this module |
88
+
89
+ ### v2/mathlib_module_edges.csv
90
+
91
+ | Column | Type | Description |
92
+ |--------|------|-------------|
93
+ | source | str | Importing module |
94
+ | target | str | Imported module |
95
+
96
+ ### v2/mathlib_namespace_nodes_k2.csv
97
+
98
+ | Column | Type | Description |
99
+ |--------|------|-------------|
100
+ | namespace | str | Depth-2 namespace (e.g., `Mathlib.Algebra`) |
101
+ | decl_count | int | Declarations in this namespace |
102
+
103
+ ### v2/mathlib_namespace_edges_k2.csv
104
+
105
+ | Column | Type | Description |
106
+ |--------|------|-------------|
107
+ | source | str | Source namespace |
108
+ | target | str | Target namespace |
109
+ | weight | int | Number of declaration-level edges between these namespaces |
110
+
111
  ### v2/mathlib_nodes_enriched.csv
112
 
113
  | Column | Type | Description |