Closed IsaacMilarky closed 8 months ago
Specific augur metrics are needed for the v1 of the metrics project. The metrics project also needs to interface with augur's api in an efficient way.
repo_id
group_id
get_repo_owner_and_name
get_timebox_timestamps
apply_metric_and_store_data
get_path_to_resource_data
Relevant Augur Issues:
Script now interfaces much better with augur but some key metrics are blocked on upstream augur work.
Make Site Work Better with Augur and Add Working Desired Endpoints
Problem
Specific augur metrics are needed for the v1 of the metrics project. The metrics project also needs to interface with augur's api in an efficient way.
Solution
repo_id
and augurgroup_id
when runningget_repo_owner_and_name
into it's own function instead of a class methodget_timebox_timestamps
into it's own functionapply_metric_and_store_data
to also accept arbitrary argument calls with *args and **kwargsget_path_to_resource_data
to add a function to generate a path for an arbitrary resource file.Relevant Augur Issues:
Result
Script now interfaces much better with augur but some key metrics are blocked on upstream augur work.