mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-10 05:23:09 +00:00
- Backend: Rust/Axum with PostgreSQL, plugin architecture - Frontend: Astro with polished UI - Voting methods: Approval, Ranked Choice, Schulze, STAR, Quadratic - Features: Liquid delegation, transparent moderation, structured deliberation - Documentation: User and admin guides in /docs - Deployment: Docker/Podman compose files for production and demo - Demo: Seeded data with 3 communities, 13 users, 7 proposals License: AGPLv3
64 lines
1.6 KiB
JSON
64 lines
1.6 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "SELECT \n total_delegations,\n unique_delegators,\n unique_delegates,\n max_chain_depth,\n avg_chain_depth::float8 AS avg_chain_depth,\n top_10_delegate_share::float8 AS top_10_share,\n herfindahl_index::float8 AS hhi,\n effective_delegates\n FROM delegation_analytics\n WHERE community_id = $1\n ORDER BY snapshot_date DESC\n LIMIT 1",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "total_delegations",
|
|
"type_info": "Int4"
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "unique_delegators",
|
|
"type_info": "Int4"
|
|
},
|
|
{
|
|
"ordinal": 2,
|
|
"name": "unique_delegates",
|
|
"type_info": "Int4"
|
|
},
|
|
{
|
|
"ordinal": 3,
|
|
"name": "max_chain_depth",
|
|
"type_info": "Int4"
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "avg_chain_depth",
|
|
"type_info": "Float8"
|
|
},
|
|
{
|
|
"ordinal": 5,
|
|
"name": "top_10_share",
|
|
"type_info": "Float8"
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "hhi",
|
|
"type_info": "Float8"
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "effective_delegates",
|
|
"type_info": "Int4"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
null,
|
|
null,
|
|
null,
|
|
true
|
|
]
|
|
},
|
|
"hash": "3271a11a6d1ad3cc05deda6d3e33bd350180c0b20da49b88c5bc04d5f06eb927"
|
|
}
|