tensorflow / agents
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 261 files with 28,226 lines of code.
    • 0 very long files (0 lines of code)
    • 5 long files (3,426 lines of code)
    • 37 medium size files (10,543 lines of codeclsfd_ftr_w_mp_ins)
    • 51 small files (6,692 lines of code)
    • 168 very small files (7,565 lines of code)
0% | 12% | 37% | 23% | 26%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py0% | 12% | 37% | 23% | 26%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
tf_agents/utils0% | 48% | 20% | 15% | 15%
tf_agents/agents0% | 16% | 60% | 10% | 12%
tf_agents/replay_buffers0% | 37% | 37% | 18% | 7%
tf_agents/environments0% | 25% | 10% | 28% | 35%
tf_agents/bandits0% | 0% | 40% | 24% | 34%
tf_agents/policies0% | 0% | 36% | 30% | 32%
tf_agents/trajectories0% | 0% | 89% | 0% | 10%
tf_agents/networks0% | 0% | 18% | 45% | 36%
tf_agents/metrics0% | 0% | 36% | 48% | 15%
tf_agents/keras_layers0% | 0% | 44% | 19% | 36%
tf_agents/distributions0% | 0% | 57% | 0% | 42%
ROOT0% | 0% | 99% | 0% | <1%
tf_agents/train0% | 0% | 24% | 41% | 33%
tools0% | 0% | 0% | 84% | 15%
tf_agents/benchmark0% | 0% | 0% | 40% | 59%
tf_agents/system0% | 0% | 0% | 75% | 24%
tf_agents/drivers0% | 0% | 0% | 0% | 100%
tf_agents/eval0% | 0% | 0% | 0% | 100%
tf_agents/typing0% | 0% | 0% | 0% | 100%
tf_agents0% | 0% | 0% | 0% | 100%
tf_agents/experimental0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
ppo_agent.py
in tf_agents/agents/ppo
903 22
episodic_replay_buffer.py
in tf_agents/replay_buffers
726 36
common.py
in tf_agents/utils
627 55
wrappers.py
in tf_agents/environments
586 79
nest_utils.py
in tf_agents/utils
584 38
cql_sac_agent.py
in tf_agents/agents/cql
454 13
sac_agent.py
in tf_agents/agents/sac
452 16
policy_saver.py
in tf_agents/policies
387 20
qtopt_agent.py
in tf_agents/agents/qtopt
382 17
linear_bandit_agent.py
in tf_agents/bandits/agents
369 19
neural_linucb_agent.py
in tf_agents/bandits/agents
360 17
trajectory.py
in tf_agents/trajectories
349 22
td3_agent.py
in tf_agents/agents/td3
330 7
categorical_dqn_agent.py
in tf_agents/agents/categorical_dqn
324 6
network.py
in tf_agents/networks
311 23
dqn_agent.py
in tf_agents/agents/dqn
306 13
data_converter.py
in tf_agents/agents
303 22
qtopt_cem_policy.py
in tf_agents/policies
300 12
cem_actions_sampler_continuous_and_one_hot.py
in tf_agents/policies/samplers
293 4
tf_metrics.py
in tf_agents/metrics
283 43
eager_utils.py
in tf_agents/utils
283 14
constraints.py
in tf_agents/bandits/policies
280 22
tf_uniform_replay_buffer.py
in tf_agents/replay_buffers
276 17
linear_bandit_policy.py
in tf_agents/bandits/policies
276 7
reinforce_agent.py
in tf_agents/agents/reinforce
276 10
parallel_py_environment.py
in tf_agents/environments
253 30
reverb_replay_buffer.py
in tf_agents/replay_buffers
252 16
tf_policy.py
in tf_agents/policies
252 21
ddpg_agent.py
in tf_agents/agents/ddpg
252 8
dynamic_unroll_layer.py
in tf_agents/keras_layers
248 18
utils.py
in tf_agents/distributions
246 29
setup.py
in root
242 13
neural_linucb_policy.py
in tf_agents/bandits/policies
241 7
learner.py
in tf_agents/train
238 10
time_step.py
in tf_agents/trajectories
235 13
greedy_reward_prediction_agent.py
in tf_agents/bandits/agents
225 8
tensor_normalizer.py
in tf_agents/utils
225 21
tf_agent.py
in tf_agents/agents
222 24
greedy_multi_objective_neural_policy.py
in tf_agents/bandits/policies
209 6
boltzmann_reward_prediction_policy.py
in tf_agents/bandits/policies
207 5
reverb_utils.py
in tf_agents/replay_buffers
201 18
greedy_multi_objective_neural_agent.py
in tf_agents/bandits/agents
201 7
multi_objective_scalarizer.py
in tf_agents/bandits/multi_objective
187 25
tf_py_environment.py
in tf_agents/environments
185 12
behavioral_cloning_agent.py
in tf_agents/agents/behavioral_cloning
174 8
utils.py
in tf_agents/benchmark
167 15
py_metrics.py
in tf_agents/metrics
166 33
global_and_arm_feature_network.py
in tf_agents/bandits/networks
162 7
utils.py
in tf_agents/policies
161 11
environment_utilities.py
in tf_agents/bandits/environments
158 24
Files With Most Units (Top 20)
File# lines# units
wrappers.py
in tf_agents/environments
586 79
common.py
in tf_agents/utils
627 55
tf_metrics.py
in tf_agents/metrics
283 43
nest_utils.py
in tf_agents/utils
584 38
object_identity.py
in tf_agents/utils
121 38
episodic_replay_buffer.py
in tf_agents/replay_buffers
726 36
py_metrics.py
in tf_agents/metrics
166 33
parallel_py_environment.py
in tf_agents/environments
253 30
utils.py
in tf_agents/distributions
246 29
multi_objective_scalarizer.py
in tf_agents/bandits/multi_objective
187 25
environment_utilities.py
in tf_agents/bandits/environments
158 24
tf_agent.py
in tf_agents/agents
222 24
network.py
in tf_agents/networks
311 23
trajectory.py
in tf_agents/trajectories
349 22
constraints.py
in tf_agents/bandits/policies
280 22
py_environment.py
in tf_agents/environments
77 22
system_multiprocessing.py
in tf_agents/system
128 22
data_converter.py
in tf_agents/agents
303 22
ppo_agent.py
in tf_agents/agents/ppo
903 22
tf_policy.py
in tf_agents/policies
252 21
Files With Long Lines (Top 0)

There are 0 files with lines longer than 120 characters. In total, there are 0 long lines.

File# lines# units# long lines